From 71a2dc4170bb829324173d1a759e1336ce9736ec Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Wed, 8 Nov 2017 10:39:02 -0500 Subject: [PATCH 001/628] change top dir logic --- test-template.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test-template.yml b/test-template.yml index 9f307dc4f4..469264a6a5 100644 --- a/test-template.yml +++ b/test-template.yml @@ -11,8 +11,7 @@ private: no vars: - top_dir: "{{ lookup('env', 'PWD') }}" - TEST_DIR: "{{ top_dir }}/tests" + TEST_DIR: "{{ playbook_dir }}/tests" platform: "{{ template_name.split('_')[0:2] | join('_') }}" command_variable: "{{ template_name.split(platform + '_') | last }}" command: "{{ command_variable.split('_') | join(' ') }}" @@ -25,7 +24,7 @@ file: "{{ item }}" platform: "{{ platform }}" command: "{{ command }}" - template_dir: "{{ top_dir }}/templates" + template_dir: "{{ playbook_dir }}/templates" with_fileglob: - "{{ TEST_DIR }}/{{ platform }}/{{ command_variable }}/{{ template_name }}*.raw" register: ntc_result From 6aab08bbcbeb2d0f563b0fc212d96e2838808adb Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Wed, 6 Dec 2017 13:54:12 -0500 Subject: [PATCH 002/628] Add catch-all error --- templates/cisco_asa_show_access-list.template | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/cisco_asa_show_access-list.template b/templates/cisco_asa_show_access-list.template index 60d7652b97..98b04ee26c 100644 --- a/templates/cisco_asa_show_access-list.template +++ b/templates/cisco_asa_show_access-list.template @@ -65,5 +65,6 @@ Start ^access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+${TYPE}\s+${ACTION}\s+(object\-group\s+${SVC_OBJECT_GRP}|object\s+${SVC_OBJECT}|${PROTOCOL})\s+(interface\s+${SRC_INTFC}|object\-group\s+${SRC_OBJECT_GRP}|object\s+${SRC_OBJECT}|host\s+${SRC_HOST}|${SRC_NETWORK}\s+${SRC_MASK}|${SRC_ANY})\s+(interface\s+${DST_INTFC}|object\-group\s+${DST_OBJECT_GRP}|object\s+${DST_OBJECT}|host\s+${DST_HOST}|${DST_NETWORK}\s+${DST_MASK}|${DST_ANY})\s+((eq\s+${DST_PORT}|object\-group\s+${DST_PORT_GRP}|object\s+${DST_PORT_OBJECT})\s+){0,1}((log\s+${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL})\s+){0,1}(${STATE}\s+){0,1}\(hitcnt=${HIT_COUNT}\)\s+(\(inactive\)\s+){0,1}${LINE_HASH}\s* -> Record ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL_ICMP}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+{ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+{ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}(log\s+[a-z0-9]+\s+interval\s+\d+){0,1}\s+\((hitcnt=${ENTRY_HIT_COUNT}|${ENTRY_STATE})\)\s+${ENTRY_HASH}\s* -> Record ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}((eq\s+${ENTRY_PORT}|lt\s+${ENTRY_PORT_LESS_THAN}|gt\s+${ENTRY_PORT_GREATER_THAN}|range\s+${ENTRY_PORT_RANGE_START}\s+${ENTRY_PORT_RANGE_END})\s+){0,1}(log\s+[a-z0-9]+\s+interval\s+\d+\s+){0,1}\((hitcnt=${ENTRY_HIT_COUNT}|${ENTRY_STATE})\)\s+${ENTRY_HASH}\s* -> Record + ^.* -> Error "Did not match any rules" EOF \ No newline at end of file From 26c8a877d4e5755577036627d10560fb04abc2bc Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Thu, 7 Dec 2017 15:48:28 -0500 Subject: [PATCH 003/628] Add template for show ip access-list --- .../cisco_ios_show_ip_access-lists.template | 27 + templates/index | 1 + .../show_ip_access-lists.parsed | 1362 +++++++++++++++++ .../show_ip_access-lists.raw | 70 + ...red_data_against_parsed_reference_files.py | 2 + 5 files changed, 1462 insertions(+) create mode 100644 templates/cisco_ios_show_ip_access-lists.template create mode 100644 tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed create mode 100644 tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw diff --git a/templates/cisco_ios_show_ip_access-lists.template b/templates/cisco_ios_show_ip_access-lists.template new file mode 100644 index 0000000000..d851ef375d --- /dev/null +++ b/templates/cisco_ios_show_ip_access-lists.template @@ -0,0 +1,27 @@ +Value Required,Filldown ACL_TYPE (Standard|Extended) +Value Required,Filldown ACL_NAME (\S+) +Value LINE_NUM (\d+) +Value ACTION (permit|deny) +Value PROTOCOL ([a-z]+) +Value STANDARD_HOST (\d+\.\d+\.\d+\.\d+) +Value SRC_HOST (\d+\.\d+\.\d+\.\d+) +Value SRC_ANY (any) +Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) +Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) +Value SRC_PORT (\S+) +Value SRC_PORT_RANGE_START (\S+) +Value SRC_PORT_RANGE_END (\S+) +Value DST_HOST (\d+\.\d+\.\d+\.\d+) +Value DST_ANY (any) +Value DST_NETWORK (\d+\.\d+\.\d+\.\d+) +Value DST_WILDCARD (\d+\.\d+\.\d+\.\d+) +Value DST_PORT (\S+) +Value DST_PORT_RANGE_START (\S+) +Value DST_PORT_RANGE_END (\S+) + +Start + #^(Standard|Extended) -> Continue.Record + ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* + ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+range\s+${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|\s+eq\s+${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+range\s+${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|\s+eq\s+${DST_PORT}|)\s* -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record + ^.* -> Error "Could not parse line:" \ No newline at end of file diff --git a/templates/index b/templates/index index c98b2cca47..35d8a1ec3b 100644 --- a/templates/index +++ b/templates/index @@ -94,6 +94,7 @@ cisco_ios_show_interfaces_status.template, .*, cisco_ios, sh[[ow]] int[[erfaces] cisco_ios_show_mac-address-table.template, .*, cisco_ios, sh[[ow]] m[[ac-address-table]] cisco_ios_show_ip_ospf_database.template, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] cisco_ios_show_ip_ospf_neighbor.template, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] +cisco_ios_show_ip_access-lists.template, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]] cisco_ios_show_power_available.template, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] cisco_ios_show_ip_bgp_summary.template, .*, cisco_ios, sh[[ow]] ip bgp sum[[mary]] cisco_ios_show_ipv6_int_brief.template, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] diff --git a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed new file mode 100644 index 0000000000..c5170c1e89 --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed @@ -0,0 +1,1362 @@ +--- +parsed_sample: +- acl_type: "Standard" + acl_name: "99" + line_num: "10" + action: "permit" + protocol: "" + standard_host: "172.16.191.199" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "10" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "10.69.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "20" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "10.69.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port: "bgp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "30" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "40" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "50" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "60" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "70" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "80" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "90" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "100" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "110" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "120" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "130" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "140" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "150" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "160" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "170" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "180" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "190" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "50.93.140.0" + dst_wildcard: "0.0.0.127" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "200" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "50.93.140.0" + dst_wildcard: "0.0.0.127" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "210" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "50.93.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "220" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "50.93.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "230" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "50.93.139.128" + dst_wildcard: "0.0.0.7" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "240" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "50.93.139.128" + dst_wildcard: "0.0.0.7" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "250" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "260" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "270" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "280" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "290" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "300" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "310" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "320" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "330" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "340" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "350" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "360" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "370" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "380" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "390" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "400" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "410" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "420" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "430" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "440" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "450" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4050" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "460" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4060" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "470" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4350" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "480" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4360" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "490" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "500" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "510" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "520" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "530" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "540" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "550" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "560" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "570" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "580" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.69.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "590" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "50.93.140.64" + dst_wildcard: "0.0.0.31" + dst_port: "9815" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "600" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "50.93.140.64" + dst_wildcard: "0.0.0.31" + dst_port: "" + dst_port_range_start: "9821" + dst_port_range_end: "9823" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "610" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "50.93.140.96" + dst_wildcard: "0.0.0.31" + dst_port: "" + dst_port_range_start: "7400" + dst_port_range_end: "7407" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "620" + action: "permit" + protocol: "udp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "50.93.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "630" + action: "permit" + protocol: "udp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "50.93.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "640" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.16" + src_wildcard: "0.0.0.3" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "50.93.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "650" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.69.37.24" + src_wildcard: "0.0.0.7" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "50.93.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" +- acl_type: "Extended" + acl_name: "YYYY" + line_num: "660" + action: "permit" + protocol: "pim" + standard_host: "" + src_host: "10.69.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "224.0.0.13" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "test" + line_num: "" + action: "" + protocol: "" + standard_host: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw new file mode 100644 index 0000000000..f219462bd5 --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw @@ -0,0 +1,70 @@ +Standard IP access list 99 + 10 permit 172.16.191.199 +Extended IP access list YYYY + 10 permit tcp host 10.69.37.18 host 10.69.37.17 eq bgp + 20 permit tcp host 10.69.37.18 eq bgp host 10.69.37.17 + 30 permit icmp 10.69.37.16 0.0.0.3 host 10.69.37.17 + 40 permit icmp 10.69.37.24 0.0.0.7 host 10.69.37.17 + 50 permit icmp 10.69.37.16 0.0.0.3 host 10.69.5.20 + 60 permit icmp 10.69.37.24 0.0.0.7 host 10.69.5.20 + 70 permit icmp 10.69.37.16 0.0.0.3 host 10.69.6.144 + 80 permit icmp 10.69.37.24 0.0.0.7 host 10.69.6.144 + 90 permit icmp 10.69.37.16 0.0.0.3 host 10.69.6.146 + 100 permit icmp 10.69.37.24 0.0.0.7 host 10.69.6.146 + 110 permit icmp 10.69.37.16 0.0.0.3 host 10.69.6.148 + 120 permit icmp 10.69.37.24 0.0.0.7 host 10.69.6.148 + 130 permit icmp 10.69.37.16 0.0.0.3 host 10.69.6.152 + 140 permit icmp 10.69.37.24 0.0.0.7 host 10.69.6.152 + 150 permit icmp 10.69.37.16 0.0.0.3 host 10.69.8.26 + 160 permit icmp 10.69.37.24 0.0.0.7 host 10.69.8.26 + 170 permit icmp 10.69.37.16 0.0.0.3 host 10.69.8.152 + 180 permit icmp 10.69.37.24 0.0.0.7 host 10.69.8.152 + 190 permit icmp 10.69.37.16 0.0.0.3 50.93.140.0 0.0.0.127 + 200 permit icmp 10.69.37.24 0.0.0.7 50.93.140.0 0.0.0.127 + 210 permit icmp 10.69.37.16 0.0.0.3 host 50.93.139.248 + 220 permit icmp 10.69.37.24 0.0.0.7 host 50.93.139.248 + 230 permit icmp 10.69.37.16 0.0.0.3 50.93.139.128 0.0.0.7 + 240 permit icmp 10.69.37.24 0.0.0.7 50.93.139.128 0.0.0.7 + 250 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4000 + 260 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4010 + 270 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4020 + 280 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4080 + 290 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4300 + 300 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4310 + 310 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4320 + 320 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4380 + 330 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4000 + 340 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4010 + 350 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4020 + 360 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4300 + 370 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4310 + 380 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4320 + 390 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4000 + 400 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4010 + 410 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4020 + 420 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4300 + 430 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4310 + 440 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4320 + 450 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.148 eq 4050 + 460 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.148 eq 4060 + 470 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.148 eq 4350 + 480 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.148 eq 4360 + 490 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4000 + 500 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4010 + 510 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4020 + 520 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4080 + 530 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4300 + 540 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4310 + 550 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4320 + 560 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4380 + 570 permit tcp 10.69.37.24 0.0.0.7 host 10.69.8.26 eq 4001 + 580 permit tcp 10.69.37.24 0.0.0.7 host 10.69.8.152 eq 4001 + 590 permit tcp 10.69.37.24 0.0.0.7 50.93.140.64 0.0.0.31 eq 9815 + 600 permit tcp 10.69.37.24 0.0.0.7 50.93.140.64 0.0.0.31 range 9821 9823 + 610 permit tcp 10.69.37.24 0.0.0.7 50.93.140.96 0.0.0.31 range 7400 7407 + 620 permit udp 10.69.37.16 0.0.0.3 host 50.93.139.133 range 13001 13191 + 630 permit udp 10.69.37.24 0.0.0.7 host 50.93.139.133 range 13001 13191 + 640 permit tcp 10.69.37.16 0.0.0.3 host 50.93.139.134 range 13001 13191 + 650 permit tcp 10.69.37.24 0.0.0.7 host 50.93.139.134 range 13001 13191 + 660 permit pim host 10.69.37.18 host 224.0.0.13 +Extended IP access list test diff --git a/tests/test_structured_data_against_parsed_reference_files.py b/tests/test_structured_data_against_parsed_reference_files.py index f12534f0da..0987b5f75e 100644 --- a/tests/test_structured_data_against_parsed_reference_files.py +++ b/tests/test_structured_data_against_parsed_reference_files.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + """Run tests against all the *.raw files.""" import glob import pytest From 95b037f64626e71c7151de607fd92546a9675914 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Thu, 7 Dec 2017 15:55:49 -0500 Subject: [PATCH 004/628] update samples --- .../show_ip_access-lists.parsed | 396 +++++++++--------- .../show_ip_access-lists.raw | 134 +++--- 2 files changed, 265 insertions(+), 265 deletions(-) diff --git a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed index c5170c1e89..daa0602e85 100644 --- a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed +++ b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed @@ -21,19 +21,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "10" action: "permit" protocol: "tcp" standard_host: "" - src_host: "10.69.37.18" + src_host: "10.10.37.18" src_any: "" src_network: "" src_wildcard: "" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.37.17" + dst_host: "10.10.37.17" dst_any: "" dst_network: "" dst_wildcard: "" @@ -41,19 +41,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "20" action: "permit" protocol: "tcp" standard_host: "" - src_host: "10.69.37.18" + src_host: "10.10.37.18" src_any: "" src_network: "" src_wildcard: "" src_port: "bgp" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.37.17" + dst_host: "10.10.37.17" dst_any: "" dst_network: "" dst_wildcard: "" @@ -61,19 +61,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "30" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.37.17" + dst_host: "10.10.37.17" dst_any: "" dst_network: "" dst_wildcard: "" @@ -81,19 +81,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "40" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.37.17" + dst_host: "10.10.37.17" dst_any: "" dst_network: "" dst_wildcard: "" @@ -101,19 +101,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "50" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.5.20" + dst_host: "10.10.5.20" dst_any: "" dst_network: "" dst_wildcard: "" @@ -121,19 +121,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "60" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.5.20" + dst_host: "10.10.5.20" dst_any: "" dst_network: "" dst_wildcard: "" @@ -141,19 +141,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "70" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.144" + dst_host: "10.10.6.144" dst_any: "" dst_network: "" dst_wildcard: "" @@ -161,19 +161,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "80" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.144" + dst_host: "10.10.6.144" dst_any: "" dst_network: "" dst_wildcard: "" @@ -181,19 +181,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "90" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.146" + dst_host: "10.10.6.146" dst_any: "" dst_network: "" dst_wildcard: "" @@ -201,19 +201,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "100" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.146" + dst_host: "10.10.6.146" dst_any: "" dst_network: "" dst_wildcard: "" @@ -221,19 +221,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "110" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.148" + dst_host: "10.10.6.148" dst_any: "" dst_network: "" dst_wildcard: "" @@ -241,19 +241,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "120" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.148" + dst_host: "10.10.6.148" dst_any: "" dst_network: "" dst_wildcard: "" @@ -261,19 +261,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "130" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.152" + dst_host: "10.10.6.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -281,19 +281,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "140" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.152" + dst_host: "10.10.6.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -301,19 +301,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "150" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.8.26" + dst_host: "10.10.8.26" dst_any: "" dst_network: "" dst_wildcard: "" @@ -321,19 +321,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "160" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.8.26" + dst_host: "10.10.8.26" dst_any: "" dst_network: "" dst_wildcard: "" @@ -341,19 +341,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "170" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.8.152" + dst_host: "10.10.8.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -361,19 +361,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "180" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.8.152" + dst_host: "10.10.8.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -381,59 +381,59 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "190" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" dst_host: "" dst_any: "" - dst_network: "50.93.140.0" + dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "200" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" dst_host: "" dst_any: "" - dst_network: "50.93.140.0" + dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "210" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "50.93.139.248" + dst_host: "10.3.139.248" dst_any: "" dst_network: "" dst_wildcard: "" @@ -441,19 +441,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "220" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "50.93.139.248" + dst_host: "10.3.139.248" dst_any: "" dst_network: "" dst_wildcard: "" @@ -461,59 +461,59 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "230" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" dst_host: "" dst_any: "" - dst_network: "50.93.139.128" + dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "240" action: "permit" protocol: "icmp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" dst_host: "" dst_any: "" - dst_network: "50.93.139.128" + dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "250" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.5.20" + dst_host: "10.10.5.20" dst_any: "" dst_network: "" dst_wildcard: "" @@ -521,19 +521,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "260" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.5.20" + dst_host: "10.10.5.20" dst_any: "" dst_network: "" dst_wildcard: "" @@ -541,19 +541,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "270" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.5.20" + dst_host: "10.10.5.20" dst_any: "" dst_network: "" dst_wildcard: "" @@ -561,19 +561,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "280" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.5.20" + dst_host: "10.10.5.20" dst_any: "" dst_network: "" dst_wildcard: "" @@ -581,19 +581,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "290" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.5.20" + dst_host: "10.10.5.20" dst_any: "" dst_network: "" dst_wildcard: "" @@ -601,19 +601,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "300" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.5.20" + dst_host: "10.10.5.20" dst_any: "" dst_network: "" dst_wildcard: "" @@ -621,19 +621,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "310" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.5.20" + dst_host: "10.10.5.20" dst_any: "" dst_network: "" dst_wildcard: "" @@ -641,19 +641,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "320" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.5.20" + dst_host: "10.10.5.20" dst_any: "" dst_network: "" dst_wildcard: "" @@ -661,19 +661,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "330" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.144" + dst_host: "10.10.6.144" dst_any: "" dst_network: "" dst_wildcard: "" @@ -681,19 +681,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "340" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.144" + dst_host: "10.10.6.144" dst_any: "" dst_network: "" dst_wildcard: "" @@ -701,19 +701,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "350" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.144" + dst_host: "10.10.6.144" dst_any: "" dst_network: "" dst_wildcard: "" @@ -721,19 +721,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "360" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.144" + dst_host: "10.10.6.144" dst_any: "" dst_network: "" dst_wildcard: "" @@ -741,19 +741,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "370" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.144" + dst_host: "10.10.6.144" dst_any: "" dst_network: "" dst_wildcard: "" @@ -761,19 +761,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "380" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.144" + dst_host: "10.10.6.144" dst_any: "" dst_network: "" dst_wildcard: "" @@ -781,19 +781,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "390" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.146" + dst_host: "10.10.6.146" dst_any: "" dst_network: "" dst_wildcard: "" @@ -801,19 +801,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "400" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.146" + dst_host: "10.10.6.146" dst_any: "" dst_network: "" dst_wildcard: "" @@ -821,19 +821,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "410" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.146" + dst_host: "10.10.6.146" dst_any: "" dst_network: "" dst_wildcard: "" @@ -841,19 +841,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "420" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.146" + dst_host: "10.10.6.146" dst_any: "" dst_network: "" dst_wildcard: "" @@ -861,19 +861,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "430" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.146" + dst_host: "10.10.6.146" dst_any: "" dst_network: "" dst_wildcard: "" @@ -881,19 +881,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "440" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.146" + dst_host: "10.10.6.146" dst_any: "" dst_network: "" dst_wildcard: "" @@ -901,19 +901,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "450" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.148" + dst_host: "10.10.6.148" dst_any: "" dst_network: "" dst_wildcard: "" @@ -921,19 +921,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "460" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.148" + dst_host: "10.10.6.148" dst_any: "" dst_network: "" dst_wildcard: "" @@ -941,19 +941,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "470" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.148" + dst_host: "10.10.6.148" dst_any: "" dst_network: "" dst_wildcard: "" @@ -961,19 +961,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "480" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.148" + dst_host: "10.10.6.148" dst_any: "" dst_network: "" dst_wildcard: "" @@ -981,19 +981,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "490" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.152" + dst_host: "10.10.6.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1001,19 +1001,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "500" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.152" + dst_host: "10.10.6.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1021,19 +1021,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "510" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.152" + dst_host: "10.10.6.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1041,19 +1041,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "520" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.152" + dst_host: "10.10.6.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1061,19 +1061,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "530" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.152" + dst_host: "10.10.6.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1081,19 +1081,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "540" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.152" + dst_host: "10.10.6.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1101,19 +1101,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "550" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.152" + dst_host: "10.10.6.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1121,19 +1121,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "560" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.6.152" + dst_host: "10.10.6.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1141,19 +1141,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "570" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.8.26" + dst_host: "10.10.8.26" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1161,19 +1161,19 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "580" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "10.69.8.152" + dst_host: "10.10.8.152" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1181,79 +1181,79 @@ parsed_sample: dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "590" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" dst_host: "" dst_any: "" - dst_network: "50.93.140.64" + dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "600" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" dst_host: "" dst_any: "" - dst_network: "50.93.140.64" + dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "610" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" dst_host: "" dst_any: "" - dst_network: "50.93.140.96" + dst_network: "10.3.140.96" dst_wildcard: "0.0.0.31" dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "620" action: "permit" protocol: "udp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "50.93.139.133" + dst_host: "10.3.139.133" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1261,19 +1261,19 @@ parsed_sample: dst_port_range_start: "13001" dst_port_range_end: "13191" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "630" action: "permit" protocol: "udp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "50.93.139.133" + dst_host: "10.3.139.133" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1281,19 +1281,19 @@ parsed_sample: dst_port_range_start: "13001" dst_port_range_end: "13191" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "640" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.16" + src_network: "10.10.37.16" src_wildcard: "0.0.0.3" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "50.93.139.134" + dst_host: "10.3.139.134" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1301,19 +1301,19 @@ parsed_sample: dst_port_range_start: "13001" dst_port_range_end: "13191" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "650" action: "permit" protocol: "tcp" standard_host: "" src_host: "" src_any: "" - src_network: "10.69.37.24" + src_network: "10.10.37.24" src_wildcard: "0.0.0.7" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "50.93.139.134" + dst_host: "10.3.139.134" dst_any: "" dst_network: "" dst_wildcard: "" @@ -1321,19 +1321,19 @@ parsed_sample: dst_port_range_start: "13001" dst_port_range_end: "13191" - acl_type: "Extended" - acl_name: "YYYY" + acl_name: "sample" line_num: "660" action: "permit" protocol: "pim" standard_host: "" - src_host: "10.69.37.18" + src_host: "10.10.37.18" src_any: "" src_network: "" src_wildcard: "" src_port: "" src_port_range_start: "" src_port_range_end: "" - dst_host: "224.0.0.13" + dst_host: "224.0.0.1" dst_any: "" dst_network: "" dst_wildcard: "" diff --git a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw index f219462bd5..4e9ff91aa1 100644 --- a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw +++ b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw @@ -1,70 +1,70 @@ Standard IP access list 99 10 permit 172.16.191.199 -Extended IP access list YYYY - 10 permit tcp host 10.69.37.18 host 10.69.37.17 eq bgp - 20 permit tcp host 10.69.37.18 eq bgp host 10.69.37.17 - 30 permit icmp 10.69.37.16 0.0.0.3 host 10.69.37.17 - 40 permit icmp 10.69.37.24 0.0.0.7 host 10.69.37.17 - 50 permit icmp 10.69.37.16 0.0.0.3 host 10.69.5.20 - 60 permit icmp 10.69.37.24 0.0.0.7 host 10.69.5.20 - 70 permit icmp 10.69.37.16 0.0.0.3 host 10.69.6.144 - 80 permit icmp 10.69.37.24 0.0.0.7 host 10.69.6.144 - 90 permit icmp 10.69.37.16 0.0.0.3 host 10.69.6.146 - 100 permit icmp 10.69.37.24 0.0.0.7 host 10.69.6.146 - 110 permit icmp 10.69.37.16 0.0.0.3 host 10.69.6.148 - 120 permit icmp 10.69.37.24 0.0.0.7 host 10.69.6.148 - 130 permit icmp 10.69.37.16 0.0.0.3 host 10.69.6.152 - 140 permit icmp 10.69.37.24 0.0.0.7 host 10.69.6.152 - 150 permit icmp 10.69.37.16 0.0.0.3 host 10.69.8.26 - 160 permit icmp 10.69.37.24 0.0.0.7 host 10.69.8.26 - 170 permit icmp 10.69.37.16 0.0.0.3 host 10.69.8.152 - 180 permit icmp 10.69.37.24 0.0.0.7 host 10.69.8.152 - 190 permit icmp 10.69.37.16 0.0.0.3 50.93.140.0 0.0.0.127 - 200 permit icmp 10.69.37.24 0.0.0.7 50.93.140.0 0.0.0.127 - 210 permit icmp 10.69.37.16 0.0.0.3 host 50.93.139.248 - 220 permit icmp 10.69.37.24 0.0.0.7 host 50.93.139.248 - 230 permit icmp 10.69.37.16 0.0.0.3 50.93.139.128 0.0.0.7 - 240 permit icmp 10.69.37.24 0.0.0.7 50.93.139.128 0.0.0.7 - 250 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4000 - 260 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4010 - 270 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4020 - 280 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4080 - 290 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4300 - 300 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4310 - 310 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4320 - 320 permit tcp 10.69.37.24 0.0.0.7 host 10.69.5.20 eq 4380 - 330 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4000 - 340 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4010 - 350 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4020 - 360 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4300 - 370 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4310 - 380 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.144 eq 4320 - 390 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4000 - 400 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4010 - 410 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4020 - 420 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4300 - 430 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4310 - 440 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.146 eq 4320 - 450 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.148 eq 4050 - 460 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.148 eq 4060 - 470 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.148 eq 4350 - 480 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.148 eq 4360 - 490 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4000 - 500 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4010 - 510 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4020 - 520 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4080 - 530 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4300 - 540 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4310 - 550 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4320 - 560 permit tcp 10.69.37.24 0.0.0.7 host 10.69.6.152 eq 4380 - 570 permit tcp 10.69.37.24 0.0.0.7 host 10.69.8.26 eq 4001 - 580 permit tcp 10.69.37.24 0.0.0.7 host 10.69.8.152 eq 4001 - 590 permit tcp 10.69.37.24 0.0.0.7 50.93.140.64 0.0.0.31 eq 9815 - 600 permit tcp 10.69.37.24 0.0.0.7 50.93.140.64 0.0.0.31 range 9821 9823 - 610 permit tcp 10.69.37.24 0.0.0.7 50.93.140.96 0.0.0.31 range 7400 7407 - 620 permit udp 10.69.37.16 0.0.0.3 host 50.93.139.133 range 13001 13191 - 630 permit udp 10.69.37.24 0.0.0.7 host 50.93.139.133 range 13001 13191 - 640 permit tcp 10.69.37.16 0.0.0.3 host 50.93.139.134 range 13001 13191 - 650 permit tcp 10.69.37.24 0.0.0.7 host 50.93.139.134 range 13001 13191 - 660 permit pim host 10.69.37.18 host 224.0.0.13 +Extended IP access list sample + 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp + 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 + 30 permit icmp 10.10.37.16 0.0.0.3 host 10.10.37.17 + 40 permit icmp 10.10.37.24 0.0.0.7 host 10.10.37.17 + 50 permit icmp 10.10.37.16 0.0.0.3 host 10.10.5.20 + 60 permit icmp 10.10.37.24 0.0.0.7 host 10.10.5.20 + 70 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.144 + 80 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.144 + 90 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.146 + 100 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.146 + 110 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.148 + 120 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.148 + 130 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.152 + 140 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.152 + 150 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.26 + 160 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.26 + 170 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.152 + 180 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.152 + 190 permit icmp 10.10.37.16 0.0.0.3 10.3.140.0 0.0.0.127 + 200 permit icmp 10.10.37.24 0.0.0.7 10.3.140.0 0.0.0.127 + 210 permit icmp 10.10.37.16 0.0.0.3 host 10.3.139.248 + 220 permit icmp 10.10.37.24 0.0.0.7 host 10.3.139.248 + 230 permit icmp 10.10.37.16 0.0.0.3 10.3.139.128 0.0.0.7 + 240 permit icmp 10.10.37.24 0.0.0.7 10.3.139.128 0.0.0.7 + 250 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4000 + 260 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4010 + 270 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4020 + 280 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4080 + 290 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4300 + 300 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4310 + 310 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4320 + 320 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4380 + 330 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4000 + 340 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4010 + 350 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4020 + 360 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4300 + 370 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4310 + 380 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4320 + 390 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4000 + 400 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4010 + 410 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4020 + 420 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4300 + 430 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4310 + 440 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4320 + 450 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4050 + 460 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4060 + 470 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4350 + 480 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4360 + 490 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4000 + 500 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4010 + 510 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4020 + 520 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4080 + 530 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4300 + 540 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4310 + 550 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4320 + 560 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4380 + 570 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.26 eq 4001 + 580 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.152 eq 4001 + 590 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 eq 9815 + 600 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 range 9821 9823 + 610 permit tcp 10.10.37.24 0.0.0.7 10.3.140.96 0.0.0.31 range 7400 7407 + 620 permit udp 10.10.37.16 0.0.0.3 host 10.3.139.133 range 13001 13191 + 630 permit udp 10.10.37.24 0.0.0.7 host 10.3.139.133 range 13001 13191 + 640 permit tcp 10.10.37.16 0.0.0.3 host 10.3.139.134 range 13001 13191 + 650 permit tcp 10.10.37.24 0.0.0.7 host 10.3.139.134 range 13001 13191 + 660 permit pim host 10.10.37.18 host 224.0.0.1 Extended IP access list test From 08b5dd90c4fc295b962b1869c6aa8f176ab8add4 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Thu, 7 Dec 2017 16:13:38 -0500 Subject: [PATCH 005/628] update index to include new template --- templates/index | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/index b/templates/index index c98b2cca47..ec941aabce 100644 --- a/templates/index +++ b/templates/index @@ -84,7 +84,8 @@ cisco_asa_show_route.template, .*, cisco_asa, sh[[ow]] ro[[ute]] cisco_asa_show_name.template, .*, cisco_asa, sh[[ow]] nam[[e]] cisco_asa_dir.template, .*, cisco_asa, dir -cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] +cisco_ios_show_running-config_partition_access-list.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] +cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_authentication_sessions.template, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_ip_ospf_interface_brief.template, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] cisco_ios_show_environment_power_all.template, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] From 697bee70ebca9eaae9f3c1767089fbce88b0e375 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Thu, 7 Dec 2017 23:54:36 -0500 Subject: [PATCH 006/628] Add template for show running ip access-list --- ...ning-config_partition_access-list.template | 41 + ...unning-config_partition_access-list.parsed | 1563 +++++++++++++++++ ...w_running-config_partition_access-list.raw | 109 ++ 3 files changed, 1713 insertions(+) create mode 100644 templates/cisco_ios_show_running-config_partition_access-list.template create mode 100644 tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed create mode 100644 tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw diff --git a/templates/cisco_ios_show_running-config_partition_access-list.template b/templates/cisco_ios_show_running-config_partition_access-list.template new file mode 100644 index 0000000000..8a135c1388 --- /dev/null +++ b/templates/cisco_ios_show_running-config_partition_access-list.template @@ -0,0 +1,41 @@ +Value Required,Filldown ACL_NAME (\S+) +Value Filldown ACL_TYPE (standard|extended) +Value COMMENT (.*) +Value ACTION (permit|deny) +Value PROTOCOL ([a-z]+) +Value STANDARD_HOST (\d+\.\d+\.\d+\.\d+) +Value SRC_HOST (\d+\.\d+\.\d+\.\d+) +Value SRC_ANY (any) +Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) +Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) +Value SRC_PORT_MATCH (eq|range|lt|gt) +Value SRC_PORT (\S+) +Value SRC_PORT_RANGE_START (\S+) +Value SRC_PORT_RANGE_END (\S+) +Value DST_HOST (\d+\.\d+\.\d+\.\d+) +Value DST_ANY (any) +Value DST_NETWORK (\d+\.\d+\.\d+\.\d+) +Value DST_WILDCARD (\d+\.\d+\.\d+\.\d+) +Value DST_PORT_MATCH (eq|range|lt|gt) +Value DST_PORT (\S+) +Value DST_PORT_RANGE_START (\S+) +Value DST_PORT_RANGE_END (\S+) + + +Start + ^ip\s+access-list -> Continue.Clearall + ^ip\s+access-list\s+${ACL_TYPE}\s+${ACL_NAME}\s* + ^access-list -> Continue.Clearall + ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record + ^\s+remark\s+${COMMENT}\s* + ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+{SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+|)(${DST_PORT_RANGE_START}\s+{DST_PORT_RANGE_END}|${DST_PORT}|) -> Record + ^\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record + ^!\s* + ^$$ + ^Building configuration.* + ^Current configuration.* + ^Configuration.* + ^end.* + ^.* -> Error "Could not parse line:" + +EOF \ No newline at end of file diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed new file mode 100644 index 0000000000..1fdafa6ef9 --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed @@ -0,0 +1,1563 @@ +parsed_sample: +- acl_name: "sample" + acl_type: "extended" + comment: '"allows BGP"' + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "10.1.6.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "10.1.6.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "bgp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample to ping"' + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample to ping"' + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample to ping"' + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample to ping"' + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample to ping"' + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample to ping"' + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "allows sample to ping" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "allows sample to ping" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "permit sample servers to ping" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "allows sample to ping" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample workstation(s) to connect"' + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample workstation(s)"' + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample workstation(s)"' + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample workstation(s)"' + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4050" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4060" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4350" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4360" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: '"allows sample workstation(s)"' + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "permit sample workstation(s)" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "permit sample workstation(s)" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "permit sample to connect" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "eq" + dst_port: "9815" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "9821" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "permit sample to connect" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.96" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "7400" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "permit sample UDP access" + action: "permit" + protocol: "udp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "13001" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "udp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "13001" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "permit sample TCP access" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "13001" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "13001" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "allow sample to send PIM-Join" + action: "permit" + protocol: "pim" + standard_host: "" + src_host: "10.1.6.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "224.0.0.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "deny" + protocol: "ip" + standard_host: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "ip" + standard_host: "" + src_host: "" + src_any: "" + src_network: "10.0.0.0" + src_wildcard: "0.255.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "99" + acl_type: "" + comment: "" + action: "permit" + protocol: "" + standard_host: "10.16.5.19" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "99" + acl_type: "" + comment: "" + action: "permit" + protocol: "" + standard_host: "10.16.5.20" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_name: "stdacl" + acl_type: "standard" + comment: "" + action: "permit" + protocol: "" + standard_host: "10.1.1.1" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw new file mode 100644 index 0000000000..0d4ad9871c --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw @@ -0,0 +1,109 @@ +Building configuration... + +Current configuration : 5066 bytes +! +Configuration of Partition - access-list +! +! +! +! +ip access-list extended sample + remark "allows BGP" + permit tcp host 10.1.6.20 host 10.1.6.98 eq bgp + permit tcp host 10.1.6.20 eq bgp host 10.1.6.98 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.6.98 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.6.98 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.5.20 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.5.20 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.6.144 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.6.144 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.6.146 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.6.146 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.6.148 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.6.148 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.6.152 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.6.152 + remark allows sample to ping + permit icmp 10.1.6.16 0.0.0.3 host 10.1.8.26 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.8.26 + remark allows sample to ping + permit icmp 10.1.6.16 0.0.0.3 host 10.1.8.152 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.8.152 + remark permit sample servers to ping + permit icmp 10.1.6.16 0.0.0.3 10.3.14.0 0.0.0.127 + permit icmp 10.1.6.24 0.0.0.7 10.3.14.0 0.0.0.127 + remark allows sample to ping + permit icmp 10.1.6.16 0.0.0.3 host 10.3.139.248 + permit icmp 10.1.6.24 0.0.0.7 host 10.3.139.248 + permit icmp 10.1.6.16 0.0.0.3 10.3.139.128 0.0.0.7 + permit icmp 10.1.6.24 0.0.0.7 10.3.139.128 0.0.0.7 + remark "allows sample workstation(s) to connect" + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4000 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4010 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4020 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4080 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4300 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4310 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4320 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4380 + remark "allows sample workstation(s)" + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4000 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4010 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4020 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4300 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4310 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4320 + remark "allows sample workstation(s)" + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4000 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4010 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4020 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4300 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4310 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4320 + remark "allows sample workstation(s)" + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.148 eq 4050 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.148 eq 4060 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.148 eq 4350 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.148 eq 4360 + remark "allows sample workstation(s)" + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4000 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4010 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4020 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4080 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4300 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4310 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4320 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4380 + remark permit sample workstation(s) + permit tcp 10.1.6.24 0.0.0.7 host 10.1.8.26 eq 4001 + remark permit sample workstation(s) + permit tcp 10.1.6.24 0.0.0.7 host 10.1.8.152 eq 4001 + remark permit sample to connect + permit tcp 10.1.6.24 0.0.0.7 10.3.14.64 0.0.0.31 eq 9815 + permit tcp 10.1.6.24 0.0.0.7 10.3.14.64 0.0.0.31 range 9821 9823 + remark permit sample to connect + permit tcp 10.1.6.24 0.0.0.7 10.3.14.96 0.0.0.31 range 7400 7407 + remark permit sample UDP access + permit udp 10.1.6.16 0.0.0.3 host 10.3.139.133 range 13001 13191 + permit udp 10.1.6.24 0.0.0.7 host 10.3.139.133 range 13001 13191 + remark permit sample TCP access + permit tcp 10.1.6.16 0.0.0.3 host 10.3.139.134 range 13001 13191 + permit tcp 10.1.6.24 0.0.0.7 host 10.3.139.134 range 13001 13191 + remark allow sample to send PIM-Join + permit pim host 10.1.6.20 host 224.0.0.1 + deny ip any any + permit ip 10.0.0.0 0.255.0.255 any +ip access-list extended test +access-list 99 permit 10.16.5.19 +access-list 99 permit 10.16.5.20 +! +ip access-list standard stdacl + permit 10.1.1.1 + +end From c1f65b3f4f719294b2aba800eb63341aacb8bb7a Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 8 Dec 2017 00:23:35 -0500 Subject: [PATCH 007/628] Add support for match criteria --- .../cisco_ios_show_ip_access-lists.template | 10 +- .../show_ip_access-lists.parsed | 177 +++++++++++++++--- .../show_ip_access-lists.raw | 2 + 3 files changed, 165 insertions(+), 24 deletions(-) diff --git a/templates/cisco_ios_show_ip_access-lists.template b/templates/cisco_ios_show_ip_access-lists.template index d851ef375d..ecd6b99c0f 100644 --- a/templates/cisco_ios_show_ip_access-lists.template +++ b/templates/cisco_ios_show_ip_access-lists.template @@ -8,6 +8,7 @@ Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) +Value SRC_PORT_MATCH (eq|range|lt|gt) Value SRC_PORT (\S+) Value SRC_PORT_RANGE_START (\S+) Value SRC_PORT_RANGE_END (\S+) @@ -15,13 +16,16 @@ Value DST_HOST (\d+\.\d+\.\d+\.\d+) Value DST_ANY (any) Value DST_NETWORK (\d+\.\d+\.\d+\.\d+) Value DST_WILDCARD (\d+\.\d+\.\d+\.\d+) +Value DST_PORT_MATCH (eq|range|lt|gt) Value DST_PORT (\S+) Value DST_PORT_RANGE_START (\S+) Value DST_PORT_RANGE_END (\S+) Start - #^(Standard|Extended) -> Continue.Record + ^(Standard|Extended) -> Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* - ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+range\s+${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|\s+eq\s+${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+range\s+${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|\s+eq\s+${DST_PORT}|)\s* -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+|)(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)\s* -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record - ^.* -> Error "Could not parse line:" \ No newline at end of file + ^.* -> Error "Could not parse line:" + +EOF \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed index daa0602e85..7e108a8f96 100644 --- a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed +++ b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed @@ -1,4 +1,3 @@ ---- parsed_sample: - acl_type: "Standard" acl_name: "99" @@ -10,6 +9,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -17,6 +17,29 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Standard" + acl_name: "stdacl" + line_num: "10" + action: "permit" + protocol: "" + standard_host: "10.1.1.1" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -30,6 +53,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -37,6 +61,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" @@ -50,6 +75,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_port_match: "eq" src_port: "bgp" src_port_range_start: "" src_port_range_end: "" @@ -57,6 +83,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -70,6 +97,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -77,6 +105,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -90,6 +119,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -97,6 +127,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -110,6 +141,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -117,6 +149,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -130,6 +163,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -137,6 +171,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -150,6 +185,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -157,6 +193,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -170,6 +207,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -177,6 +215,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -190,6 +229,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -197,6 +237,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -210,6 +251,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -217,6 +259,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -230,6 +273,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -237,6 +281,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -250,6 +295,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -257,6 +303,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -270,6 +317,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -277,6 +325,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -290,6 +339,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -297,6 +347,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -310,6 +361,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -317,6 +369,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -330,6 +383,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -337,6 +391,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -350,6 +405,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -357,6 +413,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -370,6 +427,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -377,6 +435,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -390,6 +449,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -397,6 +457,7 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -410,6 +471,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -417,6 +479,7 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.0" dst_wildcard: "0.0.0.127" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -430,6 +493,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -437,6 +501,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -450,6 +515,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -457,6 +523,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -470,6 +537,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -477,6 +545,7 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -490,6 +559,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -497,6 +567,7 @@ parsed_sample: dst_any: "" dst_network: "10.3.139.128" dst_wildcard: "0.0.0.7" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" @@ -510,6 +581,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -517,6 +589,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" @@ -530,6 +603,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -537,6 +611,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" @@ -550,6 +625,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -557,6 +633,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" @@ -570,6 +647,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -577,6 +655,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" @@ -590,6 +669,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -597,6 +677,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" @@ -610,6 +691,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -617,6 +699,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" @@ -630,6 +713,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -637,6 +721,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" @@ -650,6 +735,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -657,6 +743,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" @@ -670,6 +757,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -677,6 +765,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" @@ -690,6 +779,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -697,6 +787,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" @@ -710,6 +801,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -717,6 +809,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" @@ -730,6 +823,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -737,6 +831,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" @@ -750,6 +845,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -757,6 +853,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" @@ -770,6 +867,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -777,6 +875,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" @@ -790,6 +889,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -797,6 +897,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" @@ -810,6 +911,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -817,6 +919,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" @@ -830,6 +933,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -837,6 +941,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" @@ -850,6 +955,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -857,6 +963,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" @@ -870,6 +977,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -877,6 +985,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" @@ -890,6 +999,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -897,6 +1007,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" @@ -910,6 +1021,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -917,6 +1029,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" @@ -930,6 +1043,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -937,6 +1051,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" @@ -950,6 +1065,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -957,6 +1073,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" @@ -970,6 +1087,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -977,6 +1095,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" @@ -990,6 +1109,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -997,6 +1117,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" @@ -1010,6 +1131,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1017,6 +1139,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" @@ -1030,6 +1153,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1037,6 +1161,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" @@ -1050,6 +1175,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1057,6 +1183,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" @@ -1070,6 +1197,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1077,6 +1205,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" @@ -1090,6 +1219,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1097,6 +1227,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" @@ -1110,6 +1241,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1117,6 +1249,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" @@ -1130,6 +1263,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1137,6 +1271,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" @@ -1150,6 +1285,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1157,6 +1293,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" @@ -1170,6 +1307,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1177,6 +1315,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "eq" dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" @@ -1190,6 +1329,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1197,6 +1337,7 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_port_match: "eq" dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" @@ -1210,6 +1351,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1217,6 +1359,7 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.64" dst_wildcard: "0.0.0.31" + dst_port_match: "range" dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" @@ -1230,6 +1373,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1237,6 +1381,7 @@ parsed_sample: dst_any: "" dst_network: "10.3.140.96" dst_wildcard: "0.0.0.31" + dst_port_match: "range" dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" @@ -1250,6 +1395,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1257,6 +1403,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" @@ -1270,6 +1417,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1277,6 +1425,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" @@ -1290,6 +1439,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.16" src_wildcard: "0.0.0.3" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1297,6 +1447,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" @@ -1310,6 +1461,7 @@ parsed_sample: src_any: "" src_network: "10.10.37.24" src_wildcard: "0.0.0.7" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1317,6 +1469,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "range" dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" @@ -1330,6 +1483,7 @@ parsed_sample: src_any: "" src_network: "" src_wildcard: "" + src_port_match: "" src_port: "" src_port_range_start: "" src_port_range_end: "" @@ -1337,26 +1491,7 @@ parsed_sample: dst_any: "" dst_network: "" dst_wildcard: "" + dst_port_match: "" dst_port: "" dst_port_range_start: "" dst_port_range_end: "" -- acl_type: "Extended" - acl_name: "test" - line_num: "" - action: "" - protocol: "" - standard_host: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw index 4e9ff91aa1..dfaccd5f87 100644 --- a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw +++ b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw @@ -1,5 +1,7 @@ Standard IP access list 99 10 permit 172.16.191.199 +Standard IP access list stdacl + 10 permit 10.1.1.1 Extended IP access list sample 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 From 1b333ce0f9d1e5261244d53a55688e1b2b953718 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 8 Dec 2017 00:31:09 -0500 Subject: [PATCH 008/628] Fix issue with missing $ --- ...ning-config_partition_access-list.template | 2 +- ...unning-config_partition_access-list.parsed | 36 +++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/templates/cisco_ios_show_running-config_partition_access-list.template b/templates/cisco_ios_show_running-config_partition_access-list.template index 8a135c1388..1601a89294 100644 --- a/templates/cisco_ios_show_running-config_partition_access-list.template +++ b/templates/cisco_ios_show_running-config_partition_access-list.template @@ -28,7 +28,7 @@ Start ^access-list -> Continue.Clearall ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record ^\s+remark\s+${COMMENT}\s* - ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+{SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+|)(${DST_PORT_RANGE_START}\s+{DST_PORT_RANGE_END}|${DST_PORT}|) -> Record + ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+|)(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|) -> Record ^\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record ^!\s* ^$$ diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed index 1fdafa6ef9..6f0d3c3085 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed @@ -1316,9 +1316,9 @@ parsed_sample: dst_network: "10.3.14.64" dst_wildcard: "0.0.0.31" dst_port_match: "range" - dst_port: "9821" - dst_port_range_start: "" - dst_port_range_end: "" + dst_port: "" + dst_port_range_start: "9821" + dst_port_range_end: "9823" - acl_name: "sample" acl_type: "extended" comment: "permit sample to connect" @@ -1338,9 +1338,9 @@ parsed_sample: dst_network: "10.3.14.96" dst_wildcard: "0.0.0.31" dst_port_match: "range" - dst_port: "7400" - dst_port_range_start: "" - dst_port_range_end: "" + dst_port: "" + dst_port_range_start: "7400" + dst_port_range_end: "7407" - acl_name: "sample" acl_type: "extended" comment: "permit sample UDP access" @@ -1360,9 +1360,9 @@ parsed_sample: dst_network: "" dst_wildcard: "" dst_port_match: "range" - dst_port: "13001" - dst_port_range_start: "" - dst_port_range_end: "" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" - acl_name: "sample" acl_type: "extended" comment: "" @@ -1382,9 +1382,9 @@ parsed_sample: dst_network: "" dst_wildcard: "" dst_port_match: "range" - dst_port: "13001" - dst_port_range_start: "" - dst_port_range_end: "" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" - acl_name: "sample" acl_type: "extended" comment: "permit sample TCP access" @@ -1404,9 +1404,9 @@ parsed_sample: dst_network: "" dst_wildcard: "" dst_port_match: "range" - dst_port: "13001" - dst_port_range_start: "" - dst_port_range_end: "" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" - acl_name: "sample" acl_type: "extended" comment: "" @@ -1426,9 +1426,9 @@ parsed_sample: dst_network: "" dst_wildcard: "" dst_port_match: "range" - dst_port: "13001" - dst_port_range_start: "" - dst_port_range_end: "" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" - acl_name: "sample" acl_type: "extended" comment: "allow sample to send PIM-Join" From bde7ffbf9cb6b23432780cbd8550e06059b36941 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 8 Dec 2017 10:10:53 -0500 Subject: [PATCH 009/628] Update with more test cases --- .../cisco_ios_show_ip_access-lists.template | 2 +- .../show_ip_access-lists.parsed | 110 ++++++++++++++++++ .../show_ip_access-lists.raw | 3 +- 3 files changed, 113 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_ip_access-lists.template b/templates/cisco_ios_show_ip_access-lists.template index ecd6b99c0f..9c918d29f6 100644 --- a/templates/cisco_ios_show_ip_access-lists.template +++ b/templates/cisco_ios_show_ip_access-lists.template @@ -23,7 +23,7 @@ Value DST_PORT_RANGE_END (\S+) Start ^(Standard|Extended) -> Continue.Clearall - ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* + ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+|)(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)\s* -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record ^.* -> Error "Could not parse line:" diff --git a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed index 7e108a8f96..533abb1d36 100644 --- a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed +++ b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed @@ -1,4 +1,26 @@ parsed_sample: +- acl_type: "Standard" + acl_name: "99" + line_num: "" + action: "" + protocol: "" + standard_host: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" - acl_type: "Standard" acl_name: "99" line_num: "10" @@ -21,6 +43,28 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" +- acl_type: "Standard" + acl_name: "stdacl" + line_num: "" + action: "" + protocol: "" + standard_host: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" - acl_type: "Standard" acl_name: "stdacl" line_num: "10" @@ -43,6 +87,50 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "test" + line_num: "" + action: "" + protocol: "" + standard_host: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "sample" + line_num: "" + action: "" + protocol: "" + standard_host: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" - acl_type: "Extended" acl_name: "sample" line_num: "10" @@ -1495,3 +1583,25 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" +- acl_type: "Extended" + acl_name: "test2" + line_num: "" + action: "" + protocol: "" + standard_host: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" diff --git a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw index dfaccd5f87..b650206bcf 100644 --- a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw +++ b/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw @@ -2,6 +2,7 @@ Standard IP access list 99 10 permit 172.16.191.199 Standard IP access list stdacl 10 permit 10.1.1.1 +Extended IP access list test Extended IP access list sample 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 @@ -69,4 +70,4 @@ Extended IP access list sample 640 permit tcp 10.10.37.16 0.0.0.3 host 10.3.139.134 range 13001 13191 650 permit tcp 10.10.37.24 0.0.0.7 host 10.3.139.134 range 13001 13191 660 permit pim host 10.10.37.18 host 224.0.0.1 -Extended IP access list test +Extended IP access list test2 From 9113e283e81b0eb61a82e165a8d4fdbc14723464 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 8 Dec 2017 10:39:23 -0500 Subject: [PATCH 010/628] Update with additional test cases --- ...ning-config_partition_access-list.template | 2 +- ...unning-config_partition_access-list.parsed | 88 +++++++++++++++++++ ...w_running-config_partition_access-list.raw | 1 + 3 files changed, 90 insertions(+), 1 deletion(-) diff --git a/templates/cisco_ios_show_running-config_partition_access-list.template b/templates/cisco_ios_show_running-config_partition_access-list.template index 1601a89294..a38680e982 100644 --- a/templates/cisco_ios_show_running-config_partition_access-list.template +++ b/templates/cisco_ios_show_running-config_partition_access-list.template @@ -24,7 +24,7 @@ Value DST_PORT_RANGE_END (\S+) Start ^ip\s+access-list -> Continue.Clearall - ^ip\s+access-list\s+${ACL_TYPE}\s+${ACL_NAME}\s* + ^ip\s+access-list\s+${ACL_TYPE}\s+${ACL_NAME}\s* -> Record ^access-list -> Continue.Clearall ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record ^\s+remark\s+${COMMENT}\s* diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed index 6f0d3c3085..c5c778471c 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed @@ -1,4 +1,26 @@ parsed_sample: +- acl_name: "sample" + acl_type: "extended" + comment: "" + action: "" + protocol: "" + standard_host: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" - acl_name: "sample" acl_type: "extended" comment: '"allows BGP"' @@ -1495,6 +1517,28 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" +- acl_name: "test" + acl_type: "extended" + comment: "" + action: "" + protocol: "" + standard_host: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" - acl_name: "99" acl_type: "" comment: "" @@ -1539,6 +1583,28 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" +- acl_name: "stdacl" + acl_type: "standard" + comment: "" + action: "" + protocol: "" + standard_host: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" - acl_name: "stdacl" acl_type: "standard" comment: "" @@ -1561,3 +1627,25 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" +- acl_name: "test2" + acl_type: "extended" + comment: "" + action: "" + protocol: "" + standard_host: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw index 0d4ad9871c..5192f169d4 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw @@ -105,5 +105,6 @@ access-list 99 permit 10.16.5.20 ! ip access-list standard stdacl permit 10.1.1.1 +ip access-list extended test2 end From 3ed925e40fbbc78d2322d0faefe1950affe7322b Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 8 Dec 2017 13:04:44 -0500 Subject: [PATCH 011/628] update names of test files --- ..._access-lists.parsed => cisco_ios_show_ip_access-lists.parsed} | 0 ...how_ip_access-lists.raw => cisco_ios_show_ip_access-lists.raw} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename tests/cisco_ios/show_ip_access-lists/{show_ip_access-lists.parsed => cisco_ios_show_ip_access-lists.parsed} (100%) rename tests/cisco_ios/show_ip_access-lists/{show_ip_access-lists.raw => cisco_ios_show_ip_access-lists.raw} (100%) diff --git a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed similarity index 100% rename from tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.parsed rename to tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed diff --git a/tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw similarity index 100% rename from tests/cisco_ios/show_ip_access-lists/show_ip_access-lists.raw rename to tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw From edddee061d1d9560286eb28f60d7543d74d774bf Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 11 Dec 2017 10:17:14 -0500 Subject: [PATCH 012/628] Add support for logs and times --- ...ning-config_partition_access-list.template | 41 ++++++++++++------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/templates/cisco_ios_show_running-config_partition_access-list.template b/templates/cisco_ios_show_running-config_partition_access-list.template index a38680e982..f788522822 100644 --- a/templates/cisco_ios_show_running-config_partition_access-list.template +++ b/templates/cisco_ios_show_running-config_partition_access-list.template @@ -4,38 +4,49 @@ Value COMMENT (.*) Value ACTION (permit|deny) Value PROTOCOL ([a-z]+) Value STANDARD_HOST (\d+\.\d+\.\d+\.\d+) +Value STANDARD_ANY (any) +Value STANDARD_NETWORK (\d+\.\d+\.\d+\.\d+) +Value STANDARD_WILDCARD (\d+\.\d+\.\d+\.\d+) Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) Value SRC_PORT_MATCH (eq|range|lt|gt) -Value SRC_PORT (\S+) -Value SRC_PORT_RANGE_START (\S+) +Value SRC_PORT ((? Continue.Clearall + # Record new named ACL; the record is required if a named ACL does not have any explicit policy entries. ^ip\s+access-list\s+${ACL_TYPE}\s+${ACL_NAME}\s* -> Record - ^access-list -> Continue.Clearall - ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record + # Record named ACL Extended entry + ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|)(\s+${LOG}|)(\s+time-range\s+${TIME}|) -> Record + # Record named ACL Standard entry + ^\s+${ACTION}\s+(${STANDARD_NETWORK}\s+${STANDARD_WILDCARD}|${STANDARD_ANY}|${STANDARD_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record + # Record named ACL Remark ^\s+remark\s+${COMMENT}\s* - ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+|)(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|) -> Record - ^\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record - ^!\s* - ^$$ - ^Building configuration.* - ^Current configuration.* - ^Configuration.* - ^end.* + # Record numbered ACL Extended entry + ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|)(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record + # Record numbered ACL Standard entry + ^access-list\s+${ACL_NAME}\s+${ACTION}\s+(${STANDARD_NETWORK}\s+${STANDARD_WILDCARD}|${STANDARD_ANY}|${STANDARD_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record + # Record numerd ACL Remark + ^access-list\s+${ACL_NAME}\s+remark\s+${COMMENT}\s* -> Record + # Catch all unuseful raw data + ^(!\s*|$$|Building configuration.*|Current configuration.*|Configuration.*|end.*) + # Error out if raw data does not match any above rules. ^.* -> Error "Could not parse line:" -EOF \ No newline at end of file +EOF From 44879db9feb49a17394264755e4a07ca3cabfb30 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 11 Dec 2017 11:06:16 -0500 Subject: [PATCH 013/628] Update tests for updated template --- ...unning-config_partition_access-list.parsed | 757 +++++++++++++++++- ...w_running-config_partition_access-list.raw | 20 +- 2 files changed, 773 insertions(+), 4 deletions(-) diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed index c5c778471c..6c91fc6bbc 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed @@ -5,6 +5,9 @@ parsed_sample: action: "" protocol: "" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -21,12 +24,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows BGP"' action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "10.1.6.20" src_any: "" src_network: "" @@ -43,12 +51,17 @@ parsed_sample: dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "10.1.6.20" src_any: "" src_network: "" @@ -65,12 +78,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample to ping"' action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -87,12 +105,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -109,12 +132,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample to ping"' action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -131,12 +159,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -153,12 +186,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample to ping"' action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -175,12 +213,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -197,12 +240,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample to ping"' action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -219,12 +267,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -241,12 +294,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample to ping"' action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -263,12 +321,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -285,12 +348,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample to ping"' action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -307,12 +375,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -329,12 +402,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "allows sample to ping" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -351,12 +429,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -373,12 +456,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "allows sample to ping" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -395,12 +483,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -417,12 +510,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "permit sample servers to ping" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -439,12 +537,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -461,12 +564,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "allows sample to ping" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -483,12 +591,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -505,12 +618,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -527,12 +645,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -549,12 +672,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample workstation(s) to connect"' action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -571,12 +699,17 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -593,12 +726,17 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -615,12 +753,17 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -637,12 +780,17 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -659,12 +807,17 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -681,12 +834,17 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -703,12 +861,17 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -725,12 +888,17 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample workstation(s)"' action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -747,12 +915,17 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -769,12 +942,17 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -791,12 +969,17 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -813,12 +996,17 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -835,12 +1023,17 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -857,12 +1050,17 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample workstation(s)"' action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -879,12 +1077,17 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -901,12 +1104,17 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -923,12 +1131,17 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -945,12 +1158,17 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -967,12 +1185,17 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -989,12 +1212,17 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample workstation(s)"' action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1011,12 +1239,17 @@ parsed_sample: dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1033,12 +1266,17 @@ parsed_sample: dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1055,12 +1293,17 @@ parsed_sample: dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1077,12 +1320,17 @@ parsed_sample: dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: '"allows sample workstation(s)"' action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1099,12 +1347,17 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1121,12 +1374,17 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1143,12 +1401,17 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1165,12 +1428,17 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1187,12 +1455,17 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1209,12 +1482,17 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1231,12 +1509,17 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1253,12 +1536,17 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "permit sample workstation(s)" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1275,12 +1563,17 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "permit sample workstation(s)" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1297,12 +1590,17 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "permit sample to connect" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1319,12 +1617,17 @@ parsed_sample: dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1341,12 +1644,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "permit sample to connect" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1363,12 +1671,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "permit sample UDP access" action: "permit" protocol: "udp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -1385,12 +1698,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "udp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1407,12 +1725,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "permit sample TCP access" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -1429,12 +1752,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + log: "log" + time: "test" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1451,12 +1779,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + log: "log-input" + time: "" - acl_name: "sample" acl_type: "extended" comment: "allow sample to send PIM-Join" action: "permit" protocol: "pim" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "10.1.6.20" src_any: "" src_network: "" @@ -1473,12 +1806,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "deny" protocol: "ip" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -1495,12 +1833,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "sample" acl_type: "extended" comment: "" action: "permit" protocol: "ip" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.0.0.0" @@ -1517,12 +1860,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "test" acl_type: "extended" comment: "" action: "" protocol: "" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -1539,12 +1887,152 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" +- acl_name: "97" + acl_type: "extended" + comment: "this is a remark" + action: "" + protocol: "" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" +- acl_name: "97" + acl_type: "extended" + comment: "" + action: "deny" + protocol: "" + standard_host: "" + standard_any: "" + standard_network: "10.1.0.1" + standard_wildcard: "0.0.255.0" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log" + time: "" +- acl_name: "97" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "" + standard_host: "" + standard_any: "any" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" +- acl_name: "98" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "" + standard_host: "10.16.5.19" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" +- acl_name: "98" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "" + standard_host: "10.16.5.20" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" - acl_name: "99" - acl_type: "" + acl_type: "extended" comment: "" action: "permit" protocol: "" standard_host: "10.16.5.19" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -1561,12 +2049,152 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "99" - acl_type: "" + acl_type: "extended" comment: "" action: "permit" protocol: "" standard_host: "10.16.5.20" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" +- acl_name: "199" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "" + src_network: "10.16.5.19" + src_wildcard: "0.0.0.0" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "80" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" +- acl_name: "199" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "udp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "1000" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" +- acl_name: "101" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" +- acl_name: "101" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "443" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log" + time: "" +- acl_name: "101" + acl_type: "extended" + comment: "this is a remark" + action: "" + protocol: "" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -1583,12 +2211,71 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" +- acl_name: "101" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "ahp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log-input" + time: "" +- acl_name: "101" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "ftp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "tacacs" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log" + time: "test" - acl_name: "stdacl" acl_type: "standard" comment: "" action: "" protocol: "" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -1605,12 +2292,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "stdacl" acl_type: "standard" comment: "" action: "permit" protocol: "" standard_host: "10.1.1.1" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -1627,12 +2319,17 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" - acl_name: "test2" acl_type: "extended" comment: "" action: "" protocol: "" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -1649,3 +2346,59 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" +- acl_name: "198" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "" + src_network: "10.16.5.19" + src_wildcard: "0.0.0.0" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "80" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" +- acl_name: "198" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "udp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "1000" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw index 5192f169d4..d549216cbf 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.raw @@ -93,18 +93,34 @@ ip access-list extended sample permit udp 10.1.6.16 0.0.0.3 host 10.3.139.133 range 13001 13191 permit udp 10.1.6.24 0.0.0.7 host 10.3.139.133 range 13001 13191 remark permit sample TCP access - permit tcp 10.1.6.16 0.0.0.3 host 10.3.139.134 range 13001 13191 - permit tcp 10.1.6.24 0.0.0.7 host 10.3.139.134 range 13001 13191 + permit tcp 10.1.6.16 0.0.0.3 host 10.3.139.134 range 13001 13191 log time-range test + permit tcp 10.1.6.24 0.0.0.7 host 10.3.139.134 range 13001 13191 log-input remark allow sample to send PIM-Join permit pim host 10.1.6.20 host 224.0.0.1 deny ip any any permit ip 10.0.0.0 0.255.0.255 any ip access-list extended test +access-list 97 remark this is a remark +access-list 97 deny 10.1.0.1 0.0.255.0 log +access-list 97 permit any +access-list 98 permit 10.16.5.19 +access-list 98 permit 10.16.5.20 access-list 99 permit 10.16.5.19 access-list 99 permit 10.16.5.20 +access-list 199 permit tcp 10.16.5.19 0.0.0.0 any eq 80 +access-list 199 permit udp any any eq 1000 +access-list 101 permit tcp any host 10.1.1.1 eq www +access-list 101 permit tcp any host 10.1.1.1 eq 443 log +access-list 101 remark this is a remark +access-list 101 permit ahp any any log-input +access-list 101 permit tcp host 10.1.1.1 eq ftp any eq tacacs log time-range test + ! ip access-list standard stdacl permit 10.1.1.1 ip access-list extended test2 +access-list 198 permit tcp 10.16.5.19 0.0.0.0 any eq 80 +access-list 198 permit udp any any eq 1000 + end From 343a1995be9a3b1febe8250a3adcfc48f6f550fe Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 11 Dec 2017 12:15:10 -0500 Subject: [PATCH 014/628] Add captures for log and times --- .../cisco_ios_show_ip_access-lists.template | 21 +- .../cisco_ios_show_ip_access-lists.parsed | 662 ++++++++++++++++++ .../cisco_ios_show_ip_access-lists.raw | 12 +- 3 files changed, 686 insertions(+), 9 deletions(-) diff --git a/templates/cisco_ios_show_ip_access-lists.template b/templates/cisco_ios_show_ip_access-lists.template index 9c918d29f6..ad37a0844c 100644 --- a/templates/cisco_ios_show_ip_access-lists.template +++ b/templates/cisco_ios_show_ip_access-lists.template @@ -4,28 +4,35 @@ Value LINE_NUM (\d+) Value ACTION (permit|deny) Value PROTOCOL ([a-z]+) Value STANDARD_HOST (\d+\.\d+\.\d+\.\d+) +Value STANDARD_ANY (any) +Value STANDARD_NETWORK (\d+\.\d+\.\d+\.\d+) +Value STANDARD_WILDCARD (\d+\.\d+\.\d+\.\d+) Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) Value SRC_PORT_MATCH (eq|range|lt|gt) -Value SRC_PORT (\S+) -Value SRC_PORT_RANGE_START (\S+) +Value SRC_PORT ((? Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+|)(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+${STANDARD_HOST}\s* -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s* -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+(${STANDARD_NETWORK},\s+wildcard\s+bits\s+${STANDARD_WILDCARD}|${STANDARD_HOST}|${STANDARD_ANY})(\s+{LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s* -> Record ^.* -> Error "Could not parse line:" -EOF \ No newline at end of file +EOF diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed index 533abb1d36..288b38c8bd 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed @@ -5,6 +5,9 @@ parsed_sample: action: "" protocol: "" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -21,12 +24,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Standard" acl_name: "99" line_num: "10" action: "permit" protocol: "" standard_host: "172.16.191.199" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -43,12 +52,74 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" +- acl_type: "Standard" + acl_name: "99" + line_num: "20" + action: "deny" + protocol: "" + standard_host: "" + standard_any: "any" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + state: "" +- acl_type: "Standard" + acl_name: "99" + line_num: "30" + action: "permit" + protocol: "" + standard_host: "" + standard_any: "" + standard_network: "10.0.10.0" + standard_wildcard: "0.255.0.255" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Standard" acl_name: "stdacl" line_num: "" action: "" protocol: "" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -65,12 +136,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Standard" acl_name: "stdacl" line_num: "10" action: "permit" protocol: "" standard_host: "10.1.1.1" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -87,12 +164,46 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "test" line_num: "" action: "" protocol: "" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + state: "" +- acl_type: "Extended" + acl_name: "101" + line_num: "" + action: "" + protocol: "" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -109,12 +220,158 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" +- acl_type: "Extended" + acl_name: "101" + line_num: "10" + action: "permit" + protocol: "tcp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + state: "" +- acl_type: "Extended" + acl_name: "101" + line_num: "20" + action: "permit" + protocol: "tcp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "443" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log" + time: "" + state: "" +- acl_type: "Extended" + acl_name: "101" + line_num: "30" + action: "permit" + protocol: "ahp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log-input" + time: "" + state: "" +- acl_type: "Extended" + acl_name: "101" + line_num: "40" + action: "permit" + protocol: "ahp" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log-input" + time: "test" + state: "active" +- acl_type: "Extended" + acl_name: "101" + line_num: "50" + action: "permit" + protocol: "ip" + standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.10.11" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log" + time: "test2" + state: "inactive" - acl_type: "Extended" acl_name: "sample" line_num: "" action: "" protocol: "" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -131,12 +388,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "10" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "10.10.37.18" src_any: "" src_network: "" @@ -153,12 +416,18 @@ parsed_sample: dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "20" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "10.10.37.18" src_any: "" src_network: "" @@ -175,12 +444,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "30" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -197,12 +472,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "40" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -219,12 +500,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "50" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -241,12 +528,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "60" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -263,12 +556,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "70" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -285,12 +584,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "80" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -307,12 +612,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "90" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -329,12 +640,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "100" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -351,12 +668,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "110" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -373,12 +696,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "120" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -395,12 +724,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "130" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -417,12 +752,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "140" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -439,12 +780,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "150" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -461,12 +808,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "160" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -483,12 +836,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "170" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -505,12 +864,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "180" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -527,12 +892,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "190" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -549,12 +920,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "200" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -571,12 +948,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "210" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -593,12 +976,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "220" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -615,12 +1004,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "230" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -637,12 +1032,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "240" action: "permit" protocol: "icmp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -659,12 +1060,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "250" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -681,12 +1088,18 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "260" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -703,12 +1116,18 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "270" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -725,12 +1144,18 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "280" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -747,12 +1172,18 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "290" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -769,12 +1200,18 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "300" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -791,12 +1228,18 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "310" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -813,12 +1256,18 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "320" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -835,12 +1284,18 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "330" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -857,12 +1312,18 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "340" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -879,12 +1340,18 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "350" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -901,12 +1368,18 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "360" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -923,12 +1396,18 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "370" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -945,12 +1424,18 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "380" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -967,12 +1452,18 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "390" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -989,12 +1480,18 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "400" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1011,12 +1508,18 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "410" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1033,12 +1536,18 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "420" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1055,12 +1564,18 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "430" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1077,12 +1592,18 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "440" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1099,12 +1620,18 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "450" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1121,12 +1648,18 @@ parsed_sample: dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "460" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1143,12 +1676,18 @@ parsed_sample: dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "470" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1165,12 +1704,18 @@ parsed_sample: dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "480" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1187,12 +1732,18 @@ parsed_sample: dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "490" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1209,12 +1760,18 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "500" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1231,12 +1788,18 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "510" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1253,12 +1816,18 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "520" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1275,12 +1844,18 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "530" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1297,12 +1872,18 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "540" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1319,12 +1900,18 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "550" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1341,12 +1928,18 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "560" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1363,12 +1956,18 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "570" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1385,12 +1984,18 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "580" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1407,12 +2012,18 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "590" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1429,12 +2040,18 @@ parsed_sample: dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + log: "log" + time: "test" + state: "active" - acl_type: "Extended" acl_name: "sample" line_num: "600" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1451,12 +2068,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "610" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1473,12 +2096,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "620" action: "permit" protocol: "udp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -1495,12 +2124,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "630" action: "permit" protocol: "udp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1517,12 +2152,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "640" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -1539,12 +2180,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "650" action: "permit" protocol: "tcp" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1561,12 +2208,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "660" action: "permit" protocol: "pim" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "10.10.37.18" src_any: "" src_network: "" @@ -1583,12 +2236,18 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "test2" + state: "inactive" - acl_type: "Extended" acl_name: "test2" line_num: "" action: "" protocol: "" standard_host: "" + standard_any: "" + standard_network: "" + standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -1605,3 +2264,6 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + log: "" + time: "" + state: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw index b650206bcf..8b6514e3a9 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw @@ -1,8 +1,16 @@ Standard IP access list 99 10 permit 172.16.191.199 + 20 deny any log + 30 permit 10.0.10.0, wildcard bits 0.255.0.255 Standard IP access list stdacl 10 permit 10.1.1.1 Extended IP access list test +Extended IP access list 101 + 10 permit tcp any host 10.1.1.1 eq www + 20 permit tcp any host 10.1.1.1 eq 443 log + 30 permit ahp any any log-input + 40 permit ahp any any log-input time-range test (active) + 50 permit ip any host 10.1.10.11 log time-range test2 (inactive) Extended IP access list sample 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 @@ -62,12 +70,12 @@ Extended IP access list sample 560 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4380 570 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.26 eq 4001 580 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.152 eq 4001 - 590 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 eq 9815 + 590 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 eq 9815 log time-range test (active) 600 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 range 9821 9823 610 permit tcp 10.10.37.24 0.0.0.7 10.3.140.96 0.0.0.31 range 7400 7407 620 permit udp 10.10.37.16 0.0.0.3 host 10.3.139.133 range 13001 13191 630 permit udp 10.10.37.24 0.0.0.7 host 10.3.139.133 range 13001 13191 640 permit tcp 10.10.37.16 0.0.0.3 host 10.3.139.134 range 13001 13191 650 permit tcp 10.10.37.24 0.0.0.7 host 10.3.139.134 range 13001 13191 - 660 permit pim host 10.10.37.18 host 224.0.0.1 + 660 permit pim host 10.10.37.18 host 224.0.0.1 time-range test2 (inactive) Extended IP access list test2 From 24aa7f3253a1443f1af67eb4e88f5afa3d54e8f7 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 11 Dec 2017 13:18:42 -0500 Subject: [PATCH 015/628] Readd clear for numbered entried --- ...ning-config_partition_access-list.template | 2 +- ...unning-config_partition_access-list.parsed | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/templates/cisco_ios_show_running-config_partition_access-list.template b/templates/cisco_ios_show_running-config_partition_access-list.template index f788522822..f7c6aae88b 100644 --- a/templates/cisco_ios_show_running-config_partition_access-list.template +++ b/templates/cisco_ios_show_running-config_partition_access-list.template @@ -29,7 +29,7 @@ Value TIME (\S+) Start # Clear all data to start new named ACL - ^ip\s+access-list -> Continue.Clearall + ^(ip\s+|)access-list -> Continue.Clearall # Record new named ACL; the record is required if a named ACL does not have any explicit policy entries. ^ip\s+access-list\s+${ACL_TYPE}\s+${ACL_NAME}\s* -> Record # Record named ACL Extended entry diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed index 6c91fc6bbc..c02dc52c5c 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed @@ -1890,7 +1890,7 @@ parsed_sample: log: "" time: "" - acl_name: "97" - acl_type: "extended" + acl_type: "" comment: "this is a remark" action: "" protocol: "" @@ -1917,7 +1917,7 @@ parsed_sample: log: "" time: "" - acl_name: "97" - acl_type: "extended" + acl_type: "" comment: "" action: "deny" protocol: "" @@ -1944,7 +1944,7 @@ parsed_sample: log: "log" time: "" - acl_name: "97" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "" @@ -1971,7 +1971,7 @@ parsed_sample: log: "" time: "" - acl_name: "98" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "" @@ -1998,7 +1998,7 @@ parsed_sample: log: "" time: "" - acl_name: "98" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "" @@ -2025,7 +2025,7 @@ parsed_sample: log: "" time: "" - acl_name: "99" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "" @@ -2052,7 +2052,7 @@ parsed_sample: log: "" time: "" - acl_name: "99" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "" @@ -2079,7 +2079,7 @@ parsed_sample: log: "" time: "" - acl_name: "199" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "tcp" @@ -2106,7 +2106,7 @@ parsed_sample: log: "" time: "" - acl_name: "199" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "udp" @@ -2133,7 +2133,7 @@ parsed_sample: log: "" time: "" - acl_name: "101" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "tcp" @@ -2160,7 +2160,7 @@ parsed_sample: log: "" time: "" - acl_name: "101" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "tcp" @@ -2187,7 +2187,7 @@ parsed_sample: log: "log" time: "" - acl_name: "101" - acl_type: "extended" + acl_type: "" comment: "this is a remark" action: "" protocol: "" @@ -2214,7 +2214,7 @@ parsed_sample: log: "" time: "" - acl_name: "101" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "ahp" @@ -2241,7 +2241,7 @@ parsed_sample: log: "log-input" time: "" - acl_name: "101" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "tcp" @@ -2349,7 +2349,7 @@ parsed_sample: log: "" time: "" - acl_name: "198" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "tcp" @@ -2376,7 +2376,7 @@ parsed_sample: log: "" time: "" - acl_name: "198" - acl_type: "extended" + acl_type: "" comment: "" action: "permit" protocol: "udp" From 99cf99089cca11d6b8bd2c0258d6d507df752f3b Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 12 Dec 2017 11:57:24 -0500 Subject: [PATCH 016/628] Move standard hosts to use src_* --- ...ning-config_partition_access-list.template | 8 +- ...unning-config_partition_access-list.parsed | 372 +----------------- 2 files changed, 10 insertions(+), 370 deletions(-) diff --git a/templates/cisco_ios_show_running-config_partition_access-list.template b/templates/cisco_ios_show_running-config_partition_access-list.template index f7c6aae88b..71215b62e2 100644 --- a/templates/cisco_ios_show_running-config_partition_access-list.template +++ b/templates/cisco_ios_show_running-config_partition_access-list.template @@ -3,10 +3,6 @@ Value Filldown ACL_TYPE (standard|extended) Value COMMENT (.*) Value ACTION (permit|deny) Value PROTOCOL ([a-z]+) -Value STANDARD_HOST (\d+\.\d+\.\d+\.\d+) -Value STANDARD_ANY (any) -Value STANDARD_NETWORK (\d+\.\d+\.\d+\.\d+) -Value STANDARD_WILDCARD (\d+\.\d+\.\d+\.\d+) Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) @@ -35,13 +31,13 @@ Start # Record named ACL Extended entry ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|)(\s+${LOG}|)(\s+time-range\s+${TIME}|) -> Record # Record named ACL Standard entry - ^\s+${ACTION}\s+(${STANDARD_NETWORK}\s+${STANDARD_WILDCARD}|${STANDARD_ANY}|${STANDARD_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record + ^\s+${ACTION}\s+(${SRC_NETWORK}\s+${SRC_WILDCARD}|${SRC_ANY}|${SRC_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record named ACL Remark ^\s+remark\s+${COMMENT}\s* # Record numbered ACL Extended entry ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|)(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record numbered ACL Standard entry - ^access-list\s+${ACL_NAME}\s+${ACTION}\s+(${STANDARD_NETWORK}\s+${STANDARD_WILDCARD}|${STANDARD_ANY}|${STANDARD_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record + ^access-list\s+${ACL_NAME}\s+${ACTION}\s+(${SRC_NETWORK}\s+${SRC_WILDCARD}|${SRC_ANY}|${SRC_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record numerd ACL Remark ^access-list\s+${ACL_NAME}\s+remark\s+${COMMENT}\s* -> Record # Catch all unuseful raw data diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed index c02dc52c5c..c5f37e4c6f 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed @@ -4,10 +4,6 @@ parsed_sample: comment: "" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -31,10 +27,6 @@ parsed_sample: comment: '"allows BGP"' action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "10.1.6.20" src_any: "" src_network: "" @@ -58,10 +50,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "10.1.6.20" src_any: "" src_network: "" @@ -85,10 +73,6 @@ parsed_sample: comment: '"allows sample to ping"' action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -112,10 +96,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -139,10 +119,6 @@ parsed_sample: comment: '"allows sample to ping"' action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -166,10 +142,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -193,10 +165,6 @@ parsed_sample: comment: '"allows sample to ping"' action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -220,10 +188,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -247,10 +211,6 @@ parsed_sample: comment: '"allows sample to ping"' action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -274,10 +234,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -301,10 +257,6 @@ parsed_sample: comment: '"allows sample to ping"' action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -328,10 +280,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -355,10 +303,6 @@ parsed_sample: comment: '"allows sample to ping"' action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -382,10 +326,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -409,10 +349,6 @@ parsed_sample: comment: "allows sample to ping" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -436,10 +372,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -463,10 +395,6 @@ parsed_sample: comment: "allows sample to ping" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -490,10 +418,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -517,10 +441,6 @@ parsed_sample: comment: "permit sample servers to ping" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -544,10 +464,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -571,10 +487,6 @@ parsed_sample: comment: "allows sample to ping" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -598,10 +510,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -625,10 +533,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -652,10 +556,6 @@ parsed_sample: comment: "" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -679,10 +579,6 @@ parsed_sample: comment: '"allows sample workstation(s) to connect"' action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -706,10 +602,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -733,10 +625,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -760,10 +648,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -787,10 +671,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -814,10 +694,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -841,10 +717,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -868,10 +740,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -895,10 +763,6 @@ parsed_sample: comment: '"allows sample workstation(s)"' action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -922,10 +786,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -949,10 +809,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -976,10 +832,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1003,10 +855,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1030,10 +878,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1057,10 +901,6 @@ parsed_sample: comment: '"allows sample workstation(s)"' action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1084,10 +924,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1111,10 +947,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1138,10 +970,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1165,10 +993,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1192,10 +1016,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1219,10 +1039,6 @@ parsed_sample: comment: '"allows sample workstation(s)"' action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1246,10 +1062,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1273,10 +1085,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1300,10 +1108,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1327,10 +1131,6 @@ parsed_sample: comment: '"allows sample workstation(s)"' action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1354,10 +1154,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1381,10 +1177,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1408,10 +1200,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1435,10 +1223,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1462,10 +1246,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1489,10 +1269,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1516,10 +1292,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1543,10 +1315,6 @@ parsed_sample: comment: "permit sample workstation(s)" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1570,10 +1338,6 @@ parsed_sample: comment: "permit sample workstation(s)" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1597,10 +1361,6 @@ parsed_sample: comment: "permit sample to connect" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1624,10 +1384,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1651,10 +1407,6 @@ parsed_sample: comment: "permit sample to connect" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1678,10 +1430,6 @@ parsed_sample: comment: "permit sample UDP access" action: "permit" protocol: "udp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -1705,10 +1453,6 @@ parsed_sample: comment: "" action: "permit" protocol: "udp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1732,10 +1476,6 @@ parsed_sample: comment: "permit sample TCP access" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.16" @@ -1759,10 +1499,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.1.6.24" @@ -1786,10 +1522,6 @@ parsed_sample: comment: "allow sample to send PIM-Join" action: "permit" protocol: "pim" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "10.1.6.20" src_any: "" src_network: "" @@ -1813,10 +1545,6 @@ parsed_sample: comment: "" action: "deny" protocol: "ip" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -1840,10 +1568,6 @@ parsed_sample: comment: "" action: "permit" protocol: "ip" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.0.0.0" @@ -1867,10 +1591,6 @@ parsed_sample: comment: "" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -1894,10 +1614,6 @@ parsed_sample: comment: "this is a remark" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -1921,14 +1637,10 @@ parsed_sample: comment: "" action: "deny" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "10.1.0.1" - standard_wildcard: "0.0.255.0" src_host: "" src_any: "" - src_network: "" - src_wildcard: "" + src_network: "10.1.0.1" + src_wildcard: "0.0.255.0" src_port_match: "" src_port: "" src_port_range_start: "" @@ -1948,12 +1660,8 @@ parsed_sample: comment: "" action: "permit" protocol: "" - standard_host: "" - standard_any: "any" - standard_network: "" - standard_wildcard: "" src_host: "" - src_any: "" + src_any: "any" src_network: "" src_wildcard: "" src_port_match: "" @@ -1975,11 +1683,7 @@ parsed_sample: comment: "" action: "permit" protocol: "" - standard_host: "10.16.5.19" - standard_any: "" - standard_network: "" - standard_wildcard: "" - src_host: "" + src_host: "10.16.5.19" src_any: "" src_network: "" src_wildcard: "" @@ -2002,11 +1706,7 @@ parsed_sample: comment: "" action: "permit" protocol: "" - standard_host: "10.16.5.20" - standard_any: "" - standard_network: "" - standard_wildcard: "" - src_host: "" + src_host: "10.16.5.20" src_any: "" src_network: "" src_wildcard: "" @@ -2029,11 +1729,7 @@ parsed_sample: comment: "" action: "permit" protocol: "" - standard_host: "10.16.5.19" - standard_any: "" - standard_network: "" - standard_wildcard: "" - src_host: "" + src_host: "10.16.5.19" src_any: "" src_network: "" src_wildcard: "" @@ -2056,11 +1752,7 @@ parsed_sample: comment: "" action: "permit" protocol: "" - standard_host: "10.16.5.20" - standard_any: "" - standard_network: "" - standard_wildcard: "" - src_host: "" + src_host: "10.16.5.20" src_any: "" src_network: "" src_wildcard: "" @@ -2083,10 +1775,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.16.5.19" @@ -2110,10 +1798,6 @@ parsed_sample: comment: "" action: "permit" protocol: "udp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -2137,10 +1821,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -2164,10 +1844,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -2191,10 +1867,6 @@ parsed_sample: comment: "this is a remark" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -2218,10 +1890,6 @@ parsed_sample: comment: "" action: "permit" protocol: "ahp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -2245,10 +1913,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "10.1.1.1" src_any: "" src_network: "" @@ -2272,10 +1936,6 @@ parsed_sample: comment: "" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -2299,11 +1959,7 @@ parsed_sample: comment: "" action: "permit" protocol: "" - standard_host: "10.1.1.1" - standard_any: "" - standard_network: "" - standard_wildcard: "" - src_host: "" + src_host: "10.1.1.1" src_any: "" src_network: "" src_wildcard: "" @@ -2326,10 +1982,6 @@ parsed_sample: comment: "" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -2353,10 +2005,6 @@ parsed_sample: comment: "" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.16.5.19" @@ -2380,10 +2028,6 @@ parsed_sample: comment: "" action: "permit" protocol: "udp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" From f10ec85bfc1800e66ee4ce71e15cbe7df7592464 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 12 Dec 2017 12:08:57 -0500 Subject: [PATCH 017/628] Move standard hosts to use src_* --- .../cisco_ios_show_ip_access-lists.template | 6 +- .../cisco_ios_show_ip_access-lists.parsed | 334 +----------------- 2 files changed, 6 insertions(+), 334 deletions(-) diff --git a/templates/cisco_ios_show_ip_access-lists.template b/templates/cisco_ios_show_ip_access-lists.template index ad37a0844c..0bdc6faa7b 100644 --- a/templates/cisco_ios_show_ip_access-lists.template +++ b/templates/cisco_ios_show_ip_access-lists.template @@ -3,10 +3,6 @@ Value Required,Filldown ACL_NAME (\S+) Value LINE_NUM (\d+) Value ACTION (permit|deny) Value PROTOCOL ([a-z]+) -Value STANDARD_HOST (\d+\.\d+\.\d+\.\d+) -Value STANDARD_ANY (any) -Value STANDARD_NETWORK (\d+\.\d+\.\d+\.\d+) -Value STANDARD_WILDCARD (\d+\.\d+\.\d+\.\d+) Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) @@ -32,7 +28,7 @@ Start ^(Standard|Extended) -> Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+(${STANDARD_NETWORK},\s+wildcard\s+bits\s+${STANDARD_WILDCARD}|${STANDARD_HOST}|${STANDARD_ANY})(\s+{LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s* -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+{LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s* -> Record ^.* -> Error "Could not parse line:" EOF diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed index 288b38c8bd..ed414cde02 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed @@ -4,10 +4,6 @@ parsed_sample: line_num: "" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -32,11 +28,7 @@ parsed_sample: line_num: "10" action: "permit" protocol: "" - standard_host: "172.16.191.199" - standard_any: "" - standard_network: "" - standard_wildcard: "" - src_host: "" + src_host: "172.16.191.199" src_any: "" src_network: "" src_wildcard: "" @@ -60,12 +52,8 @@ parsed_sample: line_num: "20" action: "deny" protocol: "" - standard_host: "" - standard_any: "any" - standard_network: "" - standard_wildcard: "" src_host: "" - src_any: "" + src_any: "any" src_network: "" src_wildcard: "" src_port_match: "" @@ -88,14 +76,10 @@ parsed_sample: line_num: "30" action: "permit" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "10.0.10.0" - standard_wildcard: "0.255.0.255" src_host: "" src_any: "" - src_network: "" - src_wildcard: "" + src_network: "10.0.10.0" + src_wildcard: "0.255.0.255" src_port_match: "" src_port: "" src_port_range_start: "" @@ -116,10 +100,6 @@ parsed_sample: line_num: "" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -144,11 +124,7 @@ parsed_sample: line_num: "10" action: "permit" protocol: "" - standard_host: "10.1.1.1" - standard_any: "" - standard_network: "" - standard_wildcard: "" - src_host: "" + src_host: "10.1.1.1" src_any: "" src_network: "" src_wildcard: "" @@ -172,10 +148,6 @@ parsed_sample: line_num: "" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -200,10 +172,6 @@ parsed_sample: line_num: "" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -228,10 +196,6 @@ parsed_sample: line_num: "10" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -256,10 +220,6 @@ parsed_sample: line_num: "20" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -284,10 +244,6 @@ parsed_sample: line_num: "30" action: "permit" protocol: "ahp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -312,10 +268,6 @@ parsed_sample: line_num: "40" action: "permit" protocol: "ahp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -340,10 +292,6 @@ parsed_sample: line_num: "50" action: "permit" protocol: "ip" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "any" src_network: "" @@ -368,10 +316,6 @@ parsed_sample: line_num: "" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" @@ -396,10 +340,6 @@ parsed_sample: line_num: "10" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "10.10.37.18" src_any: "" src_network: "" @@ -424,10 +364,6 @@ parsed_sample: line_num: "20" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "10.10.37.18" src_any: "" src_network: "" @@ -452,10 +388,6 @@ parsed_sample: line_num: "30" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -480,10 +412,6 @@ parsed_sample: line_num: "40" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -508,10 +436,6 @@ parsed_sample: line_num: "50" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -536,10 +460,6 @@ parsed_sample: line_num: "60" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -564,10 +484,6 @@ parsed_sample: line_num: "70" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -592,10 +508,6 @@ parsed_sample: line_num: "80" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -620,10 +532,6 @@ parsed_sample: line_num: "90" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -648,10 +556,6 @@ parsed_sample: line_num: "100" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -676,10 +580,6 @@ parsed_sample: line_num: "110" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -704,10 +604,6 @@ parsed_sample: line_num: "120" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -732,10 +628,6 @@ parsed_sample: line_num: "130" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -760,10 +652,6 @@ parsed_sample: line_num: "140" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -788,10 +676,6 @@ parsed_sample: line_num: "150" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -816,10 +700,6 @@ parsed_sample: line_num: "160" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -844,10 +724,6 @@ parsed_sample: line_num: "170" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -872,10 +748,6 @@ parsed_sample: line_num: "180" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -900,10 +772,6 @@ parsed_sample: line_num: "190" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -928,10 +796,6 @@ parsed_sample: line_num: "200" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -956,10 +820,6 @@ parsed_sample: line_num: "210" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -984,10 +844,6 @@ parsed_sample: line_num: "220" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1012,10 +868,6 @@ parsed_sample: line_num: "230" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -1040,10 +892,6 @@ parsed_sample: line_num: "240" action: "permit" protocol: "icmp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1068,10 +916,6 @@ parsed_sample: line_num: "250" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1096,10 +940,6 @@ parsed_sample: line_num: "260" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1124,10 +964,6 @@ parsed_sample: line_num: "270" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1152,10 +988,6 @@ parsed_sample: line_num: "280" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1180,10 +1012,6 @@ parsed_sample: line_num: "290" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1208,10 +1036,6 @@ parsed_sample: line_num: "300" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1236,10 +1060,6 @@ parsed_sample: line_num: "310" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1264,10 +1084,6 @@ parsed_sample: line_num: "320" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1292,10 +1108,6 @@ parsed_sample: line_num: "330" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1320,10 +1132,6 @@ parsed_sample: line_num: "340" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1348,10 +1156,6 @@ parsed_sample: line_num: "350" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1376,10 +1180,6 @@ parsed_sample: line_num: "360" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1404,10 +1204,6 @@ parsed_sample: line_num: "370" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1432,10 +1228,6 @@ parsed_sample: line_num: "380" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1460,10 +1252,6 @@ parsed_sample: line_num: "390" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1488,10 +1276,6 @@ parsed_sample: line_num: "400" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1516,10 +1300,6 @@ parsed_sample: line_num: "410" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1544,10 +1324,6 @@ parsed_sample: line_num: "420" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1572,10 +1348,6 @@ parsed_sample: line_num: "430" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1600,10 +1372,6 @@ parsed_sample: line_num: "440" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1628,10 +1396,6 @@ parsed_sample: line_num: "450" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1656,10 +1420,6 @@ parsed_sample: line_num: "460" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1684,10 +1444,6 @@ parsed_sample: line_num: "470" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1712,10 +1468,6 @@ parsed_sample: line_num: "480" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1740,10 +1492,6 @@ parsed_sample: line_num: "490" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1768,10 +1516,6 @@ parsed_sample: line_num: "500" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1796,10 +1540,6 @@ parsed_sample: line_num: "510" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1824,10 +1564,6 @@ parsed_sample: line_num: "520" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1852,10 +1588,6 @@ parsed_sample: line_num: "530" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1880,10 +1612,6 @@ parsed_sample: line_num: "540" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1908,10 +1636,6 @@ parsed_sample: line_num: "550" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1936,10 +1660,6 @@ parsed_sample: line_num: "560" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1964,10 +1684,6 @@ parsed_sample: line_num: "570" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -1992,10 +1708,6 @@ parsed_sample: line_num: "580" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -2020,10 +1732,6 @@ parsed_sample: line_num: "590" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -2048,10 +1756,6 @@ parsed_sample: line_num: "600" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -2076,10 +1780,6 @@ parsed_sample: line_num: "610" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -2104,10 +1804,6 @@ parsed_sample: line_num: "620" action: "permit" protocol: "udp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -2132,10 +1828,6 @@ parsed_sample: line_num: "630" action: "permit" protocol: "udp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -2160,10 +1852,6 @@ parsed_sample: line_num: "640" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.16" @@ -2188,10 +1876,6 @@ parsed_sample: line_num: "650" action: "permit" protocol: "tcp" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "10.10.37.24" @@ -2216,10 +1900,6 @@ parsed_sample: line_num: "660" action: "permit" protocol: "pim" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "10.10.37.18" src_any: "" src_network: "" @@ -2244,10 +1924,6 @@ parsed_sample: line_num: "" action: "" protocol: "" - standard_host: "" - standard_any: "" - standard_network: "" - standard_wildcard: "" src_host: "" src_any: "" src_network: "" From 1c007c260f4ebe5e766e6d021283b3b7fd48136e Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 13 Dec 2017 17:53:53 +0300 Subject: [PATCH 018/628] added show vrf and show ip arp for nxos added cisco_nxos_show_vrf and cisco_nxos_show_ip_arp --- templates/cisco_nxos_show_ip_arp.template | 10 ++ templates/cisco_nxos_show_vrf.template | 11 +++ templates/index | 2 + .../show_ip_arp/cisco_nxos_show_ip_arp.parsed | 91 +++++++++++++++++++ .../show_ip_arp/cisco_nxos_show_ip_arp.raw | 31 +++++++ .../show_vrf/cisco_nxos_show_vrf.parsed | 35 +++++++ .../show_vrf/cisco_nxos_show_vrf.raw | 9 ++ 7 files changed, 189 insertions(+) create mode 100644 templates/cisco_nxos_show_ip_arp.template create mode 100644 templates/cisco_nxos_show_vrf.template create mode 100644 tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed create mode 100644 tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.raw create mode 100644 tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.parsed create mode 100644 tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.raw diff --git a/templates/cisco_nxos_show_ip_arp.template b/templates/cisco_nxos_show_ip_arp.template new file mode 100644 index 0000000000..5c2d9a8b2b --- /dev/null +++ b/templates/cisco_nxos_show_ip_arp.template @@ -0,0 +1,10 @@ +Value Required ADDRESS (\d+\.\d+\.\d+\.\d+) +Value Required AGE (\S+) +Value Required MAC (\w+\.\w+\.\w+) +Value INTERFACE (\S+) + +Start + ^Address\s+Age\s+MAC Address\s+Interface -> Start_record + +Start_record + ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${INTERFACE} -> Record diff --git a/templates/cisco_nxos_show_vrf.template b/templates/cisco_nxos_show_vrf.template new file mode 100644 index 0000000000..05892f6fc7 --- /dev/null +++ b/templates/cisco_nxos_show_vrf.template @@ -0,0 +1,11 @@ +Value Required NAME (\S+) +Value Required ID (\S+) +Value Required STATE (\S+) +Value Required REASON (\S+) + +Start + ^VRF-Name\s+VRF-ID\s+State\s+Reason -> Start_record + +Start_record + ^${NAME}\s+${ID}\s+${STATE}\s+${REASON} -> Record + diff --git a/templates/index b/templates/index index c98b2cca47..1ec2670f98 100644 --- a/templates/index +++ b/templates/index @@ -153,12 +153,14 @@ cisco_nxos_show_ip_route.template, .*, cisco_nxos, sh[[ow]] ip route cisco_nxos_show_feature.template, .*, cisco_nxos, sh[[ow]] feat[[ure]] cisco_nxos_show_version.template, .*, cisco_nxos, sh[[ow]] ver[[sion]] cisco_nxos_show_fex_id.template, .*, cisco_nxos, sh[[ow]] fex (\S+) +cisco_nxos_show_ip_arp.template, .*, cisco_nxos, sh[[ow]] i[[p]] a[[rp]] cisco_nxos_show_ip_bgp.template, .*, cisco_nxos, sh[[ow]] i[[p]] bgp cisco_nxos_show_module.template, .*, cisco_nxos, sh[[ow]] mod[[ule]] cisco_nxos_show_clock.template, .*, cisco_nxos, sh[[ow]] clo[[ck]] cisco_nxos_show_vlan.template, .*, cisco_nxos, sh[[ow]] vl[[an]] cisco_nxos_show_fex.template, .*, cisco_nxos, sh[[ow]] fex cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc +cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] diff --git a/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed new file mode 100644 index 0000000000..0f2fbf57b6 --- /dev/null +++ b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed @@ -0,0 +1,91 @@ +--- +parsed_sample: + +- address: 1.1.1.2 + age: 00:00:57 + interface: Ethernet1/41 + mac: 3c60.f40e.f9c3 +- address: 1.0.11.2 + age: 00:01:02 + interface: Ethernet1/47 + mac: 3c60.f40e.f9c4 +- address: 10.3.1.101 + age: 00:06:06 + interface: mgmt0 + mac: d46d.5031.88b0 +- address: 10.3.1.102 + age: 00:18:18 + interface: mgmt0 + mac: e0ac.b16b.e940 +- address: 10.3.1.104 + age: 00:17:17 + interface: mgmt0 + mac: e5ac.b16c.aac8 +- address: 10.3.1.105 + age: 00:13:08 + interface: mgmt0 + mac: d46d.503c.beb0 +- address: 10.3.0.20 + age: 00:15:11 + interface: mgmt0 + mac: 487b.6bad.7b36 +- address: 10.3.0.250 + age: 00:14:56 + interface: mgmt0 + mac: 0000.0c9f.fa14 +- address: 10.3.0.251 + age: 00:07:08 + interface: mgmt0 + mac: 03c5.a4e8.c342 +- address: 10.3.0.252 + age: 00:14:14 + interface: mgmt0 + mac: 02c5.a4ea.56c2 +- address: 192.168.10.12 + age: 00:00:57 + interface: Vlan10 + mac: 8c60.0012.0012 +- address: 10.45.69.110 + age: 00:09:49 + interface: Ethernet1/1.2151 + mac: 70e4.225a.5e6a +- address: 10.45.69.106 + age: 00:00:05 + interface: Ethernet1/2.2151 + mac: d46d.501e.2a92 +- address: 10.225.19.113 + age: 00:00:57 + interface: Vlan2051 + mac: 8c60.f40e.f9c3 +- address: 10.254.254.113 + age: 00:00:57 + interface: Vlan2003 + mac: 8b60.f40e.f9c3 +- address: 10.225.19.110 + age: 00:09:51 + interface: Ethernet1/1.2051 + mac: 7ee4.225a.5e6a +- address: 10.225.19.106 + age: 00:00:05 + interface: Ethernet1/2.2051 + mac: a16d.501e.2a92 +- address: 10.254.254.106 + age: 00:00:05 + interface: Ethernet1/2.2003 + mac: a16d.501e.2a92 +- address: 10.254.254.110 + age: 00:09:50 + interface: Ethernet1/1.2003 + mac: 1ee4.125a.5e6a +- address: 10.15.154.110 + age: 00:09:50 + interface: Ethernet1/1.2103 + mac: 1ee4.125a.5e6a +- address: 10.15.154.106 + age: 00:00:06 + interface: Ethernet1/2.2103 + mac: d46d.301e.2a92 +- address: 10.215.51.250 + age: '-' + interface: Vlan2515 + mac: 0000.0c9f.f9d3 \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.raw b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.raw new file mode 100644 index 0000000000..13a546a734 --- /dev/null +++ b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.raw @@ -0,0 +1,31 @@ + +Flags: * - Adjacencies learnt on non-active FHRP router + + - Adjacencies synced via CFSoE + # - Adjacencies Throttled for Glean + D - Static Adjacencies attached to down interface + +IP ARP Table for all contexts +Total number of entries: 22 +Address Age MAC Address Interface +1.1.1.2 00:00:57 3c60.f40e.f9c3 Ethernet1/41 +1.0.11.2 00:01:02 3c60.f40e.f9c4 Ethernet1/47 +10.3.1.101 00:06:06 d46d.5031.88b0 mgmt0 +10.3.1.102 00:18:18 e0ac.b16b.e940 mgmt0 +10.3.1.104 00:17:17 e5ac.b16c.aac8 mgmt0 +10.3.1.105 00:13:08 d46d.503c.beb0 mgmt0 +10.3.0.20 00:15:11 487b.6bad.7b36 mgmt0 +10.3.0.250 00:14:56 0000.0c9f.fa14 mgmt0 +10.3.0.251 00:07:08 03c5.a4e8.c342 mgmt0 +10.3.0.252 00:14:14 02c5.a4ea.56c2 mgmt0 +192.168.10.12 00:00:57 8c60.0012.0012 Vlan10 +10.45.69.110 00:09:49 70e4.225a.5e6a Ethernet1/1.2151 +10.45.69.106 00:00:05 d46d.501e.2a92 Ethernet1/2.2151 +10.225.19.113 00:00:57 8c60.f40e.f9c3 Vlan2051 +10.254.254.113 00:00:57 8b60.f40e.f9c3 Vlan2003 +10.225.19.110 00:09:51 7ee4.225a.5e6a Ethernet1/1.2051 +10.225.19.106 00:00:05 a16d.501e.2a92 Ethernet1/2.2051 +10.254.254.106 00:00:05 a16d.501e.2a92 Ethernet1/2.2003 +10.254.254.110 00:09:50 1ee4.125a.5e6a Ethernet1/1.2003 +10.15.154.110 00:09:50 1ee4.125a.5e6a Ethernet1/1.2103 +10.15.154.106 00:00:06 d46d.301e.2a92 Ethernet1/2.2103 +10.215.51.250 - 0000.0c9f.f9d3 Vlan2515 \ No newline at end of file diff --git a/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.parsed b/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.parsed new file mode 100644 index 0000000000..d6434fb930 --- /dev/null +++ b/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.parsed @@ -0,0 +1,35 @@ +--- +parsed_sample: + +- id: '3' + name: VPC_KEEPALIVE + reason: -- + state: Up +- id: '1' + name: default + reason: -- + state: Up +- id: '4' + name: VRF1 + reason: -- + state: Up +- id: '7' + name: VRF2 + reason: -- + state: Up +- id: '8' + name: VRF-NAME-3 + reason: -- + state: Up +- id: '5' + name: VRF_NAME_4 + reason: -- + state: Up +- id: '6' + name: VRFNAME5 + reason: -- + state: Up +- id: '2' + name: management + reason: -- + state: Up \ No newline at end of file diff --git a/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.raw b/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.raw new file mode 100644 index 0000000000..9de45bf25f --- /dev/null +++ b/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.raw @@ -0,0 +1,9 @@ +VRF-Name VRF-ID State Reason +VPC_KEEPALIVE 3 Up -- +default 1 Up -- +VRF1 4 Up -- +VRF2 7 Up -- +VRF-NAME-3 8 Up -- +VRF_NAME_4 5 Up -- +VRFNAME5 6 Up -- +management 2 Up -- \ No newline at end of file From 0a42f3f59d92d656a578f9e1a2c59185be4084d2 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 15 Dec 2017 11:13:54 +0300 Subject: [PATCH 019/628] added LINE NOT FOUND to nxos show ip arp and show vrf --- templates/cisco_nxos_show_ip_arp.template | 2 ++ templates/cisco_nxos_show_vrf.template | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/cisco_nxos_show_ip_arp.template b/templates/cisco_nxos_show_ip_arp.template index 5c2d9a8b2b..48d7a3e84e 100644 --- a/templates/cisco_nxos_show_ip_arp.template +++ b/templates/cisco_nxos_show_ip_arp.template @@ -8,3 +8,5 @@ Start Start_record ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${INTERFACE} -> Record + ^\s+$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/cisco_nxos_show_vrf.template b/templates/cisco_nxos_show_vrf.template index 05892f6fc7..634100a7de 100644 --- a/templates/cisco_nxos_show_vrf.template +++ b/templates/cisco_nxos_show_vrf.template @@ -8,4 +8,5 @@ Start Start_record ^${NAME}\s+${ID}\s+${STATE}\s+${REASON} -> Record - + ^\s+$$ + ^.* -> Error "LINE NOT FOUND" From b6c3bb4fd8f1419a00f4baad2c202fda0cb7f6d5 Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Mon, 18 Dec 2017 13:34:43 +0530 Subject: [PATCH 020/628] Update arista_eos_show_interfaces_transceiver.template be loose on matching regex. --- ...sta_eos_show_interfaces_transceiver.template | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/templates/arista_eos_show_interfaces_transceiver.template b/templates/arista_eos_show_interfaces_transceiver.template index 94eb72d6fe..03f40e5d07 100644 --- a/templates/arista_eos_show_interfaces_transceiver.template +++ b/templates/arista_eos_show_interfaces_transceiver.template @@ -1,12 +1,13 @@ -Value PORT (\S+\d+\S+) -Value TEMP (\d+.\d+|N\/A) -Value VOLTAGE (\d+.\d+|N\/A) -Value BIAS_CURRENT (\d+.\d+|N\/A) -Value TX_POWER (-\d+.\d+|\d+.\d+|N\/A) -Value RX_POWER (-\d+.\d+|\d+.\d+|N\/A) +Value PORT (\S+) +Value TEMP (\S+) +Value VOLTAGE (\S+) +Value BIAS_CURRENT (\S+) +Value TX_POWER (\S+) +Value RX_POWER (\S+) Start - ^${PORT}\s+${TEMP}\s+${VOLTAGE}\s+${BIAS_CURRENT}\s+${TX_POWER}\s+${RX_POWER} -> Record + ^---- -> Begin -EOF +Begin + ^${PORT}\s+${TEMP}\s+${VOLTAGE}\s+${BIAS_CURRENT}\s+${TX_POWER}\s+${RX_POWER}\s+(\S+ ago|N/A) -> Record From 1f3100a7e880c1ac3a85e91a2a0942059d9a265c Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 19 Dec 2017 00:04:00 +0300 Subject: [PATCH 021/628] added ^$$ to nxos show vrf and show ip arp in order to not return errors on empty newlines --- templates/cisco_nxos_show_ip_arp.template | 1 + templates/cisco_nxos_show_vrf.template | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/cisco_nxos_show_ip_arp.template b/templates/cisco_nxos_show_ip_arp.template index 48d7a3e84e..e7b6261f42 100644 --- a/templates/cisco_nxos_show_ip_arp.template +++ b/templates/cisco_nxos_show_ip_arp.template @@ -9,4 +9,5 @@ Start Start_record ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${INTERFACE} -> Record ^\s+$$ + ^$$ ^.* -> Error "LINE NOT FOUND" diff --git a/templates/cisco_nxos_show_vrf.template b/templates/cisco_nxos_show_vrf.template index 634100a7de..65de41a65b 100644 --- a/templates/cisco_nxos_show_vrf.template +++ b/templates/cisco_nxos_show_vrf.template @@ -9,4 +9,5 @@ Start Start_record ^${NAME}\s+${ID}\s+${STATE}\s+${REASON} -> Record ^\s+$$ + ^$$ ^.* -> Error "LINE NOT FOUND" From b4781ccbd8864e81510a008243510bdea6c6d912 Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Tue, 19 Dec 2017 14:13:29 +0530 Subject: [PATCH 022/628] fixing the quotes --- .../cisco_xr_show_ip_bgp_summary.parsed | 92 +++++++++---------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.parsed b/tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.parsed index 127190a261..531b9e8454 100644 --- a/tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.parsed +++ b/tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.parsed @@ -3,49 +3,49 @@ parsed_sample: -- state_pfxrcd : "Idle' - neigh_as : "64924' - local_as : "64200' - out_queue : "0' - msg_sent : "64731' - bgp_neigh : "10.10.17.161' - up_down : "00:00:00' - in_queue : "0' - router_id : "30.67.35.78' - msg_rcvd : "36190' - - -- state_pfxrcd : "Active' - neigh_as : "64727' - local_as : "64200' - out_queue : "0' - msg_sent : "70941' - bgp_neigh : "10.10.128.240' - up_down : "2d14h' - in_queue : "0' - router_id : "30.67.35.78' - msg_rcvd : "68750' - - -- state_pfxrcd : "82' - neigh_as : "64727' - local_as : "64200' - out_queue : "0' - msg_sent : "76220' - bgp_neigh : "10.10.132.240' - up_down : "7w2d' - in_queue : "0' - router_id : "30.67.35.78' - msg_rcvd : "74112' - - -- state_pfxrcd : "82' - neigh_as : "64727' - local_as : "64200' - out_queue : "0' - msg_sent : "74575' - bgp_neigh : "10.10.140.240' - up_down : "4d10h' - in_queue : "0' - router_id : "30.67.35.78' - msg_rcvd : "72363' \ No newline at end of file +- state_pfxrcd : 'Idle' + neigh_as : '64924' + local_as : '64200' + out_queue : '0' + msg_sent : '64731' + bgp_neigh : '10.10.17.161' + up_down : '00:00:00' + in_queue : '0' + router_id : '30.67.35.78' + msg_rcvd : '36190' + + +- state_pfxrcd : 'Active' + neigh_as : '64727' + local_as : '64200' + out_queue : '0' + msg_sent : '70941' + bgp_neigh : '10.10.128.240' + up_down : '2d14h' + in_queue : '0' + router_id : '30.67.35.78' + msg_rcvd : '68750' + + +- state_pfxrcd : '82' + neigh_as : '64727' + local_as : '64200' + out_queue : '0' + msg_sent : '76220' + bgp_neigh : '10.10.132.240' + up_down : '7w2d' + in_queue : '0' + router_id : '30.67.35.78' + msg_rcvd : '74112' + + +- state_pfxrcd : '82' + neigh_as : '64727' + local_as : '64200' + out_queue : '0' + msg_sent : '74575' + bgp_neigh : '10.10.140.240' + up_down : '4d10h' + in_queue : '0' + router_id : '30.67.35.78' + msg_rcvd : '72363' From b7e9ffb30114b1f40cd08bd5828f754cb273d61c Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 19 Dec 2017 19:42:45 +0300 Subject: [PATCH 023/628] updated cisco_nxos_show_ip_arp to handle INCOMPLETE mac entries --- templates/cisco_nxos_show_ip_arp.template | 2 +- tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed | 6 +++++- tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.raw | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/cisco_nxos_show_ip_arp.template b/templates/cisco_nxos_show_ip_arp.template index e7b6261f42..5cdddabfed 100644 --- a/templates/cisco_nxos_show_ip_arp.template +++ b/templates/cisco_nxos_show_ip_arp.template @@ -1,6 +1,6 @@ Value Required ADDRESS (\d+\.\d+\.\d+\.\d+) Value Required AGE (\S+) -Value Required MAC (\w+\.\w+\.\w+) +Value Required MAC (\S+) Value INTERFACE (\S+) Start diff --git a/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed index 0f2fbf57b6..003007bf63 100644 --- a/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed +++ b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed @@ -88,4 +88,8 @@ parsed_sample: - address: 10.215.51.250 age: '-' interface: Vlan2515 - mac: 0000.0c9f.f9d3 \ No newline at end of file + mac: 0000.0c9f.f9d3 +- address: 10.5.6.10 + age: 00:00:16 + interface: Vlan1425 + mac: INCOMPLETE \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.raw b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.raw index 13a546a734..4b0dc6fca1 100644 --- a/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.raw +++ b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.raw @@ -28,4 +28,5 @@ Address Age MAC Address Interface 10.254.254.110 00:09:50 1ee4.125a.5e6a Ethernet1/1.2003 10.15.154.110 00:09:50 1ee4.125a.5e6a Ethernet1/1.2103 10.15.154.106 00:00:06 d46d.301e.2a92 Ethernet1/2.2103 -10.215.51.250 - 0000.0c9f.f9d3 Vlan2515 \ No newline at end of file +10.215.51.250 - 0000.0c9f.f9d3 Vlan2515 +10.5.6.10 00:00:16 INCOMPLETE Vlan1425 \ No newline at end of file From b6c165b7b7851b199ad7a7d7a48e543823862361 Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Fri, 22 Dec 2017 16:09:29 +0530 Subject: [PATCH 024/628] adding ^$$ -> Error "LINE NOT FOUND" to template --- templates/cisco_xr_show_ip_bgp_summary.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/cisco_xr_show_ip_bgp_summary.template b/templates/cisco_xr_show_ip_bgp_summary.template index 968199784d..830a359039 100644 --- a/templates/cisco_xr_show_ip_bgp_summary.template +++ b/templates/cisco_xr_show_ip_bgp_summary.template @@ -13,5 +13,7 @@ Value STATE_PFXRCD (\S+|\d+) Start ^.*\s+${ROUTER_ID}.*\s+${LOCAL_AS} ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD} -> Record + ^\s*$$ + ^$$ -> Error "LINE NOT FOUND" -EOF \ No newline at end of file +EOF From bcfe644dd50b0c1b7c926a114d082bd9d70e5e15 Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Fri, 22 Dec 2017 16:49:14 +0530 Subject: [PATCH 025/628] adding ^$$ -> Error "LINE NOT FOUND" to template --- templates/arista_eos_show_interfaces_transceiver.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/arista_eos_show_interfaces_transceiver.template b/templates/arista_eos_show_interfaces_transceiver.template index 03f40e5d07..cf84a186bc 100644 --- a/templates/arista_eos_show_interfaces_transceiver.template +++ b/templates/arista_eos_show_interfaces_transceiver.template @@ -11,3 +11,7 @@ Start Begin ^${PORT}\s+${TEMP}\s+${VOLTAGE}\s+${BIAS_CURRENT}\s+${TX_POWER}\s+${RX_POWER}\s+(\S+ ago|N/A) -> Record + ^\s*$$ + ^$$ -> Error "LINE NOT FOUND" + +EOF From 80591c7f43722fd021154d146253926892fe5b42 Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Fri, 22 Dec 2017 17:00:13 +0530 Subject: [PATCH 026/628] updating ^.* -> Error "LINE NOT FOUND" --- templates/arista_eos_show_interfaces_transceiver.template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/arista_eos_show_interfaces_transceiver.template b/templates/arista_eos_show_interfaces_transceiver.template index cf84a186bc..f1e5729ac1 100644 --- a/templates/arista_eos_show_interfaces_transceiver.template +++ b/templates/arista_eos_show_interfaces_transceiver.template @@ -11,7 +11,8 @@ Start Begin ^${PORT}\s+${TEMP}\s+${VOLTAGE}\s+${BIAS_CURRENT}\s+${TX_POWER}\s+${RX_POWER}\s+(\S+ ago|N/A) -> Record - ^\s*$$ - ^$$ -> Error "LINE NOT FOUND" + ^\s+$$ + ^$$ + ^.* -> Error "LINE NOT FOUND" EOF From 354f4f27598929d25ce8f52d582a137f22e585c9 Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Fri, 22 Dec 2017 17:08:00 +0530 Subject: [PATCH 027/628] updating : ^.* -> Error "LINE NOT FOUND" to template --- templates/cisco_xr_show_ip_bgp_summary.template | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/templates/cisco_xr_show_ip_bgp_summary.template b/templates/cisco_xr_show_ip_bgp_summary.template index 830a359039..9a059ccc88 100644 --- a/templates/cisco_xr_show_ip_bgp_summary.template +++ b/templates/cisco_xr_show_ip_bgp_summary.template @@ -11,9 +11,15 @@ Value STATE_PFXRCD (\S+|\d+) Start - ^.*\s+${ROUTER_ID}.*\s+${LOCAL_AS} - ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD} -> Record - ^\s*$$ - ^$$ -> Error "LINE NOT FOUND" + ^.*\s+${ROUTER_ID}.*number\s+${LOCAL_AS} -> Begin +Begin + ^Neighbor\s+.*Spk -> Neighbors + +Neighbors + ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD} -> Record + ^\s+$$ + ^$$ + ^.* -> Error "LINE NOT FOUND" + EOF From cd6bcf68440d97dd16e0fee062cb72e3ab1f2583 Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Sat, 23 Dec 2017 17:09:29 +0530 Subject: [PATCH 028/628] update state_pfxrcd regex --- templates/cisco_xr_show_ip_bgp_summary.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cisco_xr_show_ip_bgp_summary.template b/templates/cisco_xr_show_ip_bgp_summary.template index 9a059ccc88..99f30c3a27 100644 --- a/templates/cisco_xr_show_ip_bgp_summary.template +++ b/templates/cisco_xr_show_ip_bgp_summary.template @@ -7,7 +7,7 @@ Value MSG_SENT (\d+) Value IN_QUEUE (\d+) Value OUT_QUEUE (\d+) Value UP_DOWN (\S+) -Value STATE_PFXRCD (\S+|\d+) +Value STATE_PFXRCD (\S+) Start From cf7563d2849110226e3eb5a8da4310ac74195c89 Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Tue, 26 Dec 2017 20:54:18 +0530 Subject: [PATCH 029/628] Update UP_DOWN regex --- templates/arista_eos_show_ip_bgp_summary.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/arista_eos_show_ip_bgp_summary.template b/templates/arista_eos_show_ip_bgp_summary.template index 85cdcec231..11969d5356 100644 --- a/templates/arista_eos_show_ip_bgp_summary.template +++ b/templates/arista_eos_show_ip_bgp_summary.template @@ -6,7 +6,7 @@ Value MSG_RCVD (\d+) Value MSG_SENT (\d+) Value IN_QUEUE (\d+) Value OUT_QUEUE (\d+) -Value UP_DOWN (\d+\S\d+\S|\d+:\d+:\d+) +Value UP_DOWN (\S+) Value STATE (\S+) Value STATE_PFXRCD (\d+) Value STATE_PFXACC (\d+) @@ -17,4 +17,4 @@ Start ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+ -> Record ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD} -> Record -EOF \ No newline at end of file +EOF From fe1ae9b0fdd6359f3b3a613cacf0b17d8ac2fdac Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Thu, 11 Jan 2018 16:07:25 +0530 Subject: [PATCH 030/628] Update index From ca8cc7d80f4d7317842732f0e202afc65ae777ba Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Thu, 11 Jan 2018 19:30:55 +0530 Subject: [PATCH 031/628] Update arista_eos_show_mac_security_participants_detail.parsed --- ...ow_mac_security_participants_detail.parsed | 116 +++++++++--------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.parsed b/tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.parsed index 35bed8852d..4d3dc528e9 100644 --- a/tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.parsed +++ b/tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.parsed @@ -3,61 +3,61 @@ parsed_sample: -- llpn_exhaustion : '0' - ckn : 'cd1df125ffbd3027abe6068fcbfdchanged91af15c274998046ca547' - key_server_sci : '28:00:3a:69:06:cc::999' - elected_self : 'True' - live_peer_list : '['changed0fd8d6b694b42be37f5']' - default : 'True' - interface : 'Ethernet4/15/1' - message_id : 'changed0975adf202e94acf2' - sak_transmit : 'False' - distributed_key_id : 'None' - success : 'True' - principal : 'False' - potential_peer_list : '[]' - - -- llpn_exhaustion : '0' - ckn : 'e9cae93c91ef6c62afbb9fffd2fa32380achangede0f6348a8a6e1bb205be4d' - key_server_sci : '28:1b:22:69:36:cc::333' - elected_self : 'True' - live_peer_list : '['changed4341200ff8e76821da']' - default : 'False' - interface : 'Ethernet4/15/1' - message_id : 'changed77f1f42e246ef05b' - sak_transmit : 'True' - distributed_key_id : 'changed2577f1f42e246ef05b:46' - success : 'True' - principal : 'True' - potential_peer_list : '[]' - - -- llpn_exhaustion : '0' - ckn : 'cd1df125ffbd3027abe6068fcbfd31f0changed58e91af15c274998046ca547' - key_server_sci : '28:22:1b:69:32:d4::111' - elected_self : 'True' - live_peer_list : '['2071783e6e9b09640a2eee89']' - default : 'True' - interface : 'Ethernet5/13/1' - message_id : '1860e9c0c1d2b4877fa78b77' - sak_transmit : 'False' - distributed_key_id : 'None' - success : 'True' - principal : 'False' - potential_peer_list : '[]' - - -- llpn_exhaustion : '0' - ckn : 'e9cae93c91ef6c62afbb9fffd2fa323changedd6e0f6348a8a6e1bb205be4d' - key_server_sci : '28:11:3a:69:32:d4::111' - elected_self : 'True' - live_peer_list : '['changedbe5869ab7cb6fa2c5cb1c']' - default : 'False' - interface : 'Ethernet5/13/1' - message_id : 'changedf1e9662b5a94eac3' - sak_transmit : 'True' - distributed_key_id : 'dec1a8dchanged5a94eac3:46' - success : 'True' - principal : 'True' - potential_peer_list : '[]' \ No newline at end of file +- llpn_exhaustion : "0" + ckn : "cd1df125ffbd3027abe6068fcbfdchanged91af15c274998046ca547" + key_server_sci : "28:00:3a:69:06:cc::999" + elected_self : "True" + live_peer_list : "['changed0fd8d6b694b42be37f5']" + default : "True" + interface : "Ethernet4/15/1" + message_id : "changed0975adf202e94acf2" + sak_transmit : "False" + distributed_key_id : "None" + success : "True" + principal : "False" + potential_peer_list : "[]" + + +- llpn_exhaustion : "0" + ckn : "e9cae93c91ef6c62afbb9fffd2fa32380achangede0f6348a8a6e1bb205be4d" + key_server_sci : "28:1b:22:69:36:cc::333" + elected_self : "True" + live_peer_list : "['changed4341200ff8e76821da']" + default : "False" + interface : "Ethernet4/15/1" + message_id : "changed77f1f42e246ef05b" + sak_transmit : "True" + distributed_key_id : "changed2577f1f42e246ef05b:46" + success : "True" + principal : "True" + potential_peer_list : "[]" + + +- llpn_exhaustion : "0" + ckn : "cd1df125ffbd3027abe6068fcbfd31f0changed58e91af15c274998046ca547" + key_server_sci : "28:22:1b:69:32:d4::111" + elected_self : "True" + live_peer_list : "['2071783e6e9b09640a2eee89']" + default : "True" + interface : "Ethernet5/13/1" + message_id : "1860e9c0c1d2b4877fa78b77" + sak_transmit : "False" + distributed_key_id : "None" + success : "True" + principal : "False" + potential_peer_list : "[]" + + +- llpn_exhaustion : "0" + ckn : "e9cae93c91ef6c62afbb9fffd2fa323changedd6e0f6348a8a6e1bb205be4d" + key_server_sci : "28:11:3a:69:32:d4::111" + elected_self : "True" + live_peer_list : "['changedbe5869ab7cb6fa2c5cb1c']" + default : "False" + interface : "Ethernet5/13/1" + message_id : "changedf1e9662b5a94eac3" + sak_transmit : "True" + distributed_key_id : "dec1a8dchanged5a94eac3:46" + success : "True" + principal : "True" + potential_peer_list : "[]" From cf38e7aa250f76abd0c200f5d93cb324513ce698 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Mon, 22 Jan 2018 00:19:10 -0500 Subject: [PATCH 032/628] spacing change --- templates/avaya_vsp_show_software.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/avaya_vsp_show_software.template b/templates/avaya_vsp_show_software.template index 466a833644..e3c180213a 100644 --- a/templates/avaya_vsp_show_software.template +++ b/templates/avaya_vsp_show_software.template @@ -9,7 +9,7 @@ Start ^\s+software releases in ${RELEASE_LOCATION} ^${BACKUP_RELEASE}\s+\(Backup Release\) ^${PRIMARY_RELEASE}\s+\(Primary Release\) - ^Auto Commit :\s+${AUTO_COMMIT} - ^Commit Timeout :\s+${COMMIT_TIMEOUT} + ^Auto Commit\s+:\s+${AUTO_COMMIT} + ^Commit Timeout\s+:\s+${COMMIT_TIMEOUT} Done From 70897e4ec5960a6422030e468beac252794e26e5 Mon Sep 17 00:00:00 2001 From: burningnode <19718295+burningnode@users.noreply.github.com> Date: Wed, 21 Feb 2018 19:38:13 +0100 Subject: [PATCH 033/628] Add files via upload Simple "get route" template for ScreenOS (Juniper NetScreen) --- templates/juniper_screenos_get_route.template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/juniper_screenos_get_route.template diff --git a/templates/juniper_screenos_get_route.template b/templates/juniper_screenos_get_route.template new file mode 100644 index 0000000000..984470c33b --- /dev/null +++ b/templates/juniper_screenos_get_route.template @@ -0,0 +1,18 @@ +Value Filldown VR (\S+) +Value BEST (\S) +Value ID (\d+) +Value Required PREFIX (\S+) +Value OUTINTERFACE (\S+) +Value NEXTHOP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value PROTOCOL (\w{1,2}) +Value PREF (\d+) +Value METRIC (\d+) +Value VSYS (\w+) + +Start + # Match the VR + ^IPv\d\s+Dest-routes\s+for\s+<${VR}> + # Match route line + ^${BEST}\s+${ID}\s+${PREFIX}\s+${OUTINTERFACE}\s+${NEXTHOP}\s+${PROTOCOL}\s+${PREF}\s+${METRIC}\s+${VSYS} -> Record + +EOF \ No newline at end of file From 300dbcee8ef7af69e6bf6c7ac601d086da00fabc Mon Sep 17 00:00:00 2001 From: burningnode <19718295+burningnode@users.noreply.github.com> Date: Wed, 21 Feb 2018 19:39:41 +0100 Subject: [PATCH 034/628] Add files via upload Adding screenos OS. --- .../get_route/juniper_screenos_get_route.parsed | 13 +++++++++++++ .../get_route/juniper_screenos_get_route.raw | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed create mode 100644 tests/juniper_screenos/get_route/juniper_screenos_get_route.raw diff --git a/tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed b/tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed new file mode 100644 index 0000000000..fa7412fff1 --- /dev/null +++ b/tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed @@ -0,0 +1,13 @@ +--- +parsed_sample: + +- vr: 'trust-vr' + best: '*' + id: '4' + prefix: '1.1.1.2/32' + outinterface: 'eth0/1' + nexthop: '0.0.0.0' + protocol: 'H' + pref: '0' + metric: '0' + vsys: 'Root' diff --git a/tests/juniper_screenos/get_route/juniper_screenos_get_route.raw b/tests/juniper_screenos/get_route/juniper_screenos_get_route.raw new file mode 100644 index 0000000000..bbc7e31fb3 --- /dev/null +++ b/tests/juniper_screenos/get_route/juniper_screenos_get_route.raw @@ -0,0 +1,15 @@ +IPv4 Dest-Routes for (0 entries) +---------------------------------------------------------------------- +H: Host C: Connected S: Static A: Auto-Exported +I: Imported R: RIP P: Permanent D: Auto-Discovered +iB: IBGP eB: EBGP O: OSPF E1: OSPF external type 1 +E2: OSPF external type 2 + +IPv4 Dest-Routes for (4 entries) +---------------------------------------------------------------------- + ID IP-Prefix Interface Gateway P Pref Mtr Vsys +---------------------------------------------------------------------- +* 4 1.1.1.2/32 eth0/1 0.0.0.0 H 0 0 Root +* 2 192.168.1.1/32 eth0/0 0.0.0.0 H 0 0 Root +* 1 192.168.1.0/24 eth0/0 0.0.0.0 C 0 0 Root +* 3 1.1.1.0/24 eth0/1 0.0.0.0 C 0 0 Root \ No newline at end of file From 4666a831c2e7793279fc2a28a1a72a7d4a665f3f Mon Sep 17 00:00:00 2001 From: burningnode <19718295+burningnode@users.noreply.github.com> Date: Wed, 21 Feb 2018 19:44:57 +0100 Subject: [PATCH 035/628] Update index Added line for juniper screenos --- templates/index | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/index b/templates/index index 2ae2af4848..7de90a494b 100644 --- a/templates/index +++ b/templates/index @@ -214,6 +214,8 @@ juniper_junos_show_isis_adjacency.template, .*, juniper_junos, sh[[ow]] is[[is]] juniper_junos_show_ospf_neighbor.template, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] juniper_junos_show_interfaces.template, .*, juniper_junos, sh[[ow]] inte[[rfaces]] +juniper_screenos_get_route.template, .*, juniper_screenos, get route + paloalto_panos_show_running_security-policy.template, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] paloalto_panos_show_high-availability_all.template, .*, paloalto_panos, sh[[ow]] high[[-availability]] all paloalto_panos_show_interface_hardware.template, .*, paloalto_panos, sh[[ow]] int[[erface]] hard[[ware]] From 7bdf5a4171c0f8c7d9a3e4214095f5ae7ba34892 Mon Sep 17 00:00:00 2001 From: burningnode <19718295+burningnode@users.noreply.github.com> Date: Thu, 22 Feb 2018 08:22:00 +0100 Subject: [PATCH 036/628] Update juniper_screenos_get_route.template --- templates/juniper_screenos_get_route.template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/juniper_screenos_get_route.template b/templates/juniper_screenos_get_route.template index 984470c33b..e8d3b10931 100644 --- a/templates/juniper_screenos_get_route.template +++ b/templates/juniper_screenos_get_route.template @@ -10,9 +10,9 @@ Value METRIC (\d+) Value VSYS (\w+) Start - # Match the VR - ^IPv\d\s+Dest-routes\s+for\s+<${VR}> - # Match route line - ^${BEST}\s+${ID}\s+${PREFIX}\s+${OUTINTERFACE}\s+${NEXTHOP}\s+${PROTOCOL}\s+${PREF}\s+${METRIC}\s+${VSYS} -> Record + # Match the VR + ^IPv\d\s+Dest-routes\s+for\s+<${VR}> + # Match route line + ^${BEST}\s+${ID}\s+${PREFIX}\s+${OUTINTERFACE}\s+${NEXTHOP}\s+${PROTOCOL}\s+${PREF}\s+${METRIC}\s+${VSYS} -> Record -EOF \ No newline at end of file +EOF From 77cb6bd8d2e7587500c21581e676d9d99cf3634a Mon Sep 17 00:00:00 2001 From: burningnode <19718295+burningnode@users.noreply.github.com> Date: Thu, 22 Feb 2018 08:31:43 +0100 Subject: [PATCH 037/628] Update juniper_screenos_get_route.template --- templates/juniper_screenos_get_route.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/juniper_screenos_get_route.template b/templates/juniper_screenos_get_route.template index e8d3b10931..9fbd4abd0c 100644 --- a/templates/juniper_screenos_get_route.template +++ b/templates/juniper_screenos_get_route.template @@ -11,7 +11,7 @@ Value VSYS (\w+) Start # Match the VR - ^IPv\d\s+Dest-routes\s+for\s+<${VR}> + ^IPv\d\s+Dest-Routes\s+for\s+<${VR}> # Match route line ^${BEST}\s+${ID}\s+${PREFIX}\s+${OUTINTERFACE}\s+${NEXTHOP}\s+${PROTOCOL}\s+${PREF}\s+${METRIC}\s+${VSYS} -> Record From 72edf3d3d07cce544b595a318b91a9412a23d613 Mon Sep 17 00:00:00 2001 From: burningnode <19718295+burningnode@users.noreply.github.com> Date: Thu, 22 Feb 2018 08:40:49 +0100 Subject: [PATCH 038/628] Update juniper_screenos_get_route.parsed Updated full parsed output --- .../juniper_screenos_get_route.parsed | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed b/tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed index fa7412fff1..b470ef9c77 100644 --- a/tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed +++ b/tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed @@ -11,3 +11,36 @@ parsed_sample: pref: '0' metric: '0' vsys: 'Root' + +- vr: 'trust-vr' + best: '*' + id: '2' + prefix: '192.168.1.1/32' + outinterface: 'eth0/0' + nexthop: '0.0.0.0' + protocol: 'H' + pref: '0' + metric: '0' + vsys: 'Root' + +- vr: 'trust-vr' + best: '*' + id: '1' + prefix: '192.168.1.0/24' + outinterface: 'eth0/0' + nexthop: '0.0.0.0' + protocol: 'C' + pref: '0' + metric: '0' + vsys: 'Root' + +- vr: 'trust-vr' + best: '*' + id: '3' + prefix: '1.1.1.0/24' + outinterface: 'eth0/1' + nexthop: '0.0.0.0' + protocol: 'C' + pref: '0' + metric: '0' + vsys: 'Root' From 210524836415215bf7e6645589701f5675b31889 Mon Sep 17 00:00:00 2001 From: Sandeep Rawat Date: Sun, 25 Feb 2018 13:13:56 +0530 Subject: [PATCH 039/628] remove the commnted lines --- .../cisco_xr_admin_show_controller_fabric_health.template | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/cisco_xr_admin_show_controller_fabric_health.template b/templates/cisco_xr_admin_show_controller_fabric_health.template index 528075ef81..01282caf50 100644 --- a/templates/cisco_xr_admin_show_controller_fabric_health.template +++ b/templates/cisco_xr_admin_show_controller_fabric_health.template @@ -141,11 +141,9 @@ RackHealth ^\s+3\s+\S+\s+${PLANE_ID_3_SFE_ASICS_TOTAL}/${PLANE_ID_3_SFE_ASICS_UP}/${PLANE_ID_3_SFE_ASICS_DOWN}\s+${PLANE_ID_3_FAB_ID_REACHABLE}\s+? ^\s+4\s+\S+\s+${PLANE_ID_4_SFE_ASICS_TOTAL}/${PLANE_ID_4_SFE_ASICS_UP}/${PLANE_ID_4_SFE_ASICS_DOWN}\s+${PLANE_ID_4_FAB_ID_REACHABLE}\s+? ^\s+5\s+\S+\s+${PLANE_ID_5_SFE_ASICS_TOTAL}/${PLANE_ID_5_SFE_ASICS_UP}/${PLANE_ID_5_SFE_ASICS_DOWN}\s+${PLANE_ID_5_FAB_ID_REACHABLE}\s+? -> Record - #^\s+-.+ -> Record - #^${TEST3} -> Record ^\s+-.+ ^\s+$$ ^$$ ^.* -> Error "LINE NOT FOUND" -EOF \ No newline at end of file +EOF From 9cd028230b4291a038dd5ef70ac5c66050a55f8c Mon Sep 17 00:00:00 2001 From: "Rishabh Jain (rijain)" Date: Fri, 27 Apr 2018 13:11:20 +0000 Subject: [PATCH 040/628] Adding 4 templates --- ...ista_eos_show_environment_cooling.template | 18 + ..._eos_show_environment_temperature.template | 19 + ...how_interfaces_transceiver_detail.template | 28 + ...nxos_show_environment_temperature.template | 16 + templates/index | 4 + ...arista_eos_show_environment_cooling.parsed | 345 ++++++++++ .../arista_eos_show_environment_cooling.raw | 43 ++ ...ta_eos_show_environment_temperature.parsed | 633 ++++++++++++++++++ ...rista_eos_show_environment_temperature.raw | 107 +++ ..._show_interfaces_transceiver_detail.parsed | 192 ++++++ ...eos_show_interfaces_transceiver_detail.raw | 45 ++ ...o_nxos_show_environment_temperature.parsed | 35 + ...isco_nxos_show_environment_temperature.raw | 11 + 13 files changed, 1496 insertions(+) create mode 100644 templates/arista_eos_show_environment_cooling.template create mode 100644 templates/arista_eos_show_environment_temperature.template create mode 100644 templates/arista_eos_show_interfaces_transceiver_detail.template create mode 100644 templates/cisco_nxos_show_environment_temperature.template create mode 100644 tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.parsed create mode 100644 tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.raw create mode 100644 tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed create mode 100644 tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.raw create mode 100644 tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.parsed create mode 100644 tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.raw create mode 100644 tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.parsed create mode 100644 tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.raw diff --git a/templates/arista_eos_show_environment_cooling.template b/templates/arista_eos_show_environment_cooling.template new file mode 100644 index 0000000000..0b99fc62a2 --- /dev/null +++ b/templates/arista_eos_show_environment_cooling.template @@ -0,0 +1,18 @@ +Value Required FAN (\S+) +Value STATUS (\S+\s?\S+) +Value CONFIG_SPEED (\S+) +Value ACTUAL_SPEED (\S+) +Value Filldown SYS_COOLING_STATUS (\S+) +Value Filldown AMBIENT_TEMP (\S+) +Value Filldown AIRFLOW (\S+) + +Start + ^System\scooling\sstatus\sis:\s${SYS_COOLING_STATUS} + ^Ambient\stemperature:\s${AMBIENT_TEMP} + ^Airflow:\s${AIRFLOW} + ^Fan\s+Status\s+Configured\sSpeed\s+Actual\sSpeed + ^-+\s+-+\s+-+\s+-+ + ^${FAN}\s+${STATUS}\s+${CONFIG_SPEED}\%?\s+${ACTUAL_SPEED}\%? -> Record + ^\s+$$ + ^$$ + ^.* -> Error "LINE NOT FOUND" \ No newline at end of file diff --git a/templates/arista_eos_show_environment_temperature.template b/templates/arista_eos_show_environment_temperature.template new file mode 100644 index 0000000000..1a39e91fdd --- /dev/null +++ b/templates/arista_eos_show_environment_temperature.template @@ -0,0 +1,19 @@ +Value Required SENSOR (\S+) +Value DESCRIPTION ((\s|\S)+?) +Value CURRENT_VALUE (\S+) +Value SETPOINT (\S+) +Value ALERT_LIMIT (\S+) +Value CRITICAL_LIMIT (\S+) +Value Filldown MODULE (\S+\s\d+) + +Start + ^System\stemperature\sstatus\sis + ^\s+Alert\s+Critical + ^\s+Temp\s+Setpoint\s+ + ^Sensor\s+Description\s+\(C\)\s+ + ^-+\s+-+\s+-+\s+-+\s+-+\s+-+ + ^${MODULE}: + ^${SENSOR}\s+${DESCRIPTION}\s+${CURRENT_VALUE}\s+\(${SETPOINT}\)\s+\S+\s+${ALERT_LIMIT}\s+${CRITICAL_LIMIT} -> Record + ^\s+$$ + ^$$ + ^.* -> Error "LINE NOT FOUND" \ No newline at end of file diff --git a/templates/arista_eos_show_interfaces_transceiver_detail.template b/templates/arista_eos_show_interfaces_transceiver_detail.template new file mode 100644 index 0000000000..59ff37e21f --- /dev/null +++ b/templates/arista_eos_show_interfaces_transceiver_detail.template @@ -0,0 +1,28 @@ +Value Required PORT (\S+) +Value Filldown TYPE ((\S|\s)+?) +Value CURRENT_VALUE (\S+) +Value HIGH_ALARM_THRESHOLD (\S+) +Value HIGH_WARN_THRESHOLD (\S+) +Value LOW_ALARM_THRESHOLD (\S+) +Value LOW_WARN_THRESHOLD (\S+) + + +Start + ^mA:\smilliamperes,\s+ + ^\+\+\s:\shigh\salarm,\s+ + ^A2D\sreadouts\s+ + ^The\sthreshold\svalues\sare\scalibrated\. + ^\s+High\sAlarm\s+\S+ + ^\s+${TYPE}\s+Threshold\s+ -> Values + ^\s+$$ + ^$$ + ^.* -> Error "LINE NOT FOUND" + +Values + ^Port\s+\S+ + ^-+\s+-+\s+-+\s+-+\s+-+\s+-+\s+ + ^${PORT}\s+${CURRENT_VALUE}\s+${HIGH_ALARM_THRESHOLD}\s+${HIGH_WARN_THRESHOLD}\s+${LOW_ALARM_THRESHOLD}\s+${LOW_WARN_THRESHOLD} -> Record + ^\s+High\sAlarm\s+High Warn\s+Low\sAlarm\s+Low\sWarn -> Start + ^\s+$$ + ^$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/cisco_nxos_show_environment_temperature.template b/templates/cisco_nxos_show_environment_temperature.template new file mode 100644 index 0000000000..66c5c014f5 --- /dev/null +++ b/templates/cisco_nxos_show_environment_temperature.template @@ -0,0 +1,16 @@ +Value CURRENT_VALUE (\d+) +Value MAJOR_THRESHOLD (\d+) +Value MINOR_THRESHOLD (\d+) +Value STATUS (\S+) +Value MODULE (\S+) +Value SENSOR ((\s|\S)+?) + +Start + ^Temperature + ^-+ + ^Module\s+Sensor\s+MajorThresh\s+ + ^(\s+\(Celsius\))+ + ^${MODULE}\s+${SENSOR}\s+${MAJOR_THRESHOLD}\s+${MINOR_THRESHOLD}\s+${CURRENT_VALUE}\s+${STATUS} -> Record + ^\s+$$ + ^$$ + ^.* -> Error "LINE NOT FOUND" \ No newline at end of file diff --git a/templates/index b/templates/index index 2ae2af4848..bc48de578c 100644 --- a/templates/index +++ b/templates/index @@ -17,11 +17,14 @@ alcatel_sros_show_service_id_base.template, .*, alcatel_sros, sh[[ow]] serv[[ice alcatel_sros_oam_mac-ping.template, .*, alcatel_sros, oam mac-pi[[ng]] arista_eos_show_mac_security_participants_detail.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] part[[icipants]] det[[ail]] +arista_eos_show_interfaces_transceiver_detail.template, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] de[[tail]] arista_eos_show_mac_security_mka_counters.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] mk[[a]] count[[ers]] arista_eos_show_mac_security_interface.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] arista_eos_show_interfaces_transceiver.template, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] arista_eos_show_lldp_neighbors_detail.template, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] +rista_eos_show_environment_temperature.template, .*, arista_eos, sh[[ow]] en[[vironment]] t[[emperature]] arista_eos_show_ip_interface_brief.template, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] +arista_eos_show_environment_cooling.template, .*, arista_eos, sh[[ow]] en[[vironment]] c[[ooling]] arista_eos_show_interfaces_status.template, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] arista_eos_show_mac_address-table.template, .*, arista_eos, sh[[ow]] m[[ac]] ad[[dress-table]] arista_eos_show_ip_ospf_database.template, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] data[[base]] @@ -135,6 +138,7 @@ cisco_ios_show_vrf.template, .*, cisco_ios, sh[[ow]] vrf cisco_ios_dir.template, .*, cisco_ios, dir cisco_nxos_show_interface_transceiver_details.template, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] +cisco_nxos_show_environment_temperature.template, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] cisco_nxos_show_ip_dhcp_relay_address.template, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] cisco_nxos_show_lldp_neighbors_detail.template, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] cisco_nxos_show_cdp_neighbors_detail.template, .*, cisco_nxos, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] diff --git a/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.parsed b/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.parsed new file mode 100644 index 0000000000..d73cb2ff41 --- /dev/null +++ b/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.parsed @@ -0,0 +1,345 @@ +--- + +parsed_sample: + + +- fan : '1/1' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '1/2' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '1/3' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '1/4' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '1/5' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '2/1' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '2/2' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '2/3' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '2/4' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '2/5' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '3/1' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '3/2' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '3/3' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '3/4' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '3/5' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '4/1' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '4/2' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '4/3' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '4/4' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '4/5' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '5/1' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '5/2' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '5/3' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '5/4' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '5/5' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '6/1' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '6/2' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '6/3' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '6/4' + status : 'Ok' + config_speed : '35%' + actual_speed : '35%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : '6/5' + status : 'Ok' + config_speed : '35%' + actual_speed : '34%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : 'PowerSupply1/1' + status : 'Ok' + config_speed : '70%' + actual_speed : '70%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : 'PowerSupply2/1' + status : 'Ok' + config_speed : '70%' + actual_speed : '69%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : 'PowerSupply3/1' + status : 'Ok' + config_speed : '70%' + actual_speed : '70%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : 'PowerSupply4/1' + status : 'Ok' + config_speed : '70%' + actual_speed : '69%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : 'PowerSupply5' + status : 'Not Inserted' + config_speed : 'N/A' + actual_speed : 'N/A' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : 'PowerSupply6/1' + status : 'Ok' + config_speed : '70%' + actual_speed : '69%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : 'PowerSupply7/1' + status : 'Ok' + config_speed : '70%' + actual_speed : '70%' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' + + +- fan : 'PowerSupply8' + status : 'Not Inserted' + config_speed : 'N/A' + actual_speed : 'N/A' + sys_cooling_status : 'Ok' + ambient_temp : '22C' + airflow : 'front-to-back' diff --git a/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.raw b/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.raw new file mode 100644 index 0000000000..04698c8367 --- /dev/null +++ b/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.raw @@ -0,0 +1,43 @@ +System cooling status is: Ok +Ambient temperature: 22C +Airflow: front-to-back +Fan Status Configured Speed Actual Speed +---------------- --------------- ---------------- ---------------- +1/1 Ok 35% 34% +1/2 Ok 35% 35% +1/3 Ok 35% 35% +1/4 Ok 35% 34% +1/5 Ok 35% 34% +2/1 Ok 35% 34% +2/2 Ok 35% 34% +2/3 Ok 35% 35% +2/4 Ok 35% 34% +2/5 Ok 35% 35% +3/1 Ok 35% 35% +3/2 Ok 35% 34% +3/3 Ok 35% 34% +3/4 Ok 35% 35% +3/5 Ok 35% 34% +4/1 Ok 35% 34% +4/2 Ok 35% 34% +4/3 Ok 35% 35% +4/4 Ok 35% 35% +4/5 Ok 35% 34% +5/1 Ok 35% 35% +5/2 Ok 35% 34% +5/3 Ok 35% 35% +5/4 Ok 35% 34% +5/5 Ok 35% 34% +6/1 Ok 35% 35% +6/2 Ok 35% 34% +6/3 Ok 35% 35% +6/4 Ok 35% 35% +6/5 Ok 35% 34% +PowerSupply1/1 Ok 70% 70% +PowerSupply2/1 Ok 70% 69% +PowerSupply3/1 Ok 70% 70% +PowerSupply4/1 Ok 70% 69% +PowerSupply5 Not Inserted N/A N/A +PowerSupply6/1 Ok 70% 69% +PowerSupply7/1 Ok 70% 70% +PowerSupply8 Not Inserted N/A N/A \ No newline at end of file diff --git a/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed new file mode 100644 index 0000000000..9f25bb8823 --- /dev/null +++ b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed @@ -0,0 +1,633 @@ +--- + +parsed_sample: + + +- sensor : '1' + description : 'Digital Temperature Sensor on cpu0' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '2' + description : 'Digital Temperature Sensor on cpu1' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '3' + description : 'Digital Temperature Sensor on cpu2' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '4' + description : 'Digital Temperature Sensor on cpu3' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '5' + description : 'Digital Temperature Sensor on cpu4' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '6' + description : 'Digital Temperature Sensor on cpu5' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '7' + description : 'Digital Temperature Sensor on cpu6' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '8' + description : 'Digital Temperature Sensor on cpu7' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '9' + description : 'Digital Temperature Sensor on cpu8' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '10' + description : 'Digital Temperature Sensor on cpu9' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '11' + description : 'Digital Temperature Sensor on cpu10' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '12' + description : 'Digital Temperature Sensor on cpu11' + current_value : '36.0' + setpoint : '65' + alert_limit : '95' + critical_limit : '105' + module : 'Supervisor 1' + + +- sensor : '13' + description : 'Supervisor temp sensor' + current_value : '25.6' + setpoint : '52' + alert_limit : '75' + critical_limit : '85' + module : 'Supervisor 1' + + +- sensor : '14' + description : 'PlxLc sensor' + current_value : '46.0' + setpoint : '80' + alert_limit : '95' + critical_limit : '110' + module : 'Supervisor 1' + + +- sensor : '15' + description : 'PlxFc sensor' + current_value : '43.2' + setpoint : '80' + alert_limit : '95' + critical_limit : '110' + module : 'Supervisor 1' + + +- sensor : '16' + description : 'Front sensor' + current_value : '21.9' + setpoint : '43' + alert_limit : '65' + critical_limit : '75' + module : 'Supervisor 1' + + +- sensor : '17' + description : 'Rear sensor' + current_value : '22.8' + setpoint : '43' + alert_limit : '65' + critical_limit : '75' + module : 'Supervisor 1' + + +- sensor : '37' + description : 'CPU VRM temp sensor 0' + current_value : '30.0' + setpoint : '70' + alert_limit : '105' + critical_limit : '110' + module : 'Supervisor 1' + + +- sensor : '38' + description : 'CPU VRM temp sensor 0' + current_value : '29.0' + setpoint : '70' + alert_limit : '105' + critical_limit : '110' + module : 'Supervisor 1' + + +- sensor : '6' + description : 'Outlet sensor' + current_value : '50.8' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 3' + + +- sensor : '7' + description : 'Inlet sensor' + current_value : '59.2' + setpoint : '75' + alert_limit : '90' + critical_limit : '100' + module : 'Linecard 3' + + +- sensor : '8' + description : 'Board sensor' + current_value : '62.0' + setpoint : '95' + alert_limit : '105' + critical_limit : '110' + module : 'Linecard 3' + + +- sensor : '10' + description : 'Board sensor' + current_value : '64.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 3' + + +- sensor : '11' + description : 'Board sensor' + current_value : '56.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 3' + + +- sensor : '12' + description : 'Jericho0' + current_value : '66.0' + setpoint : '85' + alert_limit : '100' + critical_limit : '108' + module : 'Linecard 3' + + +- sensor : '13' + description : 'Jericho1' + current_value : '73.8' + setpoint : '85' + alert_limit : '100' + critical_limit : '108' + module : 'Linecard 3' + + +- sensor : '14' + description : 'Board sensor' + current_value : '50.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 3' + + +- sensor : '15' + description : 'Jericho2' + current_value : '63.0' + setpoint : '85' + alert_limit : '100' + critical_limit : '108' + module : 'Linecard 3' + + +- sensor : '16' + description : 'Jericho3' + current_value : '69.8' + setpoint : '85' + alert_limit : '100' + critical_limit : '108' + module : 'Linecard 3' + + +- sensor : '18' + description : 'Jericho4' + current_value : '62.2' + setpoint : '85' + alert_limit : '100' + critical_limit : '108' + module : 'Linecard 3' + + +- sensor : '19' + description : 'Jericho5' + current_value : '67.0' + setpoint : '85' + alert_limit : '100' + critical_limit : '108' + module : 'Linecard 3' + + +- sensor : '5' + description : 'Outlet sensor' + current_value : '41.2' + setpoint : '80' + alert_limit : '90' + critical_limit : '100' + module : 'Linecard 4' + + +- sensor : '6' + description : 'Inlet sensor' + current_value : '43.8' + setpoint : '65' + alert_limit : '75' + critical_limit : '85' + module : 'Linecard 4' + + +- sensor : '7' + description : 'Board sensor' + current_value : '49.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 4' + + +- sensor : '9' + description : 'Board sensor' + current_value : '45.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 4' + + +- sensor : '10' + description : 'Board sensor' + current_value : '47.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 4' + + +- sensor : '11' + description : 'Jericho0' + current_value : '54.2' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 4' + + +- sensor : '12' + description : 'Jericho1' + current_value : '59.0' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 4' + + +- sensor : '13' + description : 'Board sensor' + current_value : '44.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 4' + + +- sensor : '14' + description : 'Jericho2' + current_value : '53.8' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 4' + + +- sensor : '15' + description : 'Jericho3' + current_value : '57.8' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 4' + + +- sensor : '17' + description : 'Jericho4' + current_value : '54.8' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 4' + + +- sensor : '18' + description : 'Jericho5' + current_value : '60.2' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 4' + + +- sensor : '5' + description : 'Outlet sensor' + current_value : '39.5' + setpoint : '80' + alert_limit : '90' + critical_limit : '100' + module : 'Linecard 5' + + +- sensor : '6' + description : 'Inlet sensor' + current_value : '39.0' + setpoint : '65' + alert_limit : '75' + critical_limit : '85' + module : 'Linecard 5' + + +- sensor : '7' + description : 'Board sensor' + current_value : '47.2' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 5' + + +- sensor : '9' + description : 'Board sensor' + current_value : '43.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 5' + + +- sensor : '10' + description : 'Board sensor' + current_value : '42.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 5' + + +- sensor : '11' + description : 'Jericho0' + current_value : '54.2' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 5' + + +- sensor : '12' + description : 'Jericho1' + current_value : '60.2' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 5' + + +- sensor : '13' + description : 'Board sensor' + current_value : '38.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 5' + + +- sensor : '14' + description : 'Jericho2' + current_value : '52.2' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 5' + + +- sensor : '15' + description : 'Jericho3' + current_value : '56.8' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 5' + + +- sensor : '17' + description : 'Jericho4' + current_value : '52.8' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 5' + + +- sensor : '18' + description : 'Jericho5' + current_value : '57.2' + setpoint : '85' + alert_limit : '100' + critical_limit : '110' + module : 'Linecard 5' + + +- sensor : '1' + description : 'Outlet sensor' + current_value : '32.5' + setpoint : '80' + alert_limit : '90' + critical_limit : '100' + module : 'Linecard 6' + + +- sensor : '2' + description : 'Inlet sensor' + current_value : '29.2' + setpoint : '65' + alert_limit : '70' + critical_limit : '85' + module : 'Linecard 6' + + +- sensor : '3' + description : 'Board sensor' + current_value : '42.8' + setpoint : '90' + alert_limit : '100' + critical_limit : '105' + module : 'Linecard 6' + + +- sensor : '4' + description : 'Board sensor' + current_value : '38.4' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 6' + + +- sensor : '5' + description : 'Jericho0' + current_value : '58.1' + setpoint : '85' + alert_limit : '105' + critical_limit : '110' + module : 'Linecard 6' + + +- sensor : '6' + description : 'Jericho1' + current_value : '54.8' + setpoint : '85' + alert_limit : '105' + critical_limit : '110' + module : 'Linecard 6' + + +- sensor : '7' + description : 'Board sensor' + current_value : '34.8' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Linecard 6' + + +- sensor : '8' + description : 'Jericho2' + current_value : '60.2' + setpoint : '85' + alert_limit : '105' + critical_limit : '110' + module : 'Linecard 6' + + +- sensor : '9' + description : 'Jericho3' + current_value : '57.2' + setpoint : '85' + alert_limit : '105' + critical_limit : '110' + module : 'Linecard 6' + + +- sensor : '13' + description : 'ADT (Fan controller) 1' + current_value : '32.8' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Fabric 1' + + +- sensor : '14' + description : 'Fan side sensor' + current_value : '32.0' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Fabric 1' + + +- sensor : '15' + description : 'Midplane side sensor' + current_value : '28.5' + setpoint : '65' + alert_limit : '75' + critical_limit : '85' + module : 'Fabric 1' + + +- sensor : '16' + description : 'ADT (Fan controller) 2' + current_value : '30.2' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Fabric 1' + + +- sensor : '17' + description : 'FE 0 sensor' + current_value : '36.2' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Fabric 1' + + +- sensor : '18' + description : 'FE 1 sensor' + current_value : '40.8' + setpoint : '85' + alert_limit : '95' + critical_limit : '105' + module : 'Fabric 1' diff --git a/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.raw b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.raw new file mode 100644 index 0000000000..ae9e49e6e3 --- /dev/null +++ b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.raw @@ -0,0 +1,107 @@ +System temperature status is: Ok + +Supervisor 1: + Alert Critical + Temp Setpoint Limit Limit +Sensor Description (C) (C) (C) (C) +------- ----------------------------------- ------- ----------- ------ --------- +1 Digital Temperature Sensor on cpu0 36.0 (65) 63.8 95 105 +2 Digital Temperature Sensor on cpu1 36.0 (65) 63.8 95 105 +3 Digital Temperature Sensor on cpu2 36.0 (65) 63.8 95 105 +4 Digital Temperature Sensor on cpu3 36.0 (65) 63.8 95 105 +5 Digital Temperature Sensor on cpu4 36.0 (65) 63.8 95 105 +6 Digital Temperature Sensor on cpu5 36.0 (65) 63.8 95 105 +7 Digital Temperature Sensor on cpu6 36.0 (65) 63.8 95 105 +8 Digital Temperature Sensor on cpu7 36.0 (65) 63.8 95 105 +9 Digital Temperature Sensor on cpu8 36.0 (65) 63.8 95 105 +10 Digital Temperature Sensor on cpu9 36.0 (65) 63.8 95 105 +11 Digital Temperature Sensor on cpu10 36.0 (65) 63.8 95 105 +12 Digital Temperature Sensor on cpu11 36.0 (65) 63.8 95 105 +13 Supervisor temp sensor 25.6 (52) 50.8 75 85 +14 PlxLc sensor 46.0 (80) 78.8 95 110 +15 PlxFc sensor 43.2 (80) 78.8 95 110 +16 Front sensor 21.9 (43) 41.8 65 75 +17 Rear sensor 22.8 (43) 41.8 65 75 +37 CPU VRM temp sensor 0 30.0 (70) 68.8 105 110 +38 CPU VRM temp sensor 0 29.0 (70) 68.8 105 110 + +Linecard 3: + Alert Critical + Temp Setpoint Limit Limit +Sensor Description (C) (C) (C) (C) +------- ----------------------------------- ------- ----------- ------ --------- +6 Outlet sensor 50.8 (85) 83.8 95 105 +7 Inlet sensor 59.2 (75) 73.8 90 100 +8 Board sensor 62.0 (95) 93.8 105 110 +10 Board sensor 64.0 (85) 83.8 95 105 +11 Board sensor 56.0 (85) 83.8 95 105 +12 Jericho0 66.0 (85) 83.8 100 108 +13 Jericho1 73.8 (85) 83.8 100 108 +14 Board sensor 50.0 (85) 83.8 95 105 +15 Jericho2 63.0 (85) 83.8 100 108 +16 Jericho3 69.8 (85) 83.8 100 108 +18 Jericho4 62.2 (85) 83.8 100 108 +19 Jericho5 67.0 (85) 83.8 100 108 + +Linecard 4: + Alert Critical + Temp Setpoint Limit Limit +Sensor Description (C) (C) (C) (C) +------- ----------------------------------- ------- ----------- ------ --------- +5 Outlet sensor 41.2 (80) 78.8 90 100 +6 Inlet sensor 43.8 (65) 63.8 75 85 +7 Board sensor 49.0 (85) 83.8 95 105 +9 Board sensor 45.0 (85) 83.8 95 105 +10 Board sensor 47.0 (85) 83.8 95 105 +11 Jericho0 54.2 (85) 83.8 100 110 +12 Jericho1 59.0 (85) 83.8 100 110 +13 Board sensor 44.0 (85) 83.8 95 105 +14 Jericho2 53.8 (85) 83.8 100 110 +15 Jericho3 57.8 (85) 83.8 100 110 +17 Jericho4 54.8 (85) 83.8 100 110 +18 Jericho5 60.2 (85) 83.8 100 110 + +Linecard 5: + Alert Critical + Temp Setpoint Limit Limit +Sensor Description (C) (C) (C) (C) +------- ----------------------------------- ------- ----------- ------ --------- +5 Outlet sensor 39.5 (80) 78.8 90 100 +6 Inlet sensor 39.0 (65) 63.8 75 85 +7 Board sensor 47.2 (85) 83.8 95 105 +9 Board sensor 43.0 (85) 83.8 95 105 +10 Board sensor 42.0 (85) 83.8 95 105 +11 Jericho0 54.2 (85) 83.8 100 110 +12 Jericho1 60.2 (85) 83.8 100 110 +13 Board sensor 38.0 (85) 83.8 95 105 +14 Jericho2 52.2 (85) 83.8 100 110 +15 Jericho3 56.8 (85) 83.8 100 110 +17 Jericho4 52.8 (85) 83.8 100 110 +18 Jericho5 57.2 (85) 83.8 100 110 + +Linecard 6: + Alert Critical + Temp Setpoint Limit Limit +Sensor Description (C) (C) (C) (C) +------- ----------------------------------- ------- ----------- ------ --------- +1 Outlet sensor 32.5 (80) 78.8 90 100 +2 Inlet sensor 29.2 (65) 63.8 70 85 +3 Board sensor 42.8 (90) 88.8 100 105 +4 Board sensor 38.4 (85) 83.8 95 105 +5 Jericho0 58.1 (85) 83.8 105 110 +6 Jericho1 54.8 (85) 83.8 105 110 +7 Board sensor 34.8 (85) 83.8 95 105 +8 Jericho2 60.2 (85) 83.8 105 110 +9 Jericho3 57.2 (85) 83.8 105 110 + +Fabric 1: + Alert Critical + Temp Setpoint Limit Limit +Sensor Description (C) (C) (C) (C) +------- ----------------------------------- ------- ----------- ------ --------- +13 ADT (Fan controller) 1 32.8 (85) 83.8 95 105 +14 Fan side sensor 32.0 (85) 83.8 95 105 +15 Midplane side sensor 28.5 (65) 63.8 75 85 +16 ADT (Fan controller) 2 30.2 (85) 83.8 95 105 +17 FE 0 sensor 36.2 (85) 83.8 95 105 +18 FE 1 sensor 40.8 (85) 83.8 95 105 diff --git a/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.parsed b/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.parsed new file mode 100644 index 0000000000..0456ea8ae0 --- /dev/null +++ b/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.parsed @@ -0,0 +1,192 @@ +--- + +parsed_sample: + + +- port : 'Et6/1' + type : 'Temperature' + current_value : '27.48' + high_alarm_threshold : '80.00' + high_warn_threshold : '75.00' + low_alarm_threshold : '-5.00' + low_warn_threshold : '0.00' + + +- port : 'Et6/2' + type : 'Temperature' + current_value : '27.48' + high_alarm_threshold : '80.00' + high_warn_threshold : '75.00' + low_alarm_threshold : '-5.00' + low_warn_threshold : '0.00' + + +- port : 'Et6/3' + type : 'Temperature' + current_value : '27.48' + high_alarm_threshold : '80.00' + high_warn_threshold : '75.00' + low_alarm_threshold : '-5.00' + low_warn_threshold : '0.00' + + +- port : 'Et6/4' + type : 'Temperature' + current_value : '27.48' + high_alarm_threshold : '80.00' + high_warn_threshold : '75.00' + low_alarm_threshold : '-5.00' + low_warn_threshold : '0.00' + + +- port : 'Et6/1' + type : 'Voltage' + current_value : '3.30' + high_alarm_threshold : '3.60' + high_warn_threshold : '3.50' + low_alarm_threshold : '3.00' + low_warn_threshold : '3.10' + + +- port : 'Et6/2' + type : 'Voltage' + current_value : '3.30' + high_alarm_threshold : '3.60' + high_warn_threshold : '3.50' + low_alarm_threshold : '3.00' + low_warn_threshold : '3.10' + + +- port : 'Et6/3' + type : 'Voltage' + current_value : '3.30' + high_alarm_threshold : '3.60' + high_warn_threshold : '3.50' + low_alarm_threshold : '3.00' + low_warn_threshold : '3.10' + + +- port : 'Et6/4' + type : 'Voltage' + current_value : '3.30' + high_alarm_threshold : '3.60' + high_warn_threshold : '3.50' + low_alarm_threshold : '3.00' + low_warn_threshold : '3.10' + + +- port : 'Et29/1' + type : 'Current' + current_value : '21.90' + high_alarm_threshold : '38.30' + high_warn_threshold : '37.35' + low_alarm_threshold : '0.00' + low_warn_threshold : '0.00' + + +- port : 'Et29/2' + type : 'Current' + current_value : '21.90' + high_alarm_threshold : '38.30' + high_warn_threshold : '37.35' + low_alarm_threshold : '0.00' + low_warn_threshold : '0.00' + + +- port : 'Et29/3' + type : 'Current' + current_value : '21.90' + high_alarm_threshold : '38.30' + high_warn_threshold : '37.35' + low_alarm_threshold : '0.00' + low_warn_threshold : '0.00' + + +- port : 'Et29/4' + type : 'Current' + current_value : '21.90' + high_alarm_threshold : '38.30' + high_warn_threshold : '37.35' + low_alarm_threshold : '0.00' + low_warn_threshold : '0.00' + + +- port : 'Et6/1' + type : 'Tx Power' + current_value : '-2.39' + high_alarm_threshold : '4.40' + high_warn_threshold : '3.40' + low_alarm_threshold : '-9.60' + low_warn_threshold : '-8.60' + + +- port : 'Et6/2' + type : 'Tx Power' + current_value : '-2.33' + high_alarm_threshold : '4.40' + high_warn_threshold : '3.40' + low_alarm_threshold : '-9.60' + low_warn_threshold : '-8.60' + + +- port : 'Et6/3' + type : 'Tx Power' + current_value : '-0.78' + high_alarm_threshold : '4.40' + high_warn_threshold : '3.40' + low_alarm_threshold : '-9.60' + low_warn_threshold : '-8.60' + + +- port : 'Et6/4' + type : 'Tx Power' + current_value : '-0.93' + high_alarm_threshold : '4.40' + high_warn_threshold : '3.40' + low_alarm_threshold : '-9.60' + low_warn_threshold : '-8.60' + + +- port : 'Et6/1' + type : 'Rx Power' + current_value : '-0.90' + high_alarm_threshold : '4.40' + high_warn_threshold : '3.40' + low_alarm_threshold : '-11.50' + low_warn_threshold : '-10.50' + + +- port : 'Et6/2' + type : 'Rx Power' + current_value : '-0.94' + high_alarm_threshold : '4.40' + high_warn_threshold : '3.40' + low_alarm_threshold : '-11.50' + low_warn_threshold : '-10.50' + + +- port : 'Et6/3' + type : 'Rx Power' + current_value : '-1.00' + high_alarm_threshold : '4.40' + high_warn_threshold : '3.40' + low_alarm_threshold : '-11.50' + low_warn_threshold : '-10.50' + + +- port : 'Et6/4' + type : 'Rx Power' + current_value : '-0.83' + high_alarm_threshold : '4.40' + high_warn_threshold : '3.40' + low_alarm_threshold : '-11.50' + low_warn_threshold : '-10.50' + + +- port : 'Et7/1' + type : 'Rx Power' + current_value : '-1.15' + high_alarm_threshold : '4.40' + high_warn_threshold : '3.40' + low_alarm_threshold : '-11.50' + low_warn_threshold : '-10.50' diff --git a/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.raw b/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.raw new file mode 100644 index 0000000000..ee7559203c --- /dev/null +++ b/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.raw @@ -0,0 +1,45 @@ +mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable. +++ : high alarm, + : high warning, - : low warning, -- : low alarm. +A2D readouts (if they differ), are reported in parentheses. +The threshold values are calibrated. + High Alarm High Warn Low Alarm Low Warn + Temperature Threshold Threshold Threshold Threshold +Port (Celsius) (Celsius) (Celsius) (Celsius) (Celsius) +------- ------------ ---------- ---------- ---------- ---------- +Et6/1 27.48 80.00 75.00 -5.00 0.00 +Et6/2 27.48 80.00 75.00 -5.00 0.00 +Et6/3 27.48 80.00 75.00 -5.00 0.00 +Et6/4 27.48 80.00 75.00 -5.00 0.00 + High Alarm High Warn Low Alarm Low Warn + Voltage Threshold Threshold Threshold Threshold +Port (Volts) (Volts) (Volts) (Volts) (Volts) +------- ------------ ---------- ---------- ---------- ---------- +Et6/1 3.30 3.60 3.50 3.00 3.10 +Et6/2 3.30 3.60 3.50 3.00 3.10 +Et6/3 3.30 3.60 3.50 3.00 3.10 +Et6/4 3.30 3.60 3.50 3.00 3.10 + High Alarm High Warn Low Alarm Low Warn + Current Threshold Threshold Threshold Threshold +Port (mA) (mA) (mA) (mA) (mA) +------- ------------ ---------- ---------- ---------- ---------- +Et29/1 21.90 38.30 37.35 0.00 0.00 +Et29/2 21.90 38.30 37.35 0.00 0.00 +Et29/3 21.90 38.30 37.35 0.00 0.00 +Et29/4 21.90 38.30 37.35 0.00 0.00 + High Alarm High Warn Low Alarm Low Warn + Tx Power Threshold Threshold Threshold Threshold +Port (dBm) (dBm) (dBm) (dBm) (dBm) +------- ------------ ---------- ---------- ---------- ---------- +Et6/1 -2.39 4.40 3.40 -9.60 -8.60 +Et6/2 -2.33 4.40 3.40 -9.60 -8.60 +Et6/3 -0.78 4.40 3.40 -9.60 -8.60 +Et6/4 -0.93 4.40 3.40 -9.60 -8.60 + High Alarm High Warn Low Alarm Low Warn + Rx Power Threshold Threshold Threshold Threshold +Port (dBm) (dBm) (dBm) (dBm) (dBm) +------- ------------ ---------- ---------- ---------- ---------- +Et6/1 -0.90 4.40 3.40 -11.50 -10.50 +Et6/2 -0.94 4.40 3.40 -11.50 -10.50 +Et6/3 -1.00 4.40 3.40 -11.50 -10.50 +Et6/4 -0.83 4.40 3.40 -11.50 -10.50 +Et7/1 -1.15 4.40 3.40 -11.50 -10.50 diff --git a/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.parsed b/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.parsed new file mode 100644 index 0000000000..18f8d17966 --- /dev/null +++ b/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.parsed @@ -0,0 +1,35 @@ +--- + +parsed_sample: + + +- current_value : '52' + major_threshold : '101' + minor_threshold : '95' + status : 'ok' + module : '1' + sensor : 'ASIC' + + +- current_value : '38' + major_threshold : '62' + minor_threshold : '56' + status : 'ok' + module : '1' + sensor : 'Front-Middle(D1)' + + +- current_value : '33' + major_threshold : '52' + minor_threshold : '44' + status : 'ok' + module : '1' + sensor : 'Front-Left (D2)' + + +- current_value : '28' + major_threshold : '48' + minor_threshold : '42' + status : 'ok' + module : '1' + sensor : 'Back (D3)' diff --git a/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.raw b/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.raw new file mode 100644 index 0000000000..ca2d1790b1 --- /dev/null +++ b/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.raw @@ -0,0 +1,11 @@ + + +Temperature +------------------------------------------------------------------------- +Module Sensor MajorThresh MinorThres CurTemp Status + (Celsius) (Celsius) (Celsius) +------------------------------------------------------------------------- +1 ASIC 101 95 52 ok +1 Front-Middle(D1) 62 56 38 ok +1 Front-Left (D2) 52 44 33 ok +1 Back (D3) 48 42 28 ok From d1eae227b046bc145f72ed996d893c69b4776da2 Mon Sep 17 00:00:00 2001 From: "Rishabh Jain (rijain)" Date: Mon, 30 Apr 2018 05:48:08 +0000 Subject: [PATCH 041/628] shortened the raw file because of failing Travis CI --- ...ta_eos_show_environment_temperature.parsed | 486 ------------------ ...rista_eos_show_environment_temperature.raw | 56 +- 2 files changed, 1 insertion(+), 541 deletions(-) diff --git a/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed index 9f25bb8823..3822fb70a1 100644 --- a/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed +++ b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed @@ -30,150 +30,6 @@ parsed_sample: module : 'Supervisor 1' -- sensor : '4' - description : 'Digital Temperature Sensor on cpu3' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '5' - description : 'Digital Temperature Sensor on cpu4' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '6' - description : 'Digital Temperature Sensor on cpu5' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '7' - description : 'Digital Temperature Sensor on cpu6' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '8' - description : 'Digital Temperature Sensor on cpu7' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '9' - description : 'Digital Temperature Sensor on cpu8' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '10' - description : 'Digital Temperature Sensor on cpu9' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '11' - description : 'Digital Temperature Sensor on cpu10' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '12' - description : 'Digital Temperature Sensor on cpu11' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '13' - description : 'Supervisor temp sensor' - current_value : '25.6' - setpoint : '52' - alert_limit : '75' - critical_limit : '85' - module : 'Supervisor 1' - - -- sensor : '14' - description : 'PlxLc sensor' - current_value : '46.0' - setpoint : '80' - alert_limit : '95' - critical_limit : '110' - module : 'Supervisor 1' - - -- sensor : '15' - description : 'PlxFc sensor' - current_value : '43.2' - setpoint : '80' - alert_limit : '95' - critical_limit : '110' - module : 'Supervisor 1' - - -- sensor : '16' - description : 'Front sensor' - current_value : '21.9' - setpoint : '43' - alert_limit : '65' - critical_limit : '75' - module : 'Supervisor 1' - - -- sensor : '17' - description : 'Rear sensor' - current_value : '22.8' - setpoint : '43' - alert_limit : '65' - critical_limit : '75' - module : 'Supervisor 1' - - -- sensor : '37' - description : 'CPU VRM temp sensor 0' - current_value : '30.0' - setpoint : '70' - alert_limit : '105' - critical_limit : '110' - module : 'Supervisor 1' - - -- sensor : '38' - description : 'CPU VRM temp sensor 0' - current_value : '29.0' - setpoint : '70' - alert_limit : '105' - critical_limit : '110' - module : 'Supervisor 1' - - - sensor : '6' description : 'Outlet sensor' current_value : '50.8' @@ -201,87 +57,6 @@ parsed_sample: module : 'Linecard 3' -- sensor : '10' - description : 'Board sensor' - current_value : '64.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 3' - - -- sensor : '11' - description : 'Board sensor' - current_value : '56.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 3' - - -- sensor : '12' - description : 'Jericho0' - current_value : '66.0' - setpoint : '85' - alert_limit : '100' - critical_limit : '108' - module : 'Linecard 3' - - -- sensor : '13' - description : 'Jericho1' - current_value : '73.8' - setpoint : '85' - alert_limit : '100' - critical_limit : '108' - module : 'Linecard 3' - - -- sensor : '14' - description : 'Board sensor' - current_value : '50.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 3' - - -- sensor : '15' - description : 'Jericho2' - current_value : '63.0' - setpoint : '85' - alert_limit : '100' - critical_limit : '108' - module : 'Linecard 3' - - -- sensor : '16' - description : 'Jericho3' - current_value : '69.8' - setpoint : '85' - alert_limit : '100' - critical_limit : '108' - module : 'Linecard 3' - - -- sensor : '18' - description : 'Jericho4' - current_value : '62.2' - setpoint : '85' - alert_limit : '100' - critical_limit : '108' - module : 'Linecard 3' - - -- sensor : '19' - description : 'Jericho5' - current_value : '67.0' - setpoint : '85' - alert_limit : '100' - critical_limit : '108' - module : 'Linecard 3' - - - sensor : '5' description : 'Outlet sensor' current_value : '41.2' @@ -318,78 +93,6 @@ parsed_sample: module : 'Linecard 4' -- sensor : '10' - description : 'Board sensor' - current_value : '47.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 4' - - -- sensor : '11' - description : 'Jericho0' - current_value : '54.2' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 4' - - -- sensor : '12' - description : 'Jericho1' - current_value : '59.0' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 4' - - -- sensor : '13' - description : 'Board sensor' - current_value : '44.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 4' - - -- sensor : '14' - description : 'Jericho2' - current_value : '53.8' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 4' - - -- sensor : '15' - description : 'Jericho3' - current_value : '57.8' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 4' - - -- sensor : '17' - description : 'Jericho4' - current_value : '54.8' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 4' - - -- sensor : '18' - description : 'Jericho5' - current_value : '60.2' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 4' - - - sensor : '5' description : 'Outlet sensor' current_value : '39.5' @@ -408,96 +111,6 @@ parsed_sample: module : 'Linecard 5' -- sensor : '7' - description : 'Board sensor' - current_value : '47.2' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 5' - - -- sensor : '9' - description : 'Board sensor' - current_value : '43.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 5' - - -- sensor : '10' - description : 'Board sensor' - current_value : '42.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 5' - - -- sensor : '11' - description : 'Jericho0' - current_value : '54.2' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 5' - - -- sensor : '12' - description : 'Jericho1' - current_value : '60.2' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 5' - - -- sensor : '13' - description : 'Board sensor' - current_value : '38.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 5' - - -- sensor : '14' - description : 'Jericho2' - current_value : '52.2' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 5' - - -- sensor : '15' - description : 'Jericho3' - current_value : '56.8' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 5' - - -- sensor : '17' - description : 'Jericho4' - current_value : '52.8' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 5' - - -- sensor : '18' - description : 'Jericho5' - current_value : '57.2' - setpoint : '85' - alert_limit : '100' - critical_limit : '110' - module : 'Linecard 5' - - - sensor : '1' description : 'Outlet sensor' current_value : '32.5' @@ -516,69 +129,6 @@ parsed_sample: module : 'Linecard 6' -- sensor : '3' - description : 'Board sensor' - current_value : '42.8' - setpoint : '90' - alert_limit : '100' - critical_limit : '105' - module : 'Linecard 6' - - -- sensor : '4' - description : 'Board sensor' - current_value : '38.4' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 6' - - -- sensor : '5' - description : 'Jericho0' - current_value : '58.1' - setpoint : '85' - alert_limit : '105' - critical_limit : '110' - module : 'Linecard 6' - - -- sensor : '6' - description : 'Jericho1' - current_value : '54.8' - setpoint : '85' - alert_limit : '105' - critical_limit : '110' - module : 'Linecard 6' - - -- sensor : '7' - description : 'Board sensor' - current_value : '34.8' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 6' - - -- sensor : '8' - description : 'Jericho2' - current_value : '60.2' - setpoint : '85' - alert_limit : '105' - critical_limit : '110' - module : 'Linecard 6' - - -- sensor : '9' - description : 'Jericho3' - current_value : '57.2' - setpoint : '85' - alert_limit : '105' - critical_limit : '110' - module : 'Linecard 6' - - - sensor : '13' description : 'ADT (Fan controller) 1' current_value : '32.8' @@ -595,39 +145,3 @@ parsed_sample: alert_limit : '95' critical_limit : '105' module : 'Fabric 1' - - -- sensor : '15' - description : 'Midplane side sensor' - current_value : '28.5' - setpoint : '65' - alert_limit : '75' - critical_limit : '85' - module : 'Fabric 1' - - -- sensor : '16' - description : 'ADT (Fan controller) 2' - current_value : '30.2' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Fabric 1' - - -- sensor : '17' - description : 'FE 0 sensor' - current_value : '36.2' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Fabric 1' - - -- sensor : '18' - description : 'FE 1 sensor' - current_value : '40.8' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Fabric 1' diff --git a/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.raw b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.raw index ae9e49e6e3..b542bdf5d7 100644 --- a/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.raw +++ b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.raw @@ -8,22 +8,6 @@ Sensor Description (C) (C) (C) (C) 1 Digital Temperature Sensor on cpu0 36.0 (65) 63.8 95 105 2 Digital Temperature Sensor on cpu1 36.0 (65) 63.8 95 105 3 Digital Temperature Sensor on cpu2 36.0 (65) 63.8 95 105 -4 Digital Temperature Sensor on cpu3 36.0 (65) 63.8 95 105 -5 Digital Temperature Sensor on cpu4 36.0 (65) 63.8 95 105 -6 Digital Temperature Sensor on cpu5 36.0 (65) 63.8 95 105 -7 Digital Temperature Sensor on cpu6 36.0 (65) 63.8 95 105 -8 Digital Temperature Sensor on cpu7 36.0 (65) 63.8 95 105 -9 Digital Temperature Sensor on cpu8 36.0 (65) 63.8 95 105 -10 Digital Temperature Sensor on cpu9 36.0 (65) 63.8 95 105 -11 Digital Temperature Sensor on cpu10 36.0 (65) 63.8 95 105 -12 Digital Temperature Sensor on cpu11 36.0 (65) 63.8 95 105 -13 Supervisor temp sensor 25.6 (52) 50.8 75 85 -14 PlxLc sensor 46.0 (80) 78.8 95 110 -15 PlxFc sensor 43.2 (80) 78.8 95 110 -16 Front sensor 21.9 (43) 41.8 65 75 -17 Rear sensor 22.8 (43) 41.8 65 75 -37 CPU VRM temp sensor 0 30.0 (70) 68.8 105 110 -38 CPU VRM temp sensor 0 29.0 (70) 68.8 105 110 Linecard 3: Alert Critical @@ -33,15 +17,6 @@ Sensor Description (C) (C) (C) (C) 6 Outlet sensor 50.8 (85) 83.8 95 105 7 Inlet sensor 59.2 (75) 73.8 90 100 8 Board sensor 62.0 (95) 93.8 105 110 -10 Board sensor 64.0 (85) 83.8 95 105 -11 Board sensor 56.0 (85) 83.8 95 105 -12 Jericho0 66.0 (85) 83.8 100 108 -13 Jericho1 73.8 (85) 83.8 100 108 -14 Board sensor 50.0 (85) 83.8 95 105 -15 Jericho2 63.0 (85) 83.8 100 108 -16 Jericho3 69.8 (85) 83.8 100 108 -18 Jericho4 62.2 (85) 83.8 100 108 -19 Jericho5 67.0 (85) 83.8 100 108 Linecard 4: Alert Critical @@ -52,14 +27,6 @@ Sensor Description (C) (C) (C) (C) 6 Inlet sensor 43.8 (65) 63.8 75 85 7 Board sensor 49.0 (85) 83.8 95 105 9 Board sensor 45.0 (85) 83.8 95 105 -10 Board sensor 47.0 (85) 83.8 95 105 -11 Jericho0 54.2 (85) 83.8 100 110 -12 Jericho1 59.0 (85) 83.8 100 110 -13 Board sensor 44.0 (85) 83.8 95 105 -14 Jericho2 53.8 (85) 83.8 100 110 -15 Jericho3 57.8 (85) 83.8 100 110 -17 Jericho4 54.8 (85) 83.8 100 110 -18 Jericho5 60.2 (85) 83.8 100 110 Linecard 5: Alert Critical @@ -68,16 +35,6 @@ Sensor Description (C) (C) (C) (C) ------- ----------------------------------- ------- ----------- ------ --------- 5 Outlet sensor 39.5 (80) 78.8 90 100 6 Inlet sensor 39.0 (65) 63.8 75 85 -7 Board sensor 47.2 (85) 83.8 95 105 -9 Board sensor 43.0 (85) 83.8 95 105 -10 Board sensor 42.0 (85) 83.8 95 105 -11 Jericho0 54.2 (85) 83.8 100 110 -12 Jericho1 60.2 (85) 83.8 100 110 -13 Board sensor 38.0 (85) 83.8 95 105 -14 Jericho2 52.2 (85) 83.8 100 110 -15 Jericho3 56.8 (85) 83.8 100 110 -17 Jericho4 52.8 (85) 83.8 100 110 -18 Jericho5 57.2 (85) 83.8 100 110 Linecard 6: Alert Critical @@ -86,13 +43,6 @@ Sensor Description (C) (C) (C) (C) ------- ----------------------------------- ------- ----------- ------ --------- 1 Outlet sensor 32.5 (80) 78.8 90 100 2 Inlet sensor 29.2 (65) 63.8 70 85 -3 Board sensor 42.8 (90) 88.8 100 105 -4 Board sensor 38.4 (85) 83.8 95 105 -5 Jericho0 58.1 (85) 83.8 105 110 -6 Jericho1 54.8 (85) 83.8 105 110 -7 Board sensor 34.8 (85) 83.8 95 105 -8 Jericho2 60.2 (85) 83.8 105 110 -9 Jericho3 57.2 (85) 83.8 105 110 Fabric 1: Alert Critical @@ -100,8 +50,4 @@ Fabric 1: Sensor Description (C) (C) (C) (C) ------- ----------------------------------- ------- ----------- ------ --------- 13 ADT (Fan controller) 1 32.8 (85) 83.8 95 105 -14 Fan side sensor 32.0 (85) 83.8 95 105 -15 Midplane side sensor 28.5 (65) 63.8 75 85 -16 ADT (Fan controller) 2 30.2 (85) 83.8 95 105 -17 FE 0 sensor 36.2 (85) 83.8 95 105 -18 FE 1 sensor 40.8 (85) 83.8 95 105 +14 Fan side sensor 32.0 (85) 83.8 95 105 \ No newline at end of file From 86ef78f53202c99d8a9bee03293e359488f72926 Mon Sep 17 00:00:00 2001 From: "Rishabh Jain (rijain)" Date: Mon, 30 Apr 2018 05:56:49 +0000 Subject: [PATCH 042/628] correcting minor typo in index file --- templates/index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index b/templates/index index bc48de578c..cbef962b81 100644 --- a/templates/index +++ b/templates/index @@ -22,7 +22,7 @@ arista_eos_show_mac_security_mka_counters.template, .*, arista_eos, sh[[ow]] ma[ arista_eos_show_mac_security_interface.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] arista_eos_show_interfaces_transceiver.template, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] arista_eos_show_lldp_neighbors_detail.template, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] -rista_eos_show_environment_temperature.template, .*, arista_eos, sh[[ow]] en[[vironment]] t[[emperature]] +arista_eos_show_environment_temperature.template, .*, arista_eos, sh[[ow]] en[[vironment]] t[[emperature]] arista_eos_show_ip_interface_brief.template, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] arista_eos_show_environment_cooling.template, .*, arista_eos, sh[[ow]] en[[vironment]] c[[ooling]] arista_eos_show_interfaces_status.template, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] From 5d06f4dd84dc908c0315346e6c5d587c3e7617a2 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 11 May 2018 11:52:10 -0400 Subject: [PATCH 043/628] add pytest chache to gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 3cd1f5ab90..7af6da8c14 100644 --- a/.gitignore +++ b/.gitignore @@ -95,9 +95,11 @@ fabric.properties ### Python template # Byte-compiled / optimized / DLL files __pycache__/ +.pytest_cache/ *.py[cod] *$py.class + # C extensions *.so From 26a2686b9e828c2e8a988f683d345a6f16738ad5 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 11 May 2018 12:03:42 -0400 Subject: [PATCH 044/628] Fix printing to use function for py3 compatibility --- test-templates.py | 52 +++++++++++++++++++-------------------- tests/test_index_order.py | 4 +-- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/test-templates.py b/test-templates.py index b0e31d7234..3d11743eb6 100644 --- a/test-templates.py +++ b/test-templates.py @@ -26,7 +26,7 @@ def compare(list_one, list_two): module_path='/home/travis/build/networktocode/ntc-templates/ntc-ansible/library/') results = runner.run() - print results + print(results) tests = results['contacted']['localhost']['tests'] responses = [] @@ -49,12 +49,12 @@ def compare(list_one, list_two): responses.append(results) - # print json.dumps(responses, indent=4) + # print(json.dumps(responses, indent=4)) with_parsed = [] - # print json.dumps(responses, indent=4) + # print(json.dumps(responses, indent=4)) for rsp in responses: - # print json.dumps(rsp, indent=4) - # print rsp['contacted']['localhost']['invocation']['module_args'] + # print(json.dumps(rsp, indent=4)) + # print(rsp['contacted']['localhost']['invocation']['module_args']) args = rsp['contacted']['localhost']['invocation']['module_args'] split = args.split(' ') for each in split: @@ -69,26 +69,26 @@ def compare(list_one, list_two): host_list=HOSTS ) results = runner.run() - # print json.dumps(results, indent=4) + # print(json.dumps(results, indent=4)) try: results['response'] = rsp['contacted']['localhost']['response'] except KeyError: - print 'FAILED' - print each - print rsp + print('FAILED') + print(each) + print(rsp) sys.exit(1) - # print rsp.get('response') + # print(rsp.get('response')) with_parsed.append(results) - # print json.dumps(with_parsed, indent=4) + # print(json.dumps(with_parsed, indent=4)) failed = False for each in with_parsed: - print '****' - print each - print '****' + print('****') + print(each) + print('****') text = each['contacted']['localhost']['invocation']['module_args'] command = text.split('/')[-1].split('.')[0] parsed_sample = each['contacted']['localhost']['ansible_facts']['parsed_sample'] @@ -96,21 +96,21 @@ def compare(list_one, list_two): rc, msg = compare(result, parsed_sample) - print command + print(command) if rc != 0: - print '----> failed' - print 'msg:' - print msg - print '*' * 100 - print 'parsed (from parsed file): ' - print parsed_sample - print '*' * 100 - print 'result (from ntc_show_command): ' - print result + print('----> failed') + print('msg:') + print(msg) + print('*' * 100) + print('parsed (from parsed file): ') + print(parsed_sample) + print('*' * 100) + print('result (from ntc_show_command): ') + print(result) failed = True else: - print '----> passed' - print '=' * 50 + print('----> passed') + print('=' * 50) if failed: sys.exit(1) diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 39f52d53ce..95b6aa8dec 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -83,8 +83,8 @@ def test_index_ordering(): check_val, check_msg = check_order(os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd) if not check_val: #assertFalse(check_val, msg=check_msg) - print "Error on line: {}".format(row) - print "Error Message: {}".format(check_msg) + print("Error on line: {}".format(row)) + print("Error Message: {}".format(check_msg)) assert check_val != False if os not in used_os: used_os.append(os) From a014197b457c1b0625890830bbc2ea1dabd0d3f8 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 11 May 2018 12:30:19 -0400 Subject: [PATCH 045/628] Fix HP Procurve show_vlans template (failing py.test) --- templates/hp_procurve_show_vlans.template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/hp_procurve_show_vlans.template b/templates/hp_procurve_show_vlans.template index 0000531e57..23524275b6 100644 --- a/templates/hp_procurve_show_vlans.template +++ b/templates/hp_procurve_show_vlans.template @@ -1,5 +1,5 @@ Value VLAN_ID (\d+) -Value NAME ([\S+\s+].*(?=\|)) +Value NAME (.*?) Value STATUS (\S+) Value VOICE (Yes|No) Value JUMBO (Yes|No) @@ -8,4 +8,6 @@ Start ^.*VLAN ID -> VLAN VLAN - ^\s+${VLAN_ID}\s+${NAME}\s+\|?\s?${STATUS}\s+${VOICE}\s+${JUMBO}? -> Record + ^\s+${VLAN_ID}\s+${NAME}\s+(\|\s+|)${STATUS}\s+${VOICE}(\s+${JUMBO}|)\s*$$ -> Record + ^\s+-+\s+-+\s+(\+\s+|)-+\s+-+(\s+-+|)\s*$$ + ^.*$$ -> Error \ No newline at end of file From 096e9c640fed91668ff6b23703a1a556fe027185 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 11 May 2018 12:34:40 -0400 Subject: [PATCH 046/628] Fix index file out of order --- templates/index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index b/templates/index index 2ae2af4848..d129e955b7 100644 --- a/templates/index +++ b/templates/index @@ -18,8 +18,8 @@ alcatel_sros_oam_mac-ping.template, .*, alcatel_sros, oam mac-pi[[ng]] arista_eos_show_mac_security_participants_detail.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] part[[icipants]] det[[ail]] arista_eos_show_mac_security_mka_counters.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] mk[[a]] count[[ers]] -arista_eos_show_mac_security_interface.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] arista_eos_show_interfaces_transceiver.template, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] +arista_eos_show_mac_security_interface.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] arista_eos_show_lldp_neighbors_detail.template, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] arista_eos_show_ip_interface_brief.template, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] arista_eos_show_interfaces_status.template, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] From 9c6df74b6a2f30c3427aa6f43aa55ba6e57f45b8 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 11 May 2018 12:39:23 -0400 Subject: [PATCH 047/628] Add trailing newline --- templates/hp_procurve_show_vlans.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/hp_procurve_show_vlans.template b/templates/hp_procurve_show_vlans.template index 23524275b6..aff0f9d0eb 100644 --- a/templates/hp_procurve_show_vlans.template +++ b/templates/hp_procurve_show_vlans.template @@ -10,4 +10,4 @@ Start VLAN ^\s+${VLAN_ID}\s+${NAME}\s+(\|\s+|)${STATUS}\s+${VOICE}(\s+${JUMBO}|)\s*$$ -> Record ^\s+-+\s+-+\s+(\+\s+|)-+\s+-+(\s+-+|)\s*$$ - ^.*$$ -> Error \ No newline at end of file + ^.*$$ -> Error From c568d500f8772bb4844efad99521d2359d3b813c Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Sat, 19 May 2018 00:47:58 -0400 Subject: [PATCH 048/628] INDEX: Fix index file out of order --- templates/index | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index b/templates/index index aff4b91a92..86ffe21f9b 100644 --- a/templates/index +++ b/templates/index @@ -19,12 +19,12 @@ alcatel_sros_oam_mac-ping.template, .*, alcatel_sros, oam mac-pi[[ng]] arista_eos_show_mac_security_participants_detail.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] part[[icipants]] det[[ail]] arista_eos_show_interfaces_transceiver_detail.template, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] de[[tail]] arista_eos_show_mac_security_mka_counters.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] mk[[a]] count[[ers]] +arista_eos_show_environment_temperature.template, .*, arista_eos, sh[[ow]] en[[vironment]] t[[emperature]] arista_eos_show_interfaces_transceiver.template, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] arista_eos_show_mac_security_interface.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] arista_eos_show_lldp_neighbors_detail.template, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] -arista_eos_show_environment_temperature.template, .*, arista_eos, sh[[ow]] en[[vironment]] t[[emperature]] -arista_eos_show_ip_interface_brief.template, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] arista_eos_show_environment_cooling.template, .*, arista_eos, sh[[ow]] en[[vironment]] c[[ooling]] +arista_eos_show_ip_interface_brief.template, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] arista_eos_show_interfaces_status.template, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] arista_eos_show_mac_address-table.template, .*, arista_eos, sh[[ow]] m[[ac]] ad[[dress-table]] arista_eos_show_ip_ospf_database.template, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] data[[base]] From d27dd6feccd85dd8de9313563b0ba543e5601034 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Sat, 19 May 2018 18:11:48 -0400 Subject: [PATCH 049/628] CISCO_IOS_SHOW_INTFS: Add new interface data --- .../cisco_ios_show_interfaces3.parsed | 240 +++++++++++++ .../cisco_ios_show_interfaces3.raw | 316 ++++++++++++++++++ 2 files changed, 556 insertions(+) create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.raw diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed new file mode 100644 index 0000000000..0e0e34932b --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed @@ -0,0 +1,240 @@ +--- +parsed_sample: + - address: '000f.352d.2381' + bandwidth: '100000 Kbit' + bia: '000f.352d.2381' + delay: '100 usec' + description: 'Connects to LAN' + duplex: 'Full Duplex' + encapsulation: '802.1Q Virtual LAN' + hardware_type: 'MV96340 Ethernet' + input_rate: '95000' + interface: 'GigabitEthernet0/0' + ip_address: '' + link_status: 'up' + mtu: '1500' + output_rate: '90000' + protocol_status: 'up' + queue_strategy: 'fifo' + speed: '100Mbps' + - address: '000f.352d.2381' + bandwidth: '100000 Kbit' + bia: '000f.352d.2381' + delay: '100 usec' + description: 'LAN' + duplex: '' + encapsulation: '802.1Q Virtual LAN' + hardware_type: 'MV96340 Ethernet' + input_rate: '' + interface: 'GigabitEthernet0/0.6' + ip_address: '192.27.6.129/26' + link_status: 'up' + mtu: '1500' + output_rate: '' + protocol_status: 'up' + queue_strategy: '' + speed: '' + - address: '000f.352d.2381' + bandwidth: '100000 Kbit' + bia: '000f.352d.2381' + delay: '100 usec' + description: 'Wireless LAN' + duplex: '' + encapsulation: '802.1Q Virtual LAN' + hardware_type: 'MV96340 Ethernet' + input_rate: '' + interface: 'GigabitEthernet0/0.44' + ip_address: '192.22.44.193/26' + link_status: 'up' + mtu: '1500' + output_rate: '' + protocol_status: 'up' + queue_strategy: '' + speed: '' + - address: '000f.352d.2381' + bandwidth: '100000 Kbit' + bia: '000f.352d.2381' + delay: '100 usec' + description: 'Voice LAN' + duplex: '' + encapsulation: '802.1Q Virtual LAN' + hardware_type: 'MV96340 Ethernet' + input_rate: '' + interface: 'GigabitEthernet0/0.188' + ip_address: '192.24.188.65/26' + link_status: 'up' + mtu: '1500' + output_rate: '' + protocol_status: 'up' + queue_strategy: '' + speed: '' + - address: '000f.352d.2381' + bandwidth: '100000 Kbit' + bia: '000f.352d.2381' + delay: '100 usec' + description: 'Native Vlan' + duplex: '' + encapsulation: '802.1Q Virtual LAN' + hardware_type: 'MV96340 Ethernet' + input_rate: '' + interface: 'GigabitEthernet0/0.666' + ip_address: '' + link_status: 'up' + mtu: '1500' + output_rate: '' + protocol_status: 'up' + queue_strategy: '' + speed: '' + - address: '000f.352d.2382' + bandwidth: '1000000 Kbit' + bia: '000f.352d.2382' + delay: '10 usec' + description: 'NOT IN USE' + duplex: 'Auto Duplex' + encapsulation: 'ARPA' + hardware_type: 'MV96340 Ethernet' + input_rate: '0' + interface: 'GigabitEthernet0/1' + ip_address: '' + link_status: 'administratively down' + mtu: '1500' + output_rate: '0' + protocol_status: 'down' + queue_strategy: 'fifo' + speed: 'Auto Speed' + - address: 'b838.6148.8780' + bandwidth: '10000 Kbit' + bia: 'b838.6148.8780' + delay: '100 usec' + description: 'connection to Provider' + encapsulation: '802.1Q Virtual LAN' + duplex: 'Full-duplex' + hardware_type: 'FastEthernet' + input_rate: '96000' + interface: 'FastEthernet0/1/0' + ip_address: '' + link_status: 'up' + mtu: '1500' + output_rate: '111000' + protocol_status: 'up' + queue_strategy: 'Class-based queueing' + speed: '100Mb/s' + - address: 'b838.6148.8780' + bandwidth: '10000 Kbit' + bia: 'b838.6148.8780' + delay: '100 usec' + description: 'AVPN Circuit' + duplex: '' + encapsulation: '802.1Q Virtual LAN' + hardware_type: 'FastEthernet' + input_rate: '' + interface: 'FastEthernet0/1/0.50' + ip_address: '192.20.194.29/30' + link_status: 'up' + mtu: '1500' + output_rate: '' + protocol_status: 'up' + queue_strategy: '' + speed: '' + - address: 'b838.6148.8781' + bandwidth: '100000 Kbit' + bia: 'b838.6148.8781' + delay: '100 usec' + description: 'NOT IN USE' + duplex: 'Auto-duplex' + encapsulation: 'ARPA' + hardware_type: 'FastEthernet' + input_rate: '0' + interface: 'FastEthernet0/1/1' + ip_address: '' + link_status: 'administratively down' + mtu: '1500' + output_rate: '0' + protocol_status: 'down' + queue_strategy: 'fifo' + speed: 'Auto Speed' + - address: '' + bandwidth: '8000000 Kbit' + bia: '' + delay: '5000 usec' + description: 'Loopback Interface' + duplex: '' + encapsulation: 'LOOPBACK' + hardware_type: 'Loopback' + input_rate: '0' + interface: 'Loopback0' + ip_address: '192.20.0.144/32' + link_status: 'up' + mtu: '1514' + protocol_status: 'up' + output_rate: '0' + queue_strategy: 'fifo' + speed: '' + - address: '' + bandwidth: '100 Kbit' + bia: '' + delay: '50000 usec' + description: '' + duplex: '' + encapsulation: 'TUNNEL' + hardware_type: 'Tunnel' + input_rate: '0' + interface: 'Tunnel0' + ip_address: '' + link_status: 'up' + mtu: '17912' + output_rate: '0' + protocol_status: 'up' + queue_strategy: 'fifo' + speed: '' + - address: '' + bandwidth: '100 Kbit' + bia: '' + delay: '50000 usec' + description: '' + duplex: '' + encapsulation: 'TUNNEL' + hardware_type: 'Tunnel' + input_rate: '0' + interface: 'Tunnel1' + ip_address: '' + link_status: 'up' + mtu: '17912' + output_rate: '0' + protocol_status: 'up' + queue_strategy: 'fifo' + speed: '' + - address: '' + bandwidth: '100 Kbit' + bia: '' + delay: '50000 usec' + description: '' + duplex: '' + encapsulation: 'TUNNEL' + hardware_type: 'Tunnel' + input_rate: '0' + interface: 'Tunnel2' + ip_address: '' + link_status: 'up' + mtu: '17912' + output_rate: '0' + protocol_status: 'up' + queue_strategy: 'fifo' + speed: '' + - address: '' + bandwidth: '100 Kbit' + bia: '' + delay: '50000 usec' + description: '' + duplex: '' + encapsulation: 'TUNNEL' + hardware_type: 'Tunnel' + input_rate: '0' + interface: 'Tunnel3' + ip_address: '' + link_status: 'up' + mtu: '17912' + output_rate: '0' + protocol_status: 'up' + queue_strategy: 'fifo' + speed: '' diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.raw b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.raw new file mode 100644 index 0000000000..7f6862aa5a --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.raw @@ -0,0 +1,316 @@ +GigabitEthernet0/0 is up, line protocol is up + Hardware is MV96340 Ethernet, address is 000f.352d.2381 (bia 000f.352d.2381) + Description: Connects to LAN + MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation 802.1Q Virtual LAN, Vlan ID 1., loopback not set + Keepalive set (10 sec) + Full Duplex, 100Mbps, media type is T + output flow-control is XON, input flow-control is XON + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:24, output 00:00:00, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 30 second input rate 95000 bits/sec, 57 packets/sec + 30 second output rate 90000 bits/sec, 54 packets/sec + 338297234 packets input, 728401053 bytes, 0 no buffer + Received 3192290 broadcasts (8982 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 watchdog, 0 multicast, 0 pause input + 336857668 packets output, 917906120 bytes, 0 underruns + 0 output errors, 0 collisions, 2 interface resets + 135 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 7 lost carrier, 0 no carrier, 0 pause output + 0 output buffer failures, 0 output buffers swapped out +GigabitEthernet0/0.6 is up, line protocol is up + Hardware is MV96340 Ethernet, address is 000f.352d.2381 (bia 000f.352d.2381) + Description: LAN + Internet address is 192.27.6.129/26 + MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation 802.1Q Virtual LAN, Vlan ID 6. + ARP type: ARPA, ARP Timeout 04:00:00 + Keepalive set (10 sec) + Last clearing of "show interface" counters never +GigabitEthernet0/0.44 is up, line protocol is up + Hardware is MV96340 Ethernet, address is 000f.352d.2381 (bia 000f.352d.2381) + Description: Wireless LAN + Internet address is 192.22.44.193/26 + MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation 802.1Q Virtual LAN, Vlan ID 44. + ARP type: ARPA, ARP Timeout 04:00:00 + Keepalive set (10 sec) + Last clearing of "show interface" counters never +GigabitEthernet0/0.188 is up, line protocol is up + Hardware is MV96340 Ethernet, address is 000f.352d.2381 (bia 000f.352d.2381) + Description: Voice LAN + Internet address is 192.24.188.65/26 + MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation 802.1Q Virtual LAN, Vlan ID 188. + ARP type: ARPA, ARP Timeout 04:00:00 + Keepalive set (10 sec) + Last clearing of "show interface" counters never +GigabitEthernet0/0.666 is up, line protocol is up + Hardware is MV96340 Ethernet, address is 000f.352d.2381 (bia 000f.352d.2381) + Description: Native Vlan + MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation 802.1Q Virtual LAN, Vlan ID 888. + ARP type: ARPA, ARP Timeout 04:00:00 + Keepalive set (10 sec) + Last clearing of "show interface" counters never +GigabitEthernet0/1 is administratively down, line protocol is down + Hardware is MV96340 Ethernet, address is 000f.352d.2382 (bia 000f.352d.2382) + Description: NOT IN USE + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Auto Duplex, Auto Speed, media type is T + output flow-control is XON, input flow-control is XON + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 watchdog, 0 multicast, 0 pause input + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 0 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 2 lost carrier, 0 no carrier, 0 pause output + 0 output buffer failures, 0 output buffers swapped out +FastEthernet0/1/0 is up, line protocol is up + Hardware is FastEthernet, address is b838.6148.8780 (bia b838.6148.8780) + Description: connection to Provider + MTU 1500 bytes, BW 10000 Kbit/sec, DLY 100 usec, + reliability 255/255, txload 2/255, rxload 2/255 + Encapsulation 802.1Q Virtual LAN, Vlan ID 1., loopback not set + Keepalive set (10 sec) + Full-duplex, 100Mb/s, 100BaseTX/FX + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:00, output 00:00:00, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 1063 + Queueing strategy: Class-based queueing + Output queue: 0/1000/0 (size/max total/drops) + 30 second input rate 96000 bits/sec, 63 packets/sec + 30 second output rate 111000 bits/sec, 67 packets/sec + 338645504 packets input, 2415768496 bytes + Received 0 broadcasts (401278 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 watchdog + 0 input packets with dribble condition detected + 350115018 packets output, 1559928782 bytes, 0 underruns + 0 output errors, 0 collisions, 4 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 3 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +FastEthernet0/1/0.50 is up, line protocol is up + Hardware is FastEthernet, address is b838.6148.8780 (bia b838.6148.8780) + Description: AVPN Circuit + Internet address is 192.20.194.29/30 + MTU 1500 bytes, BW 10000 Kbit/sec, DLY 100 usec, + reliability 255/255, txload 2/255, rxload 2/255 + Encapsulation 802.1Q Virtual LAN, Vlan ID 50. + ARP type: ARPA, ARP Timeout 04:00:00 + Keepalive set (10 sec) + Last clearing of "show interface" counters never +FastEthernet0/1/1 is administratively down, line protocol is down + Hardware is FastEthernet, address is b838.6148.8781 (bia b838.6148.8781) + Description: NOT IN USE + MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Auto-duplex, Auto Speed, 100BaseTX/FX + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes + Received 0 broadcasts (0 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 watchdog + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +Loopback0 is up, line protocol is up + Hardware is Loopback + Description: Loopback Interface + Internet address is 192.20.0.144/32 + MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation LOOPBACK, loopback not set + Keepalive set (10 sec) + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/0 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 2292 packets input, 457464 bytes, 0 no buffer + Received 0 broadcasts (0 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 0 interface resets + 0 unknown protocol drops + 0 output buffer failures, 0 output buffers swapped out +Tunnel0 is up, line protocol is up + Hardware is Tunnel + Interface is unnumbered. Using address of FastEthernet0/1/0.50 (192.20.194.29) + MTU 17912 bytes, BW 100 Kbit/sec, DLY 50000 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation TUNNEL, loopback not set + Keepalive not set + Tunnel source 192.20.194.29 (FastEthernet0/1/0.50), destination 192.20.18.147 + Tunnel Subblocks: + src-track: + Tunnel0 source tracking subblock associated with FastEthernet0/1/0.50 + Set of tunnels with source FastEthernet0/1/0.50, 4 members (includes iterators), on interface + Tunnel protocol/transport PIM/IPv4 + Tunnel TOS/Traffic Class 0xC0, Tunnel TTL 255 + Tunnel transport MTU 1472 bytes + Tunnel is transmit only + Tunnel transmit bandwidth 8000 (kbps) + Tunnel receive bandwidth 8000 (kbps) + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/0 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 0 interface resets + 0 unknown protocol drops + 0 output buffer failures, 0 output buffers swapped out +Tunnel1 is up, line protocol is up + Hardware is Tunnel + Interface is unnumbered. Using address of FastEthernet0/1/0.50 (192.20.194.29) + MTU 17912 bytes, BW 100 Kbit/sec, DLY 50000 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation TUNNEL, loopback not set + Keepalive not set + Tunnel source 192.20.194.29 (FastEthernet0/1/0.50), destination 192.20.18.148 + Tunnel Subblocks: + src-track: + Tunnel1 source tracking subblock associated with FastEthernet0/1/0.50 + Set of tunnels with source FastEthernet0/1/0.50, 4 members (includes iterators), on interface + Tunnel protocol/transport PIM/IPv4 + Tunnel TOS/Traffic Class 0xC0, Tunnel TTL 255 + Tunnel transport MTU 1472 bytes + Tunnel is transmit only + Tunnel transmit bandwidth 8000 (kbps) + Tunnel receive bandwidth 8000 (kbps) + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/0 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 0 interface resets + 0 unknown protocol drops + 0 output buffer failures, 0 output buffers swapped out +Tunnel2 is up, line protocol is up + Hardware is Tunnel + Interface is unnumbered. Using address of FastEthernet0/1/0.50 (192.20.194.29) + MTU 17912 bytes, BW 100 Kbit/sec, DLY 50000 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation TUNNEL, loopback not set + Keepalive not set + Tunnel source 192.20.194.29 (FastEthernet0/1/0.50), destination 192.29.0.2 + Tunnel Subblocks: + src-track: + Tunnel2 source tracking subblock associated with FastEthernet0/1/0.50 + Set of tunnels with source FastEthernet0/1/0.50, 4 members (includes iterators), on interface + Tunnel protocol/transport PIM/IPv4 + Tunnel TOS/Traffic Class 0xC0, Tunnel TTL 255 + Tunnel transport MTU 1472 bytes + Tunnel is transmit only + Tunnel transmit bandwidth 8000 (kbps) + Tunnel receive bandwidth 8000 (kbps) + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/0 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 0 interface resets + 0 unknown protocol drops + 0 output buffer failures, 0 output buffers swapped out +Tunnel3 is up, line protocol is up + Hardware is Tunnel + Interface is unnumbered. Using address of FastEthernet0/1/0.50 (192.20.194.29) + MTU 17912 bytes, BW 100 Kbit/sec, DLY 50000 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation TUNNEL, loopback not set + Keepalive not set + Tunnel source 192.20.194.29 (FastEthernet0/1/0.50), destination 192.29.0.3 + Tunnel Subblocks: + src-track: + Tunnel3 source tracking subblock associated with FastEthernet0/1/0.50 + Set of tunnels with source FastEthernet0/1/0.50, 4 members (includes iterators), on interface + Tunnel protocol/transport PIM/IPv4 + Tunnel TOS/Traffic Class 0xC0, Tunnel TTL 255 + Tunnel transport MTU 1472 bytes + Tunnel is transmit only + Tunnel transmit bandwidth 8000 (kbps) + Tunnel receive bandwidth 8000 (kbps) + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/0 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 0 interface resets + 0 unknown protocol drops + 0 output buffer failures, 0 output buffers swapped out From 440b9e9fae14ed4d6f21edae5eaf477ee4578ca6 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Sat, 19 May 2018 18:12:13 -0400 Subject: [PATCH 050/628] CISCO_IOS_SHOW_INTFS: Adjust template to account for new data --- templates/cisco_ios_show_interfaces.template | 41 ++++++++++---------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/templates/cisco_ios_show_interfaces.template b/templates/cisco_ios_show_interfaces.template index 3b45d638f1..b6157ce9cf 100644 --- a/templates/cisco_ios_show_interfaces.template +++ b/templates/cisco_ios_show_interfaces.template @@ -1,30 +1,31 @@ Value Required INTERFACE (\S+) -Value LINK_STATUS (\w+) -Value PROTOCOL_STATUS (.*) +Value LINK_STATUS (.+?) +Value PROTOCOL_STATUS (.+?) Value HARDWARE_TYPE ([\w ]+) -Value ADDRESS ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) -Value BIA ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) -Value DESCRIPTION (.*) +Value ADDRESS ([a-fA-F0-9]{4}\.[a-fA-F0-9]{4}\.[a-fA-F0-9]{4}) +Value BIA ([a-fA-F0-9]{4}\.[a-fA-F0-9]{4}\.[a-fA-F0-9]{4}) +Value DESCRIPTION (.+?) Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) Value MTU (\d+) -Value DUPLEX (.+?) -Value SPEED (.+?) +Value DUPLEX (([Ff]ull|[Aa]uto|[Hh]alf).*?) +Value SPEED (.*?) Value BANDWIDTH (\d+\s+\w+) Value DELAY (\d+\s+\w+) -Value ENCAPSULATION (\w+) -Value QUEUE_STRATEGY (.*) +Value ENCAPSULATION (.+?) +Value QUEUE_STRATEGY (.+) Value INPUT_RATE (\d+) Value OUTPUT_RATE (\d+) Start - ^${INTERFACE} is ${LINK_STATUS}.*protocol is ${PROTOCOL_STATUS} - ^\s+Hardware is ${HARDWARE_TYPE} -> Continue - ^.*address is ${ADDRESS}.*bia ${BIA} - ^\s+Description: ${DESCRIPTION} - ^\s+Internet address is ${IP_ADDRESS} - ^\s+MTU ${MTU}.*BW ${BANDWIDTH}.*DLY ${DELAY} - ^\s+Encapsulation ${ENCAPSULATION} - ^\s+Queueing strategy: ${QUEUE_STRATEGY} - ^\s+${DUPLEX}, ${SPEED}, media type - ^.*input rate ${INPUT_RATE} - ^.*output rate ${OUTPUT_RATE} -> Record + ^\S+\s+is\s+.+?,\s+line\s+protocol.*$$ -> Continue.Record + ^${INTERFACE}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}\s*$$ + ^\s+Hardware\s+is\s+${HARDWARE_TYPE} -> Continue + ^.+address\s+is\s+${ADDRESS}\s+\(bia\s+${BIA}\)\s*$$ + ^\s+Description:\s+${DESCRIPTION}\s*$$ + ^\s+Internet\s+address\s+is\s+${IP_ADDRESS}\s*$$ + ^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY},\s*$$ + ^\s+Encapsulation\s+${ENCAPSULATION},.+$$ + ^\s+Queueing\s+strategy:\s+${QUEUE_STRATEGY}\s*$$ + ^\s+${DUPLEX},\s+${SPEED},.+$$ + ^.*input\s+rate\s+${INPUT_RATE}.+$$ + ^.*output\s+rate\s+${OUTPUT_RATE}.+$$ From 8140ddb8113af8e56b4016807f500d7af9f94d14 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Sat, 19 May 2018 18:12:53 -0400 Subject: [PATCH 051/628] CISCO_IOS_SHOW_INTFS: Adjust speed parsing to only exclude link setting --- .../show_interfaces/cisco_ios_show_interfaces.parsed | 10 +++++----- .../show_interfaces/cisco_ios_show_interfaces2.parsed | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed index 23d90f8656..683392050c 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed @@ -17,7 +17,7 @@ parsed_sample: output_rate: '0' protocol_status: down (notconnect) queue_strategy: fifo - speed: Auto-speed, link type is auto + speed: Auto-speed - address: fa16.3e4f.41cc bandwidth: 1000000 Kbit bia: fa16.3e4f.41cc @@ -34,7 +34,7 @@ parsed_sample: output_rate: '0' protocol_status: up (connected) queue_strategy: fifo - speed: Auto-speed, link type is auto + speed: Auto-speed - address: fa16.3ea3.3e49 bandwidth: 1000000 Kbit bia: fa16.3ea3.3e49 @@ -51,7 +51,7 @@ parsed_sample: output_rate: '1000' protocol_status: up (connected) queue_strategy: fifo - speed: Auto-speed, link type is auto + speed: Auto-speed - address: fa16.3e31.2c47 bandwidth: 1000000 Kbit bia: fa16.3e31.2c47 @@ -68,7 +68,7 @@ parsed_sample: output_rate: '1000' protocol_status: up (connected) queue_strategy: fifo - speed: Auto-speed, link type is auto + speed: Auto-speed - address: fa16.3ec8.50ab bandwidth: 1000000 Kbit bia: fa16.3ec8.50ab @@ -85,7 +85,7 @@ parsed_sample: output_rate: '2000' protocol_status: up (connected) queue_strategy: fifo - speed: Auto-speed, link type is auto + speed: Auto-speed - address: fa16.3e4f.41cc bandwidth: 100000 Kbit bia: fa16.3e4f.41cc diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed index 79b79bc935..c6e9494e4a 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed @@ -901,7 +901,7 @@ parsed_sample: output_rate: '0' protocol_status: down (notconnect) queue_strategy: fifo - speed: Auto-speed, link type is auto + speed: Auto-speed - address: 0014.1c57.a482 bandwidth: 10000 Kbit bia: 0014.1c57.a482 @@ -918,7 +918,7 @@ parsed_sample: output_rate: '0' protocol_status: down (notconnect) queue_strategy: fifo - speed: Auto-speed, link type is auto + speed: Auto-speed - address: 0014.1c57.a49b bandwidth: 10000 Kbit bia: 0014.1c57.a49b @@ -935,7 +935,7 @@ parsed_sample: output_rate: '0' protocol_status: down (notconnect) queue_strategy: fifo - speed: Auto-speed, link type is auto + speed: Auto-speed - address: 0014.1c57.a49c bandwidth: 10000 Kbit bia: 0014.1c57.a49c @@ -952,4 +952,4 @@ parsed_sample: output_rate: '0' protocol_status: down (notconnect) queue_strategy: fifo - speed: Auto-speed, link type is auto + speed: Auto-speed From 0f70e53edf3ae96533f7d34cd9dd6976db28856b Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Sat, 19 May 2018 20:29:07 -0400 Subject: [PATCH 052/628] CISCO_NXOS_SHOW_CDP_NEI: Add test data per raised issue --- .../cisco_nxos_show_cdp_neighbors2.parsed | 38 +++++++++++++++++++ .../cisco_nxos_show_cdp_neighbors2.raw | 19 ++++++++++ 2 files changed, 57 insertions(+) create mode 100644 tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.parsed create mode 100644 tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.raw diff --git a/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.parsed b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.parsed new file mode 100644 index 0000000000..2d7dbc282d --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.parsed @@ -0,0 +1,38 @@ +--- +parsed_sample: + - neighbor: 'my-dc1-mgt-sw1(FOC213230KP)' + local_interface: 'mgmt0' + holdtime: '138' + capability: 'R S I s' + platform: 'N3K-C3172PQ-XL' + neighbor_interface: 'Eth1/48' + - neighbor: 'lx-dc1-server01.mynetwork.com' + local_interface: 'Eth1/1/1' + holdtime: '109' + capability: 'H' + platform: 'Linux' + neighbor_interface: 'eth9' + - neighbor: 'lx-dc1-server02.mynetwork.com' + local_interface: 'Eth1/1/2' + holdtime: '106' + capability: 'H' + platform: 'Linux' + neighbor_interface: 'eth9' + - neighbor: 'lx-dc1-server03.mynetwork.com' + local_interface: 'Eth1/1/3' + holdtime: '91' + capability: 'H' + platform: 'Linux' + neighbor_interface: 'eth9' + - neighbor: 'lx-dc1-server04.mynetwork.com' + local_interface: 'Eth1/1/4' + holdtime: '112' + capability: 'H' + platform: 'Linux' + neighbor_interface: 'eth9' + - neighbor: 'lx-dc1-server05.mynetwork.com' + local_interface: 'Eth1/2/1' + holdtime: '100' + capability: 'H' + platform: 'Linux' + neighbor_interface: 'eth9' diff --git a/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.raw b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.raw new file mode 100644 index 0000000000..3aee4de71f --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.raw @@ -0,0 +1,19 @@ +Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge + S - Switch, H - Host, I - IGMP, r - Repeater, + V - VoIP-Phone, D - Remotely-Managed-Device, + s - Supports-STP-Dispute + + +Device-ID Local Intrfce Hldtme Capability Platform Port ID +my-dc1-mgt-sw1(FOC213230KP) + mgmt0 138 R S I s N3K-C3172PQ-XL Eth1/48 +lx-dc1-server01.mynetwork.com + Eth1/1/1 109 H Linux eth9 +lx-dc1-server02.mynetwork.com + Eth1/1/2 106 H Linux eth9 +lx-dc1-server03.mynetwork.com + Eth1/1/3 91 H Linux eth9 +lx-dc1-server04.mynetwork.com + Eth1/1/4 112 H Linux eth9 +lx-dc1-server05.mynetwork.com + Eth1/2/1 100 H Linux eth9 From f8e41984dd78f9b789571d2ea1e687bf35a83957 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Sat, 19 May 2018 20:29:40 -0400 Subject: [PATCH 053/628] CISCO_NXOS_SHOW_CDP_NEI: Add new capture groups to resolve issue --- .../cisco_nxos_show_cdp_neighbors.template | 12 +++++---- .../cisco_nxos_show_cdp_neighbors.parsed | 26 +++++++++++++++---- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/templates/cisco_nxos_show_cdp_neighbors.template b/templates/cisco_nxos_show_cdp_neighbors.template index e8f98a469f..1ffdae8686 100644 --- a/templates/cisco_nxos_show_cdp_neighbors.template +++ b/templates/cisco_nxos_show_cdp_neighbors.template @@ -1,12 +1,14 @@ -Value Filldown NEIGHBOR (\S+) +Value Required,Filldown NEIGHBOR (\S+) Value Required LOCAL_INTERFACE (\S+) +Value HOLDTIME (\d+) +Value CAPABILITY ([\w\s]+?) +Value PLATFORM (\S+) Value NEIGHBOR_INTERFACE (\S+) Start ^Device.*ID -> CDP CDP - ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+[\w\s]+\S+\s+${NEIGHBOR_INTERFACE} -> Record - ^${NEIGHBOR} - ^\s+${LOCAL_INTERFACE}\s+\d+\s+[\w\s]+\S+\s+${NEIGHBOR_INTERFACE} -> Record - + ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+${HOLDTIME}\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record + ^${NEIGHBOR}\s*$$ + ^\s+${LOCAL_INTERFACE}\s+${HOLDTIME}\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record diff --git a/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.parsed b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.parsed index e04293ed4c..1c57049a7b 100644 --- a/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.parsed +++ b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.parsed @@ -2,33 +2,49 @@ parsed_sample: - neighbor: "PERIMETER" local_interface: "mgmt0" + holdtime: '179' + capability: 'R S I' + platform: 'WS-C3750-48TS' neighbor_interface: "Fas1/0/9" - neighbor: "N9K2_TEST.lab.com(SAL1819S6BE)" local_interface: "Eth1/1" + holdtime: '133' + capability: 'R S s' + platform: 'N9K-C9396PX' neighbor_interface: "Eth1/1" - neighbor: "N9K2_TEST.lab.com(SAL1819S6BE)" local_interface: "Eth1/2" + holdtime: '154' + capability: 'R S s' + platform: 'N9K-C9396PX' neighbor_interface: "Eth1/2" - neighbor: "savbu-qa-dist-120" local_interface: "mgmt1" + holdtime: '177' + capability: 'S I' + platform: 'WS-C3750E-24T' neighbor_interface: "Gig1/0/13" - neighbor: "swor96(SSI13110AAQ)" local_interface: "Eth1/17" + holdtime: '165' + capability: 'S I s' + platform: 'N5K-C5010P-BF' neighbor_interface: "Eth1/19" - neighbor: "test" local_interface: "mgmt0" + holdtime: '1' + capability: 'S I S I d' + platform: 'WS-C3750E-24T' neighbor_interface: "Gig1/0/13" - neighbor: "new_test" local_interface: "Eth1/10" + holdtime: '20' + capability: 'S' + platform: 'N5k' neighbor_interface: "Eth2/1" - - - - - From 7863523d5c1d54358e52a602e7eef07af09266ca Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 21:55:22 -0400 Subject: [PATCH 054/628] Update test_index_order.py --- tests/test_index_order.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_index_order.py b/tests/test_index_order.py index ef8d4415bf..86938eeccc 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -64,7 +64,7 @@ def test_index_ordering(): 'a10', 'alcatel_sros', 'arista_eos', 'aruba_os', 'avaya_ers', 'avaya_vsp', 'brocade_fastiron', 'brocade_netiron', 'brocade_nos', 'brocade_vdx', 'brocade_vyos', 'checkpoint_gaia', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', 'cisco_wlc', - 'cisco_xe', 'cisco_xr','dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', + 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh', 'vmware_nsxv', 'vyatta_vyos', 'vyos' ] From c420ed7bff9739a45e83f1cf2c6550fb4eb42b99 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:29:37 -0400 Subject: [PATCH 055/628] Rename fw_stat.parsed to checkpoint_gaia_fw_stat.parsed --- .../fw_stat/{fw_stat.parsed => checkpoint_gaia_fw_stat.parsed} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/fw_stat/{fw_stat.parsed => checkpoint_gaia_fw_stat.parsed} (100%) diff --git a/tests/checkpoint_gaia/fw_stat/fw_stat.parsed b/tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.parsed similarity index 100% rename from tests/checkpoint_gaia/fw_stat/fw_stat.parsed rename to tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.parsed From 432363ed872ccce9cd9cd0b44a438e0eb37eba99 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:29:51 -0400 Subject: [PATCH 056/628] Rename fw_stat.raw to checkpoint_gaia_fw_stat.raw --- .../fw_stat/{fw_stat.raw => checkpoint_gaia_fw_stat.raw} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/fw_stat/{fw_stat.raw => checkpoint_gaia_fw_stat.raw} (100%) diff --git a/tests/checkpoint_gaia/fw_stat/fw_stat.raw b/tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.raw similarity index 100% rename from tests/checkpoint_gaia/fw_stat/fw_stat.raw rename to tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.raw From ce2cffcf6aca1c6746f3eafe3487d540373a4e90 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:30:08 -0400 Subject: [PATCH 057/628] Rename show_asset_all.parsed to checkpoint_gaia_show_asset_all.parsed --- ...how_asset_all.parsed => checkpoint_gaia_show_asset_all.parsed} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_asset_all/{show_asset_all.parsed => checkpoint_gaia_show_asset_all.parsed} (100%) diff --git a/tests/checkpoint_gaia/show_asset_all/show_asset_all.parsed b/tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.parsed similarity index 100% rename from tests/checkpoint_gaia/show_asset_all/show_asset_all.parsed rename to tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.parsed From c3fd78fa39b16923b22f41c37e2787e06df847c9 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:30:22 -0400 Subject: [PATCH 058/628] Rename show_asset_all.raw to checkpoint_gaia_show_asset_all.raw --- .../{show_asset_all.raw => checkpoint_gaia_show_asset_all.raw} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_asset_all/{show_asset_all.raw => checkpoint_gaia_show_asset_all.raw} (100%) diff --git a/tests/checkpoint_gaia/show_asset_all/show_asset_all.raw b/tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.raw similarity index 100% rename from tests/checkpoint_gaia/show_asset_all/show_asset_all.raw rename to tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.raw From 456ee5ebfa41a938312da12efff2095a441a6aa0 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:30:35 -0400 Subject: [PATCH 059/628] Rename show_domainname.parsed to checkpoint_gaia_show_domainname.parsed --- ...w_domainname.parsed => checkpoint_gaia_show_domainname.parsed} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_domainname/{show_domainname.parsed => checkpoint_gaia_show_domainname.parsed} (100%) diff --git a/tests/checkpoint_gaia/show_domainname/show_domainname.parsed b/tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.parsed similarity index 100% rename from tests/checkpoint_gaia/show_domainname/show_domainname.parsed rename to tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.parsed From 13879cc2414d35a011ab8bd78da4d72e126afc1f Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:30:46 -0400 Subject: [PATCH 060/628] Rename show_domainname.raw to checkpoint_gaia_show_domainname.raw --- .../{show_domainname.raw => checkpoint_gaia_show_domainname.raw} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_domainname/{show_domainname.raw => checkpoint_gaia_show_domainname.raw} (100%) diff --git a/tests/checkpoint_gaia/show_domainname/show_domainname.raw b/tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.raw similarity index 100% rename from tests/checkpoint_gaia/show_domainname/show_domainname.raw rename to tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.raw From 2a11ba0afcafe8b56b29581bbc1fa3a60d95817e Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:31:01 -0400 Subject: [PATCH 061/628] Rename show_interfaces_all.parsed to checkpoint_gaia_show_interfaces_all.parsed --- ...aces_all.parsed => checkpoint_gaia_show_interfaces_all.parsed} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_interfaces_all/{show_interfaces_all.parsed => checkpoint_gaia_show_interfaces_all.parsed} (100%) diff --git a/tests/checkpoint_gaia/show_interfaces_all/show_interfaces_all.parsed b/tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.parsed similarity index 100% rename from tests/checkpoint_gaia/show_interfaces_all/show_interfaces_all.parsed rename to tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.parsed From c47fa8044918479fc08925e671f9b3bc6bf269c0 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:31:16 -0400 Subject: [PATCH 062/628] Rename show_interfaces_all.raw to checkpoint_gaia_show_interfaces_all.raw --- ...interfaces_all.raw => checkpoint_gaia_show_interfaces_all.raw} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_interfaces_all/{show_interfaces_all.raw => checkpoint_gaia_show_interfaces_all.raw} (100%) diff --git a/tests/checkpoint_gaia/show_interfaces_all/show_interfaces_all.raw b/tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.raw similarity index 100% rename from tests/checkpoint_gaia/show_interfaces_all/show_interfaces_all.raw rename to tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.raw From 10d2be9b658dcc018574b8f1938725bbb47dc1a1 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:31:30 -0400 Subject: [PATCH 063/628] Rename show_ipv6_route.parsed to checkpoint_gaia_show_ipv6_route.parsed --- ...w_ipv6_route.parsed => checkpoint_gaia_show_ipv6_route.parsed} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_ipv6_route/{show_ipv6_route.parsed => checkpoint_gaia_show_ipv6_route.parsed} (100%) diff --git a/tests/checkpoint_gaia/show_ipv6_route/show_ipv6_route.parsed b/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.parsed similarity index 100% rename from tests/checkpoint_gaia/show_ipv6_route/show_ipv6_route.parsed rename to tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.parsed From 07e98f1edf119b234cf27872da859316ac379c1e Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:31:40 -0400 Subject: [PATCH 064/628] Rename show_ipv6_route.raw to checkpoint_gaia_show_ipv6_route.raw --- .../{show_ipv6_route.raw => checkpoint_gaia_show_ipv6_route.raw} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_ipv6_route/{show_ipv6_route.raw => checkpoint_gaia_show_ipv6_route.raw} (100%) diff --git a/tests/checkpoint_gaia/show_ipv6_route/show_ipv6_route.raw b/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.raw similarity index 100% rename from tests/checkpoint_gaia/show_ipv6_route/show_ipv6_route.raw rename to tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.raw From 1a367de21f518e1976696bac7889e3afbd630713 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:31:56 -0400 Subject: [PATCH 065/628] Rename show_lom.parsed to checkpoint_gaia_show_lom.parsed --- .../show_lom/{show_lom.parsed => checkpoint_gaia_show_lom.parsed} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_lom/{show_lom.parsed => checkpoint_gaia_show_lom.parsed} (100%) diff --git a/tests/checkpoint_gaia/show_lom/show_lom.parsed b/tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.parsed similarity index 100% rename from tests/checkpoint_gaia/show_lom/show_lom.parsed rename to tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.parsed From 2097a0764effe94e159476ff5a39e5ed75f19898 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:32:08 -0400 Subject: [PATCH 066/628] Rename show_lom.raw to checkpoint_gaia_show_lom.raw --- .../show_lom/{show_lom.raw => checkpoint_gaia_show_lom.raw} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_lom/{show_lom.raw => checkpoint_gaia_show_lom.raw} (100%) diff --git a/tests/checkpoint_gaia/show_lom/show_lom.raw b/tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.raw similarity index 100% rename from tests/checkpoint_gaia/show_lom/show_lom.raw rename to tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.raw From a698585f26b6430d74d834cb100a20a854b6a756 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:32:20 -0400 Subject: [PATCH 067/628] Rename show_route.parsed to checkpoint_gaia_show_route.parsed --- .../{show_route.parsed => checkpoint_gaia_show_route.parsed} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_route/{show_route.parsed => checkpoint_gaia_show_route.parsed} (100%) diff --git a/tests/checkpoint_gaia/show_route/show_route.parsed b/tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.parsed similarity index 100% rename from tests/checkpoint_gaia/show_route/show_route.parsed rename to tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.parsed From 6a9b89b52055c38586bd762d40e0551f06ff6b48 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:32:35 -0400 Subject: [PATCH 068/628] Rename show_route.raw to checkpoint_gaia_show_route.raw --- .../show_route/{show_route.raw => checkpoint_gaia_show_route.raw} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_route/{show_route.raw => checkpoint_gaia_show_route.raw} (100%) diff --git a/tests/checkpoint_gaia/show_route/show_route.raw b/tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.raw similarity index 100% rename from tests/checkpoint_gaia/show_route/show_route.raw rename to tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.raw From 0b91ca000cb93b67c94b908f16018d94664c8401 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:32:46 -0400 Subject: [PATCH 069/628] Rename show_version_all.parsed to checkpoint_gaia_show_version_all.parsed --- ...version_all.parsed => checkpoint_gaia_show_version_all.parsed} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_version_all/{show_version_all.parsed => checkpoint_gaia_show_version_all.parsed} (100%) diff --git a/tests/checkpoint_gaia/show_version_all/show_version_all.parsed b/tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.parsed similarity index 100% rename from tests/checkpoint_gaia/show_version_all/show_version_all.parsed rename to tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.parsed From 76de39f02f49fb456dd06af9391f6f0ac4005bb7 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 May 2018 23:33:02 -0400 Subject: [PATCH 070/628] Rename show_version_all.raw to checkpoint_gaia_show_version_all.raw --- ...{show_version_all.raw => checkpoint_gaia_show_version_all.raw} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/checkpoint_gaia/show_version_all/{show_version_all.raw => checkpoint_gaia_show_version_all.raw} (100%) diff --git a/tests/checkpoint_gaia/show_version_all/show_version_all.raw b/tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.raw similarity index 100% rename from tests/checkpoint_gaia/show_version_all/show_version_all.raw rename to tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.raw From 44c8edbf16334a50f4349afd456ab57b6e65b8ea Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 20 May 2018 00:11:19 -0400 Subject: [PATCH 071/628] Rename show_configuration_session_summary.raw to cisco_nxos_show_configuration_session_summary.raw --- ...mary.raw => cisco_nxos_show_configuration_session_summary.raw} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/cisco_nxos/show_configuration_session_summary/{show_configuration_session_summary.raw => cisco_nxos_show_configuration_session_summary.raw} (100%) diff --git a/tests/cisco_nxos/show_configuration_session_summary/show_configuration_session_summary.raw b/tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.raw similarity index 100% rename from tests/cisco_nxos/show_configuration_session_summary/show_configuration_session_summary.raw rename to tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.raw From 251fa1432df0747de9a03377ae046412b17a6bf9 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 20 May 2018 00:11:36 -0400 Subject: [PATCH 072/628] Rename show_configuration_session_summary.parsed to cisco_nxos_show_configuration_session_summary.parsed --- ...arsed => cisco_nxos_show_configuration_session_summary.parsed} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/cisco_nxos/show_configuration_session_summary/{show_configuration_session_summary.parsed => cisco_nxos_show_configuration_session_summary.parsed} (100%) diff --git a/tests/cisco_nxos/show_configuration_session_summary/show_configuration_session_summary.parsed b/tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.parsed similarity index 100% rename from tests/cisco_nxos/show_configuration_session_summary/show_configuration_session_summary.parsed rename to tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.parsed From e752c0a1f8ed80b2237bdc3e3f3806e699681a07 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 21 May 2018 23:16:40 -0400 Subject: [PATCH 073/628] fix index ordering --- templates/index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index b/templates/index index 7fc4f56531..ef6d6c8426 100644 --- a/templates/index +++ b/templates/index @@ -159,8 +159,8 @@ cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template, .*, cisco_xr, sh[[ow]] bg[[p]] v[[rf]] all ip[[v4]] uni[[cast]] summ[[ary]] cisco_xr_admin_show_controller_fabric_health.template, .*, cisco_xr, adm[[in]] sh[[ow]] controller fab[[ric]] hea[[lth]] -cisco_xr_show_configuration_commit_list.template, .*, cisco_xr, sh[[ow]] conf[[iguration]] c[[ommit]] l[[ist]] cisco_xr_show_controller_fabric_plane_all.template, .*, cisco_xr, sh[[ow]] controller fab[[ric]] pla[[ne]] all +cisco_xr_show_configuration_commit_list.template, .*, cisco_xr, sh[[ow]] conf[[iguration]] c[[ommit]] l[[ist]] cisco_xr_show_dhcp_ipv4_proxy_binding.template, .*, cisco_xr, sh[[ow]] dh[[cp]] ipv4 p[[roxy]] b[[inding]] cisco_xr_show_mpls_ldp_neighbor_brief.template, .*, cisco_xr, sh[[ow]] mp[[ls]] ld[[p]] neigh[[bor]] br[[ief]] cisco_xr_show_cdp_neighbors_detail.template, .*, cisco_xr, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] From 6765723cb8950e7df19fa8ec85d5459fbfc23ce8 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 22 May 2018 18:31:59 -0400 Subject: [PATCH 074/628] Change \w to use \S --- templates/cisco_nxos_show_cdp_neighbors.template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/cisco_nxos_show_cdp_neighbors.template b/templates/cisco_nxos_show_cdp_neighbors.template index 1ffdae8686..4b4eb21e4d 100644 --- a/templates/cisco_nxos_show_cdp_neighbors.template +++ b/templates/cisco_nxos_show_cdp_neighbors.template @@ -1,7 +1,7 @@ Value Required,Filldown NEIGHBOR (\S+) Value Required LOCAL_INTERFACE (\S+) Value HOLDTIME (\d+) -Value CAPABILITY ([\w\s]+?) +Value CAPABILITY ([\S+\s+]+?) Value PLATFORM (\S+) Value NEIGHBOR_INTERFACE (\S+) @@ -12,3 +12,5 @@ CDP ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+${HOLDTIME}\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record ^${NEIGHBOR}\s*$$ ^\s+${LOCAL_INTERFACE}\s+${HOLDTIME}\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record + + From ad3c3c112f4fbe1b6ae7be19c8c58d382f2ebd9a Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 22 May 2018 18:42:59 -0400 Subject: [PATCH 075/628] Change \w to use \S --- templates/cisco_ios_show_interfaces.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_interfaces.template b/templates/cisco_ios_show_interfaces.template index b6157ce9cf..c5a43d64ac 100644 --- a/templates/cisco_ios_show_interfaces.template +++ b/templates/cisco_ios_show_interfaces.template @@ -7,10 +7,10 @@ Value BIA ([a-fA-F0-9]{4}\.[a-fA-F0-9]{4}\.[a-fA-F0-9]{4}) Value DESCRIPTION (.+?) Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) Value MTU (\d+) -Value DUPLEX (([Ff]ull|[Aa]uto|[Hh]alf).*?) +Value DUPLEX (([Ff]ull|[Aa]uto|[Hh]alf|[Aa]-).*?) Value SPEED (.*?) Value BANDWIDTH (\d+\s+\w+) -Value DELAY (\d+\s+\w+) +Value DELAY (\d+\s+\S+) Value ENCAPSULATION (.+?) Value QUEUE_STRATEGY (.+) Value INPUT_RATE (\d+) From e29d21be2cab5090a3e294b734070070bc1337d1 Mon Sep 17 00:00:00 2001 From: jvanderaa Date: Tue, 22 May 2018 20:52:08 -0500 Subject: [PATCH 076/628] Update with virtual interfaces Added three virtual interface results on show interface. --- .../cisco_asa_show_interface.raw | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface.raw b/tests/cisco_asa/show_interface/cisco_asa_show_interface.raw index 4c7dce9e6e..7607cdf1b0 100644 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface.raw +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface.raw @@ -86,3 +86,26 @@ Interface Management0/0 "mgmt", is up, line protocol is up 5 minute output rate 0 pkts/sec, 11 bytes/sec 5 minute drop rate, 0 pkts/sec Management-only interface. Blocked 0 through-the-device packets +Interface DMZ "DMZ", is up, line protocol is up + Description: DMZ (Vl3) + MAC address fa16.3eb0.c3d3, MTU 1500 + IP address 10.6.2.1, subnet mask 255.255.255.0 + Traffic Statistics for "DMZ": + 10797302304 packets input, 7672861881962 bytes + 4822409435 packets output, 1511083097851 bytes + 868027 packets dropped +Interface outside "outside-3", is up, line protocol is up + Description: outside(Vl2) + MAC address fa16.3eb0.c3d3, MTU 1500 + IP address 10.12.16.237, subnet mask 255.255.255.248 + Traffic Statistics for "outside-3": + 668040831 packets input, 193650939031 bytes + 700470696 packets output, 316092320235 bytes + 26397124 packets dropped +Interface inside "inside", is up, line protocol is up + MAC address fa16.3eb0.c3d3, MTU 1500 + IP address 10.6.10.1, subnet mask 255.255.255.0 + Traffic Statistics for "inside": + 7645054611 packets input, 2415587779568 bytes + 4906203211 packets output, 778812612541 bytes + 32105760 packets dropped From d2bf674d56cde51e70f2a7f4fb6c40c28e2a4877 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Wed, 23 May 2018 00:01:13 -0400 Subject: [PATCH 077/628] Add parsed data to go with additional raw examples --- .../cisco_asa_show_interface.parsed | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface.parsed b/tests/cisco_asa/show_interface/cisco_asa_show_interface.parsed index 24efce33ab..361248e445 100644 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface.parsed +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface.parsed @@ -73,3 +73,75 @@ parsed_sample: onemin_out_rate: '117' protocol_status: up speed: 1000 Mbps +- address: 'fa16.3eb0.c3d3' + bandwidth: '' + delay: '' + description: 'DMZ (Vl3)' + duplex: '' + fivemin_drop_rate: '' + fivemin_in_pps: '' + fivemin_in_rate: '' + fivemin_out_pps: '' + fivemin_out_rate: '' + hardware_type: '' + interface: 'DMZ' + interface_zone: 'DMZ' + ip_address: '10.6.2.1' + link_status: 'up' + mtu: '1500' + net_mask: '255.255.255.0' + onemin_drop_rate: '' + onemin_in_pps: '' + onemin_in_rate: '' + onemin_out_pps: '' + onemin_out_rate: '' + protocol_status: 'up' + speed: '' +- address: 'fa16.3eb0.c3d3' + bandwidth: '' + delay: '' + description: 'outside(Vl2)' + duplex: '' + fivemin_drop_rate: '' + fivemin_in_pps: '' + fivemin_in_rate: '' + fivemin_out_pps: '' + fivemin_out_rate: '' + hardware_type: '' + interface: 'outside' + interface_zone: 'outside-3' + ip_address: '10.12.16.237' + link_status: 'up' + mtu: '1500' + net_mask: '255.255.255.248' + onemin_drop_rate: '' + onemin_in_pps: '' + onemin_in_rate: '' + onemin_out_pps: '' + onemin_out_rate: '' + protocol_status: 'up' + speed: '' +- address: 'fa16.3eb0.c3d3' + bandwidth: '' + delay: '' + description: '' + duplex: '' + fivemin_drop_rate: '' + fivemin_in_pps: '' + fivemin_in_rate: '' + fivemin_out_pps: '' + fivemin_out_rate: '' + hardware_type: '' + interface: 'inside' + interface_zone: 'inside' + ip_address: '10.6.10.1' + link_status: 'up' + mtu: '1500' + net_mask: '255.255.255.0' + onemin_drop_rate: '' + onemin_in_pps: '' + onemin_in_rate: '' + onemin_out_pps: '' + onemin_out_rate: '' + protocol_status: 'up' + speed: '' From 581630a5d5357a8bcb09d933e405f18002d3fb7f Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Wed, 23 May 2018 00:02:11 -0400 Subject: [PATCH 078/628] Update Record statements to capture data in proper order --- templates/cisco_asa_show_interface.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/cisco_asa_show_interface.template b/templates/cisco_asa_show_interface.template index 6083fcf4c5..27a8474275 100644 --- a/templates/cisco_asa_show_interface.template +++ b/templates/cisco_asa_show_interface.template @@ -24,6 +24,7 @@ Value FIVEMIN_OUT_RATE (\d+) Value FIVEMIN_DROP_RATE (\d+) Start + ^Interface.* -> Continue.Record ^.*Interface ${INTERFACE} "${INTERFACE_ZONE}", is ${LINK_STATUS}.*protocol is ${PROTOCOL_STATUS} ^\s+Hardware is ${HARDWARE_TYPE} -> Continue ^.*BW ${BANDWIDTH}.*DLY ${DELAY} @@ -36,4 +37,4 @@ Start ^.*1 minute drop rate, ${ONEMIN_DROP_RATE} ^.*5 minute input rate ${FIVEMIN_IN_PPS} pkts/sec,\s+${FIVEMIN_IN_RATE} bytes/sec ^.*5 minute output rate ${FIVEMIN_OUT_PPS} pkts/sec,\s+${FIVEMIN_OUT_RATE} bytes/sec - ^.*5 minute drop rate, ${FIVEMIN_DROP_RATE} -> Record \ No newline at end of file + ^.*5 minute drop rate, ${FIVEMIN_DROP_RATE} From af171f1285df48a56a3815c534eb2bc10e9b1e51 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Thu, 24 May 2018 22:02:11 -0400 Subject: [PATCH 079/628] CISCO_IOS_SHOW_VLAN: Add support for capturing interfaces associated with each vlan --- templates/cisco_ios_show_vlan.template | 41 +++++++++++++++++-- .../show_vlan/cisco_ios_show_vlan.parsed | 9 +++- 2 files changed, 46 insertions(+), 4 deletions(-) diff --git a/templates/cisco_ios_show_vlan.template b/templates/cisco_ios_show_vlan.template index 11da14b272..5fd63fd016 100644 --- a/templates/cisco_ios_show_vlan.template +++ b/templates/cisco_ios_show_vlan.template @@ -1,9 +1,44 @@ -Value VLAN_ID (\d+) +Value Required VLAN_ID (\d+) Value NAME (\S+) Value STATUS (\S+) +Value List INTERFACES ([\w\./]+) Start - ^VLAN\s+Type -> Done - ^${VLAN_ID}\s+${NAME}\s+${STATUS} -> Record + ^$$ + ^\w+\s+[NnAaMmEe]{4}.*$$ -> VLANS + +VLANS + ^\d+ -> Continue.Record + ^${VLAN_ID}\s+${NAME}\s+${STATUS}\s*$$ + ^${VLAN_ID}\s+${NAME}\s+${STATUS}\s+${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){3}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){4}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){5}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){6}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){7}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){8}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){9}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){10}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){11}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){12}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){13}${INTERFACES} -> Continue + ^\s+${INTERFACES},* -> Continue + ^\s+\S+\s+${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){2}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){3}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){4}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){5}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){6}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){7}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){8}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){9}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){10}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){11}${INTERFACES} -> Continue + ^\d+ -> VLANS + ^\s+ -> VLANS + ^-+ + ^\S+\s+[TtYyPpEe]{4} -> Done + ^.+ -> Error Done + ^.* \ No newline at end of file diff --git a/tests/cisco_ios/show_vlan/cisco_ios_show_vlan.parsed b/tests/cisco_ios/show_vlan/cisco_ios_show_vlan.parsed index d3232169e6..aead08c98c 100644 --- a/tests/cisco_ios/show_vlan/cisco_ios_show_vlan.parsed +++ b/tests/cisco_ios/show_vlan/cisco_ios_show_vlan.parsed @@ -4,32 +4,39 @@ parsed_sample: - vlan_id: '1' name: 'default' status: 'active' + interfaces: ['Gi0/1'] - vlan_id: '10' name: 'Management' status: 'active' + interfaces: [] - vlan_id: '50' name: 'VLan50' status: 'active' + interfaces: ['Fa0/1', 'Fa0/2', 'Fa0/3', 'Fa0/4', 'Fa0/5', 'Fa0/6', 'Fa0/7', 'Fa0/8', 'Fa0/9', 'Fa0/10', 'Fa0/11', 'Fa0/12'] - vlan_id: '60' name: 'VLan60' status: 'active' + interfaces: ['Fa0/13', 'Fa0/14', 'Fa0/15', 'Fa0/16', 'Fa0/17', 'Fa0/18', 'Fa0/19', 'Fa0/20', 'Fa0/21', 'Fa0/22', 'Fa0/23', 'Fa0/24'] - vlan_id: '1002' name: 'fddi-default' status: 'act/unsup' + interfaces: [] - vlan_id: '1003' name: 'token-ring-default' status: 'act/unsup' + interfaces: [] - vlan_id: '1004' name: 'fddinet-default' status: 'act/unsup' + interfaces: [] - vlan_id: '1005' name: 'trnet-default' status: 'act/unsup' - + interfaces: [] From 9568636a2a95c414a2979a7bc9699e964d0c7bef Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Fri, 25 May 2018 20:52:29 -0400 Subject: [PATCH 080/628] Remove unneccessary state change --- templates/cisco_ios_show_vlan.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_vlan.template b/templates/cisco_ios_show_vlan.template index 5fd63fd016..9fc8c6ef09 100644 --- a/templates/cisco_ios_show_vlan.template +++ b/templates/cisco_ios_show_vlan.template @@ -34,8 +34,8 @@ VLANS ^\s+(?:\S+\s+){9}${INTERFACES},* -> Continue ^\s+(?:\S+\s+){10}${INTERFACES},* -> Continue ^\s+(?:\S+\s+){11}${INTERFACES} -> Continue - ^\d+ -> VLANS - ^\s+ -> VLANS + ^\d+ + ^\s+ ^-+ ^\S+\s+[TtYyPpEe]{4} -> Done ^.+ -> Error From 83cb02e576d124b423b815babd8b1b37344f462f Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Tue, 29 May 2018 00:10:58 -0400 Subject: [PATCH 081/628] Move Record to Interface opening line to ensure each unaccounted for data doesn't interfere with properly capturing each interface --- templates/cisco_nxos_show_interface.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/cisco_nxos_show_interface.template b/templates/cisco_nxos_show_interface.template index ca3b9868ab..e71793f412 100644 --- a/templates/cisco_nxos_show_interface.template +++ b/templates/cisco_nxos_show_interface.template @@ -14,6 +14,7 @@ Value DELAY (\d+\s+\w+) Value ENCAPSULATION (\w+) Start + ^\S+\s+is.+ -> Continue.Record ^${INTERFACE}\s+is\s+${LINK_STATUS},\sline\sprotocol\sis\s${ADMIN_STATE}$$ ^${INTERFACE}\s+is\s+${LINK_STATUS}$$ ^admin\s+state\s+is\s+${ADMIN_STATE}, @@ -23,4 +24,4 @@ Start ^\s+${DUPLEX}, ${SPEED}(,|$$) ^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY} ^\s+Encapsulation\s+${ENCAPSULATION} - ^\s*$$ -> Record + ^\s*$$ From 29c6805d1b0cfd8b1f1bd95c669bffa1baf63667 Mon Sep 17 00:00:00 2001 From: Lindsay Hill Date: Thu, 7 Jun 2018 17:24:19 -0700 Subject: [PATCH 082/628] Fixed formatting and typos --- README.md | 71 ++++++++++++++++++++++++++----------------------------- 1 file changed, 34 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 37c0c477a9..c1b1307192 100644 --- a/README.md +++ b/README.md @@ -6,42 +6,40 @@ REPOSITORY OF TEXTFSM TEMPLATES FOR NETWORK DEVICES NTC-Templates contains a set of multi-vendor templates based around TEXTFSM parsing engine. These templates take the raw string input from the CLI of network infrastructure devices, such as Cisco IOS, Juniper JUNOS -or HPE Comware devices, run them through a TEXTFSM template and return structured text in the form of a python dictionary. +or HPE Comware devices, run them through a TEXTFSM template and return structured text in the form of a Python dictionary. -#Contributing +# Contributing Pull request are welcomed and automatically built and tested through TravisCI. To contribute new templates, each new pull request must include the folowing -- TextFSM template -- raw version of text to be parsed -- YAML file containing the expected parsed dictionary +- TextFSM template +- raw version of text to be parsed +- YAML file containing the expected parsed dictionary - Modified version of the **index** file -Some notes on contributing that should help you ensure that your TravisCI builds comes back as successfull +Some notes on contributing that should help you ensure that your TravisCI builds comes back as successful: +## TextFSM Templates - - - -##TextFSM Templates - -TextFSM templates should be placed in the ./templates folder and should adhere to the NTC-Templates style. +TextFSM templates should be placed in the `./templates` folder and should adhere to the NTC-Templates style. The TextFSM template name should be in the following format +``` {{ vendor_name }}_{{show_command}} +``` -Note: The vendor name must be valid from the [Netmiko](https://github.com/ktbyers/netmiko/tree/master/netmiko) - +Note: The vendor name must be valid from the [Netmiko](https://github.com/ktbyers/netmiko/tree/master/netmiko) library. The **Value** variable should be in UPPERCASE. An example of the proper format is shown below. -
Value TIME (\d+:\d+:\d+)
+```
+Value TIME (\d+:\d+:\d+)
 Value TIMEZONE (\S+)
 Value DAYWEEK (\w+)
 Value MONTH (\d+)
@@ -49,52 +47,51 @@ Value DAY (\d+)
 Value YEAR (\d+)
 
 Start
-  ^${TIME}\s+${TIMEZONE}\s+${DAYWEEK}\s+${DAY}/${MONTH}/${YEAR} -> Record  
+ ^${TIME}\s+${TIMEZONE}\s+${DAYWEEK}\s+${DAY}/${MONTH}/${YEAR} -> Record +``` -##Raw version of Input Text +## Raw version of Input Text The raw text file should contain **only** the output of the CLI command to be parsed. It should **not** contain the CLI command itself -The raw text file should be placed in a folder in the ./tests directory with the same name as the template file minus the .template extension +The raw text file should be placed in a folder in the `./tests` directory with the same name as the template file minus the .template extension An example of the proper format is shown below -
+```
 19:35:31 UTC Sat 01/08/2011
-
+``` -##YAML file containing expected parsed dictionary +## YAML file containing expected parsed dictionary The parsed dictionary must be in a dictionary format. All keys in the dictionary should be in all lowercase -The parsed text file should be placed in a folder in the ./tests directory with the same name as the template file minus the .template extension. -The raw text file and the parsed text file should be in the same folder. +The parsed text file should be placed in a folder in the ./tests directory with the same name as the template file minus the +`.template` extension. The raw text file and the parsed text file should be in the same folder. An example of the proper format is shown below -
-
+```yaml
 ---
 
 parsed_sample:
 
 
 - {day: '01', dayweek: Sat, month: 08, time: '19:35:31', timezone: UTC, year: '2011'}
-
- +``` -Multile RAW and Parsed files are supported per folder, and are encouraged, as there are differences depending on version, length, etc... that additional testing and more real life data helps identify. +Multiple RAW and Parsed files are supported per folder, and are encouraged, as there are differences depending on version, length, etc... that additional testing and more real life data helps identify. -##Index File +## Index File -The Index file binds the templates to the commands being run. Special care has been taken on ordering, as there is potential for issues. e.g. show ip route picking up for show ip router vrf . We have used a combination of ordering, as defined: +The Index file binds the templates to the commands being run. Special care has been taken on ordering, as there is potential for issues. e.g. `show ip route` picking up for `show ip router vrf `. We have used a combination of ordering, as defined: - - OS in alphbetical order - - Command in length other - - When Length is the same, use alphabetical order - - Keep space between OS's + - OS in alphabetical order + - Command in length other + - When Length is the same, use alphabetical order + - Keep space between OS's Example: @@ -111,8 +108,8 @@ cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erfa cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] ``` -#Questions +# Questions -For any questions or comments, please feel free to swing by the [networktocode slack channel](https://networktocode.slack.com) +For any questions or comments, please feel free to swing by the [networktocode slack channel](https://networktocode.slack.com). -sign up [here](http://slack.networktocode.com/) +Sign up [here](http://slack.networktocode.com/) From 01c8c752c079f9e875fcdd055b877404e1ddaf8d Mon Sep 17 00:00:00 2001 From: burningnode <19718295+burningnode@users.noreply.github.com> Date: Fri, 8 Jun 2018 19:40:19 +0200 Subject: [PATCH 083/628] Update juniper_screenos_get_route.template Added a few catching rules for garbage entries and the required catch all at the end. --- templates/juniper_screenos_get_route.template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/juniper_screenos_get_route.template b/templates/juniper_screenos_get_route.template index 9fbd4abd0c..e32213c183 100644 --- a/templates/juniper_screenos_get_route.template +++ b/templates/juniper_screenos_get_route.template @@ -14,5 +14,9 @@ Start ^IPv\d\s+Dest-Routes\s+for\s+<${VR}> # Match route line ^${BEST}\s+${ID}\s+${PREFIX}\s+${OUTINTERFACE}\s+${NEXTHOP}\s+${PROTOCOL}\s+${PREF}\s+${METRIC}\s+${VSYS} -> Record - + ^--- + ^\w+ + ^\s+ + ^.+ -> Error "Line not found" + EOF From cad317605576c2f8dcef7e89918c078a2efd5545 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 19 Jun 2018 13:13:02 -0400 Subject: [PATCH 084/628] Add escape character for matching literal '.' instead of anything --- templates/juniper_screenos_get_route.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/juniper_screenos_get_route.template b/templates/juniper_screenos_get_route.template index e32213c183..804cee1df0 100644 --- a/templates/juniper_screenos_get_route.template +++ b/templates/juniper_screenos_get_route.template @@ -3,7 +3,7 @@ Value BEST (\S) Value ID (\d+) Value Required PREFIX (\S+) Value OUTINTERFACE (\S+) -Value NEXTHOP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value NEXTHOP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value PROTOCOL (\w{1,2}) Value PREF (\d+) Value METRIC (\d+) From 647ec67d9b527b98822edb952ae2109a07c080f4 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 19 Jun 2018 13:14:12 -0400 Subject: [PATCH 085/628] Update matching of uninteresting lines to be more specific --- templates/juniper_screenos_get_route.template | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/templates/juniper_screenos_get_route.template b/templates/juniper_screenos_get_route.template index 804cee1df0..8ce662e6ec 100644 --- a/templates/juniper_screenos_get_route.template +++ b/templates/juniper_screenos_get_route.template @@ -14,9 +14,12 @@ Start ^IPv\d\s+Dest-Routes\s+for\s+<${VR}> # Match route line ^${BEST}\s+${ID}\s+${PREFIX}\s+${OUTINTERFACE}\s+${NEXTHOP}\s+${PROTOCOL}\s+${PREF}\s+${METRIC}\s+${VSYS} -> Record - ^--- - ^\w+ - ^\s+ - ^.+ -> Error "Line not found" + # Match table separator + ^-+\s*$$ + # Match route type keys + ^\S+:\s+ + # Match lines that are just space + ^\s+$$ + # ^.+ -> Error "Line not found" EOF From 6fb01428f0b27307200511585303cba783d3e678 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 19 Jun 2018 13:17:46 -0400 Subject: [PATCH 086/628] Update capture groups to use preferred '\S' instead of '\w' --- templates/juniper_screenos_get_route.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/juniper_screenos_get_route.template b/templates/juniper_screenos_get_route.template index 8ce662e6ec..7c19f416e2 100644 --- a/templates/juniper_screenos_get_route.template +++ b/templates/juniper_screenos_get_route.template @@ -1,13 +1,13 @@ Value Filldown VR (\S+) -Value BEST (\S) +Value BEST (\S+) Value ID (\d+) Value Required PREFIX (\S+) Value OUTINTERFACE (\S+) Value NEXTHOP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) -Value PROTOCOL (\w{1,2}) +Value PROTOCOL (\S+) Value PREF (\d+) Value METRIC (\d+) -Value VSYS (\w+) +Value VSYS (\S+) Start # Match the VR From 68abf33971020ed54857cfb4ba89102b598fd63b Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 25 Jun 2018 09:28:40 -0400 Subject: [PATCH 087/628] Uncomment error line --- templates/juniper_screenos_get_route.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/juniper_screenos_get_route.template b/templates/juniper_screenos_get_route.template index 7c19f416e2..9098f93a6c 100644 --- a/templates/juniper_screenos_get_route.template +++ b/templates/juniper_screenos_get_route.template @@ -20,6 +20,6 @@ Start ^\S+:\s+ # Match lines that are just space ^\s+$$ - # ^.+ -> Error "Line not found" + ^.+ -> Error "Line not found" EOF From a551cd2ca8f9a0aded2abce880f186cb0bda3777 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 25 Jun 2018 09:29:06 -0400 Subject: [PATCH 088/628] add trailing newline --- tests/juniper_screenos/get_route/juniper_screenos_get_route.raw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/juniper_screenos/get_route/juniper_screenos_get_route.raw b/tests/juniper_screenos/get_route/juniper_screenos_get_route.raw index bbc7e31fb3..598c60128d 100644 --- a/tests/juniper_screenos/get_route/juniper_screenos_get_route.raw +++ b/tests/juniper_screenos/get_route/juniper_screenos_get_route.raw @@ -12,4 +12,4 @@ IPv4 Dest-Routes for (4 entries) * 4 1.1.1.2/32 eth0/1 0.0.0.0 H 0 0 Root * 2 192.168.1.1/32 eth0/0 0.0.0.0 H 0 0 Root * 1 192.168.1.0/24 eth0/0 0.0.0.0 C 0 0 Root -* 3 1.1.1.0/24 eth0/1 0.0.0.0 C 0 0 Root \ No newline at end of file +* 3 1.1.1.0/24 eth0/1 0.0.0.0 C 0 0 Root From 654bb41131cadee0eb9b107a3087e5c29a7a3bd0 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 25 Jun 2018 09:44:53 -0400 Subject: [PATCH 089/628] Add match for table header --- templates/juniper_screenos_get_route.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/juniper_screenos_get_route.template b/templates/juniper_screenos_get_route.template index 9098f93a6c..6d1f363d62 100644 --- a/templates/juniper_screenos_get_route.template +++ b/templates/juniper_screenos_get_route.template @@ -20,6 +20,9 @@ Start ^\S+:\s+ # Match lines that are just space ^\s+$$ + # Match table header + ^\s+ID\s+IP-Prefix\s+Interface\s+Gateway\s+P\s+Pref\s+Mtr\s+Vsys\s*$$ + # Error out if line does not match any expressions ^.+ -> Error "Line not found" EOF From 466d05466d0a57f36682369f782c436f7701715d Mon Sep 17 00:00:00 2001 From: Gabriele Gerbino Date: Wed, 4 Jul 2018 14:59:38 +0200 Subject: [PATCH 090/628] Cleanup --- ...co_nxos_show_ip_ospf_neighbor_vrf.template | 4 +-- .../brocade_fastiron_show_lag_brief.parsed | 8 +++--- .../brocade_fastiron_show_lag_brief.raw | 8 +++--- .../brocade_fastiron_show_monitor.parsed | 8 +++--- .../brocade_fastiron_show_monitor.raw | 8 +++--- .../brocade_netiron_show_lag_brief.parsed | 25 +++++++++---------- .../brocade_netiron_show_lag_brief.raw | 24 +++++++++--------- .../brocade_netiron_show_monitor.parsed | 17 ++++++------- .../brocade_netiron_show_monitor.raw | 16 ++++++------ .../brocade_netiron_show_monitor.parsed | 17 ++++++------- .../brocade_netiron_show_monitor.raw | 16 ++++++------ tests/test_index_order.py | 8 +++--- 12 files changed, 78 insertions(+), 81 deletions(-) diff --git a/templates/cisco_nxos_show_ip_ospf_neighbor_vrf.template b/templates/cisco_nxos_show_ip_ospf_neighbor_vrf.template index 62b4b4d32f..7101c43536 100644 --- a/templates/cisco_nxos_show_ip_ospf_neighbor_vrf.template +++ b/templates/cisco_nxos_show_ip_ospf_neighbor_vrf.template @@ -1,11 +1,11 @@ Value Filldown OSPF_PID (\d+) Value Filldown VRF (\S+) Value NEIGHBOR_IPADDR (\d+\.\d+\.\d+\.\d+) -Value STATE (\S+.\/.\S+) +Value STATE (\S+.\/.\S+) Value UPTIME (\S+) Value LOCAL_IPADDR (\d+\.\d+\.\d+\.\d+) Value Required INTERFACE (\S+) Start ^\s+\w+\s+\w+\s+\w+\s+${OSPF_PID}\s+[Vv][Rr][Ff]\s+${VRF} -> Record - ^\s+${NEIGHBOR_IPADDR}\s+\d+\s+${STATE}\s+${UPTIME}\s+${LOCAL_IPADDR}\s+${INTERFACE}.+ -> Record + ^\s+${NEIGHBOR_IPADDR}\s+\d+\s+${STATE}\s+${UPTIME}\s+${LOCAL_IPADDR}\s+${INTERFACE} -> Record diff --git a/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.parsed b/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.parsed index ba604b2781..f66afa6707 100644 --- a/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.parsed +++ b/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.parsed @@ -6,7 +6,7 @@ parsed_sample: deployed: 'Y' trunkid: '5' primaryinterface: '2/3/1' - portlist: 'e 2/3/1 to 2/3/2 ' + portlist: 'e 2/3/1 to 2/3/2' portlistcont: '' - lagnameshort: '1G-Lag ' @@ -14,7 +14,7 @@ parsed_sample: deployed: 'Y' trunkid: '3' primaryinterface: '1/1/24' - portlist: 'e 1/1/24 ' + portlist: 'e 1/1/24' portlistcont: '' - lagnameshort: '1G-Lag-2 ' @@ -22,7 +22,7 @@ parsed_sample: deployed: 'Y' trunkid: '4' primaryinterface: '2/1/1' - portlist: 'e 2/1/1 ' + portlist: 'e 2/1/1' portlistcont: '' - lagnameshort: 'SW2.XR-SW1A.TE' @@ -30,6 +30,6 @@ parsed_sample: deployed: 'Y' trunkid: '1' primaryinterface: '1/3/1' - portlist: 'e 1/3/1 to 1/3/2 ' + portlist: 'e 1/3/1 to 1/3/2' portlistcont: '' diff --git a/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.raw b/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.raw index 3fe92a0f8e..fd4e2cc31a 100644 --- a/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.raw +++ b/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.raw @@ -6,7 +6,7 @@ LACP Long timeout: 90, default: 90 LACP Short timeout: 3, default: 3 LAG Type Deploy Trunk Primary Port List -10G-Lag2 dynamic Y 5 2/3/1 e 2/3/1 to 2/3/2 -1G-Lag dynamic Y 3 1/1/24 e 1/1/24 -1G-Lag-2 dynamic Y 4 2/1/1 e 2/1/1 -SW2.XR-SW1A.TEdynamic Y 1 1/3/1 e 1/3/1 to 1/3/2 +10G-Lag2 dynamic Y 5 2/3/1 e 2/3/1 to 2/3/2 +1G-Lag dynamic Y 3 1/1/24 e 1/1/24 +1G-Lag-2 dynamic Y 4 2/1/1 e 2/1/1 +SW2.XR-SW1A.TEdynamic Y 1 1/3/1 e 1/3/1 to 1/3/2 diff --git a/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.parsed b/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.parsed index bb3eeafe02..cde73f9c4d 100644 --- a/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.parsed +++ b/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.parsed @@ -2,10 +2,10 @@ parsed_sample: - monitoredport: '10' - inputmirror: '18 ' - outputmirror: '18 ' + inputmirror: '18' + outputmirror: '18' - monitoredport: '16' - inputmirror: '18 ' - outputmirror: '18 ' + inputmirror: '18' + outputmirror: '18' diff --git a/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.raw b/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.raw index 9b42df269b..d36584d849 100644 --- a/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.raw +++ b/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.raw @@ -1,6 +1,6 @@ Monitored Port 10 - Input mirrored by : 18 - Output mirrored by : 18 + Input mirrored by : 18 + Output mirrored by : 18 Monitored Port 16 - Input mirrored by : 18 - Output mirrored by : 18 + Input mirrored by : 18 + Output mirrored by : 18 diff --git a/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.parsed b/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.parsed index 4f474cbccb..7f9a7850b5 100644 --- a/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.parsed +++ b/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.parsed @@ -6,7 +6,7 @@ parsed_sample: deployed: 'Y' trunkid: '11' primaryinterface: '1/13' - portlist: 'e 1/13 e 2/13 ' + portlist: 'e 1/13 e 2/13' portlistcont: '' - lagnameshort: 'CLMAMOFW-FLTNHT ' @@ -14,7 +14,7 @@ parsed_sample: deployed: 'Y' trunkid: '7' primaryinterface: '4/2' - portlist: 'e 3/2 e 4/2 ' + portlist: 'e 3/2 e 4/2' portlistcont: '' - lagnameshort: 'LAG5 ' @@ -22,7 +22,7 @@ parsed_sample: deployed: 'Y' trunkid: '5' primaryinterface: '3/3' - portlist: 'e 3/3 to 3/4 ' + portlist: 'e 3/3 to 3/4' portlistcont: '' - lagnameshort: 'LAG6 ' @@ -30,7 +30,7 @@ parsed_sample: deployed: 'Y' trunkid: '6' primaryinterface: '4/3' - portlist: 'e 4/3 to 4/4 ' + portlist: 'e 4/3 to 4/4' portlistcont: '' - lagnameshort: 'MLX-1a ' @@ -38,7 +38,7 @@ parsed_sample: deployed: 'Y' trunkid: '4' primaryinterface: '2/2' - portlist: 'e 2/2 ' + portlist: 'e 2/2' portlistcont: '' - lagnameshort: 'MLX-CLMAMOXE ' @@ -46,7 +46,7 @@ parsed_sample: deployed: 'Y' trunkid: '3' primaryinterface: '2/1' - portlist: 'e 2/1 ' + portlist: 'e 2/1' portlistcont: '' - lagnameshort: 'Switch1e.clmamofw ' @@ -54,7 +54,7 @@ parsed_sample: deployed: 'Y' trunkid: '10' primaryinterface: '1/5' - portlist: 'e 1/5 e 2/21 ' + portlist: 'e 1/5 e 2/21' portlistcont: '' - lagnameshort: 'fw1-inside ' @@ -62,7 +62,7 @@ parsed_sample: deployed: 'Y' trunkid: '12' primaryinterface: '1/24' - portlist: 'e 1/24 e 2/24 ' + portlist: 'e 1/24 e 2/24' portlistcont: '' - lagnameshort: 'fw1-outside ' @@ -70,7 +70,7 @@ parsed_sample: deployed: 'Y' trunkid: '13' primaryinterface: '1/10' - portlist: 'e 1/10 e 2/10 ' + portlist: 'e 1/10 e 2/10' portlistcont: '' - lagnameshort: 'speedtest ' @@ -78,7 +78,7 @@ parsed_sample: deployed: 'Y' trunkid: '9' primaryinterface: '2/23' - portlist: 'e 1/11 e 2/23 ' + portlist: 'e 1/11 e 2/23' portlistcont: '' - lagnameshort: 'switch1c-MLX-FW ' @@ -86,7 +86,7 @@ parsed_sample: deployed: 'Y' trunkid: '2' primaryinterface: '1/1' - portlist: 'e 1/1 ' + portlist: 'e 1/1' portlistcont: '' - lagnameshort: 'videouplink ' @@ -95,5 +95,4 @@ parsed_sample: trunkid: '8' primaryinterface: '2/15' portlist: 'e 1/15 to 1/18 e 2/15 t' - portlistcont: 'o 2/18 ' - + portlistcont: 'o 2/18' diff --git a/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.raw b/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.raw index baddeb9f11..487f3e4415 100644 --- a/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.raw +++ b/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.raw @@ -6,16 +6,16 @@ LACP Long timeout :90, default: 90 LACP Short timeout :3, default: 3 LAG Type Deploy Trunk Primary Port List -Akamai Uplink dynamic Y 11 1/13 e 1/13 e 2/13 -CLMAMOFW-FLTNHT dynamic Y 7 4/2 e 3/2 e 4/2 -LAG5 dynamic Y 5 3/3 e 3/3 to 3/4 -LAG6 dynamic Y 6 4/3 e 4/3 to 4/4 -MLX-1a dynamic Y 4 2/2 e 2/2 -MLX-CLMAMOXE dynamic Y 3 2/1 e 2/1 -Switch1e.clmamofw dynamic Y 10 1/5 e 1/5 e 2/21 -fw1-inside dynamic Y 12 1/24 e 1/24 e 2/24 -fw1-outside dynamic Y 13 1/10 e 1/10 e 2/10 -speedtest dynamic Y 9 2/23 e 1/11 e 2/23 -switch1c-MLX-FW dynamic Y 2 1/1 e 1/1 +Akamai Uplink dynamic Y 11 1/13 e 1/13 e 2/13 +CLMAMOFW-FLTNHT dynamic Y 7 4/2 e 3/2 e 4/2 +LAG5 dynamic Y 5 3/3 e 3/3 to 3/4 +LAG6 dynamic Y 6 4/3 e 4/3 to 4/4 +MLX-1a dynamic Y 4 2/2 e 2/2 +MLX-CLMAMOXE dynamic Y 3 2/1 e 2/1 +Switch1e.clmamofw dynamic Y 10 1/5 e 1/5 e 2/21 +fw1-inside dynamic Y 12 1/24 e 1/24 e 2/24 +fw1-outside dynamic Y 13 1/10 e 1/10 e 2/10 +speedtest dynamic Y 9 2/23 e 1/11 e 2/23 +switch1c-MLX-FW dynamic Y 2 1/1 e 1/1 videouplink static Y 8 2/15 e 1/15 to 1/18 e 2/15 t - o 2/18 + o 2/18 diff --git a/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.parsed b/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.parsed index dd82927e5c..bb8ec57f4e 100644 --- a/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.parsed +++ b/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.parsed @@ -2,18 +2,17 @@ parsed_sample: - monitoredport: '1/10' - inputmirror: '1/13 ' - outputmirror: '1/13 ' + inputmirror: '1/13' + outputmirror: '1/13' - monitoredport: '1/11' - inputmirror: '1/13 ' - outputmirror: '1/13 ' + inputmirror: '1/13' + outputmirror: '1/13' - monitoredport: '2/10' - inputmirror: '1/13 ' - outputmirror: '1/13 ' + inputmirror: '1/13' + outputmirror: '1/13' - monitoredport: '2/11' - inputmirror: '1/13 ' - outputmirror: '1/13 ' - + inputmirror: '1/13' + outputmirror: '1/13' diff --git a/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.raw b/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.raw index 70d0d61411..084529cea6 100644 --- a/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.raw +++ b/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.raw @@ -1,12 +1,12 @@ Monitored Port 1/10 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 + Input traffic mirrored to: 1/13 + Output traffic mirrored to: 1/13 Monitored Port 1/11 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 + Input traffic mirrored to: 1/13 + Output traffic mirrored to: 1/13 Monitored Port 2/10 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 + Input traffic mirrored to: 1/13 + Output traffic mirrored to: 1/13 Monitored Port 2/11 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 + Input traffic mirrored to: 1/13 + Output traffic mirrored to: 1/13 diff --git a/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.parsed b/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.parsed index dd82927e5c..bb8ec57f4e 100644 --- a/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.parsed +++ b/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.parsed @@ -2,18 +2,17 @@ parsed_sample: - monitoredport: '1/10' - inputmirror: '1/13 ' - outputmirror: '1/13 ' + inputmirror: '1/13' + outputmirror: '1/13' - monitoredport: '1/11' - inputmirror: '1/13 ' - outputmirror: '1/13 ' + inputmirror: '1/13' + outputmirror: '1/13' - monitoredport: '2/10' - inputmirror: '1/13 ' - outputmirror: '1/13 ' + inputmirror: '1/13' + outputmirror: '1/13' - monitoredport: '2/11' - inputmirror: '1/13 ' - outputmirror: '1/13 ' - + inputmirror: '1/13' + outputmirror: '1/13' diff --git a/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.raw b/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.raw index 70d0d61411..084529cea6 100644 --- a/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.raw +++ b/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.raw @@ -1,12 +1,12 @@ Monitored Port 1/10 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 + Input traffic mirrored to: 1/13 + Output traffic mirrored to: 1/13 Monitored Port 1/11 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 + Input traffic mirrored to: 1/13 + Output traffic mirrored to: 1/13 Monitored Port 2/10 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 + Input traffic mirrored to: 1/13 + Output traffic mirrored to: 1/13 Monitored Port 2/11 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 + Input traffic mirrored to: 1/13 + Output traffic mirrored to: 1/13 diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 178e57659e..8dfbbb9e03 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -37,7 +37,7 @@ def check_order(current_os, prior_os,cmd_len, prior_len, os_choices, used_os, cm return False, msg if not prior_os and prior_len == 0: - # Starting Point + # Starting Point return True , '' elif current_os == prior_os and cmd_len == prior_len and cmd == min(prior_cmd, cmd): msg = "OS is the same and command same length, please set {} before {} to be in alphabetical order".format(cmd, prior_cmd) @@ -65,9 +65,9 @@ def test_index_ordering(): 'brocade_fastiron', 'brocade_netiron', 'brocade_nos', 'brocade_vdx', 'brocade_vyos', 'checkpoint_gaia', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', 'cisco_wlc', 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', - 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'linux', 'ovs_linux', - 'paloalto_panos', 'quanta_mesh', 'vmware_nsxv', 'vyatta_vyos', 'vyos' - ] + 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'alcatel_sros', + 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh', 'vmware_nsxv', 'vyatta_vyos', 'vyos' + ] prior_os = "" prior_len = 0 From c8d825aabc102925486afaa7615b462a2c2c2f8b Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 13 Jul 2018 09:48:25 -0400 Subject: [PATCH 091/628] use pip for installing requirements in travis --- .travis.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 47ca1470c2..7bddbbb037 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,16 +8,18 @@ python: sudo: false install: - - git clone https://github.com/ktbyers/netmiko.git - - cd netmiko - - python setup.py install - - pip install -r requirements.txt - - cd .. - - wget https://pypi.python.org/packages/source/g/gtextfsm/gtextfsm-0.2.1.tar.gz - - tar -xzvf gtextfsm-0.2.1.tar.gz - - cd gtextfsm-0.2.1 - - python setup.py install - - cd .. + - pip install netmiko + - pip install gtextfsm + #- git clone https://github.com/ktbyers/netmiko.git + #- cd netmiko + #- python setup.py install + #- pip install -r requirements.txt + #- cd .. + #- wget https://pypi.python.org/packages/source/g/gtextfsm/gtextfsm-0.2.1.tar.gz + #- tar -xzvf gtextfsm-0.2.1.tar.gz + #- cd gtextfsm-0.2.1 + #- python setup.py install + #- cd .. - export PYTHONPATH=$PYTHONPATH:/home/travis/build/networktocode/ntc-templates/gtextfsm-0.2.1/textfsm - pip install ansible==1.9.2 - pip install terminal From 50969028da8086ed008d17da91ffa5cc91c06446 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 13 Jul 2018 09:53:57 -0400 Subject: [PATCH 092/628] Remove lines since tests pass --- .travis.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7bddbbb037..037c584bec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,16 +10,6 @@ sudo: false install: - pip install netmiko - pip install gtextfsm - #- git clone https://github.com/ktbyers/netmiko.git - #- cd netmiko - #- python setup.py install - #- pip install -r requirements.txt - #- cd .. - #- wget https://pypi.python.org/packages/source/g/gtextfsm/gtextfsm-0.2.1.tar.gz - #- tar -xzvf gtextfsm-0.2.1.tar.gz - #- cd gtextfsm-0.2.1 - #- python setup.py install - #- cd .. - export PYTHONPATH=$PYTHONPATH:/home/travis/build/networktocode/ntc-templates/gtextfsm-0.2.1/textfsm - pip install ansible==1.9.2 - pip install terminal From ba8b5216a5cf2ae8b978301a3723cc17300ccf86 Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Thu, 12 Jul 2018 12:39:34 +0300 Subject: [PATCH 093/628] added: cisco ios: show ip device tracking all, show ip souce binding --- ...o_ios_show_ip_device_tracking_all.template | 10 ++++++++ .../cisco_ios_show_ip_source_binding.template | 9 +++++++ templates/index | 2 ++ ...sco_ios_show_ip_device_tracking_all.parsed | 25 +++++++++++++++++++ .../cisco_ios_show_ip_device_tracking_all.raw | 18 +++++++++++++ .../cisco_ios_show_ip_source_binding.parsed | 22 ++++++++++++++++ .../cisco_ios_show_ip_source_binding.raw | 6 +++++ 7 files changed, 92 insertions(+) create mode 100644 templates/cisco_ios_show_ip_device_tracking_all.template create mode 100644 templates/cisco_ios_show_ip_source_binding.template create mode 100644 tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed create mode 100644 tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.raw create mode 100644 tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed create mode 100644 tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.raw diff --git a/templates/cisco_ios_show_ip_device_tracking_all.template b/templates/cisco_ios_show_ip_device_tracking_all.template new file mode 100644 index 0000000000..077b860b7a --- /dev/null +++ b/templates/cisco_ios_show_ip_device_tracking_all.template @@ -0,0 +1,10 @@ +Value Required IP ((?:[0-9]{1,3}\.){3}[0-9]{1,3}) +Value Required MAC ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4}) +Value Required VLAN ([0-9]+) +Value Required INTERFACE (\S+) +Value Required PROBE_TIMEOUT (\S+) +Value Required STATE (\S+) +Value Required SOURCE (\S+) + +Start + ^${IP}\s+${MAC}\s+${VLAN}\s+${INTERFACE}\s+${PROBE_TIMEOUT}\s+${STATE}\s+${SOURCE} -> Record \ No newline at end of file diff --git a/templates/cisco_ios_show_ip_source_binding.template b/templates/cisco_ios_show_ip_source_binding.template new file mode 100644 index 0000000000..5f41f4ebfb --- /dev/null +++ b/templates/cisco_ios_show_ip_source_binding.template @@ -0,0 +1,9 @@ +Value Required MAC ((?:[0-9a-fA-F]{2}[:-]){5}(?:[0-9a-fA-F]{2})) +Value Required IP ((?:[0-9]{1,3}\.){3}[0-9]{1,3}) +Value Required LEASE ([0-9]+) +Value Required TYPE (\S+) +Value Required VLAN ([0-9]+) +Value Required INTERFACE (\S+) + +Start + ^${MAC}\s+${IP}\s+${LEASE}\s+${TYPE}\s+${VLAN}\s+${INTERFACE} -> Record \ No newline at end of file diff --git a/templates/index b/templates/index index 5131458359..784f819b6c 100644 --- a/templates/index +++ b/templates/index @@ -109,10 +109,12 @@ cisco_ios_show_running-config_partition_access-list.template, .*, cisco_ios, sh[ cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_authentication_sessions.template, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_ip_ospf_interface_brief.template, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] +cisco_ios_show_ip_device_tracking_all.template, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] cisco_ios_show_environment_power_all.template, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_ios_show_interfaces_status.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] +cisco_ios_show_ip_source_binding.template, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] cisco_ios_show_mac-address-table.template, .*, cisco_ios, sh[[ow]] m[[ac-address-table]] cisco_ios_show_ip_ospf_database.template, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] cisco_ios_show_ip_ospf_neighbor.template, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] diff --git a/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed b/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed new file mode 100644 index 0000000000..401121a235 --- /dev/null +++ b/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed @@ -0,0 +1,25 @@ +--- +parsed_sample: +- ip: "192.168.1.104" + mac: "8c12.9011.00e2" + vlan: "1" + interface: "GigabitEthernet1/0/9" + probe_timeout: "30" + state: "ACTIVE" + source: "ARP" + +- ip: "192.168.1.108" + mac: "0065.2da2.5d6e" + vlan: "1" + interface: "GigabitEthernet1/0/1" + probe_timeout: "30" + state: "ACTIVE" + source: "ARP" + +- ip: "192.168.1.110" + mac: "000c.29ed.e090" + vlan: "1" + interface: "GigabitEthernet1/0/1" + probe_timeout: "30" + state: "ACTIVE" + source: "ARP" \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.raw b/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.raw new file mode 100644 index 0000000000..ffd93ebea5 --- /dev/null +++ b/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.raw @@ -0,0 +1,18 @@ +Global IP Device Tracking for clients = Enabled +Global IP Device Tracking Probe Count = 3 +Global IP Device Tracking Probe Interval = 30 +Global IP Device Tracking Probe Delay Interval = 0 +----------------------------------------------------------------------------------------------- + IP Address MAC Address Vlan Interface Probe-Timeout State Source +----------------------------------------------------------------------------------------------- +192.168.1.104 8c12.9011.00e2 1 GigabitEthernet1/0/9 30 ACTIVE ARP +192.168.1.108 0065.2da2.5d6e 1 GigabitEthernet1/0/1 30 ACTIVE ARP +192.168.1.110 000c.29ed.e090 1 GigabitEthernet1/0/1 30 ACTIVE ARP + +Total number interfaces enabled: 32 +Enabled interfaces: + Vl1, Vl3, Vl42, Fa0, Gi1/0/1, Gi1/0/2, Gi1/0/3, + Gi1/0/4, Gi1/0/5, Gi1/0/6, Gi1/0/7, Gi1/0/8, Gi1/0/9, Gi1/0/10, + Gi1/0/11, Gi1/0/12, Gi1/0/13, Gi1/0/14, Gi1/0/15, Gi1/0/16, Gi1/0/17, + Gi1/0/18, Gi1/0/19, Gi1/0/20, Gi1/0/21, Gi1/0/22, Gi1/0/23, Gi1/0/24, + Gi1/0/25, Gi1/0/26, Gi1/0/27, Gi1/0/28 diff --git a/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed b/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed new file mode 100644 index 0000000000..bb70b13d95 --- /dev/null +++ b/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed @@ -0,0 +1,22 @@ +--- +parsed_sample: +- mac: "DC:A9:04:80:02:0F" + ip: "192.168.1.48" + lease: "583720" + type: "dhcp-snooping" + vlan: "1" + interface: "GigabitEthernet1/0/9" + +- mac: "8C:85:90:8E:AC:13" + ip: "192.168.1.66" + lease: "583795" + type: "dhcp-snooping" + vlan: "1" + interface: "GigabitEthernet1/0/9" + +- mac: "9C:A0:B0:16:26:D2" + ip: "192.168.1.104" + lease: "591457" + type: "dhcp-snooping" + vlan: "1" + interface: "GigabitEthernet1/0/9" \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.raw b/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.raw new file mode 100644 index 0000000000..ff625c2255 --- /dev/null +++ b/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.raw @@ -0,0 +1,6 @@ +MacAddress IpAddress Lease(sec) Type VLAN Interface +------------------ --------------- ---------- ------------- ---- -------------------- +DC:A9:04:80:02:0F 192.168.1.48 583720 dhcp-snooping 1 GigabitEthernet1/0/9 +8C:85:90:8E:AC:13 192.168.1.66 583795 dhcp-snooping 1 GigabitEthernet1/0/9 +9C:A0:B0:16:26:D2 192.168.1.104 591457 dhcp-snooping 1 GigabitEthernet1/0/9 +Total number of bindings: 3 From 3cf53048e8cc6489ffdb4ced4fd4a45b96aa3481 Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Thu, 12 Jul 2018 20:24:26 +0300 Subject: [PATCH 094/628] added/modified 'show cdp/lldp neighbors details', for cisco_wlc_ssh, cisco_ios, cisco_nxos, cisco_xr, brocade_fastiron, brocade_netiron --- ...stiron_show_lldp_neighbors_detail.template | 7 +- ...etiron_show_lldp_neighbors_detail.template | 7 +- ...sco_ios_show_cdp_neighbors_detail.template | 4 +- ...co_ios_show_lldp_neighbors_detail.template | 27 +++++ ...co_nxos_show_cdp_neighbors_detail.template | 8 +- ...o_nxos_show_lldp_neighbors_detail.template | 8 +- ...wlc_ssh_show_cdp_neighbors_detail.template | 22 ++++ ...isco_xr_show_cdp_neighbors_detail.template | 3 +- templates/index | 2 + ...fastiron_show_lldp_neighbors_detail.parsed | 3 + ...astiron_show_lldp_neighbors_detail1.parsed | 7 ++ ..._netiron_show_lldp_neighbors_detail.parsed | 5 + ...cisco_ios_show_cdp_neighbors_detail.parsed | 6 +- .../cisco_ios_show_cdp_neighbors_detail.raw | 4 +- ...isco_ios_show_lldp_neighbors_detail.parsed | 31 ++++++ .../cisco_ios_show_lldp_neighbors_detail.raw | 97 ++++++++++++++++ ...isco_nxos_show_cdp_neighbors_detail.parsed | 10 ++ ...sco_nxos_show_lldp_neighbors_detail.parsed | 12 ++ ...o_wlc_ssh_show_cdp_neighbors_detail.parsed | 25 +++++ ...isco_wlc_ssh_show_cdp_neighbors_detail.raw | 44 ++++++++ .../cisco_xr_show_cdp_neighbors_detail.parsed | 24 ++++ .../cisco_xr_show_cdp_neighbors_detail.raw | 104 +++++++++--------- 22 files changed, 395 insertions(+), 65 deletions(-) create mode 100644 templates/cisco_ios_show_lldp_neighbors_detail.template create mode 100644 templates/cisco_wlc_ssh_show_cdp_neighbors_detail.template create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.raw create mode 100644 tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.parsed create mode 100644 tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.raw diff --git a/templates/brocade_fastiron_show_lldp_neighbors_detail.template b/templates/brocade_fastiron_show_lldp_neighbors_detail.template index 4af8af113d..16595b5c27 100644 --- a/templates/brocade_fastiron_show_lldp_neighbors_detail.template +++ b/templates/brocade_fastiron_show_lldp_neighbors_detail.template @@ -4,20 +4,21 @@ Value ttlsecs (\d+) Value neihostnametid (.+) Value neiinterface ([a-zA-Z0-9\/\s]+) Value neipvid (\d+|none) -Value neimgmtip (\d+\.\d+\.\d+\.\d+) -Value neilacpindex (\d+) +Value neimgmtip (\d+\.\d+\.\d+\.\d+) +Value neilacpindex (\d+) Value neimaxframesize (\d+) Value neiopmau ([a-zA-Z0-9\-]+) +Value neicapabilities (.+) Start ^\w -> Continue.Record ^Local\s+port:\s+${interface} ^\s+\+\s+System\s+name\s+:\s+"${neihostnametid}" ^\s+\+\s+Port\s+description\s+:\s+"${neiinterface}" + ^\s+\Enabled\s+capabilities\s*:\s+${neicapabilities} ^\s+\+\s+Port\s+VLAN\s+ID:\s+${neipvid} ^\s+\+\s+Management\s+address\s+\(IPv4\):\s+${neimgmtip} ^\s+\+\s+Link\s+aggregation:\s+aggregated\s+\(aggregated\s+port\s+ifIndex:\s+${neilacpindex}\) ^\s+\+\s+Maximum\s+frame\s+size:\s+${neimaxframesize} ^\s+Operational\s+MAU\s+type\s+:\s+${neiopmau} ^\s+Neighbor:\s+${neimac},\s+TTL\s+${ttlsecs} - \ No newline at end of file diff --git a/templates/brocade_netiron_show_lldp_neighbors_detail.template b/templates/brocade_netiron_show_lldp_neighbors_detail.template index 4af8af113d..16595b5c27 100644 --- a/templates/brocade_netiron_show_lldp_neighbors_detail.template +++ b/templates/brocade_netiron_show_lldp_neighbors_detail.template @@ -4,20 +4,21 @@ Value ttlsecs (\d+) Value neihostnametid (.+) Value neiinterface ([a-zA-Z0-9\/\s]+) Value neipvid (\d+|none) -Value neimgmtip (\d+\.\d+\.\d+\.\d+) -Value neilacpindex (\d+) +Value neimgmtip (\d+\.\d+\.\d+\.\d+) +Value neilacpindex (\d+) Value neimaxframesize (\d+) Value neiopmau ([a-zA-Z0-9\-]+) +Value neicapabilities (.+) Start ^\w -> Continue.Record ^Local\s+port:\s+${interface} ^\s+\+\s+System\s+name\s+:\s+"${neihostnametid}" ^\s+\+\s+Port\s+description\s+:\s+"${neiinterface}" + ^\s+\Enabled\s+capabilities\s*:\s+${neicapabilities} ^\s+\+\s+Port\s+VLAN\s+ID:\s+${neipvid} ^\s+\+\s+Management\s+address\s+\(IPv4\):\s+${neimgmtip} ^\s+\+\s+Link\s+aggregation:\s+aggregated\s+\(aggregated\s+port\s+ifIndex:\s+${neilacpindex}\) ^\s+\+\s+Maximum\s+frame\s+size:\s+${neimaxframesize} ^\s+Operational\s+MAU\s+type\s+:\s+${neiopmau} ^\s+Neighbor:\s+${neimac},\s+TTL\s+${ttlsecs} - \ No newline at end of file diff --git a/templates/cisco_ios_show_cdp_neighbors_detail.template b/templates/cisco_ios_show_cdp_neighbors_detail.template index 8bb2e05fa1..861452afa4 100644 --- a/templates/cisco_ios_show_cdp_neighbors_detail.template +++ b/templates/cisco_ios_show_cdp_neighbors_detail.template @@ -4,11 +4,13 @@ Value PLATFORM (.*) Value REMOTE_PORT (.*) Value LOCAL_PORT (.*) Value SOFTWARE_VERSION (.*) +Value CAPABILITIES (.*) +#TODO - currently doesn't parse Platform and Capabilities if no ip is present Start ^Device ID: ${DESTINATION_HOST} ^Entry address\(es\): -> ParseIP - ^Platform: ${PLATFORM}, + ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES} ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} ^Version : -> GetVersion diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template new file mode 100644 index 0000000000..d997fb324c --- /dev/null +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -0,0 +1,27 @@ +Value LOCAL_INTERFACE (\S+) +Value CHASSIS_ID (\w+?\.\w+?\.\w+?) +Value NEIGHBOR_PORT_ID (\S+) +Value NEIGHBOR_INTERFACE (\S+) +Value NEIGHBOR (\S+) +Value SYSTEM_DESCRIPTION (.*) +Value CAPABILITIES (.*) +Value MANAGEMENT_IP (.*) +Value VLAN (.*) + +Start + ^Local Intf: ${LOCAL_INTERFACE}$$ + ^Chassis id: ${CHASSIS_ID}$$ + ^Port id: ${NEIGHBOR_PORT_ID}$$ + ^Port Description: ${NEIGHBOR_INTERFACE}$$ + ^System Name - not advertised${NEIGHBOR}$$ + ^System Name: ${NEIGHBOR}$$ + ^System Description: -> GetDescription + ^Enabled Capabilities: ${CAPABILITIES}$$ + ^Management Addresses: -> GetIP + ^Vlan ID: ${VLAN}$$ -> Record + +GetDescription + ^${SYSTEM_DESCRIPTION} -> Start + +GetIP + ^.*IP: ${MANAGEMENT_IP} -> Start \ No newline at end of file diff --git a/templates/cisco_nxos_show_cdp_neighbors_detail.template b/templates/cisco_nxos_show_cdp_neighbors_detail.template index 181c0975c3..2fea1622e7 100644 --- a/templates/cisco_nxos_show_cdp_neighbors_detail.template +++ b/templates/cisco_nxos_show_cdp_neighbors_detail.template @@ -5,12 +5,15 @@ Value PLATFORM (.*) Value REMOTE_PORT (.*) Value LOCAL_PORT (.*) Value VERSION (.*) +Value INTERFACE_IP (.*) +Value CAPABILITIES (.*) Start ^Device ID:${DEST_HOST} ^System Name: ${SYSNAME} + ^Interface address\(es\): -> GetInterfaceIP ^Mgmt address\(es\): -> GetIP - ^Platform: ${PLATFORM}, + ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES} ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} ^Version: -> GetVersion ^----- -> Record @@ -18,6 +21,9 @@ Start GetIP ^.*IP.+Address: ${MGMT_IP} -> Start +GetInterfaceIP + ^.*IP.+Address: ${INTERFACE_IP} -> Start + GetVersion ^${VERSION} -> Start diff --git a/templates/cisco_nxos_show_lldp_neighbors_detail.template b/templates/cisco_nxos_show_lldp_neighbors_detail.template index dec758c013..8c90676ca8 100644 --- a/templates/cisco_nxos_show_lldp_neighbors_detail.template +++ b/templates/cisco_nxos_show_lldp_neighbors_detail.template @@ -3,6 +3,9 @@ Value Required LOCAL_INTERFACE (\S+) Value Required NEIGHBOR_INTERFACE (\S+) Value CHASSIS_ID (\w+?\.\w+?\.\w+?) Value MGMT_ADDRESS (\d+?\.\d+?\.\d+?\.\d+?|\w+?\.\w+?\.\w+?) +Value SYSTEM_DESCRIPTION (.*) +Value CAPABILITIES (.*) +Value VLAN ([0-9]+) Start @@ -10,4 +13,7 @@ Start ^[Pp]ort\s[idID]{2}\:\s${NEIGHBOR_INTERFACE}$$ ^[Ll]ocal\s[Pp]ort\s[idID]{2}\:\s${LOCAL_INTERFACE}$$ ^[Ss]ystem\s[Nn]ame\:\s${NEIGHBOR}$$ - ^[Mm]anagement\s[Aa]ddress\:\s${MGMT_ADDRESS}$$ -> Record \ No newline at end of file + ^[Ss]ystem\s[Dd]escription\:\s${SYSTEM_DESCRIPTION}$$ + ^[Ee]nabled\s[Cc]apabilities\:\s${CAPABILITIES}$$ + ^[Mm]anagement\s[Aa]ddress\:\s${MGMT_ADDRESS}$$ + ^[Vv]lan\s[idID]{2}\:\s${VLAN}$$ -> Record diff --git a/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.template b/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.template new file mode 100644 index 0000000000..861452afa4 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.template @@ -0,0 +1,22 @@ +Value Required DESTINATION_HOST (\S+) +Value MANAGEMENT_IP (.*) +Value PLATFORM (.*) +Value REMOTE_PORT (.*) +Value LOCAL_PORT (.*) +Value SOFTWARE_VERSION (.*) +Value CAPABILITIES (.*) + +#TODO - currently doesn't parse Platform and Capabilities if no ip is present +Start + ^Device ID: ${DESTINATION_HOST} + ^Entry address\(es\): -> ParseIP + ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES} + ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} + ^Version : -> GetVersion + +ParseIP + ^.*IP address: ${MANAGEMENT_IP} -> Start + ^Platform: -> Start + +GetVersion + ^${SOFTWARE_VERSION} -> Record Start diff --git a/templates/cisco_xr_show_cdp_neighbors_detail.template b/templates/cisco_xr_show_cdp_neighbors_detail.template index a524fefaf2..0009a268ff 100644 --- a/templates/cisco_xr_show_cdp_neighbors_detail.template +++ b/templates/cisco_xr_show_cdp_neighbors_detail.template @@ -5,12 +5,13 @@ Value PLATFORM (.*) Value REMOTE_PORT (.*) Value LOCAL_PORT (.*) Value VERSION (.*) +Value CAPABILITIES (.*) Start ^Device ID: ${DEST_HOST} ^SysName : ${SYSNAME} ^Entry address\(es\): -> GetIP - ^Platform: ${PLATFORM}, + ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES} ^Interface: ${REMOTE_PORT} ^Port ID \(outgoing port\): ${LOCAL_PORT} ^Version : -> GetVersion diff --git a/templates/index b/templates/index index 784f819b6c..afeec08263 100644 --- a/templates/index +++ b/templates/index @@ -112,6 +112,7 @@ cisco_ios_show_ip_ospf_interface_brief.template, .*, cisco_ios, sh[[ow]] ip ospf cisco_ios_show_ip_device_tracking_all.template, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] cisco_ios_show_environment_power_all.template, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] +cisco_ios_show_lldp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] det[[ail]] cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_ios_show_interfaces_status.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] cisco_ios_show_ip_source_binding.template, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] @@ -191,6 +192,7 @@ cisco_nxos_show_fex.template, .*, cisco_nxos, sh[[ow]] fex cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf +cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template, .*, cisco_xr, sh[[ow]] bg[[p]] v[[rf]] all ip[[v4]] uni[[cast]] summ[[ary]] diff --git a/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.parsed b/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.parsed index 28adf90075..a30787365d 100644 --- a/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.parsed +++ b/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.parsed @@ -11,6 +11,7 @@ parsed_sample: neilacpindex: '66' neimaxframesize: '9216' neiopmau: '1000BaseT-FD' + neicapabilities: 'bridge, router' - interface: '2' neimac: '001b.ed6b.3102' @@ -22,6 +23,7 @@ parsed_sample: neilacpindex: '0' neimaxframesize: '10240' neiopmau: '1000BaseLX-FD' + neicapabilities: 'bridge' - interface: '11' neimac: '609c.9f46.6e34' @@ -33,4 +35,5 @@ parsed_sample: neilacpindex: '257' neimaxframesize: '10200' neiopmau: '1000BaseT-FD' + neicapabilities: 'bridge' diff --git a/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.parsed b/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.parsed index 409d242889..24efc19918 100644 --- a/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.parsed +++ b/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.parsed @@ -11,6 +11,7 @@ parsed_sample: neilacpindex: '' neimaxframesize: '' neiopmau: '' + neicapabilities: 'bridge' - interface: '1/1/24' neimac: '609c.9f44.bbf0' @@ -22,6 +23,7 @@ parsed_sample: neilacpindex: '257' neimaxframesize: '10200' neiopmau: '1000BaseT-FD' + neicapabilities: 'bridge' - interface: '1/3/1' neimac: '609c.9f44.bc13' @@ -33,6 +35,7 @@ parsed_sample: neilacpindex: '385' neimaxframesize: '10200' neiopmau: '10GigBaseER' + neicapabilities: 'bridge' - interface: '1/3/2' neimac: '609c.9f44.bc14' @@ -44,6 +47,7 @@ parsed_sample: neilacpindex: '385' neimaxframesize: '10200' neiopmau: '10GigBaseER' + neicapabilities: 'bridge' - interface: '2/1/1' neimac: 'cc4e.24c7.ccd4' @@ -55,6 +59,7 @@ parsed_sample: neilacpindex: '1' neimaxframesize: '10200' neiopmau: '1000BaseT-FD' + neicapabilities: 'bridge' - interface: '2/3/1' neimac: 'cc4e.24c7.af6f' @@ -66,6 +71,7 @@ parsed_sample: neilacpindex: '385' neimaxframesize: '10200' neiopmau: '10GigBaseER' + neicapabilities: 'bridge' - interface: '2/3/2' neimac: 'cc4e.24c7.af71' @@ -77,4 +83,5 @@ parsed_sample: neilacpindex: '385' neimaxframesize: '10200' neiopmau: '10GigBaseER' + neicapabilities: 'bridge' diff --git a/tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.parsed b/tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.parsed index d53c9abb59..7c1baf407e 100644 --- a/tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.parsed +++ b/tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.parsed @@ -11,6 +11,7 @@ parsed_sample: neilacpindex: '0' neimaxframesize: '10240' neiopmau: '1000BaseT-FD' + neicapabilities: 'bridge' - interface: '1/5' neimac: '001b.ed6b.6304' @@ -22,6 +23,7 @@ parsed_sample: neilacpindex: '5' neimaxframesize: '10240' neiopmau: '1000BaseT-FD' + neicapabilities: 'bridge' - interface: '1/6' neimac: 'e8e7.32cd.b14e' @@ -33,6 +35,7 @@ parsed_sample: neilacpindex: '' neimaxframesize: '' neiopmau: '' + neicapabilities: '' - interface: '1/10' neimac: '001b.edae.fe09' @@ -44,6 +47,7 @@ parsed_sample: neilacpindex: '10' neimaxframesize: '9216' neiopmau: '1000BaseT-FD' + neicapabilities: 'bridge, router' - interface: '1/13' neimac: '0026.f13c.85a9' @@ -55,4 +59,5 @@ parsed_sample: neilacpindex: '' neimaxframesize: '' neiopmau: '1000BaseT-FD' + neicapabilities: 'bridge' diff --git a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed index 1e99ecaf08..dfdb4a3871 100644 --- a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed +++ b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed @@ -6,6 +6,7 @@ parsed_sample: destination_host: "desktop-switch" remote_port: "GigabitEthernet0/1" local_port: "GigabitEthernet1/0/16" + capabilities: "Switch IGMP" - platform: "Cisco 3825" management_ip: "10.1.1.1" @@ -13,6 +14,7 @@ parsed_sample: destination_host: "ce-router" remote_port: "GigabitEthernet0/0" local_port: "GigabitEthernet1/0/22" + capabilities: "Router Switch IGMP" - platform: "VMware" management_ip: "10.1.1.232" @@ -20,10 +22,12 @@ parsed_sample: destination_host: "server" remote_port: "eth0" local_port: "GigabitEthernet1/0/19" - + capabilities: "Host" + - platform: "" management_ip: "" software_version: "Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M), Version 15.2(CML_NIGHTLY_20150414)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT BUILD, synced to DSGS_PI5_POSTCOLLAPSE_TEAM_TRACK_CLONE" destination_host: "vIOS-L2-1" remote_port: "GigabitEthernet0/3" local_port: "GigabitEthernet0/3" + capabilities: "" diff --git a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.raw b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.raw index b10420f17e..999ab0245d 100644 --- a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.raw +++ b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.raw @@ -56,8 +56,8 @@ Management address(es): ------------------------- Device ID: vIOS-L2-1 -Entry address(es): -Platform: Cisco , Capabilities: Router Switch IGMP +Entry address(es): +Platform: Cisco , Capabilities: Router Switch IGMP Interface: GigabitEthernet0/3, Port ID (outgoing port): GigabitEthernet0/3 Holdtime : 173 sec diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed new file mode 100644 index 0000000000..04c9364c52 --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed @@ -0,0 +1,31 @@ +--- +parsed_sample: +- local_interface: 'Gi1/0/2' + chassis_id: '7c25.86c9.aaaa' + neighbor_port_id: '502' + neighbor_interface: 'ge-0/0/0.0' + neighbor: '' + system_description: 'Juniper Networks, Inc. ex2200-24t-4g , version 12.3R9.4 Build date: 2015-02-12 11:25:30 UTC' + capabilities: 'B,R' + management_ip: '' + vlan: '- not advertised' + +- local_interface: 'Gi1/0/1' + chassis_id: '94f1.2879.5555' + neighbor_port_id: '94f1.2879.5555' + neighbor_interface: '13' + neighbor: 'HpSwitch' + system_description: 'HPE OfficeConnect Switch 1820 48G J9981A, PT.02.01, Linux 3.6.5-79c95a77, U-Boot 2012.10-00116-g3ab515c (Jul 30 2014 - 10:52:01)' + capabilities: 'B' + management_ip: '192.168.1.81' + vlan: '- not advertised' + +- local_interface: 'Gi1/0/9' + chassis_id: '4448.c1c4.dddd' + neighbor_port_id: '4448.c1c4.dddd' + neighbor_interface: 'eth0' + neighbor: '44:48:c1:c4:dd:dd' + system_description: 'ArubaOS (MODEL: 225), Version 6.4.2.6-4.1.1.6 (50009)' + capabilities: 'W' + management_ip: '192.168.1.40' + vlan: '- not advertised' \ No newline at end of file diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.raw b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.raw new file mode 100644 index 0000000000..d567b33ecc --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.raw @@ -0,0 +1,97 @@ +------------------------------------------------ +Local Intf: Gi1/0/2 +Chassis id: 7c25.86c9.aaaa +Port id: 502 +Port Description: ge-0/0/0.0 +System Name - not advertised + +System Description: +Juniper Networks, Inc. ex2200-24t-4g , version 12.3R9.4 Build date: 2015-02-12 11:25:30 UTC + +Time remaining: 116 seconds +System Capabilities: B,R +Enabled Capabilities: B,R +Management Addresses - not advertised +Auto Negotiation - supported, enabled +Physical media capabilities: + 1000baseT(FD) + Symm, Asym Pause(FD) + 100base-TX(FD) + 100base-TX(HD) + 10base-T(FD) + 10base-T(HD) +Media Attachment Unit type - not advertised +Vlan ID: - not advertised + +MED Information: + + MED Codes: + (NP) Network Policy, (LI) Location Identification + (PS) Power Source Entity, (PD) Power Device + (IN) Inventory + + Inventory information - not advertised + Capabilities: NP, LI, PS + Device type: Network connectivity + Network Policies - not advertised + Power requirements - not advertised + Location - not advertised + +------------------------------------------------ +Local Intf: Gi1/0/1 +Chassis id: 94f1.2879.5555 +Port id: 94f1.2879.5555 +Port Description: 13 +System Name: HpSwitch + +System Description: +HPE OfficeConnect Switch 1820 48G J9981A, PT.02.01, Linux 3.6.5-79c95a77, U-Boot 2012.10-00116-g3ab515c (Jul 30 2014 - 10:52:01) + +Time remaining: 91 seconds +System Capabilities: B +Enabled Capabilities: B +Management Addresses: + IP: 192.168.1.81 + OID: + 1.9.46.51.46.54.46.49.46.52.46.49.46.49.49.46.50.46.51.46.55.46.49.49.46.49.54.57. +Auto Negotiation - not supported +Physical media capabilities - not advertised +Media Attachment Unit type - not advertised +Vlan ID: - not advertised + +------------------------------------------------ +Local Intf: Gi1/0/9 +Chassis id: 4448.c1c4.dddd +Port id: 4448.c1c4.dddd +Port Description: eth0 +System Name: 44:48:c1:c4:dd:dd + +System Description: +ArubaOS (MODEL: 225), Version 6.4.2.6-4.1.1.6 (50009) + +Time remaining: 110 seconds +System Capabilities: B,W +Enabled Capabilities: W +Management Addresses: + IP: 192.168.1.40 +Auto Negotiation - supported, enabled +Physical media capabilities: + 1000baseT(FD) + 100base-TX(FD) + 100base-TX(HD) + 10base-T(FD) + 10base-T(HD) +Media Attachment Unit type: 30 +Vlan ID: - not advertised +PoE+ Power-via-MDI TLV: + Power Pair: Signal + Power Class: Class 4 + Power Device Type: Type 2 PD + Power Source: PSE + Power Priority: unknown + Power Requested: 19000 mW + Power Allocated: 19000 mW + + +Total entries displayed: 3 + diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.parsed b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.parsed index 2411570b62..8aa0baf923 100644 --- a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.parsed +++ b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.parsed @@ -9,6 +9,8 @@ parsed_sample: sysname: '' version: Cisco IOS Software, C3750 Software (C3750-IPBASEK9-M), Version 12.2(44)SE2, RELEASE SOFTWARE (fc2) + interface_ip: '10.1.100.1' + capabilities: 'Router Switch IGMP Filtering' - dest_host: dc-lf03(SAL19069XXX) local_port: Ethernet1/1 mgmt_ip: 10.1.100.226 @@ -16,6 +18,8 @@ parsed_sample: remote_port: Ethernet1/1 sysname: dc-lf03 version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I5(1) + interface_ip: '10.1.100.226' + capabilities: 'Router Switch IGMP Filtering Supports-STP-Dispute' - dest_host: dc-lf03(SAL1906XXXX) local_port: Ethernet1/3 mgmt_ip: 10.1.100.226 @@ -23,6 +27,8 @@ parsed_sample: remote_port: Ethernet1/3 sysname: dc-lf03 version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I5(1) + interface_ip: '10.1.100.226' + capabilities: 'Router Switch IGMP Filtering Supports-STP-Dispute' - dest_host: dc-sp01(SAL19069XXX) local_port: Ethernet1/49 mgmt_ip: 10.1.100.222 @@ -30,6 +36,8 @@ parsed_sample: remote_port: Ethernet1/52 sysname: dc-sp01 version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I2(2d) + interface_ip: '10.1.1.1' + capabilities: 'Router Switch IGMP Filtering Supports-STP-Dispute' - dest_host: dc-sp02(SAL19069XXX) local_port: Ethernet1/50 mgmt_ip: 10.1.100.223 @@ -37,3 +45,5 @@ parsed_sample: remote_port: Ethernet1/52 sysname: dc-sp02 version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I2(2d) + interface_ip: '10.1.1.9' + capabilities: 'Router Switch IGMP Filtering Supports-STP-Dispute' diff --git a/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.parsed b/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.parsed index ac85ca8b40..1982ec2e33 100644 --- a/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.parsed +++ b/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.parsed @@ -6,18 +6,30 @@ parsed_sample: neighbor_interface: 'Fa1/0/9' chassis_id: '0014.1c57.a48b' mgmt_address: '10.30.140.1' + system_description: 'Cisco IOS Software, C3750 Software (C3750-IPBASEK9-M), Version 12.2(44)SE2, RELEASE SOFTWARE (fc2)' + capabilities: 'B, R' + vlan: '100' - neighbor: 'n9k2.company.com' local_interface: 'Eth1/1' neighbor_interface: 'Ethernet1/1' chassis_id: '5087.89a1.d8d6' mgmt_address: '10.30.140.21' + system_description: 'Cisco Nexus Operating System (NX-OS) Software 7.0(3)I4(1)' + capabilities: 'B, R' + vlan: '1' - neighbor: 'n9k2.company.com' local_interface: 'Eth1/2' neighbor_interface: 'Ethernet1/2' chassis_id: '5087.89a1.d8d7' mgmt_address: '10.30.140.21' + system_description: 'Cisco Nexus Operating System (NX-OS) Software 7.0(3)I4(1)' + capabilities: 'B, R' + vlan: '1' - neighbor: 'N3K.cisconxapi.com' local_interface: 'Eth2/2' neighbor_interface: 'Ethernet1/49' chassis_id: '547f.eeaf.7818' mgmt_address: '10.30.140.30' + system_description: 'Cisco Nexus Operating System (NX-OS) Software 6.0(2)U4(1)' + capabilities: 'B, R' + vlan: '1' diff --git a/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.parsed b/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.parsed new file mode 100644 index 0000000000..33bf925a7b --- /dev/null +++ b/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.parsed @@ -0,0 +1,25 @@ +--- +parsed_sample: +- platform: "N77-C7706" + management_ip: "1.2.3.4" + software_version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(10)" + destination_host: "AAA.pizza.com(FXS1828Q2JH)" + remote_port: "Ethernet1/15" + local_port: "GigabitEthernet0/0/2" + capabilities: "Router Switch IGMP" + +- platform: "cisco WS-C3750G-12S" + management_ip: "172.5.6.7" + software_version: "Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(55)SE11, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Wed 17-Aug-16 13:28 by prod_rel_team" + destination_host: "BBB.beer.com" + remote_port: "GigabitEthernet1/0/11" + local_port: "GigabitEthernet0/0/7" + capabilities: "Router Switch IGMP" + +- platform: "cisco WS-C3750G-12S" + management_ip: "172.9.10.11" + software_version: "Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(55)SE11, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Wed 17-Aug-16 13:28 by prod_rel_team" + destination_host: "CCC.cake.com" + remote_port: "GigabitEthernet1/0/1" + local_port: "GigabitEthernet0/0/8" + capabilities: "Router Switch IGMP" diff --git a/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.raw b/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.raw new file mode 100644 index 0000000000..2ca67fbee3 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.raw @@ -0,0 +1,44 @@ + +------------------------- +Device ID: AAA.pizza.com(FXS1828Q2JH) +Entry address(es): + IP address: 1.2.3.4 +Platform: N77-C7706, Capabilities: Router Switch IGMP +Interface: GigabitEthernet0/0/2, Port ID (outgoing port): Ethernet1/15 +Holdtime : 127 sec + +Version : +Cisco Nexus Operating System (NX-OS) Software, Version 6.2(10) + +Advertisement version: 2 +Duplex: Full + +------------------------- +Device ID: BBB.beer.com +Entry address(es): + IP address: 172.5.6.7 +Platform: cisco WS-C3750G-12S, Capabilities: Router Switch IGMP +Interface: GigabitEthernet0/0/7, Port ID (outgoing port): GigabitEthernet1/0/11 +Holdtime : 162 sec + + +Version : +Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(55)SE11, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Wed 17-Aug-16 13:28 by prod_rel_team + +Advertisement version: 2 +Duplex: Full + +------------------------- +Device ID: CCC.cake.com +Entry address(es): + IP address: 172.9.10.11 +Platform: cisco WS-C3750G-12S, Capabilities: Router Switch IGMP +Interface: GigabitEthernet0/0/8, Port ID (outgoing port): GigabitEthernet1/0/1 +Holdtime : 162 sec + +Version : +Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(55)SE11, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Wed 17-Aug-16 13:28 by prod_rel_team + +Advertisement version: 2 +Duplex: Full + diff --git a/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed b/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed index 874d33b863..1cc5b1992f 100644 --- a/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed +++ b/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed @@ -9,6 +9,7 @@ parsed_sample: sysname: '' version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), Version 15.0(2)SG10, RELEASE SOFTWARE (fc1) + capabilities: "Router Switch IGMP" - dest_host: nyc-dc-dcm006.ntc.com local_port: GigabitEthernet1/9 mgmt_ip: 10.100.1.55 @@ -17,6 +18,7 @@ parsed_sample: sysname: '' version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), Version 15.0(2)SG10, RELEASE SOFTWARE (fc1) + capabilities: "Router Switch IGMP" - dest_host: nyc-dc-c90.ntc.com local_port: FortyGigE0/0/0/2 mgmt_ip: 10.100.100.141 @@ -24,6 +26,7 @@ parsed_sample: remote_port: FortyGigE0/0/1/0 sysname: nyc-dc-c90.ntc.com version: Cisco IOS XR Software, Version 5.1.2[Default] + capabilities: "Router Switch IGMP" - dest_host: nyc-dc-d02.ntc.com(FXS182XXXXX) local_port: Ethernet6/1 mgmt_ip: 10.100.100.162 @@ -31,6 +34,7 @@ parsed_sample: remote_port: FortyGigE0/0/1/1 sysname: nyc-dc-d02 version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) + capabilities: "Router Switch" - dest_host: nyc-dc-c97 local_port: FortyGigE0/0/0/0 mgmt_ip: 10.100.100.19 @@ -38,6 +42,7 @@ parsed_sample: remote_port: FortyGigE0/0/0/0 sysname: nyc-dc-c97 version: Cisco IOS XR Software, Version 5.3.4[Default] + capabilities: "Router" - dest_host: nyc-dc-c91.ntc.com local_port: FortyGigE0/0/0/2 mgmt_ip: 10.100.100.125 @@ -45,6 +50,7 @@ parsed_sample: remote_port: FortyGigE0/0/0/1 sysname: nyc-dc-c91.ntc.com version: Cisco IOS XR Software, Version 5.1.2[Default] + capabilities: "Router" - dest_host: nyc-dc-c97 local_port: FortyGigE0/1/0/0 mgmt_ip: 10.100.100.113 @@ -52,6 +58,7 @@ parsed_sample: remote_port: FortyGigE0/1/0/0 sysname: nyc-dc-c97 version: Cisco IOS XR Software, Version 5.3.4[Default] + capabilities: "Router" - dest_host: nyc-dc-d03.ntc.com(FXS182XXXXX) local_port: Ethernet6/1 mgmt_ip: 10.100.100.190 @@ -59,6 +66,7 @@ parsed_sample: remote_port: FortyGigE0/1/0/1 sysname: nyc-dc-d03 version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) + capabilities: "Router Switch" - dest_host: nyc-dc-c90.ntc.com local_port: FortyGigE0/4/0/2 mgmt_ip: 10.100.100.145 @@ -66,6 +74,7 @@ parsed_sample: remote_port: FortyGigE0/1/1/0 sysname: nyc-dc-c90.ntc.com version: Cisco IOS XR Software, Version 5.1.2[Default] + capabilities: "Router" - dest_host: nyc-dc-z50a.ntc.com(JAF18XXXXX) local_port: Ethernet4/3 mgmt_ip: 10.100.100.116 @@ -73,6 +82,7 @@ parsed_sample: remote_port: FortyGigE0/1/1/1 sysname: nyc-dc-z50a version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) + capabilities: "Router Switch" - dest_host: nyc-dc-d04.ntc.com(FXS18XXXXXX) local_port: Ethernet6/1 mgmt_ip: 10.100.100.194 @@ -80,6 +90,7 @@ parsed_sample: remote_port: FortyGigE0/2/1/0 sysname: nyc-dc-d04 version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) + capabilities: "Router Switch" - dest_host: nyc-dc-c91.ntc.com local_port: FortyGigE0/4/0/2 mgmt_ip: 10.100.100.129 @@ -87,6 +98,7 @@ parsed_sample: remote_port: FortyGigE0/2/1/1 sysname: nyc-dc-c91.ntc.com version: Cisco IOS XR Software, Version 5.1.2[Default] + capabilities: "Router" - dest_host: nyc-dc-d01.ntc.com(FXS182XXXXX) local_port: Ethernet6/1 mgmt_ip: 10.100.100.158 @@ -94,6 +106,7 @@ parsed_sample: remote_port: FortyGigE0/2/0/0 sysname: nyc-dc-d01 version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) + capabilities: "Router Switch" - dest_host: nyc-dc-z50b.ntc.com(JAF181XXXXX) local_port: Ethernet4/3 mgmt_ip: 10.100.100.111 @@ -101,6 +114,7 @@ parsed_sample: remote_port: FortyGigE0/2/0/1 sysname: nyc-dc-z50b version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) + capabilities: "Router Switch" - dest_host: nyc-dc-dcc001.ntc.com local_port: TenGigabitEthernet6/1 mgmt_ip: 10.100.100.174 @@ -109,6 +123,7 @@ parsed_sample: sysname: '' version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), Version 15.2(2)E3, RELEASE SOFTWARE (fc3) + capabilities: "Router Switch IGMP" - dest_host: nyc-dc-d57 local_port: TenGigE0/2/0/0 mgmt_ip: 10.100.100.115 @@ -116,6 +131,7 @@ parsed_sample: remote_port: TenGigE0/3/0/1 sysname: nyc-dc-d57 version: Cisco IOS XR Software, Version 4.3.2[Default] + capabilities: "Router" - dest_host: nyc-dc-d40b.ntc.com(JAF182XXXXX) local_port: Ethernet4/1 mgmt_ip: 10.100.100.114 @@ -123,6 +139,7 @@ parsed_sample: remote_port: TenGigE0/3/0/2 sysname: nyc-dc-d40b version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) + capabilities: "Router Switch" - dest_host: nyc-dc-d80.ntc.com(FOC184XXXXX) local_port: Ethernet2/1 mgmt_ip: 10.100.100.117 @@ -130,6 +147,7 @@ parsed_sample: remote_port: TenGigE0/3/0/3 sysname: nyc-dc-d80 version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(7)N1(1) + capabilities: "Router Switch IGMP" - dest_host: nyc-dc-dcc002.ntc.com local_port: TenGigabitEthernet6/1 mgmt_ip: 10.100.100.178 @@ -138,6 +156,7 @@ parsed_sample: sysname: '' version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), Version 15.2(2)E3, RELEASE SOFTWARE (fc3) + capabilities: "Router Switch IGMP" - dest_host: nyc-dc-d57 local_port: TenGigE1/2/0/0 mgmt_ip: 10.100.100.115 @@ -145,6 +164,7 @@ parsed_sample: remote_port: TenGigE0/4/0/1 sysname: nyc-dc-d57 version: Cisco IOS XR Software, Version 4.3.2[Default] + capabilities: "Router" - dest_host: nyc-dc-d40a.ntc.com(JAF182XXXXX) local_port: Ethernet4/1 mgmt_ip: 10.100.100.113 @@ -152,6 +172,7 @@ parsed_sample: remote_port: TenGigE0/4/0/2 sysname: nyc-dc-d40a version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) + capabilities: "Router Switch" - dest_host: nyc-dc-d81.ntc.com(FOC182XXXXX) local_port: Ethernet1/1 mgmt_ip: 10.100.100.118 @@ -159,6 +180,7 @@ parsed_sample: remote_port: TenGigE0/4/0/3 sysname: nyc-dc-d81 version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(7)N1(1) + capabilities: "Router Switch IGMP" - dest_host: nyc-dc-c97 local_port: FortyGigE0/6/0/0 mgmt_ip: 192.168.169.21 @@ -166,6 +188,7 @@ parsed_sample: remote_port: FortyGigE0/6/0/0 sysname: nyc-dc-c97 version: Cisco IOS XR Software, Version 5.3.4[Default] + capabilities: "Router" - dest_host: nyc-dc-c97 local_port: FortyGigE0/7/0/0 mgmt_ip: 192.168.169.21 @@ -173,3 +196,4 @@ parsed_sample: remote_port: FortyGigE0/6/0/0 sysname: nyc-dc-c97 version: Cisco IOS XR Software, Version 5.3.4[Default] + capabilities: "Router" \ No newline at end of file diff --git a/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.raw b/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.raw index d6c432359b..94655dbbc1 100644 --- a/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.raw +++ b/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.raw @@ -1,9 +1,9 @@ ------------------------- Device ID: nyc-dc-dcm005.ntc.com -SysName : -Entry address(es): +SysName : +Entry address(es): IPv4 address: 10.100.1.54 -Platform: cisco WS-C4948E, Capabilities: Router Switch IGMP +Platform: cisco WS-C4948E, Capabilities: Router Switch IGMP Interface: MgmtEth0/RSP0/CPU0/0 Port ID (outgoing port): GigabitEthernet1/9 Holdtime : 134 sec @@ -20,10 +20,10 @@ Duplex: full ------------------------- Device ID: nyc-dc-dcm006.ntc.com -SysName : -Entry address(es): +SysName : +Entry address(es): IPv4 address: 10.100.1.55 -Platform: cisco WS-C4948E, Capabilities: Router Switch IGMP +Platform: cisco WS-C4948E, Capabilities: Router Switch IGMP Interface: MgmtEth0/RSP1/CPU0/0 Port ID (outgoing port): GigabitEthernet1/9 Holdtime : 160 sec @@ -41,9 +41,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-c90.ntc.com SysName : nyc-dc-c90.ntc.com -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.141 -Platform: cisco CRS, Capabilities: Router +Platform: cisco CRS, Capabilities: Router Switch IGMP Interface: FortyGigE0/0/1/0 Port ID (outgoing port): FortyGigE0/0/0/2 Holdtime : 155 sec @@ -58,9 +58,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-d02.ntc.com(FXS182XXXXX) SysName : nyc-dc-d02 -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.162 -Platform: N77-C7706, Capabilities: Router Switch +Platform: N77-C7706, Capabilities: Router Switch Interface: FortyGigE0/0/1/1 Port ID (outgoing port): Ethernet6/1 Holdtime : 126 sec @@ -74,9 +74,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-c97 SysName : nyc-dc-c97 -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.19 -Platform: cisco ASR9K Series, Capabilities: Router +Platform: cisco ASR9K Series, Capabilities: Router Interface: FortyGigE0/0/0/0 Port ID (outgoing port): FortyGigE0/0/0/0 Holdtime : 170 sec @@ -91,9 +91,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-c91.ntc.com SysName : nyc-dc-c91.ntc.com -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.125 -Platform: cisco CRS, Capabilities: Router +Platform: cisco CRS, Capabilities: Router Interface: FortyGigE0/0/0/1 Port ID (outgoing port): FortyGigE0/0/0/2 Holdtime : 122 sec @@ -108,9 +108,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-c97 SysName : nyc-dc-c97 -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.113 -Platform: cisco ASR9K Series, Capabilities: Router +Platform: cisco ASR9K Series, Capabilities: Router Interface: FortyGigE0/1/0/0 Port ID (outgoing port): FortyGigE0/1/0/0 Holdtime : 132 sec @@ -125,9 +125,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-d03.ntc.com(FXS182XXXXX) SysName : nyc-dc-d03 -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.190 -Platform: N77-C7706, Capabilities: Router Switch +Platform: N77-C7706, Capabilities: Router Switch Interface: FortyGigE0/1/0/1 Port ID (outgoing port): Ethernet6/1 Holdtime : 144 sec @@ -141,9 +141,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-c90.ntc.com SysName : nyc-dc-c90.ntc.com -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.145 -Platform: cisco CRS, Capabilities: Router +Platform: cisco CRS, Capabilities: Router Interface: FortyGigE0/1/1/0 Port ID (outgoing port): FortyGigE0/4/0/2 Holdtime : 174 sec @@ -158,9 +158,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-z50a.ntc.com(JAF18XXXXX) SysName : nyc-dc-z50a -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.116 -Platform: N77-C7710, Capabilities: Router Switch +Platform: N77-C7710, Capabilities: Router Switch Interface: FortyGigE0/1/1/1 Port ID (outgoing port): Ethernet4/3 Holdtime : 153 sec @@ -174,9 +174,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-d04.ntc.com(FXS18XXXXXX) SysName : nyc-dc-d04 -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.194 -Platform: N77-C7706, Capabilities: Router Switch +Platform: N77-C7706, Capabilities: Router Switch Interface: FortyGigE0/2/1/0 Port ID (outgoing port): Ethernet6/1 Holdtime : 155 sec @@ -190,9 +190,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-c91.ntc.com SysName : nyc-dc-c91.ntc.com -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.129 -Platform: cisco CRS, Capabilities: Router +Platform: cisco CRS, Capabilities: Router Interface: FortyGigE0/2/1/1 Port ID (outgoing port): FortyGigE0/4/0/2 Holdtime : 130 sec @@ -207,9 +207,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-d01.ntc.com(FXS182XXXXX) SysName : nyc-dc-d01 -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.158 -Platform: N77-C7706, Capabilities: Router Switch +Platform: N77-C7706, Capabilities: Router Switch Interface: FortyGigE0/2/0/0 Port ID (outgoing port): Ethernet6/1 Holdtime : 128 sec @@ -223,9 +223,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-z50b.ntc.com(JAF181XXXXX) SysName : nyc-dc-z50b -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.111 -Platform: N77-C7710, Capabilities: Router Switch +Platform: N77-C7710, Capabilities: Router Switch Interface: FortyGigE0/2/0/1 Port ID (outgoing port): Ethernet4/3 Holdtime : 158 sec @@ -238,10 +238,10 @@ Duplex: full ------------------------- Device ID: nyc-dc-dcc001.ntc.com -SysName : -Entry address(es): +SysName : +Entry address(es): IPv4 address: 10.100.100.174 -Platform: cisco WS-C4510R+E, Capabilities: Router Switch IGMP +Platform: cisco WS-C4510R+E, Capabilities: Router Switch IGMP Interface: TenGigE0/3/0/0 Port ID (outgoing port): TenGigabitEthernet6/1 Holdtime : 142 sec @@ -258,9 +258,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-d57 SysName : nyc-dc-d57 -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.115 -Platform: cisco ASR9K Series, Capabilities: Router +Platform: cisco ASR9K Series, Capabilities: Router Interface: TenGigE0/3/0/1 Port ID (outgoing port): TenGigE0/2/0/0 Holdtime : 150 sec @@ -275,9 +275,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-d40b.ntc.com(JAF182XXXXX) SysName : nyc-dc-d40b -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.114 -Platform: N77-C7710, Capabilities: Router Switch +Platform: N77-C7710, Capabilities: Router Switch Interface: TenGigE0/3/0/2 Port ID (outgoing port): Ethernet4/1 Holdtime : 171 sec @@ -291,9 +291,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-d80.ntc.com(FOC184XXXXX) SysName : nyc-dc-d80 -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.117 -Platform: N5K-C56128P, Capabilities: Router Switch IGMP +Platform: N5K-C56128P, Capabilities: Router Switch IGMP Interface: TenGigE0/3/0/3 Port ID (outgoing port): Ethernet2/1 Holdtime : 140 sec @@ -306,10 +306,10 @@ Duplex: full ------------------------- Device ID: nyc-dc-dcc002.ntc.com -SysName : -Entry address(es): +SysName : +Entry address(es): IPv4 address: 10.100.100.178 -Platform: cisco WS-C4510R+E, Capabilities: Router Switch IGMP +Platform: cisco WS-C4510R+E, Capabilities: Router Switch IGMP Interface: TenGigE0/4/0/0 Port ID (outgoing port): TenGigabitEthernet6/1 Holdtime : 147 sec @@ -326,9 +326,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-d57 SysName : nyc-dc-d57 -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.115 -Platform: cisco ASR9K Series, Capabilities: Router +Platform: cisco ASR9K Series, Capabilities: Router Interface: TenGigE0/4/0/1 Port ID (outgoing port): TenGigE1/2/0/0 Holdtime : 120 sec @@ -343,9 +343,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-d40a.ntc.com(JAF182XXXXX) SysName : nyc-dc-d40a -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.113 -Platform: N77-C7710, Capabilities: Router Switch +Platform: N77-C7710, Capabilities: Router Switch Interface: TenGigE0/4/0/2 Port ID (outgoing port): Ethernet4/1 Holdtime : 171 sec @@ -359,9 +359,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-d81.ntc.com(FOC182XXXXX) SysName : nyc-dc-d81 -Entry address(es): +Entry address(es): IPv4 address: 10.100.100.118 -Platform: N5K-C56128P, Capabilities: Router Switch IGMP +Platform: N5K-C56128P, Capabilities: Router Switch IGMP Interface: TenGigE0/4/0/3 Port ID (outgoing port): Ethernet1/1 Holdtime : 141 sec @@ -375,9 +375,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-c97 SysName : nyc-dc-c97 -Entry address(es): +Entry address(es): IPv4 address: 192.168.169.21 -Platform: cisco ASR9K Series, Capabilities: Router +Platform: cisco ASR9K Series, Capabilities: Router Interface: FortyGigE0/6/0/0 Port ID (outgoing port): FortyGigE0/6/0/0 Holdtime : 163 sec @@ -392,9 +392,9 @@ Duplex: full ------------------------- Device ID: nyc-dc-c97 SysName : nyc-dc-c97 -Entry address(es): +Entry address(es): IPv4 address: 192.168.169.21 -Platform: cisco ASR9K Series, Capabilities: Router +Platform: cisco ASR9K Series, Capabilities: Router Interface: FortyGigE0/6/0/0 Port ID (outgoing port): FortyGigE0/7/0/0 Holdtime : 140 sec From fd38cb2a0bed711f4913e7c13591b2b79194af29 Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Sat, 14 Jul 2018 17:22:46 +0300 Subject: [PATCH 095/628] fix - cisco_ios/wlc_show_cdp_neighbors_detail now parse platform and capabilities, always --- .../cisco_ios_show_cdp_neighbors_detail.template | 12 ++++++------ .../cisco_wlc_ssh_show_cdp_neighbors_detail.template | 12 ++++++------ .../cisco_ios_show_cdp_neighbors_detail.parsed | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/templates/cisco_ios_show_cdp_neighbors_detail.template b/templates/cisco_ios_show_cdp_neighbors_detail.template index 861452afa4..7b1b8ac54f 100644 --- a/templates/cisco_ios_show_cdp_neighbors_detail.template +++ b/templates/cisco_ios_show_cdp_neighbors_detail.template @@ -1,22 +1,22 @@ Value Required DESTINATION_HOST (\S+) -Value MANAGEMENT_IP (.*) +Value MANAGEMENT_IP (\d+\.\d+\.\d+\.\d+|\w+\.\w+\.\w+) Value PLATFORM (.*) Value REMOTE_PORT (.*) Value LOCAL_PORT (.*) -Value SOFTWARE_VERSION (.*) +Value SOFTWARE_VERSION (.*$) Value CAPABILITIES (.*) -#TODO - currently doesn't parse Platform and Capabilities if no ip is present Start ^Device ID: ${DESTINATION_HOST} - ^Entry address\(es\): -> ParseIP - ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES} + ^Entry address\(es\)\s*:\s* -> ParseIP + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES} ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} ^Version : -> GetVersion ParseIP ^.*IP address: ${MANAGEMENT_IP} -> Start - ^Platform: -> Start + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES} -> Start + ^.* -> Start GetVersion ^${SOFTWARE_VERSION} -> Record Start diff --git a/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.template b/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.template index 861452afa4..7b1b8ac54f 100644 --- a/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.template +++ b/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.template @@ -1,22 +1,22 @@ Value Required DESTINATION_HOST (\S+) -Value MANAGEMENT_IP (.*) +Value MANAGEMENT_IP (\d+\.\d+\.\d+\.\d+|\w+\.\w+\.\w+) Value PLATFORM (.*) Value REMOTE_PORT (.*) Value LOCAL_PORT (.*) -Value SOFTWARE_VERSION (.*) +Value SOFTWARE_VERSION (.*$) Value CAPABILITIES (.*) -#TODO - currently doesn't parse Platform and Capabilities if no ip is present Start ^Device ID: ${DESTINATION_HOST} - ^Entry address\(es\): -> ParseIP - ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES} + ^Entry address\(es\)\s*:\s* -> ParseIP + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES} ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} ^Version : -> GetVersion ParseIP ^.*IP address: ${MANAGEMENT_IP} -> Start - ^Platform: -> Start + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES} -> Start + ^.* -> Start GetVersion ^${SOFTWARE_VERSION} -> Record Start diff --git a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed index dfdb4a3871..a147f08497 100644 --- a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed +++ b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed @@ -24,10 +24,10 @@ parsed_sample: local_port: "GigabitEthernet1/0/19" capabilities: "Host" -- platform: "" +- platform: "Cisco " management_ip: "" software_version: "Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M), Version 15.2(CML_NIGHTLY_20150414)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT BUILD, synced to DSGS_PI5_POSTCOLLAPSE_TEAM_TRACK_CLONE" destination_host: "vIOS-L2-1" remote_port: "GigabitEthernet0/3" local_port: "GigabitEthernet0/3" - capabilities: "" + capabilities: "Router Switch IGMP" From 58b46472e2b9c6457b47e5043de2bf7579f9b527 Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Sat, 14 Jul 2018 17:54:22 +0300 Subject: [PATCH 096/628] added validation for cisco_ios_show_lldp_neighbors_detail.template --- .../cisco_ios_show_lldp_neighbors_detail.template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index d997fb324c..2cd8739a6d 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -5,7 +5,7 @@ Value NEIGHBOR_INTERFACE (\S+) Value NEIGHBOR (\S+) Value SYSTEM_DESCRIPTION (.*) Value CAPABILITIES (.*) -Value MANAGEMENT_IP (.*) +Value MANAGEMENT_IP (\d+\.\d+\.\d+\.\d+|\w+\.\w+\.\w+) Value VLAN (.*) Start @@ -18,7 +18,13 @@ Start ^System Description: -> GetDescription ^Enabled Capabilities: ${CAPABILITIES}$$ ^Management Addresses: -> GetIP - ^Vlan ID: ${VLAN}$$ -> Record + ^Vlan ID: ${VLAN}$$ + ^-+ -> Record + ^\s*$$ + ^Total entries displayed -> Continue.Record + ^\s*$$ -> Continue + ^\S*$$ -> Error + GetDescription ^${SYSTEM_DESCRIPTION} -> Start From e9ff78e4b5f96ed2ae46c65c150911fa6cd3550f Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Mon, 16 Jul 2018 12:21:24 +0300 Subject: [PATCH 097/628] changed vlan to int --- templates/cisco_ios_show_lldp_neighbors_detail.template | 2 +- .../cisco_ios_show_lldp_neighbors_detail.parsed | 6 +++--- .../cisco_ios_show_lldp_neighbors_detail.raw | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index 2cd8739a6d..fb2da738c7 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -6,7 +6,7 @@ Value NEIGHBOR (\S+) Value SYSTEM_DESCRIPTION (.*) Value CAPABILITIES (.*) Value MANAGEMENT_IP (\d+\.\d+\.\d+\.\d+|\w+\.\w+\.\w+) -Value VLAN (.*) +Value VLAN (\d+) Start ^Local Intf: ${LOCAL_INTERFACE}$$ diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed index 04c9364c52..7ad0c36b6a 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed @@ -8,7 +8,7 @@ parsed_sample: system_description: 'Juniper Networks, Inc. ex2200-24t-4g , version 12.3R9.4 Build date: 2015-02-12 11:25:30 UTC' capabilities: 'B,R' management_ip: '' - vlan: '- not advertised' + vlan: '1' - local_interface: 'Gi1/0/1' chassis_id: '94f1.2879.5555' @@ -18,7 +18,7 @@ parsed_sample: system_description: 'HPE OfficeConnect Switch 1820 48G J9981A, PT.02.01, Linux 3.6.5-79c95a77, U-Boot 2012.10-00116-g3ab515c (Jul 30 2014 - 10:52:01)' capabilities: 'B' management_ip: '192.168.1.81' - vlan: '- not advertised' + vlan: '' - local_interface: 'Gi1/0/9' chassis_id: '4448.c1c4.dddd' @@ -28,4 +28,4 @@ parsed_sample: system_description: 'ArubaOS (MODEL: 225), Version 6.4.2.6-4.1.1.6 (50009)' capabilities: 'W' management_ip: '192.168.1.40' - vlan: '- not advertised' \ No newline at end of file + vlan: '' \ No newline at end of file diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.raw b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.raw index d567b33ecc..782043f315 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.raw +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.raw @@ -21,7 +21,7 @@ Physical media capabilities: 10base-T(FD) 10base-T(HD) Media Attachment Unit type - not advertised -Vlan ID: - not advertised +Vlan ID: 1 MED Information: From a4ff944eb68a16c9bd9f1c52c9e02b35c244206d Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 16 Jul 2018 09:25:07 -0400 Subject: [PATCH 098/628] Add trailing new-line --- .../cisco_ios_show_ip_device_tracking_all.parsed | 2 +- .../cisco_ios_show_ip_source_binding.parsed | 2 +- .../cisco_ios_show_lldp_neighbors_detail.parsed | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed b/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed index 401121a235..90a9fe78e7 100644 --- a/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed +++ b/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed @@ -22,4 +22,4 @@ parsed_sample: interface: "GigabitEthernet1/0/1" probe_timeout: "30" state: "ACTIVE" - source: "ARP" \ No newline at end of file + source: "ARP" diff --git a/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed b/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed index bb70b13d95..29800434dc 100644 --- a/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed +++ b/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed @@ -19,4 +19,4 @@ parsed_sample: lease: "591457" type: "dhcp-snooping" vlan: "1" - interface: "GigabitEthernet1/0/9" \ No newline at end of file + interface: "GigabitEthernet1/0/9" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed index 04c9364c52..facae03ab2 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed @@ -28,4 +28,4 @@ parsed_sample: system_description: 'ArubaOS (MODEL: 225), Version 6.4.2.6-4.1.1.6 (50009)' capabilities: 'W' management_ip: '192.168.1.40' - vlan: '- not advertised' \ No newline at end of file + vlan: '- not advertised' From a222ea364b8b812414fff2deaddfa7291f439baf Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 16 Jul 2018 10:15:33 -0400 Subject: [PATCH 099/628] Update template to capture all known lines and raise error if a match is not found --- .../cisco_ios_show_ip_device_tracking_all.template | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/templates/cisco_ios_show_ip_device_tracking_all.template b/templates/cisco_ios_show_ip_device_tracking_all.template index 077b860b7a..c47eb7d634 100644 --- a/templates/cisco_ios_show_ip_device_tracking_all.template +++ b/templates/cisco_ios_show_ip_device_tracking_all.template @@ -7,4 +7,12 @@ Value Required STATE (\S+) Value Required SOURCE (\S+) Start - ^${IP}\s+${MAC}\s+${VLAN}\s+${INTERFACE}\s+${PROBE_TIMEOUT}\s+${STATE}\s+${SOURCE} -> Record \ No newline at end of file + ^${IP}\s+${MAC}\s+${VLAN}\s+${INTERFACE}\s+${PROBE_TIMEOUT}\s+${STATE}\s+${SOURCE} -> Record + ^Global + ^Total + ^Enabled\s+interfaces + ^\s+(?:\S+(?:,\s*|))+$$ + ^\s*-+ + ^\s+IP Address\s+MAC\s+Address\s+Vlan\s+Interface\s+Probe-Timeout\s+State\s+Source + ^\s*$$ + ^.* -> Error From b0b229e2388f4c029fca4a858dee22742366dd6c Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 16 Jul 2018 11:48:08 -0400 Subject: [PATCH 100/628] Fix incorrect escape character --- templates/brocade_fastiron_show_lldp_neighbors_detail.template | 2 +- templates/brocade_netiron_show_lldp_neighbors_detail.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/brocade_fastiron_show_lldp_neighbors_detail.template b/templates/brocade_fastiron_show_lldp_neighbors_detail.template index 16595b5c27..ae6c3da7d9 100644 --- a/templates/brocade_fastiron_show_lldp_neighbors_detail.template +++ b/templates/brocade_fastiron_show_lldp_neighbors_detail.template @@ -15,7 +15,7 @@ Start ^Local\s+port:\s+${interface} ^\s+\+\s+System\s+name\s+:\s+"${neihostnametid}" ^\s+\+\s+Port\s+description\s+:\s+"${neiinterface}" - ^\s+\Enabled\s+capabilities\s*:\s+${neicapabilities} + ^\s+Enabled\s+capabilities\s*:\s+${neicapabilities} ^\s+\+\s+Port\s+VLAN\s+ID:\s+${neipvid} ^\s+\+\s+Management\s+address\s+\(IPv4\):\s+${neimgmtip} ^\s+\+\s+Link\s+aggregation:\s+aggregated\s+\(aggregated\s+port\s+ifIndex:\s+${neilacpindex}\) diff --git a/templates/brocade_netiron_show_lldp_neighbors_detail.template b/templates/brocade_netiron_show_lldp_neighbors_detail.template index 16595b5c27..ae6c3da7d9 100644 --- a/templates/brocade_netiron_show_lldp_neighbors_detail.template +++ b/templates/brocade_netiron_show_lldp_neighbors_detail.template @@ -15,7 +15,7 @@ Start ^Local\s+port:\s+${interface} ^\s+\+\s+System\s+name\s+:\s+"${neihostnametid}" ^\s+\+\s+Port\s+description\s+:\s+"${neiinterface}" - ^\s+\Enabled\s+capabilities\s*:\s+${neicapabilities} + ^\s+Enabled\s+capabilities\s*:\s+${neicapabilities} ^\s+\+\s+Port\s+VLAN\s+ID:\s+${neipvid} ^\s+\+\s+Management\s+address\s+\(IPv4\):\s+${neimgmtip} ^\s+\+\s+Link\s+aggregation:\s+aggregated\s+\(aggregated\s+port\s+ifIndex:\s+${neilacpindex}\) From 6446f2043658ff04fb566c0c999e4331419269eb Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 16 Jul 2018 17:36:38 -0400 Subject: [PATCH 101/628] Add matches for uninteresting data in ios_lldp_neighbors_detail --- ...co_ios_show_lldp_neighbors_detail.template | 50 ++++++++++++------- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index fb2da738c7..7a9fef8b5c 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -5,29 +5,43 @@ Value NEIGHBOR_INTERFACE (\S+) Value NEIGHBOR (\S+) Value SYSTEM_DESCRIPTION (.*) Value CAPABILITIES (.*) -Value MANAGEMENT_IP (\d+\.\d+\.\d+\.\d+|\w+\.\w+\.\w+) +Value MANAGEMENT_IP (\S+) Value VLAN (\d+) Start - ^Local Intf: ${LOCAL_INTERFACE}$$ - ^Chassis id: ${CHASSIS_ID}$$ - ^Port id: ${NEIGHBOR_PORT_ID}$$ - ^Port Description: ${NEIGHBOR_INTERFACE}$$ - ^System Name - not advertised${NEIGHBOR}$$ - ^System Name: ${NEIGHBOR}$$ - ^System Description: -> GetDescription - ^Enabled Capabilities: ${CAPABILITIES}$$ - ^Management Addresses: -> GetIP - ^Vlan ID: ${VLAN}$$ + ^Local\s+Intf:\s+${LOCAL_INTERFACE}\s*$$ + ^Chassis\s+id:\s+${CHASSIS_ID}\s*$$ + ^Port\s+id:\s+${NEIGHBOR_PORT_ID}\s*$$ + ^Port\s+Description:\s+${NEIGHBOR_INTERFACE}\s*$$ + ^System\s+Name(?::\s+${NEIGHBOR}|\s+-\s+not\s+advertised)\s*$$ + ^System\s+Description -> GetDescription + ^Time + ^System\s+Capabilities + ^Enabled\s+Capabilities:\s+${CAPABILITIES}\s*$$ + ^Management\s+Addresses + ^\s+OID + ^\s+[\d+\.]{8,} + ^.*IP:\s+${MANAGEMENT_IP} + ^Auto\s+Negotiation + ^Physical\s+media + ^\s+.+\(\S+\)\s*$$ + ^\s*[MEDmed]+ + ^\s+Inventory + ^\s+Capabilities + ^\s+Device\s+type + ^\s+Network\s+Policies + ^\s+Power\s+requirements + ^\s+Location + ^Vlan\s+ID:\s+(?:${VLAN}|-\s+not\s+advertised)\s*$$ + ^\s+\(\S+\) + ^(?:PoE|\s+Power) ^-+ -> Record ^\s*$$ - ^Total entries displayed -> Continue.Record - ^\s*$$ -> Continue - ^\S*$$ -> Error - + ^\s*Total\s+entries\s+displayed -> Record + ^\s*$$ + ^.*$$ -> Error GetDescription ^${SYSTEM_DESCRIPTION} -> Start - -GetIP - ^.*IP: ${MANAGEMENT_IP} -> Start \ No newline at end of file + ^\s*$$ + ^.*$$ -> Error From 49ab8fd2928dbb9dcd3f1a81792bdee12e109654 Mon Sep 17 00:00:00 2001 From: Junjie Huang Date: Mon, 16 Jul 2018 21:41:59 -0400 Subject: [PATCH 102/628] added show running-config partition route-map --- ...unning-config_partition_route-map.template | 24 +++++ templates/index | 1 + ..._running-config_partition_route-map.parsed | 88 +++++++++++++++++++ ...how_running-config_partition_route-map.raw | 47 ++++++++++ 4 files changed, 160 insertions(+) create mode 100644 templates/cisco_ios_show_running-config_partition_route-map.template create mode 100644 tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed create mode 100644 tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.raw diff --git a/templates/cisco_ios_show_running-config_partition_route-map.template b/templates/cisco_ios_show_running-config_partition_route-map.template new file mode 100644 index 0000000000..83abe969b4 --- /dev/null +++ b/templates/cisco_ios_show_running-config_partition_route-map.template @@ -0,0 +1,24 @@ +Value Required ROUTE_MAP_NAME (\w+) +Value SEQUENCE (\d+) +Value MATCH_METRIC_VALUE (\d+) +Value MATCH_PREFIX_LIST (\w+) +Value MATCH_COMMUNITY_VALUE (\d+.*\d+|\w+.*\w+|\d+) +Value SET_COMMUNITY_VALUE (\d+.*\d+.*\w+|\w+.*\w+) +Value SET_LOCAL_PREF_VALUE (\d+) +Value SET_PREPEND_AS_PATH (\w+.*\w+.*\w+|\w+) + +Start + ^route-map -> Continue.Clearall + ^route-map\s+${ROUTE_MAP_NAME}\s+permit\s+${SEQUENCE} + ^\smatch\smetric\s${MATCH_METRIC_VALUE} + ^\sset\s+community\s+${SET_COMMUNITY_VALUE} + ^\smatch\s+ip\s+address\s+prefix-list\s+${MATCH_PREFIX_LIST} + ^\sset\s+local-preference\s+${SET_LOCAL_PREF_VALUE} + ^\smatch\s+community\s+${MATCH_COMMUNITY_VALUE} + ^\sset\s+as-path\s+prepend\s+${SET_PREPEND_AS_PATH} + # Catch all unuseful raw data + ^(!\s*|$$|Building configuration.*|Current configuration.*|Configuration.*|end.*) -> Record + # Error out if raw data does not match any above rules. + ^.* -> Error "Could not parse line:" + + \ No newline at end of file diff --git a/templates/index b/templates/index index 5131458359..5fa227deb3 100644 --- a/templates/index +++ b/templates/index @@ -106,6 +106,7 @@ cisco_asa_show_name.template, .*, cisco_asa, sh[[ow]] nam[[e]] cisco_asa_dir.template, .*, cisco_asa, dir cisco_ios_show_running-config_partition_access-list.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] +cisco_ios_show_running-config_partition_access-list.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_authentication_sessions.template, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_ip_ospf_interface_brief.template, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] diff --git a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed new file mode 100644 index 0000000000..54c5893b6c --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed @@ -0,0 +1,88 @@ +--- +parsed_sample: + +- route_map_name: "RIP_TO_BGP" + sequence: 100 + match_metric_value: 4 + match_prefix_list: "11167:5002" + match_community_value: "" + set_community_value: "" + set_local_pref_value:"" + set_prepend_as_path: "" + +- route_map_name: "RIP_TO_BGP" + sequence: 200 + match_metric_value: "" + match_prefix_list: "" + match_community_value: "" + set_community_value: "" + set_local_pref_value:"" + set_prepend_as_path: "" + + +- route_map_name: "CLINK_BGP_IN" + sequence: 100 + match_metric_value: "" + match_prefix_list: "CLINK_BGP_IN" + match_community_value: "" + set_community_value: "" + set_local_pref_value: 200 + set_prepend_as_path: "" + +- route_map_name: "CLINK_BGP_IN" + sequence: 110 + match_metric_value: "" + match_prefix_list: "" + match_community_value: 500 + set_community_value: "no-advertise" + set_local_pref_value:"" + set_prepend_as_path: "" + +- route_map_name: "CLINK_BGP_IN" + sequence: 120 + match_metric_value: "" + match_prefix_list: "" + match_community_value: "11167_4000" + set_community_value: "" + set_local_pref_value: 200 + set_prepend_as_path: "" + +- route_map_name: "BGP_TO_OSPF" + sequence: 100 + match_metric_value: "" + match_prefix_list: "BGP_TO_OSPF" + match_community_value: "" + set_community_value: "" + set_local_pref_value: "" + set_prepend_as_path: "" + +- route_map_name: "BGP_TO_OSPF" + sequence: 110 + match_metric_value: "" + match_prefix_list: "BGP_TO_OSPF" + match_community_value: "11167_4000" + set_community_value: "" + set_local_pref_value: "" + set_prepend_as_path: "" + +- route_map_name: "CLINK_BGP_OUT" + sequence: 50 + match_metric_value: "" + match_prefix_list: "" + match_community_value: 4 + set_community_value: "11167:5000 additive" + set_local_pref_value: "" + set_prepend_as_path: "65005 65005 65005" + +- route_map_name: "CLINK_BGP_OUT" + sequence: 100 + match_metric_value: "" + match_prefix_list: "CLINK_BGP_OUT" + match_community_value: "" + set_community_value: "11167:5000" + set_local_pref_value: "" + set_prepend_as_path: 65005 + + + + diff --git a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.raw b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.raw new file mode 100644 index 0000000000..32da2cf189 --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.raw @@ -0,0 +1,47 @@ +Building configuration... + +Current configuration : 863 bytes +! +Configuration of Partition - route-map +! +! +! +! +! +! +route-map RIP_TO_BGP permit 100 + match metric 4 + set community 11167:5002 +! +route-map RIP_TO_BGP permit 200 +! +route-map CLINK_BGP_IN permit 100 + match ip address prefix-list CLINK_BGP_IN + set local-preference 200 +! +route-map CLINK_BGP_IN permit 110 + match community 500 + set community no-advertise +! +route-map CLINK_BGP_IN permit 120 + match community 11167_4000 + set local-preference 200 +! +route-map BGP_TO_OSPF permit 100 + match ip address prefix-list BGP_TO_OSPF +! +route-map BGP_TO_OSPF permit 110 + match community 11167_4000 +! +route-map CLINK_BGP_OUT permit 50 + match community 4 + set as-path prepend 65005 65005 65005 + set community 11167:5000 additive +! +route-map CLINK_BGP_OUT permit 100 + match ip address prefix-list CLINK_BGP_OUT + set as-path prepend 65005 + set community 11167:5000 +! +! +end \ No newline at end of file From 5cbbef4a92609e10632dc59446f58ad80a64f196 Mon Sep 17 00:00:00 2001 From: AutoJunjie <38706868+AutoJunjie@users.noreply.github.com> Date: Mon, 16 Jul 2018 21:03:41 -0500 Subject: [PATCH 103/628] corrected index --- templates/index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index b/templates/index index 5fa227deb3..78c825d253 100644 --- a/templates/index +++ b/templates/index @@ -106,7 +106,7 @@ cisco_asa_show_name.template, .*, cisco_asa, sh[[ow]] nam[[e]] cisco_asa_dir.template, .*, cisco_asa, dir cisco_ios_show_running-config_partition_access-list.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] -cisco_ios_show_running-config_partition_access-list.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] +cisco_ios_show_running-config_partition_route-map.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_authentication_sessions.template, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_ip_ospf_interface_brief.template, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] From 8db3f9953c4f0e3c89cf61889e16b1131c499d98 Mon Sep 17 00:00:00 2001 From: Junjie Huang Date: Mon, 16 Jul 2018 22:14:59 -0400 Subject: [PATCH 104/628] correct indent under local-pref in .parsed file --- ...cisco_ios_show_running-config_partition_route-map.parsed | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed index 54c5893b6c..63f54d64ff 100644 --- a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed +++ b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed @@ -7,7 +7,7 @@ parsed_sample: match_prefix_list: "11167:5002" match_community_value: "" set_community_value: "" - set_local_pref_value:"" + set_local_pref_value: "" set_prepend_as_path: "" - route_map_name: "RIP_TO_BGP" @@ -16,7 +16,7 @@ parsed_sample: match_prefix_list: "" match_community_value: "" set_community_value: "" - set_local_pref_value:"" + set_local_pref_value: "" set_prepend_as_path: "" @@ -35,7 +35,7 @@ parsed_sample: match_prefix_list: "" match_community_value: 500 set_community_value: "no-advertise" - set_local_pref_value:"" + set_local_pref_value: "" set_prepend_as_path: "" - route_map_name: "CLINK_BGP_IN" From db6d6074aef7ada2bf6e2c98d5f3bba2e4218151 Mon Sep 17 00:00:00 2001 From: Junjie Huang Date: Mon, 16 Jul 2018 22:56:30 -0400 Subject: [PATCH 105/628] corrected test_index_order.py, corrected cisco_ios_show_running-config_partition_route-map.parsed --- ..._running-config_partition_route-map.parsed | 37 +++++++++---------- tests/test_index_order.py | 2 +- 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed index 63f54d64ff..94ae5a45e0 100644 --- a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed +++ b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed @@ -2,16 +2,16 @@ parsed_sample: - route_map_name: "RIP_TO_BGP" - sequence: 100 - match_metric_value: 4 - match_prefix_list: "11167:5002" + sequence: "100" + match_metric_value: "4" + match_prefix_list: "" match_community_value: "" - set_community_value: "" + set_community_value: "11167:5002" set_local_pref_value: "" set_prepend_as_path: "" - route_map_name: "RIP_TO_BGP" - sequence: 200 + sequence: "200" match_metric_value: "" match_prefix_list: "" match_community_value: "" @@ -19,36 +19,35 @@ parsed_sample: set_local_pref_value: "" set_prepend_as_path: "" - - route_map_name: "CLINK_BGP_IN" - sequence: 100 + sequence: "100" match_metric_value: "" match_prefix_list: "CLINK_BGP_IN" match_community_value: "" set_community_value: "" - set_local_pref_value: 200 + set_local_pref_value: "200" set_prepend_as_path: "" - route_map_name: "CLINK_BGP_IN" - sequence: 110 + sequence: "110" match_metric_value: "" match_prefix_list: "" - match_community_value: 500 + match_community_value: "500" set_community_value: "no-advertise" set_local_pref_value: "" set_prepend_as_path: "" - route_map_name: "CLINK_BGP_IN" - sequence: 120 + sequence: "120" match_metric_value: "" match_prefix_list: "" match_community_value: "11167_4000" set_community_value: "" - set_local_pref_value: 200 + set_local_pref_value: "200" set_prepend_as_path: "" - route_map_name: "BGP_TO_OSPF" - sequence: 100 + sequence: "100" match_metric_value: "" match_prefix_list: "BGP_TO_OSPF" match_community_value: "" @@ -57,31 +56,31 @@ parsed_sample: set_prepend_as_path: "" - route_map_name: "BGP_TO_OSPF" - sequence: 110 + sequence: "110" match_metric_value: "" - match_prefix_list: "BGP_TO_OSPF" + match_prefix_list: "" match_community_value: "11167_4000" set_community_value: "" set_local_pref_value: "" set_prepend_as_path: "" - route_map_name: "CLINK_BGP_OUT" - sequence: 50 + sequence: "50" match_metric_value: "" match_prefix_list: "" - match_community_value: 4 + match_community_value: "4" set_community_value: "11167:5000 additive" set_local_pref_value: "" set_prepend_as_path: "65005 65005 65005" - route_map_name: "CLINK_BGP_OUT" - sequence: 100 + sequence: "100" match_metric_value: "" match_prefix_list: "CLINK_BGP_OUT" match_community_value: "" set_community_value: "11167:5000" set_local_pref_value: "" - set_prepend_as_path: 65005 + set_prepend_as_path: "65005" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 8dfbbb9e03..31a9579dc3 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -65,7 +65,7 @@ def test_index_ordering(): 'brocade_fastiron', 'brocade_netiron', 'brocade_nos', 'brocade_vdx', 'brocade_vyos', 'checkpoint_gaia', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', 'cisco_wlc', 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', - 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'alcatel_sros', + 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'juniper_screenos', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh', 'vmware_nsxv', 'vyatta_vyos', 'vyos' ] From f752e6d57624b46e87c6e62d2d1deba1de37ee16 Mon Sep 17 00:00:00 2001 From: Junjie Huang Date: Mon, 16 Jul 2018 23:11:08 -0400 Subject: [PATCH 106/628] modified cisco_ios_show_running-config_partition_route-map.template --- .../cisco_ios_show_running-config_partition_route-map.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/cisco_ios_show_running-config_partition_route-map.template b/templates/cisco_ios_show_running-config_partition_route-map.template index 83abe969b4..c82f708b17 100644 --- a/templates/cisco_ios_show_running-config_partition_route-map.template +++ b/templates/cisco_ios_show_running-config_partition_route-map.template @@ -16,8 +16,9 @@ Start ^\sset\s+local-preference\s+${SET_LOCAL_PREF_VALUE} ^\smatch\s+community\s+${MATCH_COMMUNITY_VALUE} ^\sset\s+as-path\s+prepend\s+${SET_PREPEND_AS_PATH} + ^! -> Record # Catch all unuseful raw data - ^(!\s*|$$|Building configuration.*|Current configuration.*|Configuration.*|end.*) -> Record + ^(!\s*|$$|Building configuration.*|Current configuration.*|Configuration.*|end.*) # Error out if raw data does not match any above rules. ^.* -> Error "Could not parse line:" From c965ed4ab11f77d2927e2c6e8f0cfc43c124bd07 Mon Sep 17 00:00:00 2001 From: jmcgill Date: Mon, 16 Jul 2018 23:31:52 -0400 Subject: [PATCH 107/628] Add screenos to os choices --- tests/test_index_order.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 8dfbbb9e03..a34adc1999 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -65,9 +65,10 @@ def test_index_ordering(): 'brocade_fastiron', 'brocade_netiron', 'brocade_nos', 'brocade_vdx', 'brocade_vyos', 'checkpoint_gaia', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', 'cisco_wlc', 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', - 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'alcatel_sros', - 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh', 'vmware_nsxv', 'vyatta_vyos', 'vyos' - ] + 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'juniper_screenos', + 'alcatel_sros', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh', 'vmware_nsxv', + 'vyatta_vyos', 'vyos' + ] prior_os = "" prior_len = 0 From 4cf7dddd4c218a75533e1fa76ae2a2f4ff8719df Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Tue, 17 Jul 2018 10:43:21 +0300 Subject: [PATCH 108/628] added output validation for cisco_ios_show_ip_source_binding --- templates/cisco_ios_show_ip_source_binding.template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/cisco_ios_show_ip_source_binding.template b/templates/cisco_ios_show_ip_source_binding.template index 5f41f4ebfb..1f67a11679 100644 --- a/templates/cisco_ios_show_ip_source_binding.template +++ b/templates/cisco_ios_show_ip_source_binding.template @@ -6,4 +6,9 @@ Value Required VLAN ([0-9]+) Value Required INTERFACE (\S+) Start - ^${MAC}\s+${IP}\s+${LEASE}\s+${TYPE}\s+${VLAN}\s+${INTERFACE} -> Record \ No newline at end of file + ^\s*MacAddress\s*IpAddress\s*Lease\(sec\)\s*Type\s*VLAN\s*Interface\s* + ^-+ + ^${MAC}\s+${IP}\s+${LEASE}\s+${TYPE}\s+${VLAN}\s+${INTERFACE} -> Record + ^Total number of bindings + ^\s*$$ + ^.*$$ -> Error From a74a5a1567c43198ef2ba518ac7be0a8cb034a5d Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Tue, 17 Jul 2018 11:01:27 +0300 Subject: [PATCH 109/628] cisco_ios_show_lldp_neighbors_detail: don't raise error when LLDP is disabled --- templates/cisco_ios_show_lldp_neighbors_detail.template | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index 7a9fef8b5c..1f4c36cd0e 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -9,6 +9,7 @@ Value MANAGEMENT_IP (\S+) Value VLAN (\d+) Start + ^.*LLDP is not enabled -> EOF ^Local\s+Intf:\s+${LOCAL_INTERFACE}\s*$$ ^Chassis\s+id:\s+${CHASSIS_ID}\s*$$ ^Port\s+id:\s+${NEIGHBOR_PORT_ID}\s*$$ From 46813f6ff07751fe0d02eab80831836bfbf7d517 Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Tue, 17 Jul 2018 15:29:22 +0300 Subject: [PATCH 110/628] ignore 'Invalid input detected' upon no lldp command --- templates/cisco_ios_show_lldp_neighbors_detail.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index 1f4c36cd0e..083df6d9a1 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -9,6 +9,7 @@ Value MANAGEMENT_IP (\S+) Value VLAN (\d+) Start + ^.*Invalid input detected -> EOF ^.*LLDP is not enabled -> EOF ^Local\s+Intf:\s+${LOCAL_INTERFACE}\s*$$ ^Chassis\s+id:\s+${CHASSIS_ID}\s*$$ @@ -36,6 +37,7 @@ Start ^Vlan\s+ID:\s+(?:${VLAN}|-\s+not\s+advertised)\s*$$ ^\s+\(\S+\) ^(?:PoE|\s+Power) + ^\s*\^\s* ^-+ -> Record ^\s*$$ ^\s*Total\s+entries\s+displayed -> Record From 6fb00d043188d9a95486f6f5d89cf0172a83350b Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 17 Jul 2018 10:35:59 -0400 Subject: [PATCH 111/628] Redo MED parsing --- .../cisco_ios_show_lldp_neighbors_detail.template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index 7a9fef8b5c..72dc5ae7c3 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -25,7 +25,7 @@ Start ^Auto\s+Negotiation ^Physical\s+media ^\s+.+\(\S+\)\s*$$ - ^\s*[MEDmed]+ + ^Media\s+Attachment ^\s+Inventory ^\s+Capabilities ^\s+Device\s+type @@ -35,8 +35,8 @@ Start ^Vlan\s+ID:\s+(?:${VLAN}|-\s+not\s+advertised)\s*$$ ^\s+\(\S+\) ^(?:PoE|\s+Power) - ^-+ -> Record - ^\s*$$ + ^\s*-+\s*$$ -> Record + ^MED -> Med ^\s*Total\s+entries\s+displayed -> Record ^\s*$$ ^.*$$ -> Error @@ -45,3 +45,10 @@ GetDescription ^${SYSTEM_DESCRIPTION} -> Start ^\s*$$ ^.*$$ -> Error + +Med + ^\s+\S+ + ^\s*$$ + ^\s*-+\s*$$ -> Continue.Record + ^\s*-+\s*$$ -> Start + ^.* -> Error From 2770165bd632b5775f82e6846ece2214c8913a92 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 17 Jul 2018 10:43:59 -0400 Subject: [PATCH 112/628] Fix spacing --- templates/cisco_ios_show_lldp_neighbors_detail.template | 5 ----- 1 file changed, 5 deletions(-) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index ec905adc9e..d422807a72 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -37,14 +37,9 @@ Start ^Vlan\s+ID:\s+(?:${VLAN}|-\s+not\s+advertised)\s*$$ ^\s+\(\S+\) ^(?:PoE|\s+Power) -<<<<<<< HEAD ^\s*-+\s*$$ -> Record ^MED -> Med -======= ^\s*\^\s* - ^-+ -> Record - ^\s*$$ ->>>>>>> 46813f6ff07751fe0d02eab80831836bfbf7d517 ^\s*Total\s+entries\s+displayed -> Record ^\s*$$ ^.*$$ -> Error From 3b9b9002d8ca3cd3f09556a658c1fbcfdba4349a Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Tue, 17 Jul 2018 19:19:59 +0300 Subject: [PATCH 113/628] fixed minor lldp due to tests. (added more). cisco_ios_show_lldp_neighbors_detail2.raw failes due to System Description --- ...co_ios_show_lldp_neighbors_detail.template | 4 +- ...co_ios_show_lldp_neighbors_detail1.parsed} | 0 ...cisco_ios_show_lldp_neighbors_detail1.raw} | 0 ...sco_ios_show_lldp_neighbors_detail2.parsed | 31 +++++++++ .../cisco_ios_show_lldp_neighbors_detail2.raw | 66 +++++++++++++++++++ ...sco_ios_show_lldp_neighbors_detail3.parsed | 11 ++++ .../cisco_ios_show_lldp_neighbors_detail3.raw | 42 ++++++++++++ 7 files changed, 152 insertions(+), 2 deletions(-) rename tests/cisco_ios/show_lldp_neighbors_detail/{cisco_ios_show_lldp_neighbors_detail.parsed => cisco_ios_show_lldp_neighbors_detail1.parsed} (100%) rename tests/cisco_ios/show_lldp_neighbors_detail/{cisco_ios_show_lldp_neighbors_detail.raw => cisco_ios_show_lldp_neighbors_detail1.raw} (100%) create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.raw create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.raw diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index d422807a72..4f592eb2cd 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -1,7 +1,7 @@ Value LOCAL_INTERFACE (\S+) -Value CHASSIS_ID (\w+?\.\w+?\.\w+?) +Value CHASSIS_ID (\S+) Value NEIGHBOR_PORT_ID (\S+) -Value NEIGHBOR_INTERFACE (\S+) +Value NEIGHBOR_INTERFACE (.*) Value NEIGHBOR (\S+) Value SYSTEM_DESCRIPTION (.*) Value CAPABILITIES (.*) diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.parsed similarity index 100% rename from tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.parsed rename to tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.parsed diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.raw b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.raw similarity index 100% rename from tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail.raw rename to tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.raw diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed new file mode 100644 index 0000000000..b2688107eb --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed @@ -0,0 +1,31 @@ +--- +parsed_sample: +- local_interface: '' + chassis_id: 'a000.f00e.300d' + neighbor_port_id: 'Eth1/6' + neighbor_interface: 'PO2631-10Gx2-R261R5' + neighbor: 'USSC-CAMPUS-CORE-GW2' + system_description: '' + capabilities: 'B,R' + management_ip: '11.11.11.11' + vlan: '1' + +- local_interface: '' + chassis_id: '2222.0642.7333' + neighbor_port_id: 'Eth1/6' + neighbor_interface: 'PO2631-10Gx2-R261R5' + neighbor: 'USSC-CAMPUS-CORE-GW1.acme123.com' + system_description: '' + capabilities: 'B,R' + management_ip: '33.33.33.3' + vlan: '1' + +- local_interface: '' + chassis_id: '0015.2222.c330' + neighbor_port_id: 'Gi2/0/24' + neighbor_interface: 'GigabitEthernet2/0/24' + neighbor: 'DMZ-SW1' + system_description: '' + capabilities: 'B' + management_ip: '55.55.55.55' + vlan: '' diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.raw b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.raw new file mode 100644 index 0000000000..484310cf65 --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.raw @@ -0,0 +1,66 @@ +------------------------------------------------ +Chassis id: a000.f00e.300d +Port id: Eth1/6 +Port Description: PO2631-10Gx2-R261R5 +System Name: USSC-CAMPUS-CORE-GW2 + +System Description: +Cisco NX-OS(tm) n7700, Software (n7700-s2-dk9), Version 6.2(10), RELEASE SOFTWARE Copyright (c) 2002-2013 by Cisco Systems, Inc. Compiled 10/9/2014 12:00:00 + +Time remaining: 110 seconds +System Capabilities: B,R +Enabled Capabilities: B,R +Management Addresses: + IP: 11.11.11.11 +Auto Negotiation - not supported +Physical media capabilities - not advertised +Media Attachment Unit type - not advertised +Vlan ID: 1 + +------------------------------------------------ +Chassis id: 2222.0642.7333 +Port id: Eth1/6 +Port Description: PO2631-10Gx2-R261R5 +System Name: USSC-CAMPUS-CORE-GW1.acme123.com + +System Description: +Cisco NX-OS(tm) n7700, Software (n7700-s2-dk9), Version 6.2(10), RELEASE SOFTWARE Copyright (c) 2002-2013 by Cisco Systems, Inc. Compiled 10/9/2014 12:00:00 + +Time remaining: 118 seconds +System Capabilities: B,R +Enabled Capabilities: B,R +Management Addresses: + IP: 33.33.33.3 +Auto Negotiation - not supported +Physical media capabilities - not advertised +Media Attachment Unit type - not advertised +Vlan ID: 1 + +------------------------------------------------ +Chassis id: 0015.2222.c330 +Port id: Gi2/0/24 +Port Description: GigabitEthernet2/0/24 +System Name: DMZ-SW1 + +System Description: +Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2010 by Cisco Systems, Inc. +Compiled Wed 21-Apr-10 04:49 by prod_rel_team + +Time remaining: 109 seconds +System Capabilities: B,R +Enabled Capabilities: B +Management Addresses: + IP: 55.55.55.55 +Auto Negotiation - supported, enabled +Physical media capabilities: + 1000baseT(FD) + 100base-TX(FD) + 100base-TX(HD) + 10base-T(FD) + 10base-T(HD) +Media Attachment Unit type: 30 +Vlan ID: - not advertised + + diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.parsed new file mode 100644 index 0000000000..cc1f159b05 --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.parsed @@ -0,0 +1,11 @@ +--- +parsed_sample: +- local_interface: 'Gi0/1/7' + chassis_id: '10.10.0.1' + neighbor_port_id: 'C8F9F9D61BC2:P1' + neighbor_interface: 'SW PORT' + neighbor: 'SEPC8F9F9D61BC2' + system_description: 'Cisco IP Phone 7962G,V12, SCCP42.9-3-1ES27S' + capabilities: 'B,T' + management_ip: '10.10.0.1' + vlan: '' diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.raw b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.raw new file mode 100644 index 0000000000..d0537f490d --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.raw @@ -0,0 +1,42 @@ +Local Intf: Gi0/1/7 +Chassis id: 10.10.0.1 +Port id: C8F9F9D61BC2:P1 +Port Description: SW PORT +System Name: SEPC8F9F9D61BC2 + +System Description: +Cisco IP Phone 7962G,V12, SCCP42.9-3-1ES27S + +Time remaining: 127 seconds +System Capabilities: B,T +Enabled Capabilities: B,T +Management Addresses: + IP: 10.10.0.1 +Auto Negotiation - supported, enabled +Physical media capabilities: + 1000baseT(HD) + 1000baseX(FD) + Symm, Asym Pause(FD) + Symm Pause(FD) +Media Attachment Unit type: 16 +Vlan ID: - not advertised + +MED Information: + + MED Codes: + (NP) Network Policy, (LI) Location Identification + (PS) Power Source Entity, (PD) Power Device + (IN) Inventory + + H/W revision: 12 + F/W revision: tnp62.8-3-1-21a.bin + S/W revision: SCCP42.9-3-1ES27S + Serial number: FCH1610A5S5 + Manufacturer: Cisco Systems, Inc. + Model: CP-7962G + Capabilities: NP, PD, IN + Device type: Endpoint Class III + Network Policy(Voice): VLAN 10, tagged, Layer-2 priority: 5, DSCP: 46 + Network Policy(Voice Signal): VLAN 10, tagged, Layer-2 priority: 4, DSCP: 32 + PD device, Power source: Unknown, Power Priority: Unknown, Wattage: 6.3 + Location - not advertised \ No newline at end of file From 945564d984f01ca9bc8c36a786b0bcfcddab8eb0 Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Thu, 19 Jul 2018 15:33:22 +0300 Subject: [PATCH 114/628] added option for invalid input when command not enables for cisco_ios_show_ip_device_tracking_all --- templates/cisco_ios_show_ip_device_tracking_all.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/cisco_ios_show_ip_device_tracking_all.template b/templates/cisco_ios_show_ip_device_tracking_all.template index c47eb7d634..9616b57d09 100644 --- a/templates/cisco_ios_show_ip_device_tracking_all.template +++ b/templates/cisco_ios_show_ip_device_tracking_all.template @@ -14,5 +14,7 @@ Start ^\s+(?:\S+(?:,\s*|))+$$ ^\s*-+ ^\s+IP Address\s+MAC\s+Address\s+Vlan\s+Interface\s+Probe-Timeout\s+State\s+Source + ^\s*\^\s*$$ + ^.*Invalid input detected.* ^\s*$$ ^.* -> Error From 2f3eb05195e674f65d615f21cda42ecbcb83702e Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Sun, 22 Jul 2018 08:38:33 +0300 Subject: [PATCH 115/628] fixed cisco ios show lldp neighbors detail - system description not fail upon multiline system description --- templates/cisco_ios_show_lldp_neighbors_detail.template | 9 +++++++-- .../cisco_ios_show_lldp_neighbors_detail2.parsed | 6 +++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index 4f592eb2cd..c43dc17751 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -34,6 +34,7 @@ Start ^\s+Network\s+Policies ^\s+Power\s+requirements ^\s+Location + ^Time\s+remaining ^Vlan\s+ID:\s+(?:${VLAN}|-\s+not\s+advertised)\s*$$ ^\s+\(\S+\) ^(?:PoE|\s+Power) @@ -45,9 +46,13 @@ Start ^.*$$ -> Error GetDescription - ^${SYSTEM_DESCRIPTION} -> Start + ^${SYSTEM_DESCRIPTION} -> IgnoreDescription + +IgnoreDescription + ^Time\s+remaining -> Start + ^\S* ^\s*$$ - ^.*$$ -> Error + ^.* -> Error Med ^\s+\S+ diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed index b2688107eb..72924f7421 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed @@ -5,7 +5,7 @@ parsed_sample: neighbor_port_id: 'Eth1/6' neighbor_interface: 'PO2631-10Gx2-R261R5' neighbor: 'USSC-CAMPUS-CORE-GW2' - system_description: '' + system_description: 'Cisco NX-OS(tm) n7700, Software (n7700-s2-dk9), Version 6.2(10), RELEASE SOFTWARE Copyright (c) 2002-2013 by Cisco Systems, Inc. Compiled 10/9/2014 12:00:00' capabilities: 'B,R' management_ip: '11.11.11.11' vlan: '1' @@ -15,7 +15,7 @@ parsed_sample: neighbor_port_id: 'Eth1/6' neighbor_interface: 'PO2631-10Gx2-R261R5' neighbor: 'USSC-CAMPUS-CORE-GW1.acme123.com' - system_description: '' + system_description: 'Cisco NX-OS(tm) n7700, Software (n7700-s2-dk9), Version 6.2(10), RELEASE SOFTWARE Copyright (c) 2002-2013 by Cisco Systems, Inc. Compiled 10/9/2014 12:00:00' capabilities: 'B,R' management_ip: '33.33.33.3' vlan: '1' @@ -25,7 +25,7 @@ parsed_sample: neighbor_port_id: 'Gi2/0/24' neighbor_interface: 'GigabitEthernet2/0/24' neighbor: 'DMZ-SW1' - system_description: '' + system_description: 'Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3)' capabilities: 'B' management_ip: '55.55.55.55' vlan: '' From 81dd5dab914b1f60b80e919a8027177fb28ccc7a Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Mon, 23 Jul 2018 11:15:40 +0300 Subject: [PATCH 116/628] ignoring empty fields ('not advertised') on lldp --- ...sco_ios_show_lldp_neighbors_detail.template | 1 + ...co_nxos_show_lldp_neighbors_detail.template | 1 + ...isco_ios_show_lldp_neighbors_detail2.parsed | 10 ++++++++++ .../cisco_ios_show_lldp_neighbors_detail2.raw | 18 ++++++++++++++++++ 4 files changed, 30 insertions(+) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index c43dc17751..963d7924bc 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -9,6 +9,7 @@ Value MANAGEMENT_IP (\S+) Value VLAN (\d+) Start + ^.*not advertised ^.*Invalid input detected -> EOF ^.*LLDP is not enabled -> EOF ^Local\s+Intf:\s+${LOCAL_INTERFACE}\s*$$ diff --git a/templates/cisco_nxos_show_lldp_neighbors_detail.template b/templates/cisco_nxos_show_lldp_neighbors_detail.template index 8c90676ca8..aa5e8bb1ce 100644 --- a/templates/cisco_nxos_show_lldp_neighbors_detail.template +++ b/templates/cisco_nxos_show_lldp_neighbors_detail.template @@ -9,6 +9,7 @@ Value VLAN ([0-9]+) Start + ^.*not advertised ^[Cc]hassis\s[idID]{2}\:\s${CHASSIS_ID}$$ ^[Pp]ort\s[idID]{2}\:\s${NEIGHBOR_INTERFACE}$$ ^[Ll]ocal\s[Pp]ort\s[idID]{2}\:\s${LOCAL_INTERFACE}$$ diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed index 72924f7421..1f68739f40 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed @@ -29,3 +29,13 @@ parsed_sample: capabilities: 'B' management_ip: '55.55.55.55' vlan: '' + +- local_interface: '' + chassis_id: '0022.1111.2222' + neighbor_port_id: 'g2' + neighbor_interface: '' + neighbor: '' + system_description: '' + capabilities: '' + management_ip: '' + vlan: '' diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.raw b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.raw index 484310cf65..e4eac6aacf 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.raw +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.raw @@ -63,4 +63,22 @@ Physical media capabilities: Media Attachment Unit type: 30 Vlan ID: - not advertised +--------------------------------------------- + + +Chassis id: 0022.1111.2222 +Port id: g2 +Port Description - not advertised +System Name - not advertised + +System Description - not advertised + +Time remaining: 91 seconds +System Capabilities - not advertised +Enabled Capabilities - not advertised +Management Addresses - not advertised +Auto Negotiation - not supported +Physical media capabilities - not advertised +Media Attachment Unit type - not advertised +--------------------------------------------- From 57b67228dc139851c78baba922d94abcf01c3a2a Mon Sep 17 00:00:00 2001 From: Hila Shmuel Date: Mon, 23 Jul 2018 16:07:22 +0300 Subject: [PATCH 117/628] change lldp port id since it can ba a string such as 'Port id: TO C3750-CORE-R267' --- templates/cisco_ios_show_lldp_neighbors_detail.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index 963d7924bc..708e84fd81 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -1,6 +1,6 @@ Value LOCAL_INTERFACE (\S+) Value CHASSIS_ID (\S+) -Value NEIGHBOR_PORT_ID (\S+) +Value NEIGHBOR_PORT_ID (.*) Value NEIGHBOR_INTERFACE (.*) Value NEIGHBOR (\S+) Value SYSTEM_DESCRIPTION (.*) From 5daec0b0935fc00258f14a8ac622f1599f1f245b Mon Sep 17 00:00:00 2001 From: Ryan Horiguchi Date: Thu, 26 Jul 2018 15:28:20 +0200 Subject: [PATCH 118/628] Add support for cisco show ip mroute (#216) * Add support for cisco show ip mroute * Rename field * Use list for fields that can repeat several times * Update .gitignore * Update empty mroute to be empty list * Update template to raise an error for unmatched lines --- .gitignore | 21 +---- templates/cisco_ios_show_ip_mroute.template | 26 ++++++ templates/index | 1 + .../cisco_ios_show_ip_mroute1.parsed | 16 ++++ .../cisco_ios_show_ip_mroute1.raw | 15 ++++ .../cisco_ios_show_ip_mroute2.parsed | 2 + .../cisco_ios_show_ip_mroute2.raw | 13 +++ .../cisco_ios_show_ip_mroute3.parsed | 87 +++++++++++++++++++ .../cisco_ios_show_ip_mroute3.raw | 35 ++++++++ 9 files changed, 196 insertions(+), 20 deletions(-) create mode 100644 templates/cisco_ios_show_ip_mroute.template create mode 100644 tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.parsed create mode 100644 tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.raw create mode 100644 tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.parsed create mode 100644 tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.raw create mode 100644 tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed create mode 100644 tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.raw diff --git a/.gitignore b/.gitignore index 7af6da8c14..8204855364 100644 --- a/.gitignore +++ b/.gitignore @@ -52,26 +52,7 @@ Temporary Items # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 # User-specific stuff: -.idea/workspace.xml -.idea/tasks.xml -.idea/dictionaries -.idea/vcs.xml -.idea/jsLibraryMappings.xml - -# Sensitive or high-churn files: -.idea/dataSources.ids -.idea/dataSources.xml -.idea/dataSources.local.xml -.idea/sqlDataSources.xml -.idea/dynamic.xml -.idea/uiDesigner.xml - -# Gradle: -.idea/gradle.xml -.idea/libraries - -# Mongo Explorer plugin: -.idea/mongoSettings.xml +.idea/ ## File-based project format: *.iws diff --git a/templates/cisco_ios_show_ip_mroute.template b/templates/cisco_ios_show_ip_mroute.template new file mode 100644 index 0000000000..be28bcdc02 --- /dev/null +++ b/templates/cisco_ios_show_ip_mroute.template @@ -0,0 +1,26 @@ +Value MULTICAST_SOURCE_IP (\*|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value MULTICAST_GROUP_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value UP_TIME (\d{2}:\d{2}:\d{2}) +Value EXPIRATION_TIME (\d{2}:\d{2}:\d{2}|stopped) +Value RENDEZVOUS_POINT (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value FLAGS (\w*) +Value INCOMING_INTERFACE (\S+) +Value REVERSE_PATH_FORWARDING_NEIGHBOUR_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value REGISTERING (Registering) +Value List OUTGOING_INTERFACE (\S+) +Value List FORWARD_MODE (Forward\/Sparse|Forward\/Dense) +Value List OUTGOING_MULTICAST_UP_TIME (\d{2}:\d{2}:\d{2}) +Value List OUTGOING_MULTICAST_EXPIRATION_TIME (\d{2}:\d{2}:\d{2}|stopped) + +Start + ^\((\*|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}),\s(\*|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\) -> Continue.Record + ^\(${MULTICAST_SOURCE_IP},\s${MULTICAST_GROUP_IP}\),\s${UP_TIME}\/${EXPIRATION_TIME}(,\sRP\s${RENDEZVOUS_POINT})?,\sflags:\s${FLAGS} + ^\s+Incoming\sinterface:\s${INCOMING_INTERFACE},\sRPF\snbr\s${REVERSE_PATH_FORWARDING_NEIGHBOUR_IP}(,\s${REGISTERING})? + ^\s+Outgoing\s+interface\s+list:(?:\s+Null|)\s*$$ + ^\s+${OUTGOING_INTERFACE},\s${FORWARD_MODE},\s${OUTGOING_MULTICAST_UP_TIME}\/${OUTGOING_MULTICAST_EXPIRATION_TIME} + ^\s*$$ + ^IP\s+Multicast\s+(?:Forwarding|Routing) + ^.*[Ff]lags + ^\s+\S+\s+-\s+ + ^\s+(?:Timers|Interface\s+state): + ^. -> Error diff --git a/templates/index b/templates/index index b2809abc52..5a3bb625b8 100644 --- a/templates/index +++ b/templates/index @@ -141,6 +141,7 @@ cisco_ios_show_isdn_status.template, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_interfaces.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_vtp_status.template, .*, cisco_ios, sh[[ow]] vtp stat[[us]] cisco_ios_show_inventory.template, .*, cisco_ios, sh[[ow]] inven[[tory]] +cisco_ios_show_ip_mroute.template, .*, cisco_ios, sh[[ow]] ip mr[[oute]] cisco_ios_show_ip_route.template, .*, cisco_ios, sh[[ow]] ip r[[oute]] cisco_ios_show_aliases.template, .*, cisco_ios, sh[[ow]] alia[[ses]] cisco_ios_show_archive.template, .*, cisco_ios, sh[[ow]] arc[[hive]] diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.parsed b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.parsed new file mode 100644 index 0000000000..7e843a41d6 --- /dev/null +++ b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.parsed @@ -0,0 +1,16 @@ +--- +parsed_sample: + +- multicast_source_ip: "*" + multicast_group_ip: "224.0.1.40" + up_time: "01:04:48" + expiration_time: "00:02:41" + rendezvous_point: "172.16.1.1" + flags: "SJPCL" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.1.1" + registering: "" + outgoing_interface: [] + forward_mode: [] + outgoing_multicast_up_time: [] + outgoing_multicast_expiration_time: [] diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.raw b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.raw new file mode 100644 index 0000000000..6126f39b01 --- /dev/null +++ b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.raw @@ -0,0 +1,15 @@ +IP Multicast Routing Table +Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected, + L - Local, P - Pruned, R - RP-bit set, F - Register flag, + T - SPT-bit set, J - Join SPT, M - MSDP created entry, + X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement, + U - URD, I - Received Source Specific Host Report, + Z - Multicast Tunnel, z - MDT-data group sender, + Y - Joined MDT-data group, y - Sending to MDT-data group + V - RD & Vector, v - Vector +Outgoing interface flags: H - Hardware switched, A - Assert winner + Timers: Uptime/Expires + Interface state: Interface, Next-Hop or VCD, State/Mode +(*, 224.0.1.40), 01:04:48/00:02:41, RP 172.16.1.1, flags: SJPCL + Incoming interface: FastEthernet0/1, RPF nbr 172.16.1.1 + Outgoing interface list: Null diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.parsed b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.parsed new file mode 100644 index 0000000000..e77add67ed --- /dev/null +++ b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.parsed @@ -0,0 +1,2 @@ +--- +parsed_sample: [] diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.raw b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.raw new file mode 100644 index 0000000000..a33f7ff5cc --- /dev/null +++ b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.raw @@ -0,0 +1,13 @@ +IP Multicast Forwarding is not enabled. +IP Multicast Routing Table +Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected, + L - Local, P - Pruned, R - RP-bit set, F - Register flag, + T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet, + X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement, + U - URD, I - Received Source Specific Host Report, + Z - Multicast Tunnel, z - MDT-data group sender, + Y - Joined MDT-data group, y - Sending to MDT-data group, + V - RD & Vector, v - Vector +Outgoing interface flags: H - Hardware switched, A - Assert winner + Timers: Uptime/Expires + Interface state: Interface, Next-Hop or VCD, State/Mode diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed new file mode 100644 index 0000000000..f3a3149eee --- /dev/null +++ b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed @@ -0,0 +1,87 @@ +--- +parsed_sample: + +- multicast_source_ip: "*" + multicast_group_ip: "239.0.0.1" + up_time: "00:00:58" + expiration_time: "00:02:02" + rendezvous_point: "172.16.2.1" + flags: "SJC" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.2.1" + registering: "" + outgoing_interface: ["Vlan1"] + forward_mode: ["Forward/Sparse"] + outgoing_multicast_up_time: ["00:00:58"] + outgoing_multicast_expiration_time: ["00:02:02"] + +- multicast_source_ip: "*" + multicast_group_ip: "239.0.0.2" + up_time: "00:01:02" + expiration_time: "00:01:57" + rendezvous_point: "172.16.2.1" + flags: "SJC" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.2.1" + registering: "" + outgoing_interface: ["Vlan1"] + forward_mode: ["Forward/Sparse"] + outgoing_multicast_up_time: ["00:01:03"] + outgoing_multicast_expiration_time: ["00:01:57"] + +- multicast_source_ip: "*" + multicast_group_ip: "239.0.0.3" + up_time: "00:00:58" + expiration_time: "00:02:57" + rendezvous_point: "172.16.2.1" + flags: "SJC" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.2.1" + registering: "" + outgoing_interface: ["Vlan1", "Vlan2"] + forward_mode: ["Forward/Sparse", "Forward/Sparse"] + outgoing_multicast_up_time: ["00:00:58", "00:00:58"] + outgoing_multicast_expiration_time: ["00:02:57", "00:02:57"] + +- multicast_source_ip: "*" + multicast_group_ip: "239.0.0.4" + up_time: "00:00:04" + expiration_time: "stopped" + rendezvous_point: "172.16.2.1" + flags: "SPF" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.2.1" + registering: "" + outgoing_interface: [] + forward_mode: [] + outgoing_multicast_up_time: [] + outgoing_multicast_expiration_time: [] + +- multicast_source_ip: "192.168.2.44" + multicast_group_ip: "239.0.0.5" + up_time: "00:00:07" + expiration_time: "00:02:58" + rendezvous_point: "" + flags: "FT" + incoming_interface: "Vlan1" + reverse_path_forwarding_neighbour_ip: "0.0.0.0" + registering: "Registering" + outgoing_interface: ["FastEthernet0/1"] + forward_mode: ["Forward/Dense"] + outgoing_multicast_up_time: ["00:00:07"] + outgoing_multicast_expiration_time: ["00:00:00"] + +- multicast_source_ip: "*" + multicast_group_ip: "239.0.0.6" + up_time: "00:02:36" + expiration_time: "00:02:25" + rendezvous_point: "172.16.2.1" + flags: "SJPCL" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.2.1" + registering: "" + outgoing_interface: [] + forward_mode: [] + outgoing_multicast_up_time: [] + outgoing_multicast_expiration_time: [] + diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.raw b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.raw new file mode 100644 index 0000000000..8e6fba42c0 --- /dev/null +++ b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.raw @@ -0,0 +1,35 @@ +IP Multicast Routing Table +Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected, + L - Local, P - Pruned, R - RP-bit set, F - Register flag, + T - SPT-bit set, J - Join SPT, M - MSDP created entry, + X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement, + U - URD, I - Received Source Specific Host Report, + Z - Multicast Tunnel, z - MDT-data group sender, + Y - Joined MDT-data group, y - Sending to MDT-data group + V - RD & Vector, v - Vector +Outgoing interface flags: H - Hardware switched, A - Assert winner + Timers: Uptime/Expires + Interface state: Interface, Next-Hop or VCD, State/Mode +(*, 239.0.0.1), 00:00:58/00:02:02, RP 172.16.2.1, flags: SJC + Incoming interface: FastEthernet0/1, RPF nbr 172.16.2.1 + Outgoing interface list: + Vlan1, Forward/Sparse, 00:00:58/00:02:02 +(*, 239.0.0.2), 00:01:02/00:01:57, RP 172.16.2.1, flags: SJC + Incoming interface: FastEthernet0/1, RPF nbr 172.16.2.1 + Outgoing interface list: + Vlan1, Forward/Sparse, 00:01:03/00:01:57 +(*, 239.0.0.3), 00:00:58/00:02:57, RP 172.16.2.1, flags: SJC + Incoming interface: FastEthernet0/1, RPF nbr 172.16.2.1 + Outgoing interface list: + Vlan1, Forward/Sparse, 00:00:58/00:02:57 + Vlan2, Forward/Sparse, 00:00:58/00:02:57 +(*, 239.0.0.4), 00:00:04/stopped, RP 172.16.2.1, flags: SPF + Incoming interface: FastEthernet0/1, RPF nbr 172.16.2.1 + Outgoing interface list: Null +(192.168.2.44, 239.0.0.5), 00:00:07/00:02:58, flags: FT + Incoming interface: Vlan1, RPF nbr 0.0.0.0, Registering + Outgoing interface list: + FastEthernet0/1, Forward/Dense, 00:00:07/00:00:00 +(*, 239.0.0.6), 00:02:36/00:02:25, RP 172.16.2.1, flags: SJPCL + Incoming interface: FastEthernet0/1, RPF nbr 172.16.2.1 + Outgoing interface list: Null From 20591414cc9e5eb244932e3881cee459bd3dafd8 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Thu, 26 Jul 2018 12:25:13 -0400 Subject: [PATCH 119/628] CISCO_IOS_SHOW_RUNNING-CONFIG_PARTITION_ROUTE-MAP: Update record state to record each entry in the config (#232) (#233) * Change record logic for cisco_ios_show_running-config_partition_route-map * Add new test files to account for data that demonstrated a bug --- ...unning-config_partition_route-map.template | 4 +- ...running-config_partition_route-map2.parsed | 41 +++++++++++++++++++ ...ow_running-config_partition_route-map2.raw | 16 ++++++++ 3 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.parsed create mode 100644 tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.raw diff --git a/templates/cisco_ios_show_running-config_partition_route-map.template b/templates/cisco_ios_show_running-config_partition_route-map.template index c82f708b17..6b0a16f680 100644 --- a/templates/cisco_ios_show_running-config_partition_route-map.template +++ b/templates/cisco_ios_show_running-config_partition_route-map.template @@ -8,7 +8,7 @@ Value SET_LOCAL_PREF_VALUE (\d+) Value SET_PREPEND_AS_PATH (\w+.*\w+.*\w+|\w+) Start - ^route-map -> Continue.Clearall + ^route-map -> Continue.Record ^route-map\s+${ROUTE_MAP_NAME}\s+permit\s+${SEQUENCE} ^\smatch\smetric\s${MATCH_METRIC_VALUE} ^\sset\s+community\s+${SET_COMMUNITY_VALUE} @@ -16,7 +16,7 @@ Start ^\sset\s+local-preference\s+${SET_LOCAL_PREF_VALUE} ^\smatch\s+community\s+${MATCH_COMMUNITY_VALUE} ^\sset\s+as-path\s+prepend\s+${SET_PREPEND_AS_PATH} - ^! -> Record + ^! # Catch all unuseful raw data ^(!\s*|$$|Building configuration.*|Current configuration.*|Configuration.*|end.*) # Error out if raw data does not match any above rules. diff --git a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.parsed b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.parsed new file mode 100644 index 0000000000..4af1738281 --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.parsed @@ -0,0 +1,41 @@ +parsed_sample: + - match_community_value: '' + match_metric_value: '' + match_prefix_list: BGP_IN + route_map_name: BGP_IN + sequence: '100' + set_community_value: '' + set_local_pref_value: '200' + set_prepend_as_path: '' + - match_community_value: '500' + match_metric_value: '' + match_prefix_list: '' + route_map_name: BGP_IN + sequence: '110' + set_community_value: no-advertise + set_local_pref_value: '' + set_prepend_as_path: '' + - match_community_value: '11167_4000' + match_metric_value: '' + match_prefix_list: '' + route_map_name: BGP_IN + sequence: '120' + set_community_value: '' + set_local_pref_value: '200' + set_prepend_as_path: '' + - match_community_value: '4' + match_metric_value: '' + match_prefix_list: '' + route_map_name: BGP_OUT + sequence: '50' + set_community_value: 11167:5000 additive + set_local_pref_value: '' + set_prepend_as_path: 65005 65005 65005 + - match_community_value: '' + match_metric_value: '' + match_prefix_list: BGP_OUT + route_map_name: BGP_OUT + sequence: '100' + set_community_value: 11167:5000 + set_local_pref_value: '' + set_prepend_as_path: '' diff --git a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.raw b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.raw new file mode 100644 index 0000000000..511f15f3f1 --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.raw @@ -0,0 +1,16 @@ +route-map BGP_IN permit 100 + match ip address prefix-list BGP_IN + set local-preference 200 +route-map BGP_IN permit 110 + match community 500 + set community no-advertise +route-map BGP_IN permit 120 + match community 11167_4000 + set local-preference 200 +route-map BGP_OUT permit 50 + match community 4 + set as-path prepend 65005 65005 65005 + set community 11167:5000 additive +route-map BGP_OUT permit 100 + match ip address prefix-list BGP_OUT + set community 11167:5000 From 578380abb9cc23af84ef1eab17120a88deb3e4b0 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Wed, 15 Aug 2018 16:09:27 -0400 Subject: [PATCH 120/628] CISCO_IOS_SHOW_IP_BGP_SUMMARY: Add collecting and to parser. --- .../cisco_ios_show_ip_bgp_summary.template | 5 +++++ .../cisco_ios_show_ip_bgp_summary.parsed | 20 +++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/templates/cisco_ios_show_ip_bgp_summary.template b/templates/cisco_ios_show_ip_bgp_summary.template index 5a34d3391f..d403a11fcf 100644 --- a/templates/cisco_ios_show_ip_bgp_summary.template +++ b/templates/cisco_ios_show_ip_bgp_summary.template @@ -1,6 +1,11 @@ +Value Filldown,Required ROUTER_ID ([0-9a-f:\.]+) +Value Filldown LOCAL_AS (\d+) Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) Value NEIGH_AS (\d+) Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) Start + ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+local\s+AS\s+number\s+${LOCAL_AS}\s*$$ ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+\S+?\s+${STATE_PFXRCD}\s*$$ -> Record + +EOF diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed index 7b2686e5b4..979901d838 100644 --- a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed @@ -2,41 +2,61 @@ parsed_sample: - bgp_neigh: '10.0.0.1' + local_as: '65000' neigh_as: '65000' + router_id: '10.0.0.0' state_pfxrcd: '558720' - bgp_neigh: '10.0.0.2' + local_as: '65000' neigh_as: '65001' + router_id: '10.0.0.0' state_pfxrcd: '558720' - bgp_neigh: '10.0.0.3' + local_as: '65000' neigh_as: '65002' + router_id: '10.0.0.0' state_pfxrcd: '0' - bgp_neigh: '10.0.0.4' + local_as: '65000' neigh_as: '65003' + router_id: '10.0.0.0' state_pfxrcd: '1351' - bgp_neigh: '10.0.0.5' + local_as: '65000' neigh_as: '65004' + router_id: '10.0.0.0' state_pfxrcd: '558720' - bgp_neigh: '10.0.0.6' + local_as: '65000' neigh_as: '65005' + router_id: '10.0.0.0' state_pfxrcd: '558720' - bgp_neigh: '10.0.0.7' + local_as: '65000' neigh_as: '65006' + router_id: '10.0.0.0' state_pfxrcd: '82' - bgp_neigh: '10.0.0.8' + local_as: '65000' neigh_as: '65007' + router_id: '10.0.0.0' state_pfxrcd: '82' - bgp_neigh: '10.0.0.9' + local_as: '65000' neigh_as: '65008' + router_id: '10.0.0.0' state_pfxrcd: '0' - bgp_neigh: '10.0.0.10' + local_as: '65000' neigh_as: '65009' + router_id: '10.0.0.0' state_pfxrcd: 'Idle (Admin)' From c240446d8796a6386b0a2cf0313cca7fbd28c668 Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Thu, 16 Aug 2018 12:20:07 -0400 Subject: [PATCH 121/628] added cisco asa show inventory --- templates/cisco_asa_show_inventory.template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/cisco_asa_show_inventory.template diff --git a/templates/cisco_asa_show_inventory.template b/templates/cisco_asa_show_inventory.template new file mode 100644 index 0000000000..977b81ca6b --- /dev/null +++ b/templates/cisco_asa_show_inventory.template @@ -0,0 +1,17 @@ +Value NAME (.*) +Value DESCR (.*) +Value PID (([\S+]+|.*)) +Value VID (.*) +Value SN ([\w+\d+]+) + +Start + ^Name:\s+"${NAME}",\s+DESCR:\s+"${DESCR}" + ^PID:\s+${PID}.*,.*VID:\s+${VID},.*SN:\s+${SN} -> Record + ^PID:\s+,.*VID:\s+${VID},.*SN: -> Record + ^PID:\s+${PID}.*,.*VID:\s+${VID},.*SN: -> Record + ^PID:\s+,.*VID:\s+${VID},.*SN:\s+${SN} -> Record + ^PID:\s+${PID}.*,.*VID:\s+${VID}.* + ^PID:\s+,.*VID:\s+${VID}.* + ^.*SN:\s+${SN} -> Record + ^.*SN: -> Record + From 9ae43ccc280d0b7c65aa320260ec98bdfd9b70f0 Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Thu, 16 Aug 2018 12:30:03 -0400 Subject: [PATCH 122/628] added cisco asa show inventory test samples --- .../show_inventory/cisco_asa_show_inventory.parsed | 8 ++++++++ .../cisco_asa/show_inventory/cisco_asa_show_inventory.raw | 2 ++ 2 files changed, 10 insertions(+) create mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed create mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory.raw diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed new file mode 100644 index 0000000000..5587021cab --- /dev/null +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed @@ -0,0 +1,8 @@ +--- +parsed_sample: + - DESCR: ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC + NAME: Chassis + PID: ASA5515 + SN: FTX1930101U + VID: 'V03 ' + diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.raw b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.raw new file mode 100644 index 0000000000..4d18e66067 --- /dev/null +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.raw @@ -0,0 +1,2 @@ +Name: "Chassis", DESCR: "ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC" +PID: ASA5515 , VID: V03 , SN: FTX1930101U From e3831f3be62bc2922e8ed0ae91f803268b46a93f Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Thu, 16 Aug 2018 16:31:04 -0400 Subject: [PATCH 123/628] Fixed spaces --- .../show_inventory/cisco_asa_show_inventory.parsed | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed index 5587021cab..18c733763e 100644 --- a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed @@ -1,8 +1,7 @@ --- parsed_sample: - - DESCR: ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC - NAME: Chassis - PID: ASA5515 - SN: FTX1930101U - VID: 'V03 ' - +- DESCR: ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC + NAME: Chassis + PID: ASA5515 + SN: FTX1930101U + VID: 'V03 ' From 6ef15d40f84b03ced8539c3b73990592a91e8868 Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Fri, 17 Aug 2018 10:13:00 -0400 Subject: [PATCH 124/628] added cisco asa show inventory to the index file --- templates/index | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/index b/templates/index index 5a3bb625b8..8d72120030 100644 --- a/templates/index +++ b/templates/index @@ -100,6 +100,7 @@ cisco_asa_show_running-config_ipsec.template, .*, cisco_asa, sh[[ow]] ru[[nning- cisco_asa_show_crypto_ipsec_sa.template, .*, cisco_asa, sh[[ow]] cry[[pto]] ip[[sec]] sa cisco_asa_show_access-list.template, .*, cisco_asa, sh[[ow]] ac[[cess-list]] cisco_asa_show_interface.template, .*, cisco_asa, sh[[ow]] int[[erface]] +cisco_asa_show_inventory.template, .*, cisco_asa, sh[[ow]] inven[[tory]] cisco_asa_show_version.template, .*, cisco_asa, sh[[ow]] ver[[sion]] cisco_asa_show_route.template, .*, cisco_asa, sh[[ow]] ro[[ute]] cisco_asa_show_name.template, .*, cisco_asa, sh[[ow]] nam[[e]] From 51970d3f2077f2f875a6ed1ee5581b4465798db8 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 17 Aug 2018 11:26:31 -0400 Subject: [PATCH 125/628] CISCO_IOS_SHOW_ROUTE-MAP: Add new template --- templates/cisco_ios_show_route-map.template | 28 +++++++++++++++++++ templates/index | 1 + .../cisco_ios_show_route-map.parsed | 12 ++++++++ .../cisco_ios_show_route-map.raw | 13 +++++++++ 4 files changed, 54 insertions(+) create mode 100644 templates/cisco_ios_show_route-map.template create mode 100644 tests/cisco_ios/show_route-map/cisco_ios_show_route-map.parsed create mode 100644 tests/cisco_ios/show_route-map/cisco_ios_show_route-map.raw diff --git a/templates/cisco_ios_show_route-map.template b/templates/cisco_ios_show_route-map.template new file mode 100644 index 0000000000..47730baa5b --- /dev/null +++ b/templates/cisco_ios_show_route-map.template @@ -0,0 +1,28 @@ +Value Required NAME (\S+) +Value Required ACTION (\S+) +Value Required SEQ (\d+) +Value List MATCH_CLAUSES (.+?) +Value List SET_CLAUSES (.+?) + +Start + ^route-map\s+${NAME},\s+${ACTION},\s+sequence\s+${SEQ}\s*$$ + ^\s+Match\s+clauses -> Match + ^\s+Set\s+clauses -> Set + ^.+ -> Error + +Match + ^\s*$$ + ^\s+Set\s+clauses -> Set + ^\s+Policy\s+routing + ^\s+${MATCH_CLAUSES}\s*$$ + ^route-map -> Continue.Record + ^route-map\s+${NAME},\s+${ACTION},\s+sequence\s+${SEQ}\s*$$ -> Start + ^.+ -> Error + +Set + ^\s*$$ + ^\s+Policy\s+routing + ^\s+${SET_CLAUSES}\s*$$ + ^route-map -> Continue.Record + ^route-map\s+${NAME},\s+${ACTION},\s+sequence\s+${SEQ}\s*$$ -> Start + ^.+ -> Error diff --git a/templates/index b/templates/index index 5a3bb625b8..d6a693cdf1 100644 --- a/templates/index +++ b/templates/index @@ -142,6 +142,7 @@ cisco_ios_show_interfaces.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_vtp_status.template, .*, cisco_ios, sh[[ow]] vtp stat[[us]] cisco_ios_show_inventory.template, .*, cisco_ios, sh[[ow]] inven[[tory]] cisco_ios_show_ip_mroute.template, .*, cisco_ios, sh[[ow]] ip mr[[oute]] +cisco_ios_show_route-map.template, .*, cisco_ios, sh[[ow]] route-m[[ap]] cisco_ios_show_ip_route.template, .*, cisco_ios, sh[[ow]] ip r[[oute]] cisco_ios_show_aliases.template, .*, cisco_ios, sh[[ow]] alia[[ses]] cisco_ios_show_archive.template, .*, cisco_ios, sh[[ow]] arc[[hive]] diff --git a/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.parsed b/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.parsed new file mode 100644 index 0000000000..d13859c3d4 --- /dev/null +++ b/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.parsed @@ -0,0 +1,12 @@ +--- +parsed_sample: + - "name": "equal" + "action": "permit" + "seq": "10" + "match_clauses": ["length 150 200"] + "set_clauses": ["ip next-hop 10.10.11.254"] + - "name": "equal" + "action": "permit" + "seq": "20" + "match_clauses": ["ip address prefix-lists: PFX", "ip address (access-lists): 101"] + "set_clauses": ["ip next-hop 10.10.11.14"] diff --git a/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.raw b/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.raw new file mode 100644 index 0000000000..276a5617b8 --- /dev/null +++ b/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.raw @@ -0,0 +1,13 @@ +route-map equal, permit, sequence 10 + Match clauses: + length 150 200 + Set clauses: + ip next-hop 10.10.11.254 + Policy routing matches: 0 packets, 0 bytes +route-map equal, permit, sequence 20 + Match clauses: + ip address prefix-lists: PFX + ip address (access-lists): 101 + Set clauses: + ip next-hop 10.10.11.14 + Policy routing matches: 144 packets, 15190 bytes From fdce11567970800b490df28f6a10d1da6ba82dd1 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 17 Aug 2018 15:44:58 -0400 Subject: [PATCH 126/628] CISCO_IOS_SHOW_IP_PREFIX-LIST: Add new template --- .../cisco_ios_show_ip_prefix-list.template | 13 +++++++++++ templates/index | 1 + .../cisco_ios_show_ip_prefix-list.parsed | 23 +++++++++++++++++++ .../cisco_ios_show_ip_prefix-list.raw | 4 ++++ 4 files changed, 41 insertions(+) create mode 100644 templates/cisco_ios_show_ip_prefix-list.template create mode 100644 tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.parsed create mode 100644 tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.raw diff --git a/templates/cisco_ios_show_ip_prefix-list.template b/templates/cisco_ios_show_ip_prefix-list.template new file mode 100644 index 0000000000..aad46d4e06 --- /dev/null +++ b/templates/cisco_ios_show_ip_prefix-list.template @@ -0,0 +1,13 @@ +Value Required,Filldown NAME (\S+) +Value Required SEQ (\d+) +Value ACTION (\S+) +Value NETWORK ([0-9a-f:\.]+) +Value NETMASK (\d+) +Value LE (\d+) +Value GE (\d+) + +Start + ^ip\s+prefix-list\s+${NAME}: + ^\s+seq\s+${SEQ}\s+${ACTION}\s+${NETWORK}/${NETMASK}(?:\s+ge\s+${GE}|)(?:\s+le\s+${LE}|)\s*$$ -> Record + ^\s*$$ + ^.+ -> Error diff --git a/templates/index b/templates/index index 5a3bb625b8..aede1273cf 100644 --- a/templates/index +++ b/templates/index @@ -123,6 +123,7 @@ cisco_ios_show_ip_ospf_neighbor.template, .*, cisco_ios, sh[[ow]] ip ospf nei[[g cisco_ios_show_ip_access-lists.template, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]] cisco_ios_show_power_available.template, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] cisco_ios_show_ip_bgp_summary.template, .*, cisco_ios, sh[[ow]] ip bgp sum[[mary]] +cisco_ios_show_ip_prefix-list.template, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] cisco_ios_show_ipv6_int_brief.template, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] cisco_ios_show_isis_neighbors.template, .*, cisco_ios, sh[[ow]] isis ne[[ighbors]] cisco_ios_show_lldp_neighbors.template, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] diff --git a/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.parsed b/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.parsed new file mode 100644 index 0000000000..723777906e --- /dev/null +++ b/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.parsed @@ -0,0 +1,23 @@ +--- +parsed_sample: +- name: "OSPF_Redist" + seq: "5" + action: "deny" + network: "10.0.0.0" + netmask: "24" + le: '' + ge: '' +- name: "OSPF_Redist" + seq: "10" + action: "permit" + network: "0.0.0.0" + netmask: "0" + le: '32' + ge: '' +- name: "OSPF_Redist" + seq: "15" + action: "deny" + network: "10.0.0.0" + netmask: "8" + le: '20' + ge: '10' diff --git a/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.raw b/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.raw new file mode 100644 index 0000000000..197d4426e6 --- /dev/null +++ b/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.raw @@ -0,0 +1,4 @@ +ip prefix-list OSPF_Redist: 2 entries + seq 5 deny 10.0.0.0/24 + seq 10 permit 0.0.0.0/0 le 32 + seq 15 deny 10.0.0.0/8 ge 10 le 20 From 24d6f9ca3c9b895e78cd57381ae1d44a6e2fac96 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 20 Aug 2018 15:18:03 -0400 Subject: [PATCH 127/628] FIXES #245 - CISCO_IOS_SHOW_IP_ACCESS-LISTS: * Fix issue where negative look-behind should be a positive look-behind for src ports * Fix issue with missing for log variable in standard acl regex * Fix issue where ports can have multiple values if not a port range * Add as a potential port match --- .../cisco_ios_show_ip_access-lists.template | 14 ++-- .../cisco_ios_show_ip_access-lists.parsed | 74 ++++++++++++++++++- .../cisco_ios_show_ip_access-lists.raw | 3 + 3 files changed, 83 insertions(+), 8 deletions(-) diff --git a/templates/cisco_ios_show_ip_access-lists.template b/templates/cisco_ios_show_ip_access-lists.template index 0bdc6faa7b..b1ae3daa61 100644 --- a/templates/cisco_ios_show_ip_access-lists.template +++ b/templates/cisco_ios_show_ip_access-lists.template @@ -7,16 +7,16 @@ Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) -Value SRC_PORT_MATCH (eq|range|lt|gt) -Value SRC_PORT ((? Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+{LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s* -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s*$$ -> Record ^.* -> Error "Could not parse line:" EOF diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed index ed414cde02..46c360df5c 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed @@ -68,7 +68,7 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" - log: "" + log: "log" time: "" state: "" - acl_type: "Standard" @@ -311,6 +311,78 @@ parsed_sample: log: "log" time: "test2" state: "inactive" +- acl_type: "Extended" + acl_name: "101" + line_num: "60" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "16384" + src_port_range_end: "32767" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "16384" + dst_port_range_end: "32767" + log: "" + time: "" + state: "" +- acl_type: "Extended" + acl_name: "101" + line_num: "70" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "snmp bootpc" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.0.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + state: "" +- acl_type: "Extended" + acl_name: "101" + line_num: "80" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.0.0.0" + src_wildcard: "0.255.255.255" + src_port_match: "eq" + src_port: "telnet ssh http 8080" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.0.0" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "neq" + dst_port: "telnet ssh" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + state: "" - acl_type: "Extended" acl_name: "sample" line_num: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw index 8b6514e3a9..ca65d5a48f 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw @@ -11,6 +11,9 @@ Extended IP access list 101 30 permit ahp any any log-input 40 permit ahp any any log-input time-range test (active) 50 permit ip any host 10.1.10.11 log time-range test2 (inactive) + 60 permit udp any range 16384 32767 10.1.1.0 0.0.0.255 range 16384 32767 + 70 permit udp any eq snmp bootpc 10.1.0.0 0.0.0.255 + 80 permit tcp 10.0.0.0 0.255.255.255 eq telnet ssh http 8080 host 10.1.0.0 neq telnet ssh Extended IP access list sample 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 From 492b681d405490c3420e663f6e8bde6958c62f96 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 20 Aug 2018 18:06:48 -0400 Subject: [PATCH 128/628] CISCO_IOS_SHOW_IP_ACCESS-LISTS: Add support for parsing connection status filtering --- .../cisco_ios_show_ip_access-lists.template | 4 +- .../cisco_ios_show_ip_access-lists.parsed | 246 ++++++++++++++++++ .../cisco_ios_show_ip_access-lists.raw | 3 + 3 files changed, 252 insertions(+), 1 deletion(-) diff --git a/templates/cisco_ios_show_ip_access-lists.template b/templates/cisco_ios_show_ip_access-lists.template index b1ae3daa61..8d89d51040 100644 --- a/templates/cisco_ios_show_ip_access-lists.template +++ b/templates/cisco_ios_show_ip_access-lists.template @@ -19,6 +19,8 @@ Value DST_PORT_MATCH (eq|neq|range|lt|gt) Value DST_PORT ((? Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s*$$ -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s*$$ -> Record ^.* -> Error "Could not parse line:" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed index 46c360df5c..5462a1962a 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed @@ -20,6 +20,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -44,6 +46,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -68,6 +72,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "log" time: "" state: "" @@ -92,6 +98,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -116,6 +124,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -140,6 +150,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -164,6 +176,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -188,6 +202,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -212,6 +228,8 @@ parsed_sample: dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -236,6 +254,8 @@ parsed_sample: dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "log" time: "" state: "" @@ -260,6 +280,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "log-input" time: "" state: "" @@ -284,6 +306,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "log-input" time: "test" state: "active" @@ -308,6 +332,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "log" time: "test2" state: "inactive" @@ -332,6 +358,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "16384" dst_port_range_end: "32767" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -356,6 +384,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -380,6 +410,86 @@ parsed_sample: dst_port: "telnet ssh" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" +- acl_type: "Extended" + acl_name: "101" + line_num: "90" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-all" + tcp_flag: "+ack -fin" + log: "log" + time: "" + state: "" +- acl_type: "Extended" + acl_name: "101" + line_num: "100" + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established" + log: "" + time: "" + state: "" +- acl_type: "Extended" + acl_name: "101" + line_num: "110" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established psh" log: "" time: "" state: "" @@ -404,6 +514,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -428,6 +540,8 @@ parsed_sample: dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -452,6 +566,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -476,6 +592,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -500,6 +618,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -524,6 +644,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -548,6 +670,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -572,6 +696,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -596,6 +722,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -620,6 +748,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -644,6 +774,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -668,6 +800,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -692,6 +826,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -716,6 +852,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -740,6 +878,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -764,6 +904,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -788,6 +930,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -812,6 +956,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -836,6 +982,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -860,6 +1008,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -884,6 +1034,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -908,6 +1060,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -932,6 +1086,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -956,6 +1112,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -980,6 +1138,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1004,6 +1164,8 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1028,6 +1190,8 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1052,6 +1216,8 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1076,6 +1242,8 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1100,6 +1268,8 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1124,6 +1294,8 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1148,6 +1320,8 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1172,6 +1346,8 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1196,6 +1372,8 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1220,6 +1398,8 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1244,6 +1424,8 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1268,6 +1450,8 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1292,6 +1476,8 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1316,6 +1502,8 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1340,6 +1528,8 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1364,6 +1554,8 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1388,6 +1580,8 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1412,6 +1606,8 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1436,6 +1632,8 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1460,6 +1658,8 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1484,6 +1684,8 @@ parsed_sample: dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1508,6 +1710,8 @@ parsed_sample: dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1532,6 +1736,8 @@ parsed_sample: dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1556,6 +1762,8 @@ parsed_sample: dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1580,6 +1788,8 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1604,6 +1814,8 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1628,6 +1840,8 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1652,6 +1866,8 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1676,6 +1892,8 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1700,6 +1918,8 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1724,6 +1944,8 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1748,6 +1970,8 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1772,6 +1996,8 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1796,6 +2022,8 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1820,6 +2048,8 @@ parsed_sample: dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "log" time: "test" state: "active" @@ -1844,6 +2074,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1868,6 +2100,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1892,6 +2126,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1916,6 +2152,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1940,6 +2178,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1964,6 +2204,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" @@ -1988,6 +2230,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "test2" state: "inactive" @@ -2012,6 +2256,8 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" + tcp_flag: "" log: "" time: "" state: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw index ca65d5a48f..df28ec69d2 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw @@ -14,6 +14,9 @@ Extended IP access list 101 60 permit udp any range 16384 32767 10.1.1.0 0.0.0.255 range 16384 32767 70 permit udp any eq snmp bootpc 10.1.0.0 0.0.0.255 80 permit tcp 10.0.0.0 0.255.255.255 eq telnet ssh http 8080 host 10.1.0.0 neq telnet ssh + 90 permit tcp any any match-all +ack -fin log + 100 permit tcp host 10.1.1.1 any established + 110 permit tcp any 10.1.1.0 0.0.255.255 established psh Extended IP access list sample 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 From 63cde91572a524255a4709574542995c0e5a1a16 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Tue, 21 Aug 2018 14:54:27 -0400 Subject: [PATCH 129/628] Add support for standard ACL to include matching the 'match counts' --- .../cisco_ios_show_ip_access-lists.template | 4 +- .../cisco_ios_show_ip_access-lists.parsed | 87 +++++++++++++++++++ .../cisco_ios_show_ip_access-lists.raw | 2 +- 3 files changed, 90 insertions(+), 3 deletions(-) diff --git a/templates/cisco_ios_show_ip_access-lists.template b/templates/cisco_ios_show_ip_access-lists.template index 8d89d51040..c41ae38a35 100644 --- a/templates/cisco_ios_show_ip_access-lists.template +++ b/templates/cisco_ios_show_ip_access-lists.template @@ -24,13 +24,13 @@ Value TCP_FLAG (((\+|-|)ack(\s*?)|(\+|-|)established(\s*?)|(\+|-|)fin(\s*?)|(\+| Value LOG (log-input|log) Value TIME (\S+) Value STATE (inactive|active) - +Value MATCHES (\d+) Start ^(Standard|Extended) -> Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s*$$ -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)\s*$$ -> Record ^.* -> Error "Could not parse line:" EOF diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed index 5462a1962a..901dd7f128 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed @@ -25,6 +25,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Standard" acl_name: "99" line_num: "10" @@ -51,6 +52,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Standard" acl_name: "99" line_num: "20" @@ -77,6 +79,7 @@ parsed_sample: log: "log" time: "" state: "" + matches: "" - acl_type: "Standard" acl_name: "99" line_num: "30" @@ -103,6 +106,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "20" - acl_type: "Standard" acl_name: "stdacl" line_num: "" @@ -129,6 +133,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Standard" acl_name: "stdacl" line_num: "10" @@ -155,6 +160,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "test" line_num: "" @@ -181,6 +187,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "" @@ -207,6 +214,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "10" @@ -233,6 +241,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "20" @@ -259,6 +268,7 @@ parsed_sample: log: "log" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "30" @@ -285,6 +295,7 @@ parsed_sample: log: "log-input" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "40" @@ -311,6 +322,7 @@ parsed_sample: log: "log-input" time: "test" state: "active" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "50" @@ -337,6 +349,7 @@ parsed_sample: log: "log" time: "test2" state: "inactive" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "60" @@ -363,6 +376,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "70" @@ -389,6 +403,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "80" @@ -415,6 +430,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "90" @@ -441,6 +457,7 @@ parsed_sample: log: "log" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "100" @@ -467,6 +484,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "101" line_num: "110" @@ -493,6 +511,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "" @@ -519,6 +538,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "10" @@ -545,6 +565,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "20" @@ -571,6 +592,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "30" @@ -597,6 +619,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "40" @@ -623,6 +646,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "50" @@ -649,6 +673,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "60" @@ -675,6 +700,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "70" @@ -701,6 +727,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "80" @@ -727,6 +754,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "90" @@ -753,6 +781,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "100" @@ -779,6 +808,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "110" @@ -805,6 +835,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "120" @@ -831,6 +862,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "130" @@ -857,6 +889,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "140" @@ -883,6 +916,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "150" @@ -909,6 +943,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "160" @@ -935,6 +970,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "170" @@ -961,6 +997,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "180" @@ -987,6 +1024,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "190" @@ -1013,6 +1051,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "200" @@ -1039,6 +1078,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "210" @@ -1065,6 +1105,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "220" @@ -1091,6 +1132,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "230" @@ -1117,6 +1159,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "240" @@ -1143,6 +1186,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "250" @@ -1169,6 +1213,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "260" @@ -1195,6 +1240,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "270" @@ -1221,6 +1267,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "280" @@ -1247,6 +1294,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "290" @@ -1273,6 +1321,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "300" @@ -1299,6 +1348,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "310" @@ -1325,6 +1375,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "320" @@ -1351,6 +1402,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "330" @@ -1377,6 +1429,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "340" @@ -1403,6 +1456,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "350" @@ -1429,6 +1483,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "360" @@ -1455,6 +1510,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "370" @@ -1481,6 +1537,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "380" @@ -1507,6 +1564,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "390" @@ -1533,6 +1591,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "400" @@ -1559,6 +1618,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "410" @@ -1585,6 +1645,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "420" @@ -1611,6 +1672,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "430" @@ -1637,6 +1699,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "440" @@ -1663,6 +1726,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "450" @@ -1689,6 +1753,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "460" @@ -1715,6 +1780,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "470" @@ -1741,6 +1807,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "480" @@ -1767,6 +1834,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "490" @@ -1793,6 +1861,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "500" @@ -1819,6 +1888,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "510" @@ -1845,6 +1915,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "520" @@ -1871,6 +1942,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "530" @@ -1897,6 +1969,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "540" @@ -1923,6 +1996,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "550" @@ -1949,6 +2023,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "560" @@ -1975,6 +2050,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "570" @@ -2001,6 +2077,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "580" @@ -2027,6 +2104,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "590" @@ -2053,6 +2131,7 @@ parsed_sample: log: "log" time: "test" state: "active" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "600" @@ -2079,6 +2158,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "610" @@ -2105,6 +2185,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "620" @@ -2131,6 +2212,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "630" @@ -2157,6 +2239,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "640" @@ -2183,6 +2266,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "650" @@ -2209,6 +2293,7 @@ parsed_sample: log: "" time: "" state: "" + matches: "" - acl_type: "Extended" acl_name: "sample" line_num: "660" @@ -2235,6 +2320,7 @@ parsed_sample: log: "" time: "test2" state: "inactive" + matches: "" - acl_type: "Extended" acl_name: "test2" line_num: "" @@ -2261,3 +2347,4 @@ parsed_sample: log: "" time: "" state: "" + matches: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw index df28ec69d2..4b1de7c0ab 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.raw @@ -1,7 +1,7 @@ Standard IP access list 99 10 permit 172.16.191.199 20 deny any log - 30 permit 10.0.10.0, wildcard bits 0.255.0.255 + 30 permit 10.0.10.0, wildcard bits 0.255.0.255 (20 matches) Standard IP access list stdacl 10 permit 10.1.1.1 Extended IP access list test From 01a210e45a75c1d5ac34d6ff9b67aba0271e24ba Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Wed, 22 Aug 2018 15:15:32 -0400 Subject: [PATCH 130/628] re do asa template for show inventory --- templates/cisco_asa_show_inventory.template | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/templates/cisco_asa_show_inventory.template b/templates/cisco_asa_show_inventory.template index 977b81ca6b..a55c705d91 100644 --- a/templates/cisco_asa_show_inventory.template +++ b/templates/cisco_asa_show_inventory.template @@ -1,17 +1,12 @@ -Value NAME (.*) +Value NAME (\S+) Value DESCR (.*) -Value PID (([\S+]+|.*)) -Value VID (.*) -Value SN ([\w+\d+]+) +Value PID (\S+) +Value VID (\S+) +Value SN (\S+) Start - ^Name:\s+"${NAME}",\s+DESCR:\s+"${DESCR}" - ^PID:\s+${PID}.*,.*VID:\s+${VID},.*SN:\s+${SN} -> Record - ^PID:\s+,.*VID:\s+${VID},.*SN: -> Record - ^PID:\s+${PID}.*,.*VID:\s+${VID},.*SN: -> Record - ^PID:\s+,.*VID:\s+${VID},.*SN:\s+${SN} -> Record - ^PID:\s+${PID}.*,.*VID:\s+${VID}.* - ^PID:\s+,.*VID:\s+${VID}.* - ^.*SN:\s+${SN} -> Record - ^.*SN: -> Record + ^Name:\s+"${NAME}"\s*,\s+DESCR:\s+"${DESCR}" + ^PID:\s+${PID}\s*,\s+VID:\s+${VID}\s*,\s+SN:\s+${SN} -> Record + ^\s*$$ + ^.+ -> Error From e45241d3128c2b77ae6d436b3616814848ebd441 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Wed, 22 Aug 2018 15:21:48 -0400 Subject: [PATCH 131/628] Fix key names to be lowercase --- .../show_inventory/cisco_asa_show_inventory.parsed | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed index 18c733763e..c265729573 100644 --- a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed @@ -1,7 +1,7 @@ --- parsed_sample: -- DESCR: ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC - NAME: Chassis - PID: ASA5515 - SN: FTX1930101U - VID: 'V03 ' +- name: Chassis + descr: ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC + pid: ASA5515 + sn: FTX1930101U + vid: 'V03 ' From 84efb0d890818f6010294ff06e2bc176f4dd7ff3 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Wed, 22 Aug 2018 15:49:31 -0400 Subject: [PATCH 132/628] Update cisco_asa_show_inventory.parsed --- .../show_inventory/cisco_asa_show_inventory.parsed | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed index c265729573..6ce307bb9f 100644 --- a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed @@ -1,7 +1,7 @@ --- parsed_sample: -- name: Chassis - descr: ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC - pid: ASA5515 - sn: FTX1930101U - vid: 'V03 ' +- name: "Chassis" + descr: "ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC" + pid: "ASA5515" + sn: "FTX1930101U" + vid: "V03" From 6b9e038fecc4ad488e2f96bc3adf8352566f35f2 Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Wed, 22 Aug 2018 16:38:15 -0400 Subject: [PATCH 133/628] Updated show inventory to catch space on the name field --- templates/cisco_asa_show_inventory.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cisco_asa_show_inventory.template b/templates/cisco_asa_show_inventory.template index a55c705d91..4f5bd1f0cb 100644 --- a/templates/cisco_asa_show_inventory.template +++ b/templates/cisco_asa_show_inventory.template @@ -1,4 +1,4 @@ -Value NAME (\S+) +Value NAME (.*) Value DESCR (.*) Value PID (\S+) Value VID (\S+) From 3063296e7b5c0757b2e35576f775437c1ce67d99 Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Wed, 22 Aug 2018 16:47:42 -0400 Subject: [PATCH 134/628] Added parsed input for asa5510 --- .../show_inventory/cisco_asa_show_inventory.parsed | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed index 6ce307bb9f..ce3d6321b6 100644 --- a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed @@ -5,3 +5,9 @@ parsed_sample: pid: "ASA5515" sn: "FTX1930101U" vid: "V03" + +- name: "power supply" + descr: "ASA/IPS 180W AC Power Supply" + pid: "ASA5510" + sn: "JMX1134L12A" + vid: "V03" From 59d6c7c962e63f20a8dbc0a29e86229f35469c7b Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Wed, 22 Aug 2018 16:49:01 -0400 Subject: [PATCH 135/628] Added raw input for asa5510 --- tests/cisco_asa/show_inventory/cisco_asa_show_inventory.raw | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.raw b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.raw index 4d18e66067..3dbe554970 100644 --- a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.raw +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.raw @@ -1,2 +1,5 @@ Name: "Chassis", DESCR: "ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC" PID: ASA5515 , VID: V03 , SN: FTX1930101U + +Name: "power supply", DESCR: "ASA/IPS 180W AC Power Supply" +PID: ASA-180W-PWR-AC , VID: V01 , SN: DTN111381AC From e16f9280e9e1456582c56fce06d8b420f8e3a7d1 Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Wed, 22 Aug 2018 16:50:10 -0400 Subject: [PATCH 136/628] Update parsed data from asa5510 --- .../show_inventory/cisco_asa_show_inventory.parsed | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed index ce3d6321b6..d1e57cb6c3 100644 --- a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed @@ -5,9 +5,9 @@ parsed_sample: pid: "ASA5515" sn: "FTX1930101U" vid: "V03" - + - name: "power supply" descr: "ASA/IPS 180W AC Power Supply" - pid: "ASA5510" - sn: "JMX1134L12A" - vid: "V03" + pid: "ASA-180W-PWR-AC" + sn: "DTN111381AC" + vid: "V01" From e007f47656233509abc5d7f19524636aff4da8a6 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Sun, 30 Sep 2018 20:20:21 -0400 Subject: [PATCH 137/628] Add match for empty lines or lines that are only spaces --- templates/hp_procurve_show_vlans.template | 1 + .../show_vlans/hp_procurve_show_vlans.parsed | 52 ++++++++----------- 2 files changed, 24 insertions(+), 29 deletions(-) diff --git a/templates/hp_procurve_show_vlans.template b/templates/hp_procurve_show_vlans.template index aff0f9d0eb..64be57c2fb 100644 --- a/templates/hp_procurve_show_vlans.template +++ b/templates/hp_procurve_show_vlans.template @@ -10,4 +10,5 @@ Start VLAN ^\s+${VLAN_ID}\s+${NAME}\s+(\|\s+|)${STATUS}\s+${VOICE}(\s+${JUMBO}|)\s*$$ -> Record ^\s+-+\s+-+\s+(\+\s+|)-+\s+-+(\s+-+|)\s*$$ + ^\s*$$ ^.*$$ -> Error diff --git a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans.parsed b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans.parsed index 67f95024a1..ce19b42d48 100644 --- a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans.parsed +++ b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans.parsed @@ -1,31 +1,25 @@ --- - parsed_sample: - -- name: "DEFAULT_VLAN" - vlan_id: "1" - status: "Port-based" - voice: "No" - jumbo: "No" - -- name: "sixty-six" - vlan_id: "66" - status: "Port-based" - voice: "No" - jumbo: "No" - -- name: "DEVOPS" - vlan_id: "100" - status: "Port-based" - voice: "No" - jumbo: "No" - status: "Port-based" - voice: "No" - jumbo: "No" - -- name: "MANAGEMENT" - vlan_id: "996" - status: "Port-based" - voice: "No" - jumbo: "No" - + - name: "DEFAULT_VLAN" + vlan_id: "1" + status: "Port-based" + voice: "No" + jumbo: "No" + - name: "sixty-six" + vlan_id: "66" + status: "Port-based" + voice: "No" + jumbo: "No" + - name: "DEVOPS" + vlan_id: "100" + status: "Port-based" + voice: "No" + jumbo: "No" + status: "Port-based" + voice: "No" + jumbo: "No" + - name: "MANAGEMENT" + vlan_id: "996" + status: "Port-based" + voice: "No" + jumbo: "No" From 60891d6a3ac56b36605551c93fe84e30032bb424 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Tue, 9 Oct 2018 17:10:29 -0400 Subject: [PATCH 138/628] CISCO ASA SHOW FAILOVER: Add template for failover status --- templates/cisco_asa_show_failover.template | 79 +++++++++++++++++++ templates/index | 1 + .../cisco_asa_show_failover.parsed | 33 ++++++++ .../show_failover/cisco_asa_show_failover.raw | 64 +++++++++++++++ .../cisco_asa_show_failover5505.parsed | 33 ++++++++ .../cisco_asa_show_failover5505.raw | 27 +++++++ ...cisco_asa_show_failoveractiveactive.parsed | 33 ++++++++ .../cisco_asa_show_failoveractiveactive.raw | 66 ++++++++++++++++ 8 files changed, 336 insertions(+) create mode 100644 templates/cisco_asa_show_failover.template create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover.raw create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover5505.raw create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.raw diff --git a/templates/cisco_asa_show_failover.template b/templates/cisco_asa_show_failover.template new file mode 100644 index 0000000000..bd3d8f158a --- /dev/null +++ b/templates/cisco_asa_show_failover.template @@ -0,0 +1,79 @@ +Value STATE (\S+) +Value ROLE (\S+) +Value LAN_INTF_NAME (\S+) +Value LAN_INTF (\S+) +Value LAN_INTF_STATE (\S+) +Value SW_VERSION (\S+) +Value SW_VERSION_MATE (\S+) +Value List FAILOVER_GROUP (\d+) +Value List LAST_FAILOVER_TIME (\d+:\d+:\d+) +Value List LAST_FAILOVER_TIMEZONE (\w+) +Value List LAST_FAILOVER_MONTH (\w+) +Value List LAST_FAILOVER_DAY (\d+) +Value List LAST_FAILOVER_YEAR (\d+) +Value List SERVICE (\S+) +Value List SERVICE_STATE (\S+|) +Value List SERVICE_MATE (\S+) +Value List SERVICE_STATE_MATE (\S+|) +Value List SSP_SLOT (\d+) +Value List SSP_MODEL (\S+) +Value List SSP_STATUS (\S+) +Value List SSP_SLOT_MATE (\d+) +Value List SSP_MODEL_MATE (\S+) +Value List SSP_STATUS_MATE (\S+) +Value List INTERFACES_CONTEXT (\S+) +Value List INTERFACES (\S+) +Value List INTERFACES_STATUS (.+?) +Value List INTERFACES_STATE (\S+) +Value List INTERFACES_CONTEXT_MATE (\S+) +Value List INTERFACES_MATE (\S+) +Value List INTERFACES_STATUS_MATE (.+?) +Value List INTERFACES_STATE_MATE (\S+) + +Start + ^Failover\s+${STATE}\s*$$ + ^Failover\s+unit\s+${ROLE}\s*$$ + ^Failover\s+LAN\s+Interface:\s+${LAN_INTF_NAME}\s+${LAN_INTF}\s+\(${LAN_INTF_STATE}\)\s*$$ + ^Version:\s+Ours\s+${SW_VERSION},\s+Mate\s+${SW_VERSION_MATE}\s*$$ + ^(?:Group\s+${FAILOVER_GROUP}\s+|)[Ll]ast\s+[Ff]ailover\s+at:\s+${LAST_FAILOVER_TIME}\s+${LAST_FAILOVER_TIMEZONE}\s+${LAST_FAILOVER_MONTH}\s+${LAST_FAILOVER_DAY}\s+${LAST_FAILOVER_YEAR}\s*$$ + ^This\s+host:.+?-\s+${SERVICE}\s*${SERVICE_STATE}\s*$$ -> ThisHost + ^This\s+host:\s+\S+\s*$$ -> ThisHost + ^Reconnect\s+timeout + ^Unit\s+Poll\s+frequency + ^Interface\s+Poll\s+frequency + ^Interface\s+Policy + ^Monitored\s+Interfaces + ^MAC\s+Address\s+Move\s+Notification\s+Interval + ^Serial\s+Number + ^failover\s+replication + ^\s*$$ + ^. -> Error + +ThisHost + ^Group\s+\d+\s+State:\s+${SERVICE}\s*${SERVICE_STATE}\s*$$ + ^Active\s+time + ^slot\s+${SSP_SLOT}:\s+${SSP_MODEL}\s+.+?status\s+\(${SSP_STATUS}.*?\)\s*$$ + ^(${INTERFACES_CONTEXT}\s+|)Interface\s+${INTERFACES}.+?:\s+${INTERFACES_STATUS}(?:\s+\(${INTERFACES_STATE}\)|)\s*$$ + ^Other\s+host:.+?-\s+${SERVICE_MATE}\s*${SERVICE_STATE_MATE}\s*$$ -> OtherHost + ^Other\s+host:\s+\S+\s*$$ -> OtherHost + ^slot\s+\d+:\s+empty\s*$$ + ^\s*$$ + ^. -> Error + +OtherHost + ^Group\s+\d+\s+State:\s+${SERVICE_MATE}\s*${SERVICE_STATE_MATE}\s*$$ + ^Active\s+time + ^slot\s+${SSP_SLOT_MATE}:\s+${SSP_MODEL_MATE}\s+.+?status\s+\(${SSP_STATUS_MATE}.*?\)\s*$$ + ^(${INTERFACES_CONTEXT_MATE}\s+|)Interface\s+${INTERFACES_MATE}.+?:\s+${INTERFACES_STATUS_MATE}(?:\s+\(${INTERFACES_STATE_MATE}\)|)\s*$$ + ^slot\s+\d+:\s+empty\s*$$ + ^Stateful\s+Failover\s+Logical\s+Update\s+Statistics\s*$$ -> Stats + ^\s*$$ + ^. -> Error + +Stats + ^Link\s*:\s+ + ^Stateful\s+Obj\s+xmit\s+xerr\s+rcv\s+rerr\s*$$ + ^.+?\d+\s+\d+\s+\d+\s+\d+\s*$$ + ^Logical\s+Update\s+Queue\s+Information\s*$$ + ^Cur\s+Max\s+Total\s*$$ + ^.+?:\s+\d+\s+\d+\s+\d+\s*$$ diff --git a/templates/index b/templates/index index 8d72120030..34df7e37f2 100644 --- a/templates/index +++ b/templates/index @@ -101,6 +101,7 @@ cisco_asa_show_crypto_ipsec_sa.template, .*, cisco_asa, sh[[ow]] cry[[pto]] ip[[ cisco_asa_show_access-list.template, .*, cisco_asa, sh[[ow]] ac[[cess-list]] cisco_asa_show_interface.template, .*, cisco_asa, sh[[ow]] int[[erface]] cisco_asa_show_inventory.template, .*, cisco_asa, sh[[ow]] inven[[tory]] +cisco_asa_show_failover.template, .*, cisco_asa, sh[[ow]] fa[[ilover]] cisco_asa_show_version.template, .*, cisco_asa, sh[[ow]] ver[[sion]] cisco_asa_show_route.template, .*, cisco_asa, sh[[ow]] ro[[ute]] cisco_asa_show_name.template, .*, cisco_asa, sh[[ow]] nam[[e]] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed new file mode 100644 index 0000000000..113296b0c2 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed @@ -0,0 +1,33 @@ +--- +parsed_sample: + - state: "On" + role: "Primary" + lan_intf_name: "failover" + lan_intf: "GigabitEthernet0/4" + lan_intf_state: "up" + sw_version: "98.1(1)86" + sw_version_mate: "98.1(1)86" + failover_group: [None] + last_failover_time: ["12:52:34"] + last_failover_timezone: ["UTC"] + last_failover_month: ["Apr"] + last_failover_day: ["26"] + last_failover_year: ["2017"] + service: ["Active"] + service_state: [""] + service_mate: ["Standby"] + service_state_mate: ["Ready"] + ssp_slot: ["0"] + ssp_model: ["ASA5585-SSP-10"] + ssp_status: ["Up"] + ssp_slot_mate: ["0"] + ssp_model_mate: ["ASA5585-SSP-10"] + ssp_status_mate: ["Up"] + interfaces_context: [None, None, None] + interfaces: ["inside", "outside", "dmz"] + interfaces_status: ["Normal", "No Link", "No Link"] + interfaces_state: ["Monitored", "Waiting", "Waiting"] + interfaces_context_mate: [None, None, None] + interfaces_mate: ["inside", "outside", "dmz"] + interfaces_status_mate: ["Normal", "No Link", "No Link"] + interfaces_state_mate: ["Waiting", "Waiting", "Waiting"] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover.raw b/tests/cisco_asa/show_failover/cisco_asa_show_failover.raw new file mode 100644 index 0000000000..efa1da7ee9 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover.raw @@ -0,0 +1,64 @@ +Failover On +Failover unit Primary +Failover LAN Interface: failover GigabitEthernet0/4 (up) +Reconnect timeout 0:00:00 +Unit Poll frequency 1 seconds, holdtime 15 seconds +Interface Poll frequency 5 seconds, holdtime 25 seconds +Interface Policy 1 +Monitored Interfaces 3 of 1049 maximum +MAC Address Move Notification Interval not set +Version: Ours 98.1(1)86, Mate 98.1(1)86 +Serial Number: Ours JAF1610APKQ, Mate JAF1610ALGM +Last Failover at: 12:52:34 UTC Apr 26 2017 +This host: Primary - Active +Active time: 87 (sec) +slot 0: ASA5585-SSP-10 hw/sw rev (2.0/98.1(1)86) status (Up Sys) +Interface inside (10.86.118.1): Normal (Monitored) +Interface outside (192.168.77.1): No Link (Waiting) +Interface dmz (192.168.67.1): No Link (Waiting) +slot 1: empty +slot 1: empty +Other host: Secondary - Standby Ready +Active time: 0 (sec) +slot 0: ASA5585-SSP-10 hw/sw rev (2.0/98.1(1)86) status (Up Sys) +Interface inside (10.86.118.2): Normal (Waiting) +Interface outside (192.168.77.2): No Link (Waiting) +Interface dmz (192.168.67.2): No Link (Waiting) +slot 1: empty +slot 1: empty + +Stateful Failover Logical Update Statistics +Link : failover GigabitEthernet0/4 (up) +Stateful Obj xmit xerr rcv rerr +General 22 0 6 0 +sys cmd 6 0 6 0 +up time 0 0 0 0 +RPC services 0 0 0 0 +TCP conn 0 0 0 0 +UDP conn 0 0 0 0 +ARP tbl 14 0 0 0 +Xlate_Timeout 0 0 0 0 +IPv6 ND tbl 0 0 0 0 +VPN IKEv1 SA 0 0 0 0 +VPN IKEv1 P2 0 0 0 0 +VPN IKEv2 SA 0 0 0 0 +VPN IKEv2 P2 0 0 0 0 +VPN CTCP upd 0 0 0 0 +VPN SDI upd 0 0 0 0 +VPN DHCP upd 0 0 0 0 +SIP Session 0 0 0 0 +SIP Tx 0 0 0 0 +SIP Pinhole 0 0 0 0 +Route Session 0 0 0 0 +Router ID 1 0 0 0 +User-Identity 1 0 0 0 +CTS SGTNAME 0 0 0 0 +CTS PAC 0 0 0 0 +TrustSec-SXP 0 0 0 0 +IPv6 Route 0 0 0 0 +STS Table 0 0 0 0 + +Logical Update Queue Information +Cur Max Total +Recv Q: 0 5 6 +Xmit Q: 0 27 86 diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed new file mode 100644 index 0000000000..90774eda12 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed @@ -0,0 +1,33 @@ +--- +parsed_sample: + - state: "On" + role: "Primary" + lan_intf_name: "fover" + lan_intf: "Vlan150" + lan_intf_state: "up" + sw_version: "7.2(0)55" + sw_version_mate: "7.2(0)55" + failover_group: [None] + last_failover_time: ["19:59:58"] + last_failover_timezone: ["PST"] + last_failover_month: ["Apr"] + last_failover_day: ["6"] + last_failover_year: ["2006"] + service: ["Active"] + service_state: [""] + service_mate: ["Standby"] + service_state_mate: ["Ready"] + ssp_slot: ["0"] + ssp_model: ["ASA5505"] + ssp_status: ["Up"] + ssp_slot_mate: ["0"] + ssp_model_mate: ["ASA5505"] + ssp_status_mate: ["Up"] + interfaces_context: [None, None, None, None] + interfaces: ["inside", "outside", "dmz", "test"] + interfaces_status: ["Normal", "Normal", "Normal", "Normal"] + interfaces_state: [None, None, None, None] + interfaces_context_mate: [None, None, None, None] + interfaces_mate: ["inside", "outside", "dmz", "test"] + interfaces_status_mate: ["Normal", "Normal", "Normal", "Normal"] + interfaces_state_mate: [None, None, None, None] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.raw b/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.raw new file mode 100644 index 0000000000..52fa97f26e --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.raw @@ -0,0 +1,27 @@ +Failover On +Failover unit Primary +Failover LAN Interface: fover Vlan150 (up) +Unit Poll frequency 1 seconds, holdtime 15 seconds +Interface Poll frequency 5 seconds, holdtime 25 seconds +Interface Policy 1 +Monitored Interfaces 4 of 250 maximum +Version: Ours 7.2(0)55, Mate 7.2(0)55 +Last Failover at: 19:59:58 PST Apr 6 2006 + +This host: Primary - Active +Active time: 34 (sec) +slot 0: ASA5505 hw/sw rev (1.0/7.2(0)55) status (Up Sys) +Interface inside (192.168.1.1): Normal +Interface outside (192.168.2.201): Normal +Interface dmz (172.16.0.1): Normal +Interface test (172.23.62.138): Normal +slot 1: empty + +Other host: Secondary - Standby Ready +Active time: 0 (sec) +slot 0: ASA5505 hw/sw rev (1.0/7.2(0)55) status (Up Sys) +Interface inside (192.168.1.2): Normal +Interface outside (192.168.2.211): Normal +Interface dmz (172.16.0.2): Normal +Interface test (172.23.62.137): Normal +slot 1: empty diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed new file mode 100644 index 0000000000..1988dc98d8 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed @@ -0,0 +1,33 @@ +--- +parsed_sample: + - state: "On" + role: "Primary" + lan_intf_name: "folink" + lan_intf: "GigabitEthernet0/2" + lan_intf_state: "up" + sw_version: "" + sw_version_mate: "" + failover_group: ["1", "2"] + last_failover_time: ["13:40:18", "13:40:06"] + last_failover_timezone: ["UTC", "UTC"] + last_failover_month: ["Dec", "Dec"] + last_failover_day: ["9", "9"] + last_failover_year: ["2004", "2004"] + service: ["Active", "Standby"] + service_state: ["", "Ready"] + service_mate: ["Standby", "Active"] + service_state_mate: ["Ready", ""] + ssp_slot: ["0"] + ssp_model: ["ASA-5545"] + ssp_status: ["Up"] + ssp_slot_mate: ["0"] + ssp_model_mate: ["ASA-5545"] + ssp_status_mate: ["Up"] + interfaces_context: ["admin", "admin", "admin", "admin", "ctx1", "ctx1", "ctx2", "ctx2"] + interfaces: ["outside", "folink", "inside", "fourth", "outside", "inside", "outside", "inside"] + interfaces_status: ["Normal", "Normal", "Normal", "Normal", "Normal", "Normal", "Normal", "Normal"] + interfaces_state: [None, None, None, None, None, None, None, None] + interfaces_context_mate: ["admin", "admin", "admin", "admin", "ctx1", "ctx1", "ctx2", "ctx2"] + interfaces_mate: ["outside", "folink", "inside", "fourth", "outside", "inside", "outside", "inside"] + interfaces_status_mate: ["Normal", "Normal", "Normal", "Normal", "Normal", "Normal", "Normal", "Normal"] + interfaces_state_mate: [None, None, None, None, None, None, None, None] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.raw b/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.raw new file mode 100644 index 0000000000..acdfc45ee2 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.raw @@ -0,0 +1,66 @@ +Failover On +Failover unit Primary +Failover LAN Interface: folink GigabitEthernet0/2 (up) +Unit Poll frequency 1 seconds, holdtime 15 seconds +Interface Poll frequency 4 seconds +Interface Policy 1 +Monitored Interfaces 8 of 250 maximum +failover replication http +Group 1 last failover at: 13:40:18 UTC Dec 9 2004 +Group 2 last failover at: 13:40:06 UTC Dec 9 2004 + +This host: Primary +Group 1 State: Active +Active time: 2896 (sec) +Group 2 State: Standby Ready +Active time: 0 (sec) + +slot 0: ASA-5545 hw/sw rev (1.0/7.0(0)79) status (Up Sys) +admin Interface outside (10.132.8.5): Normal +admin Interface folink (10.132.9.5/fe80::2a0:c9ff:fe03:101): Normal +admin Interface inside (10.130.8.5/fe80::2a0:c9ff:fe01:101): Normal +admin Interface fourth (10.130.9.5/fe80::3eff:fe11:6670): Normal +ctx1 Interface outside (10.1.1.1): Normal +ctx1 Interface inside (10.2.2.1): Normal +ctx2 Interface outside (10.3.3.2): Normal +ctx2 Interface inside (10.4.4.2): Normal + +Other host: Secondary +Group 1 State: Standby Ready +Active time: 190 (sec) +Group 2 State: Active +Active time: 3322 (sec) + +slot 0: ASA-5545 hw/sw rev (1.0/7.0(0)79) status (Up Sys) +admin Interface outside (10.132.8.6): Normal +admin Interface folink (10.132.9.6/fe80::2a0:c9ff:fe03:102): Normal +admin Interface inside (10.130.8.6/fe80::2a0:c9ff:fe01:102): Normal +admin Interface fourth (10.130.9.6/fe80::3eff:fe11:6671): Normal +ctx1 Interface outside (10.1.1.2): Normal +ctx1 Interface inside (10.2.2.2): Normal +ctx2 Interface outside (10.3.3.1): Normal +ctx2 Interface inside (10.4.4.1): Normal + +Stateful Failover Logical Update Statistics +Link : third GigabitEthernet0/2 (up) +Stateful Obj xmit xerr rcv rerr +General 0 0 0 0 +sys cmd 380 0 380 0 +up time 0 0 0 0 +RPC services 0 0 0 0 +TCP conn 1435 0 1450 0 +UDP conn 0 0 0 0 +ARP tbl 124 0 65 0 +Xlate_Timeout 0 0 0 0 +IPv6 ND tbl 22 0 0 0 +VPN IKE upd 15 0 0 0 +VPN IPSEC upd 90 0 0 0 +VPN CTCP upd 0 0 0 0 +VPN SDI upd 0 0 0 0 +VPN DHCP upd 0 0 0 0 +SIP Session 0 0 0 0 + +Logical Update Queue Information +Cur Max Total +Recv Q: 0 1 1895 +Xmit Q: 0 0 1940 From 0ce8bb231660321d4b5a00412d373c2dd870b8aa Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Wed, 10 Oct 2018 17:37:15 -0400 Subject: [PATCH 139/628] CISCO ASA SHOW XLATE: Add new template --- templates/cisco_asa_show_xlate.template | 33 +++++++++++++++++++ templates/index | 1 + .../show_xlate/cisco_asa_show_xlate.parsed | 26 +++++++++++++++ .../show_xlate/cisco_asa_show_xlate.raw | 16 +++++++++ 4 files changed, 76 insertions(+) create mode 100644 templates/cisco_asa_show_xlate.template create mode 100644 tests/cisco_asa/show_xlate/cisco_asa_show_xlate.parsed create mode 100644 tests/cisco_asa/show_xlate/cisco_asa_show_xlate.raw diff --git a/templates/cisco_asa_show_xlate.template b/templates/cisco_asa_show_xlate.template new file mode 100644 index 0000000000..0261cef72e --- /dev/null +++ b/templates/cisco_asa_show_xlate.template @@ -0,0 +1,33 @@ +Value SOURCE_INTF (\S+) +Value List SOURCE ([0-9a-fA-F:\./]{7,}) +Value DESTINATION_INTF (\S+) +Value List DESTINATION ([0-9a-fA-F:\./]{7,}) + +Start + ^\d+\s+in\s+use + ^Flags: + ^\S+\s+-\s+\S+ + ^NAT\s+from\s+${SOURCE_INTF}:${SOURCE} -> Continue + ^NAT\s+from\s+\S+:[0-9a-fA-F:\./]+,\s+${SOURCE} -> Continue + ^NAT\s+from\s+\S+:(?:[0-9a-fA-F:\./]+,\s+){2}${SOURCE},\s*$$ + ^NAT\s+from\s+\S+:(?:[0-9a-fA-F:\./]+,\s+){2}${SOURCE} -> Continue + ^${SOURCE} -> Continue + ^[0-9a-fA-F:\./]+,\s+${SOURCE} -> Continue + ^(?:[0-9a-fA-F:\./]+,\s+){2}${SOURCE} + ^.+to\s+${DESTINATION_INTF}:${DESTINATION}\s*$$ -> Dest + ^.+to\s+${DESTINATION_INTF}:${DESTINATION} -> Continue + ^.+to\s+\S+:[0-9a-fA-F:\./]+\s+${DESTINATION}\s*$$ -> Dest + ^.+to\s+\S+:[0-9a-fA-F:\./]+\s+${DESTINATION} -> Continue + ^.+to\s+\S+:(?:[0-9a-fA-F:\./]+\s+){2}${DESTINATION}\s*$$ -> Dest + ^.*flags -> Record + ^\s*$$ + ^. -> Error + +Dest + ^${DESTINATION} -> Continue + ^[0-9a-fA-F:\./]+,\s+${DESTINATION} -> Continue + ^(?:[0-9a-fA-F:\./]+,\s+){2}${DESTINATION}\s*$$ + ^(?:[0-9a-fA-F:\./]+,\s+){2}${DESTINATION} + ^.*flags -> Record Start + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 8d72120030..60715b1572 100644 --- a/templates/index +++ b/templates/index @@ -103,6 +103,7 @@ cisco_asa_show_interface.template, .*, cisco_asa, sh[[ow]] int[[erface]] cisco_asa_show_inventory.template, .*, cisco_asa, sh[[ow]] inven[[tory]] cisco_asa_show_version.template, .*, cisco_asa, sh[[ow]] ver[[sion]] cisco_asa_show_route.template, .*, cisco_asa, sh[[ow]] ro[[ute]] +cisco_asa_show_xlate.template, .*, cisco_asa, sh[[ow]] x[[late]] cisco_asa_show_name.template, .*, cisco_asa, sh[[ow]] nam[[e]] cisco_asa_dir.template, .*, cisco_asa, dir diff --git a/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.parsed b/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.parsed new file mode 100644 index 0000000000..56ee7177b1 --- /dev/null +++ b/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.parsed @@ -0,0 +1,26 @@ +--- +parsed_sample: + - source_intf: "any" + source: ["10.90.67.2"] + destination_intf: "any" + destination: ["10.9.1.0/24"] + - source_intf: "any" + source: ["10.1.1.0/24"] + destination_intf: "any" + destination: ["172.16.1.0/24"] + - source_intf: "any" + source: ["10.90.67.2"] + destination_intf: "any" + destination: ["10.86.94.0"] + - source_intf: "any" + source: ["10.9.0.9", "10.9.0.10/31", "10.9.0.12/30", "10.9.0.16/28", "10.9.0.32/29", "10.9.0.40/30", "10.9.0.44/31"] + destination_intf: "any" + destination: ["0.0.0.0"] + - source_intf: "any" + source: ["10.1.1.0/24"] + destination_intf: "any" + destination: ["172.16.1.0/24"] + - source_intf: "inside" + source: ["192.168.1.150"] + destination_intf: "outside" + destination: ["172.18.254.252"] diff --git a/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.raw b/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.raw new file mode 100644 index 0000000000..623890fc6a --- /dev/null +++ b/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.raw @@ -0,0 +1,16 @@ +5 in use, 5 most used +Flags: D - DNS, i - dynamic, r - portmap, s - static, I - identity, T - twice +e - extended +NAT from any:10.90.67.2 to any:10.9.1.0/24 +flags idle 277:05:26 timeout 0:00:00 +NAT from any:10.1.1.0/24 to any:172.16.1.0/24 +flags idle 277:05:26 timeout 0:00:00 +NAT from any:10.90.67.2 to any:10.86.94.0 +flags idle 277:05:26 timeout 0:00:00 +NAT from any:10.9.0.9, 10.9.0.10/31, 10.9.0.12/30, +10.9.0.16/28, 10.9.0.32/29, 10.9.0.40/30, +10.9.0.44/31 to any:0.0.0.0 +flags idle 277:05:26 timeout 0:00:00 +NAT from any:10.1.1.0/24 to any:172.16.1.0/24 +flags idle 277:05:14 timeout 0:00:00 +NAT from inside:192.168.1.150 to outside:172.18.254.252 flags s idle 0:01:37 timeout 0:00:00 From 095afc0e169984e12286a90545bb9eb0d8bf02c6 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Thu, 11 Oct 2018 17:58:18 -0400 Subject: [PATCH 140/628] CISCO IOS SHOW REDUNDANCY: Add new template --- templates/cisco_ios_show_redundancy.template | 79 +++++++++++++++++++ templates/index | 1 + .../cisco_ios_show_redundancy.parsed | 35 ++++++++ .../cisco_ios_show_redundancy.raw | 38 +++++++++ 4 files changed, 153 insertions(+) create mode 100644 templates/cisco_ios_show_redundancy.template create mode 100644 tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.parsed create mode 100644 tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.raw diff --git a/templates/cisco_ios_show_redundancy.template b/templates/cisco_ios_show_redundancy.template new file mode 100644 index 0000000000..c3fec81037 --- /dev/null +++ b/templates/cisco_ios_show_redundancy.template @@ -0,0 +1,79 @@ +Value SYSTEM_UPTIME_DAYS (\d+) +Value SYSTEM_UPTIME_HOURS (\d+) +Value SYSTEM_UPTIME_MINUTES (\d+) +Value SWITCHOVERS (\d+) +Value STANDBY_FAILURES (\d+) +Value LAST_SWITCHOVER_REASON (.+?) +Value HARDWARE_MODE (.+?) +Value CONFIGURED_REDUNDANCY_MODE (.+?) +Value OPERATING_REDUNDANCY_MODE (.+?) +Value MAINTENANCE_MODE (.+?) +Value COMMUNICATION_STATUS (.+?) +Value ACTIVE_SLOT (\d+) +Value ACTIVE_SOFTWARE_STATE (.+?) +Value ACTIVE_UPTIME_DAYS (\d+) +Value ACTIVE_UPTIME_HOURS (\d+) +Value ACTIVE_UPTIME_MINUTES (\d+) +Value ACTIVE_MAJOR_RELEASE (\d+) +Value ACTIVE_MINOR_RELEASE (\d+) +Value ACTIVE_MAINTENANCE_RELEASE (\S+) +Value ACTIVE_BOOT_DIRECTORY (\S+) +Value ACTIVE_BOOT_FILE (\S+) +Value ACTIVE_CONFIG_REGISTER (\S+) +Value STANDBY_SLOT (\d+) +Value STANDBY_SOFTWARE_STATE (.+?) +Value STANDBY_UPTIME_DAYS (\d+) +Value STANDBY_UPTIME_HOURS (\d+) +Value STANDBY_UPTIME_MINUTES (\d+) +Value STANDBY_MAJOR_RELEASE (\d+) +Value STANDBY_MINOR_RELEASE (\d+) +Value STANDBY_MAINTENANCE_RELEASE (\S+) +Value STANDBY_BOOT_DIRECTORY (\S+) +Value STANDBY_BOOT_FILE (\S+) +Value STANDBY_CONFIG_REGISTER (\S+) + + +Start + ^Redundant\s+System\s+Information + ^\s*-+\s*$$ + ^\s+Available\s+system\s+uptime\s*=\s*${SYSTEM_UPTIME_DAYS}\s+days,\s+${SYSTEM_UPTIME_HOURS}\s+hours,\s+${SYSTEM_UPTIME_MINUTES}\s+minutes\s*$$ + ^\s+Switchovers\s+system\s+experienced\s*=\s*${SWITCHOVERS}\s*$$ + ^\s+Standby\s+failures\s*=\s*${STANDBY_FAILURES}\s*$$ + ^\s+Last\s+switchover\s+reason\s*=\s*${LAST_SWITCHOVER_REASON}\s*$$ + ^\s+Hardware\s+Mode\s*=\s*${HARDWARE_MODE}\s*$$ + ^\s+Configured\s+Redundancy\s+Mode\s*=\s*${CONFIGURED_REDUNDANCY_MODE}\s*$$ + ^\s+Operating\s+Redundancy\s+Mode\s*=\s*${OPERATING_REDUNDANCY_MODE}\s*$$ + ^\s+Maintenance\s+Mode\s*=\s*${MAINTENANCE_MODE}\s*$$ + ^\s+Communications\s*=\s*${COMMUNICATION_STATUS}\s*$$ + ^\s+Current\s+Processor -> Current + ^\s*$$ + ^. -> Error + +Current + ^\s*-+\s*$$ + ^\s+Active\s+Location\s*=\s*slot\s+${ACTIVE_SLOT}\s*$$ + ^\s+Current\s+Software\s+state\s*=\s*${ACTIVE_SOFTWARE_STATE}\s*$$ + ^\s+Uptime\s+in\s+current\s+state\s*=\s*${ACTIVE_UPTIME_DAYS}\s+days,\s+${ACTIVE_UPTIME_HOURS}\s+hours,\s+${ACTIVE_UPTIME_MINUTES}\s+minutes\s*$$ + ^\s+Image\s+Version + ^.+Version\s+${ACTIVE_MAJOR_RELEASE}\.${ACTIVE_MINOR_RELEASE}\(${ACTIVE_MAINTENANCE_RELEASE}\) + ^.+[Cc][Ii][Ss][Cc][Oo] + ^.+(?:Copyright|Compiled) + ^\s+BOOT\s*=\s*${ACTIVE_BOOT_DIRECTORY}:${ACTIVE_BOOT_FILE}\s*$$ + ^\s+Configuration\s+register\s*=\s*${ACTIVE_CONFIG_REGISTER}\s*$$ + ^\s+Peer\s+Processor -> Peer + ^\s*$$ + ^. -> Error + +Peer + ^\s*-+\s*$$ + ^\s+Standby\s+Location\s*=\s*slot\s+${STANDBY_SLOT}\s*$$ + ^\s+Current\s+Software\s+state\s*=\s*${STANDBY_SOFTWARE_STATE}\s*$$ + ^\s+Uptime\s+in\s+current\s+state\s*=\s*${STANDBY_UPTIME_DAYS}\s+days,\s+${STANDBY_UPTIME_HOURS}\s+hours,\s+${STANDBY_UPTIME_MINUTES}\s+minutes\s*$$ + ^\s+Image\s+Version + ^.+Version\s+${STANDBY_MAJOR_RELEASE}\.${STANDBY_MINOR_RELEASE}\(${STANDBY_MAINTENANCE_RELEASE}\) + ^.+[Cc][Ii][Ss][Cc][Oo] + ^.+(?:Copyright|Compiled) + ^\s+BOOT\s*=\s*${STANDBY_BOOT_DIRECTORY}:${STANDBY_BOOT_FILE}\s*$$ + ^\s+Configuration\s+register\s*=\s*${STANDBY_CONFIG_REGISTER}\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 690d5573be..e0995c0f41 100644 --- a/templates/index +++ b/templates/index @@ -142,6 +142,7 @@ cisco_ios_show_power_status.template, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atu cisco_ios_show_access-list.template, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.template, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_interfaces.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] +cisco_ios_show_redundancy.template, .*, cisco_ios, sh[[ow]] redu[[ndancy]] cisco_ios_show_vtp_status.template, .*, cisco_ios, sh[[ow]] vtp stat[[us]] cisco_ios_show_inventory.template, .*, cisco_ios, sh[[ow]] inven[[tory]] cisco_ios_show_ip_mroute.template, .*, cisco_ios, sh[[ow]] ip mr[[oute]] diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.parsed b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.parsed new file mode 100644 index 0000000000..464f2904b0 --- /dev/null +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.parsed @@ -0,0 +1,35 @@ +--- +parsed_sample: + - system_uptime_days: "2" + system_uptime_hours: "2" + system_uptime_minutes: "39" + switchovers: "0" + standby_failures: "0" + last_switchover_reason: "none" + hardware_mode: "Duplex" + configured_redundancy_mode: "Stateful Switchover" + operating_redundancy_mode: "Stateful Switchover" + maintenance_mode: "Disabled" + communication_status: "Up" + active_slot: "1" + active_software_state: "ACTIVE" + active_uptime_days: "2" + active_uptime_hours: "2" + active_uptime_minutes: "39" + active_major_release: "12" + active_minor_release: "2" + active_maintenance_release: "20" + active_boot_directory: "bootflash" + active_boot_file: "cat4000-i5s-mz.122_20_EWA_392,1" + active_config_register: "0x2002" + standby_slot: "2" + standby_software_state: "STANDBY HOT" + standby_uptime_days: "2" + standby_uptime_hours: "2" + standby_uptime_minutes: "39" + standby_major_release: "12" + standby_minor_release: "2" + standby_maintenance_release: "20" + standby_boot_directory: "bootflash" + standby_boot_file: "cat4000-i5s-mz.122_20_EWA_392,1" + standby_config_register: "0x2002" diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.raw b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.raw new file mode 100644 index 0000000000..e251532077 --- /dev/null +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.raw @@ -0,0 +1,38 @@ +Redundant System Information : + ------------------------------ + Available system uptime = 2 days, 2 hours, 39 minutes + Switchovers system experienced = 0 + Standby failures = 0 + Last switchover reason = none + + Hardware Mode = Duplex + Configured Redundancy Mode = Stateful Switchover + Operating Redundancy Mode = Stateful Switchover + Maintenance Mode = Disabled + Communications = Up + + Current Processor Information : + ------------------------------- + Active Location = slot 1 + Current Software state = ACTIVE + Uptime in current state = 2 days, 2 hours, 39 minutes + Image Version = Cisco Internetwork Operating System Software + IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I5S-M), Version 12.2(20)EWA(3 + .92), CISCO INTERNAL USE ONLY ENHANCED PRODUCTION VERSION + Copyright (c) 1986-2004 by cisco Systems, Inc. + Compiled Wed 14-Jul-04 04:42 by esi + BOOT = bootflash:cat4000-i5s-mz.122_20_EWA_392,1 + Configuration register = 0x2002 + + Peer Processor Information : + ---------------------------- + Standby Location = slot 2 + Current Software state = STANDBY HOT + Uptime in current state = 2 days, 2 hours, 39 minutes + Image Version = Cisco Internetwork Operating System Software + IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I5S-M), Version 12.2(20)EWA(3 + .92), CISCO INTERNAL USE ONLY ENHANCED PRODUCTION VERSION + Copyright (c) 1986-2004 by cisco Systems, Inc. + Compiled Wed 14-Jul-04 0 + BOOT = bootflash:cat4000-i5s-mz.122_20_EWA_392,1 + Configuration register = 0x2002 From ce77e1e3b3a5bb4fe1500b6f21506311015f35fe Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 14 Oct 2018 09:55:41 -0500 Subject: [PATCH 141/628] CISCO_NXOS_SHOW_IP_COMMUNITY-LIST: Add new template to support community-lists (#220) --- ...cisco_nxos_show_ip_community-list.template | 19 ++++++++ templates/index | 1 + .../cisco_nxos_show_ip_community-list.parsed | 44 +++++++++++++++++++ .../cisco_nxos_show_ip_community-list.raw | 8 ++++ 4 files changed, 72 insertions(+) create mode 100644 templates/cisco_nxos_show_ip_community-list.template create mode 100644 tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.parsed create mode 100644 tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.raw diff --git a/templates/cisco_nxos_show_ip_community-list.template b/templates/cisco_nxos_show_ip_community-list.template new file mode 100644 index 0000000000..7535e7ce52 --- /dev/null +++ b/templates/cisco_nxos_show_ip_community-list.template @@ -0,0 +1,19 @@ +Value Required,Filldown TYPE (Standard|Expanded) +Value Required,Filldown NAME (\S+) +Value Required SEQ (\d+) +Value Required ACTION (permit|deny) +Value List AS (\d+) +Value List TAG (\d+) +Value COMMUNITY (\D+) + +Start + ^${TYPE}\s+Community\s+List\s+${NAME}\s*$$ + ^\s+${SEQ}\s+${ACTION}\s+\"*${AS}:${TAG}\"* -> Continue + ^\s+\d+\s+(?:permit|deny)\s+\"*\d+:\d+\"*\s+\"*${AS}:${TAG}\"* -> Continue + ^\s+\d+\s+(?:permit|deny)\s+(?:\"*\d+:\d+\"*\s+){2}\"*${AS}:${TAG}\"* -> Continue + ^\s+\d+\s+(?:permit|deny)\s+(?:\"*\d+:\d+\"*\s+){3}\"*${AS}:${TAG}\"* -> Continue + ^\s+.+\"*\d+:\d+\"*\s+${COMMUNITY}\s*$$ -> Continue + ^\s+${SEQ}\s+${ACTION}\s+${COMMUNITY}\s*$$ -> Continue + ^\s+ -> Record + ^$$ + ^.*$$ -> Error diff --git a/templates/index b/templates/index index d9dda5ee2d..fd1e7a5b06 100644 --- a/templates/index +++ b/templates/index @@ -171,6 +171,7 @@ cisco_nxos_show_ipv6_interface_brief.template, .*, cisco_nxos, sh[[ow]] ipv[[6]] cisco_nxos_show_port-channel_summary.template, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.template, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] cisco_nxos_show_cts_interface_all.template, .*, cisco_nxos, sh[[ow]] ct[[s]] inter[[face]] al[[l]] +cisco_nxos_show_ip_community-list.template, .*, cisco_nxos, sh[[ow]] ip comm[[unity-list]] cisco_nxos_show_mac_address-table.template, .*, cisco_nxos, sh[[ow]] m[[ac]] addr[[ess-table]] cisco_nxos_show_interface_status.template, .*, cisco_nxos, sh[[ow]] int[[erface]] st[[atus]] cisco_nxos_show_ip_bgp_neighbors.template, .*, cisco_nxos, sh[[ow]] ip bgp nei[[ghbors]] diff --git a/tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.parsed b/tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.parsed new file mode 100644 index 0000000000..ea081cfb27 --- /dev/null +++ b/tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.parsed @@ -0,0 +1,44 @@ +--- +parsed_sample: + - type: "Expanded" + name: "ROUTES_CL1" + seq: '1' + action: "permit" + as: ["11111"] + tag: ["10000"] + community: "" + - type: "Standard" + name: "ROUTES_CL2" + seq: '1' + action: "permit" + as: ["11111"] + tag: ["10000"] + community: "" + - type: "Standard" + name: "ROUTES_CL2" + seq: '2' + action: "permit" + as: ["22222"] + tag: ["10000"] + community: "" + - type: "Standard" + name: "ROUTES_CL2" + seq: '3' + action: "permit" + as: ["33333"] + tag: ["10000"] + community: "" + - type: "Standard" + name: "ROUTES_CL2" + seq: '4' + action: "permit" + as: ["44444", "55555"] + tag: ["10000", "10005"] + community: "no-export" + - type: "Standard" + name: "ROUTES_CL2" + seq: '5' + action: "deny" + as: [] + tag: [] + community: "internet" diff --git a/tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.raw b/tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.raw new file mode 100644 index 0000000000..5ceec09d0c --- /dev/null +++ b/tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.raw @@ -0,0 +1,8 @@ +Expanded Community List ROUTES_CL1 + 1 permit "11111:10000" +Standard Community List ROUTES_CL2 + 1 permit 11111:10000 + 2 permit 22222:10000 + 3 permit 33333:10000 + 4 permit 44444:10000 55555:10005 no-export + 5 deny internet From 211171a5d980b24a148d3a10801862bdfac33fa5 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 14 Oct 2018 10:02:07 -0500 Subject: [PATCH 142/628] =?UTF-8?q?NXOS=5FSHOW=5FINTERFACE=5FSTATUS:=20Upd?= =?UTF-8?q?ate=20template=20to=20better=20handle=20name=20wit=E2=80=A6=20F?= =?UTF-8?q?ixes=20#196=20(#204)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * NXOS_SHOW_INTERFACE_STATUS: Update template to better handle name with variable spacing * Update '\w' to use '\S' * Add possible solution that avoids depending on 'auto|half|full' --- .../cisco_nxos_show_interface_status.template | 25 +++++++++++++------ 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/templates/cisco_nxos_show_interface_status.template b/templates/cisco_nxos_show_interface_status.template index 249ad441c3..40a403b5ea 100644 --- a/templates/cisco_nxos_show_interface_status.template +++ b/templates/cisco_nxos_show_interface_status.template @@ -1,10 +1,19 @@ -Value PORT (.*?) -Value NAME (\S+(?:\s\w+\s\w+)?) -Value STATUS (\w+?) -Value VLAN (\w+|\d+?) -Value DUPLEX (full|auto|half) -Value SPEED (.*?) -Value TYPE (.*?) +Value PORT (\S+) +Value NAME (.*?) +Value STATUS (\S+) +Value VLAN (\d+|routed|trunk) +Value DUPLEX (\S+) +Value SPEED (\d+|auto) +Value TYPE (.+?) Start - ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}$$ -> Record + ^[Pp]ort\s+[Nn]ame\s+[Ss]tatus\s+[Vv]lan\s+[Dd]uplex\s+[Ss]peed\s+[Tt]ype\s*$$ -> INTFS + ^-+\s*$$ + ^$$ + ^.*$$ -> Error + +INTFS + ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record + ^-+\s*$$ + ^$$ + ^.*$$ -> Error From 69b3dcfee6f9132d8f849a6bb9019bbbf8635998 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 14 Oct 2018 13:40:26 -0500 Subject: [PATCH 143/628] added template for cisco xr : "admin show environment fan" ,"admin show vm" and "show version" (#264) * added template for cisco xr : admin show environment fan * Added template for cisco xr: admin show vm command * added template for cisco xr: show version command * Update templates to use more generic '\S+' --- ...sco_xr_admin_show_environment_fan.template | 39 +++++ templates/cisco_xr_admin_show_vm.template | 21 +++ templates/cisco_xr_show_version.template | 28 +++ templates/index | 3 + ...cisco_xr_admin_show_environment_fan.parsed | 41 +++++ .../cisco_xr_admin_show_environment_fan.raw | 33 ++++ .../cisco_xr_admin_show_vm.parsed | 163 ++++++++++++++++++ .../admin_show_vm/cisco_xr_admin_show_vm.raw | 77 +++++++++ .../show_version/cisco_xr_show_version.parsed | 11 ++ .../show_version/cisco_xr_show_version.raw | 16 ++ 10 files changed, 432 insertions(+) create mode 100644 templates/cisco_xr_admin_show_environment_fan.template create mode 100644 templates/cisco_xr_admin_show_vm.template create mode 100644 templates/cisco_xr_show_version.template create mode 100644 tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.parsed create mode 100644 tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.raw create mode 100644 tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.parsed create mode 100644 tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.raw create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version.parsed create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version.raw diff --git a/templates/cisco_xr_admin_show_environment_fan.template b/templates/cisco_xr_admin_show_environment_fan.template new file mode 100644 index 0000000000..36c5b6640e --- /dev/null +++ b/templates/cisco_xr_admin_show_environment_fan.template @@ -0,0 +1,39 @@ +Value MODULE (\S+) +Value TYPE (\S+) +Value List FAN_SPEED (\d+) + +Start + ^.+UTC + ^=+ + ^\s+Fan\s+speed\s+\(rpm\)\s*$$ + ^Location\s+FRU\s+Type.+FAN_\d + ^\s+FAN_.+$$ + ^-+ -> FM + ^\s*$$ + ^.* -> Error "LINE NOT FOUND" + +FM + ^${MODULE}\s+${TYPE}\s+${FAN_SPEED}\s*$$ -> Record + ^${MODULE}\s+${TYPE}\s+${FAN_SPEED} -> Continue + ^${MODULE}\s+${TYPE}\s+\d+\s+${FAN_SPEED}\s*$$ -> Record + ^${MODULE}\s+${TYPE}\s+\d+\s+${FAN_SPEED} -> Continue + ^${MODULE}\s+${TYPE}\s+(?:\d+\s+){2}${FAN_SPEED}\s*$$ -> Record + ^${MODULE}\s+${TYPE}\s+(?:\d+\s+){2}${FAN_SPEED} -> Continue + ^${MODULE}\s+${TYPE}\s+(?:\d+\s+){3}${FAN_SPEED}\s*$$ -> Record + ^${MODULE}\s+${TYPE}\s+(?:\d+\s+){3}${FAN_SPEED} -> Continue + ^${MODULE}\s+${TYPE}\s+(?:\d+\s+){4}${FAN_SPEED}\s*$$ -> Record + ^${MODULE}\s+${TYPE}\s+(?:\d+\s+){4}${FAN_SPEED} -> Continue + ^${MODULE}\s+${TYPE}\s+(?:\d+\s+){5}${FAN_SPEED} + ^\s+${FAN_SPEED}\s*$$ -> Record + ^\s+${FAN_SPEED} -> Continue + ^\s+\d+\s+${FAN_SPEED}\s*$$ -> Record + ^\s+\d+\s+${FAN_SPEED} -> Continue + ^(?:\s+\d+\s+){2}${FAN_SPEED}\s*$$ -> Record + ^(?:\s+\d+\s+){2}${FAN_SPEED} -> Continue + ^(?:\s+\d+\s+){3}${FAN_SPEED}\s*$$ -> Record + ^(?:\s+\d+\s+){3}${FAN_SPEED} -> Continue + ^(?:\s+\d+\s+){4}${FAN_SPEED}\s*$$ -> Record + ^(?:\s+\d+\s+){4}${FAN_SPEED} -> Continue + ^(?:\s+\d+\s+){5}${FAN_SPEED} -> Record + ^\s*$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/cisco_xr_admin_show_vm.template b/templates/cisco_xr_admin_show_vm.template new file mode 100644 index 0000000000..f7c3dfdb33 --- /dev/null +++ b/templates/cisco_xr_admin_show_vm.template @@ -0,0 +1,21 @@ +Value Filldown LOCATION (\S+) +Value ID (\S+) +Value Required STATUS (\S+) +Value Required IP_ADDR (\S+) +Value HB_SENT (\S+) +Value HB_RECV (\S+) + +Start + ^.+UTC + ^Location:\s${LOCATION} + ^Id\s+Status\s+IP\sAddress\s+HB\sSent/Recv + ^-+ -> Loc + ^\s+$$ + ^$$ + ^.* -> Error "LINE NOT FOUND" + +Loc + ^${ID}\s+${STATUS}\s+${IP_ADDR}\s+${HB_SENT}\/${HB_RECV} -> Record + ^\s+$$ + ^$$ -> Start + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/cisco_xr_show_version.template b/templates/cisco_xr_show_version.template new file mode 100644 index 0000000000..def3ddd9af --- /dev/null +++ b/templates/cisco_xr_show_version.template @@ -0,0 +1,28 @@ +Value VERSION (\S+) +Value UPTIME (.+) +Value LOCATION (\S+) +Value HARDWARE (\S+) +Value BUILD_HOST (\S+) + +Start + ^.+UTC + ^Cisco.+Software.+Version.+ + ^Copyright\s\(c\).+ + ^Build\s+Information: -> Build_Info + ^[Cc]isco\s${HARDWARE}\s.+ + ^System\suptime\sis\s${UPTIME} -> Record + ^\s+$$ + ^$$ + ^.* -> Error "Line not found" + +Build_Info + ^\s+Built\sBy.+ + ^\s+Built\sOn.+ + ^\s+Build\sHost\s+:\s+${BUILD_HOST} + ^\s+Workspace\s+:\s\S+ + ^\s+Version\s+:\s${VERSION} + ^\s+Location\s+:\s${LOCATION} + ^$$ -> Start + ^\s+$$ + ^$$ + ^.* -> Error "Line not found" diff --git a/templates/index b/templates/index index fd1e7a5b06..5633feab7a 100644 --- a/templates/index +++ b/templates/index @@ -210,6 +210,7 @@ cisco_xr_show_controller_fabric_plane_all.template, .*, cisco_xr, sh[[ow]] contr cisco_xr_show_configuration_commit_list.template, .*, cisco_xr, sh[[ow]] conf[[iguration]] c[[ommit]] l[[ist]] cisco_xr_show_dhcp_ipv4_proxy_binding.template, .*, cisco_xr, sh[[ow]] dh[[cp]] ipv4 p[[roxy]] b[[inding]] cisco_xr_show_mpls_ldp_neighbor_brief.template, .*, cisco_xr, sh[[ow]] mp[[ls]] ld[[p]] neigh[[bor]] br[[ief]] +cisco_xr_admin_show_environment_fan.template, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] f[[an]] cisco_xr_show_cdp_neighbors_detail.template, .*, cisco_xr, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_xr_show_redundancy_summary.template, .*, cisco_xr, sh[[ow]] redun[[dancy]] summ[[ary]] cisco_xr_show_interface_brief.template, .*, cisco_xr, sh[[ow]] int[[erface]] br[[ief]] @@ -224,7 +225,9 @@ cisco_xr_show_bfd_sessions.template, .*, cisco_xr, sh[[ow]] bf[[d]] sess[[ions]] cisco_xr_show_pim_neighbor.template, .*, cisco_xr, sh[[ow]] pi[[m]] neigh[[bor]] cisco_xr_show_controllers.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] (\S+) phy cisco_xr_show_interfaces.template, .*, cisco_xr, sh[[ow]] inte[[rfaces]] +cisco_xr_admin_show_vm.template, .*, cisco_xr, adm[[in]] sh[[ow]] vm cisco_xr_show_ip_route.template, .*, cisco_xr, sh[[ow]] ip ro[[ute]] +cisco_xr_show_version.template, .*, cisco_xr, sh[[ow]] ver[[sion]] dell_force10_show_vlan_brief.template, .*, dell_force10, sh[[ow]] vl[[an]] br[[ief]] dell_force10_show_version.template, .*, dell_force10, sh[[ow]] ver[[sion]] diff --git a/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.parsed b/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.parsed new file mode 100644 index 0000000000..bebd7d9daa --- /dev/null +++ b/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.parsed @@ -0,0 +1,41 @@ +--- +parsed_sample: + - module : '0/FT0' + type : 'NC55-5516-FAN' + fan_speed : ['6192', '3870', '6214', '3859', '6257', '3857', '6420', '4029', '6390', '3938', '6467', '4066'] + - module : '0/FT1' + type : 'NC55-5516-FAN' + fan_speed : ['6360', '3970', '6143', '3824', '6033', '3750', '6279', '3859', '6060', '3721', '6375', '3964'] + - module : '0/FT2' + type : 'NC55-5516-FAN' + fan_speed : ['6545', '4014', '6474', '3994', '6000', '3752', '6375', '4002', '5921', '3698', '6308', '3915'] + - module : '0/PM0' + type : 'NC55-PWR-3KW-AC' + fan_speed : ['8021', '8537'] + - module : '0/PM1' + type : 'NC55-PWR-3KW-AC' + fan_speed : ['8064', '8387'] + - module : '0/PM2' + type : 'NC55-PWR-3KW-AC' + fan_speed : ['8064', '8473'] + - module : '0/PM3' + type : 'NC55-PWR-3KW-AC' + fan_speed : ['7978', '8537'] + - module : '0/PM4' + type : 'NC55-PWR-3KW-AC' + fan_speed : ['8064', '8473'] + - module : '0/PM5' + type : 'NC55-PWR-3KW-AC' + fan_speed : ['8086', '8451'] + - module : '0/PM6' + type : 'NC55-PWR-3KW-AC' + fan_speed : ['8086', '8537'] + - module : '0/PM7' + type : 'NC55-PWR-3KW-AC' + fan_speed : ['7978', '8473'] + - module : '0/PM8' + type : 'NC55-PWR-3KW-AC' + fan_speed : ['8000', '8516'] + - module : '0/PM9' + type : 'NC55-PWR-3KW-AC' + fan_speed : ['8021', '8516'] diff --git a/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.raw b/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.raw new file mode 100644 index 0000000000..0939cf2933 --- /dev/null +++ b/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.raw @@ -0,0 +1,33 @@ +Sat Mar 10 14:03:31.155 UTC +=============================================================================== + Fan speed (rpm) +Location FRU Type FAN_0 FAN_1 FAN_2 FAN_3 FAN_4 FAN_5 + FAN_6 FAN_7 FAN_8 FAN_9 FAN_10 FAN_11 +------------------------------------------------------------------------------- +0/FT0 NC55-5516-FAN 6192 3870 6214 3859 6257 3857 + 6420 4029 6390 3938 6467 4066 +0/FT1 NC55-5516-FAN 6360 3970 6143 3824 6033 3750 + 6279 3859 6060 3721 6375 3964 +0/FT2 NC55-5516-FAN 6545 4014 6474 3994 6000 3752 + 6375 4002 5921 3698 6308 3915 + +0/PM0 NC55-PWR-3KW-AC 8021 8537 + +0/PM1 NC55-PWR-3KW-AC 8064 8387 + +0/PM2 NC55-PWR-3KW-AC 8064 8473 + +0/PM3 NC55-PWR-3KW-AC 7978 8537 + +0/PM4 NC55-PWR-3KW-AC 8064 8473 + +0/PM5 NC55-PWR-3KW-AC 8086 8451 + +0/PM6 NC55-PWR-3KW-AC 8086 8537 + +0/PM7 NC55-PWR-3KW-AC 7978 8473 + +0/PM8 NC55-PWR-3KW-AC 8000 8516 + +0/PM9 NC55-PWR-3KW-AC 8021 8516 + \ No newline at end of file diff --git a/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.parsed b/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.parsed new file mode 100644 index 0000000000..3d473f16a5 --- /dev/null +++ b/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.parsed @@ -0,0 +1,163 @@ +--- + +parsed_sample: + + +- id : 'sysadmin' + location : '0/0' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.4.1' + status : 'running' + + +- id : 'default-sdr' + location : '0/0' + hb_sent : '293478' + hb_recv : '293478' + ip_addr : '192.0.4.3' + status : 'running' + + +- id : 'sysadmin' + location : '0/1' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.8.1' + status : 'running' + + +- id : 'default-sdr' + location : '0/1' + hb_sent : '293478' + hb_recv : '293478' + ip_addr : '192.0.8.3' + status : 'running' + + +- id : 'sysadmin' + location : '0/2' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.12.1' + status : 'running' + + +- id : 'default-sdr' + location : '0/2' + hb_sent : '293478' + hb_recv : '293478' + ip_addr : '192.0.12.3' + status : 'running' + + +- id : 'sysadmin' + location : '0/3' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.16.1' + status : 'running' + + +- id : 'default-sdr' + location : '0/3' + hb_sent : '293478' + hb_recv : '293478' + ip_addr : '192.0.16.3' + status : 'running' + + +- id : 'sysadmin' + location : '0/4' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.20.1' + status : 'running' + + +- id : 'default-sdr' + location : '0/4' + hb_sent : '293478' + hb_recv : '293478' + ip_addr : '192.0.20.3' + status : 'running' + + +- id : 'sysadmin' + location : '0/FC0' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.84.1' + status : 'running' + + +- id : 'sysadmin' + location : '0/FC1' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.88.1' + status : 'running' + + +- id : 'sysadmin' + location : '0/FC2' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.92.1' + status : 'running' + + +- id : 'sysadmin' + location : '0/FC3' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.96.1' + status : 'running' + + +- id : 'sysadmin' + location : '0/FC4' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.100.1' + status : 'running' + + +- id : 'sysadmin' + location : '0/FC5' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.104.1' + status : 'running' + + +- id : 'sysadmin' + location : '0/RP0' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.108.1' + status : 'running' + + +- id : 'default-sdr' + location : '0/RP0' + hb_sent : '5869560' + hb_recv : '5869560' + ip_addr : '192.0.108.4' + status : 'running' + + +- id : 'sysadmin' + location : '0/SC0' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.116.1' + status : 'running' + + +- id : 'sysadmin' + location : '0/SC1' + hb_sent : 'NA' + hb_recv : 'NA' + ip_addr : '192.0.120.1' + status : 'running' \ No newline at end of file diff --git a/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.raw b/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.raw new file mode 100644 index 0000000000..2cc20aa6f5 --- /dev/null +++ b/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.raw @@ -0,0 +1,77 @@ +Wed Mar 14 10:04:35.018 UTC + +Location: 0/0 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.4.1 NA/NA +default-sdr running 192.0.4.3 293478/293478 + +Location: 0/1 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.8.1 NA/NA +default-sdr running 192.0.8.3 293478/293478 + +Location: 0/2 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.12.1 NA/NA +default-sdr running 192.0.12.3 293478/293478 + +Location: 0/3 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.16.1 NA/NA +default-sdr running 192.0.16.3 293478/293478 + +Location: 0/4 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.20.1 NA/NA +default-sdr running 192.0.20.3 293478/293478 + +Location: 0/FC0 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.84.1 NA/NA + +Location: 0/FC1 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.88.1 NA/NA + +Location: 0/FC2 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.92.1 NA/NA + +Location: 0/FC3 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.96.1 NA/NA + +Location: 0/FC4 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.100.1 NA/NA + +Location: 0/FC5 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.104.1 NA/NA + +Location: 0/RP0 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.108.1 NA/NA +default-sdr running 192.0.108.4 5869560/5869560 + +Location: 0/SC0 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.116.1 NA/NA + +Location: 0/SC1 +Id Status IP Address HB Sent/Recv +------------------------------------------------------------- +sysadmin running 192.0.120.1 NA/NA \ No newline at end of file diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version.parsed b/tests/cisco_xr/show_version/cisco_xr_show_version.parsed new file mode 100644 index 0000000000..e721fb31e1 --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version.parsed @@ -0,0 +1,11 @@ +--- + +parsed_sample: + + +- hardware : 'NCS-5500' + uptime : '4 weeks, 6 days, 1 hour, 42 minutes' + version : '6.1.4' + location : '/opt/cisco/XR/packages/' + build_host : 'iox-lnx-032' + diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version.raw b/tests/cisco_xr/show_version/cisco_xr_show_version.raw new file mode 100644 index 0000000000..6ae21b2def --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version.raw @@ -0,0 +1,16 @@ +Wed Mar 14 12:31:28.607 UTC + +Cisco IOS XR Software, Version 6.1.4 +Copyright (c) 2013-2016 by Cisco Systems, Inc. + +Build Information: + Built By : ahoang + Built On : Thu Jun 29 15:31:09 PDT 2017 + Build Host : iox-lnx-032 + Workspace : /auto/srcarchive13/production/6.1.4/ncs5500/workspace + Version : 6.1.4 + Location : /opt/cisco/XR/packages/ + +cisco NCS-5500 () processor +System uptime is 4 weeks, 6 days, 1 hour, 42 minutes + From 1f55fc72a68664f22f6ffe1de813c831a0a808a5 Mon Sep 17 00:00:00 2001 From: mekisiel <20518298+mekisiel@users.noreply.github.com> Date: Fri, 6 Apr 2018 10:38:47 -0400 Subject: [PATCH 144/628] Fix for issue 185 https://github.com/networktocode/ntc-templates/issues/185 Signed-off-by: mekisiel <20518298+mekisiel@users.noreply.github.com> --- templates/cisco_xr_show_ip_route.template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/cisco_xr_show_ip_route.template b/templates/cisco_xr_show_ip_route.template index 87a8955ca6..1dc946a624 100644 --- a/templates/cisco_xr_show_ip_route.template +++ b/templates/cisco_xr_show_ip_route.template @@ -1,4 +1,4 @@ -Value Filldown PROTOCOL (\S+) +Value Filldown PROTOCOL (\S+|\S+\s\S+) Value Filldown NETWORK (\d+\.\d+\.\d+\.\d+) Value Filldown MASK (\d+) Value DISTANCE (\d+|is) @@ -6,6 +6,7 @@ Value METRIC (\d+) Value TYPE (directly|via) Value Required NEXT_HOP (connected|\d+\.\d+\.\d+\.\d+) Value INTERFACE (\S+) +Value UPTIME (\S+) Start ^Codes: C - connected, -> Route @@ -20,11 +21,10 @@ Route ^ A - access/sub ^ M - mobile rou ^Gateway of last resort - ^${PROTOCOL}\s+${NETWORK}\/${MASK}\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+(\d+:\d+:\d+),\s+${INTERFACE} -> Record - ^\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+(\d+:\d+:\d+),\s+${INTERFACE} -> Record - ^${PROTOCOL}\s+${NETWORK}\/${MASK}\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+(\d+:\d+:\d+) -> Record - ^\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+(\d+:\d+:\d+) -> Record + ^${PROTOCOL}\s+${NETWORK}\/${MASK}\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record + ^\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record + ^${PROTOCOL}\s+${NETWORK}\/${MASK}\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record + ^\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record ^\s+$$ ^$$ ^.* -> Error "LINE NOT FOUND" - From 24c4ffa7886663d38994d342c3d60b46d8c95f3b Mon Sep 17 00:00:00 2001 From: mekisiel <20518298+mekisiel@users.noreply.github.com> Date: Tue, 22 May 2018 19:10:44 -0400 Subject: [PATCH 145/628] Added cisco_xr_show_ip_route.parsed and cisco_xr_show_ip_route.raw files to ./tests/cisco_xr/show_ip_route/ --- .../cisco_xr_show_ip_route2.parsed | 66 +++++++++++++++++++ .../show_ip_route/cisco_xr_show_ip_route2.raw | 21 ++++++ 2 files changed, 87 insertions(+) create mode 100644 tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed create mode 100644 tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.raw diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed new file mode 100644 index 0000000000..4bbc679c4c --- /dev/null +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed @@ -0,0 +1,66 @@ +--- +parsed_sample: + +- distance: '1' + interface: '' + mask: '0' + metric: '0' + network: '0.0.0.0' + next_hop: '10.72.0.1' + protocol: 'S*' + type: 'via' + uptime: '4d01h' +- distance: '20' + interface: '' + mask: '16' + metric: '0' + network: '10.39.0.0' + next_hop: '192.168.50.1' + protocol: 'B' + type: 'via' + uptime: '1w4d' +- distance: '170' + interface: 'TenGigE0/0/0/1.5' + mask: '16' + metric: '153600' + network: '10.14.0.0' + next_hop: '192.168.150.130' + protocol: 'D EX' + type: 'via' + uptime: '14:56:35' +- distance: '170' + interface: 'TenGigE0/0/0/2.5' + mask: '16' + metric: '153600' + network: '10.14.0.0' + next_hop: '192.168.150.134' + protocol: 'D EX' + type: 'via' + uptime: '6d21h' +- distance: '170' + interface: 'TenGigE0/0/0/3.5' + mask: '16' + metric: '153600' + network: '10.14.0.0' + next_hop: '192.168.150.138' + protocol: 'D EX' + type: 'via' + uptime: '6d21h' +- distance: '170' + interface: 'TenGigE0/0/0/4.5' + mask: '16' + metric: '153600' + network: '10.14.0.0' + next_hop: '192.168.150.142' + protocol: 'D EX' + type: 'via' + uptime: '6d21h' +- distance: '20' + interface: '' + mask: '16' + metric: '0' + network: '10.15.0.0' + next_hop: '192.168.250.130' + protocol: 'B' + type: 'via' + uptime: '1y03w' diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.raw b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.raw new file mode 100644 index 0000000000..bf5a0e8da8 --- /dev/null +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.raw @@ -0,0 +1,21 @@ +Tue May 22 22:32:30.765 UTC + +Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path + D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area + N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 + E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP + i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2 + ia - IS-IS inter area, su - IS-IS summary null, * - candidate default + U - per-user static route, o - ODR, L - local, G - DAGR, l - LISP + A - access/subscriber, a - Application route + M - mobile route, r - RPL, (!) - FRR Backup path + +Gateway of last resort is 10.72.0.1 to network 0.0.0.0 + +S* 0.0.0.0/0 [1/0] via 10.72.0.1, 4d01h +B 10.39.0.0/16 [20/0] via 192.168.50.1, 1w4d +D EX 10.14.0.0/16 [170/153600] via 192.168.150.130, 14:56:35, TenGigE0/0/0/1.5 + [170/153600] via 192.168.150.134, 6d21h, TenGigE0/0/0/2.5 + [170/153600] via 192.168.150.138, 6d21h, TenGigE0/0/0/3.5 + [170/153600] via 192.168.150.142, 6d21h, TenGigE0/0/0/4.5 +B 10.15.0.0/16 [20/0] via 192.168.250.130, 1y03w From d48250d53942a01a26fa445f2a91b10fba5837a1 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Tue, 22 May 2018 22:21:58 -0400 Subject: [PATCH 146/628] Use more generic match for protocol codes and not rely on particular ordering --- templates/cisco_xr_show_ip_route.template | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/templates/cisco_xr_show_ip_route.template b/templates/cisco_xr_show_ip_route.template index 1dc946a624..f760666b60 100644 --- a/templates/cisco_xr_show_ip_route.template +++ b/templates/cisco_xr_show_ip_route.template @@ -12,14 +12,7 @@ Start ^Codes: C - connected, -> Route Route - ^ D - EIGRP, EX - ^ N1 - OSPF NSSA - ^ E1 - OSPF exte - ^ i - ISIS, L1 - - ^ ia - IS-IS int - ^ U - per-user s - ^ A - access/sub - ^ M - mobile rou + ^\s+(\S+\s+-\s+.+[,]*)+ ^Gateway of last resort ^${PROTOCOL}\s+${NETWORK}\/${MASK}\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record ^\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record From e574a2895c9e275493998b27d3e7f683d682d477 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Tue, 22 May 2018 22:23:14 -0400 Subject: [PATCH 147/628] Change whitespace to use '\s+' instead of relying on correct spaces in regex --- templates/cisco_xr_show_ip_route.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cisco_xr_show_ip_route.template b/templates/cisco_xr_show_ip_route.template index f760666b60..0fc72074ad 100644 --- a/templates/cisco_xr_show_ip_route.template +++ b/templates/cisco_xr_show_ip_route.template @@ -13,7 +13,7 @@ Start Route ^\s+(\S+\s+-\s+.+[,]*)+ - ^Gateway of last resort + ^Gateway\s+of\s+last\s+resort ^${PROTOCOL}\s+${NETWORK}\/${MASK}\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record ^\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record ^${PROTOCOL}\s+${NETWORK}\/${MASK}\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record From c41e4fbe261882ee3a30d54c1e4ef32a5df2910e Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Tue, 22 May 2018 22:24:30 -0400 Subject: [PATCH 148/628] Get rid of unneccessary escape character for forward slash (/) --- templates/cisco_xr_show_ip_route.template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/cisco_xr_show_ip_route.template b/templates/cisco_xr_show_ip_route.template index 0fc72074ad..b80aefe6ac 100644 --- a/templates/cisco_xr_show_ip_route.template +++ b/templates/cisco_xr_show_ip_route.template @@ -14,10 +14,10 @@ Start Route ^\s+(\S+\s+-\s+.+[,]*)+ ^Gateway\s+of\s+last\s+resort - ^${PROTOCOL}\s+${NETWORK}\/${MASK}\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record - ^\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record - ^${PROTOCOL}\s+${NETWORK}\/${MASK}\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record - ^\s+(?:\[${DISTANCE}\/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record + ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record + ^\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record + ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record + ^\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record ^\s+$$ ^$$ ^.* -> Error "LINE NOT FOUND" From d8a8f43bfc35c6786c85b1e1f35ef59e56cb99d7 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Tue, 22 May 2018 23:04:12 -0400 Subject: [PATCH 149/628] Add uptime to original data --- .../cisco_xr_show_ip_route.parsed | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed index 3cc6fae29c..c843fceaa1 100644 --- a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed @@ -9,6 +9,7 @@ parsed_sample: next_hop: 172.16.1.1 protocol: S* type: via + uptime: '04:43:54' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -17,6 +18,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:27' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -25,6 +27,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:27' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -33,6 +36,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:21' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -41,6 +45,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:21' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -49,6 +54,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -57,6 +63,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -65,6 +72,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -73,6 +81,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -81,6 +90,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -89,6 +99,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:40' - distance: '' interface: Loopback0 mask: '32' @@ -97,6 +108,7 @@ parsed_sample: next_hop: connected protocol: L type: directly + uptime: '04:43:54' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -105,6 +117,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -113,6 +126,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -121,6 +135,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -129,6 +144,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -137,6 +153,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -145,6 +162,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:40' - distance: '' interface: GigabitEthernet0/0/0/1 mask: '30' @@ -153,6 +171,7 @@ parsed_sample: next_hop: connected protocol: C type: directly + uptime: '04:43:54' - distance: '' interface: GigabitEthernet0/0/0/1 mask: '32' @@ -161,6 +180,7 @@ parsed_sample: next_hop: connected protocol: L type: directly + uptime: '04:43:54' - distance: '' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -169,6 +189,7 @@ parsed_sample: next_hop: connected protocol: C type: directly + uptime: '04:43:54' - distance: '' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -177,6 +198,7 @@ parsed_sample: next_hop: connected protocol: L type: directly + uptime: '04:43:54' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -185,6 +207,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -193,6 +216,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -201,6 +225,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:41' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -209,6 +234,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:41' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -217,6 +243,7 @@ parsed_sample: next_hop: 10.1.1.9 protocol: O type: via + uptime: '04:43:40' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -225,6 +252,7 @@ parsed_sample: next_hop: 10.1.1.34 protocol: O type: via + uptime: '04:43:40' - distance: '' interface: GigabitEthernet0/0/0/2 mask: '30' @@ -233,6 +261,7 @@ parsed_sample: next_hop: connected protocol: C type: directly + uptime: '04:43:54' - distance: '' interface: GigabitEthernet0/0/0/2 mask: '32' @@ -241,6 +270,7 @@ parsed_sample: next_hop: connected protocol: L type: directly + uptime: '04:43:54' - distance: '' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -249,6 +279,7 @@ parsed_sample: next_hop: connected protocol: C type: directly + uptime: '04:43:54' - distance: '' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -257,6 +288,7 @@ parsed_sample: next_hop: connected protocol: L type: directly + uptime: '04:43:54' - distance: '' interface: MgmtEth0/0/CPU0/0 mask: '24' @@ -265,6 +297,7 @@ parsed_sample: next_hop: connected protocol: C type: directly + uptime: '04:43:54' - distance: '' interface: MgmtEth0/0/CPU0/0 mask: '32' @@ -273,3 +306,4 @@ parsed_sample: next_hop: connected protocol: L type: directly + uptime: '04:43:54' From b34164cf6dab24f850d8273de4f1787b3e1adc55 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 14 Oct 2018 15:44:14 -0500 Subject: [PATCH 150/628] adding cisco_xr_show_controllers_hundredgigabitethernet.template (#267) * adding cisco_xr_show_controllers_HundredGigE0*.template * Update 100Gig controllers to match all lines and pass Travis tests * Make interface name required --- ...ontrollers_HundredGigabitEthernet.template | 68 ++++++++++ templates/index | 1 + ..._controllers_HundredGigabitEthernet.parsed | 34 +++++ ...how_controllers_HundredGigabitEthernet.raw | 120 ++++++++++++++++++ 4 files changed, 223 insertions(+) create mode 100644 templates/cisco_xr_show_controllers_HundredGigabitEthernet.template create mode 100644 tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.parsed create mode 100644 tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.raw diff --git a/templates/cisco_xr_show_controllers_HundredGigabitEthernet.template b/templates/cisco_xr_show_controllers_HundredGigabitEthernet.template new file mode 100644 index 0000000000..af228c5a38 --- /dev/null +++ b/templates/cisco_xr_show_controllers_HundredGigabitEthernet.template @@ -0,0 +1,68 @@ +Value Required INTERFACE (\S+) +Value ADMIN_STATE (\S+) +Value OPS_STATE (\S+) +Value LED_STATE (\S+) +Value MEDIA_TYPE (.+) +Value TEMPERATURE_VALUE (\S+) +Value VOLTAGE_VALUE (\S+) +Value List LANE (\d+) +Value List WAVELENGTH (\d+|\S+|n/a) +Value List RX_VALUE_DBM ([-\+]?\d+\.\d+|n/a) +Value List RX_VALUE_MW ([-\+]?\d+\.\d+) +Value List TX_VALUE_DBM ([-\+]?\d+\.\d+|n/a) +Value List TX_VALUE_MW ([-\+]?\d+\.\d+) +Value List LASER_BIAS ([-\+]?\d+\.\d+) + +Start + ^$$ + ^\s+$$ + ^\w+\s+\w+\s+\d{1,2}\s+\d{2}:\d{2}:\d{2}.\d{3}\s+\w+\s*$$ + ^Operational\s+data\s+for\s+interface.*$$ -> Continue.Record + ^Operational\s+data\s+for\s+interface\s+${INTERFACE}:\s*$$ + ^State:\s*$$ + ^\s+Administrative\s+state:\s+${ADMIN_STATE}\s*$$ + ^\s+Operational\s+state:\s+${OPS_STATE}\s*$$ + ^\s+LED\s+state:\s+${LED_STATE}.*$$ + ^Phy:\s*$$ + ^\s+Media\s+type:\s+${MEDIA_TYPE}\s*$$ + ^\s+Optics:\s*$$ + ^\s+Vendor:.*$$ + ^\s+Part\s+number:.*$$ + ^\s+Serial\s+number:.*$$ + ^\s+Wavelength:.*$$ + ^\s+Digital\s+Optical\s+Monitoring:\s*$$ + ^\s+Transceiver\s+Temp:\s+${TEMPERATURE_VALUE}\s+C\s*$$ + ^\s+Transceiver\s+Voltage:\s+${VOLTAGE_VALUE}\s+V\s*$$ + ^\s+Alarms\s+key:.*$$ + ^\s+(\(\w+\).*(,|))+$$ + ^\s+Wavelength\s+Tx\s+Power\s+Rx\s+Power\s+Laser\s+Bias\s*$$ + ^\s+Lane\s+\(\w+\).+$$ + # NEED TO ACCOUNT FOR ALARM STATUS IN OPTICAL READINGS + ^\s+${LANE}\s+${WAVELENGTH}\s+${TX_VALUE_DBM}\s+${TX_VALUE_MW}\s+${RX_VALUE_DBM}\s+${RX_VALUE_MW}\s+${LASER_BIAS}\s*$$ + ^\s+DOM\s+alarms:\s*$$ + # NEED TO ADD SUPPORT FOR ALARM MESSAGES + ^\s+No\s+alarms\s*$$ + ^\s+Alarm\s+Alarm.*$$ + ^\s+Thresholds.*$$ + ^(\s+-+)+\s*$$ + ^\s+Transceiver\s+Temp.+$$ + ^\s+Transceiver\s+Voltage.+$$ + ^\s+Laser\s+Bias.+$$ + ^\s+(Transmit|Receive)\s+Power.+$$ + ^\s+Statistics:\s*$$ + ^\s+FEC:\s*$$ + ^\s+Corrected.+$$ + ^\s+Uncorrected.+$$ + ^MAC.+:\s*$$ + ^\s+Operational\s+address:\s+([a-f0-9]{4}(\.|))+\s*$$ + ^\s+Burnt-in\s+address:\s+([a-f0-9]{4}(\.|))+\s*$$ + ^Autonegotiation\s+\w+.\s*$$ + ^Operational\s+values:\s*$$ + ^\s+Speed:\s+\w+\s*$$ + ^\s+Duplex:\s+\w+.*$$ + ^\s+Flowcontrol:\s+.+?\s*$$ + ^\s+Loopback:\s+.+?\s*$$ + ^\s+MTU:\s+\d+\s*$$ + ^\s+MRU:\s+\d+\s*$$ + ^\s+Forward\s+error\s+correction:\s+\w+\s*$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index 5633feab7a..0281146f0e 100644 --- a/templates/index +++ b/templates/index @@ -204,6 +204,7 @@ cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] +cisco_xr_show_controllers_HundredGigabitEthernet.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template, .*, cisco_xr, sh[[ow]] bg[[p]] v[[rf]] all ip[[v4]] uni[[cast]] summ[[ary]] cisco_xr_admin_show_controller_fabric_health.template, .*, cisco_xr, adm[[in]] sh[[ow]] controller fab[[ric]] hea[[lth]] cisco_xr_show_controller_fabric_plane_all.template, .*, cisco_xr, sh[[ow]] controller fab[[ric]] pla[[ne]] all diff --git a/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.parsed b/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.parsed new file mode 100644 index 0000000000..2a5d30c18c --- /dev/null +++ b/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.parsed @@ -0,0 +1,34 @@ +--- + +parsed_sample: + + +- admin_state : 'enabled' + media_type : 'Active optical cable' + ops_state : 'Up' + lane : ['00','00','00','00'] + tx_value_dbm : ['0.1', '-0.1', '0.3', '-0.3'] + wavelength : ['n/a', 'n/a', 'n/a', 'n/a'] + rx_value_mw : ['0.6627', '0.7788', '0.7626', '0.6213'] + voltage_value : '3.447' + tx_value_mw : ['1.0205', '0.9775', '1.0617', '0.9281'] + temperature_value : '17.070' + led_state : 'Green' + interface : 'HundredGigE0/0/0/0' + rx_value_dbm : ['-1.8', '-1.1', '-1.2', '-2.1'] + laser_bias: ['5.450', '5.240', '5.240', '5.240'] + +- admin_state : 'enabled' + media_type : 'Active optical cable' + ops_state : 'Up' + lane : ['00', '00', '00', '00'] + tx_value_dbm : ['-40.0', '-40.0', '-40.0', '-40.0'] + wavelength : ['n/a', 'n/a', 'n/a', 'n/a'] + rx_value_mw : ['0.8658', '0.8796', '0.8742', '0.8572'] + voltage_value : '3.338' + tx_value_mw : ['0.0001', '0.0001', '0.0001', '0.0001'] + temperature_value : '18.000' + led_state : 'Green' + interface : 'HundredGigE0/0/0/1' + rx_value_dbm : ['-0.6', '-0.6', '-0.6', '-0.7'] + laser_bias: ['5.930', '5.940', '5.932', '5.940'] diff --git a/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.raw b/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.raw new file mode 100644 index 0000000000..411fd9ba83 --- /dev/null +++ b/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.raw @@ -0,0 +1,120 @@ +Thu Dec 21 06:15:50.979 UTC +Operational data for interface HundredGigE0/0/0/0: + +State: + Administrative state: enabled + Operational state: Up + LED state: Green On + +Phy: + Media type: Active optical cable + Optics: + Vendor: AOI + Part number: AQPA9N09ADLN0778 + Serial number: 04517A10025 + Wavelength: 850 nm + Digital Optical Monitoring: + Transceiver Temp: 17.070 C + Transceiver Voltage: 3.447 V + + Alarms key: (H) Alarm high, (h) Warning high + (L) Alarm low, (l) Warning low + Wavelength Tx Power Rx Power Laser Bias + 00 n/a 0.1 1.0205 -1.8 0.6627 5.450 + 00 n/a -0.1 0.9775 -1.1 0.7788 5.240 + 00 n/a 0.3 1.0617 -1.2 0.7626 5.240 + 00 n/a -0.3 0.9281 -2.1 0.6213 5.240 + DOM alarms: + No alarms + + Alarm Alarm Warning Warning Alarm + Thresholds High High Low Low + ------- ------- ------- ------- + Transceiver Temp (C): 80.000 0.000 0.000 -5.000 + Transceiver Voltage (V): 3.600 0.000 0.000 3.000 + Laser Bias (mA): n/a n/a n/a n/a + Transmit Power (mW): 2.754 0.000 0.000 0.091 + Transmit Power (dBm): 4.400 -inf -inf -10.410 + Receive Power (mW): 2.754 0.000 0.000 0.058 + Receive Power (dBm): 4.400 -inf -inf -12.366 + Statistics: + FEC: + Corrected Codeword Count: 0 + Uncorrected Codeword Count: 0 + +MAC address information: + Operational address: 008a.9658.f904 + Burnt-in address: 008a.9658.f000 + +Autonegotiation disabled. + +Operational values: + Speed: 100Gbps + Duplex: Full Duplex + Flowcontrol: None + Loopback: None (or external) + MTU: 9114 + MRU: 9114 + Forward error correction: Disabled + + +Operational data for interface HundredGigE0/0/0/1: + +State: + Administrative state: enabled + Operational state: Up + LED state: Green On + +Phy: + Media type: Active optical cable + Optics: + Vendor: Ligent Photonics + Part number: DQF8503-4C13 + Serial number: S516CBD0371 + Wavelength: 850 nm + Digital Optical Monitoring: + Transceiver Temp: 18.000 C + Transceiver Voltage: 3.338 V + + Alarms key: (H) Alarm high, (h) Warning high + (L) Alarm low, (l) Warning low + Wavelength Tx Power Rx Power Laser Bias + Lane (nm) (dBm) (mW) (dBm) (mW) (mA) + -- ----- ------ ------ ------ ------ ------ + 00 n/a -40.0 0.0001 -0.6 0.8658 5.930 + 00 n/a -40.0 0.0001 -0.6 0.8796 5.940 + 00 n/a -40.0 0.0001 -0.6 0.8742 5.932 + 00 n/a -40.0 0.0001 -0.7 0.8572 5.940 + + DOM alarms: + No alarms + + Alarm Alarm Warning Warning Alarm + Thresholds High High Low Low + ------- ------- ------- ------- + Transceiver Temp (C): 80.000 0.000 0.000 -10.000 + Transceiver Voltage (V): 3.600 0.000 0.000 3.000 + Laser Bias (mA): n/a n/a n/a n/a + Transmit Power (mW): 1.949 0.000 0.000 0.087 + Transmit Power (dBm): 2.898 -inf -inf -10.605 + Receive Power (mW): 2.754 0.000 0.000 0.051 + Receive Power (dBm): 4.400 -inf -inf -12.924 + Statistics: + FEC: + Corrected Codeword Count: 0 + Uncorrected Codeword Count: 0 + +MAC address information: + Operational address: 008a.9661.d904 + Burnt-in address: 008a.9661.d004 + +Autonegotiation disabled. + +Operational values: + Speed: 100Gbps + Duplex: Full Duplex + Flowcontrol: None + Loopback: None (or external) + MTU: 9114 + MRU: 9114 + Forward error correction: Disabled \ No newline at end of file From 31e8d3399e238af1910344d15bd22e5eecf6a250 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 14 Oct 2018 16:31:36 -0500 Subject: [PATCH 151/628] Adding support for avaya_ers_show_mlt command (#268) * Adding support for avaya_ers_show_mlt command * Updated index * Update Avaya ERS show_mlt template * Update template variable names to be more generic and use '_' --- templates/avaya_ers_show_mlt.template | 28 + templates/index | 1 + .../show_mlt/avaya_ers_show_mlt1.parsed | 290 +++++++++ .../show_mlt/avaya_ers_show_mlt1.raw | 37 ++ .../show_mlt/avaya_ers_show_mlt2.parsed | 290 +++++++++ .../show_mlt/avaya_ers_show_mlt2.raw | 37 ++ .../show_mlt/avaya_ers_show_mlt3.parsed | 290 +++++++++ .../show_mlt/avaya_ers_show_mlt3.raw | 34 ++ .../show_mlt/avaya_ers_show_mlt_4800.parsed | 290 +++++++++ .../show_mlt/avaya_ers_show_mlt_4800.raw | 225 +++++++ .../show_mlt/avaya_ers_show_mlt_4900.parsed | 290 +++++++++ .../show_mlt/avaya_ers_show_mlt_4900.raw | 256 ++++++++ .../show_mlt/avaya_ers_show_mlt_7000.parsed | 578 ++++++++++++++++++ .../show_mlt/avaya_ers_show_mlt_7000.raw | 449 ++++++++++++++ 14 files changed, 3095 insertions(+) create mode 100644 templates/avaya_ers_show_mlt.template create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.raw create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.raw create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.raw create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.raw create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.raw create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.raw diff --git a/templates/avaya_ers_show_mlt.template b/templates/avaya_ers_show_mlt.template new file mode 100644 index 0000000000..0514200780 --- /dev/null +++ b/templates/avaya_ers_show_mlt.template @@ -0,0 +1,28 @@ +Value Required ID (\d+) +Value NAME (.*?) +Value ACTIVE_MEMBERS (\S+?) +Value INACTIVE_MEMBERS (\S+?) +Value BPDU (\S+?) +Value MODE (\S+?) +Value STATUS (Enabled|Disabled) +Value TYPE (Access|Trunk|) +Value LACP_KEY (\S+|) + +Start + ^${ID}\s+${NAME}\s+${ACTIVE_MEMBERS}\s+${BPDU}\s+${MODE}\s+${STATUS}\s*${TYPE}\s*${LACP_KEY}\s*$$ -> Record + ^Id:\s+\d+\s*$$ -> Continue.Record + ^Id:\s*${ID}\s*$$ + ^\s+Name:${NAME}\s*$$ + ^\s+Active Members:\s${ACTIVE_MEMBERS}\s*$$ + ^\s+Inactive Members:\s${INACTIVE_MEMBERS}\s*$$ + ^\s+Bpdu:\s${BPDU}\s*$$ + ^\s+Mode:\s${MODE}\s*$$ + ^\s+Status:\s${STATUS}\s*$$ + ^\s+Type:\s${TYPE}\s*$$ + ^\s+LACP key:\s${LACP_KEY}\s*$$ + ^\s+LACP$$ + ^Id\s+Name\s+Members\s+Bpdu\s+Mode\s+Status\s+Type(\s+Key|)\s*$$ + ^-+\s+-+\s+-+\s+-+\s+-+\s+-+\s+-+(\s+-+|)\s*$$ + ^MODE\s+Legend:\s*$$ + ^B=Basic,\s+A=Advance,\s+Man=ManLag,\s+Dyn=DynLag\s*$$ + ^.*$$ -> Error diff --git a/templates/index b/templates/index index 0281146f0e..452145d8b5 100644 --- a/templates/index +++ b/templates/index @@ -55,6 +55,7 @@ avaya_ers_show_mac-address-table.template, .*, avaya_ers, sh[[ow]] mac-a[[ddress avaya_ers_show_interface_name.template, .*, avaya_ers, sh[[ow]] in[[terfaces]] n[[ames]] avaya_ers_show_sys-info.template, .*, avaya_ers, sh[[ow]] sys-[[info]] avaya_ers_show_vlan.template, .*, avaya_ers, sh[[ow]] vlan +avaya_ers_show_mlt.template, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.template, .*, avaya_vsp, sho[[w]] so[[ftware]] diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.parsed new file mode 100644 index 0000000000..d6bda96fb5 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.parsed @@ -0,0 +1,290 @@ +--- +parsed_sample: +- id: "1" + name: "UPLINK" + active_members: "49-50" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "2" + name: "Trunk #2" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "3" + name: "Trunk #3" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "4" + name: "Trunk #4" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "5" + name: "Trunk #5" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "6" + name: "Trunk #6" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "7" + name: "Trunk #7" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "8" + name: "Trunk #8" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "9" + name: "Trunk #9" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "10" + name: "Trunk #10" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "11" + name: "Trunk #11" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "12" + name: "Trunk #12" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "13" + name: "Trunk #13" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "14" + name: "Trunk #14" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "15" + name: "Trunk #15" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "16" + name: "Trunk #16" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "17" + name: "Trunk #17" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "18" + name: "Trunk #18" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "19" + name: "Trunk #19" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "20" + name: "Trunk #20" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "21" + name: "Trunk #21" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "22" + name: "Trunk #22" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "23" + name: "Trunk #23" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "24" + name: "Trunk #24" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "25" + name: "Trunk #25" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "26" + name: "Trunk #26" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "27" + name: "Trunk #27" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "28" + name: "Trunk #28" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "29" + name: "Trunk #29" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "30" + name: "Trunk #30" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "31" + name: "Trunk #31" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "32" + name: "Trunk #32" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.raw b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.raw new file mode 100644 index 0000000000..9948a2eb0c --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.raw @@ -0,0 +1,37 @@ + LACP +Id Name Members Bpdu Mode Status Type Key +-- ---------------- ---------------------- ------ ----- -------- ------ ---- +1 UPLINK 49-50 All B Disabled NONE +2 Trunk #2 NONE All B Disabled NONE +3 Trunk #3 NONE All B Disabled NONE +4 Trunk #4 NONE All B Disabled NONE +5 Trunk #5 NONE All B Disabled NONE +6 Trunk #6 NONE All B Disabled NONE +7 Trunk #7 NONE All B Disabled NONE +8 Trunk #8 NONE All B Disabled NONE +9 Trunk #9 NONE All B Disabled NONE +10 Trunk #10 NONE All B Disabled NONE +11 Trunk #11 NONE All B Disabled NONE +12 Trunk #12 NONE All B Disabled NONE +13 Trunk #13 NONE All B Disabled NONE +14 Trunk #14 NONE All B Disabled NONE +15 Trunk #15 NONE All B Disabled NONE +16 Trunk #16 NONE All B Disabled NONE +17 Trunk #17 NONE All B Disabled NONE +18 Trunk #18 NONE All B Disabled NONE +19 Trunk #19 NONE All B Disabled NONE +20 Trunk #20 NONE All B Disabled NONE +21 Trunk #21 NONE All B Disabled NONE +22 Trunk #22 NONE All B Disabled NONE +23 Trunk #23 NONE All B Disabled NONE +24 Trunk #24 NONE All B Disabled NONE +25 Trunk #25 NONE All B Disabled NONE +26 Trunk #26 NONE All B Disabled NONE +27 Trunk #27 NONE All B Disabled NONE +28 Trunk #28 NONE All B Disabled NONE +29 Trunk #29 NONE All B Disabled NONE +30 Trunk #30 NONE All B Disabled NONE +31 Trunk #31 NONE All B Disabled NONE +32 Trunk #32 NONE All B Disabled NONE +MODE Legend: +B=Basic, A=Advance, Man=ManLag, Dyn=DynLag diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.parsed new file mode 100644 index 0000000000..63982a1aa4 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.parsed @@ -0,0 +1,290 @@ +--- +parsed_sample: +- id: "1" + name: "UPLINK" + active_members: "1/50,2/50" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "2" + name: "Trunk #2" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "3" + name: "Trunk #3" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "4" + name: "Trunk #4" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "5" + name: "Trunk #5" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "6" + name: "Trunk #6" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "7" + name: "Trunk #7" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "8" + name: "Trunk #8" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "9" + name: "Trunk #9" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "10" + name: "Trunk #10" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "11" + name: "Trunk #11" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "12" + name: "Trunk #12" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "13" + name: "Trunk #13" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "14" + name: "Trunk #14" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "15" + name: "Trunk #15" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "16" + name: "Trunk #16" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "17" + name: "Trunk #17" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "18" + name: "Trunk #18" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "19" + name: "Trunk #19" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "20" + name: "Trunk #20" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "21" + name: "Trunk #21" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "22" + name: "Trunk #22" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "23" + name: "Trunk #23" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "24" + name: "Trunk #24" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "25" + name: "Trunk #25" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "26" + name: "Trunk #26" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "27" + name: "Trunk #27" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "28" + name: "Trunk #28" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "29" + name: "Trunk #29" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "30" + name: "Trunk #30" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "31" + name: "Trunk #31" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" +- id: "32" + name: "Trunk #32" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.raw b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.raw new file mode 100644 index 0000000000..699d049c24 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.raw @@ -0,0 +1,37 @@ + LACP +Id Name Members Bpdu Mode Status Type Key +-- ---------------- ---------------------- ------ ----- -------- ------ ---- +1 UPLINK 1/50,2/50 All B Disabled NONE +2 Trunk #2 NONE All B Disabled NONE +3 Trunk #3 NONE All B Disabled NONE +4 Trunk #4 NONE All B Disabled NONE +5 Trunk #5 NONE All B Disabled NONE +6 Trunk #6 NONE All B Disabled NONE +7 Trunk #7 NONE All B Disabled NONE +8 Trunk #8 NONE All B Disabled NONE +9 Trunk #9 NONE All B Disabled NONE +10 Trunk #10 NONE All B Disabled NONE +11 Trunk #11 NONE All B Disabled NONE +12 Trunk #12 NONE All B Disabled NONE +13 Trunk #13 NONE All B Disabled NONE +14 Trunk #14 NONE All B Disabled NONE +15 Trunk #15 NONE All B Disabled NONE +16 Trunk #16 NONE All B Disabled NONE +17 Trunk #17 NONE All B Disabled NONE +18 Trunk #18 NONE All B Disabled NONE +19 Trunk #19 NONE All B Disabled NONE +20 Trunk #20 NONE All B Disabled NONE +21 Trunk #21 NONE All B Disabled NONE +22 Trunk #22 NONE All B Disabled NONE +23 Trunk #23 NONE All B Disabled NONE +24 Trunk #24 NONE All B Disabled NONE +25 Trunk #25 NONE All B Disabled NONE +26 Trunk #26 NONE All B Disabled NONE +27 Trunk #27 NONE All B Disabled NONE +28 Trunk #28 NONE All B Disabled NONE +29 Trunk #29 NONE All B Disabled NONE +30 Trunk #30 NONE All B Disabled NONE +31 Trunk #31 NONE All B Disabled NONE +32 Trunk #32 NONE All B Disabled NONE +MODE Legend: +B=Basic, A=Advance, Man=ManLag, Dyn=DynLag diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.parsed new file mode 100644 index 0000000000..cd418f80b3 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.parsed @@ -0,0 +1,290 @@ +--- +parsed_sample: +- id: "1" + name: "UPLINK" + active_members: "1/50,2/50" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Enabled" + type: "Trunk" + lacp_key: "" +- id: "2" + name: "Trunk #2" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "3" + name: "Trunk #3" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "4" + name: "Trunk #4" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "5" + name: "Trunk #5" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "6" + name: "Trunk #6" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "7" + name: "Trunk #7" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "8" + name: "Trunk #8" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "9" + name: "Trunk #9" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "10" + name: "Trunk #10" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "11" + name: "Trunk #11" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "12" + name: "Trunk #12" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "13" + name: "Trunk #13" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "14" + name: "Trunk #14" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "15" + name: "Trunk #15" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "16" + name: "Trunk #16" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "17" + name: "Trunk #17" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "18" + name: "Trunk #18" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "19" + name: "Trunk #19" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "20" + name: "Trunk #20" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "21" + name: "Trunk #21" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "22" + name: "Trunk #22" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "23" + name: "Trunk #23" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "24" + name: "Trunk #24" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "25" + name: "Trunk #25" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "26" + name: "Trunk #26" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "27" + name: "Trunk #27" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "28" + name: "Trunk #28" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "29" + name: "Trunk #29" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "30" + name: "Trunk #30" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "31" + name: "Trunk #31" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "32" + name: "Trunk #32" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.raw b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.raw new file mode 100644 index 0000000000..b902d3bcf5 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.raw @@ -0,0 +1,34 @@ +Id Name Members Bpdu Mode Status Type +-- ---------------- ---------------------- ------ -------------- ------- ------ +1 UPLINK 1/50,2/50 All Basic Enabled Trunk +2 Trunk #2 NONE All Basic Disabled +3 Trunk #3 NONE All Basic Disabled +4 Trunk #4 NONE All Basic Disabled +5 Trunk #5 NONE All Basic Disabled +6 Trunk #6 NONE All Basic Disabled +7 Trunk #7 NONE All Basic Disabled +8 Trunk #8 NONE All Basic Disabled +9 Trunk #9 NONE All Basic Disabled +10 Trunk #10 NONE All Basic Disabled +11 Trunk #11 NONE All Basic Disabled +12 Trunk #12 NONE All Basic Disabled +13 Trunk #13 NONE All Basic Disabled +14 Trunk #14 NONE All Basic Disabled +15 Trunk #15 NONE All Basic Disabled +16 Trunk #16 NONE All Basic Disabled +17 Trunk #17 NONE All Basic Disabled +18 Trunk #18 NONE All Basic Disabled +19 Trunk #19 NONE All Basic Disabled +20 Trunk #20 NONE All Basic Disabled +21 Trunk #21 NONE All Basic Disabled +22 Trunk #22 NONE All Basic Disabled +23 Trunk #23 NONE All Basic Disabled +24 Trunk #24 NONE All Basic Disabled +25 Trunk #25 NONE All Basic Disabled +26 Trunk #26 NONE All Basic Disabled +27 Trunk #27 NONE All Basic Disabled +28 Trunk #28 NONE All Basic Disabled +29 Trunk #29 NONE All Basic Disabled +30 Trunk #30 NONE All Basic Disabled +31 Trunk #31 NONE All Basic Disabled +32 Trunk #32 NONE All Basic Disabled diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.parsed new file mode 100644 index 0000000000..bed3fdd05f --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.parsed @@ -0,0 +1,290 @@ +--- +parsed_sample: +- id: '1' + name: 'Trunk #1' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '2' + name: 'Trunk #2' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '3' + name: 'Trunk #3' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '4' + name: 'Trunk #4' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '5' + name: 'Trunk #5' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '6' + name: 'Trunk #6' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '7' + name: 'Trunk #7' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '8' + name: 'Trunk #8' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '9' + name: 'Trunk #9' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '10' + name: 'Trunk #10' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '11' + name: 'Trunk #11' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '12' + name: 'Trunk #12' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '13' + name: 'Trunk #13' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '14' + name: 'Trunk #14' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '15' + name: 'Trunk #15' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '16' + name: 'Trunk #16' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '17' + name: 'Trunk #17' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '18' + name: 'Trunk #18' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '19' + name: 'Trunk #19' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '20' + name: 'Trunk #20' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '21' + name: 'Trunk #21' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '22' + name: 'Trunk #22' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '23' + name: 'Trunk #23' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '24' + name: 'Trunk #24' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '25' + name: 'Trunk #25' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '26' + name: 'Trunk #26' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '27' + name: 'Trunk #27' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '28' + name: 'Trunk #28' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '29' + name: 'Trunk #29' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '30' + name: 'Trunk #30' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '31' + name: 'Trunk #31' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: '' +- id: '32' + name: 'icampus lacp' + active_members: '27-28' + inactive_members: 'NONE' + bpdu: 'Single' + mode: 'DynLag/Basic' + status: 'Enabled' + type: 'Access' + lacp_key: '' diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.raw b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.raw new file mode 100644 index 0000000000..47961f4bea --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.raw @@ -0,0 +1,225 @@ +Id: 1 + Name:Trunk #1 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 2 + Name:Trunk #2 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 3 + Name:Trunk #3 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 4 + Name:Trunk #4 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 5 + Name:Trunk #5 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 6 + Name:Trunk #6 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 7 + Name:Trunk #7 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 8 + Name:Trunk #8 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 9 + Name:Trunk #9 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 10 + Name:Trunk #10 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 11 + Name:Trunk #11 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 12 + Name:Trunk #12 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 13 + Name:Trunk #13 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 14 + Name:Trunk #14 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 15 + Name:Trunk #15 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 16 + Name:Trunk #16 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 17 + Name:Trunk #17 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 18 + Name:Trunk #18 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 19 + Name:Trunk #19 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 20 + Name:Trunk #20 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 21 + Name:Trunk #21 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 22 + Name:Trunk #22 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 23 + Name:Trunk #23 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 24 + Name:Trunk #24 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 25 + Name:Trunk #25 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 26 + Name:Trunk #26 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 27 + Name:Trunk #27 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 28 + Name:Trunk #28 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 29 + Name:Trunk #29 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 30 + Name:Trunk #30 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 31 + Name:Trunk #31 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 32 + Name:icampus lacp + Active Members: 27-28 + Inactive Members: NONE + Bpdu: Single + Mode: DynLag/Basic + Status: Enabled + Type: Access diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.parsed new file mode 100644 index 0000000000..d6ce2196a3 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.parsed @@ -0,0 +1,290 @@ +--- +parsed_sample: +- id: '1' + name: 'UPLINK' + active_members: '1/50,2/50' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '2' + name: 'Trunk #2' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '3' + name: 'Trunk #3' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '4' + name: 'Trunk #4' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '5' + name: 'Trunk #5' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '6' + name: 'Trunk #6' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '7' + name: 'Trunk #7' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '8' + name: 'Trunk #8' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '9' + name: 'Trunk #9' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '10' + name: 'Trunk #10' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '11' + name: 'Trunk #11' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '12' + name: 'Trunk #12' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '13' + name: 'Trunk #13' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '14' + name: 'Trunk #14' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '15' + name: 'Trunk #15' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '16' + name: 'Trunk #16' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '17' + name: 'Trunk #17' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '18' + name: 'Trunk #18' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '19' + name: 'Trunk #19' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '20' + name: 'Trunk #20' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '21' + name: 'Trunk #21' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '22' + name: 'Trunk #22' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '23' + name: 'Trunk #23' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '24' + name: 'Trunk #24' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '25' + name: 'Trunk #25' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '26' + name: 'Trunk #26' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '27' + name: 'Trunk #27' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '28' + name: 'Trunk #28' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '29' + name: 'Trunk #29' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '30' + name: 'Trunk #30' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '31' + name: 'Trunk #31' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' +- id: '32' + name: 'Trunk #32' + active_members: 'NONE' + inactive_members: 'NONE' + bpdu: 'All' + mode: 'Basic' + status: 'Disabled' + type: '' + lacp_key: 'NONE' diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.raw b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.raw new file mode 100644 index 0000000000..d3625e0588 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.raw @@ -0,0 +1,256 @@ +Id: 1 + Name:UPLINK + Active Members: 1/50,2/50 + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 2 + Name:Trunk #2 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 3 + Name:Trunk #3 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 4 + Name:Trunk #4 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 5 + Name:Trunk #5 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 6 + Name:Trunk #6 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 7 + Name:Trunk #7 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 8 + Name:Trunk #8 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 9 + Name:Trunk #9 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 10 + Name:Trunk #10 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 11 + Name:Trunk #11 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 12 + Name:Trunk #12 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 13 + Name:Trunk #13 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 14 + Name:Trunk #14 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 15 + Name:Trunk #15 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 16 + Name:Trunk #16 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 17 + Name:Trunk #17 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 18 + Name:Trunk #18 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 19 + Name:Trunk #19 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 20 + Name:Trunk #20 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 21 + Name:Trunk #21 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 22 + Name:Trunk #22 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 23 + Name:Trunk #23 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 24 + Name:Trunk #24 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 25 + Name:Trunk #25 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 26 + Name:Trunk #26 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 27 + Name:Trunk #27 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 28 + Name:Trunk #28 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 29 + Name:Trunk #29 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 30 + Name:Trunk #30 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 31 + Name:Trunk #31 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 32 + Name:Trunk #32 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.parsed new file mode 100644 index 0000000000..5dd0ce66d5 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.parsed @@ -0,0 +1,578 @@ +--- +parsed_sample: +- id: "1" + name: "IST" + active_members: "38-39" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Enabled" + type: Trunk + lacp_key: "" +- id: "2" + name: "Trunk #2" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "3" + name: "Trunk #3" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "4" + name: "Trunk #4" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "5" + name: "Trunk #5" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "6" + name: "Trunk #6" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "7" + name: "Trunk #7" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "8" + name: "Trunk #8" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "9" + name: "Trunk #9" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "10" + name: "Trunk #10" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "11" + name: "Trunk #11" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "12" + name: "Trunk #12" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "13" + name: "Trunk #13" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "14" + name: "Trunk #14" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "15" + name: "Trunk #15" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "16" + name: "Trunk #16" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "17" + name: "Trunk #17" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "18" + name: "Trunk #18" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "19" + name: "Trunk #19" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "20" + name: "Trunk #20" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "21" + name: "Trunk #21" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "22" + name: "Trunk #22" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "23" + name: "Trunk #23" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "24" + name: "Trunk #24" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "25" + name: "Trunk #25" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "26" + name: "Trunk #26" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "27" + name: "Trunk #27" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "28" + name: "Trunk #28" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "29" + name: "Trunk #29" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "30" + name: "Trunk #30" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "31" + name: "Trunk #31" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "32" + name: "Trunk #32" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "33" + name: "Trunk #33" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "34" + name: "Trunk #34" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "35" + name: "Trunk #35" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "36" + name: "Trunk #36" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "37" + name: "Trunk #37" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "38" + name: "Trunk #38" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "39" + name: "Trunk #39" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "40" + name: "Trunk #40" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "41" + name: "Trunk #41" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "42" + name: "Trunk #42" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "43" + name: "Trunk #43" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "44" + name: "Trunk #44" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "45" + name: "Trunk #45" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "46" + name: "Trunk #46" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "47" + name: "Trunk #47" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "48" + name: "Trunk #48" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "49" + name: "Trunk #49" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "50" + name: "Trunk #50" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "51" + name: "Trunk #51" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "52" + name: "Trunk #52" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "53" + name: "Trunk #53" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "54" + name: "Trunk #54" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "55" + name: "Trunk #55" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "56" + name: "Trunk #56" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "57" + name: "Trunk #57" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "58" + name: "Trunk #58" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "59" + name: "Trunk #59" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "60" + name: "Trunk #60" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "61" + name: "Trunk #61" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "62" + name: "Trunk #62" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "63" + name: "Trunk #63" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" +- id: "64" + name: "Trunk #64" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.raw b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.raw new file mode 100644 index 0000000000..05ba0e9dbc --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.raw @@ -0,0 +1,449 @@ +Id: 1 + Name:IST + Active Members: 38-39 + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Enabled + Type: Trunk +Id: 2 + Name:Trunk #2 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 3 + Name:Trunk #3 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 4 + Name:Trunk #4 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 5 + Name:Trunk #5 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 6 + Name:Trunk #6 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 7 + Name:Trunk #7 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 8 + Name:Trunk #8 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 9 + Name:Trunk #9 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 10 + Name:Trunk #10 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 11 + Name:Trunk #11 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 12 + Name:Trunk #12 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 13 + Name:Trunk #13 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 14 + Name:Trunk #14 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 15 + Name:Trunk #15 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 16 + Name:Trunk #16 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 17 + Name:Trunk #17 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 18 + Name:Trunk #18 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 19 + Name:Trunk #19 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 20 + Name:Trunk #20 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 21 + Name:Trunk #21 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 22 + Name:Trunk #22 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 23 + Name:Trunk #23 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 24 + Name:Trunk #24 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 25 + Name:Trunk #25 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 26 + Name:Trunk #26 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 27 + Name:Trunk #27 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 28 + Name:Trunk #28 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 29 + Name:Trunk #29 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 30 + Name:Trunk #30 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 31 + Name:Trunk #31 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 32 + Name:Trunk #32 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 33 + Name:Trunk #33 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 34 + Name:Trunk #34 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 35 + Name:Trunk #35 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 36 + Name:Trunk #36 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 37 + Name:Trunk #37 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 38 + Name:Trunk #38 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 39 + Name:Trunk #39 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 40 + Name:Trunk #40 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 41 + Name:Trunk #41 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 42 + Name:Trunk #42 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 43 + Name:Trunk #43 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 44 + Name:Trunk #44 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 45 + Name:Trunk #45 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 46 + Name:Trunk #46 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 47 + Name:Trunk #47 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 48 + Name:Trunk #48 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 49 + Name:Trunk #49 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 50 + Name:Trunk #50 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 51 + Name:Trunk #51 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 52 + Name:Trunk #52 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 53 + Name:Trunk #53 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 54 + Name:Trunk #54 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 55 + Name:Trunk #55 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 56 + Name:Trunk #56 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 57 + Name:Trunk #57 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 58 + Name:Trunk #58 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 59 + Name:Trunk #59 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 60 + Name:Trunk #60 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 61 + Name:Trunk #61 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 62 + Name:Trunk #62 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 63 + Name:Trunk #63 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 64 + Name:Trunk #64 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled From e2b4bc6c7228d2bd3391e55d70dbd1dbc2e382eb Mon Sep 17 00:00:00 2001 From: Olof Lundgren Date: Mon, 1 Oct 2018 20:31:44 +0200 Subject: [PATCH 152/628] ubiquiti edgeswitch show arp, show vlan --- templates/index | 3 +++ .../ubiquiti_edgeswitch_show_arp.template | 13 +++++++++++ .../ubiquiti_edgeswitch_show_vlan.template | 11 ++++++++++ tests/test_index_order.py | 4 ++-- .../ubiquiti_edgeswitch_show_arp.parsed | 22 +++++++++++++++++++ .../show_arp/ubiquiti_edgeswitch_show_arp.raw | 15 +++++++++++++ .../ubiquiti_edgeswitch_show_vlan.parsed | 17 ++++++++++++++ .../ubiquiti_edgeswitch_show_vlan.raw | 7 ++++++ 8 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 templates/ubiquiti_edgeswitch_show_arp.template create mode 100644 templates/ubiquiti_edgeswitch_show_vlan.template create mode 100644 tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.parsed create mode 100644 tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.raw create mode 100644 tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.parsed create mode 100644 tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.raw diff --git a/templates/index b/templates/index index 452145d8b5..713b908bf3 100644 --- a/templates/index +++ b/templates/index @@ -262,5 +262,8 @@ paloalto_panos_show_counter_global.template, .*, paloalto_panos, sh[[ow]] coun[[ paloalto_panos_show_system_info.template, .*, paloalto_panos, sh[[ow]] sys[[tem]] in[[fo]] paloalto_panos_show_jobs_all.template, .*, paloalto_panos, sh[[ow]] jo[[bs]] all +ubiquiti_edgeswitch_show_vlan.template, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] +ubiquiti_edgeswitch_show_arp.template, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] + vmware_nsxv_show_ip_bgp_neighbors.template, .*, vmware_nsxv, sh[[ow]] ip b[[gp]] n[[eighbors]] vmware_nsxv_show_ip_route.template, .*, vmware_nsxv, sh[[ow]] ip r[[oute]] diff --git a/templates/ubiquiti_edgeswitch_show_arp.template b/templates/ubiquiti_edgeswitch_show_arp.template new file mode 100644 index 0000000000..daab738982 --- /dev/null +++ b/templates/ubiquiti_edgeswitch_show_arp.template @@ -0,0 +1,13 @@ +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value MAC (\S+) +Value INTERFACE (\S+) +Value TYPE (\S+) +Value AGE (.*) + +Start + ^\s+IP Address -> ARP + +ARP + ^${ADDRESS}\s+${MAC}\s+${INTERFACE}\s+${TYPE}\s+${AGE}.*$$ -> Record + ^-+\s+-+\s+-+\s+-+\s+-+\s*$$ + ^.*$$ -> Error diff --git a/templates/ubiquiti_edgeswitch_show_vlan.template b/templates/ubiquiti_edgeswitch_show_vlan.template new file mode 100644 index 0000000000..45d39b303c --- /dev/null +++ b/templates/ubiquiti_edgeswitch_show_vlan.template @@ -0,0 +1,11 @@ +Value VLAN_ID (\d+) +Value NAME (.*?) +Value TYPE (\w+) + +Start + ^VLAN ID -> VLAN + +VLAN + ^${VLAN_ID}\s+${NAME}\s+${TYPE}\s*$$ -> Record + ^-+\s+-+\s+-+\s*$$ + ^.*$$ -> Error diff --git a/tests/test_index_order.py b/tests/test_index_order.py index a34adc1999..3380b135fd 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -66,8 +66,8 @@ def test_index_ordering(): 'checkpoint_gaia', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', 'cisco_wlc', 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'juniper_screenos', - 'alcatel_sros', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh', 'vmware_nsxv', - 'vyatta_vyos', 'vyos' + 'alcatel_sros', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh', + 'ubiquiti_edgeswitch', 'vmware_nsxv', 'vyatta_vyos', 'vyos' ] prior_os = "" diff --git a/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.parsed b/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.parsed new file mode 100644 index 0000000000..34e145bd23 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.parsed @@ -0,0 +1,22 @@ +--- +parsed_sample: +- address: "172.16.216.1" + age: "0h 0m 10s" + interface: "4/1" + mac: "80:2A:A8:F1:D2:46" + type: "Gateway" +- address: "172.16.216.2" + age: "0h 2m 16s" + interface: "4/1" + mac: "E2:91:F5:CC:E8:19" + type: "Dynamic" +- address: "172.16.216.4" + age: "n/a" + interface: "4/1" + mac: "78:8A:20:44:02:7F" + type: "Local" +- address: "172.16.216.33" + age: "0h 0m 5s" + interface: "4/1" + mac: "00:00:00:00:00:00" + type: "Dynamic" diff --git a/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.raw b/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.raw new file mode 100644 index 0000000000..c63c595324 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.raw @@ -0,0 +1,15 @@ + +Age Time (seconds)............................. 300 +Response Time (seconds)........................ 1 +Retries........................................ 4 +Cache Size..................................... 493 +Dynamic Renew Mode ............................ Disable +Total Entry Count Current / Peak .............. 4 / 4 +Static Entry Count Configured / Active / Max .. 0 / 0 / 128 + + IP Address MAC Address Interface Type Age +--------------- ----------------- -------------- -------- ----------- +172.16.216.1 80:2A:A8:F1:D2:46 4/1 Gateway 0h 0m 10s +172.16.216.2 E2:91:F5:CC:E8:19 4/1 Dynamic 0h 2m 16s +172.16.216.4 78:8A:20:44:02:7F 4/1 Local n/a +172.16.216.33 00:00:00:00:00:00 4/1 Dynamic 0h 0m 5s \ No newline at end of file diff --git a/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.parsed b/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.parsed new file mode 100644 index 0000000000..4a1d4435c2 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.parsed @@ -0,0 +1,17 @@ +--- +parsed_sample: +- name: "default" + type: "Default" + vlan_id: "1" +- name: "ip tv" + type: "Static" + vlan_id: "101" +- name: "internet" + type: "Static" + vlan_id: "102" +- name: "hjemmenett" + type: "Static" + vlan_id: "216" +- name: "server" + type: "Static" + vlan_id: "217" \ No newline at end of file diff --git a/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.raw b/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.raw new file mode 100644 index 0000000000..7246b7e461 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.raw @@ -0,0 +1,7 @@ +VLAN ID VLAN Name VLAN Type +------- -------------------------------- ------------------- +1 default Default +101 ip tv Static +102 internet Static +216 hjemmenett Static +217 server Static \ No newline at end of file From 898dcebe75e238879fbb6d5ad19c51558a3719e7 Mon Sep 17 00:00:00 2001 From: jmcgill Date: Sun, 14 Oct 2018 19:15:21 -0400 Subject: [PATCH 153/628] Update match lines to be more specific --- templates/ubiquiti_edgeswitch_show_arp.template | 10 +++++----- templates/ubiquiti_edgeswitch_show_vlan.template | 11 +++++------ .../show_arp/ubiquiti_edgeswitch_show_arp.raw | 2 +- .../show_vlans/ubiquiti_edgeswitch_show_vlan.parsed | 2 +- .../show_vlans/ubiquiti_edgeswitch_show_vlan.raw | 2 +- 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/templates/ubiquiti_edgeswitch_show_arp.template b/templates/ubiquiti_edgeswitch_show_arp.template index daab738982..f408d5cefe 100644 --- a/templates/ubiquiti_edgeswitch_show_arp.template +++ b/templates/ubiquiti_edgeswitch_show_arp.template @@ -1,13 +1,13 @@ -Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value Required ADDRESS (\d+\.\d+\.\d+\.\d+) Value MAC (\S+) Value INTERFACE (\S+) Value TYPE (\S+) Value AGE (.*) Start - ^\s+IP Address -> ARP - -ARP ^${ADDRESS}\s+${MAC}\s+${INTERFACE}\s+${TYPE}\s+${AGE}.*$$ -> Record + ^.+\. + ^\s+IP\s+Address\s+MAC\s+Address\s+Interface\s+Type\s+Age ^-+\s+-+\s+-+\s+-+\s+-+\s*$$ - ^.*$$ -> Error + ^\s*$$ + ^. -> Error diff --git a/templates/ubiquiti_edgeswitch_show_vlan.template b/templates/ubiquiti_edgeswitch_show_vlan.template index 45d39b303c..4d1d86ac49 100644 --- a/templates/ubiquiti_edgeswitch_show_vlan.template +++ b/templates/ubiquiti_edgeswitch_show_vlan.template @@ -1,11 +1,10 @@ -Value VLAN_ID (\d+) +Value Required VLAN_ID (\d+) Value NAME (.*?) -Value TYPE (\w+) +Value TYPE (\S+) Start - ^VLAN ID -> VLAN - -VLAN ^${VLAN_ID}\s+${NAME}\s+${TYPE}\s*$$ -> Record + ^VLAN\s+ID\s+VLAN\s+Name\s+VLAN\s+Type\s*$$ ^-+\s+-+\s+-+\s*$$ - ^.*$$ -> Error + ^\s*$$ + ^. -> Error diff --git a/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.raw b/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.raw index c63c595324..0a393426b4 100644 --- a/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.raw +++ b/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.raw @@ -12,4 +12,4 @@ Static Entry Count Configured / Active / Max .. 0 / 0 / 128 172.16.216.1 80:2A:A8:F1:D2:46 4/1 Gateway 0h 0m 10s 172.16.216.2 E2:91:F5:CC:E8:19 4/1 Dynamic 0h 2m 16s 172.16.216.4 78:8A:20:44:02:7F 4/1 Local n/a -172.16.216.33 00:00:00:00:00:00 4/1 Dynamic 0h 0m 5s \ No newline at end of file +172.16.216.33 00:00:00:00:00:00 4/1 Dynamic 0h 0m 5s diff --git a/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.parsed b/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.parsed index 4a1d4435c2..9e1ee72639 100644 --- a/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.parsed +++ b/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.parsed @@ -14,4 +14,4 @@ parsed_sample: vlan_id: "216" - name: "server" type: "Static" - vlan_id: "217" \ No newline at end of file + vlan_id: "217" diff --git a/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.raw b/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.raw index 7246b7e461..9066be960e 100644 --- a/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.raw +++ b/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.raw @@ -4,4 +4,4 @@ VLAN ID VLAN Name VLAN Type 101 ip tv Static 102 internet Static 216 hjemmenett Static -217 server Static \ No newline at end of file +217 server Static From 370800b688fdc9a7fc3339c721d2d324440b1a8d Mon Sep 17 00:00:00 2001 From: Olof Lundgren Date: Mon, 1 Oct 2018 14:00:39 +0200 Subject: [PATCH 154/628] add vyos show interfaces and show arp --- templates/index | 3 ++ templates/vyatta_vyos_show_arp.template | 13 ++++++ .../vyatta_vyos_show_interfaces.template | 14 +++++++ .../show_arp/vyatta_vyos_show_arp.parsed | 32 ++++++++++++++ .../show_arp/vyatta_vyos_show_arp.raw | 7 ++++ .../vyatta_vyos_show_interfaces.parsed | 42 +++++++++++++++++++ .../vyatta_vyos_show_interfaces.raw | 16 +++++++ 7 files changed, 127 insertions(+) create mode 100644 templates/vyatta_vyos_show_arp.template create mode 100644 templates/vyatta_vyos_show_interfaces.template create mode 100644 tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.parsed create mode 100644 tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.raw create mode 100644 tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.parsed create mode 100644 tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw diff --git a/templates/index b/templates/index index 713b908bf3..8b8e197716 100644 --- a/templates/index +++ b/templates/index @@ -267,3 +267,6 @@ ubiquiti_edgeswitch_show_arp.template, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] vmware_nsxv_show_ip_bgp_neighbors.template, .*, vmware_nsxv, sh[[ow]] ip b[[gp]] n[[eighbors]] vmware_nsxv_show_ip_route.template, .*, vmware_nsxv, sh[[ow]] ip r[[oute]] + +vyatta_vyos_show_interfaces.template, .*, .*vyos.*, sh[[ow]] int[[erfaces]] +vyatta_vyos_show_arp.template, .*, .*vyos.*, sh[[ow]] a[[rp]] diff --git a/templates/vyatta_vyos_show_arp.template b/templates/vyatta_vyos_show_arp.template new file mode 100644 index 0000000000..95c46a3062 --- /dev/null +++ b/templates/vyatta_vyos_show_arp.template @@ -0,0 +1,13 @@ +Value ADDRESS ((\d+.){3}\d+) +Value HWTYPE (\S+) +Value HWADDRESS (\S+) +Value FLAGS (\w) +Value INTERFACE (\S+) + +Start + ^Address -> ARP + +ARP + ^${ADDRESS}\s+(${HWTYPE}|)\s+${HWADDRESS}\s+(${FLAGS}|)\s+${INTERFACE}$$ -> Record + ^Address.*$$ + ^.+ -> Error diff --git a/templates/vyatta_vyos_show_interfaces.template b/templates/vyatta_vyos_show_interfaces.template new file mode 100644 index 0000000000..a37274bb69 --- /dev/null +++ b/templates/vyatta_vyos_show_interfaces.template @@ -0,0 +1,14 @@ +Value INTERFACE (\S+) +Value List IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+|\-|[\:\d\/a-f]+) +Value STATUS (\S+) +Value DESCRIPTION (.+) + +Start + ^Interface -> INTERFACE + +INTERFACE + ^\S+\s+ -> Continue.Record + ^${INTERFACE}\s+${IP_ADDRESS}\s+${STATUS}\s+(${DESCRIPTION}|)\s + ^\s+${IP_ADDRESS} + ^-+\s+-+\s+-+\s+-+$$ + ^.+ -> Error diff --git a/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.parsed b/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.parsed new file mode 100644 index 0000000000..efb514fc02 --- /dev/null +++ b/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.parsed @@ -0,0 +1,32 @@ +--- +parsed_sample: + - address: "10.123.254.20" + flags: "C" + hwaddress: "9c:8e:99:fa:15:0a" + hwtype: "ether" + interface: "eth1.1230" + - address: "123.12.120.44" + flags: "C" + hwaddress: "11:22:33:aa:02:90" + hwtype: "ether" + interface: "eth0.42" + - address: "123.12.120.218" + flags: "" + hwaddress: "(incomplete)" + hwtype: "" + interface: "eth1.1234" + - address: "10.123.254.21" + flags: "C" + hwaddress: "00:0c:29:59:94:56" + hwtype: "ether" + interface: "eth1.1230" + - address: "123.12.120.219" + flags: "" + hwaddress: "(incomplete)" + hwtype: "" + interface: "eth1.1234" + - address: "123.12.120.57" + flags: "C" + hwaddress: "11:22:33:aa:65:bb" + hwtype: "ether" + interface: "eth0.42" diff --git a/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.raw b/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.raw new file mode 100644 index 0000000000..f5279d50e0 --- /dev/null +++ b/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.raw @@ -0,0 +1,7 @@ +Address HWtype HWaddress Flags Mask Iface +10.123.254.20 ether 9c:8e:99:fa:15:0a C eth1.1230 +123.12.120.44 ether 11:22:33:aa:02:90 C eth0.42 +123.12.120.218 (incomplete) eth1.1234 +10.123.254.21 ether 00:0c:29:59:94:56 C eth1.1230 +123.12.120.219 (incomplete) eth1.1234 +123.12.120.57 ether 11:22:33:aa:65:bb C eth0.42 diff --git a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.parsed b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.parsed new file mode 100644 index 0000000000..a92f1e3872 --- /dev/null +++ b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.parsed @@ -0,0 +1,42 @@ +--- +parsed_sample: + - description: '' + interface: eth0 + ip_address: ['-'] + status: u/u + - description: 'Utside' + interface: eth0.42 + ip_address: [172.11.100.1/31] + status: u/u + - description: '' + interface: eth1 + ip_address: ['-'] + status: u/u + - description: 'SERVICES-LINK' + interface: eth1.1727 + ip_address: [172.11.100.11/31] + status: u/u + - description: 'DS-LAN' + interface: eth1.1800 + ip_address: [172.11.100.3/31] + status: u/u + - description: 'Link' + interface: eth1.1801 + ip_address: [172.11.100.5/31] + status: u/u + - description: 'TEST-NET' + interface: eth1.1804 + ip_address: [172.11.100.7/31] + status: u/u + - description: '' + interface: eth2 + ip_address: ['-'] + status: u/u + - description: 'SYNC' + interface: eth2.1802 + ip_address: [172.18.254.3/31, 'fe80:3023:1234:d::3/127'] + status: u/u + - description: '' + interface: lo + ip_address: [127.0.0.1/8, 172.18.255.3/32, '::1/128'] + status: u/u diff --git a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw new file mode 100644 index 0000000000..38f9b38fd7 --- /dev/null +++ b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw @@ -0,0 +1,16 @@ +Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down +Interface IP Address S/L Description +--------- ---------- --- ----------- +eth0 - u/u +eth0.42 172.11.100.1/31 u/u Utside +eth1 - u/u +eth1.1727 172.11.100.11/31 u/u SERVICES-LINK +eth1.1800 172.11.100.3/31 u/u DS-LAN +eth1.1801 172.11.100.5/31 u/u Link +eth1.1804 172.11.100.7/31 u/u TEST-NET +eth2 - u/u +eth2.1802 172.18.254.3/31 u/u SYNC + fe80:3023:1234:d::3/127 +lo 127.0.0.1/8 u/u + 172.18.255.3/32 + ::1/128 \ No newline at end of file From d0c02db9d45ae30bb34781bf24f5afdcc3421d7a Mon Sep 17 00:00:00 2001 From: jmcgill Date: Sun, 14 Oct 2018 20:58:38 -0400 Subject: [PATCH 155/628] Update match lines to be more specific --- templates/vyatta_vyos_show_arp.template | 18 +++++++------- .../vyatta_vyos_show_interfaces.template | 18 ++++++++------ .../show_arp/vyatta_vyos_show_arp.parsed | 24 +++++++++---------- .../vyatta_vyos_show_interfaces.raw | 2 +- 4 files changed, 32 insertions(+), 30 deletions(-) diff --git a/templates/vyatta_vyos_show_arp.template b/templates/vyatta_vyos_show_arp.template index 95c46a3062..2c37d8639d 100644 --- a/templates/vyatta_vyos_show_arp.template +++ b/templates/vyatta_vyos_show_arp.template @@ -1,13 +1,11 @@ -Value ADDRESS ((\d+.){3}\d+) -Value HWTYPE (\S+) -Value HWADDRESS (\S+) -Value FLAGS (\w) +Value Required ADDRESS ([A-Fa-f0-9:\.]+) +Value TYPE (\S+) +Value MAC (\S+) +Value FLAGS (\S+) Value INTERFACE (\S+) Start - ^Address -> ARP - -ARP - ^${ADDRESS}\s+(${HWTYPE}|)\s+${HWADDRESS}\s+(${FLAGS}|)\s+${INTERFACE}$$ -> Record - ^Address.*$$ - ^.+ -> Error + ^${ADDRESS}\s+(${TYPE}|)\s+${MAC}\s+(${FLAGS}|)\s+${INTERFACE}$$ -> Record + ^Address\s+HWtype\s+HWaddress\s+Flags\s+Mask\s+Iface\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/vyatta_vyos_show_interfaces.template b/templates/vyatta_vyos_show_interfaces.template index a37274bb69..2472796232 100644 --- a/templates/vyatta_vyos_show_interfaces.template +++ b/templates/vyatta_vyos_show_interfaces.template @@ -1,14 +1,18 @@ Value INTERFACE (\S+) -Value List IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+|\-|[\:\d\/a-f]+) +Value List IP_ADDRESS ((?:[A-Fa-f0-9:\.]+\/\d+)|-) Value STATUS (\S+) -Value DESCRIPTION (.+) +Value DESCRIPTION (.+?) Start - ^Interface -> INTERFACE + ^Codes: + ^Interface\s+IP\s+Address\s+S/L\s+Description\s*$$ -> Interface + ^\s*$$ + ^. -> Error -INTERFACE +Interface ^\S+\s+ -> Continue.Record - ^${INTERFACE}\s+${IP_ADDRESS}\s+${STATUS}\s+(${DESCRIPTION}|)\s - ^\s+${IP_ADDRESS} + ^${INTERFACE}\s+${IP_ADDRESS}\s+${STATUS}\s+(${DESCRIPTION}|)\s*$$ + ^\s+${IP_ADDRESS}\s*$$ ^-+\s+-+\s+-+\s+-+$$ - ^.+ -> Error + ^\s*$$ + ^. -> Error diff --git a/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.parsed b/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.parsed index efb514fc02..3f80f1c7e1 100644 --- a/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.parsed +++ b/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.parsed @@ -2,31 +2,31 @@ parsed_sample: - address: "10.123.254.20" flags: "C" - hwaddress: "9c:8e:99:fa:15:0a" - hwtype: "ether" + mac: "9c:8e:99:fa:15:0a" + type: "ether" interface: "eth1.1230" - address: "123.12.120.44" flags: "C" - hwaddress: "11:22:33:aa:02:90" - hwtype: "ether" + mac: "11:22:33:aa:02:90" + type: "ether" interface: "eth0.42" - address: "123.12.120.218" flags: "" - hwaddress: "(incomplete)" - hwtype: "" + mac: "(incomplete)" + type: "" interface: "eth1.1234" - address: "10.123.254.21" flags: "C" - hwaddress: "00:0c:29:59:94:56" - hwtype: "ether" + mac: "00:0c:29:59:94:56" + type: "ether" interface: "eth1.1230" - address: "123.12.120.219" flags: "" - hwaddress: "(incomplete)" - hwtype: "" + mac: "(incomplete)" + type: "" interface: "eth1.1234" - address: "123.12.120.57" flags: "C" - hwaddress: "11:22:33:aa:65:bb" - hwtype: "ether" + mac: "11:22:33:aa:65:bb" + type: "ether" interface: "eth0.42" diff --git a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw index 38f9b38fd7..4aa3e026cf 100644 --- a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw +++ b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw @@ -13,4 +13,4 @@ eth2.1802 172.18.254.3/31 u/u SYNC fe80:3023:1234:d::3/127 lo 127.0.0.1/8 u/u 172.18.255.3/32 - ::1/128 \ No newline at end of file + ::1/128 From 1d9ee0419640e0cd366a09dd3ba6e6eb3f2ff452 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 14 Oct 2018 21:29:38 -0500 Subject: [PATCH 156/628] Add RELOAD_REASON to Record (#271) * Add RELOAD_REASON to Record * Add test data for `reload reason` --- templates/cisco_ios_show_version.template | 4 +- .../cisco_ios_show_version.parsed | 1 + .../cisco_ios_show_version2.parsed | 14 +++++ .../show_version/cisco_ios_show_version2.raw | 56 +++++++++++++++++++ 4 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version2.parsed create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version2.raw diff --git a/templates/cisco_ios_show_version.template b/templates/cisco_ios_show_version.template index 5ca555f796..b0bef15ce1 100644 --- a/templates/cisco_ios_show_version.template +++ b/templates/cisco_ios_show_version.template @@ -2,6 +2,7 @@ Value VERSION (.+?) Value ROMMON (\S+) Value HOSTNAME (\S+) Value UPTIME (.+) +Value RELOAD_REASON (.+?) Value RUNNING_IMAGE (\S+) Value List HARDWARE (\S+\d\S+) Value List SERIAL (\S+) @@ -12,6 +13,7 @@ Start ^ROM: ${ROMMON} ^\s*${HOSTNAME}\s+uptime\s+is\s+${UPTIME} ^[sS]ystem\s+image\s+file\s+is\s+"(.*?):${RUNNING_IMAGE}" + ^(?:[lL]ast\s+reload\s+reason:|System\s+returned\s+to\s+ROM\s+by)\s+${RELOAD_REASON}\s*$$ ^[Pp]rocessor\s+board\s+ID\s+${SERIAL} ^[Cc]isco\s+${HARDWARE}.+ ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} @@ -22,4 +24,4 @@ Stack ^[Ss]ystem [Ss]erial [Nn]umber\s+:\s+${SERIAL} ^[Mm]odel\s+[Nn]umber\s+:\s+${HARDWARE}\s* ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} - + diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version.parsed b/tests/cisco_ios/show_version/cisco_ios_show_version.parsed index 655049ac69..27fd01f7f3 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version.parsed +++ b/tests/cisco_ios/show_version/cisco_ios_show_version.parsed @@ -5,6 +5,7 @@ parsed_sample: rommon: '12.2(44r)SG9' hostname: router1 uptime: '2 years, 31 weeks, 6 days, 9 hours, 55 minutes' + reload_reason: "reload" running_image: 'cat4500e-entservicesk9-mz.122-54.SG1.bin' hardware: - 'WS-C4948E' diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version2.parsed b/tests/cisco_ios/show_version/cisco_ios_show_version2.parsed new file mode 100644 index 0000000000..17b5d2062d --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version2.parsed @@ -0,0 +1,14 @@ +--- +parsed_sample: + +- version: '15.3(2)S1' + rommon: 'IOS-XE' + hostname: 'my_device' + uptime: '1 day, 15 hours, 32 minutes' + reload_reason: "LocalSoft" + running_image: 'asr1001-universalk9.03.09.01.S.153-2.S1.bin' + hardware: + - 'ASR1001' + serial: + - 'SSI1289001MH' + config_register: '0x2102' diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version2.raw b/tests/cisco_ios/show_version/cisco_ios_show_version2.raw new file mode 100644 index 0000000000..4bea8de4ab --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version2.raw @@ -0,0 +1,56 @@ +Cisco IOS Software, IOS-XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.3(2)S1, RELEASE SOFTWARE (fc1) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2013 by Cisco Systems, Inc. +Compiled Mon 27-May-13 13:56 by mcpre + +IOS XE Version: 03.09.01.S + +Cisco IOS-XE software, Copyright (c) 2005-2013 by cisco Systems, Inc. +All rights reserved. Certain components of Cisco IOS-XE software are +licensed under the GNU General Public License ("GPL") Version 2.0. The +software code licensed under GPL Version 2.0 is free software that comes +with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such +GPL code under the terms of GPL Version 2.0. For more details, see the +documentation or "License Notice" file accompanying the IOS-XE software, +or the applicable URL provided on the flyer accompanying the IOS-XE +software. + + +ROM: IOS-XE ROMMON + +my_device uptime is 1 day, 15 hours, 32 minutes +Uptime for this control processor is 1 day, 15 hours, 34 minutes +System returned to ROM by reload at 22:55:31 MET-DST Fri Jul 25 2014 +System restarted at 23:02:42 MET-DST Fri Jul 25 2014 +System image file is "bootflash:asr1001-universalk9.03.09.01.S.153-2.S1.bin" +Last reload reason: LocalSoft + + + +This product contains cryptographic features and is subject to United +States and local country laws governing import, export, transfer and +use. Delivery of Cisco cryptographic products does not imply +third-party authority to import, export, distribute or use encryption. +Importers, exporters, distributors and users are responsible for +compliance with U.S. and local country laws. By using this product you +agree to comply with applicable laws and regulations. If you are unable +to comply with U.S. and local laws, return this product immediately. + +A summary of U.S. laws governing Cisco cryptographic products may be found at: +http://www.cisco.com/wwl/export/crypto/tool/stqrg.html + +If you require further assistance please contact us by sending email to +export@cisco.com. + +License Level: advipservices +License Type: Permanent +Next reload license Level: advipservices + +cisco ASR1001 (1RU) processor with 1133939K/6147K bytes of memory. +Processor board ID SSI1289001MH +4 Gigabit Ethernet interfaces +32768K bytes of non-volatile configuration memory. +4194304K bytes of physical memory. +7741439K bytes of eUSB flash at bootflash:. + +Configuration register is 0x2102 From d0103efc420c5c87d61326766217dd3324cf1691 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 27 Jul 2018 14:34:12 -0600 Subject: [PATCH 157/628] Added template for show ip eigrp topology --- .../cisco_ios_show_ip_eigrp_topology.template | 46 +++++++++++ templates/index | 1 + .../cisco_ios_show_ip_eigrp_topology.parsed | 79 +++++++++++++++++++ .../cisco_ios_show_ip_eigrp_topology.raw | 28 +++++++ 4 files changed, 154 insertions(+) create mode 100644 templates/cisco_ios_show_ip_eigrp_topology.template create mode 100644 tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed create mode 100644 tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.raw diff --git a/templates/cisco_ios_show_ip_eigrp_topology.template b/templates/cisco_ios_show_ip_eigrp_topology.template new file mode 100644 index 0000000000..14af0dd85f --- /dev/null +++ b/templates/cisco_ios_show_ip_eigrp_topology.template @@ -0,0 +1,46 @@ +Value Filldown PROCESS_ID (\d+) +Value Filldown ROUTER_ID (\d+\.\d+\.\d+\.\d+) +Value Required CODE (\S+) +Value ROUTE (\d+\.\d+\.\d+\.\d+) +Value MASK (\d+) +Value SUCCESSORS (\d+) +Value FD (\d+) +Value TAG (\d+) +Value List ADV_ROUTER (\d+\.\d+\.\d+\.\d+|\w+) +Value List OUT_INTERFACE (\S+) + +Start + # Captures Process ID and Router ID + ^.+AS\(${PROCESS_ID}\)/ID\(${ROUTER_ID}\) + # Skips over the code line that explains what each code means + ^Codes: + # Skips over the definitions for the codes + ^\s+\S+\s+-\s+ + # Matches a route and captures if ${TAG} is use for the route and then moves to Gateway section + ^${CODE}\s+${ROUTE}/${MASK},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD},\s+tag\s+is\s+${TAG} -> Gateway + # Matches a route and captures it and then moves to Gateway section + ^${CODE}\s+${ROUTE}/${MASK},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD} -> Gateway + # If it doesn't match anything above, this just acknowledges a new line + ^\s*$$ + # This will throw an error if there are no matches + ^. -> Error + +Gateway + # This captures the advertising router and outgoing interface + ^\s+via\s+${ADV_ROUTER},\s+${OUT_INTERFACE} + # This will not capture anything but if it encounters another route, it will continue and record what it already captured + ^\S+\s+(?:\d+(?:\.|)){4}/\d+,\s+\d+\s+successors -> Continue.Record + # These are the same as above and capture the next set of routes + ^${CODE}\s+${ROUTE}/${MASK},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD},\s+tag\s+is\s+${TAG} + ^${CODE}\s+${ROUTE}/${MASK},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD} + # If it encounters another AS/Router ID it will continue and record what it just captured + ^.+AS\(\d+\)/ID -> Continue.Record + # If it encounters it again, it will continue, but clear all captured data other than Filldown Values + ^.+AS\(\d+\)/ID -> Continue.Clearall + # It will start the process over again if it encounters a new process ID / router id + ^.+AS\(${PROCESS_ID}\)/ID\(${ROUTER_ID}\) + ^Codes: -> Start + # If it doesn't match anything above, this just acknowledges a new line + ^\s*$$ + # This will throw an error if there are no matches + ^. -> Error diff --git a/templates/index b/templates/index index 8b8e197716..020ca465cd 100644 --- a/templates/index +++ b/templates/index @@ -120,6 +120,7 @@ cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erfa cisco_ios_show_lldp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] det[[ail]] cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_ios_show_interfaces_status.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] +cisco_ios_show_ip_eigrp_topology.template, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] cisco_ios_show_ip_source_binding.template, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] cisco_ios_show_mac-address-table.template, .*, cisco_ios, sh[[ow]] m[[ac-address-table]] cisco_ios_show_ip_ospf_database.template, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed new file mode 100644 index 0000000000..62afce2d7f --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed @@ -0,0 +1,79 @@ +--- +parsed_sample: + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['TenGigabitEthernet1/1', 'TenGigabitEthernet2/1'] + route: "66.128.208.232" + mask: "32" + adv_router: ['10.254.11.9', '10.254.11.33'] + process_id: "100" + fd: "264448" + tag: "" + successors: "2" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['Port-channel10'] + route: "10.254.6.8" + mask: "30" + adv_router: ['10.254.6.14'] + process_id: "100" + fd: "1024" + tag: "" + successors: "1" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['TenGigabitEthernet1/1', 'TenGigabitEthernet2/1'] + route: "67.230.223.128" + mask: "28" + adv_router: ['10.254.11.9', '10.254.11.33'] + process_id: "100" + fd: "5632" + tag: "53471" + successors: "2" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['GigabitEthernet9/29'] + route: "10.255.10.5" + mask: "32" + adv_router: ['10.254.10.34'] + process_id: "100" + fd: "130816" + tag: "" + successors: "1" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['Port-channel3'] + route: "10.255.1.14" + mask: "32" + adv_router: ['10.254.1.34'] + process_id: "100" + fd: "128768" + tag: "" + successors: "1" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['TenGigabitEthernet3/3'] + route: "10.254.2.12" + mask: "30" + adv_router: ['10.254.2.22'] + process_id: "100" + fd: "768" + tag: "" + successors: "1" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['TenGigabitEthernet1/4', 'TenGigabitEthernet1/6', 'TenGigabitEthernet2/1', 'TenGigabitEthernet1/1', 'TenGigabitEthernet1/5', 'TenGigabitEthernet4/4', 'TenGigabitEthernet4/5', 'TenGigabitEthernet1/3'] + route: "10.255.11.4" + mask: "32" + adv_router: ['10.254.56.6', '10.254.55.6', '10.254.11.33', '10.254.11.9', '10.254.52.6', '10.254.4.10', '10.254.4.14', '10.254.54.6'] + process_id: "100" + fd: "128768" + tag: "" + successors: "4" diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.raw b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.raw new file mode 100644 index 0000000000..79d6455df6 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.raw @@ -0,0 +1,28 @@ +IP-EIGRP Topology Table for AS(100)/ID(10.255.11.6) + +Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, + r - reply Status, s - sia Status + +P 66.128.208.232/32, 2 successors, FD is 264448 + via 10.254.11.9, TenGigabitEthernet1/1 + via 10.254.11.33, TenGigabitEthernet2/1 +P 10.254.6.8/30, 1 successors, FD is 1024 + via 10.254.6.14, Port-channel10 +P 67.230.223.128/28, 2 successors, FD is 5632, tag is 53471 + via 10.254.11.9, TenGigabitEthernet1/1 + via 10.254.11.33, TenGigabitEthernet2/1 +P 10.255.10.5/32, 1 successors, FD is 130816 + via 10.254.10.34, GigabitEthernet9/29 +P 10.255.1.14/32, 1 successors, FD is 128768 + via 10.254.1.34, Port-channel3 +P 10.254.2.12/30, 1 successors, FD is 768 + via 10.254.2.22, TenGigabitEthernet3/3 +P 10.255.11.4/32, 4 successors, FD is 128768 + via 10.254.56.6, TenGigabitEthernet1/4 + via 10.254.55.6, TenGigabitEthernet1/6 + via 10.254.11.33, TenGigabitEthernet2/1 + via 10.254.11.9, TenGigabitEthernet1/1 + via 10.254.52.6, TenGigabitEthernet1/5 + via 10.254.4.10, TenGigabitEthernet4/4 + via 10.254.4.14, TenGigabitEthernet4/5 + via 10.254.54.6, TenGigabitEthernet1/3 From 3aeb90e3898f8007e78065d750af54f4bb70f9dd Mon Sep 17 00:00:00 2001 From: Gian Paolo Date: Sat, 25 Aug 2018 15:50:36 +0200 Subject: [PATCH 158/628] add cisco_wlc_ssh_show_ap_config_general --- ...co_wlc_ssh_show_ap_config_general.template | 54 ++++++++ templates/index | 1 + ...isco_wlc_ssh_show_ap_config_general.parsed | 28 ++++ .../cisco_wlc_ssh_show_ap_config_general.raw | 124 ++++++++++++++++++ 4 files changed, 207 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_ap_config_general.template create mode 100644 tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed create mode 100644 tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.raw diff --git a/templates/cisco_wlc_ssh_show_ap_config_general.template b/templates/cisco_wlc_ssh_show_ap_config_general.template new file mode 100644 index 0000000000..70aa7adf34 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_ap_config_general.template @@ -0,0 +1,54 @@ +Value IDENTIFIER (\d+) +Value NAME (\S+) +Value COUNTRYCODE (\S+) +Value MACADDRESS (\S+) +Value IPADDRESS (\S+) +Value NETMASK (\S+) +Value GATEWAY (\S+) +Value APGROUP (\S+) +Value PRIMARY_SWITCH_NAME (\S+) +Value PRIMARY_SWITCH_IP (\S+) +Value SECONDARY_SWITCH_NAME (\S+) +Value SECONDARY_SWITCH_IP (\S+) +Value TERTIARY_SWITCH_NAME (\S+) +Value TERTIARY_SWITCH_IP (\S+) +Value ADMINISTRATIVE_STATE (\S+) +Value OPERATION_STATE (\S+) +Value MODE (\S+) +Value MODEL (\S+) +Value IMAGE (\S+) +Value VERSION (\S+) +Value SERIAL_NUMBER (\S+) +Value FLEXCONNECT_VLAN_MODE (\S+) +Value UPTIME (.*) +Value LWAPP_UPTIME (.*) +Value JOIN_DATETIME (.*) +Value JOIN_TAKENTIME (.*) + +Start + ^Cisco AP Identifier\.*\s+${IDENTIFIER} + ^Cisco AP Name\.*\s+${NAME} + ^Country code\.*\s+${COUNTRYCODE} + ^MAC Address\.*\s+${MACADDRESS} + ^IP Address\.*\s+${IPADDRESS} + ^IP NetMask\.*\s+${NETMASK} + ^Gateway IP Addr\.*\s+${GATEWAY} + ^Cisco AP Group Name\.*\s+${APGROUP} + ^Primary Cisco Switch Name\.*\s+${PRIMARY_SWITCH_NAME} + ^Primary Cisco Switch IP Address\.*\s+${PRIMARY_SWITCH_IP} + ^Secondary Cisco Switch Name\.*\s+${SECONDARY_SWITCH_NAME} + ^Secondary Cisco Switch IP Address\.*\s+${SECONDARY_SWITCH_IP} + ^Tertiary Cisco Switch Name\.*\s+${TERTIARY_SWITCH_NAME} + ^Tertiary Cisco Switch IP Address\.*\s+${TERTIARY_SWITCH_IP} + ^Administrative State\s+\.*\s+${ADMINISTRATIVE_STATE} + ^Operation State\s+\.*\s+${OPERATION_STATE} + ^AP Mode \.*\s+${MODE} + ^AP Model\.*\s+${MODEL} + ^AP Image\.*\s+${IMAGE} + ^IOS Version\.*\s+${VERSION} + ^AP Serial Number\.*\s+${SERIAL_NUMBER} + ^FlexConnect Vlan mode :\.+\s+${FLEXCONNECT_VLAN_MODE} + ^AP Up Time\.*\s+${UPTIME} + ^AP LWAPP Up Time\.*\s+${LWAPP_UPTIME} + ^Join Date and Time\.*\s+${JOIN_DATETIME} + ^Join Taken Time\.*\s+${JOIN_TAKENTIME} -> Record \ No newline at end of file diff --git a/templates/index b/templates/index index 020ca465cd..2ba2c13999 100644 --- a/templates/index +++ b/templates/index @@ -203,6 +203,7 @@ cisco_nxos_show_fex.template, .*, cisco_nxos, sh[[ow]] fex cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf +cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] (\S+) cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] diff --git a/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed b/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed new file mode 100644 index 0000000000..01bd0cffd8 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed @@ -0,0 +1,28 @@ +--- +parsed_sample: +- administrative_state: ADMIN_ENABLED + apgroup: GROUP_PE + countrycode: IT + flexconnect_vlan_mode: Enabled + gateway: 10.1.1.254 + identifier: '111' + image: C2700-K9W8-M + ipaddress: 10.1.1.1 + join_datetime: Wed Jan 17 10:07:12 2018 + join_takentime: 0 days, 00 h 05 m 36 s + lwapp_uptime: 165 days, 11 h 03 m 33 s + macaddress: 00:62:ec:01:02:03 + mode: FlexConnect + model: AIR-CAP2702E-E-K9 + name: AP_test_01 + netmask: 255.255.255.0 + operation_state: REGISTERED + primary_switch_ip: 10.2.2.2 + primary_switch_name: WLC + secondary_switch_ip: Not + secondary_switch_name: '' + serial_number: FCEDDCCBBAA + tertiary_switch_ip: Not + tertiary_switch_name: '' + uptime: 248 days, 07 h 09 m 00 s + version: 15.3(3)JC9$ diff --git a/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.raw b/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.raw new file mode 100644 index 0000000000..0a8dd84eb2 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.raw @@ -0,0 +1,124 @@ +Cisco AP Identifier.............................. 111 +Cisco AP Name.................................... AP_test_01 +Country code..................................... IT - Italy +Regulatory Domain allowed by Country............. 802.11bg:-E 802.11a:-E +AP Country code.................................. IT - Italy +AP Regulatory Domain............................. -E +Switch Port Number .............................. 8 +MAC Address...................................... 00:62:ec:01:02:03 +IP Address Configuration......................... Static IP assigned +IP Address....................................... 10.1.1.1 +IP NetMask....................................... 255.255.255.0 +Gateway IP Addr.................................. 10.1.1.254 +Domain........................................... +Name Server...................................... 192.168.1.1 +NAT External IP Address.......................... None +CAPWAP Path MTU.................................. 1485 +DHCP Release Override............................ Disabled +Telnet State..................................... Globally Enabled +Ssh State........................................ Globally Enabled +Cisco AP Location................................ default location +Cisco AP Floor Label............................. 0 +Cisco AP Group Name.............................. GROUP_PE +Primary Cisco Switch Name........................ WLC +Primary Cisco Switch IP Address.................. 10.2.2.2 +Secondary Cisco Switch Name...................... +Secondary Cisco Switch IP Address................ Not Configured +Tertiary Cisco Switch Name....................... +Tertiary Cisco Switch IP Address................. Not Configured +Administrative State ............................ ADMIN_ENABLED +Operation State ................................. REGISTERED +Mirroring Mode .................................. Disabled +AP Mode ......................................... FlexConnect +Public Safety ................................... Disabled +AP SubMode ...................................... Not Configured +Rogue Detection ................................. Enabled +AP Vlan Trunking ................................ Enabled (Inherited) +AP Native Vlan ID: .............................. 1 (Inherited) +Remote AP Debug ................................. Disabled +Logging trap severity level ..................... emergencies +Logging syslog facility ......................... kern +S/W Version .................................... 8.2.164.0 +Boot Version ................................... 15.2.4.5 +Mini IOS Version ................................ 8.2.100.0 +Stats Reporting Period .......................... 180 +Stats Collection Mode ........................... normal +Radio Core Mode ................................. Disabled +Slub Debug Mode ................................. Disabled +LED State........................................ Enabled +PoE Pre-Standard Switch.......................... Disabled +PoE Power Injector MAC Addr...................... Disabled +Power Type/Mode.................................. PoE/Medium Power (15.4 W) +Number Of Slots.................................. 2 +AP Model......................................... AIR-CAP2702E-E-K9 +AP Image......................................... C2700-K9W8-M +IOS Version...................................... 15.3(3)JC9$ +Reset Button..................................... Enabled +AP Serial Number................................. FCEDDCCBBAA +AP Certificate Type.............................. Manufacture Installed +AP LAG Configuration Status ..................... Disabled +LAG Support for AP .............................. No +Native Vlan Inheritance: ........................ AP +FlexConnect Vlan mode :.......................... Enabled + Native ID :..................................... 1 + WLAN 13 :....................................... 3 (Wlan-Specific) + WLAN 46 :....................................... 13 (Wlan-Specific) + WLAN 70 :....................................... 254 (Wlan-Specific) +FlexConnect VLAN ACL Mappings +FlexConnect Group................................ Not a member of any group +Group VLAN ACL Mappings + + +Group VLAN Name to Id Mappings + Template in Modified State - apply it to see mappings + +AP-Specific FlexConnect Policy ACLs : +L2Acl Configuration ............................. Not Available +FlexConnect Local-Split ACLs : + +WLAN ID PROFILE NAME ACL TYPE +------- -------------------------------- --------------------------------- ------- + + Flexconnect Central-Dhcp Values : + +WLAN ID PROFILE NAME Central-Dhcp DNS Override Nat-Pat Type +------- --------------------------------- -------------- -------------- --------- ------ + 13 WLAN_13 False False False Wlan + 46 WLAN_46 False False False Wlan + 70 WLAN_70 False False False Wlan + +Flex AVC visibility Configurations.............. + +WlanId PROFILE NAME Inherit-level Visibility Flex Avc-profile +------- -------------------------------- ------------- ---------- -------------------------------- +13 WLAN_13 wlan-spec disable none +46 WLAN_46 wlan-spec disable none +70 WLAN_70 wlan-spec enable none + +FlexConnect Backup Auth Radius Servers : + Primary Radius Server........................... Disabled + Secondary Radius Server......................... Disabled +AP User Mode..................................... AUTOMATIC +AP User Name..................................... admin +AP Dot1x User Mode............................... Not Configured +AP Dot1x User Name............................... Not Configured +Cisco AP system logging host..................... 255.255.255.255 +AP Up Time....................................... 248 days, 07 h 09 m 00 s +AP LWAPP Up Time................................. 165 days, 11 h 03 m 33 s +Join Date and Time............................... Wed Jan 17 10:07:12 2018 +Join Taken Time.................................. 0 days, 00 h 05 m 36 s +Memory Type...................................... DDR3 +Memory Size...................................... 11839 KBytes +CPU Type......................................... PowerPC CPU at 800Mhz, revision number 0x2151 +Flash Type....................................... Onboard Flash +Flash Size....................................... 1564 KBytes +GPS Present...................................... NO +Ethernet Vlan Tag................................ Disabled +Ethernet Port Duplex............................. Auto +Ethernet Port Speed.............................. Auto +AP Link Latency.................................. Disabled +Rogue Detection.................................. Enabled +AP TCP MSS Adjust................................ Disabled +Hotspot Venue Group.............................. Unspecified +Hotspot Venue Type............................... Unspecified + DNS server IP ............................. 192.168.1.1 From 85d74e3dab6789604124c95f7db8104e652a22de Mon Sep 17 00:00:00 2001 From: Gian Paolo Date: Sat, 25 Aug 2018 17:02:11 +0200 Subject: [PATCH 159/628] fixed index --- templates/index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index b/templates/index index 2ba2c13999..da3c3e3d6a 100644 --- a/templates/index +++ b/templates/index @@ -203,8 +203,8 @@ cisco_nxos_show_fex.template, .*, cisco_nxos, sh[[ow]] fex cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf -cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] (\S+) cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] (\S+) cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] cisco_xr_show_controllers_HundredGigabitEthernet.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] From 488c1d77a497210ed1cb3fee81d7d98220961890 Mon Sep 17 00:00:00 2001 From: jmcgill Date: Mon, 15 Oct 2018 00:25:44 -0400 Subject: [PATCH 160/628] Fix Rebase and ensure all data is accounted --- ...co_wlc_ssh_show_ap_config_general.template | 124 ++++++++++-------- templates/index | 2 +- ...isco_wlc_ssh_show_ap_config_general.parsed | 17 +-- 3 files changed, 82 insertions(+), 61 deletions(-) diff --git a/templates/cisco_wlc_ssh_show_ap_config_general.template b/templates/cisco_wlc_ssh_show_ap_config_general.template index 70aa7adf34..d5dc294c48 100644 --- a/templates/cisco_wlc_ssh_show_ap_config_general.template +++ b/templates/cisco_wlc_ssh_show_ap_config_general.template @@ -1,54 +1,74 @@ -Value IDENTIFIER (\d+) -Value NAME (\S+) -Value COUNTRYCODE (\S+) -Value MACADDRESS (\S+) -Value IPADDRESS (\S+) -Value NETMASK (\S+) -Value GATEWAY (\S+) -Value APGROUP (\S+) -Value PRIMARY_SWITCH_NAME (\S+) -Value PRIMARY_SWITCH_IP (\S+) -Value SECONDARY_SWITCH_NAME (\S+) -Value SECONDARY_SWITCH_IP (\S+) -Value TERTIARY_SWITCH_NAME (\S+) -Value TERTIARY_SWITCH_IP (\S+) -Value ADMINISTRATIVE_STATE (\S+) -Value OPERATION_STATE (\S+) -Value MODE (\S+) -Value MODEL (\S+) -Value IMAGE (\S+) -Value VERSION (\S+) -Value SERIAL_NUMBER (\S+) -Value FLEXCONNECT_VLAN_MODE (\S+) -Value UPTIME (.*) -Value LWAPP_UPTIME (.*) -Value JOIN_DATETIME (.*) -Value JOIN_TAKENTIME (.*) +Value IDENTIFIER (.+?) +Value NAME (.+?) +Value COUNTRY_CODE (\S+) +Value COUNTRY (.+?) +Value MAC (.+?) +Value IP (.+?) +Value NETMASK (.+?) +Value GATEWAY (.+?) +Value AP_GROUP (.+?) +Value PRIMARY_SWITCH_NAME (.+?) +Value PRIMARY_SWITCH_IP (.+?) +Value SECONDARY_SWITCH_NAME (.+?) +Value SECONDARY_SWITCH_IP (.+?) +Value TERTIARY_SWITCH_NAME (.+?) +Value TERTIARY_SWITCH_IP (.+?) +Value ADMINISTRATIVE_STATE (.+?) +Value OPERATION_STATE (.+?) +Value MODE (.+?) +Value MODEL (.+?) +Value IMAGE (.+?) +Value VERSION (.+?) +Value SERIAL_NUMBER (.+?) +Value FLEXCONNECT_VLAN_MODE (.+?) +Value UPTIME (.+?) +Value LWAPP_UPTIME (.+?) +Value JOIN_DATE_TIME (.+?) +Value JOIN_TAKEN_TIME (.+?) Start - ^Cisco AP Identifier\.*\s+${IDENTIFIER} - ^Cisco AP Name\.*\s+${NAME} - ^Country code\.*\s+${COUNTRYCODE} - ^MAC Address\.*\s+${MACADDRESS} - ^IP Address\.*\s+${IPADDRESS} - ^IP NetMask\.*\s+${NETMASK} - ^Gateway IP Addr\.*\s+${GATEWAY} - ^Cisco AP Group Name\.*\s+${APGROUP} - ^Primary Cisco Switch Name\.*\s+${PRIMARY_SWITCH_NAME} - ^Primary Cisco Switch IP Address\.*\s+${PRIMARY_SWITCH_IP} - ^Secondary Cisco Switch Name\.*\s+${SECONDARY_SWITCH_NAME} - ^Secondary Cisco Switch IP Address\.*\s+${SECONDARY_SWITCH_IP} - ^Tertiary Cisco Switch Name\.*\s+${TERTIARY_SWITCH_NAME} - ^Tertiary Cisco Switch IP Address\.*\s+${TERTIARY_SWITCH_IP} - ^Administrative State\s+\.*\s+${ADMINISTRATIVE_STATE} - ^Operation State\s+\.*\s+${OPERATION_STATE} - ^AP Mode \.*\s+${MODE} - ^AP Model\.*\s+${MODEL} - ^AP Image\.*\s+${IMAGE} - ^IOS Version\.*\s+${VERSION} - ^AP Serial Number\.*\s+${SERIAL_NUMBER} - ^FlexConnect Vlan mode :\.+\s+${FLEXCONNECT_VLAN_MODE} - ^AP Up Time\.*\s+${UPTIME} - ^AP LWAPP Up Time\.*\s+${LWAPP_UPTIME} - ^Join Date and Time\.*\s+${JOIN_DATETIME} - ^Join Taken Time\.*\s+${JOIN_TAKENTIME} -> Record \ No newline at end of file + ^Cisco\s+AP\s+Identifier\.*\s+${IDENTIFIER}\s*$$ + ^Cisco\s+AP\s+Name\.*\s+${NAME}\s*$$ + ^Country\s+code\.*\s+${COUNTRY_CODE}\s+-\s+${COUNTRY}\s*$$ + ^MAC\s+Address\.*\s+${MAC}\s*$$ + ^IP\s+Address\.*\s+${IP}\s*$$ + ^IP\s+NetMask\.*\s+${NETMASK}\s*$$ + ^Gateway\s+IP\s+Addr\.*\s+${GATEWAY}\s*$$ + ^Cisco\s+AP\s+Group\s+Name\.*\s+${AP_GROUP}\s*$$ + ^Primary\s+Cisco\s+Switch\s+Name\.*\s+${PRIMARY_SWITCH_NAME}\s*$$ + ^Primary\s+Cisco\s+Switch\s+IP\s+Address\.*\s+${PRIMARY_SWITCH_IP}\s*$$ + ^Secondary\s+Cisco\s+Switch\s+Name\.*\s+${SECONDARY_SWITCH_NAME}\s*$$ + ^Secondary\s+Cisco\s+Switch\s+IP\s+Address\.*\s+${SECONDARY_SWITCH_IP}\s*$$ + ^Tertiary\s+Cisco\s+Switch\s+Name\.*\s+${TERTIARY_SWITCH_NAME}\s*$$ + ^Tertiary\s+Cisco\s+Switch\s+IP\s+Address\.*\s+${TERTIARY_SWITCH_IP}\s*$$ + ^Administrative\s+State\s+\.*\s+${ADMINISTRATIVE_STATE}\s*$$ + ^Operation\s+State\s+\.*\s+${OPERATION_STATE}\s*$$ + ^AP\s+Mode\s+\.*\s+${MODE}\s*$$ + ^AP\s+Model\.*\s+${MODEL}\s*$$ + ^AP\s+Image\.*\s+${IMAGE}\s*$$ + ^IOS\s+Version\.*\s+${VERSION}\s*$$ + ^AP\s+Serial\s+Number\.*\s+${SERIAL_NUMBER}\s*$$ + ^FlexConnect\s+Vlan\s+mode\s+:\.+\s+${FLEXCONNECT_VLAN_MODE}\s*$$ + ^AP\s+Up\s+Time\.*\s+${UPTIME}\s*$$ + ^AP\s+LWAPP\s+Up\s+Time\.*\s+${LWAPP_UPTIME}\s*$$ + ^Join\s+Date\s+and\s+Time\.*\s+${JOIN_DATE_TIME}\s*$$ + ^Join\s+Taken\s+Time\.*\s+${JOIN_TAKEN_TIME}\s*$$ -> Record + ^.+\.+ + ^-+ + ^\s*$$ + ^\S+\s+VLAN.+Mappings + ^\s+Template\s+in\s+ + ^AP-Specific\s+FlexConnect + ^FlexConnect\s+Local-Split + ^WLAN\s+ID\s+PROFILE\s+NAME\s+ACL\s+TYPE\s*$$ + ^\s+Flexconnect\s+Central-Dhcp + ^WLAN\s+ID\s+PROFILE NAME\s+Central-Dhcp\s+DNS\s+Override\s+Nat-Pat\s+Type\s*$$ + ^\s+\d+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s*$$ + ^\s+\d+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s*$$ + ^\s+\d+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s*$$ + ^WlanId\s+PROFILE NAME\s+Inherit-level\s+Visibility\s+Flex\s+Avc-profile\s*$$ + ^\d+\s+\S+\s+\S+\s+\S+\s+\S+\s*$$ + ^\d+\s+\S+\s+\S+\s+\S+\s+\S+\s*$$ + ^\d+\s+\S+\s+\S+\s+\S+\s+\S+\s*$$ + ^FlexConnect\s+Backup\s+Auth + ^. -> Error diff --git a/templates/index b/templates/index index da3c3e3d6a..f0f5e3f3c4 100644 --- a/templates/index +++ b/templates/index @@ -204,7 +204,7 @@ cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] -cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] (\S+) +cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] cisco_xr_show_controllers_HundredGigabitEthernet.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] diff --git a/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed b/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed index 01bd0cffd8..3bb9293ec3 100644 --- a/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed +++ b/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed @@ -1,17 +1,18 @@ --- parsed_sample: - administrative_state: ADMIN_ENABLED - apgroup: GROUP_PE - countrycode: IT + ap_group: GROUP_PE + country_code: IT + country: Italy flexconnect_vlan_mode: Enabled gateway: 10.1.1.254 identifier: '111' image: C2700-K9W8-M - ipaddress: 10.1.1.1 - join_datetime: Wed Jan 17 10:07:12 2018 - join_takentime: 0 days, 00 h 05 m 36 s + ip: 10.1.1.1 + join_date_time: Wed Jan 17 10:07:12 2018 + join_taken_time: 0 days, 00 h 05 m 36 s lwapp_uptime: 165 days, 11 h 03 m 33 s - macaddress: 00:62:ec:01:02:03 + mac: 00:62:ec:01:02:03 mode: FlexConnect model: AIR-CAP2702E-E-K9 name: AP_test_01 @@ -19,10 +20,10 @@ parsed_sample: operation_state: REGISTERED primary_switch_ip: 10.2.2.2 primary_switch_name: WLC - secondary_switch_ip: Not + secondary_switch_ip: Not Configured secondary_switch_name: '' serial_number: FCEDDCCBBAA - tertiary_switch_ip: Not + tertiary_switch_ip: Not Configured tertiary_switch_name: '' uptime: 248 days, 07 h 09 m 00 s version: 15.3(3)JC9$ From 6232166292ed2da7285c52476dbffc9724a15da8 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Tue, 23 Oct 2018 12:51:56 -0400 Subject: [PATCH 161/628] CISCO ASA SHOW FAILOVER: Update parsers to account for new data --- templates/cisco_asa_show_failover.template | 28 ++++++----- .../cisco_asa_show_failover2.parsed | 33 +++++++++++++ .../cisco_asa_show_failover2.raw | 48 +++++++++++++++++++ 3 files changed, 97 insertions(+), 12 deletions(-) create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw diff --git a/templates/cisco_asa_show_failover.template b/templates/cisco_asa_show_failover.template index bd3d8f158a..7038de3926 100644 --- a/templates/cisco_asa_show_failover.template +++ b/templates/cisco_asa_show_failover.template @@ -36,8 +36,8 @@ Start ^Failover\s+LAN\s+Interface:\s+${LAN_INTF_NAME}\s+${LAN_INTF}\s+\(${LAN_INTF_STATE}\)\s*$$ ^Version:\s+Ours\s+${SW_VERSION},\s+Mate\s+${SW_VERSION_MATE}\s*$$ ^(?:Group\s+${FAILOVER_GROUP}\s+|)[Ll]ast\s+[Ff]ailover\s+at:\s+${LAST_FAILOVER_TIME}\s+${LAST_FAILOVER_TIMEZONE}\s+${LAST_FAILOVER_MONTH}\s+${LAST_FAILOVER_DAY}\s+${LAST_FAILOVER_YEAR}\s*$$ - ^This\s+host:.+?-\s+${SERVICE}\s*${SERVICE_STATE}\s*$$ -> ThisHost - ^This\s+host:\s+\S+\s*$$ -> ThisHost + ^\s*This\s+host:.+?-\s+${SERVICE}\s*${SERVICE_STATE}\s*$$ -> ThisHost + ^\s*This\s+host:\s+\S+\s*$$ -> ThisHost ^Reconnect\s+timeout ^Unit\s+Poll\s+frequency ^Interface\s+Poll\s+frequency @@ -51,21 +51,25 @@ Start ThisHost ^Group\s+\d+\s+State:\s+${SERVICE}\s*${SERVICE_STATE}\s*$$ - ^Active\s+time - ^slot\s+${SSP_SLOT}:\s+${SSP_MODEL}\s+.+?status\s+\(${SSP_STATUS}.*?\)\s*$$ - ^(${INTERFACES_CONTEXT}\s+|)Interface\s+${INTERFACES}.+?:\s+${INTERFACES_STATUS}(?:\s+\(${INTERFACES_STATE}\)|)\s*$$ - ^Other\s+host:.+?-\s+${SERVICE_MATE}\s*${SERVICE_STATE_MATE}\s*$$ -> OtherHost - ^Other\s+host:\s+\S+\s*$$ -> OtherHost - ^slot\s+\d+:\s+empty\s*$$ + ^\s*Active\s+time + ^\s*slot\s+${SSP_SLOT}:\s+${SSP_MODEL}\s+.+?status\s+\(${SSP_STATUS}.*?\)\s*$$ + ^\s*(${INTERFACES_CONTEXT}\s+|)Interface\s+${INTERFACES}.+?:\s+${INTERFACES_STATUS}(?:\s+\(${INTERFACES_STATE}\)|)\s*$$ + # Service module has different line + ^\s*\S+,\s+\S+,\s+\S+\s*$$ + ^\s*Other\s+host:.+?-\s+${SERVICE_MATE}\s*${SERVICE_STATE_MATE}\s*$$ -> OtherHost + ^\s*Other\s+host:\s+\S+\s*$$ -> OtherHost + ^\s*slot\s+\d+:\s+empty\s*$$ ^\s*$$ ^. -> Error OtherHost ^Group\s+\d+\s+State:\s+${SERVICE_MATE}\s*${SERVICE_STATE_MATE}\s*$$ - ^Active\s+time - ^slot\s+${SSP_SLOT_MATE}:\s+${SSP_MODEL_MATE}\s+.+?status\s+\(${SSP_STATUS_MATE}.*?\)\s*$$ - ^(${INTERFACES_CONTEXT_MATE}\s+|)Interface\s+${INTERFACES_MATE}.+?:\s+${INTERFACES_STATUS_MATE}(?:\s+\(${INTERFACES_STATE_MATE}\)|)\s*$$ - ^slot\s+\d+:\s+empty\s*$$ + ^\s*Active\s+time + ^\s*slot\s+${SSP_SLOT_MATE}:\s+${SSP_MODEL_MATE}\s+.+?status\s+\(${SSP_STATUS_MATE}.*?\)\s*$$ + ^\s*(${INTERFACES_CONTEXT_MATE}\s+|)Interface\s+${INTERFACES_MATE}.+?:\s+${INTERFACES_STATUS_MATE}(?:\s+\(${INTERFACES_STATE_MATE}\)|)\s*$$ + # Service module has different line + ^\s*\S+,\s+\S+,\s+\S+\s*$$ + ^\s*slot\s+\d+:\s+empty\s*$$ ^Stateful\s+Failover\s+Logical\s+Update\s+Statistics\s*$$ -> Stats ^\s*$$ ^. -> Error diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed new file mode 100644 index 0000000000..dc6e2f7c91 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed @@ -0,0 +1,33 @@ +--- +parsed_sample: + - state: "On" + role: "Primary" + lan_intf_name: "failover" + lan_intf: "GigabitEthernet0/5" + lan_intf_state: "up" + sw_version: "8.6(1)2" + sw_version_mate: "8.6(1)2" + failover_group: [None] + last_failover_time: ["19:14:57"] + last_failover_timezone: ["UTC"] + last_failover_month: ["Oct"] + last_failover_day: ["17"] + last_failover_year: ["2018"] + service: ["Active"] + service_state: [""] + service_mate: ["Standby"] + service_state_mate: ["Ready"] + ssp_slot: ["0", "1"] + ssp_model: ["ASA5512", "IPS5512"] + ssp_status: ["Up", "Up/Up"] + ssp_slot_mate: ["0", "1"] + ssp_model_mate: ["ASA5512", "IPS5512"] + ssp_status_mate: ["Up", "Unresponsive/Up"] + interfaces_context: [None] + interfaces: ["management"] + interfaces_status: ["Normal"] + interfaces_state: ["Monitored"] + interfaces_context_mate: [None] + interfaces_mate: ["management"] + interfaces_status_mate: ["Normal"] + interfaces_state_mate: ["Monitored"] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw new file mode 100644 index 0000000000..a896c3102f --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw @@ -0,0 +1,48 @@ +Failover On +Failover unit Primary +Failover LAN Interface: failover GigabitEthernet0/5 (up) +Unit Poll frequency 1 seconds, holdtime 15 seconds +Interface Poll frequency 5 seconds, holdtime 25 seconds +Interface Policy 1 +Monitored Interfaces 1 of 114 maximum +Version: Ours 8.6(1)2, Mate 8.6(1)2 +Last Failover at: 19:14:57 UTC Oct 17 2018 + This host: Primary - Active + Active time: 1400954 (sec) + slot 0: ASA5512 hw/sw rev (1.0/8.6(1)2) status (Up Sys) + Interface management (10.10.20.21): Normal (Monitored) + slot 1: IPS5512 hw/sw rev (N/A/7.2(1)E4) status (Up/Up) + IPS, 7.2(1)E4, Up + Other host: Secondary - Standby Ready + Active time: 5065841 (sec) + slot 0: ASA5512 hw/sw rev (1.0/8.6(1)2) status (Up Sys) + Interface management (10.10.20.22): Normal (Monitored) + slot 1: IPS5512 hw/sw rev (N/A/) status (Unresponsive/Up) + +Stateful Failover Logical Update Statistics + Link : failover GigabitEthernet0/5 (up) + Stateful Obj xmit xerr rcv rerr + General 870845 0 898543 0 + sys cmd 862300 0 862300 0 + up time 0 0 0 0 + RPC services 0 0 0 0 + TCP conn 0 0 0 0 + UDP conn 0 0 0 0 + ARP tbl 8544 0 36243 0 + Xlate_Timeout 0 0 0 0 + IPv6 ND tbl 0 0 0 0 + VPN IKEv1 SA 0 0 0 0 + VPN IKEv1 P2 0 0 0 0 + VPN IKEv2 SA 0 0 0 0 + VPN IKEv2 P2 0 0 0 0 + VPN CTCP upd 0 0 0 0 + VPN SDI upd 0 0 0 0 + VPN DHCP upd 0 0 0 0 + SIP Session 0 0 0 0 + Route Session 0 0 0 0 + User-Identity 1 0 0 0 + + Logical Update Queue Information + Cur Max Total + Recv Q: 0 11 6808699 + Xmit Q: 0 29 2505264 From df96be6f7e5bbb7dc96c7bafc7e5e9932c6781f7 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Wed, 24 Oct 2018 08:15:51 -0400 Subject: [PATCH 162/628] Account for device 'Not Ready' --- templates/cisco_asa_show_failover.template | 4 ++-- tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed | 2 +- tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/cisco_asa_show_failover.template b/templates/cisco_asa_show_failover.template index 7038de3926..c6ceedce84 100644 --- a/templates/cisco_asa_show_failover.template +++ b/templates/cisco_asa_show_failover.template @@ -12,9 +12,9 @@ Value List LAST_FAILOVER_MONTH (\w+) Value List LAST_FAILOVER_DAY (\d+) Value List LAST_FAILOVER_YEAR (\d+) Value List SERVICE (\S+) -Value List SERVICE_STATE (\S+|) +Value List SERVICE_STATE (.*?) Value List SERVICE_MATE (\S+) -Value List SERVICE_STATE_MATE (\S+|) +Value List SERVICE_STATE_MATE (.*?) Value List SSP_SLOT (\d+) Value List SSP_MODEL (\S+) Value List SSP_STATUS (\S+) diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed index dc6e2f7c91..22331b8aa2 100644 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed @@ -16,7 +16,7 @@ parsed_sample: service: ["Active"] service_state: [""] service_mate: ["Standby"] - service_state_mate: ["Ready"] + service_state_mate: ["Not Ready"] ssp_slot: ["0", "1"] ssp_model: ["ASA5512", "IPS5512"] ssp_status: ["Up", "Up/Up"] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw index a896c3102f..b08871300e 100644 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw @@ -13,7 +13,7 @@ Last Failover at: 19:14:57 UTC Oct 17 2018 Interface management (10.10.20.21): Normal (Monitored) slot 1: IPS5512 hw/sw rev (N/A/7.2(1)E4) status (Up/Up) IPS, 7.2(1)E4, Up - Other host: Secondary - Standby Ready + Other host: Secondary - Standby Not Ready Active time: 5065841 (sec) slot 0: ASA5512 hw/sw rev (1.0/8.6(1)2) status (Up Sys) Interface management (10.10.20.22): Normal (Monitored) From 55758bbfdd24f17631f75cf85313826d8383f171 Mon Sep 17 00:00:00 2001 From: jmcgill Date: Fri, 26 Oct 2018 00:29:58 -0400 Subject: [PATCH 163/628] CISCO_ASA_SH_FAIL: Update 'SERVICE_STATE' groups to conform to Cisco's teminology in order to properly gather data --- templates/cisco_asa_show_failover.template | 10 ++++------ .../show_failover/cisco_asa_show_failover.parsed | 6 ++---- .../show_failover/cisco_asa_show_failover2.parsed | 6 ++---- .../show_failover/cisco_asa_show_failover2.raw | 2 +- .../show_failover/cisco_asa_show_failover5505.parsed | 6 ++---- .../cisco_asa_show_failoveractiveactive.parsed | 6 ++---- 6 files changed, 13 insertions(+), 23 deletions(-) diff --git a/templates/cisco_asa_show_failover.template b/templates/cisco_asa_show_failover.template index c6ceedce84..0201df6f03 100644 --- a/templates/cisco_asa_show_failover.template +++ b/templates/cisco_asa_show_failover.template @@ -11,9 +11,7 @@ Value List LAST_FAILOVER_TIMEZONE (\w+) Value List LAST_FAILOVER_MONTH (\w+) Value List LAST_FAILOVER_DAY (\d+) Value List LAST_FAILOVER_YEAR (\d+) -Value List SERVICE (\S+) Value List SERVICE_STATE (.*?) -Value List SERVICE_MATE (\S+) Value List SERVICE_STATE_MATE (.*?) Value List SSP_SLOT (\d+) Value List SSP_MODEL (\S+) @@ -36,7 +34,7 @@ Start ^Failover\s+LAN\s+Interface:\s+${LAN_INTF_NAME}\s+${LAN_INTF}\s+\(${LAN_INTF_STATE}\)\s*$$ ^Version:\s+Ours\s+${SW_VERSION},\s+Mate\s+${SW_VERSION_MATE}\s*$$ ^(?:Group\s+${FAILOVER_GROUP}\s+|)[Ll]ast\s+[Ff]ailover\s+at:\s+${LAST_FAILOVER_TIME}\s+${LAST_FAILOVER_TIMEZONE}\s+${LAST_FAILOVER_MONTH}\s+${LAST_FAILOVER_DAY}\s+${LAST_FAILOVER_YEAR}\s*$$ - ^\s*This\s+host:.+?-\s+${SERVICE}\s*${SERVICE_STATE}\s*$$ -> ThisHost + ^\s*This\s+host:.+?-\s+${SERVICE_STATE}\s*$$ -> ThisHost ^\s*This\s+host:\s+\S+\s*$$ -> ThisHost ^Reconnect\s+timeout ^Unit\s+Poll\s+frequency @@ -50,20 +48,20 @@ Start ^. -> Error ThisHost - ^Group\s+\d+\s+State:\s+${SERVICE}\s*${SERVICE_STATE}\s*$$ + ^Group\s+\d+\s+State:\s*${SERVICE_STATE}\s*$$ ^\s*Active\s+time ^\s*slot\s+${SSP_SLOT}:\s+${SSP_MODEL}\s+.+?status\s+\(${SSP_STATUS}.*?\)\s*$$ ^\s*(${INTERFACES_CONTEXT}\s+|)Interface\s+${INTERFACES}.+?:\s+${INTERFACES_STATUS}(?:\s+\(${INTERFACES_STATE}\)|)\s*$$ # Service module has different line ^\s*\S+,\s+\S+,\s+\S+\s*$$ - ^\s*Other\s+host:.+?-\s+${SERVICE_MATE}\s*${SERVICE_STATE_MATE}\s*$$ -> OtherHost + ^\s*Other\s+host:.+?-\s+${SERVICE_STATE_MATE}\s*$$ -> OtherHost ^\s*Other\s+host:\s+\S+\s*$$ -> OtherHost ^\s*slot\s+\d+:\s+empty\s*$$ ^\s*$$ ^. -> Error OtherHost - ^Group\s+\d+\s+State:\s+${SERVICE_MATE}\s*${SERVICE_STATE_MATE}\s*$$ + ^Group\s+\d+\s+State:\s*${SERVICE_STATE_MATE}\s*$$ ^\s*Active\s+time ^\s*slot\s+${SSP_SLOT_MATE}:\s+${SSP_MODEL_MATE}\s+.+?status\s+\(${SSP_STATUS_MATE}.*?\)\s*$$ ^\s*(${INTERFACES_CONTEXT_MATE}\s+|)Interface\s+${INTERFACES_MATE}.+?:\s+${INTERFACES_STATUS_MATE}(?:\s+\(${INTERFACES_STATE_MATE}\)|)\s*$$ diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed index 113296b0c2..fc02dfe8b3 100644 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed @@ -13,10 +13,8 @@ parsed_sample: last_failover_month: ["Apr"] last_failover_day: ["26"] last_failover_year: ["2017"] - service: ["Active"] - service_state: [""] - service_mate: ["Standby"] - service_state_mate: ["Ready"] + service_state: ["Active"] + service_state_mate: ["Standby Ready"] ssp_slot: ["0"] ssp_model: ["ASA5585-SSP-10"] ssp_status: ["Up"] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed index 22331b8aa2..f5de40d77f 100644 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed @@ -13,10 +13,8 @@ parsed_sample: last_failover_month: ["Oct"] last_failover_day: ["17"] last_failover_year: ["2018"] - service: ["Active"] - service_state: [""] - service_mate: ["Standby"] - service_state_mate: ["Not Ready"] + service_state: ["Active"] + service_state_mate: ["Failed"] ssp_slot: ["0", "1"] ssp_model: ["ASA5512", "IPS5512"] ssp_status: ["Up", "Up/Up"] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw index b08871300e..a4c98a6810 100644 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw @@ -13,7 +13,7 @@ Last Failover at: 19:14:57 UTC Oct 17 2018 Interface management (10.10.20.21): Normal (Monitored) slot 1: IPS5512 hw/sw rev (N/A/7.2(1)E4) status (Up/Up) IPS, 7.2(1)E4, Up - Other host: Secondary - Standby Not Ready + Other host: Secondary - Failed Active time: 5065841 (sec) slot 0: ASA5512 hw/sw rev (1.0/8.6(1)2) status (Up Sys) Interface management (10.10.20.22): Normal (Monitored) diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed index 90774eda12..ad0362771d 100644 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed @@ -13,10 +13,8 @@ parsed_sample: last_failover_month: ["Apr"] last_failover_day: ["6"] last_failover_year: ["2006"] - service: ["Active"] - service_state: [""] - service_mate: ["Standby"] - service_state_mate: ["Ready"] + service_state: ["Active"] + service_state_mate: ["Standby Ready"] ssp_slot: ["0"] ssp_model: ["ASA5505"] ssp_status: ["Up"] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed index 1988dc98d8..1833edb05d 100644 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed @@ -13,10 +13,8 @@ parsed_sample: last_failover_month: ["Dec", "Dec"] last_failover_day: ["9", "9"] last_failover_year: ["2004", "2004"] - service: ["Active", "Standby"] - service_state: ["", "Ready"] - service_mate: ["Standby", "Active"] - service_state_mate: ["Ready", ""] + service_state: ["Active", "Standby Ready"] + service_state_mate: ["Standby Ready", "Active"] ssp_slot: ["0"] ssp_model: ["ASA-5545"] ssp_status: ["Up"] From 31392005c1ef48f5f6698976fd0938a735eb6404 Mon Sep 17 00:00:00 2001 From: jmcgill Date: Fri, 26 Oct 2018 01:45:16 -0400 Subject: [PATCH 164/628] Reverse 'REMOTE_PORT' and 'LOCAL_PORT' Groups --- ...isco_xr_show_cdp_neighbors_detail.template | 4 +- .../cisco_xr_show_cdp_neighbors_detail.parsed | 86 +++++++++---------- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/templates/cisco_xr_show_cdp_neighbors_detail.template b/templates/cisco_xr_show_cdp_neighbors_detail.template index 0009a268ff..1ea80985d4 100644 --- a/templates/cisco_xr_show_cdp_neighbors_detail.template +++ b/templates/cisco_xr_show_cdp_neighbors_detail.template @@ -12,8 +12,8 @@ Start ^SysName : ${SYSNAME} ^Entry address\(es\): -> GetIP ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES} - ^Interface: ${REMOTE_PORT} - ^Port ID \(outgoing port\): ${LOCAL_PORT} + ^Interface: ${LOCAL_PORT} + ^Port ID \(outgoing port\): ${REMOTE_PORT} ^Version : -> GetVersion GetIP diff --git a/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed b/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed index 1cc5b1992f..1cea7eb09f 100644 --- a/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed +++ b/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed @@ -2,36 +2,36 @@ parsed_sample: - dest_host: nyc-dc-dcm005.ntc.com - local_port: GigabitEthernet1/9 + local_port: MgmtEth0/RSP0/CPU0/0 mgmt_ip: 10.100.1.54 platform: cisco WS-C4948E - remote_port: MgmtEth0/RSP0/CPU0/0 + remote_port: GigabitEthernet1/9 sysname: '' version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), Version 15.0(2)SG10, RELEASE SOFTWARE (fc1) capabilities: "Router Switch IGMP" - dest_host: nyc-dc-dcm006.ntc.com - local_port: GigabitEthernet1/9 + local_port: MgmtEth0/RSP1/CPU0/0 mgmt_ip: 10.100.1.55 platform: cisco WS-C4948E - remote_port: MgmtEth0/RSP1/CPU0/0 + remote_port: GigabitEthernet1/9 sysname: '' version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), Version 15.0(2)SG10, RELEASE SOFTWARE (fc1) capabilities: "Router Switch IGMP" - dest_host: nyc-dc-c90.ntc.com - local_port: FortyGigE0/0/0/2 + local_port: FortyGigE0/0/1/0 mgmt_ip: 10.100.100.141 platform: cisco CRS - remote_port: FortyGigE0/0/1/0 + remote_port: FortyGigE0/0/0/2 sysname: nyc-dc-c90.ntc.com version: Cisco IOS XR Software, Version 5.1.2[Default] capabilities: "Router Switch IGMP" - dest_host: nyc-dc-d02.ntc.com(FXS182XXXXX) - local_port: Ethernet6/1 + local_port: FortyGigE0/0/1/1 mgmt_ip: 10.100.100.162 platform: N77-C7706 - remote_port: FortyGigE0/0/1/1 + remote_port: Ethernet6/1 sysname: nyc-dc-d02 version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) capabilities: "Router Switch" @@ -44,10 +44,10 @@ parsed_sample: version: Cisco IOS XR Software, Version 5.3.4[Default] capabilities: "Router" - dest_host: nyc-dc-c91.ntc.com - local_port: FortyGigE0/0/0/2 + local_port: FortyGigE0/0/0/1 mgmt_ip: 10.100.100.125 platform: cisco CRS - remote_port: FortyGigE0/0/0/1 + remote_port: FortyGigE0/0/0/2 sysname: nyc-dc-c91.ntc.com version: Cisco IOS XR Software, Version 5.1.2[Default] capabilities: "Router" @@ -60,124 +60,124 @@ parsed_sample: version: Cisco IOS XR Software, Version 5.3.4[Default] capabilities: "Router" - dest_host: nyc-dc-d03.ntc.com(FXS182XXXXX) - local_port: Ethernet6/1 + local_port: FortyGigE0/1/0/1 mgmt_ip: 10.100.100.190 platform: N77-C7706 - remote_port: FortyGigE0/1/0/1 + remote_port: Ethernet6/1 sysname: nyc-dc-d03 version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) capabilities: "Router Switch" - dest_host: nyc-dc-c90.ntc.com - local_port: FortyGigE0/4/0/2 + local_port: FortyGigE0/1/1/0 mgmt_ip: 10.100.100.145 platform: cisco CRS - remote_port: FortyGigE0/1/1/0 + remote_port: FortyGigE0/4/0/2 sysname: nyc-dc-c90.ntc.com version: Cisco IOS XR Software, Version 5.1.2[Default] capabilities: "Router" - dest_host: nyc-dc-z50a.ntc.com(JAF18XXXXX) - local_port: Ethernet4/3 + local_port: FortyGigE0/1/1/1 mgmt_ip: 10.100.100.116 platform: N77-C7710 - remote_port: FortyGigE0/1/1/1 + remote_port: Ethernet4/3 sysname: nyc-dc-z50a version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) capabilities: "Router Switch" - dest_host: nyc-dc-d04.ntc.com(FXS18XXXXXX) - local_port: Ethernet6/1 + local_port: FortyGigE0/2/1/0 mgmt_ip: 10.100.100.194 platform: N77-C7706 - remote_port: FortyGigE0/2/1/0 + remote_port: Ethernet6/1 sysname: nyc-dc-d04 version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) capabilities: "Router Switch" - dest_host: nyc-dc-c91.ntc.com - local_port: FortyGigE0/4/0/2 + local_port: FortyGigE0/2/1/1 mgmt_ip: 10.100.100.129 platform: cisco CRS - remote_port: FortyGigE0/2/1/1 + remote_port: FortyGigE0/4/0/2 sysname: nyc-dc-c91.ntc.com version: Cisco IOS XR Software, Version 5.1.2[Default] capabilities: "Router" - dest_host: nyc-dc-d01.ntc.com(FXS182XXXXX) - local_port: Ethernet6/1 + local_port: FortyGigE0/2/0/0 mgmt_ip: 10.100.100.158 platform: N77-C7706 - remote_port: FortyGigE0/2/0/0 + remote_port: Ethernet6/1 sysname: nyc-dc-d01 version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) capabilities: "Router Switch" - dest_host: nyc-dc-z50b.ntc.com(JAF181XXXXX) - local_port: Ethernet4/3 + local_port: FortyGigE0/2/0/1 mgmt_ip: 10.100.100.111 platform: N77-C7710 - remote_port: FortyGigE0/2/0/1 + remote_port: Ethernet4/3 sysname: nyc-dc-z50b version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) capabilities: "Router Switch" - dest_host: nyc-dc-dcc001.ntc.com - local_port: TenGigabitEthernet6/1 + local_port: TenGigE0/3/0/0 mgmt_ip: 10.100.100.174 platform: cisco WS-C4510R+E - remote_port: TenGigE0/3/0/0 + remote_port: TenGigabitEthernet6/1 sysname: '' version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), Version 15.2(2)E3, RELEASE SOFTWARE (fc3) capabilities: "Router Switch IGMP" - dest_host: nyc-dc-d57 - local_port: TenGigE0/2/0/0 + local_port: TenGigE0/3/0/1 mgmt_ip: 10.100.100.115 platform: cisco ASR9K Series - remote_port: TenGigE0/3/0/1 + remote_port: TenGigE0/2/0/0 sysname: nyc-dc-d57 version: Cisco IOS XR Software, Version 4.3.2[Default] capabilities: "Router" - dest_host: nyc-dc-d40b.ntc.com(JAF182XXXXX) - local_port: Ethernet4/1 + local_port: TenGigE0/3/0/2 mgmt_ip: 10.100.100.114 platform: N77-C7710 - remote_port: TenGigE0/3/0/2 + remote_port: Ethernet4/1 sysname: nyc-dc-d40b version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) capabilities: "Router Switch" - dest_host: nyc-dc-d80.ntc.com(FOC184XXXXX) - local_port: Ethernet2/1 + local_port: TenGigE0/3/0/3 mgmt_ip: 10.100.100.117 platform: N5K-C56128P - remote_port: TenGigE0/3/0/3 + remote_port: Ethernet2/1 sysname: nyc-dc-d80 version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(7)N1(1) capabilities: "Router Switch IGMP" - dest_host: nyc-dc-dcc002.ntc.com - local_port: TenGigabitEthernet6/1 + local_port: TenGigE0/4/0/0 mgmt_ip: 10.100.100.178 platform: cisco WS-C4510R+E - remote_port: TenGigE0/4/0/0 + remote_port: TenGigabitEthernet6/1 sysname: '' version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), Version 15.2(2)E3, RELEASE SOFTWARE (fc3) capabilities: "Router Switch IGMP" - dest_host: nyc-dc-d57 - local_port: TenGigE1/2/0/0 + local_port: TenGigE0/4/0/1 mgmt_ip: 10.100.100.115 platform: cisco ASR9K Series - remote_port: TenGigE0/4/0/1 + remote_port: TenGigE1/2/0/0 sysname: nyc-dc-d57 version: Cisco IOS XR Software, Version 4.3.2[Default] capabilities: "Router" - dest_host: nyc-dc-d40a.ntc.com(JAF182XXXXX) - local_port: Ethernet4/1 + local_port: TenGigE0/4/0/2 mgmt_ip: 10.100.100.113 platform: N77-C7710 - remote_port: TenGigE0/4/0/2 + remote_port: Ethernet4/1 sysname: nyc-dc-d40a version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) capabilities: "Router Switch" - dest_host: nyc-dc-d81.ntc.com(FOC182XXXXX) - local_port: Ethernet1/1 + local_port: TenGigE0/4/0/3 mgmt_ip: 10.100.100.118 platform: N5K-C56128P - remote_port: TenGigE0/4/0/3 + remote_port: Ethernet1/1 sysname: nyc-dc-d81 version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(7)N1(1) capabilities: "Router Switch IGMP" @@ -190,10 +190,10 @@ parsed_sample: version: Cisco IOS XR Software, Version 5.3.4[Default] capabilities: "Router" - dest_host: nyc-dc-c97 - local_port: FortyGigE0/7/0/0 + local_port: FortyGigE0/6/0/0 mgmt_ip: 192.168.169.21 platform: cisco ASR9K Series - remote_port: FortyGigE0/6/0/0 + remote_port: FortyGigE0/7/0/0 sysname: nyc-dc-c97 version: Cisco IOS XR Software, Version 5.3.4[Default] - capabilities: "Router" \ No newline at end of file + capabilities: "Router" From 09310bc4ca77c4218e662a19c44b4e15a4e44ea7 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Fri, 26 Oct 2018 11:52:09 -0400 Subject: [PATCH 165/628] XR_SHOW_INTF: Correct capturing of IP Address info - Fixes #280 --- templates/cisco_xr_show_interfaces.template | 4 ++-- .../show_interfaces/cisco_xr_show_interfaces.parsed | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/cisco_xr_show_interfaces.template b/templates/cisco_xr_show_interfaces.template index e19cea4fa8..2a23127941 100644 --- a/templates/cisco_xr_show_interfaces.template +++ b/templates/cisco_xr_show_interfaces.template @@ -5,7 +5,7 @@ Value HARDWARE_TYPE (\w+) Value ADDRESS ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) Value BIA ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) Value DESCRIPTION (.*) -Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) +Value IP_ADDRESS (.*?) Value MTU (\d+) Value DUPLEX (.+?) Value SPEED (.+?) @@ -16,7 +16,7 @@ Start ^${INTERFACE}\sis\s+${LINK_STATUS},\s+line\sprotocol\sis\s+${ADMIN_STATE} ^\s+Hardware\s+is\s+${HARDWARE_TYPE}(\s+)?(Ethernet)?(,)?(\s+address\s+is\s+${ADDRESS}\s+\(bia\s+${BIA})? ^\s+Description:\s+${DESCRIPTION} - ^\s+Internet\s+Address\s+is\s+${IP_ADDRESS} + ^\s+[Ii]nternet\s+[Aa]ddress\s+is\s+${IP_ADDRESS}\s*$$ ^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH} ^\s+${DUPLEX}, ${SPEED},.+link ^\s+Encapsulation\s+${ENCAPSULATION} diff --git a/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed b/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed index cc97bc0bd8..be7ba339c4 100644 --- a/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed +++ b/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed @@ -10,7 +10,7 @@ parsed_sample: encapsulation: Loopback hardware_type: Loopback interface: Loopback5 - ip_address: '' + ip_address: '192.168.169.21/32' link_status: up mtu: '1500' speed: '' @@ -23,7 +23,7 @@ parsed_sample: encapsulation: 'Null' hardware_type: 'Null' interface: Null0 - ip_address: '' + ip_address: 'Unknown' link_status: up mtu: '1500' speed: '' @@ -36,7 +36,7 @@ parsed_sample: encapsulation: TUNNEL hardware_type: Tunnel interface: tunnel-te300 - ip_address: '' + ip_address: '192.168.169.21/32' link_status: up mtu: '1500' speed: '' @@ -49,7 +49,7 @@ parsed_sample: encapsulation: ARPA hardware_type: Management interface: MgmtEth0/RSP1/CPU0/0 - ip_address: '' + ip_address: '10.253.3.18/25' link_status: up mtu: '1514' speed: 1000Mb/s @@ -62,7 +62,7 @@ parsed_sample: encapsulation: ARPA hardware_type: FortyGigE interface: FortyGigE0/0/0/0 - ip_address: '' + ip_address: '192.168.166.9/30' link_status: up mtu: '9216' speed: 40000Mb/s @@ -75,7 +75,7 @@ parsed_sample: encapsulation: ARPA hardware_type: TenGigE interface: TenGigE0/3/0/0 - ip_address: '' + ip_address: '192.168.166.65/30' link_status: up mtu: '9216' speed: 10000Mb/s From cc078b43e469e6f7434bec40e7dd52ac130a08b2 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Fri, 26 Oct 2018 22:40:22 -0400 Subject: [PATCH 166/628] XR_SH_INTF: Update regex to properly capture data - Fixes #282 --- templates/cisco_xr_show_interfaces.template | 22 +-- .../cisco_xr_show_interfaces.parsed | 183 ++++++++++-------- 2 files changed, 115 insertions(+), 90 deletions(-) diff --git a/templates/cisco_xr_show_interfaces.template b/templates/cisco_xr_show_interfaces.template index 2a23127941..d010f81722 100644 --- a/templates/cisco_xr_show_interfaces.template +++ b/templates/cisco_xr_show_interfaces.template @@ -1,10 +1,10 @@ Value Required INTERFACE (\S+) -Value LINK_STATUS (\w+) -Value ADMIN_STATE (\S+) -Value HARDWARE_TYPE (\w+) -Value ADDRESS ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) -Value BIA ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) -Value DESCRIPTION (.*) +Value LINK_STATUS (.+?) +Value ADMIN_STATE (.+?) +Value HARDWARE_TYPE (\S+?(?:\s+Ethernet|)) +Value ADDRESS ((?:\w{4}\.){2}\w{4}) +Value BIA ((?:\w{4}\.){2}\w{4}) +Value DESCRIPTION (.*?) Value IP_ADDRESS (.*?) Value MTU (\d+) Value DUPLEX (.+?) @@ -13,11 +13,11 @@ Value BANDWIDTH (\d+\s+\w+) Value ENCAPSULATION (\w+) Start - ^${INTERFACE}\sis\s+${LINK_STATUS},\s+line\sprotocol\sis\s+${ADMIN_STATE} - ^\s+Hardware\s+is\s+${HARDWARE_TYPE}(\s+)?(Ethernet)?(,)?(\s+address\s+is\s+${ADDRESS}\s+\(bia\s+${BIA})? - ^\s+Description:\s+${DESCRIPTION} + ^\S+\s+is -> Continue.Record + ^${INTERFACE}\sis\s+${LINK_STATUS},\s+line\sprotocol\sis\s+${ADMIN_STATE}\s*$$ + ^\s+Hardware\s+is\s+${HARDWARE_TYPE}(?:,\s+address\s+is\s+${ADDRESS}\s+\(bia\s+${BIA}\)\s*$$|\s.+|\s*$$) + ^\s+Description:\s+${DESCRIPTION}\s*$$ ^\s+[Ii]nternet\s+[Aa]ddress\s+is\s+${IP_ADDRESS}\s*$$ ^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH} - ^\s+${DUPLEX}, ${SPEED},.+link ^\s+Encapsulation\s+${ENCAPSULATION} - ^\s+Last -> Record + ^\s+(?:[Dd]uplex\s+|)${DUPLEX}(?:-[Dd]uplex|),\s+${SPEED},.+link diff --git a/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed b/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed index be7ba339c4..62a1bcebec 100644 --- a/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed +++ b/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed @@ -1,81 +1,106 @@ --- parsed_sample: - -- address: '' - admin_state: up - bandwidth: 0 Kbit - bia: '' - description: $DCI ~Loopback for OSPF/LDP/BGP/TE - duplex: '' - encapsulation: Loopback - hardware_type: Loopback - interface: Loopback5 - ip_address: '192.168.169.21/32' - link_status: up - mtu: '1500' - speed: '' -- address: '' - admin_state: up - bandwidth: 0 Kbit - bia: '' - description: '' - duplex: '' - encapsulation: 'Null' - hardware_type: 'Null' - interface: Null0 - ip_address: 'Unknown' - link_status: up - mtu: '1500' - speed: '' -- address: '' - admin_state: up - bandwidth: 0 Kbit - bia: '' - description: $DCI TE Tunnel For REPLICATION to P-YB19-C95 - duplex: '' - encapsulation: TUNNEL - hardware_type: Tunnel - interface: tunnel-te300 - ip_address: '192.168.169.21/32' - link_status: up - mtu: '1500' - speed: '' -- address: f09e.6340.1420 - admin_state: up - bandwidth: 1000000 Kbit - bia: f09e.6340.1420 - description: Management Interface - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Management - interface: MgmtEth0/RSP1/CPU0/0 - ip_address: '10.253.3.18/25' - link_status: up - mtu: '1514' - speed: 1000Mb/s -- address: 5087.895f.81a0 - admin_state: up - bandwidth: 40000000 Kbit - bia: 5087.895f.81a0 - description: $DCI ~QTS Richmond DCI @CRDC %P-CRDC-C98 +Fort0/0/0/0 !CRIT - duplex: Full-duplex - encapsulation: ARPA - hardware_type: FortyGigE - interface: FortyGigE0/0/0/0 - ip_address: '192.168.166.9/30' - link_status: up - mtu: '9216' - speed: 40000Mb/s -- address: 5087.8964.53b0 - admin_state: up - bandwidth: 10000000 Kbit - bia: 5087.8964.53b0 - description: $DCI ~QTS Richmond Prod @CRDC %Z-CRDC-Dcc001 +Te5/1 !CRIT - duplex: Full-duplex - encapsulation: ARPA - hardware_type: TenGigE - interface: TenGigE0/3/0/0 - ip_address: '192.168.166.65/30' - link_status: up - mtu: '9216' - speed: 10000Mb/s + - address: "" + admin_state: "up" + bandwidth: "0 Kbit" + bia: "" + description: "$DCI ~Loopback for OSPF/LDP/BGP/TE" + duplex: "" + encapsulation: "Loopback" + hardware_type: "Loopback" + interface: "Loopback5" + ip_address: "192.168.169.21/32" + link_status: "up" + mtu: "1500" + speed: "" + - address: "" + admin_state: "up" + bandwidth: "0 Kbit" + bia: "" + description: "" + duplex: "" + encapsulation: "Null" + hardware_type: "Null" + interface: "Null0" + ip_address: "Unknown" + link_status: "up" + mtu: "1500" + speed: "" + - address: "" + admin_state: "up" + bandwidth: "0 Kbit" + bia: "" + description: "$DCI TE Tunnel For REPLICATION to P-YB19-C95" + duplex: "" + encapsulation: "TUNNEL" + hardware_type: "Tunnel-TE" + interface: "tunnel-te300" + ip_address: "192.168.169.21/32" + link_status: "up" + mtu: "1500" + speed: "" + - address: "5087.8966.5329" + admin_state: "administratively down" + bandwidth: "0 Kbit" + bia: "5087.8966.5329" + description: "$DCI" + duplex: "unknown" + encapsulation: "ARPA" + hardware_type: "Management Ethernet" + interface: "MgmtEth0/RSP0/CPU0/1" + ip_address: "Unknown" + link_status: "administratively down" + mtu: "1514" + speed: "0Kb/s" + - address: "f09e.6340.1420" + admin_state: "up" + bandwidth: "1000000 Kbit" + bia: "f09e.6340.1420" + description: "Management Interface" + duplex: "Full" + encapsulation: "ARPA" + hardware_type: "Management Ethernet" + interface: "MgmtEth0/RSP1/CPU0/0" + ip_address: "10.253.3.18/25" + link_status: "up" + mtu: "1514" + speed: "1000Mb/s" + - address: "5087.895f.81a0" + admin_state: "up" + bandwidth: "40000000 Kbit" + bia: "5087.895f.81a0" + description: "$DCI ~QTS Richmond DCI @CRDC %P-CRDC-C98 +Fort0/0/0/0 !CRIT" + duplex: "Full" + encapsulation: "ARPA" + hardware_type: "FortyGigE" + interface: "FortyGigE0/0/0/0" + ip_address: "192.168.166.9/30" + link_status: "up" + mtu: "9216" + speed: "40000Mb/s" + - address: "5087.8964.53b0" + admin_state: "up" + bandwidth: "10000000 Kbit" + bia: "5087.8964.53b0" + description: "$DCI ~QTS Richmond Prod @CRDC %Z-CRDC-Dcc001 +Te5/1 !CRIT" + duplex: "Full" + encapsulation: "ARPA" + hardware_type: "TenGigE" + interface: "TenGigE0/3/0/0" + ip_address: "192.168.166.65/30" + link_status: "up" + mtu: "9216" + speed: "10000Mb/s" + - address: "5087.8964.53b4" + admin_state: "administratively down" + bandwidth: "10000000 Kbit" + bia: "5087.8964.53b4" + description: "" + duplex: "Full" + encapsulation: "ARPA" + hardware_type: "TenGigE" + interface: "TenGigE0/3/0/4" + ip_address: "Unknown" + link_status: "administratively down" + mtu: "1514" + speed: "10000Mb/s" From 766906f12e6691540372a27519d22b60ea665e1f Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 27 Oct 2018 17:41:11 -0500 Subject: [PATCH 167/628] added show ap summary for Cisco WLC (#272) * added show ap summary for Cisco WLC * added tests and fixed template * Make capture group names and regex more specific --- .gitignore | 1 + .../cisco_wlc_ssh_show_ap_summary.template | 18 +++++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_ap_summary.parsed | 20 +++++++++++++++++++ .../cisco_wlc_ssh_show_ap_summary.raw | 11 ++++++++++ 5 files changed, 51 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_ap_summary.template create mode 100644 tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.parsed create mode 100644 tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.raw diff --git a/.gitignore b/.gitignore index 8204855364..d16dc26a57 100644 --- a/.gitignore +++ b/.gitignore @@ -122,6 +122,7 @@ nosetests.xml coverage.xml *,cover .hypothesis/ +.tmp/ # Translations *.mo diff --git a/templates/cisco_wlc_ssh_show_ap_summary.template b/templates/cisco_wlc_ssh_show_ap_summary.template new file mode 100644 index 0000000000..369ee89a77 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_ap_summary.template @@ -0,0 +1,18 @@ +Value AP_NAME (\S+) +Value SLOT (\d+) +Value AP_MODEL (\S+) +Value MAC ([a-fA-F0-9:\.]+) +Value LOCATION (.+?) +Value COUNTRY (\S+) +Value IP ([a-fA-F0-9:\.]+) +Value CLIENTS (\d+) +Value DSE_LOCATION (.+?) + + +Start + ^${AP_NAME}\s+${SLOT}\s+${AP_MODEL}\s+${MAC}\s+${LOCATION}\s+${COUNTRY}\s+${IP}\s+${CLIENTS}\s+${DSE_LOCATION}\s*$$ -> Record + ^.+\.+ + ^\s*$$ + ^AP\s+Name\s+Slots\s+AP\s+Model\s+Ethernet\s+MAC\s+Location\s+Country\s+IP\s+Address\s+Clients\s+DSE\s+Location\s*$$ + ^-+ + ^. -> Error diff --git a/templates/index b/templates/index index f0f5e3f3c4..d523356cfa 100644 --- a/templates/index +++ b/templates/index @@ -205,6 +205,7 @@ cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] +cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] cisco_xr_show_controllers_HundredGigabitEthernet.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] diff --git a/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.parsed b/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.parsed new file mode 100644 index 0000000000..676162eca4 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.parsed @@ -0,0 +1,20 @@ +--- +parsed_sample: +- ap_name: 2800-Default + slot: "3" + ap_model: AIR-AP2802I-E-K9 + mac: c0:ff:ee:c0:ff:ee + location: default location + country: IT + ip: 172.25.81.216 + clients: "0" + dse_location: "[0 ,0 ,0 ]" +- ap_name: 2700-Server + slot: "2" + ap_model: AIR-CAP2702E-E-K9 + mac: ca:fe:ca:fe:ca:fe + location: Server room + country: IT + ip: 172.25.81.221 + clients: "0" + dse_location: "[0 ,0 ,0 ]" diff --git a/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.raw b/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.raw new file mode 100644 index 0000000000..0ca70e5665 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.raw @@ -0,0 +1,11 @@ + +Number of APs.................................... 2 + +Global AP User Name.............................. admin +Global AP Dot1x User Name........................ Not Configured +Global AP Dot1x EAP Method....................... EAP-FAST + +AP Name Slots AP Model Ethernet MAC Location Country IP Address Clients DSE Location +------------------------------ ----- -------------------- ----------------- -------------------- ---------- --------------- ------- -------------- +2800-Default 3 AIR-AP2802I-E-K9 c0:ff:ee:c0:ff:ee default location IT 172.25.81.216 0 [0 ,0 ,0 ] +2700-Server 2 AIR-CAP2702E-E-K9 ca:fe:ca:fe:ca:fe Server room IT 172.25.81.221 0 [0 ,0 ,0 ] From 52829d14f10305d07fcfc4bf434f4352364fef34 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 27 Oct 2018 17:44:32 -0500 Subject: [PATCH 168/628] Brocade fastiron show version (#241) * added brocade_fastiron_show_version.template * Account for variance in boot drive * Add additional extractions and convert most groups to lists --- .../brocade_fastiron_show_version.template | 55 ++++++++++++ templates/index | 1 + .../brocade_fastiron_show_version.parsed | 29 +++++++ .../brocade_fastiron_show_version.raw | 87 +++++++++++++++++++ 4 files changed, 172 insertions(+) create mode 100644 templates/brocade_fastiron_show_version.template create mode 100644 tests/brocade_fastiron/show_version/brocade_fastiron_show_version.parsed create mode 100644 tests/brocade_fastiron/show_version/brocade_fastiron_show_version.raw diff --git a/templates/brocade_fastiron_show_version.template b/templates/brocade_fastiron_show_version.template new file mode 100644 index 0000000000..ef1ff6c4e2 --- /dev/null +++ b/templates/brocade_fastiron_show_version.template @@ -0,0 +1,55 @@ +Value List SWITCH_ID (\d+) +Value List SW_BIN (\S+) +Value List SW_VERSION (\S+) +Value BOOT_MONITOR_VERSION (.*) +Value HW (.*) +Value List SLOT (\d+) +Value List MODEL (\S+) +Value List POE (POE) +Value List PORTS (\d+) +Value List MODULE_TYPE (\S+) +Value List SERIAL (\S+$) +Value List LICENSE (\S+) +Value FLASH (\d+) +Value FLASH_MEASUREMENT (\S+) +Value RAM (\d+) +Value RAM_MEASUREMENT (\S+) +Value List UPTIME_DAYS (\d+) +Value List UPTIME_HOURS (\d+) +Value List UPTIME_MINUTES (\d+) +Value List UPTIME_SECONDS (\d+) +Value START_TIME (\d+:\d+:\d+) +Value START_TIMEZONE (\S+) +Value START_DAY (\S+) +Value START_MONTH (\S+) +Value START_DATE (\d+) +Value START_YEAR (\d+) +Value RELOAD_REASON (.+?) + +Start + ^show\s+version + ^\s+UNIT\s+${SWITCH_ID} + ^\s+\(.+?\)\s+from\s+\S+\s+${SW_BIN}\s*$$ + ^\s*SW:\s+Version\s+${SW_VERSION} + ^\s*Boot-Monitor.*,\s+Version:${BOOT_MONITOR_VERSION}\s*$$ + ^\s*HW:\s+${HW}\s*$$ + ^\s+Copyright + ^\s*$$ + ^=+\s*$$ -> Hardware + ^. -> Error + +Hardware + ^UNIT\s+\d+:\s+SL\s+${SLOT}:\s+${MODEL}\s+(?:${POE}\s+|)${PORTS}(?:-|)port\s+${MODULE_TYPE}\s+Module\s*$$ + ^\s+Serial\s+#:\s+${SERIAL}\s*$$ + ^\s+License:\s+${LICENSE} + ^.*ENGINE + ^= + ^.+uptime\s+is\s+(?:${UPTIME_DAYS}\s+day\(s\)\s+|)(?:${UPTIME_HOURS}\s+hour\(s\)\s+|)(?:${UPTIME_MINUTES}\s+minute\(s\)\s+|)(?:${UPTIME_SECONDS}\s+second\(s\)|) + ^${FLASH}\s+${FLASH_MEASUREMENT}\s+flash + ^\s+${RAM}\s+${RAM_MEASUREMENT}.+RAM + ^.+started\s+at\s+${START_TIME}\s+${START_TIMEZONE}\s+${START_DAY}\s+${START_MONTH}\s+${START_DATE}\s+${START_YEAR} + ^\s+The\s+system\s+:\s+started=${RELOAD_REASON}\s*$$ + ^\s*$$ + ^.+processor + ^My\s+stack + ^. -> Error diff --git a/templates/index b/templates/index index d523356cfa..56a93ebaab 100644 --- a/templates/index +++ b/templates/index @@ -66,6 +66,7 @@ brocade_fastiron_show_interfaces.template, .*, brocade_fastiron, sh[[ow]] in[[te brocade_fastiron_show_lag_brief.template, .*, brocade_fastiron, sh[[ow]] la[[g]] b[[rief]] brocade_fastiron_show_run_vlan.template, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_fastiron_show_monitor.template, .*, brocade_fastiron, sh[[ow]] mo[[nitor]] +brocade_fastiron_show_version.template, .*, brocade_fastiron, sh[[ow]] ve[[rsion]] brocade_fastiron_show_metro.template, .*, brocade_fastiron, sh[[ow]] met[[ro-ring]] brocade_fastiron_show_trunk.template, .*, brocade_fastiron, sh[[ow]] tru[[nk]] brocade_fastiron_show_span.template, .*, brocade_fastiron, sh[[ow]] sp[[an]] diff --git a/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.parsed b/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.parsed new file mode 100644 index 0000000000..0cf1281d76 --- /dev/null +++ b/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.parsed @@ -0,0 +1,29 @@ +--- +parsed_sample: + - switch_id: ['1', '2', '3', '4', '5', '6'] + sw_bin: ['ICX64S08030h.bin', 'ICX64S08030h.bin', 'ICX64S08030h.bin', 'ICX64S08030h.bin', 'ICX64S08030h.bin', 'ICX64S08030h.bin'] + sw_version: ['08.0.30hT311', '08.0.30hT311', '08.0.30hT311', '08.0.30hT311', '08.0.30hT311', '08.0.30hT311'] + boot_monitor_version: '10.1.05T310 (kxz10105)' + hw: 'Stackable ICX6450-48-HPOE' + slot: ['1', '2', '1', '2', '1', '2', '1', '2', '1', '2', '1', '2'] + model: ['ICX6450-48P', 'ICX6450-SFP-Plus', 'ICX6450-48P', 'ICX6450-SFP-Plus', 'ICX6450-48P', 'ICX6450-SFP-Plus', 'ICX6450-48P', 'ICX6450-SFP-Plus', 'ICX6450-48P', 'ICX6450-SFP-Plus', 'ICX6450-48P', 'ICX6450-SFP-Plus'] + poe: ['POE', None, 'POE', None, 'POE', None, 'POE', None, 'POE', None, 'POE', None] + ports: ['48', '4', '48', '4', '48', '4', '48', '4', '48', '4', '48', '4'] + module_type: ['Management', '40G', 'Management', '40G', 'Management', '40G', 'Management', '40G', 'Management', '40G', 'Management', '40G'] + serial: ['BZT3217M025', 'BZT3217M033', 'BZT3217M036', 'BZT3217M038', 'BZT3215M02V', 'BZT3217M02G'] + license: ['BASE_SOFT_PACKAGE', 'BASE_SOFT_PACKAGE', 'BASE_SOFT_PACKAGE', 'BASE_SOFT_PACKAGE', 'BASE_SOFT_PACKAGE', 'BASE_SOFT_PACKAGE'] + flash: '65536' + flash_measurement: 'KB' + ram: '512' + ram_measurement: 'MB' + uptime_days: ['730', '707', '707', '707', '707', '730'] + uptime_hours: ['11', '8', '8', '8', '8', '10'] + uptime_minutes: [None, '13', '13', '13', '13', '59'] + uptime_seconds: ['11', '32', '32', '32', '31', '40'] + start_time: '15:56:16' + start_timezone: 'Pacific' + start_day: 'Fri' + start_month: 'Jul' + start_date: '08' + start_year: '2016' + reload_reason: 'cold start' diff --git a/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.raw b/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.raw new file mode 100644 index 0000000000..837da88919 --- /dev/null +++ b/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.raw @@ -0,0 +1,87 @@ +show version + + Copyright (c) 1996-2016 Brocade Communications Systems, Inc. All rights reserved. + UNIT 1: compiled on May 19 2016 at 01:15:45 labeled as ICX64S08030h + (8500344 bytes) from Primary ICX64S08030h.bin + SW: Version 08.0.30hT311 + UNIT 2: compiled on May 19 2016 at 01:15:45 labeled as ICX64S08030h + (8500344 bytes) from Primary ICX64S08030h.bin + SW: Version 08.0.30hT311 + UNIT 3: compiled on May 19 2016 at 01:15:45 labeled as ICX64S08030h + (8500344 bytes) from Primary ICX64S08030h.bin + SW: Version 08.0.30hT311 + UNIT 4: compiled on May 19 2016 at 01:15:45 labeled as ICX64S08030h + (8500344 bytes) from Primary ICX64S08030h.bin + SW: Version 08.0.30hT311 + UNIT 5: compiled on May 19 2016 at 01:15:45 labeled as ICX64S08030h + (8500344 bytes) from Primary ICX64S08030h.bin + SW: Version 08.0.30hT311 + UNIT 6: compiled on May 19 2016 at 01:15:45 labeled as ICX64S08030h + (8500344 bytes) from Primary ICX64S08030h.bin + SW: Version 08.0.30hT311 + Boot-Monitor Image size = 786944, Version:10.1.05T310 (kxz10105) + HW: Stackable ICX6450-48-HPOE +========================================================================== +UNIT 1: SL 1: ICX6450-48P POE 48-port Management Module + Serial #: BZT3217M025 + License: BASE_SOFT_PACKAGE (LID: dbvIHGMoFHK) + P-ENGINE 0: type DEF0, rev 01 + P-ENGINE 1: type DEF0, rev 01 +========================================================================== +UNIT 1: SL 2: ICX6450-SFP-Plus 4port 40G Module +========================================================================== +UNIT 2: SL 1: ICX6450-48P POE 48-port Management Module + Serial #: BZT3217M033 + License: BASE_SOFT_PACKAGE (LID: dbvIHGMoFII) + P-ENGINE 0: type DEF0, rev 01 + P-ENGINE 1: type DEF0, rev 01 +========================================================================== +UNIT 2: SL 2: ICX6450-SFP-Plus 4port 40G Module +========================================================================== +UNIT 3: SL 1: ICX6450-48P POE 48-port Management Module + Serial #: BZT3217M036 + License: BASE_SOFT_PACKAGE (LID: dbvIHGMoFIL) + P-ENGINE 0: type DEF0, rev 01 + P-ENGINE 1: type DEF0, rev 01 + +========================================================================== +UNIT 3: SL 2: ICX6450-SFP-Plus 4port 40G Module +========================================================================== +UNIT 4: SL 1: ICX6450-48P POE 48-port Management Module + Serial #: BZT3217M038 + License: BASE_SOFT_PACKAGE (LID: dbvIHGMoFIN) + P-ENGINE 0: type DEF0, rev 01 + P-ENGINE 1: type DEF0, rev 01 +========================================================================== +UNIT 4: SL 2: ICX6450-SFP-Plus 4port 40G Module +========================================================================== +UNIT 5: SL 1: ICX6450-48P POE 48-port Management Module + Serial #: BZT3215M02V + License: BASE_SOFT_PACKAGE (LID: dbvIHGKoFHx) + P-ENGINE 0: type DEF0, rev 01 + P-ENGINE 1: type DEF0, rev 01 +========================================================================== +UNIT 5: SL 2: ICX6450-SFP-Plus 4port 40G Module +========================================================================== +UNIT 6: SL 1: ICX6450-48P POE 48-port Management Module + Serial #: BZT3217M02G + License: BASE_SOFT_PACKAGE (LID: dbvIHGMoFHi) + P-ENGINE 0: type DEF0, rev 01 + P-ENGINE 1: type DEF0, rev 01 +========================================================================== +UNIT 6: SL 2: ICX6450-SFP-Plus 4port 40G Module +========================================================================== + + 800 MHz ARM processor ARMv5TE, 400 MHz bus +65536 KB flash memory + 512 MB DRAM +STACKID 1 system uptime is 730 day(s) 11 hour(s) 11 second(s) +STACKID 2 system uptime is 707 day(s) 8 hour(s) 13 minute(s) 32 second(s) +STACKID 3 system uptime is 707 day(s) 8 hour(s) 13 minute(s) 32 second(s) +STACKID 4 system uptime is 707 day(s) 8 hour(s) 13 minute(s) 32 second(s) +STACKID 5 system uptime is 707 day(s) 8 hour(s) 13 minute(s) 31 second(s) +STACKID 6 system uptime is 730 day(s) 10 hour(s) 59 minute(s) 40 second(s) +The system started at 15:56:16 Pacific Fri Jul 08 2016 + + The system : started=cold start +My stack unit ID = 1, bootup role = active From 3cfb9dd96c65c22df2b66d73ae6cc6041a04a479 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 29 Oct 2018 22:32:02 -0500 Subject: [PATCH 169/628] INDEX UPDATES: Fix filenames to use full command syntax (#284) * IOS_SH_IP_INT_BRIEF: Fix naming to use full command * IOS_SH_IPV6_INT_BRIEF: Fix naming to use full command * NETIRON_SH_RUN_INT_VE: Fix naming to use full command * NETIRON_SH_RUN_VLAN: Fix naming to use full command * FASTIRON_SH_RUN_VLAN: Fix naming to use full command --- ...brocade_fastiron_show_running-config_vlan.template} | 0 ..._netiron_show_running-config_interface_ve.template} | 0 ... brocade_netiron_show_running-config_vlan.template} | 0 ...late => cisco_ios_show_ip_interface_brief.template} | 0 ...te => cisco_ios_show_ipv6_interface_brief.template} | 0 templates/index | 10 +++++----- .../brocade_fastiron_show_running-config_vlan.parsed} | 0 .../brocade_fastiron_show_running-config_vlan.raw} | 0 .../brocade_fastiron_show_running-config_vlan1.parsed} | 0 .../brocade_fastiron_show_running-config_vlan1.raw} | 0 ...de_netiron_show_running-config_interface_ve.parsed} | 0 ...ocade_netiron_show_running-config_interface_ve.raw} | 0 .../brocade_netiron_show_running-config_vlan.parsed} | 0 .../brocade_netiron_show_running-config_vlan.raw} | 0 .../cisco_ios_show_ip_interface_brief.parsed} | 0 .../cisco_ios_show_ip_interface_brief.raw} | 0 .../cisco_ios_show_ipv6_interface_brief.parsed} | 0 .../cisco_ios_show_ipv6_interface_brief.raw} | 0 18 files changed, 5 insertions(+), 5 deletions(-) rename templates/{brocade_fastiron_show_run_vlan.template => brocade_fastiron_show_running-config_vlan.template} (100%) rename templates/{brocade_netiron_show_run_int_ve.template => brocade_netiron_show_running-config_interface_ve.template} (100%) rename templates/{brocade_netiron_show_run_vlan.template => brocade_netiron_show_running-config_vlan.template} (100%) rename templates/{cisco_ios_show_ip_int_brief.template => cisco_ios_show_ip_interface_brief.template} (100%) rename templates/{cisco_ios_show_ipv6_int_brief.template => cisco_ios_show_ipv6_interface_brief.template} (100%) rename tests/brocade_fastiron/{show_run_vlan/brocade_fastiron_show_run_vlan.parsed => show_running-config_vlan/brocade_fastiron_show_running-config_vlan.parsed} (100%) rename tests/brocade_fastiron/{show_run_vlan/brocade_fastiron_show_run_vlan.raw => show_running-config_vlan/brocade_fastiron_show_running-config_vlan.raw} (100%) rename tests/brocade_fastiron/{show_run_vlan/brocade_fastiron_show_run_vlan1.parsed => show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.parsed} (100%) rename tests/brocade_fastiron/{show_run_vlan/brocade_fastiron_show_run_vlan1.raw => show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.raw} (100%) rename tests/brocade_netiron/{show_run_int_ve/brocade_netiron_show_run_int_ve.parsed => show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.parsed} (100%) rename tests/brocade_netiron/{show_run_int_ve/brocade_netiron_show_run_int_ve.raw => show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.raw} (100%) rename tests/brocade_netiron/{show_run_vlan/brocade_netiron_show_run_vlan.parsed => show_running-config_vlan/brocade_netiron_show_running-config_vlan.parsed} (100%) rename tests/brocade_netiron/{show_run_vlan/brocade_netiron_show_run_vlan.raw => show_running-config_vlan/brocade_netiron_show_running-config_vlan.raw} (100%) rename tests/cisco_ios/{show_ip_int_brief/cisco_ios_show_ip_int_brief.parsed => show_ip_interface_brief/cisco_ios_show_ip_interface_brief.parsed} (100%) rename tests/cisco_ios/{show_ip_int_brief/cisco_ios_show_ip_int_brief.raw => show_ip_interface_brief/cisco_ios_show_ip_interface_brief.raw} (100%) rename tests/cisco_ios/{show_ipv6_int_brief/cisco_ios_show_ipv6_int_brief.parsed => show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.parsed} (100%) rename tests/cisco_ios/{show_ipv6_int_brief/cisco_ios_show_ipv6_int_brief.raw => show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.raw} (100%) diff --git a/templates/brocade_fastiron_show_run_vlan.template b/templates/brocade_fastiron_show_running-config_vlan.template similarity index 100% rename from templates/brocade_fastiron_show_run_vlan.template rename to templates/brocade_fastiron_show_running-config_vlan.template diff --git a/templates/brocade_netiron_show_run_int_ve.template b/templates/brocade_netiron_show_running-config_interface_ve.template similarity index 100% rename from templates/brocade_netiron_show_run_int_ve.template rename to templates/brocade_netiron_show_running-config_interface_ve.template diff --git a/templates/brocade_netiron_show_run_vlan.template b/templates/brocade_netiron_show_running-config_vlan.template similarity index 100% rename from templates/brocade_netiron_show_run_vlan.template rename to templates/brocade_netiron_show_running-config_vlan.template diff --git a/templates/cisco_ios_show_ip_int_brief.template b/templates/cisco_ios_show_ip_interface_brief.template similarity index 100% rename from templates/cisco_ios_show_ip_int_brief.template rename to templates/cisco_ios_show_ip_interface_brief.template diff --git a/templates/cisco_ios_show_ipv6_int_brief.template b/templates/cisco_ios_show_ipv6_interface_brief.template similarity index 100% rename from templates/cisco_ios_show_ipv6_int_brief.template rename to templates/cisco_ios_show_ipv6_interface_brief.template diff --git a/templates/index b/templates/index index 56a93ebaab..7eb4fad59c 100644 --- a/templates/index +++ b/templates/index @@ -61,10 +61,10 @@ avaya_vsp_show_software.template, .*, avaya_vsp, sho[[w]] so[[ftware]] brocade_fastiron_show_lldp_neighbors_detail.template, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] +brocade_fastiron_show_running-config_vlan.template, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_fastiron_show_interfaces_brief.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] b[[rief]] brocade_fastiron_show_interfaces.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] brocade_fastiron_show_lag_brief.template, .*, brocade_fastiron, sh[[ow]] la[[g]] b[[rief]] -brocade_fastiron_show_run_vlan.template, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_fastiron_show_monitor.template, .*, brocade_fastiron, sh[[ow]] mo[[nitor]] brocade_fastiron_show_version.template, .*, brocade_fastiron, sh[[ow]] ve[[rsion]] brocade_fastiron_show_metro.template, .*, brocade_fastiron, sh[[ow]] met[[ro-ring]] @@ -72,12 +72,12 @@ brocade_fastiron_show_trunk.template, .*, brocade_fastiron, sh[[ow]] tru[[nk]] brocade_fastiron_show_span.template, .*, brocade_fastiron, sh[[ow]] sp[[an]] brocade_fastiron_show_topo.template, .*, brocade_fastiron, sh[[ow]] to[[pology-group]] +brocade_netiron_show_running-config_interface_ve.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] i[[nterface]] v[[e]] brocade_netiron_show_lldp_neighbors_detail.template, .*, brocade_netiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] +brocade_netiron_show_running-config_vlan.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_netiron_show_interfaces_brief.template, .*, brocade_netiron, sh[[ow]] in[[terfaces]] b[[rief]] brocade_netiron_show_interfaces.template, .*, brocade_netiron, sh[[ow]] in[[terfaces]] -brocade_netiron_show_run_int_ve.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] i[[nterface]] v[[e]] brocade_netiron_show_lag_brief.template, .*, brocade_netiron, sh[[ow]] lag b[[rief]] -brocade_netiron_show_run_vlan.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_netiron_show_monitor.template, .*, brocade_netiron, sh[[ow]] mon[[itor]] [actual|config] brocade_netiron_show_metro.template, .*, brocade_netiron, sh[[ow]] met[[ro-ring]] brocade_netiron_show_span.template, .*, brocade_netiron, sh[[ow]] sp[[anning-tree]] @@ -120,6 +120,8 @@ cisco_ios_show_environment_power_all.template, .*, cisco_ios, sh[[ow]] envi[[ron cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] cisco_ios_show_lldp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] det[[ail]] cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_ios_show_ipv6_interface_brief.template, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] +cisco_ios_show_ip_interface_brief.template, .*, cisco_ios, sh[[ow]] ip int[[erface]] br[[ief]] cisco_ios_show_interfaces_status.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] cisco_ios_show_ip_eigrp_topology.template, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] cisco_ios_show_ip_source_binding.template, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] @@ -130,7 +132,6 @@ cisco_ios_show_ip_access-lists.template, .*, cisco_ios, sh[[ow]] ip acce[[ss-lis cisco_ios_show_power_available.template, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] cisco_ios_show_ip_bgp_summary.template, .*, cisco_ios, sh[[ow]] ip bgp sum[[mary]] cisco_ios_show_ip_prefix-list.template, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] -cisco_ios_show_ipv6_int_brief.template, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] cisco_ios_show_isis_neighbors.template, .*, cisco_ios, sh[[ow]] isis ne[[ighbors]] cisco_ios_show_lldp_neighbors.template, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] cisco_ios_show_power_supplies.template, .*, cisco_ios, sh[[ow]] pow[[er]] su[[pplies]] @@ -141,7 +142,6 @@ cisco_ios_show_platform_diag.template, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ cisco_ios_show_processes_cpu.template, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] cisco_ios_show_spanning-tree.template, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] cisco_ios_show_standby_brief.template, .*, cisco_ios, sh[[ow]] standby br[[ief]] -cisco_ios_show_ip_int_brief.template, .*, cisco_ios, sh[[ow]] ip int[[erface]] br[[ief]] cisco_ios_show_power_status.template, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] cisco_ios_show_access-list.template, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.template, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] diff --git a/tests/brocade_fastiron/show_run_vlan/brocade_fastiron_show_run_vlan.parsed b/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.parsed similarity index 100% rename from tests/brocade_fastiron/show_run_vlan/brocade_fastiron_show_run_vlan.parsed rename to tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.parsed diff --git a/tests/brocade_fastiron/show_run_vlan/brocade_fastiron_show_run_vlan.raw b/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.raw similarity index 100% rename from tests/brocade_fastiron/show_run_vlan/brocade_fastiron_show_run_vlan.raw rename to tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.raw diff --git a/tests/brocade_fastiron/show_run_vlan/brocade_fastiron_show_run_vlan1.parsed b/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.parsed similarity index 100% rename from tests/brocade_fastiron/show_run_vlan/brocade_fastiron_show_run_vlan1.parsed rename to tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.parsed diff --git a/tests/brocade_fastiron/show_run_vlan/brocade_fastiron_show_run_vlan1.raw b/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.raw similarity index 100% rename from tests/brocade_fastiron/show_run_vlan/brocade_fastiron_show_run_vlan1.raw rename to tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.raw diff --git a/tests/brocade_netiron/show_run_int_ve/brocade_netiron_show_run_int_ve.parsed b/tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.parsed similarity index 100% rename from tests/brocade_netiron/show_run_int_ve/brocade_netiron_show_run_int_ve.parsed rename to tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.parsed diff --git a/tests/brocade_netiron/show_run_int_ve/brocade_netiron_show_run_int_ve.raw b/tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.raw similarity index 100% rename from tests/brocade_netiron/show_run_int_ve/brocade_netiron_show_run_int_ve.raw rename to tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.raw diff --git a/tests/brocade_netiron/show_run_vlan/brocade_netiron_show_run_vlan.parsed b/tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.parsed similarity index 100% rename from tests/brocade_netiron/show_run_vlan/brocade_netiron_show_run_vlan.parsed rename to tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.parsed diff --git a/tests/brocade_netiron/show_run_vlan/brocade_netiron_show_run_vlan.raw b/tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.raw similarity index 100% rename from tests/brocade_netiron/show_run_vlan/brocade_netiron_show_run_vlan.raw rename to tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.raw diff --git a/tests/cisco_ios/show_ip_int_brief/cisco_ios_show_ip_int_brief.parsed b/tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.parsed similarity index 100% rename from tests/cisco_ios/show_ip_int_brief/cisco_ios_show_ip_int_brief.parsed rename to tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.parsed diff --git a/tests/cisco_ios/show_ip_int_brief/cisco_ios_show_ip_int_brief.raw b/tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.raw similarity index 100% rename from tests/cisco_ios/show_ip_int_brief/cisco_ios_show_ip_int_brief.raw rename to tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.raw diff --git a/tests/cisco_ios/show_ipv6_int_brief/cisco_ios_show_ipv6_int_brief.parsed b/tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.parsed similarity index 100% rename from tests/cisco_ios/show_ipv6_int_brief/cisco_ios_show_ipv6_int_brief.parsed rename to tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.parsed diff --git a/tests/cisco_ios/show_ipv6_int_brief/cisco_ios_show_ipv6_int_brief.raw b/tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.raw similarity index 100% rename from tests/cisco_ios/show_ipv6_int_brief/cisco_ios_show_ipv6_int_brief.raw rename to tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.raw From 7808799b7d89e538f84d17813cdd1ea092b105c0 Mon Sep 17 00:00:00 2001 From: tech_kitara <41357228+Tachashi@users.noreply.github.com> Date: Tue, 6 Nov 2018 12:07:18 +0900 Subject: [PATCH 170/628] Add template for "show ip eigrp neighbors" on Cisco IOS (#285) --- ...cisco_ios_show_ip_eigrp_neighbors.template | 21 +++ templates/index | 1 + .../cisco_ios_show_ip_eigrp_neighbors.parsed | 24 ++++ .../cisco_ios_show_ip_eigrp_neighbors.raw | 5 + .../cisco_ios_show_ip_eigrp_neighbors1.parsed | 124 ++++++++++++++++++ .../cisco_ios_show_ip_eigrp_neighbors1.raw | 18 +++ 6 files changed, 193 insertions(+) create mode 100644 templates/cisco_ios_show_ip_eigrp_neighbors.template create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.parsed create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.raw create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.parsed create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.raw diff --git a/templates/cisco_ios_show_ip_eigrp_neighbors.template b/templates/cisco_ios_show_ip_eigrp_neighbors.template new file mode 100644 index 0000000000..1679f9e41b --- /dev/null +++ b/templates/cisco_ios_show_ip_eigrp_neighbors.template @@ -0,0 +1,21 @@ +Value Filldown AS (\d+) +Value Required ADDRESS ([0-9A-Fa-f:\.]+) +Value INTERFACE (\S+) +Value HOLD (\d+) +Value UPTIME (\S+) +Value SRTT (\d+) +Value RTO (\d+) +Value Q_CNT (\d+) +Value SEQ_NUM (\d+) + +Start + ^.*\s+${ADDRESS}\s+${INTERFACE}\s+${HOLD}\s+${UPTIME}\s+${SRTT}\s+${RTO}\s+${Q_CNT}\s+${SEQ_NUM}\s*$$ -> Record + ^\s*(?:IP-|)EIGRP(?:-IPv(?:4|6)|)\s+[Nn]eighbors\s+for\s+(?:process\s+|AS\()${AS}(?:\)|)\s*$$ + ^\s*$$ + ^\s*H\s+Address\s+Interface\s+Hold\s+Uptime\s+SRTT\s+RTO\s+Q\s+Seq\s*$$ + ^\s+\(sec\)\s+\(ms\)\s+Cnt\s+Num\s*$$ + ^\s*Load\s+for + ^Time\s+source\s+is + ^. -> Error + +EOF diff --git a/templates/index b/templates/index index 7eb4fad59c..426882758c 100644 --- a/templates/index +++ b/templates/index @@ -121,6 +121,7 @@ cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erfa cisco_ios_show_lldp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] det[[ail]] cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_ios_show_ipv6_interface_brief.template, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] +cisco_ios_show_ip_eigrp_neighbors.template, .*, cisco_ios, sh[[ow]] ip ei[[grp]] nei[[ghbors]] cisco_ios_show_ip_interface_brief.template, .*, cisco_ios, sh[[ow]] ip int[[erface]] br[[ief]] cisco_ios_show_interfaces_status.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] cisco_ios_show_ip_eigrp_topology.template, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.parsed b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.parsed new file mode 100644 index 0000000000..2e6dde4177 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.parsed @@ -0,0 +1,24 @@ +--- + +parsed_sample: + + +- as: "1" + address: "192.168.1.2" + interface: "Gi0/0" + hold: "10" + uptime: "00:12:45" + srtt: "19" + rto: "100" + q_cnt: "0" + seq_num: "11" + +- as: "1" + address: "192.168.2.2" + interface: "Gi0/1" + hold: "12" + uptime: "00:11:24" + srtt: "14" + rto: "100" + q_cnt: "0" + seq_num: "10" diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.raw b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.raw new file mode 100644 index 0000000000..13db724f95 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.raw @@ -0,0 +1,5 @@ +IP-EIGRP neighbors for process 1 +H Address Interface Hold Uptime SRTT RTO Q Seq + (sec) (ms) Cnt Num +0 192.168.1.2 Gi0/0 10 00:12:45 19 100 0 11 +1 192.168.2.2 Gi0/1 12 00:11:24 14 100 0 10 diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.parsed b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.parsed new file mode 100644 index 0000000000..51c191df8b --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.parsed @@ -0,0 +1,124 @@ +--- + +parsed_sample: + + +- as: '10' + address: '10.1.1.122' + interface: 'Tu15' + hold: '44' + uptime: '1d01h' + srtt: '114' + rto: '684' + q_cnt: '0' + seq_num: '21930' + +- as: '10' + address: '10.1.1.34' + interface: 'Tu117' + hold: '38' + uptime: '1w6d' + srtt: '157' + rto: '942' + q_cnt: '0' + seq_num: '7449' + +- as: '10' + address: '10.1.1.142' + interface: 'Tu12' + hold: '35' + uptime: '2w5d' + srtt: '141' + rto: '846' + q_cnt: '0' + seq_num: '3728' + +- as: '10' + address: '10.1.1.194' + interface: 'Tu11' + hold: '38' + uptime: '4w3d' + srtt: '145' + rto: '870' + q_cnt: '0' + seq_num: '10023' + +- as: '10' + address: '10.1.1.182' + interface: 'Tu13' + hold: '43' + uptime: '13w3d' + srtt: '124' + rto: '744' + q_cnt: '0' + seq_num: '25875' + +- as: '10' + address: '10.1.1.230' + interface: 'Tu14' + hold: '36' + uptime: '14w2d' + srtt: '93' + rto: '558' + q_cnt: '0' + seq_num: '5719' + +- as: '10' + address: '192.168.1.239' + interface: 'Gi0/0/2' + hold: '11' + uptime: '1y17w' + srtt: '1' + rto: '100' + q_cnt: '0' + seq_num: '1915033' + +- as: '10' + address: '192.168.2.239' + interface: 'Gi0/0/1' + hold: '12' + uptime: '1y17w' + srtt: '1' + rto: '100' + q_cnt: '0' + seq_num: '1915035' + +- as: '10' + address: '192.168.2.247' + interface: 'Gi0/0/1' + hold: '12' + uptime: '2y33w' + srtt: '5' + rto: '100' + q_cnt: '0' + seq_num: '1290079' + +- as: '10' + address: '192.168.1.247' + interface: 'Gi0/0/2' + hold: '13' + uptime: '2y33w' + srtt: '4' + rto: '100' + q_cnt: '0' + seq_num: '1290080' + +- as: '10' + address: '192.168.1.248' + interface: 'Gi0/0/2' + hold: '14' + uptime: '3y20w' + srtt: '10' + rto: '100' + q_cnt: '0' + seq_num: '1290726' + +- as: '10' + address: '192.168.2.248' + interface: 'Gi0/0/1' + hold: '12' + uptime: '3y20w' + srtt: '7' + rto: '100' + q_cnt: '0' + seq_num: '1290724' \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.raw b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.raw new file mode 100644 index 0000000000..b2a13b5a77 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.raw @@ -0,0 +1,18 @@ +Load for five secs: 4%/0%; one minute: 1%; five minutes: 0% +Time source is NTP, 12:08:56.318 JST Sat Aug 27 2016 + +EIGRP-IPv4 Neighbors for AS(10) +H Address Interface Hold Uptime SRTT RTO Q Seq + (sec) (ms) Cnt Num +11 10.1.1.122 Tu15 44 1d01h 114 684 0 21930 +9 10.1.1.34 Tu117 38 1w6d 157 942 0 7449 +10 10.1.1.142 Tu12 35 2w5d 141 846 0 3728 +8 10.1.1.194 Tu11 38 4w3d 145 870 0 10023 +7 10.1.1.182 Tu13 43 13w3d 124 744 0 25875 +6 10.1.1.230 Tu14 36 14w2d 93 558 0 5719 +5 192.168.1.239 Gi0/0/2 11 1y17w 1 100 0 1915033 +3 192.168.2.239 Gi0/0/1 12 1y17w 1 100 0 1915035 +4 192.168.2.247 Gi0/0/1 12 2y33w 5 100 0 1290079 +1 192.168.1.247 Gi0/0/2 13 2y33w 4 100 0 1290080 +2 192.168.1.248 Gi0/0/2 14 3y20w 10 100 0 1290726 +0 192.168.2.248 Gi0/0/1 12 3y20w 7 100 0 1290724 \ No newline at end of file From 6e44a2c83b6d31c174c7c20f88bc98a58dbb2b1b Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Thu, 15 Nov 2018 11:47:37 -0500 Subject: [PATCH 171/628] Change requirements to use instead of --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d1370e0495..97914da9bd 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ 'author_email': 'info@networktocode.com', 'url': 'https://github.com/networktocode/ntc-templates', 'install_requires': [ - 'gtextfsm', + 'textfsm', 'terminal', ], 'classifiers': ['Development Status :: 4 - Beta', From 6aab019a9c3f10db7e01fed61b0c9f9d8e44761a Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Thu, 15 Nov 2018 12:01:37 -0500 Subject: [PATCH 172/628] change travis and tox to use textfsm --- .travis.yml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 037c584bec..66ebc553a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ sudo: false install: - pip install netmiko - - pip install gtextfsm + - pip install textfsm - export PYTHONPATH=$PYTHONPATH:/home/travis/build/networktocode/ntc-templates/gtextfsm-0.2.1/textfsm - pip install ansible==1.9.2 - pip install terminal diff --git a/tox.ini b/tox.ini index c4c719069e..992dd8c165 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ deps = pytest PyYAML netmiko - gtextfsm + textfsm ansible==1.9.2 terminal From 3a315964dd47ad52b6eb0c1ec106cba7c7d96358 Mon Sep 17 00:00:00 2001 From: Joe Wesch Date: Mon, 19 Nov 2018 12:43:02 -0600 Subject: [PATCH 173/628] Added cisco_asa_show_asp_table_vpn-context_detail --- ...show_asp_table_vpn-context_detail.template | 37 ++++++++ templates/index | 1 + ...a_show_asp_table_vpn-context_detail.parsed | 83 +++++++++++++++++ ..._asa_show_asp_table_vpn-context_detail.raw | 90 +++++++++++++++++++ 4 files changed, 211 insertions(+) create mode 100644 templates/cisco_asa_show_asp_table_vpn-context_detail.template create mode 100644 tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed create mode 100644 tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.raw diff --git a/templates/cisco_asa_show_asp_table_vpn-context_detail.template b/templates/cisco_asa_show_asp_table_vpn-context_detail.template new file mode 100644 index 0000000000..6b2c54b47b --- /dev/null +++ b/templates/cisco_asa_show_asp_table_vpn-context_detail.template @@ -0,0 +1,37 @@ +Value VPN_CTX (\S+) +Value PEER_IP (\d+.\d+.\d+.\d+) +Value POINTER (\S+) +Value STATE (\S+) +Value FLAGS (\S+) +Value SA (\S+) +Value SPI (\S+) +Value GROUP (\d+) +Value PKTS (\d+) +Value BAD_PKTS (\d+) +Value BAD_SPI (\d+) +Value SPOOF (\d+) +Value BAD_CRYPTO (\d+) +Value REKEY_PKT (\d+) +Value REKEY_CALL (\d+) +Value VPN_FILTER (\S+) + +Start + ^VPN\s+CTX\s+=\s${VPN_CTX} + ^Peer\s+IP\s+=\s${PEER_IP} + ^Pointer\s+=\s${POINTER} + ^State\s+=\s${STATE} + ^Flags\s+=\s${FLAGS} + ^SA\s+=\s${SA} + ^SPI\s+=\s${SPI} + ^Group\s+=\s${GROUP} + ^Pkts\s+=\s${PKTS} + ^Bad\s+Pkts\s+=\s${BAD_PKTS} + ^Bad\s+SPI\s+=\s${BAD_SPI} + ^Spoof\s+=\s${SPOOF} + ^Bad\s+Crypto\s+=\s${BAD_CRYPTO} + ^Rekey\s+Pkt\s+=\s${REKEY_PKT} + ^Rekey\s+Call\s+=\s${REKEY_CALL} + ^VPN\s+Filter\s+=\s${VPN_FILTER} -> Record + ^. -> Error + +EOF diff --git a/templates/index b/templates/index index 426882758c..96c16121ee 100644 --- a/templates/index +++ b/templates/index @@ -92,6 +92,7 @@ checkpoint_gaia_show_route.template, .*, checkpoint_gaia, show route checkpoint_gaia_show_lom.template, .*, checkpoint_gaia, show lom checkpoint_gaia_fw_stat.template, .*, checkpoint_gaia, fw stat +cisco_asa_show_asp_table_vpn-context_detail.template, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]] cisco_asa_show_running-config_crypto_ikev1.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] ikev1 cisco_asa_show_running-config_tunnel-group.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] tu[[nnel-group]] cisco_asa_show_running-config_crypto_map.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] m[[ap]] diff --git a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed new file mode 100644 index 0000000000..03f1f310c5 --- /dev/null +++ b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed @@ -0,0 +1,83 @@ +--- +parsed_sample: + +- vpn_ctx: "0x01177414" + peer_ip: "10.10.200.25" + pointer: "0xCC11B670" + state: "UP+DIP" + flags: "DECR+ESP+NATT" + sa: "0x0DA8FA2F" + spi: "0x4F456306" + group: "1" + pkts: "8092" + bad_pkts: "0" + bad_spi: "0" + spoof: "0" + bad_crypto: "0" + rekey_pkt: "3" + rekey_call: "3" + vpn_filter: "" +- vpn_ctx: "0x0116C1F4" + peer_ip: "10.10.200.25" + pointer: "0xCC11A688" + state: "UP+DIP" + flags: "ENCR+ESP+NATT" + sa: "0x0DAB083D" + spi: "0xDB16183C" + group: "1" + pkts: "7972" + bad_pkts: "0" + bad_spi: "0" + spoof: "0" + bad_crypto: "0" + rekey_pkt: "3" + rekey_call: "3" + vpn_filter: "" +- vpn_ctx: "0x01155524" + peer_ip: "10.11.200.23" + pointer: "0xCC05C8F0" + state: "UP" + flags: "DECR+ESP+PRESERVE" + sa: "0x0DACF9C5" + spi: "0x0F51782D" + group: "1" + pkts: "27257" + bad_pkts: "0" + bad_spi: "0" + spoof: "0" + bad_crypto: "0" + rekey_pkt: "5" + rekey_call: "5" + vpn_filter: "FILTER-101" +- vpn_ctx: "0x0114BD44" + peer_ip: "10.11.200.23" + pointer: "0xC848E250" + state: "UP" + flags: "ENCR+ESP+PRESERVE" + sa: "0x0DAE8F1B" + spi: "0x4ACE6F27" + group: "1" + pkts: "24194" + bad_pkts: "0" + bad_spi: "0" + spoof: "0" + bad_crypto: "0" + rekey_pkt: "5" + rekey_call: "5" + vpn_filter: "FILTER-101" +- vpn_ctx: "0x0114044C" + peer_ip: "10.12.200.22" + pointer: "0xCC11C010" + state: "UP" + flags: "DECR+ESP+NATT" + sa: "0x0DA50609" + spi: "0xDEFE481D" + group: "1" + pkts: "2495" + bad_pkts: "0" + bad_spi: "0" + spoof: "0" + bad_crypto: "0" + rekey_pkt: "5" + rekey_call: "5" + vpn_filter: "" diff --git a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.raw b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.raw new file mode 100644 index 0000000000..44c5aea004 --- /dev/null +++ b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.raw @@ -0,0 +1,90 @@ + +VPN CTX = 0x01177414 + +Peer IP = 10.10.200.25 +Pointer = 0xCC11B670 +State = UP+DIP +Flags = DECR+ESP+NATT +SA = 0x0DA8FA2F +SPI = 0x4F456306 +Group = 1 +Pkts = 8092 +Bad Pkts = 1 +Bad SPI = 1 +Spoof = 1 +Bad Crypto = 1 +Rekey Pkt = 3 +Rekey Call = 3 +VPN Filter = + +VPN CTX = 0x0116C1F4 + +Peer IP = 10.10.200.25 +Pointer = 0xCC11A688 +State = UP+DIP +Flags = ENCR+ESP+NATT +SA = 0x0DAB083D +SPI = 0xDB16183C +Group = 1 +Pkts = 7972 +Bad Pkts = 1 +Bad SPI = 1 +Spoof = 1 +Bad Crypto = 1 +Rekey Pkt = 3 +Rekey Call = 3 +VPN Filter = + +VPN CTX = 0x01155524 + +Peer IP = 10.11.200.23 +Pointer = 0xCC05C8F0 +State = UP +Flags = DECR+ESP+PRESERVE +SA = 0x0DACF9C5 +SPI = 0x0F51782D +Group = 1 +Pkts = 27257 +Bad Pkts = 0 +Bad SPI = 0 +Spoof = 0 +Bad Crypto = 0 +Rekey Pkt = 5 +Rekey Call = 5 +VPN Filter = VPN-ACL-1 + +VPN CTX = 0x0114BD44 + +Peer IP = 10.11.200.23 +Pointer = 0xC848E250 +State = UP +Flags = ENCR+ESP+PRESERVE +SA = 0x0DAE8F1B +SPI = 0x4ACE6F27 +Group = 1 +Pkts = 24194 +Bad Pkts = 0 +Bad SPI = 0 +Spoof = 0 +Bad Crypto = 0 +Rekey Pkt = 5 +Rekey Call = 5 +VPN Filter = VPN-ACL-1 + +VPN CTX = 0x0114044C + +Peer IP = 10.12.200.22 +Pointer = 0xCC11C010 +State = UP +Flags = DECR+ESP+NATT +SA = 0x0DA50609 +SPI = 0xDEFE481D +Group = 1 +Pkts = 2495 +Bad Pkts = 0 +Bad SPI = 0 +Spoof = 0 +Bad Crypto = 0 +Rekey Pkt = 5 +Rekey Call = 5 +VPN Filter = From 7623a466966dab7ded34c7be0070285f4ce86fa0 Mon Sep 17 00:00:00 2001 From: Joe Wesch Date: Mon, 19 Nov 2018 13:13:32 -0600 Subject: [PATCH 174/628] Set the Key for rows to be the VPN_CTX entry --- templates/cisco_asa_show_asp_table_vpn-context_detail.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cisco_asa_show_asp_table_vpn-context_detail.template b/templates/cisco_asa_show_asp_table_vpn-context_detail.template index 6b2c54b47b..156c56a0c4 100644 --- a/templates/cisco_asa_show_asp_table_vpn-context_detail.template +++ b/templates/cisco_asa_show_asp_table_vpn-context_detail.template @@ -1,4 +1,4 @@ -Value VPN_CTX (\S+) +Value Key VPN_CTX (\S+) Value PEER_IP (\d+.\d+.\d+.\d+) Value POINTER (\S+) Value STATE (\S+) From 7dbef54519249def021142b499fbfa04ba8cdfa0 Mon Sep 17 00:00:00 2001 From: Joe Wesch Date: Mon, 19 Nov 2018 13:22:19 -0600 Subject: [PATCH 175/628] Removing leading newline --- .../cisco_asa_show_asp_table_vpn-context_detail.raw | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.raw b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.raw index 44c5aea004..3b68cd389b 100644 --- a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.raw +++ b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.raw @@ -1,4 +1,3 @@ - VPN CTX = 0x01177414 Peer IP = 10.10.200.25 From 478a645121596fcb4d7c9475ac983817ee91cdd2 Mon Sep 17 00:00:00 2001 From: Joe Wesch Date: Mon, 19 Nov 2018 13:30:45 -0600 Subject: [PATCH 176/628] Fixing parsed output to match raw input --- ..._asa_show_asp_table_vpn-context_detail.parsed | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed index 03f1f310c5..338666c0e1 100644 --- a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed +++ b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed @@ -10,10 +10,10 @@ parsed_sample: spi: "0x4F456306" group: "1" pkts: "8092" - bad_pkts: "0" - bad_spi: "0" - spoof: "0" - bad_crypto: "0" + bad_pkts: "1" + bad_spi: "1" + spoof: "1" + bad_crypto: "1" rekey_pkt: "3" rekey_call: "3" vpn_filter: "" @@ -26,10 +26,10 @@ parsed_sample: spi: "0xDB16183C" group: "1" pkts: "7972" - bad_pkts: "0" - bad_spi: "0" - spoof: "0" - bad_crypto: "0" + bad_pkts: "1" + bad_spi: "1" + spoof: "1" + bad_crypto: "1" rekey_pkt: "3" rekey_call: "3" vpn_filter: "" From dfdbb20b76935695c07870a994b88cfd586448ae Mon Sep 17 00:00:00 2001 From: Joe Wesch Date: Mon, 19 Nov 2018 13:31:41 -0600 Subject: [PATCH 177/628] Reverting Key change Removed allowing extra spaces between key words --- ..._show_asp_table_vpn-context_detail.template | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/cisco_asa_show_asp_table_vpn-context_detail.template b/templates/cisco_asa_show_asp_table_vpn-context_detail.template index 156c56a0c4..2cd7bfc8c7 100644 --- a/templates/cisco_asa_show_asp_table_vpn-context_detail.template +++ b/templates/cisco_asa_show_asp_table_vpn-context_detail.template @@ -1,4 +1,4 @@ -Value Key VPN_CTX (\S+) +Value VPN_CTX (\S+) Value PEER_IP (\d+.\d+.\d+.\d+) Value POINTER (\S+) Value STATE (\S+) @@ -16,8 +16,8 @@ Value REKEY_CALL (\d+) Value VPN_FILTER (\S+) Start - ^VPN\s+CTX\s+=\s${VPN_CTX} - ^Peer\s+IP\s+=\s${PEER_IP} + ^VPN\sCTX\s+=\s${VPN_CTX} + ^Peer\sIP\s+=\s${PEER_IP} ^Pointer\s+=\s${POINTER} ^State\s+=\s${STATE} ^Flags\s+=\s${FLAGS} @@ -25,13 +25,13 @@ Start ^SPI\s+=\s${SPI} ^Group\s+=\s${GROUP} ^Pkts\s+=\s${PKTS} - ^Bad\s+Pkts\s+=\s${BAD_PKTS} - ^Bad\s+SPI\s+=\s${BAD_SPI} + ^Bad\sPkts\s+=\s${BAD_PKTS} + ^Bad\sSPI\s+=\s${BAD_SPI} ^Spoof\s+=\s${SPOOF} - ^Bad\s+Crypto\s+=\s${BAD_CRYPTO} - ^Rekey\s+Pkt\s+=\s${REKEY_PKT} - ^Rekey\s+Call\s+=\s${REKEY_CALL} - ^VPN\s+Filter\s+=\s${VPN_FILTER} -> Record + ^Bad\sCrypto\s+=\s${BAD_CRYPTO} + ^Rekey\sPkt\s+=\s${REKEY_PKT} + ^Rekey\sCall\s+=\s${REKEY_CALL} + ^VPN\sFilter\s+=\s${VPN_FILTER} -> Record ^. -> Error EOF From 5797124241d06f78eccb5bb8aee38a3f3dad71cb Mon Sep 17 00:00:00 2001 From: Joe Wesch Date: Mon, 19 Nov 2018 13:41:26 -0600 Subject: [PATCH 178/628] Fixing tests once again --- .../cisco_asa_show_asp_table_vpn-context_detail.parsed | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed index 338666c0e1..d5d268ceb7 100644 --- a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed +++ b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed @@ -48,7 +48,7 @@ parsed_sample: bad_crypto: "0" rekey_pkt: "5" rekey_call: "5" - vpn_filter: "FILTER-101" + vpn_filter: "VPN-ACL-1" - vpn_ctx: "0x0114BD44" peer_ip: "10.11.200.23" pointer: "0xC848E250" @@ -64,7 +64,7 @@ parsed_sample: bad_crypto: "0" rekey_pkt: "5" rekey_call: "5" - vpn_filter: "FILTER-101" + vpn_filter: "VPN-ACL-1" - vpn_ctx: "0x0114044C" peer_ip: "10.12.200.22" pointer: "0xCC11C010" From 30ea6448d32124f700e4ce79f70fecf8bf7db1ad Mon Sep 17 00:00:00 2001 From: Joe Wesch Date: Mon, 19 Nov 2018 15:42:47 -0600 Subject: [PATCH 179/628] Fixing recording of multiple SAs instead of just the last one --- templates/cisco_asa_show_crypto_ipsec_sa.template | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/templates/cisco_asa_show_crypto_ipsec_sa.template b/templates/cisco_asa_show_crypto_ipsec_sa.template index 4be24b5899..442e730914 100644 --- a/templates/cisco_asa_show_crypto_ipsec_sa.template +++ b/templates/cisco_asa_show_crypto_ipsec_sa.template @@ -1,6 +1,7 @@ -Value INTERFACE (\S+) -Value CRYPTO_MAP_TAG (\w+) -Value LOCAL_ADDRESS (\d+\.\d+\.\d+\.\d+) +Value Filldown INTERFACE (\S+) +Value Filldown CRYPTO_MAP_TAG (\w+) +Value Filldown SEQUENCE_NUMBER (\d+) +Value Filldown LOCAL_ADDRESS (\d+\.\d+\.\d+\.\d+) Value LOCAL_IDENTITY_ADDR (\d+\.\d+\.\d+\.\d+) Value LOACL_IDENTITY_MASK (\d+\.\d+\.\d+\.\d+) Value LOCAL_IDENTITY_PROTOCOL (\d+) @@ -60,9 +61,9 @@ Value OUTBOUND_IV_SIZE (\d+\s+\w+) Value OUTBOUND_REPLAY_DETECTION (\w+) Start - ^interface -> Continue.Record ^interface:\s+${INTERFACE}\s* ^\s+Crypto map tag:\s+${CRYPTO_MAP_TAG},\s+local addr:\s+${LOCAL_ADDRESS}\s* + ^\s+Crypto map tag:\s+${CRYPTO_MAP_TAG}, seq num:\s+${SEQUENCE_NUMBER},\s+local addr:\s+${LOCAL_ADDRESS}\s* ^\s+local\s+ident\s+\(addr\/mask\/prot\/port\):\s+\(${LOCAL_IDENTITY_ADDR}\/${LOACL_IDENTITY_MASK}\/${LOCAL_IDENTITY_PROTOCOL}\/${LOCAL_IDENTITY_PORT}\)\s* ^\s+remote\s+ident\s+\(addr/mask/prot/port\):\s+\(${REMOTE_IDENTITY_ADDR}\/${REMOTE_IDENTITY_MASK}\/${REMOTE_IDENTITY_PROTOCOL}\/${REMOTE_IDENTITY_PORT}\)\s* ^\s+current_peer:\s+${CURRENT_PEER}\s* @@ -96,4 +97,6 @@ Outbound ^\s+slot:\s+${OUTBOUND_SLOT},\s+conn_id:\s+${OUTBOUND_CONNECTION_ID},\s+crypto-map:\s+${OUTBOUND_CRYPTO_MAP}\s* ^\s+sa\s+timing:\s+remaining\s+key\s+lifetime\s+\(sec\):\s+${OUTBOUND_REMAINING_LIFETIME}\s* ^\s+IV\s+size:\s+${OUTBOUND_IV_SIZE}\s* - ^\s+replay\s+detection\s+support:\s+${OUTBOUND_REPLAY_DETECTION}\s* -> Start + ^\s+replay\s+detection\s+support:\s+${OUTBOUND_REPLAY_DETECTION}\s* -> Record Start + +EOF From 1badfb8f1c2ad17b5ed03bec4df79d4444f40ebc Mon Sep 17 00:00:00 2001 From: Joe Wesch Date: Mon, 19 Nov 2018 16:47:36 -0600 Subject: [PATCH 180/628] Replaced `\w+` with `\S+` in a few places to allow for non-letters (such as `-`) Fixed a few typos with `RECIEVED` Added missing `CURRENT_INBOUND_SPI` key Modified template to work with more current output (keeping backwards compatibility with current test raw data) --- .../cisco_asa_show_crypto_ipsec_sa.template | 24 +-- .../cisco_asa_show_crypto_ipsec_sa.parsed | 139 +++++++++++++++++- .../cisco_asa_show_crypto_ipsec_sa.raw | 99 ++++++++++++- 3 files changed, 249 insertions(+), 13 deletions(-) diff --git a/templates/cisco_asa_show_crypto_ipsec_sa.template b/templates/cisco_asa_show_crypto_ipsec_sa.template index 442e730914..eb22f9e77f 100644 --- a/templates/cisco_asa_show_crypto_ipsec_sa.template +++ b/templates/cisco_asa_show_crypto_ipsec_sa.template @@ -1,5 +1,5 @@ Value Filldown INTERFACE (\S+) -Value Filldown CRYPTO_MAP_TAG (\w+) +Value Filldown CRYPTO_MAP_TAG (\S+) Value Filldown SEQUENCE_NUMBER (\d+) Value Filldown LOCAL_ADDRESS (\d+\.\d+\.\d+\.\d+) Value LOCAL_IDENTITY_ADDR (\d+\.\d+\.\d+\.\d+) @@ -27,15 +27,16 @@ Value PRE_FRAGMENT_SUCCESS (\d+) Value PRE_FRAGMENT_FAILURES (\d+) Value FRAGMENTS_CREATED (\d+) Value PMTUS_SENT (\d+) -Value PMTUS_RECIEVED (\d+) +Value PMTUS_RECEIVED (\d+) Value DECAP_FRAGS_NEEDING_REASSEMBLY (\d+) Value SEND_ERRORS (\d+) -Value RECIEVE_ERRORS (\d+) +Value RECEIVE_ERRORS (\d+) Value LOCAL_CRYPTO_ENDPOINT (\d+\.\d+\.\d+\.\d+) Value REMOTE_CRYPTO_ENDPOINT (\d+\.\d+\.\d+\.\d+) Value PATH_MTU (\d+) Value IPSEC_OVERHEAD (\d+) Value MEDIA_MTU (\d+) +Value CURRENT_INBOUND_SPI (\w+) Value CURRENT_OUTBOUND_SPI (\w+) Value INBOUND_SPI_HEX (\w+) Value INBOUND_SPI_INTEGER (\d+) @@ -44,8 +45,9 @@ Value INBOUND_AUTHENTICATION (\S+) Value INBOUND_SETTINGS_IN_USE (.*) Value INBOUND_SLOT (\d+) Value INBOUND_CONNECTION_ID (\d+) -Value INBOUND_CRYPTO_MAP (\w+) +Value INBOUND_CRYPTO_MAP (\S+) Value INBOUND_REMAINING_LIFETIME (\d+) +Value INBOUND_REMAINING_LIFETIME_KILOBYTES (\d+) Value INBOUND_IV_SIZE (\d+\s+\w+) Value INBOUND_REPLAY_DETECTION (\w+) Value OUTBOUND_SPI_HEX (\w+) @@ -55,8 +57,9 @@ Value OUTBOUND_AUTHENTICATION (\S+) Value OUTBOUND_SETTINGS_IN_USE (.*) Value OUTBOUND_SLOT (\d+) Value OUTBOUND_CONNECTION_ID (\d+) -Value OUTBOUND_CRYPTO_MAP (\w+) +Value OUTBOUND_CRYPTO_MAP (\S+) Value OUTBOUND_REMAINING_LIFETIME (\d+) +Value OUTBOUND_REMAINING_LIFETIME_KILOBYTES (\d+) Value OUTBOUND_IV_SIZE (\d+\s+\w+) Value OUTBOUND_REPLAY_DETECTION (\w+) @@ -73,11 +76,12 @@ Start ^\s+#pkts\s+compressed:\s+${PACKETS_COMPRESSED},\s+#pkts\s+decompressed:\s+${PACKETS_DECOMPRESSED}\s* ^\s+#pkts\s+not\s+compressed:\s+${PACKETS_NOT_COMPRESSED},\s+#pkts\s+comp\s+failed:\s+${PACKETS_COMPRESS_FAILED},\s+#pkts\s+decomp\s+failed:\s+${PACKETS_DECOMPRESS_FAILED}\s* ^\s+#pre-frag\s+successes:\s+${PRE_FRAGMENT_SUCCESS},\s+#pre-frag\s+failures:\s+${PRE_FRAGMENT_FAILURES},\s+#fragments\s+created:\s+${FRAGMENTS_CREATED}\s* - ^\s+#PMTUs\s+sent:\s+${PMTUS_SENT},\s+#PMTUs\s+rcvd:\s+${PMTUS_RECIEVED},\s+#decapsulated\s+frags\s+needing\s+reassembly:\s+${DECAP_FRAGS_NEEDING_REASSEMBLY}\s* - ^\s+#send\s+errors:\s+${SEND_ERRORS},\s+#recv\s+errors:\s+${RECIEVE_ERRORS}\s* - ^\s+local\s+crypto\s+endpt\.:\s+${LOCAL_CRYPTO_ENDPOINT},\s+remote\s+crypto\s+endpt\.:\s+${REMOTE_CRYPTO_ENDPOINT}\s* - ^\s+path\s+mtu\s+${PATH_MTU},\s+ipsec\s+overhead\s+${IPSEC_OVERHEAD},\s+media\s+mtu\s+${MEDIA_MTU}\s* + ^\s+#PMTUs\s+sent:\s+${PMTUS_SENT},\s+#PMTUs\s+rcvd:\s+${PMTUS_RECEIVED},\s+#decapsulated\s+fra?gs\s+needing\s+reassembly:\s+${DECAP_FRAGS_NEEDING_REASSEMBLY}\s* + ^\s+#send\s+errors:\s+${SEND_ERRORS},\s+#recv\s+errors:\s+${RECEIVE_ERRORS}\s* + ^\s+local\s+crypto\s+endpt\.:\s+${LOCAL_CRYPTO_ENDPOINT}(\/\d+)?,\s+remote\s+crypto\s+endpt\.:\s+${REMOTE_CRYPTO_ENDPOINT}(\/\d+)?\s* + ^\s+path\s+mtu\s+${PATH_MTU},\s+ipsec\s+overhead\s+${IPSEC_OVERHEAD}(\(\d+\))?,\s+media\s+mtu\s+${MEDIA_MTU}\s* ^\s+current\s+outbound\s+spi:\s+${CURRENT_OUTBOUND_SPI}\s* + ^\s+current\s+inbound\s+spi\s+:\s+${CURRENT_INBOUND_SPI}\s* ^\s+inbound\s+esp\s+sas:\s* -> Inbound ^\s+outbound\s+esp\s+sas:\s* -> Outbound @@ -87,6 +91,7 @@ Inbound ^\s+in\s+use\s+settings\s+=\{${INBOUND_SETTINGS_IN_USE},\s+\}\s* ^\s+slot:\s+${INBOUND_SLOT},\s+conn_id:\s+${INBOUND_CONNECTION_ID},\s+crypto-map:\s+${INBOUND_CRYPTO_MAP}\s* ^\s+sa\s+timing:\s+remaining\s+key\s+lifetime\s+\(sec\):\s+${INBOUND_REMAINING_LIFETIME}\s* + ^\s+sa\s+timing:\s+remaining\s+key\s+lifetime\s+\(kB\/sec\):\s+\(${INBOUND_REMAINING_LIFETIME_KILOBYTES}\/${INBOUND_REMAINING_LIFETIME}\)\s* ^\s+IV\s+size:\s+${INBOUND_IV_SIZE}\s* ^\s+replay\s+detection\s+support:\s+${INBOUND_REPLAY_DETECTION}\s* -> Start @@ -96,6 +101,7 @@ Outbound ^\s+in\s+use\s+settings\s+=\{${OUTBOUND_SETTINGS_IN_USE},\s+\}\s* ^\s+slot:\s+${OUTBOUND_SLOT},\s+conn_id:\s+${OUTBOUND_CONNECTION_ID},\s+crypto-map:\s+${OUTBOUND_CRYPTO_MAP}\s* ^\s+sa\s+timing:\s+remaining\s+key\s+lifetime\s+\(sec\):\s+${OUTBOUND_REMAINING_LIFETIME}\s* + ^\s+sa\s+timing:\s+remaining\s+key\s+lifetime\s+\(kB\/sec\):\s+\(${OUTBOUND_REMAINING_LIFETIME_KILOBYTES}\/${OUTBOUND_REMAINING_LIFETIME}\)\s* ^\s+IV\s+size:\s+${OUTBOUND_IV_SIZE}\s* ^\s+replay\s+detection\s+support:\s+${OUTBOUND_REPLAY_DETECTION}\s* -> Record Start diff --git a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.parsed b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.parsed index 86eb5b5290..02cfb7dae6 100644 --- a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.parsed +++ b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.parsed @@ -1,7 +1,9 @@ --- parsed_sample: + - interface: "outside2" crypto_map_tag: "def" + sequence_number: "" local_address: "10.132.0.17" local_identity_addr: "0.0.0.0" loacl_identity_mask: "0.0.0.0" @@ -28,15 +30,16 @@ parsed_sample: pre_fragment_failures: "1" fragments_created: "10" pmtus_sent: "5" - pmtus_recieved: "2" + pmtus_received: "2" decap_frags_needing_reassembly: "1" send_errors: "0" - recieve_errors: "0" + receive_errors: "0" local_crypto_endpoint: "10.132.0.17" remote_crypto_endpoint: "172.20.0.21" path_mtu: "1500" ipsec_overhead: "60" media_mtu: "1500" + current_inbound_spi: "" current_outbound_spi: "DC15BF68" inbound_spi_hex: "0x1E8246FC" inbound_spi_integer: "511854332" @@ -47,6 +50,7 @@ parsed_sample: inbound_connection_id: "3" inbound_crypto_map: "def" inbound_remaining_lifetime: "548" + inbound_remaining_lifetime_kilobytes: "" inbound_iv_size: "8 bytes" inbound_replay_detection: "Y" outbound_spi_hex: "0xDC15BF68" @@ -58,5 +62,134 @@ parsed_sample: outbound_connection_id: "3" outbound_crypto_map: "def" outbound_remaining_lifetime: "548" + outbound_remaining_lifetime_kilobytes: "" outbound_iv_size: "8 bytes" - outbound_replay_detection: "Y" \ No newline at end of file + outbound_replay_detection: "Y" + - interface: "COLO" + crypto_map_tag: "COLO-MAP" + sequence_number: "2" + local_address: "172.16.248.119" + local_identity_addr: "172.16.122.32" + loacl_identity_mask: "255.255.255.240" + local_identity_protocol: "0" + local_identity_port: "0" + remote_identity_addr: "172.30.1.153" + remote_identity_mask: "255.255.255.255" + remote_identity_protocol: "0" + remote_identity_port: "0" + current_peer: "8.8.8.8" + dynamic_peer: "" + packets_encapsulated: "13915315" + packets_encrypted: "13915315" + packets_digested: "13915315" + packets_decapsulated: "23606461" + packets_decrypted: "23606461" + packets_verified: "23606461" + packets_compressed: "0" + packets_decompressed: "0" + packets_not_compressed: "13915315" + packets_compress_failed: "0" + packets_decompress_failed: "0" + pre_fragment_success: "0" + pre_fragment_failures: "0" + fragments_created: "0" + pmtus_sent: "0" + pmtus_received: "0" + decap_frags_needing_reassembly: "0" + send_errors: "0" + receive_errors: "0" + local_crypto_endpoint: "172.16.248.119" + remote_crypto_endpoint: "8.8.8.8" + path_mtu: "1500" + ipsec_overhead: "82" + media_mtu: "1500" + current_inbound_spi: "32F752FF" + current_outbound_spi: "50023DDC" + inbound_spi_hex: "0x32F752FF" + inbound_spi_integer: "855069439" + inbound_encryption: "esp-aes-256" + inbound_authentication: "esp-md5-hmac" + inbound_settings_in_use: "L2L, Tunnel, NAT-T-Encaps, IKEv1" + inbound_slot: "0" + inbound_connection_id: "159694848" + inbound_crypto_map: "COLO-MAP" + inbound_remaining_lifetime: "25461" + inbound_remaining_lifetime_kilobytes: "2699423" + inbound_iv_size: "16 bytes" + inbound_replay_detection: "Y" + outbound_spi_hex: "0x50023DDC" + outbound_spi_integer: "1342324188" + outbound_encryption: "esp-aes-256" + outbound_authentication: "esp-md5-hmac" + outbound_settings_in_use: "L2L, Tunnel, NAT-T-Encaps, IKEv1" + outbound_slot: "0" + outbound_connection_id: "159694848" + outbound_crypto_map: "COLO-MAP" + outbound_remaining_lifetime: "25461" + outbound_remaining_lifetime_kilobytes: "3892153" + outbound_iv_size: "16 bytes" + outbound_replay_detection: "Y" + - interface: "COLO" + crypto_map_tag: "COLO-MAP" + sequence_number: "3" + local_address: "172.20.248.119" + local_identity_addr: "172.20.122.32" + loacl_identity_mask: "255.255.255.240" + local_identity_protocol: "0" + local_identity_port: "0" + remote_identity_addr: "10.160.4.0" + remote_identity_mask: "255.255.255.0" + remote_identity_protocol: "0" + remote_identity_port: "0" + current_peer: "8.8.4.4" + dynamic_peer: "" + packets_encapsulated: "0" + packets_encrypted: "0" + packets_digested: "0" + packets_decapsulated: "0" + packets_decrypted: "0" + packets_verified: "0" + packets_compressed: "0" + packets_decompressed: "0" + packets_not_compressed: "0" + packets_compress_failed: "0" + packets_decompress_failed: "0" + pre_fragment_success: "0" + pre_fragment_failures: "0" + fragments_created: "0" + pmtus_sent: "0" + pmtus_received: "0" + decap_frags_needing_reassembly: "0" + send_errors: "0" + receive_errors: "0" + local_crypto_endpoint: "172.20.248.119" + remote_crypto_endpoint: "8.8.4.4" + path_mtu: "1500" + ipsec_overhead: "74" + media_mtu: "1500" + current_inbound_spi: "6A7391E0" + current_outbound_spi: "EA40155F" + inbound_spi_hex: "0x6A7391E0" + inbound_spi_integer: "1785958880" + inbound_encryption: "esp-aes-256" + inbound_authentication: "esp-md5-hmac" + inbound_settings_in_use: "L2L, Tunnel, IKEv1" + inbound_slot: "0" + inbound_connection_id: "14376960" + inbound_crypto_map: "COLO-MAP" + inbound_remaining_lifetime: "70749" + inbound_remaining_lifetime_kilobytes: "2038431743" + inbound_iv_size: "16 bytes" + inbound_replay_detection: "Y" + outbound_spi_hex: "0xEA40155F" + outbound_spi_integer: "3930068319" + outbound_encryption: "esp-aes-256" + outbound_authentication: "esp-md5-hmac" + outbound_settings_in_use: "L2L, Tunnel, IKEv1" + outbound_slot: "0" + outbound_connection_id: "14376960" + outbound_crypto_map: "COLO-MAP" + outbound_remaining_lifetime: "70749" + outbound_remaining_lifetime_kilobytes: "2038431743" + outbound_iv_size: "16 bytes" + outbound_replay_detection: "Y" diff --git a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw index 4e43612ef7..5c7e27359b 100644 --- a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw +++ b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw @@ -29,4 +29,101 @@ interface: outside2 slot: 0, conn_id: 3, crypto-map: def sa timing: remaining key lifetime (sec): 548 IV size: 8 bytes - replay detection support: Y \ No newline at end of file + replay detection support: Y + +interface: COLO + Crypto map tag: COLO-MAP, seq num: 2, local addr: 172.16.248.119 + + access-list 2 extended permit ip 172.16.122.32 255.255.255.240 host 172.30.1.153 + local ident (addr/mask/prot/port): (172.16.122.32/255.255.255.240/0/0) + remote ident (addr/mask/prot/port): (172.30.1.153/255.255.255.255/0/0) + current_peer: 8.8.8.8 + + + #pkts encaps: 13915315, #pkts encrypt: 13915315, #pkts digest: 13915315 + #pkts decaps: 23606461, #pkts decrypt: 23606461, #pkts verify: 23606461 + #pkts compressed: 0, #pkts decompressed: 0 + #pkts not compressed: 13915315, #pkts comp failed: 0, #pkts decomp failed: 0 + #pre-frag successes: 0, #pre-frag failures: 0, #fragments created: 0 + #PMTUs sent: 0, #PMTUs rcvd: 0, #decapsulated frgs needing reassembly: 0 + #TFC rcvd: 0, #TFC sent: 0 + #Valid ICMP Errors rcvd: 0, #Invalid ICMP Errors rcvd: 0 + #send errors: 0, #recv errors: 0 + + local crypto endpt.: 172.16.248.119/4500, remote crypto endpt.: 8.8.8.8/4500 + path mtu 1500, ipsec overhead 82(52), media mtu 1500 + PMTU time remaining (sec): 0, DF policy: copy-df + ICMP error validation: disabled, TFC packets: disabled + current outbound spi: 50023DDC + current inbound spi : 32F752FF + + inbound esp sas: + spi: 0x32F752FF (855069439) + SA State: active + transform: esp-aes-256 esp-md5-hmac no compression + in use settings ={L2L, Tunnel, NAT-T-Encaps, IKEv1, } + slot: 0, conn_id: 159694848, crypto-map: COLO-MAP + sa timing: remaining key lifetime (kB/sec): (2699423/25461) + IV size: 16 bytes + replay detection support: Y + Anti replay bitmap: + 0xFFFFFFFF 0xFFFFFFFF + outbound esp sas: + spi: 0x50023DDC (1342324188) + SA State: active + transform: esp-aes-256 esp-md5-hmac no compression + in use settings ={L2L, Tunnel, NAT-T-Encaps, IKEv1, } + slot: 0, conn_id: 159694848, crypto-map: COLO-MAP + sa timing: remaining key lifetime (kB/sec): (3892153/25461) + IV size: 16 bytes + replay detection support: Y + Anti replay bitmap: + 0x00000000 0x00000001 + + Crypto map tag: COLO-MAP, seq num: 3, local addr: 172.20.248.119 + + access-list 200 extended permit ip 172.20.122.32 255.255.255.240 10.160.4.0 255.255.255.0 + local ident (addr/mask/prot/port): (172.20.122.32/255.255.255.240/0/0) + remote ident (addr/mask/prot/port): (10.160.4.0/255.255.255.0/0/0) + current_peer: 8.8.4.4 + + + #pkts encaps: 0, #pkts encrypt: 0, #pkts digest: 0 + #pkts decaps: 0, #pkts decrypt: 0, #pkts verify: 0 + #pkts compressed: 0, #pkts decompressed: 0 + #pkts not compressed: 0, #pkts comp failed: 0, #pkts decomp failed: 0 + #pre-frag successes: 0, #pre-frag failures: 0, #fragments created: 0 + #PMTUs sent: 0, #PMTUs rcvd: 0, #decapsulated frgs needing reassembly: 0 + #TFC rcvd: 0, #TFC sent: 0 + #Valid ICMP Errors rcvd: 0, #Invalid ICMP Errors rcvd: 0 + #send errors: 0, #recv errors: 0 + + local crypto endpt.: 172.20.248.119/0, remote crypto endpt.: 8.8.4.4/0 + path mtu 1500, ipsec overhead 74(44), media mtu 1500 + PMTU time remaining (sec): 0, DF policy: copy-df + ICMP error validation: disabled, TFC packets: disabled + current outbound spi: EA40155F + current inbound spi : 6A7391E0 + + inbound esp sas: + spi: 0x6A7391E0 (1785958880) + SA State: active + transform: esp-aes-256 esp-md5-hmac no compression + in use settings ={L2L, Tunnel, IKEv1, } + slot: 0, conn_id: 14376960, crypto-map: COLO-MAP + sa timing: remaining key lifetime (kB/sec): (2038431743/70749) + IV size: 16 bytes + replay detection support: Y + Anti replay bitmap: + 0x00000000 0x00000001 + outbound esp sas: + spi: 0xEA40155F (3930068319) + SA State: active + transform: esp-aes-256 esp-md5-hmac no compression + in use settings ={L2L, Tunnel, IKEv1, } + slot: 0, conn_id: 14376960, crypto-map: COLO-MAP + sa timing: remaining key lifetime (kB/sec): (2038431743/70749) + IV size: 16 bytes + replay detection support: Y + Anti replay bitmap: + 0x00000000 0x00000001 From c05ca2c985b9bf46d828e3e5ef1e213c67535436 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Mon, 19 Nov 2018 21:45:35 -0500 Subject: [PATCH 181/628] PARSE: Update parse module to account for new and old TextFSM packaging --- ntc_templates/parse.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ntc_templates/parse.py b/ntc_templates/parse.py index b96d9dc17b..c24ca2cd4c 100644 --- a/ntc_templates/parse.py +++ b/ntc_templates/parse.py @@ -1,8 +1,10 @@ """ntc_templates.parse.""" import os import sys -from textfsm.clitable import CliTableError -import textfsm.clitable as clitable +try: + from textfsm import clitable +except ImportError: + import clitable def _get_template_dir(): @@ -36,7 +38,7 @@ def parse_output(platform=None, command=None, data=None): try: cli_table.ParseCmd(data, attrs) structured_data = _clitable_to_dict(cli_table) - except CliTableError as e: + except clitable.CliTableError as e: raise Exception('Unable to parse command "%s" on platform %s - %s' % (command, platform, str(e))) # Invalid or Missing template # module.fail_json(msg='parsing error', error=str(e)) From 45c7ac58c34da9ddf27fb328d889fb685e6cb6c3 Mon Sep 17 00:00:00 2001 From: Joe Wesch Date: Tue, 20 Nov 2018 09:37:51 -0600 Subject: [PATCH 182/628] VPN_CTX is now required Moved Record to VPN_CTX, Removed EOF to record last entry Allowed multiple spaces --- ...show_asp_table_vpn-context_detail.template | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/templates/cisco_asa_show_asp_table_vpn-context_detail.template b/templates/cisco_asa_show_asp_table_vpn-context_detail.template index 2cd7bfc8c7..f2236a091d 100644 --- a/templates/cisco_asa_show_asp_table_vpn-context_detail.template +++ b/templates/cisco_asa_show_asp_table_vpn-context_detail.template @@ -1,5 +1,5 @@ -Value VPN_CTX (\S+) -Value PEER_IP (\d+.\d+.\d+.\d+) +Value Required VPN_CTX (\S+) +Value PEER_IP (\S+) Value POINTER (\S+) Value STATE (\S+) Value FLAGS (\S+) @@ -16,22 +16,22 @@ Value REKEY_CALL (\d+) Value VPN_FILTER (\S+) Start - ^VPN\sCTX\s+=\s${VPN_CTX} - ^Peer\sIP\s+=\s${PEER_IP} - ^Pointer\s+=\s${POINTER} - ^State\s+=\s${STATE} - ^Flags\s+=\s${FLAGS} - ^SA\s+=\s${SA} - ^SPI\s+=\s${SPI} - ^Group\s+=\s${GROUP} - ^Pkts\s+=\s${PKTS} - ^Bad\sPkts\s+=\s${BAD_PKTS} - ^Bad\sSPI\s+=\s${BAD_SPI} - ^Spoof\s+=\s${SPOOF} - ^Bad\sCrypto\s+=\s${BAD_CRYPTO} - ^Rekey\sPkt\s+=\s${REKEY_PKT} - ^Rekey\sCall\s+=\s${REKEY_CALL} - ^VPN\sFilter\s+=\s${VPN_FILTER} -> Record + ^VPN\s+CTX -> Continue.Record + ^VPN\s+CTX\s+=\s+${VPN_CTX} + ^Peer\s+IP\s+=\s+${PEER_IP} + ^Pointer\s+=\s+${POINTER} + ^State\s+=\s+${STATE} + ^Flags\s+=\s+${FLAGS} + ^SA\s+=\s+${SA} + ^SPI\s+=\s+${SPI} + ^Group\s+=\s+${GROUP} + ^Pkts\s+=\s+${PKTS} + ^Bad\s+Pkts\s+=\s+${BAD_PKTS} + ^Bad\s+SPI\s+=\s+${BAD_SPI} + ^Spoof\s+=\s+${SPOOF} + ^Bad\s+Crypto\s+=\s+${BAD_CRYPTO} + ^Rekey\s+Pkt\s+=\s+${REKEY_PKT} + ^Rekey\s+Call\s+=\s+${REKEY_CALL} + ^VPN\s+Filter\s+=\s+${VPN_FILTER} + ^\s* ^. -> Error - -EOF From 7121ac1f0ee21c22bf87c2136dd74051f16f9d21 Mon Sep 17 00:00:00 2001 From: Kade Cole Date: Wed, 21 Nov 2018 09:47:20 -0600 Subject: [PATCH 183/628] Adding support for avaya_ers_show_logging_config command (#301) * Initial Commit * Apply suggestions from code review Co-Authored-By: kadecole * Updates from code review --- .../avaya_ers_show_logging_config.template | 22 +++++++++++++++++++ templates/index | 1 + .../avaya_ers_show_logging_config.parsed | 12 ++++++++++ .../avaya_ers_show_logging_config.raw | 9 ++++++++ 4 files changed, 44 insertions(+) create mode 100644 templates/avaya_ers_show_logging_config.template create mode 100644 tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.parsed create mode 100644 tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.raw diff --git a/templates/avaya_ers_show_logging_config.template b/templates/avaya_ers_show_logging_config.template new file mode 100644 index 0000000000..3e7466bf31 --- /dev/null +++ b/templates/avaya_ers_show_logging_config.template @@ -0,0 +1,22 @@ +Value EVENT_LOGGING (.+?) +Value VOLATILE (.+?) +Value LOG_TYPES (.+?) +Value NV_STORAGE_TYPES (.+?) +Value REMOTE_LOGGING (.+?) +Value REMOTE_ADDRESS (.+?) +Value SECONDARY_ADDRESS (.+?) +Value REMOTE_TYPES (.+?) +Value FACILITY (.+?) + +Start + ^Event Logging:\s+${EVENT_LOGGING}\s*$$ + ^Volatile Logging Option:\s+${VOLATILE}\s*$$ + ^Event Types To Log:\s+${LOG_TYPES}\s*$$ + ^Event Types To Log To NV Storage:\s+${NV_STORAGE_TYPES}\s*$$ + ^Remote Logging:\s+${REMOTE_LOGGING}\s*$$ + ^Remote Logging Address:\s+${REMOTE_ADDRESS}\s*$$ + ^Secondary Remote Logging Address:\s+${SECONDARY_ADDRESS}\s*$$ + ^Event Types To Log Remotely:\s+${REMOTE_TYPES}\s*$$ + ^Facility:\s+${FACILITY}\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 96c16121ee..606d42a3b5 100644 --- a/templates/index +++ b/templates/index @@ -53,6 +53,7 @@ aruba_os_show_ip_interface_brief.template, .*, aruba_os, sh[[ow]] ip in[[terface avaya_ers_show_mac-address-table.template, .*, avaya_ers, sh[[ow]] mac-a[[ddress-table]] avaya_ers_show_interface_name.template, .*, avaya_ers, sh[[ow]] in[[terfaces]] n[[ames]] +avaya_ers_show_logging_config.template, .*, avaya_ers, sh[[ow]] lo[[gging]] co[[nfig]] avaya_ers_show_sys-info.template, .*, avaya_ers, sh[[ow]] sys-[[info]] avaya_ers_show_vlan.template, .*, avaya_ers, sh[[ow]] vlan avaya_ers_show_mlt.template, .*, avaya_ers, sh[[ow]] ml[[t]] diff --git a/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.parsed b/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.parsed new file mode 100644 index 0000000000..05f934da7d --- /dev/null +++ b/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.parsed @@ -0,0 +1,12 @@ +--- +parsed_sample: + +- event_logging: 'Enabled' + volatile: 'Latch' + log_types: 'Critical, Serious, Informational' + nv_storage_types: Critical, Serious + remote_logging: 'Enabled' + remote_address: '0.0.0.0' + secondary_address: '0.0.0.0' + remote_types: 'Critical, Serious, Informational' + facility: 'Daemon' diff --git a/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.raw b/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.raw new file mode 100644 index 0000000000..f1249bceae --- /dev/null +++ b/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.raw @@ -0,0 +1,9 @@ +Event Logging: Enabled +Volatile Logging Option: Latch +Event Types To Log: Critical, Serious, Informational +Event Types To Log To NV Storage: Critical, Serious +Remote Logging: Enabled +Remote Logging Address: 0.0.0.0 +Secondary Remote Logging Address: 0.0.0.0 +Event Types To Log Remotely: Critical, Serious, Informational +Facility: Daemon From 3fdfe539ab181d6dff5aa8f2863fe42e99cd05f2 Mon Sep 17 00:00:00 2001 From: Jack Kraszewski Date: Fri, 7 Dec 2018 13:41:24 -0500 Subject: [PATCH 184/628] juniper_junos_show_chassis_cluster_status: Add new template (#297) * added juniper_junos_show_chassis_cluster_status.template * Update parsed file to be YAML * Parsed file is currently a list object instead of abiding by proper JSON format. * Add `parsed_sample` key, and place parsed data under key. * Format list object to use YAML format. * Separate parsing key map from parsing data * Current parsing of key map is very strict on what leading key will be, but this is likely to have high variance. * Add new state, `Cluster`, to parse the interesting data * Fix collecting empty data on first `Record` * The template currently records an empty set of data when encountering the first Redundancy Group header. * Update the State change to change upon encountering the first Redundnacy Group header, and then record on every subsequent RG header. * Remove empty data set from parsed test file. --- templates/index | 1 + ...junos_show_chassis_cluster_status.template | 24 +++++++++++++++ ...r_junos_show_chassis_cluster_status.parsed | 29 +++++++++++++++++++ ...iper_junos_show_chassis_cluster_status.raw | 22 ++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 templates/juniper_junos_show_chassis_cluster_status.template create mode 100644 tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.parsed create mode 100644 tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.raw diff --git a/templates/index b/templates/index index 606d42a3b5..ca4f788110 100644 --- a/templates/index +++ b/templates/index @@ -253,6 +253,7 @@ hp_procurve_show_system.template, .*, hp_procurve, sh[[ow]] syst[[em]] hp_procurve_show_vlans.template, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.template, .*, hp_procurve, sh[[ow]] ar[[p]] +juniper_junos_show_chassis_cluster_status.template, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] juniper_junos_show_chassis_firmware.template, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] juniper_junos_show_isis_adjacency.template, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] juniper_junos_show_ospf_neighbor.template, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] diff --git a/templates/juniper_junos_show_chassis_cluster_status.template b/templates/juniper_junos_show_chassis_cluster_status.template new file mode 100644 index 0000000000..91188a635d --- /dev/null +++ b/templates/juniper_junos_show_chassis_cluster_status.template @@ -0,0 +1,24 @@ +Value Filldown CLUSTER_ID (\d+) +Value REDUNDANCY_GROUP_ID (\d+) +Value FAILOVER_COUNT (\d+) +Value List NODE (\S+) +Value List PRIORITY (\d+) +Value List STATUS (\S+) +Value List PREEMPT (\S+) +Value List MANUAL (\S+) +Value List MONITOR_FAILURES (\S+) + +Start + ^[Mm]onitor\s+[Ff]ailure\s+[Cc]odes:\s*$$ + ^\S{1,3}\s+ + ^\s*$$ + ^Cluster\s+ID:\s+${CLUSTER_ID}\s*$$ + ^Node\s+Priority\s+Status\s+Preempt\s+Manual\s+Monitor-failures\s*$$ + ^Redundancy\s+group:\s+${REDUNDANCY_GROUP_ID}\s*,\s*Failover\s+count:\s+${FAILOVER_COUNT}\s*$$ -> RedGroup + ^. -> Error + +RedGroup + ^${NODE}\s+${PRIORITY}\s+${STATUS}\s+${PREEMPT}\s+${MANUAL}\s+${MONITOR_FAILURES}\s*$$ + ^Redundancy\s+group -> Continue.Record + ^Redundancy\s+group:\s+${REDUNDANCY_GROUP_ID}\s*,\s*Failover\s+count:\s+${FAILOVER_COUNT}\s*$$ + ^. -> Error diff --git a/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.parsed b/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.parsed new file mode 100644 index 0000000000..329a032768 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.parsed @@ -0,0 +1,29 @@ +--- +parsed_sample: + - cluster_id: "1" + redundancy_group_id: "0" + failover_count: "1" + node: ["node0", "node1"] + priority: ["100", "0"] + status: ["primary", "lost"] + preempt: ["no", "n/a"] + manual: ["no", "n/a"] + monitor_failures: ["None", "n/a"] + - cluster_id: "1" + redundancy_group_id: "1" + failover_count: "1" + node: ["node0", "node1"] + priority: ["0", "0"] + status: ["primary", "lost"] + preempt: ["no", "n/a"] + manual: ["no", "n/a"] + monitor_failures: ["CS", "n/a"] + - cluster_id: "1" + redundancy_group_id: "3" + failover_count: "1" + node: ["node0", "node1"] + priority: ["0", "0"] + status: ["primary", "lost"] + preempt: ["no", "n/a"] + manual: ["no", "n/a"] + monitor_failures: ["CS", "n/a"] diff --git a/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.raw b/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.raw new file mode 100644 index 0000000000..82d6cf00d1 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.raw @@ -0,0 +1,22 @@ +Monitor Failure codes: +CS Cold Sync monitoring FL Fabric Connection monitoring +GR GRES monitoring HW Hardware monitoring +IF Interface monitoring IP IP monitoring +LB Loopback monitoring MB Mbuf monitoring +NH Nexthop monitoring NP NPC monitoring +SP SPU monitoring SM Schedule monitoring + +Cluster ID: 1 +Node Priority Status Preempt Manual Monitor-failures + +Redundancy group: 0 , Failover count: 1 +node0 100 primary no no None +node1 0 lost n/a n/a n/a + +Redundancy group: 1 , Failover count: 1 +node0 0 primary no no CS +node1 0 lost n/a n/a n/a + +Redundancy group: 3 , Failover count: 1 +node0 0 primary no no CS +node1 0 lost n/a n/a n/a From a5ffa6324ff6c5a29d5b90a46a8bd400c6a669b4 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Thu, 20 Dec 2018 11:31:01 -0500 Subject: [PATCH 185/628] IOS DIR: Account for spaces in permissions (#321) * New data was found that had spaces in permissions data. * Update template to allow for this space using `(.+?)`. * Remove state change as it does not seem to be doing much. * Simplify `date_time` to use `(.+?)` and add end of line, `\s*$$` to capture whatever text shows up between `SIZE` and `NAME`. * Remove unnecesarry capture groups that were not assigned to named capture groups. --- templates/cisco_ios_dir.template | 12 ++++-------- tests/cisco_ios/dir/cisco_ios_dir.parsed | 2 +- tests/cisco_ios/dir/cisco_ios_dir.raw | 2 +- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/templates/cisco_ios_dir.template b/templates/cisco_ios_dir.template index 3b56f6ca53..521cfb65f5 100644 --- a/templates/cisco_ios_dir.template +++ b/templates/cisco_ios_dir.template @@ -1,19 +1,15 @@ Value Filldown FILE_SYSTEM (\S+) Value ID (\d+) -Value PERMISSIONS (\S+) +Value PERMISSIONS (.+?) Value SIZE (\d+) Value Fillup TOTAL_SIZE (\d+) Value Fillup TOTAL_FREE (\d+) -Value DATE_TIME (()|(\w+\s\d+\s\d+\s\S+\s\S+)) +Value DATE_TIME (.+?) Value NAME (\S+) Start - ^Directory of\s+${FILE_SYSTEM} -> DIR - -DIR - ^Directory of\s+${FILE_SYSTEM} -> DIR - ^((\s+)*${ID})\s+${PERMISSIONS}\s+${SIZE}\s+${DATE_TIME}\s+${NAME} -> Record + ^\s*${ID}\s+${PERMISSIONS}\s+${SIZE}\s+${DATE_TIME}\s+${NAME}\s*$$ -> Record + ^Directory of\s+${FILE_SYSTEM} ^${TOTAL_SIZE}\s+\S+\s+\S+\s\(${TOTAL_FREE} bytes free\) -# EOF diff --git a/tests/cisco_ios/dir/cisco_ios_dir.parsed b/tests/cisco_ios/dir/cisco_ios_dir.parsed index 14a5f0882b..f3c7a6951b 100644 --- a/tests/cisco_ios/dir/cisco_ios_dir.parsed +++ b/tests/cisco_ios/dir/cisco_ios_dir.parsed @@ -75,7 +75,7 @@ parsed_sample: - file_system: 'bootflash:/' id: '519171' - permissions: '-rw-' + permissions: '-rw -' size: '5681' date_time: 'Mar 2 2015 08:48:31 +00:00' name: 'packages.conf' diff --git a/tests/cisco_ios/dir/cisco_ios_dir.raw b/tests/cisco_ios/dir/cisco_ios_dir.raw index 9faea0877a..0a26543d9e 100644 --- a/tests/cisco_ios/dir/cisco_ios_dir.raw +++ b/tests/cisco_ios/dir/cisco_ios_dir.raw @@ -8,7 +8,7 @@ Directory of bootflash:/ 15 -rw- 161136640 Mar 2 2015 08:47:34 +00:00 iosxe-remote-mgmt.03.14.01.S.155-1.S1-std.ova 519172 -rw- 250578048 Mar 2 2015 08:48:31 +00:00 csr1000v-mono-universalk9.03.14.01.S.155-1.S1-std.SPA.pkg 519170 -rw- 4892 Mar 2 2015 08:48:30 +00:00 csr1000v-packages-universalk9.03.14.01.S.155-1.S1-std.conf -519171 -rw- 5681 Mar 2 2015 08:48:31 +00:00 packages.conf +519171 -rw - 5681 Mar 2 2015 08:48:31 +00:00 packages.conf 827425 drwx 4096 Mar 2 2015 08:49:40 +00:00 .prst_sync 730081 drwx 4096 Mar 2 2015 08:49:43 +00:00 .rollback_timer 16 -rw- 0 Mar 2 2015 08:49:46 +00:00 tracelogs.394 From 19b29ff895537fb24b8a81a2cf7a71d6b5ffe205 Mon Sep 17 00:00:00 2001 From: Vlad Olariu Date: Thu, 20 Dec 2018 19:16:36 +0000 Subject: [PATCH 186/628] Adding cisco_ios_show_ip_interface . --- .../cisco_ios_show_ip_interface.template | 11 + .../cisco_ios_show_ip_interface.parsed | 232 ++ .../cisco_ios_show_ip_interface.raw | 2501 +++++++++++++++++ 3 files changed, 2744 insertions(+) create mode 100644 templates/cisco_ios_show_ip_interface.template create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.raw diff --git a/templates/cisco_ios_show_ip_interface.template b/templates/cisco_ios_show_ip_interface.template new file mode 100644 index 0000000000..d658777d24 --- /dev/null +++ b/templates/cisco_ios_show_ip_interface.template @@ -0,0 +1,11 @@ +Value INTF (\S+) +Value Required IPADDR (\S+) +Value VRF (\S+) + +Start + ^${INTF} is .* -> + ^\s+Internet address is ${IPADDR} -> + ^\s+VPN Routing/Forwarding "${VRF}" -> + ^\s+IP multicast.* -> Record + +EOF \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed new file mode 100644 index 0000000000..3541a55a49 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed @@ -0,0 +1,232 @@ +parsed_sample: +- int: "GigabitEthernet0" + ipaddr: "172.21.2.3/24" + vrf: "Mgmt-intf" + +- int: "Loopback0" + ipaddr: "88.16.255.249/32" + vrf: "" + +- int: "Loopback1" + ipaddr: "88.16.255.1/32" + vrf: "" + +- int: "Loopback505" + ipaddr: "192.168.100.100/32" + vrf: "DATA" + +- int: "Loopback506" + ipaddr: "192.168.200.100/32" + vrf: "SIG" + +- int: "Loopback1001" + ipaddr: "172.18.0.24/32" + vrf: "MYCOMPANY" + +- int: "Loopback5999" + ipaddr: "172.22.255.255/32" + vrf: "VRF_WL_SIG" + +- int: "Loopback12345" + ipaddr: "88.16.245.1/32" + vrf: "7650C2814C784BACBBE23BB30B47D3A1" + +- int: "Port-channel1.10" + ipaddr: "172.18.16.42/29" + vrf: "MYCOMPANY" + +- int: "Port-channel1.102" + ipaddr: "88.16.254.61/31" + vrf: "" + +- int: "Port-channel1.105" + ipaddr: "172.20.0.149/30" + vrf: "MYCOMPANY" + +- int: "Port-channel1.106" + ipaddr: "88.16.254.65/31" + vrf: "" + +- int: "Port-channel1.107" + ipaddr: "172.20.2.1/30" + vrf: "MYCOMPANY" + +- int: "Port-channel1.501" + ipaddr: "169.254.0.114/29" + vrf: "C617529B810A48F6AD40FEBCB163B286" + +- int: "Port-channel1.504" + ipaddr: "169.254.0.1/30" + vrf: "7650C2814C784BACBBE23BB30B47D3A1" + +- int: "Port-channel1.535" + ipaddr: "169.254.0.1/30" + vrf: "6281BBEF467947E4949F989BBC891138" + +- int: "Port-channel1.601" + ipaddr: "169.254.0.50/29" + vrf: "C617529B810A48F6AD40FEBCB163B286" + +- int: "Port-channel1.620" + ipaddr: "169.254.0.5/30" + vrf: "6281BBEF467947E4949F989BBC891138" + +- int: "Port-channel1.1012" + ipaddr: "88.16.254.103/31" + vrf: "" + +- int: "Port-channel1.1013" + ipaddr: "88.16.254.94/31" + vrf: "" + +- int: "Port-channel1.1014" + ipaddr: "88.16.254.17/31" + vrf: "" + +- int: "Port-channel1.1087" + ipaddr: "88.16.255.53/31" + vrf: "" + +- int: "Port-channel1.3201" + ipaddr: "88.16.254.0/31" + vrf: "" + +- int: "Port-channel1.3202" + ipaddr: "88.16.254.2/31" + vrf: "" + +- int: "Port-channel1.3204" + ipaddr: "88.16.254.4/31" + vrf: "" + +- int: "Port-channel1.3251" + ipaddr: "172.19.0.90/31" + vrf: "MYCOMPANY" + +- int: "Port-channel1.3262" + ipaddr: "88.16.234.10/29" + vrf: "" + +- int: "Tunnel5001" + ipaddr: "169.254.64.0/31" + vrf: "" + +- int: "Tunnel5002" + ipaddr: "169.254.64.4/31" + vrf: "" + +- int: "Tunnel5010" + ipaddr: "169.254.64.36/31" + vrf: "" + +- int: "Tunnel6001" + ipaddr: "169.254.64.2/31" + vrf: "" + +- int: "Tunnel6002" + ipaddr: "169.254.64.6/31" + vrf: "" + +- int: "vasileft1" + ipaddr: "88.16.254.10/31" + vrf: "" + +- int: "vasileft21" + ipaddr: "100.66.0.2/31" + vrf: "" + +- int: "vasileft22" + ipaddr: "100.66.0.64/31" + vrf: "" + +- int: "vasileft23" + ipaddr: "100.66.0.102/31" + vrf: "" + +- int: "vasileft24" + ipaddr: "100.66.0.82/31" + vrf: "" + +- int: "vasileft25" + ipaddr: "100.66.0.74/31" + vrf: "" + +- int: "vasileft26" + ipaddr: "100.66.0.130/31" + vrf: "" + +- int: "vasileft27" + ipaddr: "100.66.0.158/31" + vrf: "" + +- int: "vasileft28" + ipaddr: "100.66.0.162/31" + vrf: "" + +- int: "vasileft29" + ipaddr: "100.66.0.174/31" + vrf: "" + +- int: "vasileft30" + ipaddr: "100.66.0.194/31" + vrf: "" + +- int: "vasileft31" + ipaddr: "100.66.0.214/31" + vrf: "" + +- int: "vasileft32" + ipaddr: "100.66.1.2/31" + vrf: "" + +- int: "vasiright1" + ipaddr: "88.16.254.11/31" + vrf: "MYCOMPANY" + +- int: "vasiright21" + ipaddr: "100.66.0.3/31" + vrf: "C617529B810A48F6AD40FEBCB163B286" + +- int: "vasiright22" + ipaddr: "100.66.0.65/31" + vrf: "28FBAE630B934EB5AFA7FCE43E52393E" + +- int: "vasiright23" + ipaddr: "100.66.0.103/31" + vrf: "4CB342232A7B4D04ADEF7DE3EC2679EC" + +- int: "vasiright24" + ipaddr: "100.66.0.83/31" + vrf: "F76D90EAB6474F5BBB433939BA52FB14" + +- int: "vasiright25" + ipaddr: "100.66.0.75/31" + vrf: "6281BBEF467947E4949F989BBC891138" + +- int: "vasiright26" + ipaddr: "100.66.0.131/31" + vrf: "7650C2814C784BACBBE23BB30B47D3A1" + +- int: "vasiright27" + ipaddr: "100.66.0.159/31" + vrf: "AF1C8AE356D94BBBB377257D047D3D4D" + +- int: "vasiright28" + ipaddr: "100.66.0.163/31" + vrf: "41ECD4DB33314E949FD8D96D98252919" + +- int: "vasiright29" + ipaddr: "100.66.0.175/31" + vrf: "A1E5B05D1D914A109BE1EE71B7C994B7" + +- int: "vasiright30" + ipaddr: "100.66.0.195/31" + vrf: "CC462DCE24DD43B28EA8EA9BAD49044E" + +- int: "vasiright31" + ipaddr: "100.66.0.215/31" + vrf: "C5DE7D3B149B4AF7BF398F45F0AD90A6" + +- int: "vasiright32" + ipaddr: "100.66.1.3/31" + vrf: "8B3C2CFAD23841D1BC9FA2A178BA5855" \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.raw b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.raw new file mode 100644 index 0000000000..0ef098cebc --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.raw @@ -0,0 +1,2501 @@ +GigabitEthernet0/0/0 is administratively down, line protocol is down + Internet protocol processing disabled +GigabitEthernet0/0/1 is administratively down, line protocol is down + Internet protocol processing disabled +GigabitEthernet0/0/2 is administratively down, line protocol is down + Internet protocol processing disabled +GigabitEthernet0/0/3 is administratively down, line protocol is down + Internet protocol processing disabled +GigabitEthernet0/0/4 is administratively down, line protocol is down + Internet protocol processing disabled +GigabitEthernet0/0/5 is administratively down, line protocol is down + Internet protocol processing disabled +TenGigabitEthernet0/1/0 is up, line protocol is up + Internet protocol processing disabled +TenGigabitEthernet0/2/0 is up, line protocol is up + Internet protocol processing disabled +TenGigabitEthernet0/3/0 is up, line protocol is up + Internet protocol processing disabled +GigabitEthernet0 is up, line protocol is up + Internet address is 172.21.2.3/24 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 1500 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "Mgmt-intf" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Loopback0 is up, line protocol is up + Internet address is 88.16.255.249/32 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 1514 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Loopback1 is up, line protocol is up + Internet address is 88.16.255.1/32 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 1514 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Loopback505 is up, line protocol is up + Internet address is 192.168.100.100/32 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1514 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "DATA" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Loopback506 is up, line protocol is up + Internet address is 192.168.200.100/32 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 1514 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "SIG" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Loopback1001 is up, line protocol is up + Internet address is 172.18.0.24/32 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 1514 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "MYCOMPANY" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Loopback5999 is up, line protocol is up + Internet address is 172.22.255.255/32 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1514 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "VRF_WL_SIG" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Loopback12345 is up, line protocol is up + Internet address is 88.16.245.1/32 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1514 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "7650C2814C784BACBBE23BB30B47D3A1" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1 is up, line protocol is up + Internet protocol processing disabled +Port-channel1.10 is up, line protocol is up + Internet address is 172.18.16.42/29 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 9000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "MYCOMPANY" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.102 is up, line protocol is up + Internet address is 88.16.254.61/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 8000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.105 is up, line protocol is up + Internet address is 172.20.0.149/30 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1500 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "MYCOMPANY" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.106 is up, line protocol is up + Internet address is 88.16.254.65/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 8000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.107 is up, line protocol is up + Internet address is 172.20.2.1/30 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1500 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "MYCOMPANY" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.501 is up, line protocol is up + Internet address is 169.254.0.114/29 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "C617529B810A48F6AD40FEBCB163B286" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.502 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.504 is up, line protocol is up + Internet address is 169.254.0.1/30 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "7650C2814C784BACBBE23BB30B47D3A1" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.523 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.524 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.527 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.528 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.533 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.535 is up, line protocol is up + Internet address is 169.254.0.1/30 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "6281BBEF467947E4949F989BBC891138" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.536 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.537 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.538 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.601 is up, line protocol is up + Internet address is 169.254.0.50/29 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "C617529B810A48F6AD40FEBCB163B286" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.602 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.614 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.615 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.618 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.619 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.620 is up, line protocol is up + Internet address is 169.254.0.5/30 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "6281BBEF467947E4949F989BBC891138" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.621 is deleted, line protocol is down + Internet protocol processing disabled +Port-channel1.1012 is up, line protocol is up + Internet address is 88.16.254.103/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 8000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.1013 is up, line protocol is up + Internet address is 88.16.254.94/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 8000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.1014 is up, line protocol is up + Internet address is 88.16.254.17/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 8000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.1087 is up, line protocol is up + Internet address is 88.16.255.53/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 8000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.3201 is up, line protocol is up + Internet address is 88.16.254.0/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 8000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.102 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.3202 is up, line protocol is up + Internet address is 88.16.254.2/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 8000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.3204 is up, line protocol is up + Internet address is 88.16.254.4/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 8000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.3251 is up, line protocol is up + Internet address is 172.19.0.90/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 8000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + VPN Routing/Forwarding "MYCOMPANY" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Port-channel1.3262 is administratively down, line protocol is down + Internet address is 88.16.234.10/29 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 9000 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, IPSec input classification, IPSec input vrf switch, MCI Check + Output features: IPSec output classification, IPSec: to crypto engine, Post-encryption output features + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Tunnel5001 is up, line protocol is up + Internet address is 169.254.64.0/31 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1472 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + Tunnel VPN Routing/Forwarding "MYCOMPANY" + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Tunnel5002 is up, line protocol is up + Internet address is 169.254.64.4/31 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1472 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + Tunnel VPN Routing/Forwarding "MYCOMPANY" + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Tunnel5010 is up, line protocol is up + Internet address is 169.254.64.36/31 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1472 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.2 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + Tunnel VPN Routing/Forwarding "MYCOMPANY" + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Tunnel6001 is up, line protocol is down + Internet address is 169.254.64.2/31 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1472 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + Tunnel VPN Routing/Forwarding "MYCOMPANY" + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Tunnel6002 is up, line protocol is down + Internet address is 169.254.64.6/31 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1472 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + Tunnel VPN Routing/Forwarding "MYCOMPANY" + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain inside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, MCI Check + Output features: NAT Inside, QoS Preclassification + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft1 is up, line protocol is up + Internet address is 88.16.254.10/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft21 is up, line protocol is up + Internet address is 100.66.0.2/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft22 is up, line protocol is up + Internet address is 100.66.0.64/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft23 is up, line protocol is up + Internet address is 100.66.0.102/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft24 is up, line protocol is up + Internet address is 100.66.0.82/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft25 is up, line protocol is up + Internet address is 100.66.0.74/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft26 is up, line protocol is up + Internet address is 100.66.0.130/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft27 is up, line protocol is up + Internet address is 100.66.0.158/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft28 is up, line protocol is up + Internet address is 100.66.0.162/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft29 is up, line protocol is up + Internet address is 100.66.0.174/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft30 is up, line protocol is up + Internet address is 100.66.0.194/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft31 is up, line protocol is up + Internet address is 100.66.0.214/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasileft32 is up, line protocol is up + Internet address is 100.66.1.2/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright1 is up, line protocol is up + Internet address is 88.16.254.11/31 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "MYCOMPANY" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright21 is up, line protocol is up + Internet address is 100.66.0.3/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "C617529B810A48F6AD40FEBCB163B286" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright22 is up, line protocol is up + Internet address is 100.66.0.65/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "28FBAE630B934EB5AFA7FCE43E52393E" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright23 is up, line protocol is up + Internet address is 100.66.0.103/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "4CB342232A7B4D04ADEF7DE3EC2679EC" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright24 is up, line protocol is up + Internet address is 100.66.0.83/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "F76D90EAB6474F5BBB433939BA52FB14" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright25 is up, line protocol is up + Internet address is 100.66.0.75/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "6281BBEF467947E4949F989BBC891138" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright26 is up, line protocol is up + Internet address is 100.66.0.131/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "7650C2814C784BACBBE23BB30B47D3A1" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright27 is up, line protocol is up + Internet address is 100.66.0.159/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "AF1C8AE356D94BBBB377257D047D3D4D" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright28 is up, line protocol is up + Internet address is 100.66.0.163/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "41ECD4DB33314E949FD8D96D98252919" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright29 is up, line protocol is up + Internet address is 100.66.0.175/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "A1E5B05D1D914A109BE1EE71B7C994B7" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright30 is up, line protocol is up + Internet address is 100.66.0.195/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "CC462DCE24DD43B28EA8EA9BAD49044E" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright31 is up, line protocol is up + Internet address is 100.66.0.215/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "C5DE7D3B149B4AF7BF398F45F0AD90A6" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +vasiright32 is up, line protocol is up + Internet address is 100.66.1.3/31 + Broadcast address is 255.255.255.255 + Address determined by configuration file + MTU is 9216 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is disabled + IP Flow switching is disabled + IP CEF switching is disabled + IP Null turbo vector + IP Null turbo vector + VPN Routing/Forwarding "8B3C2CFAD23841D1BC9FA2A178BA5855" + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is enabled, interface in domain outside + BGP Policy Mapping is disabled + Input features: Virtual Fragment Reassembly, NAT Outside, MCI Check + Output features: Post-routing NAT Outside + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled \ No newline at end of file From 93b73ef4de413a31b22f9723d45412e8730dfead Mon Sep 17 00:00:00 2001 From: Vlad Olariu Date: Thu, 20 Dec 2018 19:16:36 +0000 Subject: [PATCH 187/628] Adding cisco_ios_show_ip_interface --- templates/index | 1 + .../show_ip_interface/cisco_ios_show_ip_interface.parsed | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/index b/templates/index index ca4f788110..aea3533825 100644 --- a/templates/index +++ b/templates/index @@ -145,6 +145,7 @@ cisco_ios_show_platform_diag.template, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ cisco_ios_show_processes_cpu.template, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] cisco_ios_show_spanning-tree.template, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] cisco_ios_show_standby_brief.template, .*, cisco_ios, sh[[ow]] standby br[[ief]] +cisco_ios_show_ip_interface.template, .*, cisco_ios, sh[[ow]] ip in[[terface]] cisco_ios_show_power_status.template, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] cisco_ios_show_access-list.template, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.template, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed index 3541a55a49..c27a748a7d 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed @@ -1,4 +1,7 @@ +--- + parsed_sample: + - int: "GigabitEthernet0" ipaddr: "172.21.2.3/24" vrf: "Mgmt-intf" @@ -229,4 +232,4 @@ parsed_sample: - int: "vasiright32" ipaddr: "100.66.1.3/31" - vrf: "8B3C2CFAD23841D1BC9FA2A178BA5855" \ No newline at end of file + vrf: "8B3C2CFAD23841D1BC9FA2A178BA5855" From 947e382935b02c003c79837bb568c79abba48a5f Mon Sep 17 00:00:00 2001 From: Vlad Olariu Date: Fri, 21 Dec 2018 11:24:42 +0000 Subject: [PATCH 188/628] fix: from int to intf in cisco_ios_show_ip_interface.parsed --- .../cisco_ios_show_ip_interface.parsed | 116 +++++++++--------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed index c27a748a7d..d6c9643f38 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed @@ -2,234 +2,234 @@ parsed_sample: -- int: "GigabitEthernet0" +- intf: "GigabitEthernet0" ipaddr: "172.21.2.3/24" vrf: "Mgmt-intf" -- int: "Loopback0" +- intf: "Loopback0" ipaddr: "88.16.255.249/32" vrf: "" -- int: "Loopback1" +- intf: "Loopback1" ipaddr: "88.16.255.1/32" vrf: "" -- int: "Loopback505" +- intf: "Loopback505" ipaddr: "192.168.100.100/32" vrf: "DATA" -- int: "Loopback506" +- intf: "Loopback506" ipaddr: "192.168.200.100/32" vrf: "SIG" -- int: "Loopback1001" +- intf: "Loopback1001" ipaddr: "172.18.0.24/32" vrf: "MYCOMPANY" -- int: "Loopback5999" +- intf: "Loopback5999" ipaddr: "172.22.255.255/32" vrf: "VRF_WL_SIG" -- int: "Loopback12345" +- intf: "Loopback12345" ipaddr: "88.16.245.1/32" vrf: "7650C2814C784BACBBE23BB30B47D3A1" -- int: "Port-channel1.10" +- intf: "Port-channel1.10" ipaddr: "172.18.16.42/29" vrf: "MYCOMPANY" -- int: "Port-channel1.102" +- intf: "Port-channel1.102" ipaddr: "88.16.254.61/31" vrf: "" -- int: "Port-channel1.105" +- intf: "Port-channel1.105" ipaddr: "172.20.0.149/30" vrf: "MYCOMPANY" -- int: "Port-channel1.106" +- intf: "Port-channel1.106" ipaddr: "88.16.254.65/31" vrf: "" -- int: "Port-channel1.107" +- intf: "Port-channel1.107" ipaddr: "172.20.2.1/30" vrf: "MYCOMPANY" -- int: "Port-channel1.501" +- intf: "Port-channel1.501" ipaddr: "169.254.0.114/29" vrf: "C617529B810A48F6AD40FEBCB163B286" -- int: "Port-channel1.504" +- intf: "Port-channel1.504" ipaddr: "169.254.0.1/30" vrf: "7650C2814C784BACBBE23BB30B47D3A1" -- int: "Port-channel1.535" +- intf: "Port-channel1.535" ipaddr: "169.254.0.1/30" vrf: "6281BBEF467947E4949F989BBC891138" -- int: "Port-channel1.601" +- intf: "Port-channel1.601" ipaddr: "169.254.0.50/29" vrf: "C617529B810A48F6AD40FEBCB163B286" -- int: "Port-channel1.620" +- intf: "Port-channel1.620" ipaddr: "169.254.0.5/30" vrf: "6281BBEF467947E4949F989BBC891138" -- int: "Port-channel1.1012" +- intf: "Port-channel1.1012" ipaddr: "88.16.254.103/31" vrf: "" -- int: "Port-channel1.1013" +- intf: "Port-channel1.1013" ipaddr: "88.16.254.94/31" vrf: "" -- int: "Port-channel1.1014" +- intf: "Port-channel1.1014" ipaddr: "88.16.254.17/31" vrf: "" -- int: "Port-channel1.1087" +- intf: "Port-channel1.1087" ipaddr: "88.16.255.53/31" vrf: "" -- int: "Port-channel1.3201" +- intf: "Port-channel1.3201" ipaddr: "88.16.254.0/31" vrf: "" -- int: "Port-channel1.3202" +- intf: "Port-channel1.3202" ipaddr: "88.16.254.2/31" vrf: "" -- int: "Port-channel1.3204" +- intf: "Port-channel1.3204" ipaddr: "88.16.254.4/31" vrf: "" -- int: "Port-channel1.3251" +- intf: "Port-channel1.3251" ipaddr: "172.19.0.90/31" vrf: "MYCOMPANY" -- int: "Port-channel1.3262" +- intf: "Port-channel1.3262" ipaddr: "88.16.234.10/29" vrf: "" -- int: "Tunnel5001" +- intf: "Tunnel5001" ipaddr: "169.254.64.0/31" vrf: "" -- int: "Tunnel5002" +- intf: "Tunnel5002" ipaddr: "169.254.64.4/31" vrf: "" -- int: "Tunnel5010" +- intf: "Tunnel5010" ipaddr: "169.254.64.36/31" vrf: "" -- int: "Tunnel6001" +- intf: "Tunnel6001" ipaddr: "169.254.64.2/31" vrf: "" -- int: "Tunnel6002" +- intf: "Tunnel6002" ipaddr: "169.254.64.6/31" vrf: "" -- int: "vasileft1" +- intf: "vasileft1" ipaddr: "88.16.254.10/31" vrf: "" -- int: "vasileft21" +- intf: "vasileft21" ipaddr: "100.66.0.2/31" vrf: "" -- int: "vasileft22" +- intf: "vasileft22" ipaddr: "100.66.0.64/31" vrf: "" -- int: "vasileft23" +- intf: "vasileft23" ipaddr: "100.66.0.102/31" vrf: "" -- int: "vasileft24" +- intf: "vasileft24" ipaddr: "100.66.0.82/31" vrf: "" -- int: "vasileft25" +- intf: "vasileft25" ipaddr: "100.66.0.74/31" vrf: "" -- int: "vasileft26" +- intf: "vasileft26" ipaddr: "100.66.0.130/31" vrf: "" -- int: "vasileft27" +- intf: "vasileft27" ipaddr: "100.66.0.158/31" vrf: "" -- int: "vasileft28" +- intf: "vasileft28" ipaddr: "100.66.0.162/31" vrf: "" -- int: "vasileft29" +- intf: "vasileft29" ipaddr: "100.66.0.174/31" vrf: "" -- int: "vasileft30" +- intf: "vasileft30" ipaddr: "100.66.0.194/31" vrf: "" -- int: "vasileft31" +- intf: "vasileft31" ipaddr: "100.66.0.214/31" vrf: "" -- int: "vasileft32" +- intf: "vasileft32" ipaddr: "100.66.1.2/31" vrf: "" -- int: "vasiright1" +- intf: "vasiright1" ipaddr: "88.16.254.11/31" vrf: "MYCOMPANY" -- int: "vasiright21" +- intf: "vasiright21" ipaddr: "100.66.0.3/31" vrf: "C617529B810A48F6AD40FEBCB163B286" -- int: "vasiright22" +- intf: "vasiright22" ipaddr: "100.66.0.65/31" vrf: "28FBAE630B934EB5AFA7FCE43E52393E" -- int: "vasiright23" +- intf: "vasiright23" ipaddr: "100.66.0.103/31" vrf: "4CB342232A7B4D04ADEF7DE3EC2679EC" -- int: "vasiright24" +- intf: "vasiright24" ipaddr: "100.66.0.83/31" vrf: "F76D90EAB6474F5BBB433939BA52FB14" -- int: "vasiright25" +- intf: "vasiright25" ipaddr: "100.66.0.75/31" vrf: "6281BBEF467947E4949F989BBC891138" -- int: "vasiright26" +- intf: "vasiright26" ipaddr: "100.66.0.131/31" vrf: "7650C2814C784BACBBE23BB30B47D3A1" -- int: "vasiright27" +- intf: "vasiright27" ipaddr: "100.66.0.159/31" vrf: "AF1C8AE356D94BBBB377257D047D3D4D" -- int: "vasiright28" +- intf: "vasiright28" ipaddr: "100.66.0.163/31" vrf: "41ECD4DB33314E949FD8D96D98252919" -- int: "vasiright29" +- intf: "vasiright29" ipaddr: "100.66.0.175/31" vrf: "A1E5B05D1D914A109BE1EE71B7C994B7" -- int: "vasiright30" +- intf: "vasiright30" ipaddr: "100.66.0.195/31" vrf: "CC462DCE24DD43B28EA8EA9BAD49044E" -- int: "vasiright31" +- intf: "vasiright31" ipaddr: "100.66.0.215/31" vrf: "C5DE7D3B149B4AF7BF398F45F0AD90A6" -- int: "vasiright32" +- intf: "vasiright32" ipaddr: "100.66.1.3/31" vrf: "8B3C2CFAD23841D1BC9FA2A178BA5855" From 5cea42bfe3135ca3da97c42fd927ff93ba682850 Mon Sep 17 00:00:00 2001 From: Micah Culpepper Date: Sat, 29 Dec 2018 23:46:36 -0600 Subject: [PATCH 189/628] Packaging (#288) * remove redundant 'templates/*' - these files are covered by package_data in setup.py * declare package_data files explicitly * delete red herring comment * stop messing with symlinks - they are not needed * remove unused imports * ln -s ntc_templates/templates ../templates * simplify version number gathering * simplify file finding * whitespace * document that we are zip-unsafe because we operate on real file paths * delete redundant comment * revert version-identification change. See discussion on https://github.com/networktocode/ntc-templates/pull/288 * remove redundant 'templates/*' - these files are covered by package_data in setup.py * declare package_data files explicitly * delete red herring comment * stop messing with symlinks - they are not needed * remove unused imports * ln -s ntc_templates/templates ../templates * simplify version number gathering * simplify file finding * whitespace * document that we are zip-unsafe because we operate on real file paths * delete redundant comment * revert version-identification change. See discussion on https://github.com/networktocode/ntc-templates/pull/288 --- MANIFEST.in | 2 +- ntc_templates/parse.py | 8 ++------ ntc_templates/templates | 1 + setup.py | 23 +++-------------------- 4 files changed, 7 insertions(+), 27 deletions(-) create mode 120000 ntc_templates/templates diff --git a/MANIFEST.in b/MANIFEST.in index eb83332d83..5f2e8443d2 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1 @@ -include README.md HISTORY.rst templates/* +include README.md HISTORY.rst diff --git a/ntc_templates/parse.py b/ntc_templates/parse.py index c24ca2cd4c..05de8a12d4 100644 --- a/ntc_templates/parse.py +++ b/ntc_templates/parse.py @@ -1,6 +1,5 @@ """ntc_templates.parse.""" -import os -import sys +import pkg_resources try: from textfsm import clitable except ImportError: @@ -8,10 +7,7 @@ def _get_template_dir(): - ntc_template_abspath = os.path.abspath(sys.modules['ntc_templates'].__file__) - base_dir = os.path.dirname(ntc_template_abspath) - template_dir = '%s%s%s' % (base_dir, os.sep, 'templates') - return template_dir + return pkg_resources.resource_filename("ntc_templates", "templates") def _clitable_to_dict(cli_table): diff --git a/ntc_templates/templates b/ntc_templates/templates new file mode 120000 index 0000000000..564a409d41 --- /dev/null +++ b/ntc_templates/templates @@ -0,0 +1 @@ +../templates \ No newline at end of file diff --git a/setup.py b/setup.py index 97914da9bd..dae9e7919f 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,6 @@ -"""setup.py file.""" import re from codecs import open -from glob import glob from setuptools import setup -import os -import shutil version = '' with open('ntc_templates/__init__.py', 'r') as fd: @@ -20,24 +16,13 @@ with open('HISTORY.rst', 'r', 'utf-8') as f: history = f.read() - long_description = readme + '\n\n' + history - -template_files = glob('templates/*') - -if os.path.islink('ntc_templates/templates'): - os.unlink('ntc_templates/templates') -elif os.path.isdir('ntc_templates/templates'): - shutil.rmtree('ntc_templates/templates') - -os.symlink('../templates', 'ntc_templates/templates') config = { 'name': 'ntc_templates', - # 'package_dir': {'': 'lib'}, 'packages': ['ntc_templates'], 'version': version, - 'package_data': {'ntc_templates': template_files}, + 'package_data': {'ntc_templates': ['templates/*']}, 'description': 'Package to return structured data from the output of network devices.', 'long_description': long_description, 'author': 'network.toCode()', @@ -50,10 +35,8 @@ 'classifiers': ['Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', - 'Programming Language :: Python :: 2.7'] + 'Programming Language :: Python :: 2.7'], + 'zip_safe': False } setup(**config) - -if os.path.islink('ntc_templates/templates'): - os.unlink('ntc_templates/templates') From 794f5cf73caeb21a2ab29a94c8335fdd6805ea54 Mon Sep 17 00:00:00 2001 From: Jack Kraszewski Date: Sun, 30 Dec 2018 00:51:39 -0500 Subject: [PATCH 190/628] Brocade fastiron show arp: Add new template (#289) --- templates/brocade_fastiron_show_arp.template | 12 +++++++ templates/index | 2 +- .../show_arp/brocade_fastiron_show_arp.parsed | 32 +++++++++++++++++++ .../show_arp/brocade_fastiron_show_arp.raw | 6 ++++ 4 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 templates/brocade_fastiron_show_arp.template create mode 100644 tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.parsed create mode 100644 tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.raw diff --git a/templates/brocade_fastiron_show_arp.template b/templates/brocade_fastiron_show_arp.template new file mode 100644 index 0000000000..7c02a10b16 --- /dev/null +++ b/templates/brocade_fastiron_show_arp.template @@ -0,0 +1,12 @@ +Value PROTOCOL (\S+) +Value Required IP_ADDRESS ([A-Fa-f0-9:\.]+) +Value AGE (\S+) +Value Required MAC_ADDRESS ([A-Fa-f0-9\.]{14}) +Value TYPE (\S+) +Value Required PORT (\S+) + +Start + ^Protocol\s+Address\s+Age \(min\)\s+Hardware Addr\s+Type\s+Interface + ^${PROTOCOL}\s+${IP_ADDRESS}\s+${AGE}\s+${MAC_ADDRESS}\s+${TYPE}\s+${PORT} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index ca4f788110..dfbe037399 100644 --- a/templates/index +++ b/templates/index @@ -60,7 +60,6 @@ avaya_ers_show_mlt.template, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.template, .*, avaya_vsp, sho[[w]] so[[ftware]] - brocade_fastiron_show_lldp_neighbors_detail.template, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] brocade_fastiron_show_running-config_vlan.template, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_fastiron_show_interfaces_brief.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] b[[rief]] @@ -72,6 +71,7 @@ brocade_fastiron_show_metro.template, .*, brocade_fastiron, sh[[ow]] met[[ro-rin brocade_fastiron_show_trunk.template, .*, brocade_fastiron, sh[[ow]] tru[[nk]] brocade_fastiron_show_span.template, .*, brocade_fastiron, sh[[ow]] sp[[an]] brocade_fastiron_show_topo.template, .*, brocade_fastiron, sh[[ow]] to[[pology-group]] +brocade_fastiron_show_arp.template, .*, brocade_fastiron, sh[[ow]] a[[rp]] brocade_netiron_show_running-config_interface_ve.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] i[[nterface]] v[[e]] brocade_netiron_show_lldp_neighbors_detail.template, .*, brocade_netiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] diff --git a/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.parsed b/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.parsed new file mode 100644 index 0000000000..26a4d45393 --- /dev/null +++ b/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.parsed @@ -0,0 +1,32 @@ +--- +parsed_sample: +- protocol: "Internet" + ip_address: "10.51.250.70" + age: "94" + mac_address: "64f6.9d1e.a4bf" + type: "ARPA" + port: "Vlan10" +- protocol: "Internet" + ip_address: "10.51.250.120" + age: "-" + mac_address: "fc5b.394a.5a7f" + type: "ARPA" + port: "Vlan10" +- protocol: "Internet" + ip_address: "10.51.250.1" + age: "0" + mac_address: "0010.dbff.1002" + type: "ARPA" + port: "Vlan10" +- protocol: "Internet" + ip_address: "10.51.250.7" + age: "81" + mac_address: "046c.9d67.7746" + type: "ARPA" + port: "Vlan10" +- protocol: "Internet" + ip_address: "10.51.250.8" + age: "67" + mac_address: "9c57.ad1e.4b46" + type: "ARPA" + port: "Vlan10" diff --git a/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.raw b/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.raw new file mode 100644 index 0000000000..686aaeeee6 --- /dev/null +++ b/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.raw @@ -0,0 +1,6 @@ +Protocol Address Age (min) Hardware Addr Type Interface +Internet 10.51.250.70 94 64f6.9d1e.a4bf ARPA Vlan10 +Internet 10.51.250.120 - fc5b.394a.5a7f ARPA Vlan10 +Internet 10.51.250.1 0 0010.dbff.1002 ARPA Vlan10 +Internet 10.51.250.7 81 046c.9d67.7746 ARPA Vlan10 +Internet 10.51.250.8 67 9c57.ad1e.4b46 ARPA Vlan10 \ No newline at end of file From c8fbca27d9ba8246acdab9ab9023ef5007b58ff5 Mon Sep 17 00:00:00 2001 From: Jack Kraszewski Date: Sun, 30 Dec 2018 01:02:25 -0500 Subject: [PATCH 191/628] `brocade_fastiron_show_interfaces_brief`: Add support for capturing names (#290) * Add capture group for name data * Update test data --- ...de_fastiron_show_interfaces_brief.template | 10 +- ...cade_fastiron_show_interfaces_brief.parsed | 529 +- ...ade_fastiron_show_interfaces_brief1.parsed | 1860 +++---- ...rocade_fastiron_show_interfaces_brief1.raw | 1 - ...ade_fastiron_show_interfaces_brief2.parsed | 4325 +++++++++++++++++ ...rocade_fastiron_show_interfaces_brief2.raw | 394 ++ 6 files changed, 5925 insertions(+), 1194 deletions(-) create mode 100644 tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.parsed create mode 100644 tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.raw diff --git a/templates/brocade_fastiron_show_interfaces_brief.template b/templates/brocade_fastiron_show_interfaces_brief.template index b79a759802..82f034a238 100644 --- a/templates/brocade_fastiron_show_interfaces_brief.template +++ b/templates/brocade_fastiron_show_interfaces_brief.template @@ -1,13 +1,17 @@ -Value interface ([0-9\/velb]+) +Value interface (\S+) Value linkstate (Up|Disable|Down) Value portstate ([a-zA-Z\/]+) Value duplex ([a-zA-Z\/]+) Value speed ([a-zA-Z0-9\/]+) Value trunkid (\d+|None) Value tagonly (Yes|No|N\/A) -Value pvid (\d+|N\/A) +Value pvid (\d+|N\/A|None) Value priority ([a-zA-Z0-9\/]+) -Value mac (\w+\.\w+\.\w+|N\/A) +Value mac ([A-Fa-f0-9\.]{14}) +Value name (\S+) Start + ^Port\s+Link\s+State\s+Dupl\s+Speed\s+Trunk\s+Tag\s+Pvid\s+Pri\s+MAC\s+Name + ^${interface}\s+${linkstate}\s+${portstate}\s+${duplex}\s+${speed}\s+${trunkid}\s+${tagonly}\s+${pvid}\s+${priority}\s+${mac}\s+${name} -> Next.Record ^${interface}\s+${linkstate}\s+${portstate}\s+${duplex}\s+${speed}\s+${trunkid}\s+${tagonly}\s+${pvid}\s+${priority}\s+${mac} -> Next.Record + ^. -> Error \ No newline at end of file diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.parsed b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.parsed index 1fe11925bb..5a889817a5 100644 --- a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.parsed +++ b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.parsed @@ -1,267 +1,266 @@ --- parsed_sample: - -- interface: '1' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: '001b.ed6b.2000' - -- interface: '2' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'Yes' - pvid: '1' - priority: '0' - mac: '001b.ed6b.2001' - -- interface: '3' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: '001b.ed6b.2002' - -- interface: '4' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '2033' - priority: '0' - mac: '001b.ed6b.2003' - -- interface: '5' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: '001b.ed6b.2004' - -- interface: '6' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: '001b.ed6b.2005' - -- interface: '7' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: '001b.ed6b.2006' - -- interface: '8' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: '001b.ed6b.2007' - -- interface: '9' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'No' - pvid: '450' - priority: '0' - mac: '001b.ed6b.2008' - -- interface: '10' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'No' - pvid: '152' - priority: '0' - mac: '001b.ed6b.2009' - -- interface: '11' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'Yes' - pvid: '1' - priority: '0' - mac: '001b.ed6b.200a' - -- interface: '12' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: '001b.ed6b.200b' - -- interface: '13' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: '001b.ed6b.200c' - -- interface: '14' - linkstate: 'Down' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '154' - priority: '0' - mac: '001b.ed6b.200d' - -- interface: '15' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: '001b.ed6b.200e' - -- interface: '16' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'No' - pvid: '149' - priority: '0' - mac: '001b.ed6b.200f' - -- interface: '17' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '100M' - trunkid: 'None' - tagonly: 'No' - pvid: '2277' - priority: '0' - mac: '001b.ed6b.2010' - -- interface: '18' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: '001b.ed6b.2011' - -- interface: '19' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: '001b.ed6b.2012' - -- interface: '20' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '100M' - trunkid: 'None' - tagonly: 'No' - pvid: '152' - priority: '0' - mac: '001b.ed6b.2013' - -- interface: '21' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '100M' - trunkid: 'None' - tagonly: 'No' - pvid: '149' - priority: '0' - mac: '001b.ed6b.2014' - -- interface: '22' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: '001b.ed6b.2015' - -- interface: '23' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'Yes' - pvid: '1' - priority: '0' - mac: '001b.ed6b.2016' - -- interface: '24' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '100M' - trunkid: 'None' - tagonly: 'No' - pvid: '450' - priority: '0' - mac: '001b.ed6b.2017' - +- interface: "1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "001b.ed6b.2000" + name: "to" +- interface: "2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2001" + name: "switch1b" +- interface: "3" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2002" + name: "" +- interface: "4" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2033" + priority: "0" + mac: "001b.ed6b.2003" + name: "Boyce&By" +- interface: "5" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2004" + name: "" +- interface: "6" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2005" + name: "" +- interface: "7" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "001b.ed6b.2006" + name: "ms1a" +- interface: "8" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2007" + name: "" +- interface: "9" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "450" + priority: "0" + mac: "001b.ed6b.2008" + name: "warehous" +- interface: "10" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "152" + priority: "0" + mac: "001b.ed6b.2009" + name: "sbc1.voi" +- interface: "11" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "1" + priority: "0" + mac: "001b.ed6b.200a" + name: "OPTI1-MS" +- interface: "12" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.200b" + name: "" +- interface: "13" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.200c" + name: "" +- interface: "14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "154" + priority: "0" + mac: "001b.ed6b.200d" + name: "SocketVo" +- interface: "15" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.200e" + name: "" +- interface: "16" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "149" + priority: "0" + mac: "001b.ed6b.200f" + name: "sbc1.voi" +- interface: "17" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2277" + priority: "0" + mac: "001b.ed6b.2010" + name: "Memory" +- interface: "18" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2011" + name: "voipmon1" +- interface: "19" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "001b.ed6b.2012" + name: "vmail1.v" +- interface: "20" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "152" + priority: "0" + mac: "001b.ed6b.2013" + name: "VoIP-ASA" +- interface: "21" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "149" + priority: "0" + mac: "001b.ed6b.2014" + name: "VoIP-ASA" +- interface: "22" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "001b.ed6b.2015" + name: "md1a" +- interface: "23" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2016" + name: "MPLSPPP1" +- interface: "24" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "450" + priority: "0" + mac: "001b.ed6b.2017" + name: "Socket" diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.parsed b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.parsed index b7e0c2ca73..4863d8dd32 100644 --- a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.parsed +++ b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.parsed @@ -1,927 +1,937 @@ --- parsed_sample: - -- interface: '1/1/1' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.015e' - -- interface: '1/1/2' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.015f' - -- interface: '1/1/3' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '10' - priority: '0' - mac: 'cc4e.2415.0160' - -- interface: '1/1/4' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Half' - speed: '10M' - trunkid: 'None' - tagonly: 'No' - pvid: '10' - priority: '0' - mac: 'cc4e.2415.0161' - -- interface: '1/1/5' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Half' - speed: '100M' - trunkid: 'None' - tagonly: 'No' - pvid: '10' - priority: '0' - mac: 'cc4e.2415.0162' - -- interface: '1/1/6' - linkstate: 'Down' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '330' - priority: '0' - mac: 'cc4e.2415.0163' - -- interface: '1/1/7' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Half' - speed: '10M' - trunkid: 'None' - tagonly: 'No' - pvid: '10' - priority: '0' - mac: 'cc4e.2415.0164' - -- interface: '1/1/8' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Half' - speed: '10M' - trunkid: 'None' - tagonly: 'No' - pvid: '10' - priority: '0' - mac: 'cc4e.2415.0165' - -- interface: '1/1/9' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0166' - -- interface: '1/1/10' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0167' - -- interface: '1/1/11' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0168' - -- interface: '1/1/12' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0169' - -- interface: '1/1/13' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.016a' - -- interface: '1/1/14' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.016b' - -- interface: '1/1/15' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.016c' - -- interface: '1/1/16' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.016d' - -- interface: '1/1/17' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.016e' - -- interface: '1/1/18' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.016f' - -- interface: '1/1/19' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0170' - -- interface: '1/1/20' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0171' - -- interface: '1/1/21' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0172' - -- interface: '1/1/22' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0173' - -- interface: '1/1/23' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0174' - -- interface: '1/1/24' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: '3' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.0175' - -- interface: '1/2/1' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '40G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.0177' - -- interface: '1/2/2' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.0178' - -- interface: '1/2/3' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.0179' - -- interface: '1/2/4' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.017a' - -- interface: '1/2/5' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.017b' - -- interface: '1/2/6' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '40G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.017c' - -- interface: '1/2/7' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.017d' - -- interface: '1/2/8' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.017e' - -- interface: '1/2/9' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.017f' - -- interface: '1/2/10' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.0180' - -- interface: '1/3/1' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: '1' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.0181' - -- interface: '1/3/2' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: '1' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2415.0181' - -- interface: '1/3/3' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0183' - -- interface: '1/3/4' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0184' - -- interface: '1/3/5' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0185' - -- interface: '1/3/6' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0186' - -- interface: '1/3/7' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0187' - -- interface: '1/3/8' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2415.0188' - -- interface: '2/1/1' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: '4' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5014' - -- interface: '2/1/2' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5015' - -- interface: '2/1/3' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5016' - -- interface: '2/1/4' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5017' - -- interface: '2/1/5' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5018' - -- interface: '2/1/6' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5019' - -- interface: '2/1/7' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.501a' - -- interface: '2/1/8' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.501b' - -- interface: '2/1/9' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.501c' - -- interface: '2/1/10' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.501d' - -- interface: '2/1/11' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.501e' - -- interface: '2/1/12' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.501f' - -- interface: '2/1/13' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5020' - -- interface: '2/1/14' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5021' - -- interface: '2/1/15' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5022' - -- interface: '2/1/16' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5023' - -- interface: '2/1/17' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5024' - -- interface: '2/1/18' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5025' - -- interface: '2/1/19' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5026' - -- interface: '2/1/20' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5027' - -- interface: '2/1/21' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5028' - -- interface: '2/1/22' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.5029' - -- interface: '2/1/23' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.502a' - -- interface: '2/1/24' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '1' - priority: '0' - mac: 'cc4e.2417.502b' - -- interface: '2/2/1' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '40G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.502d' - -- interface: '2/2/2' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.502e' - -- interface: '2/2/3' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.502f' - -- interface: '2/2/4' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5030' - -- interface: '2/2/5' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5031' - -- interface: '2/2/6' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '40G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5032' - -- interface: '2/2/7' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5033' - -- interface: '2/2/8' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5034' - -- interface: '2/2/9' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5035' - -- interface: '2/2/10' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5036' - -- interface: '2/3/1' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: '5' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5037' - -- interface: '2/3/2' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '10G' - trunkid: '5' - tagonly: 'Yes' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5037' - -- interface: '2/3/3' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.5039' - -- interface: '2/3/4' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.503a' - -- interface: '2/3/5' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.503b' - -- interface: '2/3/6' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.503c' - -- interface: '2/3/7' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.503d' - -- interface: '2/3/8' - linkstate: 'Disable' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: 'N/A' - priority: '0' - mac: 'cc4e.2417.503e' - +- interface: "1/1/1" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.015e" + name: "to" +- interface: "1/1/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.015f" + name: "TA5000A-SM" +- interface: "1/1/3" + linkstate: "Up" + portstate: "Forward" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "10" + priority: "0" + mac: "cc4e.2415.0160" + name: "TA3KA-MGMT" +- interface: "1/1/4" + linkstate: "Up" + portstate: "Forward" + duplex: "Half" + speed: "10M" + trunkid: "None" + tagonly: "No" + pvid: "10" + priority: "0" + mac: "cc4e.2415.0161" + name: "TA5K-MGMT" +- interface: "1/1/5" + linkstate: "Up" + portstate: "Forward" + duplex: "Half" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "10" + priority: "0" + mac: "cc4e.2415.0162" + name: "OPTI1-MGMT" +- interface: "1/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "330" + priority: "0" + mac: "cc4e.2415.0163" + name: "INSTALLERS" +- interface: "1/1/7" + linkstate: "Up" + portstate: "Forward" + duplex: "Half" + speed: "10M" + trunkid: "None" + tagonly: "No" + pvid: "10" + priority: "0" + mac: "cc4e.2415.0164" + name: "TA5KB-MGMT" +- interface: "1/1/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Half" + speed: "10M" + trunkid: "None" + tagonly: "No" + pvid: "10" + priority: "0" + mac: "cc4e.2415.0165" + name: "TA3KB-MGMT" +- interface: "1/1/9" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0166" + name: "" +- interface: "1/1/10" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0167" + name: "" +- interface: "1/1/11" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0168" + name: "" +- interface: "1/1/12" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0169" + name: "" +- interface: "1/1/13" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016a" + name: "to" +- interface: "1/1/14" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016b" + name: "" +- interface: "1/1/15" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016c" + name: "" +- interface: "1/1/16" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016d" + name: "" +- interface: "1/1/17" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016e" + name: "" +- interface: "1/1/18" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016f" + name: "" +- interface: "1/1/19" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0170" + name: "" +- interface: "1/1/20" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0171" + name: "" +- interface: "1/1/21" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0172" + name: "" +- interface: "1/1/22" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0173" + name: "" +- interface: "1/1/23" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0174" + name: "" +- interface: "1/1/24" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "3" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0175" + name: "1G" +- interface: "1/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "40G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0177" + name: "" +- interface: "1/2/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0178" + name: "" +- interface: "1/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0179" + name: "" +- interface: "1/2/4" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017a" + name: "" +- interface: "1/2/5" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017b" + name: "" +- interface: "1/2/6" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "40G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017c" + name: "" +- interface: "1/2/7" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017d" + name: "" +- interface: "1/2/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017e" + name: "" +- interface: "1/2/9" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017f" + name: "" +- interface: "1/2/10" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0180" + name: "" +- interface: "1/3/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "1" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0181" + name: "10G" +- interface: "1/3/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "1" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0181" + name: "10G" +- interface: "1/3/3" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0183" + name: "" +- interface: "1/3/4" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0184" + name: "" +- interface: "1/3/5" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0185" + name: "" +- interface: "1/3/6" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0186" + name: "" +- interface: "1/3/7" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0187" + name: "" +- interface: "1/3/8" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0188" + name: "" +- interface: "2/1/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "4" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5014" + name: "1G" +- interface: "2/1/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5015" + name: "TA5000A-SM" +- interface: "2/1/3" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5016" + name: "" +- interface: "2/1/4" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5017" + name: "" +- interface: "2/1/5" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5018" + name: "" +- interface: "2/1/6" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5019" + name: "" +- interface: "2/1/7" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501a" + name: "" +- interface: "2/1/8" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501b" + name: "" +- interface: "2/1/9" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501c" + name: "" +- interface: "2/1/10" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501d" + name: "" +- interface: "2/1/11" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501e" + name: "" +- interface: "2/1/12" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501f" + name: "" +- interface: "2/1/13" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5020" + name: "" +- interface: "2/1/14" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5021" + name: "" +- interface: "2/1/15" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5022" + name: "" +- interface: "2/1/16" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5023" + name: "" +- interface: "2/1/17" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5024" + name: "" +- interface: "2/1/18" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5025" + name: "" +- interface: "2/1/19" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5026" + name: "" +- interface: "2/1/20" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5027" + name: "" +- interface: "2/1/21" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5028" + name: "" +- interface: "2/1/22" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5029" + name: "" +- interface: "2/1/23" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.502a" + name: "" +- interface: "2/1/24" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.502b" + name: "" +- interface: "2/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "40G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.502d" + name: "" +- interface: "2/2/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.502e" + name: "" +- interface: "2/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.502f" + name: "" +- interface: "2/2/4" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5030" + name: "" +- interface: "2/2/5" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5031" + name: "" +- interface: "2/2/6" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "40G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5032" + name: "" +- interface: "2/2/7" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5033" + name: "" +- interface: "2/2/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5034" + name: "" +- interface: "2/2/9" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5035" + name: "" +- interface: "2/2/10" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5036" + name: "" +- interface: "2/3/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "5" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5037" + name: "10G" +- interface: "2/3/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "5" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5037" + name: "10G" +- interface: "2/3/3" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5039" + name: "" +- interface: "2/3/4" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.503a" + name: "" +- interface: "2/3/5" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.503b" + name: "" +- interface: "2/3/6" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.503c" + name: "" +- interface: "2/3/7" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.503d" + name: "" +- interface: "2/3/8" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.503e" + name: "" +- interface: "mgmt1" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "None" + priority: "0" + mac: "cc4e.2415.015e" + name: "" diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.raw b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.raw index 6c61858012..a49ca95a2f 100644 --- a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.raw +++ b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.raw @@ -1,4 +1,3 @@ - Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name 1/1/1 Disable None None None None No 1 0 cc4e.2415.015e to switch1 1/1/2 Up Forward Full 1G None Yes N/A 0 cc4e.2415.015f TA5000A-SM diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.parsed b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.parsed new file mode 100644 index 0000000000..79a1e55d1b --- /dev/null +++ b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.parsed @@ -0,0 +1,4325 @@ +--- +parsed_sample: +- interface: "1/1/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aaf8" + name: "WW-CCTV" +- interface: "1/1/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aaf9" + name: "WW-CCTV" +- interface: "1/1/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aafa" + name: "WW-CCTV" +- interface: "1/1/4" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aafb" + name: "WW-CCTV" +- interface: "1/1/5" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aafc" + name: "WW-CCTV" +- interface: "1/1/6" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aafd" + name: "WW-CCTV" +- interface: "1/1/7" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aafe" + name: "WW-CCTV" +- interface: "1/1/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aaff" + name: "WW-CCTV" +- interface: "1/1/9" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab00" + name: "WW-CCTV" +- interface: "1/1/10" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab01" + name: "WW-CCTV" +- interface: "1/1/11" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab02" + name: "WW-CCTV" +- interface: "1/1/12" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab03" + name: "WW-CCTV" +- interface: "1/1/13" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab04" + name: "WW-CCTV" +- interface: "1/1/14" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab05" + name: "WW-CCTV" +- interface: "1/1/15" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab06" + name: "WW-CCTV" +- interface: "1/1/16" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab07" + name: "WW-CCTV" +- interface: "1/1/17" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab08" + name: "WW-CCTV" +- interface: "1/1/18" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab09" + name: "WW-CCTV" +- interface: "1/1/19" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab0a" + name: "WW-CCTV" +- interface: "1/1/20" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab0b" + name: "WW-CCTV" +- interface: "1/1/21" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab0c" + name: "WW-CCTV" +- interface: "1/1/22" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab0d" + name: "" +- interface: "1/1/23" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab0e" + name: "" +- interface: "1/1/24" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab0f" + name: "" +- interface: "1/1/25" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab10" + name: "WW-WAP" +- interface: "1/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.ab11" + name: "WW-WAP" +- interface: "1/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.ab12" + name: "WW-WAP" +- interface: "1/1/28" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab13" + name: "WW-WAP" +- interface: "1/1/29" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab14" + name: "WW-WAP" +- interface: "1/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.ab15" + name: "WW-WAP" +- interface: "1/1/31" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab16" + name: "WW-WAP" +- interface: "1/1/32" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.ab17" + name: "WW-WAP" +- interface: "1/1/33" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab18" + name: "WW-WAP" +- interface: "1/1/34" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.ab19" + name: "WW-WAP" +- interface: "1/1/35" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab1a" + name: "" +- interface: "1/1/36" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab1b" + name: "" +- interface: "1/1/37" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab1c" + name: "" +- interface: "1/1/38" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab1d" + name: "WW-Floor8" +- interface: "1/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab1e" + name: "WW-Floor8" +- interface: "1/1/40" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab1f" + name: "WW-Floor-8" +- interface: "1/1/41" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab20" + name: "WW-Floor-8" +- interface: "1/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab21" + name: "WW-Floor-8" +- interface: "1/1/43" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab22" + name: "WW-Floor-8" +- interface: "1/1/44" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab23" + name: "WW-Floor-8" +- interface: "1/1/45" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab24" + name: "WW-Floor-8" +- interface: "1/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab25" + name: "WW-Floor-8" +- interface: "1/1/47" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab26" + name: "WW-Floor-8" +- interface: "1/1/48" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab27" + name: "WW-Floor-8" +- interface: "1/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab29" + name: "" +- interface: "1/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.ab2a" + name: "" +- interface: "1/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab2b" + name: "" +- interface: "1/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.ab2c" + name: "" +- interface: "1/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.ab2d" + name: "" +- interface: "1/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.ab2e" + name: "" +- interface: "1/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.ab2f" + name: "" +- interface: "1/2/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "1" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab30" + name: "Uplink-Distro" +- interface: "2/1/1" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d0" + name: "" +- interface: "2/1/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d1" + name: "" +- interface: "2/1/3" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d2" + name: "" +- interface: "2/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d3" + name: "" +- interface: "2/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d4" + name: "" +- interface: "2/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d5" + name: "" +- interface: "2/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d6" + name: "" +- interface: "2/1/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d7" + name: "" +- interface: "2/1/9" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d8" + name: "" +- interface: "2/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d9" + name: "" +- interface: "2/1/11" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1da" + name: "" +- interface: "2/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1db" + name: "" +- interface: "2/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1dc" + name: "" +- interface: "2/1/14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1dd" + name: "" +- interface: "2/1/15" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1de" + name: "" +- interface: "2/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1df" + name: "" +- interface: "2/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e0" + name: "" +- interface: "2/1/18" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e1" + name: "" +- interface: "2/1/19" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e2" + name: "" +- interface: "2/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e3" + name: "" +- interface: "2/1/21" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e4" + name: "" +- interface: "2/1/22" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e5" + name: "" +- interface: "2/1/23" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e6" + name: "" +- interface: "2/1/24" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e7" + name: "" +- interface: "2/1/25" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e8" + name: "" +- interface: "2/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e9" + name: "" +- interface: "2/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ea" + name: "" +- interface: "2/1/28" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1eb" + name: "" +- interface: "2/1/29" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ec" + name: "" +- interface: "2/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ed" + name: "" +- interface: "2/1/31" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ee" + name: "" +- interface: "2/1/32" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ef" + name: "" +- interface: "2/1/33" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f0" + name: "" +- interface: "2/1/34" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f97.e1f1" + name: "Acceletrade-Pub" +- interface: "2/1/35" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f2" + name: "" +- interface: "2/1/36" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f3" + name: "" +- interface: "2/1/37" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f4" + name: "" +- interface: "2/1/38" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f5" + name: "WW-Floor-8" +- interface: "2/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f6" + name: "WW-Floor-8" +- interface: "2/1/40" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f7" + name: "WW-Floor-8" +- interface: "2/1/41" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f8" + name: "WW-Floor-8" +- interface: "2/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f9" + name: "WW-Floor-8" +- interface: "2/1/43" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1fa" + name: "WW-Floor-8" +- interface: "2/1/44" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1fb" + name: "WW-Floor-8" +- interface: "2/1/45" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1fc" + name: "WW-Floor-8" +- interface: "2/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1fd" + name: "WW-Floor-8" +- interface: "2/1/47" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1fe" + name: "WW-Floor-8" +- interface: "2/1/48" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ff" + name: "WW-Floor-8" +- interface: "2/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e201" + name: "" +- interface: "2/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e202" + name: "" +- interface: "2/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e203" + name: "" +- interface: "2/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e204" + name: "" +- interface: "2/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e205" + name: "" +- interface: "2/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e206" + name: "" +- interface: "2/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e207" + name: "" +- interface: "2/2/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "1" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab30" + name: "Uplink-Distro" +- interface: "3/1/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2c94" + name: "WW-Floor-8" +- interface: "3/1/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2c95" + name: "WW-Floor-8" +- interface: "3/1/3" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2c96" + name: "WW-Floor-8" +- interface: "3/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c97" + name: "OLACE-NR" +- interface: "3/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c98" + name: "OLACE-NR" +- interface: "3/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c99" + name: "OLACE-NR" +- interface: "3/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c9a" + name: "OLACE-NR" +- interface: "3/1/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c9b" + name: "OLACE-NR" +- interface: "3/1/9" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c9c" + name: "OLACE-NR" +- interface: "3/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c9d" + name: "OLACE-NR" +- interface: "3/1/11" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2c9e" + name: "WW-Floor-8" +- interface: "3/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2c9f" + name: "WW-Floor-8" +- interface: "3/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca0" + name: "WW-Floor-8" +- interface: "3/1/14" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca1" + name: "WW-Floor-8" +- interface: "3/1/15" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca2" + name: "WW-Floor-8" +- interface: "3/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca3" + name: "WW-Floor-8" +- interface: "3/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca4" + name: "WW-Floor-8" +- interface: "3/1/18" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca5" + name: "WW-Floor-8" +- interface: "3/1/19" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca6" + name: "WW-Floor-8" +- interface: "3/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca7" + name: "WW-Floor-8" +- interface: "3/1/21" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2ca8" + name: "WW-Floor-8" +- interface: "3/1/22" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2ca9" + name: "WW-Floor-8" +- interface: "3/1/23" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2caa" + name: "WW-Floor-8" +- interface: "3/1/24" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cab" + name: "WW-Floor-8" +- interface: "3/1/25" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cac" + name: "WW-Floor-8" +- interface: "3/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cad" + name: "WW-Floor-8" +- interface: "3/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cae" + name: "WW-Floor-8" +- interface: "3/1/28" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2caf" + name: "WW-Floor-8" +- interface: "3/1/29" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb0" + name: "WW-Floor-8" +- interface: "3/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb1" + name: "WW-Floor-8" +- interface: "3/1/31" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb2" + name: "WW-Floor-8" +- interface: "3/1/32" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb3" + name: "WW-Floor-8" +- interface: "3/1/33" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb4" + name: "WW-Floor-8" +- interface: "3/1/34" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb5" + name: "WW-Floor-8" +- interface: "3/1/35" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb6" + name: "WW-Floor-8" +- interface: "3/1/36" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb7" + name: "WW-Floor-8" +- interface: "3/1/37" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb8" + name: "WW-Floor-8" +- interface: "3/1/38" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb9" + name: "WW-Floor-8" +- interface: "3/1/39" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cba" + name: "WW-Floor-8" +- interface: "3/1/40" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cbb" + name: "WW-Floor-8" +- interface: "3/1/41" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cbc" + name: "WW-Floor-8" +- interface: "3/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cbd" + name: "WW-Floor-8" +- interface: "3/1/43" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cbe" + name: "WW-Floor-8" +- interface: "3/1/44" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cbf" + name: "WW-Floor-8" +- interface: "3/1/45" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cc0" + name: "WW-Floor-8" +- interface: "3/1/46" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cc1" + name: "WW-Floor-8" +- interface: "3/1/47" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f98.2cc2" + name: "CreditConsensus" +- interface: "3/1/48" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cc3" + name: "WW-Floor-8" +- interface: "3/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f98.2cc5" + name: "" +- interface: "3/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2cc6" + name: "" +- interface: "3/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f98.2cc7" + name: "" +- interface: "3/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2cc8" + name: "" +- interface: "3/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2cc9" + name: "" +- interface: "3/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2cca" + name: "" +- interface: "3/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2ccb" + name: "" +- interface: "3/2/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2ccc" + name: "" +- interface: "4/1/1" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d744" + name: "WW-Floor-8" +- interface: "4/1/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d745" + name: "WW-Floor-8" +- interface: "4/1/3" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d746" + name: "WW-Floor-8" +- interface: "4/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d747" + name: "WW-Floor-8" +- interface: "4/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d748" + name: "WW-Floor-8" +- interface: "4/1/6" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "15" + priority: "0" + mac: "609c.9f97.d749" + name: "WW-Printer" +- interface: "4/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "15" + priority: "0" + mac: "609c.9f97.d74a" + name: "WW-Printer" +- interface: "4/1/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d74b" + name: "WW-Floor-8" +- interface: "4/1/9" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d74c" + name: "WW-Floor-8" +- interface: "4/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d74d" + name: "WW-Floor-8" +- interface: "4/1/11" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d74e" + name: "WW-Floor-8" +- interface: "4/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d74f" + name: "WW-Floor-8" +- interface: "4/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d750" + name: "WW-Floor-8" +- interface: "4/1/14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d751" + name: "WW-Floor-8" +- interface: "4/1/15" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d752" + name: "WW-Floor-8" +- interface: "4/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d753" + name: "WW-Floor-8" +- interface: "4/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d754" + name: "WW-Floor-8" +- interface: "4/1/18" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d755" + name: "WW-Floor-8" +- interface: "4/1/19" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d756" + name: "WW-Floor-8" +- interface: "4/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d757" + name: "WW-Floor-8" +- interface: "4/1/21" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d758" + name: "WW-Floor-8" +- interface: "4/1/22" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d759" + name: "WW-Floor-8" +- interface: "4/1/23" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d75a" + name: "WW-Floor-8" +- interface: "4/1/24" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "117" + priority: "0" + mac: "609c.9f97.d75b" + name: "CreditBenchmark" +- interface: "4/1/25" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d75c" + name: "WW-Floor-8" +- interface: "4/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d75d" + name: "WW-Floor-8" +- interface: "4/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d75e" + name: "WW-Floor-8" +- interface: "4/1/28" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d75f" + name: "WW-Floor-8" +- interface: "4/1/29" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d760" + name: "WW-Floor-8" +- interface: "4/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d761" + name: "WW-Floor-8" +- interface: "4/1/31" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d762" + name: "WW-Floor-8" +- interface: "4/1/32" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d763" + name: "WW-Floor-8" +- interface: "4/1/33" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d764" + name: "WW-Floor-8" +- interface: "4/1/34" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d765" + name: "WW-Floor-8" +- interface: "4/1/35" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d766" + name: "WW-Floor-8" +- interface: "4/1/36" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d767" + name: "WW-Floor-8" +- interface: "4/1/37" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d768" + name: "WW-Floor-8" +- interface: "4/1/38" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d769" + name: "WW-Floor-8" +- interface: "4/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76a" + name: "WW-Floor-8" +- interface: "4/1/40" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76b" + name: "WW-Floor-8" +- interface: "4/1/41" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76c" + name: "WW-Floor-8" +- interface: "4/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76d" + name: "WW-Floor-8" +- interface: "4/1/43" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76e" + name: "WW-Floor-8" +- interface: "4/1/44" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76f" + name: "WW-Floor-8" +- interface: "4/1/45" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d770" + name: "WW-Floor-8" +- interface: "4/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d771" + name: "WW-Floor-8" +- interface: "4/1/47" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d772" + name: "WW-Floor-8" +- interface: "4/1/48" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d773" + name: "WW-Floor-8" +- interface: "4/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.d775" + name: "" +- interface: "4/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d776" + name: "" +- interface: "4/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.d777" + name: "" +- interface: "4/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d778" + name: "" +- interface: "4/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d779" + name: "" +- interface: "4/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d77a" + name: "" +- interface: "4/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d77b" + name: "" +- interface: "4/2/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d77c" + name: "" +- interface: "5/1/1" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d708" + name: "WW-Floor-8" +- interface: "5/1/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d709" + name: "WW-Floor-8" +- interface: "5/1/3" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70a" + name: "WW-Floor-8" +- interface: "5/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70b" + name: "WW-Floor-8" +- interface: "5/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70c" + name: "WW-Floor-8" +- interface: "5/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70d" + name: "WW-Floor-8" +- interface: "5/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70e" + name: "WW-Floor-8" +- interface: "5/1/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70f" + name: "WW-Floor-8" +- interface: "5/1/9" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d710" + name: "WW-Floor-8" +- interface: "5/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d711" + name: "WW-Floor-8" +- interface: "5/1/11" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d712" + name: "WW-Floor-8" +- interface: "5/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d713" + name: "WW-Floor-8" +- interface: "5/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d714" + name: "WW-Floor-8" +- interface: "5/1/14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d715" + name: "WW-Floor-8" +- interface: "5/1/15" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d716" + name: "WW-Floor-8" +- interface: "5/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d717" + name: "WW-Floor-8" +- interface: "5/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d718" + name: "WW-Floor-8" +- interface: "5/1/18" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d719" + name: "WW-Floor-8" +- interface: "5/1/19" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71a" + name: "WW-Floor-8" +- interface: "5/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71b" + name: "WW-Floor-8" +- interface: "5/1/21" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71c" + name: "WW-Floor-8" +- interface: "5/1/22" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71d" + name: "WW-Floor-8" +- interface: "5/1/23" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71e" + name: "WW-Floor-8" +- interface: "5/1/24" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71f" + name: "WW-Floor-8" +- interface: "5/1/25" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d720" + name: "WW-Floor-8" +- interface: "5/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d721" + name: "WW-Floor-8" +- interface: "5/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d722" + name: "WW-Floor-8" +- interface: "5/1/28" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d723" + name: "WW-Floor-8" +- interface: "5/1/29" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d724" + name: "WW-Floor-8" +- interface: "5/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d725" + name: "WW-Floor-8" +- interface: "5/1/31" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d726" + name: "MQS-NYC-User" +- interface: "5/1/32" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f97.d727" + name: "MQS-NYC-WAN" +- interface: "5/1/33" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d728" + name: "MQS-NYC-User" +- interface: "5/1/34" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10M" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d729" + name: "MQS-NYC-User" +- interface: "5/1/35" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d72a" + name: "MQS-NYC-User" +- interface: "5/1/36" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d72b" + name: "WW-Floor-8" +- interface: "5/1/37" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d72c" + name: "MQS-NYC-User" +- interface: "5/1/38" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d72d" + name: "MQS-NYC-User" +- interface: "5/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d72e" + name: "MQS-NYC-User" +- interface: "5/1/40" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d72f" + name: "WW-Floor-8" +- interface: "5/1/41" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d730" + name: "WW-Floor-8" +- interface: "5/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d731" + name: "WW-Floor-8" +- interface: "5/1/43" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d732" + name: "WW-Floor-8" +- interface: "5/1/44" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d733" + name: "WW-Floor-8" +- interface: "5/1/45" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d734" + name: "WW-Floor-8" +- interface: "5/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d735" + name: "WW-Floor-8" +- interface: "5/1/47" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d736" + name: "WW-Floor-8" +- interface: "5/1/48" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d737" + name: "WW-Floor-8" +- interface: "5/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.d739" + name: "" +- interface: "5/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d73a" + name: "" +- interface: "5/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.d73b" + name: "" +- interface: "5/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d73c" + name: "" +- interface: "5/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d73d" + name: "" +- interface: "5/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d73e" + name: "" +- interface: "5/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d73f" + name: "" +- interface: "5/2/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d740" + name: "" +- interface: "6/1/1" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff0" + name: "WW-Floor-8" +- interface: "6/1/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff1" + name: "WW-Floor-8" +- interface: "6/1/3" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff2" + name: "WW-Floor-8" +- interface: "6/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff3" + name: "WW-Floor-8" +- interface: "6/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff4" + name: "WW-Floor-8" +- interface: "6/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff5" + name: "WW-Floor-8" +- interface: "6/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff6" + name: "WW-Floor-8" +- interface: "6/1/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff7" + name: "WW-Floor-8" +- interface: "6/1/9" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff8" + name: "WW-Floor-8" +- interface: "6/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff9" + name: "WW-Floor-8" +- interface: "6/1/11" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dffa" + name: "WW-Floor-8" +- interface: "6/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dffb" + name: "WW-Floor-8" +- interface: "6/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dffc" + name: "WW-Floor-8" +- interface: "6/1/14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dffd" + name: "WW-Floor-8" +- interface: "6/1/15" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dffe" + name: "WW-Floor-8" +- interface: "6/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dfff" + name: "WW-Floor-8" +- interface: "6/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e000" + name: "WW-Floor-8" +- interface: "6/1/18" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e001" + name: "WW-Floor-8" +- interface: "6/1/19" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e002" + name: "WW-Floor-8" +- interface: "6/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e003" + name: "WW-Floor-8" +- interface: "6/1/21" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e004" + name: "WW-Floor-8" +- interface: "6/1/22" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e005" + name: "WW-Floor-8" +- interface: "6/1/23" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e006" + name: "WW-Floor-8" +- interface: "6/1/24" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e007" + name: "WW-Floor-8" +- interface: "6/1/25" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e008" + name: "WW-Floor-8" +- interface: "6/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e009" + name: "WW-Floor-8" +- interface: "6/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00a" + name: "WW-Floor-8" +- interface: "6/1/28" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00b" + name: "WW-Floor-8" +- interface: "6/1/29" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00c" + name: "WW-Floor-8" +- interface: "6/1/30" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00d" + name: "WW-Floor-8" +- interface: "6/1/31" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00e" + name: "WW-Floor-8" +- interface: "6/1/32" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00f" + name: "WW-Floor-8" +- interface: "6/1/33" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e010" + name: "WW-Floor-8" +- interface: "6/1/34" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e011" + name: "WW-Floor-8" +- interface: "6/1/35" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e012" + name: "WW-Floor-8" +- interface: "6/1/36" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e013" + name: "WW-Floor-8" +- interface: "6/1/37" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e014" + name: "WW-Floor-8" +- interface: "6/1/38" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e015" + name: "" +- interface: "6/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e016" + name: "" +- interface: "6/1/40" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e017" + name: "" +- interface: "6/1/41" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e018" + name: "WW-AV" +- interface: "6/1/42" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e019" + name: "WW-AV" +- interface: "6/1/43" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01a" + name: "WW-AV" +- interface: "6/1/44" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01b" + name: "WW-AV" +- interface: "6/1/45" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01c" + name: "WW-AV" +- interface: "6/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01d" + name: "WW-AV" +- interface: "6/1/47" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01e" + name: "WW-AV" +- interface: "6/1/48" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01f" + name: "WW-AV" +- interface: "6/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e021" + name: "" +- interface: "6/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e022" + name: "" +- interface: "6/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e023" + name: "" +- interface: "6/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e024" + name: "" +- interface: "6/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e025" + name: "" +- interface: "6/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e026" + name: "" +- interface: "6/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e027" + name: "" +- interface: "6/2/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e028" + name: "" +- interface: "7/1/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.817c" + name: "WW-AV" +- interface: "7/1/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.817d" + name: "WW-AV" +- interface: "7/1/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.817e" + name: "WW-AV" +- interface: "7/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.817f" + name: "WW-AV" +- interface: "7/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8180" + name: "" +- interface: "7/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8181" + name: "" +- interface: "7/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8182" + name: "" +- interface: "7/1/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "54" + priority: "0" + mac: "609c.9f97.8183" + name: "" +- interface: "7/1/9" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "54" + priority: "0" + mac: "609c.9f97.8184" + name: "" +- interface: "7/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8185" + name: "" +- interface: "7/1/11" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8186" + name: "" +- interface: "7/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8187" + name: "" +- interface: "7/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8188" + name: "" +- interface: "7/1/14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8189" + name: "" +- interface: "7/1/15" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818a" + name: "" +- interface: "7/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818b" + name: "" +- interface: "7/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818c" + name: "" +- interface: "7/1/18" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818d" + name: "" +- interface: "7/1/19" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818e" + name: "" +- interface: "7/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818f" + name: "" +- interface: "7/1/21" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f97.8190" + name: "OLA_VLAN_Server" +- interface: "7/1/22" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f97.8191" + name: "OLA_VLAN_Server" +- interface: "7/1/23" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f97.8192" + name: "OLACE-NR-WAN" +- interface: "7/1/24" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f97.8193" + name: "OLACE-NR" +- interface: "7/1/25" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8194" + name: "WW-WAP" +- interface: "7/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.8195" + name: "WW-WAP" +- interface: "7/1/27" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8196" + name: "WW-WAP" +- interface: "7/1/28" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.8197" + name: "WW-WAP" +- interface: "7/1/29" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8198" + name: "" +- interface: "7/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8199" + name: "" +- interface: "7/1/31" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.819a" + name: "" +- interface: "7/1/32" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.819b" + name: "" +- interface: "7/1/33" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.819c" + name: "" +- interface: "7/1/34" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.819d" + name: "" +- interface: "7/1/35" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.819e" + name: "" +- interface: "7/1/36" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f97.819f" + name: "GraniteRidge-WA" +- interface: "7/1/37" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10M" + trunkid: "None" + tagonly: "No" + pvid: "117" + priority: "0" + mac: "609c.9f97.81a0" + name: "CreditBenchmark" +- interface: "7/1/38" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f97.81a1" + name: "CreditBenchmark" +- interface: "7/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a2" + name: "" +- interface: "7/1/40" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a3" + name: "" +- interface: "7/1/41" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a4" + name: "" +- interface: "7/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a5" + name: "" +- interface: "7/1/43" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a6" + name: "" +- interface: "7/1/44" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a7" + name: "" +- interface: "7/1/45" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a8" + name: "" +- interface: "7/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a9" + name: "" +- interface: "7/1/47" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81aa" + name: "" +- interface: "7/1/48" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81ab" + name: "" +- interface: "7/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81ad" + name: "" +- interface: "7/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81ae" + name: "" +- interface: "7/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81af" + name: "" +- interface: "7/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81b0" + name: "" +- interface: "7/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81b1" + name: "" +- interface: "7/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81b2" + name: "" +- interface: "7/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81b3" + name: "" +- interface: "7/2/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81b4" + name: "" +- interface: "mgmt1" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "None" + priority: "0" + mac: "609c.9f97.aaf8" + name: "" diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.raw b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.raw new file mode 100644 index 0000000000..a70d77f69b --- /dev/null +++ b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.raw @@ -0,0 +1,394 @@ +Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name +1/1/1 Up Forward Full 100M None No 52 0 609c.9f97.aaf8 WW-CCTV +1/1/2 Up Forward Full 100M None No 52 0 609c.9f97.aaf9 WW-CCTV +1/1/3 Up Forward Full 100M None No 52 0 609c.9f97.aafa WW-CCTV +1/1/4 Up Forward Full 100M None No 52 0 609c.9f97.aafb WW-CCTV +1/1/5 Up Forward Full 100M None No 52 0 609c.9f97.aafc WW-CCTV +1/1/6 Up Forward Full 100M None No 52 0 609c.9f97.aafd WW-CCTV +1/1/7 Up Forward Full 100M None No 52 0 609c.9f97.aafe WW-CCTV +1/1/8 Up Forward Full 100M None No 52 0 609c.9f97.aaff WW-CCTV +1/1/9 Up Forward Full 100M None No 52 0 609c.9f97.ab00 WW-CCTV +1/1/10 Up Forward Full 100M None No 52 0 609c.9f97.ab01 WW-CCTV +1/1/11 Up Forward Full 100M None No 52 0 609c.9f97.ab02 WW-CCTV +1/1/12 Up Forward Full 100M None No 52 0 609c.9f97.ab03 WW-CCTV +1/1/13 Up Forward Full 100M None No 52 0 609c.9f97.ab04 WW-CCTV +1/1/14 Up Forward Full 100M None No 52 0 609c.9f97.ab05 WW-CCTV +1/1/15 Up Forward Full 100M None No 52 0 609c.9f97.ab06 WW-CCTV +1/1/16 Up Forward Full 100M None No 52 0 609c.9f97.ab07 WW-CCTV +1/1/17 Up Forward Full 100M None No 52 0 609c.9f97.ab08 WW-CCTV +1/1/18 Up Forward Full 100M None No 52 0 609c.9f97.ab09 WW-CCTV +1/1/19 Up Forward Full 100M None No 52 0 609c.9f97.ab0a WW-CCTV +1/1/20 Up Forward Full 100M None No 52 0 609c.9f97.ab0b WW-CCTV +1/1/21 Up Forward Full 100M None No 52 0 609c.9f97.ab0c WW-CCTV +1/1/22 Down None None None None Yes N/A 0 609c.9f97.ab0d +1/1/23 Down None None None None Yes N/A 0 609c.9f97.ab0e +1/1/24 Down None None None None Yes N/A 0 609c.9f97.ab0f +1/1/25 Up Forward Full 1G None Yes N/A 0 609c.9f97.ab10 WW-WAP +1/1/26 Down None None None None No 251 0 609c.9f97.ab11 WW-WAP +1/1/27 Down None None None None No 251 0 609c.9f97.ab12 WW-WAP +1/1/28 Up Forward Full 1G None Yes N/A 0 609c.9f97.ab13 WW-WAP +1/1/29 Up Forward Full 1G None Yes N/A 0 609c.9f97.ab14 WW-WAP +1/1/30 Down None None None None No 251 0 609c.9f97.ab15 WW-WAP +1/1/31 Up Forward Full 1G None Yes N/A 0 609c.9f97.ab16 WW-WAP +1/1/32 Down None None None None No 251 0 609c.9f97.ab17 WW-WAP +1/1/33 Up Forward Full 1G None Yes N/A 0 609c.9f97.ab18 WW-WAP +1/1/34 Down None None None None No 251 0 609c.9f97.ab19 WW-WAP +1/1/35 Down None None None None Yes N/A 0 609c.9f97.ab1a +1/1/36 Down None None None None Yes N/A 0 609c.9f97.ab1b +1/1/37 Down None None None None Yes N/A 0 609c.9f97.ab1c +1/1/38 Up Forward Full 1G None No 2008 0 609c.9f97.ab1d WW-Floor8 +1/1/39 Down None None None None No 2008 0 609c.9f97.ab1e WW-Floor8 +1/1/40 Up Forward Full 100M None No 2008 0 609c.9f97.ab1f WW-Floor-8 +1/1/41 Up Forward Full 100M None No 2008 0 609c.9f97.ab20 WW-Floor-8 +1/1/42 Down None None None None No 2008 0 609c.9f97.ab21 WW-Floor-8 +1/1/43 Down None None None None No 2008 0 609c.9f97.ab22 WW-Floor-8 +1/1/44 Down None None None None No 2008 0 609c.9f97.ab23 WW-Floor-8 +1/1/45 Down None None None None No 2008 0 609c.9f97.ab24 WW-Floor-8 +1/1/46 Down None None None None No 2008 0 609c.9f97.ab25 WW-Floor-8 +1/1/47 Down None None None None No 2008 0 609c.9f97.ab26 WW-Floor-8 +1/1/48 Down None None None None No 2008 0 609c.9f97.ab27 WW-Floor-8 +1/2/1 Up Forward Full 10G None No N/A 0 609c.9f97.ab29 +1/2/2 Down None None None None No 1 0 609c.9f97.ab2a +1/2/3 Up Forward Full 10G None No N/A 0 609c.9f97.ab2b +1/2/4 Down None None None None No 1 0 609c.9f97.ab2c +1/2/5 Down None None None None No 1 0 609c.9f97.ab2d +1/2/6 Down None None None None No 1 0 609c.9f97.ab2e +1/2/7 Down None None None None No 1 0 609c.9f97.ab2f +1/2/8 Up Forward Full 1G 1 Yes N/A 0 609c.9f97.ab30 Uplink-Distro +2/1/1 Down None None None None No 2008 0 609c.9f97.e1d0 +2/1/2 Down None None None None No 2008 0 609c.9f97.e1d1 +2/1/3 Down None None None None No 2008 0 609c.9f97.e1d2 +2/1/4 Down None None None None No 2008 0 609c.9f97.e1d3 +2/1/5 Down None None None None No 2008 0 609c.9f97.e1d4 +2/1/6 Down None None None None No 2008 0 609c.9f97.e1d5 +2/1/7 Down None None None None No 2008 0 609c.9f97.e1d6 +2/1/8 Down None None None None No 2008 0 609c.9f97.e1d7 +2/1/9 Down None None None None No 2008 0 609c.9f97.e1d8 +2/1/10 Down None None None None No 2008 0 609c.9f97.e1d9 +2/1/11 Down None None None None No 2008 0 609c.9f97.e1da +2/1/12 Down None None None None No 2008 0 609c.9f97.e1db +2/1/13 Down None None None None No 2008 0 609c.9f97.e1dc +2/1/14 Down None None None None No 2008 0 609c.9f97.e1dd +2/1/15 Down None None None None No 2008 0 609c.9f97.e1de +2/1/16 Down None None None None No 2008 0 609c.9f97.e1df +2/1/17 Down None None None None No 2008 0 609c.9f97.e1e0 +2/1/18 Down None None None None No 2008 0 609c.9f97.e1e1 +2/1/19 Down None None None None No 2008 0 609c.9f97.e1e2 +2/1/20 Down None None None None No 2008 0 609c.9f97.e1e3 +2/1/21 Down None None None None No 2008 0 609c.9f97.e1e4 +2/1/22 Down None None None None No 2008 0 609c.9f97.e1e5 +2/1/23 Down None None None None No 2008 0 609c.9f97.e1e6 +2/1/24 Down None None None None No 2008 0 609c.9f97.e1e7 +2/1/25 Down None None None None No 2008 0 609c.9f97.e1e8 +2/1/26 Down None None None None No 2008 0 609c.9f97.e1e9 +2/1/27 Down None None None None No 2008 0 609c.9f97.e1ea +2/1/28 Down None None None None No 2008 0 609c.9f97.e1eb +2/1/29 Down None None None None No 2008 0 609c.9f97.e1ec +2/1/30 Down None None None None No 2008 0 609c.9f97.e1ed +2/1/31 Down None None None None No 2008 0 609c.9f97.e1ee +2/1/32 Down None None None None No 2008 0 609c.9f97.e1ef +2/1/33 Down None None None None No 2008 0 609c.9f97.e1f0 +2/1/34 Up Forward Full 1G None No 999 0 609c.9f97.e1f1 Acceletrade-Pub +2/1/35 Down None None None None No 2008 0 609c.9f97.e1f2 +2/1/36 Up Forward Full 1G None No 2008 0 609c.9f97.e1f3 +2/1/37 Up Forward Full 100M None No 2008 0 609c.9f97.e1f4 +2/1/38 Down None None None None No 2008 0 609c.9f97.e1f5 WW-Floor-8 +2/1/39 Down None None None None No 2008 0 609c.9f97.e1f6 WW-Floor-8 +2/1/40 Down None None None None No 2008 0 609c.9f97.e1f7 WW-Floor-8 +2/1/41 Down None None None None No 2008 0 609c.9f97.e1f8 WW-Floor-8 +2/1/42 Down None None None None No 2008 0 609c.9f97.e1f9 WW-Floor-8 +2/1/43 Down None None None None No 2008 0 609c.9f97.e1fa WW-Floor-8 +2/1/44 Down None None None None No 2008 0 609c.9f97.e1fb WW-Floor-8 +2/1/45 Up Forward Full 100M None No 2008 0 609c.9f97.e1fc WW-Floor-8 +2/1/46 Down None None None None No 2008 0 609c.9f97.e1fd WW-Floor-8 +2/1/47 Up Forward Full 100M None No 2008 0 609c.9f97.e1fe WW-Floor-8 +2/1/48 Down None None None None No 2008 0 609c.9f97.e1ff WW-Floor-8 +2/2/1 Up Forward Full 10G None No N/A 0 609c.9f97.e201 +2/2/2 Down None None None None No 1 0 609c.9f97.e202 +2/2/3 Up Forward Full 10G None No N/A 0 609c.9f97.e203 +2/2/4 Down None None None None No 1 0 609c.9f97.e204 +2/2/5 Down None None None None No 1 0 609c.9f97.e205 +2/2/6 Down None None None None No 1 0 609c.9f97.e206 +2/2/7 Down None None None None No 1 0 609c.9f97.e207 +2/2/8 Up Forward Full 1G 1 Yes N/A 0 609c.9f97.ab30 Uplink-Distro +3/1/1 Up Forward Full 1G None No 2008 0 609c.9f98.2c94 WW-Floor-8 +3/1/2 Down None None None None No 2008 0 609c.9f98.2c95 WW-Floor-8 +3/1/3 Down None None None None No 2008 0 609c.9f98.2c96 WW-Floor-8 +3/1/4 Down None None None None No 131 0 609c.9f98.2c97 OLACE-NR +3/1/5 Down None None None None No 131 0 609c.9f98.2c98 OLACE-NR +3/1/6 Down None None None None No 131 0 609c.9f98.2c99 OLACE-NR +3/1/7 Down None None None None No 131 0 609c.9f98.2c9a OLACE-NR +3/1/8 Down None None None None No 131 0 609c.9f98.2c9b OLACE-NR +3/1/9 Down None None None None No 131 0 609c.9f98.2c9c OLACE-NR +3/1/10 Down None None None None No 131 0 609c.9f98.2c9d OLACE-NR +3/1/11 Up Forward Full 100M None No 160 0 609c.9f98.2c9e WW-Floor-8 +3/1/12 Down None None None None No 160 0 609c.9f98.2c9f WW-Floor-8 +3/1/13 Down None None None None No 160 0 609c.9f98.2ca0 WW-Floor-8 +3/1/14 Up Forward Full 1G None No 160 0 609c.9f98.2ca1 WW-Floor-8 +3/1/15 Up Forward Full 1G None No 160 0 609c.9f98.2ca2 WW-Floor-8 +3/1/16 Down None None None None No 160 0 609c.9f98.2ca3 WW-Floor-8 +3/1/17 Down None None None None No 160 0 609c.9f98.2ca4 WW-Floor-8 +3/1/18 Up Forward Full 1G None No 160 0 609c.9f98.2ca5 WW-Floor-8 +3/1/19 Up Forward Full 1G None No 160 0 609c.9f98.2ca6 WW-Floor-8 +3/1/20 Down None None None None No 160 0 609c.9f98.2ca7 WW-Floor-8 +3/1/21 Down None None None None No 2008 0 609c.9f98.2ca8 WW-Floor-8 +3/1/22 Down None None None None No 2008 0 609c.9f98.2ca9 WW-Floor-8 +3/1/23 Down None None None None No 2008 0 609c.9f98.2caa WW-Floor-8 +3/1/24 Down None None None None No 2008 0 609c.9f98.2cab WW-Floor-8 +3/1/25 Down None None None None No 2008 0 609c.9f98.2cac WW-Floor-8 +3/1/26 Down None None None None No 2008 0 609c.9f98.2cad WW-Floor-8 +3/1/27 Down None None None None No 2008 0 609c.9f98.2cae WW-Floor-8 +3/1/28 Down None None None None No 2008 0 609c.9f98.2caf WW-Floor-8 +3/1/29 Up Forward Full 1G None No 2008 0 609c.9f98.2cb0 WW-Floor-8 +3/1/30 Down None None None None No 2008 0 609c.9f98.2cb1 WW-Floor-8 +3/1/31 Up Forward Full 1G None No 2008 0 609c.9f98.2cb2 WW-Floor-8 +3/1/32 Up Forward Full 100M None No 2008 0 609c.9f98.2cb3 WW-Floor-8 +3/1/33 Up Forward Full 1G None No 2008 0 609c.9f98.2cb4 WW-Floor-8 +3/1/34 Up Forward Full 1G None No 2008 0 609c.9f98.2cb5 WW-Floor-8 +3/1/35 Up Forward Full 100M None No 2008 0 609c.9f98.2cb6 WW-Floor-8 +3/1/36 Down None None None None No 2008 0 609c.9f98.2cb7 WW-Floor-8 +3/1/37 Down None None None None No 2008 0 609c.9f98.2cb8 WW-Floor-8 +3/1/38 Up Forward Full 1G None No 2008 0 609c.9f98.2cb9 WW-Floor-8 +3/1/39 Up Forward Full 1G None No 2008 0 609c.9f98.2cba WW-Floor-8 +3/1/40 Up Forward Full 100M None No 2008 0 609c.9f98.2cbb WW-Floor-8 +3/1/41 Down None None None None No 2008 0 609c.9f98.2cbc WW-Floor-8 +3/1/42 Down None None None None No 2008 0 609c.9f98.2cbd WW-Floor-8 +3/1/43 Up Forward Full 1G None No 2008 0 609c.9f98.2cbe WW-Floor-8 +3/1/44 Up Forward Full 1G None No 2008 0 609c.9f98.2cbf WW-Floor-8 +3/1/45 Down None None None None No 2008 0 609c.9f98.2cc0 WW-Floor-8 +3/1/46 Up Forward Full 1G None No 2008 0 609c.9f98.2cc1 WW-Floor-8 +3/1/47 Up Forward Full 100M None No 999 0 609c.9f98.2cc2 CreditConsensus +3/1/48 Down None None None None No 2008 0 609c.9f98.2cc3 WW-Floor-8 +3/2/1 Up Forward Full 10G None No N/A 0 609c.9f98.2cc5 +3/2/2 Down None None None None No 1 0 609c.9f98.2cc6 +3/2/3 Up Forward Full 10G None No N/A 0 609c.9f98.2cc7 +3/2/4 Down None None None None No 1 0 609c.9f98.2cc8 +3/2/5 Down None None None None No 1 0 609c.9f98.2cc9 +3/2/6 Down None None None None No 1 0 609c.9f98.2cca +3/2/7 Down None None None None No 1 0 609c.9f98.2ccb +3/2/8 Down None None None None No 1 0 609c.9f98.2ccc +4/1/1 Down None None None None No 2008 0 609c.9f97.d744 WW-Floor-8 +4/1/2 Down None None None None No 2008 0 609c.9f97.d745 WW-Floor-8 +4/1/3 Down None None None None No 2008 0 609c.9f97.d746 WW-Floor-8 +4/1/4 Down None None None None No 2008 0 609c.9f97.d747 WW-Floor-8 +4/1/5 Down None None None None No 2008 0 609c.9f97.d748 WW-Floor-8 +4/1/6 Up Forward Full 1G None No 15 0 609c.9f97.d749 WW-Printer +4/1/7 Down None None None None No 15 0 609c.9f97.d74a WW-Printer +4/1/8 Down None None None None No 2008 0 609c.9f97.d74b WW-Floor-8 +4/1/9 Down None None None None No 2008 0 609c.9f97.d74c WW-Floor-8 +4/1/10 Down None None None None No 2008 0 609c.9f97.d74d WW-Floor-8 +4/1/11 Up Forward Full 1G None No 2008 0 609c.9f97.d74e WW-Floor-8 +4/1/12 Down None None None None No 2008 0 609c.9f97.d74f WW-Floor-8 +4/1/13 Down None None None None No 2008 0 609c.9f97.d750 WW-Floor-8 +4/1/14 Down None None None None No 2008 0 609c.9f97.d751 WW-Floor-8 +4/1/15 Down None None None None No 2008 0 609c.9f97.d752 WW-Floor-8 +4/1/16 Down None None None None No 2008 0 609c.9f97.d753 WW-Floor-8 +4/1/17 Down None None None None No 2008 0 609c.9f97.d754 WW-Floor-8 +4/1/18 Up Forward Full 1G None No 2008 0 609c.9f97.d755 WW-Floor-8 +4/1/19 Down None None None None No 2008 0 609c.9f97.d756 WW-Floor-8 +4/1/20 Down None None None None No 2008 0 609c.9f97.d757 WW-Floor-8 +4/1/21 Down None None None None No 2008 0 609c.9f97.d758 WW-Floor-8 +4/1/22 Down None None None None No 2008 0 609c.9f97.d759 WW-Floor-8 +4/1/23 Down None None None None No 2008 0 609c.9f97.d75a WW-Floor-8 +4/1/24 Up Forward Full 1G None Yes 117 0 609c.9f97.d75b CreditBenchmark +4/1/25 Down None None None None No 2008 0 609c.9f97.d75c WW-Floor-8 +4/1/26 Down None None None None No 2008 0 609c.9f97.d75d WW-Floor-8 +4/1/27 Down None None None None No 2008 0 609c.9f97.d75e WW-Floor-8 +4/1/28 Down None None None None No 2008 0 609c.9f97.d75f WW-Floor-8 +4/1/29 Down None None None None No 2008 0 609c.9f97.d760 WW-Floor-8 +4/1/30 Down None None None None No 2008 0 609c.9f97.d761 WW-Floor-8 +4/1/31 Down None None None None No 2008 0 609c.9f97.d762 WW-Floor-8 +4/1/32 Down None None None None No 2008 0 609c.9f97.d763 WW-Floor-8 +4/1/33 Down None None None None No 2008 0 609c.9f97.d764 WW-Floor-8 +4/1/34 Down None None None None No 2008 0 609c.9f97.d765 WW-Floor-8 +4/1/35 Down None None None None No 2008 0 609c.9f97.d766 WW-Floor-8 +4/1/36 Down None None None None No 2008 0 609c.9f97.d767 WW-Floor-8 +4/1/37 Down None None None None No 2008 0 609c.9f97.d768 WW-Floor-8 +4/1/38 Down None None None None No 2008 0 609c.9f97.d769 WW-Floor-8 +4/1/39 Down None None None None No 2008 0 609c.9f97.d76a WW-Floor-8 +4/1/40 Down None None None None No 2008 0 609c.9f97.d76b WW-Floor-8 +4/1/41 Down None None None None No 2008 0 609c.9f97.d76c WW-Floor-8 +4/1/42 Down None None None None No 2008 0 609c.9f97.d76d WW-Floor-8 +4/1/43 Down None None None None No 2008 0 609c.9f97.d76e WW-Floor-8 +4/1/44 Down None None None None No 2008 0 609c.9f97.d76f WW-Floor-8 +4/1/45 Down None None None None No 2008 0 609c.9f97.d770 WW-Floor-8 +4/1/46 Down None None None None No 2008 0 609c.9f97.d771 WW-Floor-8 +4/1/47 Down None None None None No 2008 0 609c.9f97.d772 WW-Floor-8 +4/1/48 Down None None None None No 2008 0 609c.9f97.d773 WW-Floor-8 +4/2/1 Up Forward Full 10G None No N/A 0 609c.9f97.d775 +4/2/2 Down None None None None No 1 0 609c.9f97.d776 +4/2/3 Up Forward Full 10G None No N/A 0 609c.9f97.d777 +4/2/4 Down None None None None No 1 0 609c.9f97.d778 +4/2/5 Down None None None None No 1 0 609c.9f97.d779 +4/2/6 Down None None None None No 1 0 609c.9f97.d77a +4/2/7 Down None None None None No 1 0 609c.9f97.d77b +4/2/8 Down None None None None No 1 0 609c.9f97.d77c +5/1/1 Down None None None None No 2008 0 609c.9f97.d708 WW-Floor-8 +5/1/2 Down None None None None No 2008 0 609c.9f97.d709 WW-Floor-8 +5/1/3 Down None None None None No 2008 0 609c.9f97.d70a WW-Floor-8 +5/1/4 Down None None None None No 2008 0 609c.9f97.d70b WW-Floor-8 +5/1/5 Down None None None None No 2008 0 609c.9f97.d70c WW-Floor-8 +5/1/6 Down None None None None No 2008 0 609c.9f97.d70d WW-Floor-8 +5/1/7 Down None None None None No 2008 0 609c.9f97.d70e WW-Floor-8 +5/1/8 Down None None None None No 2008 0 609c.9f97.d70f WW-Floor-8 +5/1/9 Down None None None None No 2008 0 609c.9f97.d710 WW-Floor-8 +5/1/10 Down None None None None No 2008 0 609c.9f97.d711 WW-Floor-8 +5/1/11 Down None None None None No 2008 0 609c.9f97.d712 WW-Floor-8 +5/1/12 Down None None None None No 2008 0 609c.9f97.d713 WW-Floor-8 +5/1/13 Down None None None None No 2008 0 609c.9f97.d714 WW-Floor-8 +5/1/14 Down None None None None No 2008 0 609c.9f97.d715 WW-Floor-8 +5/1/15 Down None None None None No 2008 0 609c.9f97.d716 WW-Floor-8 +5/1/16 Down None None None None No 2008 0 609c.9f97.d717 WW-Floor-8 +5/1/17 Down None None None None No 2008 0 609c.9f97.d718 WW-Floor-8 +5/1/18 Down None None None None No 2008 0 609c.9f97.d719 WW-Floor-8 +5/1/19 Down None None None None No 2008 0 609c.9f97.d71a WW-Floor-8 +5/1/20 Down None None None None No 2008 0 609c.9f97.d71b WW-Floor-8 +5/1/21 Down None None None None No 2008 0 609c.9f97.d71c WW-Floor-8 +5/1/22 Down None None None None No 2008 0 609c.9f97.d71d WW-Floor-8 +5/1/23 Down None None None None No 2008 0 609c.9f97.d71e WW-Floor-8 +5/1/24 Down None None None None No 2008 0 609c.9f97.d71f WW-Floor-8 +5/1/25 Down None None None None No 2008 0 609c.9f97.d720 WW-Floor-8 +5/1/26 Down None None None None No 2008 0 609c.9f97.d721 WW-Floor-8 +5/1/27 Down None None None None No 2008 0 609c.9f97.d722 WW-Floor-8 +5/1/28 Down None None None None No 2008 0 609c.9f97.d723 WW-Floor-8 +5/1/29 Down None None None None No 2008 0 609c.9f97.d724 WW-Floor-8 +5/1/30 Down None None None None No 2008 0 609c.9f97.d725 WW-Floor-8 +5/1/31 Up Forward Full 1G None No 137 0 609c.9f97.d726 MQS-NYC-User +5/1/32 Up Forward Full 1G None No 999 0 609c.9f97.d727 MQS-NYC-WAN +5/1/33 Down None None None None No 137 0 609c.9f97.d728 MQS-NYC-User +5/1/34 Up Forward Full 10M None No 137 0 609c.9f97.d729 MQS-NYC-User +5/1/35 Up Forward Full 1G None No 137 0 609c.9f97.d72a MQS-NYC-User +5/1/36 Down None None None None No 2008 0 609c.9f97.d72b WW-Floor-8 +5/1/37 Up Forward Full 1G None No 137 0 609c.9f97.d72c MQS-NYC-User +5/1/38 Up Forward Full 1G None No 137 0 609c.9f97.d72d MQS-NYC-User +5/1/39 Down None None None None No 137 0 609c.9f97.d72e MQS-NYC-User +5/1/40 Down None None None None No 2008 0 609c.9f97.d72f WW-Floor-8 +5/1/41 Down None None None None No 2008 0 609c.9f97.d730 WW-Floor-8 +5/1/42 Down None None None None No 2008 0 609c.9f97.d731 WW-Floor-8 +5/1/43 Down None None None None No 2008 0 609c.9f97.d732 WW-Floor-8 +5/1/44 Up Forward Full 100M None No 2008 0 609c.9f97.d733 WW-Floor-8 +5/1/45 Down None None None None No 2008 0 609c.9f97.d734 WW-Floor-8 +5/1/46 Down None None None None No 2008 0 609c.9f97.d735 WW-Floor-8 +5/1/47 Down None None None None No 2008 0 609c.9f97.d736 WW-Floor-8 +5/1/48 Down None None None None No 2008 0 609c.9f97.d737 WW-Floor-8 +5/2/1 Up Forward Full 10G None No N/A 0 609c.9f97.d739 +5/2/2 Down None None None None No 1 0 609c.9f97.d73a +5/2/3 Up Forward Full 10G None No N/A 0 609c.9f97.d73b +5/2/4 Down None None None None No 1 0 609c.9f97.d73c +5/2/5 Down None None None None No 1 0 609c.9f97.d73d +5/2/6 Down None None None None No 1 0 609c.9f97.d73e +5/2/7 Down None None None None No 1 0 609c.9f97.d73f +5/2/8 Down None None None None No 1 0 609c.9f97.d740 +6/1/1 Down None None None None No 2008 0 609c.9f97.dff0 WW-Floor-8 +6/1/2 Down None None None None No 2008 0 609c.9f97.dff1 WW-Floor-8 +6/1/3 Down None None None None No 2008 0 609c.9f97.dff2 WW-Floor-8 +6/1/4 Down None None None None No 2008 0 609c.9f97.dff3 WW-Floor-8 +6/1/5 Down None None None None No 2008 0 609c.9f97.dff4 WW-Floor-8 +6/1/6 Down None None None None No 2008 0 609c.9f97.dff5 WW-Floor-8 +6/1/7 Down None None None None No 2008 0 609c.9f97.dff6 WW-Floor-8 +6/1/8 Down None None None None No 2008 0 609c.9f97.dff7 WW-Floor-8 +6/1/9 Down None None None None No 2008 0 609c.9f97.dff8 WW-Floor-8 +6/1/10 Down None None None None No 2008 0 609c.9f97.dff9 WW-Floor-8 +6/1/11 Down None None None None No 2008 0 609c.9f97.dffa WW-Floor-8 +6/1/12 Down None None None None No 2008 0 609c.9f97.dffb WW-Floor-8 +6/1/13 Down None None None None No 2008 0 609c.9f97.dffc WW-Floor-8 +6/1/14 Down None None None None No 2008 0 609c.9f97.dffd WW-Floor-8 +6/1/15 Down None None None None No 2008 0 609c.9f97.dffe WW-Floor-8 +6/1/16 Down None None None None No 2008 0 609c.9f97.dfff WW-Floor-8 +6/1/17 Down None None None None No 2008 0 609c.9f97.e000 WW-Floor-8 +6/1/18 Up Forward Full 100M None No 2008 0 609c.9f97.e001 WW-Floor-8 +6/1/19 Down None None None None No 2008 0 609c.9f97.e002 WW-Floor-8 +6/1/20 Down None None None None No 2008 0 609c.9f97.e003 WW-Floor-8 +6/1/21 Up Forward Full 1G None No 2008 0 609c.9f97.e004 WW-Floor-8 +6/1/22 Up Forward Full 1G None No 2008 0 609c.9f97.e005 WW-Floor-8 +6/1/23 Up Forward Full 1G None No 2008 0 609c.9f97.e006 WW-Floor-8 +6/1/24 Down None None None None No 2008 0 609c.9f97.e007 WW-Floor-8 +6/1/25 Up Forward Full 1G None No 2008 0 609c.9f97.e008 WW-Floor-8 +6/1/26 Down None None None None No 2008 0 609c.9f97.e009 WW-Floor-8 +6/1/27 Down None None None None No 2008 0 609c.9f97.e00a WW-Floor-8 +6/1/28 Up Forward Full 1G None No 2008 0 609c.9f97.e00b WW-Floor-8 +6/1/29 Down None None None None No 2008 0 609c.9f97.e00c WW-Floor-8 +6/1/30 Up Forward Full 1G None No 2008 0 609c.9f97.e00d WW-Floor-8 +6/1/31 Down None None None None No 2008 0 609c.9f97.e00e WW-Floor-8 +6/1/32 Down None None None None No 2008 0 609c.9f97.e00f WW-Floor-8 +6/1/33 Down None None None None No 2008 0 609c.9f97.e010 WW-Floor-8 +6/1/34 Down None None None None No 2008 0 609c.9f97.e011 WW-Floor-8 +6/1/35 Down None None None None No 2008 0 609c.9f97.e012 WW-Floor-8 +6/1/36 Up Forward Full 1G None No 2008 0 609c.9f97.e013 WW-Floor-8 +6/1/37 Down None None None None No 2008 0 609c.9f97.e014 WW-Floor-8 +6/1/38 Down None None None None Yes N/A 0 609c.9f97.e015 +6/1/39 Down None None None None Yes N/A 0 609c.9f97.e016 +6/1/40 Down None None None None Yes N/A 0 609c.9f97.e017 +6/1/41 Up Forward Full 100M None No 11 0 609c.9f97.e018 WW-AV +6/1/42 Up Forward Full 100M None No 11 0 609c.9f97.e019 WW-AV +6/1/43 Up Forward Full 100M None No 11 0 609c.9f97.e01a WW-AV +6/1/44 Down None None None None No 11 0 609c.9f97.e01b WW-AV +6/1/45 Up Forward Full 1G None No 11 0 609c.9f97.e01c WW-AV +6/1/46 Down None None None None No 11 0 609c.9f97.e01d WW-AV +6/1/47 Up Forward Full 100M None No 11 0 609c.9f97.e01e WW-AV +6/1/48 Up Forward Full 1G None No 11 0 609c.9f97.e01f WW-AV +6/2/1 Up Forward Full 10G None No N/A 0 609c.9f97.e021 +6/2/2 Down None None None None No 1 0 609c.9f97.e022 +6/2/3 Up Forward Full 10G None No N/A 0 609c.9f97.e023 +6/2/4 Down None None None None No 1 0 609c.9f97.e024 +6/2/5 Down None None None None No 1 0 609c.9f97.e025 +6/2/6 Down None None None None No 1 0 609c.9f97.e026 +6/2/7 Down None None None None No 1 0 609c.9f97.e027 +6/2/8 Down None None None None No 1 0 609c.9f97.e028 +7/1/1 Up Forward Full 100M None No 11 0 609c.9f97.817c WW-AV +7/1/2 Up Forward Full 100M None No 11 0 609c.9f97.817d WW-AV +7/1/3 Up Forward Full 100M None No 11 0 609c.9f97.817e WW-AV +7/1/4 Down None None None None No 11 0 609c.9f97.817f WW-AV +7/1/5 Down None None None None Yes N/A 0 609c.9f97.8180 +7/1/6 Down None None None None Yes N/A 0 609c.9f97.8181 +7/1/7 Down None None None None Yes N/A 0 609c.9f97.8182 +7/1/8 Up Forward Full 100M None No 54 0 609c.9f97.8183 +7/1/9 Up Forward Full 100M None No 54 0 609c.9f97.8184 +7/1/10 Down None None None None Yes N/A 0 609c.9f97.8185 +7/1/11 Down None None None None Yes N/A 0 609c.9f97.8186 +7/1/12 Down None None None None Yes N/A 0 609c.9f97.8187 +7/1/13 Down None None None None Yes N/A 0 609c.9f97.8188 +7/1/14 Down None None None None Yes N/A 0 609c.9f97.8189 +7/1/15 Down None None None None Yes N/A 0 609c.9f97.818a +7/1/16 Down None None None None Yes N/A 0 609c.9f97.818b +7/1/17 Down None None None None Yes N/A 0 609c.9f97.818c +7/1/18 Down None None None None Yes N/A 0 609c.9f97.818d +7/1/19 Down None None None None Yes N/A 0 609c.9f97.818e +7/1/20 Down None None None None Yes N/A 0 609c.9f97.818f +7/1/21 Up Forward Full 1G None No 131 0 609c.9f97.8190 OLA_VLAN_Server +7/1/22 Up Forward Full 1G None No 131 0 609c.9f97.8191 OLA_VLAN_Server +7/1/23 Up Forward Full 1G None No 999 0 609c.9f97.8192 OLACE-NR-WAN +7/1/24 Up Forward Full 1G None No 131 0 609c.9f97.8193 OLACE-NR +7/1/25 Up Forward Full 100M None Yes N/A 0 609c.9f97.8194 WW-WAP +7/1/26 Down None None None None No 251 0 609c.9f97.8195 WW-WAP +7/1/27 Up Forward Full 1G None Yes N/A 0 609c.9f97.8196 WW-WAP +7/1/28 Down None None None None No 251 0 609c.9f97.8197 WW-WAP +7/1/29 Down None None None None Yes N/A 0 609c.9f97.8198 +7/1/30 Down None None None None Yes N/A 0 609c.9f97.8199 +7/1/31 Down None None None None Yes N/A 0 609c.9f97.819a +7/1/32 Down None None None None Yes N/A 0 609c.9f97.819b +7/1/33 Down None None None None Yes N/A 0 609c.9f97.819c +7/1/34 Down None None None None Yes N/A 0 609c.9f97.819d +7/1/35 Down None None None None Yes N/A 0 609c.9f97.819e +7/1/36 Up Forward Full 1G None No 999 0 609c.9f97.819f GraniteRidge-WA +7/1/37 Up Forward Full 10M None No 117 0 609c.9f97.81a0 CreditBenchmark +7/1/38 Up Forward Full 100M None No 999 0 609c.9f97.81a1 CreditBenchmark +7/1/39 Down None None None None Yes N/A 0 609c.9f97.81a2 +7/1/40 Down None None None None Yes N/A 0 609c.9f97.81a3 +7/1/41 Down None None None None Yes N/A 0 609c.9f97.81a4 +7/1/42 Down None None None None Yes N/A 0 609c.9f97.81a5 +7/1/43 Down None None None None Yes N/A 0 609c.9f97.81a6 +7/1/44 Down None None None None Yes N/A 0 609c.9f97.81a7 +7/1/45 Down None None None None Yes N/A 0 609c.9f97.81a8 +7/1/46 Down None None None None Yes N/A 0 609c.9f97.81a9 +7/1/47 Down None None None None Yes N/A 0 609c.9f97.81aa +7/1/48 Up Forward Full 100M None Yes N/A 0 609c.9f97.81ab +7/2/1 Up Forward Full 10G None No N/A 0 609c.9f97.81ad +7/2/2 Down None None None None No 1 0 609c.9f97.81ae +7/2/3 Up Forward Full 10G None No N/A 0 609c.9f97.81af +7/2/4 Down None None None None No 1 0 609c.9f97.81b0 +7/2/5 Down None None None None No 1 0 609c.9f97.81b1 +7/2/6 Down None None None None No 1 0 609c.9f97.81b2 +7/2/7 Down None None None None No 1 0 609c.9f97.81b3 +7/2/8 Down None None None None No 1 0 609c.9f97.81b4 +mgmt1 Down None None None None No None 0 609c.9f97.aaf8 \ No newline at end of file From 3826f8e492962fc50724d75b111ad6c677318b8a Mon Sep 17 00:00:00 2001 From: Jack Kraszewski Date: Sun, 30 Dec 2018 01:08:57 -0500 Subject: [PATCH 192/628] `brocade_fastiron_show_lldp_neighbors`: Add new template (#291) --- .../brocade_fastiron_show_lldp_neighbors.template | 14 ++++++++++++++ templates/index | 1 + .../brocade_fastiron_show_lldp_neighbors.parsed | 7 +++++++ .../brocade_fastiron_show_lldp_neighbors.raw | 6 ++++++ 4 files changed, 28 insertions(+) create mode 100644 templates/brocade_fastiron_show_lldp_neighbors.template create mode 100644 tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.parsed create mode 100644 tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.raw diff --git a/templates/brocade_fastiron_show_lldp_neighbors.template b/templates/brocade_fastiron_show_lldp_neighbors.template new file mode 100644 index 0000000000..efd604cf2e --- /dev/null +++ b/templates/brocade_fastiron_show_lldp_neighbors.template @@ -0,0 +1,14 @@ +Value Required NEIGHBOR (\S+) +Value Required LOCAL_INTERFACE (\S+) +Value Required HOLD_TIME (\d+) +Value Required CAPABILITIES (\S+) +Value Required NEIGHBOR_INTERFACE (\S+) + +Start + ^Capability.* + ^\s+\(.* + ^Device\s+ID\s+Local\s+Intf\s+Hold-time\s+Capability\s+Port\s+ID\s*$$ + ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+${HOLD_TIME}\s+${CAPABILITIES}\s+${NEIGHBOR_INTERFACE} -> Record + ^Total.* + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index dfbe037399..440496d936 100644 --- a/templates/index +++ b/templates/index @@ -63,6 +63,7 @@ avaya_vsp_show_software.template, .*, avaya_vsp, sho[[w]] so[[ftware]] brocade_fastiron_show_lldp_neighbors_detail.template, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] brocade_fastiron_show_running-config_vlan.template, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_fastiron_show_interfaces_brief.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] b[[rief]] +brocade_fastiron_show_lldp_neighbors.template, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] brocade_fastiron_show_interfaces.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] brocade_fastiron_show_lag_brief.template, .*, brocade_fastiron, sh[[ow]] la[[g]] b[[rief]] brocade_fastiron_show_monitor.template, .*, brocade_fastiron, sh[[ow]] mo[[nitor]] diff --git a/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.parsed b/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.parsed new file mode 100644 index 0000000000..6ebf1a68a0 --- /dev/null +++ b/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.parsed @@ -0,0 +1,7 @@ +--- +parsed_sample: +- neighbor: "core-sw01" + local_interface: "Gi1/3" + hold_time: "120" + capabilities: "B,R" + neighbor_interface: "Gi0/3" diff --git a/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.raw b/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.raw new file mode 100644 index 0000000000..17df92784e --- /dev/null +++ b/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.raw @@ -0,0 +1,6 @@ +Capability codes: + (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device + (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other +Device ID Local Intf Hold-time Capability Port ID +core-sw01 Gi1/3 120 B,R Gi0/3 +Total entries displayed: 1 From 68be774d5a39210068ae814567c4ec95430e52bc Mon Sep 17 00:00:00 2001 From: Jack Kraszewski Date: Sun, 30 Dec 2018 01:13:54 -0500 Subject: [PATCH 193/628] `brocade_fastiron_show_mac-address`: Add new template (#292) * added brocade_fastiron_show_mac-address.template * reordered index file and added yaml parsed results --- .../brocade_fastiron_show_mac-address.template | 13 +++++++++++++ templates/index | 1 + .../brocade_fastiron_show_mac-address.parsed | 17 +++++++++++++++++ .../brocade_fastiron_show_mac-address.raw | 6 ++++++ 4 files changed, 37 insertions(+) create mode 100644 templates/brocade_fastiron_show_mac-address.template create mode 100644 tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.parsed create mode 100644 tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.raw diff --git a/templates/brocade_fastiron_show_mac-address.template b/templates/brocade_fastiron_show_mac-address.template new file mode 100644 index 0000000000..4733fa9225 --- /dev/null +++ b/templates/brocade_fastiron_show_mac-address.template @@ -0,0 +1,13 @@ +Value Required MAC_ADDRESS ([A-Fa-f0-9\.]{14}) +Value Required DESTINATION_PORT (\S+) +Value Required AGE (\d+) +Value Required VLAN (\d+) +Value TYPE (\S+) + + +Start + ^Total.* + ^MAC Address\s+Port\s+Age\s+VLAN\s+Type + ^${MAC_ADDRESS}\s+${DESTINATION_PORT}\s+${AGE}\s+${VLAN}\s+${TYPE} -> Record + ^${MAC_ADDRESS}\s+${DESTINATION_PORT}\s+${AGE}\s+${VLAN} -> Record + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 440496d936..091d29f17f 100644 --- a/templates/index +++ b/templates/index @@ -64,6 +64,7 @@ brocade_fastiron_show_lldp_neighbors_detail.template, .*, brocade_fastiron, sh[[ brocade_fastiron_show_running-config_vlan.template, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_fastiron_show_interfaces_brief.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] b[[rief]] brocade_fastiron_show_lldp_neighbors.template, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] +brocade_fastiron_show_mac-address.template, .*, brocade_fastiron, sh[[ow]] ma[[c-address]] brocade_fastiron_show_interfaces.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] brocade_fastiron_show_lag_brief.template, .*, brocade_fastiron, sh[[ow]] la[[g]] b[[rief]] brocade_fastiron_show_monitor.template, .*, brocade_fastiron, sh[[ow]] mo[[nitor]] diff --git a/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.parsed b/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.parsed new file mode 100644 index 0000000000..4373445d5c --- /dev/null +++ b/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.parsed @@ -0,0 +1,17 @@ +--- +parsed_sample: +- mac_address: "6cae.8b2d.c979" + destination_port: "2/1" + age: "0" + vlan: "1000" + type: "" +- mac_address: "3440.b5be.e3ac" + destination_port: "2/1" + age: "0" + vlan: "1000" + type: "" +- mac_address: "90e2.ba5a.ab8c" + destination_port: "2/1" + age: "0" + vlan: "1000" + type: "" diff --git a/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.raw b/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.raw new file mode 100644 index 0000000000..98905dd467 --- /dev/null +++ b/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.raw @@ -0,0 +1,6 @@ +Total active entries from all ports = 236 +MAC Address Port Age VLAN Type + +6cae.8b2d.c979 2/1 0 1000 +3440.b5be.e3ac 2/1 0 1000 +90e2.ba5a.ab8c 2/1 0 1000 \ No newline at end of file From d87618f8b14405d1226c441c68f8d38562096418 Mon Sep 17 00:00:00 2001 From: Jack Kraszewski Date: Sun, 30 Dec 2018 01:26:29 -0500 Subject: [PATCH 194/628] `cisco_ios_show_ip_arp`: Bug fixes and additional captures (#293) Bug Fixes * Change `AGE` capture to be more generic New Captures: * Add `PROTOCOL` capture group General Enhancements: * Match all known lines * Add catchall capture that raises an error to ensure all data is accounted for --- templates/cisco_ios_show_ip_arp.template | 11 +++++--- .../show_ip_arp/cisco_ios_show_ip_arp.parsed | 27 ++++++++++--------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/templates/cisco_ios_show_ip_arp.template b/templates/cisco_ios_show_ip_arp.template index 3d73c013b5..9969bf7729 100644 --- a/templates/cisco_ios_show_ip_arp.template +++ b/templates/cisco_ios_show_ip_arp.template @@ -1,10 +1,13 @@ +Value Required PROTOCOL (\S+) Value Required ADDRESS (\d+\.\d+\.\d+\.\d+) -Value Required AGE ([-\d+]+) +Value Required AGE (\S+) Value Required MAC (\S+) Value Required TYPE (\S+) Value INTERFACE (\S+) Start - ^Internet\s+${ADDRESS}\s+${AGE}\s+${MAC}\s+${TYPE}\s+${INTERFACE} -> Record - ^Internet\s+${ADDRESS}\s+${AGE}\s+${MAC}\s+${TYPE} -> Record - + ^Protocol\s+Address\s+Age\s*\(min\)\s+Hardware Addr\s+Type\s+Interface + ^${PROTOCOL}\s+${ADDRESS}\s+${AGE}\s+${MAC}\s+${TYPE}\s+${INTERFACE} -> Record + ^${PROTOCOL}\s+${ADDRESS}\s+${AGE}\s+${MAC}\s+${TYPE} -> Record + ^. -> Error + diff --git a/tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.parsed b/tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.parsed index ccbc47e20c..c34b4fa5bf 100644 --- a/tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.parsed +++ b/tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.parsed @@ -1,42 +1,43 @@ --- parsed_sample: -- address: "172.16.233.229" +- protocol: "Internet" + address: "172.16.233.229" age: "-" mac: "0000.0c59.f892" type: "ARPA" interface: "Ethernet0/0" - -- address: "172.16.233.218" +- protocol: "Internet" + address: "172.16.233.218" age: "-" mac: "0000.0c07.ac00" type: "ARPA" interface: "Ethernet0/0" - -- address: "172.16.233.19" +- protocol: "Internet" + address: "172.16.233.19" age: "-" mac: "0000.0c63.1300" type: "ARPA" interface: "Ethernet0/0" - -- address: "172.16.233.209" +- protocol: "Internet" + address: "172.16.233.209" age: "-" mac: "0000.0c36.6965" type: "ARPA" interface: "Ethernet0/0" - -- address: "172.16.168.11" +- protocol: "Internet" + address: "172.16.168.11" age: "-" mac: "0000.0c63.1300" type: "ARPA" interface: "Ethernet0/0" - -- address: "172.16.168.254" +- protocol: "Internet" + address: "172.16.168.254" age: "9" mac: "0000.0c36.6965" type: "ARPA" interface: "Ethernet0/0" - -- address: "10.0.0.0" +- protocol: "Internet" + address: "10.0.0.0" age: "-" mac: "aabb.cc03.8200" type: "SRP-A" From dba54a7ec30cbde858a59701bc6382015f1c19a7 Mon Sep 17 00:00:00 2001 From: Jack Kraszewski Date: Sun, 30 Dec 2018 01:28:52 -0500 Subject: [PATCH 195/628] `juniper_junos_show_arp_no-resolve`: Add new template (#295) --- templates/index | 1 + ...juniper_junos_show_arp_no-resolve.template | 11 ++++++ .../juniper_junos_show_arp_no-resolve.parsed | 38 +++++++++++++++++++ .../juniper_junos_show_arp_no-resolve.raw | 11 ++++++ 4 files changed, 61 insertions(+) create mode 100644 templates/juniper_junos_show_arp_no-resolve.template create mode 100644 tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.parsed create mode 100644 tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.raw diff --git a/templates/index b/templates/index index 091d29f17f..41cd05c310 100644 --- a/templates/index +++ b/templates/index @@ -257,6 +257,7 @@ hp_procurve_show_arp.template, .*, hp_procurve, sh[[ow]] ar[[p]] juniper_junos_show_chassis_cluster_status.template, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] juniper_junos_show_chassis_firmware.template, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] +juniper_junos_show_arp_no-resolve.template, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] juniper_junos_show_isis_adjacency.template, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] juniper_junos_show_ospf_neighbor.template, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] juniper_junos_show_interfaces.template, .*, juniper_junos, sh[[ow]] inte[[rfaces]] diff --git a/templates/juniper_junos_show_arp_no-resolve.template b/templates/juniper_junos_show_arp_no-resolve.template new file mode 100644 index 0000000000..d5ccfad7db --- /dev/null +++ b/templates/juniper_junos_show_arp_no-resolve.template @@ -0,0 +1,11 @@ +Value Required MAC ([A-Fa-f0-9\:]{17}) +Value Required IP_ADDRESS ([A-Fa-f0-9:\.]+) +Value Required INTERFACE (\S+) +Value FLAGS (\S+) + +Start + ^MAC\s+Address\s+Address\s+Interface\s+Flags\s*$$ + ^${MAC}\s+${IP_ADDRESS}\s+${INTERFACE}\s+${FLAGS} -> Record + ^Total.* + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.parsed b/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.parsed new file mode 100644 index 0000000000..dd151dbed3 --- /dev/null +++ b/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.parsed @@ -0,0 +1,38 @@ +--- +parsed_sample: +- mac: "00:00:00:00:00:04" + ip_address: "10.1.100.130" + interface: "vlan.20" + flags: "none" +- mac: "00:00:00:00:00:05" + ip_address: "10.1.100.132" + interface: "vlan.20" + flags: "none" +- mac: "00:00:00:00:00:08" + ip_address: "10.1.100.72" + interface: "vlan.20" + flags: "none" +- mac: "00:00:00:00:00:09" + ip_address: "10.1.100.73" + interface: "vlan.20" + flags: "none" +- mac: "00:00:00:00:00:0a" + ip_address: "10.1.100.74" + interface: "vlan.20" + flags: "none" +- mac: "00:00:00:00:00:0b" + ip_address: "10.1.100.75" + interface: "vlan.20" + flags: "none" +- mac: "00:00:00:00:00:0c" + ip_address: "10.1.100.76" + interface: "vlan.20" + flags: "none" +- mac: "00:00:00:00:11:11" + ip_address: "10.1.111.11" + interface: "vlan.20" + flags: "none" +- mac: "00:00:00:00:13:13" + ip_address: "10.1.13.13" + interface: "vlan.20" + flags: "none" diff --git a/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.raw b/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.raw new file mode 100644 index 0000000000..88e2916a83 --- /dev/null +++ b/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.raw @@ -0,0 +1,11 @@ +MAC Address Address Interface Flags +00:00:00:00:00:04 10.1.100.130 vlan.20 none +00:00:00:00:00:05 10.1.100.132 vlan.20 none +00:00:00:00:00:08 10.1.100.72 vlan.20 none +00:00:00:00:00:09 10.1.100.73 vlan.20 none +00:00:00:00:00:0a 10.1.100.74 vlan.20 none +00:00:00:00:00:0b 10.1.100.75 vlan.20 none +00:00:00:00:00:0c 10.1.100.76 vlan.20 none +00:00:00:00:11:11 10.1.111.11 vlan.20 none +00:00:00:00:13:13 10.1.13.13 vlan.20 none +Total entries: 9 \ No newline at end of file From c88ed515d720dbbc7139a954e37025b3b6eed91d Mon Sep 17 00:00:00 2001 From: Jack Kraszewski Date: Sun, 30 Dec 2018 21:42:21 -0500 Subject: [PATCH 196/628] `juniper_junos_show_chassis_cluster_interfaces`: Add new template (#296) --- templates/index | 1 + ...s_show_chassis_cluster_interfaces.template | 90 ++++++++ ...nos_show_chassis_cluster_interfaces.parsed | 192 ++++++++++++++++++ ..._junos_show_chassis_cluster_interfaces.raw | 40 ++++ ...os_show_chassis_cluster_interfaces2.parsed | 102 ++++++++++ ...junos_show_chassis_cluster_interfaces2.raw | 30 +++ ...os_show_chassis_cluster_interfaces3.parsed | 192 ++++++++++++++++++ ...junos_show_chassis_cluster_interfaces3.raw | 33 +++ ...os_show_chassis_cluster_interfaces4.parsed | 102 ++++++++++ ...junos_show_chassis_cluster_interfaces4.raw | 30 +++ 10 files changed, 812 insertions(+) create mode 100644 templates/juniper_junos_show_chassis_cluster_interfaces.template create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.raw create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.raw create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.raw create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.raw diff --git a/templates/index b/templates/index index 41cd05c310..88df16baaa 100644 --- a/templates/index +++ b/templates/index @@ -255,6 +255,7 @@ hp_procurve_show_system.template, .*, hp_procurve, sh[[ow]] syst[[em]] hp_procurve_show_vlans.template, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.template, .*, hp_procurve, sh[[ow]] ar[[p]] +juniper_junos_show_chassis_cluster_interfaces.template, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] juniper_junos_show_chassis_cluster_status.template, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] juniper_junos_show_chassis_firmware.template, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] juniper_junos_show_arp_no-resolve.template, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] diff --git a/templates/juniper_junos_show_chassis_cluster_interfaces.template b/templates/juniper_junos_show_chassis_cluster_interfaces.template new file mode 100644 index 0000000000..3ff9d1e237 --- /dev/null +++ b/templates/juniper_junos_show_chassis_cluster_interfaces.template @@ -0,0 +1,90 @@ +Value Filldown CONTROL_LINK_STATUS (\S+) +Value Filldown FABRIC_LINK_STATUS (\S+) +Value Filldown LINK_TYPE (\S+) +Value INDEX (\d+) +Value INTERFACE (\S+) +Value STATUS ((\S+\s*\/\s*\S+|\S+)) +Value SECURITY (\S+) +Value CHILD_INTERFACE (\S+) +Value REDUNDANCY_GROUP (\d+|[Nn]ot\s+[Cc]onfigured) +Value WEIGHT (\d+) + + +Start + ^[Cc]ontrol\s+[Ll]ink\s+[Ss]tatus:\s+${CONTROL_LINK_STATUS}\s*$$ -> Control + ^[Ff]abric\s+[Ll]ink\s+[Ss]tatus:\s+${FABRIC_LINK_STATUS}\s*$$ -> Fabric + ^${LINK_TYPE}\s+Information:\s*$$ -> Continue + ^[Rr]edundant-ethernet -> RedEth + ^[Rr]edundant-pseudo -> RedPse + ^[Ii]nterface\s+[Mm]onitoring -> IntMon + ^\s*$$ + ^. -> Error + +Control + ^${LINK_TYPE}\s+interfaces:\s*$$ + ^\s*Index\s+Interface\s+Monitored-Status\s+Security\s*$$ + ^\s*Index\s+Interface\s+Monitored-Status\s+Internal-SA\s*$$ + ^\s*Index\s+Interface\s+Status\s+Internal-SA\s*$$ + ^\s*${INDEX}\s+${INTERFACE}\s+${STATUS}\s+${SECURITY}\s*$$ -> Record + ^\S+ -> Continue.Clearall + ^[Ff]abric\s+[Ll]ink\s+[Ss]tatus:\s+${FABRIC_LINK_STATUS}\s*$$ -> Fabric + ^${LINK_TYPE}\s+Information:\s*$$ -> Continue + ^[Rr]edundant-ethernet -> RedEth + ^[Rr]edundant-pseudo -> RedPse + ^Interface\s+[Mm]onitoring -> IntMon + ^\s*$$ + ^. -> Error + +Fabric + ^${LINK_TYPE}\s+interfaces:\s*$$ + ^\s*Name\s+Child-interface\s+Status\s+Security\s*$$ + ^\s*Name\s+Child-interface\s+Status\s*$$ + ^\s*\(Physical\/Monitored\)\s*$$ + ^\s*${INTERFACE}\s+${CHILD_INTERFACE}\s+${STATUS}\s+${SECURITY}\s*$$ -> Record + ^\s*${INTERFACE}\s+${CHILD_INTERFACE}\s+${STATUS}\s*$$ -> Record + ^\s*\S+\s*$$ + ^\s+\w+\d+\s*$$ + ^\S+ -> Continue.Clearall + ^${LINK_TYPE}\s+Information:\s*$$ -> Continue + ^[Rr]edundant-ethernet -> RedEth + ^[Rr]edundant-pseudo -> RedPse + ^Interface\s+[Mm]onitoring -> IntMon + ^\s*$$ + ^Control\s+[Ll]ink\s+[Ss]tatus:\s+${CONTROL_LINK_STATUS}\s*$$ - Control + ^. -> Error + +RedEth + ^\s*Name\s+Status\s+Redundancy-group\s*$$ + ^\s*${INTERFACE}\s+${STATUS}\s+${REDUNDANCY_GROUP}\s*$$ -> Record + ^\S+ -> Continue.Clearall + ^${LINK_TYPE}\s+Information -> Continue + ^[Rr]edundant-pseudo -> RedPse + ^Interface\s+[Mm]onitoring -> IntMon + ^\s*$$ + ^Control\s+[Ll]ink\s+[Ss]tatus:\s+${CONTROL_LINK_STATUS}\s*$$ - Control + ^[Ff]abric\s+[Ll]ink\s+[Ss]tatus:\s+${FABRIC_LINK_STATUS}\s*$$ -> Fabric + ^. -> Error + +RedPse + ^\s*Name\s+Status\s+Redundancy-group\s*$$ + ^\s*${INTERFACE}\s+${STATUS}\s+${REDUNDANCY_GROUP}\s*$$ -> Record + ^\S+ -> Continue.Clearall + ^${LINK_TYPE}\s+Information -> Continue + ^[Ii]nterface\s+[Mm]onitoring -> IntMon + ^\s*$$ + ^Control\s+[Ll]ink\s+[Ss]tatus:\s+${CONTROL_LINK_STATUS}\s*$$ - Control + ^[Ff]abric\s+[Ll]ink\s+[Ss]tatus:\s+${FABRIC_LINK_STATUS}\s*$$ -> Fabric + ^[Rr]edundant-ethernet -> RedEth + ^. -> Error + +IntMon + ^\s*Interface\s+Weight\s+Status\s+Redundancy-group\s*$$ + ^\s*${INTERFACE}\s+${WEIGHT}\s+${STATUS}(?:\s+${REDUNDANCY_GROUP}|)\s*$$ -> Record + ^\s*$$ + ^\S+ -> Continue.Clearall + ^${LINK_TYPE}\s+Information:\s*$$ -> Continue + ^Control\s+[Ll]ink\s+[Ss]tatus:\s+${CONTROL_LINK_STATUS}\s*$$ - Control + ^[Ff]abric\s+[Ll]ink\s+[Ss]tatus:\s+${FABRIC_LINK_STATUS}\s*$$ -> Fabric + ^[Rr]edundant-ethernet -> RedEth + ^[Rr]edundant-pseudo -> RedPse + ^. -> Error diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed new file mode 100644 index 0000000000..b2a8a2ebfd --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed @@ -0,0 +1,192 @@ +--- +parsed_sample: +- control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "em0" + status: "Up" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "1" + interface: "em1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Up / Down" + security: "" + child_interface: "ge-0/1/0" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab1" + status: "Up/Down" + security: "" + child_interface: "ge-6/1/0" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "2" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth5" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth6" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth7" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth8" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth9" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth10" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth11" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "100" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "" + weight: "100" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.raw b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.raw new file mode 100644 index 0000000000..af66962c39 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.raw @@ -0,0 +1,40 @@ +Control link status: Up + +Control interfaces: + Index Interface Monitored-Status Internal-SA + 0 em0 Up Disabled + 1 em1 Down Disabled + +Fabric link status: Up + +Fabric interfaces: + Name Child-interface Status + (Physical/Monitored) + fab0 ge-0/1/0 Up / Down + fab0 + fab1 ge-6/1/0 Up/Down + fab1 + +Redundant-ethernet Information: + Name Status Redundancy-group + reth0 Up 1 + reth1 Up 2 + reth2 Down Not configured + reth3 Down Not configured + reth4 Down Not configured + reth5 Down Not configured + reth6 Down Not configured + reth7 Down Not configured + reth8 Down Not configured + reth9 Down Not configured + reth10 Down Not configured + reth11 Down Not configured + +Redundant-pseudo-interface Information: + Name Status Redundancy-group + lo0 Up 1 + +Interface Monitoring: + Interface Weight Status Redundancy-group + ge-0/1/9 100 Up 0 + ge-0/1/9 100 Up \ No newline at end of file diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed new file mode 100644 index 0000000000..f8ed5253e4 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed @@ -0,0 +1,102 @@ +--- +parsed_sample: +- control_link_status: "Down" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "fxp1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Down" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Down / Down" + security: "" + child_interface: "ge-0/0/2" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "3" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-11/0/0" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-2/0/0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.raw b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.raw new file mode 100644 index 0000000000..8bfaa8f91c --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.raw @@ -0,0 +1,30 @@ +Control link status: Down + +Control interfaces: +Index Interface Status Internal-SA +0 fxp1 Down Disabled + +Fabric link status: Down + +Fabric interfaces: +Name Child-interface Status +(Physical/Monitored) +fab0 ge-0/0/2 Down / Down +fab0 + +Redundant-ethernet Information: +Name Status Redundancy-group +reth0 Up 1 +reth1 Up 3 +reth2 Down Not configured +reth3 Down Not configured +reth4 Down Not configured + +Redundant-pseudo-interface Information: +Name Status Redundancy-group +lo0 Up 0 + +Interface Monitoring: +Interface Weight Status Redundancy-group +ge-11/0/0 255 Down 1 +ge-2/0/0 255 Up 1 diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed new file mode 100644 index 0000000000..1b9829160b --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed @@ -0,0 +1,192 @@ +--- +parsed_sample: +- control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "em0" + status: "Up" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "1" + interface: "em1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Up" + security: "Disabled" + child_interface: "ge-0/1/0" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab1" + status: "Up" + security: "Disabled" + child_interface: "ge-6/1/0" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "2" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth5" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth6" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth7" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth8" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth9" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth10" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth11" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "100" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "" + weight: "100" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.raw b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.raw new file mode 100644 index 0000000000..dfce0b79d6 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.raw @@ -0,0 +1,33 @@ +Control link status: Up +Control interfaces: + Index Interface Monitored-Status Security + 0 em0 Up Disabled + 1 em1 Down Disabled +Fabric link status: Up +Fabric interfaces: + Name Child-interface Status Security + fab0 ge-0/1/0 Up Disabled + fab0 + fab1 ge-6/1/0 Up Disabled + fab1 +Redundant-ethernet Information: + Name Status Redundancy-group + reth0 Up 1 + reth1 Up 2 + reth2 Down Not configured + reth3 Down Not configured + reth4 Down Not configured + reth5 Down Not configured + reth6 Down Not configured + reth7 Down Not configured + reth8 Down Not configured + reth9 Down Not configured + reth10 Down Not configured + reth11 Down Not configured +Redundant-pseudo-interface Information: + Name Status Redundancy-group + lo0 Up 1 +Interface Monitoring: + Interface Weight Status Redundancy-group + ge-0/1/9 100 Up 0 + ge-0/1/9 100 Up \ No newline at end of file diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed new file mode 100644 index 0000000000..f8ed5253e4 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed @@ -0,0 +1,102 @@ +--- +parsed_sample: +- control_link_status: "Down" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "fxp1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "Down" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Down / Down" + security: "" + child_interface: "ge-0/0/2" + redundancy_group: "" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "3" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-11/0/0" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" +- control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-2/0/0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.raw b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.raw new file mode 100644 index 0000000000..8bfaa8f91c --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.raw @@ -0,0 +1,30 @@ +Control link status: Down + +Control interfaces: +Index Interface Status Internal-SA +0 fxp1 Down Disabled + +Fabric link status: Down + +Fabric interfaces: +Name Child-interface Status +(Physical/Monitored) +fab0 ge-0/0/2 Down / Down +fab0 + +Redundant-ethernet Information: +Name Status Redundancy-group +reth0 Up 1 +reth1 Up 3 +reth2 Down Not configured +reth3 Down Not configured +reth4 Down Not configured + +Redundant-pseudo-interface Information: +Name Status Redundancy-group +lo0 Up 0 + +Interface Monitoring: +Interface Weight Status Redundancy-group +ge-11/0/0 255 Down 1 +ge-2/0/0 255 Up 1 From 6109170c4d32e4132ce6d83c02f9b4e58afc05a2 Mon Sep 17 00:00:00 2001 From: Jack Kraszewski Date: Sun, 30 Dec 2018 21:43:04 -0500 Subject: [PATCH 197/628] `juniper_junos_show_version`: Add new template (#298) --- Error | 0 templates/index | 1 + templates/juniper_junos_show_version.template | 78 +++++++++++++++++++ .../juniper_junos_show_version.parsed | 40 ++++++++++ .../juniper_junos_show_version.raw | 36 +++++++++ 5 files changed, 155 insertions(+) create mode 100644 Error create mode 100644 templates/juniper_junos_show_version.template create mode 100644 tests/juniper_junos/show_version/juniper_junos_show_version.parsed create mode 100644 tests/juniper_junos/show_version/juniper_junos_show_version.raw diff --git a/Error b/Error new file mode 100644 index 0000000000..e69de29bb2 diff --git a/templates/index b/templates/index index 88df16baaa..fd34b9f503 100644 --- a/templates/index +++ b/templates/index @@ -262,6 +262,7 @@ juniper_junos_show_arp_no-resolve.template, .*, juniper_junos, sh[[ow]] a[[rp]] juniper_junos_show_isis_adjacency.template, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] juniper_junos_show_ospf_neighbor.template, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] juniper_junos_show_interfaces.template, .*, juniper_junos, sh[[ow]] inte[[rfaces]] +juniper_junos_show_version.template, .*, juniper_junos, sh[[ow]] ver[[sion]] juniper_screenos_get_route.template, .*, juniper_screenos, get route diff --git a/templates/juniper_junos_show_version.template b/templates/juniper_junos_show_version.template new file mode 100644 index 0000000000..5a2750834e --- /dev/null +++ b/templates/juniper_junos_show_version.template @@ -0,0 +1,78 @@ +Value Required HOSTNAME (\S+) +Value MODEL (\S+) +Value JUNOS_VERSION ([\S\s]*) +Value BASE_OS_BOOT (\S+) +Value BASE_OS_SOFTWARE_SUITE (\S+) +Value KERNEL_SOFTWARE_SUITE (\S+) +Value CRYPTO_SOFTWARE_SUITE (\S+) +Value PACKET_FORWARDING_ENGINE_SUPPORT_M_T_EX_COMMON (\S+) +Value PACKET_FORWARDING_ENGINE_SUPPORT_MX_COMMON (\S+) +Value ONLINE_DOCUMENTATION (\S+) +Value SERVICES_AACL_CONTAINER_PACKAGE (\S+) +Value SERVICES_APPLICATION_LEVEL_GATEWAYS (\S+) +Value APPID_SERVICES (\S+) +Value BORDER_GATEWAY_FUNCTION_PACKAGE (\S+) +Value SERVICES_CAPTIVE_PORTAL_CONTENT_DELIVERY_PACKAGE (\S+) +Value SERVICES_HTTP_CONTENT_MANAGEMENT_PACKAGE (\S+) +Value IDP_SERVICES (\S+) +Value SERVICES_JFLOW_CONTAINER_PACKAGE (\S+) +Value SERVICES_LL_PDF_CONTAINER_PACKAGE (\S+) +Value SERVICES_MOBILENEXT_SOFTWARE_PACKAGE (\S+) +Value SERVICES_MOBILE_SUBSCRIBER_SERVICE_PACKAGE (\S+) +Value SERVICES_NAT (\S+) +Value SERVICES_PTSP_CONTAINER_PACKAGE (\S+) +Value SERVICES_RPM (\S+) +Value SERVICES_STATEFUL_FIREWALL (\S+) +Value VOICE_SERVICES_CONTAINER_PACKAGE (\S+) +Value SERVICES_CRYPTO (\S+) +Value SERVICES_SSL (\S+) +Value SERVICES_IPSEC (\S+) +Value PLATFORM_SOFTWARE_SUITE (\S+) +Value RUNTIME_SOFTWARE_SUITE (\S+) +Value ROUTING_SOFTWARE_SUITE (\S+) +Value PY_BASE_I386 (\S+) +Value LAB_PACKAGE (\S+) +Value SERIAL_NUMBER (\S+) +Value QFABRIC_SYSTEM_ID (\S+) +Value List OTHER_DEVICE_PROPERTIES ([^\[]*) +Value List OTHER_PROPERTIES_VERSIONS (\S+) + +Start + ^Hostname:\s+${HOSTNAME} + ^Model:\s+${MODEL} + ^Junos:\s+${JUNOS_VERSION} + ^JUNOS\s+Base\s+OS\s+boot\s+\[${BASE_OS_BOOT}\] + ^JUNOS\s+Base\s+OS\s+Software\s+Suite\s+\[${BASE_OS_SOFTWARE_SUITE}\] + ^JUNOS\s+Kernel\s+Software\s+Suite\s+\[${KERNEL_SOFTWARE_SUITE}\] + ^JUNOS\s+Crypto\s+Software\s+Suite\s+\[${CRYPTO_SOFTWARE_SUITE}\] + ^JUNOS\s+Packet\s+Forwarding\s+Engine\s+Support\s+\(M/T/EX\s+Common\)\s+\[${PACKET_FORWARDING_ENGINE_SUPPORT_M_T_EX_COMMON}\] + ^JUNOS\s+Packet\s+Forwarding\s+Engine\s+Support\s+\(MX\s+Common\)\s+\[${PACKET_FORWARDING_ENGINE_SUPPORT_MX_COMMON}\] + ^JUNOS\s+Online\s+Documentation\s+\[${ONLINE_DOCUMENTATION}\] + ^JUNOS\s+Services\s+AACL\s+Container\s+package\s+\[${SERVICES_AACL_CONTAINER_PACKAGE}\] + ^JUNOS\s+Services\s+Application\s+Level\s+Gateways\s+\[${SERVICES_APPLICATION_LEVEL_GATEWAYS}\] + ^JUNOS\s+AppId\s+Services\s+\[${APPID_SERVICES}\] + ^JUNOS\s+Border\s+Gateway\s+Function\s+package\s+\[${BORDER_GATEWAY_FUNCTION_PACKAGE}\] + ^JUNOS\s+Services\s+Captive\s+Portal\s+and\s+Content\s+Delivery\s+Container\s+package\s+\[${SERVICES_CAPTIVE_PORTAL_CONTENT_DELIVERY_PACKAGE}\] + ^JUNOS\s+Services\s+HTTP\s+Content\s+Management\s+package\s+\[${SERVICES_HTTP_CONTENT_MANAGEMENT_PACKAGE}\] + ^JUNOS\s+IDP\s+Services\s+\[${IDP_SERVICES}\] + ^JUNOS\s+Services\s+Jflow\s+Container\s+package\s+\[${SERVICES_JFLOW_CONTAINER_PACKAGE}\] + ^JUNOS\s+Services\s+LL-PDF\s+Container\s+package\s+\[${SERVICES_LL_PDF_CONTAINER_PACKAGE}\] + ^JUNOS\s+Services\s+MobileNext\s+Software\s+package\s+\[${SERVICES_MOBILENEXT_SOFTWARE_PACKAGE}\] + ^JUNOS\s+Services\s+Mobile\s+Subscriber\s+Service\s+Container\s+package\s+\[${SERVICES_MOBILE_SUBSCRIBER_SERVICE_PACKAGE}\] + ^JUNOS\s+Services\s+NAT\s+\[${SERVICES_NAT}\] + ^JUNOS\s+Services\s+PTSP\s+Container\s+package\s+\[${SERVICES_PTSP_CONTAINER_PACKAGE}\] + ^JUNOS\s+Services\s+RPM\s+\[${SERVICES_RPM}\] + ^JUNOS\s+Services\s+Stateful\s+Firewall\s+\[${SERVICES_STATEFUL_FIREWALL}\] + ^JUNOS\s+Voice\s+Services\s+Container\s+package\s+\[${VOICE_SERVICES_CONTAINER_PACKAGE}\] + ^JUNOS\s+Services\s+Crypto\s+\[${SERVICES_CRYPTO}\] + ^JUNOS\s+Services\s+SSL\s+\[${SERVICES_SSL}\] + ^JUNOS\s+Services\s+IPSec\s+\[${SERVICES_IPSEC}\] + ^JUNOS\s+platform\s+Software\s+Suite\s+\[${PLATFORM_SOFTWARE_SUITE}\] + ^JUNOS\s+Runtime\s+Software\s+Suite\s+\[${RUNTIME_SOFTWARE_SUITE}\] + ^JUNOS\s+Routing\s+Software\s+Suite\s+\[${ROUTING_SOFTWARE_SUITE}\] + ^JUNOS\s+py-base-i386\s+\[${PY_BASE_I386}\] + ^labpkg\s+\[${LAB_PACKAGE}\] + ^Serial\s+Number:\s+${SERIAL_NUMBER} + ^QFabric\s+System\s+ID:\s+${QFABRIC_SYSTEM_ID} + ^JUNOS\s+${OTHER_DEVICE_PROPERTIES}\[${OTHER_PROPERTIES_VERSIONS}\] + ^. -> Error \ No newline at end of file diff --git a/tests/juniper_junos/show_version/juniper_junos_show_version.parsed b/tests/juniper_junos/show_version/juniper_junos_show_version.parsed new file mode 100644 index 0000000000..03a8389b9d --- /dev/null +++ b/tests/juniper_junos/show_version/juniper_junos_show_version.parsed @@ -0,0 +1,40 @@ +--- +parsed_sample: +- hostname: "lab" + model: "mx240" + junos_version: "13.3R1.4" + base_os_boot: "13.3R1.4" + base_os_software_suite: "13.3R1.4" + kernel_software_suite: "13.3R1.4" + crypto_software_suite: "13.3R1.4" + packet_forwarding_engine_support_m_t_ex_common: "13.3R1.4" + packet_forwarding_engine_support_mx_common: "13.3R1.4" + online_documentation: "113.3R1.4" + services_aacl_container_package: "13.3R1.4" + services_application_level_gateways: "13.3R1.4" + appid_services: "13.3R1.4" + border_gateway_function_package: "13.3R1.4" + services_captive_portal_content_delivery_package: "13.3R1.4" + services_http_content_management_package: "13.3R1.4" + idp_services: "13.3R1.4" + services_jflow_container_package: "13.3R1.4" + services_ll_pdf_container_package: "13.3R1.4" + services_mobilenext_software_package: "13.3R1.4" + services_mobile_subscriber_service_package: "13.3R1.4" + services_nat: "13.3R1.4" + services_ptsp_container_package: "13.3R1.4" + services_rpm: "13.3R1.4" + services_stateful_firewall: "13.3R1.4" + voice_services_container_package: "13.3R1.4" + services_crypto: "13.3R1.4" + services_ssl: "13.3R1.4" + services_ipsec: "13.3R1.4" + platform_software_suite: "13.3R1.4" + runtime_software_suite: "13.3R1.4" + routing_software_suite: "13.3R1.4" + py_base_i386: "13.3R1.4" + lab_package: "7.0" + serial_number: "qfsn-0123456789" + qfabric_system_id: "f158527a-f99e-11e0-9fbd-00e081c57cda" + other_device_properties: [] + other_properties_versions: [] diff --git a/tests/juniper_junos/show_version/juniper_junos_show_version.raw b/tests/juniper_junos/show_version/juniper_junos_show_version.raw new file mode 100644 index 0000000000..6d0e773351 --- /dev/null +++ b/tests/juniper_junos/show_version/juniper_junos_show_version.raw @@ -0,0 +1,36 @@ +Hostname: lab +Model: mx240 +Junos: 13.3R1.4 +JUNOS Base OS boot [13.3R1.4] +JUNOS Base OS Software Suite [13.3R1.4] +JUNOS Kernel Software Suite [13.3R1.4] +JUNOS Crypto Software Suite [13.3R1.4] +JUNOS Packet Forwarding Engine Support (M/T/EX Common) [13.3R1.4] +JUNOS Packet Forwarding Engine Support (MX Common) [13.3R1.4] +JUNOS Online Documentation [113.3R1.4] +JUNOS Services AACL Container package [13.3R1.4] +JUNOS Services Application Level Gateways [13.3R1.4] +JUNOS AppId Services [13.3R1.4] +JUNOS Border Gateway Function package [13.3R1.4] +JUNOS Services Captive Portal and Content Delivery Container package [13.3R1.4] +JUNOS Services HTTP Content Management package [13.3R1.4] +JUNOS IDP Services [13.3R1.4] +JUNOS Services Jflow Container package [13.3R1.4] +JUNOS Services LL-PDF Container package [13.3R1.4] +JUNOS Services MobileNext Software package [13.3R1.4] +JUNOS Services Mobile Subscriber Service Container package [13.3R1.4] +JUNOS Services NAT [13.3R1.4] +JUNOS Services PTSP Container package [13.3R1.4] +JUNOS Services RPM [13.3R1.4] +JUNOS Services Stateful Firewall [13.3R1.4] +JUNOS Voice Services Container package [13.3R1.4] +JUNOS Services Crypto [13.3R1.4] +JUNOS Services SSL [13.3R1.4] +JUNOS Services IPSec [13.3R1.4] +JUNOS platform Software Suite [13.3R1.4] +JUNOS Runtime Software Suite [13.3R1.4] +JUNOS Routing Software Suite [13.3R1.4] +JUNOS py-base-i386 [13.3R1.4] +labpkg [7.0] +Serial Number: qfsn-0123456789 +QFabric System ID: f158527a-f99e-11e0-9fbd-00e081c57cda \ No newline at end of file From 1bab329722db45d60addfe405d012ae59b7a6ab7 Mon Sep 17 00:00:00 2001 From: Jaydubya35 Date: Mon, 31 Dec 2018 13:15:04 -0600 Subject: [PATCH 198/628] `cisco_asa_show running-config object network`: Add new template (#306) --- ...how_running-config_object_network.template | 21 +++ templates/index | 1 + ..._show_running-config_object_network.parsed | 120 ++++++++++++++++++ ...asa_show_running-config_object_network.raw | 27 ++++ 4 files changed, 169 insertions(+) create mode 100644 templates/cisco_asa_show_running-config_object_network.template create mode 100644 tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.parsed create mode 100644 tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.raw diff --git a/templates/cisco_asa_show_running-config_object_network.template b/templates/cisco_asa_show_running-config_object_network.template new file mode 100644 index 0000000000..be62466175 --- /dev/null +++ b/templates/cisco_asa_show_running-config_object_network.template @@ -0,0 +1,21 @@ +Value Required NAME (\S+) +Value DESC (.+) +Value TYPE ([hostubnerag]+) +Value HOST (\S+) +Value NETWORK (\S+) +Value MASK (\S+) +Value CIDR (\/\d+) +Value START_IP (\S+) +Value END_IP (\S+) + + +Start + ^object\s+network -> Continue.Record + ^object\s+network\s+${NAME}\s* + ^\s+description\s+${DESC}\s* + ^\s+${TYPE} -> Continue + ^\s+subnet\s+${NETWORK}\s+${MASK}\s* + ^\s+subnet\s+${NETWORK}${CIDR}\s* + ^\s+range\s+${START_IP}\s+${END_IP}\s* + ^\s+host\s+${HOST}\s* + ^. -> Error diff --git a/templates/index b/templates/index index fd34b9f503..0280a05e90 100644 --- a/templates/index +++ b/templates/index @@ -95,6 +95,7 @@ checkpoint_gaia_show_route.template, .*, checkpoint_gaia, show route checkpoint_gaia_show_lom.template, .*, checkpoint_gaia, show lom checkpoint_gaia_fw_stat.template, .*, checkpoint_gaia, fw stat +cisco_asa_show_running-config_object_network.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] o[[bject]] n[[etwork]] cisco_asa_show_asp_table_vpn-context_detail.template, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]] cisco_asa_show_running-config_crypto_ikev1.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] ikev1 cisco_asa_show_running-config_tunnel-group.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] tu[[nnel-group]] diff --git a/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.parsed b/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.parsed new file mode 100644 index 0000000000..dfc4ff4e73 --- /dev/null +++ b/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.parsed @@ -0,0 +1,120 @@ +--- +parsed_sample: + +- name: "corp" + desc: "" + type: "subnet" + host: "" + network: "10.0.0.0" + mask: "255.0.0.0" + cidr: "" + start_ip: "" + end_ip: "" +- name: "internal" + desc: "" + type: "subnet" + host: "" + network: "192.168.0.0" + mask: "255.255.255.0" + cidr: "" + start_ip: "" + end_ip: "" +- name: "any" + desc: "" + type: "subnet" + host: "" + network: "0.0.0.0" + mask: "0.0.0.0" + cidr: "" + start_ip: "" + end_ip: "" +- name: "host-10.10.11.1" + desc: "" + type: "host" + host: "10.10.11.1" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" +- name: "block" + desc: "" + type: "host" + host: "10.75.51.11" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" +- name: "dmz" + desc: "dmz GW ip" + type: "host" + host: "11.1.2.2" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" +- name: "server-vip" + desc: "" + type: "host" + host: "10.1.11.8" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" +- name: "visitors" + desc: "" + type: "range" + host: "" + network: "" + mask: "" + cidr: "" + start_ip: "10.10.10.4" + end_ip: "10.10.10.60" +- name: "contractor" + desc: "" + type: "range" + host: "" + network: "" + mask: "" + cidr: "" + start_ip: "10.75.51.15" + end_ip: "10.75.51.100" +- name: "cloudflare-ipv6-dns-primary" + desc: "" + type: "host" + host: "2606:4700:4700::1111" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" +- name: "google-ipv6-dns-primary" + desc: "" + type: "host" + host: "2001:4860:4860::8888" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" +- name: "internal-ipv6-range" + desc: "" + type: "range" + host: "" + network: "" + mask: "" + cidr: "" + start_ip: "fd00::" + end_ip: "fd00::ffff" +- name: "internal-ipv6-subnet" + desc: "" + type: "subnet" + host: "" + network: "fd00::" + mask: "" + cidr: "/8" + start_ip: "" + end_ip: "" diff --git a/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.raw b/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.raw new file mode 100644 index 0000000000..3685195f39 --- /dev/null +++ b/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.raw @@ -0,0 +1,27 @@ +object network corp + subnet 10.0.0.0 255.0.0.0 +object network internal + subnet 192.168.0.0 255.255.255.0 +object network any + subnet 0.0.0.0 0.0.0.0 +object network host-10.10.11.1 + host 10.10.11.1 +object network block + host 10.75.51.11 +object network dmz + description dmz GW ip + host 11.1.2.2 +object network server-vip + host 10.1.11.8 +object network visitors + range 10.10.10.4 10.10.10.60 +object network contractor + range 10.75.51.15 10.75.51.100 +object network cloudflare-ipv6-dns-primary + host 2606:4700:4700::1111 +object network google-ipv6-dns-primary + host 2001:4860:4860::8888 +object network internal-ipv6-range + range fd00:: fd00::ffff +object network internal-ipv6-subnet + subnet fd00::/8 From 0540983c544842231ed7d5d2e4af84064eab5ab1 Mon Sep 17 00:00:00 2001 From: Viktor Kertesz Date: Mon, 31 Dec 2018 20:31:24 +0100 Subject: [PATCH 199/628] `cisco_ios_show_dot1x_all`: Add new template (#308) --- templates/cisco_ios_show_dot1x_all.template | 45 +++++++++++++++++++ templates/index | 1 + .../cisco_ios_show_dot1x_all.parsed | 40 +++++++++++++++++ .../cisco_ios_show_dot1x_all.raw | 37 +++++++++++++++ 4 files changed, 123 insertions(+) create mode 100644 templates/cisco_ios_show_dot1x_all.template create mode 100644 tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.parsed create mode 100644 tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.raw diff --git a/templates/cisco_ios_show_dot1x_all.template b/templates/cisco_ios_show_dot1x_all.template new file mode 100644 index 0000000000..376dd0e9dc --- /dev/null +++ b/templates/cisco_ios_show_dot1x_all.template @@ -0,0 +1,45 @@ +Value Filldown SYSAUTHCONTROL (\w+) +Value Filldown DOT1XVERSION (\d) +Value Filldown CRITICAL_RECOVERY_DELAY (\d+) +Value Filldown CRITICAL_EAPOL (\w+) +Value Required INTERFACE (\S+) +Value PAE (\w+) +Value PORTCONTROL (\w+) +Value CONTROLDIRECTION (\w+) +Value HOSTMODE (\w+) +Value REAUTHENTICATION (\w+) +Value QUIETPERIOD (\d+) +Value SERVERTIMEOUT (\d+) +Value SUPPTIMEOUT (\d+) +Value REAUTHPERIOD (\d+) +Value REAUTHMAX (\d+) +Value MASREQ (\d+) +Value TXPERIOD (\d+) +Value RATELIMITPERIOD (\d+) + +Start + ^Sysauthcontrol\s+${SYSAUTHCONTROL} + ^Dot1x Protocol Version\s+${DOT1XVERSION} + ^Critical Recovery Delay\s+${CRITICAL_RECOVERY_DELAY} + ^Critical EAPOL\s+${CRITICAL_EAPOL} + ^$$ -> Interfaces + +Interfaces + ^Dot1x Info for\s -> Continue.Record + ^Dot1x Info for\s${INTERFACE} + ^PAE\s+=\s${PAE} + ^PortControl\s+=\s${PORTCONTROL} + ^ControlDirection\s+=\s${CONTROLDIRECTION} + ^HostMode\s+=\s${HOSTMODE} + ^ReAuthentication\s+=\s${REAUTHENTICATION} + ^QuietPeriod\s+=\s${QUIETPERIOD} + ^ServerTimeout\s+=\s${SERVERTIMEOUT} + ^SuppTimeout\s+=\s${SUPPTIMEOUT} + ^ReAuthPeriod\s+=\s${REAUTHPERIOD} + ^ReAuthMax\s+=\s${REAUTHMAX} + ^MaxReq\s+=\s${MASREQ} + ^TxPeriod\s+=\s${TXPERIOD} + ^RateLimitPeriod\s+=\s+${RATELIMITPERIOD} + ^-+\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 0280a05e90..3e0cb3d19b 100644 --- a/templates/index +++ b/templates/index @@ -154,6 +154,7 @@ cisco_ios_show_isdn_status.template, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_interfaces.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_redundancy.template, .*, cisco_ios, sh[[ow]] redu[[ndancy]] cisco_ios_show_vtp_status.template, .*, cisco_ios, sh[[ow]] vtp stat[[us]] +cisco_ios_show_dot1x_all.template, .*, cisco_ios, sh[[ow]] dot1x a[[ll]] cisco_ios_show_inventory.template, .*, cisco_ios, sh[[ow]] inven[[tory]] cisco_ios_show_ip_mroute.template, .*, cisco_ios, sh[[ow]] ip mr[[oute]] cisco_ios_show_route-map.template, .*, cisco_ios, sh[[ow]] route-m[[ap]] diff --git a/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.parsed b/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.parsed new file mode 100644 index 0000000000..0bd2bfbb53 --- /dev/null +++ b/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.parsed @@ -0,0 +1,40 @@ +--- +parsed_sample: + +- interface : "Ethernet1/0" + reauthentication : "Disabled" + sysauthcontrol : "Disabled" + servertimeout : "30" + supptimeout : "30" + dot1xversion : "2" + hostmode : "SINGLE_HOST" + critical_recovery_delay : "100" + reauthmax : "2" + quietperiod : "60" + reauthperiod : "3600" + portcontrol : "AUTO" + txperiod : "30" + masreq : "2" + ratelimitperiod : "0" + critical_eapol : "Disabled" + controldirection : "Both" + pae : "AUTHENTICATOR" +- interface : "Ethernet1/2" + reauthentication : "Disabled" + sysauthcontrol : "Disabled" + servertimeout : "30" + supptimeout : "30" + dot1xversion : "2" + hostmode : "SINGLE_HOST" + critical_recovery_delay : "100" + reauthmax : "2" + quietperiod : "60" + reauthperiod : "3600" + portcontrol : "AUTO" + txperiod : "30" + masreq : "2" + ratelimitperiod : "0" + critical_eapol : "Disabled" + controldirection : "Both" + pae : "AUTHENTICATOR" + diff --git a/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.raw b/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.raw new file mode 100644 index 0000000000..06c5dbd100 --- /dev/null +++ b/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.raw @@ -0,0 +1,37 @@ +Sysauthcontrol Disabled +Dot1x Protocol Version 2 +Critical Recovery Delay 100 +Critical EAPOL Disabled + +Dot1x Info for Ethernet1/0 +----------------------------------- +PAE = AUTHENTICATOR +PortControl = AUTO +ControlDirection = Both +HostMode = SINGLE_HOST +ReAuthentication = Disabled +QuietPeriod = 60 +ServerTimeout = 30 +SuppTimeout = 30 +ReAuthPeriod = 3600 (Locally configured) +ReAuthMax = 2 +MaxReq = 2 +TxPeriod = 30 +RateLimitPeriod = 0 + +Dot1x Info for Ethernet1/2 +----------------------------------- + +PAE = AUTHENTICATOR +PortControl = AUTO +ControlDirection = Both +HostMode = SINGLE_HOST +ReAuthentication = Disabled +QuietPeriod = 60 +ServerTimeout = 30 +SuppTimeout = 30 +ReAuthPeriod = 3600 (Locally configured) +ReAuthMax = 2 +MaxReq = 2 +TxPeriod = 30 +RateLimitPeriod = 0 From 9891ae104e5ad86ad5a24ab9516e0972f7eaa4a1 Mon Sep 17 00:00:00 2001 From: Jaydubya35 Date: Tue, 1 Jan 2019 17:43:35 -0600 Subject: [PATCH 200/628] `cisco_asa_show_nat`: Add new template (#312) --- templates/cisco_asa_show_nat.template | 34 + templates/index | 1 + .../show_nat/cisco_asa_show_nat.parsed | 1347 +++++++++++++++++ .../cisco_asa/show_nat/cisco_asa_show_nat.raw | 117 ++ 4 files changed, 1499 insertions(+) create mode 100644 templates/cisco_asa_show_nat.template create mode 100644 tests/cisco_asa/show_nat/cisco_asa_show_nat.parsed create mode 100644 tests/cisco_asa/show_nat/cisco_asa_show_nat.raw diff --git a/templates/cisco_asa_show_nat.template b/templates/cisco_asa_show_nat.template new file mode 100644 index 0000000000..20d580abbf --- /dev/null +++ b/templates/cisco_asa_show_nat.template @@ -0,0 +1,34 @@ +Value Filldown NAT_SECTION_NUMBER (\d) +Value Required LINE_NUMBER (\d+) +Value SOURCE_INTERFACE (\S+) +Value DESTINATION_INTERFACE (\S+) +Value SOURCE_TYPE (static|dynamic) +Value SOURCE_REAL (any|\S+) +Value SOURCE_MAPPED (any|interface\s+ipv6|interface|pat-pool\s+interface|pat-pool\s+\S+|\S+) +Value DESTINATION_REAL (interface|interface\s+ipv6|\S+) +Value DESTINATION_MAPPED (any|\S+) +Value SERVICE_REAL (any|\S+) +Value SERVICE_MAPPED (\S+) +Value EXTENDED (extended) +Value FLAT (flat) +Value INCLUDE_RESERVE (include-reserve) +Value ROUND_ROBIN (round-robin) +Value NET_TO_NET (net-to-net) +Value DNS (dns) +Value UNIDIRECTIONAL (unidirectional) +Value NO_PROXY_ARP (no-proxy-arp) +Value ROUTE_LOOKUP (route-lookup) +Value INACTIVE (inactive) +Value DESCRIPTION (.*) +Value TRANSLATE_HITS (\d+) +Value UNTRANSLATE_HITS (\d+) + +Start + # Section 1 = Manual NAT + # Section 2 = Auto NAT + # Section 3 = After-auto Manual NAT + ^(Manual|Auto) NAT Policies \(Section ${NAT_SECTION_NUMBER}\)\s* + ^${LINE_NUMBER}\s+\(${SOURCE_INTERFACE}\)\s+to\s+\(${DESTINATION_INTERFACE}\)\s+source\s+${SOURCE_TYPE}\s+${SOURCE_REAL}\s+${SOURCE_MAPPED}\s*(destination\s+static\s+${DESTINATION_REAL}\s+${DESTINATION_MAPPED})?\s*(service\s+${SERVICE_REAL}\s+${SERVICE_MAPPED})?\s*${EXTENDED}?\s*${FLAT}?\s*${INCLUDE_RESERVE}?\s*${ROUND_ROBIN}?\s*${NET_TO_NET}?\s*${DNS}?\s*${UNIDIRECTIONAL}?\s*${NO_PROXY_ARP}?\s*${ROUTE_LOOKUP}?\s*${INACTIVE}?\s*(description\s+${DESCRIPTION})? + ^\s+translate_hits\s+=\s+${TRANSLATE_HITS},\s+untranslate_hits\s+=\s+${UNTRANSLATE_HITS} -> Record + ^\s* + ^. -> Error diff --git a/templates/index b/templates/index index 3e0cb3d19b..7a4e62c578 100644 --- a/templates/index +++ b/templates/index @@ -113,6 +113,7 @@ cisco_asa_show_version.template, .*, cisco_asa, sh[[ow]] ver[[sion]] cisco_asa_show_route.template, .*, cisco_asa, sh[[ow]] ro[[ute]] cisco_asa_show_xlate.template, .*, cisco_asa, sh[[ow]] x[[late]] cisco_asa_show_name.template, .*, cisco_asa, sh[[ow]] nam[[e]] +cisco_asa_show_nat.template, .*, cisco_asa, sh[[ow]] nat cisco_asa_dir.template, .*, cisco_asa, dir cisco_ios_show_running-config_partition_access-list.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] diff --git a/tests/cisco_asa/show_nat/cisco_asa_show_nat.parsed b/tests/cisco_asa/show_nat/cisco_asa_show_nat.parsed new file mode 100644 index 0000000000..34d7179b30 --- /dev/null +++ b/tests/cisco_asa/show_nat/cisco_asa_show_nat.parsed @@ -0,0 +1,1347 @@ +--- +parsed_sample: + +- nat_section_number: "1" + line_number: "1" + source_interface: "any" + destination_interface: "any" + source_type: "static" + source_real: "any" + source_mapped: "any" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "source dynamic static destination static net-to-net service any pat-pool interface dns unidirectional no-proxy-arp route-lookup ipv6 inactive description <-- THESE ARE ALL PART OF THE DESCRIPTION" + translate_hits: "505" + untranslate_hits: "750" +- nat_section_number: "1" + line_number: "2" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "inactive" + description: "test" + translate_hits: "900" + untranslate_hits: "883" +- nat_section_number: "1" + line_number: "3" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "test-service-1" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "826" + untranslate_hits: "961" +- nat_section_number: "1" + line_number: "4" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "any" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "722" + untranslate_hits: "201" +- nat_section_number: "1" + line_number: "5" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "pat-pool interface" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "563" + untranslate_hits: "48" +- nat_section_number: "1" + line_number: "6" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "pat-pool test11" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "997" + untranslate_hits: "159" +- nat_section_number: "1" + line_number: "7" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "any" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "488" + untranslate_hits: "313" +- nat_section_number: "1" + line_number: "8" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "606" + untranslate_hits: "395" +- nat_section_number: "1" + line_number: "9" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "extended flat include-reserve round-robin dns 169.254.1.1 2006::2/128 <-- THESE ARE ALL PART OF THE DESCRIPTION" + translate_hits: "303" + untranslate_hits: "275" +- nat_section_number: "1" + line_number: "10" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "unidirectional" + no_proxy_arp: "no-proxy-arp" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "359" + untranslate_hits: "447" +- nat_section_number: "1" + line_number: "11" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "inactive" + description: "test" + translate_hits: "393" + untranslate_hits: "527" +- nat_section_number: "1" + line_number: "12" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "test-service-1" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "327" + untranslate_hits: "527" +- nat_section_number: "1" + line_number: "13" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "any" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "683" + untranslate_hits: "110" +- nat_section_number: "1" + line_number: "14" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test2" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test3" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "no-proxy-arp" + route_lookup: "route-lookup" + inactive: "" + description: "" + translate_hits: "373" + untranslate_hits: "811" +- nat_section_number: "1" + line_number: "15" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test1" + destination_real: "test3" + destination_mapped: "test3" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "route-lookup" + inactive: "" + description: "" + translate_hits: "666" + untranslate_hits: "609" +- nat_section_number: "1" + line_number: "16" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "any" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "263" + untranslate_hits: "131" +- nat_section_number: "1" + line_number: "17" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "dns" + unidirectional: "unidirectional" + no_proxy_arp: "no-proxy-arp" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "408" + untranslate_hits: "436" +- nat_section_number: "1" + line_number: "18" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "892" + untranslate_hits: "922" +- nat_section_number: "1" + line_number: "19" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "interface" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "142" + untranslate_hits: "129" +- nat_section_number: "1" + line_number: "20" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "interface" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "620" + untranslate_hits: "50" +- nat_section_number: "1" + line_number: "21" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test6" + source_mapped: "test7" + destination_real: "interface" + destination_mapped: "ipv6" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "152" + untranslate_hits: "359" +- nat_section_number: "1" + line_number: "22" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test6" + source_mapped: "interface ipv6" + destination_real: "test8" + destination_mapped: "test9" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "214" + untranslate_hits: "411" +- nat_section_number: "1" + line_number: "23" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "any" + source_mapped: "interface ipv6" + destination_real: "test8" + destination_mapped: "test9" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "341" + untranslate_hits: "651" +- nat_section_number: "1" + line_number: "24" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "interface" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "992" + untranslate_hits: "255" +- nat_section_number: "2" + line_number: "1" + source_interface: "any" + destination_interface: "any" + source_type: "static" + source_real: "test11" + source_mapped: "169.254.11.11" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "no-proxy-arp" + route_lookup: "route-lookup" + inactive: "" + description: "" + translate_hits: "694" + untranslate_hits: "246" +- nat_section_number: "2" + line_number: "2" + source_interface: "inside" + destination_interface: "outside" + source_type: "static" + source_real: "test6" + source_mapped: "interface ipv6" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "no-proxy-arp" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "655" + untranslate_hits: "840" +- nat_section_number: "2" + line_number: "3" + source_interface: "inside" + destination_interface: "outside" + source_type: "static" + source_real: "test7" + source_mapped: "test8" + destination_real: "" + destination_mapped: "" + service_real: "tcp" + service_mapped: "ssh" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "680" + untranslate_hits: "7" +- nat_section_number: "2" + line_number: "4" + source_interface: "inside" + destination_interface: "outside" + source_type: "static" + source_real: "test9" + source_mapped: "2006::2/128" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "976" + untranslate_hits: "175" +- nat_section_number: "2" + line_number: "5" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "169.254.1.1" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "dns" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "683" + untranslate_hits: "761" +- nat_section_number: "2" + line_number: "6" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test2" + source_mapped: "test3" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "117" + untranslate_hits: "939" +- nat_section_number: "2" + line_number: "7" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test3" + source_mapped: "pat-pool test11" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "extended" + flat: "flat" + include_reserve: "include-reserve" + round_robin: "round-robin" + net_to_net: "" + dns: "dns" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "936" + untranslate_hits: "246" +- nat_section_number: "2" + line_number: "8" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test4" + source_mapped: "pat-pool test11" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "383" + untranslate_hits: "467" +- nat_section_number: "2" + line_number: "9" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test5" + source_mapped: "interface" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "dns" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "795" + untranslate_hits: "263" +- nat_section_number: "3" + line_number: "1" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "inactive" + description: "source dynamic static destination static net-to-net service any pat-pool interface dns unidirectional no-proxy-arp route-lookup ipv6 inactive description <-- THESE ARE ALL PART OF THE DESCRIPTION" + translate_hits: "687" + untranslate_hits: "666" +- nat_section_number: "3" + line_number: "2" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "test-service-1" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "911" + untranslate_hits: "47" +- nat_section_number: "3" + line_number: "3" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "any" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "651" + untranslate_hits: "130" +- nat_section_number: "3" + line_number: "4" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "pat-pool interface" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "350" + untranslate_hits: "231" +- nat_section_number: "3" + line_number: "5" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "pat-pool test21" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "553" + untranslate_hits: "961" +- nat_section_number: "3" + line_number: "6" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "any" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "957" + untranslate_hits: "766" +- nat_section_number: "3" + line_number: "7" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "997" + untranslate_hits: "468" +- nat_section_number: "3" + line_number: "8" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "extended flat include-reserve round-robin dns 169.254.1.1 2006::2/128 <-- THESE ARE ALL PART OF THE DESCRIPTION" + translate_hits: "622" + untranslate_hits: "632" +- nat_section_number: "3" + line_number: "9" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "unidirectional" + no_proxy_arp: "no-proxy-arp" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "425" + untranslate_hits: "474" +- nat_section_number: "3" + line_number: "10" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "inactive" + description: "test1" + translate_hits: "99" + untranslate_hits: "610" +- nat_section_number: "3" + line_number: "11" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "test-service-1" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "948" + untranslate_hits: "144" +- nat_section_number: "3" + line_number: "12" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "any" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "386" + untranslate_hits: "211" +- nat_section_number: "3" + line_number: "13" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test12" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test13" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "no-proxy-arp" + route_lookup: "route-lookup" + inactive: "" + description: "" + translate_hits: "443" + untranslate_hits: "600" +- nat_section_number: "3" + line_number: "14" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test11" + destination_real: "test13" + destination_mapped: "test13" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "route-lookup" + inactive: "" + description: "" + translate_hits: "957" + untranslate_hits: "705" +- nat_section_number: "3" + line_number: "15" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "any" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "171" + untranslate_hits: "11" +- nat_section_number: "3" + line_number: "16" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "dns" + unidirectional: "unidirectional" + no_proxy_arp: "no-proxy-arp" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "843" + untranslate_hits: "956" +- nat_section_number: "3" + line_number: "17" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "302" + untranslate_hits: "950" +- nat_section_number: "3" + line_number: "18" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "interface" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "662" + untranslate_hits: "278" +- nat_section_number: "3" + line_number: "19" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "interface" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "269" + untranslate_hits: "859" +- nat_section_number: "3" + line_number: "20" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test16" + source_mapped: "test17" + destination_real: "interface" + destination_mapped: "ipv6" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "92" + untranslate_hits: "257" +- nat_section_number: "3" + line_number: "21" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test16" + source_mapped: "interface ipv6" + destination_real: "test18" + destination_mapped: "test19" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "97" + untranslate_hits: "354" +- nat_section_number: "3" + line_number: "22" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "any" + source_mapped: "interface ipv6" + destination_real: "test18" + destination_mapped: "test19" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "780" + untranslate_hits: "376" +- nat_section_number: "3" + line_number: "23" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "interface" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "291" + untranslate_hits: "3" diff --git a/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw b/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw new file mode 100644 index 0000000000..061a282102 --- /dev/null +++ b/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw @@ -0,0 +1,117 @@ +Manual NAT Policies (Section 1) +1 (any) to (any) source static any any description source dynamic static destination static net-to-net service any pat-pool interface dns unidirectional no-proxy-arp route-lookup ipv6 inactive description <-- THESE ARE ALL PART OF THE DESCRIPTION + translate_hits = 505, untranslate_hits = 750 +2 (any) to (outside) source dynamic test1 test2 destination static test3 test4 net-to-net inactive description test + translate_hits = 900, untranslate_hits = 883 +3 (any) to (outside) source dynamic test1 test2 destination static test3 test4 service test-service-1 test-service-2 + translate_hits = 826, untranslate_hits = 961 +4 (any) to (outside) source dynamic test1 test2 destination static test3 test4 service any test-service-2 + translate_hits = 722, untranslate_hits = 201 +5 (any) to (outside) source dynamic test1 pat-pool interface destination static test3 test4 + translate_hits = 563, untranslate_hits = 48 +6 (any) to (outside) source dynamic test1 pat-pool test11 destination static test3 test4 + translate_hits = 997, untranslate_hits = 159 +7 (any) to (outside) source dynamic any test2 destination static test3 test4 net-to-net + translate_hits = 488, untranslate_hits = 313 +8 (any) to (outside) source dynamic test1 test2 destination static test3 any + translate_hits = 606, untranslate_hits = 395 +9 (any) to (outside) source static test1 test2 destination static test3 test4 description extended flat include-reserve round-robin dns 169.254.1.1 2006::2/128 <-- THESE ARE ALL PART OF THE DESCRIPTION + translate_hits = 303, untranslate_hits = 275 +10 (any) to (outside) source static test1 test2 destination static test3 test4 unidirectional no-proxy-arp + translate_hits = 359, untranslate_hits = 447 +11 (any) to (outside) source static test1 test2 destination static test3 test4 net-to-net inactive description test + translate_hits = 393, untranslate_hits = 527 +12 (any) to (outside) source static test1 test2 destination static test3 test4 service test-service-1 test-service-2 + translate_hits = 327, untranslate_hits = 527 +13 (any) to (outside) source static test1 test2 destination static test3 test4 service any test-service-2 + translate_hits = 683, untranslate_hits = 110 +14 (any) to (outside) source static test2 test2 destination static test3 test3 no-proxy-arp route-lookup + translate_hits = 373, untranslate_hits = 811 +15 (any) to (outside) source static test1 test1 destination static test3 test3 route-lookup + translate_hits = 666, untranslate_hits = 609 +16 (any) to (outside) source static any test2 destination static test3 test4 net-to-net + translate_hits = 263, untranslate_hits = 131 +17 (any) to (outside) source static test1 test2 dns unidirectional no-proxy-arp + translate_hits = 408, untranslate_hits = 436 +18 (any) to (outside) source static test1 test2 destination static test3 any + translate_hits = 892, untranslate_hits = 922 +19 (inside) to (outside) source dynamic test1 test2 destination static interface test4 + translate_hits = 142, untranslate_hits = 129 +20 (inside) to (outside) source dynamic test1 test2 destination static interface any + translate_hits = 620, untranslate_hits = 50 +21 (inside) to (outside) source dynamic test6 test7 destination static interface ipv6 test9 + translate_hits = 152, untranslate_hits = 359 +22 (inside) to (outside) source dynamic test6 interface ipv6 destination static test8 test9 + translate_hits = 214, untranslate_hits = 411 +23 (inside) to (outside) source dynamic any interface ipv6 destination static test8 test9 + translate_hits = 341, untranslate_hits = 651 +24 (inside) to (outside) source dynamic test1 interface destination static test3 test4 + translate_hits = 992, untranslate_hits = 255 + +Auto NAT Policies (Section 2) +1 (any) to (any) source static test11 169.254.11.11 no-proxy-arp route-lookup + translate_hits = 694, untranslate_hits = 246 +2 (inside) to (outside) source static test6 interface ipv6 net-to-net no-proxy-arp + translate_hits = 655, untranslate_hits = 840 +3 (inside) to (outside) source static test7 test8 service tcp ssh 2222 + translate_hits = 680, untranslate_hits = 7 +4 (inside) to (outside) source static test9 2006::2/128 + translate_hits = 976, untranslate_hits = 175 +5 (any) to (outside) source dynamic test1 169.254.1.1 dns + translate_hits = 683, untranslate_hits = 761 +6 (any) to (outside) source dynamic test2 test3 + translate_hits = 117, untranslate_hits = 939 +7 (any) to (outside) source dynamic test3 pat-pool test11 extended flat include-reserve round-robin dns + translate_hits = 936, untranslate_hits = 246 +8 (any) to (outside) source dynamic test4 pat-pool test11 interface flat round-robin dns + translate_hits = 383, untranslate_hits = 467 +9 (any) to (outside) source dynamic test5 interface dns + translate_hits = 795, untranslate_hits = 263 + +Manual NAT Policies (Section 3) +1 (any) to (outside) source dynamic test11 test12 destination static test13 test14 net-to-net inactive description source dynamic static destination static net-to-net service any pat-pool interface dns unidirectional no-proxy-arp route-lookup ipv6 inactive description <-- THESE ARE ALL PART OF THE DESCRIPTION + translate_hits = 687, untranslate_hits = 666 +2 (any) to (outside) source dynamic test11 test12 destination static test13 test14 service test-service-1 test-service-2 + translate_hits = 911, untranslate_hits = 47 +3 (any) to (outside) source dynamic test11 test12 destination static test13 test14 service any test-service-2 + translate_hits = 651, untranslate_hits = 130 +4 (any) to (outside) source dynamic test11 pat-pool interface destination static test13 test14 + translate_hits = 350, untranslate_hits = 231 +5 (any) to (outside) source dynamic test11 pat-pool test21 destination static test13 test14 + translate_hits = 553, untranslate_hits = 961 +6 (any) to (outside) source dynamic any test12 destination static test13 test14 net-to-net + translate_hits = 957, untranslate_hits = 766 +7 (any) to (outside) source dynamic test11 test12 destination static test13 any + translate_hits = 997, untranslate_hits = 468 +8 (any) to (outside) source static test11 test12 destination static test13 test14 description extended flat include-reserve round-robin dns 169.254.1.1 2006::2/128 <-- THESE ARE ALL PART OF THE DESCRIPTION + translate_hits = 622, untranslate_hits = 632 +9 (any) to (outside) source static test11 test12 destination static test13 test14 unidirectional no-proxy-arp + translate_hits = 425, untranslate_hits = 474 +10 (any) to (outside) source static test11 test12 destination static test13 test14 net-to-net inactive description test1 + translate_hits = 99, untranslate_hits = 610 +11 (any) to (outside) source static test11 test12 destination static test13 test14 service test-service-1 test-service-2 + translate_hits = 948, untranslate_hits = 144 +12 (any) to (outside) source static test11 test12 destination static test13 test14 service any test-service-2 + translate_hits = 386, untranslate_hits = 211 +13 (any) to (outside) source static test12 test12 destination static test13 test13 no-proxy-arp route-lookup + translate_hits = 443, untranslate_hits = 600 +14 (any) to (outside) source static test11 test11 destination static test13 test13 route-lookup + translate_hits = 957, untranslate_hits = 705 +15 (any) to (outside) source static any test12 destination static test13 test14 net-to-net + translate_hits = 171, untranslate_hits = 11 +16 (any) to (outside) source static test11 test12 dns unidirectional no-proxy-arp + translate_hits = 843, untranslate_hits = 956 +17 (any) to (outside) source static test11 test12 destination static test13 any + translate_hits = 302, untranslate_hits = 950 +18 (inside) to (outside) source dynamic test11 test12 destination static interface test14 + translate_hits = 662, untranslate_hits = 278 +19 (inside) to (outside) source dynamic test11 test12 destination static interface any + translate_hits = 269, untranslate_hits = 859 +20 (inside) to (outside) source dynamic test16 test17 destination static interface ipv6 test19 + translate_hits = 92, untranslate_hits = 257 +21 (inside) to (outside) source dynamic test16 interface ipv6 destination static test18 test19 + translate_hits = 97, untranslate_hits = 354 +22 (inside) to (outside) source dynamic any interface ipv6 destination static test18 test19 + translate_hits = 780, untranslate_hits = 376 +23 (inside) to (outside) source dynamic test11 interface destination static test13 test14 + translate_hits = 291, untranslate_hits = 3 From abb4a8fa066b9b453300bccedf9b3362ba83e6b6 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Tue, 1 Jan 2019 22:16:41 -0500 Subject: [PATCH 201/628] New Template Updates: CHANGES: * Separate IP address and netmask into separate capture groups (`IPADDR` and `MASK`) * Add catchall error line to ensure we are aware of all data * Add necessary regex matches for known data * Update test parsed file to reflect updates ENHANCEMENTS: * Removed unnecessary `->` from lines that do not have a state change * Move `Record` to the line that begins interface data, removing dependancy on a line that could potentially not exist. * Add capturing VRF for tunnel interfaces, which use a different syntax than other interface types. * Add capture groups for interface status (`LINK_STATUS` and `PROTOCOL_STATUS`) --- .../cisco_ios_show_ip_interface.template | 43 ++- .../cisco_ios_show_ip_interface.parsed | 300 ++++++++++++++---- 2 files changed, 273 insertions(+), 70 deletions(-) diff --git a/templates/cisco_ios_show_ip_interface.template b/templates/cisco_ios_show_ip_interface.template index d658777d24..506017601c 100644 --- a/templates/cisco_ios_show_ip_interface.template +++ b/templates/cisco_ios_show_ip_interface.template @@ -1,11 +1,40 @@ Value INTF (\S+) -Value Required IPADDR (\S+) +Value LINK_STATUS (.+?) +Value PROTOCOL_STATUS (.+?) +Value Required IPADDR (\S+?) +Value MASK (\d*) Value VRF (\S+) Start - ^${INTF} is .* -> - ^\s+Internet address is ${IPADDR} -> - ^\s+VPN Routing/Forwarding "${VRF}" -> - ^\s+IP multicast.* -> Record - -EOF \ No newline at end of file + ^\S -> Continue.Record + ^${INTF}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}\s*$$ + ^\s+Internet\s+address\s+is\s+${IPADDR}/*${MASK}\s*$$ + ^.+VPN\s+Routing/Forwarding\s+"${VRF}" + ^\s+Internet\s+protocol + ^\s+Broadcast + ^\s+Multicast + ^\s+Address\s+determined + ^\s+MTU + ^\s+Helper + ^\s+Directed + ^\s+Outgoing + ^\s+Inbound + ^\s+.*Proxy + ^\s+Security + ^\s+Split + ^\s+ICMP + ^\s+IP\s+(?:fast|Flow|CEF|Null|multicast|route|output|access) + ^\s+Associated + ^\s+Topology + ^\s+Router + ^\s+TCP + ^\s+RTP + ^\s+Probe + ^\s+Policy + ^\s+Network\s+address\s+ + ^\s+BGP + ^\s+Input + ^\s+IPv4\s+WCCP + ^\s+Output + ^\s*$$ + ^. -> Error diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed index d6c9643f38..1e0b989ceb 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed @@ -3,233 +3,407 @@ parsed_sample: - intf: "GigabitEthernet0" - ipaddr: "172.21.2.3/24" + link_status: "up" + protocol_status: "up" + ipaddr: "172.21.2.3" + mask: "24" vrf: "Mgmt-intf" - intf: "Loopback0" - ipaddr: "88.16.255.249/32" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.255.249" + mask: "32" vrf: "" - intf: "Loopback1" - ipaddr: "88.16.255.1/32" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.255.1" + mask: "32" vrf: "" - intf: "Loopback505" - ipaddr: "192.168.100.100/32" + link_status: "up" + protocol_status: "up" + ipaddr: "192.168.100.100" + mask: "32" vrf: "DATA" - intf: "Loopback506" - ipaddr: "192.168.200.100/32" + link_status: "up" + protocol_status: "up" + ipaddr: "192.168.200.100" + mask: "32" vrf: "SIG" - intf: "Loopback1001" - ipaddr: "172.18.0.24/32" + link_status: "up" + protocol_status: "up" + ipaddr: "172.18.0.24" + mask: "32" vrf: "MYCOMPANY" - intf: "Loopback5999" - ipaddr: "172.22.255.255/32" + link_status: "up" + protocol_status: "up" + ipaddr: "172.22.255.255" + mask: "32" vrf: "VRF_WL_SIG" - intf: "Loopback12345" - ipaddr: "88.16.245.1/32" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.245.1" + mask: "32" vrf: "7650C2814C784BACBBE23BB30B47D3A1" - intf: "Port-channel1.10" - ipaddr: "172.18.16.42/29" + link_status: "up" + protocol_status: "up" + ipaddr: "172.18.16.42" + mask: "29" vrf: "MYCOMPANY" - intf: "Port-channel1.102" - ipaddr: "88.16.254.61/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.254.61" + mask: "31" vrf: "" - intf: "Port-channel1.105" - ipaddr: "172.20.0.149/30" + link_status: "up" + protocol_status: "up" + ipaddr: "172.20.0.149" + mask: "30" vrf: "MYCOMPANY" - intf: "Port-channel1.106" - ipaddr: "88.16.254.65/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.254.65" + mask: "31" vrf: "" - intf: "Port-channel1.107" - ipaddr: "172.20.2.1/30" + link_status: "up" + protocol_status: "up" + ipaddr: "172.20.2.1" + mask: "30" vrf: "MYCOMPANY" - intf: "Port-channel1.501" - ipaddr: "169.254.0.114/29" + link_status: "up" + protocol_status: "up" + ipaddr: "169.254.0.114" + mask: "29" vrf: "C617529B810A48F6AD40FEBCB163B286" - intf: "Port-channel1.504" - ipaddr: "169.254.0.1/30" + link_status: "up" + protocol_status: "up" + ipaddr: "169.254.0.1" + mask: "30" vrf: "7650C2814C784BACBBE23BB30B47D3A1" - intf: "Port-channel1.535" - ipaddr: "169.254.0.1/30" + link_status: "up" + protocol_status: "up" + ipaddr: "169.254.0.1" + mask: "30" vrf: "6281BBEF467947E4949F989BBC891138" - intf: "Port-channel1.601" - ipaddr: "169.254.0.50/29" + link_status: "up" + protocol_status: "up" + ipaddr: "169.254.0.50" + mask: "29" vrf: "C617529B810A48F6AD40FEBCB163B286" - intf: "Port-channel1.620" - ipaddr: "169.254.0.5/30" + link_status: "up" + protocol_status: "up" + ipaddr: "169.254.0.5" + mask: "30" vrf: "6281BBEF467947E4949F989BBC891138" - intf: "Port-channel1.1012" - ipaddr: "88.16.254.103/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.254.103" + mask: "31" vrf: "" - intf: "Port-channel1.1013" - ipaddr: "88.16.254.94/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.254.94" + mask: "31" vrf: "" - intf: "Port-channel1.1014" - ipaddr: "88.16.254.17/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.254.17" + mask: "31" vrf: "" - intf: "Port-channel1.1087" - ipaddr: "88.16.255.53/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.255.53" + mask: "31" vrf: "" - intf: "Port-channel1.3201" - ipaddr: "88.16.254.0/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.254.0" + mask: "31" vrf: "" - intf: "Port-channel1.3202" - ipaddr: "88.16.254.2/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.254.2" + mask: "31" vrf: "" - intf: "Port-channel1.3204" - ipaddr: "88.16.254.4/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.254.4" + mask: "31" vrf: "" - intf: "Port-channel1.3251" - ipaddr: "172.19.0.90/31" + link_status: "up" + protocol_status: "up" + ipaddr: "172.19.0.90" + mask: "31" vrf: "MYCOMPANY" - intf: "Port-channel1.3262" - ipaddr: "88.16.234.10/29" + link_status: "administratively down" + protocol_status: "down" + ipaddr: "88.16.234.10" + mask: "29" vrf: "" - intf: "Tunnel5001" - ipaddr: "169.254.64.0/31" - vrf: "" + link_status: "up" + protocol_status: "up" + ipaddr: "169.254.64.0" + mask: "31" + vrf: "MYCOMPANY" - intf: "Tunnel5002" - ipaddr: "169.254.64.4/31" - vrf: "" + link_status: "up" + protocol_status: "up" + ipaddr: "169.254.64.4" + mask: "31" + vrf: "MYCOMPANY" - intf: "Tunnel5010" - ipaddr: "169.254.64.36/31" - vrf: "" + link_status: "up" + protocol_status: "up" + ipaddr: "169.254.64.36" + mask: "31" + vrf: "MYCOMPANY" - intf: "Tunnel6001" - ipaddr: "169.254.64.2/31" - vrf: "" + link_status: "up" + protocol_status: "down" + ipaddr: "169.254.64.2" + mask: "31" + vrf: "MYCOMPANY" - intf: "Tunnel6002" - ipaddr: "169.254.64.6/31" - vrf: "" + link_status: "up" + protocol_status: "down" + ipaddr: "169.254.64.6" + mask: "31" + vrf: "MYCOMPANY" - intf: "vasileft1" - ipaddr: "88.16.254.10/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.254.10" + mask: "31" vrf: "" - intf: "vasileft21" - ipaddr: "100.66.0.2/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.2" + mask: "31" vrf: "" - intf: "vasileft22" - ipaddr: "100.66.0.64/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.64" + mask: "31" vrf: "" - intf: "vasileft23" - ipaddr: "100.66.0.102/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.102" + mask: "31" vrf: "" - intf: "vasileft24" - ipaddr: "100.66.0.82/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.82" + mask: "31" vrf: "" - intf: "vasileft25" - ipaddr: "100.66.0.74/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.74" + mask: "31" vrf: "" - intf: "vasileft26" - ipaddr: "100.66.0.130/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.130" + mask: "31" vrf: "" - intf: "vasileft27" - ipaddr: "100.66.0.158/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.158" + mask: "31" vrf: "" - intf: "vasileft28" - ipaddr: "100.66.0.162/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.162" + mask: "31" vrf: "" - intf: "vasileft29" - ipaddr: "100.66.0.174/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.174" + mask: "31" vrf: "" - intf: "vasileft30" - ipaddr: "100.66.0.194/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.194" + mask: "31" vrf: "" - intf: "vasileft31" - ipaddr: "100.66.0.214/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.214" + mask: "31" vrf: "" - intf: "vasileft32" - ipaddr: "100.66.1.2/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.1.2" + mask: "31" vrf: "" - intf: "vasiright1" - ipaddr: "88.16.254.11/31" + link_status: "up" + protocol_status: "up" + ipaddr: "88.16.254.11" + mask: "31" vrf: "MYCOMPANY" - intf: "vasiright21" - ipaddr: "100.66.0.3/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.3" + mask: "31" vrf: "C617529B810A48F6AD40FEBCB163B286" - intf: "vasiright22" - ipaddr: "100.66.0.65/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.65" + mask: "31" vrf: "28FBAE630B934EB5AFA7FCE43E52393E" - intf: "vasiright23" - ipaddr: "100.66.0.103/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.103" + mask: "31" vrf: "4CB342232A7B4D04ADEF7DE3EC2679EC" - intf: "vasiright24" - ipaddr: "100.66.0.83/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.83" + mask: "31" vrf: "F76D90EAB6474F5BBB433939BA52FB14" - intf: "vasiright25" - ipaddr: "100.66.0.75/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.75" + mask: "31" vrf: "6281BBEF467947E4949F989BBC891138" - intf: "vasiright26" - ipaddr: "100.66.0.131/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.131" + mask: "31" vrf: "7650C2814C784BACBBE23BB30B47D3A1" - intf: "vasiright27" - ipaddr: "100.66.0.159/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.159" + mask: "31" vrf: "AF1C8AE356D94BBBB377257D047D3D4D" - intf: "vasiright28" - ipaddr: "100.66.0.163/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.163" + mask: "31" vrf: "41ECD4DB33314E949FD8D96D98252919" - intf: "vasiright29" - ipaddr: "100.66.0.175/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.175" + mask: "31" vrf: "A1E5B05D1D914A109BE1EE71B7C994B7" - intf: "vasiright30" - ipaddr: "100.66.0.195/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.195" + mask: "31" vrf: "CC462DCE24DD43B28EA8EA9BAD49044E" - intf: "vasiright31" - ipaddr: "100.66.0.215/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.0.215" + mask: "31" vrf: "C5DE7D3B149B4AF7BF398F45F0AD90A6" - intf: "vasiright32" - ipaddr: "100.66.1.3/31" + link_status: "up" + protocol_status: "up" + ipaddr: "100.66.1.3" + mask: "31" vrf: "8B3C2CFAD23841D1BC9FA2A178BA5855" From d1dec0a5dc3f0e7044d965f482ce326e36e8c125 Mon Sep 17 00:00:00 2001 From: Jaydubya35 Date: Wed, 2 Jan 2019 21:42:24 -0600 Subject: [PATCH 202/628] Modified cisco_asa_show_object-group_network.template (#302) * Modified `show object-group network` to also work with `show running-config object-group network` by making the colon in the description optional * Update index file to account for both versions of the command * Update test files to include additional data --- templates/cisco_asa_show_object-group_network.template | 2 +- templates/index | 2 +- .../cisco_asa_show_object-group_network.parsed | 8 ++++++++ .../cisco_asa_show_object-group_network.raw | 3 +++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/templates/cisco_asa_show_object-group_network.template b/templates/cisco_asa_show_object-group_network.template index 67c1f7e642..55a4e7aae8 100644 --- a/templates/cisco_asa_show_object-group_network.template +++ b/templates/cisco_asa_show_object-group_network.template @@ -10,7 +10,7 @@ Value GRP_OBJECT (\S+) Start ^object-group -> Continue.Clearall ^object-group\s+network\s+${NAME}\s* - ^\s+description:\s+${DESC}\s* + ^\s+description:?\s+${DESC}\s* ^\s+network-object\s+${TYPE}\s+${HOST}\s* -> Record ^\s+network-object\s+${TYPE}\s+${NET_OBJECT}\s* -> Record ^\s+${TYPE}-object\s+${NETWORK}\s+${MASK}\s* -> Record diff --git a/templates/index b/templates/index index 7a4e62c578..ee605753f3 100644 --- a/templates/index +++ b/templates/index @@ -102,7 +102,7 @@ cisco_asa_show_running-config_tunnel-group.template, .*, cisco_asa, sh[[ow]] ru[ cisco_asa_show_running-config_crypto_map.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] m[[ap]] cisco_asa_show_vpn-sessiondb_detail_l2l.template, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] d[[etail]] l[[2l]] cisco_asa_show_crypto_ikev1_sa_detail.template, .*, cisco_asa, sh[[ow]] cry[[pto]] ikev1 sa d[[etail]] -cisco_asa_show_object-group_network.template, .*, cisco_asa, sh[[ow]] ob[[ject-group]] n[[etwork]] +cisco_asa_show_object-group_network.template, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] cisco_asa_show_running-config_ipsec.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] ips[[ec]] cisco_asa_show_crypto_ipsec_sa.template, .*, cisco_asa, sh[[ow]] cry[[pto]] ip[[sec]] sa cisco_asa_show_access-list.template, .*, cisco_asa, sh[[ow]] ac[[cess-list]] diff --git a/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.parsed b/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.parsed index 53a71b316a..4698ab1264 100644 --- a/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.parsed +++ b/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.parsed @@ -105,3 +105,11 @@ parsed_sample: network: "10.210.0.0" mask: "255.255.0.0" grp_object: "" +- name: "dr2" + desc: "dr2-network" + type: "network" + host: "" + net_object: "" + network: "10.211.0.0" + mask: "255.255.0.0" + grp_object: "" diff --git a/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.raw b/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.raw index b6e73d1122..a8ae6afe13 100644 --- a/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.raw +++ b/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.raw @@ -21,3 +21,6 @@ object-group network Prod object-group network dr description: dr-network network-object 10.210.0.0 255.255.0.0 +object-group network dr2 + description dr2-network + network-object 10.211.0.0 255.255.0.0 From 1fc489295f99d794426eb2b379e0ad5943bcd49a Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Wed, 2 Jan 2019 20:52:21 -0800 Subject: [PATCH 203/628] ASA VPN-SESSIONDB: Bug Fixes with new data (#323) BREAKING CHANGES: * Fix spelling of `received` - `BYTES_RECEIVED` - `PACKETS_RECEIVED` * Distinguish between total byte counts and individual tunnel byte counts - total bytes becomes `TOTAL_BYTES_TRANSMITTED` and `TOTAL_BYTES_RECEIVED` - tunnel bytes stays `BYTES_TRANSMITTED` and `BYTEC_RECEIVED` * Change capturing the connection type from using unique named capture groups, to using the same capture group: - `IKE_CONNECTION_TYPE becomes `CONNECTION_TYPE` - `IPSEC_CONNECTION_TYPE becomes `CONNECTION_TYPE` - Support added for NAC connections will also be recorded as `CONNECTION_TYPE` BUG FIXES: * Update opening lines to allow for, but not require, spaces (`^\s+` -> `^\s*`) * Add support for multiple Connections under the same `Session Type` header * Update IKE matches to account for IKE or IKE with version number * `PROTOCOL` - change capture to support for Protocol fields with multiple protocols * `ENCRYPTION` - Change capture to support for Encryption fields with multiple encryption types * `DURATION` - Change capture to support any datetime format: * `TOTAL_*_SESSIONS` - Add support for IKE/IPSEC tunnel counts on separate lines (TOTAL_IKE_SESSIONS, TOTAL_IPSEC_SESSIONS): * `SESSION_ID` - Add support for output that uses `Tunnel ID` format that is Index + Session ID: - Index of `1000` - Session ID of `1` - Tunnel ID would be `1000.1` - Thus the regex looks for anything after `(?:\d+\.)` for Session ID NEW CAPTURE GROUPS: * `FILTER_NAME` - Add support for capturing Filter Name * `HASHING` - Add support for capturing Hashing algorithms * `IPV6_FILTER_NAME` - Add support for capturing IPv6 Filters * `PRF` - Add support for capturing Pseudo Random Function * `IDLE_TIMEOUT_*` - Add support for captureing Idle Timeout data: - `IDLE_TIMEOUT_INTERVAL` - `IDLE_TIMEOUT_INTERVAL_UNIT` - `IDLE_TIMEOUT_REMAINING` - `IDLE_TIMEOUT_REMAINING_UNI` * `REKEY_DATA_*` - Add support for Rekey data intervals and timeouts: - Distinguish between time and data rekey values (`\(\w\)` -> `\([Tt]\)` and `\([Dd]\)` - `REKEY_DATA_INTERVAL` - `REKEY_DATA_INTERVAL_UNIT` - `REKEY_DATA_REMAINING` - `REKEY_DATA_REMAINING_UNIT` * NAC - Add support for NAC connections: - `REVAL_TIMEOUT` - `REVAL_TIMOUT_UNIT` - `REVAL_TIMEOUT_REMAINING` - `REVAL_TIMEOUT_REMAINING_UNIT` - `STATUS_QUERY_INTERVAL` - `STATUS_QUERY_INTERVAL_UNIT` - `EAP_OVER_UDP_TIMER` - `EAP_OVER_UDP_TIMER_UNIT` - `POSTURE_HOLDTIME_REMAINING` - `POSTURE_HOLDTIME_REMAINING_UNIT` - `POSTURE_TOKEN` - `REDIRECT_URL` GENERAL ENHANCEMENTS: * Add end-of-line to each expression (`\s*$$`) * Add catch-all error to ensure parser integrity (`.* -> Error`) * Change Record to take place on Session/Protocol Header TEST UPDATES: * Update existing test parsed file to account for updates * Add new test files with additional output formats --- ...asa_show_vpn-sessiondb_detail_l2l.template | 167 ++- ...o_asa_show_vpn-sessiondb_detail_l2l.parsed | 259 ++++- ...isco_asa_show_vpn-sessiondb_detail_l2l.raw | 1 - ..._asa_show_vpn-sessiondb_detail_l2l2.parsed | 1006 +++++++++++++++++ ...sco_asa_show_vpn-sessiondb_detail_l2l2.raw | 215 ++++ 5 files changed, 1572 insertions(+), 76 deletions(-) create mode 100644 tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.parsed create mode 100644 tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.raw diff --git a/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.template b/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.template index 6d0d816b84..e81dc22939 100644 --- a/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.template +++ b/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.template @@ -2,76 +2,163 @@ Value Filldown,Required SESSION_TYPE (\S+) Value Filldown CONNECTION (\d+\.\d+\.\d+\.\d+) Value Filldown INDEX (\d+) Value Filldown IP_ADDRESS (\d+\.\d+\.\d+\.\d+) -Value Filldown PROTOCOL (\w+) -Value Filldown ENCRYPTION (\w+) -Value Filldown BYTES_TRANSMITTED (\d+) -Value Filldown BYTES_RECIEVED (\d+) +Value Filldown PROTOCOL (.+?) +Value Filldown ENCRYPTION (.+?) +Value Filldown HASHING (.+?) +Value Filldown TOTAL_BYTES_TRANSMITTED (\d+) +Value Filldown TOTAL_BYTES_RECEIVED (\d+) Value Filldown LOGIN_TIME (\d+:\d+:\d+) Value Filldown LOGIN_TIME_ZONE (\w+) Value Filldown LOGIN_WEEKDAY (\w+) Value Filldown LOGIN_MONTH (\w+) Value Filldown LOGIN_DAY (\d+) Value Filldown LOGIN_YEAR (\d+) -Value Filldown DURATION (\d+:\d+:\d+) +Value Filldown DURATION (.+?) +Value Filldown FILTER_NAME (.*?) Value Filldown TOTAL_IKE_SESSIONS (\d+) Value Filldown TOTAL_IPSEC_SESSIONS (\d+) -Value IKE_CONNECTION_TYPE (IKE) -Value IPSEC_CONNECTION_TYPE (IPSec) +Value CONNECTION_TYPE (\S+) Value SESSION_ID (\d+) Value UDP_SRC_PORT (\d+) Value UDP_DST_PORT (\d+) Value NEGOTIAION_MODE (\w+) Value AUTHENTICATION_MODE (\w+) +Value REMOTE_AUTHENTICATION_MODE (\S+|) +Value LOCAL_AUTHENTICATION_MODE (\S+|) Value ENCRYPTION_METHOD (\w+) Value HASH_METHOD (\w+) Value REKEY_INTERVAL (\d+) -Value REKEY_INTERVAL_UNIT (\w+) +Value REKEY_INTERVAL_UNIT (\S+) Value REKEY_TIME_LEFT (\d+) -Value REKEY_TIME_LEFT_UNIT (\w+) +Value REKEY_TIME_LEFT_UNIT (\S+) +Value REKEY_DATA_INTERVAL (\d+) +Value REKEY_DATA_INTERVAL_UNIT (\S+) +Value REKEY_DATA_REMAINING (\d+) +Value REKEY_DATA_REMAINING_UNIT (\S+) +Value IDLE_TIMEOUT_INTERVAL (\d+) +Value IDLE_TIMEOUT_INTERVAL_UNIT (\S+) +Value IDLE_TIMEOUT_REMAINING (\d+) +Value IDLE_TIMEOUT_REMAINING_UNIT (\S+) +Value PRF (\S+) Value DH_GROUP (\d+) +Value IPV6_FILTER_NAME (.*?) Value LOCAL_ADDRESS_NETWORK (\d+\.\d+\.\d+\.\d+) Value LOCAL_ADDRESS_MASK (\d+\.\d+\.\d+\.\d+) Value REMOTE_ADDRESS_NETWORK (\d+\.\d+\.\d+\.\d+) Value REMOTE_ADDRESS_MASK (\d+\.\d+\.\d+\.\d+) Value ENCAPSULATION (\w+) Value PFS_GROUP (\d+) +Value BYTES_TRANSMITTED (\d+) +Value BYTES_RECEIVED (\d+) Value PACKETS_TRANSMITTED (\d+) -Value PACKETS_RECIEVED (\d+) +Value PACKETS_RECEIVED (\d+) +Value REVAL_TIMEOUT (\d+) +Value REVAL_TIMOUT_UNIT (\S+) +Value REVAL_TIMEOUT_REMAINING (\d+) +Value REVAL_TIMEOUT_REMAINING_UNIT (\S+) +Value STATUS_QUERY_INTERVAL (\S+) +Value STATUS_QUERY_INTERVAL_UNIT (\S+) +Value EAP_OVER_UDP_TIMER (\d+) +Value EAP_OVER_UDP_TIMER_UNIT (\S+) +Value POSTURE_HOLDTIME_REMAINING (\d+) +Value POSTURE_HOLDTIME_REMAINING_UNIT (\S+) +Value POSTURE_TOKEN (.*?) +Value REDIRECT_URL (.*?) + Start + ^Session\s+Type:\s+${SESSION_TYPE}\s+Detailed\s*$$ -> Connection + +Connection + ^\s*Connection\s*:\s+${CONNECTION}\s*$$ + ^\s*Index\s*:\s+${INDEX}\s+IP\s+Addr\s*:\s+${IP_ADDRESS}\s*$$ + ^\s*Protocol\s*:\s+${PROTOCOL}(?:\s+Encryption\s*:\s+${ENCRYPTION}|)\s*$$ + ^\s*Encryption\s*:\s+${ENCRYPTION}\s+Hashing\s*:\s+${HASHING}\s*$$ + ^\s*Encryption\s*:\s+${ENCRYPTION}\s*$$ + ^\s*Hashing\s*:\s+${HASHING}\s*$$ + ^\s*Bytes\s+Tx\s*:\s+${TOTAL_BYTES_TRANSMITTED}\s+Bytes\s+Rx\s*:\s+${TOTAL_BYTES_RECEIVED}\s*$$ + ^\s*Login\s+Time\s*:\s+${LOGIN_TIME}\s+${LOGIN_TIME_ZONE}\s+${LOGIN_WEEKDAY}\s+${LOGIN_MONTH}\s+${LOGIN_DAY}\s+${LOGIN_YEAR}\s*$$ + ^\s*Duration\s*:\s+${DURATION}\s*$$ + ^\s*Filter\s+Name\s*:\s*${FILTER_NAME}\s*$$ + ^\s*IKE(?:[Vv]\d|)\s+Sessions:\s+${TOTAL_IKE_SESSIONS}\s+IPSec\s+Sessions:\s+${TOTAL_IPSEC_SESSIONS}\s*$$ + ^\s*IKE(?:[Vv]\d|)\s+Tunnels:\s*${TOTAL_IKE_SESSIONS}\s*$$ + ^\s*IP[Ss]ec\s+Tunnels:\s*${TOTAL_IPSEC_SESSIONS}\s*$$ + ^\s*${CONNECTION_TYPE}:\s*$$ -> Continue + ^\s*IKE(?:[Vv]\d|): -> IKE + ^\s*IP[Ss]ec: -> IPSec + ^\s*NAC: -> NAC + ^\s*Connection\s*: -> Continue.Record + ^\s*Connection\s*:\s+${CONNECTION}\s*$$ + ^Session\s+Type -> Continue.Record ^Session\s+Type -> Continue.Clearall - ^Session\s+Type:\s+${SESSION_TYPE}\s+Detailed\s* - ^\s+Connection\s*:\s+${CONNECTION}\s* - ^\s+Index\s*:\s+${INDEX}\s+IP\s+Addr\s*:\s+${IP_ADDRESS}\s* - ^\s+Protocol\s*:\s+${PROTOCOL}\s+Encryption\s*:\s+${ENCRYPTION}\s* - ^\s+Bytes\s+Tx\s*:\s+${BYTES_TRANSMITTED}\s+Bytes\s+Rx\s*:\s+${BYTES_RECIEVED}\s* - ^\s+Login\s+Time\s*:\s+${LOGIN_TIME}\s+${LOGIN_TIME_ZONE}\s+${LOGIN_WEEKDAY}\s+${LOGIN_MONTH}\s+${LOGIN_DAY}\s+${LOGIN_YEAR}\s* - ^\s+Duration\s*:\s+${DURATION}\s* - ^\s+Filter\s+Name\s*:\s+\S*\s* - # IKE and IPSEC Session Counts will capture and continue on the first iteration. This data will be recorded on the second iteration if both IKE and IPSec have 0 Sessions - ^\s+IKE\s+Sessions:\s+${TOTAL_IKE_SESSIONS}\s+IPSec\s+Sessions:\s+${TOTAL_IPSEC_SESSIONS}\s* -> Continue - ^\s+IKE\s+Sessions:\s+0\s+IPSec\s+Sessions:\s+0\s* -> Record - ^\s+${IKE_CONNECTION_TYPE}:\s* -> IKE - ^\s+${IPSEC_CONNECTION_TYPE}:\s* -> IPSec + ^Session\s+Type:\s+${SESSION_TYPE}\s+Detailed\s*$$ + ^\s*$$ + ^. -> Error IKE - ^\s+Session\s+ID\s*:\s+${SESSION_ID} - ^\s+UDP\s+Src\s+Port\s*:\s+${UDP_SRC_PORT}\s+UDP\s+Dst\s+Port\s*:\s+${UDP_DST_PORT}\s* - ^\s+IKE\s+Neg\s+Mode\s*:\s+${NEGOTIAION_MODE}\s+Auth\s+Mode\s*:\s+${AUTHENTICATION_MODE}\s* - ^\s+Encryption\s*:\s+${ENCRYPTION_METHOD}\s+Hashing\s*:\s+${HASH_METHOD} - ^\s+Rekey\s+Int\s+\(\w\):\s+${REKEY_INTERVAL}\s+${REKEY_INTERVAL_UNIT}\s+Rekey\s+Left\(\w+\):\s+${REKEY_TIME_LEFT}\s+${REKEY_TIME_LEFT_UNIT}\s* - ^\s+D\/H\s+Group\s*:\s+${DH_GROUP}\s* - ^\s*$$ -> Record Start + ^\s*(Session|Tunnel)\s+ID\s*:\s+(?:\d+\.|)${SESSION_ID}\s*$$ + ^\s*UDP\s+Src\s+Port\s*:\s+${UDP_SRC_PORT}\s+UDP\s+Dst\s+Port\s*:\s+${UDP_DST_PORT}\s*$$ + ^\s*Rem\s+Auth\s+Mode\s*:\s*${REMOTE_AUTHENTICATION_MODE}\s*$$ + ^\s*Loc\s+Auth\s+Mode\s*:\s*${LOCAL_AUTHENTICATION_MODE}\s*$$ + ^\s*IKE\s+Neg\s+Mode\s*:\s+${NEGOTIAION_MODE}\s+Auth\s+Mode\s*:\s+${AUTHENTICATION_MODE}\s*$$ + ^\s*Encryption\s*:\s+${ENCRYPTION_METHOD}\s+Hashing\s*:\s+${HASH_METHOD}\s*$$ + ^\s*Encapsulation\s+:\s*${ENCAPSULATION}\s*$$ + ^\s*Rekey\s+Int\s+\([Tt]\):\s+${REKEY_INTERVAL}\s+${REKEY_INTERVAL_UNIT}\s+Rekey\s+Left\([Tt]\):\s+${REKEY_TIME_LEFT}\s+${REKEY_TIME_LEFT_UNIT}\s*$$ + ^\s*Rekey\s+Int\s+\([Dd]\):\s+${REKEY_DATA_INTERVAL}\s+${REKEY_DATA_INTERVAL_UNIT}\s+Rekey\s+Left\([Dd]+\):\s+${REKEY_DATA_REMAINING}\s+${REKEY_DATA_REMAINING_UNIT}\s*$$ + ^\s*(?:PRF\s*:\s+${PRF}\s+|)D\/H\s+Group\s*:\s+${DH_GROUP}\s*$$ + ^\s*Filter\s+Name\s+:\s*${FILTER_NAME}\s*$$ + ^\s*IPv6\s+Filter\s+:\s*${IPV6_FILTER_NAME}\s*$$ + ^\s*\S+:\s*$$ -> Continue.Record + ^\s*${CONNECTION_TYPE}:\s*$$ -> Continue + ^\s*IKE(?:[Vv]\d|): -> IKE + ^\s*IP[Ss]ec: -> IPSec + ^\s*NAC: -> NAC + ^\s*Connection\s*: -> Continue.Record + ^\s*Connection\s*:\s+${CONNECTION}\s*$$ -> Connection + ^Session\s+Type -> Continue.Record + ^Session\s+Type -> Continue.Clearall + ^Session\s+Type:\s+${SESSION_TYPE}\s+Detailed\s*$$ -> Connection + ^\s*$$ + ^. -> Error IPSec - ^\s+Session\s+ID\s*:\s+${SESSION_ID} - ^\s+Local\s+Addr\s*:\s+${LOCAL_ADDRESS_NETWORK}\/${LOCAL_ADDRESS_MASK}\s* - ^\s+Remote\s+Addr\s*:\s+${REMOTE_ADDRESS_NETWORK}\/${REMOTE_ADDRESS_MASK}\s* - ^\s+Encryption\s*:\s+${ENCRYPTION_METHOD}\s+Hashing\s*:\s+${HASH_METHOD}\s* - ^\s+Encapsulation\s*:\s+${ENCAPSULATION}\s+PFS\s+Group\s*:\s+${PFS_GROUP}\s* - ^\s+Rekey\s+Int\s+\(\w\)\s*:\s+${REKEY_INTERVAL}\s+${REKEY_INTERVAL_UNIT}\s+Rekey\s+Left\(\w+\)\s*:\s+${REKEY_TIME_LEFT}\s+${REKEY_TIME_LEFT_UNIT}\s* - ^\s+Bytes\s+Tx\s*:\s+${BYTES_TRANSMITTED}\s+Bytes\s+Rx\s*:\s+${BYTES_RECIEVED}\s* - ^\s+Pkts\s+Tx\s*:\s+${PACKETS_TRANSMITTED}\s+Pkts\s+Rx\s*:\s+${PACKETS_RECIEVED}\s* - ^\s*$$ -> Record Start + ^\s*(Session|Tunnel)\s+ID\s*:\s+(?:\d+\.|)${SESSION_ID}\s*$$ + ^\s*Local\s+Addr\s*:\s+${LOCAL_ADDRESS_NETWORK}\/${LOCAL_ADDRESS_MASK} + ^\s*Remote\s+Addr\s*:\s+${REMOTE_ADDRESS_NETWORK}\/${REMOTE_ADDRESS_MASK} + ^\s*Encryption\s*:\s+${ENCRYPTION_METHOD}\s+Hashing\s*:\s+${HASH_METHOD}\s*$$ + ^\s*Encapsulation\s*:\s+${ENCAPSULATION}(?:\s+PFS\s+Group\s*:\s+${PFS_GROUP}|)\s*$$ + ^\s*Rekey\s+Int\s+\([Tt]\):\s+${REKEY_INTERVAL}\s+${REKEY_INTERVAL_UNIT}\s+Rekey\s+Left\([Tt]\):\s+${REKEY_TIME_LEFT}\s+${REKEY_TIME_LEFT_UNIT}\s*$$ + ^\s*Rekey\s+Int\s+\([Dd]\):\s+${REKEY_DATA_INTERVAL}\s+${REKEY_DATA_INTERVAL_UNIT}\s+Rekey\s+Left\([Dd]+\):\s+${REKEY_DATA_REMAINING}\s+${REKEY_DATA_REMAINING_UNIT}\s*$$ + ^\s*Idle\s+Time\s+Out\s*:\s+${IDLE_TIMEOUT_INTERVAL}\s+${IDLE_TIMEOUT_INTERVAL_UNIT}\s+Idle\s+TO\s+Left\s*:\s+${IDLE_TIMEOUT_REMAINING}\s+${IDLE_TIMEOUT_REMAINING_UNIT}\s*$$ + ^\s*Bytes\s+Tx\s*:\s+${BYTES_TRANSMITTED}\s+Bytes\s+Rx\s*:\s+${BYTES_RECEIVED}\s*$$ + ^\s*Pkts\s+Tx\s*:\s+${PACKETS_TRANSMITTED}\s+Pkts\s+Rx\s*:\s+${PACKETS_RECEIVED}\s*$$ + ^\s*\S+:\s*$$ -> Continue.Record + ^\s*${CONNECTION_TYPE}:\s*$$ -> Continue + ^\s*IKE(?:[Vv]\d|): -> IKE + ^\s*IP[Ss]ec: -> IPSec + ^\s*NAC: -> NAC + ^\s*Connection\s*: -> Continue.Record + ^\s*Connection\s*:\s+${CONNECTION}\s*$$ -> Connection + ^Session\s+Type -> Continue.Record + ^Session\s+Type -> Continue.Clearall + ^Session\s+Type:\s+${SESSION_TYPE}\s+Detailed\s*$$ -> Connection + ^\s*$$ + ^. -> Error -EOF \ No newline at end of file +NAC + ^\s*Reval\s+Int\s+\(\w\)\s*:\s+${REVAL_TIMEOUT}\s+${REVAL_TIMOUT_UNIT}\s+Reval\s+Left\s*\(\w\)\s*:\s+${REVAL_TIMEOUT_REMAINING}\s+${REVAL_TIMEOUT_REMAINING_UNIT}\s*$$ + ^\s*SQ\s+Int\s+\(\w\)\s*:\s+${STATUS_QUERY_INTERVAL}\s+${STATUS_QUERY_INTERVAL_UNIT}\s+EoU\s+Age\(\w\)\s*:\s+${EAP_OVER_UDP_TIMER}\s+${EAP_OVER_UDP_TIMER_UNIT}\s*$$ + ^\s*Hold\s+Left\s+\(\w\)\s*:\s+${POSTURE_HOLDTIME_REMAINING}\s+${POSTURE_HOLDTIME_REMAINING_UNIT}\s+Posture\s+Token\s*:\s*${POSTURE_TOKEN}\s*$$ + ^\s*Redirect\s+URL\s*:\s*${REDIRECT_URL}\s*$$ + ^\s*\S+:\s*$$ -> Continue.Record + ^\s*${CONNECTION_TYPE}:\s*$$ -> Continue + ^\s*IKE(?:[Vv]\d|): -> IKE + ^\s*IP[Ss]ec: -> IPSec + ^\s*NAC: -> NAC + ^\s*Connection\s*: -> Continue.Record + ^\s*Connection\s*:\s+${CONNECTION}\s*$$ -> Connection + ^Session\s+Type -> Continue.Record + ^Session\s+Type -> Continue.Clearall + ^Session\s+Type:\s+${SESSION_TYPE}\s+Detailed\s*$$ -> Connection + ^\s*$$ + ^. -> Error diff --git a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.parsed b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.parsed index da5a0cbd4d..54e836b8e6 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.parsed +++ b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.parsed @@ -6,8 +6,9 @@ parsed_sample: ip_address: "172.16.0.1" protocol: "IPSecLAN2LAN" encryption: "AES256" - bytes_transmitted: "48484156" - bytes_recieved: "875049248" + hashing: "" + total_bytes_transmitted: "48484156" + total_bytes_received: "875049248" login_time: "09:32:03" login_time_zone: "est" login_weekday: "Mon" @@ -15,38 +16,65 @@ parsed_sample: login_day: "2" login_year: "2004" duration: "6:16:26" + filter_name: "" total_ike_sessions: "1" total_ipsec_sessions: "2" - ike_connection_type: "IKE" - ipsec_connection_type: "" + connection_type: "IKE" session_id: "1" udp_src_port: "500" udp_dst_port: "500" negotiaion_mode: "Main" authentication_mode: "preSharedKeys" + remote_authentication_mode: "" + local_authentication_mode: "" encryption_method: "AES256" hash_method: "SHA1" rekey_interval: "86400" rekey_interval_unit: "Seconds" rekey_time_left: "63814" rekey_time_left_unit: "Seconds" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + prf: "" dh_group: "5" + ipv6_filter_name: "" local_address_network: "" local_address_mask: "" remote_address_network: "" remote_address_mask: "" encapsulation: "" pfs_group: "" + bytes_transmitted: "" + bytes_received: "" packets_transmitted: "" - packets_recieved: "" + packets_received: "" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" - session_type: "LAN-to-LAN" connection: "172.16.0.1" index: "1" ip_address: "172.16.0.1" protocol: "IPSecLAN2LAN" encryption: "AES256" - bytes_transmitted: "46865224" - bytes_recieved: "2639672" + hashing: "" + total_bytes_transmitted: "48484156" + total_bytes_received: "875049248" login_time: "09:32:03" login_time_zone: "est" login_weekday: "Mon" @@ -54,38 +82,65 @@ parsed_sample: login_day: "2" login_year: "2004" duration: "6:16:26" + filter_name: "" total_ike_sessions: "1" total_ipsec_sessions: "2" - ike_connection_type: "" - ipsec_connection_type: "IPSec" + connection_type: "IPSec" session_id: "2" udp_src_port: "" udp_dst_port: "" negotiaion_mode: "" authentication_mode: "" + remote_authentication_mode: "" + local_authentication_mode: "" encryption_method: "AES256" hash_method: "SHA1" rekey_interval: "28800" rekey_interval_unit: "Seconds" rekey_time_left: "10903" rekey_time_left_unit: "Seconds" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + prf: "" dh_group: "" + ipv6_filter_name: "" local_address_network: "10.0.0.0" local_address_mask: "255.255.255.0" remote_address_network: "209.165.201.30" remote_address_mask: "255.255.255.0" encapsulation: "Tunnel" pfs_group: "5" + bytes_transmitted: "46865224" + bytes_received: "2639672" packets_transmitted: "1635314" - packets_recieved: "37526" + packets_received: "37526" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" - session_type: "LAN-to-LAN" connection: "172.16.0.1" index: "1" ip_address: "172.16.0.1" protocol: "IPSecLAN2LAN" encryption: "AES256" - bytes_transmitted: "1619268" - bytes_recieved: "872409912" + hashing: "" + total_bytes_transmitted: "48484156" + total_bytes_received: "875049248" login_time: "09:32:03" login_time_zone: "est" login_weekday: "Mon" @@ -93,38 +148,65 @@ parsed_sample: login_day: "2" login_year: "2004" duration: "6:16:26" + filter_name: "" total_ike_sessions: "1" total_ipsec_sessions: "2" - ike_connection_type: "" - ipsec_connection_type: "IPSec" + connection_type: "IPSec" session_id: "3" udp_src_port: "" udp_dst_port: "" negotiaion_mode: "" authentication_mode: "" + remote_authentication_mode: "" + local_authentication_mode: "" encryption_method: "AES256" hash_method: "SHA1" rekey_interval: "28800" rekey_interval_unit: "Seconds" rekey_time_left: "6282" rekey_time_left_unit: "Seconds" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + prf: "" dh_group: "" + ipv6_filter_name: "" local_address_network: "10.0.0.1" local_address_mask: "255.255.255.0" remote_address_network: "209.165.201.30" remote_address_mask: "255.255.255.0" encapsulation: "Tunnel" pfs_group: "5" + bytes_transmitted: "1619268" + bytes_received: "872409912" packets_transmitted: "19277" - packets_recieved: "1596809" + packets_received: "1596809" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" - session_type: "LAN-to-LAN" connection: "172.16.0.1" index: "1" ip_address: "172.16.0.1" protocol: "IPSecLAN2LAN" encryption: "AES256" - bytes_transmitted: "48484156" - bytes_recieved: "875049248" + hashing: "" + total_bytes_transmitted: "48484156" + total_bytes_received: "875049248" login_time: "09:32:03" login_time_zone: "est" login_weekday: "Mon" @@ -132,38 +214,65 @@ parsed_sample: login_day: "2" login_year: "2004" duration: "6:16:26" + filter_name: "" total_ike_sessions: "0" total_ipsec_sessions: "0" - ike_connection_type: "" - ipsec_connection_type: "" + connection_type: "" session_id: "" udp_src_port: "" udp_dst_port: "" negotiaion_mode: "" authentication_mode: "" + remote_authentication_mode: "" + local_authentication_mode: "" encryption_method: "" hash_method: "" rekey_interval: "" rekey_interval_unit: "" rekey_time_left: "" rekey_time_left_unit: "" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + prf: "" dh_group: "" + ipv6_filter_name: "" local_address_network: "" local_address_mask: "" remote_address_network: "" remote_address_mask: "" encapsulation: "" pfs_group: "" + bytes_transmitted: "" + bytes_received: "" packets_transmitted: "" - packets_recieved: "" + packets_received: "" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" - session_type: "LAN-to-LAN" connection: "172.16.0.1" index: "1" ip_address: "172.16.0.1" protocol: "IPSecLAN2LAN" encryption: "AES256" - bytes_transmitted: "48484156" - bytes_recieved: "875049248" + hashing: "" + total_bytes_transmitted: "48484156" + total_bytes_received: "875049248" login_time: "09:32:03" login_time_zone: "est" login_weekday: "Mon" @@ -171,38 +280,65 @@ parsed_sample: login_day: "2" login_year: "2004" duration: "6:16:26" + filter_name: "" total_ike_sessions: "1" total_ipsec_sessions: "2" - ike_connection_type: "IKE" - ipsec_connection_type: "" + connection_type: "IKE" session_id: "1" udp_src_port: "500" udp_dst_port: "500" negotiaion_mode: "Main" authentication_mode: "preSharedKeys" + remote_authentication_mode: "" + local_authentication_mode: "" encryption_method: "AES256" hash_method: "SHA1" rekey_interval: "86400" rekey_interval_unit: "Seconds" rekey_time_left: "63814" rekey_time_left_unit: "Seconds" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + prf: "" dh_group: "5" + ipv6_filter_name: "" local_address_network: "" local_address_mask: "" remote_address_network: "" remote_address_mask: "" encapsulation: "" pfs_group: "" + bytes_transmitted: "" + bytes_received: "" packets_transmitted: "" - packets_recieved: "" + packets_received: "" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" - session_type: "LAN-to-LAN" connection: "172.16.0.1" index: "1" ip_address: "172.16.0.1" protocol: "IPSecLAN2LAN" encryption: "AES256" - bytes_transmitted: "46865224" - bytes_recieved: "2639672" + hashing: "" + total_bytes_transmitted: "48484156" + total_bytes_received: "875049248" login_time: "09:32:03" login_time_zone: "est" login_weekday: "Mon" @@ -210,38 +346,65 @@ parsed_sample: login_day: "2" login_year: "2004" duration: "6:16:26" + filter_name: "" total_ike_sessions: "1" total_ipsec_sessions: "2" - ike_connection_type: "" - ipsec_connection_type: "IPSec" + connection_type: "IPSec" session_id: "2" udp_src_port: "" udp_dst_port: "" negotiaion_mode: "" authentication_mode: "" + remote_authentication_mode: "" + local_authentication_mode: "" encryption_method: "AES256" hash_method: "SHA1" rekey_interval: "28800" rekey_interval_unit: "Seconds" rekey_time_left: "10903" rekey_time_left_unit: "Seconds" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + prf: "" dh_group: "" + ipv6_filter_name: "" local_address_network: "10.0.0.0" local_address_mask: "255.255.255.0" remote_address_network: "209.165.201.30" remote_address_mask: "255.255.255.0" encapsulation: "Tunnel" pfs_group: "5" + bytes_transmitted: "46865224" + bytes_received: "2639672" packets_transmitted: "1635314" - packets_recieved: "37526" + packets_received: "37526" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" - session_type: "LAN-to-LAN" connection: "172.16.0.1" index: "1" ip_address: "172.16.0.1" protocol: "IPSecLAN2LAN" encryption: "AES256" - bytes_transmitted: "1619268" - bytes_recieved: "872409912" + hashing: "" + total_bytes_transmitted: "48484156" + total_bytes_received: "875049248" login_time: "09:32:03" login_time_zone: "est" login_weekday: "Mon" @@ -249,27 +412,53 @@ parsed_sample: login_day: "2" login_year: "2004" duration: "6:16:26" + filter_name: "" total_ike_sessions: "1" total_ipsec_sessions: "2" - ike_connection_type: "" - ipsec_connection_type: "IPSec" + connection_type: "IPSec" session_id: "3" udp_src_port: "" udp_dst_port: "" negotiaion_mode: "" authentication_mode: "" + remote_authentication_mode: "" + local_authentication_mode: "" encryption_method: "AES256" hash_method: "SHA1" rekey_interval: "28800" rekey_interval_unit: "Seconds" rekey_time_left: "6282" rekey_time_left_unit: "Seconds" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + prf: "" dh_group: "" + ipv6_filter_name: "" local_address_network: "10.0.0.1" local_address_mask: "255.255.255.0" remote_address_network: "209.165.201.30" remote_address_mask: "255.255.255.0" encapsulation: "Tunnel" pfs_group: "5" + bytes_transmitted: "1619268" + bytes_received: "872409912" packets_transmitted: "19277" - packets_recieved: "1596809" + packets_received: "1596809" + reval_timeout: "" + reval_timout_unit: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + status_query_interval: "" + status_query_interval_unit: "" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" diff --git a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.raw b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.raw index d9bc5bd0b4..6847bf0d8f 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.raw +++ b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.raw @@ -86,4 +86,3 @@ Session Type: LAN-to-LAN Detailed Rekey Int (T): 28800 Seconds Rekey Left(T): 6282 Seconds Bytes Tx : 1619268 Bytes Rx : 872409912 Pkts Tx : 19277 Pkts Rx : 1596809 - \ No newline at end of file diff --git a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.parsed b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.parsed new file mode 100644 index 0000000000..f1b2c745a9 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.parsed @@ -0,0 +1,1006 @@ +--- +parsed_sample: + - authentication_mode: "preSharedKeys" + bytes_received: "" + bytes_transmitted: "" + connection: "169.254.107.1" + connection_type: "IKE" + dh_group: "2" + duration: "10d 7h:26m:52s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "" + encryption: "AES128 AES256" + encryption_method: "AES128" + filter_name: "TestFilter" + hash_method: "SHA1" + hashing: "SHA1" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + index: "6539" + ip_address: "169.254.107.1" + ipv6_filter_name: "" + local_address_mask: "" + local_address_network: "" + local_authentication_mode: "" + login_day: "19" + login_month: "Jul" + login_time: "10:58:15" + login_time_zone: "PDT" + login_weekday: "Thu" + login_year: "2018" + negotiaion_mode: "Main" + packets_received: "" + packets_transmitted: "" + pfs_group: "" + prf: "" + protocol: "IKE IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + rekey_interval: "86400" + rekey_interval_unit: "Seconds" + rekey_time_left: "76776" + rekey_time_left_unit: "Seconds" + remote_address_mask: "" + remote_address_network: "" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "1" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "275429647" + total_bytes_transmitted: "3419524983" + total_ike_sessions: "1" + total_ipsec_sessions: "5" + udp_dst_port: "500" + udp_src_port: "500" + + - authentication_mode: "" + bytes_received: "268532214" + bytes_transmitted: "3256642959" + connection: "169.254.107.1" + connection_type: "IPsec" + dh_group: "" + duration: "10d 7h:26m:52s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "Tunnel" + encryption: "AES128 AES256" + encryption_method: "AES256" + filter_name: "TestFilter" + hash_method: "SHA1" + hashing: "SHA1" + idle_timeout_interval: "30" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "29" + idle_timeout_remaining_unit: "Minutes" + index: "6539" + ip_address: "169.254.107.1" + ipv6_filter_name: "" + local_address_mask: "255.255.252.0" + local_address_network: "169.254.44.0" + local_authentication_mode: "" + login_day: "19" + login_month: "Jul" + login_time: "10:58:15" + login_time_zone: "PDT" + login_weekday: "Thu" + login_year: "2018" + negotiaion_mode: "" + packets_received: "2958857" + packets_transmitted: "4539818" + pfs_group: "" + prf: "" + protocol: "IKE IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "4586873" + rekey_data_remaining_unit: "K-Bytes" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "19174" + rekey_time_left_unit: "Seconds" + remote_address_mask: "255.255.255.255" + remote_address_network: "1.1.1.1" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "2" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "275429647" + total_bytes_transmitted: "3419524983" + total_ike_sessions: "1" + total_ipsec_sessions: "5" + udp_dst_port: "" + udp_src_port: "" + + - authentication_mode: "" + bytes_received: "6897433" + bytes_transmitted: "162882024" + connection: "169.254.107.1" + connection_type: "IPsec" + dh_group: "" + duration: "10d 7h:26m:52s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "Tunnel" + encryption: "AES128 AES256" + encryption_method: "AES256" + filter_name: "TestFilter" + hash_method: "SHA1" + hashing: "SHA1" + idle_timeout_interval: "30" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "23" + idle_timeout_remaining_unit: "Minutes" + index: "6539" + ip_address: "169.254.107.1" + ipv6_filter_name: "" + local_address_mask: "255.255.255.0" + local_address_network: "169.254.44.0" + local_authentication_mode: "" + login_day: "19" + login_month: "Jul" + login_time: "10:58:15" + login_time_zone: "PDT" + login_weekday: "Thu" + login_year: "2018" + negotiaion_mode: "" + packets_received: "121906" + packets_transmitted: "136730" + pfs_group: "" + prf: "" + protocol: "IKE IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "4607988" + rekey_data_remaining_unit: "K-Bytes" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "19482" + rekey_time_left_unit: "Seconds" + remote_address_mask: "255.255.255.255" + remote_address_network: "1.1.1.1" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "3" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "275429647" + total_bytes_transmitted: "3419524983" + total_ike_sessions: "1" + total_ipsec_sessions: "5" + udp_dst_port: "" + udp_src_port: "" + + - authentication_mode: "" + bytes_received: "" + bytes_transmitted: "" + connection: "169.254.107.1" + connection_type: "NAC" + dh_group: "" + duration: "10d 7h:26m:52s" + eap_over_udp_timer: "890906" + eap_over_udp_timer_unit: "Seconds" + encapsulation: "" + encryption: "AES128 AES256" + encryption_method: "" + filter_name: "TestFilter" + hash_method: "" + hashing: "SHA1" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + index: "6539" + ip_address: "169.254.107.1" + ipv6_filter_name: "" + local_address_mask: "" + local_address_network: "" + local_authentication_mode: "" + login_day: "19" + login_month: "Jul" + login_time: "10:58:15" + login_time_zone: "PDT" + login_weekday: "Thu" + login_year: "2018" + negotiaion_mode: "" + packets_received: "" + packets_transmitted: "" + pfs_group: "" + prf: "" + protocol: "IKE IPsec" + posture_holdtime_remaining: "0" + posture_holdtime_remaining_unit: "Seconds" + posture_token: "" + redirect_url: "" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + rekey_interval: "" + rekey_interval_unit: "" + rekey_time_left: "" + rekey_time_left_unit: "" + remote_address_mask: "" + remote_address_network: "" + remote_authentication_mode: "" + reval_timeout: "0" + reval_timeout_remaining: "0" + reval_timeout_remaining_unit: "Seconds" + reval_timout_unit: "Seconds" + session_id: "" + session_type: "LAN-to-LAN" + status_query_interval: "0" + status_query_interval_unit: "Seconds" + total_bytes_received: "275429647" + total_bytes_transmitted: "3419524983" + total_ike_sessions: "1" + total_ipsec_sessions: "5" + udp_dst_port: "" + udp_src_port: "" + + - authentication_mode: "preSharedKeys" + bytes_received: "" + bytes_transmitted: "" + connection: "169.254.104.1" + connection_type: "IKE" + dh_group: "2" + duration: "14h:24m:35s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "" + encryption: "AES256" + encryption_method: "AES256" + filter_name: "acl_SOURCE_MED" + hash_method: "SHA1" + hashing: "SHA1" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + index: "7379" + ip_address: "169.254.104.1" + ipv6_filter_name: "" + local_address_mask: "" + local_address_network: "" + local_authentication_mode: "" + login_day: "29" + login_month: "Jul" + login_time: "04:00:32" + login_time_zone: "PDT" + login_weekday: "Sun" + login_year: "2018" + negotiaion_mode: "Main" + packets_received: "" + packets_transmitted: "" + pfs_group: "" + prf: "" + protocol: "IKE IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "20119" + rekey_time_left_unit: "Seconds" + remote_address_mask: "" + remote_address_network: "" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "1" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "79487" + total_bytes_transmitted: "2005616" + total_ike_sessions: "1" + total_ipsec_sessions: "4" + udp_dst_port: "500" + udp_src_port: "500" + + - authentication_mode: "" + bytes_received: "79487" + bytes_transmitted: "140576" + connection: "169.254.104.1" + connection_type: "IPsec" + dh_group: "" + duration: "14h:24m:35s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "Tunnel" + encryption: "AES256" + encryption_method: "AES256" + filter_name: "acl_SOURCE_MED" + hash_method: "SHA1" + hashing: "SHA1" + idle_timeout_interval: "30" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "29" + idle_timeout_remaining_unit: "Minutes" + index: "7379" + ip_address: "169.254.104.1" + ipv6_filter_name: "" + local_address_mask: "255.255.252.0" + local_address_network: "169.254.32.0" + local_authentication_mode: "" + login_day: "29" + login_month: "Jul" + login_time: "04:00:32" + login_time_zone: "PDT" + login_weekday: "Sun" + login_year: "2018" + negotiaion_mode: "" + packets_received: "1509" + packets_transmitted: "1520" + pfs_group: "" + prf: "" + protocol: "IKE IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "4607947" + rekey_data_remaining_unit: "K-Bytes" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "6889" + rekey_time_left_unit: "Seconds" + remote_address_mask: "255.255.255.255" + remote_address_network: "172.20.8.183" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "6" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "79487" + total_bytes_transmitted: "2005616" + total_ike_sessions: "1" + total_ipsec_sessions: "4" + udp_dst_port: "" + udp_src_port: "" + + - authentication_mode: "" + bytes_received: "0" + bytes_transmitted: "102540" + connection: "169.254.104.1" + connection_type: "IPsec" + dh_group: "" + duration: "14h:24m:35s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "Tunnel" + encryption: "AES256" + encryption_method: "AES256" + filter_name: "acl_SOURCE_MED" + hash_method: "SHA1" + hashing: "SHA1" + idle_timeout_interval: "30" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "29" + idle_timeout_remaining_unit: "Minutes" + index: "7379" + ip_address: "169.254.104.1" + ipv6_filter_name: "" + local_address_mask: "255.255.252.0" + local_address_network: "169.254.20.23" + local_authentication_mode: "" + login_day: "29" + login_month: "Jul" + login_time: "04:00:32" + login_time_zone: "PDT" + login_weekday: "Sun" + login_year: "2018" + negotiaion_mode: "" + packets_received: "0" + packets_transmitted: "1709" + pfs_group: "" + prf: "" + protocol: "IKE IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "0" + rekey_data_remaining_unit: "K-Bytes" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "25947" + rekey_time_left_unit: "Seconds" + remote_address_mask: "255.255.255.255" + remote_address_network: "172.20.8.98" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "8" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "79487" + total_bytes_transmitted: "2005616" + total_ike_sessions: "1" + total_ipsec_sessions: "4" + udp_dst_port: "" + udp_src_port: "" + + - authentication_mode: "" + bytes_received: "" + bytes_transmitted: "" + connection: "169.254.104.1" + connection_type: "NAC" + dh_group: "" + duration: "14h:24m:35s" + eap_over_udp_timer: "51881" + eap_over_udp_timer_unit: "Seconds" + encapsulation: "" + encryption: "AES256" + encryption_method: "" + filter_name: "acl_SOURCE_MED" + hash_method: "" + hashing: "SHA1" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + index: "7379" + ip_address: "169.254.104.1" + ipv6_filter_name: "" + local_address_mask: "" + local_address_network: "" + local_authentication_mode: "" + login_day: "29" + login_month: "Jul" + login_time: "04:00:32" + login_time_zone: "PDT" + login_weekday: "Sun" + login_year: "2018" + negotiaion_mode: "" + packets_received: "" + packets_transmitted: "" + pfs_group: "" + prf: "" + protocol: "IKE IPsec" + posture_holdtime_remaining: "0" + posture_holdtime_remaining_unit: "Seconds" + posture_token: "" + redirect_url: "" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + rekey_interval: "" + rekey_interval_unit: "" + rekey_time_left: "" + rekey_time_left_unit: "" + remote_address_mask: "" + remote_address_network: "" + remote_authentication_mode: "" + reval_timeout: "0" + reval_timeout_remaining: "0" + reval_timeout_remaining_unit: "Seconds" + reval_timout_unit: "Seconds" + session_id: "" + session_type: "LAN-to-LAN" + status_query_interval: "0" + status_query_interval_unit: "Seconds" + total_bytes_received: "79487" + total_bytes_transmitted: "2005616" + total_ike_sessions: "1" + total_ipsec_sessions: "4" + udp_dst_port: "" + udp_src_port: "" + + - authentication_mode: "preSharedKeys" + bytes_received: "" + bytes_transmitted: "" + connection: "169.254.99.1" + connection_type: "IKEv1" + dh_group: "2" + duration: "21d 15h:39m:02s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "" + encryption: "IKEv1: (1)3DES IPsec: (2)3DES" + encryption_method: "3DES" + filter_name: "TestFilter" + hash_method: "SHA1" + hashing: "IKEv1: (1)SHA1 IPsec: (2)MD5" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + index: "79" + ip_address: "169.254.99.1" + ipv6_filter_name: "" + local_address_mask: "" + local_address_network: "" + local_authentication_mode: "" + login_day: "6" + login_month: "Jul" + login_time: "16:01:03" + login_time_zone: "MDT" + login_weekday: "Fri" + login_year: "2018" + negotiaion_mode: "Main" + packets_received: "" + packets_transmitted: "" + pfs_group: "" + prf: "" + protocol: "IKEv1 IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "18795" + rekey_time_left_unit: "Seconds" + remote_address_mask: "" + remote_address_network: "" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "1" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "445893825" + total_bytes_transmitted: "3722401287" + total_ike_sessions: "1" + total_ipsec_sessions: "3" + udp_dst_port: "500" + udp_src_port: "500" + + - authentication_mode: "" + bytes_received: "2387175" + bytes_transmitted: "12721728" + connection: "169.254.99.1" + connection_type: "IPsec" + dh_group: "" + duration: "21d 15h:39m:02s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "Tunnel" + encryption: "IKEv1: (1)3DES IPsec: (2)3DES" + encryption_method: "3DES" + filter_name: "TestFilter" + hash_method: "MD5" + hashing: "IKEv1: (1)SHA1 IPsec: (2)MD5" + idle_timeout_interval: "30" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "28" + idle_timeout_remaining_unit: "Minutes" + index: "79" + ip_address: "169.254.99.1" + ipv6_filter_name: "" + local_address_mask: "255.255.255.255" + local_address_network: "169.254.20.22" + local_authentication_mode: "" + login_day: "6" + login_month: "Jul" + login_time: "16:01:03" + login_time_zone: "MDT" + login_weekday: "Fri" + login_year: "2018" + negotiaion_mode: "" + packets_received: "29509" + packets_transmitted: "29085" + pfs_group: "" + prf: "" + protocol: "IKEv1 IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "4607926" + rekey_data_remaining_unit: "K-Bytes" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "18904" + rekey_time_left_unit: "Seconds" + remote_address_mask: "255.255.255.255" + remote_address_network: "192.168.6.74" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "3" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "445893825" + total_bytes_transmitted: "3722401287" + total_ike_sessions: "1" + total_ipsec_sessions: "3" + udp_dst_port: "" + udp_src_port: "" + + - authentication_mode: "" + bytes_received: "437245" + bytes_transmitted: "519703" + connection: "169.254.99.1" + connection_type: "IPsec" + dh_group: "" + duration: "21d 15h:39m:02s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "Tunnel" + encryption: "IKEv1: (1)3DES IPsec: (2)3DES" + encryption_method: "3DES" + filter_name: "TestFilter" + hash_method: "MD5" + hashing: "IKEv1: (1)SHA1 IPsec: (2)MD5" + idle_timeout_interval: "30" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "25" + idle_timeout_remaining_unit: "Minutes" + index: "79" + ip_address: "169.254.99.1" + ipv6_filter_name: "" + local_address_mask: "255.255.255.255" + local_address_network: "169.254.20.21" + local_authentication_mode: "" + login_day: "6" + login_month: "Jul" + login_time: "16:01:03" + login_time_zone: "MDT" + login_weekday: "Fri" + login_year: "2018" + negotiaion_mode: "" + packets_received: "8677" + packets_transmitted: "8681" + pfs_group: "" + prf: "" + protocol: "IKEv1 IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "4607999" + rekey_data_remaining_unit: "K-Bytes" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "25194" + rekey_time_left_unit: "Seconds" + remote_address_mask: "255.255.255.255" + remote_address_network: "192.168.6.71" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "71" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "445893825" + total_bytes_transmitted: "3722401287" + total_ike_sessions: "1" + total_ipsec_sessions: "3" + udp_dst_port: "" + udp_src_port: "" + + - authentication_mode: "preSharedKeys" + bytes_received: "" + bytes_transmitted: "" + connection: "169.254.44.1" + connection_type: "IKEv1" + dh_group: "2" + duration: "17d 6h:39m:45s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "" + encryption: "IKEv1: (1)AES256 IPsec: (1)AES128" + encryption_method: "AES256" + filter_name: "TestFilter" + hash_method: "SHA1" + hashing: "IKEv1: (1)SHA1 IPsec: (1)SHA1" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + index: "5092" + ip_address: "169.254.44.1" + ipv6_filter_name: "" + local_address_mask: "" + local_address_network: "" + local_authentication_mode: "" + login_day: "11" + login_month: "Jul" + login_time: "01:00:20" + login_time_zone: "MDT" + login_weekday: "Wed" + login_year: "2018" + negotiaion_mode: "Main" + packets_received: "" + packets_transmitted: "" + pfs_group: "" + prf: "" + protocol: "IKEv1 IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + rekey_interval: "28800" + rekey_interval_unit: "Seconds" + rekey_time_left: "11946" + rekey_time_left_unit: "Seconds" + remote_address_mask: "" + remote_address_network: "" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "1" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "337511800" + total_bytes_transmitted: "2994391497" + total_ike_sessions: "1" + total_ipsec_sessions: "1" + udp_dst_port: "500" + udp_src_port: "500" + + - authentication_mode: "" + bytes_received: "337511800" + bytes_transmitted: "2994391497" + connection: "169.254.44.1" + connection_type: "IPsec" + dh_group: "" + duration: "17d 6h:39m:45s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "Tunnel" + encryption: "IKEv1: (1)AES256 IPsec: (1)AES128" + encryption_method: "AES128" + filter_name: "TestFilter" + hash_method: "SHA1" + hashing: "IKEv1: (1)SHA1 IPsec: (1)SHA1" + idle_timeout_interval: "30" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "29" + idle_timeout_remaining_unit: "Minutes" + index: "5092" + ip_address: "169.254.44.1" + ipv6_filter_name: "" + local_address_mask: "255.255.255.255" + local_address_network: "169.254.20.20" + local_authentication_mode: "" + login_day: "11" + login_month: "Jul" + login_time: "01:00:20" + login_time_zone: "MDT" + login_weekday: "Wed" + login_year: "2018" + negotiaion_mode: "" + packets_received: "2455325" + packets_transmitted: "3539590" + pfs_group: "2" + prf: "" + protocol: "IKEv1 IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "4607009" + rekey_data_remaining_unit: "K-Bytes" + rekey_interval: "3600" + rekey_interval_unit: "Seconds" + rekey_time_left: "2132" + rekey_time_left_unit: "Seconds" + remote_address_mask: "255.255.255.255" + remote_address_network: "10.10.10.13" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "2" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "337511800" + total_bytes_transmitted: "2994391497" + total_ike_sessions: "1" + total_ipsec_sessions: "1" + udp_dst_port: "" + udp_src_port: "" + + - authentication_mode: "" + bytes_received: "" + bytes_transmitted: "" + connection: "169.254.60.1" + connection_type: "IKEv2" + dh_group: "5" + duration: "79d 16h:39m:59s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "" + encryption: "IKEv2: (1)AES256 IPsec: (1)AES256" + encryption_method: "AES256" + filter_name: "" + hash_method: "SHA1" + hashing: "IKEv2: (1)SHA1 IPsec: (1)SHA256" + idle_timeout_interval: "" + idle_timeout_interval_unit: "" + idle_timeout_remaining: "" + idle_timeout_remaining_unit: "" + index: "3908" + ip_address: "169.254.60.1" + ipv6_filter_name: "" + local_address_mask: "" + local_address_network: "" + local_authentication_mode: "preSharedKeys" + login_day: "18" + login_month: "May" + login_time: "16:33:31" + login_time_zone: "PDT" + login_weekday: "Fri" + login_year: "2018" + negotiaion_mode: "" + packets_received: "" + packets_transmitted: "" + pfs_group: "" + prf: "SHA1" + protocol: "IKEv2 IPsec" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + redirect_url: "" + rekey_data_interval: "" + rekey_data_interval_unit: "" + rekey_data_remaining: "" + rekey_data_remaining_unit: "" + rekey_interval: "86400" + rekey_interval_unit: "Seconds" + rekey_time_left: "21432" + rekey_time_left_unit: "Seconds" + remote_address_mask: "" + remote_address_network: "" + remote_authentication_mode: "preSharedKeys" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "1" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "19006105" + total_bytes_transmitted: "31086457" + total_ike_sessions: "1" + total_ipsec_sessions: "1" + udp_dst_port: "500" + udp_src_port: "500" + + - authentication_mode: "" + bytes_received: "12080533" + bytes_transmitted: "9993110" + connection: "169.254.60.1" + connection_type: "IPsec" + dh_group: "" + duration: "79d 16h:39m:59s" + eap_over_udp_timer: "" + eap_over_udp_timer_unit: "" + encapsulation: "Tunnel" + encryption: "IKEv2: (1)AES256 IPsec: (1)AES256" + encryption_method: "AES256" + filter_name: "" + hash_method: "SHA256" + hashing: "IKEv2: (1)SHA1 IPsec: (1)SHA256" + idle_timeout_interval: "30" + idle_timeout_interval_unit: "Minutes" + idle_timeout_remaining: "27" + idle_timeout_remaining_unit: "Minutes" + ipv6_filter_name: "" + index: "3908" + ip_address: "169.254.60.1" + local_address_mask: "0.0.0.0" + local_address_network: "0.0.0.0" + local_authentication_mode: "" + login_day: "18" + login_month: "May" + login_time: "16:33:31" + login_time_zone: "PDT" + login_weekday: "Fri" + login_year: "2018" + negotiaion_mode: "" + packets_received: "72095" + packets_transmitted: "93673" + pfs_group: "" + posture_holdtime_remaining: "" + posture_holdtime_remaining_unit: "" + posture_token: "" + prf: "" + protocol: "IKEv2 IPsec" + redirect_url: "" + rekey_data_interval: "4608000" + rekey_data_interval_unit: "K-Bytes" + rekey_data_remaining: "4607999" + rekey_data_remaining_unit: "K-Bytes" + rekey_interval: "3600" + rekey_interval_unit: "Seconds" + rekey_time_left: "3094" + rekey_time_left_unit: "Seconds" + remote_address_mask: "255.255.255.248" + remote_address_network: "10.250.253.120" + remote_authentication_mode: "" + reval_timeout: "" + reval_timeout_remaining: "" + reval_timeout_remaining_unit: "" + reval_timout_unit: "" + session_id: "2" + session_type: "LAN-to-LAN" + status_query_interval: "" + status_query_interval_unit: "" + total_bytes_received: "19006105" + total_bytes_transmitted: "31086457" + total_ike_sessions: "1" + total_ipsec_sessions: "1" + udp_src_port: "" + udp_dst_port: "" diff --git a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.raw b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.raw new file mode 100644 index 0000000000..e1b8e72e96 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.raw @@ -0,0 +1,215 @@ +Session Type: LAN-to-LAN Detailed + +Connection : 169.254.107.1 +Index : 6539 IP Addr : 169.254.107.1 +Protocol : IKE IPsec +Encryption : AES128 AES256 Hashing : SHA1 +Bytes Tx : 3419524983 Bytes Rx : 275429647 +Login Time : 10:58:15 PDT Thu Jul 19 2018 +Duration : 10d 7h:26m:52s + +IKE Tunnels: 1 +IPsec Tunnels: 5 + +IKE: + Tunnel ID : 6539.1 + UDP Src Port : 500 UDP Dst Port : 500 + IKE Neg Mode : Main Auth Mode : preSharedKeys + Encryption : AES128 Hashing : SHA1 + Rekey Int (T): 86400 Seconds Rekey Left(T): 76776 Seconds + D/H Group : 2 + Filter Name : TestFilter + IPv6 Filter : + +IPsec: + Tunnel ID : 6539.2 + Local Addr : 169.254.44.0/255.255.252.0/0/0 + Remote Addr : 1.1.1.1/255.255.255.255/0/0 + Encryption : AES256 Hashing : SHA1 + Encapsulation: Tunnel + Rekey Int (T): 28800 Seconds Rekey Left(T): 19174 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 4586873 K-Bytes + Idle Time Out: 30 Minutes Idle TO Left : 29 Minutes + Bytes Tx : 3256642959 Bytes Rx : 268532214 + Pkts Tx : 4539818 Pkts Rx : 2958857 + +IPsec: + Tunnel ID : 6539.3 + Local Addr : 169.254.44.0/255.255.255.0/0/0 + Remote Addr : 1.1.1.1/255.255.255.255/0/0 + Encryption : AES256 Hashing : SHA1 + Encapsulation: Tunnel + Rekey Int (T): 28800 Seconds Rekey Left(T): 19482 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 4607988 K-Bytes + Idle Time Out: 30 Minutes Idle TO Left : 23 Minutes + Bytes Tx : 162882024 Bytes Rx : 6897433 + Pkts Tx : 136730 Pkts Rx : 121906 + +NAC: + Reval Int (T): 0 Seconds Reval Left(T): 0 Seconds + SQ Int (T) : 0 Seconds EoU Age(T) : 890906 Seconds + Hold Left (T): 0 Seconds Posture Token: + Redirect URL : + +Connection : 169.254.104.1 +Index : 7379 IP Addr : 169.254.104.1 +Protocol : IKE IPsec +Encryption : AES256 Hashing : SHA1 +Bytes Tx : 2005616 Bytes Rx : 79487 +Login Time : 04:00:32 PDT Sun Jul 29 2018 +Duration : 14h:24m:35s + +IKE Tunnels: 1 +IPsec Tunnels: 4 + +IKE: + Tunnel ID : 7379.1 + UDP Src Port : 500 UDP Dst Port : 500 + IKE Neg Mode : Main Auth Mode : preSharedKeys + Encryption : AES256 Hashing : SHA1 + Rekey Int (T): 28800 Seconds Rekey Left(T): 20119 Seconds + D/H Group : 2 + Filter Name : acl_SOURCE_MED + IPv6 Filter : + +IPsec: + Tunnel ID : 7379.6 + Local Addr : 169.254.32.0/255.255.252.0/0/0 + Remote Addr : 172.20.8.183/255.255.255.255/0/0 + Encryption : AES256 Hashing : SHA1 + Encapsulation: Tunnel + Rekey Int (T): 28800 Seconds Rekey Left(T): 6889 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 4607947 K-Bytes + Idle Time Out: 30 Minutes Idle TO Left : 29 Minutes + Bytes Tx : 140576 Bytes Rx : 79487 + Pkts Tx : 1520 Pkts Rx : 1509 + +IPsec: + Tunnel ID : 7379.8 + Local Addr : 169.254.20.23/255.255.252.0/0/0 + Remote Addr : 172.20.8.98/255.255.255.255/0/0 + Encryption : AES256 Hashing : SHA1 + Encapsulation: Tunnel + Rekey Int (T): 28800 Seconds Rekey Left(T): 25947 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 0 K-Bytes + Idle Time Out: 30 Minutes Idle TO Left : 29 Minutes + Bytes Tx : 102540 Bytes Rx : 0 + Pkts Tx : 1709 Pkts Rx : 0 + +NAC: + Reval Int (T): 0 Seconds Reval Left(T): 0 Seconds + SQ Int (T) : 0 Seconds EoU Age(T) : 51881 Seconds + Hold Left (T): 0 Seconds Posture Token: + Redirect URL : + +Connection : 169.254.99.1 +Index : 79 IP Addr : 169.254.99.1 +Protocol : IKEv1 IPsec +Encryption : IKEv1: (1)3DES IPsec: (2)3DES +Hashing : IKEv1: (1)SHA1 IPsec: (2)MD5 +Bytes Tx : 3722401287 Bytes Rx : 445893825 +Login Time : 16:01:03 MDT Fri Jul 6 2018 +Duration : 21d 15h:39m:02s + +IKEv1 Tunnels: 1 +IPsec Tunnels: 3 + +IKEv1: + Tunnel ID : 79.1 + UDP Src Port : 500 UDP Dst Port : 500 + IKE Neg Mode : Main Auth Mode : preSharedKeys + Encryption : 3DES Hashing : SHA1 + Rekey Int (T): 28800 Seconds Rekey Left(T): 18795 Seconds + D/H Group : 2 + Filter Name : TestFilter + +IPsec: + Tunnel ID : 79.3 + Local Addr : 169.254.20.22/255.255.255.255/0/0 + Remote Addr : 192.168.6.74/255.255.255.255/0/0 + Encryption : 3DES Hashing : MD5 + Encapsulation: Tunnel + Rekey Int (T): 28800 Seconds Rekey Left(T): 18904 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 4607926 K-Bytes + Idle Time Out: 30 Minutes Idle TO Left : 28 Minutes + Bytes Tx : 12721728 Bytes Rx : 2387175 + Pkts Tx : 29085 Pkts Rx : 29509 + +IPsec: + Tunnel ID : 79.71 + Local Addr : 169.254.20.21/255.255.255.255/0/0 + Remote Addr : 192.168.6.71/255.255.255.255/0/0 + Encryption : 3DES Hashing : MD5 + Encapsulation: Tunnel + Rekey Int (T): 28800 Seconds Rekey Left(T): 25194 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 4607999 K-Bytes + Idle Time Out: 30 Minutes Idle TO Left : 25 Minutes + Bytes Tx : 519703 Bytes Rx : 437245 + Pkts Tx : 8681 Pkts Rx : 8677 + +Connection : 169.254.44.1 +Index : 5092 IP Addr : 169.254.44.1 +Protocol : IKEv1 IPsec +Encryption : IKEv1: (1)AES256 IPsec: (1)AES128 +Hashing : IKEv1: (1)SHA1 IPsec: (1)SHA1 +Bytes Tx : 2994391497 Bytes Rx : 337511800 +Login Time : 01:00:20 MDT Wed Jul 11 2018 +Duration : 17d 6h:39m:45s + +IKEv1 Tunnels: 1 +IPsec Tunnels: 1 + +IKEv1: + Tunnel ID : 5092.1 + UDP Src Port : 500 UDP Dst Port : 500 + IKE Neg Mode : Main Auth Mode : preSharedKeys + Encryption : AES256 Hashing : SHA1 + Rekey Int (T): 28800 Seconds Rekey Left(T): 11946 Seconds + D/H Group : 2 + Filter Name : TestFilter + +IPsec: + Tunnel ID : 5092.2 + Local Addr : 169.254.20.20/255.255.255.255/0/0 + Remote Addr : 10.10.10.13/255.255.255.255/0/0 + Encryption : AES128 Hashing : SHA1 + Encapsulation: Tunnel PFS Group : 2 + Rekey Int (T): 3600 Seconds Rekey Left(T): 2132 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 4607009 K-Bytes + Idle Time Out: 30 Minutes Idle TO Left : 29 Minutes + Bytes Tx : 2994391497 Bytes Rx : 337511800 + Pkts Tx : 3539590 Pkts Rx : 2455325 + +Connection : 169.254.60.1 +Index : 3908 IP Addr : 169.254.60.1 +Protocol : IKEv2 IPsec +Encryption : IKEv2: (1)AES256 IPsec: (1)AES256 +Hashing : IKEv2: (1)SHA1 IPsec: (1)SHA256 +Bytes Tx : 31086457 Bytes Rx : 19006105 +Login Time : 16:33:31 PDT Fri May 18 2018 +Duration : 79d 16h:39m:59s + +IKEv2 Tunnels: 1 +IPsec Tunnels: 1 + +IKEv2: + Tunnel ID : 3908.1 + UDP Src Port : 500 UDP Dst Port : 500 + Rem Auth Mode: preSharedKeys + Loc Auth Mode: preSharedKeys + Encryption : AES256 Hashing : SHA1 + Rekey Int (T): 86400 Seconds Rekey Left(T): 21432 Seconds + PRF : SHA1 D/H Group : 5 + Filter Name : + +IPsec: + Tunnel ID : 3908.2 + Local Addr : 0.0.0.0/0.0.0.0/0/0 + Remote Addr : 10.250.253.120/255.255.255.248/0/0 + Encryption : AES256 Hashing : SHA256 + Encapsulation: Tunnel + Rekey Int (T): 3600 Seconds Rekey Left(T): 3094 Seconds + Rekey Int (D): 4608000 K-Bytes Rekey Left(D): 4607999 K-Bytes + Idle Time Out: 30 Minutes Idle TO Left : 27 Minutes + Bytes Tx : 9993110 Bytes Rx : 12080533 + Pkts Tx : 93673 Pkts Rx : 72095 From 712f796a73b2070cf176b3a58b018f634ba39fa8 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Fri, 4 Jan 2019 21:39:20 -0800 Subject: [PATCH 204/628] ASA SHOW RESOURCE: Add new template (#325) ISSUE TYPE New Template Pull Request COMPONENT cisco_asa_show_resource_usage SUMMARY Add new template --- .../cisco_asa_show_resource_usage.template | 18 +++ templates/index | 1 + .../cisco_asa_show_resource_usage.parsed | 123 ++++++++++++++++++ .../cisco_asa_show_resource_usage.raw | 22 ++++ 4 files changed, 164 insertions(+) create mode 100644 templates/cisco_asa_show_resource_usage.template create mode 100644 tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.parsed create mode 100644 tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.raw diff --git a/templates/cisco_asa_show_resource_usage.template b/templates/cisco_asa_show_resource_usage.template new file mode 100644 index 0000000000..79a386c692 --- /dev/null +++ b/templates/cisco_asa_show_resource_usage.template @@ -0,0 +1,18 @@ +Value Required RESOURCE (.+?) +Value CURRENT (\d+) +Value PEAK (\d+) +Value LIMIT (\S+) +Value DENIED (\d+) +Value CONTEXT (.+?) + + +Start + ^Resource\s+Current\s+Peak\s+Limit\s+Denied\s+Context\s*$$ -> Start_record + ^\s*$$ + ^. -> Error + +Start_record + ^${RESOURCE}\s+${CURRENT}\s+${PEAK}\s+${LIMIT}\s+${DENIED}\s+${CONTEXT}\s*$$ -> Record + ^S\s+=\s+System:\s+Combined\s+context\s+limits + ^\s*$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index ee605753f3..45c2178778 100644 --- a/templates/index +++ b/templates/index @@ -105,6 +105,7 @@ cisco_asa_show_crypto_ikev1_sa_detail.template, .*, cisco_asa, sh[[ow]] cry[[pto cisco_asa_show_object-group_network.template, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] cisco_asa_show_running-config_ipsec.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] ips[[ec]] cisco_asa_show_crypto_ipsec_sa.template, .*, cisco_asa, sh[[ow]] cry[[pto]] ip[[sec]] sa +cisco_asa_show_resource_usage.template, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] cisco_asa_show_access-list.template, .*, cisco_asa, sh[[ow]] ac[[cess-list]] cisco_asa_show_interface.template, .*, cisco_asa, sh[[ow]] int[[erface]] cisco_asa_show_inventory.template, .*, cisco_asa, sh[[ow]] inven[[tory]] diff --git a/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.parsed b/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.parsed new file mode 100644 index 0000000000..07f1e46965 --- /dev/null +++ b/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.parsed @@ -0,0 +1,123 @@ +--- +parsed_sample: + +- context: admin + current: '0' + denied: '0' + limit: '5' + peak: '1' + resource: Telnet +- context: admin + current: '2' + denied: '0' + limit: '5' + peak: '5' + resource: SSH Server +- context: admin + current: '1' + denied: '18' + limit: '5' + peak: '5' + resource: ASDM +- context: admin + current: '0' + denied: '0' + limit: unlimited + peak: '1153' + resource: Syslogs [rate] +- context: admin + current: '177' + denied: '0' + limit: unlimited + peak: '319' + resource: Conns +- context: admin + current: '11' + denied: '0' + limit: unlimited + peak: '19' + resource: Hosts +- context: admin + current: '0' + denied: '0' + limit: unlimited + peak: '99' + resource: Inspects [rate] +- context: admin + current: '3' + denied: '0' + limit: unlimited + peak: '3' + resource: Routes +- context: DATA + current: '0' + denied: '0' + limit: unlimited + peak: '112' + resource: Syslogs [rate] +- context: DATA + current: '20' + denied: '0' + limit: unlimited + peak: '1031' + resource: Conns +- context: DATA + current: '18' + denied: '0' + limit: unlimited + peak: '28' + resource: Hosts +- context: DATA + current: '0' + denied: '0' + limit: unlimited + peak: '73' + resource: Inspects [rate] +- context: DATA + current: '30' + denied: '0' + limit: unlimited + peak: '30' + resource: Routes +- context: TEST + current: '329' + denied: '0' + limit: unlimited + peak: '6727' + resource: Syslogs [rate] +- context: TEST + current: '5802' + denied: '0' + limit: unlimited + peak: '32491' + resource: Conns +- context: TEST + current: '943' + denied: '0' + limit: unlimited + peak: '944' + resource: Xlates +- context: TEST + current: '2085' + denied: '0' + limit: unlimited + peak: '7120' + resource: Hosts +- context: TEST + current: '605' + denied: '0' + limit: unlimited + peak: '7235' + resource: Conns [rate] +- context: TEST + current: '510' + denied: '0' + limit: unlimited + peak: '3574' + resource: Inspects [rate] +- context: TEST + current: '701' + denied: '0' + limit: unlimited + peak: '701' + resource: Routes diff --git a/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.raw b/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.raw new file mode 100644 index 0000000000..ebfe2e9c20 --- /dev/null +++ b/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.raw @@ -0,0 +1,22 @@ +Resource Current Peak Limit Denied Context +Telnet 0 1 5 0 admin +SSH Server 2 5 5 0 admin +ASDM 1 5 5 18 admin +Syslogs [rate] 0 1153 unlimited 0 admin +Conns 177 319 unlimited 0 admin +Hosts 11 19 unlimited 0 admin +Inspects [rate] 0 99 unlimited 0 admin +Routes 3 3 unlimited 0 admin +Syslogs [rate] 0 112 unlimited 0 DATA +Conns 20 1031 unlimited 0 DATA +Hosts 18 28 unlimited 0 DATA +Inspects [rate] 0 73 unlimited 0 DATA +Routes 30 30 unlimited 0 DATA +Syslogs [rate] 329 6727 unlimited 0 TEST +Conns 5802 32491 unlimited 0 TEST +Xlates 943 944 unlimited 0 TEST +Hosts 2085 7120 unlimited 0 TEST +Conns [rate] 605 7235 unlimited 0 TEST +Inspects [rate] 510 3574 unlimited 0 TEST +Routes 701 701 unlimited 0 TEST +S = System: Combined context limits exceed the system limit; the system limit is shown From 3482a67c74a24e35e8194f6b070e7821a4bc8788 Mon Sep 17 00:00:00 2001 From: Jaydubya35 Date: Mon, 7 Jan 2019 08:33:04 -0600 Subject: [PATCH 205/628] Bugfix: cisco asa show access list (#313) ENHANCEMENTS: * `REMARK`: Allow for spaces in description field (`\S+` -> `.+?`) * Update regex lines to properly capture ICMP data for new output: - `ENTRY_ICMP_TYPE` - `ENTRY_ICMP_CODE` TEST FILES: * Update raw files to include broader test cases * Update parsed files to account for updates --- templates/cisco_asa_show_access-list.template | 8 +- .../cisco_asa_show_access-list.parsed | 1144 ++++++++++++++++- .../cisco_asa_show_access-list.raw | 21 +- 3 files changed, 1166 insertions(+), 7 deletions(-) diff --git a/templates/cisco_asa_show_access-list.template b/templates/cisco_asa_show_access-list.template index 98b04ee26c..05e95d9cf3 100644 --- a/templates/cisco_asa_show_access-list.template +++ b/templates/cisco_asa_show_access-list.template @@ -3,7 +3,7 @@ Value ACL_TOT_ELEM (\d+) Value ACL_NAME_HASH (0x\w+) Value TYPE (standard|extended) Value LINE_NUM (\d+) -Value REMARK (\S+) +Value REMARK (.+?) Value ACTION (permit|deny) Value PROTOCOL ([a-z]+) Value SVC_OBJECT_GRP (\S+) @@ -61,9 +61,9 @@ Value ENTRY_HASH (0x\w+) Start ^access\-list\s+${ACL_NAME};\s+${ACL_TOT_ELEM}\s+elements;\s+name\s+hash:\s+${ACL_NAME_HASH}\s* -> Record - ^access-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+remark\s+${REMARK}\s* -> Record - ^access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+${TYPE}\s+${ACTION}\s+(object\-group\s+${SVC_OBJECT_GRP}|object\s+${SVC_OBJECT}|${PROTOCOL})\s+(interface\s+${SRC_INTFC}|object\-group\s+${SRC_OBJECT_GRP}|object\s+${SRC_OBJECT}|host\s+${SRC_HOST}|${SRC_NETWORK}\s+${SRC_MASK}|${SRC_ANY})\s+(interface\s+${DST_INTFC}|object\-group\s+${DST_OBJECT_GRP}|object\s+${DST_OBJECT}|host\s+${DST_HOST}|${DST_NETWORK}\s+${DST_MASK}|${DST_ANY})\s+((eq\s+${DST_PORT}|object\-group\s+${DST_PORT_GRP}|object\s+${DST_PORT_OBJECT})\s+){0,1}((log\s+${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL})\s+){0,1}(${STATE}\s+){0,1}\(hitcnt=${HIT_COUNT}\)\s+(\(inactive\)\s+){0,1}${LINE_HASH}\s* -> Record - ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL_ICMP}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+{ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+{ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}(log\s+[a-z0-9]+\s+interval\s+\d+){0,1}\s+\((hitcnt=${ENTRY_HIT_COUNT}|${ENTRY_STATE})\)\s+${ENTRY_HASH}\s* -> Record + ^access-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+remark\s+${REMARK}\s*$$ -> Record + ^access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+${TYPE}\s+${ACTION}\s+(object\-group\s+${SVC_OBJECT_GRP}|object\s+${SVC_OBJECT}|${PROTOCOL})\s+(interface\s+${SRC_INTFC}|object\-group\s+${SRC_OBJECT_GRP}|object\s+${SRC_OBJECT}|host\s+${SRC_HOST}|${SRC_NETWORK}\s+${SRC_MASK}|${SRC_ANY})\s+(interface\s+${DST_INTFC}|object\-group\s+${DST_OBJECT_GRP}|object\s+${DST_OBJECT}|host\s+${DST_HOST}|${DST_NETWORK}\s+${DST_MASK}|${DST_ANY})\s+((eq\s+${DST_PORT}|object\-group\s+${DST_PORT_GRP}|object\s+${DST_PORT_OBJECT})\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}((log\s+${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL})\s+){0,1}(${STATE}\s+){0,1}\(hitcnt=${HIT_COUNT}\)\s+(\(inactive\)\s+){0,1}${LINE_HASH}\s* -> Record + ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL_ICMP}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}(log\s+${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL}\s+){0,1}\((hitcnt=${ENTRY_HIT_COUNT}|${ENTRY_STATE})\)\s+${ENTRY_HASH}\s* -> Record ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}((eq\s+${ENTRY_PORT}|lt\s+${ENTRY_PORT_LESS_THAN}|gt\s+${ENTRY_PORT_GREATER_THAN}|range\s+${ENTRY_PORT_RANGE_START}\s+${ENTRY_PORT_RANGE_END})\s+){0,1}(log\s+[a-z0-9]+\s+interval\s+\d+\s+){0,1}\((hitcnt=${ENTRY_HIT_COUNT}|${ENTRY_STATE})\)\s+${ENTRY_HASH}\s* -> Record ^.* -> Error "Did not match any rules" diff --git a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.parsed b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.parsed index bb6c6bb53c..3f218ae958 100644 --- a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.parsed +++ b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.parsed @@ -268,8 +268,8 @@ parsed_sample: dst_port: '' dst_port_grp: '' dst_port_object: '' - log_level: '' - log_interval: '' + log_level: 'informational' + log_interval: '300' state: '' hit_count: '' line_hash: '' @@ -3001,3 +3001,1143 @@ parsed_sample: entry_hit_count: '' entry_state: '' entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: '' + line_num: '17' + remark: '************ Allow ICMP *************' + action: '' + protocol: '' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: '' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '' + dst_mask: '' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '' + line_hash: '' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: '' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '18' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '' + dst_mask: '' + dst_any: 'any' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: 'informational' + log_interval: '300' + state: '' + hit_count: '31778' + line_hash: '0x6c633843' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'time-exceeded' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '19' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '' + dst_mask: '' + dst_any: 'any4' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: 'informational' + log_interval: '300' + state: '' + hit_count: '0' + line_hash: '0x19b0643c' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'time-exceeded' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '20' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '' + dst_mask: '' + dst_any: 'any4' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: 'informational' + log_interval: '300' + state: '' + hit_count: '1902659' + line_hash: '0x5e72d761' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'unreachable' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '21' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '' + dst_mask: '' + dst_any: 'any4' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: 'informational' + log_interval: '300' + state: '' + hit_count: '0' + line_hash: '0x2405f42c' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'echo' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '22' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '' + dst_mask: '' + dst_any: 'any4' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: 'informational' + log_interval: '300' + state: '' + hit_count: '572136' + line_hash: '0x95dca5e7' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'echo-reply' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '23' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.148.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x735d2ad8' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'echo' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '24' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.148.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x4b1cc532' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'echo-reply' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '25' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.148.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x3111e9c0' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'unreachable' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '26' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.148.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x7a963265' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'time-exceeded' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '27' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.147.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x07bfbf99' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'echo-reply' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '28' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.147.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x99e30c47' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'echo' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '29' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.147.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x91a15afa' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'unreachable' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '30' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.151.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0xfb31202c' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'echo-reply' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '31' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.147.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x2bc95316' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'time-exceeded' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '32' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.151.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x0f3edcdd' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'echo' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '33' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.151.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x7887741b' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'unreachable' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '34' + remark: '' + action: 'permit' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any4' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '169.254.151.0' + dst_mask: '255.255.0.0' + dst_any: '' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '0' + line_hash: '0x480bef5c' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: 'time-exceeded' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' +- acl_name: 'test' + acl_tot_elem: '' + acl_name_hash: '' + type: 'extended' + line_num: '35' + remark: '' + action: 'deny' + protocol: 'icmp' + svc_object_grp: '' + svc_object: '' + src_intfc: '' + src_object_grp: '' + src_object: '' + src_host: '' + src_network: '' + src_mask: '' + src_any: 'any' + dst_intfc: '' + dst_object_grp: '' + dst_object: '' + dst_host: '' + dst_network: '' + dst_mask: '' + dst_any: 'any' + dst_port: '' + dst_port_grp: '' + dst_port_object: '' + log_level: '' + log_interval: '' + state: '' + hit_count: '3' + line_hash: '0xff7fd0ca' + entry_protocol_icmp: '' + entry_protocol: '' + entry_src_fqdn: '' + entry_src_range_start: '' + entry_src_range_end: '' + entry_src_host: '' + entry_src_network: '' + entry_src_mask: '' + entry_src_any: '' + entry_src_fqdn_state: '' + entry_dst_fqdn: '' + entry_dst_range_start: '' + entry_dst_range_end: '' + entry_dst_host: '' + entry_dst_network: '' + entry_dst_mask: '' + entry_dst_any: '' + entry_dst_fqdn_state: '' + entry_icmp_type: '' + entry_icmp_code: '' + entry_port: '' + entry_port_less_than: '' + entry_port_greater_than: '' + entry_port_range_start: '' + entry_port_range_end: '' + entry_hit_count: '' + entry_state: '' + entry_hash: '' diff --git a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.raw b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.raw index 2cf0882326..d73049c4e8 100644 --- a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.raw +++ b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.raw @@ -47,4 +47,23 @@ access-list test line 13 extended permit object svc10 host 10.21.10.5 host 10.50 access-list test line 13 extended permit tcp host 10.21.10.5 host 10.50.20.10 range www 88 (hitcnt=0) 0xc766bdc7 access-list test line 14 extended permit tcp host 10.20.30.22 10.50.12.0 255.255.255.224 eq www (hitcnt=0) 0x3f0331e6 access-list test line 15 remark explicit-deny -access-list test line 16 extended deny ip any4 any (hitcnt=0) 0x60edeab9 +access-list test line 16 extended deny ip any4 any (hitcnt=0) 0x60edeab9 +access-list test line 17 remark ************ Allow ICMP ************* +access-list test line 18 extended permit icmp any any time-exceeded log informational interval 300 (hitcnt=31778) 0x6c633843 +access-list test line 19 extended permit icmp any4 any4 time-exceeded log informational interval 300 (hitcnt=0) 0x19b0643c +access-list test line 20 extended permit icmp any4 any4 unreachable log informational interval 300 (hitcnt=1902659) 0x5e72d761 +access-list test line 21 extended permit icmp any4 any4 echo log informational interval 300 (hitcnt=0) 0x2405f42c +access-list test line 22 extended permit icmp any4 any4 echo-reply log informational interval 300 (hitcnt=572136) 0x95dca5e7 +access-list test line 23 extended permit icmp any4 169.254.148.0 255.255.0.0 echo (hitcnt=0) 0x735d2ad8 +access-list test line 24 extended permit icmp any4 169.254.148.0 255.255.0.0 echo-reply (hitcnt=0) 0x4b1cc532 +access-list test line 25 extended permit icmp any4 169.254.148.0 255.255.0.0 unreachable (hitcnt=0) 0x3111e9c0 +access-list test line 26 extended permit icmp any4 169.254.148.0 255.255.0.0 time-exceeded (hitcnt=0) 0x7a963265 +access-list test line 27 extended permit icmp any4 169.254.147.0 255.255.0.0 echo-reply (hitcnt=0) 0x07bfbf99 +access-list test line 28 extended permit icmp any4 169.254.147.0 255.255.0.0 echo (hitcnt=0) 0x99e30c47 +access-list test line 29 extended permit icmp any4 169.254.147.0 255.255.0.0 unreachable (hitcnt=0) 0x91a15afa +access-list test line 30 extended permit icmp any4 169.254.151.0 255.255.0.0 echo-reply (hitcnt=0) 0xfb31202c +access-list test line 31 extended permit icmp any4 169.254.147.0 255.255.0.0 time-exceeded (hitcnt=0) 0x2bc95316 +access-list test line 32 extended permit icmp any4 169.254.151.0 255.255.0.0 echo (hitcnt=0) 0x0f3edcdd +access-list test line 33 extended permit icmp any4 169.254.151.0 255.255.0.0 unreachable (hitcnt=0) 0x7887741b +access-list test line 34 extended permit icmp any4 169.254.151.0 255.255.0.0 time-exceeded (hitcnt=0) 0x480bef5c +access-list test line 35 extended deny icmp any any (hitcnt=3) 0xff7fd0ca From 6a0ab67da65f9b54fe90c2eb77211b89b8b28fbd Mon Sep 17 00:00:00 2001 From: enzzzy <7521270+enzzzy@users.noreply.github.com> Date: Mon, 7 Jan 2019 23:04:37 +0100 Subject: [PATCH 206/628] * Add INPUT_PACKETS, INPUT_ERRORS, OUTPUT_PACKETS, OUTPUT_ERRORS to cisco_ios_show_interfaces & cisco_nxos_show_interface templates (#307) * Updated cisco_ios_show_interfaces & cisco_nxos_show_interface tests, to take the new fields into account. --- templates/cisco_ios_show_interfaces.template | 8 + templates/cisco_nxos_show_interface.template | 9 +- .../cisco_ios_show_interfaces.parsed | 304 +-- .../cisco_ios_show_interfaces2.parsed | 2128 +++++++++-------- .../cisco_ios_show_interfaces3.parsed | 533 +++-- .../cisco_nxos_show_interface.parsed | 96 +- .../cisco_nxos_show_interface2.parsed | 192 +- 7 files changed, 1817 insertions(+), 1453 deletions(-) diff --git a/templates/cisco_ios_show_interfaces.template b/templates/cisco_ios_show_interfaces.template index c5a43d64ac..72df5ad28d 100644 --- a/templates/cisco_ios_show_interfaces.template +++ b/templates/cisco_ios_show_interfaces.template @@ -15,6 +15,10 @@ Value ENCAPSULATION (.+?) Value QUEUE_STRATEGY (.+) Value INPUT_RATE (\d+) Value OUTPUT_RATE (\d+) +Value INPUT_PACKETS (\d+) +Value OUTPUT_PACKETS (\d+) +Value INPUT_ERRORS (\d+) +Value OUTPUT_ERRORS (\d+) Start ^\S+\s+is\s+.+?,\s+line\s+protocol.*$$ -> Continue.Record @@ -29,3 +33,7 @@ Start ^\s+${DUPLEX},\s+${SPEED},.+$$ ^.*input\s+rate\s+${INPUT_RATE}.+$$ ^.*output\s+rate\s+${OUTPUT_RATE}.+$$ + ^\s+${INPUT_PACKETS}\s+packets\s+input,\s+\d+\s+bytes,\s+\d+\s+no\s+buffer\s*$$ + ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+\d+\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored\s*$$ + ^\s+${OUTPUT_PACKETS}\s+packets\s+output,\s+\d+\s+bytes,\s+\d+\s+underruns\s*$$ + ^\s+${OUTPUT_ERRORS}\s+output\s+errors,\s+\d+\s+collisions,\s+\d+\s+interface\s+resets\s*$$ diff --git a/templates/cisco_nxos_show_interface.template b/templates/cisco_nxos_show_interface.template index e71793f412..ac74b48517 100644 --- a/templates/cisco_nxos_show_interface.template +++ b/templates/cisco_nxos_show_interface.template @@ -9,6 +9,10 @@ Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) Value MTU (\d+) Value DUPLEX (.+duplex?) Value SPEED (.+?) +Value INPUT_PACKETS (\d+) +Value OUTPUT_PACKETS (\d+) +Value INPUT_ERRORS (\d+) +Value OUTPUT_ERRORS (\d+) Value BANDWIDTH (\d+\s+\w+) Value DELAY (\d+\s+\w+) Value ENCAPSULATION (\w+) @@ -24,4 +28,7 @@ Start ^\s+${DUPLEX}, ${SPEED}(,|$$) ^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY} ^\s+Encapsulation\s+${ENCAPSULATION} - ^\s*$$ + ^\s+${INPUT_PACKETS}\s+input\s+packets\s+\d+\s+bytes\s*$$ + ^\s+${INPUT_ERRORS}\s+input\s+error\s+\d+\s+short\s+frame\s+\d+\s+overrun\s+\d+\s+underrun\s+\d+\s+ignored\s*$$ + ^\s+${OUTPUT_PACKETS}\s+output\s+packets\s+\d+\s+bytes\s*$$ + ^\s+${OUTPUT_ERRORS}\s+output\s+error\s+\d+\s+collision\s+\d+\s+deferred\s+\d+\s+late\s+collision\s*$$ diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed index 683392050c..d7612a7c6f 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed @@ -1,139 +1,171 @@ --- parsed_sample: -- address: fa16.3e57.336f - bandwidth: 1000000 Kbit - bia: fa16.3e57.336f - delay: 10 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_rate: '0' - interface: GigabitEthernet0/0 - ip_address: '' - link_status: reset - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3e4f.41cc - bandwidth: 1000000 Kbit - bia: fa16.3e4f.41cc - delay: 10 usec - description: to iosvl2-2 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_rate: '0' - interface: GigabitEthernet0/1 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3ea3.3e49 - bandwidth: 1000000 Kbit - bia: fa16.3ea3.3e49 - delay: 10 usec - description: to iosvl2-4 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_rate: '0' - interface: GigabitEthernet0/2 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '1000' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3e31.2c47 - bandwidth: 1000000 Kbit - bia: fa16.3e31.2c47 - delay: 10 usec - description: to iosvl2-3 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_rate: '0' - interface: GigabitEthernet0/3 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '1000' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3ec8.50ab - bandwidth: 1000000 Kbit - bia: fa16.3ec8.50ab - delay: 10 usec - description: to iosvl2-3 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_rate: '0' - interface: GigabitEthernet1/0 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '2000' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3e4f.41cc - bandwidth: 100000 Kbit - bia: fa16.3e4f.41cc - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: EtherChannel - input_rate: '0' - interface: Port-channel1 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: '' - bandwidth: 8000000 Kbit - bia: '' - delay: 5000 usec - description: Loopback - duplex: '' - encapsulation: LOOPBACK - hardware_type: Loopback - input_rate: '0' - interface: Loopback0 - ip_address: '' - link_status: up - mtu: '1514' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: fa16.3e57.8001 - bandwidth: 1000000 Kbit - bia: fa16.3e57.8001 - delay: 10 usec - description: OOB Management - duplex: '' - encapsulation: ARPA - hardware_type: Ethernet SVI - input_rate: '0' - interface: Vlan1 - ip_address: 10.255.0.16/16 - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' +- address: fa16.3e57.336f + bandwidth: 1000000 Kbit + bia: fa16.3e57.336f + delay: 10 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: iGbE + input_errors: '0' + input_packets: '324' + input_rate: '0' + interface: GigabitEthernet0/0 + ip_address: '' + link_status: reset + mtu: '1500' + output_errors: '0' + output_packets: '703' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: fa16.3e4f.41cc + bandwidth: 1000000 Kbit + bia: fa16.3e4f.41cc + delay: 10 usec + description: to iosvl2-2 + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: iGbE + input_errors: '0' + input_packets: '83' + input_rate: '0' + interface: GigabitEthernet0/1 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '15513' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: Auto-speed +- address: fa16.3ea3.3e49 + bandwidth: 1000000 Kbit + bia: fa16.3ea3.3e49 + delay: 10 usec + description: to iosvl2-4 + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: iGbE + input_errors: '0' + input_packets: '8677' + input_rate: '0' + interface: GigabitEthernet0/2 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '420798' + output_rate: '1000' + protocol_status: up (connected) + queue_strategy: fifo + speed: Auto-speed +- address: fa16.3e31.2c47 + bandwidth: 1000000 Kbit + bia: fa16.3e31.2c47 + delay: 10 usec + description: to iosvl2-3 + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: iGbE + input_errors: '0' + input_packets: '8638' + input_rate: '0' + interface: GigabitEthernet0/3 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '420819' + output_rate: '1000' + protocol_status: up (connected) + queue_strategy: fifo + speed: Auto-speed +- address: fa16.3ec8.50ab + bandwidth: 1000000 Kbit + bia: fa16.3ec8.50ab + delay: 10 usec + description: to iosvl2-3 + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: iGbE + input_errors: '0' + input_packets: '8627' + input_rate: '0' + interface: GigabitEthernet1/0 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '420790' + output_rate: '2000' + protocol_status: up (connected) + queue_strategy: fifo + speed: Auto-speed +- address: fa16.3e4f.41cc + bandwidth: 100000 Kbit + bia: fa16.3e4f.41cc + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: EtherChannel + input_errors: '0' + input_packets: '85' + input_rate: '0' + interface: Port-channel1 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: '' + bandwidth: 8000000 Kbit + bia: '' + delay: 5000 usec + description: Loopback + duplex: '' + encapsulation: LOOPBACK + hardware_type: Loopback + input_errors: '' + input_packets: '0' + input_rate: '0' + interface: Loopback0 + ip_address: '' + link_status: up + mtu: '1514' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: fa16.3e57.8001 + bandwidth: 1000000 Kbit + bia: fa16.3e57.8001 + delay: 10 usec + description: OOB Management + duplex: '' + encapsulation: ARPA + hardware_type: Ethernet SVI + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: Vlan1 + ip_address: 10.255.0.16/16 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '4' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed index c6e9494e4a..2e0a401068 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed @@ -1,955 +1,1179 @@ --- parsed_sample: -- address: 0014.1c57.a4c0 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c0 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_rate: '0' - interface: Vlan1 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a4c1 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c1 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_rate: '0' - interface: Vlan50 - ip_address: 10.1.50.1/24 - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a4c2 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c2 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_rate: '2000' - interface: Vlan100 - ip_address: 10.1.100.1/24 - link_status: up - mtu: '1500' - output_rate: '2000' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a4c3 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c3 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_rate: '0' - interface: Vlan254 - ip_address: 10.1.254.1/24 - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a483 - bandwidth: 100000 Kbit - bia: 0014.1c57.a483 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '182000' - interface: FastEthernet1/0/1 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '38883000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a484 - bandwidth: 100000 Kbit - bia: 0014.1c57.a484 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '38882000' - interface: FastEthernet1/0/2 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '182000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a485 - bandwidth: 100000 Kbit - bia: 0014.1c57.a485 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/3 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '1000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a486 - bandwidth: 10000 Kbit - bia: 0014.1c57.a486 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/4 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a487 - bandwidth: 10000 Kbit - bia: 0014.1c57.a487 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/5 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a488 - bandwidth: 10000 Kbit - bia: 0014.1c57.a488 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/6 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a489 - bandwidth: 10000 Kbit - bia: 0014.1c57.a489 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/7 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a48a - bandwidth: 10000 Kbit - bia: 0014.1c57.a48a - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/8 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a48b - bandwidth: 100000 Kbit - bia: 0014.1c57.a48b - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '38871000' - interface: FastEthernet1/0/9 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '174000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a48c - bandwidth: 100000 Kbit - bia: 0014.1c57.a48c - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/10 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a48d - bandwidth: 100000 Kbit - bia: 0014.1c57.a48d - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/11 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a48e - bandwidth: 100000 Kbit - bia: 0014.1c57.a48e - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/12 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a48f - bandwidth: 100000 Kbit - bia: 0014.1c57.a48f - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/13 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a490 - bandwidth: 100000 Kbit - bia: 0014.1c57.a490 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/14 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a491 - bandwidth: 100000 Kbit - bia: 0014.1c57.a491 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/15 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a492 - bandwidth: 100000 Kbit - bia: 0014.1c57.a492 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/16 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a493 - bandwidth: 100000 Kbit - bia: 0014.1c57.a493 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/17 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a494 - bandwidth: 100000 Kbit - bia: 0014.1c57.a494 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/18 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a495 - bandwidth: 100000 Kbit - bia: 0014.1c57.a495 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/19 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a496 - bandwidth: 100000 Kbit - bia: 0014.1c57.a496 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/20 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a497 - bandwidth: 100000 Kbit - bia: 0014.1c57.a497 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/21 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a498 - bandwidth: 100000 Kbit - bia: 0014.1c57.a498 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/22 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a499 - bandwidth: 100000 Kbit - bia: 0014.1c57.a499 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/23 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49a - bandwidth: 100000 Kbit - bia: 0014.1c57.a49a - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/24 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a49d - bandwidth: 10000 Kbit - bia: 0014.1c57.a49d - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/25 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49e - bandwidth: 10000 Kbit - bia: 0014.1c57.a49e - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/26 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49f - bandwidth: 100000 Kbit - bia: 0014.1c57.a49f - delay: 100 usec - description: '' - duplex: Half-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/27 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a0 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a0 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/28 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a1 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a1 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '1000' - interface: FastEthernet1/0/29 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '2000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a2 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a2 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/30 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a3 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a3 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/31 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a4 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a4 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/32 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a5 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a5 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/33 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a6 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a6 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/34 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a7 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a7 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '3000' - interface: FastEthernet1/0/35 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '2000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a8 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a8 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/36 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a9 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a9 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/37 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4aa - bandwidth: 10000 Kbit - bia: 0014.1c57.a4aa - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/38 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ab - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ab - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/39 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ac - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ac - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/40 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ad - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ad - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/41 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ae - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ae - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/42 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4af - bandwidth: 100000 Kbit - bia: 0014.1c57.a4af - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/43 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b0 - bandwidth: 10000 Kbit - bia: 0014.1c57.a4b0 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/44 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b1 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4b1 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/45 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4b2 - bandwidth: 10000 Kbit - bia: 0014.1c57.a4b2 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/46 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b3 - bandwidth: 10000 Kbit - bia: 0014.1c57.a4b3 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '0' - interface: FastEthernet1/0/47 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b4 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4b4 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_rate: '180000' - interface: FastEthernet1/0/48 - ip_address: '' - link_status: up - mtu: '1500' - output_rate: '38881000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a481 - bandwidth: 10000 Kbit - bia: 0014.1c57.a481 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_rate: '0' - interface: GigabitEthernet1/0/1 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a482 - bandwidth: 10000 Kbit - bia: 0014.1c57.a482 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_rate: '0' - interface: GigabitEthernet1/0/2 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49b - bandwidth: 10000 Kbit - bia: 0014.1c57.a49b - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_rate: '0' - interface: GigabitEthernet1/0/3 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49c - bandwidth: 10000 Kbit - bia: 0014.1c57.a49c - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_rate: '0' - interface: GigabitEthernet1/0/4 - ip_address: '' - link_status: down - mtu: '1500' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed +- address: 0014.1c57.a4c0 + bandwidth: 1000000 Kbit + bia: 0014.1c57.a4c0 + delay: 10 usec + description: '' + duplex: '' + encapsulation: ARPA + hardware_type: EtherSVI + input_errors: '0' + input_packets: '37453340' + input_rate: '0' + interface: Vlan1 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: 0014.1c57.a4c1 + bandwidth: 1000000 Kbit + bia: 0014.1c57.a4c1 + delay: 10 usec + description: '' + duplex: '' + encapsulation: ARPA + hardware_type: EtherSVI + input_errors: '0' + input_packets: '3772' + input_rate: '0' + interface: Vlan50 + ip_address: 10.1.50.1/24 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '3804' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: 0014.1c57.a4c2 + bandwidth: 1000000 Kbit + bia: 0014.1c57.a4c2 + delay: 10 usec + description: '' + duplex: '' + encapsulation: ARPA + hardware_type: EtherSVI + input_errors: '0' + input_packets: '6313297' + input_rate: '2000' + interface: Vlan100 + ip_address: 10.1.100.1/24 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '10453439' + output_rate: '2000' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: 0014.1c57.a4c3 + bandwidth: 1000000 Kbit + bia: 0014.1c57.a4c3 + delay: 10 usec + description: '' + duplex: '' + encapsulation: ARPA + hardware_type: EtherSVI + input_errors: '0' + input_packets: '7881502' + input_rate: '0' + interface: Vlan254 + ip_address: 10.1.254.1/24 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '47843' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: 0014.1c57.a483 + bandwidth: 100000 Kbit + bia: 0014.1c57.a483 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '1' + input_packets: '8647579827' + input_rate: '182000' + interface: FastEthernet1/0/1 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '86941746207' + output_rate: '38883000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a484 + bandwidth: 100000 Kbit + bia: 0014.1c57.a484 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '86697408651' + input_rate: '38882000' + interface: FastEthernet1/0/2 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '8485702870' + output_rate: '182000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a485 + bandwidth: 100000 Kbit + bia: 0014.1c57.a485 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '233361378' + input_rate: '0' + interface: FastEthernet1/0/3 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '246128007' + output_rate: '1000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a486 + bandwidth: 10000 Kbit + bia: 0014.1c57.a486 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/4 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a487 + bandwidth: 10000 Kbit + bia: 0014.1c57.a487 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/5 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a488 + bandwidth: 10000 Kbit + bia: 0014.1c57.a488 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/6 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a489 + bandwidth: 10000 Kbit + bia: 0014.1c57.a489 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/7 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a48a + bandwidth: 10000 Kbit + bia: 0014.1c57.a48a + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/8 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a48b + bandwidth: 100000 Kbit + bia: 0014.1c57.a48b + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '86293954347' + input_rate: '38871000' + interface: FastEthernet1/0/9 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '8120676183' + output_rate: '174000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a48c + bandwidth: 100000 Kbit + bia: 0014.1c57.a48c + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '85011546' + input_rate: '0' + interface: FastEthernet1/0/10 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '118427887' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a48d + bandwidth: 100000 Kbit + bia: 0014.1c57.a48d + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '13503663' + input_rate: '0' + interface: FastEthernet1/0/11 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '96706284' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a48e + bandwidth: 100000 Kbit + bia: 0014.1c57.a48e + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '566684' + input_rate: '0' + interface: FastEthernet1/0/12 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '10387099' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a48f + bandwidth: 100000 Kbit + bia: 0014.1c57.a48f + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '5093298' + input_rate: '0' + interface: FastEthernet1/0/13 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '35059143' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a490 + bandwidth: 100000 Kbit + bia: 0014.1c57.a490 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '4381776' + input_rate: '0' + interface: FastEthernet1/0/14 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '33579140' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a491 + bandwidth: 100000 Kbit + bia: 0014.1c57.a491 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '6095906' + input_rate: '0' + interface: FastEthernet1/0/15 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '31933579' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a492 + bandwidth: 100000 Kbit + bia: 0014.1c57.a492 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '3048741' + input_rate: '0' + interface: FastEthernet1/0/16 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '23191458' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a493 + bandwidth: 100000 Kbit + bia: 0014.1c57.a493 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '515815' + input_rate: '0' + interface: FastEthernet1/0/17 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '3364092' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a494 + bandwidth: 100000 Kbit + bia: 0014.1c57.a494 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '56335' + input_rate: '0' + interface: FastEthernet1/0/18 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '2263838' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a495 + bandwidth: 100000 Kbit + bia: 0014.1c57.a495 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '2154038' + input_rate: '0' + interface: FastEthernet1/0/19 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '15816478' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a496 + bandwidth: 100000 Kbit + bia: 0014.1c57.a496 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '2238092' + input_rate: '0' + interface: FastEthernet1/0/20 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '15877977' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a497 + bandwidth: 100000 Kbit + bia: 0014.1c57.a497 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '1' + input_packets: '4942593' + input_rate: '0' + interface: FastEthernet1/0/21 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '43723513' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a498 + bandwidth: 100000 Kbit + bia: 0014.1c57.a498 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '1' + input_packets: '6201152' + input_rate: '0' + interface: FastEthernet1/0/22 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '43660027' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a499 + bandwidth: 100000 Kbit + bia: 0014.1c57.a499 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/23 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '56' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a49a + bandwidth: 100000 Kbit + bia: 0014.1c57.a49a + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '2397801' + input_rate: '0' + interface: FastEthernet1/0/24 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '45635335' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a49d + bandwidth: 10000 Kbit + bia: 0014.1c57.a49d + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/25 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a49e + bandwidth: 10000 Kbit + bia: 0014.1c57.a49e + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/26 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a49f + bandwidth: 100000 Kbit + bia: 0014.1c57.a49f + delay: 100 usec + description: '' + duplex: Half-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '288816' + input_rate: '0' + interface: FastEthernet1/0/27 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '55357995' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a0 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a0 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '2' + input_packets: '295313' + input_rate: '0' + interface: FastEthernet1/0/28 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '55364859' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a1 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a1 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '28898' + input_packets: '39214781' + input_rate: '1000' + interface: FastEthernet1/0/29 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '90202230' + output_rate: '2000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a2 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a2 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '4811284' + input_rate: '0' + interface: FastEthernet1/0/30 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '55162378' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a3 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a3 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '2255624' + input_rate: '0' + interface: FastEthernet1/0/31 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '15969856' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a4 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a4 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '5743877' + input_rate: '0' + interface: FastEthernet1/0/32 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '20133314' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a5 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a5 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '1' + input_packets: '11086568' + input_rate: '0' + interface: FastEthernet1/0/33 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '46398900' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a6 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a6 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '1071483' + input_rate: '0' + interface: FastEthernet1/0/34 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '11192764' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a7 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a7 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '252774135' + input_rate: '3000' + interface: FastEthernet1/0/35 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '136849790' + output_rate: '2000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a8 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a8 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '30561744' + input_rate: '0' + interface: FastEthernet1/0/36 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '25816556' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a9 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a9 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '23' + input_rate: '0' + interface: FastEthernet1/0/37 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '110' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4aa + bandwidth: 10000 Kbit + bia: 0014.1c57.a4aa + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/38 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4ab + bandwidth: 10000 Kbit + bia: 0014.1c57.a4ab + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/39 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4ac + bandwidth: 10000 Kbit + bia: 0014.1c57.a4ac + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/40 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4ad + bandwidth: 10000 Kbit + bia: 0014.1c57.a4ad + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/41 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4ae + bandwidth: 10000 Kbit + bia: 0014.1c57.a4ae + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/42 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4af + bandwidth: 100000 Kbit + bia: 0014.1c57.a4af + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '33944' + input_rate: '0' + interface: FastEthernet1/0/43 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '52215' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4b0 + bandwidth: 10000 Kbit + bia: 0014.1c57.a4b0 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/44 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4b1 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4b1 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '1103' + input_rate: '0' + interface: FastEthernet1/0/45 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '10099477' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4b2 + bandwidth: 10000 Kbit + bia: 0014.1c57.a4b2 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/46 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4b3 + bandwidth: 10000 Kbit + bia: 0014.1c57.a4b3 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/47 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4b4 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4b4 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '8407299374' + input_rate: '180000' + interface: FastEthernet1/0/48 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '86731716396' + output_rate: '38881000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a481 + bandwidth: 10000 Kbit + bia: 0014.1c57.a481 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Gigabit Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: GigabitEthernet1/0/1 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a482 + bandwidth: 10000 Kbit + bia: 0014.1c57.a482 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Gigabit Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: GigabitEthernet1/0/2 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a49b + bandwidth: 10000 Kbit + bia: 0014.1c57.a49b + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Gigabit Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: GigabitEthernet1/0/3 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a49c + bandwidth: 10000 Kbit + bia: 0014.1c57.a49c + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Gigabit Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: GigabitEthernet1/0/4 + ip_address: '' + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed index 0e0e34932b..3f829e58e9 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed @@ -1,240 +1,297 @@ --- parsed_sample: - - address: '000f.352d.2381' - bandwidth: '100000 Kbit' - bia: '000f.352d.2381' - delay: '100 usec' - description: 'Connects to LAN' - duplex: 'Full Duplex' - encapsulation: '802.1Q Virtual LAN' - hardware_type: 'MV96340 Ethernet' - input_rate: '95000' - interface: 'GigabitEthernet0/0' - ip_address: '' - link_status: 'up' - mtu: '1500' - output_rate: '90000' - protocol_status: 'up' - queue_strategy: 'fifo' - speed: '100Mbps' - - address: '000f.352d.2381' - bandwidth: '100000 Kbit' - bia: '000f.352d.2381' - delay: '100 usec' - description: 'LAN' - duplex: '' - encapsulation: '802.1Q Virtual LAN' - hardware_type: 'MV96340 Ethernet' - input_rate: '' - interface: 'GigabitEthernet0/0.6' - ip_address: '192.27.6.129/26' - link_status: 'up' - mtu: '1500' - output_rate: '' - protocol_status: 'up' - queue_strategy: '' - speed: '' - - address: '000f.352d.2381' - bandwidth: '100000 Kbit' - bia: '000f.352d.2381' - delay: '100 usec' - description: 'Wireless LAN' - duplex: '' - encapsulation: '802.1Q Virtual LAN' - hardware_type: 'MV96340 Ethernet' - input_rate: '' - interface: 'GigabitEthernet0/0.44' - ip_address: '192.22.44.193/26' - link_status: 'up' - mtu: '1500' - output_rate: '' - protocol_status: 'up' - queue_strategy: '' - speed: '' - - address: '000f.352d.2381' - bandwidth: '100000 Kbit' - bia: '000f.352d.2381' - delay: '100 usec' - description: 'Voice LAN' - duplex: '' - encapsulation: '802.1Q Virtual LAN' - hardware_type: 'MV96340 Ethernet' - input_rate: '' - interface: 'GigabitEthernet0/0.188' - ip_address: '192.24.188.65/26' - link_status: 'up' - mtu: '1500' - output_rate: '' - protocol_status: 'up' - queue_strategy: '' - speed: '' - - address: '000f.352d.2381' - bandwidth: '100000 Kbit' - bia: '000f.352d.2381' - delay: '100 usec' - description: 'Native Vlan' - duplex: '' - encapsulation: '802.1Q Virtual LAN' - hardware_type: 'MV96340 Ethernet' - input_rate: '' - interface: 'GigabitEthernet0/0.666' - ip_address: '' - link_status: 'up' - mtu: '1500' - output_rate: '' - protocol_status: 'up' - queue_strategy: '' - speed: '' - - address: '000f.352d.2382' - bandwidth: '1000000 Kbit' - bia: '000f.352d.2382' - delay: '10 usec' - description: 'NOT IN USE' - duplex: 'Auto Duplex' - encapsulation: 'ARPA' - hardware_type: 'MV96340 Ethernet' - input_rate: '0' - interface: 'GigabitEthernet0/1' - ip_address: '' - link_status: 'administratively down' - mtu: '1500' - output_rate: '0' - protocol_status: 'down' - queue_strategy: 'fifo' - speed: 'Auto Speed' - - address: 'b838.6148.8780' - bandwidth: '10000 Kbit' - bia: 'b838.6148.8780' - delay: '100 usec' - description: 'connection to Provider' - encapsulation: '802.1Q Virtual LAN' - duplex: 'Full-duplex' - hardware_type: 'FastEthernet' - input_rate: '96000' - interface: 'FastEthernet0/1/0' - ip_address: '' - link_status: 'up' - mtu: '1500' - output_rate: '111000' - protocol_status: 'up' - queue_strategy: 'Class-based queueing' - speed: '100Mb/s' - - address: 'b838.6148.8780' - bandwidth: '10000 Kbit' - bia: 'b838.6148.8780' - delay: '100 usec' - description: 'AVPN Circuit' - duplex: '' - encapsulation: '802.1Q Virtual LAN' - hardware_type: 'FastEthernet' - input_rate: '' - interface: 'FastEthernet0/1/0.50' - ip_address: '192.20.194.29/30' - link_status: 'up' - mtu: '1500' - output_rate: '' - protocol_status: 'up' - queue_strategy: '' - speed: '' - - address: 'b838.6148.8781' - bandwidth: '100000 Kbit' - bia: 'b838.6148.8781' - delay: '100 usec' - description: 'NOT IN USE' - duplex: 'Auto-duplex' - encapsulation: 'ARPA' - hardware_type: 'FastEthernet' - input_rate: '0' - interface: 'FastEthernet0/1/1' - ip_address: '' - link_status: 'administratively down' - mtu: '1500' - output_rate: '0' - protocol_status: 'down' - queue_strategy: 'fifo' - speed: 'Auto Speed' - - address: '' - bandwidth: '8000000 Kbit' - bia: '' - delay: '5000 usec' - description: 'Loopback Interface' - duplex: '' - encapsulation: 'LOOPBACK' - hardware_type: 'Loopback' - input_rate: '0' - interface: 'Loopback0' - ip_address: '192.20.0.144/32' - link_status: 'up' - mtu: '1514' - protocol_status: 'up' - output_rate: '0' - queue_strategy: 'fifo' - speed: '' - - address: '' - bandwidth: '100 Kbit' - bia: '' - delay: '50000 usec' - description: '' - duplex: '' - encapsulation: 'TUNNEL' - hardware_type: 'Tunnel' - input_rate: '0' - interface: 'Tunnel0' - ip_address: '' - link_status: 'up' - mtu: '17912' - output_rate: '0' - protocol_status: 'up' - queue_strategy: 'fifo' - speed: '' - - address: '' - bandwidth: '100 Kbit' - bia: '' - delay: '50000 usec' - description: '' - duplex: '' - encapsulation: 'TUNNEL' - hardware_type: 'Tunnel' - input_rate: '0' - interface: 'Tunnel1' - ip_address: '' - link_status: 'up' - mtu: '17912' - output_rate: '0' - protocol_status: 'up' - queue_strategy: 'fifo' - speed: '' - - address: '' - bandwidth: '100 Kbit' - bia: '' - delay: '50000 usec' - description: '' - duplex: '' - encapsulation: 'TUNNEL' - hardware_type: 'Tunnel' - input_rate: '0' - interface: 'Tunnel2' - ip_address: '' - link_status: 'up' - mtu: '17912' - output_rate: '0' - protocol_status: 'up' - queue_strategy: 'fifo' - speed: '' - - address: '' - bandwidth: '100 Kbit' - bia: '' - delay: '50000 usec' - description: '' - duplex: '' - encapsulation: 'TUNNEL' - hardware_type: 'Tunnel' - input_rate: '0' - interface: 'Tunnel3' - ip_address: '' - link_status: 'up' - mtu: '17912' - output_rate: '0' - protocol_status: 'up' - queue_strategy: 'fifo' - speed: '' + +- address: 000f.352d.2381 + bandwidth: 100000 Kbit + bia: 000f.352d.2381 + delay: 100 usec + description: Connects to LAN + duplex: Full Duplex + encapsulation: 802.1Q Virtual LAN + hardware_type: MV96340 Ethernet + input_errors: '0' + input_packets: '338297234' + input_rate: '95000' + interface: GigabitEthernet0/0 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '336857668' + output_rate: '90000' + protocol_status: up + queue_strategy: fifo + speed: 100Mbps +- address: 000f.352d.2381 + bandwidth: 100000 Kbit + bia: 000f.352d.2381 + delay: 100 usec + description: LAN + duplex: '' + encapsulation: 802.1Q Virtual LAN + hardware_type: MV96340 Ethernet + input_errors: '' + input_packets: '' + input_rate: '' + interface: GigabitEthernet0/0.6 + ip_address: 192.27.6.129/26 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + output_rate: '' + protocol_status: up + queue_strategy: '' + speed: '' +- address: 000f.352d.2381 + bandwidth: 100000 Kbit + bia: 000f.352d.2381 + delay: 100 usec + description: Wireless LAN + duplex: '' + encapsulation: 802.1Q Virtual LAN + hardware_type: MV96340 Ethernet + input_errors: '' + input_packets: '' + input_rate: '' + interface: GigabitEthernet0/0.44 + ip_address: 192.22.44.193/26 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + output_rate: '' + protocol_status: up + queue_strategy: '' + speed: '' +- address: 000f.352d.2381 + bandwidth: 100000 Kbit + bia: 000f.352d.2381 + delay: 100 usec + description: Voice LAN + duplex: '' + encapsulation: 802.1Q Virtual LAN + hardware_type: MV96340 Ethernet + input_errors: '' + input_packets: '' + input_rate: '' + interface: GigabitEthernet0/0.188 + ip_address: 192.24.188.65/26 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + output_rate: '' + protocol_status: up + queue_strategy: '' + speed: '' +- address: 000f.352d.2381 + bandwidth: 100000 Kbit + bia: 000f.352d.2381 + delay: 100 usec + description: Native Vlan + duplex: '' + encapsulation: 802.1Q Virtual LAN + hardware_type: MV96340 Ethernet + input_errors: '' + input_packets: '' + input_rate: '' + interface: GigabitEthernet0/0.666 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + output_rate: '' + protocol_status: up + queue_strategy: '' + speed: '' +- address: 000f.352d.2382 + bandwidth: 1000000 Kbit + bia: 000f.352d.2382 + delay: 10 usec + description: NOT IN USE + duplex: Auto Duplex + encapsulation: ARPA + hardware_type: MV96340 Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: GigabitEthernet0/1 + ip_address: '' + link_status: administratively down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down + queue_strategy: fifo + speed: Auto Speed +- address: b838.6148.8780 + bandwidth: 10000 Kbit + bia: b838.6148.8780 + delay: 100 usec + description: connection to Provider + duplex: Full-duplex + encapsulation: 802.1Q Virtual LAN + hardware_type: FastEthernet + input_errors: '0' + input_packets: '' + input_rate: '96000' + interface: FastEthernet0/1/0 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '350115018' + output_rate: '111000' + protocol_status: up + queue_strategy: Class-based queueing + speed: 100Mb/s +- address: b838.6148.8780 + bandwidth: 10000 Kbit + bia: b838.6148.8780 + delay: 100 usec + description: AVPN Circuit + duplex: '' + encapsulation: 802.1Q Virtual LAN + hardware_type: FastEthernet + input_errors: '' + input_packets: '' + input_rate: '' + interface: FastEthernet0/1/0.50 + ip_address: 192.20.194.29/30 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + output_rate: '' + protocol_status: up + queue_strategy: '' + speed: '' +- address: b838.6148.8781 + bandwidth: 100000 Kbit + bia: b838.6148.8781 + delay: 100 usec + description: NOT IN USE + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: FastEthernet + input_errors: '0' + input_packets: '' + input_rate: '0' + interface: FastEthernet0/1/1 + ip_address: '' + link_status: administratively down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down + queue_strategy: fifo + speed: Auto Speed +- address: '' + bandwidth: 8000000 Kbit + bia: '' + delay: 5000 usec + description: Loopback Interface + duplex: '' + encapsulation: LOOPBACK + hardware_type: Loopback + input_errors: '' + input_packets: '2292' + input_rate: '0' + interface: Loopback0 + ip_address: 192.20.0.144/32 + link_status: up + mtu: '1514' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: '' + bandwidth: 100 Kbit + bia: '' + delay: 50000 usec + description: '' + duplex: '' + encapsulation: TUNNEL + hardware_type: Tunnel + input_errors: '' + input_packets: '0' + input_rate: '0' + interface: Tunnel0 + ip_address: '' + link_status: up + mtu: '17912' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: '' + bandwidth: 100 Kbit + bia: '' + delay: 50000 usec + description: '' + duplex: '' + encapsulation: TUNNEL + hardware_type: Tunnel + input_errors: '' + input_packets: '0' + input_rate: '0' + interface: Tunnel1 + ip_address: '' + link_status: up + mtu: '17912' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: '' + bandwidth: 100 Kbit + bia: '' + delay: 50000 usec + description: '' + duplex: '' + encapsulation: TUNNEL + hardware_type: Tunnel + input_errors: '' + input_packets: '0' + input_rate: '0' + interface: Tunnel2 + ip_address: '' + link_status: up + mtu: '17912' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: '' + bandwidth: 100 Kbit + bia: '' + delay: 50000 usec + description: '' + duplex: '' + encapsulation: TUNNEL + hardware_type: Tunnel + input_errors: '' + input_packets: '0' + input_rate: '0' + interface: Tunnel3 + ip_address: '' + link_status: up + mtu: '17912' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed index 113d9f4629..99339379db 100644 --- a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed @@ -1,45 +1,57 @@ --- parsed_sample: -- address: 5087.89a1.d8d5 - admin_state: down - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - interface: Vlan20 - ip_address: 10.1.20.3/24 - link_status: down (VLAN/BD is down) - mtu: '1500' - speed: '' -- address: 5087.89a1.d8ce - admin_state: up - bandwidth: 100000 Kbit - bia: 5087.89a1.d8ce - delay: 10 usec - description: out of band mgmt interface - duplex: full-duplex - encapsulation: ARPA - hardware_type: GigabitEthernet - interface: mgmt0 - ip_address: 10.1.100.21/24 - link_status: up - mtu: '1500' - speed: 100 Mb/s -- address: 5087.89a1.d8d6 - admin_state: up - bandwidth: 10000000 Kbit - bia: 5087.89a1.d8d6 - delay: 10 usec - description: '' - duplex: full-duplex - encapsulation: ARPA - hardware_type: 1000/10000 Ethernet - interface: Ethernet1/1 - ip_address: '' - link_status: up - mtu: '1500' - speed: 10 Gb/s +- address: 5087.89a1.d8d5 + admin_state: down + bandwidth: 1000000 Kbit + bia: '' + delay: 10 usec + description: '' + duplex: '' + encapsulation: ARPA + hardware_type: EtherSVI + input_errors: '' + input_packets: '' + interface: Vlan20 + ip_address: 10.1.20.3/24 + link_status: down (VLAN/BD is down) + mtu: '1500' + output_errors: '' + output_packets: '' + speed: '' +- address: 5087.89a1.d8ce + admin_state: up + bandwidth: 100000 Kbit + bia: 5087.89a1.d8ce + delay: 10 usec + description: out of band mgmt interface + duplex: full-duplex + encapsulation: ARPA + hardware_type: GigabitEthernet + input_errors: '' + input_packets: '' + interface: mgmt0 + ip_address: 10.1.100.21/24 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + speed: 100 Mb/s +- address: 5087.89a1.d8d6 + admin_state: up + bandwidth: 10000000 Kbit + bia: 5087.89a1.d8d6 + delay: 10 usec + description: '' + duplex: full-duplex + encapsulation: ARPA + hardware_type: 1000/10000 Ethernet + input_errors: '0' + input_packets: '68448' + interface: Ethernet1/1 + ip_address: '' + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '754962' + speed: 10 Gb/s diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed index 9b9abad225..933e920b66 100644 --- a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed @@ -1,87 +1,111 @@ --- parsed_sample: -- address: 00de.fb01.c9bc - admin_state: down - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: '' - hardware_type: EtherSVI - interface: Vlan1 - ip_address: '' - link_status: down (Administratively down) - mtu: '1500' - speed: '' -- address: 00de.fb01.c921 - admin_state: up - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: '' - hardware_type: EtherSVI - interface: Vlan330 - ip_address: 192.168.1.3/24 - link_status: up - mtu: '1500' - speed: '' -- address: 00de.fb01.c933 - admin_state: up - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: '' - hardware_type: EtherSVI - interface: Vlan336 - ip_address: 192.168.2.3/24 - link_status: up - mtu: '1500' - speed: '' -- address: 00de.fb01.c9ab - admin_state: up - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: '' - hardware_type: EtherSVI - interface: Vlan339 - ip_address: 192.168.3.3/24 - link_status: up - mtu: '1500' - speed: '' -- address: 00de.fb01.c9ef - admin_state: up - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: '' - hardware_type: EtherSVI - interface: Vlan300 - ip_address: 192.168.24.1/24 - link_status: up - mtu: '1500' - speed: '' -- address: 0000.d200.0000 - admin_state: '' - bandwidth: 23 Kbit - bia: 0000.d200.0000 - delay: 10 usec - description: '' - duplex: auto-duplex - encapsulation: ARPA - hardware_type: 10/100/1000 Ethernet - interface: Ethernet106/1/1 - ip_address: '' - link_status: down (Link not connected) - mtu: '1500' - speed: auto-speed +- address: 00de.fb01.c9bc + admin_state: down + bandwidth: 1000000 Kbit + bia: '' + delay: 10 usec + description: '' + duplex: '' + encapsulation: '' + hardware_type: EtherSVI + input_errors: '' + input_packets: '' + interface: Vlan1 + ip_address: '' + link_status: down (Administratively down) + mtu: '1500' + output_errors: '' + output_packets: '' + speed: '' +- address: 00de.fb01.c921 + admin_state: up + bandwidth: 1000000 Kbit + bia: '' + delay: 10 usec + description: '' + duplex: '' + encapsulation: '' + hardware_type: EtherSVI + input_errors: '' + input_packets: '' + interface: Vlan330 + ip_address: 192.168.1.3/24 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + speed: '' +- address: 00de.fb01.c933 + admin_state: up + bandwidth: 1000000 Kbit + bia: '' + delay: 10 usec + description: '' + duplex: '' + encapsulation: '' + hardware_type: EtherSVI + input_errors: '' + input_packets: '' + interface: Vlan336 + ip_address: 192.168.2.3/24 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + speed: '' +- address: 00de.fb01.c9ab + admin_state: up + bandwidth: 1000000 Kbit + bia: '' + delay: 10 usec + description: '' + duplex: '' + encapsulation: '' + hardware_type: EtherSVI + input_errors: '' + input_packets: '' + interface: Vlan339 + ip_address: 192.168.3.3/24 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + speed: '' +- address: 00de.fb01.c9ef + admin_state: up + bandwidth: 1000000 Kbit + bia: '' + delay: 10 usec + description: '' + duplex: '' + encapsulation: '' + hardware_type: EtherSVI + input_errors: '' + input_packets: '' + interface: Vlan300 + ip_address: 192.168.24.1/24 + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + speed: '' +- address: 0000.d200.0000 + admin_state: '' + bandwidth: 23 Kbit + bia: 0000.d200.0000 + delay: 10 usec + description: '' + duplex: auto-duplex + encapsulation: ARPA + hardware_type: 10/100/1000 Ethernet + input_errors: '0' + input_packets: '887330' + interface: Ethernet106/1/1 + ip_address: '' + link_status: down (Link not connected) + mtu: '1500' + output_errors: '0' + output_packets: '6018158' + speed: auto-speed From 2de420c333b2dd8de34412b298bfd471ea71cdbb Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 7 Jan 2019 20:30:22 -0800 Subject: [PATCH 207/628] cisco ios show ip interface: Incorporate #229 into #322 (#326) * Update index/test_index_order.py to match master (resolve conflicts) * Another attempt to fix conflicts * Removed duplicate entry for this template * NEW TEMPLATE UPDATES: BREAKING CHANGES: * Change IP Address and Mask to use lists for interfaces with multiple addresses - `IP_ADDRESS` - `MASK` FIXES: * Correct template order in index file * Add catch-all to raise an Error on unmatched lines * Add regex matches for all known lines in test file * Remove ending `}` from MTU regex to accurately capture MTU size NEW CAPTURE GROUPS: * `VRF`: Captures VRF interface is assigned to GENERAL ENHANCEMENTS: * Make all spaces uses `\s+` * Update `IP_ADDRESS` to account for IPv4 and IPv6 Addresses * Allow for `IP_ADDRESS` to be present without `MASK` * Simplify regex for `LINK_STATUS` * Allow for spaces in ACL matches: - `OUTGOING_ACL` - `INBOUND_ACL` TEST FILES: * Add parsed data for additional `VRF` capture group * Update parsed file to reflect changes * Temporarily rename test files' Added cisco_ios_show_ip_interface to index * Rebase with master to fix conflicts: * Rename test files to avoid conflicting names * Add additional capture groups to template and existing parsed file --- .../cisco_ios_show_ip_interface.template | 31 +- templates/index | 5 +- .../cisco_ios_show_ip_interface.parsed | 1235 +++++++++++------ .../cisco_ios_show_ip_interface2.parsed | 101 ++ .../cisco_ios_show_ip_interface2.raw | 263 ++++ 5 files changed, 1221 insertions(+), 414 deletions(-) create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.parsed create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.raw diff --git a/templates/cisco_ios_show_ip_interface.template b/templates/cisco_ios_show_ip_interface.template index 506017601c..bc29a86d18 100644 --- a/templates/cisco_ios_show_ip_interface.template +++ b/templates/cisco_ios_show_ip_interface.template @@ -1,19 +1,34 @@ -Value INTF (\S+) +Value Required INTF (\S+) Value LINK_STATUS (.+?) Value PROTOCOL_STATUS (.+?) -Value Required IPADDR (\S+?) -Value MASK (\d*) +Value List IPADDR (\S+?) +Value List MASK (\d*) Value VRF (\S+) +Value MTU (\d+) +Value List IP_HELPER (\d+\.\d+\.\d+\.\d+) +Value OUTGOING_ACL (.*?) +Value INBOUND_ACL (.*?) + Start ^\S -> Continue.Record ^${INTF}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}\s*$$ - ^\s+Internet\s+address\s+is\s+${IPADDR}/*${MASK}\s*$$ + ^\s+Internet\s+address\s+is\s+${IPADDR}/?${MASK}\s*$$ + ^\s+Secondary\s+address\s+${IPADDR}/?${MASK}\s*$$ ^.+VPN\s+Routing/Forwarding\s+"${VRF}" + ^\s+MTU\s+is\s+${MTU}\s+bytes + ^\s+Helper\s+address(es|)\s(is|are)\s+${IP_HELPER}\s*$$ -> HELPERS + ^\s+Outgoing\s+(?:Common\s+)?access\s+list\s+is\s+not\s+set + ^\s+Outgoing\s+(?:Common\s+)?access\s+list\s+is\s+${OUTGOING_ACL}\s*$$ + ^\s+Inbound\s+(?:Common\s+)?access\s+list\s+is\s+not\s+set + ^\s+Inbound\s+(?:Common\s+)?access\s+list\s+is\s+${INBOUND_ACL}\s*$$ ^\s+Internet\s+protocol + ^\s+Interface\s+is\s+unnumbered ^\s+Broadcast ^\s+Multicast + ^\s+2[2-5]\d\. ^\s+Address\s+determined + ^\s+Directed ^\s+MTU ^\s+Helper ^\s+Directed @@ -33,8 +48,12 @@ Start ^\s+Policy ^\s+Network\s+address\s+ ^\s+BGP - ^\s+Input + ^\s+(Input|Output|Post)\s+.*features ^\s+IPv4\s+WCCP - ^\s+Output ^\s*$$ ^. -> Error + +HELPERS + ^\s+${IP_HELPER}\s*$$ + ^\s+Directed -> Start + ^.* -> Error diff --git a/templates/index b/templates/index index 226d101f48..6fc8648564 100644 --- a/templates/index +++ b/templates/index @@ -1,4 +1,3 @@ - # First line is the header fields for columns and is mandatory. # Regular expressions are supported in all fields except the first. # Last field supports variable length command completion. @@ -150,8 +149,8 @@ cisco_ios_show_platform_diag.template, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ cisco_ios_show_processes_cpu.template, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] cisco_ios_show_spanning-tree.template, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] cisco_ios_show_standby_brief.template, .*, cisco_ios, sh[[ow]] standby br[[ief]] -cisco_ios_show_ip_interface.template, .*, cisco_ios, sh[[ow]] ip in[[terface]] -cisco_ios_show_power_status.template, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] +cisco_ios_show_ip_interface.template, .*, cisco_ios, sh[[ow]] ip int[[erface]] +cisco_ios_show_power_status.template, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] cisco_ios_show_access-list.template, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.template, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_interfaces.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed index 1e0b989ceb..4093352e54 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed @@ -2,408 +2,833 @@ parsed_sample: -- intf: "GigabitEthernet0" - link_status: "up" - protocol_status: "up" - ipaddr: "172.21.2.3" - mask: "24" - vrf: "Mgmt-intf" - -- intf: "Loopback0" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.255.249" - mask: "32" - vrf: "" - -- intf: "Loopback1" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.255.1" - mask: "32" - vrf: "" - -- intf: "Loopback505" - link_status: "up" - protocol_status: "up" - ipaddr: "192.168.100.100" - mask: "32" - vrf: "DATA" - -- intf: "Loopback506" - link_status: "up" - protocol_status: "up" - ipaddr: "192.168.200.100" - mask: "32" - vrf: "SIG" - -- intf: "Loopback1001" - link_status: "up" - protocol_status: "up" - ipaddr: "172.18.0.24" - mask: "32" - vrf: "MYCOMPANY" - -- intf: "Loopback5999" - link_status: "up" - protocol_status: "up" - ipaddr: "172.22.255.255" - mask: "32" - vrf: "VRF_WL_SIG" - -- intf: "Loopback12345" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.245.1" - mask: "32" - vrf: "7650C2814C784BACBBE23BB30B47D3A1" - -- intf: "Port-channel1.10" - link_status: "up" - protocol_status: "up" - ipaddr: "172.18.16.42" - mask: "29" - vrf: "MYCOMPANY" - -- intf: "Port-channel1.102" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.254.61" - mask: "31" - vrf: "" - -- intf: "Port-channel1.105" - link_status: "up" - protocol_status: "up" - ipaddr: "172.20.0.149" - mask: "30" - vrf: "MYCOMPANY" - -- intf: "Port-channel1.106" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.254.65" - mask: "31" - vrf: "" - -- intf: "Port-channel1.107" - link_status: "up" - protocol_status: "up" - ipaddr: "172.20.2.1" - mask: "30" - vrf: "MYCOMPANY" - -- intf: "Port-channel1.501" - link_status: "up" - protocol_status: "up" - ipaddr: "169.254.0.114" - mask: "29" - vrf: "C617529B810A48F6AD40FEBCB163B286" - -- intf: "Port-channel1.504" - link_status: "up" - protocol_status: "up" - ipaddr: "169.254.0.1" - mask: "30" - vrf: "7650C2814C784BACBBE23BB30B47D3A1" - -- intf: "Port-channel1.535" - link_status: "up" - protocol_status: "up" - ipaddr: "169.254.0.1" - mask: "30" - vrf: "6281BBEF467947E4949F989BBC891138" - -- intf: "Port-channel1.601" - link_status: "up" - protocol_status: "up" - ipaddr: "169.254.0.50" - mask: "29" - vrf: "C617529B810A48F6AD40FEBCB163B286" - -- intf: "Port-channel1.620" - link_status: "up" - protocol_status: "up" - ipaddr: "169.254.0.5" - mask: "30" - vrf: "6281BBEF467947E4949F989BBC891138" - -- intf: "Port-channel1.1012" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.254.103" - mask: "31" - vrf: "" - -- intf: "Port-channel1.1013" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.254.94" - mask: "31" - vrf: "" - -- intf: "Port-channel1.1014" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.254.17" - mask: "31" - vrf: "" - -- intf: "Port-channel1.1087" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.255.53" - mask: "31" - vrf: "" - -- intf: "Port-channel1.3201" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.254.0" - mask: "31" - vrf: "" - -- intf: "Port-channel1.3202" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.254.2" - mask: "31" - vrf: "" - -- intf: "Port-channel1.3204" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.254.4" - mask: "31" - vrf: "" - -- intf: "Port-channel1.3251" - link_status: "up" - protocol_status: "up" - ipaddr: "172.19.0.90" - mask: "31" - vrf: "MYCOMPANY" - -- intf: "Port-channel1.3262" - link_status: "administratively down" - protocol_status: "down" - ipaddr: "88.16.234.10" - mask: "29" - vrf: "" - -- intf: "Tunnel5001" - link_status: "up" - protocol_status: "up" - ipaddr: "169.254.64.0" - mask: "31" - vrf: "MYCOMPANY" - -- intf: "Tunnel5002" - link_status: "up" - protocol_status: "up" - ipaddr: "169.254.64.4" - mask: "31" - vrf: "MYCOMPANY" - -- intf: "Tunnel5010" - link_status: "up" - protocol_status: "up" - ipaddr: "169.254.64.36" - mask: "31" - vrf: "MYCOMPANY" - -- intf: "Tunnel6001" - link_status: "up" - protocol_status: "down" - ipaddr: "169.254.64.2" - mask: "31" - vrf: "MYCOMPANY" - -- intf: "Tunnel6002" - link_status: "up" - protocol_status: "down" - ipaddr: "169.254.64.6" - mask: "31" - vrf: "MYCOMPANY" - -- intf: "vasileft1" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.254.10" - mask: "31" - vrf: "" - -- intf: "vasileft21" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.2" - mask: "31" - vrf: "" - -- intf: "vasileft22" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.64" - mask: "31" - vrf: "" - -- intf: "vasileft23" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.102" - mask: "31" - vrf: "" - -- intf: "vasileft24" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.82" - mask: "31" - vrf: "" - -- intf: "vasileft25" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.74" - mask: "31" - vrf: "" - -- intf: "vasileft26" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.130" - mask: "31" - vrf: "" - -- intf: "vasileft27" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.158" - mask: "31" - vrf: "" - -- intf: "vasileft28" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.162" - mask: "31" - vrf: "" - -- intf: "vasileft29" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.174" - mask: "31" - vrf: "" - -- intf: "vasileft30" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.194" - mask: "31" - vrf: "" - -- intf: "vasileft31" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.214" - mask: "31" - vrf: "" - -- intf: "vasileft32" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.1.2" - mask: "31" - vrf: "" - -- intf: "vasiright1" - link_status: "up" - protocol_status: "up" - ipaddr: "88.16.254.11" - mask: "31" - vrf: "MYCOMPANY" - -- intf: "vasiright21" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.3" - mask: "31" - vrf: "C617529B810A48F6AD40FEBCB163B286" - -- intf: "vasiright22" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.65" - mask: "31" - vrf: "28FBAE630B934EB5AFA7FCE43E52393E" - -- intf: "vasiright23" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.103" - mask: "31" - vrf: "4CB342232A7B4D04ADEF7DE3EC2679EC" - -- intf: "vasiright24" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.83" - mask: "31" - vrf: "F76D90EAB6474F5BBB433939BA52FB14" - -- intf: "vasiright25" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.75" - mask: "31" - vrf: "6281BBEF467947E4949F989BBC891138" - -- intf: "vasiright26" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.131" - mask: "31" - vrf: "7650C2814C784BACBBE23BB30B47D3A1" - -- intf: "vasiright27" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.159" - mask: "31" - vrf: "AF1C8AE356D94BBBB377257D047D3D4D" - -- intf: "vasiright28" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.163" - mask: "31" - vrf: "41ECD4DB33314E949FD8D96D98252919" - -- intf: "vasiright29" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.175" - mask: "31" - vrf: "A1E5B05D1D914A109BE1EE71B7C994B7" - -- intf: "vasiright30" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.195" - mask: "31" - vrf: "CC462DCE24DD43B28EA8EA9BAD49044E" - -- intf: "vasiright31" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.0.215" - mask: "31" - vrf: "C5DE7D3B149B4AF7BF398F45F0AD90A6" - -- intf: "vasiright32" - link_status: "up" - protocol_status: "up" - ipaddr: "100.66.1.3" - mask: "31" - vrf: "8B3C2CFAD23841D1BC9FA2A178BA5855" +- intf: 'GigabitEthernet0/0/0' + link_status: 'administratively down' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'GigabitEthernet0/0/1' + link_status: 'administratively down' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'GigabitEthernet0/0/2' + link_status: 'administratively down' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'GigabitEthernet0/0/3' + link_status: 'administratively down' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'GigabitEthernet0/0/4' + link_status: 'administratively down' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'GigabitEthernet0/0/5' + link_status: 'administratively down' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'TenGigabitEthernet0/1/0' + link_status: 'up' + protocol_status: 'up' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'TenGigabitEthernet0/2/0' + link_status: 'up' + protocol_status: 'up' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'TenGigabitEthernet0/3/0' + link_status: 'up' + protocol_status: 'up' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'GigabitEthernet0' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['172.21.2.3'] + mask: ['24'] + vrf: 'Mgmt-intf' + mtu: '1500' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Loopback0' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.255.249'] + mask: ['32'] + vrf: '' + mtu: '1514' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Loopback1' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.255.1'] + mask: ['32'] + vrf: '' + mtu: '1514' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Loopback505' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['192.168.100.100'] + mask: ['32'] + vrf: 'DATA' + mtu: '1514' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Loopback506' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['192.168.200.100'] + mask: ['32'] + vrf: 'SIG' + mtu: '1514' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Loopback1001' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['172.18.0.24'] + mask: ['32'] + vrf: 'MYCOMPANY' + mtu: '1514' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Loopback5999' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['172.22.255.255'] + mask: ['32'] + vrf: 'VRF_WL_SIG' + mtu: '1514' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Loopback12345' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.245.1'] + mask: ['32'] + vrf: '7650C2814C784BACBBE23BB30B47D3A1' + mtu: '1514' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1' + link_status: 'up' + protocol_status: 'up' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.10' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['172.18.16.42'] + mask: ['29'] + vrf: 'MYCOMPANY' + mtu: '9000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.102' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.254.61'] + mask: ['31'] + vrf: '' + mtu: '8000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.105' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['172.20.0.149'] + mask: ['30'] + vrf: 'MYCOMPANY' + mtu: '1500' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.106' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.254.65'] + mask: ['31'] + vrf: '' + mtu: '8000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.107' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['172.20.2.1'] + mask: ['30'] + vrf: 'MYCOMPANY' + mtu: '1500' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.501' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['169.254.0.114'] + mask: ['29'] + vrf: 'C617529B810A48F6AD40FEBCB163B286' + mtu: '9000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.502' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.504' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['169.254.0.1'] + mask: ['30'] + vrf: '7650C2814C784BACBBE23BB30B47D3A1' + mtu: '9000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.523' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.524' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.527' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.528' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.533' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.535' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['169.254.0.1'] + mask: ['30'] + vrf: '6281BBEF467947E4949F989BBC891138' + mtu: '9000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.536' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.537' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.538' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.601' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['169.254.0.50'] + mask: ['29'] + vrf: 'C617529B810A48F6AD40FEBCB163B286' + mtu: '9000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.602' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.614' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.615' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.618' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.619' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.620' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['169.254.0.5'] + mask: ['30'] + vrf: '6281BBEF467947E4949F989BBC891138' + mtu: '9000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.621' + link_status: 'deleted' + protocol_status: 'down' + ipaddr: [] + mask: [] + vrf: '' + mtu: '' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.1012' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.254.103'] + mask: ['31'] + vrf: '' + mtu: '8000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.1013' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.254.94'] + mask: ['31'] + vrf: '' + mtu: '8000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.1014' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.254.17'] + mask: ['31'] + vrf: '' + mtu: '8000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.1087' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.255.53'] + mask: ['31'] + vrf: '' + mtu: '8000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.3201' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.254.0'] + mask: ['31'] + vrf: '' + mtu: '8000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.3202' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.254.2'] + mask: ['31'] + vrf: '' + mtu: '8000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.3204' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.254.4'] + mask: ['31'] + vrf: '' + mtu: '8000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.3251' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['172.19.0.90'] + mask: ['31'] + vrf: 'MYCOMPANY' + mtu: '8000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Port-channel1.3262' + link_status: 'administratively down' + protocol_status: 'down' + ipaddr: ['88.16.234.10'] + mask: ['29'] + vrf: '' + mtu: '9000' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Tunnel5001' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['169.254.64.0'] + mask: ['31'] + vrf: 'MYCOMPANY' + mtu: '1472' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Tunnel5002' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['169.254.64.4'] + mask: ['31'] + vrf: 'MYCOMPANY' + mtu: '1472' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Tunnel5010' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['169.254.64.36'] + mask: ['31'] + vrf: 'MYCOMPANY' + mtu: '1472' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Tunnel6001' + link_status: 'up' + protocol_status: 'down' + ipaddr: ['169.254.64.2'] + mask: ['31'] + vrf: 'MYCOMPANY' + mtu: '1472' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'Tunnel6002' + link_status: 'up' + protocol_status: 'down' + ipaddr: ['169.254.64.6'] + mask: ['31'] + vrf: 'MYCOMPANY' + mtu: '1472' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft1' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.254.10'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft21' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.2'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft22' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.64'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft23' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.102'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft24' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.82'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft25' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.74'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft26' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.130'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft27' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.158'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft28' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.162'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft29' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.174'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft30' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.194'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft31' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.214'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasileft32' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.1.2'] + mask: ['31'] + vrf: '' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright1' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['88.16.254.11'] + mask: ['31'] + vrf: 'MYCOMPANY' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright21' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.3'] + mask: ['31'] + vrf: 'C617529B810A48F6AD40FEBCB163B286' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright22' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.65'] + mask: ['31'] + vrf: '28FBAE630B934EB5AFA7FCE43E52393E' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright23' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.103'] + mask: ['31'] + vrf: '4CB342232A7B4D04ADEF7DE3EC2679EC' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright24' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.83'] + mask: ['31'] + vrf: 'F76D90EAB6474F5BBB433939BA52FB14' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright25' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.75'] + mask: ['31'] + vrf: '6281BBEF467947E4949F989BBC891138' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright26' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.131'] + mask: ['31'] + vrf: '7650C2814C784BACBBE23BB30B47D3A1' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright27' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.159'] + mask: ['31'] + vrf: 'AF1C8AE356D94BBBB377257D047D3D4D' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright28' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.163'] + mask: ['31'] + vrf: '41ECD4DB33314E949FD8D96D98252919' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright29' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.175'] + mask: ['31'] + vrf: 'A1E5B05D1D914A109BE1EE71B7C994B7' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright30' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.195'] + mask: ['31'] + vrf: 'CC462DCE24DD43B28EA8EA9BAD49044E' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright31' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.0.215'] + mask: ['31'] + vrf: 'C5DE7D3B149B4AF7BF398F45F0AD90A6' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' +- intf: 'vasiright32' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['100.66.1.3'] + mask: ['31'] + vrf: '8B3C2CFAD23841D1BC9FA2A178BA5855' + mtu: '9216' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.parsed new file mode 100644 index 0000000000..ba6328b899 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.parsed @@ -0,0 +1,101 @@ +--- +parsed_sample: + +- inbound_acl: "" + intf: "GigabitEthernet2/23" + ipaddr: [] + ip_helper: [] + link_status: "up" + mask: [] + mtu: "" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + +- inbound_acl: "" + intf: "GigabitEthernet2/24" + ipaddr: [] + ip_helper: [] + link_status: "administratively down" + mask: [] + mtu: "" + outgoing_acl: "" + protocol_status: "down" + vrf: "" + +- inbound_acl: "" + intf: "GigabitEthernet2/25" + ipaddr: ["192.168.102.45"] + ip_helper: [] + link_status: "up" + mask: ["30"] + mtu: "1500" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + +- inbound_acl: "" + intf: "Tunnel0" + ipaddr: [] + ip_helper: [] + link_status: "up" + mask: [] + mtu: "1486" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + +- inbound_acl: "" + intf: "Vlan1" + ipaddr: ["192.168.1.1", "192.168.1.3"] + ip_helper: ['192.168.1.27', '192.168.1.88', '10.17.5.255'] + link_status: "up" + mask: ["24", "24"] + mtu: "1500" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + +- inbound_acl: "" + intf: "Vlan2" + ipaddr: ["192.168.2.1"] + ip_helper: ['192.168.1.27', '192.168.1.88'] + link_status: "administratively down" + mask: ["24"] + mtu: "1500" + outgoing_acl: "" + protocol_status: "down" + vrf: "" + +- inbound_acl: "ACL-IN" + intf: "TenGigabitEthernet0/1/0" + ipaddr: ["1.1.1.1"] + ip_helper: [] + link_status: "up" + mask: ["30"] + mtu: "1500" + outgoing_acl: "ACL-OUT" + protocol_status: "up" + vrf: "" + +- inbound_acl: "" + intf: "GigabitEthernet0" + ipaddr: [] + ip_helper: [] + link_status: "administratively down" + mask: [] + mtu: "" + outgoing_acl: "" + protocol_status: "down" + vrf: "" + +- inbound_acl: "" + intf: "Loopback0" + ipaddr: ["10.255.255.1"] + ip_helper: [] + link_status: "up" + mask: ["32"] + mtu: "1514" + outgoing_acl: "" + protocol_status: "up" + vrf: "" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.raw b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.raw new file mode 100644 index 0000000000..4f4c571c85 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.raw @@ -0,0 +1,263 @@ +GigabitEthernet2/23 is up, line protocol is up + Inbound access list is not set +GigabitEthernet2/24 is administratively down, line protocol is down +GigabitEthernet2/25 is up, line protocol is up + Internet address is 192.168.102.45/30 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 1500 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.1 224.0.0.2 224.0.0.22 224.0.0.13 + 224.0.0.10 + Outgoing access list is not set + Inbound access list is not set + Proxy ARP is disabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are never sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + Associated multicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: Input-Flexible-NetFlow, MCI Check + Output features: IP Post Routing Processing, MFIB Adjacency, Post-Input-Flexible-NetFlow, Output-Flexible-NetFlow, HW Shortcut Installation + Post encapsulation features: MTU Processing, IP Protocol Output Counter, IP Sendself Check, HW Shortcut Installation + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Tunnel0 is up, line protocol is up + Interface is unnumbered. Using address of Loopback0 (192.168.255.1) + Broadcast address is 255.255.255.255 + MTU is 1486 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are never sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is DOWN + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + Output features: IP Post Routing Processing, Post-Input-Flexible-NetFlow, HW Shortcut Installation + Post encapsulation features: MTU Processing, IP Protocol Output Counter, IP Sendself Check, HW Shortcut Installation + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Vlan1 is up, line protocol is up + Internet address is 192.168.1.1/24 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 1500 bytes + Helper addresses are 192.168.1.27 + 192.168.1.88 + 10.17.5.255 + Directed broadcast forwarding is disabled + Secondary address 192.168.1.3/24 + Multicast reserved groups joined: 224.0.0.1 224.0.0.2 224.0.0.22 224.0.0.13 + 224.0.0.10 + Outgoing access list is not set + Inbound access list is not set + Proxy ARP is disabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are never sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + Associated multicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: Input-Flexible-NetFlow, MCI Check + Output features: IP Post Routing Processing, MFIB Adjacency, Post-Input-Flexible-NetFlow, Output-Flexible-NetFlow, HW Shortcut Installation + Post encapsulation features: MTU Processing, IP Protocol Output Counter, IP Sendself Check, HW Shortcut Installation + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +Vlan2 is administratively down, line protocol is down + Internet address is 192.168.2.1/24 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 1500 bytes + Helper addresses are 192.168.1.27 + 192.168.1.88 + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.1 224.0.0.2 224.0.0.22 224.0.0.13 + Outgoing access list is not set + Inbound access list is not set + Proxy ARP is disabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are never sent + ICMP unreachables are never sent + ICMP mask replies are never sent + IP fast switching is enabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + Associated multicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: Input-Flexible-NetFlow, MCI Check + Output features: IP Post Routing Processing, Post-Input-Flexible-NetFlow, Output-Flexible-NetFlow, HW Shortcut Installation + Post encapsulation features: MTU Processing, IP Protocol Output Counter, IP Sendself Check, HW Shortcut Installation + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +TenGigabitEthernet0/1/0 is up, line protocol is up + Internet address is 1.1.1.1/30 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1500 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing Common access list is not set + Outgoing access list is ACL-OUT + Inbound Common access list is not set + Inbound access list is ACL-IN + Proxy ARP is disabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are never sent + ICMP unreachables are never sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: Access List, MCI Check + Output features: QoS Classification, Access List + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled +GigabitEthernet0 is administratively down, line protocol is down + Internet protocol processing disabled +Loopback0 is up, line protocol is up + Internet address is 10.255.255.1/32 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1514 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.5 + Outgoing Common access list is not set + Outgoing access list is not set + Inbound Common access list is not set + Inbound access list is not set + Proxy ARP is disabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are never sent + ICMP unreachables are never sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled From 35b003a6e3d086414be08b70b715879f38e799b4 Mon Sep 17 00:00:00 2001 From: JCapretta <46580735+JCapretta@users.noreply.github.com> Date: Sat, 12 Jan 2019 13:45:48 +1100 Subject: [PATCH 208/628] BUG FIX: Modified cisco_ios_show_vlan.template (#329) Fixes (#328) * Extend the number of interfaces that can be captured per line `INTERFACES` --- templates/cisco_ios_show_vlan.template | 102 ++++++++++++++++++++++++- 1 file changed, 99 insertions(+), 3 deletions(-) diff --git a/templates/cisco_ios_show_vlan.template b/templates/cisco_ios_show_vlan.template index 9fc8c6ef09..930397a0ff 100644 --- a/templates/cisco_ios_show_vlan.template +++ b/templates/cisco_ios_show_vlan.template @@ -21,7 +21,54 @@ VLANS ^\d+\s+(?:\S+\s+){10}${INTERFACES},* -> Continue ^\d+\s+(?:\S+\s+){11}${INTERFACES},* -> Continue ^\d+\s+(?:\S+\s+){12}${INTERFACES},* -> Continue - ^\d+\s+(?:\S+\s+){13}${INTERFACES} -> Continue + ^\d+\s+(?:\S+\s+){13}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){14}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){15}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){16}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){17}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){18}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){19}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){20}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){21}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){22}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){23}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){24}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){25}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){26}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){27}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){28}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){29}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){30}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){31}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){32}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){33}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){34}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){35}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){36}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){37}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){38}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){39}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){40}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){41}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){42}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){43}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){44}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){45}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){46}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){47}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){48}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){49}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){50}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){51}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){52}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){53}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){54}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){55}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){56}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){57}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){58}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){59}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){60}${INTERFACES},* -> Continue ^\s+${INTERFACES},* -> Continue ^\s+\S+\s+${INTERFACES},* -> Continue ^\s+(?:\S+\s+){2}${INTERFACES},* -> Continue @@ -33,7 +80,56 @@ VLANS ^\s+(?:\S+\s+){8}${INTERFACES},* -> Continue ^\s+(?:\S+\s+){9}${INTERFACES},* -> Continue ^\s+(?:\S+\s+){10}${INTERFACES},* -> Continue - ^\s+(?:\S+\s+){11}${INTERFACES} -> Continue + ^\s+(?:\S+\s+){11}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){12}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){13}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){14}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){15}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){16}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){17}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){18}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){19}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){20}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){21}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){22}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){23}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){24}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){25}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){26}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){27}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){28}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){29}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){30}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){31}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){32}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){33}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){34}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){35}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){36}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){37}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){38}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){39}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){40}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){41}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){42}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){43}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){44}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){45}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){46}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){47}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){48}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){49}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){50}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){51}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){52}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){53}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){54}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){55}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){56}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){57}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){58}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){59}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){60}${INTERFACES},* -> Continue ^\d+ ^\s+ ^-+ @@ -41,4 +137,4 @@ VLANS ^.+ -> Error Done - ^.* \ No newline at end of file + ^.* From 3407cc82be32367da4d7fd93923dea7ce9aad3c0 Mon Sep 17 00:00:00 2001 From: JCapretta <46580735+JCapretta@users.noreply.github.com> Date: Tue, 15 Jan 2019 01:32:32 +1100 Subject: [PATCH 209/628] `cisco_nxos_show_interface_status`: Fixes issue #333 (#334) BUG FIXES: * `VLAN`: Updated capture group to allow `--` as a match * Update test files to include data with VLAN of `--` --- templates/cisco_nxos_show_interface_status.template | 2 +- .../cisco_nxos_show_interface_status.parsed | 8 ++++++++ .../cisco_nxos_show_interface_status.raw | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/cisco_nxos_show_interface_status.template b/templates/cisco_nxos_show_interface_status.template index 40a403b5ea..78a780af4f 100644 --- a/templates/cisco_nxos_show_interface_status.template +++ b/templates/cisco_nxos_show_interface_status.template @@ -1,7 +1,7 @@ Value PORT (\S+) Value NAME (.*?) Value STATUS (\S+) -Value VLAN (\d+|routed|trunk) +Value VLAN (\d+|routed|trunk|--) Value DUPLEX (\S+) Value SPEED (\d+|auto) Value TYPE (.+?) diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.parsed b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.parsed index b0318f3a7d..5cc0beda9c 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.parsed +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.parsed @@ -576,3 +576,11 @@ parsed_sample: duplex: "auto" speed: "auto" type: "--" + + - port: "nve1" + name: "--" + status: "connected" + vlan: "--" + duplex: "auto" + speed: "auto" + type: "--" diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.raw b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.raw index 7fb8f5c7f5..53bea543ba 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.raw +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.raw @@ -73,4 +73,5 @@ Vlan20 -- down routed auto auto -- Vlan66 -- down routed auto auto -- Vlan77 -- down routed auto auto -- Vlan146 my vlan 146 down routed auto auto -- +nve1 -- connected -- auto auto -- From 61e164317749540693e568cbab85ad1a19d58cad Mon Sep 17 00:00:00 2001 From: JCapretta <46580735+JCapretta@users.noreply.github.com> Date: Sat, 19 Jan 2019 03:50:59 +1100 Subject: [PATCH 210/628] `checkpoint_gaia_show_ntp_servers`: Add new template (#335) --- templates/checkpoint_gaia_show_ntp_servers.template | 9 +++++++++ templates/index | 1 + .../checkpoint_gaia_show_ntp_servers.parsed | 9 +++++++++ .../checkpoint_gaia_show_ntp_servers.raw | 3 +++ 4 files changed, 22 insertions(+) create mode 100644 templates/checkpoint_gaia_show_ntp_servers.template create mode 100644 tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.parsed create mode 100644 tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.raw diff --git a/templates/checkpoint_gaia_show_ntp_servers.template b/templates/checkpoint_gaia_show_ntp_servers.template new file mode 100644 index 0000000000..fc99078750 --- /dev/null +++ b/templates/checkpoint_gaia_show_ntp_servers.template @@ -0,0 +1,9 @@ +Value IP_ADDRESS ((?:[0-9]{1,3}\.){3}[0-9]{1,3}) +Value TYPE (\S+) +Value VERSION (\S+) + +Start + ^IP\sAddress\s+Type\s+Version\s*$$ + ^${IP_ADDRESS}\s+${TYPE}\s+${VERSION}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 6fc8648564..454ca4d520 100644 --- a/templates/index +++ b/templates/index @@ -86,6 +86,7 @@ brocade_netiron_show_span.template, .*, brocade_netiron, sh[[ow]] sp[[anning-tre brocade_netiron_show_topo.template, .*, brocade_netiron, sh[[ow]] to[[pology-group]] checkpoint_gaia_show_interfaces_all.template, .*, checkpoint_gaia, show interfaces all +checkpoint_gaia_show_ntp_servers.template, .*, checkpoint_gaia, show ntp servers checkpoint_gaia_show_version_all.template, .*, checkpoint_gaia, show version all checkpoint_gaia_show_domainname.template, .*, checkpoint_gaia, show domainname checkpoint_gaia_show_ipv6_route.template, .*, checkpoint_gaia, show ipv6 route diff --git a/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.parsed b/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.parsed new file mode 100644 index 0000000000..063875d4e7 --- /dev/null +++ b/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.parsed @@ -0,0 +1,9 @@ +--- +parsed_sample: + +- ip_address: '1.1.1.1' + type: 'Primary' + version: '3' +- ip_address: '2.2.2.2' + type: 'Secondary' + version: '3' diff --git a/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.raw b/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.raw new file mode 100644 index 0000000000..8b57a39488 --- /dev/null +++ b/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.raw @@ -0,0 +1,3 @@ +IP Address Type Version +1.1.1.1 Primary 3 +2.2.2.2 Secondary 3 From 8f4bb8dee0d1d16ced2cb991019da2ee8154d677 Mon Sep 17 00:00:00 2001 From: JCapretta <46580735+JCapretta@users.noreply.github.com> Date: Sat, 19 Jan 2019 03:57:59 +1100 Subject: [PATCH 211/628] `cisco_nxos_show_interface_status`: Fixes issue #331 (#332) BUG FIXES: * `SPEED`: change capture group to use `\S+` to account for new data * `TYPE`: change capture group to use `\S+` to account for new data TEST FILES: * Added new files to provide sample data representing what was not working with previous capture groups --- .../cisco_nxos_show_interface_status.template | 4 +- .../cisco_nxos_show_interface_status1.parsed | 75 +++++++++++++++++++ .../cisco_nxos_show_interface_status1.raw | 13 ++++ 3 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.raw diff --git a/templates/cisco_nxos_show_interface_status.template b/templates/cisco_nxos_show_interface_status.template index 78a780af4f..17a95f1789 100644 --- a/templates/cisco_nxos_show_interface_status.template +++ b/templates/cisco_nxos_show_interface_status.template @@ -3,8 +3,8 @@ Value NAME (.*?) Value STATUS (\S+) Value VLAN (\d+|routed|trunk|--) Value DUPLEX (\S+) -Value SPEED (\d+|auto) -Value TYPE (.+?) +Value SPEED (\S+) +Value TYPE (\S+) Start ^[Pp]ort\s+[Nn]ame\s+[Ss]tatus\s+[Vv]lan\s+[Dd]uplex\s+[Ss]peed\s+[Tt]ype\s*$$ -> INTFS diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed new file mode 100644 index 0000000000..a82ab287c5 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed @@ -0,0 +1,75 @@ +--- +parsed_sample: + + - port: "mgmt0" + name: "--" + status: "connected" + vlan: "routed" + duplex: "full" + speed: "1000" + type: "--" + + - port: "Eth1/1" + name: "interface1" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + + - port: "Eth1/2" + name: "interface2" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + + - port: "Eth1/3" + name: "interface3" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" + + - port: "Eth1/4" + name: "interface4" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" + + - port: "Eth1/5" + name: "interface5" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + + - port: "Eth1/6" + name: "interface6" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + + - port: Eth1/7 + name: "interface7" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + + - port: "Eth1/8" + name: "interface8" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.raw b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.raw new file mode 100644 index 0000000000..388d93bed4 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.raw @@ -0,0 +1,13 @@ + +-------------------------------------------------------------------------------- +Port Name Status Vlan Duplex Speed Type +-------------------------------------------------------------------------------- +mgmt0 -- connected routed full 1000 -- +Eth1/1 interface1 connected trunk full 10G 10Gbase-SR-S +Eth1/2 interface2 connected trunk full 10G 10Gbase-SR-S +Eth1/3 interface3 connected trunk full 10G 10Gbase-SR +Eth1/4 interface4 connected trunk full 10G 10Gbase-SR +Eth1/5 interface5 connected trunk full 10G 10Gbase-SR-S +Eth1/6 interface6 connected trunk full 10G 10Gbase-SR-S +Eth1/7 interface7 connected trunk full 10G 10Gbase-SR-S +Eth1/8 interface8 connected trunk full 10G 10Gbase-SR-S From d67dc9fc8d586a5d7ab1d7ba9b0ed1e17679e33a Mon Sep 17 00:00:00 2001 From: JCapretta <46580735+JCapretta@users.noreply.github.com> Date: Sat, 19 Jan 2019 03:59:34 +1100 Subject: [PATCH 212/628] `Checkpoint gaia show dns`: Add new template (#330) --- templates/checkpoint_gaia_show_dns.template | 11 +++++++++++ templates/index | 1 + .../show_dns/checkpoint_gaia_show_dns.parsed | 8 ++++++++ .../show_dns/checkpoint_gaia_show_dns.raw | 7 +++++++ 4 files changed, 27 insertions(+) create mode 100644 templates/checkpoint_gaia_show_dns.template create mode 100644 tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.parsed create mode 100644 tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.raw diff --git a/templates/checkpoint_gaia_show_dns.template b/templates/checkpoint_gaia_show_dns.template new file mode 100644 index 0000000000..50966f0bff --- /dev/null +++ b/templates/checkpoint_gaia_show_dns.template @@ -0,0 +1,11 @@ +Value DOMAIN (\S+) +Value List DNS_SERVERS (\S+) + +Start + ^DNS\ssetup + ^Name\s+Value + ^Domain\s+${DOMAIN} + ^DNS\sserver\s+${DNS_SERVERS} -> Continue + ^DNS\sserver + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 454ca4d520..adf92f9549 100644 --- a/templates/index +++ b/templates/index @@ -92,6 +92,7 @@ checkpoint_gaia_show_domainname.template, .*, checkpoint_gaia, show domainname checkpoint_gaia_show_ipv6_route.template, .*, checkpoint_gaia, show ipv6 route checkpoint_gaia_show_asset_all.template, .*, checkpoint_gaia, show asset all checkpoint_gaia_show_route.template, .*, checkpoint_gaia, show route +checkpoint_gaia_show_dns.template, .*, checkpoint_gaia, show dns checkpoint_gaia_show_lom.template, .*, checkpoint_gaia, show lom checkpoint_gaia_fw_stat.template, .*, checkpoint_gaia, fw stat diff --git a/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.parsed b/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.parsed new file mode 100644 index 0000000000..65a8040312 --- /dev/null +++ b/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.parsed @@ -0,0 +1,8 @@ +--- +parsed_sample: + +- domain: 'test.com' + dns_servers: + - '1.1.1.1' + - '2.2.2.2' + diff --git a/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.raw b/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.raw new file mode 100644 index 0000000000..15cafd57c9 --- /dev/null +++ b/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.raw @@ -0,0 +1,7 @@ +DNS setup +Name Value + +Domain test.com +DNS server 1.1.1.1 +DNS server 2.2.2.2 +DNS server From bd54e81d20eec4c2998d853592de6c412661bbb2 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 Jan 2019 12:03:46 -0800 Subject: [PATCH 213/628] `NETIRON SHOW RUN INTF`: Broaden template scope (#336) * Remove Brocade Netiron 'show run int ve'. Add enhanced 'show run int' in its place. * Remove old 'show run int ve' test files. * `NETIRON SHOW RUN INTF`: Broaden template scope The existing template is only valid for `ve` interfaces. This change removes `ve` from the template name, which allows this to be used more generically for all interface types. Since the name is changed, the directories and indexes are updated accordingly. NEW CAPTURE GROUPS: * `INTERFACE_TYPE`: Captures the interface type defined before interface ID (`INTERFACE`) * `IP_ADDR`: Captures IPv4 addresses of interface * `IP_ADDR_CIDR`: Captures each IPv4 addresses CIDR mask * `IPV6_ADDR`: Captures IPv6 addresses of interface * `IPV6_ADDR_CIDR`: Captures each IPv6 addresses CIDR mask * `ACL_IN`: Captures the ACL for inbound traffic * `ACL_OUT`: Captures the ACL for outbound traffic * `VRID`: Captures the VRID for each virtual router defined for the interface (List) * `IP_ADDR_VRRRPE`: Captures the IP address defined for each VRID (List) * `IP_HELPERS`: - This was defined, but not implemented in RegEx - Changed capture to be a list instead of single entry REMOVE UNUSED CAPTURE GROUPS: * IPADDRESSES (`IP_ADDR` and `IPV6_ADDR` replaced this.) GENERAL ENHANCEMENTS: * Add `\s*$$` for end-of-line matching * Simplify several capture groups to use `\S+?` or `.+?` * Change record to happen on each interface definition to remove unnecessary dependancy * Change spaces to use `\s+` instead of ` ` TEST FILES: * Move existing test files to new directory * Add additional raw and parsed files --- ...ron_show_running-config_interface.template | 52 ++++++++++++++++ ..._show_running-config_interface_ve.template | 29 --------- templates/index | 2 +- ...tiron_show_running-config_interface.parsed | 26 ++++++++ ...netiron_show_running-config_interface.raw} | 3 +- ...iron_show_running-config_interface2.parsed | 50 +++++++++++++++ ...netiron_show_running-config_interface2.raw | 61 +++++++++++++++++++ ...on_show_running-config_interface_ve.parsed | 18 ------ 8 files changed, 192 insertions(+), 49 deletions(-) create mode 100644 templates/brocade_netiron_show_running-config_interface.template delete mode 100644 templates/brocade_netiron_show_running-config_interface_ve.template create mode 100644 tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.parsed rename tests/brocade_netiron/{show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.raw => show_running-config_interface/brocade_netiron_show_running-config_interface.raw} (79%) create mode 100644 tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.parsed create mode 100644 tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.raw delete mode 100644 tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.parsed diff --git a/templates/brocade_netiron_show_running-config_interface.template b/templates/brocade_netiron_show_running-config_interface.template new file mode 100644 index 0000000000..a536177dd0 --- /dev/null +++ b/templates/brocade_netiron_show_running-config_interface.template @@ -0,0 +1,52 @@ +Value INTERFACE_TYPE (.+?) +Value Required INTERFACE (.+?) +Value PORTNAME (.+?) +Value QOSTOSTRUST ([a-z\-]+) +Value QOSTOSMARK ([a-z\-]+) +Value OSPFAREA (\d+) +Value OSPFPASSIVE (.+?) +Value OSPFCOST (\d+) +Value VRF (.+?) +Value IPPIMSPARSE (pim-sparse) +Value IPROUTERISIS (isis) +Value ISISMETRIC (\d+) +Value List IPHELPERS (.+?) +Value IPREDIRECT ([no]*) +Value List IP_ADDR (\S+?) +Value List IP_ADDR_CIDR (\d*) +Value List IPV6_ADDR (\S+?) +Value List IPV6_ADDR_CIDR (\d*) +Value ADMIN_STATE (disable) +Value ACL_IN (\S+) +Value ACL_OUT (\S+) +Value List VRID (\d+) +Value List IP_ADDR_VRRPE (\S+) + + +Start + ^interface -> Continue.Record + ^interface\s+${INTERFACE_TYPE}\s+${INTERFACE}\s*$$ + ^\s+${ADMIN_STATE}\s*$$ + ^\s+port-name\s+${PORTNAME}\s*$$ + ^\s+qos-tos\s+trust\s+${QOSTOSTRUST} + ^\s+qos-tos\s+mark\s+${QOSTOSMARK} + ^\s+ip\s+ospf\s+area\s+${OSPFAREA}\s*$$ + ^\s+ip\s+ospf\s+${OSPFPASSIVE} + ^\s+ip\s+ospf\s+cost\s+${OSPFCOST} + ^\s+vrf\s+forwarding\s+${VRF}\s*$$ + ^\s+ip\s+${IPPIMSPARSE}\s*$$ + ^\s+ip\s+router\s+${IPROUTERISIS} + ^\s+isis\s+metric\s+${ISISMETRIC}\s*$$ + ^\s+${IPREDIRECT}\s*ip\s+redirect + ^\s+ip\s+helper-address\s+${IPHELPERS}\s*$$ + ^\s+ip\s+access-group\s+${ACL_IN}\s+in + ^\s+ip\s+access-group\s+${ACL_OUT}\s+out + ^\s+ip\s+address\s+${IP_ADDR}/*${IP_ADDR_CIDR}\s*$$ + ^\s+ipv6\s+address\s+${IPV6_ADDR}/*${IPV6_ADDR_CIDR}\s*$$ + ^\s+ip(?:v6|)\s+vrrp-extended\s+vrid\s+${VRID} -> VRRPEXTENDED + +VRRPEXTENDED + ^\s+ip(?:v6|)-address\s+${IP_ADDR_VRRPE} + ^\s+ip(?:v6|)\s+vrrp-extended\s+vrid\s+${VRID} + ^interface -> Continue.Record + ^interface\s+${INTERFACE_TYPE}\s+${INTERFACE}\s*$$ -> Start diff --git a/templates/brocade_netiron_show_running-config_interface_ve.template b/templates/brocade_netiron_show_running-config_interface_ve.template deleted file mode 100644 index 4e0813ce8f..0000000000 --- a/templates/brocade_netiron_show_running-config_interface_ve.template +++ /dev/null @@ -1,29 +0,0 @@ -Value Required interface (\d+) -Value portname ([0-9a-zA-Z\ \-\"\/\(\)\_\#\@\.\'\!\&]+) -Value qostostrust ([a-z\-]+) -Value qostosmark ([a-z\-]+) -Value ospfarea (\d+) -Value ospfpassive (passive) -Value ospfcost (\d+) -Value vrf ([a-zA-Z0-9]+) -Value ippimsparse (pim-sparse) -Value iprouterisis (isis) -Value isismetric (\d+) -Value iphelpers (\d+) -Value ipaddresses (\d+) -Value ipredirect (no) - -Start - ^interface ve ${interface} - ^\s+port-name\s+${portname} - ^\s+qos-tos trust ${qostostrust} - ^\s+qos-tos mark ${qostosmark} - ^\s+ip ospf area ${ospfarea} - ^\s+ip ospf ${ospfpassive} - ^\s+ip ospf cost ${ospfcost} - ^\s+vrf forwarding ${vrf} - ^\s+ip ${ippimsparse} - ^\s+ip router ${iprouterisis} - ^\s+isis metric ${isismetric} - ^\s+${ipredirect} ip redirect - ^! -> Next.Record \ No newline at end of file diff --git a/templates/index b/templates/index index adf92f9549..1e3fb504fd 100644 --- a/templates/index +++ b/templates/index @@ -74,7 +74,7 @@ brocade_fastiron_show_span.template, .*, brocade_fastiron, sh[[ow]] sp[[an]] brocade_fastiron_show_topo.template, .*, brocade_fastiron, sh[[ow]] to[[pology-group]] brocade_fastiron_show_arp.template, .*, brocade_fastiron, sh[[ow]] a[[rp]] -brocade_netiron_show_running-config_interface_ve.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] i[[nterface]] v[[e]] +brocade_netiron_show_running-config_interface.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] i[[nterface]] brocade_netiron_show_lldp_neighbors_detail.template, .*, brocade_netiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] brocade_netiron_show_running-config_vlan.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_netiron_show_interfaces_brief.template, .*, brocade_netiron, sh[[ow]] in[[terfaces]] b[[rief]] diff --git a/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.parsed b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.parsed new file mode 100644 index 0000000000..d1e221aef5 --- /dev/null +++ b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.parsed @@ -0,0 +1,26 @@ +--- +parsed_sample: + +- interface_type: 've' + interface: '1390' + portname: 'TA5000A.CLMAMOXI-VoIP' + qostostrust: 'ip-prec' + qostosmark: '' + ospfarea: '' + ospfpassive: '' + ospfcost: '' + vrf: 'SocketVoIP' + ippimsparse: '' + iprouterisis: '' + isismetric: '' + iphelpers: ['10.154.0.180', '10.154.0.181'] + ipredirect: 'no' + ip_addr: ['10.192.0.129', '10.192.4.1'] + ip_addr_cidr: ['27', '24'] + ip_addr_vrrpe: [] + ipv6_addr: [] + ipv6_addr_cidr: [] + admin_state: "" + acl_in: "" + acl_out: "" + vrid: [] diff --git a/tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.raw b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.raw similarity index 79% rename from tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.raw rename to tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.raw index 334828b457..5551e6969b 100644 --- a/tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.raw +++ b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.raw @@ -5,4 +5,5 @@ interface ve 1390 ip address 10.192.0.129/27 ip address 10.192.4.1/24 ip helper-address 10.154.0.180 - ip helper-address 10.154.0.181 \ No newline at end of file + ip helper-address 10.154.0.181 + no ip redirect diff --git a/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.parsed b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.parsed new file mode 100644 index 0000000000..0fffa711d2 --- /dev/null +++ b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.parsed @@ -0,0 +1,50 @@ +--- +parsed_sample: + +- acl_in: '' + acl_out: '' + admin_state: 'disable' + interface: '2801' + interface_type: 've' + ip_addr: ['10.92.176.219', '10.92.191.67', '10.201.214.35', '10.231.184.211', '10.251.229.83'] + ip_addr_cidr: ['29', '26', '28', '28', '28'] + ip_addr_vrrpe: ['10.92.176.217', '10.251.229.81', '10.231.184.209', '10.201.214.33', '10.92.191.65', '2001:2aaf:14:8::1'] + iphelpers: ['10.0.113.10', '10.0.113.20'] + ippimsparse: '' + ipredirect: '' + iprouterisis: '' + ipv6_addr: ['2001:2aaf:14:8::3'] + ipv6_addr_cidr: ['120'] + isismetric: '' + ospfarea: '' + ospfcost: '' + ospfpassive: '' + portname: '' + qostosmark: '' + qostostrust: '' + vrf: '' + vrid: ['1', '2', '3', '4', '5', '6'] + +- acl_in: '' + acl_out: '' + admin_state: '' + interface: '2802' + interface_type: 've' + ip_addr: [] + ip_addr_cidr: [] + ip_addr_vrrpe: [] + iphelpers: [] + ippimsparse: '' + ipredirect: '' + iprouterisis: '' + ipv6_addr: [] + ipv6_addr_cidr: [] + isismetric: '' + ospfarea: '' + ospfcost: '' + ospfpassive: '' + portname: '' + qostosmark: '' + qostostrust: '' + vrf: '' + vrid: [] diff --git a/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.raw b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.raw new file mode 100644 index 0000000000..8dcda090f3 --- /dev/null +++ b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.raw @@ -0,0 +1,61 @@ +interface ve 2801 + ip address 10.92.176.219/29 + ip address 10.92.191.67/26 + ip address 10.201.214.35/28 + ip address 10.231.184.211/28 + ip address 10.251.229.83/28 + ip helper-address 10.0.113.10 + ip helper-address 10.0.113.20 + ipv6 address 2001:2aaf:14:8::3/120 + ipv6 nd suppress-ra + disable + ip vrrp-extended auth-type simple-text-auth VLAN2801 + ip vrrp-extended vrid 1 + backup priority 90 track-priority 50 + ip-address 10.92.176.217 + advertise backup + dead-interval 12 + hello-interval 4 + track-port ethernet 1/1 + activate + ip vrrp-extended vrid 2 + backup priority 90 track-priority 50 + ip-address 10.251.229.81 + advertise backup + dead-interval 12 + hello-interval 4 + track-port ethernet 1/1 + activate + ip vrrp-extended vrid 3 + backup priority 90 track-priority 50 + ip-address 10.231.184.209 + advertise backup + dead-interval 12 + hello-interval 4 + track-port ethernet 1/1 + activate + ip vrrp-extended vrid 4 + backup priority 90 track-priority 50 + ip-address 10.201.214.33 + advertise backup + dead-interval 12 + hello-interval 4 + track-port ethernet 1/1 + activate + ip vrrp-extended vrid 5 + backup priority 90 track-priority 50 + ip-address 10.92.191.65 + advertise backup + dead-interval 12 + hello-interval 4 + track-port ethernet 1/1 + activate + ipv6 vrrp-extended vrid 6 + backup priority 90 track-priority 50 + ipv6-address 2001:2aaf:14:8::1 + advertise backup + hello-interval 4 + track-port ethernet 1/1 + activate +! +interface ve 2802 diff --git a/tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.parsed b/tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.parsed deleted file mode 100644 index d459d78c91..0000000000 --- a/tests/brocade_netiron/show_running-config_interface_ve/brocade_netiron_show_running-config_interface_ve.parsed +++ /dev/null @@ -1,18 +0,0 @@ ---- -parsed_sample: - -- interface: '1390' - portname: 'TA5000A.CLMAMOXI-VoIP' - qostostrust: 'ip-prec' - qostosmark: '' - ospfarea: '' - ospfpassive: '' - ospfcost: '' - vrf: 'SocketVoIP' - ippimsparse: '' - iprouterisis: '' - isismetric: '' - iphelpers: '' - ipaddresses: '' - ipredirect: '' - From 883443c814fcb8d07e3015663acee2a6b959385d Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 Jan 2019 13:41:59 -0800 Subject: [PATCH 214/628] `ASA INTERFACE DETAIL`: Add new template (#337) --- .../cisco_asa_show_interface_detail.template | 162 ++ templates/index | 1 + .../cisco_asa_show_interface_detail.parsed | 1635 +++++++++++++++++ .../cisco_asa_show_interface_detail.raw | 616 +++++++ 4 files changed, 2414 insertions(+) create mode 100644 templates/cisco_asa_show_interface_detail.template create mode 100644 tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.parsed create mode 100644 tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.raw diff --git a/templates/cisco_asa_show_interface_detail.template b/templates/cisco_asa_show_interface_detail.template new file mode 100644 index 0000000000..e422922540 --- /dev/null +++ b/templates/cisco_asa_show_interface_detail.template @@ -0,0 +1,162 @@ +Value Required INTERFACE (\S+) +Value INTERFACE_NAME (.*) +Value LINK_STATUS (.*) +Value PROTOCOL_STATUS (.*) +Value HARDWARE_TYPE ([\w ]+) +Value BANDWIDTH (\d+\s+\w+) +Value DELAY (\d+\s+\w+) +Value DUPLEX ([Ff][Uu][Ll]{2}|[Hh][Aa][Ll][Ff]|[Aa][Uu][Tt][Oo]) +Value SPEED (\d+\s*\S+|[Aa][Uu][Tt][Oo]) +Value FLOWCONTROL_IN (\w+) +Value FLOWCONTROL_OUT (\w+) +Value BONDED_PORT (.+?) +Value DESCRIPTION (.*) +Value ADDRESS ([a-zA-Z0-9]+\.[a-zA-Z0-9]+\.[a-zA-Z0-9]+) +Value MTU (.+?) +Value IP_ADDRESS (.+?) +Value NET_MASK (.+?) +Value IN_PACKETS (\d+) +Value IN_BYTES (\d+) +Value NO_BUFFER (\d+) +Value BROADCASTS (\d+) +Value RUNTS (\d+) +Value GIANTS (\d+) +Value IN_ERRORS (\d+) +Value CRC (\d+) +Value FRAME (\d+) +Value OVERRUN (\d+) +Value IGNORED (\d+) +Value ABORT (\d+) +Value IN_PAUSE_RESUME (\d+) +Value IN_PAUSE (\d+) +Value IN_RESUME (\d+) +Value L2_DECODE_DROPS (\d+) +Value SWITCH_INGRESS_POLICY_DROPS (\d+) +Value OUT_PACKETS (\d+) +Value OUT_BYTES (\d+) +Value UNDERRUNS (\d+) +Value OUT_PAUSE_RESUME (\d+) +Value OUT_PAUSE (\d+) +Value OUT_RESUME (\d+) +Value OUT_ERRORS (\d+) +Value COLLISIONS (\d+) +Value INTERFACE_RESETS (\d+) +Value LATE_COLLISIONS (\d+) +Value DEFFERED (\d+) +Value OUT_DECODE_DROPS (\d+) +Value RATE_LIMIT_DROPS (\d+) +Value SWITCH_EGRESS_POLICY_DROPS (\d+) +Value IN_RESET_DROPS (\d+) +Value OUT_RESET_DROPS (\d+) +Value VLAN (\d+) +# +# Control Point Interface States +# +Value CONTROL_INTERFACE_NUMBER (\d+) +Value CONTROL_INTERFACE_CONFIG_STATUS (.+) +Value CONTROL_INTERFACE_STATE (.+) +# +# Queue Stats +# +# RXRING +Value List RXRING_NUMBER (\d+) +Value List RXRING_PACKETS (\d+) +Value List RXRING_BYTES (\d+) +Value List RXRING_OVERRUN (\d+) +Value List RXRING_BLOCKS_FREE_CURR (\d+) +Value List RXRING_BLOCKS_FREE_LOW (\d+) +Value List RXRING_INTERFACE (.+?) +# +# TXRING +Value List TXRING_NUMBER (\d+) +Value List TXRING_PACKETS (\d+) +Value List TXRING_BYTES (\d+) +Value List TXRING_UNDERRUN (\d+) +Value List TXRING_BLOCKS_FREE_CURR (\d+) +Value List TXRING_BLOCKS_FREE_LOW (\d+) +Value List TXRING_INTERFACE (.+?) + + +Start + ^Interface -> Continue.Record + ^Interface\s+${INTERFACE}\s+"${INTERFACE_NAME}",\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS} + ^\s+Hardware\s+is\s+${HARDWARE_TYPE}.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY} + ^\s+\S*${DUPLEX}\S*,\s+\S*?${SPEED}(?:\)|\S+)\s*$$ + ^\s+Input\s+flow\s+control\s+is\s+${FLOWCONTROL_IN},\s+output\s+flow\s+control\s+is\s+${FLOWCONTROL_OUT} + ^\s+Active\s+member\s+of\s+${BONDED_PORT}\s*$$ + ^\s+Description:\s+${DESCRIPTION} + ^\s+MAC\s+address\s+${ADDRESS}.*MTU\s+${MTU}\s*$$ + ^\s+IP\s+[Aa]ddress\s+${IP_ADDRESS}(?:,\s+[Ss]ubnet\s+[Mm]ask\s+${NET_MASK})?\s*$$ + ^\s+${IN_PACKETS}\s+packets\s+input,\s+${IN_BYTES}\s+bytes,\s+${NO_BUFFER}\s+no\s+buffer + ^\s+Received\s+${BROADCASTS}\s+broadcasts,\s+${RUNTS}\s+runts,\s+${GIANTS}\s+giants + ^\s+${IN_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+${FRAME}\s+frame,\s+${OVERRUN}\s+overrun,\s+${IGNORED}\s+ignored,\s+${ABORT}\s+abort + ^\s+${IN_PAUSE_RESUME}\s+pause/resume\s+input + ^\s+${IN_PAUSE}\s+pause\s+input,\s+${IN_RESUME}\s+resume\s+input + ^\s+${L2_DECODE_DROPS}\s+L2\s+decode\s+drops + ^\s+${SWITCH_INGRESS_POLICY_DROPS}\s+switch\s+ingress\s+policy\s+drops + ^\s+${OUT_PACKETS}\s+packets\s+output,\s+${OUT_BYTES}\s+bytes,\s+${UNDERRUNS}\s+underruns + ^\s+${OUT_PAUSE_RESUME}\s+pause/resume\s+output + ^\s+${OUT_PAUSE}\s+pause\s+output,\s+${OUT_RESUME}\s+resume\s+output + ^\s+${OUT_ERRORS}\s+output\s+errors,\s+${COLLISIONS}\s+collisions,\s+${INTERFACE_RESETS}\s+interface\s+resets + ^\s+${LATE_COLLISIONS}\s+late\s+collisions,\s+${DEFFERED}\s+deferred + ^\s+${OUT_DECODE_DROPS}\s+output\s+decode\s+drops + ^\s+${RATE_LIMIT_DROPS}\s+rate\s+limit\s+drops + ^\s+${SWITCH_EGRESS_POLICY_DROPS}\s+switch\s+egress\s+policy\s+drops + ^\s+${IN_RESET_DROPS}\s+input\s+reset\s+drops,\s+${OUT_RESET_DROPS}\s+output\s+reset\s+drops + ^\s+input\s+queue + ^\s+output\s+queue + ^\s+Queue\s+Stats: + ^\s+VLAN\s+identifier\s+${VLAN} + ^\s+Control\s+Point\s+Interface\s+States -> ControlPoint + ^\s+RX\[${RXRING_NUMBER}\]:\s+${RXRING_PACKETS}\s+packets,\s+${RXRING_BYTES}\s+bytes,\s+${RXRING_OVERRUN}\s+overrun -> RXRingBlocks + ^\s+TX\[${TXRING_NUMBER}\]:\s+${TXRING_PACKETS}\s+packets,\s+${TXRING_BYTES}\s+bytes,\s+${TXRING_UNDERRUN}\s+underruns -> TXRingBlocks + ^\s+Available\s+for\s+allocation\s+to\s+a\s+context + ^Interface -> Continue.Record + ^Interface\s+${INTERFACE}\s+"${INTERFACE_NAME}",\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS} + ^\s+Topology\s+Information: -> Topology + ^\s*$$ + ^. -> Error + +ControlPoint + ^\s+Interface\s+number\s+is\s+${CONTROL_INTERFACE_NUMBER} + ^\s+Interface\s+config\s+status\s+is\s+${CONTROL_INTERFACE_CONFIG_STATUS} + ^\s+Interface\s+state\s+is\s+${CONTROL_INTERFACE_STATE} + ^Interface -> Continue.Record + ^Interface\s+${INTERFACE}\s+"${INTERFACE_NAME}",\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS} -> Start + ^\s+Queue\s+Stats: + ^\s+RX\[${RXRING_NUMBER}\]:\s+${RXRING_PACKETS}\s+packets,\s+${RXRING_BYTES}\s+bytes,\s+${RXRING_OVERRUN}\s+overrun -> RXRingBlocks + ^\s+TX\[${TXRING_NUMBER}\]:\s+${TXRING_PACKETS}\s+packets,\s+${TXRING_BYTES}\s+bytes,\s+${TXRING_UNDERRUN}\s+underruns -> TXRingBlocks + +RXRingBlocks + ^\s+RX\[${RXRING_NUMBER}\]:\s+${RXRING_PACKETS}\s+packets,\s+${RXRING_BYTES}\s+bytes,\s+${RXRING_OVERRUN}\s+overrun + ^\s+Blocks\s+free\s+curr/low:\s+${RXRING_BLOCKS_FREE_CURR}/${RXRING_BLOCKS_FREE_LOW} + ^\s+Used\s+by\s+${RXRING_INTERFACE}\s*$$ + ^\s+TX\[${TXRING_NUMBER}\]:\s+${TXRING_PACKETS}\s+packets,\s+${TXRING_BYTES}\s+bytes,\s+${TXRING_UNDERRUN}\s+underruns -> TXRingBlocks + ^\s+Topology\s+Information: -> Topology + ^\s+Control\s+Point\s+Interface\s+States -> ControlPoint + ^Interface -> Continue.Record + ^Interface\s+${INTERFACE}\s+"${INTERFACE_NAME}",\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS} -> Start + ^\s*$$ + ^. -> Error + +TXRingBlocks + ^\s+TX\[${TXRING_NUMBER}\]:\s+${TXRING_PACKETS}\s+packets,\s+${TXRING_BYTES}\s+bytes,\s+${TXRING_UNDERRUN}\s+underruns + ^\s+Blocks\s+free\s+curr/low:\s+${TXRING_BLOCKS_FREE_CURR}/${TXRING_BLOCKS_FREE_LOW} + ^\s+Used\s+by\s+${TXRING_INTERFACE}\s*$$ + ^\s+Topology\s+Information: -> Topology + ^\s+RX\[${RXRING_NUMBER}\]:\s+${RXRING_PACKETS}\s+packets,\s+${RXRING_BYTES}\s+bytes,\s+${RXRING_OVERRUN}\s+overrun -> RXRingBlocks + ^\s+Control\s+Point\s+Interface\s+States -> ControlPoint + ^Interface -> Continue.Record + ^Interface\s+${INTERFACE}\s+"${INTERFACE_NAME}",\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS} -> Start + ^\s*$$ + ^. -> Error + +Topology + ^\s{4,}\S+ + ^\s+Control\s+Point\s+Interface\s+States -> ControlPoint + ^Interface -> Continue.Record + ^Interface\s+${INTERFACE}\s+"${INTERFACE_NAME}",\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS} -> Start + ^\s+RX\[${RXRING_NUMBER}\]:\s+${RXRING_PACKETS}\s+packets,\s+${RXRING_BYTES}\s+bytes,\s+${RXRING_OVERRUN}\s+overrun -> RXRingBlocks + ^\s+TX\[${TXRING_NUMBER}\]:\s+${TXRING_PACKETS}\s+packets,\s+${TXRING_BYTES}\s+bytes,\s+${TXRING_UNDERRUN}\s+underruns -> TXRingBlocks + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 1e3fb504fd..b5e103912a 100644 --- a/templates/index +++ b/templates/index @@ -105,6 +105,7 @@ cisco_asa_show_vpn-sessiondb_detail_l2l.template, .*, cisco_asa, sh[[ow]] vpn-[[ cisco_asa_show_crypto_ikev1_sa_detail.template, .*, cisco_asa, sh[[ow]] cry[[pto]] ikev1 sa d[[etail]] cisco_asa_show_object-group_network.template, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] cisco_asa_show_running-config_ipsec.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] ips[[ec]] +cisco_asa_show_interface_detail.template, .*, cisco_asa, sh[[ow]] int[[erface]] d[[etail]] cisco_asa_show_crypto_ipsec_sa.template, .*, cisco_asa, sh[[ow]] cry[[pto]] ip[[sec]] sa cisco_asa_show_resource_usage.template, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] cisco_asa_show_access-list.template, .*, cisco_asa, sh[[ow]] ac[[cess-list]] diff --git a/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.parsed b/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.parsed new file mode 100644 index 0000000000..631308290d --- /dev/null +++ b/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.parsed @@ -0,0 +1,1635 @@ +--- +parsed_sample: + +- abort: '0' + address: f0f7.5543.a522 + bandwidth: 1000 Mbps + bonded_port: '' + broadcasts: '18' + collisions: '0' + control_interface_config_status: active + control_interface_number: '8' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: LAN Failover Interface + duplex: Full + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '26646683366' + in_errors: '0' + in_packets: '200840360' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: GigabitEthernet0/0 + interface_name: folink + interface_resets: '0' + ip_address: 11.1.1.1 + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: '1500' + net_mask: 255.255.255.252 + no_buffer: '0' + out_bytes: '23362268244' + out_decode_drops: '' + out_errors: '0' + out_packets: '164279548' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: up + rate_limit_drops: '0' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 1000 Mbps + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: f0f7.5543.a523 + bandwidth: 1000 Mbps + bonded_port: '' + broadcasts: '2' + collisions: '0' + control_interface_config_status: active + control_interface_number: '9' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: STATE Failover Interface + duplex: Full + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '11507372449' + in_errors: '0' + in_packets: '96629806' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: GigabitEthernet0/1 + interface_name: statelink + interface_resets: '0' + ip_address: 12.1.1.1 + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: '1500' + net_mask: 255.255.255.252 + no_buffer: '0' + out_bytes: '834717617298' + out_decode_drops: '' + out_errors: '0' + out_packets: '758965289' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: up + rate_limit_drops: '0' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 1000 Mbps + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: 'f0f7.5543.a524' + bandwidth: 1000 Mbps + bonded_port: '' + broadcasts: '0' + collisions: '0' + control_interface_config_status: 'not active' + control_interface_number: '10' + control_interface_state: 'not active' + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Auto' + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '0' + in_errors: '0' + in_packets: '0' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: GigabitEthernet0/2 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: administratively down + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '0' + out_decode_drops: '' + out_errors: '0' + out_packets: '0' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: down + rate_limit_drops: '0' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 'Auto' + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: 'f0f7.5543.a525' + bandwidth: 1000 Mbps + bonded_port: '' + broadcasts: '0' + collisions: '0' + control_interface_config_status: 'not active' + control_interface_number: '11' + control_interface_state: 'not active' + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Auto' + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '0' + in_errors: '0' + in_packets: '0' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: GigabitEthernet0/3 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: administratively down + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '0' + out_decode_drops: '' + out_errors: '0' + out_packets: '0' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: down + rate_limit_drops: '0' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 'Auto' + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: 'f0f7.5543.a526' + bandwidth: 1000 Mbps + bonded_port: '' + broadcasts: '0' + collisions: '0' + control_interface_config_status: 'not active' + control_interface_number: '12' + control_interface_state: 'not active' + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Auto' + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '0' + in_errors: '0' + in_packets: '0' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: GigabitEthernet0/4 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: administratively down + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '0' + out_decode_drops: '' + out_errors: '0' + out_packets: '0' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: down + rate_limit_drops: '0' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 'Auto' + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: 'f0f7.5543.a527' + bandwidth: 1000 Mbps + bonded_port: '' + broadcasts: '0' + collisions: '0' + control_interface_config_status: 'not active' + control_interface_number: '13' + control_interface_state: 'not active' + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Auto' + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '0' + in_errors: '0' + in_packets: '0' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: GigabitEthernet0/5 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: administratively down + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '0' + out_decode_drops: '' + out_errors: '0' + out_packets: '0' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: down + rate_limit_drops: '0' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 'Auto' + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: '0000.0001.0001' + bandwidth: 10000 Mbps + bonded_port: '' + broadcasts: '193961' + collisions: '0' + control_interface_config_status: active + control_interface_number: '2' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Full' + flowcontrol_in: 'on' + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: i82599_xaui rev02 + ignored: '0' + in_bytes: '27999317462474' + in_errors: '50017' + in_packets: '40694905620' + in_pause: '0' + in_pause_resume: '' + in_reset_drops: '0' + in_resume: '0' + interface: Internal-Data0/0 + interface_name: '' + interface_resets: '1' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '19710792216623' + out_decode_drops: '0' + out_errors: '0' + out_packets: '22840594539' + out_pause: '0' + out_pause_resume: '' + out_reset_drops: '0' + out_resume: '0' + overrun: '50017' + protocol_status: up + rate_limit_drops: '' + runts: '0' + rxring_blocks_free_curr: ['511', '511', '511', '511', '511'] + rxring_blocks_free_low: ['311', '311', '339', '369', '507'] + rxring_bytes: ['8613178051164', '6924744308770', '5930247361074', '6508202351390', '22945468790'] + rxring_interface: [] + rxring_number: ['00', '01', '02', '03', '04'] + rxring_overrun: ['33671', '3892', '5983', '6471', '0'] + rxring_packets: ['11928867434', '9936555115', '8885121010', '9774040102', '170322028'] + speed: '10000 Mbps' + switch_egress_policy_drops: '' + switch_ingress_policy_drops: '' + txring_blocks_free_curr: ['511', '511', '511', '511', '511', '511'] + txring_blocks_free_low: ['349', '350', '350', '350', '507', '486'] + txring_bytes: ['6276748798963', '4562626128086', '3813812735685', '4195831926616', '24019250372', '837753453654'] + txring_interface: ['GigabitEthernet0/0', 'GigabitEthernet0/1'] + txring_number: ['00', '01', '02', '03', '04', '05'] + txring_packets: ['7034786488', '5193693399', '4620598548', '5068271291', '164279550', '758965324'] + txring_underrun: ['0', '0', '0', '0', '0', '0'] + underruns: '0' + vlan: '' +- abort: '0' + address: '0000.0001.0002' + bandwidth: 10000 Mbps + bonded_port: '' + broadcasts: '237991' + collisions: '0' + control_interface_config_status: active + control_interface_number: '3' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Full' + flowcontrol_in: 'on' + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: i82599_xaui rev02 + ignored: '0' + in_bytes: '34934209914110' + in_errors: '5073' + in_packets: '53468958544' + in_pause: '0' + in_pause_resume: '' + in_reset_drops: '0' + in_resume: '0' + interface: Internal-Data0/1 + interface_name: '' + interface_resets: '1' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '20171793812896' + out_decode_drops: '0' + out_errors: '0' + out_packets: '29187689876' + out_pause: '0' + out_pause_resume: '' + out_reset_drops: '0' + out_resume: '0' + overrun: '5073' + protocol_status: up + rate_limit_drops: '' + runts: '0' + rxring_blocks_free_curr: ['511', '511', '511', '511'] + rxring_blocks_free_low: ['358', '394', '359', '389'] + rxring_bytes: ['12717109454320', '6735149484197', '8351432550533', '7130518429589'] + rxring_interface: [] + rxring_number: ['00', '01', '02', '03'] + rxring_overrun: ['1026', '2704', '801', '542'] + rxring_packets: ['15538406285', '9970135924', '17849754640', '10110661702'] + speed: '10000 Mbps' + switch_egress_policy_drops: '' + switch_ingress_policy_drops: '' + txring_blocks_free_curr: ['511', '511', '511', '511', '511', '511', '511'] + txring_blocks_free_low: ['349', '351', '345', '342', '511', '511', '511'] + txring_bytes: ['4975556841210', '4268946532826', '6045848459484', '4881441983697', '0', '0', '0'] + txring_interface: ['GigabitEthernet0/2', 'GigabitEthernet0/3', 'GigabitEthernet0/4'] + txring_number: ['00', '01', '02', '03', '04', '05', '06'] + txring_packets: ['5792237421', '4768859986', '12970769201', '5655823274', '0', '0', '0'] + txring_underrun: ['0', '0', '0', '0', '0', '0', '0'] + underruns: '0' + vlan: '' +- abort: '0' + address: '0000.0001.0004' + bandwidth: 10000 Mbps + bonded_port: '' + broadcasts: '98334' + collisions: '0' + control_interface_config_status: active + control_interface_number: '4' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Full' + flowcontrol_in: 'on' + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: i82599_xaui rev02 + ignored: '0' + in_bytes: '39482314595060' + in_errors: '10907' + in_packets: '58606970185' + in_pause: '523' + in_pause_resume: '' + in_reset_drops: '0' + in_resume: '523' + interface: Internal-Data0/2 + interface_name: '' + interface_resets: '1' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '173237932025004' + out_decode_drops: '0' + out_errors: '0' + out_packets: '472460832718' + out_pause: '0' + out_pause_resume: '' + out_reset_drops: '0' + out_resume: '0' + overrun: '10907' + protocol_status: up + rate_limit_drops: '' + runts: '0' + rxring_blocks_free_curr: ['511', '511', '511', '511'] + rxring_blocks_free_low: ['384', '396', '384', '394'] + rxring_bytes: ['8861585758086', '14845677833920', '7489829408483', '8285221609828'] + rxring_interface: [] + rxring_number: ['00', '01', '02', '03'] + rxring_overrun: ['5515', '3134', '858', '1400'] + rxring_packets: ['13231072890', '20193376457', '12027933127', '13154587757'] + speed: '10000 Mbps' + switch_egress_policy_drops: '' + switch_ingress_policy_drops: '' + txring_blocks_free_curr: ['511', '510', '511', '505', '511', '508', '511'] + txring_blocks_free_low: ['349', '349', '342', '311', '511', '0', '170'] + txring_bytes: ['6472090504001', '12645630943922', '5085252075635', '4988646702498', '0', '127322520663605', '16723791170491'] + txring_interface: ['TenGigabitEthernet0/6', 'TenGigabitEthernet0/9', 'TenGigabitEthernet0/8'] + txring_number: ['00', '01', '02', '03', '04', '05', '06'] + txring_packets: ['7589052992', '15755071022', '6680981379', '6484398780', '0', '415140458466', '20810870169'] + txring_underrun: ['0', '0', '0', '0', '0', '2905646', '0'] + underruns: '2905646' + vlan: '' +- abort: '0' + address: '0000.0001.0003' + bandwidth: 10000 Mbps + bonded_port: '' + broadcasts: '53915' + collisions: '0' + control_interface_config_status: active + control_interface_number: '5' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Full' + flowcontrol_in: 'on' + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: i82599_xaui rev02 + ignored: '0' + in_bytes: '549651226348272' + in_errors: '457910371' + in_packets: '851725855606' + in_pause: '0' + in_pause_resume: '' + in_reset_drops: '0' + in_resume: '0' + interface: Internal-Data0/3 + interface_name: '' + interface_resets: '1' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '439462480886576' + out_decode_drops: '0' + out_errors: '0' + out_packets: '479068686555' + out_pause: '0' + out_pause_resume: '' + out_reset_drops: '0' + out_resume: '0' + overrun: '457910371' + protocol_status: up + rate_limit_drops: '' + runts: '0' + rxring_blocks_free_curr: ['511', '511', '511', '511'] + rxring_blocks_free_low: ['377', '340', '152', '362'] + rxring_bytes: ['6455848237095', '7108517208857', '528392087186847', '7694773726910'] + rxring_interface: [] + rxring_number: ['00', '01', '02', '03'] + rxring_overrun: ['11242', '8535', '457881225', '9369'] + rxring_packets: ['9317849354', '12456612163', '818537242486', '11414151630'] + speed: '10000 Mbps' + switch_egress_policy_drops: '' + switch_ingress_policy_drops: '' + txring_blocks_free_curr: ['511', '511', '511', '511', '511', '511'] + txring_blocks_free_low: ['349', '349', '282', '313', '511', '511'] + txring_bytes: ['4204729002116', '4487948642586', '425299352333798', '5470450911421', '0', '0'] + txring_interface: ['GigabitEthernet0/5', 'TenGigabitEthernet0/7'] + txring_number: ['00', '01', '02', '03', '04', '05'] + txring_packets: ['4776785546', '6150915656', '460988499302', '7152486058', '0', '0'] + txring_underrun: ['0', '0', '0', '0', '0', '0'] + underruns: '0' + vlan: '' +- abort: '0' + address: '0000.0100.001d' + bandwidth: 10000 Mbps + bonded_port: '' + broadcasts: '5014' + collisions: '0' + control_interface_config_status: active + control_interface_number: '18' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Full' + flowcontrol_in: 'on' + flowcontrol_out: 'on' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '19710795908904' + in_errors: '0' + in_packets: '22840589872' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: Internal-Data0/4 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '27999352911090' + out_decode_drops: '' + out_errors: '0' + out_packets: '40694946838' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: up + rate_limit_drops: '' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: '10000 Mbps' + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: '0000.0100.001e' + bandwidth: 10000 Mbps + bonded_port: '' + broadcasts: '4' + collisions: '0' + control_interface_config_status: active + control_interface_number: '19' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Full' + flowcontrol_in: 'on' + flowcontrol_out: 'on' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '20171797966300' + in_errors: '0' + in_packets: '29187686478' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: Internal-Data0/5 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '34934208273981' + out_decode_drops: '' + out_errors: '0' + out_packets: '53468957755' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: up + rate_limit_drops: '' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: '10000 Mbps' + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: '0000.0100.001f' + bandwidth: 10000 Mbps + bonded_port: '' + broadcasts: '22' + collisions: '0' + control_interface_config_status: active + control_interface_number: '20' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Full' + flowcontrol_in: 'on' + flowcontrol_out: 'on' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '173237935490747' + in_errors: '0' + in_packets: '472460814095' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: Internal-Data0/6 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '39482316159290' + out_decode_drops: '' + out_errors: '0' + out_packets: '58606973721' + out_pause: '' + out_pause_resume: '1046' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: up + rate_limit_drops: '' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: '10000 Mbps' + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: '0000.0100.0020' + bandwidth: 10000 Mbps + bonded_port: '' + broadcasts: '5' + collisions: '0' + control_interface_config_status: active + control_interface_number: '21' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Full' + flowcontrol_in: 'on' + flowcontrol_out: 'on' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '439462480942505' + in_errors: '0' + in_packets: '479068680668' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: Internal-Data0/7 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '549964199797166' + out_decode_drops: '' + out_errors: '0' + out_packets: '852183755510' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: up + rate_limit_drops: '' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: '10000 Mbps' + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: 'f0f7.5543.a520' + bandwidth: 1000 Mbps + bonded_port: '' + broadcasts: '33364282' + collisions: '0' + control_interface_config_status: 'active' + control_interface_number: '6' + control_interface_state: 'active' + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: Full + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: i82574L rev00 + ignored: '0' + in_bytes: '18346216501' + in_errors: '0' + in_packets: '187312178' + in_pause: '0' + in_pause_resume: '' + in_reset_drops: '3' + in_resume: '0' + interface: Management0/0 + interface_name: '' + interface_resets: '2' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '69865717975' + out_decode_drops: '' + out_errors: '0' + out_packets: '365077501' + out_pause: '0' + out_pause_resume: '' + out_reset_drops: '0' + out_resume: '0' + overrun: '0' + protocol_status: up + rate_limit_drops: '' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 1000 Mbps + switch_egress_policy_drops: '' + switch_ingress_policy_drops: '' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: 'f0f7.5543.a521' + bandwidth: 1000 Mbps + bonded_port: '' + broadcasts: '0' + collisions: '0' + control_interface_config_status: 'not active' + control_interface_number: '7' + control_interface_state: 'not active' + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Auto' + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: i82574L rev00 + ignored: '0' + in_bytes: '0' + in_errors: '0' + in_packets: '0' + in_pause: '0' + in_pause_resume: '' + in_reset_drops: '0' + in_resume: '0' + interface: Management0/1 + interface_name: '' + interface_resets: '2' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: administratively down + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '0' + out_decode_drops: '' + out_errors: '0' + out_packets: '0' + out_pause: '0' + out_pause_resume: '' + out_reset_drops: '0' + out_resume: '0' + overrun: '0' + protocol_status: down + rate_limit_drops: '' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 'Auto' + switch_egress_policy_drops: '' + switch_ingress_policy_drops: '' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: 'f0f7.5543.a528' + bandwidth: 10000 Mbps + bonded_port: 'Port-channel1' + broadcasts: '16' + collisions: '0' + control_interface_config_status: active + control_interface_number: '14' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Full' + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '124398034640232' + in_errors: '0' + in_packets: '399819592361' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: TenGigabitEthernet0/6 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '491562768018165' + out_decode_drops: '' + out_errors: '0' + out_packets: '540331320890' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: up + rate_limit_drops: '0' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: '10000 Mbps' + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: 'f0f7.5543.a529' + bandwidth: 10000 Mbps + bonded_port: 'Port-channel1' + broadcasts: '2097' + collisions: '0' + control_interface_config_status: active + control_interface_number: '15' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 10 usec + description: '' + duplex: 'Full' + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '18199845951648' + in_errors: '0' + in_packets: '37959565021' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: TenGigabitEthernet0/7 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '13846109908639' + out_decode_drops: '' + out_errors: '0' + out_packets: '26351891151' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: up + rate_limit_drops: '0' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: '10000 Mbps' + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: 'f0f7.5543.a52a' + bandwidth: 1000 Mbps + bonded_port: 'Port-channel2' + broadcasts: '245856' + collisions: '0' + control_interface_config_status: active + control_interface_number: '16' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 1000 usec + description: '' + duplex: Full + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '34610285463141' + in_errors: '0' + in_packets: '43937607828' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: TenGigabitEthernet0/8 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '16640841970890' + out_decode_drops: '' + out_errors: '0' + out_packets: '20810869221' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: up + rate_limit_drops: '0' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 1000 Mbps + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '0' + address: 'f0f7.5543.a52b' + bandwidth: 1000 Mbps + bonded_port: 'Port-channel2' + broadcasts: '336212' + collisions: '0' + control_interface_config_status: active + control_interface_number: '17' + control_interface_state: active + crc: '0' + deffered: '0' + delay: 1000 usec + description: '' + duplex: Full + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '0' + giants: '0' + hardware_type: bcm56800 rev 01 + ignored: '0' + in_bytes: '471124372993133' + in_errors: '0' + in_packets: '523013521132' + in_pause: '' + in_pause_resume: '0' + in_reset_drops: '0' + in_resume: '' + interface: TenGigabitEthernet0/9 + interface_name: '' + interface_resets: '0' + ip_address: 'unassigned' + l2_decode_drops: '0' + late_collisions: '0' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '0' + out_bytes: '125662363017538' + out_decode_drops: '' + out_errors: '0' + out_packets: '415140444956' + out_pause: '' + out_pause_resume: '0' + out_reset_drops: '0' + out_resume: '' + overrun: '0' + protocol_status: up + rate_limit_drops: '0' + runts: '0' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 1000 Mbps + switch_egress_policy_drops: '0' + switch_ingress_policy_drops: '0' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '0' + vlan: '' +- abort: '' + address: 'f0f7.5543.a528' + bandwidth: 20000 Mbps + bonded_port: '' + broadcasts: '' + collisions: '' + control_interface_config_status: 'active' + control_interface_number: '23' + control_interface_state: 'active' + crc: '' + deffered: '' + delay: 10 usec + description: ext + duplex: 'Full' + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '' + giants: '' + hardware_type: EtherChannel + ignored: '' + in_bytes: '' + in_errors: '' + in_packets: '' + in_pause: '' + in_pause_resume: '' + in_reset_drops: '' + in_resume: '' + interface: Port-channel1 + interface_name: '' + interface_resets: '' + ip_address: 'unassigned' + l2_decode_drops: '' + late_collisions: '' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '' + out_bytes: '' + out_decode_drops: '' + out_errors: '' + out_packets: '' + out_pause: '' + out_pause_resume: '' + out_reset_drops: '' + out_resume: '' + overrun: '' + protocol_status: up + rate_limit_drops: '' + runts: '' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: '10000 Mbps' + switch_egress_policy_drops: '' + switch_ingress_policy_drops: '' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '' + vlan: '' +- abort: '' + address: '' + bandwidth: 20000 Mbps + bonded_port: '' + broadcasts: '' + collisions: '' + control_interface_config_status: '' + control_interface_number: '' + control_interface_state: '' + crc: '' + deffered: '' + delay: 10 usec + description: data-inside + duplex: '' + flowcontrol_in: '' + flowcontrol_out: '' + frame: '' + giants: '' + hardware_type: EtherChannel + ignored: '' + in_bytes: '' + in_errors: '' + in_packets: '' + in_pause: '' + in_pause_resume: '' + in_reset_drops: '' + in_resume: '' + interface: Port-channel1.355 + interface_name: '' + interface_resets: '' + ip_address: '' + l2_decode_drops: '' + late_collisions: '' + link_status: up + mtu: '' + net_mask: '' + no_buffer: '' + out_bytes: '' + out_decode_drops: '' + out_errors: '' + out_packets: '' + out_pause: '' + out_pause_resume: '' + out_reset_drops: '' + out_resume: '' + overrun: '' + protocol_status: up + rate_limit_drops: '' + runts: '' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: '' + switch_egress_policy_drops: '' + switch_ingress_policy_drops: '' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '' + vlan: '355' +- abort: '' + address: 'f0f7.5543.a52a' + bandwidth: 2000 Mbps + bonded_port: '' + broadcasts: '' + collisions: '' + control_interface_config_status: 'active' + control_interface_number: '24' + control_interface_state: 'active' + crc: '' + deffered: '' + delay: 1000 usec + description: techlan + duplex: Full + flowcontrol_in: unsupported + flowcontrol_out: 'off' + frame: '' + giants: '' + hardware_type: EtherChannel + ignored: '' + in_bytes: '' + in_errors: '' + in_packets: '' + in_pause: '' + in_pause_resume: '' + in_reset_drops: '' + in_resume: '' + interface: Port-channel2 + interface_name: '' + interface_resets: '' + ip_address: 'unassigned' + l2_decode_drops: '' + late_collisions: '' + link_status: up + mtu: 'not set' + net_mask: '' + no_buffer: '' + out_bytes: '' + out_decode_drops: '' + out_errors: '' + out_packets: '' + out_pause: '' + out_pause_resume: '' + out_reset_drops: '' + out_resume: '' + overrun: '' + protocol_status: up + rate_limit_drops: '' + runts: '' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: 1000 Mbps + switch_egress_policy_drops: '' + switch_ingress_policy_drops: '' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '' + vlan: '' +- abort: '' + address: '' + bandwidth: 2000 Mbps + bonded_port: '' + broadcasts: '' + collisions: '' + control_interface_config_status: '' + control_interface_number: '' + control_interface_state: '' + crc: '' + deffered: '' + delay: 1000 usec + description: data-outside + duplex: '' + flowcontrol_in: '' + flowcontrol_out: '' + frame: '' + giants: '' + hardware_type: EtherChannel + ignored: '' + in_bytes: '' + in_errors: '' + in_packets: '' + in_pause: '' + in_pause_resume: '' + in_reset_drops: '' + in_resume: '' + interface: Port-channel2.283 + interface_name: '' + interface_resets: '' + ip_address: '' + l2_decode_drops: '' + late_collisions: '' + link_status: up + mtu: '' + net_mask: '' + no_buffer: '' + out_bytes: '' + out_decode_drops: '' + out_errors: '' + out_packets: '' + out_pause: '' + out_pause_resume: '' + out_reset_drops: '' + out_resume: '' + overrun: '' + protocol_status: up + rate_limit_drops: '' + runts: '' + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: '' + switch_egress_policy_drops: '' + switch_ingress_policy_drops: '' + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: '' + vlan: '283' diff --git a/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.raw b/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.raw new file mode 100644 index 0000000000..7c8e11756a --- /dev/null +++ b/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.raw @@ -0,0 +1,616 @@ +Interface GigabitEthernet0/0 "folink", is up, line protocol is up + Hardware is bcm56800 rev 01, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is off + Description: LAN Failover Interface + MAC address f0f7.5543.a522, MTU 1500 + IP address 11.1.1.1, subnet mask 255.255.255.252 + 200840360 packets input, 26646683366 bytes, 0 no buffer + Received 18 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 L2 decode drops + 0 switch ingress policy drops + 164279548 packets output, 23362268244 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Control Point Interface States: + Interface number is 8 + Interface config status is active + Interface state is active +Interface GigabitEthernet0/1 "statelink", is up, line protocol is up + Hardware is bcm56800 rev 01, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is off + Description: STATE Failover Interface + MAC address f0f7.5543.a523, MTU 1500 + IP address 12.1.1.1, subnet mask 255.255.255.252 + 96629806 packets input, 11507372449 bytes, 0 no buffer + Received 2 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 L2 decode drops + 0 switch ingress policy drops + 758965289 packets output, 834717617298 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Control Point Interface States: + Interface number is 9 + Interface config status is active + Interface state is active +Interface GigabitEthernet0/2 "", is administratively down, line protocol is down + Hardware is bcm56800 rev 01, BW 1000 Mbps, DLY 10 usec + Auto-Duplex, Auto-Speed + Input flow control is unsupported, output flow control is off + Available for allocation to a context + MAC address f0f7.5543.a524, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 L2 decode drops + 0 switch ingress policy drops + 0 packets output, 0 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Control Point Interface States: + Interface number is 10 + Interface config status is not active + Interface state is not active +Interface GigabitEthernet0/3 "", is administratively down, line protocol is down + Hardware is bcm56800 rev 01, BW 1000 Mbps, DLY 10 usec + Auto-Duplex, Auto-Speed + Input flow control is unsupported, output flow control is off + Available for allocation to a context + MAC address f0f7.5543.a525, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 L2 decode drops + 0 switch ingress policy drops + 0 packets output, 0 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Control Point Interface States: + Interface number is 11 + Interface config status is not active + Interface state is not active +Interface GigabitEthernet0/4 "", is administratively down, line protocol is down + Hardware is bcm56800 rev 01, BW 1000 Mbps, DLY 10 usec + Auto-Duplex, Auto-Speed + Input flow control is unsupported, output flow control is off + Available for allocation to a context + MAC address f0f7.5543.a526, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 L2 decode drops + 0 switch ingress policy drops + 0 packets output, 0 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Control Point Interface States: + Interface number is 12 + Interface config status is not active + Interface state is not active +Interface GigabitEthernet0/5 "", is administratively down, line protocol is down + Hardware is bcm56800 rev 01, BW 1000 Mbps, DLY 10 usec + Auto-Duplex, Auto-Speed + Input flow control is unsupported, output flow control is off + Available for allocation to a context + MAC address f0f7.5543.a527, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 L2 decode drops + 0 switch ingress policy drops + 0 packets output, 0 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Control Point Interface States: + Interface number is 13 + Interface config status is not active + Interface state is not active +Interface Internal-Data0/0 "", is up, line protocol is up + Hardware is i82599_xaui rev02, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is on, output flow control is off + MAC address 0000.0001.0001, MTU not set + IP address unassigned + 40694905620 packets input, 27999317462474 bytes, 0 no buffer + Received 193961 broadcasts, 0 runts, 0 giants + 50017 input errors, 0 CRC, 0 frame, 50017 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops, 0 demux drops + 22840594539 packets output, 19710792216623 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 1 interface resets + 0 late collisions, 0 deferred + 0 output decode drops + 0 input reset drops, 0 output reset drops + Queue Stats: + RX[00]: 11928867434 packets, 8613178051164 bytes, 33671 overrun + Blocks free curr/low: 511/311 + RX[01]: 9936555115 packets, 6924744308770 bytes, 3892 overrun + Blocks free curr/low: 511/311 + RX[02]: 8885121010 packets, 5930247361074 bytes, 5983 overrun + Blocks free curr/low: 511/339 + RX[03]: 9774040102 packets, 6508202351390 bytes, 6471 overrun + Blocks free curr/low: 511/369 + RX[04]: 170322028 packets, 22945468790 bytes, 0 overrun + Blocks free curr/low: 511/507 + TX[00]: 7034786488 packets, 6276748798963 bytes, 0 underruns + Blocks free curr/low: 511/349 + TX[01]: 5193693399 packets, 4562626128086 bytes, 0 underruns + Blocks free curr/low: 511/350 + TX[02]: 4620598548 packets, 3813812735685 bytes, 0 underruns + Blocks free curr/low: 511/350 + TX[03]: 5068271291 packets, 4195831926616 bytes, 0 underruns + Blocks free curr/low: 511/350 + TX[04]: 164279550 packets, 24019250372 bytes, 0 underruns + Blocks free curr/low: 511/507 + Used by GigabitEthernet0/0 + TX[05]: 758965324 packets, 837753453654 bytes, 0 underruns + Blocks free curr/low: 511/486 + Used by GigabitEthernet0/1 + Topology Information: + This interface, a SSP Embedded NIC Port, is connected + with Internal-Data0/4, a SSP Switch Uplink Port. + Control Point Interface States: + Interface number is 2 + Interface config status is active + Interface state is active +Interface Internal-Data0/1 "", is up, line protocol is up + Hardware is i82599_xaui rev02, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is on, output flow control is off + MAC address 0000.0001.0002, MTU not set + IP address unassigned + 53468958544 packets input, 34934209914110 bytes, 0 no buffer + Received 237991 broadcasts, 0 runts, 0 giants + 5073 input errors, 0 CRC, 0 frame, 5073 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops, 0 demux drops + 29187689876 packets output, 20171793812896 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 1 interface resets + 0 late collisions, 0 deferred + 0 output decode drops + 0 input reset drops, 0 output reset drops + Queue Stats: + RX[00]: 15538406285 packets, 12717109454320 bytes, 1026 overrun + Blocks free curr/low: 511/358 + RX[01]: 9970135924 packets, 6735149484197 bytes, 2704 overrun + Blocks free curr/low: 511/394 + RX[02]: 17849754640 packets, 8351432550533 bytes, 801 overrun + Blocks free curr/low: 511/359 + RX[03]: 10110661702 packets, 7130518429589 bytes, 542 overrun + Blocks free curr/low: 511/389 + TX[00]: 5792237421 packets, 4975556841210 bytes, 0 underruns + Blocks free curr/low: 511/349 + TX[01]: 4768859986 packets, 4268946532826 bytes, 0 underruns + Blocks free curr/low: 511/351 + TX[02]: 12970769201 packets, 6045848459484 bytes, 0 underruns + Blocks free curr/low: 511/345 + TX[03]: 5655823274 packets, 4881441983697 bytes, 0 underruns + Blocks free curr/low: 511/342 + TX[04]: 0 packets, 0 bytes, 0 underruns + Blocks free curr/low: 511/511 + Used by GigabitEthernet0/2 + TX[05]: 0 packets, 0 bytes, 0 underruns + Blocks free curr/low: 511/511 + Used by GigabitEthernet0/3 + TX[06]: 0 packets, 0 bytes, 0 underruns + Blocks free curr/low: 511/511 + Used by GigabitEthernet0/4 + Topology Information: + This interface, a SSP Embedded NIC Port, is connected + with Internal-Data0/5, a SSP Switch Uplink Port. + Control Point Interface States: + Interface number is 3 + Interface config status is active + Interface state is active +Interface Internal-Data0/2 "", is up, line protocol is up + Hardware is i82599_xaui rev02, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is on, output flow control is off + MAC address 0000.0001.0004, MTU not set + IP address unassigned + 58606970185 packets input, 39482314595060 bytes, 0 no buffer + Received 98334 broadcasts, 0 runts, 0 giants + 10907 input errors, 0 CRC, 0 frame, 10907 overrun, 0 ignored, 0 abort + 523 pause input, 523 resume input + 0 L2 decode drops, 0 demux drops + 472460832718 packets output, 173237932025004 bytes, 2905646 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 1 interface resets + 0 late collisions, 0 deferred + 0 output decode drops + 0 input reset drops, 0 output reset drops + Queue Stats: + RX[00]: 13231072890 packets, 8861585758086 bytes, 5515 overrun + Blocks free curr/low: 511/384 + RX[01]: 20193376457 packets, 14845677833920 bytes, 3134 overrun + Blocks free curr/low: 511/396 + RX[02]: 12027933127 packets, 7489829408483 bytes, 858 overrun + Blocks free curr/low: 511/384 + RX[03]: 13154587757 packets, 8285221609828 bytes, 1400 overrun + Blocks free curr/low: 511/394 + TX[00]: 7589052992 packets, 6472090504001 bytes, 0 underruns + Blocks free curr/low: 511/349 + TX[01]: 15755071022 packets, 12645630943922 bytes, 0 underruns + Blocks free curr/low: 510/349 + TX[02]: 6680981379 packets, 5085252075635 bytes, 0 underruns + Blocks free curr/low: 511/342 + TX[03]: 6484398780 packets, 4988646702498 bytes, 0 underruns + Blocks free curr/low: 505/311 + TX[04]: 0 packets, 0 bytes, 0 underruns + Blocks free curr/low: 511/511 + Used by TenGigabitEthernet0/6 + TX[05]: 415140458466 packets, 127322520663605 bytes, 2905646 underruns + Blocks free curr/low: 508/0 + Used by TenGigabitEthernet0/9 + TX[06]: 20810870169 packets, 16723791170491 bytes, 0 underruns + Blocks free curr/low: 511/170 + Used by TenGigabitEthernet0/8 + Topology Information: + This interface, a SSP Embedded NIC Port, is connected + with Internal-Data0/6, a SSP Switch Uplink Port. + Control Point Interface States: + Interface number is 4 + Interface config status is active + Interface state is active +Interface Internal-Data0/3 "", is up, line protocol is up + Hardware is i82599_xaui rev02, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is on, output flow control is off + MAC address 0000.0001.0003, MTU not set + IP address unassigned + 851725855606 packets input, 549651226348272 bytes, 0 no buffer + Received 53915 broadcasts, 0 runts, 0 giants + 457910371 input errors, 0 CRC, 0 frame, 457910371 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops, 0 demux drops + 479068686555 packets output, 439462480886576 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 1 interface resets + 0 late collisions, 0 deferred + 0 output decode drops + 0 input reset drops, 0 output reset drops + Queue Stats: + RX[00]: 9317849354 packets, 6455848237095 bytes, 11242 overrun + Blocks free curr/low: 511/377 + RX[01]: 12456612163 packets, 7108517208857 bytes, 8535 overrun + Blocks free curr/low: 511/340 + RX[02]: 818537242486 packets, 528392087186847 bytes, 457881225 overrun + Blocks free curr/low: 511/152 + RX[03]: 11414151630 packets, 7694773726910 bytes, 9369 overrun + Blocks free curr/low: 511/362 + TX[00]: 4776785546 packets, 4204729002116 bytes, 0 underruns + Blocks free curr/low: 511/349 + TX[01]: 6150915656 packets, 4487948642586 bytes, 0 underruns + Blocks free curr/low: 511/349 + TX[02]: 460988499302 packets, 425299352333798 bytes, 0 underruns + Blocks free curr/low: 511/282 + TX[03]: 7152486058 packets, 5470450911421 bytes, 0 underruns + Blocks free curr/low: 511/313 + TX[04]: 0 packets, 0 bytes, 0 underruns + Blocks free curr/low: 511/511 + Used by GigabitEthernet0/5 + TX[05]: 0 packets, 0 bytes, 0 underruns + Blocks free curr/low: 511/511 + Used by TenGigabitEthernet0/7 + Topology Information: + This interface, a SSP Embedded NIC Port, is connected + with Internal-Data0/7, a SSP Switch Uplink Port. + Control Point Interface States: + Interface number is 5 + Interface config status is active + Interface state is active +Interface Internal-Data0/4 "", is up, line protocol is up + Hardware is bcm56800 rev 01, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is on, output flow control is on + MAC address 0000.0100.001d, MTU not set + IP address unassigned + 22840589872 packets input, 19710795908904 bytes, 0 no buffer + Received 5014 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 switch ingress policy drops + 40694946838 packets output, 27999352911090 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Topology Information: + This interface, a SSP Switch Uplink Port, is connected + with Internal-Data0/0, a SSP Embedded NIC Port. + Control Point Interface States: + Interface number is 18 + Interface config status is active + Interface state is active +Interface Internal-Data0/5 "", is up, line protocol is up + Hardware is bcm56800 rev 01, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is on, output flow control is on + MAC address 0000.0100.001e, MTU not set + IP address unassigned + 29187686478 packets input, 20171797966300 bytes, 0 no buffer + Received 4 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 switch ingress policy drops + 53468957755 packets output, 34934208273981 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Topology Information: + This interface, a SSP Switch Uplink Port, is connected + with Internal-Data0/1, a SSP Embedded NIC Port. + Control Point Interface States: + Interface number is 19 + Interface config status is active + Interface state is active +Interface Internal-Data0/6 "", is up, line protocol is up + Hardware is bcm56800 rev 01, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is on, output flow control is on + MAC address 0000.0100.001f, MTU not set + IP address unassigned + 472460814095 packets input, 173237935490747 bytes, 0 no buffer + Received 22 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 switch ingress policy drops + 58606973721 packets output, 39482316159290 bytes, 0 underruns + 1046 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Topology Information: + This interface, a SSP Switch Uplink Port, is connected + with Internal-Data0/2, a SSP Embedded NIC Port. + Control Point Interface States: + Interface number is 20 + Interface config status is active + Interface state is active +Interface Internal-Data0/7 "", is up, line protocol is up + Hardware is bcm56800 rev 01, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is on, output flow control is on + MAC address 0000.0100.0020, MTU not set + IP address unassigned + 479068680668 packets input, 439462480942505 bytes, 0 no buffer + Received 5 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 switch ingress policy drops + 852183755510 packets output, 549964199797166 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Topology Information: + This interface, a SSP Switch Uplink Port, is connected + with Internal-Data0/3, a SSP Embedded NIC Port. + Control Point Interface States: + Interface number is 21 + Interface config status is active + Interface state is active +Interface Management0/0 "", is up, line protocol is up + Hardware is i82574L rev00, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is off + Available for allocation to a context + MAC address f0f7.5543.a520, MTU not set + IP address unassigned + 187312178 packets input, 18346216501 bytes, 0 no buffer + Received 33364282 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 365077501 packets output, 69865717975 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 2 interface resets + 0 late collisions, 0 deferred + 3 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (240/189) + output queue (blocks free curr/low): hardware (255/220) + Control Point Interface States: + Interface number is 6 + Interface config status is active + Interface state is active +Interface Management0/1 "", is administratively down, line protocol is down + Hardware is i82574L rev00, BW 1000 Mbps, DLY 10 usec + Auto-Duplex, Auto-Speed + Input flow control is unsupported, output flow control is off + Available for allocation to a context + MAC address f0f7.5543.a521, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 0 packets output, 0 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 2 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (255/255) + output queue (blocks free curr/low): hardware (255/255) + Control Point Interface States: + Interface number is 7 + Interface config status is not active + Interface state is not active +Interface TenGigabitEthernet0/6 "", is up, line protocol is up + Hardware is bcm56800 rev 01, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is unsupported, output flow control is off + Active member of Port-channel1 + MAC address f0f7.5543.a528, MTU not set + IP address unassigned + 399819592361 packets input, 124398034640232 bytes, 0 no buffer + Received 16 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 L2 decode drops + 0 switch ingress policy drops + 540331320890 packets output, 491562768018165 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Control Point Interface States: + Interface number is 14 + Interface config status is active + Interface state is active +Interface TenGigabitEthernet0/7 "", is up, line protocol is up + Hardware is bcm56800 rev 01, BW 10000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is unsupported, output flow control is off + Active member of Port-channel1 + MAC address f0f7.5543.a529, MTU not set + IP address unassigned + 37959565021 packets input, 18199845951648 bytes, 0 no buffer + Received 2097 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 L2 decode drops + 0 switch ingress policy drops + 26351891151 packets output, 13846109908639 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Control Point Interface States: + Interface number is 15 + Interface config status is active + Interface state is active +Interface TenGigabitEthernet0/8 "", is up, line protocol is up + Hardware is bcm56800 rev 01, BW 1000 Mbps, DLY 1000 usec + (Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is off + Active member of Port-channel2 + MAC address f0f7.5543.a52a, MTU not set + IP address unassigned + 43937607828 packets input, 34610285463141 bytes, 0 no buffer + Received 245856 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 L2 decode drops + 0 switch ingress policy drops + 20810869221 packets output, 16640841970890 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Control Point Interface States: + Interface number is 16 + Interface config status is active + Interface state is active +Interface TenGigabitEthernet0/9 "", is up, line protocol is up + Hardware is bcm56800 rev 01, BW 1000 Mbps, DLY 1000 usec + (Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is off + Active member of Port-channel2 + MAC address f0f7.5543.a52b, MTU not set + IP address unassigned + 523013521132 packets input, 471124372993133 bytes, 0 no buffer + Received 336212 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause/resume input + 0 L2 decode drops + 0 switch ingress policy drops + 415140444956 packets output, 125662363017538 bytes, 0 underruns + 0 pause/resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 rate limit drops + 0 switch egress policy drops + 0 input reset drops, 0 output reset drops + Control Point Interface States: + Interface number is 17 + Interface config status is active + Interface state is active +Interface Port-channel1 "", is up, line protocol is up + Hardware is EtherChannel/LACP, BW 20000 Mbps, DLY 10 usec + (Full-duplex), (10000 Mbps) + Input flow control is unsupported, output flow control is off + Description: ext + Available for allocation to a context + MAC address f0f7.5543.a528, MTU not set + IP address unassigned + Control Point Interface States: + Interface number is 23 + Interface config status is active + Interface state is active + Members in this channel: + Active: Te0/6 Te0/7 +Interface Port-channel1.355 "", is up, line protocol is up + Hardware is EtherChannel/LACP, BW 20000 Mbps, DLY 10 usec + VLAN identifier 355 + Description: data-inside + Available for allocation to a context +Interface Port-channel2 "", is up, line protocol is up + Hardware is EtherChannel/LACP, BW 2000 Mbps, DLY 1000 usec + (Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is off + Description: techlan + Available for allocation to a context + MAC address f0f7.5543.a52a, MTU not set + IP address unassigned + Control Point Interface States: + Interface number is 24 + Interface config status is active + Interface state is active + Members in this channel: + Active: Te0/8 Te0/9 +Interface Port-channel2.283 "", is up, line protocol is up + Hardware is EtherChannel/LACP, BW 2000 Mbps, DLY 1000 usec + VLAN identifier 283 + Description: data-outside + Available for allocation to a context \ No newline at end of file From 64e9abefff59994b05d6b57ee2035b1451505b93 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 Jan 2019 15:19:00 -0800 Subject: [PATCH 215/628] CISCO_ASA_SHOW_ASP_DROP: Add new template (#338) --- templates/cisco_asa_show_asp_drop.template | 236 ++++++++++++++++++ templates/index | 1 + .../cisco_asa_show_asp_drop.parsed | 115 +++++++++ .../show_asp_drop/cisco_asa_show_asp_drop.raw | 98 ++++++++ 4 files changed, 450 insertions(+) create mode 100644 templates/cisco_asa_show_asp_drop.template create mode 100644 tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed create mode 100644 tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.raw diff --git a/templates/cisco_asa_show_asp_drop.template b/templates/cisco_asa_show_asp_drop.template new file mode 100644 index 0000000000..536431118b --- /dev/null +++ b/templates/cisco_asa_show_asp_drop.template @@ -0,0 +1,236 @@ +Value FLOW_DROP_ACL_DROP (\d+) +Value FLOW_DROP_SHUNNED (\d+) +Value FLOW_DROP_CLUSTER_REDIRECT (\d+) +Value FLOW_DROP_INSPECT_FAIL (\d+) +Value FLOW_DROP_NAT_RPF_FAILED (\d+) +Value FLOW_DROP_OUT_OF_MEMORY (\d+) +Value FLOW_DROP_SSL_BAD_RECORD_DETECT (\d+) +Value FLOW_DROP_SSL_HANDSHAKE_FAILED (\d+) +Value FLOW_DROP_VPN_OVERLAP_CONFLICT (\d+) +Value FLOW_DROP_VPN_MISSING_DECRYPT (\d+) +Value FLOW_DROP_SVC_REPLACEMENT_CONN (\d+) +Value FLOW_DROP_SVC_SELECTOR_FAILURE (\d+) +Value FLOW_DROP_SVC_FAILOVER (\d+) +Value FLOW_DROP_SSL_RECORD_DECRYPT_ERROR (\d+) +Value FLOW_DROP_CTM_CRYPTO_REQUEST_ERROR (\d+) +Value FLOW_DROP_VPN_HANDLE_NOT_FOUND (\d+) +Value FLOW_DROP_NP_SOCKET_DATA_MOVE_FAILURE (\d+) +Value FLOW_DROP_DTLS_HELLO_CLOSE (\d+) +Value ACL_DROP (\d+) +Value ASYNC_LOCK_QUEUE_LIMIT (\d+) +Value BAD_IPSEC_NATT (\d+) +Value BAD_TCP_CKSUM (\d+) +Value BAD_TCP_FLAGS (\d+) +Value CLUSTER_BAD_TRAILER (\d+) +Value CLUSTER_CCL_BACKUP (\d+) +Value CLUSTER_CCL_UNKNOWN (\d+) +Value CLUSTER_CCL_UNKNOWN_STUB (\d+) +Value CLUSTER_NON_IP_PKT (\d+) +Value CONN_LIMIT (\d+) +Value CONNECTION_LOCK (\d+) +Value CP_EVENT_QUEUE_ERROR (\d+) +Value CP_SYSLOG_EVENT_QUEUE_ERROR (\d+) +Value CTM_ERROR (\d+) +Value DISPATCH_QUEUE_LIMIT (\d+) +Value DISPATCH_BLOCK_ALLOC (\d+) +Value FLOW_BEING_FREED (\d+) +Value FLOW_EXPIRED (\d+) +Value FO_STANDBY (\d+) +Value FRAGMENT_REASSEMBLY_FAILED (\d+) +Value HOST_LIMIT (\d+) +Value IFC_CLASSIFY (\d+) +Value INSPECT_DNS_ID_NOT_MATCHED (\d+) +Value INSPECT_DNS_INVALID_DOMAIN_LABEL (\d+) +Value INSPECT_DNS_INVALID_PAK (\d+) +Value INSPECT_DNS_PAK_TOO_LONG (\d+) +Value INSPECT_DP_OUT_OF_MEMORY (\d+) +Value INSPECT_ICMP_BAD_CODE (\d+) +Value INSPECT_ICMP_ERROR_NO_EXISTING_CONN (\d+) +Value INSPECT_ICMP_INVALID_PAK (\d+) +Value INSPECT_ICMP_SEQ_NUM_NOT_MATCHED (\d+) +Value INTERCEPT_UNEXPECTED (\d+) +Value INTERFACE_DOWN (\d+) +Value INVALID_ENCAP (\d+) +Value INVALID_IP_HEADER (\d+) +Value INVALID_IP_LENGTH (\d+) +Value INVALID_IP_OPTION (\d+) +Value INVALID_TCP_HDR_LENGTH (\d+) +Value INVALID_UDP_LENGTH (\d+) +Value IPSEC_TUN_DOWN (\d+) +Value L2_ACL (\d+) +Value LAST_CLEARED (.+?) +Value LU_INVALID_PKT (\d+) +Value MCAST_IN_NONACTIVE_DEVICE (\d+) +Value MP_SVC_FLOW_CONTROL (\d+) +Value MP_SVC_NO_CHANNEL (\d+) +Value MP_SVC_NO_FRAGMENT (\d+) +Value MP_SVC_NO_SESSION (\d+) +Value NAT_FAILED (\d+) +Value NAT_NO_XLATE_TO_PAT_POOL (\d+) +Value NAT_XLATE_FAILED (\d+) +Value NATT_KEEPALIVE (\d+) +Value NO_ADJACENCY (\d+) +Value NO_INSPECT (\d+) +Value NO_ROUTE (\d+) +Value NP_SOCKET_CLOSED (\d+) +Value NP_SOCKET_LOCK_FAILURE (\d+) +Value NP_SP_INVALID_SPI (\d+) +Value OBJECT_GROUP_SEARCH_THRESHOLD_EXCEEDED (\d+) +Value PUNT_QUEUE_LIMIT (\d+) +Value PUNT_LIMIT (\d+) +Value PUNT_NO_MEM (\d+) +Value PUNT_RATE_LIMIT (\d+) +Value RM_CONN_RATE_LIMIT (\d+) +Value RM_INSPECT_RATE_LIMIT (\d+) +Value RPF_VIOLATED (\d+) +Value RULE_TRANSACTION_IN_PROGRESS (\d+) +Value SECURITY_FAILED (\d+) +Value SHUNNED (\d+) +Value SP_SECURITY_FAILED (\d+) +Value TCP_3WHS_FAILED (\d+) +Value TCP_ACK_SYN_DIFF (\d+) +Value TCP_BAD_OPTION_LIST (\d+) +Value TCP_BUFFER_FULL (\d+) +Value TCP_BUFFER_TIMEOUT (\d+) +Value TCP_CONN_LIMIT (\d+) +Value TCP_DATA_PAST_FIN (\d+) +Value TCP_DUAL_OPEN (\d+) +Value TCP_DUP_IN_QUEUE (\d+) +Value TCP_FO_DROP (\d+) +Value TCP_GLOBAL_BUFFER_FULL (\d+) +Value TCP_INVALID_ACK (\d+) +Value TCP_NOT_SYN (\d+) +Value TCP_PAWS_FAIL (\d+) +Value TCP_RST_SYN_IN_WIN (\d+) +Value TCP_RSTFIN_OOO (\d+) +Value TCP_SEQ_PAST_WIN (\d+) +Value TCP_SEQ_SYN_DIFF (\d+) +Value TCP_SYNACK_OOO (\d+) +Value TTL_EXCEEDED (\d+) +Value UNABLE_TO_ADD_FLOW (\d+) +Value UNABLE_TO_CREATE_FLOW (\d+) +Value UNSUPPORTED_IP_VERSION (\d+) + +Start + ^Frame\s+drop: + ^\s+$$ + ^$$ + ^Last\s+clearing:\s+${LAST_CLEARED}\s*$$ + ^.+acl-drop\)\s+${ACL_DROP} + ^.+async-lock-queue-limit\)\s+${ASYNC_LOCK_QUEUE_LIMIT} + ^.+bad-ipsec-natt\)\s+${BAD_IPSEC_NATT} + ^.+bad-tcp-cksum\)\s+${BAD_TCP_CKSUM} + ^.+bad-tcp-flags\)\s+${BAD_TCP_FLAGS} + ^.+cluster-bad-trailer\)\s+${CLUSTER_BAD_TRAILER} + ^.+cluster-ccl-backup\)\s+${CLUSTER_CCL_BACKUP} + ^.+cluster-ccl-unknown\)\s+${CLUSTER_CCL_UNKNOWN} + ^.+cluster-ccl-unknown-stub\)\s+${CLUSTER_CCL_UNKNOWN_STUB} + ^.+cluster-non-ip-pkt\)\s+${CLUSTER_NON_IP_PKT} + ^.+conn-limit\)\s+${CONN_LIMIT} + ^.+connection-lock\)\s+${CONNECTION_LOCK} + ^.+cp-event-queue-error\)\s+${CP_EVENT_QUEUE_ERROR} + ^.+cp-syslog-event-queue-error\)\s+${CP_SYSLOG_EVENT_QUEUE_ERROR} + ^.+ctm-error\)\s+${CTM_ERROR} + ^.+dispatch-queue-limit\)\s+${DISPATCH_QUEUE_LIMIT} + ^.+dispatch-block-alloc\)\s+${DISPATCH_BLOCK_ALLOC} + ^.+flow-being-freed\)\s+${FLOW_BEING_FREED} + ^.+flow-expired\)\s+${FLOW_EXPIRED} + ^.+fo-standby\)\s+${FO_STANDBY} + ^.+fragment-reassembly-failed\)\s+${FRAGMENT_REASSEMBLY_FAILED} + ^.+host-limit\)\s+${HOST_LIMIT} + ^.+ifc-classify\)\s+${IFC_CLASSIFY} + ^.+inspect-dns-id-not-matched\)\s+${INSPECT_DNS_ID_NOT_MATCHED} + ^.+inspect-dns-invalid-domain-label\)\s+${INSPECT_DNS_INVALID_DOMAIN_LABEL} + ^.+inspect-dns-invalid-pak\)\s+${INSPECT_DNS_INVALID_PAK} + ^.+inspect-dns-pak-too-long\)\s+${INSPECT_DNS_PAK_TOO_LONG} + ^.+inspect-dp-out-of-memory\)\s+${INSPECT_DP_OUT_OF_MEMORY} + ^.+inspect-icmp-bad-code\)\s+${INSPECT_ICMP_BAD_CODE} + ^.+inspect-icmp-error-no-existing-conn\)\s+${INSPECT_ICMP_ERROR_NO_EXISTING_CONN} + ^.+inspect-icmp-invalid-pak\)\s+${INSPECT_ICMP_INVALID_PAK} + ^.+inspect-icmp-seq-num-not-matched\)\s+${INSPECT_ICMP_SEQ_NUM_NOT_MATCHED} + ^.+intercept-unexpected\)\s+${INTERCEPT_UNEXPECTED} + ^.+interface-down\)\s+${INTERFACE_DOWN} + ^.+invalid-encap\)\s+${INVALID_ENCAP} + ^.+invalid-ip-header\)\s+${INVALID_IP_HEADER} + ^.+invalid-ip-length\)\s+${INVALID_IP_LENGTH} + ^.+invalid-ip-option\)\s+${INVALID_IP_OPTION} + ^.+invalid-tcp-hdr-length\)\s+${INVALID_TCP_HDR_LENGTH} + ^.+invalid-udp-length\)\s+${INVALID_UDP_LENGTH} + ^.+ipsec-tun-down\)\s+${IPSEC_TUN_DOWN} + ^.+l2_acl\)\s+${L2_ACL} + ^.+lu-invalid-pkt\)\s+${LU_INVALID_PKT} + ^.+mcast-in-nonactive-device\)\s+${MCAST_IN_NONACTIVE_DEVICE} + ^.+mp-svc-flow-control\)\s+${MP_SVC_FLOW_CONTROL} + ^.+mp-svc-no-channel\)\s+${MP_SVC_NO_CHANNEL} + ^.+mp-svc-no-fragment\)\s+${MP_SVC_NO_FRAGMENT} + ^.+mp-svc-no-session\)\s+${MP_SVC_NO_SESSION} + ^.+nat-failed\)\s+${NAT_FAILED} + ^.+nat-no-xlate-to-pat-pool\)\s+${NAT_NO_XLATE_TO_PAT_POOL} + ^.+natt-keepalive\)\s+${NATT_KEEPALIVE} + ^.+nat-xlate-failed\)\s+${NAT_XLATE_FAILED} + ^.+no-adjacency\)\s+${NO_ADJACENCY} + ^.+no-inspect\)\s+${NO_INSPECT} + ^.+no-route\)\s+${NO_ROUTE} + ^.+np-socket-closed\)\s+${NP_SOCKET_CLOSED} + ^.+np-socket-lock-failu\s+${NP_SOCKET_LOCK_FAILURE} + ^.+np-sp-invalid-spi\)\s+${NP_SP_INVALID_SPI} + ^.+object-group-search-threshold-exceeded\)\s+${OBJECT_GROUP_SEARCH_THRESHOLD_EXCEEDED} + ^.+punt-queue-limit\)\s+${PUNT_QUEUE_LIMIT} + ^.+punt-limit\)\s+${PUNT_LIMIT} + ^.+punt-no-mem\)\s+${PUNT_NO_MEM} + ^.+punt-rate-limit\)\s+${PUNT_RATE_LIMIT} + ^.+rm-conn-rate-limit\)\s+${RM_CONN_RATE_LIMIT} + ^.+rm-inspect-rate-limit\)\s+${RM_INSPECT_RATE_LIMIT} + ^.+rpf-violated\)\s+${RPF_VIOLATED} + ^.+rule-transaction-in-progress\)\s+${RULE_TRANSACTION_IN_PROGRESS} + ^.+security-failed\)\s+${SECURITY_FAILED} + ^.+shunned\)\s+${SHUNNED} + ^.+sp-security-failed\)\s+${SP_SECURITY_FAILED} + ^.+tcp-3whs-failed\)\s+${TCP_3WHS_FAILED} + ^.+tcp-ack-syn-diff\)\s+${TCP_ACK_SYN_DIFF} + ^.+tcp-bad-option-list\)\s+${TCP_BAD_OPTION_LIST} + ^.+tcp-buffer-full\)\s+${TCP_BUFFER_FULL} + ^.+tcp-buffer-timeout\)\s+${TCP_BUFFER_TIMEOUT} + ^.+tcp-conn-limit\)\s+${TCP_CONN_LIMIT} + ^.+tcp-data-past-fin\)\s+${TCP_DATA_PAST_FIN} + ^.+tcp-dual-open\)\s+${TCP_DUAL_OPEN} + ^.+tcp-dup-in-queue\)\s+${TCP_DUP_IN_QUEUE} + ^.+tcp-fo-drop\)\s+${TCP_FO_DROP} + ^.+tcp-global-buffer-full\)\s+${TCP_GLOBAL_BUFFER_FULL} + ^.+tcp-invalid-ack\)\s+${TCP_INVALID_ACK} + ^.+tcp-not-syn\)\s+${TCP_NOT_SYN} + ^.+tcp-paws-fail\)\s+${TCP_PAWS_FAIL} + ^.+tcp-rst-syn-in-win\)\s+${TCP_RST_SYN_IN_WIN} + ^.+tcp-rstfin-ooo\)\s+${TCP_RSTFIN_OOO} + ^.+tcp-seq-past-win\)\s+${TCP_SEQ_PAST_WIN} + ^.+tcp-seq-syn-diff\)\s+${TCP_SEQ_SYN_DIFF} + ^.+tcp-synack-ooo\)\s+${TCP_SYNACK_OOO} + ^.+ttl-exceeded\)\s+${TTL_EXCEEDED} + ^.+unable-to-add-flow\)\s+${UNABLE_TO_ADD_FLOW} + ^.+unable-to-create-flow\)\s+${UNABLE_TO_CREATE_FLOW} + ^.+unsupported-ip-version\)\s+${UNSUPPORTED_IP_VERSION} + ^Flow\s+drop: -> FLOW + ^.* -> Error "LINE NOT FOUND" + +FLOW + ^\s+$$ + ^$$ + ^.+Flow\s+is\s+denied\s+by\s+access\s+rule\s+\(acl-drop\)\s+${FLOW_DROP_ACL_DROP} + ^.+cluster-redirect\)\s+${FLOW_DROP_CLUSTER_REDIRECT} + ^.+Flow\s+shunned \(shunned\)\s+${FLOW_DROP_SHUNNED} + ^.+inspect-fail\)\s+${FLOW_DROP_INSPECT_FAIL} + ^.+nat-rpf-failed\)\s+${FLOW_DROP_NAT_RPF_FAILED} + ^.+out-of-memory\)\s+${FLOW_DROP_OUT_OF_MEMORY} + ^.+ssl-bad-record-detect\)\s+${FLOW_DROP_SSL_BAD_RECORD_DETECT} + ^.+ssl-handshake-failed\)\s+${FLOW_DROP_SSL_HANDSHAKE_FAILED} + ^.+vpn-overlap-conflict\)\s+${FLOW_DROP_VPN_OVERLAP_CONFLICT} + ^.+vpn-missing-decrypt\)\s+${FLOW_DROP_VPN_MISSING_DECRYPT} + ^.+svc-replacement-conn\)\s+${FLOW_DROP_SVC_REPLACEMENT_CONN} + ^.+svc-selector-failure\)\s+${FLOW_DROP_SVC_SELECTOR_FAILURE} + ^.+svc-failover\)\s+${FLOW_DROP_SVC_FAILOVER} + ^.+ssl-record-decrypt-error\)\s+${FLOW_DROP_SSL_RECORD_DECRYPT_ERROR} + ^.+ctm-crypto-request-error\)\s+${FLOW_DROP_CTM_CRYPTO_REQUEST_ERROR} + ^.+vpn-handle-not-found\)\s+${FLOW_DROP_VPN_HANDLE_NOT_FOUND} + ^.+np-socket-data-move-failure\)\s+${FLOW_DROP_NP_SOCKET_DATA_MOVE_FAILURE} + ^.+dtls-hello-close\)\s+${FLOW_DROP_DTLS_HELLO_CLOSE} + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index b5e103912a..133bfd807a 100644 --- a/templates/index +++ b/templates/index @@ -111,6 +111,7 @@ cisco_asa_show_resource_usage.template, .*, cisco_asa, sh[[ow]] res[[ource]] u[[ cisco_asa_show_access-list.template, .*, cisco_asa, sh[[ow]] ac[[cess-list]] cisco_asa_show_interface.template, .*, cisco_asa, sh[[ow]] int[[erface]] cisco_asa_show_inventory.template, .*, cisco_asa, sh[[ow]] inven[[tory]] +cisco_asa_show_asp_drop.template, .*, cisco_asa, sh[[ow]] asp d[[rop]] cisco_asa_show_failover.template, .*, cisco_asa, sh[[ow]] fa[[ilover]] cisco_asa_show_version.template, .*, cisco_asa, sh[[ow]] ver[[sion]] cisco_asa_show_route.template, .*, cisco_asa, sh[[ow]] ro[[ute]] diff --git a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed new file mode 100644 index 0000000000..20a33a7978 --- /dev/null +++ b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed @@ -0,0 +1,115 @@ +--- +parsed_sample: + +- acl_drop: '2077' + async_lock_queue_limit: '4926' + bad_ipsec_natt: '119' + bad_tcp_cksum: '' + bad_tcp_flags: '50' + cluster_bad_trailer: '309' + cluster_ccl_backup: '21121' + cluster_ccl_unknown: '185782' + cluster_ccl_unknown_stub: '9026' + cluster_non_ip_pkt: '41' + conn_limit: '18' + connection_lock: '1' + cp_event_queue_error: '' + cp_syslog_event_queue_error: '' + ctm_error: '22' + dispatch_block_alloc: '980' + dispatch_queue_limit: '770' + flow_being_freed: '4' + flow_drop_acl_drop: '192350' + flow_drop_cluster_redirect: '576' + flow_drop_ctm_crypto_request_error: '187' + flow_drop_dtls_hello_close: '90' + flow_drop_inspect_fail: '4' + flow_drop_nat_rpf_failed: '16' + flow_drop_np_socket_data_move_failure: '10' + flow_drop_out_of_memory: '2' + flow_drop_shunned: '2' + flow_drop_ssl_bad_record_detect: '1' + flow_drop_ssl_handshake_failed: '2181' + flow_drop_ssl_record_decrypt_error: '206' + flow_drop_svc_failover: '205' + flow_drop_svc_replacement_conn: '203' + flow_drop_svc_selector_failure: '204' + flow_drop_vpn_handle_not_found: '20' + flow_drop_vpn_missing_decrypt: '202' + flow_drop_vpn_overlap_conflict: '201' + flow_expired: '10' + fo_standby: '5' + fragment_reassembly_failed: '' + host_limit: '' + ifc_classify: '9' + inspect_dns_id_not_matched: '6' + inspect_dns_invalid_domain_label: '9' + inspect_dns_invalid_pak: '61' + inspect_dns_pak_too_long: '9' + inspect_dp_out_of_memory: '' + inspect_icmp_bad_code: '32' + inspect_icmp_error_no_existing_conn: '13' + inspect_icmp_invalid_pak: '' + inspect_icmp_seq_num_not_matched: '45' + intercept_unexpected: '4' + interface_down: '169' + invalid_encap: '1' + invalid_ip_header: '209' + invalid_ip_length: '166' + invalid_ip_option: '3' + invalid_tcp_hdr_length: '4' + invalid_udp_length: '6' + ipsec_tun_down: '118' + l2_acl: '150' + last_cleared: 'Never' + lu_invalid_pkt: '2' + mcast_in_nonactive_device: '4063' + mp_svc_flow_control: '114' + mp_svc_no_channel: '116' + mp_svc_no_fragment: '113' + mp_svc_no_session: '115' + nat_failed: '' + nat_no_xlate_to_pat_pool: '50' + nat_xlate_failed: '1' + natt_keepalive: '117' + no_adjacency: '8' + no_inspect: '' + no_route: '30' + np_socket_closed: '3' + np_socket_lock_failure: '61' + np_sp_invalid_spi: '' + object_group_search_threshold_exceeded: '' + punt_limit: '' + punt_no_mem: '1150' + punt_queue_limit: '' + punt_rate_limit: '' + rm_conn_rate_limit: '24' + rm_inspect_rate_limit: '' + rpf_violated: '1083' + rule_transaction_in_progress: '' + security_failed: '34' + shunned: '8' + sp_security_failed: '' + tcp_3whs_failed: '76' + tcp_ack_syn_diff: '130' + tcp_bad_option_list: '2' + tcp_buffer_full: '328' + tcp_buffer_timeout: '45' + tcp_conn_limit: '' + tcp_data_past_fin: '107' + tcp_dual_open: '6' + tcp_dup_in_queue: '112' + tcp_fo_drop: '6' + tcp_global_buffer_full: '53' + tcp_invalid_ack: '1' + tcp_not_syn: '205' + tcp_paws_fail: '1' + tcp_rst_syn_in_win: '30' + tcp_rstfin_ooo: '12678' + tcp_seq_past_win: '6' + tcp_seq_syn_diff: '404' + tcp_synack_ooo: '1345' + ttl_exceeded: '3' + unable_to_add_flow: '' + unable_to_create_flow: '1' + unsupported_ip_version: '111' diff --git a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.raw b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.raw new file mode 100644 index 0000000000..434945ddd3 --- /dev/null +++ b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.raw @@ -0,0 +1,98 @@ +Frame drop: + Unsupported IP version (unsupported-ip-version) 111 + TCP dup of packet in Out-of-Order queue (tcp-dup-in-queue) 112 + SVC Module unable to fragment packet (mp-svc-no-fragment) 113 + SVC Module is in flow control (mp-svc-flow-control) 114 + SVC Module does not have a session (mp-svc-no-session) 115 + SVC Module does not have a channel for reinjection (mp-svc-no-channel) 116 + NAT-T keepalive message (natt-keepalive) 117 + IPSEC tunnel is down (ipsec-tun-down) 118 + Dropped pending packets due to a failed attempt to get an internal socket lock (np-socket-lock-failu 61 + Bad IPSEC NATT packet (bad-ipsec-natt) 119 + ttl exceeded (ttl-exceeded) 3 + Virtual firewall classification failed (ifc-classify) 9 + Unable to obtain connection lock (connection-lock) 1 + TCP replicated flow pak drop (tcp-fo-drop) 6 + TCP packet failed PAWS test (tcp-paws-fail) 1 + TCP packet SEQ past window (tcp-seq-past-win) 6 + TCP option list invalid (tcp-bad-option-list) 2 + TCP invalid ACK (tcp-invalid-ack) 1 + TCP global Out-of-Order packet buffer full (tcp-global-buffer-full) 53 + TCP failed 3 way handshake (tcp-3whs-failed) 76 + TCP data send after FIN (tcp-data-past-fin) 107 + TCP SYNACK on established conn (tcp-synack-ooo) 1345 + TCP SEQ in SYN/SYNACK invalid (tcp-seq-syn-diff) 404 + TCP RST/SYN in window (tcp-rst-syn-in-win) 30 + TCP RST/FIN out of order (tcp-rstfin-ooo) 12678 + TCP Out-of-Order packet buffer timeout (tcp-buffer-timeout) 45 + TCP Out-of-Order packet buffer full (tcp-buffer-full) 328 + TCP Dual open denied (tcp-dual-open) 6 + TCP ACK in SYNACK invalid (tcp-ack-syn-diff) 130 + Slowpath security checks failed (sp-security-failed) 79 + Reverse-path verify failed (rpf-violated) 1083 + Received a multicast packet in the non-active device (mcast-in-nonactive-device) 4063 + RM connection rate limit reached (rm-conn-rate-limit) 24 + Punt no memory (punt-no-mem) 1150 + Packet shunned (shunned) 8 + No valid adjacency (no-adjacency) 8 + No route to host (no-route) 30 + NAT failed (nat-xlate-failed) 1 + Layer 3 protocol of the packet is not IP (cluster-non-ip-pkt) 41 + Invalid encapsulation (invalid-encap) 1 + Invalid UDP Length (invalid-udp-length) 6 + Invalid TCP Length (invalid-tcp-hdr-length) 4 + Invalid LU packet (lu-invalid-pkt) 2 + Invalid IP length (invalid-ip-length) 166 + Invalid IP header (invalid-ip-header) 209 + Interface is down (interface-down) 169 + Intercept unexpected packet (intercept-unexpected) 4 + IP option drop (invalid-ip-option) 3 + ICMP Inspect seq num not matched (inspect-icmp-seq-num-not-matched) 45 + ICMP Inspect bad icmp code (inspect-icmp-bad-code) 32 + ICMP Error Inspect no existing conn (inspect-icmp-error-no-existing-conn) 13 + Flow is denied by configured rule (acl-drop) 2077 + Flow is being freed (flow-being-freed) 4 + Flow denied due to resource limitation (unable-to-create-flow) 1 + First TCP packet not SYN (tcp-not-syn) 205 + Failed to fetch the trailer of the packet (cluster-bad-trailer) 309 + FP L2 rule drop (l2_acl) 150 + Expired flow (flow-expired) 10 + Early security checks failed (security-failed) 34 + Dropped pending packets in a closed socket (np-socket-closed) 3 + Dropped by standby unit (fo-standby) 5 + Dispatch queue tail drops (dispatch-queue-limit) 770 + DNS Inspect packet too long (inspect-dns-pak-too-long) 9 + DNS Inspect invalid packet (inspect-dns-invalid-pak) 61 + DNS Inspect invalid domain label (inspect-dns-invalid-domain-label) 9 + DNS Inspect id not matched (inspect-dns-id-not-matched) 6 + Core local block alloc failure (dispatch-block-alloc) 980 + Connection to PAT address without pre-existing xlate (nat-no-xlate-to-pat-pool) 50 + Connection limit reached (conn-limit) 18 + Cluster packet rcvd over CCL, unit has stub flow and unknown role (cluster-ccl-unknown-stub) 9026 + Cluster packet rcvd over CCL, unit has no flow and unknown role (cluster-ccl-unknown) 185782 + Cluster packet rcvd over CCL on backup (cluster-ccl-backup) 21121 + CTM returned error (ctm-error) 22 + Bad TCP flags (bad-tcp-flags) 50 + Async lock queue limit exceeded (async-lock-queue-limit) 4926 + +Last clearing: Never + +Flow drop: + VPN overlap conflict (vpn-overlap-conflict) 201 + VPN decryption missing (vpn-missing-decrypt) 202 + SVC replacement connection established (svc-replacement-conn) 203 + SVC inner policy mismatch failure (svc-selector-failure) 204 + SVC failover (svc-failover) 205 + SSL record decryption failed (ssl-record-decrypt-error) 206 + DTLS hello processed and closed (dtls-hello-close) 90 + CTM crypto request error (ctm-crypto-request-error) 187 + VPN handle not found (vpn-handle-not-found) 20 + NP socket data movement failure (np-socket-data-move-failure) 10 + SSL handshake failed (ssl-handshake-failed) 2181 + SSL bad record detected (ssl-bad-record-detect) 1 + No memory to complete flow (out-of-memory) 2 + NAT reverse path failed (nat-rpf-failed) 16 + Inspection failure (inspect-fail) 4 + Flow shunned (shunned) 2 + Flow removed, packet sent to owner (cluster-redirect) 576 + Flow is denied by access rule (acl-drop) 192350 From 2100f34ec4a160906f94230a1899b3214866dcc5 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 19 Jan 2019 19:30:54 -0800 Subject: [PATCH 216/628] CISCO_ASA_SHOW_LICENSE_ALL: Add new template (#339) --- templates/cisco_asa_show_license_all.template | 118 ++++++++++++++++++ templates/index | 1 + .../cisco_asa_show_license_all.parsed | 31 +++++ .../cisco_asa_show_license_all.raw | 38 ++++++ .../cisco_asa_show_license_all2.parsed | 31 +++++ .../cisco_asa_show_license_all2.raw | 40 ++++++ .../cisco_asa_show_license_all3.parsed | 31 +++++ .../cisco_asa_show_license_all3.raw | 30 +++++ 8 files changed, 320 insertions(+) create mode 100644 templates/cisco_asa_show_license_all.template create mode 100644 tests/cisco_asa/show_license_all/cisco_asa_show_license_all.parsed create mode 100644 tests/cisco_asa/show_license_all/cisco_asa_show_license_all.raw create mode 100644 tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.parsed create mode 100644 tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.raw create mode 100644 tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.parsed create mode 100644 tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.raw diff --git a/templates/cisco_asa_show_license_all.template b/templates/cisco_asa_show_license_all.template new file mode 100644 index 0000000000..fe90f967ca --- /dev/null +++ b/templates/cisco_asa_show_license_all.template @@ -0,0 +1,118 @@ +Value SMART_STATUS (.+?) +Value REGISTRATION_STATUS (.+?) +Value SMART_ACCOUNT (.+?) +Value VIRTUAL_ACCOUNT (.+?) +Value EXPORT_CONTROLLED (.+?) +Value REGISTRATION_INITIAL_STATUS (.+?) +Value REGISTRATION_INITIAL_DATE (.+?) +Value REGISTRATION_LAST_RENEWAL (.+?) +Value REGISTRATION_LAST_RENEWAL_DATE (.+?) +Value REGISTRATION_LAST_RENEWAL_ERROR (.+?) +Value REGISTRATION_NEXT_RENEWAL_DATE (.+?) +Value REGISTRATION_EXPIRATION_DATE (.+?) +Value AUTH_STATUS (.+?) +Value AUTH_DATE (.+?) +Value EVAL_REMAINING (.+?) +Value AUTH_LAST_COMMUNICATION (.+?) +Value AUTH_LAST_COMMUNICATION_DATE (.+?) +Value AUTH_FAIL_ERROR (.+?) +Value AUTH_NEXT_COMMUNICATION_DATE (.+?) +Value AUTH_DEADLINE (.+?) +Value LICENSE (\S.*?) +Value LICENSE_PID (\S+?) +Value LICENSE_DESCRIPTION (.+?) +Value LICENSE_COUNT (\d+) +Value LICENSE_VERSION (\S+) +Value LICENSE_STATUS (.+?) +Value PID (.+?) +Value SN (.+?) +Value SMART_AGENT_VERSION (.+?) + +Start + ^\s*$$ + ^Smart\s+Licensing\s+Status + ^Smart\s+Licensing\s+is\s+${SMART_STATUS}\s*$$ + ^Registration:\s*$$ -> REGISTRATION + ^License\s+Authorization:\s*$$ -> AUTHORIZATION + ^License\s+Usage\s*$$ -> LICENSE_USAGE + ^Product\s+Information\s*$$ -> PRODUCT_INFORMATION + ^Agent\s+Version\s*$$ -> AGENT_VERSION + ^=+\s*$$ + ^. -> Error + +REGISTRATION + ^\s*$$ + ^\s+Status:\s+${REGISTRATION_STATUS}\s*$$ + ^\s+Smart\s+Account:\s+${SMART_ACCOUNT}\s*$$ + ^\s+Virtual\s+Account:\s+${VIRTUAL_ACCOUNT}\s*$$ + ^\s+Export-Controlled\s+Functionality:\s+${EXPORT_CONTROLLED}\s*$$ + ^\s+Initial\s+Registration:\s+${REGISTRATION_INITIAL_STATUS}(?:\s+on\s+${REGISTRATION_INITIAL_DATE})?\s*$$ + ^\s+Last\s+Renewal\s+Attempt:\s+${REGISTRATION_LAST_RENEWAL}(?:\s+on\s+${REGISTRATION_LAST_RENEWAL_DATE})?\s*$$ + ^\s+Failure\s+reason:\s+${REGISTRATION_LAST_RENEWAL_ERROR}\s*$$ + ^\s+Next\s+Renewal\s+Attempt:\s+${REGISTRATION_NEXT_RENEWAL_DATE}\s*$$ + ^\s+Registration\s+Expires:\s+${REGISTRATION_EXPIRATION_DATE}\s*$$ + ^License\s+Authorization:\s*$$ -> AUTHORIZATION + ^License\s+Usage\s*$$ -> LICENSE_USAGE + ^Product\s+Information\s*$$ -> PRODUCT_INFORMATION + ^Agent\s+Version\s*$$ -> AGENT_VERSION + ^Smart\s+Licensing\s+is\s+${SMART_STATUS}\s*$$ + ^Registration:\s*$$ -> REGISTRATION + ^=+\s*$$ + ^. -> Error + +AUTHORIZATION + ^\s*$$ + ^\s+Status:\s+${AUTH_STATUS}(?:\s+on\s+${AUTH_DATE})?\s*$$ + ^\s+Evaluation\s+Period\s+Remaining:\s+${EVAL_REMAINING}\s*$$ + ^\s+Last\s+Communication\s+Attempt:\s+${AUTH_LAST_COMMUNICATION}(?:\s+on\s+${AUTH_LAST_COMMUNICATION_DATE})?\s*$$ + ^\s+Failure\s+reason:\s+${AUTH_FAIL_ERROR}\s*$$ + ^\s+Next\s+Communication\s+Attempt:\s+${AUTH_NEXT_COMMUNICATION_DATE}\s*$$ + ^\s+Communication\s+Deadline:\s+${AUTH_DEADLINE}\s*$$ + ^License\s+Usage\s*$$ -> LICENSE_USAGE + ^Product\s+Information\s*$$ -> PRODUCT_INFORMATION + ^Agent\s+Version\s*$$ -> AGENT_VERSION + ^Smart\s+Licensing\s+is\s+${SMART_STATUS}\s*$$ + ^Registration:\s*$$ -> REGISTRATION + ^License\s+Authorization:\s*$$ -> AUTHORIZATION + ^=+\s*$$ + ^. -> Error + +LICENSE_USAGE + ^\s*$$ + ^${LICENSE}?\s*\(${LICENSE_PID}\):\s*$$ + ^\s+Description:(?:\s+${LICENSE_DESCRIPTION})?\s*$$ + ^\s+Count:\s+${LICENSE_COUNT}\s*$$ + ^\s+Version:\s+${LICENSE_VERSION}\s*$$ + ^\s+Status:\s+${LICENSE_STATUS}\s*$$ + ^Product\s+Information\s*$$ -> PRODUCT_INFORMATION + ^Agent\s+Version\s*$$ -> AGENT_VERSION + ^Smart\s+Licensing\s+is\s+${SMART_STATUS}\s*$$ + ^Registration:\s*$$ -> REGISTRATION + ^License\s+Authorization:\s*$$ -> AUTHORIZATION + ^License\s+Usage\s*$$ -> LICENSE_USAGE + ^=+\s*$$ + ^. -> Error + +PRODUCT_INFORMATION + ^\s*$$ + ^UDI:.*PID:${PID},\s*SN:${SN}\s*$$ -> Start + ^Agent\s+Version\s*$$ -> AGENT_VERSION + ^Smart\s+Licensing\s+is\s+${SMART_STATUS}\s*$$ + ^Registration:\s*$$ -> REGISTRATION + ^License\s+Authorization:\s*$$ -> AUTHORIZATION + ^License\s+Usage\s*$$ -> LICENSE_USAGE + ^Product\s+Information\s*$$ -> PRODUCT_INFORMATION + ^=+\s*$$ + ^. -> Error + +AGENT_VERSION + ^\s*$$ + ^Smart\s+Agent\s+for\s+Licensing:\s+${SMART_AGENT_VERSION}\s*$$ + ^Smart\s+Licensing\s+is\s+${SMART_STATUS}\s*$$ + ^Registration:\s*$$ -> REGISTRATION + ^License\s+Authorization:\s*$$ -> AUTHORIZATION + ^License\s+Usage\s*$$ -> LICENSE_USAGE + ^Product\s+Information\s*$$ -> PRODUCT_INFORMATION + ^Agent\s+Version\s*$$ -> AGENT_VERSION + ^=+\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 133bfd807a..a6ca2fef5b 100644 --- a/templates/index +++ b/templates/index @@ -109,6 +109,7 @@ cisco_asa_show_interface_detail.template, .*, cisco_asa, sh[[ow]] int[[erface]] cisco_asa_show_crypto_ipsec_sa.template, .*, cisco_asa, sh[[ow]] cry[[pto]] ip[[sec]] sa cisco_asa_show_resource_usage.template, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] cisco_asa_show_access-list.template, .*, cisco_asa, sh[[ow]] ac[[cess-list]] +cisco_asa_show_license_all.template, .*, cisco_asa, (?:fa[[ilover]]\s+e[[xec]]\s+)?sh[[ow]] lic[[ense]] a[[ll]] cisco_asa_show_interface.template, .*, cisco_asa, sh[[ow]] int[[erface]] cisco_asa_show_inventory.template, .*, cisco_asa, sh[[ow]] inven[[tory]] cisco_asa_show_asp_drop.template, .*, cisco_asa, sh[[ow]] asp d[[rop]] diff --git a/tests/cisco_asa/show_license_all/cisco_asa_show_license_all.parsed b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all.parsed new file mode 100644 index 0000000000..c32ff30ef1 --- /dev/null +++ b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all.parsed @@ -0,0 +1,31 @@ +--- +parsed_sample: + - smart_status: "ENABLED" + registration_status: "REGISTERED" + smart_account: "COMPANY LLC" + virtual_account: "Company LLC" + export_controlled: "Allowed" + registration_initial_status: "SUCCEEDED" + registration_initial_date: "Dec 03 16:43:48 2018 UTC" + registration_last_renewal: "None" + registration_last_renewal_date: "" + registration_last_renewal_error: "" + registration_next_renewal_date: "Jun 01 16:43:47 2019 UTC" + registration_expiration_date: "Dec 03 16:37:44 2019 UTC" + eval_remaining: "" + auth_status: "AUTHORIZED" + auth_date: "Dec 03 16:43:56 2018 UTC" + auth_last_communication: "SUCCESS" + auth_last_communication_date: "Dec 03 16:43:56 2018 UTC" + auth_fail_error: "" + auth_next_communication_date: "Jan 02 16:43:55 2019 UTC" + auth_deadline: "Mar 03 16:37:54 2019 UTC" + license: "ASAv5 Standard - 100M" + license_pid: "ASAv-STD-100M" + license_description: "ASAv5 Standard - 100M" + license_count: "1" + license_version: "1.0" + license_status: "AUTHORIZED" + pid: "ASAv" + sn: "9A6PGB43PJC" + smart_agent_version: "1.6.14_rel/129" diff --git a/tests/cisco_asa/show_license_all/cisco_asa_show_license_all.raw b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all.raw new file mode 100644 index 0000000000..549ff95739 --- /dev/null +++ b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all.raw @@ -0,0 +1,38 @@ + +Smart Licensing Status +====================== + +Smart Licensing is ENABLED + +Registration: + Status: REGISTERED + Smart Account: COMPANY LLC + Virtual Account: Company LLC + Export-Controlled Functionality: Allowed + Initial Registration: SUCCEEDED on Dec 03 16:43:48 2018 UTC + Last Renewal Attempt: None + Next Renewal Attempt: Jun 01 16:43:47 2019 UTC + Registration Expires: Dec 03 16:37:44 2019 UTC + +License Authorization: + Status: AUTHORIZED on Dec 03 16:43:56 2018 UTC + Last Communication Attempt: SUCCESS on Dec 03 16:43:56 2018 UTC + Next Communication Attempt: Jan 02 16:43:55 2019 UTC + Communication Deadline: Mar 03 16:37:54 2019 UTC + +License Usage +============== + +ASAv5 Standard - 100M (ASAv-STD-100M): + Description: ASAv5 Standard - 100M + Count: 1 + Version: 1.0 + Status: AUTHORIZED + +Product Information +=================== +UDI: PID:ASAv,SN:9A6PGB43PJC + +Agent Version +============= +Smart Agent for Licensing: 1.6.14_rel/129 diff --git a/tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.parsed b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.parsed new file mode 100644 index 0000000000..daf8cc4be1 --- /dev/null +++ b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.parsed @@ -0,0 +1,31 @@ +--- +parsed_sample: + - smart_status: "ENABLED" + registration_status: "REGISTERED" + smart_account: "COMPANY LLC" + virtual_account: "Company LLC" + export_controlled: "Allowed" + registration_initial_status: "SUCCEEDED" + registration_initial_date: "Dec 03 16:43:48 2018 UTC" + registration_last_renewal: "FAILED" + registration_last_renewal_date: "Dec 03 18:40:22 2018 UTC" + registration_last_renewal_error: "Communication message send error" + registration_next_renewal_date: "Dec 03 18:56:01 2018 UTC" + registration_expiration_date: "Dec 03 16:37:44 2019 UTC" + eval_remaining: "" + auth_status: "AUTHORIZED" + auth_date: "Dec 03 18:40:28 2018 UTC" + auth_last_communication: "FAILED" + auth_last_communication_date: "Dec 03 18:40:28 2018 UTC" + auth_fail_error: "Communication message send error" + auth_next_communication_date: "Dec 03 18:40:57 2018 UTC" + auth_deadline: "Mar 03 16:37:55 2019 UTC" + license: "ASAv5 Standard - 100M" + license_pid: "ASAv-STD-100M" + license_description: "ASAv5 Standard - 100M" + license_count: "1" + license_version: "1.0" + license_status: "AUTHORIZED" + pid: "ASAv" + sn: "9A6PGB43PJC" + smart_agent_version: "1.6.14_rel/129" diff --git a/tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.raw b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.raw new file mode 100644 index 0000000000..9ede38d78d --- /dev/null +++ b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.raw @@ -0,0 +1,40 @@ + +Smart Licensing Status +====================== + +Smart Licensing is ENABLED + +Registration: + Status: REGISTERED + Smart Account: COMPANY LLC + Virtual Account: Company LLC + Export-Controlled Functionality: Allowed + Initial Registration: SUCCEEDED on Dec 03 16:43:48 2018 UTC + Last Renewal Attempt: FAILED on Dec 03 18:40:22 2018 UTC + Failure reason: Communication message send error + Next Renewal Attempt: Dec 03 18:56:01 2018 UTC + Registration Expires: Dec 03 16:37:44 2019 UTC + +License Authorization: + Status: AUTHORIZED on Dec 03 18:40:28 2018 UTC + Last Communication Attempt: FAILED on Dec 03 18:40:28 2018 UTC + Failure reason: Communication message send error + Next Communication Attempt: Dec 03 18:40:57 2018 UTC + Communication Deadline: Mar 03 16:37:55 2019 UTC + +License Usage +============== + +ASAv5 Standard - 100M (ASAv-STD-100M): + Description: ASAv5 Standard - 100M + Count: 1 + Version: 1.0 + Status: AUTHORIZED + +Product Information +=================== +UDI: PID:ASAv,SN:9A6PGB43PJC + +Agent Version +============= +Smart Agent for Licensing: 1.6.14_rel/129 diff --git a/tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.parsed b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.parsed new file mode 100644 index 0000000000..63870eb481 --- /dev/null +++ b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.parsed @@ -0,0 +1,31 @@ +--- +parsed_sample: + - smart_status: "ENABLED" + registration_status: "UNREGISTERED" + smart_account: "" + virtual_account: "" + export_controlled: "Not Allowed" + registration_initial_status: "" + registration_initial_date: "" + registration_last_renewal: "" + registration_last_renewal_date: "" + registration_last_renewal_error: "" + registration_next_renewal_date: "" + registration_expiration_date: "" + eval_remaining: "89 days, 1 hours, 33 minutes, 51 seconds" + auth_status: "EVAL MODE" + auth_date: "" + auth_last_communication: "" + auth_last_communication_date: "" + auth_fail_error: "" + auth_next_communication_date: "" + auth_deadline: "" + license: "" + license_pid: "ASAv-STD-100M" + license_description: "" + license_count: "1" + license_version: "1.0" + license_status: "EVAL MODE" + pid: "ASAv" + sn: "9A6PGB43PJC" + smart_agent_version: "1.6.14_rel/129" diff --git a/tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.raw b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.raw new file mode 100644 index 0000000000..c99f7c8ea3 --- /dev/null +++ b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.raw @@ -0,0 +1,30 @@ + +Smart Licensing Status +====================== + +Smart Licensing is ENABLED + +Registration: + Status: UNREGISTERED + Export-Controlled Functionality: Not Allowed + +License Authorization: + Status: EVAL MODE + Evaluation Period Remaining: 89 days, 1 hours, 33 minutes, 51 seconds + +License Usage +============== + +(ASAv-STD-100M): + Description: + Count: 1 + Version: 1.0 + Status: EVAL MODE + +Product Information +=================== +UDI: PID:ASAv,SN:9A6PGB43PJC + +Agent Version +============= +Smart Agent for Licensing: 1.6.14_rel/129 From 66eb0024065ff756ba1a8dfb96583b2aeade0404 Mon Sep 17 00:00:00 2001 From: Paul Neumann Date: Sun, 20 Jan 2019 21:04:32 +0100 Subject: [PATCH 217/628] BUG FIX: cisco_ios_show_ip_bgp unable to parse routes (#340) OS Version 16.6.4 has an additional space after the route status codes. This fix allows for additional space character. New test files were added with the additional output format --- templates/cisco_ios_show_ip_bgp.template | 6 +- .../show_ip_bgp/cisco_ios_show_ip_bgp5.parsed | 82 +++++++++++++++++++ .../show_ip_bgp/cisco_ios_show_ip_bgp5.raw | 17 ++++ 3 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.parsed create mode 100755 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.raw diff --git a/templates/cisco_ios_show_ip_bgp.template b/templates/cisco_ios_show_ip_bgp.template index d6193690e5..54c067ddc4 100644 --- a/templates/cisco_ios_show_ip_bgp.template +++ b/templates/cisco_ios_show_ip_bgp.template @@ -18,7 +18,7 @@ Bgp_table # # Match if subnet is 17,18 characters long, creates two lines # Example: *>i 10.104.192.208/29 - ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,1}(?=${NETWORK}).{17,18}$$ -> Next + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{17,18}$$ -> Next # # # Compliment to previous, status, path_selection, route_source, network is filldown. @@ -28,12 +28,12 @@ Bgp_table # # Match first when there is no network, since previous line had it already (compliment and filldown below) # Example: * i172.16.1.0/24 172.16.1.2 0 100 0 i - ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,1}\s{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}\s{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record # # # Full normal example. metric, and as_path might not exist, regex defaults to blank line. # Example: *> 0.0.0.0 0 32768 i - ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,1}(?=${NETWORK}).{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record EOF diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.parsed b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.parsed new file mode 100644 index 0000000000..3d6c050fca --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.parsed @@ -0,0 +1,82 @@ +--- +parsed_sample: +- as_path: '' + local_pref: '' + metric: '0' + network: 10.1.0.0/16 + next_hop: 0.0.0.0 + origin: 'i' + path_selection: '>' + route_source: ' ' + status: '*' + weight: '32768' +- as_path: '' + local_pref: '' + metric: '0' + network: 10.2.0.0/16 + next_hop: 0.0.0.0 + origin: 'i' + path_selection: '>' + route_source: ' ' + status: '*' + weight: '32768' +- as_path: '' + local_pref: '' + metric: '0' + network: 10.3.0.0/16 + next_hop: 0.0.0.0 + origin: 'i' + path_selection: '>' + route_source: ' ' + status: '*' + weight: '32768' +- as_path: '' + local_pref: '' + metric: '0' + network: 10.4.0.0/16 + next_hop: 0.0.0.0 + origin: 'i' + path_selection: '>' + route_source: ' ' + status: '*' + weight: '32768' +- as_path: '' + local_pref: '100' + metric: '0' + network: 10.11.0.0/16 + next_hop: 10.0.0.1 + origin: 'i' + path_selection: '>' + route_source: 'i' + status: '*' + weight: '0' +- as_path: '' + local_pref: '100' + metric: '0' + network: 10.12.0.0/16 + next_hop: 10.0.0.1 + origin: 'i' + path_selection: '>' + route_source: 'i' + status: '*' + weight: '0' +- as_path: '' + local_pref: '100' + metric: '0' + network: 10.13.0.0/16 + next_hop: 10.0.0.1 + origin: 'i' + path_selection: '>' + route_source: 'i' + status: '*' + weight: '0' +- as_path: '' + local_pref: '100' + metric: '0' + network: 10.14.0.0/16 + next_hop: 10.0.0.1 + origin: 'i' + path_selection: '>' + route_source: 'i' + status: '*' + weight: '0' diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.raw b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.raw new file mode 100755 index 0000000000..7ec9f02fd9 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.raw @@ -0,0 +1,17 @@ +BGP table version is 17, local router ID is 10.0.0.0 +Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, + r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, + x best-external, a additional-path, c RIB-compressed, + t secondary path, +Origin codes: i - IGP, e - EGP, ? - incomplete +RPKI validation codes: V valid, I invalid, N Not found + + Network Next Hop Metric LocPrf Weight Path + *> 10.1.0.0/16 0.0.0.0 0 32768 i + *> 10.2.0.0/16 0.0.0.0 0 32768 i + *> 10.3.0.0/16 0.0.0.0 0 32768 i + *> 10.4.0.0/16 0.0.0.0 0 32768 i + *>i 10.11.0.0/16 10.0.0.1 0 100 0 i + *>i 10.12.0.0/16 10.0.0.1 0 100 0 i + *>i 10.13.0.0/16 10.0.0.1 0 100 0 i + *>i 10.14.0.0/16 10.0.0.1 0 100 0 i From 9670ee77e9997721f191116506535012b492dc6d Mon Sep 17 00:00:00 2001 From: vaneuk <31311894+vaneuk@users.noreply.github.com> Date: Sun, 20 Jan 2019 23:34:34 +0300 Subject: [PATCH 218/628] NXOS SHOW L2RIB INTERNAL PERMANENTLY-FROZEN-LIST: Add new template (#320) --- ..._internal_permanently-frozen-list.template | 10 +++ templates/index | 1 + ...ib_internal_permanently-frozen-list.parsed | 78 +++++++++++++++++++ ...l2rib_internal_permanently-frozen-list.raw | 28 +++++++ 4 files changed, 117 insertions(+) create mode 100644 templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.template create mode 100644 tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.parsed create mode 100644 tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.raw diff --git a/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.template b/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.template new file mode 100644 index 0000000000..22e18d1fb0 --- /dev/null +++ b/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.template @@ -0,0 +1,10 @@ +Value Required TOPOLOGY (\d+) +Value Required MAC (\S+\.\S+\.\S+) +Value Required FROZEN_TIME (.*\S) + +Start + ^${TOPOLOGY}\s+${MAC}\s+${FROZEN_TIME} -> Record + ^Topology\s+Mac Address\s+Frozen time + ^-+ + ^\s*$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index a6ca2fef5b..4f69d8bf9a 100644 --- a/templates/index +++ b/templates/index @@ -177,6 +177,7 @@ cisco_ios_show_vlan.template, .*, cisco_ios, sh[[ow]] vlan cisco_ios_show_vrf.template, .*, cisco_ios, sh[[ow]] vrf cisco_ios_dir.template, .*, cisco_ios, dir +cisco_nxos_show_l2rib_internal_permanently-frozen-list.template, .*, cisco_nxos, sh[[ow]] l2ri[[b]] i[[nternal]] pe[[rmanently-frozen-list]] cisco_nxos_show_configuration_session_summary.template, .*, cisco_nxos, sh[[ow]] configu[[ration]] s[[ession]] su[[mmary]] cisco_nxos_show_interface_transceiver_details.template, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] cisco_nxos_show_environment_temperature.template, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] diff --git a/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.parsed b/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.parsed new file mode 100644 index 0000000000..c2648a35f4 --- /dev/null +++ b/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.parsed @@ -0,0 +1,78 @@ +--- +parsed_sample: + +- frozen_time: Sat Jan 27 08:46:01.447 UTC + mac: 0050.5699.7898 + topology: '190' +- frozen_time: Sat Jan 27 08:47:39.818 UTC + mac: 0050.5699.8ec0 + topology: '190' +- frozen_time: Sat Jan 27 08:47:49.970 UTC + mac: 0050.5699.d709 + topology: '190' +- frozen_time: Sat Jan 27 08:40:15.482 UTC + mac: 0050.56b5.1419 + topology: '190' +- frozen_time: Sat Jan 27 08:48:00.545 UTC + mac: 0050.56b5.1bca + topology: '190' +- frozen_time: Sat Jan 27 08:42:26.149 UTC + mac: 000c.29d4.ee30 + topology: '192' +- frozen_time: Sat Jan 27 08:57:48.481 UTC + mac: 0012.3fff.e687 + topology: '192' +- frozen_time: Sat Jan 27 08:53:13.686 UTC + mac: 0050.5699.1684 + topology: '192' +- frozen_time: Sat Jan 27 08:37:59.468 UTC + mac: 0050.5699.1b56 + topology: '192' +- frozen_time: Sat Jan 27 08:53:08.098 UTC + mac: 0050.5699.2199 + topology: '192' +- frozen_time: Sat Jan 27 08:52:44.355 UTC + mac: 0050.5699.249d + topology: '192' +- frozen_time: Sat Jan 27 08:45:45.772 UTC + mac: 0050.5699.25bf + topology: '192' +- frozen_time: Sat Jan 27 08:49:48.131 UTC + mac: 0050.5699.27b2 + topology: '192' +- frozen_time: Sat Jan 27 08:49:48.310 UTC + mac: 0050.5699.3c5a + topology: '192' +- frozen_time: Sat Jan 27 08:51:56.147 UTC + mac: 0050.5699.410a + topology: '192' +- frozen_time: Sat Jan 27 08:52:28.534 UTC + mac: 0050.5699.4241 + topology: '192' +- frozen_time: Sat Jan 27 08:52:50.603 UTC + mac: 0050.5699.449f + topology: '192' +- frozen_time: Sat Jan 27 08:55:45.974 UTC + mac: 0050.5699.4826 + topology: '192' +- frozen_time: Sat Jan 27 08:56:50.314 UTC + mac: 0050.5699.4a94 + topology: '192' +- frozen_time: Sat Jan 27 08:48:56.964 UTC + mac: 0050.5699.4dd2 + topology: '192' +- frozen_time: Sat Jan 27 08:55:23.553 UTC + mac: 0050.5699.5044 + topology: '192' +- frozen_time: Sat Jan 27 08:52:46.601 UTC + mac: 0050.5699.50ab + topology: '192' +- frozen_time: Sat Jan 27 08:58:09.431 UTC + mac: 0050.5699.5705 + topology: '192' +- frozen_time: Sat Jan 27 08:51:55.528 UTC + mac: 0050.5699.57ec + topology: '192' +- frozen_time: Sat Jan 27 08:52:46.851 UTC + mac: 0050.5699.6083 + topology: '192' diff --git a/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.raw b/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.raw new file mode 100644 index 0000000000..8a08f1394a --- /dev/null +++ b/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.raw @@ -0,0 +1,28 @@ + +Topology Mac Address Frozen time +----------- -------------- --------------------------- +190 0050.5699.7898 Sat Jan 27 08:46:01.447 UTC +190 0050.5699.8ec0 Sat Jan 27 08:47:39.818 UTC +190 0050.5699.d709 Sat Jan 27 08:47:49.970 UTC +190 0050.56b5.1419 Sat Jan 27 08:40:15.482 UTC +190 0050.56b5.1bca Sat Jan 27 08:48:00.545 UTC +192 000c.29d4.ee30 Sat Jan 27 08:42:26.149 UTC +192 0012.3fff.e687 Sat Jan 27 08:57:48.481 UTC +192 0050.5699.1684 Sat Jan 27 08:53:13.686 UTC +192 0050.5699.1b56 Sat Jan 27 08:37:59.468 UTC +192 0050.5699.2199 Sat Jan 27 08:53:08.098 UTC +192 0050.5699.249d Sat Jan 27 08:52:44.355 UTC +192 0050.5699.25bf Sat Jan 27 08:45:45.772 UTC +192 0050.5699.27b2 Sat Jan 27 08:49:48.131 UTC +192 0050.5699.3c5a Sat Jan 27 08:49:48.310 UTC +192 0050.5699.410a Sat Jan 27 08:51:56.147 UTC +192 0050.5699.4241 Sat Jan 27 08:52:28.534 UTC +192 0050.5699.449f Sat Jan 27 08:52:50.603 UTC +192 0050.5699.4826 Sat Jan 27 08:55:45.974 UTC +192 0050.5699.4a94 Sat Jan 27 08:56:50.314 UTC +192 0050.5699.4dd2 Sat Jan 27 08:48:56.964 UTC +192 0050.5699.5044 Sat Jan 27 08:55:23.553 UTC +192 0050.5699.50ab Sat Jan 27 08:52:46.601 UTC +192 0050.5699.5705 Sat Jan 27 08:58:09.431 UTC +192 0050.5699.57ec Sat Jan 27 08:51:55.528 UTC +192 0050.5699.6083 Sat Jan 27 08:52:46.851 UTC From 5df6a726ee69cd2e1cbfaa453a0290e55f9fcef6 Mon Sep 17 00:00:00 2001 From: bdowling Date: Sun, 20 Jan 2019 20:47:55 -0500 Subject: [PATCH 219/628] Fixed cisco_ios_show_cdp_neighbors when devices has 4+ capabilities (#235) regex previously required two spaces after capabilities, but it was found this is not always the case Additional testfile and parsed provided --- .../cisco_ios_show_cdp_neighbors.template | 8 +-- .../cisco_ios_show_cdp_neighbors_2.parsed | 59 +++++++++++++++++++ .../cisco_ios_show_cdp_neighbors_2.raw | 25 ++++++++ 3 files changed, 88 insertions(+), 4 deletions(-) create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.parsed create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.raw diff --git a/templates/cisco_ios_show_cdp_neighbors.template b/templates/cisco_ios_show_cdp_neighbors.template index 74e2d5d545..dac670c2a3 100644 --- a/templates/cisco_ios_show_cdp_neighbors.template +++ b/templates/cisco_ios_show_cdp_neighbors.template @@ -1,7 +1,7 @@ Value Required NEIGHBOR (\S+) Value LOCAL_INTERFACE (\S+\s\S+) -Value CAPABILITY (\w.*?) -Value PLATFORM (\S+\s\S+|\S+) +Value CAPABILITY ((?:\w(?:\s(?!\s))?){0,}) +Value PLATFORM (\S{2,}\s\S{2,}|\S+) Value NEIGHBOR_INTERFACE (\S+\s\S+) Start @@ -9,6 +9,6 @@ Start CDP ^${NEIGHBOR}$$ - ^\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s{2}\s*${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record - ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s{2}\s*${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record + ^\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record + ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.parsed b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.parsed new file mode 100644 index 0000000000..4b4fb693d4 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.parsed @@ -0,0 +1,59 @@ +--- +parsed_sample: + +- capability: R I + local_interface: Ten 1/1/3 + neighbor: asr1002-2.some.example.com + neighbor_interface: Ten 0/1/0 + platform: ASR1002-H +- capability: H + local_interface: Ten 1/0/6 + neighbor: vWAAS3b + neighbor_interface: Virtual 2/0 + platform: OE-VWAAS +- capability: H + local_interface: Ten 1/0/6 + neighbor: vWAAS3b + neighbor_interface: Virtual 1/0 + platform: OE-VWAAS +- capability: H + local_interface: Ten 1/0/7 + neighbor: vWAAS4b + neighbor_interface: Virtual 2/0 + platform: OE-VWAAS +- capability: H + local_interface: Ten 1/0/7 + neighbor: vWAAS4b + neighbor_interface: Virtual 1/0 + platform: OE-VWAAS +- capability: S I + local_interface: Gig 0/0 + neighbor: NEXTGENLABSWT01.some.example.com + neighbor_interface: Gig 0/23 + platform: WS-C3560X +- capability: R B S I + local_interface: Ten 1/0/4 + neighbor: router01.some.example.com + neighbor_interface: Gig 0/0 + platform: CISCO2911 +- capability: R S I + local_interface: Ten 1/1/6 + neighbor: 9300mgig-1.some.example.com + neighbor_interface: Ten 1/1/7 + platform: C9300-24U +- capability: R S I + local_interface: Ten 1/1/7 + neighbor: 9300mgig-1.some.example.com + neighbor_interface: Ten 1/1/6 + platform: C9300-24U +- capability: R S I + local_interface: Ten 1/1/8 + neighbor: 9500-1.some.example.com + neighbor_interface: Ten 2/0/36 + platform: C9500-40X +- capability: R S I + local_interface: Ten 1/1/1 + neighbor: 9300mgig-2.some.example.com + neighbor_interface: Ten 1/1/2 + platform: C9300-24U + diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.raw b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.raw new file mode 100644 index 0000000000..de071f76b2 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.raw @@ -0,0 +1,25 @@ +Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge + S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, + D - Remote, C - CVTA, M - Two-port Mac Relay + +Device ID Local Intrfce Holdtme Capability Platform Port ID +asr1002-2.some.example.com + Ten 1/1/3 173 R I ASR1002-H Ten 0/1/0 +vWAAS3b Ten 1/0/6 140 H OE-VWAAS Virtual 2/0 +vWAAS3b Ten 1/0/6 140 H OE-VWAAS Virtual 1/0 +vWAAS4b Ten 1/0/7 162 H OE-VWAAS Virtual 2/0 +vWAAS4b Ten 1/0/7 162 H OE-VWAAS Virtual 1/0 +NEXTGENLABSWT01.some.example.com + Gig 0/0 130 S I WS-C3560X Gig 0/23 +router01.some.example.com + Ten 1/0/4 172 R B S I CISCO2911 Gig 0/0 +9300mgig-1.some.example.com + Ten 1/1/6 155 R S I C9300-24U Ten 1/1/7 +9300mgig-1.some.example.com + Ten 1/1/7 140 R S I C9300-24U Ten 1/1/6 +9500-1.some.example.com + Ten 1/1/8 170 R S I C9500-40X Ten 2/0/36 +9300mgig-2.some.example.com + Ten 1/1/1 148 R S I C9300-24U Ten 1/1/2 + +Total cdp entries displayed : 11 From f0dc74199957e2065565289e3250eb8b4f86a47b Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Sun, 20 Jan 2019 18:16:14 -0800 Subject: [PATCH 220/628] NXOS SHOW VERSION: update template to support 5ks (#154) The `PLATFORM` Capture Group has a different syntax in Nexus 5K platform --- templates/cisco_nxos_show_version.template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/templates/cisco_nxos_show_version.template b/templates/cisco_nxos_show_version.template index d20c5986bb..16576cfbf4 100644 --- a/templates/cisco_nxos_show_version.template +++ b/templates/cisco_nxos_show_version.template @@ -5,8 +5,9 @@ Value BOOT_IMAGE (.*) Value PLATFORM (\w+) Start - ^\s+(NXOS: version|system:\s+version)\s${OS} - ^\s+(NXOS|kickstart) image file is:\s${BOOT_IMAGE} - ^\s+cisco Nexus\d+\s${PLATFORM} - ^Kernel uptime is\s${UPTIME} - ^\s+Reason:\s${LAST_REBOOT_REASON} -> Record \ No newline at end of file + ^\s+(NXOS: version|system:\s+version)\s+${OS}\s*$$ + ^\s+(NXOS|kickstart)\s+image\s+file\s+is:\s+${BOOT_IMAGE}\s*$$ + ^\s+cisco\s+${PLATFORM}\s+[cC]hassis + ^\s+cisco\s+Nexus\d+\s+${PLATFORM} + ^Kernel\s+uptime\s+is\s+${UPTIME} + ^\s+Reason:\s${LAST_REBOOT_REASON} -> Record From 91fe7a4c41a323fe84766d1dc36db2d1e69a18cd Mon Sep 17 00:00:00 2001 From: amb1s1 Date: Sun, 20 Jan 2019 18:28:10 -0800 Subject: [PATCH 221/628] JUNOS SHOW INTERFACES: Bug fix `Record` matching (#156) * Update the file to support Cap F on output * Add raw example for bug-fix PR --- templates/juniper_junos_show_interfaces.template | 4 ++-- .../show_interfaces/juniper_junos_show_interfaces.raw | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/juniper_junos_show_interfaces.template b/templates/juniper_junos_show_interfaces.template index 1892cff090..0d74eb53de 100644 --- a/templates/juniper_junos_show_interfaces.template +++ b/templates/juniper_junos_show_interfaces.template @@ -9,6 +9,6 @@ Start ^Physical\s+interface:\s+${INTERFACE},\s+${ADMIN_STATE},\s+Physical\s+link\s+is\s+${LINK_STATUS} ^.*ype:\s+${HARDWARE_TYPE},.*MTU:\s+${MTU}.* -> Record ^.*MTU:\s+${MTU}.* -> Record - ^.*flags -> Record + ^.*[fF]lags -> Record -EOF \ No newline at end of file +EOF diff --git a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw index 5c44efa258..2cb6e0bdbc 100644 --- a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw +++ b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw @@ -66,6 +66,6 @@ Physical interface: mt-0/0/0, Enabled, Physical link is Up Physical interface: sp-0/0/0, Enabled, Physical link is Up Interface index: 138, SNMP ifIndex: 515 Type: Adaptive-Services, Link-level type: Adaptive-Services, MTU: 9192, Speed: 800mbps - Device flags : Present Running + Device Flags : Present Running Interface flags: Point-To-Point SNMP-Traps Internal: 0x4000 From ae922d96da9ac9665eb3a18f2147b452c7c00056 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 20 Jan 2019 19:11:21 -0800 Subject: [PATCH 222/628] IOS SHOW MAC-ADDRESS TABLE: Add new layout of cli output (#342) * Fix standard regular expressions to skip headers * Add test files for template update --- .../cisco_ios_show_mac-address-table.template | 3 +- .../cisco_ios_show_mac-address-table5.parsed | 52 +++++++++++++ .../cisco_ios_show_mac-address-table5.raw | 75 +++++++++++++++++++ 3 files changed, 128 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.parsed create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.raw diff --git a/templates/cisco_ios_show_mac-address-table.template b/templates/cisco_ios_show_mac-address-table.template index 0abb1ceec6..d7ee93abd2 100644 --- a/templates/cisco_ios_show_mac-address-table.template +++ b/templates/cisco_ios_show_mac-address-table.template @@ -1,4 +1,4 @@ -Value DESTINATION_ADDRESS (\w+.\w+.\w+) +Value DESTINATION_ADDRESS ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4}) Value TYPE (\w+) Value VLAN (\w+) Value DESTINATION_PORT (\S+) @@ -20,4 +20,3 @@ TYPE3 TYPE4 ^\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT} -> Record - diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.parsed b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.parsed new file mode 100644 index 0000000000..ffa1cbf9ec --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.parsed @@ -0,0 +1,52 @@ +--- +parsed_sample: + - destination_address: "009e.1ead.eadd" + type: "dynamic" + vlan: "420" + destination_port: "Po140" + + - destination_address: "009e.1ead.eadd" + type: "dynamic" + vlan: "420" + destination_port: "Po140" + + - destination_address: "009e.1ead.eadd" + type: "dynamic" + vlan: "420" + destination_port: "Po140" + + - destination_address: "009e.1ead.eadd" + type: "dynamic" + vlan: "420" + destination_port: "Po140" + + - destination_address: "009e.1ead.eadd" + type: "dynamic" + vlan: "420" + destination_port: "Po140" + + - destination_address: "009e.1ead.eadd" + type: "dynamic" + vlan: "420" + destination_port: "Po140" + + - destination_address: "009e.1ead.eadd" + type: "dynamic" + vlan: "420" + destination_port: "Po140" + + - destination_address: "009e.1ead.eadd" + type: "dynamic" + vlan: "420" + destination_port: "Po140" + + - destination_address: "009e.1ead.eadd" + type: "dynamic" + vlan: "420" + destination_port: "Po140" + + - destination_address: "009e.1ead.eadd" + type: "dynamic" + vlan: "420" + destination_port: "Po140" + diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.raw new file mode 100644 index 0000000000..cf2462e46b --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.raw @@ -0,0 +1,75 @@ +Legend: * - primary entry + age - seconds since last seen + n/a - not available + S - secure entry + R - router's gateway mac address entry + D - Duplicate mac address entry + +Displaying entries from DFC switch [1] linecard [1]: + + vlan mac address type learn age ports +----+----+---------------+-------+-----+----------+----------------------------- + 420 009e.1ead.eadd dynamic Yes 160 Po140 + + +Displaying entries from DFC switch [1] linecard [2]: + + vlan mac address type learn age ports +----+----+---------------+-------+-----+----------+----------------------------- +* 420 009e.1ead.eadd dynamic Yes 5 Po140 + + +Displaying entries from DFC switch [1] linecard [3]: + + vlan mac address type learn age ports +----+----+---------------+-------+-----+----------+----------------------------- + 420 009e.1ead.eadd dynamic Yes 45 Po140 + + +Displaying entries from DFC switch [1] linecard [4]: + + vlan mac address type learn age ports +----+----+---------------+-------+-----+----------+----------------------------- + 420 009e.1ead.eadd dynamic Yes 175 Po140 + + +Displaying entries from active supervisor: + + vlan mac address type learn age ports +----+----+---------------+-------+-----+----------+----------------------------- + 420 009e.1ead.eadd dynamic Yes 65 Po140 + + +Displaying entries from DFC switch [2] linecard [1]: + + vlan mac address type learn age ports +----+----+---------------+-------+-----+----------+----------------------------- + 420 009e.1ead.eadd dynamic Yes 140 Po140 + + +Displaying entries from DFC switch [2] linecard [2]: + + vlan mac address type learn age ports +----+----+---------------+-------+-----+----------+----------------------------- +* 420 009e.1ead.eadd dynamic Yes 5 Po140 + + +Displaying entries from DFC switch [2] linecard [3]: + + vlan mac address type learn age ports +----+----+---------------+-------+-----+----------+----------------------------- + 420 009e.1ead.eadd dynamic Yes 120 Po140 + + +Displaying entries from DFC switch [2] linecard [4]: + + vlan mac address type learn age ports +----+----+---------------+-------+-----+----------+----------------------------- + 420 009e.1ead.eadd dynamic Yes 180 Po140 + + +Displaying entries from standby supervisor: + + vlan mac address type learn age ports +----+----+---------------+-------+-----+----------+----------------------------- + 420 009e.1ead.eadd dynamic Yes 115 Po140 From 4901ed58541b44f691a52fedb0a35139be64672d Mon Sep 17 00:00:00 2001 From: ydave Date: Mon, 21 Jan 2019 08:42:36 +0530 Subject: [PATCH 223/628] EOS DIR FLASH: Add new template (#187) --- templates/arista_eos_dir_flash.template | 19 ++++ templates/index | 1 + .../dir_flash/arista_eos_dir_flash.parsed | 101 ++++++++++++++++++ .../dir_flash/arista_eos_dir_flash.raw | 15 +++ 4 files changed, 136 insertions(+) create mode 100644 templates/arista_eos_dir_flash.template create mode 100644 tests/arista_eos/dir_flash/arista_eos_dir_flash.parsed create mode 100644 tests/arista_eos/dir_flash/arista_eos_dir_flash.raw diff --git a/templates/arista_eos_dir_flash.template b/templates/arista_eos_dir_flash.template new file mode 100644 index 0000000000..2097c073e5 --- /dev/null +++ b/templates/arista_eos_dir_flash.template @@ -0,0 +1,19 @@ +Value Filldown FILE_SYSTEM (\S+) +Value PERMISSIONS (\S+) +Value SIZE (\d+) +Value DATE_TIME (\S+\s+\d+\s+((\d+)|(\d+:\d+))) +Value NAME (\S+) +Value Fillup TOTAL_SIZE (\d+) +Value Fillup TOTAL_FREE (\d+) + +Start + ^Directory of\s+${FILE_SYSTEM} -> DIR + +DIR + ^\s+${PERMISSIONS}\s+${SIZE}\s+${DATE_TIME}\s+${NAME} -> Record + ^${TOTAL_SIZE}\s+\S+\s+\S+\s+\(${TOTAL_FREE}\s+\S+\s+\S+\) + ^\s+$$ + ^$$ + ^.* -> Error "LINE NOT FOUND" + +EOF diff --git a/templates/index b/templates/index index 4f69d8bf9a..283a4f9f06 100644 --- a/templates/index +++ b/templates/index @@ -44,6 +44,7 @@ arista_eos_show_ip_arp.template, .*, arista_eos, sh[[ow]] i[[p]] ar[[p]] arista_eos_show_ip_bgp.template, .*, arista_eos, sh[[ow]] i[[p]] bg[[p]] arista_eos_bash_df_-h.template, .*, arista_eos, bas[[h]] d[[f]] [[-h]] arista_eos_show_clock.template, .*, arista_eos, sh[[ow]] clo[[ck]] +arista_eos_dir_flash.template, .*, arista_eos, dir fl[[ash:]] arista_eos_show_mlag.template, .*, arista_eos, sh[[ow]] ml[[ag]] arista_eos_show_vlan.template, .*, arista_eos, sh[[ow]] vl[[an]] diff --git a/tests/arista_eos/dir_flash/arista_eos_dir_flash.parsed b/tests/arista_eos/dir_flash/arista_eos_dir_flash.parsed new file mode 100644 index 0000000000..45897be0b3 --- /dev/null +++ b/tests/arista_eos/dir_flash/arista_eos_dir_flash.parsed @@ -0,0 +1,101 @@ +--- +parsed_sample: + + +- file_system : 'flash:/' + permissions : '-rwx' + size : '591941836' + date_time : 'Aug 2 2017' + name : 'EOS-4.18.3.1F.swi' + total_size : '3519041536' + total_free : '1725112320' + + +- file_system : 'flash:/' + permissions : '-rwx' + size : '609823300' + date_time : 'Feb 14 02:03' + name : 'EOS-4.19.5M.swi' + total_size : '3519041536' + total_free : '1725112320' + + +- file_system : 'flash:/' + permissions : '-rwx' + size : '29' + date_time : 'Aug 23 2017' + name : 'boot-config' + total_size : '3519041536' + total_free : '1725112320' + + +- file_system : 'flash:/' + permissions : 'drwx' + size : '4096' + date_time : 'Aug 23 2017' + name : 'debug' + total_size : '3519041536' + total_free : '1725112320' + + +- file_system : 'flash:/' + permissions : '-rwx' + size : '0' + date_time : 'Apr 15 2017' + name : 'enable3px' + total_size : '3519041536' + total_free : '1725112320' + + +- file_system : 'flash:/' + permissions : '-rwx' + size : '19' + date_time : 'Apr 15 2017' + name : 'enable3px.key' + total_size : '3519041536' + total_free : '1725112320' + + +- file_system : 'flash:/' + permissions : '-rwx' + size : '31' + date_time : 'Apr 15 2017' + name : 'kickstart-config' + total_size : '3519041536' + total_free : '1725112320' + + +- file_system : 'flash:/' + permissions : 'drwx' + size : '4096' + date_time : 'Apr 3 10:29' + name : 'persist' + total_size : '3519041536' + total_free : '1725112320' + + +- file_system : 'flash:/' + permissions : 'drwx' + size : '4096' + date_time : 'Apr 15 2017' + name : 'schedule' + total_size : '3519041536' + total_free : '1725112320' + + +- file_system : 'flash:/' + permissions : '-rwx' + size : '20530' + date_time : 'Jan 18 22:46' + name : 'startup-config' + total_size : '3519041536' + total_free : '1725112320' + + +- file_system : 'flash:/' + permissions : '-rwx' + size : '13' + date_time : 'Aug 23 2017' + name : 'zerotouch-config' + total_size : '3519041536' + total_free : '1725112320' diff --git a/tests/arista_eos/dir_flash/arista_eos_dir_flash.raw b/tests/arista_eos/dir_flash/arista_eos_dir_flash.raw new file mode 100644 index 0000000000..e19dee45ea --- /dev/null +++ b/tests/arista_eos/dir_flash/arista_eos_dir_flash.raw @@ -0,0 +1,15 @@ +Directory of flash:/ + + -rwx 591941836 Aug 2 2017 EOS-4.18.3.1F.swi + -rwx 609823300 Feb 14 02:03 EOS-4.19.5M.swi + -rwx 29 Aug 23 2017 boot-config + drwx 4096 Aug 23 2017 debug + -rwx 0 Apr 15 2017 enable3px + -rwx 19 Apr 15 2017 enable3px.key + -rwx 31 Apr 15 2017 kickstart-config + drwx 4096 Apr 3 10:29 persist + drwx 4096 Apr 15 2017 schedule + -rwx 20530 Jan 18 22:46 startup-config + -rwx 13 Aug 23 2017 zerotouch-config + +3519041536 bytes total (1725112320 bytes free) From 72984812a3e96893b9a729523b00d25314bb0892 Mon Sep 17 00:00:00 2001 From: Kade Cole Date: Sun, 20 Jan 2019 21:13:19 -0600 Subject: [PATCH 224/628] AVAYA ERS SHOW MLT ALL-MEMBERS: Add new template (#202) --- .../avaya_ers_show_mlt_all-members.template | 22 + templates/index | 1 + ...avaya_ers_show_mlt_all-members_4800.parsed | 322 ++++++++++ .../avaya_ers_show_mlt_all-members_4800.raw | 225 +++++++ ...avaya_ers_show_mlt_all-members_4900.parsed | 322 ++++++++++ .../avaya_ers_show_mlt_all-members_4900.raw | 256 ++++++++ ...avaya_ers_show_mlt_all-members_7000.parsed | 578 ++++++++++++++++++ .../avaya_ers_show_mlt_all-members_7000.raw | 449 ++++++++++++++ 8 files changed, 2175 insertions(+) create mode 100644 templates/avaya_ers_show_mlt_all-members.template create mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.parsed create mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.raw create mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.parsed create mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.raw create mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.parsed create mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.raw diff --git a/templates/avaya_ers_show_mlt_all-members.template b/templates/avaya_ers_show_mlt_all-members.template new file mode 100644 index 0000000000..15cb778d2a --- /dev/null +++ b/templates/avaya_ers_show_mlt_all-members.template @@ -0,0 +1,22 @@ +Value Required MLTID (\d+) +Value MLTNAME (.*?) +Value MLTACTIVEMEMBERS (\S+?) +Value MLTINACTIVEMEMBERS (\S+?) +Value MLTBPDU (\S+?) +Value MLTMODE (\S+?) +Value MLTSTATUS (Enabled|Disabled) +Value MLTTYPE (Access|Trunk|) +Value MLTLACPKEY (\S+|) + +Start + ^Id:\s+\d+\s*$$ -> Continue.Record + ^Id:\s*${MLTID}\s*$$ + ^\s+Name:${MLTNAME}\s*$$ + ^\s+Active Members:\s${MLTACTIVEMEMBERS}\s*$$ + ^\s+Inactive Members:\s${MLTINACTIVEMEMBERS}\s*$$ + ^\s+Bpdu:\s${MLTBPDU}\s*$$ + ^\s+Mode:\s${MLTMODE}\s*$$ + ^\s+Status:\s${MLTSTATUS}\s*$$ + ^\s+Type:\s${MLTTYPE}\s*$$ + ^\s+LACP key:\s${MLTLACPKEY}\s*$$ + ^.*$$ -> Error diff --git a/templates/index b/templates/index index 283a4f9f06..246e0c6d05 100644 --- a/templates/index +++ b/templates/index @@ -52,6 +52,7 @@ aruba_os_show_ipv6_interface_brief.template, .*, aruba_os, sh[[ow]] ipv6 in[[ter aruba_os_show_ip_interface_brief.template, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] avaya_ers_show_mac-address-table.template, .*, avaya_ers, sh[[ow]] mac-a[[ddress-table]] +avaya_ers_show_mlt_all-members.template, .*, avaya_ers, sh[[ow]] ml[[t]] a[[ll-members]] avaya_ers_show_interface_name.template, .*, avaya_ers, sh[[ow]] in[[terfaces]] n[[ames]] avaya_ers_show_logging_config.template, .*, avaya_ers, sh[[ow]] lo[[gging]] co[[nfig]] avaya_ers_show_sys-info.template, .*, avaya_ers, sh[[ow]] sys-[[info]] diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.parsed b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.parsed new file mode 100644 index 0000000000..685baee619 --- /dev/null +++ b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.parsed @@ -0,0 +1,322 @@ +--- +parsed_sample: + +- mltid: '1' + mltname: 'Trunk #1' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '2' + mltname: 'Trunk #2' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '3' + mltname: 'Trunk #3' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '4' + mltname: 'Trunk #4' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '5' + mltname: 'Trunk #5' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '6' + mltname: 'Trunk #6' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '7' + mltname: 'Trunk #7' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '8' + mltname: 'Trunk #8' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '9' + mltname: 'Trunk #9' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '10' + mltname: 'Trunk #10' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '11' + mltname: 'Trunk #11' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '12' + mltname: 'Trunk #12' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '13' + mltname: 'Trunk #13' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '14' + mltname: 'Trunk #14' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '15' + mltname: 'Trunk #15' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '16' + mltname: 'Trunk #16' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '17' + mltname: 'Trunk #17' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '18' + mltname: 'Trunk #18' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '19' + mltname: 'Trunk #19' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '20' + mltname: 'Trunk #20' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '21' + mltname: 'Trunk #21' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '22' + mltname: 'Trunk #22' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '23' + mltname: 'Trunk #23' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '24' + mltname: 'Trunk #24' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '25' + mltname: 'Trunk #25' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '26' + mltname: 'Trunk #26' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '27' + mltname: 'Trunk #27' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '28' + mltname: 'Trunk #28' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '29' + mltname: 'Trunk #29' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '30' + mltname: 'Trunk #30' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '31' + mltname: 'Trunk #31' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: '' + +- mltid: '32' + mltname: 'icampus lacp' + mltactivemembers: '27-28' + mltinactivemembers: 'NONE' + mltbpdu: 'Single' + mltmode: 'DynLag/Basic' + mltstatus: 'Enabled' + mlttype: 'Access' + mltlacpkey: '' diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.raw b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.raw new file mode 100644 index 0000000000..47961f4bea --- /dev/null +++ b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.raw @@ -0,0 +1,225 @@ +Id: 1 + Name:Trunk #1 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 2 + Name:Trunk #2 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 3 + Name:Trunk #3 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 4 + Name:Trunk #4 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 5 + Name:Trunk #5 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 6 + Name:Trunk #6 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 7 + Name:Trunk #7 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 8 + Name:Trunk #8 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 9 + Name:Trunk #9 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 10 + Name:Trunk #10 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 11 + Name:Trunk #11 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 12 + Name:Trunk #12 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 13 + Name:Trunk #13 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 14 + Name:Trunk #14 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 15 + Name:Trunk #15 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 16 + Name:Trunk #16 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 17 + Name:Trunk #17 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 18 + Name:Trunk #18 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 19 + Name:Trunk #19 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 20 + Name:Trunk #20 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 21 + Name:Trunk #21 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 22 + Name:Trunk #22 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 23 + Name:Trunk #23 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 24 + Name:Trunk #24 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 25 + Name:Trunk #25 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 26 + Name:Trunk #26 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 27 + Name:Trunk #27 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 28 + Name:Trunk #28 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 29 + Name:Trunk #29 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 30 + Name:Trunk #30 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 31 + Name:Trunk #31 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 32 + Name:icampus lacp + Active Members: 27-28 + Inactive Members: NONE + Bpdu: Single + Mode: DynLag/Basic + Status: Enabled + Type: Access diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.parsed b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.parsed new file mode 100644 index 0000000000..4b707eb036 --- /dev/null +++ b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.parsed @@ -0,0 +1,322 @@ +--- +parsed_sample: + +- mltid: '1' + mltname: 'UPLINK' + mltactivemembers: '1/50,2/50' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '2' + mltname: 'Trunk #2' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '3' + mltname: 'Trunk #3' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '4' + mltname: 'Trunk #4' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '5' + mltname: 'Trunk #5' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '6' + mltname: 'Trunk #6' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '7' + mltname: 'Trunk #7' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '8' + mltname: 'Trunk #8' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '9' + mltname: 'Trunk #9' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '10' + mltname: 'Trunk #10' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '11' + mltname: 'Trunk #11' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '12' + mltname: 'Trunk #12' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '13' + mltname: 'Trunk #13' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '14' + mltname: 'Trunk #14' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '15' + mltname: 'Trunk #15' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '16' + mltname: 'Trunk #16' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '17' + mltname: 'Trunk #17' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '18' + mltname: 'Trunk #18' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '19' + mltname: 'Trunk #19' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '20' + mltname: 'Trunk #20' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '21' + mltname: 'Trunk #21' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '22' + mltname: 'Trunk #22' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '23' + mltname: 'Trunk #23' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '24' + mltname: 'Trunk #24' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '25' + mltname: 'Trunk #25' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '26' + mltname: 'Trunk #26' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '27' + mltname: 'Trunk #27' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '28' + mltname: 'Trunk #28' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '29' + mltname: 'Trunk #29' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '30' + mltname: 'Trunk #30' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '31' + mltname: 'Trunk #31' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' + +- mltid: '32' + mltname: 'Trunk #32' + mltactivemembers: 'NONE' + mltinactivemembers: 'NONE' + mltbpdu: 'All' + mltmode: 'Basic' + mltstatus: 'Disabled' + mlttype: '' + mltlacpkey: 'NONE' diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.raw b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.raw new file mode 100644 index 0000000000..d3625e0588 --- /dev/null +++ b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.raw @@ -0,0 +1,256 @@ +Id: 1 + Name:UPLINK + Active Members: 1/50,2/50 + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 2 + Name:Trunk #2 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 3 + Name:Trunk #3 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 4 + Name:Trunk #4 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 5 + Name:Trunk #5 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 6 + Name:Trunk #6 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 7 + Name:Trunk #7 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 8 + Name:Trunk #8 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 9 + Name:Trunk #9 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 10 + Name:Trunk #10 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 11 + Name:Trunk #11 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 12 + Name:Trunk #12 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 13 + Name:Trunk #13 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 14 + Name:Trunk #14 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 15 + Name:Trunk #15 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 16 + Name:Trunk #16 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 17 + Name:Trunk #17 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 18 + Name:Trunk #18 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 19 + Name:Trunk #19 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 20 + Name:Trunk #20 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 21 + Name:Trunk #21 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 22 + Name:Trunk #22 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 23 + Name:Trunk #23 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 24 + Name:Trunk #24 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 25 + Name:Trunk #25 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 26 + Name:Trunk #26 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 27 + Name:Trunk #27 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 28 + Name:Trunk #28 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 29 + Name:Trunk #29 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 30 + Name:Trunk #30 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 31 + Name:Trunk #31 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE +Id: 32 + Name:Trunk #32 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled + LACP key: NONE diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.parsed b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.parsed new file mode 100644 index 0000000000..5f374cbb11 --- /dev/null +++ b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.parsed @@ -0,0 +1,578 @@ +--- +parsed_sample: +- mltid: "1" + mltname: "IST" + mltactivemembers: "38-39" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Enabled" + mlttype: Trunk + mltlacpkey: "" +- mltid: "2" + mltname: "Trunk #2" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "3" + mltname: "Trunk #3" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "4" + mltname: "Trunk #4" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "5" + mltname: "Trunk #5" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "6" + mltname: "Trunk #6" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "7" + mltname: "Trunk #7" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "8" + mltname: "Trunk #8" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "9" + mltname: "Trunk #9" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "10" + mltname: "Trunk #10" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "11" + mltname: "Trunk #11" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "12" + mltname: "Trunk #12" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "13" + mltname: "Trunk #13" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "14" + mltname: "Trunk #14" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "15" + mltname: "Trunk #15" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "16" + mltname: "Trunk #16" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "17" + mltname: "Trunk #17" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "18" + mltname: "Trunk #18" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "19" + mltname: "Trunk #19" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "20" + mltname: "Trunk #20" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "21" + mltname: "Trunk #21" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "22" + mltname: "Trunk #22" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "23" + mltname: "Trunk #23" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "24" + mltname: "Trunk #24" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "25" + mltname: "Trunk #25" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "26" + mltname: "Trunk #26" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "27" + mltname: "Trunk #27" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "28" + mltname: "Trunk #28" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "29" + mltname: "Trunk #29" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "30" + mltname: "Trunk #30" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "31" + mltname: "Trunk #31" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "32" + mltname: "Trunk #32" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "33" + mltname: "Trunk #33" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "34" + mltname: "Trunk #34" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "35" + mltname: "Trunk #35" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "36" + mltname: "Trunk #36" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "37" + mltname: "Trunk #37" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "38" + mltname: "Trunk #38" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "39" + mltname: "Trunk #39" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "40" + mltname: "Trunk #40" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "41" + mltname: "Trunk #41" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "42" + mltname: "Trunk #42" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "43" + mltname: "Trunk #43" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "44" + mltname: "Trunk #44" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "45" + mltname: "Trunk #45" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "46" + mltname: "Trunk #46" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "47" + mltname: "Trunk #47" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "48" + mltname: "Trunk #48" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "49" + mltname: "Trunk #49" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "50" + mltname: "Trunk #50" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "51" + mltname: "Trunk #51" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "52" + mltname: "Trunk #52" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "53" + mltname: "Trunk #53" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "54" + mltname: "Trunk #54" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "55" + mltname: "Trunk #55" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "56" + mltname: "Trunk #56" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "57" + mltname: "Trunk #57" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "58" + mltname: "Trunk #58" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "59" + mltname: "Trunk #59" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "60" + mltname: "Trunk #60" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "61" + mltname: "Trunk #61" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "62" + mltname: "Trunk #62" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "63" + mltname: "Trunk #63" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" +- mltid: "64" + mltname: "Trunk #64" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.raw b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.raw new file mode 100644 index 0000000000..05ba0e9dbc --- /dev/null +++ b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.raw @@ -0,0 +1,449 @@ +Id: 1 + Name:IST + Active Members: 38-39 + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Enabled + Type: Trunk +Id: 2 + Name:Trunk #2 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 3 + Name:Trunk #3 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 4 + Name:Trunk #4 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 5 + Name:Trunk #5 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 6 + Name:Trunk #6 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 7 + Name:Trunk #7 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 8 + Name:Trunk #8 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 9 + Name:Trunk #9 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 10 + Name:Trunk #10 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 11 + Name:Trunk #11 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 12 + Name:Trunk #12 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 13 + Name:Trunk #13 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 14 + Name:Trunk #14 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 15 + Name:Trunk #15 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 16 + Name:Trunk #16 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 17 + Name:Trunk #17 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 18 + Name:Trunk #18 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 19 + Name:Trunk #19 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 20 + Name:Trunk #20 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 21 + Name:Trunk #21 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 22 + Name:Trunk #22 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 23 + Name:Trunk #23 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 24 + Name:Trunk #24 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 25 + Name:Trunk #25 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 26 + Name:Trunk #26 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 27 + Name:Trunk #27 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 28 + Name:Trunk #28 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 29 + Name:Trunk #29 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 30 + Name:Trunk #30 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 31 + Name:Trunk #31 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 32 + Name:Trunk #32 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 33 + Name:Trunk #33 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 34 + Name:Trunk #34 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 35 + Name:Trunk #35 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 36 + Name:Trunk #36 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 37 + Name:Trunk #37 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 38 + Name:Trunk #38 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 39 + Name:Trunk #39 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 40 + Name:Trunk #40 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 41 + Name:Trunk #41 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 42 + Name:Trunk #42 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 43 + Name:Trunk #43 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 44 + Name:Trunk #44 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 45 + Name:Trunk #45 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 46 + Name:Trunk #46 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 47 + Name:Trunk #47 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 48 + Name:Trunk #48 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 49 + Name:Trunk #49 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 50 + Name:Trunk #50 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 51 + Name:Trunk #51 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 52 + Name:Trunk #52 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 53 + Name:Trunk #53 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 54 + Name:Trunk #54 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 55 + Name:Trunk #55 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 56 + Name:Trunk #56 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 57 + Name:Trunk #57 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 58 + Name:Trunk #58 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 59 + Name:Trunk #59 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 60 + Name:Trunk #60 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 61 + Name:Trunk #61 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 62 + Name:Trunk #62 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 63 + Name:Trunk #63 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled +Id: 64 + Name:Trunk #64 + Active Members: NONE + Inactive Members: NONE + Bpdu: All + Mode: Basic + Status: Disabled From 14981cb3e79230ab92599332326840abf17c4baa Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 20 Jan 2019 19:55:59 -0800 Subject: [PATCH 225/628] EOS SHOW MODULE: Add new template (#343) --- templates/arista_eos_show_module.template | 25 +++ templates/index | 1 + .../arista_eos_show_module.template.parsed | 168 ++++++++++++++++++ .../arista_eos_show_module.template.raw | 44 +++++ 4 files changed, 238 insertions(+) create mode 100644 templates/arista_eos_show_module.template create mode 100644 tests/arista_eos/show_module/arista_eos_show_module.template.parsed create mode 100644 tests/arista_eos/show_module/arista_eos_show_module.template.raw diff --git a/templates/arista_eos_show_module.template b/templates/arista_eos_show_module.template new file mode 100644 index 0000000000..c2eee3f750 --- /dev/null +++ b/templates/arista_eos_show_module.template @@ -0,0 +1,25 @@ +Value MODULE (\S+) +Value PORTS (\d+) +Value CARD (.+?) +Value TYPE (\S+) +Value MODEL (\S+) +Value SERIAL_NUM (\S+) +Value Fillup MAC_ADDRESS_START (.+?) +Value Fillup MAC_ADDRESS_END (.+?) +Value Fillup HW_VER (\S+) +Value Fillup SW_VER (\S+|\s+) +Value Fillup STATUS (\S+) +Value Fillup UPTIME (.+) + +Start + ^-.+ + ^Module\s+Ports\s+Card\s+Type\s+Model\s+Serial\s+No\.\s*$$ + ^${MODULE}\s+${PORTS}\s+${CARD}\s+${TYPE}\s+${MODEL}\s+${SERIAL_NUM}\s*$$ -> Record + ^Module\s+MAC\s+addresses\s+Hw\s+Sw\s*$$ + ^${MODULE}\s+(?:${MAC_ADDRESS_START}\s+-\s+${MAC_ADDRESS_END})?\s+${HW_VER}(\s+${SW_VER})?\s*$$ + ^Module\s+Status\s+Uptime\s*$$ + ^${MODULE}\s+${STATUS}(\s+${UPTIME})?\s*$$ + ^\s*$$ + ^. -> Error "LINE NOT FOUND" + +EOF diff --git a/templates/index b/templates/index index 246e0c6d05..2ff0d7b822 100644 --- a/templates/index +++ b/templates/index @@ -42,6 +42,7 @@ arista_eos_show_ip_route.template, .*, arista_eos, sh[[ow]] i[[p]] rou[[te]] arista_eos_show_version.template, .*, arista_eos, sh[[ow]] ver[[sion]] arista_eos_show_ip_arp.template, .*, arista_eos, sh[[ow]] i[[p]] ar[[p]] arista_eos_show_ip_bgp.template, .*, arista_eos, sh[[ow]] i[[p]] bg[[p]] +arista_eos_show_module.template, .*, arista_eos, sh[[ow]] modu[[le]] arista_eos_bash_df_-h.template, .*, arista_eos, bas[[h]] d[[f]] [[-h]] arista_eos_show_clock.template, .*, arista_eos, sh[[ow]] clo[[ck]] arista_eos_dir_flash.template, .*, arista_eos, dir fl[[ash:]] diff --git a/tests/arista_eos/show_module/arista_eos_show_module.template.parsed b/tests/arista_eos/show_module/arista_eos_show_module.template.parsed new file mode 100644 index 0000000000..719b4943fa --- /dev/null +++ b/tests/arista_eos/show_module/arista_eos_show_module.template.parsed @@ -0,0 +1,168 @@ +--- +parsed_sample: +- module : '1' + ports : '3' + card : 'DCS-7500-SUP2' + type : 'Supervisor' + model : 'DCS-7500-SUP2' + serial_num : 'XX16380393' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : '3' + ports : '144' + card : '36-port QSFP100' + type : 'Linecard' + model : '7500R-36CQ-LC' + serial_num : 'XX16340219' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : '4' + ports : '144' + card : '36-port QSFP100' + type : 'Linecard' + model : '7500R-36CQ-LC' + serial_num : 'XX16364164' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : '5' + ports : '144' + card : '36-port QSFP100' + type : 'Linecard' + model : '7500R-36CQ-LC' + serial_num : 'XX16364166' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : '6' + ports : '144' + card : '36-port QSFP100' + type : 'Linecard' + model : '7500R-36CQ-LC' + serial_num : 'XX16351233' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : '7' + ports : '144' + card : '36-port QSFP100' + type : 'Linecard' + model : '7500R2-36CQ-LC' + serial_num : 'XX17341299' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : 'Fabric1' + ports : '0' + card : 'DCS-7508R' + type : 'Fabric' + model : '7508R-FM' + serial_num : 'XX16472732' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : 'Fabric2' + ports : '0' + card : 'DCS-7508R' + type : 'Fabric' + model : '7508R-FM' + serial_num : 'XX16472587' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : 'Fabric3' + ports : '0' + card : 'DCS-7508R' + type : 'Fabric' + model : '7508R-FM' + serial_num : 'XX16320292' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : 'Fabric4' + ports : '0' + card : 'DCS-7508R' + type : 'Fabric' + model : '7508R-FM' + serial_num : 'XX16320357' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : 'Fabric5' + ports : '0' + card : 'DCS-7508R' + type : 'Fabric' + model : '7508R-FM' + serial_num : 'XX16320439' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' + + +- module : 'Fabric6' + ports : '0' + card : 'DCS-7508R' + type : 'Fabric' + model : '7508R-FM' + serial_num : 'XX16320585' + mac_address_start : '44:4c:a8:e6:17:5e' + mac_address_end: '44:4c:a8:e6:17:5f' + hw_ver : '14.20' + sw_ver : '4.19.5M' + status : 'Ok' + uptime : '74 days, 0:25:22' \ No newline at end of file diff --git a/tests/arista_eos/show_module/arista_eos_show_module.template.raw b/tests/arista_eos/show_module/arista_eos_show_module.template.raw new file mode 100644 index 0000000000..02542653cf --- /dev/null +++ b/tests/arista_eos/show_module/arista_eos_show_module.template.raw @@ -0,0 +1,44 @@ +Module Ports Card Type Model Serial No. +------- ----- ------------------------ -------------- ----------- +1 3 DCS-7500-SUP2 Supervisor DCS-7500-SUP2 XX16380393 +3 144 36-port QSFP100 Linecard 7500R-36CQ-LC XX16340219 +4 144 36-port QSFP100 Linecard 7500R-36CQ-LC XX16364164 +5 144 36-port QSFP100 Linecard 7500R-36CQ-LC XX16364166 +6 144 36-port QSFP100 Linecard 7500R-36CQ-LC XX16351233 +7 144 36-port QSFP100 Linecard 7500R2-36CQ-LC XX17341299 +Fabric1 0 DCS-7508R Fabric 7508R-FM XX16472732 +Fabric2 0 DCS-7508R Fabric 7508R-FM XX16472587 +Fabric3 0 DCS-7508R Fabric 7508R-FM XX16320292 +Fabric4 0 DCS-7508R Fabric 7508R-FM XX16320357 +Fabric5 0 DCS-7508R Fabric 7508R-FM XX16320439 +Fabric6 0 DCS-7508R Fabric 7508R-FM XX16320585 + +Module MAC addresses Hw Sw +------- ------------------------------------- ----- ------- +1 44:4c:a8:e6:17:5e - 44:4c:a8:e6:17:5f 14.20 4.19.5M +3 44:4c:a8:e2:d0:28 - 44:4c:a8:e2:d0:b7 13.00 +4 44:4c:a8:ee:a9:2c - 44:4c:a8:ee:a9:bb 13.00 +5 44:4c:a8:ee:97:2c - 44:4c:a8:ee:97:bb 13.00 +6 44:4c:a8:ee:2f:1c - 44:4c:a8:ee:2f:ab 13.00 +7 28:99:3a:a4:01:58 - 28:99:3a:a4:01:e7 12.01 +Fabric1 12.03 +Fabric2 12.03 +Fabric3 12.03 +Fabric4 12.03 +Fabric5 12.03 +Fabric6 12.03 + +Module Status Uptime +------- ------ ---------------- +1 Active +3 Ok 74 days, 0:25:22 +4 Ok 74 days, 0:25:22 +5 Ok 74 days, 0:25:22 +6 Ok 74 days, 0:25:22 +7 Ok 74 days, 0:25:22 +Fabric1 Ok 74 days, 0:25:22 +Fabric2 Ok 74 days, 0:25:22 +Fabric3 Ok 74 days, 0:25:22 +Fabric4 Ok 74 days, 0:25:22 +Fabric5 Ok 74 days, 0:25:22 +Fabric6 Ok 74 days, 0:25:22 \ No newline at end of file From 1f132af4075dae623fcd5d1ef159bbd3b9ef34bf Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 20 Jan 2019 20:34:52 -0800 Subject: [PATCH 226/628] IOS SHOW TACACS: Add new template (#344) --- templates/cisco_ios_show_tacacs.template | 26 +++++++++++++++++++ templates/index | 1 + .../show_tacacs/cisco_ios_show_tacacs.parsed | 23 ++++++++++++++++ .../show_tacacs/cisco_ios_show_tacacs.raw | 24 +++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 templates/cisco_ios_show_tacacs.template create mode 100644 tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.parsed create mode 100644 tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.raw diff --git a/templates/cisco_ios_show_tacacs.template b/templates/cisco_ios_show_tacacs.template new file mode 100644 index 0000000000..f3291e3b2a --- /dev/null +++ b/templates/cisco_ios_show_tacacs.template @@ -0,0 +1,26 @@ +Value TACACS_SERVER (.+?) +Value SERVER_PORT (\d+) +Value SOCKET_OPENS (\d+) +Value SOCKET_CLOSES (\d+) +Value SOCKET_ABORTS (\d+) +Value SOCKET_ERRORS (\d+) +Value SOCKET_TIMEOUTS (\d+) +Value FAILED_CONNECTIONS (\d+) +Value PACKETS_SENT (\d+) +Value PACKET_RECEIVED (\d+) + + +Start + ^Tacacs -> Record + ^\s+Server\s+address:\s+${TACACS_SERVER}\s*$$ + ^\s+Server\s+port:\s+${SERVER_PORT}\s*$$ + ^\s+Socket\s+opens:\s+ ${SOCKET_OPENS}\s*$$ + ^\s+Socket\s+closes:\s+${SOCKET_CLOSES}\s*$$ + ^\s+Socket\s+aborts:\s+${SOCKET_ABORTS}\s*$$ + ^\s+Socket\s+errors:\s+${SOCKET_ERRORS}\s*$$ + ^\s+Socket\s+Timeouts:\s+${SOCKET_TIMEOUTS}\s*$$ + ^\s+Failed\s+Connect\s+Attempts:\s+${FAILED_CONNECTIONS}\s*$$ + ^\s+Total\s+Packets\s+Sent:\s+${PACKETS_SENT}\s*$$ + ^\s+Total\s+Packets\s+Recv:\s+${PACKET_RECEIVED}\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 2ff0d7b822..7e492e6414 100644 --- a/templates/index +++ b/templates/index @@ -175,6 +175,7 @@ cisco_ios_show_standby.template, .*, cisco_ios, sh[[ow]] sta[[ndby]] cisco_ios_show_version.template, .*, cisco_ios, sh[[ow]] ver[[sion]] cisco_ios_show_ip_arp.template, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] cisco_ios_show_ip_bgp.template, .*, cisco_ios, sh[[ow]] i[[p]] bgp +cisco_ios_show_tacacs.template, .*, cisco_ios, sh[[ow]] tacacs cisco_ios_show_clock.template, .*, cisco_ios, sh[[ow]] clo[[ck]] cisco_ios_show_vlan.template, .*, cisco_ios, sh[[ow]] vlan cisco_ios_show_vrf.template, .*, cisco_ios, sh[[ow]] vrf diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.parsed b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.parsed new file mode 100644 index 0000000000..a1f31c0f2c --- /dev/null +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.parsed @@ -0,0 +1,23 @@ +--- +parsed_sample: + - tacacs_server: "10.1.1.140" + server_port: "49" + socket_opens: "138084" + socket_closes: "137992" + socket_aborts: "0" + socket_errors: "0" + socket_timeouts: "59" + failed_connections: "52" + packets_sent: "147753" + packet_received: "147693" + + - tacacs_server: "10.2.1.140" + server_port: "49" + socket_opens: "2027" + socket_closes: "2027" + socket_aborts: "0" + socket_errors: "0" + socket_timeouts: "0" + failed_connections: "2" + packets_sent: "2053" + packet_received: "2053" diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.raw b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.raw new file mode 100644 index 0000000000..b8d13a6680 --- /dev/null +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.raw @@ -0,0 +1,24 @@ +Tacacs+ Server - public : + Server address: 10.1.1.140 + Server port: 49 + Socket opens: 138084 + Socket closes: 137992 + Socket aborts: 0 + Socket errors: 0 + Socket Timeouts: 59 + Failed Connect Attempts: 52 + Total Packets Sent: 147753 + Total Packets Recv: 147693 + + +Tacacs+ Server - public : + Server address: 10.2.1.140 + Server port: 49 + Socket opens: 2027 + Socket closes: 2027 + Socket aborts: 0 + Socket errors: 0 + Socket Timeouts: 0 + Failed Connect Attempts: 2 + Total Packets Sent: 2053 + Total Packets Recv: 2053 From 3b60dc211a522fbda3034de1040755167374c0b9 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Mon, 21 Jan 2019 09:12:22 -0800 Subject: [PATCH 227/628] ALCATEL AOS SHOW VLAN: Add new template (#345) --- templates/alcatel_aos_show_vlan.template | 18 +++++++ templates/index | 2 + .../show_vlan/alcatel_aos_show_vlan.parsed | 49 +++++++++++++++++++ .../show_vlan/alcatel_aos_show_vlan.raw | 7 +++ tests/test_index_order.py | 2 +- 5 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 templates/alcatel_aos_show_vlan.template create mode 100644 tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.parsed create mode 100644 tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.raw diff --git a/templates/alcatel_aos_show_vlan.template b/templates/alcatel_aos_show_vlan.template new file mode 100644 index 0000000000..725add28a1 --- /dev/null +++ b/templates/alcatel_aos_show_vlan.template @@ -0,0 +1,18 @@ +Value VLAN (\d+) +Value TYPE (std|vstk|gvrp|ipmv) +Value ADMIN_STATE (on|off) +Value OPERATIONAL_STATE (on|off) +Value SPANNING_TREE_1X1 (on|off) +Value SPANNING_TREE_FLAT (on|off) +Value AUTH (on|off) +Value IP (on|off) +Value MBLETAG (on|off) +Value SOURCE_LEARN (on|off) +Value NAME ((\S+\s*)+\S+) + +Start + ^\s*${VLAN}\s+${TYPE}\s+${ADMIN_STATE}\s+${OPERATIONAL_STATE}\s+${SPANNING_TREE_1X1}\s+${SPANNING_TREE_FLAT}\s+${AUTH}\s+${IP}\s+${MBLETAG}\s+${SOURCE_LEARN}\s+${NAME}\s*$$ -> Record + ^\s*stree\s+mble\s+src\s*$$ + ^\s*vlan\s+type\s+admin\s+oper\s+1x1\s+flat\s+auth\s+ip\s+tag\s+lrn\s+name\s*$$ + ^-----\+-----\+------\+------\+------\+------\+----\+-----\+-----\+------\+---------- + ^.*$$ -> Error diff --git a/templates/index b/templates/index index 7e492e6414..5c29def40c 100644 --- a/templates/index +++ b/templates/index @@ -11,6 +11,8 @@ # Template, Hostname, Platform, Command +alcatel_aos_show_vlan.template, .*, alcatel_aos, show vlan + alcatel_sros_show_router_bgp_routes_vpn-ipv4.template, .*, alcatel_sros, sh[[ow]] router bgp rou[[tes]] vpn-ipv4 alcatel_sros_show_service_id_base.template, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_oam_mac-ping.template, .*, alcatel_sros, oam mac-pi[[ng]] diff --git a/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.parsed b/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.parsed new file mode 100644 index 0000000000..8c25da42ae --- /dev/null +++ b/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.parsed @@ -0,0 +1,49 @@ +--- +parsed_sample: + - admin_state: 'on' + auth: 'off' + ip: 'off' + mbletag: 'off' + name: 'VLAN 1' + operational_state: 'on' + source_learn: 'on' + spanning_tree_1x1: 'on' + spanning_tree_flat: 'on' + type: 'std' + vlan: '1' + + - admin_state: 'on' + auth: 'off' + ip: 'off' + mbletag: 'off' + name: 'name with spaces' + operational_state: 'off' + source_learn: 'on' + spanning_tree_1x1: 'on' + spanning_tree_flat: 'on' + type: 'std' + vlan: '10' + + - admin_state: 'on' + auth: 'off' + ip: 'on' + mbletag: 'off' + name: 'name-with-dashes' + operational_state: 'on' + source_learn: 'on' + spanning_tree_1x1: 'on' + spanning_tree_flat: 'on' + type: 'std' + vlan: '100' + + - admin_state: 'on' + auth: 'off' + ip: 'on' + mbletag: 'off' + name: 'namewithoutnothing' + operational_state: 'on' + source_learn: 'on' + spanning_tree_1x1: 'on' + spanning_tree_flat: 'on' + type: 'gvrp' + vlan: '1000' diff --git a/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.raw b/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.raw new file mode 100644 index 0000000000..7ca710cabb --- /dev/null +++ b/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.raw @@ -0,0 +1,7 @@ + stree mble src + vlan type admin oper 1x1 flat auth ip tag lrn name +-----+-----+------+------+------+------+----+-----+-----+------+---------- + 1 std on on on on off off off on VLAN 1 + 10 std on off on on off off off on name with spaces + 100 std on on on on off on off on name-with-dashes +1000 gvrp on on on on off on off on namewithoutnothing diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 3380b135fd..92b83b6425 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -61,7 +61,7 @@ def check_order(current_os, prior_os,cmd_len, prior_len, os_choices, used_os, cm def test_index_ordering(): os_choices = [ - 'a10', 'alcatel_sros', 'arista_eos', 'aruba_os', 'avaya_ers', 'avaya_vsp', + 'a10', 'alcatel_aos', 'alcatel_sros', 'arista_eos', 'aruba_os', 'avaya_ers', 'avaya_vsp', 'brocade_fastiron', 'brocade_netiron', 'brocade_nos', 'brocade_vdx', 'brocade_vyos', 'checkpoint_gaia', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', 'cisco_wlc', 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', From ece7f94e6948950896d45a97381b74c3672bc16a Mon Sep 17 00:00:00 2001 From: kimoldfield Date: Tue, 22 Jan 2019 04:44:42 +1100 Subject: [PATCH 228/628] IOS SHOW VERSION: Add new capture group. (#214) Add new capture group `MAC` for capturing system mac addresses (seem to only show up on stack switches) --- templates/cisco_ios_show_version.template | 4 +- .../cisco_ios_show_version.parsed | 1 + .../cisco_ios_show_version1.parsed | 25 ++++ .../show_version/cisco_ios_show_version1.raw | 123 ++++++++++++++++++ .../cisco_ios_show_version2.parsed | 1 + 5 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version1.parsed create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version1.raw diff --git a/templates/cisco_ios_show_version.template b/templates/cisco_ios_show_version.template index b0bef15ce1..63050b36cd 100644 --- a/templates/cisco_ios_show_version.template +++ b/templates/cisco_ios_show_version.template @@ -7,6 +7,7 @@ Value RUNNING_IMAGE (\S+) Value List HARDWARE (\S+\d\S+) Value List SERIAL (\S+) Value CONFIG_REGISTER (\S+) +Value List MAC ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}) Start ^.*Software\s.+\),\sVersion\s${VERSION},*\s+RELEASE.* @@ -17,6 +18,7 @@ Start ^[Pp]rocessor\s+board\s+ID\s+${SERIAL} ^[Cc]isco\s+${HARDWARE}.+ ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} + ^Base [Ee]thernet MAC [Aa]ddress\s+:\s+${MAC} ^Switch Port -> Stack @@ -24,4 +26,4 @@ Stack ^[Ss]ystem [Ss]erial [Nn]umber\s+:\s+${SERIAL} ^[Mm]odel\s+[Nn]umber\s+:\s+${HARDWARE}\s* ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} - + ^Base [Ee]thernet MAC [Aa]ddress\s+:\s+${MAC} diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version.parsed b/tests/cisco_ios/show_version/cisco_ios_show_version.parsed index 27fd01f7f3..dbdcd2492a 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version.parsed +++ b/tests/cisco_ios/show_version/cisco_ios_show_version.parsed @@ -12,3 +12,4 @@ parsed_sample: serial: - 'CAT1451S15C' config_register: '0x2102' + mac: [] diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version1.parsed b/tests/cisco_ios/show_version/cisco_ios_show_version1.parsed new file mode 100644 index 0000000000..918943f9fc --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version1.parsed @@ -0,0 +1,25 @@ +--- +parsed_sample: + +- version: '03.06.05E' + rommon: 'IOS-XE' + hostname: 'city-building-4-sw' + uptime: '28 weeks, 1 day, 7 hours, 54 minutes' + reload_reason: 'Reload Command' + running_image: 'packages.conf' + hardware: + - 'WS-C3850-48U' + - 'WS-C3850-48U' + - 'WS-C3850-48U' + - 'WS-C3850-48U' + serial: + - 'FOC11111111' + - 'FCW22222222' + - 'FCW33333333' + - 'FCW44444444' + config_register: '0x102' + mac: + - 'f8:7b:20:11:aa:80' + - 'f8:7b:20:22:bb:80' + - 'f8:b7:e2:33:cc:00' + - 'f8:b7:e2:44:dd:00' diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version1.raw b/tests/cisco_ios/show_version/cisco_ios_show_version1.raw new file mode 100644 index 0000000000..9a88802e0c --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version1.raw @@ -0,0 +1,123 @@ +Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.06.05E RELEASE SOFTWARE (fc2) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2016 by Cisco Systems, Inc. +Compiled Thu 02-Jun-16 09:03 by prod_rel_team + + + +Cisco IOS-XE software, Copyright (c) 2005-2015 by cisco Systems, Inc. +All rights reserved. Certain components of Cisco IOS-XE software are +licensed under the GNU General Public License ("GPL") Version 2.0. The +software code licensed under GPL Version 2.0 is free software that comes +with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such +GPL code under the terms of GPL Version 2.0. +(http://www.gnu.org/licenses/gpl-2.0.html) For more details, see the +documentation or "License Notice" file accompanying the IOS-XE software, +or the applicable URL provided on the flyer accompanying the IOS-XE +software. + + + +ROM: IOS-XE ROMMON +BOOTLDR: CAT3K_CAA Boot Loader (CAT3K_CAA-HBOOT-M) Version 3.58, RELEASE SOFTWARE (P) + +city-building-4-sw uptime is 28 weeks, 1 day, 7 hours, 54 minutes +Uptime for this control processor is 28 weeks, 1 day, 8 hours, 0 minutes +System returned to ROM by reload at 04:39:28 AEDT Wed Nov 22 2017 +System restarted at 05:00:08 AEDT Wed Nov 22 2017 +System image file is "flash:packages.conf" +Last reload reason: Reload Command + + + +This product contains cryptographic features and is subject to United +States and local country laws governing import, export, transfer and +use. Delivery of Cisco cryptographic products does not imply +third-party authority to import, export, distribute or use encryption. +Importers, exporters, distributors and users are responsible for +compliance with U.S. and local country laws. By using this product you +agree to comply with applicable laws and regulations. If you are unable +to comply with U.S. and local laws, return this product immediately. + +A summary of U.S. laws governing Cisco cryptographic products may be found at: +http://www.cisco.com/wwl/export/crypto/tool/stqrg.html + +If you require further assistance please contact us by sending email to +export@cisco.com. + +License Level: Ipbase +License Type: Permanent +Next reload license Level: Ipbase + +cisco WS-C3850-48U (MIPS) processor with 4194304K bytes of physical memory. +Processor board ID FOC11111111 +2 Virtual Ethernet interfaces +208 Gigabit Ethernet interfaces +16 Ten Gigabit Ethernet interfaces +2048K bytes of non-volatile configuration memory. +4194304K bytes of physical memory. +250456K bytes of Crash Files at crashinfo:. +250456K bytes of Crash Files at crashinfo-2:. +252000K bytes of Crash Files at crashinfo-3:. +252000K bytes of Crash Files at crashinfo-4:. +1609272K bytes of Flash at flash:. +1609272K bytes of Flash at flash-2:. +1611414K bytes of Flash at flash-3:. +1611414K bytes of Flash at flash-4:. +0K bytes of Dummy USB Flash at usbflash0:. +0K bytes of Dummy USB Flash at usbflash0-2:. +0K bytes of Dummy USB Flash at usbflash0-3:. +0K bytes of Dummy USB Flash at usbflash0-4:. +0K bytes of at webui:. + +Base Ethernet MAC Address : f8:7b:20:11:aa:80 +Motherboard Assembly Number : 73-15799-08 +Motherboard Serial Number : FOC11122222 +Model Revision Number : AB0 +Motherboard Revision Number : A0 +Model Number : WS-C3850-48U +System Serial Number : FOC11111111 + + +Switch Ports Model SW Version SW Image Mode +------ ----- ----- ---------- ---------- ---- +* 1 56 WS-C3850-48U 03.06.05E cat3k_caa-universalk9 INSTALL + 2 56 WS-C3850-48U 03.06.05E cat3k_caa-universalk9 INSTALL + 3 56 WS-C3850-48U 03.06.05E cat3k_caa-universalk9 INSTALL + 4 56 WS-C3850-48U 03.06.05E cat3k_caa-universalk9 INSTALL + + +Switch 02 +--------- +Switch uptime : 28 weeks, 1 day, 8 hours, 1 minute +Base Ethernet MAC Address : f8:7b:20:22:bb:80 +Motherboard Assembly Number : 73-15799-08 +Motherboard Serial Number : FOC22222222 +Model Revision Number : AB0 +Motherboard Revision Number : A0 +Model Number : WS-C3850-48U +System Serial Number : FCW22222222 + +Switch 03 +--------- +Switch uptime : 28 weeks, 1 day, 8 hours, 0 minutes +Base Ethernet MAC Address : f8:b7:e2:33:cc:00 +Motherboard Assembly Number : 73-15799-08 +Motherboard Serial Number : FOC33333333 +Model Revision Number : AB0 +Motherboard Revision Number : A0 +Model Number : WS-C3850-48U +System Serial Number : FCW33333333 + +Switch 04 +--------- +Switch uptime : 28 weeks, 1 day, 8 hours, 0 minutes +Base Ethernet MAC Address : f8:b7:e2:44:dd:00 +Motherboard Assembly Number : 73-15799-08 +Motherboard Serial Number : FOC44444444 +Model Revision Number : AB0 +Motherboard Revision Number : A0 +Model Number : WS-C3850-48U +System Serial Number : FCW44444444 + +Configuration register is 0x102 diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version2.parsed b/tests/cisco_ios/show_version/cisco_ios_show_version2.parsed index 17b5d2062d..44e744b421 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version2.parsed +++ b/tests/cisco_ios/show_version/cisco_ios_show_version2.parsed @@ -12,3 +12,4 @@ parsed_sample: serial: - 'SSI1289001MH' config_register: '0x2102' + mac: [] From 56e8843a901fc547da5a71d9ff7a319fc498efc9 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Wed, 23 Jan 2019 22:43:35 -0800 Subject: [PATCH 229/628] CISCO XR SHOW BGP NEIGH: Add new template (#341) --- .../cisco_xr_show_bgp_neighbors.template | 144 ++ templates/index | 1 + .../cisco_xr_show_bgp_neighbors.parsed | 347 +++++ .../cisco_xr_show_bgp_neighbors.raw | 526 +++++++ .../cisco_xr_show_bgp_neighbors1.parsed | 863 +++++++++++ .../cisco_xr_show_bgp_neighbors1.raw | 1340 +++++++++++++++++ 6 files changed, 3221 insertions(+) create mode 100644 templates/cisco_xr_show_bgp_neighbors.template create mode 100644 tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.parsed create mode 100644 tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.raw create mode 100644 tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.parsed create mode 100644 tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.raw diff --git a/templates/cisco_xr_show_bgp_neighbors.template b/templates/cisco_xr_show_bgp_neighbors.template new file mode 100644 index 0000000000..87f3a48472 --- /dev/null +++ b/templates/cisco_xr_show_bgp_neighbors.template @@ -0,0 +1,144 @@ +Value NEIGHBOR (\S+) +Value REMOTE_AS (\d+) +Value LOCAL_AS (\d+) +Value TYPE (\w+) +Value DESCRIPTION (.+?) +Value REMOTE_ROUTER_ID (\S+) +Value CLUSTER_ID (\S+) +Value STATE (.+?) +Value UPTIME (.+?) +Value NSR_STATE (.+?) +Value HOLDTIME (\d+) +Value KEEPALIVE (\d+) +Value NSR (.+?) +Value GR (.+?) +Value List AFI (.+?) +Value List VERSION (\d+) +Value List ROUTE_REFLECTOR_ROLE (\S+) +Value List POLICY_INCOMING (\S+) +Value List POLICY_OUTGOING (\S+) +Value List PREFIXES_IN (\d+) +Value List PREFIXES_IN_BEST (\d+) +Value List PREFIXES_OUT (\d+) +Value List PREFIXES_OUT_SUPPRESSED (\d+) +Value List PREFIXES_OUT_WITHDRAWN (\d+) +Value List MAX_PREFIXES (\d+) +Value List MAX_PREFIXES_WARN_PERCENT (\d+) +Value List DEFAULT_ORIGINATE (.+?) +Value List LAST_ACK_VERSION (\d+) +Value List LAST_SYNCED_ACK_VERSION (\d+) +Value CONNECTIONS_ESTABLISHED (\d+) +Value CONNECTIONS_DROPPED (\d+) +Value LOCAL_ADDRESS (.*) +Value LOCAL_PORT (\d+) +Value REMOTE_ADDRESS (.*) +Value REMOTE_PORT (\d+) +Value LAST_RESET (.+?) +Value LAST_RESET_REASON (.+?) +Value LAST_NOTIFICATION_SENT (\S+) +Value ERROR_CODE (.+?) +Value LAST_NOTIFICATION_RECEIVED (\S+) +Value PEER_ERROR_CODE (.+?) +Value PEER_RESET_REASON (.+?) +Value MAX_HOPS (\d+) + + +Start + ^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ + ^BGP\s+neighbor -> Continue.Record + ^BGP\s+neighbor\s+is\s+${NEIGHBOR}\s*$$ + ^\s+Remote\s+AS\s+${REMOTE_AS}\,\s+local\s+AS\s+${LOCAL_AS}\,\s+(?:no\-prepend,\s+)?(?:replace\-as\,\s+)?${TYPE}\s+link + ^\s+Administratively\s+shut\s+down + ^\s+Description:\s+${DESCRIPTION}\s*$$ + ^\s+Remote\s+router\s+ID\s+${REMOTE_ROUTER_ID} + ^\s+Cluster\s+ID\s+${CLUSTER_ID}\s*$$ + ^\s+BGP\s+[Ss]tate\s+=\s+${STATE}(?:,\s+up\s+for\s+${UPTIME})?\s*$$ + ^\s+NSR\s+[Ss]tate:\s+(?:NSR\s+)?${NSR_STATE}\s*$$ + ^\s+BFD\s+[Ee]nabled + ^\s+Last\s+[Rr]ead + ^\s+Hold\s+time\s+is\s+${HOLDTIME},\s+keepalive\s+interval\s+is\s+${KEEPALIVE} + ^\s+Configured hold time\:\s+\d+\,\s+keepalive\: + ^\s+(?:Second\s+)?[Ll]ast\s+write + ^\s+Socket\s+(?:not\s+)?armed + ^\s+Last\s+KA + ^\s+Precedence: + ^\s+Non-stop\s+routing\s+is\s+${NSR}\s*$$ + ^\s+Graceful\s+restart\s+is\s+${GR}\s*$$ + ^\s+Restart\s+time\s+is + ^\s+Stale\s+path\s+timeout\s+time\s+is + ^\s+Enforcing\s+first\s+AS + ^\s+Multi-protocol\s+capability + ^\s+Neighbor\s+capabilities: + ^\s+Graceful\s+Restart\s+\(GR\s+Awareness\)\: + ^\s+Route\s+refresh: + ^\s+4-byte\s+AS: + ^\s+Address\s+family + ^\s+Received\s+\d+\s+ + ^\s+Sent\s+\d+\s+messages + ^\s+Inbound\s+message\s+logging + ^\s+Outbound\s+message\s+logging + ^\s+Minimum\s+time\s+between\s+advertisement + ^\s+For\s+Address\s+Family:\s+${AFI}\s*$$ -> AFI + ^\s+Connections\s+established\s+${CONNECTIONS_ESTABLISHED};\s+dropped\s+${CONNECTIONS_DROPPED}\s*$$ -> Connection + ^\s*$$ + ^. -> Error + +AFI + ^\s+For\s+Address\s+Family:\s+${AFI}\s*$$ + ^\s+BGP\s+neighbor\s+version\s+${VERSION}\s*$$ + ^\s+Update\s+group: + ^\s+Route-Reflector\s+${ROUTE_REFLECTOR_ROLE}\s*$$ + ^\s+Default\s+information\s+originate\:\s+${DEFAULT_ORIGINATE}\s*$$ + ^\s+AF-dependent capabilities + ^\s+Graceful\s+Restart\s+capability + ^\s+Local\s+restart\s+time\s+is + ^\s+Maximum\s+stalepath\s+time\s+is + ^\s+Remote\s+Restart\s+time\s+is + ^\s+NEXT_HOP + ^\s+Route\s+refresh\s+request: + ^\s+Policy\s+for\s+incoming\s+advertisements\s+is\s+${POLICY_INCOMING}\s*$$ + ^\s+Policy\s+for\s+outgoing\s+advertisements\s+is\s+${POLICY_OUTGOING}\s*$$ + ^\s+${PREFIXES_IN}\s+accepted\s+prefixes,\s+${PREFIXES_IN_BEST}\s+are\s+bestpaths + ^\s+Cumulative\s+no\.\s+of\s+prefixes\s+denied: + ^\s+No\s+policy: + ^\s+By\s+ORF\s+policy: + ^\s+Prefix\s+advertised\s+${PREFIXES_OUT},\s+suppressed\s+${PREFIXES_OUT_SUPPRESSED},\s+withdrawn\s+${PREFIXES_OUT_WITHDRAWN} + ^\s+Maximum\s+prefixes\s+allowed\s+${MAX_PREFIXES} + ^\s+Threshold\s+for\s+warning\s+message\s+${MAX_PREFIXES_WARN_PERCENT} + ^\s+AIGP + ^\s+An\s+EoR + ^\s+Private\s+AS\s+number\s+removed + ^\s+Community\s+attribute + ^\s+Advertise\s+VPNv[46]\s+routes\s+(is\s)?enabled\s+with + ^\s+Last\s+ack\s+version\s+${LAST_ACK_VERSION},\s+Last\s+synced\s+ack\s+version\s+${LAST_SYNCED_ACK_VERSION} + ^\s+Outstanding\s+version\s+objects: + ^\s+Additional-paths\s+operation: + ^\s+AS\s+[oO]verride\s+is + ^\s+Send\s+Multicast\s+Attributes + ^\s+Connections\s+established\s+${CONNECTIONS_ESTABLISHED};\s+dropped\s+${CONNECTIONS_DROPPED}\s*$$ -> Connection + ^BGP\s+neighbor -> Continue.Record + ^BGP\s+neighbor\s+is\s+${NEIGHBOR}\s*$$ -> Start + ^\s*$$ + ^. -> Error + +Connection + ^\s+Local\s+host\:\s+${LOCAL_ADDRESS}\,\s+Local\s+port\:\s+${LOCAL_PORT} + ^\s+Foreign\s+host\:\s+${REMOTE_ADDRESS}\,\s+Foreign\s+port\:\s+${REMOTE_PORT} + ^\s+Last\s+reset\s+${LAST_RESET}(?:\,\s+due\s+to\s+${LAST_RESET_REASON})?\s*$$ + ^\s+External\s+BGP\s+neighbor\s+not\s+directly + ^\s+Time\s+since\s+last\s+notification\s+sent\s+to\s+neighbor:\s+${LAST_NOTIFICATION_SENT} + ^\s+Error\s+Code:\s+${ERROR_CODE}\s*$$ + ^\s+Notification\s+data\s+(?:sent|received): + ^\s+(?:[0-9A-F]{8}|None)\s*$$ + ^\s+Time\s+since\s+last\s+notification\s+received\s+from\s+neighbor:\s+${LAST_NOTIFICATION_RECEIVED} -> PeerError + ^\s+Peer\s+reset\s+reason:\s+${PEER_RESET_REASON}\s*$$ + ^\s+.+up\s+to\s+${MAX_HOPS}\s+hops\s+away + ^BGP\s+neighbor -> Continue.Record + ^BGP\s+neighbor\s+is\s+${NEIGHBOR}\s*$$ -> Start + ^\s+For\s+Address\s+Family:\s+${AFI}\s*$$ -> AFI + ^\s*$$ + ^. -> Error + +PeerError + ^\s+Error\s+Code:\s+${PEER_ERROR_CODE}\s*$$ -> Connection + ^. -> Error diff --git a/templates/index b/templates/index index 5c29def40c..162b40589c 100644 --- a/templates/index +++ b/templates/index @@ -246,6 +246,7 @@ cisco_xr_show_ip_bgp_summary.template, .*, cisco_xr, sh[[ow]] ip b[[gp]] s[[umma cisco_xr_show_isis_neighbors.template, .*, cisco_xr, sh[[ow]] isis ne[[ighbors]] cisco_xr_show_lldp_neighbors.template, .*, cisco_xr, sh[[ow]] lld[[p]] neig[[hbors]] cisco_xr_show_rsvp_neighbors.template, .*, cisco_xr, sh[[ow]] rs[[vp]] neigh[[bors]] +cisco_xr_show_bgp_neighbors.template, .*, cisco_xr, sh[[ow]] bg[[p]] nei[[ghbors]] cisco_xr_show_ospf_neighbor.template, .*, cisco_xr, sh[[ow]] ospf nei[[ghbor]] cisco_xr_show_processes_cpu.template, .*, cisco_xr, sh[[ow]] proc[[esses]] c[[pu]] cisco_xr_show_bfd_sessions.template, .*, cisco_xr, sh[[ow]] bf[[d]] sess[[ions]] diff --git a/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.parsed b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.parsed new file mode 100644 index 0000000000..9c03366fa9 --- /dev/null +++ b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.parsed @@ -0,0 +1,347 @@ +--- +parsed_sample: + - afi: [IPv4 Unicast] + cluster_id: '' + connections_dropped: '1' + connections_established: '2' + default_originate: [] + description: RouteReflector_1 + error_code: '' + gr: '' + holdtime: '90' + keepalive: '30' + last_ack_version: ['56362493'] + last_notification_received: '' + last_notification_sent: '' + last_reset: 2w3d + last_reset_reason: Peer closing down the session + last_synced_ack_version: ['56362493'] + local_address: 10.0.0.1 + local_as: '65001' + local_port: '179' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['75'] + neighbor: 192.168.100.1 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: Remote closed the session (No error) + policy_incoming: [] + policy_outgoing: [] + prefixes_in: ['847583'] + prefixes_in_best: ['794705'] + prefixes_out: ['170'] + prefixes_out_suppressed: ['0'] + prefixes_out_withdrawn: ['19'] + remote_address: 192.168.100.1 + remote_as: '65001' + remote_port: '13617' + remote_router_id: 192.168.100.1 + route_reflector_role: [] + state: Established + type: internal + uptime: 2w3d + version: ['56362493'] + - afi: [IPv4 Unicast] + cluster_id: '' + connections_dropped: '1' + connections_established: '2' + default_originate: [] + description: RouteReflector_2 + error_code: '' + gr: '' + holdtime: '90' + keepalive: '30' + last_ack_version: ['56362493'] + last_notification_received: '' + last_notification_sent: '' + last_reset: 2w3d + last_reset_reason: Peer closing down the session + last_synced_ack_version: ['56362493'] + local_address: 10.0.0.1 + local_as: '65001' + local_port: '179' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['75'] + neighbor: 192.168.100.2 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: Remote closed the session (No error) + policy_incoming: [] + policy_outgoing: [] + prefixes_in: ['847585'] + prefixes_in_best: ['52523'] + prefixes_out: ['170'] + prefixes_out_suppressed: ['0'] + prefixes_out_withdrawn: ['19'] + remote_address: 192.168.100.2 + remote_as: '65001' + remote_port: '15445' + remote_router_id: 192.168.100.2 + route_reflector_role: [] + state: Established + type: internal + uptime: 2w3d + version: ['56362493'] + - afi: [VPNv4 Unicast, VPNv6 Unicast, IPv4 MDT] + cluster_id: '' + connections_dropped: '2' + connections_established: '3' + default_originate: [] + description: VPN_RouteReflector_1 + error_code: peer in wrong AS + gr: '' + holdtime: '90' + keepalive: '30' + last_ack_version: ['1735091', '1', '77'] + last_notification_received: 2w4d + last_notification_sent: 3w2d + last_reset: 2w4d + last_reset_reason: 'BGP Notification received: peer unconfigured' + last_synced_ack_version: ['1735091', '1', '77'] + local_address: 10.0.0.1 + local_as: '65001' + local_port: '45510' + max_hops: '' + max_prefixes: ['2097152', '1048576', '131072'] + max_prefixes_warn_percent: ['75', '75', '75'] + neighbor: 192.168.0.1 + nsr: enabled + nsr_state: Ready + peer_error_code: peer unconfigured + peer_reset_reason: '' + policy_incoming: [] + policy_outgoing: [] + prefixes_in: ['4713', '0', '0'] + prefixes_in_best: ['4443', '0', '0'] + prefixes_out: ['889', '0', '0'] + prefixes_out_suppressed: ['0', '0', '0'] + prefixes_out_withdrawn: ['6', '0', '0'] + remote_address: 192.168.0.1 + remote_as: '65001' + remote_port: '179' + remote_router_id: 192.168.0.1 + route_reflector_role: [] + state: Established + type: internal + uptime: 2w4d + version: ['1735091', '1', '77'] + - afi: [VPNv4 Unicast, VPNv6 Unicast, IPv4 MDT] + cluster_id: '' + connections_dropped: '0' + connections_established: '1' + default_originate: [] + description: VPN_RouteReflector_2 + error_code: peer in wrong AS + gr: '' + holdtime: '90' + keepalive: '30' + last_ack_version: ['1735091', '1', '77'] + last_notification_received: '' + last_notification_sent: 3w2d + last_reset: 3w2d + last_reset_reason: 'BGP Notification sent: peer in wrong AS' + last_synced_ack_version: ['1735091', '1', '77'] + local_address: 10.0.0.1 + local_as: '65001' + local_port: '35134' + max_hops: '' + max_prefixes: ['2097152', '1048576', '131072'] + max_prefixes_warn_percent: ['75', '75', '75'] + neighbor: 192.168.0.2 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [] + policy_outgoing: [] + prefixes_in: ['4710', '0', '0'] + prefixes_in_best: ['66', '0', '0'] + prefixes_out: ['5803', '0', '0'] + prefixes_out_suppressed: ['0', '0', '0'] + prefixes_out_withdrawn: ['9', '0', '0'] + remote_address: 192.168.0.2 + remote_as: '65001' + remote_port: '179' + remote_router_id: 192.168.0.2 + route_reflector_role: [] + state: Established + type: internal + uptime: 3w2d + version: ['1735091', '1', '77'] + - afi: [IPv4 Unicast, IPv6 Unicast] + cluster_id: 10.0.0.1 + connections_dropped: '1' + connections_established: '1' + default_originate: [] + description: iBGP_Neighbor + error_code: hold time expired + gr: '' + holdtime: '180' + keepalive: '60' + last_ack_version: ['0', '0'] + last_notification_received: '' + last_notification_sent: 2w3d + last_reset: 00:00:52 + last_reset_reason: Peer closing down the session + last_synced_ack_version: ['0', '0'] + local_address: 10.0.0.1 + local_as: '65001' + local_port: '59248' + max_hops: '' + max_prefixes: ['1048576', '524288'] + max_prefixes_warn_percent: ['75', '75'] + neighbor: 10.0.0.42 + nsr: enabled + nsr_state: None + peer_error_code: '' + peer_reset_reason: Remote closed the session (Connection timed out) + policy_incoming: [DENY-ALL, DENY-ALL] + policy_outgoing: [PASS-ALL, PASS-ALL] + prefixes_in: ['0', '0'] + prefixes_in_best: ['0', '0'] + prefixes_out: ['0', '0'] + prefixes_out_suppressed: ['0', '0'] + prefixes_out_withdrawn: ['0', '0'] + remote_address: 10.0.0.42 + remote_as: '65001' + remote_port: '179' + remote_router_id: 0.0.0.0 + route_reflector_role: [Client, Client] + state: OpenSent + type: internal + uptime: '' + version: ['0', '0'] + - afi: [IPv4 Unicast] + cluster_id: '' + connections_dropped: '0' + connections_established: '1' + default_originate: [] + description: '' + error_code: administrative reset + gr: '' + holdtime: '180' + keepalive: '60' + last_ack_version: ['56362493'] + last_notification_received: '' + last_notification_sent: 3w1d + last_reset: 3w1d + last_reset_reason: User clear requested (CEASE notification sent - administrative + reset) + last_synced_ack_version: ['56362493'] + local_address: 10.0.0.1 + local_as: '65001' + local_port: '37554' + max_hops: '20' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['75'] + neighbor: 10.0.0.124 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [eBGP-IN] + policy_outgoing: [DENY-ALL] + prefixes_in: ['5836'] + prefixes_in_best: ['5836'] + prefixes_out: ['0'] + prefixes_out_suppressed: ['0'] + prefixes_out_withdrawn: ['0'] + remote_address: 10.0.0.124 + remote_as: '65012' + remote_port: '179' + remote_router_id: 10.1.2.3 + route_reflector_role: [] + state: Established + type: external + uptime: 3w1d + version: ['56362493'] + - afi: [IPv6 Unicast] + cluster_id: '' + connections_dropped: '1' + connections_established: '2' + default_originate: [] + description: rs01.lsan01-ca + error_code: '' + gr: '' + holdtime: '90' + keepalive: '30' + last_ack_version: ['18781601'] + last_notification_received: '' + last_notification_sent: '' + last_reset: 2w3d + last_reset_reason: Peer closing down the session + last_synced_ack_version: ['18781601'] + local_address: 100::42 + local_as: '65001' + local_port: '179' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 1:1:1::1 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: Remote closed the session (No error) + policy_incoming: [] + policy_outgoing: [] + prefixes_in: ['59216'] + prefixes_in_best: ['35229'] + prefixes_out: ['1'] + prefixes_out_suppressed: ['0'] + prefixes_out_withdrawn: ['0'] + remote_address: 1:1:1::1 + remote_as: '65001' + remote_port: '13730' + remote_router_id: 192.168.100.1 + route_reflector_role: [] + state: Established + type: internal + uptime: 2w3d + version: ['18781601'] + - afi: [IPv6 Unicast] + cluster_id: '' + connections_dropped: '1' + connections_established: '2' + default_originate: [] + description: RouteReflector_2 + error_code: '' + gr: '' + holdtime: '90' + keepalive: '30' + last_ack_version: ['18781601'] + last_notification_received: '' + last_notification_sent: '' + last_reset: 2w3d + last_reset_reason: Peer closing down the session + last_synced_ack_version: ['18781601'] + local_address: 100::42 + local_as: '65001' + local_port: '179' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 1:1:34::242 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: Remote closed the session (No error) + policy_incoming: [] + policy_outgoing: [] + prefixes_in: ['59216'] + prefixes_in_best: ['23987'] + prefixes_out: ['1'] + prefixes_out_suppressed: ['0'] + prefixes_out_withdrawn: ['0'] + remote_address: 1:1:34::242 + remote_as: '65001' + remote_port: '44455' + remote_router_id: 192.168.100.2 + route_reflector_role: [] + state: Established + type: internal + uptime: 2w3d + version: ['18781601'] \ No newline at end of file diff --git a/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.raw b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.raw new file mode 100644 index 0000000000..9af983c4a7 --- /dev/null +++ b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.raw @@ -0,0 +1,526 @@ +Sun Nov 11 05:46:16.280 GMT + +BGP neighbor is 192.168.100.1 + Remote AS 65001, local AS 65001, internal link + Description: RouteReflector_1 + Remote router ID 192.168.100.1 + BGP state = Established, up for 2w3d + NSR State: NSR Ready + Last read 00:00:00, Last read before reset 2w3d + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:24, attempted 19, written 19 + Second last write 00:00:54, attempted 19, written 19 + Last write before reset 2w3d, attempted 19, written 19 + Second last write before reset 2w3d, attempted 19, written 19 + Last write pulse rcvd Nov 11 05:46:16.954 last full not set pulse count 6904115 + Last write pulse rcvd before reset 2w3d + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 2w3d, second last 2w3d + Last KA expiry before reset 2w3d, second last 2w3d + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 2w3d, second last 2w3d + Precedence: internet + Non-stop routing is enabled + Multi-protocol capability received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + 4-byte AS: advertised and received + Address family IPv4 Unicast: advertised and received + Received 15716463 messages, 0 notifications, 0 in queue + Sent 66285 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 56362493 + Update group: 0.4 Filter-group: 0.1 No Refresh request being processed + NEXT_HOP is always this router + Route refresh request: received 0, sent 0 + 847583 accepted prefixes, 794705 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 170, suppressed 0, withdrawn 19 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 56362493, Last synced ack version 56362493 + Outstanding version objects: current 0, max 3 + Additional-paths operation: None + + Connections established 2; dropped 1 + Local host: 10.0.0.1, Local port: 179 + Foreign host: 192.168.100.1, Foreign port: 13617 + Last reset 2w3d, due to Peer closing down the session + Peer reset reason: Remote closed the session (No error) + +BGP neighbor is 192.168.100.2 + Remote AS 65001, local AS 65001, internal link + Description: RouteReflector_2 + Remote router ID 192.168.100.2 + BGP state = Established, up for 2w3d + NSR State: NSR Ready + Last read 00:00:00, Last read before reset 2w3d + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:24, attempted 19, written 19 + Second last write 00:00:54, attempted 19, written 19 + Last write before reset 2w3d, attempted 19, written 19 + Second last write before reset 2w3d, attempted 19, written 19 + Last write pulse rcvd Nov 11 05:46:16.740 last full not set pulse count 6728170 + Last write pulse rcvd before reset 2w3d + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 2w3d, second last 2w3d + Last KA expiry before reset 2w3d, second last 2w3d + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 2w3d, second last 2w3d + Precedence: internet + Non-stop routing is enabled + Multi-protocol capability received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + 4-byte AS: advertised and received + Address family IPv4 Unicast: advertised and received + Received 15922796 messages, 0 notifications, 0 in queue + Sent 66281 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 56362493 + Update group: 0.4 Filter-group: 0.1 No Refresh request being processed + NEXT_HOP is always this router + Route refresh request: received 0, sent 0 + 847585 accepted prefixes, 52523 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 170, suppressed 0, withdrawn 19 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 56362493, Last synced ack version 56362493 + Outstanding version objects: current 0, max 3 + Additional-paths operation: None + + Connections established 2; dropped 1 + Local host: 10.0.0.1, Local port: 179 + Foreign host: 192.168.100.2, Foreign port: 15445 + Last reset 2w3d, due to Peer closing down the session + Peer reset reason: Remote closed the session (No error) + +BGP neighbor is 192.168.0.1 + Remote AS 65001, local AS 65001, internal link + Description: VPN_RouteReflector_1 + Remote router ID 192.168.0.1 + BGP state = Established, up for 2w4d + NSR State: NSR Ready + Last read 00:00:00, Last read before reset 2w4d + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:25, attempted 19, written 19 + Second last write 00:00:55, attempted 19, written 19 + Last write before reset 2w4d, attempted 19, written 19 + Second last write before reset 2w4d, attempted 19, written 19 + Last write pulse rcvd Nov 11 05:46:17.108 last full not set pulse count 11339768 + Last write pulse rcvd before reset 2w4d + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 2w4d, second last 2w4d + Last KA expiry before reset 2w4d, second last 2w4d + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 2w4d, second last 2w4d + Precedence: internet + Non-stop routing is enabled + Multi-protocol capability received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + 4-byte AS: advertised and received + Address family VPNv4 Unicast: advertised and received + Address family VPNv6 Unicast: advertised and received + Address family IPv4 MDT: advertised and received + Received 44909621 messages, 2 notifications, 0 in queue + Sent 66491 messages, 1 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: VPNv4 Unicast + BGP neighbor version 1735091 + Update group: 0.2 Filter-group: 0.1 No Refresh request being processed + Route refresh request: received 0, sent 0 + 4713 accepted prefixes, 4443 are bestpaths + Cumulative no. of prefixes denied: 387634. + No policy: 0, Failed RT match: 146231116 + By ORF policy: 0, By policy: 0 + Prefix advertised 889, suppressed 0, withdrawn 6 + Maximum prefixes allowed 2097152 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 1735091, Last synced ack version 1735091 + Outstanding version objects: current 0, max 5 + Additional-paths operation: None + + For Address Family: VPNv6 Unicast + BGP neighbor version 1 + Update group: 0.2 Filter-group: 0.1 No Refresh request being processed + Route refresh request: received 0, sent 0 + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 0, withdrawn 0 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 1, Last synced ack version 1 + Outstanding version objects: current 0, max 0 + Additional-paths operation: None + + For Address Family: IPv4 MDT + BGP neighbor version 77 + Update group: 0.2 Filter-group: 0.2 No Refresh request being processed + Route refresh request: received 0, sent 0 + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 0, withdrawn 0 + Maximum prefixes allowed 131072 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 77, Last synced ack version 77 + Outstanding version objects: current 0, max 0 + Additional-paths operation: None + + Connections established 3; dropped 2 + Local host: 10.0.0.1, Local port: 45510 + Foreign host: 192.168.0.1, Foreign port: 179 + Last reset 2w4d, due to BGP Notification received: peer unconfigured + Time since last notification sent to neighbor: 3w2d + Error Code: peer in wrong AS + Notification data sent: + 00001B47 + Time since last notification received from neighbor: 2w4d + Error Code: peer unconfigured + Notification data received: + None + +BGP neighbor is 192.168.0.2 + Remote AS 65001, local AS 65001, internal link + Description: VPN_RouteReflector_2 + Remote router ID 192.168.0.2 + BGP state = Established, up for 3w2d + NSR State: NSR Ready + Last read 00:00:00, Last read before reset 00:00:00 + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:25, attempted 19, written 19 + Second last write 00:00:55, attempted 19, written 19 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Nov 11 05:46:16.890 last full not set pulse count 21237051 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Multi-protocol capability received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + 4-byte AS: advertised and received + Address family VPNv4 Unicast: advertised and received + Address family VPNv6 Unicast: advertised and received + Address family IPv4 MDT: advertised and received + Received 45322792 messages, 0 notifications, 0 in queue + Sent 66498 messages, 1 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: VPNv4 Unicast + BGP neighbor version 1735091 + Update group: 0.2 Filter-group: 0.1 No Refresh request being processed + Route refresh request: received 0, sent 0 + 4710 accepted prefixes, 66 are bestpaths + Cumulative no. of prefixes denied: 500233. + No policy: 0, Failed RT match: 185868387 + By ORF policy: 0, By policy: 0 + Prefix advertised 5803, suppressed 0, withdrawn 9 + Maximum prefixes allowed 2097152 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 1735091, Last synced ack version 1735091 + Outstanding version objects: current 0, max 5 + Additional-paths operation: None + + For Address Family: VPNv6 Unicast + BGP neighbor version 1 + Update group: 0.2 Filter-group: 0.1 No Refresh request being processed + Route refresh request: received 0, sent 0 + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 0, withdrawn 0 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 1, Last synced ack version 1 + Outstanding version objects: current 0, max 0 + Additional-paths operation: None + + For Address Family: IPv4 MDT + BGP neighbor version 77 + Update group: 0.2 Filter-group: 0.2 No Refresh request being processed + Route refresh request: received 0, sent 0 + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 0, withdrawn 0 + Maximum prefixes allowed 131072 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 77, Last synced ack version 77 + Outstanding version objects: current 0, max 0 + Additional-paths operation: None + + Connections established 1; dropped 0 + Local host: 10.0.0.1, Local port: 35134 + Foreign host: 192.168.0.2, Foreign port: 179 + Last reset 3w2d, due to BGP Notification sent: peer in wrong AS + Time since last notification sent to neighbor: 3w2d + Error Code: peer in wrong AS + Notification data sent: + 00001B47 + +BGP neighbor is 10.0.0.42 + Remote AS 65001, local AS 65001, internal link + Description: iBGP_Neighbor + Remote router ID 0.0.0.0 + Cluster ID 10.0.0.1 + BGP state = OpenSent + NSR State: None + Last read 00:00:00, Last read before reset 2w3d + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:34, attempted 61, written 61 + Second last write 00:02:10, attempted 61, written 61 + Last write before reset 2w3d, attempted 25102, written 0 + Second last write before reset 2w3d, attempted 25102, written 0 + Last write pulse rcvd Nov 11 05:45:42.941 last full Oct 24 12:47:49.569 pulse count 2351991 + Last write pulse rcvd before reset 2w3d + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 2w3d, second last 2w3d + Last KA expiry before reset 2w3d, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 2w3d, second last 2w3d + Precedence: internet + Non-stop routing is enabled + Multi-protocol capability received + Received 7580 messages, 0 notifications, 0 in queue + Sent 4595111 messages, 2 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 0 + Update group: 0.1 Filter-group: 0.0 No Refresh request being processed + Route-Reflector Client + Route refresh request: received 0, sent 0 + Policy for incoming advertisements is DENY-ALL + Policy for outgoing advertisements is PASS-ALL + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 0, withdrawn 0 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 0, Last synced ack version 0 + Outstanding version objects: current 0, max 178 + Additional-paths operation: None + + For Address Family: IPv6 Unicast + BGP neighbor version 0 + Update group: 0.1 Filter-group: 0.0 No Refresh request being processed + Route-Reflector Client + Route refresh request: received 0, sent 0 + Policy for incoming advertisements is DENY-ALL + Policy for outgoing advertisements is PASS-ALL + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 0, withdrawn 0 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 0, Last synced ack version 0 + Outstanding version objects: current 0, max 175 + Additional-paths operation: None + + Connections established 1; dropped 1 + Local host: 10.0.0.1, Local port: 59248 + Foreign host: 10.0.0.42, Foreign port: 179 + Last reset 00:00:52, due to Peer closing down the session + Peer reset reason: Remote closed the session (Connection timed out) + Time since last notification sent to neighbor: 2w3d + Error Code: hold time expired + Notification data sent: + None + +BGP neighbor is 10.0.0.124 + Remote AS 65012, local AS 65001, external link + Remote router ID 10.1.2.3 + BGP state = Established, up for 3w1d + NSR State: NSR Ready + Last read 00:00:48, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:27, attempted 19, written 19 + Second last write 00:01:27, attempted 19, written 19 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Nov 11 05:45:50.059 last full not set pulse count 67869 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Enforcing first AS is enabled + Multi-protocol capability received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + 4-byte AS: advertised and received + Address family IPv4 Unicast: advertised and received + Received 34482 messages, 0 notifications, 0 in queue + Sent 33035 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 30 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 56362493 + Update group: 0.3 Filter-group: 0.3 No Refresh request being processed + Route refresh request: received 0, sent 0 + Policy for incoming advertisements is eBGP-IN + Policy for outgoing advertisements is DENY-ALL + 5836 accepted prefixes, 5836 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 0, withdrawn 0 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + An EoR was not received during read-only mode + Last ack version 56362493, Last synced ack version 56362493 + Outstanding version objects: current 0, max 0 + Additional-paths operation: None + + Connections established 1; dropped 0 + Local host: 10.0.0.1, Local port: 37554 + Foreign host: 10.0.0.124, Foreign port: 179 + Last reset 3w1d, due to User clear requested (CEASE notification sent - administrative reset) + Time since last notification sent to neighbor: 3w1d + Error Code: administrative reset + Notification data sent: + None + External BGP neighbor may be up to 20 hops away. + +BGP neighbor is 1:1:1::1 + Remote AS 65001, local AS 65001, internal link + Description: rs01.lsan01-ca + Remote router ID 192.168.100.1 + BGP state = Established, up for 2w3d + NSR State: NSR Ready + Last read 00:00:06, Last read before reset 2w3d + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:09, attempted 19, written 19 + Second last write 00:00:39, attempted 19, written 19 + Last write before reset 2w3d, attempted 19, written 19 + Second last write before reset 2w3d, attempted 19, written 19 + Last write pulse rcvd Nov 11 05:46:10.750 last full not set pulse count 2477012 + Last write pulse rcvd before reset 2w3d + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 2w3d, second last 2w3d + Last KA expiry before reset 2w3d, second last 2w3d + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 2w3d, second last 2w3d + Precedence: internet + Non-stop routing is enabled + Multi-protocol capability received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + 4-byte AS: advertised and received + Address family IPv6 Unicast: advertised and received + Received 3931360 messages, 0 notifications, 0 in queue + Sent 66256 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 18781601 + Update group: 0.3 Filter-group: 0.1 No Refresh request being processed + NEXT_HOP is always this router + Route refresh request: received 0, sent 0 + 59216 accepted prefixes, 35229 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 1, suppressed 0, withdrawn 0 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 18781601, Last synced ack version 18781601 + Outstanding version objects: current 0, max 1 + Additional-paths operation: None + + Connections established 2; dropped 1 + Local host: 100::42, Local port: 179 + Foreign host: 1:1:1::1, Foreign port: 13730 + Last reset 2w3d, due to Peer closing down the session + Peer reset reason: Remote closed the session (No error) + +BGP neighbor is 1:1:34::242 + Remote AS 65001, local AS 65001, internal link + Description: RouteReflector_2 + Remote router ID 192.168.100.2 + BGP state = Established, up for 2w3d + NSR State: NSR Ready + Last read 00:00:06, Last read before reset 2w3d + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:11, attempted 19, written 19 + Second last write 00:00:41, attempted 19, written 19 + Last write before reset 2w3d, attempted 19, written 19 + Second last write before reset 2w3d, attempted 19, written 19 + Last write pulse rcvd Nov 11 05:46:10.703 last full not set pulse count 2515631 + Last write pulse rcvd before reset 2w3d + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 2w3d, second last 2w3d + Last KA expiry before reset 2w3d, second last 2w3d + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 2w3d, second last 2w3d + Precedence: internet + Non-stop routing is enabled + Multi-protocol capability received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + 4-byte AS: advertised and received + Address family IPv6 Unicast: advertised and received + Received 3944185 messages, 0 notifications, 0 in queue + Sent 66258 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 18781601 + Update group: 0.3 Filter-group: 0.1 No Refresh request being processed + NEXT_HOP is always this router + Route refresh request: received 0, sent 0 + 59216 accepted prefixes, 23987 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 1, suppressed 0, withdrawn 0 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 18781601, Last synced ack version 18781601 + Outstanding version objects: current 0, max 1 + Additional-paths operation: None + + Connections established 2; dropped 1 + Local host: 100::42, Local port: 179 + Foreign host: 1:1:34::242, Foreign port: 44455 + Last reset 2w3d, due to Peer closing down the session + Peer reset reason: Remote closed the session (No error) diff --git a/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.parsed b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.parsed new file mode 100644 index 0000000000..335947ae53 --- /dev/null +++ b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.parsed @@ -0,0 +1,863 @@ +--- +parsed_sample: + - afi: [IPv4 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '6' + connections_established: '7' + default_originate: [default sent] + description: pe04 + error_code: hold time expired + gr: enabled + holdtime: '90' + keepalive: '30' + last_ack_version: ['3354689149'] + last_notification_received: '' + last_notification_sent: 43w0d + last_reset: 43w0d + last_reset_reason: 'BGP Notification sent: hold time expired' + last_synced_ack_version: ['3354689140'] + local_address: 10.0.2.2 + local_as: '65011' + local_port: '179' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['75'] + neighbor: 10.0.0.1 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [FILTER_ROUTES] + prefixes_in: ['1128'] + prefixes_in_best: ['1123'] + prefixes_out: ['473031161'] + prefixes_out_suppressed: ['4'] + prefixes_out_withdrawn: ['14158306'] + remote_address: 10.0.0.1 + remote_as: '65011' + remote_port: '56817' + remote_router_id: 10.0.0.1 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 43w0d + version: ['3354689176'] + - afi: [IPv4 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '0' + connections_established: '1' + default_originate: [default sent] + description: alb1-core1 + error_code: '' + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['3354689176'] + last_notification_received: '' + last_notification_sent: '' + last_reset: 4y10w + last_reset_reason: None + last_synced_ack_version: ['3354689155'] + local_address: 10.0.2.2 + local_as: '65011' + local_port: '12161' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['75'] + neighbor: 10.0.3.3 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [DEFAULT_ONLY_ROUTE] + prefixes_in: ['2'] + prefixes_in_best: ['0'] + prefixes_out: ['0'] + prefixes_out_suppressed: ['1'] + prefixes_out_withdrawn: ['1'] + remote_address: 10.0.3.3 + remote_as: '65011' + remote_port: '179' + remote_router_id: 10.0.3.3 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 49w6d + version: ['3354689176'] + - afi: [IPv4 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '1' + connections_established: '2' + default_originate: [default sent] + description: pe01 + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['3354689046'] + last_notification_received: '' + last_notification_sent: 4y10w + last_reset: 3y44w + last_reset_reason: RR client configuration changed + last_synced_ack_version: ['3354689046'] + local_address: 10.0.2.2 + local_as: '65011' + local_port: '179' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['75'] + neighbor: 192.168.100.1 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [FILTER_ROUTES] + prefixes_in: ['432'] + prefixes_in_best: ['432'] + prefixes_out: ['520214833'] + prefixes_out_suppressed: ['132'] + prefixes_out_withdrawn: ['21645110'] + remote_address: 192.168.100.1 + remote_as: '65011' + remote_port: '41662' + remote_router_id: 192.168.100.1 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 3y44w + version: ['3354689176'] + - afi: [IPv4 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '1' + connections_established: '2' + default_originate: [default sent] + description: pe02 + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['3354688969'] + last_notification_received: '' + last_notification_sent: 4y10w + last_reset: 3y44w + last_reset_reason: RR client configuration changed + last_synced_ack_version: ['3354688969'] + local_address: 10.0.2.2 + local_as: '65011' + local_port: '30973' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['75'] + neighbor: 10.100.2.44 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [FILTER_ROUTES] + prefixes_in: ['536'] + prefixes_in_best: ['530'] + prefixes_out: ['1324583231'] + prefixes_out_suppressed: ['132'] + prefixes_out_withdrawn: ['41976163'] + remote_address: 10.100.2.44 + remote_as: '65011' + remote_port: '179' + remote_router_id: 10.100.2.44 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 3y44w + version: ['3354689176'] + - afi: [IPv4 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '8' + connections_established: '9' + default_originate: [default sent] + description: ve01 + error_code: hold time expired + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['3354689176'] + last_notification_received: '' + last_notification_sent: 2y10w + last_reset: 2y10w + last_reset_reason: 'BGP Notification sent: hold time expired' + last_synced_ack_version: ['3354689155'] + local_address: 10.0.2.2 + local_as: '65011' + local_port: '179' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['75'] + neighbor: 10.0.12.41 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [DEFAULT_ONLY_ROUTE] + prefixes_in: ['1'] + prefixes_in_best: ['1'] + prefixes_out: ['0'] + prefixes_out_suppressed: ['2'] + prefixes_out_withdrawn: ['2'] + remote_address: 10.0.12.41 + remote_as: '65011' + remote_port: '60837' + remote_router_id: 10.0.12.41 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 2y10w + version: ['3354689176'] + - afi: [IPv4 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '0' + connections_established: '1' + default_originate: [default sent] + description: ve02 + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['3354689176'] + last_notification_received: '' + last_notification_sent: 4y10w + last_reset: 4y10w + last_reset_reason: Admin. shutdown + last_synced_ack_version: ['3354689155'] + local_address: 10.0.2.2 + local_as: '65011' + local_port: '33627' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['75'] + neighbor: 192.168.1.142 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [DEFAULT_ONLY_ROUTE] + prefixes_in: ['1'] + prefixes_in_best: ['0'] + prefixes_out: ['1'] + prefixes_out_suppressed: ['2'] + prefixes_out_withdrawn: ['3'] + remote_address: 192.168.1.142 + remote_as: '65011' + remote_port: '179' + remote_router_id: 192.168.1.142 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 4y10w + version: ['3354689176'] + - afi: [IPv4 Unicast] + cluster_id: '' + connections_dropped: '0' + connections_established: '0' + default_originate: [] + description: Another Router + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['0'] + last_notification_received: '' + last_notification_sent: 25w5d + last_reset: 25w5d + last_reset_reason: Admin. shutdown (CEASE notification sent - administrative shutdown) + last_synced_ack_version: ['0'] + local_address: 0.0.0.0 + local_as: '65011' + local_port: '0' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['80'] + neighbor: 10.100.100.124 + nsr: enabled + nsr_state: None + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [] + policy_outgoing: [] + prefixes_in: ['0'] + prefixes_in_best: ['0'] + prefixes_out: ['0'] + prefixes_out_suppressed: ['0'] + prefixes_out_withdrawn: ['0'] + remote_address: 10.100.100.124 + remote_as: '65011' + remote_port: '0' + remote_router_id: 0.0.0.0 + route_reflector_role: [] + state: Idle (Neighbor is shutdown) + type: internal + uptime: '' + version: ['0'] + - afi: [IPv4 Unicast] + cluster_id: '' + connections_dropped: '4' + connections_established: '5' + default_originate: [] + description: upstream_router1 + error_code: hold time expired + gr: enabled + holdtime: '90' + keepalive: '30' + last_ack_version: ['3354689176'] + last_notification_received: '' + last_notification_sent: 14w5d + last_reset: 14w5d + last_reset_reason: 'BGP Notification sent: hold time expired' + last_synced_ack_version: ['3354689155'] + local_address: 10.0.2.2 + local_as: '65011' + local_port: '179' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['80'] + neighbor: 172.16.105.21 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [] + policy_outgoing: [] + prefixes_in: ['857166'] + prefixes_in_best: ['376049'] + prefixes_out: ['2875'] + prefixes_out_suppressed: ['0'] + prefixes_out_withdrawn: ['2266'] + remote_address: 172.16.105.21 + remote_as: '65011' + remote_port: '60582' + remote_router_id: 172.16.105.21 + route_reflector_role: [] + state: Established + type: internal + uptime: 14w5d + version: ['3354689176'] + - afi: [IPv4 Unicast] + cluster_id: '' + connections_dropped: '4' + connections_established: '5' + default_originate: [] + description: R13 + error_code: hold time expired + gr: enabled + holdtime: '90' + keepalive: '30' + last_ack_version: ['3354689212'] + last_notification_received: 1y14w + last_notification_sent: 48w4d + last_reset: 48w4d + last_reset_reason: 'BGP Notification sent: hold time expired' + last_synced_ack_version: ['3354689155'] + local_address: 10.0.2.2 + local_as: '65011' + local_port: '25686' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['80'] + neighbor: 172.16.21.222 + nsr: enabled + nsr_state: Ready + peer_error_code: connection rejected + peer_reset_reason: '' + policy_incoming: [] + policy_outgoing: [] + prefixes_in: ['857166'] + prefixes_in_best: ['480594'] + prefixes_out: ['10502'] + prefixes_out_suppressed: ['2'] + prefixes_out_withdrawn: ['9155'] + remote_address: 172.16.21.222 + remote_as: '65011' + remote_port: '179' + remote_router_id: 172.16.21.222 + route_reflector_role: [] + state: Established + type: internal + uptime: 48w4d + version: ['3354689212'] + - afi: [IPv4 Unicast] + cluster_id: '' + connections_dropped: '0' + connections_established: '1' + default_originate: [] + description: agr01 + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['3354689212'] + last_notification_received: '' + last_notification_sent: 4y10w + last_reset: 4y10w + last_reset_reason: Admin. shutdown + last_synced_ack_version: ['3354689155'] + local_address: 10.0.2.2 + local_as: '65011' + local_port: '179' + max_hops: '' + max_prefixes: ['1048576'] + max_prefixes_warn_percent: ['75'] + neighbor: 10.0.0.152 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [] + policy_outgoing: [A_ROUTE_FILTER] + prefixes_in: ['2503'] + prefixes_in_best: ['0'] + prefixes_out: ['789753'] + prefixes_out_suppressed: ['2'] + prefixes_out_withdrawn: ['771940'] + remote_address: 10.0.0.152 + remote_as: '65011' + remote_port: '25659' + remote_router_id: 10.0.0.152 + route_reflector_role: [] + state: Established + type: internal + uptime: 4y10w + version: ['3354689212'] + - afi: [IPv6 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '0' + connections_established: '1' + default_originate: [default sent] + description: pe01 + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['1168802950'] + last_notification_received: '' + last_notification_sent: 4y10w + last_reset: 4y10w + last_reset_reason: Admin. shutdown + last_synced_ack_version: ['1168802930'] + local_address: 2001:fec0::1c0 + local_as: '65011' + local_port: '40939' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 2001:e01a:204::1 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [FULL_ROUESv6] + prefixes_in: ['2'] + prefixes_in_best: ['2'] + prefixes_out: ['666059645'] + prefixes_out_suppressed: ['13'] + prefixes_out_withdrawn: ['17306793'] + remote_address: 2001:e01a:204::1 + remote_as: '65011' + remote_port: '179' + remote_router_id: 192.168.100.1 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 4y10w + version: ['1168802957'] + - afi: [IPv6 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '0' + connections_established: '1' + default_originate: [default sent] + description: pe02 + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['1168802822'] + last_notification_received: '' + last_notification_sent: 4y10w + last_reset: 4y10w + last_reset_reason: Admin. shutdown + last_synced_ack_version: ['1168802822'] + local_address: 2001:fec0::1c0 + local_as: '65011' + local_port: '58458' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 2001:fec0::6a + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [FILTER_ROUTESv6] + prefixes_in: ['0'] + prefixes_in_best: ['0'] + prefixes_out: ['167291632'] + prefixes_out_suppressed: ['12'] + prefixes_out_withdrawn: ['3571712'] + remote_address: 2001:fec0::6a + remote_as: '65011' + remote_port: '179' + remote_router_id: 10.100.2.44 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 4y10w + version: ['1168802957'] + - afi: [IPv6 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '0' + connections_established: '1' + default_originate: [default sent] + description: pe03 + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['1168802950'] + last_notification_received: '' + last_notification_sent: 4y10w + last_reset: 4y10w + last_reset_reason: Admin. shutdown + last_synced_ack_version: ['1168802930'] + local_address: 2001:fec0::1c0 + local_as: '65011' + local_port: '18095' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 2001:fec0::6b + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [FULL_ROUESv6] + prefixes_in: ['0'] + prefixes_in_best: ['0'] + prefixes_out: ['666059645'] + prefixes_out_suppressed: ['13'] + prefixes_out_withdrawn: ['17306793'] + remote_address: 2001:fec0::6b + remote_as: '65011' + remote_port: '179' + remote_router_id: 10.0.142.12 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 4y10w + version: ['1168802957'] + - afi: [IPv6 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '7' + connections_established: '8' + default_originate: [default sent] + description: ve01 + error_code: hold time expired + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['1168802957'] + last_notification_received: '' + last_notification_sent: 2y10w + last_reset: 2y10w + last_reset_reason: 'BGP Notification sent: hold time expired' + last_synced_ack_version: ['1168802935'] + local_address: 2001:fec0::1c0 + local_as: '65011' + local_port: '179' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 2001:fec0::6c + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [DEFAULT_ONLY_ROUTEv6] + prefixes_in: ['1'] + prefixes_in_best: ['1'] + prefixes_out: ['0'] + prefixes_out_suppressed: ['12'] + prefixes_out_withdrawn: ['12'] + remote_address: 2001:fec0::6c + remote_as: '65011' + remote_port: '22622' + remote_router_id: 10.0.12.41 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 2y10w + version: ['1168802957'] + - afi: [IPv6 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '0' + connections_established: '1' + default_originate: [default sent] + description: ve02 + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['1168802957'] + last_notification_received: '' + last_notification_sent: 4y10w + last_reset: 4y10w + last_reset_reason: Admin. shutdown + last_synced_ack_version: ['1168802935'] + local_address: 2001:fec0::1c0 + local_as: '65011' + local_port: '32502' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 2001:fec0::6d + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [DEFAULT_ONLY_ROUTEv6] + prefixes_in: ['1'] + prefixes_in_best: ['0'] + prefixes_out: ['0'] + prefixes_out_suppressed: ['12'] + prefixes_out_withdrawn: ['12'] + remote_address: 2001:fec0::6d + remote_as: '65011' + remote_port: '179' + remote_router_id: 192.168.1.142 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 4y10w + version: ['1168802957'] + - afi: [IPv6 Unicast] + cluster_id: '' + connections_dropped: '0' + connections_established: '0' + default_originate: [] + description: shutdown_router + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['0'] + last_notification_received: '' + last_notification_sent: 25w5d + last_reset: 25w5d + last_reset_reason: Admin. shutdown (CEASE notification sent - administrative shutdown) + last_synced_ack_version: ['0'] + local_address: '::' + local_as: '65011' + local_port: '0' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 2001:fec0::7fa + nsr: enabled + nsr_state: None + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [MARTIAN_FILTERv6] + policy_outgoing: [] + prefixes_in: ['0'] + prefixes_in_best: ['0'] + prefixes_out: ['0'] + prefixes_out_suppressed: ['0'] + prefixes_out_withdrawn: ['0'] + remote_address: 2001:fec0::7fa + remote_as: '65011' + remote_port: '0' + remote_router_id: 0.0.0.0 + route_reflector_role: [] + state: Idle (Neighbor is shutdown) + type: internal + uptime: '' + version: ['0'] + - afi: [IPv6 Unicast] + cluster_id: '' + connections_dropped: '0' + connections_established: '0' + default_originate: [] + description: shut_router-2 + error_code: administrative shutdown + gr: enabled + holdtime: '180' + keepalive: '60' + last_ack_version: ['0'] + last_notification_received: '' + last_notification_sent: 25w5d + last_reset: 25w5d + last_reset_reason: Admin. shutdown (CEASE notification sent - administrative shutdown) + last_synced_ack_version: ['0'] + local_address: '::' + local_as: '65011' + local_port: '0' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 2001:fec0::7fb + nsr: enabled + nsr_state: None + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [MARTIAN_FILTERv6] + policy_outgoing: [] + prefixes_in: ['0'] + prefixes_in_best: ['0'] + prefixes_out: ['0'] + prefixes_out_suppressed: ['0'] + prefixes_out_withdrawn: ['0'] + remote_address: 2001:fec0::7fb + remote_as: '65011' + remote_port: '0' + remote_router_id: 0.0.0.0 + route_reflector_role: [] + state: Idle (Neighbor is shutdown) + type: internal + uptime: '' + version: ['0'] + - afi: [IPv6 Unicast] + cluster_id: '' + connections_dropped: '4' + connections_established: '5' + default_originate: [] + description: upstream_router1 + error_code: hold time expired + gr: enabled + holdtime: '90' + keepalive: '30' + last_ack_version: ['1168802957'] + last_notification_received: '' + last_notification_sent: 15w1d + last_reset: 15w1d + last_reset_reason: 'BGP Notification sent: hold time expired' + last_synced_ack_version: ['1168802935'] + local_address: 2001:fec0::1c0 + local_as: '65011' + local_port: '179' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 2001:fec0::987 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [MARTIAN_FILTERv6] + policy_outgoing: [] + prefixes_in: ['62232'] + prefixes_in_best: ['36614'] + prefixes_out: ['15'] + prefixes_out_suppressed: ['0'] + prefixes_out_withdrawn: ['10'] + remote_address: 2001:fec0::987 + remote_as: '65011' + remote_port: '63346' + remote_router_id: 172.16.105.21 + route_reflector_role: [] + state: Established + type: internal + uptime: 15w1d + version: ['1168802957'] + - afi: [IPv6 Unicast] + cluster_id: '' + connections_dropped: '4' + connections_established: '5' + default_originate: [] + description: R12 + error_code: hold time expired + gr: enabled + holdtime: '90' + keepalive: '30' + last_ack_version: ['1168802960'] + last_notification_received: '' + last_notification_sent: 48w4d + last_reset: 48w4d + last_reset_reason: 'BGP Notification sent: hold time expired' + last_synced_ack_version: ['1168802959'] + local_address: 2001:fec0::1c0 + local_as: '65011' + local_port: '179' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 2001:fec0::988 + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [MARTIAN_FILTERv6] + policy_outgoing: [] + prefixes_in: ['62232'] + prefixes_in_best: ['25613'] + prefixes_out: ['40'] + prefixes_out_suppressed: ['12'] + prefixes_out_withdrawn: ['44'] + remote_address: 2001:fec0::988 + remote_as: '65011' + remote_port: '65168' + remote_router_id: 172.16.21.222 + route_reflector_role: [] + state: Established + type: internal + uptime: 48w4d + version: ['1168802960'] + - afi: [IPv6 Unicast] + cluster_id: 10.0.2.2 + connections_dropped: '6' + connections_established: '7' + default_originate: [default sent] + description: pe04 + error_code: hold time expired + gr: enabled + holdtime: '90' + keepalive: '30' + last_ack_version: ['1168802954'] + last_notification_received: '' + last_notification_sent: 43w0d + last_reset: 43w0d + last_reset_reason: 'BGP Notification sent: hold time expired' + last_synced_ack_version: ['1168802954'] + local_address: 2001:fec0::1c0 + local_as: '65011' + local_port: '179' + max_hops: '' + max_prefixes: ['524288'] + max_prefixes_warn_percent: ['75'] + neighbor: 2001:fec0::a0d + nsr: enabled + nsr_state: Ready + peer_error_code: '' + peer_reset_reason: '' + policy_incoming: [TAG_FILTER] + policy_outgoing: [FULL_ROUESv6] + prefixes_in: ['2'] + prefixes_in_best: ['2'] + prefixes_out: ['166060453'] + prefixes_out_suppressed: ['9'] + prefixes_out_withdrawn: ['7918856'] + remote_address: 2001:fec0::a0d + remote_as: '65011' + remote_port: '55754' + remote_router_id: 10.0.0.1 + route_reflector_role: [Client] + state: Established + type: internal + uptime: 43w0d + version: ['1168802960'] + \ No newline at end of file diff --git a/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.raw b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.raw new file mode 100644 index 0000000000..45edb11e35 --- /dev/null +++ b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.raw @@ -0,0 +1,1340 @@ + +BGP neighbor is 10.0.0.1 + Remote AS 65011, local AS 65011, internal link + Description: pe04 + Remote router ID 10.0.0.1 + Cluster ID 10.0.2.2 + BGP state = Established, up for 43w0d + NSR State: NSR Ready + Last read 00:00:01, Last read before reset 00:00:00 + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:00, attempted 506, written 506 + Second last write 00:00:02, attempted 468, written 468 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:38.223 last full Jan 11 11:03:43.039 pulse count 47620267 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv4 Unicast: advertised and received + Received 3264952 messages, 0 notifications, 0 in queue + Sent 102389720 messages, 2 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 3354689176 + Update group: 0.1 Filter-group: 0.1 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is FILTER_ROUTES + 1128 accepted prefixes, 1123 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 473031161, suppressed 4, withdrawn 14158306 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 3354689149, Last synced ack version 3354689140 + Outstanding version objects: current 2, max 31 + Additional-paths operation: None + + Connections established 7; dropped 6 + Local host: 10.0.2.2, Local port: 179 + Foreign host: 10.0.0.1, Foreign port: 56817 + Last reset 43w0d, due to BGP Notification sent: hold time expired + Time since last notification sent to neighbor: 43w0d + Error Code: hold time expired + Notification data sent: + None + +BGP neighbor is 10.0.3.3 + Remote AS 65011, local AS 65011, internal link + Description: alb1-core1 + Remote router ID 10.0.3.3 + Cluster ID 10.0.2.2 + BGP state = Established, up for 49w6d + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:33, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:27, attempted 19, written 19 + Second last write 00:01:27, attempted 19, written 19 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:10.897 last full not set pulse count 545839 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv4 Unicast: advertised and received + Received 553726 messages, 0 notifications, 0 in queue + Sent 259872 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 3354689176 + Update group: 0.2 Filter-group: 0.2 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised and received + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Remote Restart time is 120 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is DEFAULT_ONLY_ROUTE + 2 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 1, withdrawn 1 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 3354689176, Last synced ack version 3354689155 + Outstanding version objects: current 0, max 1 + Additional-paths operation: None + + Connections established 1; dropped 0 + Local host: 10.0.2.2, Local port: 12161 + Foreign host: 10.0.3.3, Foreign port: 179 + Last reset 4y10w, due to None + +BGP neighbor is 192.168.100.1 + Remote AS 65011, local AS 65011, internal link + Description: pe01 + Remote router ID 192.168.100.1 + Cluster ID 10.0.2.2 + BGP state = Established, up for 3y44w + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:11, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:03, attempted 91, written 91 + Second last write 00:00:03, attempted 351, written 351 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:35.570 last full Oct 9 19:58:17.558 pulse count 4308208 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv4 Unicast: advertised and received + Received 2641982 messages, 0 notifications, 0 in queue + Sent 4190174 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 3354689176 + Update group: 0.3 Filter-group: 0.3 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised and received + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Remote Restart time is 120 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is FILTER_ROUTES + 432 accepted prefixes, 432 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 520214833, suppressed 132, withdrawn 21645110 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 3354689046, Last synced ack version 3354689046 + Outstanding version objects: current 2, max 20 + Additional-paths operation: None + + Connections established 2; dropped 1 + Local host: 10.0.2.2, Local port: 179 + Foreign host: 192.168.100.1, Foreign port: 41662 + Last reset 3y44w, due to RR client configuration changed + Time since last notification sent to neighbor: 4y10w + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 10.100.2.44 + Remote AS 65011, local AS 65011, internal link + Description: pe02 + Remote router ID 10.100.2.44 + Cluster ID 10.0.2.2 + BGP state = Established, up for 3y44w + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:04, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:03, attempted 91, written 91 + Second last write 00:00:03, attempted 351, written 351 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:35.581 last full not set pulse count 4297611 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv4 Unicast: advertised and received + Received 2815062 messages, 0 notifications, 0 in queue + Sent 4190174 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 3354689176 + Update group: 0.3 Filter-group: 0.3 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised and received + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Remote Restart time is 120 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is FILTER_ROUTES + 536 accepted prefixes, 530 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 1324583231, suppressed 132, withdrawn 41976163 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 3354688969, Last synced ack version 3354688969 + Outstanding version objects: current 4, max 31 + Additional-paths operation: None + + Connections established 2; dropped 1 + Local host: 10.0.2.2, Local port: 30973 + Foreign host: 10.100.2.44, Foreign port: 179 + Last reset 3y44w, due to RR client configuration changed + Time since last notification sent to neighbor: 4y10w + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 10.0.12.41 + Remote AS 65011, local AS 65011, internal link + Description: ve01 + Remote router ID 10.0.12.41 + Cluster ID 10.0.2.2 + BGP state = Established, up for 2y10w + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:15, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:26, attempted 19, written 19 + Second last write 00:01:26, attempted 19, written 19 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:23.441 last full not set pulse count 545833 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised + Address family IPv4 Unicast: advertised and received + Received 2424684 messages, 0 notifications, 0 in queue + Sent 259872 messages, 7 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 3354689176 + Update group: 0.4 Filter-group: 0.4 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised and received + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Remote Restart time is 120 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is DEFAULT_ONLY_ROUTE + 1 accepted prefixes, 1 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 2, withdrawn 2 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 3354689176, Last synced ack version 3354689155 + Outstanding version objects: current 0, max 1 + Additional-paths operation: None + + Connections established 9; dropped 8 + Local host: 10.0.2.2, Local port: 179 + Foreign host: 10.0.12.41, Foreign port: 60837 + Last reset 2y10w, due to BGP Notification sent: hold time expired + Time since last notification sent to neighbor: 2y10w + Error Code: hold time expired + Notification data sent: + None + +BGP neighbor is 192.168.1.142 + Remote AS 65011, local AS 65011, internal link + Description: ve02 + Remote router ID 192.168.1.142 + Cluster ID 10.0.2.2 + BGP state = Established, up for 4y10w + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:38, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:26, attempted 19, written 19 + Second last write 00:01:26, attempted 19, written 19 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:11.916 last full not set pulse count 545819 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised + Address family IPv4 Unicast: advertised and received + Received 2424957 messages, 0 notifications, 0 in queue + Sent 259872 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 3354689176 + Update group: 0.4 Filter-group: 0.4 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised and received + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Remote Restart time is 120 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is DEFAULT_ONLY_ROUTE + 1 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 1, suppressed 2, withdrawn 3 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 3354689176, Last synced ack version 3354689155 + Outstanding version objects: current 0, max 1 + Additional-paths operation: None + + Connections established 1; dropped 0 + Local host: 10.0.2.2, Local port: 33627 + Foreign host: 192.168.1.142, Foreign port: 179 + Last reset 4y10w, due to Admin. shutdown + Time since last notification sent to neighbor: 4y10w + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 10.100.100.124 + Remote AS 65011, local AS 65011, internal link + Administratively shut down + Description: Another Router + Remote router ID 0.0.0.0 + BGP state = Idle (Neighbor is shutdown) + NSR State: None + BFD enabled (initializing) + Last read 00:00:00, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:00, attempted 0, written 0 + Second last write 00:00:00, attempted 0, written 0 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd not set last full not set pulse count 0 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, not armed for read, not armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Received 0 messages, 0 notifications, 0 in queue + Sent 0 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 0 + Update group: 0.5 Filter-group: 0.0 No Refresh request being processed + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 0 + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 0, withdrawn 0 + Maximum prefixes allowed 1048576 (warning-only) + Threshold for warning message 80%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 0, Last synced ack version 0 + Outstanding version objects: current 0, max 0 + Additional-paths operation: None + + Connections established 0; dropped 0 + Local host: 0.0.0.0, Local port: 0 + Foreign host: 10.100.100.124, Foreign port: 0 + Last reset 25w5d, due to Admin. shutdown (CEASE notification sent - administrative shutdown) + Time since last notification sent to neighbor: 25w5d + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 172.16.105.21 + Remote AS 65011, local AS 65011, internal link + Description: upstream_router1 + Remote router ID 172.16.105.21 + BGP state = Established, up for 14w5d + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:00, Last read before reset 14w5d + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:13, attempted 19, written 19 + Second last write 00:00:43, attempted 19, written 19 + Last write before reset 14w5d, attempted 19, written 19 + Second last write before reset 14w5d, attempted 19, written 19 + Last write pulse rcvd Jan 21 16:50:38.444 last full not set pulse count 40374815 + Last write pulse rcvd before reset 14w5d + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 14w5d, second last 14w5d + Last KA expiry before reset 14w5d, second last 14w5d + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 14w5d, second last 14w5d + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv4 Unicast: advertised and received + Received 814873135 messages, 0 notifications, 0 in queue + Sent 521909 messages, 4 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 3354689176 + Update group: 0.6 Filter-group: 0.5 No Refresh request being processed + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 0 + 857166 accepted prefixes, 376049 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 2875, suppressed 0, withdrawn 2266 + Maximum prefixes allowed 1048576 (warning-only) + Threshold for warning message 80%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 3354689176, Last synced ack version 3354689155 + Outstanding version objects: current 0, max 5 + Additional-paths operation: None + + Connections established 5; dropped 4 + Local host: 10.0.2.2, Local port: 179 + Foreign host: 172.16.105.21, Foreign port: 60582 + Last reset 14w5d, due to BGP Notification sent: hold time expired + Time since last notification sent to neighbor: 14w5d + Error Code: hold time expired + Notification data sent: + None + +BGP neighbor is 172.16.21.222 + Remote AS 65011, local AS 65011, internal link + Description: R13 + Remote router ID 172.16.21.222 + BGP state = Established, up for 48w4d + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:00, Last read before reset 00:00:00 + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:13, attempted 19, written 19 + Second last write 00:00:43, attempted 19, written 19 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:38.906 last full not set pulse count 38040786 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv4 Unicast: advertised and received + Received 749700216 messages, 38 notifications, 0 in queue + Sent 521869 messages, 3 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 3354689212 + Update group: 0.6 Filter-group: 0.5 No Refresh request being processed + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 0 + 857166 accepted prefixes, 480594 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 10502, suppressed 2, withdrawn 9155 + Maximum prefixes allowed 1048576 (warning-only) + Threshold for warning message 80%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 3354689212, Last synced ack version 3354689155 + Outstanding version objects: current 0, max 6 + Additional-paths operation: None + + Connections established 5; dropped 4 + Local host: 10.0.2.2, Local port: 25686 + Foreign host: 172.16.21.222, Foreign port: 179 + Last reset 48w4d, due to BGP Notification sent: hold time expired + Time since last notification sent to neighbor: 48w4d + Error Code: hold time expired + Notification data sent: + None + Time since last notification received from neighbor: 1y14w + Error Code: connection rejected + Notification data received: + None + +BGP neighbor is 10.0.0.152 + Remote AS 65011, local AS 65011, internal link + Description: agr01 + Remote router ID 10.0.0.152 + BGP state = Established, up for 4y10w + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:42, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:44, attempted 19, written 19 + Second last write 00:01:44, attempted 19, written 19 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:49:55.997 last full not set pulse count 622776 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv4 Unicast: advertised and received + Received 2880209 messages, 0 notifications, 0 in queue + Sent 312250 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv4 Unicast + BGP neighbor version 3354689212 + Update group: 0.7 Filter-group: 0.6 No Refresh request being processed + AF-dependent capabilities: + Graceful Restart capability advertised and received + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Remote Restart time is 120 seconds + Route refresh request: received 0, sent 0 + Policy for outgoing advertisements is A_ROUTE_FILTER + 2503 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 789753, suppressed 2, withdrawn 771940 + Maximum prefixes allowed 1048576 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 3354689212, Last synced ack version 3354689155 + Outstanding version objects: current 0, max 16 + Additional-paths operation: None + + Connections established 1; dropped 0 + Local host: 10.0.2.2, Local port: 179 + Foreign host: 10.0.0.152, Foreign port: 25659 + Last reset 4y10w, due to Admin. shutdown + Time since last notification sent to neighbor: 4y10w + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 2001:e01a:204::1 + Remote AS 65011, local AS 65011, internal link + Description: pe01 + Remote router ID 192.168.100.1 + Cluster ID 10.0.2.2 + BGP state = Established, up for 4y10w + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:24, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:00, attempted 143, written 143 + Second last write 00:00:00, attempted 139, written 139 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:38.917 last full Nov 8 18:30:26.328 pulse count 28953616 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv6 Unicast: advertised and received + Received 2408431 messages, 0 notifications, 0 in queue + Sent 52220786 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 1168802957 + Update group: 0.1 Filter-group: 0.5 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised and received + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Remote Restart time is 120 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is FULL_ROUESv6 + 2 accepted prefixes, 2 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 666059645, suppressed 13, withdrawn 17306793 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 1168802950, Last synced ack version 1168802930 + Outstanding version objects: current 2, max 27 + Additional-paths operation: None + + Connections established 1; dropped 0 + Local host: 2001:fec0::1c0, Local port: 40939 + Foreign host: 2001:e01a:204::1, Foreign port: 179 + Last reset 4y10w, due to Admin. shutdown + Time since last notification sent to neighbor: 4y10w + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 2001:fec0::6a + Remote AS 65011, local AS 65011, internal link + Description: pe02 + Remote router ID 10.100.2.44 + Cluster ID 10.0.2.2 + BGP state = Established, up for 4y10w + NSR State: NSR Ready + Last read 00:00:30, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:04, attempted 105, written 105 + Second last write 00:00:04, attempted 105, written 105 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:35.110 last full not set pulse count 555363 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv6 Unicast: advertised and received + Received 2407200 messages, 0 notifications, 0 in queue + Sent 274173 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 1168802957 + Update group: 0.2 Filter-group: 0.2 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised and received + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Remote Restart time is 120 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is FILTER_ROUTESv6 + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 167291632, suppressed 12, withdrawn 3571712 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 1168802822, Last synced ack version 1168802822 + Outstanding version objects: current 3, max 7 + Additional-paths operation: None + + Connections established 1; dropped 0 + Local host: 2001:fec0::1c0, Local port: 58458 + Foreign host: 2001:fec0::6a, Foreign port: 179 + Last reset 4y10w, due to Admin. shutdown + Time since last notification sent to neighbor: 4y10w + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 2001:fec0::6b + Remote AS 65011, local AS 65011, internal link + Description: pe03 + Remote router ID 10.0.142.12 + Cluster ID 10.0.2.2 + BGP state = Established, up for 4y10w + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:47, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:00, attempted 143, written 143 + Second last write 00:00:00, attempted 139, written 139 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:38.535 last full Jan 18 19:55:06.493 pulse count 28751756 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv6 Unicast: advertised and received + Received 2408134 messages, 0 notifications, 0 in queue + Sent 52220786 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 1168802957 + Update group: 0.1 Filter-group: 0.5 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised and received + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Remote Restart time is 120 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is FULL_ROUESv6 + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 666059645, suppressed 13, withdrawn 17306793 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 1168802950, Last synced ack version 1168802930 + Outstanding version objects: current 2, max 26 + Additional-paths operation: None + + Connections established 1; dropped 0 + Local host: 2001:fec0::1c0, Local port: 18095 + Foreign host: 2001:fec0::6b, Foreign port: 179 + Last reset 4y10w, due to Admin. shutdown + Time since last notification sent to neighbor: 4y10w + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 2001:fec0::6c + Remote AS 65011, local AS 65011, internal link + Description: ve01 + Remote router ID 10.0.12.41 + Cluster ID 10.0.2.2 + BGP state = Established, up for 2y10w + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:53, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:26, attempted 19, written 19 + Second last write 00:01:26, attempted 19, written 19 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:12.766 last full not set pulse count 545806 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised + Address family IPv6 Unicast: advertised and received + Received 2424556 messages, 0 notifications, 0 in queue + Sent 259872 messages, 7 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 1168802957 + Update group: 0.3 Filter-group: 0.3 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is DEFAULT_ONLY_ROUTEv6 + 1 accepted prefixes, 1 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 12, withdrawn 12 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was received during read-only mode + Last ack version 1168802957, Last synced ack version 1168802935 + Outstanding version objects: current 0, max 1 + Additional-paths operation: None + + Connections established 8; dropped 7 + Local host: 2001:fec0::1c0, Local port: 179 + Foreign host: 2001:fec0::6c, Foreign port: 22622 + Last reset 2y10w, due to BGP Notification sent: hold time expired + Time since last notification sent to neighbor: 2y10w + Error Code: hold time expired + Notification data sent: + None + +BGP neighbor is 2001:fec0::6d + Remote AS 65011, local AS 65011, internal link + Description: ve02 + Remote router ID 192.168.1.142 + Cluster ID 10.0.2.2 + BGP state = Established, up for 4y10w + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:40, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:26, attempted 19, written 19 + Second last write 00:01:26, attempted 19, written 19 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:12.766 last full not set pulse count 545829 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised + Address family IPv6 Unicast: advertised and received + Received 2424611 messages, 0 notifications, 0 in queue + Sent 259872 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 1168802957 + Update group: 0.3 Filter-group: 0.3 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is DEFAULT_ONLY_ROUTEv6 + 1 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 12, withdrawn 12 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was received during read-only mode + Last ack version 1168802957, Last synced ack version 1168802935 + Outstanding version objects: current 0, max 1 + Additional-paths operation: None + + Connections established 1; dropped 0 + Local host: 2001:fec0::1c0, Local port: 32502 + Foreign host: 2001:fec0::6d, Foreign port: 179 + Last reset 4y10w, due to Admin. shutdown + Time since last notification sent to neighbor: 4y10w + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 2001:fec0::7fa + Remote AS 65011, local AS 65011, internal link + Administratively shut down + Description: shutdown_router + Remote router ID 0.0.0.0 + BGP state = Idle (Neighbor is shutdown) + NSR State: None + BFD enabled (initializing) + Last read 00:00:00, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:00, attempted 0, written 0 + Second last write 00:00:00, attempted 0, written 0 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd not set last full not set pulse count 0 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, not armed for read, not armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Received 0 messages, 0 notifications, 0 in queue + Sent 0 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 0 + Update group: 0.4 Filter-group: 0.0 No Refresh request being processed + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 0 + Policy for incoming advertisements is MARTIAN_FILTERv6 + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 0, withdrawn 0 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 0, Last synced ack version 0 + Outstanding version objects: current 0, max 0 + Additional-paths operation: None + + Connections established 0; dropped 0 + Local host: ::, Local port: 0 + Foreign host: 2001:fec0::7fa, Foreign port: 0 + Last reset 25w5d, due to Admin. shutdown (CEASE notification sent - administrative shutdown) + Time since last notification sent to neighbor: 25w5d + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 2001:fec0::7fb + Remote AS 65011, local AS 65011, internal link + Administratively shut down + Description: shut_router-2 + Remote router ID 0.0.0.0 + BGP state = Idle (Neighbor is shutdown) + NSR State: None + BFD enabled (initializing) + Last read 00:00:00, Last read before reset 00:00:00 + Hold time is 180, keepalive interval is 60 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:00, attempted 0, written 0 + Second last write 00:00:00, attempted 0, written 0 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd not set last full not set pulse count 0 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, not armed for read, not armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Received 0 messages, 0 notifications, 0 in queue + Sent 0 messages, 0 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 0 + Update group: 0.4 Filter-group: 0.0 No Refresh request being processed + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 0 + Policy for incoming advertisements is MARTIAN_FILTERv6 + 0 accepted prefixes, 0 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 0, suppressed 0, withdrawn 0 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was not received during read-only mode + Last ack version 0, Last synced ack version 0 + Outstanding version objects: current 0, max 0 + Additional-paths operation: None + + Connections established 0; dropped 0 + Local host: ::, Local port: 0 + Foreign host: 2001:fec0::7fb, Foreign port: 0 + Last reset 25w5d, due to Admin. shutdown (CEASE notification sent - administrative shutdown) + Time since last notification sent to neighbor: 25w5d + Error Code: administrative shutdown + Notification data sent: + None + +BGP neighbor is 2001:fec0::987 + Remote AS 65011, local AS 65011, internal link + Description: upstream_router1 + Remote router ID 172.16.105.21 + BGP state = Established, up for 15w1d + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:00, Last read before reset 15w1d + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:20, attempted 19, written 19 + Second last write 00:00:50, attempted 19, written 19 + Last write before reset 15w1d, attempted 19, written 19 + Second last write before reset 15w1d, attempted 19, written 19 + Last write pulse rcvd Jan 21 16:50:38.181 last full not set pulse count 23758285 + Last write pulse rcvd before reset 15w1d + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 15w1d, second last 15w1d + Last KA expiry before reset 15w1d, second last 15w1d + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 15w1d, second last 15w1d + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv6 Unicast: advertised and received + Received 386314263 messages, 0 notifications, 0 in queue + Sent 519750 messages, 4 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 1168802957 + Update group: 0.5 Filter-group: 0.4 No Refresh request being processed + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 4 + Policy for incoming advertisements is MARTIAN_FILTERv6 + 62232 accepted prefixes, 36614 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 15, suppressed 0, withdrawn 10 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was received during read-only mode + Last ack version 1168802957, Last synced ack version 1168802935 + Outstanding version objects: current 0, max 3 + Additional-paths operation: None + + Connections established 5; dropped 4 + Local host: 2001:fec0::1c0, Local port: 179 + Foreign host: 2001:fec0::987, Foreign port: 63346 + Last reset 15w1d, due to BGP Notification sent: hold time expired + Time since last notification sent to neighbor: 15w1d + Error Code: hold time expired + Notification data sent: + None + +BGP neighbor is 2001:fec0::988 + Remote AS 65011, local AS 65011, internal link + Description: R12 + Remote router ID 172.16.21.222 + BGP state = Established, up for 48w4d + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:00, Last read before reset 00:00:00 + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:20, attempted 19, written 19 + Second last write 00:00:50, attempted 19, written 19 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:39.122 last full not set pulse count 21964867 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv6 Unicast: advertised and received + Received 315377682 messages, 0 notifications, 0 in queue + Sent 519743 messages, 3 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 1168802960 + Update group: 0.5 Filter-group: 0.4 No Refresh request being processed + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 4 + Policy for incoming advertisements is MARTIAN_FILTERv6 + 62232 accepted prefixes, 25613 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 40, suppressed 12, withdrawn 44 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was received during read-only mode + Last ack version 1168802960, Last synced ack version 1168802959 + Outstanding version objects: current 0, max 3 + Additional-paths operation: None + + Connections established 5; dropped 4 + Local host: 2001:fec0::1c0, Local port: 179 + Foreign host: 2001:fec0::988, Foreign port: 65168 + Last reset 48w4d, due to BGP Notification sent: hold time expired + Time since last notification sent to neighbor: 48w4d + Error Code: hold time expired + Notification data sent: + None + +BGP neighbor is 2001:fec0::a0d + Remote AS 65011, local AS 65011, internal link + Description: pe04 + Remote router ID 10.0.0.1 + Cluster ID 10.0.2.2 + BGP state = Established, up for 43w0d + NSR State: NSR Ready + BFD enabled (session down, BFD not configured on remote neighbor) + Last read 00:00:01, Last read before reset 00:00:00 + Hold time is 90, keepalive interval is 30 seconds + Configured hold time: 180, keepalive: 60, min acceptable hold time: 3 + Last write 00:00:00, attempted 143, written 143 + Second last write 00:00:00, attempted 143, written 143 + Last write before reset 00:00:00, attempted 0, written 0 + Second last write before reset 00:00:00, attempted 0, written 0 + Last write pulse rcvd Jan 21 16:50:39.020 last full Oct 31 04:20:43.436 pulse count 32599118 + Last write pulse rcvd before reset 00:00:00 + Socket not armed for io, armed for read, armed for write + Last write thread event before reset 00:00:00, second last 00:00:00 + Last KA expiry before reset 00:00:00, second last 00:00:00 + Last KA error before reset 00:00:00, KA not sent 00:00:00 + Last KA start before reset 00:00:00, second last 00:00:00 + Precedence: internet + Non-stop routing is enabled + Graceful restart is enabled + Restart time is 120 seconds + Stale path timeout time is 360 seconds + Multi-protocol capability not received + Neighbor capabilities: + Route refresh: advertised (old + new) and received (old + new) + Graceful Restart (GR Awareness): received + 4-byte AS: advertised and received + Address family IPv6 Unicast: advertised and received + Received 3231854 messages, 0 notifications, 0 in queue + Sent 52220801 messages, 5 notifications, 0 in queue + Minimum time between advertisement runs is 0 secs + + For Address Family: IPv6 Unicast + BGP neighbor version 1168802960 + Update group: 0.1 Filter-group: 0.5 No Refresh request being processed + Route-Reflector Client + Default information originate: default sent + AF-dependent capabilities: + Graceful Restart capability advertised + Local restart time is 120, RIB purge time is 600 seconds + Maximum stalepath time is 360 seconds + Route refresh request: received 0, sent 1 + Policy for incoming advertisements is TAG_FILTER + Policy for outgoing advertisements is FULL_ROUESv6 + 2 accepted prefixes, 2 are bestpaths + Cumulative no. of prefixes denied: 0. + Prefix advertised 166060453, suppressed 9, withdrawn 7918856 + Maximum prefixes allowed 524288 + Threshold for warning message 75%, restart interval 0 min + AIGP is enabled + An EoR was received during read-only mode + Last ack version 1168802954, Last synced ack version 1168802954 + Outstanding version objects: current 3, max 17 + Additional-paths operation: None + + Connections established 7; dropped 6 + Local host: 2001:fec0::1c0, Local port: 179 + Foreign host: 2001:fec0::a0d, Foreign port: 55754 + Last reset 43w0d, due to BGP Notification sent: hold time expired + Time since last notification sent to neighbor: 43w0d + Error Code: hold time expired + Notification data sent: + None From 7367340be45edbb167b105518e1dea352eba2405 Mon Sep 17 00:00:00 2001 From: adrydale <32683423+adrydale@users.noreply.github.com> Date: Fri, 25 Jan 2019 20:04:04 -0600 Subject: [PATCH 230/628] CISCO IOS SHOW INTERFACES DESCRIPTION: Add new template (#348) --- ...o_ios_show_interfaces_description.template | 14 +++++ templates/index | 1 + ...sco_ios_show_interfaces_description.parsed | 51 +++++++++++++++++++ .../cisco_ios_show_interfaces_description.raw | 13 +++++ 4 files changed, 79 insertions(+) create mode 100644 templates/cisco_ios_show_interfaces_description.template create mode 100644 tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.parsed create mode 100644 tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw diff --git a/templates/cisco_ios_show_interfaces_description.template b/templates/cisco_ios_show_interfaces_description.template new file mode 100644 index 0000000000..35ce83eb53 --- /dev/null +++ b/templates/cisco_ios_show_interfaces_description.template @@ -0,0 +1,14 @@ +Value PORT (\S+) +Value STATUS (up|down|admin\s+down) +Value PROTOCOL (up|down) +Value DESCRIP (\S.*?) + +Start + ^Interface\s+Status\s+Protocol\s+Description\s*$$ -> Begin + ^\s*$$ + ^. -> Error + +Begin + ^${PORT}\s+${STATUS}\s+${PROTOCOL}(?:\s+${DESCRIP})?\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 162b40589c..63fd9cd849 100644 --- a/templates/index +++ b/templates/index @@ -131,6 +131,7 @@ cisco_ios_show_running-config_partition_route-map.template, .*, cisco_ios, sh[[o cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_authentication_sessions.template, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_ip_ospf_interface_brief.template, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] +cisco_ios_show_interfaces_description.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] cisco_ios_show_ip_device_tracking_all.template, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] cisco_ios_show_environment_power_all.template, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] diff --git a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.parsed b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.parsed new file mode 100644 index 0000000000..02db840942 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.parsed @@ -0,0 +1,51 @@ +--- +parsed_sample: + +- port: Vl1 + status: admin down + protocol: down + descrip: '' +- port: Vl99 + status: up + protocol: up + descrip: 10.20.99.0_Switch_mgmt_VLAN +- port: Gi0/1 + status: down + protocol: down + descrip: D3 USER +- port: Gi0/2 + status: down + protocol: down + descrip: D3 USER +- port: Gi0/3 + status: down + protocol: down + descrip: D3 USER +- port: Gi0/4 + status: down + protocol: down + descrip: D3 USER +- port: Gi0/5 + status: down + protocol: down + descrip: D3 USER +- port: Gi0/6 + status: down + protocol: down + descrip: D3 USER +- port: Gi0/7 + status: down + protocol: down + descrip: D3 USER +- port: Gi0/8 + status: up + protocol: up + descrip: MERAKI TEST AP +- port: Gi0/9 + status: admin down + protocol: down + descrip: '' +- port: Gi0/10 + status: up + protocol: up + descrip: UPLINK TO TULCCD3S01P diff --git a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw new file mode 100644 index 0000000000..989bc4fef6 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw @@ -0,0 +1,13 @@ +Interface Status Protocol Description +Vl1 admin down down +Vl99 up up 10.20.99.0_Switch_mgmt_VLAN +Gi0/1 down down D3 USER +Gi0/2 down down D3 USER +Gi0/3 down down D3 USER +Gi0/4 down down D3 USER +Gi0/5 down down D3 USER +Gi0/6 down down D3 USER +Gi0/7 down down D3 USER +Gi0/8 up up MERAKI TEST AP +Gi0/9 admin down down +Gi0/10 up up UPLINK TO TULCCD3S01P From 7639f6627bc221fa669f8737b0bf02926f017420 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Fri, 25 Jan 2019 22:45:02 -0500 Subject: [PATCH 231/628] XR SHOW CONTROLLERS: Bug Fix Current template did not work for TenGig Interface data BREAKING CHANGES: - Change threshold settings to `Filldown` instead of recording * `TX_ALARM_HIGH` * `TX_WARN_HIGH` * `TX_WARN_LOW` * `TX_ALARM_LOW` * `RX_ALARM_HIGH` * `RX_WARN_HIGH` * `RX_WARN_LOW` * `RX_ALARM_LOW` GENERAL UPDATES: - CHANGE `TX_VALUE` and `RX_VALUE` to capture everything between parenthesis * Values at the extremes have extra characters not previously accounted for - Create regex matches for TenGig raw data - Remove `EOF` and clear all filldown data to prevent extra `Record` TEST FILES: - Added raw and parsed files for TenGig interfaces - Updated existing parsed file to filldown threshold values, which decreases `Record` counts --- templates/cisco_xr_show_controllers.template | 34 +- .../cisco_xr_show_controllers_all_phy.parsed | 110 +--- .../cisco_xr_show_controllers_all_phy2.parsed | 208 ++++++ .../cisco_xr_show_controllers_all_phy2.raw | 609 ++++++++++++++++++ 4 files changed, 869 insertions(+), 92 deletions(-) create mode 100644 tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.parsed create mode 100644 tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.raw diff --git a/templates/cisco_xr_show_controllers.template b/templates/cisco_xr_show_controllers.template index 0cf1cd0f34..1eef728eec 100644 --- a/templates/cisco_xr_show_controllers.template +++ b/templates/cisco_xr_show_controllers.template @@ -10,16 +10,16 @@ Value VOLTAGE_ALARM_HIGH (([-\+]?\d+\.\d+|(N\/A))) Value VOLTAGE_ALARM_LOW (([-\+]?\d+\.\d+|(N\/A))) Value VOLTAGE_WARN_HIGH (([-\+]?\d+\.\d+|(N\/A))) Value VOLTAGE_WARN_LOW (([-\+]?\d+\.\d+|(N\/A))) -Value RX_VALUE (([-\+]?\d+\.\d+|(N\/A))) -Value RX_ALARM_HIGH (([-\+]?\d+\.\d+)) -Value RX_ALARM_LOW (([-\+]?\d+\.\d+)) -Value RX_WARN_HIGH (([-\+]?\d+\.\d+)) -Value RX_WARN_LOW (([-\+]?\d+\.\d+)) -Value TX_VALUE (([-\+]?\d+\.\d+|(N\/A))) -Value TX_ALARM_HIGH (([-\+]?\d+\.\d+)) -Value TX_ALARM_LOW (([-\+]?\d+\.\d+)) -Value TX_WARN_HIGH (([-\+]?\d+\.\d+)) -Value TX_WARN_LOW (([-\+]?\d+\.\d+)) +Value RX_VALUE (.+?) +Value Filldown RX_ALARM_HIGH (([-\+]?\d+\.\d+)) +Value Filldown RX_ALARM_LOW (([-\+]?\d+\.\d+)) +Value Filldown RX_WARN_HIGH (([-\+]?\d+\.\d+)) +Value Filldown RX_WARN_LOW (([-\+]?\d+\.\d+)) +Value TX_VALUE (.+?) +Value Filldown TX_ALARM_HIGH (([-\+]?\d+\.\d+)) +Value Filldown TX_ALARM_LOW (([-\+]?\d+\.\d+)) +Value Filldown TX_WARN_HIGH (([-\+]?\d+\.\d+)) +Value Filldown TX_WARN_LOW (([-\+]?\d+\.\d+)) Start ^PHY\s+data\s+for\s+interface:\s+${INTERFACE} @@ -28,14 +28,18 @@ Start Controllers ^\s+Temperature:\s+${TEMPERATURE_ALARM_HIGH}\s+\w+\s+${TEMPERATURE_WARN_HIGH}\s+\w+\s+${TEMPERATURE_WARN_LOW}\s+\w+\s+${TEMPERATURE_ALARM_LOW} ^\s+Voltage:\s+${VOLTAGE_ALARM_HIGH}\s+\w+\s+${VOLTAGE_WARN_HIGH}\s+\w+\s+${VOLTAGE_WARN_LOW}\s+\w+\s+${VOLTAGE_ALARM_LOW} + ^\s+Transmit Power:.+\(${TX_ALARM_HIGH} dBm\).+\(${TX_WARN_HIGH} dBm\).+\(${TX_WARN_LOW} dBm\).+\(${TX_ALARM_LOW} dBm\) + ^\s+Receive Power:.+\(${RX_ALARM_HIGH} dBm\).+\(${RX_WARN_HIGH} dBm\).+\(${RX_WARN_LOW} dBm\).+\(${RX_ALARM_LOW} dBm\) ^\s+Temperature:\s+${TEMPERATURE_VALUE} ^\s+Voltage:\s+${VOLTAGE_VALUE} + ^\s+Tx\s+Power:.+?\(${TX_VALUE}\)\s*$$ + ^\s+Rx\s+Power:.+?\(${RX_VALUE}\)\s*$$ + ^PHY\s+data\s+for\s+interface: -> Continue.Record + ^PHY\s+data\s+for\s+interface:\s+${INTERFACE} ^\s+Lane -> Record Lanes Lanes - ^\s+Transmit Power:.+\(${TX_ALARM_HIGH} dBm\).+\(${TX_WARN_HIGH} dBm\).+\(${TX_WARN_LOW} dBm\).+\(${TX_ALARM_LOW} dBm\) -> Record - ^\s+Receive Power:.+\(${RX_ALARM_HIGH} dBm\).+\(${RX_WARN_HIGH} dBm\).+\(${RX_WARN_LOW} dBm\).+\(${RX_ALARM_LOW} dBm\) -> Record + ^\s+Transmit Power:.+\(${TX_ALARM_HIGH} dBm\).+\(${TX_WARN_HIGH} dBm\).+\(${TX_WARN_LOW} dBm\).+\(${TX_ALARM_LOW} dBm\) + ^\s+Receive Power:.+\(${RX_ALARM_HIGH} dBm\).+\(${RX_WARN_HIGH} dBm\).+\(${RX_WARN_LOW} dBm\).+\(${RX_ALARM_LOW} dBm\) ^\s+${LANE}\s+${TEMPERATURE_VALUE}.*\(${TX_VALUE}\s+\S+\).*\(${RX_VALUE}\s+\S+\) -> Record - ^\S -> Start - -EOF + ^\S -> Clearall Start diff --git a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.parsed b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.parsed index a0da39f3e9..6c3bc00740 100644 --- a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.parsed +++ b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.parsed @@ -24,20 +24,20 @@ parsed_sample: voltage_warn_high: '3.465' voltage_warn_low: '3.100' - interface: FortyGigE0/1/1/0 - lane: '' - rx_alarm_high: '' - rx_alarm_low: '' - rx_value: '' - rx_warn_high: '' - rx_warn_low: '' + lane: '0' + rx_alarm_high: '3.39988' + rx_alarm_low: '-13.50665' + rx_value: '-2.33215' + rx_warn_high: '2.40000' + rx_warn_low: '-9.50007' temperature_alarm_high: '' temperature_alarm_low: '' - temperature_value: '' + temperature_value: 'N/A' temperature_warn_high: '' temperature_warn_low: '' tx_alarm_high: '1.99974' tx_alarm_low: '-11.60522' - tx_value: '' + tx_value: '-2.19179' tx_warn_high: '-1.00015' tx_warn_low: '-7.60200' voltage_alarm_high: '' @@ -46,66 +46,22 @@ parsed_sample: voltage_warn_high: '' voltage_warn_low: '' - interface: FortyGigE0/1/1/0 - lane: '' + lane: '1' rx_alarm_high: '3.39988' rx_alarm_low: '-13.50665' - rx_value: '' + rx_value: '-2.87014' rx_warn_high: '2.40000' rx_warn_low: '-9.50007' temperature_alarm_high: '' temperature_alarm_low: '' - temperature_value: '' - temperature_warn_high: '' - temperature_warn_low: '' - tx_alarm_high: '' - tx_alarm_low: '' - tx_value: '' - tx_warn_high: '' - tx_warn_low: '' - voltage_alarm_high: '' - voltage_alarm_low: '' - voltage_value: '' - voltage_warn_high: '' - voltage_warn_low: '' -- interface: FortyGigE0/1/1/0 - lane: '0' - rx_alarm_high: '' - rx_alarm_low: '' - rx_value: '-2.33215' - rx_warn_high: '' - rx_warn_low: '' - temperature_alarm_high: '' - temperature_alarm_low: '' - temperature_value: N/A - temperature_warn_high: '' - temperature_warn_low: '' - tx_alarm_high: '' - tx_alarm_low: '' - tx_value: '-2.19179' - tx_warn_high: '' - tx_warn_low: '' - voltage_alarm_high: '' - voltage_alarm_low: '' - voltage_value: '' - voltage_warn_high: '' - voltage_warn_low: '' -- interface: FortyGigE0/1/1/0 - lane: '1' - rx_alarm_high: '' - rx_alarm_low: '' - rx_value: '-2.87014' - rx_warn_high: '' - rx_warn_low: '' - temperature_alarm_high: '' - temperature_alarm_low: '' - temperature_value: N/A + temperature_value: 'N/A' temperature_warn_high: '' temperature_warn_low: '' - tx_alarm_high: '' - tx_alarm_low: '' + tx_alarm_high: '1.99974' + tx_alarm_low: '-11.60522' tx_value: '-2.03426' - tx_warn_high: '' - tx_warn_low: '' + tx_warn_high: '-1.00015' + tx_warn_low: '-7.60200' voltage_alarm_high: '' voltage_alarm_low: '' voltage_value: '' @@ -113,21 +69,21 @@ parsed_sample: voltage_warn_low: '' - interface: FortyGigE0/1/1/0 lane: '2' - rx_alarm_high: '' - rx_alarm_low: '' + rx_alarm_high: '3.39988' + rx_alarm_low: '-13.50665' rx_value: '-1.58703' - rx_warn_high: '' - rx_warn_low: '' + rx_warn_high: '2.40000' + rx_warn_low: '-9.50007' temperature_alarm_high: '' temperature_alarm_low: '' - temperature_value: N/A + temperature_value: 'N/A' temperature_warn_high: '' temperature_warn_low: '' - tx_alarm_high: '' - tx_alarm_low: '' + tx_alarm_high: '1.99974' + tx_alarm_low: '-11.60522' tx_value: '-2.03703' - tx_warn_high: '' - tx_warn_low: '' + tx_warn_high: '-1.00015' + tx_warn_low: '-7.60200' voltage_alarm_high: '' voltage_alarm_low: '' voltage_value: '' @@ -135,21 +91,21 @@ parsed_sample: voltage_warn_low: '' - interface: FortyGigE0/1/1/0 lane: '3' - rx_alarm_high: '' - rx_alarm_low: '' + rx_alarm_high: '3.39988' + rx_alarm_low: '-13.50665' rx_value: '-2.27312' - rx_warn_high: '' - rx_warn_low: '' + rx_warn_high: '2.40000' + rx_warn_low: '-9.50007' temperature_alarm_high: '' temperature_alarm_low: '' - temperature_value: N/A + temperature_value: 'N/A' temperature_warn_high: '' temperature_warn_low: '' - tx_alarm_high: '' - tx_alarm_low: '' + tx_alarm_high: '1.99974' + tx_alarm_low: '-11.60522' tx_value: '-1.87755' - tx_warn_high: '' - tx_warn_low: '' + tx_warn_high: '-1.00015' + tx_warn_low: '-7.60200' voltage_alarm_high: '' voltage_alarm_low: '' voltage_value: '' diff --git a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.parsed b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.parsed new file mode 100644 index 0000000000..7be8d592d2 --- /dev/null +++ b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.parsed @@ -0,0 +1,208 @@ +--- +parsed_sample: + - interface: "TenGigE0/0/0/0" + lane: "" + temperature_value: "28.461" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + voltage_value: "3.244" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_warn_high: "3.465" + voltage_warn_low: "3.135" + rx_value: "<-40.00 dBm" + rx_alarm_high: "2.00002" + rx_alarm_low: "-13.90406" + rx_warn_high: "-1.00015" + rx_warn_low: "-9.90124" + tx_value: "-15.63837 dBm" + tx_alarm_high: "1.69998" + tx_alarm_low: "-11.30182" + tx_warn_high: "-1.30006" + tx_warn_low: "-7.30020" + + - interface: "TenGigE0/0/0/1" + lane: "" + temperature_value: "25.629" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + voltage_value: "3.318" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_warn_high: "3.465" + voltage_warn_low: "3.135" + rx_value: "<-40.00 dBm" + rx_alarm_high: "3.49996" + rx_alarm_low: "-18.38632" + rx_warn_high: "0.49993" + rx_warn_low: "-14.40093" + tx_value: "<-40.00 dBm" + tx_alarm_high: "3.49996" + tx_alarm_low: "-12.19683" + tx_warn_high: "0.49993" + tx_warn_low: "-8.19874" + + - interface: "TenGigE0/0/0/2" + lane: "" + temperature_value: "36.656" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + voltage_value: "3.250" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_warn_high: "3.465" + voltage_warn_low: "3.135" + rx_value: "-18.18156 dBm" + rx_alarm_high: "-2.99989" + rx_alarm_low: "-30.96910" + rx_warn_high: "-7.00057" + rx_warn_low: "-26.98970" + tx_value: "1.40665 dBm" + tx_alarm_high: "5.99992" + tx_alarm_low: "-5.00038" + tx_warn_high: "2.99986" + tx_warn_low: "-1.00015" + + - interface: "TenGigE0/0/0/3" + lane: "" + temperature_value: "32.988" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + voltage_value: "3.291" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_warn_high: "3.465" + voltage_warn_low: "3.135" + rx_value: "-3.73968 dBm" + rx_alarm_high: "2.00002" + rx_alarm_low: "-13.90406" + rx_warn_high: "-1.00015" + rx_warn_low: "-9.90124" + tx_value: "-2.47567 dBm" + tx_alarm_high: "1.69998" + tx_alarm_low: "-11.30182" + tx_warn_high: "-1.30006" + tx_warn_low: "-7.30020" + + - interface: "TenGigE0/0/0/4" + lane: "" + temperature_value: "32.152" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + voltage_value: "3.264" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_warn_high: "3.465" + voltage_warn_low: "3.135" + rx_value: "-3.43806 dBm" + rx_alarm_high: "2.00002" + rx_alarm_low: "-13.90406" + rx_warn_high: "-1.00015" + rx_warn_low: "-9.90124" + tx_value: "-2.27825 dBm" + tx_alarm_high: "1.69998" + tx_alarm_low: "-11.30182" + tx_warn_high: "-1.30006" + tx_warn_low: "-7.30020" + + - interface: "TenGigE0/0/0/5" + lane: "" + temperature_value: "30.563" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + voltage_value: "3.258" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_warn_high: "3.465" + voltage_warn_low: "3.135" + rx_value: "-2.47567 dBm" + rx_alarm_high: "2.00002" + rx_alarm_low: "-13.90406" + rx_warn_high: "-1.00015" + rx_warn_low: "-9.90124" + tx_value: "-1.88827 dBm" + tx_alarm_high: "1.69998" + tx_alarm_low: "-11.30182" + tx_warn_high: "-1.30006" + tx_warn_low: "-7.30020" + + - interface: "TenGigE0/0/0/6" + lane: "" + temperature_value: "34.293" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + voltage_value: "3.240" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_warn_high: "3.465" + voltage_warn_low: "3.135" + rx_value: "-2.07258 dBm" + rx_alarm_high: "2.00002" + rx_alarm_low: "-13.90406" + rx_warn_high: "-1.00015" + rx_warn_low: "-9.90124" + tx_value: "-2.10701 dBm" + tx_alarm_high: "1.69998" + tx_alarm_low: "-11.30182" + tx_warn_high: "-1.30006" + tx_warn_low: "-7.30020" + + - interface: "TenGigE0/0/0/7" + lane: "" + temperature_value: "34.387" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + voltage_value: "3.278" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_warn_high: "3.465" + voltage_warn_low: "3.135" + rx_value: "<-40.00 dBm" + rx_alarm_high: "2.00002" + rx_alarm_low: "-13.90406" + rx_warn_high: "-1.00015" + rx_warn_low: "-9.90124" + tx_value: "-12.39578 dBm" + tx_alarm_high: "1.69998" + tx_alarm_low: "-11.30182" + tx_warn_high: "-1.30006" + tx_warn_low: "-7.30020" + + - interface: "TenGigE0/0/0/8" + lane: "" + temperature_value: "33.723" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + voltage_value: "3.277" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_warn_high: "3.465" + voltage_warn_low: "3.135" + rx_value: "<-40.00 dBm" + rx_alarm_high: "2.00002" + rx_alarm_low: "-13.90406" + rx_warn_high: "-1.00015" + rx_warn_low: "-9.90124" + tx_value: "-22.75724 dBm" + tx_alarm_high: "1.69998" + tx_alarm_low: "-11.30182" + tx_warn_high: "-1.30006" + tx_warn_low: "-7.30020" diff --git a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.raw b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.raw new file mode 100644 index 0000000000..bde2afe509 --- /dev/null +++ b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.raw @@ -0,0 +1,609 @@ +PHY data for interface: TenGigE0/0/0/0 + +SFP EEPROM port: 0 + Xcvr Type: SFP + Xcvr Code: SFP-10G-SR + Encoding: 64B66B + Bit Rate: 10300 Mbps + Link Reach 50u fiber: 80 meter + Link Reach 62.5u fiber: 20 meter + Vendor Name: CISCO-FINISAR + Vendor OUI: 00.90.65 + Vendor Part Number: FTLX8571D3BCL-C2 (rev.: A ) + Laser wavelength: 850 nm (fraction: 0.00 nm) + Optional SFP Signal: Tx_Disable, Tx_Fault, LOS + Vendor Serial Number: FNS17231KXG + Date Code (yy/mm/dd): 13/06/06 lot code: + Diagnostic Monitoring: DOM, Int. Cal., + Enhanced Options: Alarm/Warning Flags + +MSA Data +0x0000: 03 04 07 10 00 00 00 00 : 00 00 00 06 67 00 00 00 +0x0010: 08 02 00 1e 43 49 53 43 : 4f 2d 46 49 4e 49 53 41 +0x0020: 52 20 20 20 00 00 90 65 : 46 54 4c 58 38 35 37 31 +0x0030: 44 33 42 43 4c 2d 43 32 : 41 20 20 20 03 52 00 a5 +0x0040: 00 1a 00 00 46 4e 53 31 : 37 32 33 31 4b 58 47 20 +0x0050: 20 20 20 20 31 33 30 36 : 30 36 20 20 68 80 03 e4 +0x0060: 00 00 02 12 74 eb 9c 1e : 89 59 e6 a8 3c 20 cb 2a +0x0070: b0 0d ca 00 00 00 00 00 : 00 00 00 00 f5 ca 74 5e + + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.135 Volt 2.970 Volt + Bias: 11.800 mAmps 10.800 mAmps 5.000 mAmps 4.000 mAmps + Transmit Power: 1.47910 mW (1.69998 dBm) 0.74130 mW (-1.30006 dBm) 0.18620 mW (-7.30020 dBm) 0.07410 mW (-11.30182 dBm) + Receive Power: 1.58490 mW (2.00002 dBm) 0.79430 mW (-1.00015 dBm) 0.10230 mW (-9.90124 dBm) 0.04070 mW (-13.90406 dBm) + Temperature: 28.461 + Voltage: 3.244 Volt + Tx Bias: 0.116 mAmps + Tx Power: 0.02730 mW (-15.63837 dBm) + Rx Power: 0.000 mW (<-40.00 dBm) + Oper. Status/Control: Tx Disabled, LOS, +EEPROM Memory (A2 lower) +0x0100: 4b 00 fb 00 46 00 00 00 : 8d cc 74 04 87 5a 7a 76 +0x0110: 17 0c 07 d0 15 18 09 c4 : 39 c7 02 e5 1c f5 07 46 +0x0120: 3d e9 01 97 1f 07 03 ff : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0140: 00 00 00 00 3f 80 00 00 : 00 00 00 00 01 00 00 00 +0x0150: 01 00 00 00 01 00 00 00 : 01 00 00 00 00 00 00 10 +0x0160: 1c 76 7e b9 00 3a 01 11 : 00 00 00 00 00 00 82 00 +0x0170: 05 40 00 00 05 40 00 00 : ff ff ff ff ff ff ff 01 + + CLEI Code: COUIA8NCAA + Part Number: 10-2415-03 (ver.: V03 ) + Temp/Alarm/Power Flags: COM, commercial 0C to 70C + Minimum Temperature: 0 + Maximum Temperature: 70 + Calibration Constants: + Product Id: SFP-10G-SR +EEPROM Memory (A2 upper) +0x0180: 43 4f 55 49 41 38 4e 43 : 41 41 31 30 2d 32 34 31 +0x0190: 35 2d 30 33 56 30 33 20 : 01 00 46 00 00 00 00 c6 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x01c0: 53 46 50 2d 31 30 47 2d : 53 52 20 20 20 20 20 20 +0x01d0: 20 20 20 20 32 33 00 00 : 00 00 00 00 00 00 00 35 +0x01e0: 15 1a 20 24 2a 30 20 30 : 00 00 00 00 00 00 00 00 +0x01f0: 00 00 00 00 00 1d 00 00 : ff ff ff ff 00 00 00 00 + + + +PHY data for interface: TenGigE0/0/0/1 + +SFP EEPROM port: 1 + Xcvr Type: SFP + Xcvr Code: SFP-10G-LR + Encoding: 64B66B + Bit Rate: 10300 Mbps + Link Reach 9u fiber (Km): 10000 meter + Link Reach 9u fiber (100m): 10000 meter + Vendor Name: CISCO-SUMITOMO + Vendor OUI: 00.00.5f + Vendor Part Number: SPP5200LR-C6 (rev.: B ) + Laser wavelength: 1310 nm (fraction: 0.00 nm) + Optional SFP Signal: Tx_Disable, Tx_Fault, LOS + Vendor Serial Number: SPC1719093J + Date Code (yy/mm/dd): 13/05/11 lot code: 1C + Diagnostic Monitoring: DOM, Int. Cal., + Enhanced Options: SW RX LOS Mon., SW TX Fault Mon, SW TX Disable, Alarm/Warning Flags + +MSA Data +0x0000: 03 04 07 20 00 00 00 00 : 00 00 00 06 67 00 0a 64 +0x0010: 00 00 00 00 43 49 53 43 : 4f 2d 53 55 4d 49 54 4f +0x0020: 4d 4f 20 20 00 00 00 5f : 53 50 50 35 32 30 30 4c +0x0030: 52 2d 43 36 20 20 20 20 : 42 20 20 20 05 1e 00 06 +0x0040: 00 1a 00 00 53 50 43 31 : 37 31 39 30 39 33 4a 20 +0x0050: 20 20 20 20 31 33 30 35 : 31 31 31 43 68 f0 03 52 +0x0060: 00 00 0b 1c ba 98 43 64 : 6a 97 d8 6c ea 86 b2 df +0x0070: cc 46 fd 00 00 00 00 00 : 00 00 00 00 3e ac 79 a3 + + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.135 Volt 2.970 Volt + Bias: 90.000 mAmps 84.000 mAmps 24.000 mAmps 20.000 mAmps + Transmit Power: 2.23870 mW (3.49996 dBm) 1.12200 mW (0.49993 dBm) 0.15140 mW (-8.19874 dBm) 0.06030 mW (-12.19683 dBm) + Receive Power: 2.23870 mW (3.49996 dBm) 1.12200 mW (0.49993 dBm) 0.03630 mW (-14.40093 dBm) 0.01450 mW (-18.38632 dBm) + Temperature: 25.629 + Voltage: 3.318 Volt + Tx Bias: 0.000 mAmps + Tx Power: 0.000 mW (<-40.00 dBm) + Rx Power: 0.000 mW (<-40.00 dBm) + Oper. Status/Control: Tx Disabled, LOS, +EEPROM Memory (A2 lower) +0x0100: 4b 00 fb 00 46 00 00 00 : 8d cc 74 04 87 5a 7a 76 +0x0110: af c8 27 10 a4 10 2e e0 : 57 73 02 5b 2b d4 05 ea +0x0120: 57 73 00 91 2b d4 01 6b : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0140: 00 00 00 00 3f 80 00 00 : 00 00 00 00 01 00 00 00 +0x0150: 01 00 00 00 01 00 00 00 : 01 00 00 00 00 00 00 3c +0x0160: 19 a1 81 98 00 00 00 00 : 00 00 00 00 00 00 82 00 +0x0170: 00 40 00 00 00 40 00 00 : 00 00 00 00 00 00 00 01 + + CLEI Code: COUIA75CAA + Part Number: 10-2457-02 (ver.: V02 ) + Temp/Alarm/Power Flags: COM, commercial 0C to 70C + Minimum Temperature: 0 + Maximum Temperature: 70 + Calibration Constants: LBC Scale, Temperature, Laser bias current, Output power, + Product Id: SFP-10G-LR +EEPROM Memory (A2 upper) +0x0180: 43 4f 55 49 41 37 35 43 : 41 41 31 30 2d 32 34 35 +0x0190: 37 2d 30 32 56 30 32 20 : 01 00 46 00 00 00 00 b0 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 8c dd 94 00 ac a5 +0x01b0: d6 cd 00 00 1e 00 59 2d : 12 88 0f 3e 00 00 aa aa +0x01c0: 53 46 50 2d 31 30 47 2d : 4c 52 20 20 20 20 20 20 +0x01d0: 20 20 20 20 32 33 00 00 : 00 00 00 00 00 00 00 2e +0x01e0: 20 26 2b 30 33 36 2b 36 : 00 00 00 00 00 00 00 00 +0x01f0: 00 00 00 00 00 6b 00 00 : ff ff ff ff 00 00 00 00 + + + +PHY data for interface: TenGigE0/0/0/2 + +SFP EEPROM port: 2 + Xcvr Type: SFP + Xcvr Code: DWDM-SFP10G-58.98 + Encoding: 64B66B + Bit Rate: 11100 Mbps + Link Reach 9u fiber (Km): 80000 meter + Vendor Name: CISCO-FUJITSU + Vendor OUI: 00.00.0e + Vendor Part Number: FIM35060/201W23 (rev.: 0002) + Laser wavelength: 1558 nm (fraction: 0.098 nm) + Optional SFP Signal: Tx_Disable, Tx_Fault, LOS + Vendor Serial Number: FLJ1736K039 + Date Code (yy/mm/dd): 13/09/03 lot code: 01 + Diagnostic Monitoring: DOM, Int. Cal., + Enhanced Options: SW RX LOS Mon., SW TX Fault Mon, SW TX Disable, Alarm/Warning Flags + +MSA Data +0x0000: 03 04 07 00 00 00 00 00 : 00 00 00 06 6f 00 50 00 +0x0010: 00 00 00 00 43 49 53 43 : 4f 2d 46 55 4a 49 54 53 +0x0020: 55 20 20 20 00 00 00 0e : 46 49 4d 33 35 30 36 30 +0x0030: 2f 32 30 31 57 32 33 20 : 30 30 30 32 06 16 62 c1 +0x0040: 05 1a 00 00 46 4c 4a 31 : 37 33 36 4b 30 33 39 20 +0x0050: 20 20 20 20 31 33 30 39 : 30 33 30 31 68 f0 04 40 +0x0060: a3 00 15 3b 48 6e 9c da : f4 7b 3c 89 41 c2 1e d5 +0x0070: aa f3 88 00 00 00 00 00 : 00 00 00 00 49 75 e7 e7 + + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.135 Volt 2.970 Volt + Bias: 105.000 mAmps 98.000 mAmps 42.000 mAmps 35.000 mAmps + Transmit Power: 3.98100 mW (5.99992 dBm) 1.99520 mW (2.99986 dBm) 0.79430 mW (-1.00015 dBm) 0.31620 mW (-5.00038 dBm) + Receive Power: 0.50120 mW (-2.99989 dBm) 0.19950 mW (-7.00057 dBm) 0.00200 mW (-26.98970 dBm) 0.00080 mW (-30.96910 dBm) + Temperature: 36.656 + Voltage: 3.250 Volt + Tx Bias: 79.936 mAmps + Tx Power: 1.38250 mW (1.40665 dBm) + Rx Power: 0.01520 mW (-18.18156 dBm) + Oper. Status/Control: +EEPROM Memory (A2 lower) +0x0100: 4b 00 fb 00 46 00 00 00 : 8d cc 74 04 87 5a 7a 76 +0x0110: cd 14 44 5c bf 68 52 08 : 9b 82 0c 5a 4d f0 1f 07 +0x0120: 13 94 00 08 07 cb 00 14 : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0140: 00 00 00 00 00 00 00 01 : 00 00 00 00 00 01 00 00 +0x0150: 00 01 00 00 00 01 00 00 : 00 01 00 00 00 00 00 b0 +0x0160: 24 a8 7e f8 9c 20 36 01 : 00 98 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 02 + + CLEI Code: IPU3AZ6CAA + Part Number: 10-2750-01 (ver.: V01 ) + Temp/Alarm/Power Flags: COM, commercial 0C to 70C + Minimum Temperature: 0 + Maximum Temperature: 70 + Calibration Constants: LBC Scale, Temperature, Laser bias current, Output power, + Product Id: DWDM-SFP10G-58.98 +EEPROM Memory (A2 upper) +0x0180: 49 50 55 33 41 5a 36 43 : 41 41 31 30 2d 32 37 35 +0x0190: 30 2d 30 31 56 30 31 20 : 01 00 46 00 00 00 00 bf +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 63 aa 64 00 64 ca +0x01b0: 66 43 00 00 1c 02 9d 51 : 37 07 0f a1 00 00 aa aa +0x01c0: 44 57 44 4d 2d 53 46 50 : 31 30 47 2d 35 38 2e 39 +0x01d0: 38 20 20 20 33 32 00 00 : 00 00 00 00 00 00 00 e8 +0x01e0: 0b 0d 1a 21 27 34 1a 34 : 00 00 00 00 00 00 00 00 +0x01f0: 00 00 00 00 00 fc 00 00 : ff ff ff ff 00 00 00 00 + + + +PHY data for interface: TenGigE0/0/0/3 + +SFP EEPROM port: 3 + Xcvr Type: SFP + Xcvr Code: SFP-10G-SR + Encoding: 64B66B + Bit Rate: 10300 Mbps + Link Reach 50u fiber: 80 meter + Link Reach 62.5u fiber: 20 meter + Vendor Name: CISCO-JDSU + Vendor OUI: 00.01.9c + Vendor Part Number: PLRXPL-SC-S43-CS (rev.: 1 ) + Laser wavelength: 850 nm (fraction: 0.00 nm) + Optional SFP Signal: Tx_Disable, Tx_Fault, LOS + Vendor Serial Number: JUR1833GV1F + Date Code (yy/mm/dd): 14/08/16 lot code: + Diagnostic Monitoring: DOM, Int. Cal., + Enhanced Options: SW RX LOS Mon., SW TX Fault Mon, SW TX Disable, Alarm/Warning Flags + +MSA Data +0x0000: 03 04 07 10 00 00 00 00 : 00 00 00 06 67 00 00 00 +0x0010: 08 02 00 1e 43 49 53 43 : 4f 2d 4a 44 53 55 20 20 +0x0020: 20 20 20 20 00 00 01 9c : 50 4c 52 58 50 4c 2d 53 +0x0030: 43 2d 53 34 33 2d 43 53 : 31 20 20 20 03 52 00 19 +0x0040: 00 1a 00 00 4a 55 52 31 : 38 33 33 47 56 31 46 20 +0x0050: 20 20 20 20 31 34 30 38 : 31 36 20 20 68 f0 03 5d +0x0060: 00 00 08 93 24 b6 53 74 : 94 4c 09 f7 05 38 f0 78 +0x0070: 12 90 2a 00 00 00 00 00 : 00 00 00 00 8a 25 00 f8 + + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.135 Volt 2.970 Volt + Bias: 10.000 mAmps 8.500 mAmps 3.000 mAmps 2.600 mAmps + Transmit Power: 1.47910 mW (1.69998 dBm) 0.74130 mW (-1.30006 dBm) 0.18620 mW (-7.30020 dBm) 0.07410 mW (-11.30182 dBm) + Receive Power: 1.58490 mW (2.00002 dBm) 0.79430 mW (-1.00015 dBm) 0.10230 mW (-9.90124 dBm) 0.04070 mW (-13.90406 dBm) + Temperature: 32.988 + Voltage: 3.291 Volt + Tx Bias: 7.250 mAmps + Tx Power: 0.56550 mW (-2.47567 dBm) + Rx Power: 0.42270 mW (-3.73968 dBm) + Oper. Status/Control: +EEPROM Memory (A2 lower) +0x0100: 4b 00 fb 00 46 00 00 00 : 8d cc 74 04 87 5a 7a 76 +0x0110: 13 88 05 14 10 9a 05 dc : 39 c7 02 e5 1c f5 07 46 +0x0120: 3d e9 01 97 1f 07 03 ff : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0140: 00 00 00 00 3f 80 00 00 : 00 00 00 00 01 00 00 00 +0x0150: 01 00 00 00 01 00 00 00 : 01 00 00 00 00 00 00 5b +0x0160: 20 fd 80 8e 0e 29 16 17 : 10 83 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 01 + + CLEI Code: COUIA8NCAA + Part Number: 10-2415-03 (ver.: V03 ) + Temp/Alarm/Power Flags: COM, commercial 0C to 70C + Minimum Temperature: 0 + Maximum Temperature: 70 + Calibration Constants: LBC Scale, Temperature, Laser bias current, Output power, + Product Id: SFP-10G-SR +EEPROM Memory (A2 upper) +0x0180: 43 4f 55 49 41 38 4e 43 : 41 41 31 30 2d 32 34 31 +0x0190: 35 2d 30 33 56 30 33 20 : 01 00 46 00 00 00 00 c6 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 61 06 64 00 6d d7 +0x01b0: 7c 2b 00 00 16 00 0c 6c : 16 45 0f ae 00 00 aa aa +0x01c0: 53 46 50 2d 31 30 47 2d : 53 52 20 20 20 20 20 20 +0x01d0: 20 20 20 20 34 31 00 00 : 00 00 00 00 00 00 00 35 +0x01e0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01f0: 00 00 00 00 00 00 00 00 : ff ff ff ff 00 00 00 00 + + + +PHY data for interface: TenGigE0/0/0/4 + +SFP EEPROM port: 4 + Xcvr Type: SFP + Xcvr Code: SFP-10G-SR + Encoding: 64B66B + Bit Rate: 10300 Mbps + Link Reach 50u fiber: 80 meter + Link Reach 62.5u fiber: 20 meter + Vendor Name: CISCO-FINISAR + Vendor OUI: 00.90.65 + Vendor Part Number: FTLX8571D3BCL-C2 (rev.: A ) + Laser wavelength: 850 nm (fraction: 0.00 nm) + Optional SFP Signal: Tx_Disable, Tx_Fault, LOS + Vendor Serial Number: FNS17231KZU + Date Code (yy/mm/dd): 13/06/06 lot code: + Diagnostic Monitoring: DOM, Int. Cal., + Enhanced Options: Alarm/Warning Flags + +MSA Data +0x0000: 03 04 07 10 00 00 00 00 : 00 00 00 06 67 00 00 00 +0x0010: 08 02 00 1e 43 49 53 43 : 4f 2d 46 49 4e 49 53 41 +0x0020: 52 20 20 20 00 00 90 65 : 46 54 4c 58 38 35 37 31 +0x0030: 44 33 42 43 4c 2d 43 32 : 41 20 20 20 03 52 00 a5 +0x0040: 00 1a 00 00 46 4e 53 31 : 37 32 33 31 4b 5a 55 20 +0x0050: 20 20 20 20 31 33 30 36 : 30 36 20 20 68 80 03 f4 +0x0060: 00 00 02 61 e7 86 6e be : 16 35 ef 18 50 08 c7 78 +0x0070: 28 bc 3c 00 00 00 00 00 : 00 00 00 00 e5 04 00 95 + + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.135 Volt 2.970 Volt + Bias: 11.800 mAmps 10.800 mAmps 5.000 mAmps 4.000 mAmps + Transmit Power: 1.47910 mW (1.69998 dBm) 0.74130 mW (-1.30006 dBm) 0.18620 mW (-7.30020 dBm) 0.07410 mW (-11.30182 dBm) + Receive Power: 1.58490 mW (2.00002 dBm) 0.79430 mW (-1.00015 dBm) 0.10230 mW (-9.90124 dBm) 0.04070 mW (-13.90406 dBm) + Temperature: 32.152 + Voltage: 3.264 Volt + Tx Bias: 7.904 mAmps + Tx Power: 0.59180 mW (-2.27825 dBm) + Rx Power: 0.45310 mW (-3.43806 dBm) + Oper. Status/Control: +EEPROM Memory (A2 lower) +0x0100: 4b 00 fb 00 46 00 00 00 : 8d cc 74 04 87 5a 7a 76 +0x0110: 17 0c 07 d0 15 18 09 c4 : 39 c7 02 e5 1c f5 07 46 +0x0120: 3d e9 01 97 1f 07 03 ff : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0140: 00 00 00 00 3f 80 00 00 : 00 00 00 00 01 00 00 00 +0x0150: 01 00 00 00 01 00 00 00 : 01 00 00 00 00 00 00 10 +0x0160: 20 27 7f 83 0f 70 17 1e : 11 b3 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : ff ff ff ff ff ff ff 01 + + CLEI Code: COUIA8NCAA + Part Number: 10-2415-03 (ver.: V03 ) + Temp/Alarm/Power Flags: COM, commercial 0C to 70C + Minimum Temperature: 0 + Maximum Temperature: 70 + Calibration Constants: + Product Id: SFP-10G-SR +EEPROM Memory (A2 upper) +0x0180: 43 4f 55 49 41 38 4e 43 : 41 41 31 30 2d 32 34 31 +0x0190: 35 2d 30 33 56 30 33 20 : 01 00 46 00 00 00 00 c6 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x01c0: 53 46 50 2d 31 30 47 2d : 53 52 20 20 20 20 20 20 +0x01d0: 20 20 20 20 32 33 00 00 : 00 00 00 00 00 00 00 35 +0x01e0: 15 1a 20 24 2a 30 20 30 : 00 00 00 00 00 00 00 00 +0x01f0: 00 00 00 00 00 1d 00 00 : ff ff ff ff 00 00 00 00 + + + +PHY data for interface: TenGigE0/0/0/5 + +SFP EEPROM port: 5 + Xcvr Type: SFP + Xcvr Code: SFP-10G-SR + Encoding: 64B66B + Bit Rate: 10300 Mbps + Link Reach 50u fiber: 80 meter + Link Reach 62.5u fiber: 20 meter + Vendor Name: CISCO-FINISAR + Vendor OUI: 00.90.65 + Vendor Part Number: FTLX8571D3BCL-C2 (rev.: A ) + Laser wavelength: 850 nm (fraction: 0.00 nm) + Optional SFP Signal: Tx_Disable, Tx_Fault, LOS + Vendor Serial Number: FNS17231KZ7 + Date Code (yy/mm/dd): 13/06/06 lot code: + Diagnostic Monitoring: DOM, Int. Cal., + Enhanced Options: Alarm/Warning Flags + +MSA Data +0x0000: 03 04 07 10 00 00 00 00 : 00 00 00 06 67 00 00 00 +0x0010: 08 02 00 1e 43 49 53 43 : 4f 2d 46 49 4e 49 53 41 +0x0020: 52 20 20 20 00 00 90 65 : 46 54 4c 58 38 35 37 31 +0x0030: 44 33 42 43 4c 2d 43 32 : 41 20 20 20 03 52 00 a5 +0x0040: 00 1a 00 00 46 4e 53 31 : 37 32 33 31 4b 5a 37 20 +0x0050: 20 20 20 20 31 33 30 36 : 30 36 20 20 68 80 03 d6 +0x0060: 00 00 02 6d 9a 90 34 05 : 5a 2b de b4 22 a8 95 6b +0x0070: 4c b4 d5 00 00 00 00 00 : 00 00 00 00 b6 4c a5 80 + + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.135 Volt 2.970 Volt + Bias: 11.800 mAmps 10.800 mAmps 5.000 mAmps 4.000 mAmps + Transmit Power: 1.47910 mW (1.69998 dBm) 0.74130 mW (-1.30006 dBm) 0.18620 mW (-7.30020 dBm) 0.07410 mW (-11.30182 dBm) + Receive Power: 1.58490 mW (2.00002 dBm) 0.79430 mW (-1.00015 dBm) 0.10230 mW (-9.90124 dBm) 0.04070 mW (-13.90406 dBm) + Temperature: 30.563 + Voltage: 3.258 Volt + Tx Bias: 7.876 mAmps + Tx Power: 0.64740 mW (-1.88827 dBm) + Rx Power: 0.56550 mW (-2.47567 dBm) + Oper. Status/Control: +EEPROM Memory (A2 lower) +0x0100: 4b 00 fb 00 46 00 00 00 : 8d cc 74 04 87 5a 7a 76 +0x0110: 17 0c 07 d0 15 18 09 c4 : 39 c7 02 e5 1c f5 07 46 +0x0120: 3d e9 01 97 1f 07 03 ff : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0140: 00 00 00 00 3f 80 00 00 : 00 00 00 00 01 00 00 00 +0x0150: 01 00 00 00 01 00 00 00 : 01 00 00 00 00 00 00 10 +0x0160: 1e 90 7f 45 0f 62 19 4a : 16 17 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : ff ff ff ff ff ff ff 01 + + CLEI Code: COUIA8NCAA + Part Number: 10-2415-03 (ver.: V03 ) + Temp/Alarm/Power Flags: COM, commercial 0C to 70C + Minimum Temperature: 0 + Maximum Temperature: 70 + Calibration Constants: + Product Id: SFP-10G-SR +EEPROM Memory (A2 upper) +0x0180: 43 4f 55 49 41 38 4e 43 : 41 41 31 30 2d 32 34 31 +0x0190: 35 2d 30 33 56 30 33 20 : 01 00 46 00 00 00 00 c6 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x01c0: 53 46 50 2d 31 30 47 2d : 53 52 20 20 20 20 20 20 +0x01d0: 20 20 20 20 32 33 00 00 : 00 00 00 00 00 00 00 35 +0x01e0: 15 1a 20 24 2a 30 20 30 : 00 00 00 00 00 00 00 00 +0x01f0: 00 00 00 00 00 1d 00 00 : ff ff ff ff 00 00 00 00 + + + +PHY data for interface: TenGigE0/0/0/6 + +SFP EEPROM port: 6 + Xcvr Type: SFP + Xcvr Code: SFP-10G-SR + Encoding: 64B66B + Bit Rate: 10300 Mbps + Link Reach 50u fiber: 80 meter + Link Reach 62.5u fiber: 20 meter + Vendor Name: CISCO-FINISAR + Vendor OUI: 00.90.65 + Vendor Part Number: FTLX8571D3BCL-C2 (rev.: A ) + Laser wavelength: 850 nm (fraction: 0.00 nm) + Optional SFP Signal: Tx_Disable, Tx_Fault, LOS + Vendor Serial Number: FNS17231KYN + Date Code (yy/mm/dd): 13/06/06 lot code: + Diagnostic Monitoring: DOM, Int. Cal., + Enhanced Options: Alarm/Warning Flags + +MSA Data +0x0000: 03 04 07 10 00 00 00 00 : 00 00 00 06 67 00 00 00 +0x0010: 08 02 00 1e 43 49 53 43 : 4f 2d 46 49 4e 49 53 41 +0x0020: 52 20 20 20 00 00 90 65 : 46 54 4c 58 38 35 37 31 +0x0030: 44 33 42 43 4c 2d 43 32 : 41 20 20 20 03 52 00 a5 +0x0040: 00 1a 00 00 46 4e 53 31 : 37 32 33 31 4b 59 4e 20 +0x0050: 20 20 20 20 31 33 30 36 : 30 36 20 20 68 80 03 ec +0x0060: 00 00 02 b1 f4 73 e5 c3 : 5c aa e2 5c 9c fe 1c 95 +0x0070: 91 98 47 00 00 00 00 00 : 00 00 00 00 ab 24 53 3c + + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.135 Volt 2.970 Volt + Bias: 11.800 mAmps 10.800 mAmps 5.000 mAmps 4.000 mAmps + Transmit Power: 1.47910 mW (1.69998 dBm) 0.74130 mW (-1.30006 dBm) 0.18620 mW (-7.30020 dBm) 0.07410 mW (-11.30182 dBm) + Receive Power: 1.58490 mW (2.00002 dBm) 0.79430 mW (-1.00015 dBm) 0.10230 mW (-9.90124 dBm) 0.04070 mW (-13.90406 dBm) + Temperature: 34.293 + Voltage: 3.240 Volt + Tx Bias: 7.846 mAmps + Tx Power: 0.61560 mW (-2.10701 dBm) + Rx Power: 0.62050 mW (-2.07258 dBm) + Oper. Status/Control: +EEPROM Memory (A2 lower) +0x0100: 4b 00 fb 00 46 00 00 00 : 8d cc 74 04 87 5a 7a 76 +0x0110: 17 0c 07 d0 15 18 09 c4 : 39 c7 02 e5 1c f5 07 46 +0x0120: 3d e9 01 97 1f 07 03 ff : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0140: 00 00 00 00 3f 80 00 00 : 00 00 00 00 01 00 00 00 +0x0150: 01 00 00 00 01 00 00 00 : 01 00 00 00 00 00 00 10 +0x0160: 22 4b 7e 8e 0f 53 18 0c : 18 3d 00 00 00 00 00 00 +0x0170: 00 00 00 00 00 00 00 00 : ff ff ff ff ff ff ff 01 + + CLEI Code: COUIA8NCAA + Part Number: 10-2415-03 (ver.: V03 ) + Temp/Alarm/Power Flags: COM, commercial 0C to 70C + Minimum Temperature: 0 + Maximum Temperature: 70 + Calibration Constants: + Product Id: SFP-10G-SR +EEPROM Memory (A2 upper) +0x0180: 43 4f 55 49 41 38 4e 43 : 41 41 31 30 2d 32 34 31 +0x0190: 35 2d 30 33 56 30 33 20 : 01 00 46 00 00 00 00 c6 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x01c0: 53 46 50 2d 31 30 47 2d : 53 52 20 20 20 20 20 20 +0x01d0: 20 20 20 20 32 33 00 00 : 00 00 00 00 00 00 00 35 +0x01e0: 15 1a 20 24 2a 30 20 30 : 00 00 00 00 00 00 00 00 +0x01f0: 00 00 00 00 00 1d 00 00 : ff ff ff ff 00 00 00 00 + + + +PHY data for interface: TenGigE0/0/0/7 + +SFP EEPROM port: 7 + Xcvr Type: SFP + Xcvr Code: SFP-10G-SR + Encoding: 64B66B + Bit Rate: 10300 Mbps + Link Reach 50u fiber: 80 meter + Link Reach 62.5u fiber: 20 meter + Vendor Name: CISCO-FINISAR + Vendor OUI: 00.90.65 + Vendor Part Number: FTLX8571D3BCL-C2 (rev.: A ) + Laser wavelength: 850 nm (fraction: 0.00 nm) + Optional SFP Signal: Tx_Disable, Tx_Fault, LOS + Vendor Serial Number: FNS17231KYF + Date Code (yy/mm/dd): 13/06/06 lot code: + Diagnostic Monitoring: DOM, Int. Cal., + Enhanced Options: Alarm/Warning Flags + +MSA Data +0x0000: 03 04 07 10 00 00 00 00 : 00 00 00 06 67 00 00 00 +0x0010: 08 02 00 1e 43 49 53 43 : 4f 2d 46 49 4e 49 53 41 +0x0020: 52 20 20 20 00 00 90 65 : 46 54 4c 58 38 35 37 31 +0x0030: 44 33 42 43 4c 2d 43 32 : 41 20 20 20 03 52 00 a5 +0x0040: 00 1a 00 00 46 4e 53 31 : 37 32 33 31 4b 59 46 20 +0x0050: 20 20 20 20 31 33 30 36 : 30 36 20 20 68 80 03 e4 +0x0060: 00 00 02 92 fe 63 74 2e : 97 52 42 36 a9 62 00 68 +0x0070: 2e 2a 5f 00 00 00 00 00 : 00 00 00 00 8b 7d 0c 6e + + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.135 Volt 2.970 Volt + Bias: 11.800 mAmps 10.800 mAmps 5.000 mAmps 4.000 mAmps + Transmit Power: 1.47910 mW (1.69998 dBm) 0.74130 mW (-1.30006 dBm) 0.18620 mW (-7.30020 dBm) 0.07410 mW (-11.30182 dBm) + Receive Power: 1.58490 mW (2.00002 dBm) 0.79430 mW (-1.00015 dBm) 0.10230 mW (-9.90124 dBm) 0.04070 mW (-13.90406 dBm) + Temperature: 34.387 + Voltage: 3.278 Volt + Tx Bias: 0.152 mAmps + Tx Power: 0.05760 mW (-12.39578 dBm) + Rx Power: 0.000 mW (<-40.00 dBm) + Oper. Status/Control: Tx Disabled, LOS, +EEPROM Memory (A2 lower) +0x0100: 4b 00 fb 00 46 00 00 00 : 8d cc 74 04 87 5a 7a 76 +0x0110: 17 0c 07 d0 15 18 09 c4 : 39 c7 02 e5 1c f5 07 46 +0x0120: 3d e9 01 97 1f 07 03 ff : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0140: 00 00 00 00 3f 80 00 00 : 00 00 00 00 01 00 00 00 +0x0150: 01 00 00 00 01 00 00 00 : 01 00 00 00 00 00 00 10 +0x0160: 22 63 80 09 00 4c 02 40 : 00 00 00 00 00 00 82 00 +0x0170: 05 40 00 00 05 40 00 00 : ff ff ff ff ff ff ff 01 + + CLEI Code: COUIA8NCAA + Part Number: 10-2415-03 (ver.: V03 ) + Temp/Alarm/Power Flags: COM, commercial 0C to 70C + Minimum Temperature: 0 + Maximum Temperature: 70 + Calibration Constants: + Product Id: SFP-10G-SR +EEPROM Memory (A2 upper) +0x0180: 43 4f 55 49 41 38 4e 43 : 41 41 31 30 2d 32 34 31 +0x0190: 35 2d 30 33 56 30 33 20 : 01 00 46 00 00 00 00 c6 +0x01a0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x01b0: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 aa aa +0x01c0: 53 46 50 2d 31 30 47 2d : 53 52 20 20 20 20 20 20 +0x01d0: 20 20 20 20 32 33 00 00 : 00 00 00 00 00 00 00 35 +0x01e0: 15 1a 20 24 2a 30 20 30 : 00 00 00 00 00 00 00 00 +0x01f0: 00 00 00 00 00 1d 00 00 : ff ff ff ff 00 00 00 00 + + + +PHY data for interface: TenGigE0/0/0/8 + +SFP EEPROM port: 8 + Xcvr Type: SFP + Xcvr Code: SFP-10G-SR + Encoding: 64B66B + Bit Rate: 10300 Mbps + Link Reach 50u fiber: 80 meter + Link Reach 62.5u fiber: 20 meter + Vendor Name: CISCO-FINISAR + Vendor OUI: 00.90.65 + Vendor Part Number: FTLX8571D3BCL-C2 (rev.: A ) + Laser wavelength: 850 nm (fraction: 0.00 nm) + Optional SFP Signal: Tx_Disable, Tx_Fault, LOS + Vendor Serial Number: FNS17231KZG + Date Code (yy/mm/dd): 13/06/06 lot code: + Diagnostic Monitoring: DOM, Int. Cal., + Enhanced Options: Alarm/Warning Flags + +MSA Data +0x0000: 03 04 07 10 00 00 00 00 : 00 00 00 06 67 00 00 00 +0x0010: 08 02 00 1e 43 49 53 43 : 4f 2d 46 49 4e 49 53 41 +0x0020: 52 20 20 20 00 00 90 65 : 46 54 4c 58 38 35 37 31 +0x0030: 44 33 42 43 4c 2d 43 32 : 41 20 20 20 03 52 00 a5 +0x0040: 00 1a 00 00 46 4e 53 31 : 37 32 33 31 4b 5a 47 20 +0x0050: 20 20 20 20 31 33 30 36 : 30 36 20 20 68 80 03 e6 +0x0060: 00 00 02 3e c6 30 bb 72 : 52 c4 39 8f 04 21 07 b0 +0x0070: cc 72 75 00 00 00 00 00 : 00 00 00 00 60 af 93 d2 + + Thresholds: Alarm High Warning High Warning Low Alarm Low + Temperature: +75.000 C +70.000 C +0.000 C -5.000 C + Voltage: 3.630 Volt 3.465 Volt 3.135 Volt 2.970 Volt + Bias: 11.800 mAmps 10.800 mAmps 5.000 mAmps 4.000 mAmps + Transmit Power: 1.47910 mW (1.69998 dBm) 0.74130 mW (-1.30006 dBm) 0.18620 mW (-7.30020 dBm) 0.07410 mW (-11.30182 dBm) + Receive Power: 1.58490 mW (2.00002 dBm) 0.79430 mW (-1.00015 dBm) 0.10230 mW (-9.90124 dBm) 0.04070 mW (-13.90406 dBm) + Temperature: 33.723 + Voltage: 3.277 Volt + Tx Bias: 0.000 mAmps + Tx Power: 0.00530 mW (-22.75724 dBm) + Rx Power: 0.000 mW (<-40.00 dBm) + Oper. Status/Control: Tx Disabled, LOS, +EEPROM Memory (A2 lower) +0x0100: 4b 00 fb 00 46 00 00 00 : 8d cc 74 04 87 5a 7a 76 +0x0110: 17 0c 07 d0 15 18 09 c4 : 39 c7 02 e5 1c f5 07 46 +0x0120: 3d e9 01 97 1f 07 03 ff : 00 00 00 00 00 00 00 00 +0x0130: 00 00 00 00 00 00 00 00 : 00 00 00 00 00 00 00 00 +0x0140: 00 00 00 00 3f 80 00 00 : 00 00 00 00 01 00 00 00 +0x0150: 01 00 00 00 01 00 00 00 : 01 00 00 00 00 00 00 10 +0x0160: 21 b9 80 02 00 00 00 35 : 00 00 00 00 00 00 82 00 +0x0170: 05 40 00 00 05 40 00 00 : ff ff ff ff ff ff ff 01 From 3271dde77972ec0ae8ea50851fcf618a4591cd82 Mon Sep 17 00:00:00 2001 From: Ivan Sinyagovskiy Date: Wed, 19 Dec 2018 12:13:13 +0300 Subject: [PATCH 232/628] XR SHOW DROPS NP ALL: Add new template --- templates/cisco_xr_show_drops_np_all.template | 171 ++ templates/index | 1 + .../cisco_xr_show_drops_np_all.parsed | 1219 +++++++++ .../cisco_xr_show_drops_np_all.raw | 99 + .../cisco_xr_show_drops_np_all2.parsed | 1219 +++++++++ .../cisco_xr_show_drops_np_all2.raw | 105 + .../cisco_xr_show_drops_np_all3.parsed | 2283 +++++++++++++++++ .../cisco_xr_show_drops_np_all3.raw | 244 ++ 8 files changed, 5341 insertions(+) create mode 100644 templates/cisco_xr_show_drops_np_all.template create mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed create mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.raw create mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed create mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.raw create mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed create mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.raw diff --git a/templates/cisco_xr_show_drops_np_all.template b/templates/cisco_xr_show_drops_np_all.template new file mode 100644 index 0000000000..c605bb628d --- /dev/null +++ b/templates/cisco_xr_show_drops_np_all.template @@ -0,0 +1,171 @@ +Value Filldown LOCATION (\S+) +Value NP (\d+) +Value BFD_NEIGHBOR_DROP (\d+) +Value BFD_REMOTE_PUNT_DISC_0_DROP (\d+) +Value DROP_FRM_CRC_ERR_ILKN0 (\d+) +Value DROP_FRM_CRC_ERR_ILKN1 (\d+) +Value DROP_FRM_CRC_ERR_ILKN2 (\d+) +Value DROP_FRM_CRC_ERR_SGMII0 (\d+) +Value DROP_FRM_CRC_ERR_SGMII1 (\d+) +Value DROP_FRM_CRC_ERR_SGMII2 (\d+) +Value DROP_FRM_CRC_ERR_SGMII3 (\d+) +Value DROP_FRM_CRC_ERR_XAUI4 (\d+) +Value DROP_FRM_CRC_ERR_XAUI5 (\d+) +Value DROP_FRM_CRC_ERR_XAUI6 (\d+) +Value DROP_FRM_FRM_ERR_ILKN0 (\d+) +Value DROP_FRM_FRM_ERR_ILKN1 (\d+) +Value DROP_FRM_FRM_ERR_ILKN2 (\d+) +Value DROP_FRM_FRM_ERR_SGMII0 (\d+) +Value DROP_FRM_FRM_ERR_SGMII1 (\d+) +Value DROP_FRM_FRM_ERR_SGMII2 (\d+) +Value DROP_FRM_FRM_ERR_SGMII3 (\d+) +Value DROP_FRM_FRM_ERR_XAUI4 (\d+) +Value DROP_FRM_FRM_ERR_XAUI5 (\d+) +Value DROP_FRM_FRM_ERR_XAUI6 (\d+) +Value DROP_FRM_RUNT (\d+) +Value IPV4_BFD_EXCD (\d+) +Value IPV4_FRAG_NEEDED_PUNT_EXCD (\d+) +Value IPV4_TTL_ERROR_EXCD (\d+) +Value MDF_PUNT_POLICE_DROP (\d+) +Value MDF_RPF_FAIL_DROP (\d+) +Value MODIFY_PUNT_REASON_MISS_DROP (\d+) +Value MPLS_TTL_ONE_PUNT_EXCD (\d+) +Value NP_SECTION (\d+) +Value PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0 (\d+) +Value PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1 (\d+) +Value PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0_MONITOR (\d+) +Value PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1_MONITOR (\d+) +Value PARSE_DROP_IN_UIDB_DOWN (\d+) +Value PARSE_DROP_IN_UIDB_TCAM_MISS (\d+) +Value PARSE_DROP_IPV4_DISABLED (\d+) +Value PARSE_DROP_IPV4_LENGTH_ERROR (\d+) +Value PARSE_DROP_IPV4_CHECKSUM_ERROR (\d+) +Value PARSE_EGR_INJ_PKT_TYP_UNKNOWN (\d+) +Value PARSE_L3_TAGGED_PUNT_DROP (\d+) +Value PARSE_OPEN_NETWORK_SERVICE_KEY_ACTION_UNKNOWN (\d+) +Value PARSE_UNKNOWN_NPH_TYPE_DROP (\d+) +Value PUNT_ADJ_EXCD (\d+) +Value PUNT_IFIB_OSPF_OPT_EXCD (\d+) +Value PUNT_IPV4_ADJ_NULL_RTE_EXCD (\d+) +Value PUNT_NO_MATCH_EXCD (\d+) +Value PUNT_STATISTICS_EXCD (\d+) +Value RSV_DROP_EGR_LAG_NO_MATCH (\d+) +Value RSV_DROP_EGR_UIDB_DOWN (\d+) +Value RSV_DROP_EGR_UIDB_NO_MATCH (\d+) +Value RSV_DROP_IFIB_TTL_CHECK (\d+) +Value RSV_DROP_IN_L3_NOT_MYMAC (\d+) +Value RSV_DROP_ING_BFD (\d+) +Value RSV_DROP_IPM4_EGR_FILTER_DROP (\d+) +Value RSV_DROP_IPM4_EGR_RPF_FAIL_DROP (\d+) +Value RSV_DROP_IPM4_EGR_TTL_DROP (\d+) +Value RSV_DROP_IPM4_NO_OLIST (\d+) +Value RSV_DROP_IPM4_NO_OLIST_REP (\d+) +Value RSV_DROP_IPV4_DROP_NULL_RTE (\d+) +Value RSV_DROP_IPV4_NRLDI_NOT_LOCAL (\d+) +Value RSV_DROP_IPV4_RXADJ_DROP (\d+) +Value RSV_DROP_IPV4_TXADJ_NO_MATCH (\d+) +Value RSV_DROP_MPLS_LEAF_NO_MATCH (\d+) +Value RSV_DROP_MPLS_LEAF_NO_MATCH_MONITOR (\d+) +Value RSV_DROP_MPLS_NRLDI_NO_MATCH (\d+) +Value RSV_DROP_MPLS_NRLDI_NOT_LOCAL (\d+) +Value RSV_DROP_MPLS_RXADJ_DROP (\d+) +Value RSV_DROP_MPLS_TXADJ_NO_MATCH (\d+) +Value RSV_DROP_NHINDEX (\d+) +Value RSV_EGR_LAG_NOT_LOCAL_DROP_CNT (\d+) +Value RSV_MLDP_EGR_DROP (\d+) +Value UNKNOWN_L2_ON_L3_DISCARD (\d+) + +Start + ^\s*Node: ${LOCATION}: + ^\-+ + ^\s+$$ + ^$$ + ^No NP ${NP} Drops -> NO_NP_DROPS_HEADER + ^NP ${NP} Drops: -> NP_HEADER + ^.* -> Error "LINE NOT FOUND" + +NO_NP_DROPS_HEADER + ^\-+ -> Record Start + +NP_HEADER + ^\-+ -> NP_SECTION + +NP_SECTION + ^BFD_NEIGHBOR_DROP +${BFD_NEIGHBOR_DROP} + ^BFD_REMOTE_PUNT_DISC_0_DROP +${BFD_REMOTE_PUNT_DISC_0_DROP} + ^DROP_FRM_CRC_ERR_ILKN0 +${DROP_FRM_CRC_ERR_ILKN0} + ^DROP_FRM_CRC_ERR_ILKN1 +${DROP_FRM_CRC_ERR_ILKN1} + ^DROP_FRM_CRC_ERR_ILKN2 +${DROP_FRM_CRC_ERR_ILKN2} + ^DROP_FRM_CRC_ERR_SGMII0 +${DROP_FRM_CRC_ERR_SGMII0} + ^DROP_FRM_CRC_ERR_SGMII1 +${DROP_FRM_CRC_ERR_SGMII1} + ^DROP_FRM_CRC_ERR_SGMII2 +${DROP_FRM_CRC_ERR_SGMII2} + ^DROP_FRM_CRC_ERR_SGMII3 +${DROP_FRM_CRC_ERR_SGMII3} + ^DROP_FRM_CRC_ERR_XAUI4 +${DROP_FRM_CRC_ERR_XAUI4} + ^DROP_FRM_CRC_ERR_XAUI5 +${DROP_FRM_CRC_ERR_XAUI5} + ^DROP_FRM_CRC_ERR_XAUI6 +${DROP_FRM_CRC_ERR_XAUI6} + ^DROP_FRM_FRM_ERR_ILKN0 +${DROP_FRM_FRM_ERR_ILKN0} + ^DROP_FRM_FRM_ERR_ILKN1 +${DROP_FRM_FRM_ERR_ILKN1} + ^DROP_FRM_FRM_ERR_ILKN2 +${DROP_FRM_FRM_ERR_ILKN2} + ^DROP_FRM_FRM_ERR_SGMII0 +${DROP_FRM_FRM_ERR_SGMII0} + ^DROP_FRM_FRM_ERR_SGMII1 +${DROP_FRM_FRM_ERR_SGMII1} + ^DROP_FRM_FRM_ERR_SGMII2 +${DROP_FRM_FRM_ERR_SGMII2} + ^DROP_FRM_FRM_ERR_SGMII3 +${DROP_FRM_FRM_ERR_SGMII3} + ^DROP_FRM_FRM_ERR_XAUI4 +${DROP_FRM_FRM_ERR_XAUI4} + ^DROP_FRM_FRM_ERR_XAUI5 +${DROP_FRM_FRM_ERR_XAUI5} + ^DROP_FRM_FRM_ERR_XAUI6 +${DROP_FRM_FRM_ERR_XAUI6} + ^DROP_FRM_RUNT +${DROP_FRM_RUNT} + ^IPV4_BFD_EXCD +${IPV4_BFD_EXCD} + ^IPV4_FRAG_NEEDED_PUNT_EXCD +${IPV4_FRAG_NEEDED_PUNT_EXCD} + ^IPV4_TTL_ERROR_EXCD +${IPV4_TTL_ERROR_EXCD} + ^MDF_PUNT_POLICE_DROP +${MDF_PUNT_POLICE_DROP} + ^MDF_RPF_FAIL_DROP +${MDF_RPF_FAIL_DROP} + ^MODIFY_PUNT_REASON_MISS_DROP +${MODIFY_PUNT_REASON_MISS_DROP} + ^MPLS_TTL_ONE_PUNT_EXCD +${MPLS_TTL_ONE_PUNT_EXCD} + ^NP_SECTION +${NP_SECTION} + ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0 +${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0} + ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1 +${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1} + ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0_MONITOR +${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0_MONITOR} + ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1_MONITOR +${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1_MONITOR} + ^PARSE_DROP_IN_UIDB_DOWN +${PARSE_DROP_IN_UIDB_DOWN} + ^PARSE_DROP_IN_UIDB_TCAM_MISS +${PARSE_DROP_IN_UIDB_TCAM_MISS} + ^PARSE_DROP_IPV4_DISABLED +${PARSE_DROP_IPV4_DISABLED} + ^PARSE_DROP_IPV4_CHECKSUM_ERROR +${PARSE_DROP_IPV4_CHECKSUM_ERROR} + ^PARSE_DROP_IPV4_LENGTH_ERROR +${PARSE_DROP_IPV4_LENGTH_ERROR} + ^PARSE_L3_TAGGED_PUNT_DROP +${PARSE_L3_TAGGED_PUNT_DROP} + ^PARSE_OPEN_NETWORK_SERVICE_KEY_ACTION_UNKNOWN +${PARSE_OPEN_NETWORK_SERVICE_KEY_ACTION_UNKNOWN} + ^PARSE_EGR_INJ_PKT_TYP_UNKNOWN +${PARSE_EGR_INJ_PKT_TYP_UNKNOWN} + ^PARSE_UNKNOWN_NPH_TYPE_DROP +${PARSE_UNKNOWN_NPH_TYPE_DROP} + ^PUNT_ADJ_EXCD +${PUNT_ADJ_EXCD} + ^PUNT_IFIB_OSPF_OPT_EXCD +${PUNT_IFIB_OSPF_OPT_EXCD} + ^PUNT_IPV4_ADJ_NULL_RTE_EXCD +${PUNT_IPV4_ADJ_NULL_RTE_EXCD} + ^PUNT_NO_MATCH_EXCD +${PUNT_NO_MATCH_EXCD} + ^PUNT_STATISTICS_EXCD +${PUNT_STATISTICS_EXCD} + ^RSV_DROP_EGR_LAG_NO_MATCH +${RSV_DROP_EGR_LAG_NO_MATCH} + ^RSV_DROP_EGR_UIDB_DOWN +${RSV_DROP_EGR_UIDB_DOWN} + ^RSV_DROP_EGR_UIDB_NO_MATCH +${RSV_DROP_EGR_UIDB_NO_MATCH} + ^RSV_DROP_IFIB_TTL_CHECK +${RSV_DROP_IFIB_TTL_CHECK} + ^RSV_DROP_IN_L3_NOT_MYMAC +${RSV_DROP_IN_L3_NOT_MYMAC} + ^RSV_DROP_ING_BFD +${RSV_DROP_ING_BFD} + ^RSV_DROP_IPM4_EGR_FILTER_DROP +${RSV_DROP_IPM4_EGR_FILTER_DROP} + ^RSV_DROP_IPM4_EGR_RPF_FAIL_DROP +${RSV_DROP_IPM4_EGR_RPF_FAIL_DROP} + ^RSV_DROP_IPM4_EGR_TTL_DROP +${RSV_DROP_IPM4_EGR_TTL_DROP} + ^RSV_DROP_IPM4_NO_OLIST +${RSV_DROP_IPM4_NO_OLIST} + ^RSV_DROP_IPM4_NO_OLIST_REP +${RSV_DROP_IPM4_NO_OLIST_REP} + ^RSV_DROP_IPV4_DROP_NULL_RTE +${RSV_DROP_IPV4_DROP_NULL_RTE} + ^RSV_DROP_IPV4_NRLDI_NOT_LOCAL +${RSV_DROP_IPV4_NRLDI_NOT_LOCAL} + ^RSV_DROP_IPV4_RXADJ_DROP +${RSV_DROP_IPV4_RXADJ_DROP} + ^RSV_DROP_IPV4_TXADJ_NO_MATCH +${RSV_DROP_IPV4_TXADJ_NO_MATCH} + ^RSV_DROP_MPLS_LEAF_NO_MATCH +${RSV_DROP_MPLS_LEAF_NO_MATCH} + ^RSV_DROP_MPLS_LEAF_NO_MATCH_MONITOR +${RSV_DROP_MPLS_LEAF_NO_MATCH_MONITOR} + ^RSV_DROP_MPLS_NRLDI_NO_MATCH +${RSV_DROP_MPLS_NRLDI_NO_MATCH} + ^RSV_DROP_MPLS_NRLDI_NOT_LOCAL +${RSV_DROP_MPLS_NRLDI_NOT_LOCAL} + ^RSV_DROP_MPLS_RXADJ_DROP +${RSV_DROP_MPLS_RXADJ_DROP} + ^RSV_DROP_MPLS_TXADJ_NO_MATCH +${RSV_DROP_MPLS_TXADJ_NO_MATCH} + ^RSV_DROP_NHINDEX +${RSV_DROP_NHINDEX} + ^RSV_EGR_LAG_NOT_LOCAL_DROP_CNT +${RSV_EGR_LAG_NOT_LOCAL_DROP_CNT} + ^RSV_MLDP_EGR_DROP +${RSV_MLDP_EGR_DROP} + ^UNKNOWN_L2_ON_L3_DISCARD +${UNKNOWN_L2_ON_L3_DISCARD} + ^\-+ -> Record Start + ^.* -> Error "LINE NOT FOUND" + +EOF diff --git a/templates/index b/templates/index index 63fd9cd849..b352a9c03a 100644 --- a/templates/index +++ b/templates/index @@ -251,6 +251,7 @@ cisco_xr_show_bgp_neighbors.template, .*, cisco_xr, sh[[ow]] bg[[p]] nei[[ghbors cisco_xr_show_ospf_neighbor.template, .*, cisco_xr, sh[[ow]] ospf nei[[ghbor]] cisco_xr_show_processes_cpu.template, .*, cisco_xr, sh[[ow]] proc[[esses]] c[[pu]] cisco_xr_show_bfd_sessions.template, .*, cisco_xr, sh[[ow]] bf[[d]] sess[[ions]] +cisco_xr_show_drops_np_all.template, .*, cisco_xr, sh[[ow]] drops np all cisco_xr_show_pim_neighbor.template, .*, cisco_xr, sh[[ow]] pi[[m]] neigh[[bor]] cisco_xr_show_controllers.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] (\S+) phy cisco_xr_show_interfaces.template, .*, cisco_xr, sh[[ow]] inte[[rfaces]] diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed new file mode 100644 index 0000000000..1ee6849ed0 --- /dev/null +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed @@ -0,0 +1,1219 @@ +--- +parsed_sample: + +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '145951854' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '0' + np_section: '' + parse_drop_in_uidb_down: '13' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '84' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '75' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '1' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '1' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '13' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '3' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '1' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '2' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '3' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '4' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '5' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '6' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '7' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '0' + np_section: '' + parse_drop_in_uidb_down: '15' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '88' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '3' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '9' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '949' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '24' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '1' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '2' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '3' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '4' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '5' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '6' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '7' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.raw b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.raw new file mode 100644 index 0000000000..e3acd26c72 --- /dev/null +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.raw @@ -0,0 +1,99 @@ +Node: 0/0/CPU0: +---------------------------------------------------------------- + +NP 0 Drops: +---------------------------------------------------------------- +RSV_DROP_ING_BFD 1 +RSV_DROP_MPLS_TXADJ_NO_MATCH 13 +RSV_DROP_MPLS_LEAF_NO_MATCH 1 +RSV_MLDP_EGR_DROP 3 +MDF_RPF_FAIL_DROP 145951854 +MODIFY_PUNT_REASON_MISS_DROP 3 +PARSE_EGR_INJ_PKT_TYP_UNKNOWN 75 +PARSE_DROP_IN_UIDB_DOWN 13 +PARSE_DROP_IPV4_DISABLED 84 +---------------------------------------------------------------- + +NP 1 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 2 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 2 +---------------------------------------------------------------- + +NP 3 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 4 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 5 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 6 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 7 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + + Node: 0/7/CPU0: +---------------------------------------------------------------- + +NP 0 Drops: +---------------------------------------------------------------- +RSV_DROP_ING_BFD 9 +RSV_DROP_EGR_UIDB_DOWN 3 +RSV_DROP_MPLS_TXADJ_NO_MATCH 24 +RSV_DROP_MPLS_LEAF_NO_MATCH 949 +MODIFY_PUNT_REASON_MISS_DROP 2 +PARSE_DROP_IN_UIDB_DOWN 15 +PARSE_DROP_IPV4_DISABLED 88 +---------------------------------------------------------------- + +NP 1 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 2 +---------------------------------------------------------------- + +NP 2 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 3 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 4 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 5 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 6 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 2 +---------------------------------------------------------------- + +NP 7 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- \ No newline at end of file diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed new file mode 100644 index 0000000000..7784e6f99d --- /dev/null +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed @@ -0,0 +1,1219 @@ +--- +parsed_sample: + +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '0' + np_section: '' + parse_drop_in_uidb_down: '14' + parse_drop_in_uidb_tcam_miss: '388' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '106' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '4329' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '3' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '34' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '148' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '1' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '384' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '3472' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '2' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '3' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '4' + mpls_ttl_one_punt_excd: '' + np: '4' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '5' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '6' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '7' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '1' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '362' + mdf_rpf_fail_drop: '146019781' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '0' + np_section: '' + parse_drop_in_uidb_down: '27' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '163' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '362' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '1' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '256' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '124' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '36' + rsv_drop_nhindex: '1' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '4' + mpls_ttl_one_punt_excd: '' + np: '1' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '2' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '4' + mpls_ttl_one_punt_excd: '' + np: '3' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '4' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '5' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '4' + mpls_ttl_one_punt_excd: '' + np: '6' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '4' + mpls_ttl_one_punt_excd: '' + np: '7' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.raw b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.raw new file mode 100644 index 0000000000..344f859e3a --- /dev/null +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.raw @@ -0,0 +1,105 @@ +Node: 0/0/CPU0: +---------------------------------------------------------------- + +NP 0 Drops: +---------------------------------------------------------------- +RSV_DROP_ING_BFD 3 +RSV_DROP_MPLS_TXADJ_NO_MATCH 148 +RSV_DROP_MPLS_LEAF_NO_MATCH 34 +MODIFY_PUNT_REASON_MISS_DROP 2 +PARSE_EGR_INJ_PKT_TYP_UNKNOWN 4329 +PARSE_DROP_IN_UIDB_TCAM_MISS 388 +PARSE_DROP_IN_UIDB_DOWN 14 +PARSE_DROP_IPV4_DISABLED 106 +---------------------------------------------------------------- + +NP 1 Drops: +---------------------------------------------------------------- +RSV_DROP_IPV4_NRLDI_NOT_LOCAL 3472 +MODIFY_PUNT_REASON_MISS_DROP 2 +PARSE_DROP_IN_UIDB_TCAM_MISS 384 +---------------------------------------------------------------- + +NP 2 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 2 +---------------------------------------------------------------- + +NP 3 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 4 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 4 +---------------------------------------------------------------- + +NP 5 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 6 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 7 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + + Node: 0/7/CPU0: +---------------------------------------------------------------- + +NP 0 Drops: +---------------------------------------------------------------- +RSV_DROP_ING_BFD 256 +RSV_DROP_EGR_UIDB_DOWN 1 +RSV_DROP_MPLS_TXADJ_NO_MATCH 36 +RSV_DROP_MPLS_LEAF_NO_MATCH 124 +RSV_DROP_NHINDEX 1 +MDF_RPF_FAIL_DROP 146019781 +MDF_PUNT_POLICE_DROP 362 +MODIFY_PUNT_REASON_MISS_DROP 3 +PUNT_NO_MATCH_EXCD 362 +DROP_FRM_FRM_ERR_XAUI6 1 +PARSE_DROP_IN_UIDB_DOWN 27 +PARSE_DROP_IPV4_DISABLED 163 +---------------------------------------------------------------- + +NP 1 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 4 +---------------------------------------------------------------- + +NP 2 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 3 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 4 +---------------------------------------------------------------- + +NP 4 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 5 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 6 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 4 +---------------------------------------------------------------- + +NP 7 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 4 +---------------------------------------------------------------- \ No newline at end of file diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed new file mode 100644 index 0000000000..674ad019bc --- /dev/null +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed @@ -0,0 +1,2283 @@ +--- +parsed_sample: + +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '' + mpls_ttl_one_punt_excd: '' + np: '0' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '1226' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '10' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '393' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '' + mpls_ttl_one_punt_excd: '' + np: '1' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '' + mpls_ttl_one_punt_excd: '' + np: '2' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '1' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '412' + mdf_rpf_fail_drop: '141' + modify_punt_reason_miss_drop: '' + mpls_ttl_one_punt_excd: '' + np: '3' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '85' + parse_egr_inj_pkt_typ_unknown: '21' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '412' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '779946' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '6' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '393' + unknown_l2_on_l3_discard: '1228075' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '544' + location: 0/0/CPU0 + mdf_punt_police_drop: '71950' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '' + mpls_ttl_one_punt_excd: '' + np: '4' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '1' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '12' + parse_egr_inj_pkt_typ_unknown: '51' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '2439' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '68967' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '' + mpls_ttl_one_punt_excd: '' + np: '5' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '' + mpls_ttl_one_punt_excd: '' + np: '6' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/0/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '' + mpls_ttl_one_punt_excd: '' + np: '7' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '1' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/1/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '0' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '1307' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '372' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '12075529' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '806532' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/1/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '1' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/3/CPU0 + mdf_punt_police_drop: '789' + mdf_rpf_fail_drop: '457084055' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '0' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '13' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '789' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '96' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '47987' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '7' + rsv_drop_mpls_leaf_no_match: '30' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '620' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '1238' + location: 0/3/CPU0 + mdf_punt_police_drop: '1290' + mdf_rpf_fail_drop: '254044' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '1' + np_section: '' + parse_drop_in_uidb_down: '481' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '580' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '52' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '1' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '130' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/3/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '11823176' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '2' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '3' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '2' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '766' + location: 0/3/CPU0 + mdf_punt_police_drop: '766' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '3' + np_section: '' + parse_drop_in_uidb_down: '1' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '1' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '2' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/4/CPU0 + mdf_punt_police_drop: '2715' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '0' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '669' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '2715' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '24' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '32' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '429' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/4/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '1' + np_section: '' + parse_drop_in_uidb_down: '4' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '1' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '5029260' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '173477' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '27550' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/4/CPU0 + mdf_punt_police_drop: '678' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '2' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '678' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '38' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/4/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '3' + np_section: '' + parse_drop_in_uidb_down: '34' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '27' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '52' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '68324' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '52637' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/5/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '0' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '20877' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/5/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '1' + np_section: '' + parse_drop_in_uidb_down: '48' + parse_drop_in_uidb_tcam_miss: '1061' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '394' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '1' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/5/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '2' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '13947' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/5/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '2' + mpls_ttl_one_punt_excd: '' + np: '3' + np_section: '' + parse_drop_in_uidb_down: '46' + parse_drop_in_uidb_tcam_miss: '1068' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '1160' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '7' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '0' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '1' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '4' + mpls_ttl_one_punt_excd: '' + np: '2' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '3' + np_section: '' + parse_drop_in_uidb_down: '3' + parse_drop_in_uidb_tcam_miss: '34' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '9' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '783084' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '110' + location: 0/7/CPU0 + mdf_punt_police_drop: '2471' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '4' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '712' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '2083' + parse_drop_ipv4_length_error: '1' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '2361' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '5' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '4' + mpls_ttl_one_punt_excd: '' + np: '5' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '4' + mpls_ttl_one_punt_excd: '' + np: '6' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' +- bfd_neighbor_drop: '' + bfd_remote_punt_disc_0_drop: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' + ipv4_bfd_excd: '' + ipv4_frag_needed_punt_excd: '' + ipv4_ttl_error_excd: '' + location: 0/7/CPU0 + mdf_punt_police_drop: '' + mdf_rpf_fail_drop: '' + modify_punt_reason_miss_drop: '3' + mpls_ttl_one_punt_excd: '' + np: '7' + np_section: '' + parse_drop_in_uidb_down: '' + parse_drop_in_uidb_tcam_miss: '' + parse_drop_ipv4_checksum_error: '' + parse_drop_ipv4_disabled: '' + parse_drop_ipv4_length_error: '' + parse_egr_inj_pkt_typ_unknown: '' + parse_fast_discard_low_priority_drop_0: '' + parse_fast_discard_low_priority_drop_0_monitor: '' + parse_fast_discard_low_priority_drop_1: '' + parse_fast_discard_low_priority_drop_1_monitor: '' + parse_l3_tagged_punt_drop: '' + parse_open_network_service_key_action_unknown: '' + parse_unknown_nph_type_drop: '' + punt_adj_excd: '' + punt_ifib_ospf_opt_excd: '' + punt_ipv4_adj_null_rte_excd: '' + punt_no_match_excd: '' + punt_statistics_excd: '' + rsv_drop_egr_lag_no_match: '' + rsv_drop_egr_uidb_down: '' + rsv_drop_egr_uidb_no_match: '' + rsv_drop_ifib_ttl_check: '' + rsv_drop_in_l3_not_mymac: '' + rsv_drop_ing_bfd: '' + rsv_drop_ipm4_egr_filter_drop: '' + rsv_drop_ipm4_egr_rpf_fail_drop: '' + rsv_drop_ipm4_egr_ttl_drop: '' + rsv_drop_ipm4_no_olist: '' + rsv_drop_ipm4_no_olist_rep: '' + rsv_drop_ipv4_drop_null_rte: '' + rsv_drop_ipv4_nrldi_not_local: '' + rsv_drop_ipv4_rxadj_drop: '' + rsv_drop_ipv4_txadj_no_match: '' + rsv_drop_mpls_leaf_no_match: '' + rsv_drop_mpls_leaf_no_match_monitor: '' + rsv_drop_mpls_nrldi_no_match: '' + rsv_drop_mpls_nrldi_not_local: '' + rsv_drop_mpls_rxadj_drop: '' + rsv_drop_mpls_txadj_no_match: '' + rsv_drop_nhindex: '' + rsv_egr_lag_not_local_drop_cnt: '' + rsv_mldp_egr_drop: '' + unknown_l2_on_l3_discard: '' diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.raw b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.raw new file mode 100644 index 0000000000..d809b6e2b0 --- /dev/null +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.raw @@ -0,0 +1,244 @@ +Node: 0/0/CPU0: +---------------------------------------------------------------- + +NP 0 Drops: +---------------------------------------------------------------- +RSV_DROP_IPM4_NO_OLIST_REP 1226 +RSV_DROP_MPLS_LEAF_NO_MATCH 10 +RSV_MLDP_EGR_DROP 393 +---------------------------------------------------------------- + +No NP 1 Drops +---------------------------------------------------------------- + +No NP 2 Drops +---------------------------------------------------------------- + +NP 3 Drops: +---------------------------------------------------------------- +RSV_DROP_IPM4_EGR_FILTER_DROP 779946 +RSV_DROP_MPLS_LEAF_NO_MATCH 6 +RSV_MLDP_EGR_DROP 393 +MDF_RPF_FAIL_DROP 141 +MDF_PUNT_POLICE_DROP 412 +PUNT_ADJ_EXCD 412 +DROP_FRM_FRM_ERR_XAUI4 1 +PARSE_EGR_INJ_PKT_TYP_UNKNOWN 21 +PARSE_DROP_IPV4_LENGTH_ERROR 85 +UNKNOWN_L2_ON_L3_DISCARD 1228075 +---------------------------------------------------------------- + +NP 4 Drops: +---------------------------------------------------------------- +MDF_PUNT_POLICE_DROP 71950 +IPV4_TTL_ERROR_EXCD 544 +PUNT_ADJ_EXCD 2439 +PUNT_IPV4_ADJ_NULL_RTE_EXCD 68967 +PARSE_EGR_INJ_PKT_TYP_UNKNOWN 51 +PARSE_DROP_IN_UIDB_TCAM_MISS 1 +PARSE_DROP_IPV4_LENGTH_ERROR 12 +---------------------------------------------------------------- + +No NP 5 Drops +---------------------------------------------------------------- + +No NP 6 Drops +---------------------------------------------------------------- + +No NP 7 Drops +---------------------------------------------------------------- + + Node: 0/1/CPU0: +---------------------------------------------------------------- + +NP 0 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 2 +DROP_FRM_FRM_ERR_SGMII0 1 +PARSE_DROP_IN_UIDB_TCAM_MISS 1307 +PARSE_DROP_IPV4_DISABLED 372 +PARSE_L3_TAGGED_PUNT_DROP 12075529 +UNKNOWN_L2_ON_L3_DISCARD 806532 +---------------------------------------------------------------- + +NP 1 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + + Node: 0/3/CPU0: +---------------------------------------------------------------- + +NP 0 Drops: +---------------------------------------------------------------- +RSV_DROP_EGR_UIDB_DOWN 96 +RSV_DROP_IPV4_TXADJ_NO_MATCH 7 +RSV_DROP_IPM4_EGR_FILTER_DROP 47987 +RSV_DROP_MPLS_LEAF_NO_MATCH 30 +RSV_MLDP_EGR_DROP 620 +MDF_RPF_FAIL_DROP 457084055 +MDF_PUNT_POLICE_DROP 789 +MODIFY_PUNT_REASON_MISS_DROP 2 +PUNT_ADJ_EXCD 789 +PARSE_EGR_INJ_PKT_TYP_UNKNOWN 13 +---------------------------------------------------------------- + +NP 1 Drops: +---------------------------------------------------------------- +RSV_DROP_ING_BFD 130 +RSV_DROP_IFIB_TTL_CHECK 1 +MDF_RPF_FAIL_DROP 254044 +MDF_PUNT_POLICE_DROP 1290 +MODIFY_PUNT_REASON_MISS_DROP 2 +IPV4_TTL_ERROR_EXCD 1238 +PUNT_IPV4_ADJ_NULL_RTE_EXCD 52 +PARSE_DROP_IN_UIDB_DOWN 481 +PARSE_DROP_IPV4_DISABLED 580 +---------------------------------------------------------------- + +NP 2 Drops: +---------------------------------------------------------------- +RSV_DROP_IPM4_EGR_RPF_FAIL_DROP 2 +MDF_RPF_FAIL_DROP 11823176 +MODIFY_PUNT_REASON_MISS_DROP 2 +PARSE_EGR_INJ_PKT_TYP_UNKNOWN 3 +---------------------------------------------------------------- + +NP 3 Drops: +---------------------------------------------------------------- +RSV_DROP_ING_BFD 2 +RSV_DROP_IFIB_TTL_CHECK 1 +MDF_PUNT_POLICE_DROP 766 +MODIFY_PUNT_REASON_MISS_DROP 2 +IPV4_TTL_ERROR_EXCD 766 +PARSE_DROP_IN_UIDB_DOWN 1 +---------------------------------------------------------------- + + Node: 0/4/CPU0: +---------------------------------------------------------------- + +NP 0 Drops: +---------------------------------------------------------------- +RSV_DROP_MPLS_NRLDI_NOT_LOCAL 32 +RSV_DROP_MPLS_LEAF_NO_MATCH 24 +RSV_MLDP_EGR_DROP 429 +MDF_PUNT_POLICE_DROP 2715 +MODIFY_PUNT_REASON_MISS_DROP 2 +PUNT_ADJ_EXCD 2715 +PARSE_EGR_INJ_PKT_TYP_UNKNOWN 669 +---------------------------------------------------------------- + +NP 1 Drops: +---------------------------------------------------------------- +RSV_DROP_ING_BFD 1 +RSV_DROP_IPV4_DROP_NULL_RTE 5029260 +RSV_DROP_IPV4_RXADJ_DROP 173477 +RSV_DROP_MPLS_LEAF_NO_MATCH 27550 +MODIFY_PUNT_REASON_MISS_DROP 3 +PARSE_DROP_IN_UIDB_DOWN 4 +---------------------------------------------------------------- + +NP 2 Drops: +---------------------------------------------------------------- +RSV_DROP_MPLS_NRLDI_NOT_LOCAL 38 +MDF_PUNT_POLICE_DROP 678 +MODIFY_PUNT_REASON_MISS_DROP 3 +PUNT_ADJ_EXCD 678 +---------------------------------------------------------------- + +NP 3 Drops: +---------------------------------------------------------------- +RSV_DROP_ING_BFD 52 +RSV_DROP_IPV4_DROP_NULL_RTE 68324 +RSV_DROP_MPLS_LEAF_NO_MATCH 52637 +MODIFY_PUNT_REASON_MISS_DROP 2 +PARSE_DROP_IN_UIDB_DOWN 34 +PARSE_DROP_IPV4_DISABLED 27 +---------------------------------------------------------------- + + Node: 0/5/CPU0: +---------------------------------------------------------------- + +NP 0 Drops: +---------------------------------------------------------------- +RSV_DROP_IPV4_TXADJ_NO_MATCH 20877 +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 1 Drops: +---------------------------------------------------------------- +RSV_DROP_IN_L3_NOT_MYMAC 1 +MODIFY_PUNT_REASON_MISS_DROP 2 +PARSE_DROP_IN_UIDB_TCAM_MISS 1061 +PARSE_DROP_IN_UIDB_DOWN 48 +PARSE_DROP_IPV4_DISABLED 394 +---------------------------------------------------------------- + +NP 2 Drops: +---------------------------------------------------------------- +RSV_DROP_IPV4_TXADJ_NO_MATCH 13947 +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 3 Drops: +---------------------------------------------------------------- +RSV_DROP_IN_L3_NOT_MYMAC 7 +MODIFY_PUNT_REASON_MISS_DROP 2 +PARSE_DROP_IN_UIDB_TCAM_MISS 1068 +PARSE_DROP_IN_UIDB_DOWN 46 +PARSE_DROP_IPV4_DISABLED 1160 +---------------------------------------------------------------- + + Node: 0/7/CPU0: +---------------------------------------------------------------- + +NP 0 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 1 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- + +NP 2 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 4 +---------------------------------------------------------------- + +NP 3 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +PARSE_DROP_IN_UIDB_TCAM_MISS 34 +PARSE_DROP_IN_UIDB_DOWN 3 +PARSE_DROP_IPV4_LENGTH_ERROR 9 +UNKNOWN_L2_ON_L3_DISCARD 783084 +---------------------------------------------------------------- + +NP 4 Drops: +---------------------------------------------------------------- +RSV_DROP_IFIB_TTL_CHECK 5 +MDF_PUNT_POLICE_DROP 2471 +MODIFY_PUNT_REASON_MISS_DROP 3 +IPV4_TTL_ERROR_EXCD 110 +PUNT_IPV4_ADJ_NULL_RTE_EXCD 2361 +PARSE_DROP_IN_UIDB_TCAM_MISS 712 +PARSE_DROP_IPV4_DISABLED 2083 +PARSE_DROP_IPV4_LENGTH_ERROR 1 +---------------------------------------------------------------- + +NP 5 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 4 +---------------------------------------------------------------- + +NP 6 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 4 +---------------------------------------------------------------- + +NP 7 Drops: +---------------------------------------------------------------- +MODIFY_PUNT_REASON_MISS_DROP 3 +---------------------------------------------------------------- \ No newline at end of file From 29a883a523ea16e703d37ec51d44c10894d25749 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Sun, 27 Jan 2019 11:33:53 -0500 Subject: [PATCH 233/628] XR SHOW DROPS NP ALL: Add new templated CHANGES TO EXISTING PROPOSAL: - Remove State Changes: * There was little regex being avoided by them, * Logic did not require state change for accurate capturing - Move Record to happen on "Node" and "NP" lines - Make `NP` Required to prevent capturing an empty entry on "Node" lines - Remove `EOF` in order to capture last group now that `Record` does not happen on `-` --- templates/cisco_xr_show_drops_np_all.template | 177 ++++++++---------- .../cisco_xr_show_drops_np_all.raw | 2 +- .../cisco_xr_show_drops_np_all2.raw | 2 +- .../cisco_xr_show_drops_np_all3.raw | 2 +- 4 files changed, 86 insertions(+), 97 deletions(-) diff --git a/templates/cisco_xr_show_drops_np_all.template b/templates/cisco_xr_show_drops_np_all.template index c605bb628d..b0d668288e 100644 --- a/templates/cisco_xr_show_drops_np_all.template +++ b/templates/cisco_xr_show_drops_np_all.template @@ -1,5 +1,5 @@ Value Filldown LOCATION (\S+) -Value NP (\d+) +Value Required NP (\d+) Value BFD_NEIGHBOR_DROP (\d+) Value BFD_REMOTE_PUNT_DISC_0_DROP (\d+) Value DROP_FRM_CRC_ERR_ILKN0 (\d+) @@ -76,96 +76,85 @@ Value RSV_MLDP_EGR_DROP (\d+) Value UNKNOWN_L2_ON_L3_DISCARD (\d+) Start - ^\s*Node: ${LOCATION}: - ^\-+ - ^\s+$$ - ^$$ - ^No NP ${NP} Drops -> NO_NP_DROPS_HEADER - ^NP ${NP} Drops: -> NP_HEADER - ^.* -> Error "LINE NOT FOUND" - -NO_NP_DROPS_HEADER - ^\-+ -> Record Start - -NP_HEADER - ^\-+ -> NP_SECTION - -NP_SECTION - ^BFD_NEIGHBOR_DROP +${BFD_NEIGHBOR_DROP} - ^BFD_REMOTE_PUNT_DISC_0_DROP +${BFD_REMOTE_PUNT_DISC_0_DROP} - ^DROP_FRM_CRC_ERR_ILKN0 +${DROP_FRM_CRC_ERR_ILKN0} - ^DROP_FRM_CRC_ERR_ILKN1 +${DROP_FRM_CRC_ERR_ILKN1} - ^DROP_FRM_CRC_ERR_ILKN2 +${DROP_FRM_CRC_ERR_ILKN2} - ^DROP_FRM_CRC_ERR_SGMII0 +${DROP_FRM_CRC_ERR_SGMII0} - ^DROP_FRM_CRC_ERR_SGMII1 +${DROP_FRM_CRC_ERR_SGMII1} - ^DROP_FRM_CRC_ERR_SGMII2 +${DROP_FRM_CRC_ERR_SGMII2} - ^DROP_FRM_CRC_ERR_SGMII3 +${DROP_FRM_CRC_ERR_SGMII3} - ^DROP_FRM_CRC_ERR_XAUI4 +${DROP_FRM_CRC_ERR_XAUI4} - ^DROP_FRM_CRC_ERR_XAUI5 +${DROP_FRM_CRC_ERR_XAUI5} - ^DROP_FRM_CRC_ERR_XAUI6 +${DROP_FRM_CRC_ERR_XAUI6} - ^DROP_FRM_FRM_ERR_ILKN0 +${DROP_FRM_FRM_ERR_ILKN0} - ^DROP_FRM_FRM_ERR_ILKN1 +${DROP_FRM_FRM_ERR_ILKN1} - ^DROP_FRM_FRM_ERR_ILKN2 +${DROP_FRM_FRM_ERR_ILKN2} - ^DROP_FRM_FRM_ERR_SGMII0 +${DROP_FRM_FRM_ERR_SGMII0} - ^DROP_FRM_FRM_ERR_SGMII1 +${DROP_FRM_FRM_ERR_SGMII1} - ^DROP_FRM_FRM_ERR_SGMII2 +${DROP_FRM_FRM_ERR_SGMII2} - ^DROP_FRM_FRM_ERR_SGMII3 +${DROP_FRM_FRM_ERR_SGMII3} - ^DROP_FRM_FRM_ERR_XAUI4 +${DROP_FRM_FRM_ERR_XAUI4} - ^DROP_FRM_FRM_ERR_XAUI5 +${DROP_FRM_FRM_ERR_XAUI5} - ^DROP_FRM_FRM_ERR_XAUI6 +${DROP_FRM_FRM_ERR_XAUI6} - ^DROP_FRM_RUNT +${DROP_FRM_RUNT} - ^IPV4_BFD_EXCD +${IPV4_BFD_EXCD} - ^IPV4_FRAG_NEEDED_PUNT_EXCD +${IPV4_FRAG_NEEDED_PUNT_EXCD} - ^IPV4_TTL_ERROR_EXCD +${IPV4_TTL_ERROR_EXCD} - ^MDF_PUNT_POLICE_DROP +${MDF_PUNT_POLICE_DROP} - ^MDF_RPF_FAIL_DROP +${MDF_RPF_FAIL_DROP} - ^MODIFY_PUNT_REASON_MISS_DROP +${MODIFY_PUNT_REASON_MISS_DROP} - ^MPLS_TTL_ONE_PUNT_EXCD +${MPLS_TTL_ONE_PUNT_EXCD} - ^NP_SECTION +${NP_SECTION} - ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0 +${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0} - ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1 +${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1} - ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0_MONITOR +${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0_MONITOR} - ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1_MONITOR +${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1_MONITOR} - ^PARSE_DROP_IN_UIDB_DOWN +${PARSE_DROP_IN_UIDB_DOWN} - ^PARSE_DROP_IN_UIDB_TCAM_MISS +${PARSE_DROP_IN_UIDB_TCAM_MISS} - ^PARSE_DROP_IPV4_DISABLED +${PARSE_DROP_IPV4_DISABLED} - ^PARSE_DROP_IPV4_CHECKSUM_ERROR +${PARSE_DROP_IPV4_CHECKSUM_ERROR} - ^PARSE_DROP_IPV4_LENGTH_ERROR +${PARSE_DROP_IPV4_LENGTH_ERROR} - ^PARSE_L3_TAGGED_PUNT_DROP +${PARSE_L3_TAGGED_PUNT_DROP} - ^PARSE_OPEN_NETWORK_SERVICE_KEY_ACTION_UNKNOWN +${PARSE_OPEN_NETWORK_SERVICE_KEY_ACTION_UNKNOWN} - ^PARSE_EGR_INJ_PKT_TYP_UNKNOWN +${PARSE_EGR_INJ_PKT_TYP_UNKNOWN} - ^PARSE_UNKNOWN_NPH_TYPE_DROP +${PARSE_UNKNOWN_NPH_TYPE_DROP} - ^PUNT_ADJ_EXCD +${PUNT_ADJ_EXCD} - ^PUNT_IFIB_OSPF_OPT_EXCD +${PUNT_IFIB_OSPF_OPT_EXCD} - ^PUNT_IPV4_ADJ_NULL_RTE_EXCD +${PUNT_IPV4_ADJ_NULL_RTE_EXCD} - ^PUNT_NO_MATCH_EXCD +${PUNT_NO_MATCH_EXCD} - ^PUNT_STATISTICS_EXCD +${PUNT_STATISTICS_EXCD} - ^RSV_DROP_EGR_LAG_NO_MATCH +${RSV_DROP_EGR_LAG_NO_MATCH} - ^RSV_DROP_EGR_UIDB_DOWN +${RSV_DROP_EGR_UIDB_DOWN} - ^RSV_DROP_EGR_UIDB_NO_MATCH +${RSV_DROP_EGR_UIDB_NO_MATCH} - ^RSV_DROP_IFIB_TTL_CHECK +${RSV_DROP_IFIB_TTL_CHECK} - ^RSV_DROP_IN_L3_NOT_MYMAC +${RSV_DROP_IN_L3_NOT_MYMAC} - ^RSV_DROP_ING_BFD +${RSV_DROP_ING_BFD} - ^RSV_DROP_IPM4_EGR_FILTER_DROP +${RSV_DROP_IPM4_EGR_FILTER_DROP} - ^RSV_DROP_IPM4_EGR_RPF_FAIL_DROP +${RSV_DROP_IPM4_EGR_RPF_FAIL_DROP} - ^RSV_DROP_IPM4_EGR_TTL_DROP +${RSV_DROP_IPM4_EGR_TTL_DROP} - ^RSV_DROP_IPM4_NO_OLIST +${RSV_DROP_IPM4_NO_OLIST} - ^RSV_DROP_IPM4_NO_OLIST_REP +${RSV_DROP_IPM4_NO_OLIST_REP} - ^RSV_DROP_IPV4_DROP_NULL_RTE +${RSV_DROP_IPV4_DROP_NULL_RTE} - ^RSV_DROP_IPV4_NRLDI_NOT_LOCAL +${RSV_DROP_IPV4_NRLDI_NOT_LOCAL} - ^RSV_DROP_IPV4_RXADJ_DROP +${RSV_DROP_IPV4_RXADJ_DROP} - ^RSV_DROP_IPV4_TXADJ_NO_MATCH +${RSV_DROP_IPV4_TXADJ_NO_MATCH} - ^RSV_DROP_MPLS_LEAF_NO_MATCH +${RSV_DROP_MPLS_LEAF_NO_MATCH} - ^RSV_DROP_MPLS_LEAF_NO_MATCH_MONITOR +${RSV_DROP_MPLS_LEAF_NO_MATCH_MONITOR} - ^RSV_DROP_MPLS_NRLDI_NO_MATCH +${RSV_DROP_MPLS_NRLDI_NO_MATCH} - ^RSV_DROP_MPLS_NRLDI_NOT_LOCAL +${RSV_DROP_MPLS_NRLDI_NOT_LOCAL} - ^RSV_DROP_MPLS_RXADJ_DROP +${RSV_DROP_MPLS_RXADJ_DROP} - ^RSV_DROP_MPLS_TXADJ_NO_MATCH +${RSV_DROP_MPLS_TXADJ_NO_MATCH} - ^RSV_DROP_NHINDEX +${RSV_DROP_NHINDEX} - ^RSV_EGR_LAG_NOT_LOCAL_DROP_CNT +${RSV_EGR_LAG_NOT_LOCAL_DROP_CNT} - ^RSV_MLDP_EGR_DROP +${RSV_MLDP_EGR_DROP} - ^UNKNOWN_L2_ON_L3_DISCARD +${UNKNOWN_L2_ON_L3_DISCARD} - ^\-+ -> Record Start - ^.* -> Error "LINE NOT FOUND" - -EOF + ^\s*Node:\s+\S+ -> Continue.Record + ^\s*Node:\s+${LOCATION}: + ^-+ + ^(?:No\s+)?NP -> Continue.Record + ^No\s+NP\s+${NP}\s+Drops + ^NP\s+${NP}\s+Drops: + ^BFD_NEIGHBOR_DROP\s+${BFD_NEIGHBOR_DROP} + ^BFD_REMOTE_PUNT_DISC_0_DROP\s+${BFD_REMOTE_PUNT_DISC_0_DROP} + ^DROP_FRM_CRC_ERR_ILKN0\s+${DROP_FRM_CRC_ERR_ILKN0} + ^DROP_FRM_CRC_ERR_ILKN1\s+${DROP_FRM_CRC_ERR_ILKN1} + ^DROP_FRM_CRC_ERR_ILKN2\s+${DROP_FRM_CRC_ERR_ILKN2} + ^DROP_FRM_CRC_ERR_SGMII0\s+${DROP_FRM_CRC_ERR_SGMII0} + ^DROP_FRM_CRC_ERR_SGMII1\s+${DROP_FRM_CRC_ERR_SGMII1} + ^DROP_FRM_CRC_ERR_SGMII2\s+${DROP_FRM_CRC_ERR_SGMII2} + ^DROP_FRM_CRC_ERR_SGMII3\s+${DROP_FRM_CRC_ERR_SGMII3} + ^DROP_FRM_CRC_ERR_XAUI4\s+${DROP_FRM_CRC_ERR_XAUI4} + ^DROP_FRM_CRC_ERR_XAUI5\s+${DROP_FRM_CRC_ERR_XAUI5} + ^DROP_FRM_CRC_ERR_XAUI6\s+${DROP_FRM_CRC_ERR_XAUI6} + ^DROP_FRM_FRM_ERR_ILKN0\s+${DROP_FRM_FRM_ERR_ILKN0} + ^DROP_FRM_FRM_ERR_ILKN1\s+${DROP_FRM_FRM_ERR_ILKN1} + ^DROP_FRM_FRM_ERR_ILKN2\s+${DROP_FRM_FRM_ERR_ILKN2} + ^DROP_FRM_FRM_ERR_SGMII0\s+${DROP_FRM_FRM_ERR_SGMII0} + ^DROP_FRM_FRM_ERR_SGMII1\s+${DROP_FRM_FRM_ERR_SGMII1} + ^DROP_FRM_FRM_ERR_SGMII2\s+${DROP_FRM_FRM_ERR_SGMII2} + ^DROP_FRM_FRM_ERR_SGMII3\s+${DROP_FRM_FRM_ERR_SGMII3} + ^DROP_FRM_FRM_ERR_XAUI4\s+${DROP_FRM_FRM_ERR_XAUI4} + ^DROP_FRM_FRM_ERR_XAUI5\s+${DROP_FRM_FRM_ERR_XAUI5} + ^DROP_FRM_FRM_ERR_XAUI6\s+${DROP_FRM_FRM_ERR_XAUI6} + ^DROP_FRM_RUNT\s+${DROP_FRM_RUNT} + ^IPV4_BFD_EXCD\s+${IPV4_BFD_EXCD} + ^IPV4_FRAG_NEEDED_PUNT_EXCD\s+${IPV4_FRAG_NEEDED_PUNT_EXCD} + ^IPV4_TTL_ERROR_EXCD\s+${IPV4_TTL_ERROR_EXCD} + ^MDF_PUNT_POLICE_DROP\s+${MDF_PUNT_POLICE_DROP} + ^MDF_RPF_FAIL_DROP\s+${MDF_RPF_FAIL_DROP} + ^MODIFY_PUNT_REASON_MISS_DROP\s+${MODIFY_PUNT_REASON_MISS_DROP} + ^MPLS_TTL_ONE_PUNT_EXCD\s+${MPLS_TTL_ONE_PUNT_EXCD} + ^NP_SECTION\s+${NP_SECTION} + ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0\s+${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0} + ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1\s+${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1} + ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0_MONITOR\s+${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_0_MONITOR} + ^PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1_MONITOR\s+${PARSE_FAST_DISCARD_LOW_PRIORITY_DROP_1_MONITOR} + ^PARSE_DROP_IN_UIDB_DOWN\s+${PARSE_DROP_IN_UIDB_DOWN} + ^PARSE_DROP_IN_UIDB_TCAM_MISS\s+${PARSE_DROP_IN_UIDB_TCAM_MISS} + ^PARSE_DROP_IPV4_DISABLED\s+${PARSE_DROP_IPV4_DISABLED} + ^PARSE_DROP_IPV4_CHECKSUM_ERROR\s+${PARSE_DROP_IPV4_CHECKSUM_ERROR} + ^PARSE_DROP_IPV4_LENGTH_ERROR\s+${PARSE_DROP_IPV4_LENGTH_ERROR} + ^PARSE_L3_TAGGED_PUNT_DROP\s+${PARSE_L3_TAGGED_PUNT_DROP} + ^PARSE_OPEN_NETWORK_SERVICE_KEY_ACTION_UNKNOWN\s+${PARSE_OPEN_NETWORK_SERVICE_KEY_ACTION_UNKNOWN} + ^PARSE_EGR_INJ_PKT_TYP_UNKNOWN\s+${PARSE_EGR_INJ_PKT_TYP_UNKNOWN} + ^PARSE_UNKNOWN_NPH_TYPE_DROP\s+${PARSE_UNKNOWN_NPH_TYPE_DROP} + ^PUNT_ADJ_EXCD\s+${PUNT_ADJ_EXCD} + ^PUNT_IFIB_OSPF_OPT_EXCD\s+${PUNT_IFIB_OSPF_OPT_EXCD} + ^PUNT_IPV4_ADJ_NULL_RTE_EXCD\s+${PUNT_IPV4_ADJ_NULL_RTE_EXCD} + ^PUNT_NO_MATCH_EXCD\s+${PUNT_NO_MATCH_EXCD} + ^PUNT_STATISTICS_EXCD\s+${PUNT_STATISTICS_EXCD} + ^RSV_DROP_EGR_LAG_NO_MATCH\s+${RSV_DROP_EGR_LAG_NO_MATCH} + ^RSV_DROP_EGR_UIDB_DOWN\s+${RSV_DROP_EGR_UIDB_DOWN} + ^RSV_DROP_EGR_UIDB_NO_MATCH\s+${RSV_DROP_EGR_UIDB_NO_MATCH} + ^RSV_DROP_IFIB_TTL_CHECK\s+${RSV_DROP_IFIB_TTL_CHECK} + ^RSV_DROP_IN_L3_NOT_MYMAC\s+${RSV_DROP_IN_L3_NOT_MYMAC} + ^RSV_DROP_ING_BFD\s+${RSV_DROP_ING_BFD} + ^RSV_DROP_IPM4_EGR_FILTER_DROP\s+${RSV_DROP_IPM4_EGR_FILTER_DROP} + ^RSV_DROP_IPM4_EGR_RPF_FAIL_DROP\s+${RSV_DROP_IPM4_EGR_RPF_FAIL_DROP} + ^RSV_DROP_IPM4_EGR_TTL_DROP\s+${RSV_DROP_IPM4_EGR_TTL_DROP} + ^RSV_DROP_IPM4_NO_OLIST\s+${RSV_DROP_IPM4_NO_OLIST} + ^RSV_DROP_IPM4_NO_OLIST_REP\s+${RSV_DROP_IPM4_NO_OLIST_REP} + ^RSV_DROP_IPV4_DROP_NULL_RTE\s+${RSV_DROP_IPV4_DROP_NULL_RTE} + ^RSV_DROP_IPV4_NRLDI_NOT_LOCAL\s+${RSV_DROP_IPV4_NRLDI_NOT_LOCAL} + ^RSV_DROP_IPV4_RXADJ_DROP\s+${RSV_DROP_IPV4_RXADJ_DROP} + ^RSV_DROP_IPV4_TXADJ_NO_MATCH\s+${RSV_DROP_IPV4_TXADJ_NO_MATCH} + ^RSV_DROP_MPLS_LEAF_NO_MATCH\s+${RSV_DROP_MPLS_LEAF_NO_MATCH} + ^RSV_DROP_MPLS_LEAF_NO_MATCH_MONITOR\s+${RSV_DROP_MPLS_LEAF_NO_MATCH_MONITOR} + ^RSV_DROP_MPLS_NRLDI_NO_MATCH\s+${RSV_DROP_MPLS_NRLDI_NO_MATCH} + ^RSV_DROP_MPLS_NRLDI_NOT_LOCAL\s+${RSV_DROP_MPLS_NRLDI_NOT_LOCAL} + ^RSV_DROP_MPLS_RXADJ_DROP\s+${RSV_DROP_MPLS_RXADJ_DROP} + ^RSV_DROP_MPLS_TXADJ_NO_MATCH\s+${RSV_DROP_MPLS_TXADJ_NO_MATCH} + ^RSV_DROP_NHINDEX\s+${RSV_DROP_NHINDEX} + ^RSV_EGR_LAG_NOT_LOCAL_DROP_CNT\s+${RSV_EGR_LAG_NOT_LOCAL_DROP_CNT} + ^RSV_MLDP_EGR_DROP\s+${RSV_MLDP_EGR_DROP} + ^UNKNOWN_L2_ON_L3_DISCARD\s+${UNKNOWN_L2_ON_L3_DISCARD} + ^\s*$$ + ^. -> Error "LINE NOT FOUND" diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.raw b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.raw index e3acd26c72..ee99c9e559 100644 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.raw +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.raw @@ -96,4 +96,4 @@ MODIFY_PUNT_REASON_MISS_DROP 2 NP 7 Drops: ---------------------------------------------------------------- MODIFY_PUNT_REASON_MISS_DROP 3 ----------------------------------------------------------------- \ No newline at end of file +---------------------------------------------------------------- diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.raw b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.raw index 344f859e3a..789b166c3f 100644 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.raw +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.raw @@ -102,4 +102,4 @@ MODIFY_PUNT_REASON_MISS_DROP 4 NP 7 Drops: ---------------------------------------------------------------- MODIFY_PUNT_REASON_MISS_DROP 4 ----------------------------------------------------------------- \ No newline at end of file +---------------------------------------------------------------- diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.raw b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.raw index d809b6e2b0..fc531f82c9 100644 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.raw +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.raw @@ -241,4 +241,4 @@ MODIFY_PUNT_REASON_MISS_DROP 4 NP 7 Drops: ---------------------------------------------------------------- MODIFY_PUNT_REASON_MISS_DROP 3 ----------------------------------------------------------------- \ No newline at end of file +---------------------------------------------------------------- From ac2f2565eead1c9ab704341c4eede99400d3c290 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Sun, 27 Jan 2019 18:39:46 -0500 Subject: [PATCH 234/628] XR SHOW DROPS NP ALL: Change capture groups to use lists TEMPLATE UPDATES: - Change variable data to be a list * Allows for platforms with additional capacity to still work * Changed capture groups: `DROP_FRM_CRC_ERR_ILKN$variable` -> `ILKN_CRC_ERR_LOCATION` & `DROP_FROM_CRC_ERR_ILKN` `DROP_FRM_CRC_ERR_SGMII$variable` -> `SGMII_CRC_ERR_LOCATION` & `DROP_FROM_CRC_ERR_SGMII` `DROP_FRM_CRC_ERR_XAUI$variable` -> `XAUI_CRC_ERR_LOCATION` & `DROP_FROM_CRC_ERR_XAUI` `DROP_FRM_FRAME_ERR_ILKN$variable` -> `ILKN_FRAME_ERR_LOCATION` & `DROP_FROM_FRAME_ERR_ILKN` `DROP_FRM_FRAME_ERR_SGMII$variable` -> `SGMII_FRAME_ERR_LOCATION` & `DROP_FROM_FRAME_ERR_SGMII` `DROP_FRM_FRAME_ERR_XAUI$variable` -> `XAUI_FRAME_ERR_LOCATION` & `DROP_FROM_FRAME_ERR_XAUI` TEST FILES: - Update parsed file to use lists with new capture group names --- templates/cisco_xr_show_drops_np_all.template | 62 +- .../cisco_xr_show_drops_np_all.parsed | 544 ++++----- .../cisco_xr_show_drops_np_all2.parsed | 544 ++++----- .../cisco_xr_show_drops_np_all3.parsed | 1020 +++++++---------- 4 files changed, 826 insertions(+), 1344 deletions(-) diff --git a/templates/cisco_xr_show_drops_np_all.template b/templates/cisco_xr_show_drops_np_all.template index b0d668288e..2036158945 100644 --- a/templates/cisco_xr_show_drops_np_all.template +++ b/templates/cisco_xr_show_drops_np_all.template @@ -2,27 +2,19 @@ Value Filldown LOCATION (\S+) Value Required NP (\d+) Value BFD_NEIGHBOR_DROP (\d+) Value BFD_REMOTE_PUNT_DISC_0_DROP (\d+) -Value DROP_FRM_CRC_ERR_ILKN0 (\d+) -Value DROP_FRM_CRC_ERR_ILKN1 (\d+) -Value DROP_FRM_CRC_ERR_ILKN2 (\d+) -Value DROP_FRM_CRC_ERR_SGMII0 (\d+) -Value DROP_FRM_CRC_ERR_SGMII1 (\d+) -Value DROP_FRM_CRC_ERR_SGMII2 (\d+) -Value DROP_FRM_CRC_ERR_SGMII3 (\d+) -Value DROP_FRM_CRC_ERR_XAUI4 (\d+) -Value DROP_FRM_CRC_ERR_XAUI5 (\d+) -Value DROP_FRM_CRC_ERR_XAUI6 (\d+) -Value DROP_FRM_FRM_ERR_ILKN0 (\d+) -Value DROP_FRM_FRM_ERR_ILKN1 (\d+) -Value DROP_FRM_FRM_ERR_ILKN2 (\d+) -Value DROP_FRM_FRM_ERR_SGMII0 (\d+) -Value DROP_FRM_FRM_ERR_SGMII1 (\d+) -Value DROP_FRM_FRM_ERR_SGMII2 (\d+) -Value DROP_FRM_FRM_ERR_SGMII3 (\d+) -Value DROP_FRM_FRM_ERR_XAUI4 (\d+) -Value DROP_FRM_FRM_ERR_XAUI5 (\d+) -Value DROP_FRM_FRM_ERR_XAUI6 (\d+) -Value DROP_FRM_RUNT (\d+) +Value List ILKN_CRC_ERR_LOCATION (\d+) +Value List SGMII_CRC_ERR_LOCATION (\d+) +Value List XAUI_CRC_ERR_LOCATION (\d+) +Value List DROP_FROM_CRC_ERR_ILKN (\d+) +Value List DROP_FROM_CRC_ERR_SGMII (\d+) +Value List DROP_FROM_CRC_ERR_XAUI (\d+) +Value List ILKN_FRAME_ERR_LOCATION (\d+) +Value List SGMII_FRAME_ERR_LOCATION (\d+) +Value List XAUI_FRAME_ERR_LOCATION (\d+) +Value List DROP_FROM_FRAME_ERR_ILKN (\d+) +Value List DROP_FROM_FRAME_ERR_SGMII (\d+) +Value List DROP_FROM_FRAME_ERR_XAUI (\d+) +Value DROP_FROM_RUNT (\d+) Value IPV4_BFD_EXCD (\d+) Value IPV4_FRAG_NEEDED_PUNT_EXCD (\d+) Value IPV4_TTL_ERROR_EXCD (\d+) @@ -84,27 +76,13 @@ Start ^NP\s+${NP}\s+Drops: ^BFD_NEIGHBOR_DROP\s+${BFD_NEIGHBOR_DROP} ^BFD_REMOTE_PUNT_DISC_0_DROP\s+${BFD_REMOTE_PUNT_DISC_0_DROP} - ^DROP_FRM_CRC_ERR_ILKN0\s+${DROP_FRM_CRC_ERR_ILKN0} - ^DROP_FRM_CRC_ERR_ILKN1\s+${DROP_FRM_CRC_ERR_ILKN1} - ^DROP_FRM_CRC_ERR_ILKN2\s+${DROP_FRM_CRC_ERR_ILKN2} - ^DROP_FRM_CRC_ERR_SGMII0\s+${DROP_FRM_CRC_ERR_SGMII0} - ^DROP_FRM_CRC_ERR_SGMII1\s+${DROP_FRM_CRC_ERR_SGMII1} - ^DROP_FRM_CRC_ERR_SGMII2\s+${DROP_FRM_CRC_ERR_SGMII2} - ^DROP_FRM_CRC_ERR_SGMII3\s+${DROP_FRM_CRC_ERR_SGMII3} - ^DROP_FRM_CRC_ERR_XAUI4\s+${DROP_FRM_CRC_ERR_XAUI4} - ^DROP_FRM_CRC_ERR_XAUI5\s+${DROP_FRM_CRC_ERR_XAUI5} - ^DROP_FRM_CRC_ERR_XAUI6\s+${DROP_FRM_CRC_ERR_XAUI6} - ^DROP_FRM_FRM_ERR_ILKN0\s+${DROP_FRM_FRM_ERR_ILKN0} - ^DROP_FRM_FRM_ERR_ILKN1\s+${DROP_FRM_FRM_ERR_ILKN1} - ^DROP_FRM_FRM_ERR_ILKN2\s+${DROP_FRM_FRM_ERR_ILKN2} - ^DROP_FRM_FRM_ERR_SGMII0\s+${DROP_FRM_FRM_ERR_SGMII0} - ^DROP_FRM_FRM_ERR_SGMII1\s+${DROP_FRM_FRM_ERR_SGMII1} - ^DROP_FRM_FRM_ERR_SGMII2\s+${DROP_FRM_FRM_ERR_SGMII2} - ^DROP_FRM_FRM_ERR_SGMII3\s+${DROP_FRM_FRM_ERR_SGMII3} - ^DROP_FRM_FRM_ERR_XAUI4\s+${DROP_FRM_FRM_ERR_XAUI4} - ^DROP_FRM_FRM_ERR_XAUI5\s+${DROP_FRM_FRM_ERR_XAUI5} - ^DROP_FRM_FRM_ERR_XAUI6\s+${DROP_FRM_FRM_ERR_XAUI6} - ^DROP_FRM_RUNT\s+${DROP_FRM_RUNT} + ^DROP_FRM_CRC_ERR_ILKN${ILKN_CRC_ERR_LOCATION}\s+${DROP_FROM_CRC_ERR_ILKN} + ^DROP_FRM_CRC_ERR_SGMII${SGMII_CRC_ERR_LOCATION}\s+${DROP_FROM_CRC_ERR_SGMII} + ^DROP_FRM_CRC_ERR_XAUI{XAUI_CRC_ERR_LOCATION}\s+${DROP_FROM_CRC_ERR_XAUI} + ^DROP_FRM_FRM_ERR_ILKN${ILKN_FRAME_ERR_LOCATION}\s+${DROP_FROM_FRAME_ERR_ILKN} + ^DROP_FRM_FRM_ERR_SGMII${SGMII_FRAME_ERR_LOCATION}\s+${DROP_FROM_FRAME_ERR_SGMII} + ^DROP_FRM_FRM_ERR_XAUI${XAUI_FRAME_ERR_LOCATION}\s+${DROP_FROM_FRAME_ERR_XAUI} + ^DROP_FRM_RUNT\s+${DROP_FROM_RUNT} ^IPV4_BFD_EXCD\s+${IPV4_BFD_EXCD} ^IPV4_FRAG_NEEDED_PUNT_EXCD\s+${IPV4_FRAG_NEEDED_PUNT_EXCD} ^IPV4_TTL_ERROR_EXCD\s+${IPV4_TTL_ERROR_EXCD} diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed index 1ee6849ed0..eb725cce0f 100644 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed @@ -3,27 +3,19 @@ parsed_sample: - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -79,27 +71,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -155,27 +139,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -231,27 +207,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -307,27 +275,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -383,27 +343,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -459,27 +411,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -535,27 +479,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -611,27 +547,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -687,27 +615,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -763,27 +683,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -839,27 +751,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -915,27 +819,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -991,27 +887,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1067,27 +955,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1143,27 +1023,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + drop_from_frame_err_ilkn: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed index 7784e6f99d..ae79a0f295 100644 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed @@ -3,27 +3,19 @@ parsed_sample: - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -79,27 +71,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -155,27 +139,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -231,27 +207,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -307,27 +275,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -383,27 +343,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -459,27 +411,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -535,27 +479,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -611,27 +547,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '1' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: ['6'] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: ['1'] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -687,27 +615,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -763,27 +683,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -839,27 +751,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -915,27 +819,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -991,27 +887,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1067,27 +955,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1143,27 +1023,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed index 674ad019bc..5e850c557b 100644 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed @@ -3,27 +3,19 @@ parsed_sample: - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -79,27 +71,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -155,27 +139,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -231,27 +207,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '1' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: ['4'] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: ['1'] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -307,27 +275,19 @@ parsed_sample: unknown_l2_on_l3_discard: '1228075' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '544' @@ -383,27 +343,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -459,27 +411,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -535,27 +479,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -611,27 +547,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '1' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: ['0'] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: ['1'] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -687,27 +615,19 @@ parsed_sample: unknown_l2_on_l3_discard: '806532' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -763,27 +683,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -839,27 +751,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '1238' @@ -915,27 +819,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -991,27 +887,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '766' @@ -1067,27 +955,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1143,27 +1023,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1219,27 +1091,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1295,27 +1159,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1371,27 +1227,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1447,27 +1295,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1523,27 +1363,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1599,27 +1431,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1675,27 +1499,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1751,27 +1567,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1827,27 +1635,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1903,27 +1703,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1979,27 +1771,19 @@ parsed_sample: unknown_l2_on_l3_discard: '783084' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '110' @@ -2055,27 +1839,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -2131,27 +1907,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -2207,27 +1975,19 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' + ilkn_crc_err_location: [] + sgmii_crc_err_location: [] + xaui_crc_err_location: [] + drop_from_crc_err_ilkn: [] + drop_from_crc_err_sgmii: [] + drop_from_crc_err_xaui: [] + ilkn_frame_err_location: [] + sgmii_frame_err_location: [] + xaui_frame_err_location: [] + drop_from_frame_err_ilkn: [] + drop_from_frame_err_sgmii: [] + drop_from_frame_err_xaui: [] + drop_from_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' From 923f9afe679f549d14079c4ec962cc913f784550 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sun, 27 Jan 2019 20:34:36 -0800 Subject: [PATCH 235/628] XR SHOW LPTS PIFIB HARDWARE POLICE LOCATION: Add new template (#360) --- ...ts_pifib_hardware_police_location.template | 25 + templates/index | 1 + ...lpts_pifib_hardware_police_location.parsed | 867 ++++++++++++++++++ ...ow_lpts_pifib_hardware_police_location.raw | 109 +++ ...pts_pifib_hardware_police_location2.parsed | 822 +++++++++++++++++ ...w_lpts_pifib_hardware_police_location2.raw | 105 +++ 6 files changed, 1929 insertions(+) create mode 100644 templates/cisco_xr_show_lpts_pifib_hardware_police_location.template create mode 100644 tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.parsed create mode 100644 tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.raw create mode 100644 tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.parsed create mode 100644 tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.raw diff --git a/templates/cisco_xr_show_lpts_pifib_hardware_police_location.template b/templates/cisco_xr_show_lpts_pifib_hardware_police_location.template new file mode 100644 index 0000000000..9ec9bd0d55 --- /dev/null +++ b/templates/cisco_xr_show_lpts_pifib_hardware_police_location.template @@ -0,0 +1,25 @@ +Value Filldown LOCATION (\S+?) +Value FLOWTYPE (\S+) +Value POLICER (\d+) +Value TYPE (\S+) +Value CUR_RATE (\d+) +Value DEF_RATE (\d+) +Value ACCEPTED (\d+) +Value DROPPED (\d+) +Value TOS_VALUE (\d+) + +Start + ^\s+Node\s+${LOCATION}: + ^FlowType\s+Policer\s+Type\s+Cur.\s+Rate\s+Def.\s+Rate\s+Accepted\s+Dropped\s+TOS\s+Value -> Parse + +Parse + ^${FLOWTYPE}\s+${POLICER}\s+${TYPE}\s+${CUR_RATE}\s+${DEF_RATE}\s+${ACCEPTED}\s+${DROPPED}\s+${TOS_VALUE} -> Record + ^statistics: + ^Packets\s+accepted\s+by\s+deleted\s+entries: + ^Packets\s+dropped\s+by\s+deleted\s+entries: + ^Run\s+out\s+of\s+statistics\s+counter\s+errors: + ^Statistics\s+last\s+cleared: + ^[ -]*$$ + ^.* -> Error "LINE NOT FOUND" + +EOF diff --git a/templates/index b/templates/index index 63fd9cd849..c9f14fc1af 100644 --- a/templates/index +++ b/templates/index @@ -231,6 +231,7 @@ cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap co cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] +cisco_xr_show_lpts_pifib_hardware_police_location.template, .*, cisco_xr, sh[[ow]] lpts pifib hardware police loc[[ation]].* cisco_xr_show_controllers_HundredGigabitEthernet.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template, .*, cisco_xr, sh[[ow]] bg[[p]] v[[rf]] all ip[[v4]] uni[[cast]] summ[[ary]] cisco_xr_admin_show_controller_fabric_health.template, .*, cisco_xr, adm[[in]] sh[[ow]] controller fab[[ric]] hea[[lth]] diff --git a/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.parsed b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.parsed new file mode 100644 index 0000000000..59954d2ff1 --- /dev/null +++ b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.parsed @@ -0,0 +1,867 @@ +--- +parsed_sample: + +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: unconfigured-default + location: '0/7/CPU0' + policer: '100' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '10000' + def_rate: '10000' + dropped: '0' + flowtype: L2TPv2-fragment + location: '0/7/CPU0' + policer: '185' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: Fragment + location: '0/7/CPU0' + policer: '101' + tos_value: '01234567' + type: Static +- accepted: '111663351' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: OSPF-mc-known + location: '0/7/CPU0' + policer: '102' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: OSPF-mc-default + location: '0/7/CPU0' + policer: '103' + tos_value: '01234567' + type: Static +- accepted: '3618098' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: OSPF-uc-known + location: '0/7/CPU0' + policer: '104' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: OSPF-uc-default + location: '0/7/CPU0' + policer: '105' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: ISIS-known + location: '0/7/CPU0' + policer: '143' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: ISIS-default + location: '0/7/CPU0' + policer: '144' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '9600' + def_rate: '9600' + dropped: '0' + flowtype: BFD-known + location: '0/7/CPU0' + policer: '150' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '45340' + def_rate: '9600' + dropped: '0' + flowtype: BFD-default + location: '0/7/CPU0' + policer: '160' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '11520' + def_rate: '11520' + dropped: '0' + flowtype: BFD-MP-known + location: '0/7/CPU0' + policer: '178' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '128' + def_rate: '128' + dropped: '0' + flowtype: BFD-MP-0 + location: '0/7/CPU0' + policer: '179' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '11520' + def_rate: '11520' + dropped: '0' + flowtype: BFD-BLB-known + location: '0/7/CPU0' + policer: '183' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '128' + def_rate: '128' + dropped: '0' + flowtype: BFD-BLB-0 + location: '0/7/CPU0' + policer: '184' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '512' + def_rate: '512' + dropped: '0' + flowtype: BFD-SP-0 + location: '0/7/CPU0' + policer: '182' + tos_value: '01234567' + type: Static +- accepted: '1203286' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: BGP-known + location: '0/7/CPU0' + policer: '106' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: BGP-cfg-peer + location: '0/7/CPU0' + policer: '107' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: BGP-default + location: '0/7/CPU0' + policer: '108' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: PIM-mcast-default + location: '0/7/CPU0' + policer: '109' + tos_value: '01234567' + type: Static +- accepted: '26046391' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: PIM-mcast-known + location: '0/7/CPU0' + policer: '176' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: PIM-ucast + location: '0/7/CPU0' + policer: '110' + tos_value: '01234567' + type: Static +- accepted: '7944769' + cur_rate: '3000' + def_rate: '3000' + dropped: '0' + flowtype: IGMP + location: '0/7/CPU0' + policer: '111' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: ICMP-local + location: '0/7/CPU0' + policer: '112' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: ICMP-app + location: '0/7/CPU0' + policer: '152' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: ICMP-control + location: '0/7/CPU0' + policer: '140' + tos_value: '01234567' + type: Static +- accepted: '11' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: ICMP-default + location: '0/7/CPU0' + policer: '153' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: ICMP-app-default + location: '0/7/CPU0' + policer: '190' + tos_value: '01234567' + type: Static +- accepted: '1258061' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: LDP-TCP-known + location: '0/7/CPU0' + policer: '113' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: LDP-TCP-cfg-peer + location: '0/7/CPU0' + policer: '114' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: LDP-TCP-default + location: '0/7/CPU0' + policer: '115' + tos_value: '01234567' + type: Static +- accepted: '7282839' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: LDP-UDP + location: '0/7/CPU0' + policer: '116' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: All-routers + location: '0/7/CPU0' + policer: '117' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: LMP-TCP-known + location: '0/7/CPU0' + policer: '168' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: LMP-TCP-cfg-peer + location: '0/7/CPU0' + policer: '169' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: LMP-TCP-default + location: '0/7/CPU0' + policer: '170' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: LMP-UDP + location: '0/7/CPU0' + policer: '171' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: RSVP-UDP + location: '0/7/CPU0' + policer: '118' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '500' + def_rate: '500' + dropped: '0' + flowtype: RSVP-default + location: '0/7/CPU0' + policer: '154' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '7000' + def_rate: '7000' + dropped: '0' + flowtype: RSVP-known + location: '0/7/CPU0' + policer: '177' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: IKE + location: '0/7/CPU0' + policer: '119' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: IPSEC-known + location: '0/7/CPU0' + policer: '120' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '100' + def_rate: '100' + dropped: '0' + flowtype: IPSEC-default + location: '0/7/CPU0' + policer: '121' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '10000' + def_rate: '10000' + dropped: '0' + flowtype: IPSEC-fragment + location: '0/7/CPU0' + policer: '194' + tos_value: '01234567' + type: Static +- accepted: '24233712' + cur_rate: '300' + def_rate: '300' + dropped: '0' + flowtype: MSDP-known + location: '0/7/CPU0' + policer: '122' + tos_value: '01234567' + type: Static +- accepted: '4' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: MSDP-cfg-peer + location: '0/7/CPU0' + policer: '123' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '100' + def_rate: '100' + dropped: '0' + flowtype: MSDP-default + location: '0/7/CPU0' + policer: '124' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '300' + def_rate: '300' + dropped: '0' + flowtype: SNMP + location: '0/7/CPU0' + policer: '125' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '300' + def_rate: '300' + dropped: '0' + flowtype: SSH-known + location: '0/7/CPU0' + policer: '127' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: SSH-default + location: '0/7/CPU0' + policer: '128' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: HTTP-known + location: '0/7/CPU0' + policer: '129' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: HTTP-default + location: '0/7/CPU0' + policer: '130' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: SHTTP-known + location: '0/7/CPU0' + policer: '161' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: IFIB_FT_SHTTP_DEFAULT + location: '0/7/CPU0' + policer: '162' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: TELNET-known + location: '0/7/CPU0' + policer: '131' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: TELNET-default + location: '0/7/CPU0' + policer: '132' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: CSS-known + location: '0/7/CPU0' + policer: '133' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: CSS-default + location: '0/7/CPU0' + policer: '134' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: RSH-known + location: '0/7/CPU0' + policer: '135' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: RSH-default + location: '0/7/CPU0' + policer: '136' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: UDP-known + location: '0/7/CPU0' + policer: '137' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: UDP-listen + location: '0/7/CPU0' + policer: '138' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: UDP-cfg-peer + location: '0/7/CPU0' + policer: '155' + tos_value: '01234567' + type: Static +- accepted: '1' + cur_rate: '3500' + def_rate: '3500' + dropped: '0' + flowtype: UDP-default + location: '0/7/CPU0' + policer: '163' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: TCP-known + location: '0/7/CPU0' + policer: '156' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: TCP-listen + location: '0/7/CPU0' + policer: '157' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: TCP-cfg-peer + location: '0/7/CPU0' + policer: '158' + tos_value: '01234567' + type: Static +- accepted: '123' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: TCP-default + location: '0/7/CPU0' + policer: '164' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: Mcast-known + location: '0/7/CPU0' + policer: '159' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: Mcast-default + location: '0/7/CPU0' + policer: '165' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: Raw-listen + location: '0/7/CPU0' + policer: '166' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: Raw-default + location: '0/7/CPU0' + policer: '167' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: Ip-Sla + location: '0/7/CPU0' + policer: '139' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: EIGRP + location: '0/7/CPU0' + policer: '145' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: RIP + location: '0/7/CPU0' + policer: '146' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: L2TPv3 + location: '0/7/CPU0' + policer: '141' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: PCEP + location: '0/7/CPU0' + policer: '142' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '10000' + def_rate: '10000' + dropped: '0' + flowtype: GRE + location: '0/7/CPU0' + policer: '147' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: VRRP + location: '0/7/CPU0' + policer: '148' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: HSRP + location: '0/7/CPU0' + policer: '149' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '250' + def_rate: '250' + dropped: '0' + flowtype: MPLS-oam + location: '0/7/CPU0' + policer: '151' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: L2TPv2-default + location: '0/7/CPU0' + policer: '172' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: L2TPv2-known + location: '0/7/CPU0' + policer: '181' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: DNS + location: '0/7/CPU0' + policer: '173' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: RADIUS + location: '0/7/CPU0' + policer: '174' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: TACACS + location: '0/7/CPU0' + policer: '175' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: NTP-default + location: '0/7/CPU0' + policer: '126' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: NTP-known + location: '0/7/CPU0' + policer: '180' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '5000' + def_rate: '5000' + dropped: '0' + flowtype: MIPv6 + location: '0/7/CPU0' + policer: '188' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '4000' + def_rate: '4000' + dropped: '0' + flowtype: AMT + location: '0/7/CPU0' + policer: '186' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '5000' + def_rate: '5000' + dropped: '0' + flowtype: SDAC-TCP + location: '0/7/CPU0' + policer: '187' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: RADIUS-COA + location: '0/7/CPU0' + policer: '189' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '50000' + def_rate: '50000' + dropped: '0' + flowtype: REL-UDP + location: '0/7/CPU0' + policer: '191' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '4000' + def_rate: '4000' + dropped: '0' + flowtype: DHCPv4 + location: '0/7/CPU0' + policer: '192' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '4000' + def_rate: '4000' + dropped: '0' + flowtype: DHCPv6 + location: '0/7/CPU0' + policer: '193' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: ONEPK + location: '0/7/CPU0' + policer: '100' + tos_value: '01234567' + type: Static diff --git a/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.raw b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.raw new file mode 100644 index 0000000000..cab2f49ab0 --- /dev/null +++ b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.raw @@ -0,0 +1,109 @@ +------------------------------------------------------------- + Node 0/7/CPU0: +------------------------------------------------------------- + Burst = 100ms for all flow types +------------------------------------------------------------- +FlowType Policer Type Cur. Rate Def. Rate Accepted Dropped TOS Value +---------------------- ------- ------- ---------- ---------- -------------------- -------------------- ---------- +unconfigured-default 100 Static 2500 2500 0 0 01234567 +L2TPv2-fragment 185 Static 10000 10000 0 0 01234567 +Fragment 101 Static 2500 2500 0 0 01234567 +OSPF-mc-known 102 Static 2000 2000 111663351 0 01234567 +OSPF-mc-default 103 Static 1500 1500 0 0 01234567 +OSPF-uc-known 104 Static 2000 2000 3618098 0 01234567 +OSPF-uc-default 105 Static 1000 1000 0 0 01234567 +ISIS-known 143 Static 2000 2000 0 0 01234567 +ISIS-default 144 Static 1500 1500 0 0 01234567 +BFD-known 150 Static 9600 9600 0 0 01234567 +BFD-default 160 Static 45340 9600 0 0 01234567 +BFD-MP-known 178 Static 11520 11520 0 0 01234567 +BFD-MP-0 179 Static 128 128 0 0 01234567 +BFD-BLB-known 183 Static 11520 11520 0 0 01234567 +BFD-BLB-0 184 Static 128 128 0 0 01234567 +BFD-SP-0 182 Static 512 512 0 0 01234567 +BGP-known 106 Static 2500 2500 1203286 0 01234567 +BGP-cfg-peer 107 Static 2000 2000 0 0 01234567 +BGP-default 108 Static 1500 1500 0 0 01234567 +PIM-mcast-default 109 Static 2000 2000 0 0 01234567 +PIM-mcast-known 176 Static 2000 2000 26046391 0 01234567 +PIM-ucast 110 Static 1500 1500 0 0 01234567 +IGMP 111 Static 3000 3000 7944769 0 01234567 +ICMP-local 112 Static 1500 1500 0 0 01234567 +ICMP-app 152 Static 1500 1500 0 0 01234567 +ICMP-control 140 Static 1000 1000 0 0 01234567 +ICMP-default 153 Static 1500 1500 11 0 01234567 +ICMP-app-default 190 Static 1500 1500 0 0 01234567 +LDP-TCP-known 113 Static 2500 2500 1258061 0 01234567 +LDP-TCP-cfg-peer 114 Static 2000 2000 0 0 01234567 +LDP-TCP-default 115 Static 1500 1500 0 0 01234567 +LDP-UDP 116 Static 2000 2000 7282839 0 01234567 +All-routers 117 Static 1000 1000 0 0 01234567 +LMP-TCP-known 168 Static 2500 2500 0 0 01234567 +LMP-TCP-cfg-peer 169 Static 2000 2000 0 0 01234567 +LMP-TCP-default 170 Static 1500 1500 0 0 01234567 +LMP-UDP 171 Static 2000 2000 0 0 01234567 +RSVP-UDP 118 Static 2000 2000 0 0 01234567 +RSVP-default 154 Static 500 500 0 0 01234567 +RSVP-known 177 Static 7000 7000 0 0 01234567 +IKE 119 Static 1000 1000 0 0 01234567 +IPSEC-known 120 Static 400 400 0 0 01234567 +IPSEC-default 121 Static 100 100 0 0 01234567 +IPSEC-fragment 194 Static 10000 10000 0 0 01234567 +MSDP-known 122 Static 300 300 24233712 0 01234567 +MSDP-cfg-peer 123 Static 200 200 4 0 01234567 +MSDP-default 124 Static 100 100 0 0 01234567 +SNMP 125 Static 300 300 0 0 01234567 +SSH-known 127 Static 300 300 0 0 01234567 +SSH-default 128 Static 200 200 0 0 01234567 +HTTP-known 129 Static 400 400 0 0 01234567 +HTTP-default 130 Static 200 200 0 0 01234567 +SHTTP-known 161 Static 400 400 0 0 01234567 +IFIB_FT_SHTTP_DEFAULT 162 Static 200 200 0 0 01234567 +TELNET-known 131 Static 200 200 0 0 01234567 +TELNET-default 132 Static 200 200 0 0 01234567 +CSS-known 133 Static 200 200 0 0 01234567 +CSS-default 134 Static 200 200 0 0 01234567 +RSH-known 135 Static 200 200 0 0 01234567 +RSH-default 136 Static 200 200 0 0 01234567 +UDP-known 137 Static 2500 2500 0 0 01234567 +UDP-listen 138 Static 2500 2500 0 0 01234567 +UDP-cfg-peer 155 Static 2500 2500 0 0 01234567 +UDP-default 163 Static 3500 3500 1 0 01234567 +TCP-known 156 Static 2500 2500 0 0 01234567 +TCP-listen 157 Static 2500 2500 0 0 01234567 +TCP-cfg-peer 158 Static 2000 2000 0 0 01234567 +TCP-default 164 Static 2000 2000 123 0 01234567 +Mcast-known 159 Static 2500 2500 0 0 01234567 +Mcast-default 165 Static 2000 2000 0 0 01234567 +Raw-listen 166 Static 2500 2500 0 0 01234567 +Raw-default 167 Static 2500 2500 0 0 01234567 +Ip-Sla 139 Static 1000 1000 0 0 01234567 +EIGRP 145 Static 1500 1500 0 0 01234567 +RIP 146 Static 1500 1500 0 0 01234567 +L2TPv3 141 Static 400 400 0 0 01234567 +PCEP 142 Static 200 200 0 0 01234567 +GRE 147 Static 10000 10000 0 0 01234567 +VRRP 148 Static 1000 1000 0 0 01234567 +HSRP 149 Static 400 400 0 0 01234567 +MPLS-oam 151 Static 250 250 0 0 01234567 +L2TPv2-default 172 Static 2000 2000 0 0 01234567 +L2TPv2-known 181 Static 2500 2500 0 0 01234567 +DNS 173 Static 2000 2000 0 0 01234567 +RADIUS 174 Static 2000 2000 0 0 01234567 +TACACS 175 Static 2000 2000 0 0 01234567 +NTP-default 126 Static 200 200 0 0 01234567 +NTP-known 180 Static 200 200 0 0 01234567 +MIPv6 188 Static 5000 5000 0 0 01234567 +AMT 186 Static 4000 4000 0 0 01234567 +SDAC-TCP 187 Static 5000 5000 0 0 01234567 +RADIUS-COA 189 Static 400 400 0 0 01234567 +REL-UDP 191 Static 50000 50000 0 0 01234567 +DHCPv4 192 Static 4000 4000 0 0 01234567 +DHCPv6 193 Static 4000 4000 0 0 01234567 +ONEPK 100 Static 2500 2500 0 0 01234567 + +------------------------ +statistics: +Packets accepted by deleted entries: 437191 +Packets dropped by deleted entries: 0 +Run out of statistics counter errors: 0 diff --git a/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.parsed b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.parsed new file mode 100644 index 0000000000..861befce62 --- /dev/null +++ b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.parsed @@ -0,0 +1,822 @@ +--- +parsed_sample: + +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: unconfigured-default + location: '0/3/CPU0' + policer: '100' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '10000' + def_rate: '10000' + dropped: '0' + flowtype: L2TPv2-fragment + location: '0/3/CPU0' + policer: '185' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: Fragment + location: '0/3/CPU0' + policer: '101' + tos_value: '01234567' + type: Static +- accepted: '387624' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: OSPF-mc-known + location: '0/3/CPU0' + policer: '102' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: OSPF-mc-default + location: '0/3/CPU0' + policer: '103' + tos_value: '01234567' + type: Static +- accepted: '20' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: OSPF-uc-known + location: '0/3/CPU0' + policer: '104' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: OSPF-uc-default + location: '0/3/CPU0' + policer: '105' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: ISIS-known + location: '0/3/CPU0' + policer: '143' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: ISIS-default + location: '0/3/CPU0' + policer: '144' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '9600' + def_rate: '9600' + dropped: '0' + flowtype: BFD-known + location: '0/3/CPU0' + policer: '150' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '45340' + def_rate: '9600' + dropped: '0' + flowtype: BFD-default + location: '0/3/CPU0' + policer: '160' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '11520' + def_rate: '11520' + dropped: '0' + flowtype: BFD-MP-known + location: '0/3/CPU0' + policer: '178' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '128' + def_rate: '128' + dropped: '0' + flowtype: BFD-MP-0 + location: '0/3/CPU0' + policer: '179' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '11520' + def_rate: '11520' + dropped: '0' + flowtype: BFD-BLB-known + location: '0/3/CPU0' + policer: '183' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '128' + def_rate: '128' + dropped: '0' + flowtype: BFD-BLB-0 + location: '0/3/CPU0' + policer: '184' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '512' + def_rate: '512' + dropped: '0' + flowtype: BFD-SP-0 + location: '0/3/CPU0' + policer: '182' + tos_value: '01234567' + type: Static +- accepted: '51911' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: BGP-known + location: '0/3/CPU0' + policer: '106' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: BGP-cfg-peer + location: '0/3/CPU0' + policer: '107' + tos_value: '01234567' + type: Static +- accepted: '7' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: BGP-default + location: '0/3/CPU0' + policer: '108' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: PIM-mcast-default + location: '0/3/CPU0' + policer: '109' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: PIM-mcast-known + location: '0/3/CPU0' + policer: '176' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: PIM-ucast + location: '0/3/CPU0' + policer: '110' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '3000' + def_rate: '3000' + dropped: '0' + flowtype: IGMP + location: '0/3/CPU0' + policer: '111' + tos_value: '01234567' + type: Static +- accepted: '19' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: ICMP-local + location: '0/3/CPU0' + policer: '112' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: ICMP-app + location: '0/3/CPU0' + policer: '152' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: ICMP-control + location: '0/3/CPU0' + policer: '140' + tos_value: '01234567' + type: Static +- accepted: '35' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: ICMP-default + location: '0/3/CPU0' + policer: '153' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: ICMP-app-default + location: '0/3/CPU0' + policer: '152' + tos_value: '01234567' + type: Static +- accepted: '127939' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: LDP-TCP-known + location: '0/3/CPU0' + policer: '113' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: LDP-TCP-cfg-peer + location: '0/3/CPU0' + policer: '114' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: LDP-TCP-default + location: '0/3/CPU0' + policer: '115' + tos_value: '01234567' + type: Static +- accepted: '726952' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: LDP-UDP + location: '0/3/CPU0' + policer: '116' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: All-routers + location: '0/3/CPU0' + policer: '117' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: LMP-TCP-known + location: '0/3/CPU0' + policer: '168' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: LMP-TCP-cfg-peer + location: '0/3/CPU0' + policer: '169' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: LMP-TCP-default + location: '0/3/CPU0' + policer: '170' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: LMP-UDP + location: '0/3/CPU0' + policer: '171' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: RSVP-UDP + location: '0/3/CPU0' + policer: '118' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '500' + def_rate: '500' + dropped: '0' + flowtype: RSVP-default + location: '0/3/CPU0' + policer: '154' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '7000' + def_rate: '7000' + dropped: '0' + flowtype: RSVP-known + location: '0/3/CPU0' + policer: '177' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '100' + def_rate: '100' + dropped: '0' + flowtype: IKE + location: '0/3/CPU0' + policer: '119' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: IPSEC-known + location: '0/3/CPU0' + policer: '120' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '100' + def_rate: '100' + dropped: '0' + flowtype: IPSEC-default + location: '0/3/CPU0' + policer: '121' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '300' + def_rate: '300' + dropped: '0' + flowtype: MSDP-known + location: '0/3/CPU0' + policer: '122' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: MSDP-cfg-peer + location: '0/3/CPU0' + policer: '123' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '100' + def_rate: '100' + dropped: '0' + flowtype: MSDP-default + location: '0/3/CPU0' + policer: '124' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '300' + def_rate: '300' + dropped: '0' + flowtype: SNMP + location: '0/3/CPU0' + policer: '125' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '300' + def_rate: '300' + dropped: '0' + flowtype: SSH-known + location: '0/3/CPU0' + policer: '127' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: SSH-default + location: '0/3/CPU0' + policer: '128' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: HTTP-known + location: '0/3/CPU0' + policer: '129' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: HTTP-default + location: '0/3/CPU0' + policer: '130' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: SHTTP-known + location: '0/3/CPU0' + policer: '161' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: IFIB_FT_SHTTP_DEFAULT + location: '0/3/CPU0' + policer: '162' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: TELNET-known + location: '0/3/CPU0' + policer: '131' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: TELNET-default + location: '0/3/CPU0' + policer: '132' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: CSS-known + location: '0/3/CPU0' + policer: '133' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: CSS-default + location: '0/3/CPU0' + policer: '134' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: RSH-known + location: '0/3/CPU0' + policer: '135' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: RSH-default + location: '0/3/CPU0' + policer: '136' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: UDP-known + location: '0/3/CPU0' + policer: '137' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: UDP-listen + location: '0/3/CPU0' + policer: '138' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: UDP-cfg-peer + location: '0/3/CPU0' + policer: '155' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '3500' + def_rate: '3500' + dropped: '0' + flowtype: UDP-default + location: '0/3/CPU0' + policer: '163' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: TCP-known + location: '0/3/CPU0' + policer: '156' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: TCP-listen + location: '0/3/CPU0' + policer: '157' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: TCP-cfg-peer + location: '0/3/CPU0' + policer: '158' + tos_value: '01234567' + type: Static +- accepted: '573' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: TCP-default + location: '0/3/CPU0' + policer: '164' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: Mcast-known + location: '0/3/CPU0' + policer: '159' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: Mcast-default + location: '0/3/CPU0' + policer: '165' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: Raw-listen + location: '0/3/CPU0' + policer: '166' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: Raw-default + location: '0/3/CPU0' + policer: '167' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: Ip-Sla + location: '0/3/CPU0' + policer: '139' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: EIGRP + location: '0/3/CPU0' + policer: '145' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1500' + def_rate: '1500' + dropped: '0' + flowtype: RIP + location: '0/3/CPU0' + policer: '146' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: L2TPv3 + location: '0/3/CPU0' + policer: '141' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: PCEP + location: '0/3/CPU0' + policer: '142' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '10000' + def_rate: '10000' + dropped: '0' + flowtype: GRE + location: '0/3/CPU0' + policer: '147' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '1000' + def_rate: '1000' + dropped: '0' + flowtype: VRRP + location: '0/3/CPU0' + policer: '148' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '400' + def_rate: '400' + dropped: '0' + flowtype: HSRP + location: '0/3/CPU0' + policer: '149' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '250' + def_rate: '250' + dropped: '0' + flowtype: MPLS-oam + location: '0/3/CPU0' + policer: '151' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: L2TPv2-default + location: '0/3/CPU0' + policer: '172' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2500' + def_rate: '2500' + dropped: '0' + flowtype: L2TPv2-known + location: '0/3/CPU0' + policer: '181' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: DNS + location: '0/3/CPU0' + policer: '173' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: RADIUS + location: '0/3/CPU0' + policer: '174' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '2000' + def_rate: '2000' + dropped: '0' + flowtype: TACACS + location: '0/3/CPU0' + policer: '175' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: NTP-default + location: '0/3/CPU0' + policer: '126' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '200' + def_rate: '200' + dropped: '0' + flowtype: NTP-known + location: '0/3/CPU0' + policer: '180' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '4000' + def_rate: '4000' + dropped: '0' + flowtype: AMT + location: '0/3/CPU0' + policer: '186' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '0' + def_rate: '0' + dropped: '0' + flowtype: MIPv6 + location: '0/3/CPU0' + policer: '188' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '5000' + def_rate: '5000' + dropped: '0' + flowtype: SDAC-TCP + location: '0/3/CPU0' + policer: '187' + tos_value: '01234567' + type: Static +- accepted: '0' + cur_rate: '0' + def_rate: '0' + dropped: '0' + flowtype: ONEPK + location: '0/3/CPU0' + policer: '189' + tos_value: '01234567' + type: Static diff --git a/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.raw b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.raw new file mode 100644 index 0000000000..08ade3acfe --- /dev/null +++ b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.raw @@ -0,0 +1,105 @@ +------------------------------------------------------------- + Node 0/3/CPU0: +------------------------------------------------------------- + Burst = 100ms for all flow types +------------------------------------------------------------- +FlowType Policer Type Cur. Rate Def. Rate Accepted Dropped TOS Value +---------------------- ------- ------- ---------- ---------- -------------------- -------------------- ---------- +unconfigured-default 100 Static 2500 2500 0 0 01234567 +L2TPv2-fragment 185 Static 10000 10000 0 0 01234567 +Fragment 101 Static 2500 2500 0 0 01234567 +OSPF-mc-known 102 Static 2000 2000 387624 0 01234567 +OSPF-mc-default 103 Static 1500 1500 0 0 01234567 +OSPF-uc-known 104 Static 2000 2000 20 0 01234567 +OSPF-uc-default 105 Static 1000 1000 0 0 01234567 +ISIS-known 143 Static 2000 2000 0 0 01234567 +ISIS-default 144 Static 1500 1500 0 0 01234567 +BFD-known 150 Static 9600 9600 0 0 01234567 +BFD-default 160 Static 45340 9600 0 0 01234567 +BFD-MP-known 178 Static 11520 11520 0 0 01234567 +BFD-MP-0 179 Static 128 128 0 0 01234567 +BFD-BLB-known 183 Static 11520 11520 0 0 01234567 +BFD-BLB-0 184 Static 128 128 0 0 01234567 +BFD-SP-0 182 Static 512 512 0 0 01234567 +BGP-known 106 Static 2500 2500 51911 0 01234567 +BGP-cfg-peer 107 Static 2000 2000 0 0 01234567 +BGP-default 108 Static 1500 1500 7 0 01234567 +PIM-mcast-default 109 Static 2000 2000 0 0 01234567 +PIM-mcast-known 176 Static 2000 2000 0 0 01234567 +PIM-ucast 110 Static 1500 1500 0 0 01234567 +IGMP 111 Static 3000 3000 0 0 01234567 +ICMP-local 112 Static 1500 1500 19 0 01234567 +ICMP-app 152 Static 1500 1500 0 0 01234567 +ICMP-control 140 Static 1000 1000 0 0 01234567 +ICMP-default 153 Static 1500 1500 35 0 01234567 +ICMP-app-default 152 Static 1500 1500 0 0 01234567 +LDP-TCP-known 113 Static 2500 2500 127939 0 01234567 +LDP-TCP-cfg-peer 114 Static 2000 2000 0 0 01234567 +LDP-TCP-default 115 Static 1500 1500 0 0 01234567 +LDP-UDP 116 Static 2000 2000 726952 0 01234567 +All-routers 117 Static 1000 1000 0 0 01234567 +LMP-TCP-known 168 Static 2500 2500 0 0 01234567 +LMP-TCP-cfg-peer 169 Static 2000 2000 0 0 01234567 +LMP-TCP-default 170 Static 1500 1500 0 0 01234567 +LMP-UDP 171 Static 2000 2000 0 0 01234567 +RSVP-UDP 118 Static 2000 2000 0 0 01234567 +RSVP-default 154 Static 500 500 0 0 01234567 +RSVP-known 177 Static 7000 7000 0 0 01234567 +IKE 119 Static 100 100 0 0 01234567 +IPSEC-known 120 Static 400 400 0 0 01234567 +IPSEC-default 121 Static 100 100 0 0 01234567 +MSDP-known 122 Static 300 300 0 0 01234567 +MSDP-cfg-peer 123 Static 200 200 0 0 01234567 +MSDP-default 124 Static 100 100 0 0 01234567 +SNMP 125 Static 300 300 0 0 01234567 +SSH-known 127 Static 300 300 0 0 01234567 +SSH-default 128 Static 200 200 0 0 01234567 +HTTP-known 129 Static 400 400 0 0 01234567 +HTTP-default 130 Static 200 200 0 0 01234567 +SHTTP-known 161 Static 400 400 0 0 01234567 +IFIB_FT_SHTTP_DEFAULT 162 Static 200 200 0 0 01234567 +TELNET-known 131 Static 200 200 0 0 01234567 +TELNET-default 132 Static 200 200 0 0 01234567 +CSS-known 133 Static 200 200 0 0 01234567 +CSS-default 134 Static 200 200 0 0 01234567 +RSH-known 135 Static 200 200 0 0 01234567 +RSH-default 136 Static 200 200 0 0 01234567 +UDP-known 137 Static 2500 2500 0 0 01234567 +UDP-listen 138 Static 2500 2500 0 0 01234567 +UDP-cfg-peer 155 Static 2500 2500 0 0 01234567 +UDP-default 163 Static 3500 3500 0 0 01234567 +TCP-known 156 Static 2500 2500 0 0 01234567 +TCP-listen 157 Static 2500 2500 0 0 01234567 +TCP-cfg-peer 158 Static 2000 2000 0 0 01234567 +TCP-default 164 Static 2000 2000 573 0 01234567 +Mcast-known 159 Static 2500 2500 0 0 01234567 +Mcast-default 165 Static 2000 2000 0 0 01234567 +Raw-listen 166 Static 2500 2500 0 0 01234567 +Raw-default 167 Static 2500 2500 0 0 01234567 +Ip-Sla 139 Static 1000 1000 0 0 01234567 +EIGRP 145 Static 1500 1500 0 0 01234567 +RIP 146 Static 1500 1500 0 0 01234567 +L2TPv3 141 Static 400 400 0 0 01234567 +PCEP 142 Static 200 200 0 0 01234567 +GRE 147 Static 10000 10000 0 0 01234567 +VRRP 148 Static 1000 1000 0 0 01234567 +HSRP 149 Static 400 400 0 0 01234567 +MPLS-oam 151 Static 250 250 0 0 01234567 +L2TPv2-default 172 Static 2000 2000 0 0 01234567 +L2TPv2-known 181 Static 2500 2500 0 0 01234567 +DNS 173 Static 2000 2000 0 0 01234567 +RADIUS 174 Static 2000 2000 0 0 01234567 +TACACS 175 Static 2000 2000 0 0 01234567 +NTP-default 126 Static 200 200 0 0 01234567 +NTP-known 180 Static 200 200 0 0 01234567 +AMT 186 Static 4000 4000 0 0 01234567 +MIPv6 188 Static 0 0 0 0 01234567 +SDAC-TCP 187 Static 5000 5000 0 0 01234567 +ONEPK 189 Static 0 0 0 0 01234567 + +------------------------ +statistics: +Packets accepted by deleted entries: 7 +Packets dropped by deleted entries: 0 +Run out of statistics counter errors: 0 +Statistics last cleared: Sat Aug 25 18:56:24 2700 From 44b4f9b265b0f057923107fd0119bbc06f1bc999 Mon Sep 17 00:00:00 2001 From: kimoldfield Date: Sun, 3 Feb 2019 17:38:43 +1100 Subject: [PATCH 236/628] CISCO IOS SHOW IPV6 NEIGHBORS: Add new template (#363) --- .../cisco_ios_show_ipv6_neighbors.template | 11 +++++ templates/index | 1 + .../cisco_ios_show_ipv6_neighbors1.parsed | 48 +++++++++++++++++++ .../cisco_ios_show_ipv6_neighbors1.raw | 10 ++++ 4 files changed, 70 insertions(+) create mode 100644 templates/cisco_ios_show_ipv6_neighbors.template create mode 100644 tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.parsed create mode 100644 tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.raw diff --git a/templates/cisco_ios_show_ipv6_neighbors.template b/templates/cisco_ios_show_ipv6_neighbors.template new file mode 100644 index 0000000000..0ec9baa4a5 --- /dev/null +++ b/templates/cisco_ios_show_ipv6_neighbors.template @@ -0,0 +1,11 @@ +Value ADDRESS (\S+) +Value AGE (\d+) +Value MAC (\S+) +Value TYPE (\S+) +Value INTERFACE (\S+) + +Start + ^IPv6\s+Address\s+Age\s+Link-layer\s+Addr\s+State\s+Interface\s*$$ + ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${TYPE}\s+${INTERFACE} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index c9f14fc1af..bd65e648d5 100644 --- a/templates/index +++ b/templates/index @@ -150,6 +150,7 @@ cisco_ios_show_ip_access-lists.template, .*, cisco_ios, sh[[ow]] ip acce[[ss-lis cisco_ios_show_power_available.template, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] cisco_ios_show_ip_bgp_summary.template, .*, cisco_ios, sh[[ow]] ip bgp sum[[mary]] cisco_ios_show_ip_prefix-list.template, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] +cisco_ios_show_ipv6_neighbors.template, .*, cisco_ios, sh[[ow]] ipv[[6]] ne[[ighbors]] cisco_ios_show_isis_neighbors.template, .*, cisco_ios, sh[[ow]] isis ne[[ighbors]] cisco_ios_show_lldp_neighbors.template, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] cisco_ios_show_power_supplies.template, .*, cisco_ios, sh[[ow]] pow[[er]] su[[pplies]] diff --git a/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.parsed b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.parsed new file mode 100644 index 0000000000..b4ccc4e4da --- /dev/null +++ b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.parsed @@ -0,0 +1,48 @@ +--- +parsed_sample: + +- address: 2402:1234:106:100:793A:F08D:5B3A:EF89 + age: '33' + interface: Vl6 + mac: 54e1.addb.200f + type: STALE +- address: 2402:1234:106:100:A193:9153:7CAF:9802 + age: '1' + interface: Vl6 + mac: 54e1.addb.200f + type: STALE +- address: 2402:1234:106:100:B419:F5DF:B315:F3C5 + age: '144' + interface: Vl6 + mac: 0800.2729.8bc1 + type: STALE +- address: 2402:1234:106:100:B8F1:D9D3:A5F1:C1C9 + age: '4' + interface: Vl6 + mac: 507b.9dcd.c2ae + type: STALE +- address: 2402:1234:106:100:CC71:364E:A3E7:62B8 + age: '36' + interface: Vl6 + mac: 507b.9dcd.c2ae + type: STALE +- address: FE80::5AAC:78FF:FEF8:CCCC + age: '23' + interface: Vl6 + mac: 58ac.78f8.cccc + type: STALE +- address: FE80::7A0C:F0FF:FE8E:2FF4 + age: '103' + interface: Vl6 + mac: 780c.f08e.2ff4 + type: STALE +- address: FE80::7EAD:74FF:FE85:B86 + age: '22' + interface: Vl6 + mac: 7cad.7485.0c16 + type: STALE +- address: FE80::208:E3FF:FEFF:FC28 + age: '0' + interface: Vl687 + mac: 0008.e3ff.fc28 + type: REACH diff --git a/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.raw b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.raw new file mode 100644 index 0000000000..aad1515b18 --- /dev/null +++ b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.raw @@ -0,0 +1,10 @@ +IPv6 Address Age Link-layer Addr State Interface +2402:1234:106:100:793A:F08D:5B3A:EF89 33 54e1.addb.200f STALE Vl6 +2402:1234:106:100:A193:9153:7CAF:9802 1 54e1.addb.200f STALE Vl6 +2402:1234:106:100:B419:F5DF:B315:F3C5 144 0800.2729.8bc1 STALE Vl6 +2402:1234:106:100:B8F1:D9D3:A5F1:C1C9 4 507b.9dcd.c2ae STALE Vl6 +2402:1234:106:100:CC71:364E:A3E7:62B8 36 507b.9dcd.c2ae STALE Vl6 +FE80::5AAC:78FF:FEF8:CCCC 23 58ac.78f8.cccc STALE Vl6 +FE80::7A0C:F0FF:FE8E:2FF4 103 780c.f08e.2ff4 STALE Vl6 +FE80::7EAD:74FF:FE85:B86 22 7cad.7485.0c16 STALE Vl6 +FE80::208:E3FF:FEFF:FC28 0 0008.e3ff.fc28 REACH Vl687 From 9b16b55cf5810910163a1335f900a6dfba932eaa Mon Sep 17 00:00:00 2001 From: lachlanjholmes <1935116+lachlanjholmes@users.noreply.github.com> Date: Mon, 4 Feb 2019 15:12:38 +1100 Subject: [PATCH 237/628] IOS SHOW INTERFACES : Capture additional info (#368) NEW CAPTURE GROUPS: - `LAST_INPUT` - `LAST_OUTPUT` - `LAST_OUTPUT_HANG` --- templates/cisco_ios_show_interfaces.template | 4 + .../cisco_ios_show_interfaces.parsed | 360 +-- .../cisco_ios_show_interfaces2.parsed | 2520 +++++++++-------- .../cisco_ios_show_interfaces3.parsed | 630 +++-- 4 files changed, 1876 insertions(+), 1638 deletions(-) diff --git a/templates/cisco_ios_show_interfaces.template b/templates/cisco_ios_show_interfaces.template index 72df5ad28d..215c30b38d 100644 --- a/templates/cisco_ios_show_interfaces.template +++ b/templates/cisco_ios_show_interfaces.template @@ -12,6 +12,9 @@ Value SPEED (.*?) Value BANDWIDTH (\d+\s+\w+) Value DELAY (\d+\s+\S+) Value ENCAPSULATION (.+?) +Value LAST_INPUT (.+?) +Value LAST_OUTPUT (.+?) +Value LAST_OUTPUT_HANG (.+?) Value QUEUE_STRATEGY (.+) Value INPUT_RATE (\d+) Value OUTPUT_RATE (\d+) @@ -29,6 +32,7 @@ Start ^\s+Internet\s+address\s+is\s+${IP_ADDRESS}\s*$$ ^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY},\s*$$ ^\s+Encapsulation\s+${ENCAPSULATION},.+$$ + ^\s+Last\s+input\s+${LAST_INPUT},\s+output\s+${LAST_OUTPUT},\s+output\s+hang\s+${LAST_OUTPUT_HANG}\s*$$ ^\s+Queueing\s+strategy:\s+${QUEUE_STRATEGY}\s*$$ ^\s+${DUPLEX},\s+${SPEED},.+$$ ^.*input\s+rate\s+${INPUT_RATE}.+$$ diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed index d7612a7c6f..4d0a6cb8af 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed @@ -1,171 +1,195 @@ --- parsed_sample: -- address: fa16.3e57.336f - bandwidth: 1000000 Kbit - bia: fa16.3e57.336f - delay: 10 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_errors: '0' - input_packets: '324' - input_rate: '0' - interface: GigabitEthernet0/0 - ip_address: '' - link_status: reset - mtu: '1500' - output_errors: '0' - output_packets: '703' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3e4f.41cc - bandwidth: 1000000 Kbit - bia: fa16.3e4f.41cc - delay: 10 usec - description: to iosvl2-2 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_errors: '0' - input_packets: '83' - input_rate: '0' - interface: GigabitEthernet0/1 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '15513' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3ea3.3e49 - bandwidth: 1000000 Kbit - bia: fa16.3ea3.3e49 - delay: 10 usec - description: to iosvl2-4 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_errors: '0' - input_packets: '8677' - input_rate: '0' - interface: GigabitEthernet0/2 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '420798' - output_rate: '1000' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3e31.2c47 - bandwidth: 1000000 Kbit - bia: fa16.3e31.2c47 - delay: 10 usec - description: to iosvl2-3 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_errors: '0' - input_packets: '8638' - input_rate: '0' - interface: GigabitEthernet0/3 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '420819' - output_rate: '1000' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3ec8.50ab - bandwidth: 1000000 Kbit - bia: fa16.3ec8.50ab - delay: 10 usec - description: to iosvl2-3 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_errors: '0' - input_packets: '8627' - input_rate: '0' - interface: GigabitEthernet1/0 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '420790' - output_rate: '2000' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3e4f.41cc - bandwidth: 100000 Kbit - bia: fa16.3e4f.41cc - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: EtherChannel - input_errors: '0' - input_packets: '85' - input_rate: '0' - interface: Port-channel1 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: '' - bandwidth: 8000000 Kbit - bia: '' - delay: 5000 usec - description: Loopback - duplex: '' - encapsulation: LOOPBACK - hardware_type: Loopback - input_errors: '' - input_packets: '0' - input_rate: '0' - interface: Loopback0 - ip_address: '' - link_status: up - mtu: '1514' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: fa16.3e57.8001 - bandwidth: 1000000 Kbit - bia: fa16.3e57.8001 - delay: 10 usec - description: OOB Management - duplex: '' - encapsulation: ARPA - hardware_type: Ethernet SVI - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: Vlan1 - ip_address: 10.255.0.16/16 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '4' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' +- address: fa16.3e57.336f + bandwidth: 1000000 Kbit + bia: fa16.3e57.336f + delay: 10 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: iGbE + input_errors: '0' + input_packets: '324' + input_rate: '0' + interface: GigabitEthernet0/0 + ip_address: '' + last_input: 1d21h + last_output: 1d21h + last_output_hang: never + link_status: reset + mtu: '1500' + output_errors: '0' + output_packets: '703' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: fa16.3e4f.41cc + bandwidth: 1000000 Kbit + bia: fa16.3e4f.41cc + delay: 10 usec + description: to iosvl2-2 + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: iGbE + input_errors: '0' + input_packets: '83' + input_rate: '0' + interface: GigabitEthernet0/1 + ip_address: '' + last_input: 1d21h + last_output: 00:00:02 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '15513' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: Auto-speed +- address: fa16.3ea3.3e49 + bandwidth: 1000000 Kbit + bia: fa16.3ea3.3e49 + delay: 10 usec + description: to iosvl2-4 + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: iGbE + input_errors: '0' + input_packets: '8677' + input_rate: '0' + interface: GigabitEthernet0/2 + ip_address: '' + last_input: 00:00:13 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '420798' + output_rate: '1000' + protocol_status: up (connected) + queue_strategy: fifo + speed: Auto-speed +- address: fa16.3e31.2c47 + bandwidth: 1000000 Kbit + bia: fa16.3e31.2c47 + delay: 10 usec + description: to iosvl2-3 + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: iGbE + input_errors: '0' + input_packets: '8638' + input_rate: '0' + interface: GigabitEthernet0/3 + ip_address: '' + last_input: 00:00:28 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '420819' + output_rate: '1000' + protocol_status: up (connected) + queue_strategy: fifo + speed: Auto-speed +- address: fa16.3ec8.50ab + bandwidth: 1000000 Kbit + bia: fa16.3ec8.50ab + delay: 10 usec + description: to iosvl2-3 + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: iGbE + input_errors: '0' + input_packets: '8627' + input_rate: '0' + interface: GigabitEthernet1/0 + ip_address: '' + last_input: 00:00:26 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '420790' + output_rate: '2000' + protocol_status: up (connected) + queue_strategy: fifo + speed: Auto-speed +- address: fa16.3e4f.41cc + bandwidth: 100000 Kbit + bia: fa16.3e4f.41cc + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: EtherChannel + input_errors: '0' + input_packets: '85' + input_rate: '0' + interface: Port-channel1 + ip_address: '' + last_input: 1d21h + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: '' + bandwidth: 8000000 Kbit + bia: '' + delay: 5000 usec + description: Loopback + duplex: '' + encapsulation: LOOPBACK + hardware_type: Loopback + input_errors: '' + input_packets: '0' + input_rate: '0' + interface: Loopback0 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: up + mtu: '1514' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: fa16.3e57.8001 + bandwidth: 1000000 Kbit + bia: fa16.3e57.8001 + delay: 10 usec + description: OOB Management + duplex: '' + encapsulation: ARPA + hardware_type: Ethernet SVI + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: Vlan1 + ip_address: 10.255.0.16/16 + last_input: never + last_output: never + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '4' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed index 2e0a401068..828a8deaff 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed @@ -1,1179 +1,1347 @@ --- parsed_sample: -- address: 0014.1c57.a4c0 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c0 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_errors: '0' - input_packets: '37453340' - input_rate: '0' - interface: Vlan1 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a4c1 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c1 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_errors: '0' - input_packets: '3772' - input_rate: '0' - interface: Vlan50 - ip_address: 10.1.50.1/24 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '3804' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a4c2 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c2 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_errors: '0' - input_packets: '6313297' - input_rate: '2000' - interface: Vlan100 - ip_address: 10.1.100.1/24 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '10453439' - output_rate: '2000' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a4c3 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c3 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_errors: '0' - input_packets: '7881502' - input_rate: '0' - interface: Vlan254 - ip_address: 10.1.254.1/24 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '47843' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a483 - bandwidth: 100000 Kbit - bia: 0014.1c57.a483 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '1' - input_packets: '8647579827' - input_rate: '182000' - interface: FastEthernet1/0/1 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '86941746207' - output_rate: '38883000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a484 - bandwidth: 100000 Kbit - bia: 0014.1c57.a484 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '86697408651' - input_rate: '38882000' - interface: FastEthernet1/0/2 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '8485702870' - output_rate: '182000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a485 - bandwidth: 100000 Kbit - bia: 0014.1c57.a485 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '233361378' - input_rate: '0' - interface: FastEthernet1/0/3 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '246128007' - output_rate: '1000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a486 - bandwidth: 10000 Kbit - bia: 0014.1c57.a486 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/4 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a487 - bandwidth: 10000 Kbit - bia: 0014.1c57.a487 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/5 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a488 - bandwidth: 10000 Kbit - bia: 0014.1c57.a488 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/6 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a489 - bandwidth: 10000 Kbit - bia: 0014.1c57.a489 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/7 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a48a - bandwidth: 10000 Kbit - bia: 0014.1c57.a48a - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/8 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a48b - bandwidth: 100000 Kbit - bia: 0014.1c57.a48b - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '86293954347' - input_rate: '38871000' - interface: FastEthernet1/0/9 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '8120676183' - output_rate: '174000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a48c - bandwidth: 100000 Kbit - bia: 0014.1c57.a48c - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '85011546' - input_rate: '0' - interface: FastEthernet1/0/10 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '118427887' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a48d - bandwidth: 100000 Kbit - bia: 0014.1c57.a48d - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '13503663' - input_rate: '0' - interface: FastEthernet1/0/11 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '96706284' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a48e - bandwidth: 100000 Kbit - bia: 0014.1c57.a48e - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '566684' - input_rate: '0' - interface: FastEthernet1/0/12 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '10387099' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a48f - bandwidth: 100000 Kbit - bia: 0014.1c57.a48f - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '5093298' - input_rate: '0' - interface: FastEthernet1/0/13 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '35059143' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a490 - bandwidth: 100000 Kbit - bia: 0014.1c57.a490 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '4381776' - input_rate: '0' - interface: FastEthernet1/0/14 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '33579140' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a491 - bandwidth: 100000 Kbit - bia: 0014.1c57.a491 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '6095906' - input_rate: '0' - interface: FastEthernet1/0/15 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '31933579' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a492 - bandwidth: 100000 Kbit - bia: 0014.1c57.a492 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '3048741' - input_rate: '0' - interface: FastEthernet1/0/16 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '23191458' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a493 - bandwidth: 100000 Kbit - bia: 0014.1c57.a493 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '515815' - input_rate: '0' - interface: FastEthernet1/0/17 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '3364092' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a494 - bandwidth: 100000 Kbit - bia: 0014.1c57.a494 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '56335' - input_rate: '0' - interface: FastEthernet1/0/18 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '2263838' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a495 - bandwidth: 100000 Kbit - bia: 0014.1c57.a495 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '2154038' - input_rate: '0' - interface: FastEthernet1/0/19 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '15816478' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a496 - bandwidth: 100000 Kbit - bia: 0014.1c57.a496 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '2238092' - input_rate: '0' - interface: FastEthernet1/0/20 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '15877977' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a497 - bandwidth: 100000 Kbit - bia: 0014.1c57.a497 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '1' - input_packets: '4942593' - input_rate: '0' - interface: FastEthernet1/0/21 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '43723513' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a498 - bandwidth: 100000 Kbit - bia: 0014.1c57.a498 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '1' - input_packets: '6201152' - input_rate: '0' - interface: FastEthernet1/0/22 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '43660027' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a499 - bandwidth: 100000 Kbit - bia: 0014.1c57.a499 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/23 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '56' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49a - bandwidth: 100000 Kbit - bia: 0014.1c57.a49a - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '2397801' - input_rate: '0' - interface: FastEthernet1/0/24 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '45635335' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a49d - bandwidth: 10000 Kbit - bia: 0014.1c57.a49d - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/25 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49e - bandwidth: 10000 Kbit - bia: 0014.1c57.a49e - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/26 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49f - bandwidth: 100000 Kbit - bia: 0014.1c57.a49f - delay: 100 usec - description: '' - duplex: Half-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '288816' - input_rate: '0' - interface: FastEthernet1/0/27 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '55357995' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a0 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a0 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '2' - input_packets: '295313' - input_rate: '0' - interface: FastEthernet1/0/28 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '55364859' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a1 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a1 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '28898' - input_packets: '39214781' - input_rate: '1000' - interface: FastEthernet1/0/29 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '90202230' - output_rate: '2000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a2 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a2 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '4811284' - input_rate: '0' - interface: FastEthernet1/0/30 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '55162378' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a3 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a3 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '2255624' - input_rate: '0' - interface: FastEthernet1/0/31 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '15969856' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a4 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a4 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '5743877' - input_rate: '0' - interface: FastEthernet1/0/32 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '20133314' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a5 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a5 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '1' - input_packets: '11086568' - input_rate: '0' - interface: FastEthernet1/0/33 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '46398900' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a6 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a6 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '1071483' - input_rate: '0' - interface: FastEthernet1/0/34 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '11192764' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a7 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a7 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '252774135' - input_rate: '3000' - interface: FastEthernet1/0/35 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '136849790' - output_rate: '2000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a8 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a8 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '30561744' - input_rate: '0' - interface: FastEthernet1/0/36 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '25816556' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a9 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a9 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '23' - input_rate: '0' - interface: FastEthernet1/0/37 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '110' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4aa - bandwidth: 10000 Kbit - bia: 0014.1c57.a4aa - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/38 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ab - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ab - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/39 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ac - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ac - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/40 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ad - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ad - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/41 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ae - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ae - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/42 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4af - bandwidth: 100000 Kbit - bia: 0014.1c57.a4af - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '33944' - input_rate: '0' - interface: FastEthernet1/0/43 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '52215' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b0 - bandwidth: 10000 Kbit - bia: 0014.1c57.a4b0 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/44 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b1 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4b1 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '1103' - input_rate: '0' - interface: FastEthernet1/0/45 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '10099477' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4b2 - bandwidth: 10000 Kbit - bia: 0014.1c57.a4b2 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/46 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b3 - bandwidth: 10000 Kbit - bia: 0014.1c57.a4b3 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/47 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b4 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4b4 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '8407299374' - input_rate: '180000' - interface: FastEthernet1/0/48 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '86731716396' - output_rate: '38881000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a481 - bandwidth: 10000 Kbit - bia: 0014.1c57.a481 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: GigabitEthernet1/0/1 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a482 - bandwidth: 10000 Kbit - bia: 0014.1c57.a482 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: GigabitEthernet1/0/2 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49b - bandwidth: 10000 Kbit - bia: 0014.1c57.a49b - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: GigabitEthernet1/0/3 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49c - bandwidth: 10000 Kbit - bia: 0014.1c57.a49c - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: GigabitEthernet1/0/4 - ip_address: '' - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed +- address: 0014.1c57.a4c0 + bandwidth: 1000000 Kbit + bia: 0014.1c57.a4c0 + delay: 10 usec + description: '' + duplex: '' + encapsulation: ARPA + hardware_type: EtherSVI + input_errors: '0' + input_packets: '37453340' + input_rate: '0' + interface: Vlan1 + ip_address: '' + last_input: 00:00:00 + last_output: never + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: 0014.1c57.a4c1 + bandwidth: 1000000 Kbit + bia: 0014.1c57.a4c1 + delay: 10 usec + description: '' + duplex: '' + encapsulation: ARPA + hardware_type: EtherSVI + input_errors: '0' + input_packets: '3772' + input_rate: '0' + interface: Vlan50 + ip_address: 10.1.50.1/24 + last_input: 01:04:54 + last_output: 01:04:54 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '3804' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: 0014.1c57.a4c2 + bandwidth: 1000000 Kbit + bia: 0014.1c57.a4c2 + delay: 10 usec + description: '' + duplex: '' + encapsulation: ARPA + hardware_type: EtherSVI + input_errors: '0' + input_packets: '6313297' + input_rate: '2000' + interface: Vlan100 + ip_address: 10.1.100.1/24 + last_input: 00:00:00 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '10453439' + output_rate: '2000' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: 0014.1c57.a4c3 + bandwidth: 1000000 Kbit + bia: 0014.1c57.a4c3 + delay: 10 usec + description: '' + duplex: '' + encapsulation: ARPA + hardware_type: EtherSVI + input_errors: '0' + input_packets: '7881502' + input_rate: '0' + interface: Vlan254 + ip_address: 10.1.254.1/24 + last_input: 00:08:48 + last_output: 00:08:48 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '47843' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: 0014.1c57.a483 + bandwidth: 100000 Kbit + bia: 0014.1c57.a483 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '1' + input_packets: '8647579827' + input_rate: '182000' + interface: FastEthernet1/0/1 + ip_address: '' + last_input: 00:00:01 + last_output: 00:00:06 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '86941746207' + output_rate: '38883000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a484 + bandwidth: 100000 Kbit + bia: 0014.1c57.a484 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '86697408651' + input_rate: '38882000' + interface: FastEthernet1/0/2 + ip_address: '' + last_input: never + last_output: 00:00:01 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '8485702870' + output_rate: '182000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a485 + bandwidth: 100000 Kbit + bia: 0014.1c57.a485 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '233361378' + input_rate: '0' + interface: FastEthernet1/0/3 + ip_address: '' + last_input: never + last_output: 00:00:01 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '246128007' + output_rate: '1000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a486 + bandwidth: 10000 Kbit + bia: 0014.1c57.a486 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/4 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a487 + bandwidth: 10000 Kbit + bia: 0014.1c57.a487 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/5 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a488 + bandwidth: 10000 Kbit + bia: 0014.1c57.a488 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/6 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a489 + bandwidth: 10000 Kbit + bia: 0014.1c57.a489 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/7 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a48a + bandwidth: 10000 Kbit + bia: 0014.1c57.a48a + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/8 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a48b + bandwidth: 100000 Kbit + bia: 0014.1c57.a48b + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '86293954347' + input_rate: '38871000' + interface: FastEthernet1/0/9 + ip_address: '' + last_input: 00:00:27 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '8120676183' + output_rate: '174000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a48c + bandwidth: 100000 Kbit + bia: 0014.1c57.a48c + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '85011546' + input_rate: '0' + interface: FastEthernet1/0/10 + ip_address: '' + last_input: 00:00:27 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '118427887' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a48d + bandwidth: 100000 Kbit + bia: 0014.1c57.a48d + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '13503663' + input_rate: '0' + interface: FastEthernet1/0/11 + ip_address: '' + last_input: 21w5d + last_output: 21w5d + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '96706284' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a48e + bandwidth: 100000 Kbit + bia: 0014.1c57.a48e + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '566684' + input_rate: '0' + interface: FastEthernet1/0/12 + ip_address: '' + last_input: 00:00:27 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '10387099' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a48f + bandwidth: 100000 Kbit + bia: 0014.1c57.a48f + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '5093298' + input_rate: '0' + interface: FastEthernet1/0/13 + ip_address: '' + last_input: 00:00:13 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '35059143' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a490 + bandwidth: 100000 Kbit + bia: 0014.1c57.a490 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '4381776' + input_rate: '0' + interface: FastEthernet1/0/14 + ip_address: '' + last_input: 00:00:13 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '33579140' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a491 + bandwidth: 100000 Kbit + bia: 0014.1c57.a491 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '6095906' + input_rate: '0' + interface: FastEthernet1/0/15 + ip_address: '' + last_input: 36w5d + last_output: 36w5d + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '31933579' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a492 + bandwidth: 100000 Kbit + bia: 0014.1c57.a492 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '3048741' + input_rate: '0' + interface: FastEthernet1/0/16 + ip_address: '' + last_input: 36w5d + last_output: 36w5d + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '23191458' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a493 + bandwidth: 100000 Kbit + bia: 0014.1c57.a493 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '515815' + input_rate: '0' + interface: FastEthernet1/0/17 + ip_address: '' + last_input: 1y28w + last_output: 1y28w + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '3364092' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a494 + bandwidth: 100000 Kbit + bia: 0014.1c57.a494 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '56335' + input_rate: '0' + interface: FastEthernet1/0/18 + ip_address: '' + last_input: 1y29w + last_output: 1y29w + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '2263838' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a495 + bandwidth: 100000 Kbit + bia: 0014.1c57.a495 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '2154038' + input_rate: '0' + interface: FastEthernet1/0/19 + ip_address: '' + last_input: 00:00:13 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '15816478' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a496 + bandwidth: 100000 Kbit + bia: 0014.1c57.a496 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '2238092' + input_rate: '0' + interface: FastEthernet1/0/20 + ip_address: '' + last_input: 00:00:13 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '15877977' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a497 + bandwidth: 100000 Kbit + bia: 0014.1c57.a497 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '1' + input_packets: '4942593' + input_rate: '0' + interface: FastEthernet1/0/21 + ip_address: '' + last_input: 00:00:25 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '43723513' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a498 + bandwidth: 100000 Kbit + bia: 0014.1c57.a498 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '1' + input_packets: '6201152' + input_rate: '0' + interface: FastEthernet1/0/22 + ip_address: '' + last_input: 00:00:00 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '43660027' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a499 + bandwidth: 100000 Kbit + bia: 0014.1c57.a499 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/23 + ip_address: '' + last_input: never + last_output: 25w5d + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '56' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a49a + bandwidth: 100000 Kbit + bia: 0014.1c57.a49a + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '2397801' + input_rate: '0' + interface: FastEthernet1/0/24 + ip_address: '' + last_input: 00:00:05 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '45635335' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a49d + bandwidth: 10000 Kbit + bia: 0014.1c57.a49d + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/25 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a49e + bandwidth: 10000 Kbit + bia: 0014.1c57.a49e + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/26 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a49f + bandwidth: 100000 Kbit + bia: 0014.1c57.a49f + delay: 100 usec + description: '' + duplex: Half-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '288816' + input_rate: '0' + interface: FastEthernet1/0/27 + ip_address: '' + last_input: never + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '55357995' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a0 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a0 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '2' + input_packets: '295313' + input_rate: '0' + interface: FastEthernet1/0/28 + ip_address: '' + last_input: never + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '55364859' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a1 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a1 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '28898' + input_packets: '39214781' + input_rate: '1000' + interface: FastEthernet1/0/29 + ip_address: '' + last_input: never + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '90202230' + output_rate: '2000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a2 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a2 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '4811284' + input_rate: '0' + interface: FastEthernet1/0/30 + ip_address: '' + last_input: never + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '55162378' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a3 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a3 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '2255624' + input_rate: '0' + interface: FastEthernet1/0/31 + ip_address: '' + last_input: 00:00:13 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '15969856' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a4 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a4 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '5743877' + input_rate: '0' + interface: FastEthernet1/0/32 + ip_address: '' + last_input: 00:00:13 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '20133314' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a5 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a5 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '1' + input_packets: '11086568' + input_rate: '0' + interface: FastEthernet1/0/33 + ip_address: '' + last_input: 00:00:13 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '46398900' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a6 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a6 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '1071483' + input_rate: '0' + interface: FastEthernet1/0/34 + ip_address: '' + last_input: 00:00:13 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '11192764' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a7 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a7 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '252774135' + input_rate: '3000' + interface: FastEthernet1/0/35 + ip_address: '' + last_input: 25w5d + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '136849790' + output_rate: '2000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a8 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a8 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '30561744' + input_rate: '0' + interface: FastEthernet1/0/36 + ip_address: '' + last_input: 00:00:00 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '25816556' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4a9 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4a9 + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '23' + input_rate: '0' + interface: FastEthernet1/0/37 + ip_address: '' + last_input: 25w5d + last_output: 25w5d + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '110' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4aa + bandwidth: 10000 Kbit + bia: 0014.1c57.a4aa + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/38 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4ab + bandwidth: 10000 Kbit + bia: 0014.1c57.a4ab + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/39 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4ac + bandwidth: 10000 Kbit + bia: 0014.1c57.a4ac + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/40 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4ad + bandwidth: 10000 Kbit + bia: 0014.1c57.a4ad + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/41 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4ae + bandwidth: 10000 Kbit + bia: 0014.1c57.a4ae + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/42 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4af + bandwidth: 100000 Kbit + bia: 0014.1c57.a4af + delay: 100 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '33944' + input_rate: '0' + interface: FastEthernet1/0/43 + ip_address: '' + last_input: never + last_output: 25w5d + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '52215' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4b0 + bandwidth: 10000 Kbit + bia: 0014.1c57.a4b0 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/44 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4b1 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4b1 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '1103' + input_rate: '0' + interface: FastEthernet1/0/45 + ip_address: '' + last_input: never + last_output: 00:00:01 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '10099477' + output_rate: '0' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a4b2 + bandwidth: 10000 Kbit + bia: 0014.1c57.a4b2 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/46 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4b3 + bandwidth: 10000 Kbit + bia: 0014.1c57.a4b3 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: FastEthernet1/0/47 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a4b4 + bandwidth: 100000 Kbit + bia: 0014.1c57.a4b4 + delay: 100 usec + description: '' + duplex: Full-duplex + encapsulation: ARPA + hardware_type: Fast Ethernet + input_errors: '0' + input_packets: '8407299374' + input_rate: '180000' + interface: FastEthernet1/0/48 + ip_address: '' + last_input: never + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '86731716396' + output_rate: '38881000' + protocol_status: up (connected) + queue_strategy: fifo + speed: 100Mb/s +- address: 0014.1c57.a481 + bandwidth: 10000 Kbit + bia: 0014.1c57.a481 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Gigabit Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: GigabitEthernet1/0/1 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a482 + bandwidth: 10000 Kbit + bia: 0014.1c57.a482 + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Gigabit Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: GigabitEthernet1/0/2 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a49b + bandwidth: 10000 Kbit + bia: 0014.1c57.a49b + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Gigabit Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: GigabitEthernet1/0/3 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed +- address: 0014.1c57.a49c + bandwidth: 10000 Kbit + bia: 0014.1c57.a49c + delay: 1000 usec + description: '' + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: Gigabit Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: GigabitEthernet1/0/4 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down (notconnect) + queue_strategy: fifo + speed: Auto-speed diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed index 3f829e58e9..3a3856029c 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed @@ -1,297 +1,339 @@ --- parsed_sample: -- address: 000f.352d.2381 - bandwidth: 100000 Kbit - bia: 000f.352d.2381 - delay: 100 usec - description: Connects to LAN - duplex: Full Duplex - encapsulation: 802.1Q Virtual LAN - hardware_type: MV96340 Ethernet - input_errors: '0' - input_packets: '338297234' - input_rate: '95000' - interface: GigabitEthernet0/0 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '336857668' - output_rate: '90000' - protocol_status: up - queue_strategy: fifo - speed: 100Mbps -- address: 000f.352d.2381 - bandwidth: 100000 Kbit - bia: 000f.352d.2381 - delay: 100 usec - description: LAN - duplex: '' - encapsulation: 802.1Q Virtual LAN - hardware_type: MV96340 Ethernet - input_errors: '' - input_packets: '' - input_rate: '' - interface: GigabitEthernet0/0.6 - ip_address: 192.27.6.129/26 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - output_rate: '' - protocol_status: up - queue_strategy: '' - speed: '' -- address: 000f.352d.2381 - bandwidth: 100000 Kbit - bia: 000f.352d.2381 - delay: 100 usec - description: Wireless LAN - duplex: '' - encapsulation: 802.1Q Virtual LAN - hardware_type: MV96340 Ethernet - input_errors: '' - input_packets: '' - input_rate: '' - interface: GigabitEthernet0/0.44 - ip_address: 192.22.44.193/26 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - output_rate: '' - protocol_status: up - queue_strategy: '' - speed: '' -- address: 000f.352d.2381 - bandwidth: 100000 Kbit - bia: 000f.352d.2381 - delay: 100 usec - description: Voice LAN - duplex: '' - encapsulation: 802.1Q Virtual LAN - hardware_type: MV96340 Ethernet - input_errors: '' - input_packets: '' - input_rate: '' - interface: GigabitEthernet0/0.188 - ip_address: 192.24.188.65/26 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - output_rate: '' - protocol_status: up - queue_strategy: '' - speed: '' -- address: 000f.352d.2381 - bandwidth: 100000 Kbit - bia: 000f.352d.2381 - delay: 100 usec - description: Native Vlan - duplex: '' - encapsulation: 802.1Q Virtual LAN - hardware_type: MV96340 Ethernet - input_errors: '' - input_packets: '' - input_rate: '' - interface: GigabitEthernet0/0.666 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - output_rate: '' - protocol_status: up - queue_strategy: '' - speed: '' -- address: 000f.352d.2382 - bandwidth: 1000000 Kbit - bia: 000f.352d.2382 - delay: 10 usec - description: NOT IN USE - duplex: Auto Duplex - encapsulation: ARPA - hardware_type: MV96340 Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: GigabitEthernet0/1 - ip_address: '' - link_status: administratively down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down - queue_strategy: fifo - speed: Auto Speed -- address: b838.6148.8780 - bandwidth: 10000 Kbit - bia: b838.6148.8780 - delay: 100 usec - description: connection to Provider - duplex: Full-duplex - encapsulation: 802.1Q Virtual LAN - hardware_type: FastEthernet - input_errors: '0' - input_packets: '' - input_rate: '96000' - interface: FastEthernet0/1/0 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '350115018' - output_rate: '111000' - protocol_status: up - queue_strategy: Class-based queueing - speed: 100Mb/s -- address: b838.6148.8780 - bandwidth: 10000 Kbit - bia: b838.6148.8780 - delay: 100 usec - description: AVPN Circuit - duplex: '' - encapsulation: 802.1Q Virtual LAN - hardware_type: FastEthernet - input_errors: '' - input_packets: '' - input_rate: '' - interface: FastEthernet0/1/0.50 - ip_address: 192.20.194.29/30 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - output_rate: '' - protocol_status: up - queue_strategy: '' - speed: '' -- address: b838.6148.8781 - bandwidth: 100000 Kbit - bia: b838.6148.8781 - delay: 100 usec - description: NOT IN USE - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: FastEthernet - input_errors: '0' - input_packets: '' - input_rate: '0' - interface: FastEthernet0/1/1 - ip_address: '' - link_status: administratively down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down - queue_strategy: fifo - speed: Auto Speed -- address: '' - bandwidth: 8000000 Kbit - bia: '' - delay: 5000 usec - description: Loopback Interface - duplex: '' - encapsulation: LOOPBACK - hardware_type: Loopback - input_errors: '' - input_packets: '2292' - input_rate: '0' - interface: Loopback0 - ip_address: 192.20.0.144/32 - link_status: up - mtu: '1514' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: '' - bandwidth: 100 Kbit - bia: '' - delay: 50000 usec - description: '' - duplex: '' - encapsulation: TUNNEL - hardware_type: Tunnel - input_errors: '' - input_packets: '0' - input_rate: '0' - interface: Tunnel0 - ip_address: '' - link_status: up - mtu: '17912' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: '' - bandwidth: 100 Kbit - bia: '' - delay: 50000 usec - description: '' - duplex: '' - encapsulation: TUNNEL - hardware_type: Tunnel - input_errors: '' - input_packets: '0' - input_rate: '0' - interface: Tunnel1 - ip_address: '' - link_status: up - mtu: '17912' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: '' - bandwidth: 100 Kbit - bia: '' - delay: 50000 usec - description: '' - duplex: '' - encapsulation: TUNNEL - hardware_type: Tunnel - input_errors: '' - input_packets: '0' - input_rate: '0' - interface: Tunnel2 - ip_address: '' - link_status: up - mtu: '17912' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: '' - bandwidth: 100 Kbit - bia: '' - delay: 50000 usec - description: '' - duplex: '' - encapsulation: TUNNEL - hardware_type: Tunnel - input_errors: '' - input_packets: '0' - input_rate: '0' - interface: Tunnel3 - ip_address: '' - link_status: up - mtu: '17912' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' +- address: 000f.352d.2381 + bandwidth: 100000 Kbit + bia: 000f.352d.2381 + delay: 100 usec + description: Connects to LAN + duplex: Full Duplex + encapsulation: 802.1Q Virtual LAN + hardware_type: MV96340 Ethernet + input_errors: '0' + input_packets: '338297234' + input_rate: '95000' + interface: GigabitEthernet0/0 + ip_address: '' + last_input: 00:00:24 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '336857668' + output_rate: '90000' + protocol_status: up + queue_strategy: fifo + speed: 100Mbps +- address: 000f.352d.2381 + bandwidth: 100000 Kbit + bia: 000f.352d.2381 + delay: 100 usec + description: LAN + duplex: '' + encapsulation: 802.1Q Virtual LAN + hardware_type: MV96340 Ethernet + input_errors: '' + input_packets: '' + input_rate: '' + interface: GigabitEthernet0/0.6 + ip_address: 192.27.6.129/26 + last_input: '' + last_output: '' + last_output_hang: '' + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + output_rate: '' + protocol_status: up + queue_strategy: '' + speed: '' +- address: 000f.352d.2381 + bandwidth: 100000 Kbit + bia: 000f.352d.2381 + delay: 100 usec + description: Wireless LAN + duplex: '' + encapsulation: 802.1Q Virtual LAN + hardware_type: MV96340 Ethernet + input_errors: '' + input_packets: '' + input_rate: '' + interface: GigabitEthernet0/0.44 + ip_address: 192.22.44.193/26 + last_input: '' + last_output: '' + last_output_hang: '' + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + output_rate: '' + protocol_status: up + queue_strategy: '' + speed: '' +- address: 000f.352d.2381 + bandwidth: 100000 Kbit + bia: 000f.352d.2381 + delay: 100 usec + description: Voice LAN + duplex: '' + encapsulation: 802.1Q Virtual LAN + hardware_type: MV96340 Ethernet + input_errors: '' + input_packets: '' + input_rate: '' + interface: GigabitEthernet0/0.188 + ip_address: 192.24.188.65/26 + last_input: '' + last_output: '' + last_output_hang: '' + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + output_rate: '' + protocol_status: up + queue_strategy: '' + speed: '' +- address: 000f.352d.2381 + bandwidth: 100000 Kbit + bia: 000f.352d.2381 + delay: 100 usec + description: Native Vlan + duplex: '' + encapsulation: 802.1Q Virtual LAN + hardware_type: MV96340 Ethernet + input_errors: '' + input_packets: '' + input_rate: '' + interface: GigabitEthernet0/0.666 + ip_address: '' + last_input: '' + last_output: '' + last_output_hang: '' + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + output_rate: '' + protocol_status: up + queue_strategy: '' + speed: '' +- address: 000f.352d.2382 + bandwidth: 1000000 Kbit + bia: 000f.352d.2382 + delay: 10 usec + description: NOT IN USE + duplex: Auto Duplex + encapsulation: ARPA + hardware_type: MV96340 Ethernet + input_errors: '0' + input_packets: '0' + input_rate: '0' + interface: GigabitEthernet0/1 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: administratively down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down + queue_strategy: fifo + speed: Auto Speed +- address: b838.6148.8780 + bandwidth: 10000 Kbit + bia: b838.6148.8780 + delay: 100 usec + description: connection to Provider + duplex: Full-duplex + encapsulation: 802.1Q Virtual LAN + hardware_type: FastEthernet + input_errors: '0' + input_packets: '' + input_rate: '96000' + interface: FastEthernet0/1/0 + ip_address: '' + last_input: 00:00:00 + last_output: 00:00:00 + last_output_hang: never + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '350115018' + output_rate: '111000' + protocol_status: up + queue_strategy: Class-based queueing + speed: 100Mb/s +- address: b838.6148.8780 + bandwidth: 10000 Kbit + bia: b838.6148.8780 + delay: 100 usec + description: AVPN Circuit + duplex: '' + encapsulation: 802.1Q Virtual LAN + hardware_type: FastEthernet + input_errors: '' + input_packets: '' + input_rate: '' + interface: FastEthernet0/1/0.50 + ip_address: 192.20.194.29/30 + last_input: '' + last_output: '' + last_output_hang: '' + link_status: up + mtu: '1500' + output_errors: '' + output_packets: '' + output_rate: '' + protocol_status: up + queue_strategy: '' + speed: '' +- address: b838.6148.8781 + bandwidth: 100000 Kbit + bia: b838.6148.8781 + delay: 100 usec + description: NOT IN USE + duplex: Auto-duplex + encapsulation: ARPA + hardware_type: FastEthernet + input_errors: '0' + input_packets: '' + input_rate: '0' + interface: FastEthernet0/1/1 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: administratively down + mtu: '1500' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: down + queue_strategy: fifo + speed: Auto Speed +- address: '' + bandwidth: 8000000 Kbit + bia: '' + delay: 5000 usec + description: Loopback Interface + duplex: '' + encapsulation: LOOPBACK + hardware_type: Loopback + input_errors: '' + input_packets: '2292' + input_rate: '0' + interface: Loopback0 + ip_address: 192.20.0.144/32 + last_input: never + last_output: never + last_output_hang: never + link_status: up + mtu: '1514' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: '' + bandwidth: 100 Kbit + bia: '' + delay: 50000 usec + description: '' + duplex: '' + encapsulation: TUNNEL + hardware_type: Tunnel + input_errors: '' + input_packets: '0' + input_rate: '0' + interface: Tunnel0 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: up + mtu: '17912' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: '' + bandwidth: 100 Kbit + bia: '' + delay: 50000 usec + description: '' + duplex: '' + encapsulation: TUNNEL + hardware_type: Tunnel + input_errors: '' + input_packets: '0' + input_rate: '0' + interface: Tunnel1 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: up + mtu: '17912' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: '' + bandwidth: 100 Kbit + bia: '' + delay: 50000 usec + description: '' + duplex: '' + encapsulation: TUNNEL + hardware_type: Tunnel + input_errors: '' + input_packets: '0' + input_rate: '0' + interface: Tunnel2 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: up + mtu: '17912' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' +- address: '' + bandwidth: 100 Kbit + bia: '' + delay: 50000 usec + description: '' + duplex: '' + encapsulation: TUNNEL + hardware_type: Tunnel + input_errors: '' + input_packets: '0' + input_rate: '0' + interface: Tunnel3 + ip_address: '' + last_input: never + last_output: never + last_output_hang: never + link_status: up + mtu: '17912' + output_errors: '0' + output_packets: '0' + output_rate: '0' + protocol_status: up + queue_strategy: fifo + speed: '' From 02ac19ac644e48ace2a84ec536e094f0105438bf Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 15 Feb 2019 15:57:58 +0000 Subject: [PATCH 238/628] Add show_boot template for cisco_ios --- templates/cisco_ios_show_boot.template | 32 +++++++++++++++++++ templates/index | 1 + .../show_boot/cisco_ios_show_boot.parsed | 16 ++++++++++ .../show_boot/cisco_ios_show_boot.raw | 15 +++++++++ 4 files changed, 64 insertions(+) create mode 100644 templates/cisco_ios_show_boot.template create mode 100644 tests/cisco_ios/show_boot/cisco_ios_show_boot.parsed create mode 100644 tests/cisco_ios/show_boot/cisco_ios_show_boot.raw diff --git a/templates/cisco_ios_show_boot.template b/templates/cisco_ios_show_boot.template new file mode 100644 index 0000000000..bcacd0576e --- /dev/null +++ b/templates/cisco_ios_show_boot.template @@ -0,0 +1,32 @@ +Value BOOT_PATH (\S+) +Value CONFIG_FILE (\S+) +Value PRIV_CONFIG_FILE (\S+) +Value ENABLE_BREAK (yes|no) +Value MANUAL_BOOT (yes|no) +Value ALLOW_DEV_KEY (yes|no) +Value HELPER_PATH_LIST (\S+) +Value AUTO_UPGRADE (yes|no) +Value AUTO_UPGRADE_PATH (\S+) +Value BUFFER_SIZE (\d+) +Value TIMEOUT_CONFIG_DOWNLOAD (\d+) +Value CONFIG_DOWNLOAD_DHCP (enabled|disabled) +Value CONFIG_DOWNLOAD_DHCP_NEXT_BOOT (enabled|disabled) + +Start + ^BOOT\s+path-list\s+:\s+${BOOT_PATH} + ^Config\s+file\s+:\s+${CONFIG_FILE} + ^Private\s+Config\s+file\s+:\s+${PRIV_CONFIG_FILE} + ^Enable\s+Break\s+:\s+${ENABLE_BREAK} + ^Manual\s+Boot\s+:\s+${MANUAL_BOOT} + ^Allow\s+Dev\s+Key\s+:\s+${ALLOW_DEV_KEY} + ^HELPER\s+path-list\s+:.* + ^Auto\s+upgrade\s+:\s+${AUTO_UPGRADE} + ^Auto\s+upgrade\s+path\s+:.* + ^NVRAM/Config\s+file + ^\s+buffer\s+size:\s+${BUFFER_SIZE} + ^Timeout\s+for\s+Config + ^\s+Download:\s+${TIMEOUT_CONFIG_DOWNLOAD} + ^Config\s+Download + ^\s+via\s+DHCP:\s+${CONFIG_DOWNLOAD_DHCP} + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 5131458359..e3ef790afd 100644 --- a/templates/index +++ b/templates/index @@ -146,6 +146,7 @@ cisco_ios_show_ip_arp.template, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] cisco_ios_show_ip_bgp.template, .*, cisco_ios, sh[[ow]] i[[p]] bgp cisco_ios_show_clock.template, .*, cisco_ios, sh[[ow]] clo[[ck]] cisco_ios_show_vlan.template, .*, cisco_ios, sh[[ow]] vlan +cisco_ios_show_boot.template, .*, cisco_ios, sh[[ow]] boot cisco_ios_show_vrf.template, .*, cisco_ios, sh[[ow]] vrf cisco_ios_dir.template, .*, cisco_ios, dir diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot.parsed b/tests/cisco_ios/show_boot/cisco_ios_show_boot.parsed new file mode 100644 index 0000000000..715ec0eeac --- /dev/null +++ b/tests/cisco_ios/show_boot/cisco_ios_show_boot.parsed @@ -0,0 +1,16 @@ +--- +parsed_sample: + +- allow_dev_key: 'yes' + auto_upgrade: 'yes' + auto_upgrade_path: '' + boot_path: flash:c3750e-ipbasek9-mz.150-2.SE11.bin + buffer_size: '524288' + config_download_dhcp: disabled + config_download_dhcp_next_boot: '' + config_file: flash:/config.text + enable_break: 'yes' + helper_path_list: '' + manual_boot: 'no' + priv_config_file: flash:/private-config.text + timeout_config_download: '0' diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot.raw b/tests/cisco_ios/show_boot/cisco_ios_show_boot.raw new file mode 100644 index 0000000000..beb083b075 --- /dev/null +++ b/tests/cisco_ios/show_boot/cisco_ios_show_boot.raw @@ -0,0 +1,15 @@ +BOOT path-list : flash:c3750e-ipbasek9-mz.150-2.SE11.bin +Config file : flash:/config.text +Private Config file : flash:/private-config.text +Enable Break : yes +Manual Boot : no +Allow Dev Key : yes +HELPER path-list : +Auto upgrade : yes +Auto upgrade path : +NVRAM/Config file + buffer size: 524288 +Timeout for Config + Download: 0 seconds +Config Download + via DHCP: disabled (next boot: disabled From fef69390f24332ad80b664cddfdcea95f77c4aa4 Mon Sep 17 00:00:00 2001 From: lscarmic Date: Sat, 23 Feb 2019 08:59:09 -0500 Subject: [PATCH 239/628] IOS SHOW IP FLOW TOPTALKERS: Add new template (#373) --- ...cisco_ios_show_ip_flow_toptalkers.template | 11 ++++++++++ templates/index | 3 ++- .../cisco_ios_show_ip_flow_toptalkers.parsed | 20 +++++++++++++++++++ .../cisco_ios_show_ip_flow_toptalkers.raw | 3 +++ 4 files changed, 36 insertions(+), 1 deletion(-) create mode 100755 templates/cisco_ios_show_ip_flow_toptalkers.template create mode 100755 tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.parsed create mode 100755 tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.raw diff --git a/templates/cisco_ios_show_ip_flow_toptalkers.template b/templates/cisco_ios_show_ip_flow_toptalkers.template new file mode 100755 index 0000000000..79ef088808 --- /dev/null +++ b/templates/cisco_ios_show_ip_flow_toptalkers.template @@ -0,0 +1,11 @@ +Value SRC_INTF (\S+) +Value SRC_IPADDR ([0-9A-Fa-f:\.]+) +Value SRC_PORT ([A-Z0-9]+) +Value DST_INTF (\S+) +Value DST_IPADDR ([0-9A-Fa-f:\.]+) +Value PROTO ([A-Z0-9]+) +Value DST_PORT ([A-Z0-9]+) +Value PKT ([0-9]+) + +Start + ^${SRC_INTF}\s+${SRC_IPADDR}\s+${DST_INTF}\s+${DST_IPADDR}\s+${PROTO}\s+${SRC_PORT}\s+${DST_PORT}\s+${PKT} -> Record \ No newline at end of file diff --git a/templates/index b/templates/index index 5424313cde..1391d9f9db 100644 --- a/templates/index +++ b/templates/index @@ -91,7 +91,7 @@ brocade_netiron_show_span.template, .*, brocade_netiron, sh[[ow]] sp[[anning-tre brocade_netiron_show_topo.template, .*, brocade_netiron, sh[[ow]] to[[pology-group]] checkpoint_gaia_show_interfaces_all.template, .*, checkpoint_gaia, show interfaces all -checkpoint_gaia_show_ntp_servers.template, .*, checkpoint_gaia, show ntp servers +checkpoint_gaia_show_ntp_servers.template, .*, checkpoint_gaia, show ntp servers checkpoint_gaia_show_version_all.template, .*, checkpoint_gaia, show version all checkpoint_gaia_show_domainname.template, .*, checkpoint_gaia, show domainname checkpoint_gaia_show_ipv6_route.template, .*, checkpoint_gaia, show ipv6 route @@ -139,6 +139,7 @@ cisco_ios_show_lldp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] lld[[p]] cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_ios_show_ipv6_interface_brief.template, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] cisco_ios_show_ip_eigrp_neighbors.template, .*, cisco_ios, sh[[ow]] ip ei[[grp]] nei[[ghbors]] +cisco_ios_show_ip_flow_toptalkers.template, .*, cisco_ios, sh[[ow]] ip fl[[ow]] top[[-talkers]] cisco_ios_show_ip_interface_brief.template, .*, cisco_ios, sh[[ow]] ip int[[erface]] br[[ief]] cisco_ios_show_interfaces_status.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] cisco_ios_show_ip_eigrp_topology.template, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] diff --git a/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.parsed b/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.parsed new file mode 100755 index 0000000000..cfe1563670 --- /dev/null +++ b/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.parsed @@ -0,0 +1,20 @@ +--- +parsed_sample: + +- src_port: '07C1' + pkt: '414' + proto: '11' + src_intf: 'Gi0/2/0.30' + dst_intf: 'Null' + src_ipaddr: '10.2.100.83' + dst_port: '07C1' + dst_ipaddr: '224.0.0.2' + +- src_port: '07C1' + pkt: '410' + proto: '11' + src_intf: 'Gi0/2/0.40' + dst_intf: 'Null' + src_ipaddr: '10.2.100.99' + dst_port: '07C1' + dst_ipaddr: '224.0.0.2' diff --git a/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.raw b/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.raw new file mode 100755 index 0000000000..dfc6048e84 --- /dev/null +++ b/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.raw @@ -0,0 +1,3 @@ +SrcIf SrcIPaddress DstIf DstIPaddress Pr SrcP DstP Pkts +Gi0/2/0.30 10.2.100.83 Null 224.0.0.2 11 07C1 07C1 414 +Gi0/2/0.40 10.2.100.99 Null 224.0.0.2 11 07C1 07C1 410 From 8564e7b39188033422b11e5a0217451c54162b72 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 23 Feb 2019 09:31:56 -0500 Subject: [PATCH 240/628] XR SHOW CONTROLLERS FABRIC FIA ERRORS INGRESS: Add new template (#358) --- ...abric_fia_errors_ingress_location.template | 41 ++++++++++ templates/index | 1 + ..._fabric_fia_errors_ingress_location.parsed | 75 +++++++++++++++++++ ...ers_fabric_fia_errors_ingress_location.raw | 75 +++++++++++++++++++ 4 files changed, 192 insertions(+) create mode 100644 templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.parsed create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.raw diff --git a/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template b/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template new file mode 100644 index 0000000000..b6b1f332ac --- /dev/null +++ b/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template @@ -0,0 +1,41 @@ +Value FIA (\S+) +Value CATEGORY (\S+) +Value TO_XBAR_UC_CRC_0 (\d+) +Value TO_XBAR_UC_CRC_1 (\d+) +Value TO_XBAR_UC_CRC_2 (\d+) +Value TO_XBAR_UC_CRC_3 (\d+) +Value TO_XBAR_MC_CRC_0 (\d+) +Value TO_XBAR_MC_CRC_1 (\d+) +Value TO_XBAR_MC_CRC_2 (\d+) +Value TO_XBAR_MC_CRC_3 (\d+) +Value NB_PA_READ_DATA_ERR (\d+) +Value PA_HEADER_ERR (\d+) +Value PA_CRC16_ERR (\d+) +Value PA_CRC32_ERR (\d+) +Value PA_TO_TF_ERR (\d+) +Value AB_OVERFLOW_REQ_LOST (\d+) +Value NI_BAD_CRC32 (\d+) +Value NI_CRC32_CORRUPT (\d+) + +Start + ^\s*\*+\s+\S+ -> Continue.Record + ^\s*\*+\s+${FIA}\s+\*+ + ^Category:\s+${CATEGORY} + ^\s+To\s+Xbar\s+Uc\s+Crc-0\s+${TO_XBAR_UC_CRC_0} + ^\s+To\s+Xbar\s+Uc\s+Crc-1\s+${TO_XBAR_UC_CRC_1} + ^\s+To\s+Xbar\s+Uc\s+Crc-2\s+${TO_XBAR_UC_CRC_2} + ^\s+To\s+Xbar\s+Uc\s+Crc-3\s+${TO_XBAR_UC_CRC_3} + ^\s+To\s+Xbar\s+Mc\s+Crc-0\s+${TO_XBAR_MC_CRC_0} + ^\s+To\s+Xbar\s+Mc\s+Crc-1\s+${TO_XBAR_MC_CRC_1} + ^\s+To\s+Xbar\s+Mc\s+Crc-2\s+${TO_XBAR_MC_CRC_2} + ^\s+To\s+Xbar\s+Mc\s+Crc-3\s+${TO_XBAR_MC_CRC_3} + ^\s+nb\s+pa\s+read\s+data\s+err\s+${NB_PA_READ_DATA_ERR} + ^\s+pa\s+header\s+err\s+${PA_HEADER_ERR} + ^\s+pa\s+crc16\s+err\s+${PA_CRC16_ERR} + ^\s+pa\s+crc32\s+err\s+${PA_CRC32_ERR} + ^\s+pa\s+to\s+tf\s+err\s+${PA_TO_TF_ERR} + ^\s+ab\s+overflow\s+req lost\s+${AB_OVERFLOW_REQ_LOST} + ^\s+ni\s+bad\s+crc32\s+${NI_BAD_CRC32} + ^\s+ni\s+crc32\s+corrupt\s+${NI_CRC32_CORRUPT} + ^\s*$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index 1391d9f9db..7f29470013 100644 --- a/templates/index +++ b/templates/index @@ -234,6 +234,7 @@ cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap co cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] +cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fia errors cisco_xr_show_lpts_pifib_hardware_police_location.template, .*, cisco_xr, sh[[ow]] lpts pifib hardware police loc[[ation]].* cisco_xr_show_controllers_HundredGigabitEthernet.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template, .*, cisco_xr, sh[[ow]] bg[[p]] v[[rf]] all ip[[v4]] uni[[cast]] summ[[ary]] diff --git a/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.parsed b/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.parsed new file mode 100644 index 0000000000..0b075b3e9d --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.parsed @@ -0,0 +1,75 @@ +--- +parsed_sample: + +- ab_overflow_req_lost: '0' + category: in_error-0 + fia: FIA-0 + nb_pa_read_data_err: '12334' + ni_bad_crc32: '0' + ni_crc32_corrupt: '0' + pa_crc16_err: '0' + pa_crc32_err: '0' + pa_header_err: '0' + pa_to_tf_err: '99999' + to_xbar_mc_crc_0: '55' + to_xbar_mc_crc_1: '66' + to_xbar_mc_crc_2: '77' + to_xbar_mc_crc_3: '0' + to_xbar_uc_crc_0: '11' + to_xbar_uc_crc_1: '22' + to_xbar_uc_crc_2: '33' + to_xbar_uc_crc_3: '44' +- ab_overflow_req_lost: '0' + category: in_error-1 + fia: FIA-1 + nb_pa_read_data_err: '0' + ni_bad_crc32: '0' + ni_crc32_corrupt: '11111111' + pa_crc16_err: '0' + pa_crc32_err: '0' + pa_header_err: '0' + pa_to_tf_err: '0' + to_xbar_mc_crc_0: '0' + to_xbar_mc_crc_1: '0' + to_xbar_mc_crc_2: '0' + to_xbar_mc_crc_3: '0' + to_xbar_uc_crc_0: '0' + to_xbar_uc_crc_1: '0' + to_xbar_uc_crc_2: '0' + to_xbar_uc_crc_3: '0' +- ab_overflow_req_lost: '0' + category: in_error-2 + fia: FIA-2 + nb_pa_read_data_err: '0' + ni_bad_crc32: '0' + ni_crc32_corrupt: '0' + pa_crc16_err: '0' + pa_crc32_err: '0' + pa_header_err: '0' + pa_to_tf_err: '0' + to_xbar_mc_crc_0: '0' + to_xbar_mc_crc_1: '0' + to_xbar_mc_crc_2: '0' + to_xbar_mc_crc_3: '0' + to_xbar_uc_crc_0: '0' + to_xbar_uc_crc_1: '0' + to_xbar_uc_crc_2: '0' + to_xbar_uc_crc_3: '0' +- ab_overflow_req_lost: '0' + category: in_error-3 + fia: FIA-3 + nb_pa_read_data_err: '0' + ni_bad_crc32: '0' + ni_crc32_corrupt: '0' + pa_crc16_err: '0' + pa_crc32_err: '0' + pa_header_err: '0' + pa_to_tf_err: '0' + to_xbar_mc_crc_0: '0' + to_xbar_mc_crc_1: '0' + to_xbar_mc_crc_2: '0' + to_xbar_mc_crc_3: '0' + to_xbar_uc_crc_0: '0' + to_xbar_uc_crc_1: '0' + to_xbar_uc_crc_2: '0' + to_xbar_uc_crc_3: '0' diff --git a/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.raw b/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.raw new file mode 100644 index 0000000000..8089a28a07 --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.raw @@ -0,0 +1,75 @@ +********** FIA-0 ********** +Category: in_error-0 + To Xbar Uc Crc-0 11 + To Xbar Uc Crc-1 22 + To Xbar Uc Crc-2 33 + To Xbar Uc Crc-3 44 + To Xbar Mc Crc-0 55 + To Xbar Mc Crc-1 66 + To Xbar Mc Crc-2 77 + To Xbar Mc Crc-3 0 + nb pa read data err 12334 + pa header err 0 + pa crc16 err 0 + pa crc32 err 0 + pa to tf err 99999 + ab overflow req lost 0 + ni bad crc32 0 + ni crc32 corrupt 0 + + ********** FIA-1 ********** +Category: in_error-1 + To Xbar Uc Crc-0 0 + To Xbar Uc Crc-1 0 + To Xbar Uc Crc-2 0 + To Xbar Uc Crc-3 0 + To Xbar Mc Crc-0 0 + To Xbar Mc Crc-1 0 + To Xbar Mc Crc-2 0 + To Xbar Mc Crc-3 0 + nb pa read data err 0 + pa header err 0 + pa crc16 err 0 + pa crc32 err 0 + pa to tf err 0 + ab overflow req lost 0 + ni bad crc32 0 + ni crc32 corrupt 11111111 + + ********** FIA-2 ********** +Category: in_error-2 + To Xbar Uc Crc-0 0 + To Xbar Uc Crc-1 0 + To Xbar Uc Crc-2 0 + To Xbar Uc Crc-3 0 + To Xbar Mc Crc-0 0 + To Xbar Mc Crc-1 0 + To Xbar Mc Crc-2 0 + To Xbar Mc Crc-3 0 + nb pa read data err 0 + pa header err 0 + pa crc16 err 0 + pa crc32 err 0 + pa to tf err 0 + ab overflow req lost 0 + ni bad crc32 0 + ni crc32 corrupt 0 + + ********** FIA-3 ********** +Category: in_error-3 + To Xbar Uc Crc-0 0 + To Xbar Uc Crc-1 0 + To Xbar Uc Crc-2 0 + To Xbar Uc Crc-3 0 + To Xbar Mc Crc-0 0 + To Xbar Mc Crc-1 0 + To Xbar Mc Crc-2 0 + To Xbar Mc Crc-3 0 + nb pa read data err 0 + pa header err 0 + pa crc16 err 0 + pa crc32 err 0 + pa to tf err 0 + ab overflow req lost 0 + ni bad crc32 0 + ni crc32 corrupt 0 From c90d390dbf8e95cee8eeac3e793e9ad999591f22 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Sat, 23 Feb 2019 09:39:02 -0500 Subject: [PATCH 241/628] Revert "XR SHOW DROPS NP ALL: Change capture groups to use lists" This reverts commit ac2f2565eead1c9ab704341c4eede99400d3c290. --- templates/cisco_xr_show_drops_np_all.template | 62 +- .../cisco_xr_show_drops_np_all.parsed | 544 +++++---- .../cisco_xr_show_drops_np_all2.parsed | 544 +++++---- .../cisco_xr_show_drops_np_all3.parsed | 1020 ++++++++++------- 4 files changed, 1344 insertions(+), 826 deletions(-) diff --git a/templates/cisco_xr_show_drops_np_all.template b/templates/cisco_xr_show_drops_np_all.template index 2036158945..b0d668288e 100644 --- a/templates/cisco_xr_show_drops_np_all.template +++ b/templates/cisco_xr_show_drops_np_all.template @@ -2,19 +2,27 @@ Value Filldown LOCATION (\S+) Value Required NP (\d+) Value BFD_NEIGHBOR_DROP (\d+) Value BFD_REMOTE_PUNT_DISC_0_DROP (\d+) -Value List ILKN_CRC_ERR_LOCATION (\d+) -Value List SGMII_CRC_ERR_LOCATION (\d+) -Value List XAUI_CRC_ERR_LOCATION (\d+) -Value List DROP_FROM_CRC_ERR_ILKN (\d+) -Value List DROP_FROM_CRC_ERR_SGMII (\d+) -Value List DROP_FROM_CRC_ERR_XAUI (\d+) -Value List ILKN_FRAME_ERR_LOCATION (\d+) -Value List SGMII_FRAME_ERR_LOCATION (\d+) -Value List XAUI_FRAME_ERR_LOCATION (\d+) -Value List DROP_FROM_FRAME_ERR_ILKN (\d+) -Value List DROP_FROM_FRAME_ERR_SGMII (\d+) -Value List DROP_FROM_FRAME_ERR_XAUI (\d+) -Value DROP_FROM_RUNT (\d+) +Value DROP_FRM_CRC_ERR_ILKN0 (\d+) +Value DROP_FRM_CRC_ERR_ILKN1 (\d+) +Value DROP_FRM_CRC_ERR_ILKN2 (\d+) +Value DROP_FRM_CRC_ERR_SGMII0 (\d+) +Value DROP_FRM_CRC_ERR_SGMII1 (\d+) +Value DROP_FRM_CRC_ERR_SGMII2 (\d+) +Value DROP_FRM_CRC_ERR_SGMII3 (\d+) +Value DROP_FRM_CRC_ERR_XAUI4 (\d+) +Value DROP_FRM_CRC_ERR_XAUI5 (\d+) +Value DROP_FRM_CRC_ERR_XAUI6 (\d+) +Value DROP_FRM_FRM_ERR_ILKN0 (\d+) +Value DROP_FRM_FRM_ERR_ILKN1 (\d+) +Value DROP_FRM_FRM_ERR_ILKN2 (\d+) +Value DROP_FRM_FRM_ERR_SGMII0 (\d+) +Value DROP_FRM_FRM_ERR_SGMII1 (\d+) +Value DROP_FRM_FRM_ERR_SGMII2 (\d+) +Value DROP_FRM_FRM_ERR_SGMII3 (\d+) +Value DROP_FRM_FRM_ERR_XAUI4 (\d+) +Value DROP_FRM_FRM_ERR_XAUI5 (\d+) +Value DROP_FRM_FRM_ERR_XAUI6 (\d+) +Value DROP_FRM_RUNT (\d+) Value IPV4_BFD_EXCD (\d+) Value IPV4_FRAG_NEEDED_PUNT_EXCD (\d+) Value IPV4_TTL_ERROR_EXCD (\d+) @@ -76,13 +84,27 @@ Start ^NP\s+${NP}\s+Drops: ^BFD_NEIGHBOR_DROP\s+${BFD_NEIGHBOR_DROP} ^BFD_REMOTE_PUNT_DISC_0_DROP\s+${BFD_REMOTE_PUNT_DISC_0_DROP} - ^DROP_FRM_CRC_ERR_ILKN${ILKN_CRC_ERR_LOCATION}\s+${DROP_FROM_CRC_ERR_ILKN} - ^DROP_FRM_CRC_ERR_SGMII${SGMII_CRC_ERR_LOCATION}\s+${DROP_FROM_CRC_ERR_SGMII} - ^DROP_FRM_CRC_ERR_XAUI{XAUI_CRC_ERR_LOCATION}\s+${DROP_FROM_CRC_ERR_XAUI} - ^DROP_FRM_FRM_ERR_ILKN${ILKN_FRAME_ERR_LOCATION}\s+${DROP_FROM_FRAME_ERR_ILKN} - ^DROP_FRM_FRM_ERR_SGMII${SGMII_FRAME_ERR_LOCATION}\s+${DROP_FROM_FRAME_ERR_SGMII} - ^DROP_FRM_FRM_ERR_XAUI${XAUI_FRAME_ERR_LOCATION}\s+${DROP_FROM_FRAME_ERR_XAUI} - ^DROP_FRM_RUNT\s+${DROP_FROM_RUNT} + ^DROP_FRM_CRC_ERR_ILKN0\s+${DROP_FRM_CRC_ERR_ILKN0} + ^DROP_FRM_CRC_ERR_ILKN1\s+${DROP_FRM_CRC_ERR_ILKN1} + ^DROP_FRM_CRC_ERR_ILKN2\s+${DROP_FRM_CRC_ERR_ILKN2} + ^DROP_FRM_CRC_ERR_SGMII0\s+${DROP_FRM_CRC_ERR_SGMII0} + ^DROP_FRM_CRC_ERR_SGMII1\s+${DROP_FRM_CRC_ERR_SGMII1} + ^DROP_FRM_CRC_ERR_SGMII2\s+${DROP_FRM_CRC_ERR_SGMII2} + ^DROP_FRM_CRC_ERR_SGMII3\s+${DROP_FRM_CRC_ERR_SGMII3} + ^DROP_FRM_CRC_ERR_XAUI4\s+${DROP_FRM_CRC_ERR_XAUI4} + ^DROP_FRM_CRC_ERR_XAUI5\s+${DROP_FRM_CRC_ERR_XAUI5} + ^DROP_FRM_CRC_ERR_XAUI6\s+${DROP_FRM_CRC_ERR_XAUI6} + ^DROP_FRM_FRM_ERR_ILKN0\s+${DROP_FRM_FRM_ERR_ILKN0} + ^DROP_FRM_FRM_ERR_ILKN1\s+${DROP_FRM_FRM_ERR_ILKN1} + ^DROP_FRM_FRM_ERR_ILKN2\s+${DROP_FRM_FRM_ERR_ILKN2} + ^DROP_FRM_FRM_ERR_SGMII0\s+${DROP_FRM_FRM_ERR_SGMII0} + ^DROP_FRM_FRM_ERR_SGMII1\s+${DROP_FRM_FRM_ERR_SGMII1} + ^DROP_FRM_FRM_ERR_SGMII2\s+${DROP_FRM_FRM_ERR_SGMII2} + ^DROP_FRM_FRM_ERR_SGMII3\s+${DROP_FRM_FRM_ERR_SGMII3} + ^DROP_FRM_FRM_ERR_XAUI4\s+${DROP_FRM_FRM_ERR_XAUI4} + ^DROP_FRM_FRM_ERR_XAUI5\s+${DROP_FRM_FRM_ERR_XAUI5} + ^DROP_FRM_FRM_ERR_XAUI6\s+${DROP_FRM_FRM_ERR_XAUI6} + ^DROP_FRM_RUNT\s+${DROP_FRM_RUNT} ^IPV4_BFD_EXCD\s+${IPV4_BFD_EXCD} ^IPV4_FRAG_NEEDED_PUNT_EXCD\s+${IPV4_FRAG_NEEDED_PUNT_EXCD} ^IPV4_TTL_ERROR_EXCD\s+${IPV4_TTL_ERROR_EXCD} diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed index eb725cce0f..1ee6849ed0 100644 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed @@ -3,19 +3,27 @@ parsed_sample: - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -71,19 +79,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -139,19 +155,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -207,19 +231,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -275,19 +307,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -343,19 +383,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -411,19 +459,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -479,19 +535,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -547,19 +611,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -615,19 +687,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -683,19 +763,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -751,19 +839,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -819,19 +915,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -887,19 +991,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -955,19 +1067,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1023,19 +1143,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - drop_from_frame_err_ilkn: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed index ae79a0f295..7784e6f99d 100644 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed @@ -3,19 +3,27 @@ parsed_sample: - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -71,19 +79,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -139,19 +155,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -207,19 +231,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -275,19 +307,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -343,19 +383,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -411,19 +459,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -479,19 +535,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -547,19 +611,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: ['6'] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: ['1'] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '1' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -615,19 +687,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -683,19 +763,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -751,19 +839,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -819,19 +915,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -887,19 +991,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -955,19 +1067,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1023,19 +1143,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed index 5e850c557b..674ad019bc 100644 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed @@ -3,19 +3,27 @@ parsed_sample: - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -71,19 +79,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -139,19 +155,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -207,19 +231,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: ['4'] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: ['1'] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '1' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -275,19 +307,27 @@ parsed_sample: unknown_l2_on_l3_discard: '1228075' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '544' @@ -343,19 +383,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -411,19 +459,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -479,19 +535,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -547,19 +611,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: ['0'] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: ['1'] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '1' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -615,19 +687,27 @@ parsed_sample: unknown_l2_on_l3_discard: '806532' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -683,19 +763,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -751,19 +839,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '1238' @@ -819,19 +915,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -887,19 +991,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '766' @@ -955,19 +1067,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1023,19 +1143,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1091,19 +1219,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1159,19 +1295,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1227,19 +1371,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1295,19 +1447,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1363,19 +1523,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1431,19 +1599,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1499,19 +1675,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1567,19 +1751,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1635,19 +1827,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1703,19 +1903,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1771,19 +1979,27 @@ parsed_sample: unknown_l2_on_l3_discard: '783084' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '110' @@ -1839,19 +2055,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1907,19 +2131,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' @@ -1975,19 +2207,27 @@ parsed_sample: unknown_l2_on_l3_discard: '' - bfd_neighbor_drop: '' bfd_remote_punt_disc_0_drop: '' - ilkn_crc_err_location: [] - sgmii_crc_err_location: [] - xaui_crc_err_location: [] - drop_from_crc_err_ilkn: [] - drop_from_crc_err_sgmii: [] - drop_from_crc_err_xaui: [] - ilkn_frame_err_location: [] - sgmii_frame_err_location: [] - xaui_frame_err_location: [] - drop_from_frame_err_ilkn: [] - drop_from_frame_err_sgmii: [] - drop_from_frame_err_xaui: [] - drop_from_runt: '' + drop_frm_crc_err_ilkn0: '' + drop_frm_crc_err_ilkn1: '' + drop_frm_crc_err_ilkn2: '' + drop_frm_crc_err_sgmii0: '' + drop_frm_crc_err_sgmii1: '' + drop_frm_crc_err_sgmii2: '' + drop_frm_crc_err_sgmii3: '' + drop_frm_crc_err_xaui4: '' + drop_frm_crc_err_xaui5: '' + drop_frm_crc_err_xaui6: '' + drop_frm_frm_err_ilkn0: '' + drop_frm_frm_err_ilkn1: '' + drop_frm_frm_err_ilkn2: '' + drop_frm_frm_err_sgmii0: '' + drop_frm_frm_err_sgmii1: '' + drop_frm_frm_err_sgmii2: '' + drop_frm_frm_err_sgmii3: '' + drop_frm_frm_err_xaui4: '' + drop_frm_frm_err_xaui5: '' + drop_frm_frm_err_xaui6: '' + drop_frm_runt: '' ipv4_bfd_excd: '' ipv4_frag_needed_punt_excd: '' ipv4_ttl_error_excd: '' From fb4f67eeab902fc9077255f05ebb6a2c8c785deb Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 23 Feb 2019 10:50:12 -0500 Subject: [PATCH 242/628] XR SHOW CONTROLLERS FABRIC FIA ERRORS EGRESS: Add new template (#357) --- ...fabric_fia_errors_egress_location.template | 15 ++++++++++++ templates/index | 7 +++--- ...s_fabric_fia_errors_egress_location.parsed | 23 +++++++++++++++++++ ...lers_fabric_fia_errors_egress_location.raw | 23 +++++++++++++++++++ 4 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.template create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.parsed create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.raw diff --git a/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.template b/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.template new file mode 100644 index 0000000000..f4055def50 --- /dev/null +++ b/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.template @@ -0,0 +1,15 @@ +Value FIA (\S+) +Value CATEGORY (\S+) +Value TO_SPAUI_ERROR_0 (\d+) +Value TO_SPAUI_ERROR_1 (\d+) +Value RL_OVER_UNDER_FLOW_CNT (\d+) + +Start + ^\s*\*+\s+\S+ -> Continue.Record + ^\s*\*+\s+${FIA}\s+\*+ + ^Category:\s+${CATEGORY} + ^\s+To\s+Spaui\s+Error-0\s+${TO_SPAUI_ERROR_0} + ^\s+To\s+Spaui\s+Error-1\s+${TO_SPAUI_ERROR_1} + ^\s+RL\s+over/under\s+flow\s+cnt\s+${RL_OVER_UNDER_FLOW_CNT} + ^\s*$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index 7f29470013..3c331d0809 100644 --- a/templates/index +++ b/templates/index @@ -182,8 +182,8 @@ cisco_ios_show_ip_arp.template, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] cisco_ios_show_ip_bgp.template, .*, cisco_ios, sh[[ow]] i[[p]] bgp cisco_ios_show_tacacs.template, .*, cisco_ios, sh[[ow]] tacacs cisco_ios_show_clock.template, .*, cisco_ios, sh[[ow]] clo[[ck]] -cisco_ios_show_vlan.template, .*, cisco_ios, sh[[ow]] vlan cisco_ios_show_boot.template, .*, cisco_ios, sh[[ow]] boot +cisco_ios_show_vlan.template, .*, cisco_ios, sh[[ow]] vlan cisco_ios_show_vrf.template, .*, cisco_ios, sh[[ow]] vrf cisco_ios_dir.template, .*, cisco_ios, dir @@ -234,8 +234,9 @@ cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap co cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] -cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fia errors -cisco_xr_show_lpts_pifib_hardware_police_location.template, .*, cisco_xr, sh[[ow]] lpts pifib hardware police loc[[ation]].* +cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] +cisco_xr_show_controllers_fabric_fia_errors_egress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] eg[[ress]] loc[[ation]] +cisco_xr_show_lpts_pifib_hardware_police_location.template, .*, cisco_xr, sh[[ow]] lpts pifib hardware police loc[[ation]] cisco_xr_show_controllers_HundredGigabitEthernet.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template, .*, cisco_xr, sh[[ow]] bg[[p]] v[[rf]] all ip[[v4]] uni[[cast]] summ[[ary]] cisco_xr_admin_show_controller_fabric_health.template, .*, cisco_xr, adm[[in]] sh[[ow]] controller fab[[ric]] hea[[lth]] diff --git a/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.parsed b/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.parsed new file mode 100644 index 0000000000..9643709f1d --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.parsed @@ -0,0 +1,23 @@ +--- +parsed_sample: + +- category: eg_error-0 + fia: FIA-0 + rl_over_under_flow_cnt: '33' + to_spaui_error_0: '1' + to_spaui_error_1: '22' +- category: eg_error-1 + fia: FIA-1 + rl_over_under_flow_cnt: '1' + to_spaui_error_0: '9999' + to_spaui_error_1: '123333' +- category: eg_error-2 + fia: FIA-2 + rl_over_under_flow_cnt: '0' + to_spaui_error_0: '0' + to_spaui_error_1: '0' +- category: eg_error-3 + fia: FIA-3 + rl_over_under_flow_cnt: '0' + to_spaui_error_0: '0' + to_spaui_error_1: '0' diff --git a/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.raw b/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.raw new file mode 100644 index 0000000000..8ffd472aeb --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.raw @@ -0,0 +1,23 @@ +********** FIA-0 ********** +Category: eg_error-0 + To Spaui Error-0 1 + To Spaui Error-1 22 + RL over/under flow cnt 33 + + ********** FIA-1 ********** +Category: eg_error-1 + To Spaui Error-0 9999 + To Spaui Error-1 123333 + RL over/under flow cnt 1 + + ********** FIA-2 ********** +Category: eg_error-2 + To Spaui Error-0 0 + To Spaui Error-1 0 + RL over/under flow cnt 0 + + ********** FIA-3 ********** +Category: eg_error-3 + To Spaui Error-0 0 + To Spaui Error-1 0 + RL over/under flow cnt 0 From 03605e8f341d866d5cff64e8100e9cb50fe4e64b Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 23 Feb 2019 10:58:34 -0500 Subject: [PATCH 243/628] XR SHOW CONTROLLERS FABRIC FIA DROPS INGRESS: Add new template (#356) --- ...fabric_fia_drops_ingress_location.template | 63 ++++++++++ templates/index | 1 + ...s_fabric_fia_drops_ingress_location.parsed | 119 ++++++++++++++++++ ...lers_fabric_fia_drops_ingress_location.raw | 119 ++++++++++++++++++ 4 files changed, 302 insertions(+) create mode 100644 templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.parsed create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.raw diff --git a/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template b/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template new file mode 100644 index 0000000000..07423a54b5 --- /dev/null +++ b/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template @@ -0,0 +1,63 @@ +Value FIA (\S+) +Value CATEGORY (\S+) +Value FROM_SPAUI_DROP_0 (\d+) +Value ACCPT_TBL_0 (\d+) +Value CTL_LEN_0 (\d+) +Value SHORT_PKT_0 (\d+) +Value MAX_PKT_LEN_0 (\d+) +Value MIN_PKT_LEN_0 (\d+) +Value FROM_SPAUI_DROP_1 (\d+) +Value ACCPT_TBL_1 (\d+) +Value CTL_LEN_1 (\d+) +Value SHORT_PKT_1 (\d+) +Value MAX_PKT_LEN_1 (\d+) +Value MIN_PKT_LEN_1 (\d+) +Value TAIL_DRP (\d+) +Value VQI_DRP (\d+) +Value HEADER_PARSING_DRP (\d+) +Value PW_TO_NI_DRP (\d+) +Value NI_FROM_PW_DRP (\d+) +Value SP0_CRC_ERR (\d+) +Value SP0_BAD_ALIGN (\d+) +Value SP0_BAD_CODE (\d+) +Value SP0_ALIGN_FAIL (\d+) +Value SP0_PROT_ERR (\d+) +Value SP1_CRC_ERR (\d+) +Value SP1_BAD_ALIGN (\d+) +Value SP1_BAD_CODE (\d+) +Value SP1_ALIGN_FAIL (\d+) +Value SP1_PROT_ERR (\d+) + +Start + ^\s*\*+\s+\S+ -> Continue.Record + ^\s*\*+\s+${FIA}\s+\*+ + ^Category:\s+${CATEGORY} + ^\s+From\s+Spaui\s+Drop-0\s+${FROM_SPAUI_DROP_0} + ^\s+accpt\s+tbl-0\s+${ACCPT_TBL_0} + ^\s+ctl\s+len-0\s+${CTL_LEN_0} + ^\s+short\s+pkt-0\s+${SHORT_PKT_0} + ^\s+max\s+pkt\s+len-0\s+${MAX_PKT_LEN_0} + ^\s+min\s+pkt\s+len-0\s+${MIN_PKT_LEN_0} + ^\s+From\s+Spaui\s+Drop-1\s+${FROM_SPAUI_DROP_1} + ^\s+accpt\s+tbl-1\s+${ACCPT_TBL_1} + ^\s+ctl\s+len-1\s+${CTL_LEN_1} + ^\s+short\s+pkt-1\s+${SHORT_PKT_1} + ^\s+max\s+pkt\s+len-1\s+${MAX_PKT_LEN_1} + ^\s+min\s+pkt\s+len-1\s+${MIN_PKT_LEN_1} + ^\s+Tail\s+drp\s+${TAIL_DRP} + ^\s+Vqi\s+drp\s+${VQI_DRP} + ^\s+Header\s+parsing drp\s+${HEADER_PARSING_DRP} + ^\s+pw\s+to\s+ni\s+drp\s+${PW_TO_NI_DRP} + ^\s+ni\s+from\s+pw\s+drp\s+${NI_FROM_PW_DRP} + ^\s+sp0\s+crc\s+err\s+${SP0_CRC_ERR} + ^\s+sp0\s+bad\s+align\s+${SP0_BAD_ALIGN} + ^\s+sp0\s+bad\s+code\s+${SP0_BAD_CODE} + ^\s+sp0\s+align\s+fail\s+${SP0_ALIGN_FAIL} + ^\s+sp0\s+prot\s+err\s+${SP0_PROT_ERR} + ^\s+sp1\s+crc\s+err\s+${SP1_CRC_ERR} + ^\s+sp1\s+bad\s+align\s+${SP1_BAD_ALIGN} + ^\s+sp1\s+bad\s+code\s+${SP1_BAD_CODE} + ^\s+sp1\s+align\s+fail\s+${SP1_ALIGN_FAIL} + ^\s+sp1\s+prot\s+err\s+${SP1_PROT_ERR} + ^\s*$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index 93eaec1855..cf6d012e25 100644 --- a/templates/index +++ b/templates/index @@ -235,6 +235,7 @@ cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] +cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] in[[gress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_errors_egress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] eg[[ress]] loc[[ation]] cisco_xr_show_lpts_pifib_hardware_police_location.template, .*, cisco_xr, sh[[ow]] lpts pifib hardware police loc[[ation]] cisco_xr_show_controllers_HundredGigabitEthernet.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] diff --git a/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.parsed b/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.parsed new file mode 100644 index 0000000000..9d68f3d93e --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.parsed @@ -0,0 +1,119 @@ +--- +parsed_sample: + +- accpt_tbl_0: '22' + accpt_tbl_1: '88' + category: in_drop-0 + ctl_len_0: '33' + ctl_len_1: '99' + fia: FIA-0 + from_spaui_drop_0: '11' + from_spaui_drop_1: '77' + header_parsing_drp: '2' + max_pkt_len_0: '55' + max_pkt_len_1: '12' + min_pkt_len_0: '66' + min_pkt_len_1: '13' + ni_from_pw_drp: '4' + pw_to_ni_drp: '3' + short_pkt_0: '44' + short_pkt_1: '0' + sp0_align_fail: '3' + sp0_bad_align: '5' + sp0_bad_code: '1' + sp0_crc_err: '12' + sp0_prot_err: '1' + sp1_align_fail: '3' + sp1_bad_align: '0' + sp1_bad_code: '0' + sp1_crc_err: '1' + sp1_prot_err: '0' + tail_drp: '4' + vqi_drp: '1' +- accpt_tbl_0: '0' + accpt_tbl_1: '0' + category: in_drop-1 + ctl_len_0: '0' + ctl_len_1: '0' + fia: FIA-1 + from_spaui_drop_0: '0' + from_spaui_drop_1: '0' + header_parsing_drp: '0' + max_pkt_len_0: '0' + max_pkt_len_1: '0' + min_pkt_len_0: '0' + min_pkt_len_1: '0' + ni_from_pw_drp: '0' + pw_to_ni_drp: '0' + short_pkt_0: '0' + short_pkt_1: '0' + sp0_align_fail: '3' + sp0_bad_align: '0' + sp0_bad_code: '5' + sp0_crc_err: '8' + sp0_prot_err: '1' + sp1_align_fail: '3' + sp1_bad_align: '0' + sp1_bad_code: '8' + sp1_crc_err: '12' + sp1_prot_err: '0' + tail_drp: '0' + vqi_drp: '0' +- accpt_tbl_0: '0' + accpt_tbl_1: '0' + category: in_drop-2 + ctl_len_0: '0' + ctl_len_1: '0' + fia: FIA-2 + from_spaui_drop_0: '0' + from_spaui_drop_1: '0' + header_parsing_drp: '0' + max_pkt_len_0: '0' + max_pkt_len_1: '0' + min_pkt_len_0: '0' + min_pkt_len_1: '0' + ni_from_pw_drp: '0' + pw_to_ni_drp: '0' + short_pkt_0: '0' + short_pkt_1: '0' + sp0_align_fail: '3' + sp0_bad_align: '0' + sp0_bad_code: '6' + sp0_crc_err: '12' + sp0_prot_err: '1' + sp1_align_fail: '3' + sp1_bad_align: '0' + sp1_bad_code: '0' + sp1_crc_err: '1' + sp1_prot_err: '0' + tail_drp: '0' + vqi_drp: '0' +- accpt_tbl_0: '0' + accpt_tbl_1: '0' + category: in_drop-3 + ctl_len_0: '0' + ctl_len_1: '0' + fia: FIA-3 + from_spaui_drop_0: '0' + from_spaui_drop_1: '0' + header_parsing_drp: '0' + max_pkt_len_0: '0' + max_pkt_len_1: '0' + min_pkt_len_0: '0' + min_pkt_len_1: '0' + ni_from_pw_drp: '0' + pw_to_ni_drp: '0' + short_pkt_0: '0' + short_pkt_1: '0' + sp0_align_fail: '3' + sp0_bad_align: '0' + sp0_bad_code: '0' + sp0_crc_err: '2' + sp0_prot_err: '0' + sp1_align_fail: '3' + sp1_bad_align: '0' + sp1_bad_code: '0' + sp1_crc_err: '3' + sp1_prot_err: '0' + tail_drp: '0' + vqi_drp: '0' diff --git a/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.raw b/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.raw new file mode 100644 index 0000000000..29067799a7 --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.raw @@ -0,0 +1,119 @@ +********** FIA-0 ********** +Category: in_drop-0 + From Spaui Drop-0 11 + accpt tbl-0 22 + ctl len-0 33 + short pkt-0 44 + max pkt len-0 55 + min pkt len-0 66 + From Spaui Drop-1 77 + accpt tbl-1 88 + ctl len-1 99 + short pkt-1 0 + max pkt len-1 12 + min pkt len-1 13 + Tail drp 4 + Vqi drp 1 + Header parsing drp 2 + pw to ni drp 3 + ni from pw drp 4 + sp0 crc err 12 + sp0 bad align 5 + sp0 bad code 1 + sp0 align fail 3 + sp0 prot err 1 + sp1 crc err 1 + sp1 bad align 0 + sp1 bad code 0 + sp1 align fail 3 + sp1 prot err 0 + + ********** FIA-1 ********** +Category: in_drop-1 + From Spaui Drop-0 0 + accpt tbl-0 0 + ctl len-0 0 + short pkt-0 0 + max pkt len-0 0 + min pkt len-0 0 + From Spaui Drop-1 0 + accpt tbl-1 0 + ctl len-1 0 + short pkt-1 0 + max pkt len-1 0 + min pkt len-1 0 + Tail drp 0 + Vqi drp 0 + Header parsing drp 0 + pw to ni drp 0 + ni from pw drp 0 + sp0 crc err 8 + sp0 bad align 0 + sp0 bad code 5 + sp0 align fail 3 + sp0 prot err 1 + sp1 crc err 12 + sp1 bad align 0 + sp1 bad code 8 + sp1 align fail 3 + sp1 prot err 0 + + ********** FIA-2 ********** +Category: in_drop-2 + From Spaui Drop-0 0 + accpt tbl-0 0 + ctl len-0 0 + short pkt-0 0 + max pkt len-0 0 + min pkt len-0 0 + From Spaui Drop-1 0 + accpt tbl-1 0 + ctl len-1 0 + short pkt-1 0 + max pkt len-1 0 + min pkt len-1 0 + Tail drp 0 + Vqi drp 0 + Header parsing drp 0 + pw to ni drp 0 + ni from pw drp 0 + sp0 crc err 12 + sp0 bad align 0 + sp0 bad code 6 + sp0 align fail 3 + sp0 prot err 1 + sp1 crc err 1 + sp1 bad align 0 + sp1 bad code 0 + sp1 align fail 3 + sp1 prot err 0 + + ********** FIA-3 ********** +Category: in_drop-3 + From Spaui Drop-0 0 + accpt tbl-0 0 + ctl len-0 0 + short pkt-0 0 + max pkt len-0 0 + min pkt len-0 0 + From Spaui Drop-1 0 + accpt tbl-1 0 + ctl len-1 0 + short pkt-1 0 + max pkt len-1 0 + min pkt len-1 0 + Tail drp 0 + Vqi drp 0 + Header parsing drp 0 + pw to ni drp 0 + ni from pw drp 0 + sp0 crc err 2 + sp0 bad align 0 + sp0 bad code 0 + sp0 align fail 3 + sp0 prot err 0 + sp1 crc err 3 + sp1 bad align 0 + sp1 bad code 0 + sp1 align fail 3 + sp1 prot err 0 From 550834dae29cd2e72afd036d44101e913a9b802c Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 23 Feb 2019 11:04:12 -0500 Subject: [PATCH 244/628] CISCO XR SHOW CEF DROPS LOCATION: Add new template (#354) --- .../cisco_xr_show_cef_drops_location.template | 38 +++++++++++ templates/index | 1 + .../cisco_xr_show_cef_drops_location.parsed | 67 +++++++++++++++++++ .../cisco_xr_show_cef_drops_location.raw | 65 ++++++++++++++++++ 4 files changed, 171 insertions(+) create mode 100644 templates/cisco_xr_show_cef_drops_location.template create mode 100644 tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.parsed create mode 100644 tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.raw diff --git a/templates/cisco_xr_show_cef_drops_location.template b/templates/cisco_xr_show_cef_drops_location.template new file mode 100644 index 0000000000..76e6dfa124 --- /dev/null +++ b/templates/cisco_xr_show_cef_drops_location.template @@ -0,0 +1,38 @@ +Value LOCATION (\S+) +Value UNRESOLVED_DROPS (\d+) +Value UNSUPPORTED_DROPS (\d+) +Value NULL0_DROPS (\d+) +Value NO_ROUTE_DROPS (\d+) +Value NO_ADJACENCY_DROPS (\d+) +Value CHECKSUM_ERROR_DROPS (\d+) +Value RPF_DROPS (\d+) +Value RPF_SUPPRESSED_DROPS (\d+) +Value RP_DESTINED_DROPS (\d+) +Value DISCARD_DROPS (\d+) +Value GRE_LOOKUP_DROPS (\d+) +Value GRE_PROCESSING_DROPS (\d+) +Value LISP_PUNT_DROPS (\d+) +Value LISP_ENCAP_ERR_DROPS (\d+) +Value LISP_DECAP_ERR_DROPS (\d+) + +Start + ^Node: -> Continue.Record + ^Node:\s+${LOCATION} + ^\s+Unresolved\s+drops\s+packets\s+:\s+${UNRESOLVED_DROPS} + ^\s+Unsupported\s+drops\s+packets\s+:\s+${UNSUPPORTED_DROPS} + ^\s+Null0\s+drops\s+packets\s+:\s+${NULL0_DROPS} + ^\s+No\s+route\s+drops\s+packets\s+:\s+${NO_ROUTE_DROPS} + ^\s+No\s+Adjacency\s+drops\s+packets\s+:\s+${NO_ADJACENCY_DROPS} + ^\s+Checksum\s+error\s+drops\s+packets\s+:\s+${CHECKSUM_ERROR_DROPS} + ^\s+RPF\s+drops\s+packets\s+:\s+${RPF_DROPS} + ^\s+RPF\s+suppressed\s+drops\s+packets\s+:\s+${RPF_SUPPRESSED_DROPS} + ^\s+RP\s+destined\s+drops\s+packets\s+:\s+${RP_DESTINED_DROPS} + ^\s+Discard\s+drops\s+packets\s+:\s+${DISCARD_DROPS} + ^\s+GRE\s+lookup\s+drops\s+packets\s+:\s+${GRE_LOOKUP_DROPS} + ^\s+GRE\s+processing\s+drops\s+packets\s+:\s+${GRE_PROCESSING_DROPS} + ^\s+LISP\s+punt\s+drops\s+packets\s+:\s+${LISP_PUNT_DROPS} + ^\s+LISP\s+encap\s+err\s+drops\s+packets\s+:\s+${LISP_ENCAP_ERR_DROPS} + ^\s+LISP\s+decap\s+err\s+drops\s+packets\s+:\s+${LISP_DECAP_ERR_DROPS} + ^CEF\s+Drop\s+Statistics\s*$$ + ^\s*$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index cf6d012e25..2bffc5c1ae 100644 --- a/templates/index +++ b/templates/index @@ -247,6 +247,7 @@ cisco_xr_show_dhcp_ipv4_proxy_binding.template, .*, cisco_xr, sh[[ow]] dh[[cp]] cisco_xr_show_mpls_ldp_neighbor_brief.template, .*, cisco_xr, sh[[ow]] mp[[ls]] ld[[p]] neigh[[bor]] br[[ief]] cisco_xr_admin_show_environment_fan.template, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] f[[an]] cisco_xr_show_cdp_neighbors_detail.template, .*, cisco_xr, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_xr_show_cef_drops_location.template, .*, cisco_xr, sh[[ow]] cef drops loc[[ation]] cisco_xr_show_redundancy_summary.template, .*, cisco_xr, sh[[ow]] redun[[dancy]] summ[[ary]] cisco_xr_show_interface_brief.template, .*, cisco_xr, sh[[ow]] int[[erface]] br[[ief]] cisco_xr_admin_show_platform.template, .*, cisco_xr, adm[[in]] sh[[ow]] pla[[tform]] diff --git a/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.parsed b/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.parsed new file mode 100644 index 0000000000..1a52ba6da2 --- /dev/null +++ b/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.parsed @@ -0,0 +1,67 @@ +--- +parsed_sample: + +- checksum_error_drops: '66' + discard_drops: '0' + gre_lookup_drops: '0' + gre_processing_drops: '0' + lisp_decap_err_drops: '0' + lisp_encap_err_drops: '0' + lisp_punt_drops: '999999' + location: 0/RSP0/CPU0 + no_adjacency_drops: '55' + no_route_drops: '44' + null0_drops: '33' + rp_destined_drops: '0' + rpf_drops: '77' + rpf_suppressed_drops: '0' + unresolved_drops: '11' + unsupported_drops: '22' +- checksum_error_drops: '0' + discard_drops: '0' + gre_lookup_drops: '0' + gre_processing_drops: '0' + lisp_decap_err_drops: '0' + lisp_encap_err_drops: '0' + lisp_punt_drops: '0' + location: 0/RSP1/CPU0 + no_adjacency_drops: '0' + no_route_drops: '79' + null0_drops: '0' + rp_destined_drops: '0' + rpf_drops: '0' + rpf_suppressed_drops: '0' + unresolved_drops: '0' + unsupported_drops: '0' +- checksum_error_drops: '0' + discard_drops: '97' + gre_lookup_drops: '0' + gre_processing_drops: '0' + lisp_decap_err_drops: '0' + lisp_encap_err_drops: '0' + lisp_punt_drops: '0' + location: 0/0/CPU0 + no_adjacency_drops: '0' + no_route_drops: '0' + null0_drops: '0' + rp_destined_drops: '0' + rpf_drops: '0' + rpf_suppressed_drops: '0' + unresolved_drops: '0' + unsupported_drops: '0' +- checksum_error_drops: '0' + discard_drops: '106' + gre_lookup_drops: '0' + gre_processing_drops: '0' + lisp_decap_err_drops: '0' + lisp_encap_err_drops: '0' + lisp_punt_drops: '0' + location: 0/7/CPU0 + no_adjacency_drops: '0' + no_route_drops: '9' + null0_drops: '0' + rp_destined_drops: '0' + rpf_drops: '0' + rpf_suppressed_drops: '0' + unresolved_drops: '0' + unsupported_drops: '0' diff --git a/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.raw b/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.raw new file mode 100644 index 0000000000..7e93b7da98 --- /dev/null +++ b/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.raw @@ -0,0 +1,65 @@ +CEF Drop Statistics +Node: 0/RSP0/CPU0 + Unresolved drops packets : 11 + Unsupported drops packets : 22 + Null0 drops packets : 33 + No route drops packets : 44 + No Adjacency drops packets : 55 + Checksum error drops packets : 66 + RPF drops packets : 77 + RPF suppressed drops packets : 0 + RP destined drops packets : 0 + Discard drops packets : 0 + GRE lookup drops packets : 0 + GRE processing drops packets : 0 + LISP punt drops packets : 999999 + LISP encap err drops packets : 0 + LISP decap err drops packets : 0 +Node: 0/RSP1/CPU0 + Unresolved drops packets : 0 + Unsupported drops packets : 0 + Null0 drops packets : 0 + No route drops packets : 79 + No Adjacency drops packets : 0 + Checksum error drops packets : 0 + RPF drops packets : 0 + RPF suppressed drops packets : 0 + RP destined drops packets : 0 + Discard drops packets : 0 + GRE lookup drops packets : 0 + GRE processing drops packets : 0 + LISP punt drops packets : 0 + LISP encap err drops packets : 0 + LISP decap err drops packets : 0 +Node: 0/0/CPU0 + Unresolved drops packets : 0 + Unsupported drops packets : 0 + Null0 drops packets : 0 + No route drops packets : 0 + No Adjacency drops packets : 0 + Checksum error drops packets : 0 + RPF drops packets : 0 + RPF suppressed drops packets : 0 + RP destined drops packets : 0 + Discard drops packets : 97 + GRE lookup drops packets : 0 + GRE processing drops packets : 0 + LISP punt drops packets : 0 + LISP encap err drops packets : 0 + LISP decap err drops packets : 0 +Node: 0/7/CPU0 + Unresolved drops packets : 0 + Unsupported drops packets : 0 + Null0 drops packets : 0 + No route drops packets : 9 + No Adjacency drops packets : 0 + Checksum error drops packets : 0 + RPF drops packets : 0 + RPF suppressed drops packets : 0 + RP destined drops packets : 0 + Discard drops packets : 106 + GRE lookup drops packets : 0 + GRE processing drops packets : 0 + LISP punt drops packets : 0 + LISP encap err drops packets : 0 + LISP decap err drops packets : 0 From 05ca5575269286e6e0f3458b4dca1f270120bd85 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 23 Feb 2019 11:06:44 -0500 Subject: [PATCH 245/628] XR SHOW ASIC ERRORS: Add new template (#353) --- ..._xr_show_asic-errors_all_location.template | 26 ++++ templates/index | 1 + ...co_xr_show_asic-errors_all_location.parsed | 111 +++++++++++++++++ ...cisco_xr_show_asic-errors_all_location.raw | 115 ++++++++++++++++++ 4 files changed, 253 insertions(+) create mode 100644 templates/cisco_xr_show_asic-errors_all_location.template create mode 100644 tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.parsed create mode 100644 tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.raw diff --git a/templates/cisco_xr_show_asic-errors_all_location.template b/templates/cisco_xr_show_asic-errors_all_location.template new file mode 100644 index 0000000000..1c4abb2aa4 --- /dev/null +++ b/templates/cisco_xr_show_asic-errors_all_location.template @@ -0,0 +1,26 @@ +Value Filldown ASIC (\S+) +Value Required INSTANCE (\d+) +Value NUMBER_OF_NODES (\d+) +Value SBE_ERROR_COUNT (\d+) +Value MBE_ERROR_COUNT (\d+) +Value PARITY_ERROR_COUNT (\d+) +Value CRC_ERROR_COUNT (\d+) +Value GENERIC_ERROR_COUNT (\d+) +Value RESET_ERROR_COUNT (\d+) + +Start + ^.+ASIC\s+Error\s+Summary\s+\* -> Continue.Record + ^\*\s+${ASIC}\s+ASIC\s+Error\s+Summary\s+\* + ^Instance -> Continue.Record + ^Instance\s+:\s+${INSTANCE} + ^Number\s+of\s+nodes\s+:\s+${NUMBER_OF_NODES} + ^SBE\s+error\s+count\s+:\s+${SBE_ERROR_COUNT} + ^MBE\s+error\s+count\s+:\s+${MBE_ERROR_COUNT} + ^Parity\s+error\s+count\s+:\s+${PARITY_ERROR_COUNT} + ^CRC\s+error\s+count\s+:\s+${CRC_ERROR_COUNT} + ^Generic\s+error\s+count\s+:\s+${GENERIC_ERROR_COUNT} + ^Reset\s+error\s+count\s+:\s+${RESET_ERROR_COUNT} + ^-+$$ + ^\*+$$ + ^\s*$$ + ^. -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index 2bffc5c1ae..5cbd4330be 100644 --- a/templates/index +++ b/templates/index @@ -243,6 +243,7 @@ cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template, .*, cisco_xr, sh[[ow]] cisco_xr_admin_show_controller_fabric_health.template, .*, cisco_xr, adm[[in]] sh[[ow]] controller fab[[ric]] hea[[lth]] cisco_xr_show_controller_fabric_plane_all.template, .*, cisco_xr, sh[[ow]] controller fab[[ric]] pla[[ne]] all cisco_xr_show_configuration_commit_list.template, .*, cisco_xr, sh[[ow]] conf[[iguration]] c[[ommit]] l[[ist]] +cisco_xr_show_asic-errors_all_location.template, .*, cisco_xr, sh[[ow]] asic-er[[rors]] all loc[[ation]] cisco_xr_show_dhcp_ipv4_proxy_binding.template, .*, cisco_xr, sh[[ow]] dh[[cp]] ipv4 p[[roxy]] b[[inding]] cisco_xr_show_mpls_ldp_neighbor_brief.template, .*, cisco_xr, sh[[ow]] mp[[ls]] ld[[p]] neigh[[bor]] br[[ief]] cisco_xr_admin_show_environment_fan.template, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] f[[an]] diff --git a/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.parsed b/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.parsed new file mode 100644 index 0000000000..ffeeed0c5e --- /dev/null +++ b/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.parsed @@ -0,0 +1,111 @@ +--- +parsed_sample: + +- asic: Fia + crc_error_count: '99999' + generic_error_count: '0' + instance: '0' + mbe_error_count: '44' + number_of_nodes: '22' + parity_error_count: '55' + reset_error_count: '0' + sbe_error_count: '33' +- asic: Fia + crc_error_count: '0' + generic_error_count: '0' + instance: '1' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '23' +- asic: Fia + crc_error_count: '0' + generic_error_count: '0' + instance: '2' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '0' +- asic: Fia + crc_error_count: '0' + generic_error_count: '0' + instance: '3' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '0' +- asic: Prm_np + crc_error_count: '0' + generic_error_count: '0' + instance: '0' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '0' +- asic: Prm_np + crc_error_count: '0' + generic_error_count: '0' + instance: '1' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '0' +- asic: Prm_np + crc_error_count: '0' + generic_error_count: '0' + instance: '2' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '0' +- asic: Prm_np + crc_error_count: '0' + generic_error_count: '0' + instance: '3' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '0' +- asic: Prm_np + crc_error_count: '0' + generic_error_count: '0' + instance: '4' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '0' +- asic: Prm_np + crc_error_count: '0' + generic_error_count: '0' + instance: '5' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '0' +- asic: Prm_np + crc_error_count: '0' + generic_error_count: '0' + instance: '6' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '0' +- asic: Prm_np + crc_error_count: '0' + generic_error_count: '0' + instance: '7' + mbe_error_count: '0' + number_of_nodes: '0' + parity_error_count: '0' + reset_error_count: '0' + sbe_error_count: '0' diff --git a/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.raw b/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.raw new file mode 100644 index 0000000000..33dc7638d7 --- /dev/null +++ b/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.raw @@ -0,0 +1,115 @@ +************************************************************ +* Fia ASIC Error Summary * +************************************************************ +Instance : 0 +Number of nodes : 22 +SBE error count : 33 +MBE error count : 44 +Parity error count : 55 +CRC error count : 99999 +Generic error count : 0 +Reset error count : 0 +-------------------- +Instance : 1 +Number of nodes : 0 +SBE error count : 23 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- +Instance : 2 +Number of nodes : 0 +SBE error count : 0 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- +Instance : 3 +Number of nodes : 0 +SBE error count : 0 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- + +************************************************************ +* Prm_np ASIC Error Summary * +************************************************************ +Instance : 0 +Number of nodes : 0 +SBE error count : 0 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- +Instance : 1 +Number of nodes : 0 +SBE error count : 0 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- +Instance : 2 +Number of nodes : 0 +SBE error count : 0 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- +Instance : 3 +Number of nodes : 0 +SBE error count : 0 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- +Instance : 4 +Number of nodes : 0 +SBE error count : 0 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- +Instance : 5 +Number of nodes : 0 +SBE error count : 0 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- +Instance : 6 +Number of nodes : 0 +SBE error count : 0 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- +Instance : 7 +Number of nodes : 0 +SBE error count : 0 +MBE error count : 0 +Parity error count : 0 +CRC error count : 0 +Generic error count : 0 +Reset error count : 0 +-------------------- From 14bcd3a7b6fb6eb88fbecee71ebe2fae0ee75cc1 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 23 Feb 2019 11:07:49 -0500 Subject: [PATCH 246/628] XR SHOW CONTROLLERS FABRIC FIA DROPS EGRESS: Add new template (#355) --- ..._fabric_fia_drops_egress_location.template | 63 ++++++++++ templates/index | 1 + ...rs_fabric_fia_drops_egress_location.parsed | 119 ++++++++++++++++++ ...llers_fabric_fia_drops_egress_location.raw | 119 ++++++++++++++++++ 4 files changed, 302 insertions(+) create mode 100644 templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.template create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.parsed create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.raw diff --git a/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.template b/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.template new file mode 100644 index 0000000000..86a9673946 --- /dev/null +++ b/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.template @@ -0,0 +1,63 @@ +Value FIA (\S+) +Value CATEGORY (\S+) +Value FROM_XBAR_UC_CRC_0 (\d+) +Value FROM_XBAR_UC_CRC_1 (\d+) +Value FROM_XBAR_UC_CRC_2 (\d+) +Value FROM_XBAR_UC_CRC_3 (\d+) +Value FROM_XBAR_UC_DRP_0 (\d+) +Value FROM_XBAR_UC_DRP_1 (\d+) +Value FROM_XBAR_UC_DRP_2 (\d+) +Value FROM_XBAR_UC_DRP_3 (\d+) +Value FROM_XBAR_MC_CRC_0 (\d+) +Value FROM_XBAR_MC_CRC_1 (\d+) +Value FROM_XBAR_MC_CRC_2 (\d+) +Value FROM_XBAR_MC_CRC_3 (\d+) +Value FROM_XBAR_MC_DRP_0 (\d+) +Value FROM_XBAR_MC_DRP_1 (\d+) +Value FROM_XBAR_MC_DRP_2 (\d+) +Value FROM_XBAR_MC_DRP_3 (\d+) +Value UC_DQ_PKT_LEN_CRC_RO_SEQ_LEN_ERROR_DRP (\d+) +Value UC_EQ_PKT_LEN_CRC_LOOKUP_DRP (\d+) +Value MC_RF_CRC_DRP (\d+) +Value MC_VL0_SRC0_BUFFER_FULL_DRP (\d+) +Value MC_VL1_SRC0_BUFFER_FULL_DRP (\d+) +Value MC_VL2_SRC0_BUFFER_FULL_DRP (\d+) +Value MC_VL3_SRC0_BUFFER_FULL_DRP (\d+) +Value MC_VL0_SRC1_BUFFER_FULL_DRP (\d+) +Value MC_VL1_SRC1_BUFFER_FULL_DRP (\d+) +Value MC_VL2_SRC1_BUFFER_FULL_DRP (\d+) +Value MC_VL3_SRC1_BUFFER_FULL_DRP (\d+) + +Start + ^\s*\*+\s+\S+\s+\*+ -> Continue.Record + ^\s*\*+\s+${FIA}\s+\*+ + ^Category:\s+${CATEGORY} + ^\s+From\s+Xbar\s+Uc\s+Crc-0\s+${FROM_XBAR_UC_CRC_0} + ^\s+From\s+Xbar\s+Uc\s+Crc-1\s+${FROM_XBAR_UC_CRC_1} + ^\s+From\s+Xbar\s+Uc\s+Crc-2\s+${FROM_XBAR_UC_CRC_2} + ^\s+From\s+Xbar\s+Uc\s+Crc-3\s+${FROM_XBAR_UC_CRC_3} + ^\s+From\s+Xbar\s+Uc\s+Drp-0\s+${FROM_XBAR_UC_DRP_0} + ^\s+From\s+Xbar\s+Uc\s+Drp-1\s+${FROM_XBAR_UC_DRP_1} + ^\s+From\s+Xbar\s+Uc\s+Drp-2\s+${FROM_XBAR_UC_DRP_2} + ^\s+From\s+Xbar\s+Uc\s+Drp-3\s+${FROM_XBAR_UC_DRP_3} + ^\s+From\s+Xbar\s+Mc\s+Crc-0\s+${FROM_XBAR_MC_CRC_0} + ^\s+From\s+Xbar\s+Mc\s+Crc-1\s+${FROM_XBAR_MC_CRC_1} + ^\s+From\s+Xbar\s+Mc\s+Crc-2\s+${FROM_XBAR_MC_CRC_2} + ^\s+From\s+Xbar\s+Mc\s+Crc-3\s+${FROM_XBAR_MC_CRC_3} + ^\s+From\s+Xbar\s+Mc\s+Drp-0\s+${FROM_XBAR_MC_DRP_0} + ^\s+From\s+Xbar\s+Mc\s+Drp-1\s+${FROM_XBAR_MC_DRP_1} + ^\s+From\s+Xbar\s+Mc\s+Drp-2\s+${FROM_XBAR_MC_DRP_2} + ^\s+From\s+Xbar\s+Mc\s+Drp-3\s+${FROM_XBAR_MC_DRP_3} + ^\s+Uc\s+dq\s+pkt-len-crc/RO-seq/len\s+error\s+drp\s+${UC_DQ_PKT_LEN_CRC_RO_SEQ_LEN_ERROR_DRP} + ^\s+Uc\s+eq\s+pkt-len-crc/lookup-drp\s+${UC_EQ_PKT_LEN_CRC_LOOKUP_DRP} + ^\s+Mc\s+rf\s+crc\s+drp\s+${MC_RF_CRC_DRP} + ^\s+Mc\s+vl0\s+src0\s+buffer\s+full\s+drp\s+${MC_VL0_SRC0_BUFFER_FULL_DRP} + ^\s+Mc\s+vl1\s+src0\s+buffer\s+full\s+drp\s+${MC_VL1_SRC0_BUFFER_FULL_DRP} + ^\s+Mc\s+vl2\s+src0\s+buffer\s+full\s+drp\s+${MC_VL2_SRC0_BUFFER_FULL_DRP} + ^\s+Mc\s+vl3\s+src0\s+buffer\s+full\s+drp\s+${MC_VL3_SRC0_BUFFER_FULL_DRP} + ^\s+Mc\s+vl0\s+src1\s+buffer\s+full\s+drp\s+${MC_VL0_SRC1_BUFFER_FULL_DRP} + ^\s+Mc\s+vl1\s+src1\s+buffer\s+full\s+drp\s+${MC_VL1_SRC1_BUFFER_FULL_DRP} + ^\s+Mc\s+vl2\s+src1\s+buffer\s+full\s+drp\s+${MC_VL2_SRC1_BUFFER_FULL_DRP} + ^\s+Mc\s+vl3\s+src1\s+buffer\s+full\s+drp\s+${MC_VL3_SRC1_BUFFER_FULL_DRP} + ^\s*$$ + ^.* -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index 5cbd4330be..e1a31604fe 100644 --- a/templates/index +++ b/templates/index @@ -237,6 +237,7 @@ cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] in[[gress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_errors_egress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] eg[[ress]] loc[[ation]] +cisco_xr_show_controllers_fabric_fia_drops_egress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] eg[[ress]] loc[[ation]] cisco_xr_show_lpts_pifib_hardware_police_location.template, .*, cisco_xr, sh[[ow]] lpts pifib hardware police loc[[ation]] cisco_xr_show_controllers_HundredGigabitEthernet.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template, .*, cisco_xr, sh[[ow]] bg[[p]] v[[rf]] all ip[[v4]] uni[[cast]] summ[[ary]] diff --git a/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.parsed b/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.parsed new file mode 100644 index 0000000000..3c6aaf78b6 --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.parsed @@ -0,0 +1,119 @@ +--- +parsed_sample: + +- category: eg_drop-0 + fia: FIA-0 + from_xbar_mc_crc_0: '0' + from_xbar_mc_crc_1: '1' + from_xbar_mc_crc_2: '2' + from_xbar_mc_crc_3: '3' + from_xbar_mc_drp_0: '4' + from_xbar_mc_drp_1: '5' + from_xbar_mc_drp_2: '6' + from_xbar_mc_drp_3: '7' + from_xbar_uc_crc_0: '11' + from_xbar_uc_crc_1: '22' + from_xbar_uc_crc_2: '33' + from_xbar_uc_crc_3: '44' + from_xbar_uc_drp_0: '55' + from_xbar_uc_drp_1: '66' + from_xbar_uc_drp_2: '77' + from_xbar_uc_drp_3: '88' + mc_rf_crc_drp: '0' + mc_vl0_src0_buffer_full_drp: '0' + mc_vl0_src1_buffer_full_drp: '0' + mc_vl1_src0_buffer_full_drp: '0' + mc_vl1_src1_buffer_full_drp: '0' + mc_vl2_src0_buffer_full_drp: '0' + mc_vl2_src1_buffer_full_drp: '0' + mc_vl3_src0_buffer_full_drp: '0' + mc_vl3_src1_buffer_full_drp: '0' + uc_dq_pkt_len_crc_ro_seq_len_error_drp: '8' + uc_eq_pkt_len_crc_lookup_drp: '999999' +- category: eg_drop-1 + fia: FIA-1 + from_xbar_mc_crc_0: '0' + from_xbar_mc_crc_1: '0' + from_xbar_mc_crc_2: '0' + from_xbar_mc_crc_3: '0' + from_xbar_mc_drp_0: '0' + from_xbar_mc_drp_1: '0' + from_xbar_mc_drp_2: '0' + from_xbar_mc_drp_3: '0' + from_xbar_uc_crc_0: '0' + from_xbar_uc_crc_1: '0' + from_xbar_uc_crc_2: '0' + from_xbar_uc_crc_3: '0' + from_xbar_uc_drp_0: '0' + from_xbar_uc_drp_1: '0' + from_xbar_uc_drp_2: '0' + from_xbar_uc_drp_3: '0' + mc_rf_crc_drp: '0' + mc_vl0_src0_buffer_full_drp: '0' + mc_vl0_src1_buffer_full_drp: '0' + mc_vl1_src0_buffer_full_drp: '0' + mc_vl1_src1_buffer_full_drp: '0' + mc_vl2_src0_buffer_full_drp: '0' + mc_vl2_src1_buffer_full_drp: '0' + mc_vl3_src0_buffer_full_drp: '0' + mc_vl3_src1_buffer_full_drp: '0' + uc_dq_pkt_len_crc_ro_seq_len_error_drp: '0' + uc_eq_pkt_len_crc_lookup_drp: '0' +- category: eg_drop-2 + fia: FIA-2 + from_xbar_mc_crc_0: '0' + from_xbar_mc_crc_1: '0' + from_xbar_mc_crc_2: '0' + from_xbar_mc_crc_3: '0' + from_xbar_mc_drp_0: '0' + from_xbar_mc_drp_1: '0' + from_xbar_mc_drp_2: '0' + from_xbar_mc_drp_3: '0' + from_xbar_uc_crc_0: '0' + from_xbar_uc_crc_1: '0' + from_xbar_uc_crc_2: '0' + from_xbar_uc_crc_3: '0' + from_xbar_uc_drp_0: '0' + from_xbar_uc_drp_1: '0' + from_xbar_uc_drp_2: '0' + from_xbar_uc_drp_3: '0' + mc_rf_crc_drp: '0' + mc_vl0_src0_buffer_full_drp: '0' + mc_vl0_src1_buffer_full_drp: '0' + mc_vl1_src0_buffer_full_drp: '0' + mc_vl1_src1_buffer_full_drp: '0' + mc_vl2_src0_buffer_full_drp: '0' + mc_vl2_src1_buffer_full_drp: '0' + mc_vl3_src0_buffer_full_drp: '0' + mc_vl3_src1_buffer_full_drp: '0' + uc_dq_pkt_len_crc_ro_seq_len_error_drp: '0' + uc_eq_pkt_len_crc_lookup_drp: '0' +- category: eg_drop-3 + fia: FIA-3 + from_xbar_mc_crc_0: '0' + from_xbar_mc_crc_1: '0' + from_xbar_mc_crc_2: '0' + from_xbar_mc_crc_3: '0' + from_xbar_mc_drp_0: '0' + from_xbar_mc_drp_1: '0' + from_xbar_mc_drp_2: '0' + from_xbar_mc_drp_3: '0' + from_xbar_uc_crc_0: '0' + from_xbar_uc_crc_1: '0' + from_xbar_uc_crc_2: '0' + from_xbar_uc_crc_3: '0' + from_xbar_uc_drp_0: '0' + from_xbar_uc_drp_1: '0' + from_xbar_uc_drp_2: '0' + from_xbar_uc_drp_3: '0' + mc_rf_crc_drp: '0' + mc_vl0_src0_buffer_full_drp: '0' + mc_vl0_src1_buffer_full_drp: '0' + mc_vl1_src0_buffer_full_drp: '0' + mc_vl1_src1_buffer_full_drp: '0' + mc_vl2_src0_buffer_full_drp: '0' + mc_vl2_src1_buffer_full_drp: '0' + mc_vl3_src0_buffer_full_drp: '0' + mc_vl3_src1_buffer_full_drp: '0' + uc_dq_pkt_len_crc_ro_seq_len_error_drp: '0' + uc_eq_pkt_len_crc_lookup_drp: '0' diff --git a/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.raw b/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.raw new file mode 100644 index 0000000000..30c07a5720 --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.raw @@ -0,0 +1,119 @@ +********** FIA-0 ********** +Category: eg_drop-0 + From Xbar Uc Crc-0 11 + From Xbar Uc Crc-1 22 + From Xbar Uc Crc-2 33 + From Xbar Uc Crc-3 44 + From Xbar Uc Drp-0 55 + From Xbar Uc Drp-1 66 + From Xbar Uc Drp-2 77 + From Xbar Uc Drp-3 88 + From Xbar Mc Crc-0 0 + From Xbar Mc Crc-1 1 + From Xbar Mc Crc-2 2 + From Xbar Mc Crc-3 3 + From Xbar Mc Drp-0 4 + From Xbar Mc Drp-1 5 + From Xbar Mc Drp-2 6 + From Xbar Mc Drp-3 7 + Uc dq pkt-len-crc/RO-seq/len error drp 8 + Uc eq pkt-len-crc/lookup-drp 999999 + Mc rf crc drp 0 + Mc vl0 src0 buffer full drp 0 + Mc vl1 src0 buffer full drp 0 + Mc vl2 src0 buffer full drp 0 + Mc vl3 src0 buffer full drp 0 + Mc vl0 src1 buffer full drp 0 + Mc vl1 src1 buffer full drp 0 + Mc vl2 src1 buffer full drp 0 + Mc vl3 src1 buffer full drp 0 + + ********** FIA-1 ********** +Category: eg_drop-1 + From Xbar Uc Crc-0 0 + From Xbar Uc Crc-1 0 + From Xbar Uc Crc-2 0 + From Xbar Uc Crc-3 0 + From Xbar Uc Drp-0 0 + From Xbar Uc Drp-1 0 + From Xbar Uc Drp-2 0 + From Xbar Uc Drp-3 0 + From Xbar Mc Crc-0 0 + From Xbar Mc Crc-1 0 + From Xbar Mc Crc-2 0 + From Xbar Mc Crc-3 0 + From Xbar Mc Drp-0 0 + From Xbar Mc Drp-1 0 + From Xbar Mc Drp-2 0 + From Xbar Mc Drp-3 0 + Uc dq pkt-len-crc/RO-seq/len error drp 0 + Uc eq pkt-len-crc/lookup-drp 0 + Mc rf crc drp 0 + Mc vl0 src0 buffer full drp 0 + Mc vl1 src0 buffer full drp 0 + Mc vl2 src0 buffer full drp 0 + Mc vl3 src0 buffer full drp 0 + Mc vl0 src1 buffer full drp 0 + Mc vl1 src1 buffer full drp 0 + Mc vl2 src1 buffer full drp 0 + Mc vl3 src1 buffer full drp 0 + + ********** FIA-2 ********** +Category: eg_drop-2 + From Xbar Uc Crc-0 0 + From Xbar Uc Crc-1 0 + From Xbar Uc Crc-2 0 + From Xbar Uc Crc-3 0 + From Xbar Uc Drp-0 0 + From Xbar Uc Drp-1 0 + From Xbar Uc Drp-2 0 + From Xbar Uc Drp-3 0 + From Xbar Mc Crc-0 0 + From Xbar Mc Crc-1 0 + From Xbar Mc Crc-2 0 + From Xbar Mc Crc-3 0 + From Xbar Mc Drp-0 0 + From Xbar Mc Drp-1 0 + From Xbar Mc Drp-2 0 + From Xbar Mc Drp-3 0 + Uc dq pkt-len-crc/RO-seq/len error drp 0 + Uc eq pkt-len-crc/lookup-drp 0 + Mc rf crc drp 0 + Mc vl0 src0 buffer full drp 0 + Mc vl1 src0 buffer full drp 0 + Mc vl2 src0 buffer full drp 0 + Mc vl3 src0 buffer full drp 0 + Mc vl0 src1 buffer full drp 0 + Mc vl1 src1 buffer full drp 0 + Mc vl2 src1 buffer full drp 0 + Mc vl3 src1 buffer full drp 0 + + ********** FIA-3 ********** +Category: eg_drop-3 + From Xbar Uc Crc-0 0 + From Xbar Uc Crc-1 0 + From Xbar Uc Crc-2 0 + From Xbar Uc Crc-3 0 + From Xbar Uc Drp-0 0 + From Xbar Uc Drp-1 0 + From Xbar Uc Drp-2 0 + From Xbar Uc Drp-3 0 + From Xbar Mc Crc-0 0 + From Xbar Mc Crc-1 0 + From Xbar Mc Crc-2 0 + From Xbar Mc Crc-3 0 + From Xbar Mc Drp-0 0 + From Xbar Mc Drp-1 0 + From Xbar Mc Drp-2 0 + From Xbar Mc Drp-3 0 + Uc dq pkt-len-crc/RO-seq/len error drp 0 + Uc eq pkt-len-crc/lookup-drp 0 + Mc rf crc drp 0 + Mc vl0 src0 buffer full drp 0 + Mc vl1 src0 buffer full drp 0 + Mc vl2 src0 buffer full drp 0 + Mc vl3 src0 buffer full drp 0 + Mc vl0 src1 buffer full drp 0 + Mc vl1 src1 buffer full drp 0 + Mc vl2 src1 buffer full drp 0 + Mc vl3 src1 buffer full drp 0 From 20e3809df914153f80acec13ad8bb17b2ab7d50d Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Sat, 23 Feb 2019 09:46:00 -0700 Subject: [PATCH 247/628] IOS SHOW LLDP NEIGHBORS DETAIL: BugFix Neighbor Name (#372) New LLDP output shows that the neighbor's hostname field might: 1) Be empty 2) Have spaces in the name Template Updates: - Add Regex matching to account for a device with an empty `System Name` field - Change `NEIGHBOR` capture group to use `.+?` to allow for spaces in the name Test Files: - Add additional raw and parsed files to test for updated info. --- ...co_ios_show_lldp_neighbors_detail.template | 7 ++- ...sco_ios_show_lldp_neighbors_detail4.parsed | 11 +++++ .../cisco_ios_show_lldp_neighbors_detail4.raw | 46 +++++++++++++++++++ 3 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.raw diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index 708e84fd81..930e9a0163 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -2,7 +2,7 @@ Value LOCAL_INTERFACE (\S+) Value CHASSIS_ID (\S+) Value NEIGHBOR_PORT_ID (.*) Value NEIGHBOR_INTERFACE (.*) -Value NEIGHBOR (\S+) +Value NEIGHBOR (.+?) Value SYSTEM_DESCRIPTION (.*) Value CAPABILITIES (.*) Value MANAGEMENT_IP (\S+) @@ -16,7 +16,9 @@ Start ^Chassis\s+id:\s+${CHASSIS_ID}\s*$$ ^Port\s+id:\s+${NEIGHBOR_PORT_ID}\s*$$ ^Port\s+Description:\s+${NEIGHBOR_INTERFACE}\s*$$ - ^System\s+Name(?::\s+${NEIGHBOR}|\s+-\s+not\s+advertised)\s*$$ + ^System\s+Name(\s+-\s+not\s+advertised)\s*$$ + ^System\s+Name:?\s*$$ + ^System\s+Name(:\s+${NEIGHBOR})\s*$$ ^System\s+Description -> GetDescription ^Time ^System\s+Capabilities @@ -58,6 +60,7 @@ IgnoreDescription Med ^\s+\S+ ^\s*$$ + ^\s*Total\s+entries\s+displayed -> Record ^\s*-+\s*$$ -> Continue.Record ^\s*-+\s*$$ -> Start ^.* -> Error diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed new file mode 100644 index 0000000000..6f5f5aeb3d --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed @@ -0,0 +1,11 @@ +--- +parsed_sample: +- local_interface: 'Gi2/0/13' + chassis_id: '172.16.4.125' + neighbor_port_id: '000b.ea00.16e0' + neighbor_interface: 'WAN PORT' + neighbor: 'ZULTYS IP Phone' + system_description: 'ZULTYS IP Phone' + capabilities: 'T' + management_ip: '' + vlan: '' diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.raw b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.raw new file mode 100644 index 0000000000..9257dcb5d6 --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.raw @@ -0,0 +1,46 @@ +------------------------------------------------ +Local Intf: Gi2/0/13 +Chassis id: 172.16.4.125 +Port id: 000b.ea00.16e0 +Port Description: WAN PORT +System Name: ZULTYS IP Phone + +System Description: +ZULTYS IP Phone + +Time remaining: 64 seconds +System Capabilities: T +Enabled Capabilities: T +Management Addresses - not advertised +Auto Negotiation - supported, enabled +Physical media capabilities: + 1000baseT(FD) + 100base-TX(FD) + 100base-TX(HD) + 10base-T(FD) + 10base-T(HD) +Media Attachment Unit type: 30 +Vlan ID: - not advertised + +MED Information: + + MED Codes: + (NP) Network Policy, (LI) Location Identification + (PS) Power Source Entity, (PD) Power Device + (IN) Inventory + + H/W revision: 47.0.0.80.0.0.0 + F/W revision: 47.80.132.1 + S/W revision: 47.80.132.1 + Serial number: 000bea0016e0 + Manufacturer: ZULTYS + Model: ZIP 33G + Capabilities: NP, PD, IN + Device type: Endpoint Class III + Network Policy(Voice): VLAN 174, tagged, Layer-2 priority: 5, DSCP: 46 + PD device, Power source: PSE, Power Priority: High, Wattage: 4.0 + Location - not advertised + + + +Total entries displayed: 1 From a8d18de573a3c79634ab186eeb5f5faa67db4859 Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 23 Feb 2019 11:57:19 -0500 Subject: [PATCH 248/628] XR SHOW BGP: Add new template (#351) --- templates/cisco_xr_show_bgp.template | 50 +++ templates/index | 1 + .../show_bgp/cisco_xr_show_bgp.parsed | 386 ++++++++++++++++++ tests/cisco_xr/show_bgp/cisco_xr_show_bgp.raw | 39 ++ .../show_bgp/cisco_xr_show_bgp2.parsed | 290 +++++++++++++ .../cisco_xr/show_bgp/cisco_xr_show_bgp2.raw | 33 ++ 6 files changed, 799 insertions(+) create mode 100644 templates/cisco_xr_show_bgp.template create mode 100644 tests/cisco_xr/show_bgp/cisco_xr_show_bgp.parsed create mode 100644 tests/cisco_xr/show_bgp/cisco_xr_show_bgp.raw create mode 100644 tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.parsed create mode 100644 tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.raw diff --git a/templates/cisco_xr_show_bgp.template b/templates/cisco_xr_show_bgp.template new file mode 100644 index 0000000000..ddc09d9b34 --- /dev/null +++ b/templates/cisco_xr_show_bgp.template @@ -0,0 +1,50 @@ +Value Filldown ROUTER_ID (\S+) +Value Filldown LOCAL_AS (\d+) +Value Filldown NSR (.+?) +Value Filldown BGP_STATE (.+?) +Value Filldown DAMPENING (.+?) +# Documenting STATUS, PATH_SELECTION, and ROUTE_SOURCE capture group options +# https://www.cisco.com/c/en/us/td/docs/ios_xr_sw/iosxr_r3-7/routing/command/reference/rr37bgp.pdf +# https://www.cisco.com/c/en/us/support/docs/routers/asr-9000-series-aggregation-services-routers/116386-configure-asr9000-00.html +Value STATUS ([NrSs*]?) +Value PATH_SELECTION ([>dh]?) +Value ROUTE_SOURCE ([i]?) +Value Filldown NETWORK (\S+?) +Value Filldown NETMASK (\d+) +Value Required NEXT_HOP (\S+) +Value METRIC (\d{0,10}) +Value LOCAL_PREF (\d{0,10}) +Value WEIGHT (\d+) +Value AS_PATH (.*?) +Value ORIGIN ([ie\?]) + +Start + ^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ + ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+local\s+AS\s+number\s+${LOCAL_AS}\s*$$ + ^BGP\s+generic\s+scan + ^Non-stop\s+routing\s+is\s+${NSR}\s*$$ + ^BGP\s+table\s+state:\s+${BGP_STATE}\s*$$ + ^BGP\s+(NSR|main|scan) + ^Table\s+ID: + ^Dampening\s+${DAMPENING}\s*$$ + ^Status\s+codes: + ^\s+\S+\s+-\s+\S+ + ^Origin\s+codes + # Checking for header + ^\s*Network\s+Next(?:\s+|-)[Hh]op\s+Metric\s+LocPrf\s+Weight\s+Path\s*$$ -> BGPTable + ^\s*$$ + ^. -> Error + +BGPTable + # Regex to match the complete line including network + # *> 10.0.0.0/8 192.168.1.1 900 100 0 65135 65235 i + ^${STATUS}\s*${PATH_SELECTION}\s*${ROUTE_SOURCE}\s*${NETWORK}/${NETMASK}\s+${NEXT_HOP}\s{1,19}${METRIC}\s{1,10}${LOCAL_PREF}\s{2,6}${WEIGHT}\s*${AS_PATH}\s*${ORIGIN}\s*$$ -> Record + # + # Regex to match the lines without network + # * i 192.168.1.2 900 100 0 65135 65235 i + ^\s*${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s+${NEXT_HOP}\s{1,19}${METRIC}\s{1,10}${LOCAL_PREF}\s{2,6}${WEIGHT}\s*${AS_PATH}\s*${ORIGIN}\s*$$ -> Record + ^Processed + ^\s*$$ + ^. -> Error + +EOF diff --git a/templates/index b/templates/index index e1a31604fe..764c87a9dc 100644 --- a/templates/index +++ b/templates/index @@ -268,6 +268,7 @@ cisco_xr_show_interfaces.template, .*, cisco_xr, sh[[ow]] inte[[rfaces]] cisco_xr_admin_show_vm.template, .*, cisco_xr, adm[[in]] sh[[ow]] vm cisco_xr_show_ip_route.template, .*, cisco_xr, sh[[ow]] ip ro[[ute]] cisco_xr_show_version.template, .*, cisco_xr, sh[[ow]] ver[[sion]] +cisco_xr_show_bgp.template, .*, cisco_xr, sh[[ow]] bg[[p]] dell_force10_show_vlan_brief.template, .*, dell_force10, sh[[ow]] vl[[an]] br[[ief]] dell_force10_show_version.template, .*, dell_force10, sh[[ow]] ver[[sion]] diff --git a/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.parsed b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.parsed new file mode 100644 index 0000000000..dbb2c71961 --- /dev/null +++ b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.parsed @@ -0,0 +1,386 @@ +--- +parsed_sample: + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 111.111.111.111 + netmask: '32' + next_hop: 112.112.112.112 + metric: '4294967295' + local_pref: '4294967295' + weight: '65535' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: i + network: 111.111.111.111 + netmask: '32' + next_hop: 113.113.113.113 + metric: '4294967295' + local_pref: '4294967295' + weight: '65535' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 111.111.111.111 + netmask: '32' + next_hop: 114.114.114.114 + metric: '5' + local_pref: '5' + weight: '65535' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: i + network: 111.111.111.111 + netmask: '32' + next_hop: 2.2.2.2 + metric: '4294967295' + local_pref: '4294967295' + weight: '65535' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 111.111.111.111 + netmask: '32' + next_hop: 3.3.3.3 + metric: '' + local_pref: '' + weight: '65535' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 111.111.111.111 + netmask: '32' + next_hop: 4.4.4.4 + metric: '5' + local_pref: '' + weight: '65535' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 111.111.111.111 + netmask: '32' + next_hop: 5.5.5.5 + metric: '' + local_pref: '5' + weight: '65535' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 111.111.111.111 + netmask: '32' + next_hop: 6.6.6.6 + metric: '' + local_pref: '' + weight: '1' + as_path: 5 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 111.111.111.111 + netmask: '32' + next_hop: 7.7.7.7 + metric: '' + local_pref: '' + weight: '1' + as_path: '' + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 113.113.113.113 + netmask: '32' + next_hop: 114.114.114.114 + metric: '5' + local_pref: '5' + weight: '5' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 115.115.115.115 + netmask: '32' + next_hop: 116.116.116.116 + metric: '' + local_pref: '' + weight: '5' + as_path: '1000' + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 117.117.117.117 + netmask: '32' + next_hop: 118.118.118.118 + metric: '' + local_pref: '' + weight: '5' + as_path: '' + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 0.0.0.0 + netmask: '0' + next_hop: 2.2.2.2 + metric: '4294967295' + local_pref: '4294967295' + weight: '65535' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 3.3.3.3 + netmask: '32' + next_hop: 4.4.4.4 + metric: '5' + local_pref: '5' + weight: '5' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 5.5.5.5 + netmask: '32' + next_hop: 6.6.6.6 + metric: '' + local_pref: '' + weight: '5' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 7.7.7.7 + netmask: '32' + next_hop: 8.8.8.8 + metric: '' + local_pref: '' + weight: '5' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 9.9.9.9 + netmask: '32' + next_hop: 0.0.0.0 + metric: '' + local_pref: '' + weight: '5' + as_path: '' + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 9.9.9.9 + netmask: '32' + next_hop: 1.1.1.1 + metric: '4294967295' + local_pref: '4294967295' + weight: '65535' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 9.9.9.9 + netmask: '32' + next_hop: 2.2.2.2 + metric: '5' + local_pref: '5' + weight: '5' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 9.9.9.9 + netmask: '32' + next_hop: 3.3.3.3 + metric: '' + local_pref: '' + weight: '5' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 9.9.9.9 + netmask: '32' + next_hop: 4.4.4.4 + metric: '' + local_pref: '5' + weight: '5' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 9.9.9.9 + netmask: '32' + next_hop: 5.5.5.5 + metric: '5' + local_pref: '' + weight: '5' + as_path: 1000 1000 1000 + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 9.9.9.9 + netmask: '32' + next_hop: 6.6.6.6 + metric: '5' + local_pref: '5' + weight: '5' + as_path: '' + origin: i + - router_id: '84.38.34.56' + local_as: '65444' + nsr: 'enabled' + bgp_state: 'Active' + dampening: '' + status: '*' + path_selection: '>' + route_source: '' + network: 9.9.9.9 + netmask: '32' + next_hop: 7.7.7.7 + metric: '' + local_pref: '' + weight: '5' + as_path: '' + origin: i diff --git a/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.raw b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.raw new file mode 100644 index 0000000000..20fad9224d --- /dev/null +++ b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.raw @@ -0,0 +1,39 @@ +Wed Jun 20 18:46:11.356 BST +BGP router identifier 84.38.34.56, local AS number 65444 +BGP generic scan interval 60 secs +Non-stop routing is enabled +BGP table state: Active +Table ID: 0xe0000000 RD version: 111676729 +BGP main routing table version 111676729 +BGP NSR Initial initsync version 5 (Reached) +BGP NSR/ISSU Sync-Group versions 111676729/0 +BGP scan interval 60 secs + +Status codes: s suppressed, d damped, h history, * valid, > best + i - internal, r RIB-failure, S stale, N Nexthop-discard +Origin codes: i - IGP, e - EGP, ? - incomplete + Network Next Hop Metric LocPrf Weight Path +*> 111.111.111.111/32 112.112.112.112 4294967295 4294967295 65535 1000 1000 1000 i +*>i 113.113.113.113 4294967295 4294967295 65535 1000 1000 1000 i +*> 114.114.114.114 5 5 65535 1000 1000 1000 i +*>i 2.2.2.2 4294967295 4294967295 65535 1000 1000 1000 i +*> 3.3.3.3 65535 1000 1000 1000 i +*> 4.4.4.4 5 65535 1000 1000 1000 i +*> 5.5.5.5 5 65535 1000 1000 1000 i +*> 6.6.6.6 1 5 1000 1000 1000 i +*> 7.7.7.7 1 i +*> 113.113.113.113/32 114.114.114.114 5 5 5 1000 1000 1000 i +*> 115.115.115.115/32 116.116.116.116 5 1000 i +*> 117.117.117.117/32 118.118.118.118 5 i +*> 0.0.0.0/0 2.2.2.2 4294967295 4294967295 65535 1000 1000 1000 i +*> 3.3.3.3/32 4.4.4.4 5 5 5 1000 1000 1000 i +*> 5.5.5.5/32 6.6.6.6 5 1000 1000 1000 i +*> 7.7.7.7/32 8.8.8.8 5 1000 1000 1000 i +*> 9.9.9.9/32 0.0.0.0 5 i +*> 1.1.1.1 4294967295 4294967295 65535 1000 1000 1000 i +*> 2.2.2.2 5 5 5 1000 1000 1000 i +*> 3.3.3.3 5 1000 1000 1000 i +*> 4.4.4.4 5 5 1000 1000 1000 i +*> 5.5.5.5 5 5 1000 1000 1000 i +*> 6.6.6.6 5 5 5 i +*> 7.7.7.7 5 i diff --git a/tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.parsed b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.parsed new file mode 100644 index 0000000000..03362561b7 --- /dev/null +++ b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.parsed @@ -0,0 +1,290 @@ +--- +parsed_sample: + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "i" + network: "10.3.0.0" + netmask: "16" + next_hop: "172.20.22.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 1239" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: ">" + route_source: "i" + network: "10.3.0.0" + netmask: "16" + next_hop: "172.20.16.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 1239" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "i" + network: "10.6.0.0" + netmask: "16" + next_hop: "172.20.22.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 690 568" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: ">" + route_source: "i" + network: "10.6.0.0" + netmask: "16" + next_hop: "172.20.16.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 690 568" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "i" + network: "10.7.0.0" + netmask: "16" + next_hop: "172.20.22.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 701 35" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: ">" + route_source: "i" + network: "10.7.0.0" + netmask: "16" + next_hop: "172.20.16.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 701 35" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "" + network: "10.7.0.0" + netmask: "16" + next_hop: "192.168.40.24" + metric: "" + local_pref: "" + weight: "0" + as_path: "1878 704 701 35" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "i" + network: "10.8.0.0" + netmask: "16" + next_hop: "172.20.22.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 690 560" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: ">" + route_source: "i" + network: "10.8.0.0" + netmask: "16" + next_hop: "172.20.16.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 690 560" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "" + network: "10.8.0.0" + netmask: "16" + next_hop: "192.168.40.24" + metric: "" + local_pref: "" + weight: "0" + as_path: "1878 704 701 560" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "i" + network: "10.13.0.0" + netmask: "16" + next_hop: "172.20.22.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 690 200" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: ">" + route_source: "i" + network: "10.13.0.0" + netmask: "16" + next_hop: "172.20.16.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 690 200" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "" + network: "10.13.0.0" + netmask: "16" + next_hop: "192.168.40.24" + metric: "" + local_pref: "" + weight: "0" + as_path: "1878 704 701 200" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "i" + network: "10.15.0.0" + netmask: "16" + next_hop: "172.20.22.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 174" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: ">" + route_source: "i" + network: "10.15.0.0" + netmask: "16" + next_hop: "172.20.16.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 174" + origin: "?" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "i" + network: "10.16.0.0" + netmask: "16" + next_hop: "172.20.22.1" + metric: "0" + local_pref: "100" + weight: "0" + as_path: "1800 701" + origin: "i" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: ">" + route_source: "i" + network: "10.16.0.0" + netmask: "16" + next_hop: "172.20.16.1" + metric: "0" + local_pref: "100" + weight: "65535" + as_path: "1800 701" + origin: "i" + - router_id: "172.20.1.1" + local_as: "1820" + nsr: "" + bgp_state: "Active" + dampening: "enabled" + status: "*" + path_selection: "" + route_source: "" + network: "10.16.0.0" + netmask: "16" + next_hop: "192.168.40.24" + metric: "" + local_pref: "" + weight: "0" + as_path: "1878 704 701" + origin: "i" diff --git a/tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.raw b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.raw new file mode 100644 index 0000000000..f395b207a0 --- /dev/null +++ b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.raw @@ -0,0 +1,33 @@ +BGP router identifier 172.20.1.1, local AS number 1820 +BGP generic scan interval 60 secs +BGP table state: Active +Table ID: 0xe0000000 +BGP main routing table version 3 +Dampening enabled +BGP scan interval 60 secs + +Status codes: s suppressed, d damped, h history, * valid, > best + i - internal, S stale +Origin codes: i - IGP, e - EGP, ? - incomplete + +Network Next-hop Metric LocPrf Weight Path +* i10.3.0.0/16 172.20.22.1 0 100 0 1800 1239 ? +*>i 172.20.16.1 0 100 0 1800 1239 ? +* i10.6.0.0/16 172.20.22.1 0 100 0 1800 690 568 ? +*>i 172.20.16.1 0 100 0 1800 690 568 ? +* i10.7.0.0/16 172.20.22.1 0 100 0 1800 701 35 ? +*>i 172.20.16.1 0 100 0 1800 701 35 ? +* 192.168.40.24 0 1878 704 701 35 ? +* i10.8.0.0/16 172.20.22.1 0 100 0 1800 690 560 ? +*>i 172.20.16.1 0 100 0 1800 690 560 ? +* 192.168.40.24 0 1878 704 701 560 ? +* i10.13.0.0/16 172.20.22.1 0 100 0 1800 690 200 ? +*>i 172.20.16.1 0 100 0 1800 690 200 ? +* 192.168.40.24 0 1878 704 701 200 ? +* i10.15.0.0/16 172.20.22.1 0 100 0 1800 174 ? +*>i 172.20.16.1 0 100 0 1800 174 ? +* i10.16.0.0/16 172.20.22.1 0 100 0 1800 701 i +*>i 172.20.16.1 0 100 65535 1800 701 i +* 192.168.40.24 0 1878 704 701 i + +Processed 8 prefixes, 8 paths From 30e1f6ddc226cb3b959dce137737750f3892669c Mon Sep 17 00:00:00 2001 From: Jacob McGill Date: Sat, 23 Feb 2019 12:01:59 -0500 Subject: [PATCH 249/628] XR SHOW HSRP: Add new template (#350) --- templates/cisco_xr_show_hsrp.template | 18 ++++++++++++++++++ templates/index | 1 + .../show_hsrp/cisco_xr_show_hsrp.parsed | 10 ++++++++++ .../cisco_xr/show_hsrp/cisco_xr_show_hsrp.raw | 19 +++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 templates/cisco_xr_show_hsrp.template create mode 100644 tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.parsed create mode 100644 tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.raw diff --git a/templates/cisco_xr_show_hsrp.template b/templates/cisco_xr_show_hsrp.template new file mode 100644 index 0000000000..df86b4f9b0 --- /dev/null +++ b/templates/cisco_xr_show_hsrp.template @@ -0,0 +1,18 @@ +Value INTERFACE (.+?) +Value GROUP (\d+) +Value PRIO (\d+) +Value PREEMPT (P) +Value STATE (\w+) +Value ACTIVE_ADDR (\S+) +Value STANDBY_ADDR (\S+) +Value GROUP_ADDR (\S+) + +Start + ^${INTERFACE}\s+${GROUP}\s+${PRIO}\s+(?:${PREEMPT}\s+)?${STATE}\s+${ACTIVE_ADDR}\s+${STANDBY_ADDR}\s+${GROUP_ADDR} -> Record + ^Interface\s+Grp\s+Pri\s+P\s+State\s+Active\s+addr\s+Standby\s+addr\s+\s+Group\s+addr\s*$$ + ^IPv[46]\s+Groups: + ^\s+P\s+indicates + ^\s+|\s*$$ + ^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 764c87a9dc..ebfdf090e5 100644 --- a/templates/index +++ b/templates/index @@ -268,6 +268,7 @@ cisco_xr_show_interfaces.template, .*, cisco_xr, sh[[ow]] inte[[rfaces]] cisco_xr_admin_show_vm.template, .*, cisco_xr, adm[[in]] sh[[ow]] vm cisco_xr_show_ip_route.template, .*, cisco_xr, sh[[ow]] ip ro[[ute]] cisco_xr_show_version.template, .*, cisco_xr, sh[[ow]] ver[[sion]] +cisco_xr_show_hsrp.template, .*, cisco_xr, sh[[ow]] hs[[rp]] cisco_xr_show_bgp.template, .*, cisco_xr, sh[[ow]] bg[[p]] dell_force10_show_vlan_brief.template, .*, dell_force10, sh[[ow]] vl[[an]] br[[ief]] diff --git a/tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.parsed b/tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.parsed new file mode 100644 index 0000000000..7113fd8f46 --- /dev/null +++ b/tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.parsed @@ -0,0 +1,10 @@ +--- +parsed_sample: + - interface: "Gi0/0/0/1" + group: "1" + prio: "110" + preempt: "P" + state: "Active" + active_addr: "local" + standby_addr: "10.1.1.3" + group_addr: "10.1.1.1" diff --git a/tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.raw b/tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.raw new file mode 100644 index 0000000000..4bd45127b4 --- /dev/null +++ b/tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.raw @@ -0,0 +1,19 @@ +Fri May 17 20:29:32.108 UTC + +IPv4 Groups: + + P indicates configured to preempt. + + | + +Interface Grp Pri P State Active addr Standby addr Group addr + +Gi0/0/0/1 1 110 P Active local 10.1.1.3 10.1.1.1 + +IPv6 Groups: + + P indicates configured to preempt. + + | + +Interface Grp Pri P State Active addr Standby addr Group addr From 8f99579a046a78259e64c3892d116a1eb87de39d Mon Sep 17 00:00:00 2001 From: Pluppo <43924988+Pluppo@users.noreply.github.com> Date: Mon, 25 Feb 2019 00:11:23 +0100 Subject: [PATCH 250/628] NXOS SHOW INTERFACE STATUS: Update to account for newer version (#370) Newer OS versions have a separate header section for the MGMT interface than from the Ethernet interfaces. In order to account for this, the state change was removed and all matching is done under `Start`. --- .../cisco_nxos_show_interface_status.template | 7 +- .../cisco_nxos_show_interface_status2.parsed | 442 ++++++++++++++++++ .../cisco_nxos_show_interface_status2.raw | 62 +++ 3 files changed, 505 insertions(+), 6 deletions(-) create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.raw diff --git a/templates/cisco_nxos_show_interface_status.template b/templates/cisco_nxos_show_interface_status.template index 17a95f1789..a650f635ac 100644 --- a/templates/cisco_nxos_show_interface_status.template +++ b/templates/cisco_nxos_show_interface_status.template @@ -7,13 +7,8 @@ Value SPEED (\S+) Value TYPE (\S+) Start - ^[Pp]ort\s+[Nn]ame\s+[Ss]tatus\s+[Vv]lan\s+[Dd]uplex\s+[Ss]peed\s+[Tt]ype\s*$$ -> INTFS - ^-+\s*$$ - ^$$ - ^.*$$ -> Error - -INTFS ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record + ^[Pp]ort\s+[Nn]ame\s+[Ss]tatus\s+[Vv]lan\s+[Dd]uplex\s+[Ss]peed\s+[Tt]ype\s*$$ ^-+\s*$$ ^$$ ^.*$$ -> Error diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed new file mode 100644 index 0000000000..0129967402 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed @@ -0,0 +1,442 @@ +--- +parsed_sample: + +- duplex: auto + name: -- + port: mgmt0 + speed: auto + status: notconnec + type: -- + vlan: routed + +- duplex: full + name: -- + port: Eth1/1 + speed: '1000' + status: connected + type: 1000base-T + vlan: trunk + +- duplex: auto + name: -- + port: Eth1/2 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/3 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/4 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/5 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/6 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/7 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/8 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/9 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/10 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/11 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/12 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/13 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/14 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/15 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/16 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/17 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/18 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/19 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/20 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/21 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/22 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/23 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/24 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/25 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/26 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/27 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/28 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/29 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/30 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/31 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/32 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/33 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/34 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/35 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/36 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/37 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/38 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/39 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/40 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/41 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/42 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/43 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/44 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/45 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/46 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/47 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/48 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/49 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/50 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/51 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: -- + port: Eth1/52 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' + +- duplex: auto + name: VPC-peer-link !kob + port: Eth1/53 + speed: auto + status: xcvrAbsen + type: -- + vlan: trunk + +- duplex: auto + name: VPC-peer-link !kob + port: Eth1/54 + speed: auto + status: xcvrAbsen + type: -- + vlan: trunk diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.raw b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.raw new file mode 100644 index 0000000000..a8efb58cdf --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.raw @@ -0,0 +1,62 @@ +-------------------------------------------------------------------------------- +Port Name Status Vlan Duplex Speed Type +-------------------------------------------------------------------------------- +mgmt0 -- notconnec routed auto auto -- + +-------------------------------------------------------------------------------- +Port Name Status Vlan Duplex Speed Type +-------------------------------------------------------------------------------- +Eth1/1 -- connected trunk full 1000 1000base-T +Eth1/2 -- xcvrAbsen 1 auto auto -- +Eth1/3 -- xcvrAbsen 1 auto auto -- +Eth1/4 -- xcvrAbsen 1 auto auto -- +Eth1/5 -- xcvrAbsen 1 auto auto -- +Eth1/6 -- xcvrAbsen 1 auto auto -- +Eth1/7 -- xcvrAbsen 1 auto auto -- +Eth1/8 -- xcvrAbsen 1 auto auto -- +Eth1/9 -- xcvrAbsen 1 auto auto -- +Eth1/10 -- xcvrAbsen 1 auto auto -- +Eth1/11 -- xcvrAbsen 1 auto auto -- +Eth1/12 -- xcvrAbsen 1 auto auto -- +Eth1/13 -- xcvrAbsen 1 auto auto -- +Eth1/14 -- xcvrAbsen 1 auto auto -- +Eth1/15 -- xcvrAbsen 1 auto auto -- +Eth1/16 -- xcvrAbsen 1 auto auto -- +Eth1/17 -- xcvrAbsen 1 auto auto -- +Eth1/18 -- xcvrAbsen 1 auto auto -- +Eth1/19 -- xcvrAbsen 1 auto auto -- +Eth1/20 -- xcvrAbsen 1 auto auto -- +Eth1/21 -- xcvrAbsen 1 auto auto -- +Eth1/22 -- xcvrAbsen 1 auto auto -- +Eth1/23 -- xcvrAbsen 1 auto auto -- +Eth1/24 -- xcvrAbsen 1 auto auto -- +Eth1/25 -- xcvrAbsen 1 auto auto -- +Eth1/26 -- xcvrAbsen 1 auto auto -- +Eth1/27 -- xcvrAbsen 1 auto auto -- +Eth1/28 -- xcvrAbsen 1 auto auto -- +Eth1/29 -- xcvrAbsen 1 auto auto -- +Eth1/30 -- xcvrAbsen 1 auto auto -- +Eth1/31 -- xcvrAbsen 1 auto auto -- +Eth1/32 -- xcvrAbsen 1 auto auto -- +Eth1/33 -- xcvrAbsen 1 auto auto -- +Eth1/34 -- xcvrAbsen 1 auto auto -- +Eth1/35 -- xcvrAbsen 1 auto auto -- +Eth1/36 -- xcvrAbsen 1 auto auto -- +Eth1/37 -- xcvrAbsen 1 auto auto -- +Eth1/38 -- xcvrAbsen 1 auto auto -- +Eth1/39 -- xcvrAbsen 1 auto auto -- +Eth1/40 -- xcvrAbsen 1 auto auto -- +Eth1/41 -- xcvrAbsen 1 auto auto -- +Eth1/42 -- xcvrAbsen 1 auto auto -- +Eth1/43 -- xcvrAbsen 1 auto auto -- +Eth1/44 -- xcvrAbsen 1 auto auto -- +Eth1/45 -- xcvrAbsen 1 auto auto -- +Eth1/46 -- xcvrAbsen 1 auto auto -- +Eth1/47 -- xcvrAbsen 1 auto auto -- +Eth1/48 -- xcvrAbsen 1 auto auto -- +Eth1/49 -- xcvrAbsen 1 auto auto -- +Eth1/50 -- xcvrAbsen 1 auto auto -- +Eth1/51 -- xcvrAbsen 1 auto auto -- +Eth1/52 -- xcvrAbsen 1 auto auto -- +Eth1/53 VPC-peer-link !kob xcvrAbsen trunk auto auto -- +Eth1/54 VPC-peer-link !kob xcvrAbsen trunk auto auto -- From 860a302835054af0eaa4f39972b13620d90bd9fb Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Sun, 24 Feb 2019 18:07:56 -0700 Subject: [PATCH 251/628] IOS SHOW LLDP NEIGHBORS: Fixes #375 (#376) Fix template not accounting for neighbor name running into interface name. TEMPLATE UPDATES: - Limit `NEIGHBOR` capture group to first 20 non-space characters. - Change space capture from being required to being allowed TEST UPDATES: - Add new raw/parsed files to account for additional output --- templates/cisco_ios_show_lldp_neighbors.template | 4 ++-- .../cisco_ios_show_lldp_neighbors2.parsed | 5 +++++ .../cisco_ios_show_lldp_neighbors2.raw | 8 ++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.raw diff --git a/templates/cisco_ios_show_lldp_neighbors.template b/templates/cisco_ios_show_lldp_neighbors.template index 7bfd7a674e..bd5c725195 100644 --- a/templates/cisco_ios_show_lldp_neighbors.template +++ b/templates/cisco_ios_show_lldp_neighbors.template @@ -1,4 +1,4 @@ -Value Required NEIGHBOR (\S+) +Value Required NEIGHBOR (\S{0,20}) Value Required LOCAL_INTERFACE (\S+) Value Required NEIGHBOR_INTERFACE (\S+) @@ -6,6 +6,6 @@ Start ^Device.*ID -> LLDP LLDP - ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+(\S+)*\s+${NEIGHBOR_INTERFACE} -> Record + ^${NEIGHBOR}\s*${LOCAL_INTERFACE}\s+\d+\s+(\S+)*\s+${NEIGHBOR_INTERFACE} -> Record ^${NEIGHBOR} ^\s+${LOCAL_INTERFACE}\s+\d+\s+(\S+)*\s+${NEIGHBOR_INTERFACE} -> Record diff --git a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.parsed b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.parsed new file mode 100644 index 0000000000..c6cf89712d --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.parsed @@ -0,0 +1,5 @@ +--- +parsed_sample: +- neighbor: "long_name_swt.josh-v" + local_interface: "Gi0/2" + neighbor_interface: "Gi0/0" diff --git a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.raw b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.raw new file mode 100644 index 0000000000..027c64161d --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.raw @@ -0,0 +1,8 @@ +Capability codes: + (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device + (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other + +Device ID Local Intf Hold-time Capability Port ID +long_name_swt.josh-vGi0/2 120 R Gi0/0 + +Total entries displayed: 1 From 45ecb27f6339cd4809060ad34bf07d4a79c571a1 Mon Sep 17 00:00:00 2001 From: Warsenius <34217604+Warsenius@users.noreply.github.com> Date: Sun, 3 Mar 2019 06:00:32 +0100 Subject: [PATCH 252/628] SHOW OSPF NEI UPTIME: Support additional time formats (#380) Current Template only supports capturing OSPF Neighbor uptime in HH:MM:SS format, but there are other possible formats depending on how long the neighbor has been up. TEMPLATE UPDATE: * Change ``NEIGHBOR_UPTIME`` capture group from "(\d+:\d+:\d+)" to "(\S+)" TEST UPDATE: * Update raw and parsed files to include an uptime in format of week/day --- templates/cisco_xr_show_ospf_neighbor.template | 2 +- .../show_ospf_neighbor/cisco_xr_show_ospf_neighbor.parsed | 2 +- .../cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.raw | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/cisco_xr_show_ospf_neighbor.template b/templates/cisco_xr_show_ospf_neighbor.template index 16afdaeee8..0a3f6374fd 100644 --- a/templates/cisco_xr_show_ospf_neighbor.template +++ b/templates/cisco_xr_show_ospf_neighbor.template @@ -4,7 +4,7 @@ Value STATE (\S+\/\s+\-|\S+) Value DEAD_TIME (\d+:\d+:\d+) Value ADDRESS (\d+.\d+.\d+.\d+) Value INTERFACE (\S+) -Value NEIGHBOR_UPTIME (\d+:\d+:\d+) +Value NEIGHBOR_UPTIME (\S+) Start ^${NEIGHBOR_ID}\s+${PRIORITY}\s+${STATE}\s+${DEAD_TIME}\s+${ADDRESS}\s+${INTERFACE} diff --git a/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.parsed b/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.parsed index 69dda15679..9cbee65672 100644 --- a/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.parsed +++ b/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.parsed @@ -32,4 +32,4 @@ parsed_sample: dead_time: "00:00:31" address: "10.1.3.1" interface: "GigabitEthernet0/0/0/3" - neighbor_uptime: "01:04:40" + neighbor_uptime: "1w2d" diff --git a/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.raw b/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.raw index f56f5ad8c3..395ebe199b 100644 --- a/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.raw +++ b/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.raw @@ -13,6 +13,6 @@ Neighbor ID Pri State Dead Time Address Interface 4.4.4.4 1 FULL/DR 00:00:31 10.3.4.4 GigabitEthernet0/0/0/2 Neighbor is up for 01:04:39 1.1.1.1 128 FULL/ - 00:00:31 10.1.3.1 GigabitEthernet0/0/0/3 - Neighbor is up for 01:04:40 + Neighbor is up for 1w2d Total neighbor count: 4 From 29c693d8aced09915a884e35ac7edde382f27b1d Mon Sep 17 00:00:00 2001 From: Warsenius <34217604+Warsenius@users.noreply.github.com> Date: Sun, 3 Mar 2019 06:07:31 +0100 Subject: [PATCH 253/628] XR SHOW MPLS LDP NEI (#381) The template does not account for an NSR state of "N/A". This updates the template to support more than one character for NSR value. TEMPLATE UPDATE: - Update ``NSR`` capture group from "(\w)" to "(\S+)" - Update Record line to include EoL marker ``\s*$$`` TEST FILES: - Update raw and parsed files to include an NSR value if "N/A" --- templates/cisco_xr_show_mpls_ldp_neighbor_brief.template | 4 ++-- .../cisco_xr_show_mpls_ldp_neighbor_brief.parsed | 2 +- .../cisco_xr_show_mpls_ldp_neighbor_brief.raw | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/cisco_xr_show_mpls_ldp_neighbor_brief.template b/templates/cisco_xr_show_mpls_ldp_neighbor_brief.template index 700c07bf00..e5573d5dd8 100644 --- a/templates/cisco_xr_show_mpls_ldp_neighbor_brief.template +++ b/templates/cisco_xr_show_mpls_ldp_neighbor_brief.template @@ -1,6 +1,6 @@ Value PEER (\S+) Value GR (\w) -Value NSR (\w) +Value NSR (\S+) Value UPTIME (\S+) Value DISCOVERY_IPV4 (\d+) Value DISCOVERY_IPV6 (\d+) @@ -10,4 +10,4 @@ Value LABELS_IPV4 (\d+) Value LABELS_IPV6 (\d+) Start - ^${PEER}\s+${GR}\s+${NSR}\s+${UPTIME}\s+${DISCOVERY_IPV4}\s+${DISCOVERY_IPV6}\s+${ADDRESSES_IPV4}\s+${ADDRESSES_IPV6}\s+${LABELS_IPV4}\s+${LABELS_IPV6} -> Record \ No newline at end of file + ^${PEER}\s+${GR}\s+${NSR}\s+${UPTIME}\s+${DISCOVERY_IPV4}\s+${DISCOVERY_IPV6}\s+${ADDRESSES_IPV4}\s+${ADDRESSES_IPV6}\s+${LABELS_IPV4}\s+${LABELS_IPV6}\s*$$ -> Record diff --git a/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.parsed b/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.parsed index ac3b6df399..ccb5e12ebc 100644 --- a/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.parsed +++ b/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.parsed @@ -25,7 +25,7 @@ parsed_sample: - peer: "10.100.100.121:0" gr: "Y" - nsr: "Y" + nsr: "N/A" uptime: "4w2d" discovery_ipv4: "3" discovery_ipv6: "0" diff --git a/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.raw b/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.raw index 4e1974ec1e..0383fc1437 100644 --- a/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.raw +++ b/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.raw @@ -5,5 +5,5 @@ Peer GR NSR Up Time Discovery Addresses Labels ----------------- -- --- ---------- ---------- ---------- ------------ 10.100.100.120:0 Y Y 4w2d 3 0 10 0 56 0 10.100.100.119:0 Y Y 4w2d 3 0 10 0 56 0 -10.100.100.121:0 Y Y 4w2d 3 0 8 0 57 0 +10.100.100.121:0 Y N/A 4w2d 3 0 8 0 57 0 From 80b5171344875b5844d07f2df78149ac24e405ef Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Wed, 24 Apr 2019 13:25:49 -0400 Subject: [PATCH 254/628] TESTS: Update test framework (#402) * Test with pytest from tox instead of using Ansible * Update tests to run with python3.6 * Update netiron show monitor commands to use a single template * Remove redundant test, ``test_that_all_entries_dicts_match`` * Change to using yaml's safe_load method * Group tests together in order to load files and call TextFSM once, which creates faster test runs * Fix spacing and styling * Add failure messages to tests --- .gitignore | 2 +- .travis.yml | 12 +- .../ntc_templates}/__init__.py | 0 {ntc_templates => lib/ntc_templates}/parse.py | 0 lib/ntc_templates/templates | 1 + ntc_templates/templates | 1 - setup.py | 9 +- ...cade_netiron_show_monitor_actual.template} | 0 templates/index | 2 +- tests/__init__.py | 17 +++ .../aruba_os_show_ip_int_brief.parsed | 0 .../aruba_os_show_ip_int_brief.raw | 0 .../aruba_os_show_ipv6_int_brief.parsed | 0 .../aruba_os_show_ipv6_int_brief.raw | 0 .../brocade_netiron_show_monitor.parsed | 18 --- .../brocade_netiron_show_monitor.raw | 12 -- .../four_neighbors.parsed | 30 +++++ .../show_ip_ospf_neighbor/four_neighbors.raw | 5 + .../cisco_ios_show_spanning_tree.parsed | 0 .../cisco_ios_show_spanning_tree.raw | 0 ..._nxos_show_ip_ospf_neighbor_vrf_all.parsed | 0 ...sco_nxos_show_ip_ospf_neighbor_vrf_all.raw | 0 tests/test_index_order.py | 54 ++++----- ...red_data_against_parsed_reference_files.py | 105 +++++------------- tests/test_testcases_exists.py | 39 +++++++ .../ubiquiti_edgeswitch_show_vlan.parsed | 0 .../ubiquiti_edgeswitch_show_vlan.raw | 0 tox.ini | 17 +-- 28 files changed, 153 insertions(+), 171 deletions(-) rename {ntc_templates => lib/ntc_templates}/__init__.py (100%) rename {ntc_templates => lib/ntc_templates}/parse.py (100%) create mode 120000 lib/ntc_templates/templates delete mode 120000 ntc_templates/templates rename templates/{brocade_netiron_show_monitor.template => brocade_netiron_show_monitor_actual.template} (100%) create mode 100644 tests/__init__.py rename tests/aruba_os/{show_ip_int_brief => show_ip_interface_brief}/aruba_os_show_ip_int_brief.parsed (100%) rename tests/aruba_os/{show_ip_int_brief => show_ip_interface_brief}/aruba_os_show_ip_int_brief.raw (100%) rename tests/aruba_os/{show_ipv6_int_brief => show_ipv6_interface_brief}/aruba_os_show_ipv6_int_brief.parsed (100%) rename tests/aruba_os/{show_ipv6_int_brief => show_ipv6_interface_brief}/aruba_os_show_ipv6_int_brief.raw (100%) delete mode 100644 tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.parsed delete mode 100644 tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.raw create mode 100644 tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.parsed create mode 100644 tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.raw rename tests/cisco_ios/{show_spanning_tree => show_spanning-tree}/cisco_ios_show_spanning_tree.parsed (100%) rename tests/cisco_ios/{show_spanning_tree => show_spanning-tree}/cisco_ios_show_spanning_tree.raw (100%) rename tests/cisco_nxos/{show_ip_ospf_neighbor_vrf_all => show_ip_ospf_neighbor_vrf_vrfname}/cisco_nxos_show_ip_ospf_neighbor_vrf_all.parsed (100%) rename tests/cisco_nxos/{show_ip_ospf_neighbor_vrf_all => show_ip_ospf_neighbor_vrf_vrfname}/cisco_nxos_show_ip_ospf_neighbor_vrf_all.raw (100%) create mode 100644 tests/test_testcases_exists.py rename tests/ubiquiti_edgeswitch/{show_vlans => show_vlan}/ubiquiti_edgeswitch_show_vlan.parsed (100%) rename tests/ubiquiti_edgeswitch/{show_vlans => show_vlan}/ubiquiti_edgeswitch_show_vlan.raw (100%) diff --git a/.gitignore b/.gitignore index d16dc26a57..ede28f140f 100644 --- a/.gitignore +++ b/.gitignore @@ -93,7 +93,7 @@ dist/ downloads/ eggs/ .eggs/ -lib/ +#lib/ lib64/ parts/ sdist/ diff --git a/.travis.yml b/.travis.yml index 66ebc553a8..570aa28246 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,18 +3,12 @@ language: python python: - - "2.7" + - "3.6" sudo: false install: - - pip install netmiko - - pip install textfsm - - export PYTHONPATH=$PYTHONPATH:/home/travis/build/networktocode/ntc-templates/gtextfsm-0.2.1/textfsm - - pip install ansible==1.9.2 - - pip install terminal - - git clone https://github.com/networktocode/ntc-ansible.git - + - pip install tox script: - - python test-templates.py + - tox diff --git a/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py similarity index 100% rename from ntc_templates/__init__.py rename to lib/ntc_templates/__init__.py diff --git a/ntc_templates/parse.py b/lib/ntc_templates/parse.py similarity index 100% rename from ntc_templates/parse.py rename to lib/ntc_templates/parse.py diff --git a/lib/ntc_templates/templates b/lib/ntc_templates/templates new file mode 120000 index 0000000000..07531b725b --- /dev/null +++ b/lib/ntc_templates/templates @@ -0,0 +1 @@ +../../templates \ No newline at end of file diff --git a/ntc_templates/templates b/ntc_templates/templates deleted file mode 120000 index 564a409d41..0000000000 --- a/ntc_templates/templates +++ /dev/null @@ -1 +0,0 @@ -../templates \ No newline at end of file diff --git a/setup.py b/setup.py index dae9e7919f..59c2f66b19 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,9 @@ import re from codecs import open -from setuptools import setup +from setuptools import setup, find_packages version = '' -with open('ntc_templates/__init__.py', 'r') as fd: +with open('lib/ntc_templates/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) @@ -20,7 +20,8 @@ config = { 'name': 'ntc_templates', - 'packages': ['ntc_templates'], + 'package_dir': {'': 'lib'}, + 'packages': find_packages('lib'), 'version': version, 'package_data': {'ntc_templates': ['templates/*']}, 'description': 'Package to return structured data from the output of network devices.', @@ -35,7 +36,7 @@ 'classifiers': ['Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', - 'Programming Language :: Python :: 2.7'], + 'Programming Language :: Python :: 3'], 'zip_safe': False } diff --git a/templates/brocade_netiron_show_monitor.template b/templates/brocade_netiron_show_monitor_actual.template similarity index 100% rename from templates/brocade_netiron_show_monitor.template rename to templates/brocade_netiron_show_monitor_actual.template diff --git a/templates/index b/templates/index index ebfdf090e5..a2b4bbc876 100644 --- a/templates/index +++ b/templates/index @@ -83,9 +83,9 @@ brocade_netiron_show_running-config_interface.template, .*, brocade_netiron, sh[ brocade_netiron_show_lldp_neighbors_detail.template, .*, brocade_netiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] brocade_netiron_show_running-config_vlan.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_netiron_show_interfaces_brief.template, .*, brocade_netiron, sh[[ow]] in[[terfaces]] b[[rief]] +brocade_netiron_show_monitor_actual.template, .*, brocade_netiron, sh[[ow]] mon[[itor]] (?:ac|co) brocade_netiron_show_interfaces.template, .*, brocade_netiron, sh[[ow]] in[[terfaces]] brocade_netiron_show_lag_brief.template, .*, brocade_netiron, sh[[ow]] lag b[[rief]] -brocade_netiron_show_monitor.template, .*, brocade_netiron, sh[[ow]] mon[[itor]] [actual|config] brocade_netiron_show_metro.template, .*, brocade_netiron, sh[[ow]] met[[ro-ring]] brocade_netiron_show_span.template, .*, brocade_netiron, sh[[ow]] sp[[anning-tree]] brocade_netiron_show_topo.template, .*, brocade_netiron, sh[[ow]] to[[pology-group]] diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000000..875ee2be5d --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,17 @@ +"""tests.""" + +import os +import csv + +from ntc_templates.parse import _get_template_dir + + +def load_index_data(): + """Load data from index file.""" + index_data = [] + with open('%s%sindex' % (_get_template_dir(), os.sep)) as indexfs: + data = csv.reader(indexfs) + for row in data: + if len(row) > 2 and row[0] != 'Template': + index_data.append(row) + return index_data diff --git a/tests/aruba_os/show_ip_int_brief/aruba_os_show_ip_int_brief.parsed b/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_int_brief.parsed similarity index 100% rename from tests/aruba_os/show_ip_int_brief/aruba_os_show_ip_int_brief.parsed rename to tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_int_brief.parsed diff --git a/tests/aruba_os/show_ip_int_brief/aruba_os_show_ip_int_brief.raw b/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_int_brief.raw similarity index 100% rename from tests/aruba_os/show_ip_int_brief/aruba_os_show_ip_int_brief.raw rename to tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_int_brief.raw diff --git a/tests/aruba_os/show_ipv6_int_brief/aruba_os_show_ipv6_int_brief.parsed b/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_int_brief.parsed similarity index 100% rename from tests/aruba_os/show_ipv6_int_brief/aruba_os_show_ipv6_int_brief.parsed rename to tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_int_brief.parsed diff --git a/tests/aruba_os/show_ipv6_int_brief/aruba_os_show_ipv6_int_brief.raw b/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_int_brief.raw similarity index 100% rename from tests/aruba_os/show_ipv6_int_brief/aruba_os_show_ipv6_int_brief.raw rename to tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_int_brief.raw diff --git a/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.parsed b/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.parsed deleted file mode 100644 index bb8ec57f4e..0000000000 --- a/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.parsed +++ /dev/null @@ -1,18 +0,0 @@ ---- -parsed_sample: - -- monitoredport: '1/10' - inputmirror: '1/13' - outputmirror: '1/13' - -- monitoredport: '1/11' - inputmirror: '1/13' - outputmirror: '1/13' - -- monitoredport: '2/10' - inputmirror: '1/13' - outputmirror: '1/13' - -- monitoredport: '2/11' - inputmirror: '1/13' - outputmirror: '1/13' diff --git a/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.raw b/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.raw deleted file mode 100644 index 084529cea6..0000000000 --- a/tests/brocade_netiron/show_monitor_config/brocade_netiron_show_monitor.raw +++ /dev/null @@ -1,12 +0,0 @@ -Monitored Port 1/10 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 -Monitored Port 1/11 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 -Monitored Port 2/10 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 -Monitored Port 2/11 - Input traffic mirrored to: 1/13 - Output traffic mirrored to: 1/13 diff --git a/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.parsed b/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.parsed new file mode 100644 index 0000000000..f753b5f1cf --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.parsed @@ -0,0 +1,30 @@ +--- +parsed_sample: + +- neighbor_id: '10.190.30.2' + priority: '1' + state: 'FULL/BDR' + dead_time: '00:00:04' + address: '10.190.16.11' + interface: 'GigabitEthernet0/2.101' + +- neighbor_id: '10.190.30.3' + priority: '1' + state: 'FULL/DR' + dead_time: '00:00:04' + address: '10.190.16.12' + interface: 'GigabitEthernet0/2.101' + +- neighbor_id: '10.190.30.2' + priority: '1' + state: 'FULL/BDR' + dead_time: '00:00:04' + address: '10.190.16.3' + interface: 'GigabitEthernet0/2.100' + +- neighbor_id: '10.190.30.3' + priority: '1' + state: 'FULL/DR' + dead_time: '00:00:04' + address: '10.190.16.4' + interface: 'GigabitEthernet0/2.100' diff --git a/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.raw b/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.raw new file mode 100644 index 0000000000..fa8d41c7b3 --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.raw @@ -0,0 +1,5 @@ +Neighbor ID Pri State Dead Time Address Interface +10.190.30.2 1 FULL/BDR 00:00:04 10.190.16.11 GigabitEthernet0/2.101 +10.190.30.3 1 FULL/DR 00:00:04 10.190.16.12 GigabitEthernet0/2.101 +10.190.30.2 1 FULL/BDR 00:00:04 10.190.16.3 GigabitEthernet0/2.100 +10.190.30.3 1 FULL/DR 00:00:04 10.190.16.4 GigabitEthernet0/2.100 diff --git a/tests/cisco_ios/show_spanning_tree/cisco_ios_show_spanning_tree.parsed b/tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.parsed similarity index 100% rename from tests/cisco_ios/show_spanning_tree/cisco_ios_show_spanning_tree.parsed rename to tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.parsed diff --git a/tests/cisco_ios/show_spanning_tree/cisco_ios_show_spanning_tree.raw b/tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.raw similarity index 100% rename from tests/cisco_ios/show_spanning_tree/cisco_ios_show_spanning_tree.raw rename to tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.raw diff --git a/tests/cisco_nxos/show_ip_ospf_neighbor_vrf_all/cisco_nxos_show_ip_ospf_neighbor_vrf_all.parsed b/tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.parsed similarity index 100% rename from tests/cisco_nxos/show_ip_ospf_neighbor_vrf_all/cisco_nxos_show_ip_ospf_neighbor_vrf_all.parsed rename to tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.parsed diff --git a/tests/cisco_nxos/show_ip_ospf_neighbor_vrf_all/cisco_nxos_show_ip_ospf_neighbor_vrf_all.raw b/tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.raw similarity index 100% rename from tests/cisco_nxos/show_ip_ospf_neighbor_vrf_all/cisco_nxos_show_ip_ospf_neighbor_vrf_all.raw rename to tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.raw diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 92b83b6425..3eef5cda63 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -6,19 +6,10 @@ import glob import csv +from tests import load_index_data -def load_indexdata(): - """Load data from index file.""" - index_data = [] - with open('./templates/index') as indexfs: - data = csv.reader(indexfs) - for row in data: - if len(row) > 2 and row[0] != 'Template': - index_data.append(row) - return index_data - -def check_order(current_os, prior_os,cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd): +def check_order(current_os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd): add_os_check = [] if current_os not in used_os and used_os is not None: @@ -27,10 +18,10 @@ def check_order(current_os, prior_os,cmd_len, prior_len, os_choices, used_os, cm if used_os != sorted(used_os): msg = "OS's are not in alpabetical order, current order: '{}'".format(used_os) - return False , msg + return False, msg elif add_os_check != sorted(add_os_check): msg = "OS's are not in alpabetical order, current order: '{}'".format(add_os_check) - return False , msg + return False, msg if current_os not in os_choices: msg = "'{}' is not one of the valid options '{}'".format(current_os, used_os) @@ -38,25 +29,30 @@ def check_order(current_os, prior_os,cmd_len, prior_len, os_choices, used_os, cm if not prior_os and prior_len == 0: # Starting Point - return True , '' + return True, '' elif current_os == prior_os and cmd_len == prior_len and cmd == min(prior_cmd, cmd): - msg = "OS is the same and command same length, please set {} before {} to be in alphabetical order".format(cmd, prior_cmd) + msg = ( + "OS is the same and command same length, " + "please set {} before {} to be in alphabetical order".format(cmd, prior_cmd) + ) return False, msg elif current_os == prior_os and cmd_len <= prior_len: # OS is the same as previous, and cmd_len is smaller or equal to prior so good - return True , '' + return True, '' elif current_os != prior_os and current_os not in used_os: # prior OS has changed, do not need to check for length yet - return True , '' + return True, '' elif current_os == prior_os and cmd_len > prior_len: - msg = "Current Command len '{}' larger then previous '{}', for command '{}'".format(cmd_len, prior_len, cmd ) - return False , msg + msg = "Current Command len '{}' larger then previous '{}', for command '{}'".format( + cmd_len, prior_len, cmd + ) + return False, msg elif current_os != prior_os and current_os in used_os: msg = "'{}' OS was already used in list on command '{}'".format(current_os, cmd) - return False , msg + return False, msg else: msg = "Failed for unknown reason" - return False , msg + return False, msg def test_index_ordering(): @@ -67,7 +63,7 @@ def test_index_ordering(): 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'juniper_screenos', 'alcatel_sros', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh', - 'ubiquiti_edgeswitch', 'vmware_nsxv', 'vyatta_vyos', 'vyos' + 'ubiquiti_edgeswitch', 'vmware_nsxv', 'vyatta_vyos', 'vyos', ] prior_os = "" @@ -75,26 +71,22 @@ def test_index_ordering(): prior_cmd = "" used_os = [] - index = load_indexdata() + index = load_index_data() for row in index: template = row[0].strip() os = '_'.join(template.split('_')[:2]) cmd = '_'.join(template.split('_')[2:]) cmd_len = len(cmd) - check_val, check_msg = check_order(os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd) + check_val, check_msg = check_order( + os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd + ) if not check_val: #assertFalse(check_val, msg=check_msg) print("Error on line: {}".format(row)) print("Error Message: {}".format(check_msg)) - assert check_val != False + assert check_val if os not in used_os: used_os.append(os) prior_len = cmd_len prior_cmd = cmd prior_os = os - -def main(): - test_index_ordering() - -if __name__ == "__main__": - main() diff --git a/tests/test_structured_data_against_parsed_reference_files.py b/tests/test_structured_data_against_parsed_reference_files.py index 0987b5f75e..f4708c2101 100644 --- a/tests/test_structured_data_against_parsed_reference_files.py +++ b/tests/test_structured_data_against_parsed_reference_files.py @@ -2,62 +2,24 @@ """Run tests against all the *.raw files.""" import glob + import pytest import yaml -try: - import clitable -except: - import textfsm.clitable as clitable + +from ntc_templates.parse import parse_output def return_test_files(): """Return a list of all the *.raw files to run tests against.""" platform_dirs = glob.glob('tests/*') + platforms = (glob.glob('%s/*' % platform) for platform in platform_dirs) + template_dirs = (item for sublist in platforms for item in sublist) + test_commands = (glob.glob('%s/*.raw' % template_dir) for template_dir in template_dirs) - platforms = [] - for platform in platform_dirs: - platforms.append(glob.glob('%s/*' % platform)) - - template_dirs = [item for sublist in platforms for item in sublist] - - test_commands = [] - for template_dir in template_dirs: - test_commands.append(glob.glob('%s/*.raw' % template_dir)) - - return [item for sublist in test_commands for item in sublist] - - -def clitable_to_dict(cli_table): - """Convert TextFSM cli_table object to list of dictionaries.""" - objs = [] - for row in cli_table: - temp_dict = {} - for index, element in enumerate(row): - temp_dict[cli_table.header[index].lower()] = element - objs.append(temp_dict) - - return objs - - -def get_structured_data(platform, command, rawoutput): - """Return the structured data.""" - cli_table = clitable.CliTable('index', 'templates') + return (item for sublist in test_commands for item in sublist) - attrs = dict( - Command=command, - Platform=platform - ) - cli_table.ParseCmd(rawoutput, attrs) - structured_data = clitable_to_dict(cli_table) - return structured_data - -# Populate test_collection with a list of all the .raw template files we want -# to run tests against -test_collection = return_test_files() - - -@pytest.fixture(scope='function', params=test_collection) +@pytest.fixture(scope='function', params=return_test_files()) def load_template_test(request): """Return each *.raw file to run tests on.""" return request.param @@ -71,44 +33,49 @@ def raw_template_test(raw_file): command = ' '.join(parts[2].split('_')) with open(raw_file, 'r') as data: rawoutput = data.read() - structured = get_structured_data(platform, command, rawoutput) + structured = parse_output(platform=platform, command=command, data=rawoutput) with open(parsed_file, 'r') as data: - parsed_data = yaml.load(data.read()) + parsed_data = yaml.safe_load(data.read()) return structured, parsed_data['parsed_sample'] -def test_correct_number_of_entries(load_template_test): +def test_raw_data_against_mock(load_template_test): + processed, reference = raw_template_test(load_template_test) + + correct_number_of_entries_test(processed, reference) + all_entries_have_the_same_keys_test(processed, reference) + correct_data_in_entries_test(processed, reference) + + +def correct_number_of_entries_test(processed, reference): """Test that the number of entries returned are the same as the control. This will create a test for each of the files in the test_collection variable. """ - processed, reference = raw_template_test(load_template_test) - assert len(processed) == len(reference) -def test_that_all_entries_have_the_same_keys(load_template_test): +def all_entries_have_the_same_keys_test(processed, reference): """Test that the keys of the returned data are the same as the control. This will create a test for each of the files in the test_collection variable. """ - processed, reference = raw_template_test(load_template_test) - for i in range(len(processed)): - assert sorted(processed[i].keys()) == sorted(reference[i].keys()) + proc = set(processed[i].keys()) + ref = set(reference[i].keys()) + diff = proc.symmetric_difference(ref) + assert not diff, "Key diffs: " + ", ".join(diff) -def test_correct_data_in_entries(load_template_test): +def correct_data_in_entries_test(processed, reference): """Test that the actual data in each entry is the same as the control. This will create a test for each of the files in the test_collection variable. """ - processed, reference = raw_template_test(load_template_test) - # Can be uncommented if we don't care that the parsed data isn't # in the same order as the raw data # reference = sorted(reference) @@ -116,24 +83,4 @@ def test_correct_data_in_entries(load_template_test): for i in range(len(reference)): for key in reference[i].keys(): - assert processed[i][key] == reference[i][key] - - -def test_that_all_entries_dicts_match(load_template_test): - """Test that the values of the dicts returned are the same as the control. - - This test swaps place with the processed and reference variable so it's not run - in the same order as test_correct_data_in_entries to catch dicts with extra keys - - This will create a test for each of the files in the test_collection - variable. - """ - processed, reference = raw_template_test(load_template_test) - - # Can be uncommented if we don't care that the parsed data isn't - # in the same order as the raw data - # reference = sorted(reference) - # processed = sorted(processed) - - for i in range(len(processed)): - assert processed[i] == reference[i] + assert processed[i][key] == reference[i][key], "entry #{0}, key: {1}".format(i, key) diff --git a/tests/test_testcases_exists.py b/tests/test_testcases_exists.py new file mode 100644 index 0000000000..436926f7bf --- /dev/null +++ b/tests/test_testcases_exists.py @@ -0,0 +1,39 @@ +"""Ensure that testcases exist for all templates.""" +import os +import glob +import re + +from tests import load_index_data + + +KNOWN_MISSING_TESTS = { + 'cisco_ios_show_vlan', + 'cisco_nxos_show_interface_brief', + 'cisco_nxos_show_ip_ospf_neighbor_vrf', + 'cisco_xr_show_controllers', +} + + +def test_verify_parsed_and_reference_data_exists(): + """Verify that at least one test exists for all entries in the index file. + + TODO: + Add test cases for ``KNOWN_MISSING_TESTS`` and remove related conditional. + Remove "_ssh" from ``cisco_wlc_ssh`` and rely on vendor_platform_command syntax + instead of using regex on the directories. + """ + index = sorted(load_index_data()) + for row in index: + template = row[0].strip() + template_short = template.split('.')[0] + platform = row[2].strip() + for directory in os.listdir("tests"): + if re.match(platform, directory): + platform_directory = directory + break + cut = len(platform_directory) + 1 + command = template_short[cut:] + if template_short not in KNOWN_MISSING_TESTS: + cases = 'tests/%s/%s/*.raw' % (platform_directory, command) + test_list = glob.glob(cases) + assert len(test_list) != 0, 'Could not find tests for %s' % template diff --git a/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.parsed b/tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.parsed similarity index 100% rename from tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.parsed rename to tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.parsed diff --git a/tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.raw b/tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.raw similarity index 100% rename from tests/ubiquiti_edgeswitch/show_vlans/ubiquiti_edgeswitch_show_vlan.raw rename to tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.raw diff --git a/tox.ini b/tox.ini index 992dd8c165..5e46500fc7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,26 +1,13 @@ [tox] -envlist = py27 -skipsdist=true +envlist = py36 [testenv] -setenv = - ANSIBLE_REMOTE_TEMP = .tmp - ANSIBLE_LIBRARY = .ntc-modules - deps = pytest PyYAML - netmiko - textfsm - ansible==1.9.2 - terminal whitelist_externals = git rm -commands= - py.test - rm -rf .ntc-modules - git clone https://github.com/networktocode/ntc-ansible.git .ntc-modules - {envbindir}/python test-templates.py +commands = pytest From 7ddc227d2d7f5b71c66618552db33ce752c660b1 Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Wed, 24 Apr 2019 16:50:29 -0400 Subject: [PATCH 255/628] Bump version --- lib/ntc_templates/__init__.py | 2 +- setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index 5543705dc8..b69c804471 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = '1.0.0' +__version__ = '1.1.0' diff --git a/setup.py b/setup.py index 59c2f66b19..e733a96bdc 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ 'package_data': {'ntc_templates': ['templates/*']}, 'description': 'Package to return structured data from the output of network devices.', 'long_description': long_description, + 'long_description_content_type': 'text/markdown', 'author': 'network.toCode()', 'author_email': 'info@networktocode.com', 'url': 'https://github.com/networktocode/ntc-templates', From f72a71fc0af8dfacdbb267204e3b2c3410d7019a Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Fri, 19 Jul 2019 16:17:16 -0500 Subject: [PATCH 256/628] =?UTF-8?q?Fixes=20374=20-=20Adds=20example=20of?= =?UTF-8?q?=20Other/unknown=20media=20on=20LLDP=20for=20a=20device=20?= =?UTF-8?q?=E2=80=A6=20(#377)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Updated cisco_ios_show_lldp_neighbor_detail template with lenient accountancy for physical media capabilities --- ...co_ios_show_lldp_neighbors_detail.template | 4 ++- ...sco_ios_show_lldp_neighbors_detail4.parsed | 11 ++++++++ .../cisco_ios_show_lldp_neighbors_detail4.raw | 25 ++++++++++++++++++- 3 files changed, 38 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index 930e9a0163..936e798293 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -29,7 +29,9 @@ Start ^.*IP:\s+${MANAGEMENT_IP} ^Auto\s+Negotiation ^Physical\s+media - ^\s+.+\(\S+\)\s*$$ + # Removed \(\s+\) from the template - The line 'Other/unknown' would not be captured + # Now looks for any text beginning with any space + ^\s+.+\s*$$ ^Media\s+Attachment ^\s+Inventory ^\s+Capabilities diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed index 6f5f5aeb3d..307bfc8f02 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed @@ -9,3 +9,14 @@ parsed_sample: capabilities: 'T' management_ip: '' vlan: '' + +- local_interface: 'Te1/1/1' + chassis_id: '2c33.1100.a6c0' + neighbor_port_id: 'Te1/2/13' + neighbor_interface: 'asw22' + neighbor: 'dsw01' + system_description: 'Cisco IOS Software, s6t64 Software (s6t64-ADVENTERPRISEK9-M), Version 15.4(1)SY3, RELEASE SOFTWARE (fc4)' + capabilities: 'B,R' + management_ip: '172.16.0.10' + vlan: '1' + diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.raw b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.raw index 9257dcb5d6..7c00d5a9b9 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.raw +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.raw @@ -41,6 +41,29 @@ MED Information: PD device, Power source: PSE, Power Priority: High, Wattage: 4.0 Location - not advertised +------------------------------------------------ +Local Intf: Te1/1/1 +Chassis id: 2c33.1100.a6c0 +Port id: Te1/2/13 +Port Description: asw22 +System Name: dsw01 + +System Description: +Cisco IOS Software, s6t64 Software (s6t64-ADVENTERPRISEK9-M), Version 15.4(1)SY3, RELEASE SOFTWARE (fc4) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2017 by Cisco Systems, Inc. +Compiled Fri 27-Oct-17 23:06 by prod_rel_team + +Time remaining: 110 seconds +System Capabilities: B,R +Enabled Capabilities: B,R +Management Addresses: + IP: 172.16.0.10 +Auto Negotiation - supported, enabled +Physical media capabilities: + Other/unknown +Media Attachment Unit type - not advertised +Vlan ID: 1 -Total entries displayed: 1 +Total entries displayed: 2 From 117da8aac003a97f924d463bfba10ec9056163a1 Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 23 Jul 2019 18:22:09 -0400 Subject: [PATCH 257/628] Fixes #224 Updating aurba test file names to properly match naming pattern with parent folder. (#439) Updated aruba_os test files to match parent test folder names --- ...p_int_brief.parsed => aruba_os_show_ip_interface_brief.parsed} | 0 ...show_ip_int_brief.raw => aruba_os_show_ip_interface_brief.raw} | 0 ...int_brief.parsed => aruba_os_show_ipv6_interface_brief.parsed} | 0 ..._ipv6_int_brief.raw => aruba_os_show_ipv6_interface_brief.raw} | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename tests/aruba_os/show_ip_interface_brief/{aruba_os_show_ip_int_brief.parsed => aruba_os_show_ip_interface_brief.parsed} (100%) rename tests/aruba_os/show_ip_interface_brief/{aruba_os_show_ip_int_brief.raw => aruba_os_show_ip_interface_brief.raw} (100%) rename tests/aruba_os/show_ipv6_interface_brief/{aruba_os_show_ipv6_int_brief.parsed => aruba_os_show_ipv6_interface_brief.parsed} (100%) rename tests/aruba_os/show_ipv6_interface_brief/{aruba_os_show_ipv6_int_brief.raw => aruba_os_show_ipv6_interface_brief.raw} (100%) diff --git a/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_int_brief.parsed b/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.parsed similarity index 100% rename from tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_int_brief.parsed rename to tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.parsed diff --git a/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_int_brief.raw b/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.raw similarity index 100% rename from tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_int_brief.raw rename to tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.raw diff --git a/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_int_brief.parsed b/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.parsed similarity index 100% rename from tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_int_brief.parsed rename to tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.parsed diff --git a/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_int_brief.raw b/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.raw similarity index 100% rename from tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_int_brief.raw rename to tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.raw From 3626a8e8b988c2a201480dde3a7ccd524067582e Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 23 Jul 2019 16:36:08 -0600 Subject: [PATCH 258/628] Fixed issue with type (#427) Added OR operator and regex to type to be able to capture Fabric Exte in output for nxos_show_interface_status template --- .../cisco_nxos_show_interface_status.template | 2 +- .../cisco_nxos_show_interface_status1.parsed | 135 ++- .../cisco_nxos_show_interface_status2.parsed | 824 ++++++++---------- .../cisco_nxos_show_interface_status3.parsed | 94 ++ .../cisco_nxos_show_interface_status3.raw | 16 + 5 files changed, 559 insertions(+), 512 deletions(-) create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.parsed create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw diff --git a/templates/cisco_nxos_show_interface_status.template b/templates/cisco_nxos_show_interface_status.template index a650f635ac..024141a729 100644 --- a/templates/cisco_nxos_show_interface_status.template +++ b/templates/cisco_nxos_show_interface_status.template @@ -4,7 +4,7 @@ Value STATUS (\S+) Value VLAN (\d+|routed|trunk|--) Value DUPLEX (\S+) Value SPEED (\S+) -Value TYPE (\S+) +Value TYPE (\S+|\S+\s+\S+) Start ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed index a82ab287c5..36f0f46ff1 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed @@ -1,75 +1,66 @@ --- parsed_sample: - - port: "mgmt0" - name: "--" - status: "connected" - vlan: "routed" - duplex: "full" - speed: "1000" - type: "--" - - - port: "Eth1/1" - name: "interface1" - status: "connected" - vlan: "trunk" - duplex: "full" - speed: "10G" - type: "10Gbase-SR-S" - - - port: "Eth1/2" - name: "interface2" - status: "connected" - vlan: "trunk" - duplex: "full" - speed: "10G" - type: "10Gbase-SR-S" - - - port: "Eth1/3" - name: "interface3" - status: "connected" - vlan: "trunk" - duplex: "full" - speed: "10G" - type: "10Gbase-SR" - - - port: "Eth1/4" - name: "interface4" - status: "connected" - vlan: "trunk" - duplex: "full" - speed: "10G" - type: "10Gbase-SR" - - - port: "Eth1/5" - name: "interface5" - status: "connected" - vlan: "trunk" - duplex: "full" - speed: "10G" - type: "10Gbase-SR-S" - - - port: "Eth1/6" - name: "interface6" - status: "connected" - vlan: "trunk" - duplex: "full" - speed: "10G" - type: "10Gbase-SR-S" - - - port: Eth1/7 - name: "interface7" - status: "connected" - vlan: "trunk" - duplex: "full" - speed: "10G" - type: "10Gbase-SR-S" - - - port: "Eth1/8" - name: "interface8" - status: "connected" - vlan: "trunk" - duplex: "full" - speed: "10G" - type: "10Gbase-SR-S" - +- duplex: full + name: -- + port: mgmt0 + speed: '1000' + status: connected + type: -- + vlan: routed +- duplex: full + name: interface1 + port: Eth1/1 + speed: 10G + status: connected + type: 10Gbase-SR-S + vlan: trunk +- duplex: full + name: interface2 + port: Eth1/2 + speed: 10G + status: connected + type: 10Gbase-SR-S + vlan: trunk +- duplex: full + name: interface3 + port: Eth1/3 + speed: 10G + status: connected + type: 10Gbase-SR + vlan: trunk +- duplex: full + name: interface4 + port: Eth1/4 + speed: 10G + status: connected + type: 10Gbase-SR + vlan: trunk +- duplex: full + name: interface5 + port: Eth1/5 + speed: 10G + status: connected + type: 10Gbase-SR-S + vlan: trunk +- duplex: full + name: interface6 + port: Eth1/6 + speed: 10G + status: connected + type: 10Gbase-SR-S + vlan: trunk +- duplex: full + name: interface7 + port: Eth1/7 + speed: 10G + status: connected + type: 10Gbase-SR-S + vlan: trunk +- duplex: full + name: interface8 + port: Eth1/8 + speed: 10G + status: connected + type: 10Gbase-SR-S + vlan: trunk diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed index 0129967402..52c81a4d29 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed @@ -1,442 +1,388 @@ --- parsed_sample: -- duplex: auto - name: -- - port: mgmt0 - speed: auto - status: notconnec - type: -- - vlan: routed - -- duplex: full - name: -- - port: Eth1/1 - speed: '1000' - status: connected - type: 1000base-T - vlan: trunk - -- duplex: auto - name: -- - port: Eth1/2 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/3 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/4 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/5 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/6 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/7 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/8 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/9 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/10 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/11 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/12 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/13 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/14 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/15 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/16 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/17 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/18 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/19 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/20 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/21 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/22 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/23 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/24 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/25 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/26 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/27 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/28 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/29 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/30 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/31 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/32 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/33 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/34 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/35 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/36 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/37 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/38 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/39 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/40 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/41 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/42 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/43 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/44 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/45 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/46 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/47 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/48 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/49 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/50 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/51 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: -- - port: Eth1/52 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' - -- duplex: auto - name: VPC-peer-link !kob - port: Eth1/53 - speed: auto - status: xcvrAbsen - type: -- - vlan: trunk - -- duplex: auto - name: VPC-peer-link !kob - port: Eth1/54 - speed: auto - status: xcvrAbsen - type: -- - vlan: trunk +- duplex: auto + name: -- + port: mgmt0 + speed: auto + status: notconnec + type: -- + vlan: routed +- duplex: full + name: -- + port: Eth1/1 + speed: '1000' + status: connected + type: 1000base-T + vlan: trunk +- duplex: auto + name: -- + port: Eth1/2 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/3 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/4 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/5 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/6 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/7 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/8 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/9 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/10 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/11 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/12 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/13 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/14 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/15 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/16 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/17 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/18 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/19 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/20 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/21 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/22 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/23 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/24 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/25 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/26 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/27 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/28 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/29 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/30 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/31 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/32 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/33 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/34 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/35 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/36 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/37 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/38 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/39 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/40 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/41 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/42 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/43 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/44 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/45 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/46 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/47 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/48 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/49 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/50 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/51 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: -- + port: Eth1/52 + speed: auto + status: xcvrAbsen + type: -- + vlan: '1' +- duplex: auto + name: VPC-peer-link !kob + port: Eth1/53 + speed: auto + status: xcvrAbsen + type: -- + vlan: trunk +- duplex: auto + name: VPC-peer-link !kob + port: Eth1/54 + speed: auto + status: xcvrAbsen + type: -- + vlan: trunk diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.parsed b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.parsed new file mode 100644 index 0000000000..fa55996cb5 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.parsed @@ -0,0 +1,94 @@ +--- +parsed_sample: + +- duplex: full + name: upk peerLink_XXXX + port: Eth1/1 + speed: 10G + status: connected + type: 10Gbase-SR + vlan: trunk +- duplex: full + name: upk peerLink_XXXX + port: Eth1/2 + speed: 10G + status: connected + type: 10Gbase-SR + vlan: trunk +- duplex: full + name: upk peerLink_XXXX + port: Eth1/3 + speed: 10G + status: connected + type: 10Gbase-SR + vlan: trunk +- duplex: full + name: upk peerLink_XXXX + port: Eth1/4 + speed: 10G + status: connected + type: 10Gbase-SR + vlan: trunk +- duplex: full + name: upk peerLink_XXXX + port: Eth1/5 + speed: 10G + status: connected + type: 10Gbase-SR + vlan: trunk +- duplex: full + name: upk peerLink_XXXX + port: Eth1/6 + speed: 10G + status: connected + type: 10Gbase-SR + vlan: trunk +- duplex: full + name: upk peerLink_XXXX + port: Eth1/7 + speed: 10G + status: connected + type: 10Gbase-SR + vlan: trunk +- duplex: full + name: upk peerLink_XXXX + port: Eth1/8 + speed: 10G + status: connected + type: 10Gbase-SR + vlan: trunk +- duplex: full + name: -- + port: Eth1/9 + speed: 10G + status: channelDo + type: Fabric Exte + vlan: '1' +- duplex: full + name: -- + port: Eth1/10 + speed: 10G + status: channelDo + type: Fabric Exte + vlan: '1' +- duplex: full + name: -- + port: Eth1/11 + speed: 10G + status: channelDo + type: Fabric Exte + vlan: '1' +- duplex: full + name: -- + port: Eth1/12 + speed: 10G + status: channelDo + type: Fabric Exte + vlan: '1' +- duplex: full + name: upk N2232PP-651-10 + port: Eth1/13 + speed: 10G + status: connected + type: Fabric Exte + vlan: '1' diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw new file mode 100644 index 0000000000..434aca5b33 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw @@ -0,0 +1,16 @@ +-------------------------------------------------------------------------------- +Port Name Status Vlan Duplex Speed Type +-------------------------------------------------------------------------------- +Eth1/1 upk peerLink_XXXX connected trunk full 10G 10Gbase-SR +Eth1/2 upk peerLink_XXXX connected trunk full 10G 10Gbase-SR +Eth1/3 upk peerLink_XXXX connected trunk full 10G 10Gbase-SR +Eth1/4 upk peerLink_XXXX connected trunk full 10G 10Gbase-SR +Eth1/5 upk peerLink_XXXX connected trunk full 10G 10Gbase-SR +Eth1/6 upk peerLink_XXXX connected trunk full 10G 10Gbase-SR +Eth1/7 upk peerLink_XXXX connected trunk full 10G 10Gbase-SR +Eth1/8 upk peerLink_XXXX connected trunk full 10G 10Gbase-SR +Eth1/9 -- channelDo 1 full 10G Fabric Exte +Eth1/10 -- channelDo 1 full 10G Fabric Exte +Eth1/11 -- channelDo 1 full 10G Fabric Exte +Eth1/12 -- channelDo 1 full 10G Fabric Exte +Eth1/13 upk N2232PP-651-10 connected 1 full 10G Fabric Exte From 144cf37cacbbe0b8ab07b6ce51dcfcd27a54d311 Mon Sep 17 00:00:00 2001 From: dampfhamm3r Date: Wed, 24 Jul 2019 16:10:40 +0200 Subject: [PATCH 259/628] add Cisco IOS XR 'show ip interface brief' command (#438) added cisco_xr_show_ip_interface_brief.template --- .../cisco_xr_show_ip_interface_brief.template | 8 +++++ templates/index | 1 + .../cisco_xr_show_ip_interface_brief.parsed | 32 +++++++++++++++++++ .../cisco_xr_show_ip_interface_brief.raw | 7 ++++ 4 files changed, 48 insertions(+) create mode 100644 templates/cisco_xr_show_ip_interface_brief.template create mode 100644 tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.parsed create mode 100644 tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.raw diff --git a/templates/cisco_xr_show_ip_interface_brief.template b/templates/cisco_xr_show_ip_interface_brief.template new file mode 100644 index 0000000000..b199c0d451 --- /dev/null +++ b/templates/cisco_xr_show_ip_interface_brief.template @@ -0,0 +1,8 @@ +Value INTF (.+?) +Value IPADDR (\S+) +Value STATUS (Up|Down|Shutdown) +Value PROTO (Up|Down) +Value VRF (\S+) + +Start + ^${INTF}\s+${IPADDR}\s+${STATUS}\s+${PROTO}\s+${VRF} -> Record diff --git a/templates/index b/templates/index index a2b4bbc876..3cc6a95297 100644 --- a/templates/index +++ b/templates/index @@ -250,6 +250,7 @@ cisco_xr_show_mpls_ldp_neighbor_brief.template, .*, cisco_xr, sh[[ow]] mp[[ls]] cisco_xr_admin_show_environment_fan.template, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] f[[an]] cisco_xr_show_cdp_neighbors_detail.template, .*, cisco_xr, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_xr_show_cef_drops_location.template, .*, cisco_xr, sh[[ow]] cef drops loc[[ation]] +cisco_xr_show_ip_interface_brief.template, .*, cisco_xr, sh[[ow]] ip int[[erface]] br[[ief]] cisco_xr_show_redundancy_summary.template, .*, cisco_xr, sh[[ow]] redun[[dancy]] summ[[ary]] cisco_xr_show_interface_brief.template, .*, cisco_xr, sh[[ow]] int[[erface]] br[[ief]] cisco_xr_admin_show_platform.template, .*, cisco_xr, adm[[in]] sh[[ow]] pla[[tform]] diff --git a/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.parsed b/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.parsed new file mode 100644 index 0000000000..a7db26ca78 --- /dev/null +++ b/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.parsed @@ -0,0 +1,32 @@ +--- +parsed_sample: + - intf: 'GigabitEthernet0/0/1/18' + ipaddr: 'unassigned' + status: 'Shutdown' + proto: 'Down' + vrf: 'default' + - intf: 'GigabitEthernet0/0/1/19' + ipaddr: 'unassigned' + status: 'Up' + proto: 'Up' + vrf: 'default' + - intf: 'GigabitEthernet0/0/1/19.2003' + ipaddr: '10.79.255.0' + status: 'Up' + proto: 'Up' + vrf: 'WAG:OOB' + - intf: 'TenGigE0/0/2/0' + ipaddr: 'unassigned' + status: 'Up' + proto: 'Up' + vrf: 'default' + - intf: 'TenGigE0/0/2/0.2396' + ipaddr: '10.79.255.96' + status: 'Up' + proto: 'Up' + vrf: 'WAG:123' + - intf: 'TenGigE0/0/2/0.2397' + ipaddr: '10.79.255.80' + status: 'Up' + proto: 'Up' + vrf: 'WAG:ABC' diff --git a/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.raw b/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.raw new file mode 100644 index 0000000000..e9fa29a687 --- /dev/null +++ b/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.raw @@ -0,0 +1,7 @@ +Interface IP-Address Status Protocol Vrf-Name +GigabitEthernet0/0/1/18 unassigned Shutdown Down default +GigabitEthernet0/0/1/19 unassigned Up Up default +GigabitEthernet0/0/1/19.2003 10.79.255.0 Up Up WAG:OOB +TenGigE0/0/2/0 unassigned Up Up default +TenGigE0/0/2/0.2396 10.79.255.96 Up Up WAG:123 +TenGigE0/0/2/0.2397 10.79.255.80 Up Up WAG:ABC From 86de7a49c53e13ce0595b7b8a33bcc21a059db3b Mon Sep 17 00:00:00 2001 From: dainok Date: Thu, 25 Jul 2019 04:44:28 +0200 Subject: [PATCH 260/628] Cisco nxos show interfaces switchport (#434) New template: cisco_nxos_show_interfaces_switchport --- ...o_nxos_show_interfaces_switchport.template | 18 ++++++ templates/index | 1 + ...sco_nxos_show_interfaces_switchport.parsed | 24 +++++++ .../cisco_nxos_show_interfaces_switchport.raw | 63 +++++++++++++++++++ 4 files changed, 106 insertions(+) create mode 100644 templates/cisco_nxos_show_interfaces_switchport.template create mode 100644 tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed create mode 100644 tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.raw diff --git a/templates/cisco_nxos_show_interfaces_switchport.template b/templates/cisco_nxos_show_interfaces_switchport.template new file mode 100644 index 0000000000..b50cb16ad3 --- /dev/null +++ b/templates/cisco_nxos_show_interfaces_switchport.template @@ -0,0 +1,18 @@ +Value Required INTERFACE (\S+) +Value SWITCHPORT (.+) +Value SWITCHPORT_MONITOR (.+) +Value MODE (.+) +Value ACCESS_VLAN (\d+) +Value NATIVE_VLAN (\d+) +Value TRUNKING_VLANS (\S+) + +Start + ^Name: ${INTERFACE} + ^\s*Switchport: ${SWITCHPORT} + ^\s*Switchport Monitor: ${SWITCHPORT_MONITOR} + ^\s*Operational Mode: ${MODE} + ^\s*Access Mode VLAN: ${ACCESS_VLAN} + ^\s*Trunking Native Mode VLAN: ${NATIVE_VLAN} + ^\s*Trunking VLANs Allowed: ${TRUNKING_VLANS} -> Record + ^.+$$ + ^. -> Error diff --git a/templates/index b/templates/index index 3cc6a95297..fd0ac37e15 100644 --- a/templates/index +++ b/templates/index @@ -191,6 +191,7 @@ cisco_nxos_show_l2rib_internal_permanently-frozen-list.template, .*, cisco_nxos, cisco_nxos_show_configuration_session_summary.template, .*, cisco_nxos, sh[[ow]] configu[[ration]] s[[ession]] su[[mmary]] cisco_nxos_show_interface_transceiver_details.template, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] cisco_nxos_show_environment_temperature.template, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] +cisco_nxos_show_interfaces_switchport.template, .*, cisco_nxos, sh[[ow]] int[[erfaces]] sw[[itchport]] cisco_nxos_show_ip_dhcp_relay_address.template, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] cisco_nxos_show_lldp_neighbors_detail.template, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] cisco_nxos_show_cdp_neighbors_detail.template, .*, cisco_nxos, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed new file mode 100644 index 0000000000..f48016af54 --- /dev/null +++ b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed @@ -0,0 +1,24 @@ +--- +parsed_sample: + + - interface: Ethernet1/1 + switchport: Enabled + switchport_monitor: Not enabled + mode: access + access_vlan: '3' + native_vlan: '1' + trunking_vlans: '1-4094' + - interface: Ethernet1/2 + switchport: Enabled + switchport_monitor: Not enabled + mode: trunk + access_vlan: '1' + native_vlan: '5' + trunking_vlans: '1-4094' + - interface: Ethernet1/3 + switchport: Enabled + switchport_monitor: Not enabled + mode: trunk + access_vlan: '1' + native_vlan: '1' + trunking_vlans: '1-4094' diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.raw b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.raw new file mode 100644 index 0000000000..a9fe82f43c --- /dev/null +++ b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.raw @@ -0,0 +1,63 @@ +Name: Ethernet1/1 + Switchport: Enabled + Switchport Monitor: Not enabled + Switchport Isolated : Not enabled + Switchport Block Multicast: Not enabled + Switchport Block Unicast: Not enabled + Operational Mode: access + Access Mode VLAN: 3 (Vlan not created) + Trunking Native Mode VLAN: 1 (default) + Trunking VLANs Allowed: 1-4094 + Voice VLAN: none + Extended Trust State : not trusted [COS = 0] + Administrative private-vlan primary host-association: none + Administrative private-vlan secondary host-association: none + Administrative private-vlan primary mapping: none + Administrative private-vlan secondary mapping: none + Administrative private-vlan trunk native VLAN: none + Administrative private-vlan trunk encapsulation: dot1q + Administrative private-vlan trunk normal VLANs: none + Administrative private-vlan trunk private VLANs: none + Operational private-vlan: none +Name: Ethernet1/2 + Switchport: Enabled + Switchport Monitor: Not enabled + Switchport Isolated : Not enabled + Switchport Block Multicast: Not enabled + Switchport Block Unicast: Not enabled + Operational Mode: trunk + Access Mode VLAN: 1 (default) + Trunking Native Mode VLAN: 5 (Vlan not created) + Trunking VLANs Allowed: 1-4094 + Voice VLAN: none + Extended Trust State : not trusted [COS = 0] + Administrative private-vlan primary host-association: none + Administrative private-vlan secondary host-association: none + Administrative private-vlan primary mapping: none + Administrative private-vlan secondary mapping: none + Administrative private-vlan trunk native VLAN: none + Administrative private-vlan trunk encapsulation: dot1q + Administrative private-vlan trunk normal VLANs: none + Administrative private-vlan trunk private VLANs: none + Operational private-vlan: none +Name: Ethernet1/3 + Switchport: Enabled + Switchport Monitor: Not enabled + Switchport Isolated : Not enabled + Switchport Block Multicast: Not enabled + Switchport Block Unicast: Not enabled + Operational Mode: trunk + Access Mode VLAN: 1 (default) + Trunking Native Mode VLAN: 1 (default) + Trunking VLANs Allowed: 1-4094 + Voice VLAN: none + Extended Trust State : not trusted [COS = 0] + Administrative private-vlan primary host-association: none + Administrative private-vlan secondary host-association: none + Administrative private-vlan primary mapping: none + Administrative private-vlan secondary mapping: none + Administrative private-vlan trunk native VLAN: none + Administrative private-vlan trunk encapsulation: dot1q + Administrative private-vlan trunk normal VLANs: none + Administrative private-vlan trunk private VLANs: none + Operational private-vlan: none From 61cf56cbd4fc17a1b67f53e41570e70d953fbdaf Mon Sep 17 00:00:00 2001 From: dainok Date: Thu, 25 Jul 2019 04:53:28 +0200 Subject: [PATCH 261/628] Cisco ios show interfaces switchport (#433) New template: cisco_ios_show_interfaces_switchport --- ...co_ios_show_interfaces_switchport.template | 20 +++ templates/index | 1 + ...isco_ios_show_interfaces_switchport.parsed | 43 ++++++ .../cisco_ios_show_interfaces_switchport.raw | 140 ++++++++++++++++++ 4 files changed, 204 insertions(+) create mode 100644 templates/cisco_ios_show_interfaces_switchport.template create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw diff --git a/templates/cisco_ios_show_interfaces_switchport.template b/templates/cisco_ios_show_interfaces_switchport.template new file mode 100644 index 0000000000..ad691610ae --- /dev/null +++ b/templates/cisco_ios_show_interfaces_switchport.template @@ -0,0 +1,20 @@ +Value Required INTERFACE (\S+) +Value SWITCHPORT (.+) +Value SWITCHPORT_MONITOR (.+) +Value SWITCHPORT_NEGOTIATION (.+) +Value MODE (.+) +Value ACCESS_VLAN (\d+) +Value NATIVE_VLAN (\d+) +Value TRUNKING_VLANS (.+) + +Start + ^Name: ${INTERFACE} + ^\s*Switchport: ${SWITCHPORT} + ^\s*Switchport Monitor: ${SWITCHPORT_MONITOR} + ^\s*Operational Mode: ${MODE} + ^\s*Negotiation of Trunking: ${SWITCHPORT_NEGOTIATION} + ^\s*Access Mode VLAN: ${ACCESS_VLAN} + ^\s*Trunking Native Mode VLAN: ${NATIVE_VLAN} + ^\s*Trunking VLANs Enabled: ${TRUNKING_VLANS} -> Record + ^.+$$ + ^. -> Error diff --git a/templates/index b/templates/index index fd0ac37e15..602edd21dd 100644 --- a/templates/index +++ b/templates/index @@ -135,6 +135,7 @@ cisco_ios_show_interfaces_description.template, .*, cisco_ios, sh[[ow]] int[[erf cisco_ios_show_ip_device_tracking_all.template, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] cisco_ios_show_environment_power_all.template, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] +cisco_ios_show_interfaces_switchport.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] sw[[itchport]] cisco_ios_show_lldp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] det[[ail]] cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_ios_show_ipv6_interface_brief.template, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed new file mode 100644 index 0000000000..391219aef4 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed @@ -0,0 +1,43 @@ +--- +parsed_sample: + +- access_vlan: '1' + interface: Gi0/1 + mode: trunk + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'Off' + switchport_monitor: '' + trunking_vlans: ALL +- access_vlan: '100' + interface: Gi0/2 + mode: static access + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'On' + switchport_monitor: '' + trunking_vlans: ALL +- access_vlan: '101' + interface: Gi0/3 + mode: static access + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'On' + switchport_monitor: '' + trunking_vlans: ALL +- access_vlan: '110' + interface: Gi1/0 + mode: static access + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'On' + switchport_monitor: '' + trunking_vlans: ALL +- access_vlan: '111' + interface: Gi1/1 + mode: static access + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'On' + switchport_monitor: '' + trunking_vlans: ALL diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw new file mode 100644 index 0000000000..7d31d5940b --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw @@ -0,0 +1,140 @@ + +Name: Gi0/1 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Appliance trust: none + +Name: Gi0/2 +Switchport: Enabled +Administrative Mode: dynamic auto +Operational Mode: static access +Administrative Trunking Encapsulation: negotiate +Operational Trunking Encapsulation: native +Negotiation of Trunking: On +Access Mode VLAN: 100 (PLC1) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Appliance trust: none + +Name: Gi0/3 +Switchport: Enabled +Administrative Mode: dynamic auto +Operational Mode: static access +Administrative Trunking Encapsulation: negotiate +Operational Trunking Encapsulation: native +Negotiation of Trunking: On +Access Mode VLAN: 101 (HMI1) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Appliance trust: none + +Name: Gi1/0 +Switchport: Enabled +Administrative Mode: dynamic auto +Operational Mode: static access +Administrative Trunking Encapsulation: negotiate +Operational Trunking Encapsulation: native +Negotiation of Trunking: On +Access Mode VLAN: 110 (PLC2) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Appliance trust: none + +Name: Gi1/1 +Switchport: Enabled +Administrative Mode: dynamic auto +Operational Mode: static access +Administrative Trunking Encapsulation: negotiate +Operational Trunking Encapsulation: native +Negotiation of Trunking: On +Access Mode VLAN: 111 (HMI2) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Appliance trust: none From f42ff259a1add09b1b6a75b12bb2587d3ac9e9ec Mon Sep 17 00:00:00 2001 From: dainok Date: Thu, 25 Jul 2019 20:54:16 +0200 Subject: [PATCH 262/628] Paloalto panos show arp all (#432) New template: paloalto_panos_show_arp_all --- templates/index | 1 + .../paloalto_panos_show_arp_all.template | 14 +++++++++++++ .../paloalto_panos_show_arp_all.parsed | 21 +++++++++++++++++++ .../paloalto_panos_show_arp_all.raw | 12 +++++++++++ 4 files changed, 48 insertions(+) create mode 100644 templates/paloalto_panos_show_arp_all.template create mode 100644 tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed create mode 100644 tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.raw diff --git a/templates/index b/templates/index index 602edd21dd..929874f70b 100644 --- a/templates/index +++ b/templates/index @@ -308,6 +308,7 @@ paloalto_panos_show_interface_logical.template, .*, paloalto_panos, sh[[ow]] int paloalto_panos_show_counter_global.template, .*, paloalto_panos, sh[[ow]] coun[[ter]] glo[[bal]] paloalto_panos_show_system_info.template, .*, paloalto_panos, sh[[ow]] sys[[tem]] in[[fo]] paloalto_panos_show_jobs_all.template, .*, paloalto_panos, sh[[ow]] jo[[bs]] all +paloalto_panos_show_arp_all.template, .*, paloalto_panos, sh[[ow]] ar[[p]] all ubiquiti_edgeswitch_show_vlan.template, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] ubiquiti_edgeswitch_show_arp.template, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] diff --git a/templates/paloalto_panos_show_arp_all.template b/templates/paloalto_panos_show_arp_all.template new file mode 100644 index 0000000000..e015a0facf --- /dev/null +++ b/templates/paloalto_panos_show_arp_all.template @@ -0,0 +1,14 @@ +Value INTERFACE (\S+) +Value IP (\S+) +Value MAC ([0-9a-fA-F:]+) +Value PORT (\S+) +Value STATUS (\S+) +Value TTL (\d+) + +Start + ^\s*--- -> Start_record + +Start_record + ^${INTERFACE}\s+${IP}\s+${MAC}\s+${PORT}\s+${STATUS}\s+${TTL} -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed new file mode 100644 index 0000000000..08952968b8 --- /dev/null +++ b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed @@ -0,0 +1,21 @@ +--- +parsed_sample: + +- interface: ethernet1/1 + ip: 172.25.1.254 + mac: '08:30:6b:26:43:30' + port: ethernet1/1 + status: c + ttl: '627' +- interface: vlan.1 + ip: 172.25.2.195 + mac: '00:50:00:00:07:00' + port: ethernet1/2.110 + status: c + ttl: '1012' +- interface: vlan.1 + ip: 172.25.2.196 + mac: '00:50:00:00:08:00' + port: ethernet1/2.111 + status: c + ttl: '1016' diff --git a/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.raw b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.raw new file mode 100644 index 0000000000..96c3ace656 --- /dev/null +++ b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.raw @@ -0,0 +1,12 @@ + +maximum of entries supported : 1500 +default timeout: 1800 seconds +total ARP entries in table : 5 +total ARP entries shown : 5 +status: s - static, c - complete, e - expiring, i - incomplete + +interface ip address hw address port status ttl +-------------------------------------------------------------------------------- +ethernet1/1 172.25.1.254 08:30:6b:26:43:30 ethernet1/1 c 627 +vlan.1 172.25.2.195 00:50:00:00:07:00 ethernet1/2.110 c 1012 +vlan.1 172.25.2.196 00:50:00:00:08:00 ethernet1/2.111 c 1016 From 3990023445de67560c5d6df95dd0021f162d9561 Mon Sep 17 00:00:00 2001 From: dainok Date: Thu, 25 Jul 2019 20:59:38 +0200 Subject: [PATCH 263/628] Hp procurve show mac address (#430) New template: hp_procurve_show_mac-address --- templates/hp_procurve_show_mac-address.template | 11 +++++++++++ templates/index | 1 + .../hp_procurve_show_mac-address.parsed | 15 +++++++++++++++ .../hp_procurve_show_mac-address.raw | 9 +++++++++ 4 files changed, 36 insertions(+) create mode 100644 templates/hp_procurve_show_mac-address.template create mode 100644 tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.parsed create mode 100644 tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.raw diff --git a/templates/hp_procurve_show_mac-address.template b/templates/hp_procurve_show_mac-address.template new file mode 100644 index 0000000000..d9b8f2e0d8 --- /dev/null +++ b/templates/hp_procurve_show_mac-address.template @@ -0,0 +1,11 @@ +Value MAC ([0-9a-fA-F]{6}-[0-9a-fA-F]{6}) +Value PORT (\S+) +Value VLAN (\d+) + +Start + ^\s*--- -> Start_record + +Start_record + ^\s+${MAC}\s+${PORT}\s+${VLAN} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 929874f70b..ad0bb8e6e1 100644 --- a/templates/index +++ b/templates/index @@ -285,6 +285,7 @@ hp_comware_display_clock.template, .*, hp_comware, di[[splay]] clo[[ck]] hp_comware_display_arp.template, .*, hp_comware, di[[splay]] a[[rp]] hp_procurve_show_tech_buffers.template, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] +hp_procurve_show_mac-address.template, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_system.template, .*, hp_procurve, sh[[ow]] syst[[em]] hp_procurve_show_vlans.template, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.template, .*, hp_procurve, sh[[ow]] ar[[p]] diff --git a/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.parsed b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.parsed new file mode 100644 index 0000000000..863ce43bc7 --- /dev/null +++ b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.parsed @@ -0,0 +1,15 @@ +--- +parsed_sample: + +- mac: '500000-260000' + port: Trk1 + vlan: '17' +- mac: '500000-a80009' + port: Trk1 + vlan: '10' +- mac: '500000-260000' + port: Trk1 + vlan: '50' +- mac: '500000-b70008' + port: '25' + vlan: '50' diff --git a/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.raw b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.raw new file mode 100644 index 0000000000..e11e1c22fd --- /dev/null +++ b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.raw @@ -0,0 +1,9 @@ + + Status and Counters - Port Address Table + + MAC Address Port VLAN + ----------------- ------------------------------- ---- + 500000-260000 Trk1 17 + 500000-a80009 Trk1 10 + 500000-260000 Trk1 50 + 500000-b70008 25 50 From 6a974019f0391aec875a5a7a61f809770a87bb3b Mon Sep 17 00:00:00 2001 From: dainok Date: Fri, 26 Jul 2019 17:48:44 +0200 Subject: [PATCH 264/628] Paloalto panos show mac all (#431) New template: paloalto_panos_show_mac_all --- templates/index | 1 + templates/paloalto_panos_show_mac_all.template | 13 +++++++++++++ .../paloalto_panos_show_mac_all.parsed | 18 ++++++++++++++++++ .../paloalto_panos_show_mac_all.raw | 12 ++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 templates/paloalto_panos_show_mac_all.template create mode 100644 tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.parsed create mode 100644 tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.raw diff --git a/templates/index b/templates/index index ad0bb8e6e1..8dc7518b2c 100644 --- a/templates/index +++ b/templates/index @@ -310,6 +310,7 @@ paloalto_panos_show_counter_global.template, .*, paloalto_panos, sh[[ow]] coun[[ paloalto_panos_show_system_info.template, .*, paloalto_panos, sh[[ow]] sys[[tem]] in[[fo]] paloalto_panos_show_jobs_all.template, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.template, .*, paloalto_panos, sh[[ow]] ar[[p]] all +paloalto_panos_show_mac_all.template, .*, paloalto_panos, sh[[ow]] mac all ubiquiti_edgeswitch_show_vlan.template, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] ubiquiti_edgeswitch_show_arp.template, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] diff --git a/templates/paloalto_panos_show_mac_all.template b/templates/paloalto_panos_show_mac_all.template new file mode 100644 index 0000000000..2750d2120f --- /dev/null +++ b/templates/paloalto_panos_show_mac_all.template @@ -0,0 +1,13 @@ +Value VLAN (\S+) +Value MAC ([0-9a-fA-F:]+) +Value INTERFACE (\S+) +Value STATUS (\S+) +Value TTL (\d+) + +Start + ^\s*--- -> Start_record + +Start_record + ^${VLAN}\s+${MAC}\s+${INTERFACE}\s+${STATUS}\s+${TTL} -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.parsed b/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.parsed new file mode 100644 index 0000000000..e95b162037 --- /dev/null +++ b/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.parsed @@ -0,0 +1,18 @@ +--- +parsed_sample: + +- vlan: Test + mac: '00:50:00:00:07:00' + interface: ethernet1/2.110 + status: c + ttl: '1778' +- vlan: Test + mac: '00:50:00:00:08:00' + interface: ethernet1/2.111 + status: c + ttl: '1796' +- vlan: Test + mac: '50:00:00:02:00:01' + interface: ethernet1/2.110 + status: c + ttl: '704' diff --git a/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.raw b/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.raw new file mode 100644 index 0000000000..f5fcfd78cc --- /dev/null +++ b/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.raw @@ -0,0 +1,12 @@ + +maximum of entries supported : 1500 +default timeout : 1800 seconds +total MAC entries in table : 3 +total MAC entries shown : 3 +status: s - static, c - complete, i - incomplete + +vlan hw address interface status ttl +-------------------------------------------------------------------------------- +Test 00:50:00:00:07:00 ethernet1/2.110 c 1778 +Test 00:50:00:00:08:00 ethernet1/2.111 c 1796 +Test 50:00:00:02:00:01 ethernet1/2.110 c 704 From 4ec4edd4d6d73aad104302cdb145bc6908ab10e9 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 26 Jul 2019 10:08:59 -0600 Subject: [PATCH 265/628] Fix spacing new templates (#443) Fixed a two recent merges that were using static spacing (cisco_ios/cisco_nxos_show_interfaces_switchport) --- ...cisco_ios_show_interfaces_switchport.template | 16 ++++++++-------- ...isco_nxos_show_interfaces_switchport.template | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/templates/cisco_ios_show_interfaces_switchport.template b/templates/cisco_ios_show_interfaces_switchport.template index ad691610ae..d7dbf4eff9 100644 --- a/templates/cisco_ios_show_interfaces_switchport.template +++ b/templates/cisco_ios_show_interfaces_switchport.template @@ -8,13 +8,13 @@ Value NATIVE_VLAN (\d+) Value TRUNKING_VLANS (.+) Start - ^Name: ${INTERFACE} - ^\s*Switchport: ${SWITCHPORT} - ^\s*Switchport Monitor: ${SWITCHPORT_MONITOR} - ^\s*Operational Mode: ${MODE} - ^\s*Negotiation of Trunking: ${SWITCHPORT_NEGOTIATION} - ^\s*Access Mode VLAN: ${ACCESS_VLAN} - ^\s*Trunking Native Mode VLAN: ${NATIVE_VLAN} - ^\s*Trunking VLANs Enabled: ${TRUNKING_VLANS} -> Record + ^Name:\s+${INTERFACE} + ^\s*Switchport:\s+${SWITCHPORT} + ^\s*Switchport\s+Monitor:\s+${SWITCHPORT_MONITOR} + ^\s*Operational\s+Mode:\s+${MODE} + ^\s*Negotiation\s+of\s+Trunking:\s+${SWITCHPORT_NEGOTIATION} + ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} + ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} + ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS} -> Record ^.+$$ ^. -> Error diff --git a/templates/cisco_nxos_show_interfaces_switchport.template b/templates/cisco_nxos_show_interfaces_switchport.template index b50cb16ad3..2e738f1b75 100644 --- a/templates/cisco_nxos_show_interfaces_switchport.template +++ b/templates/cisco_nxos_show_interfaces_switchport.template @@ -7,12 +7,12 @@ Value NATIVE_VLAN (\d+) Value TRUNKING_VLANS (\S+) Start - ^Name: ${INTERFACE} - ^\s*Switchport: ${SWITCHPORT} - ^\s*Switchport Monitor: ${SWITCHPORT_MONITOR} - ^\s*Operational Mode: ${MODE} - ^\s*Access Mode VLAN: ${ACCESS_VLAN} - ^\s*Trunking Native Mode VLAN: ${NATIVE_VLAN} - ^\s*Trunking VLANs Allowed: ${TRUNKING_VLANS} -> Record + ^Name:\s+${INTERFACE} + ^\s*Switchport:\s+${SWITCHPORT} + ^\s*Switchport\s+Monitor:\s+${SWITCHPORT_MONITOR} + ^\s*Operational\s+Mode:\s+${MODE} + ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} + ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} + ^\s*Trunking\s+VLANs\s+Allowed:\s+${TRUNKING_VLANS} -> Record ^.+$$ ^. -> Error From 4225a0491876f160203314a57829b2fa804eb390 Mon Sep 17 00:00:00 2001 From: jifox Date: Fri, 26 Jul 2019 23:24:12 +0200 Subject: [PATCH 266/628] New template cisco_ios_show_snmp_user.template (#429) New template: cisco_ios_show_snmp_user --- templates/cisco_ios_show_snmp_user.template | 18 ++++++++++++++++++ templates/index | 1 + .../cisco_ios_show_snmp_user.parsed | 16 ++++++++++++++++ .../cisco_ios_show_snmp_user.raw | 14 ++++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 templates/cisco_ios_show_snmp_user.template create mode 100644 tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed create mode 100644 tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.raw diff --git a/templates/cisco_ios_show_snmp_user.template b/templates/cisco_ios_show_snmp_user.template new file mode 100644 index 0000000000..32c6e8e3bc --- /dev/null +++ b/templates/cisco_ios_show_snmp_user.template @@ -0,0 +1,18 @@ +Value Required USER_NAME (\w+) +Value ENGINE_ID (\w+) +Value STORAGE_TYPE (\w+) +Value ACCESS_LIST (.*) +Value AUTHENTICATION_PROTOCOL (\w+) +Value PRIVACY_PROTOCOL (\w+) +Value GROUP_NAME (\w+) + +Start + ^User\s+name:\s+${USER_NAME}$$ + ^Engine\s+ID:\s+${ENGINE_ID}$$ + ^storage-type:\s${STORAGE_TYPE}\s+active\s+access-list:\s+${ACCESS_LIST}$$ + ^storage-type:\s${STORAGE_TYPE}\s+active$$ + ^Authentication\s+Protocol:\s+${AUTHENTICATION_PROTOCOL}$$ + ^Privacy\s+Protocol:\s+${PRIVACY_PROTOCOL}$$ + ^Group-name:\s+${GROUP_NAME}$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 8dc7518b2c..ac5cff8f94 100644 --- a/templates/index +++ b/templates/index @@ -174,6 +174,7 @@ cisco_ios_show_dot1x_all.template, .*, cisco_ios, sh[[ow]] dot1x a[[ll]] cisco_ios_show_inventory.template, .*, cisco_ios, sh[[ow]] inven[[tory]] cisco_ios_show_ip_mroute.template, .*, cisco_ios, sh[[ow]] ip mr[[oute]] cisco_ios_show_route-map.template, .*, cisco_ios, sh[[ow]] route-m[[ap]] +cisco_ios_show_snmp_user.template, .*, cisco_ios, sh[[ow]] sn[[mp]] u[[ser]] cisco_ios_show_ip_route.template, .*, cisco_ios, sh[[ow]] ip r[[oute]] cisco_ios_show_aliases.template, .*, cisco_ios, sh[[ow]] alia[[ses]] cisco_ios_show_archive.template, .*, cisco_ios, sh[[ow]] arc[[hive]] diff --git a/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed new file mode 100644 index 0000000000..9aa4915131 --- /dev/null +++ b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed @@ -0,0 +1,16 @@ +--- +parsed_sample: +- access_list: '' + authentication_protocol: SHA + engine_id: 80000009030000451DEC1085 + group_name: managerpriv + privacy_protocol: AES128 + storage_type: nonvolatile + user_name: user_snmp1 +- access_list: '10' + authentication_protocol: SHA + engine_id: 80000009030000451DEC1085 + group_name: managerpriv + privacy_protocol: AES128 + storage_type: nonvolatile + user_name: user_snmp2 diff --git a/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.raw b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.raw new file mode 100644 index 0000000000..9d0fbff33b --- /dev/null +++ b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.raw @@ -0,0 +1,14 @@ + +User name: user_snmp1 +Engine ID: 80000009030000451DEC1085 +storage-type: nonvolatile active +Authentication Protocol: SHA +Privacy Protocol: AES128 +Group-name: managerpriv + +User name: user_snmp2 +Engine ID: 80000009030000451DEC1085 +storage-type: nonvolatile active access-list: 10 +Authentication Protocol: SHA +Privacy Protocol: AES128 +Group-name: managerpriv From 737c0b159f537f6cfc8d1740cb9d818ff13a1a12 Mon Sep 17 00:00:00 2001 From: adrydale <32683423+adrydale@users.noreply.github.com> Date: Fri, 26 Jul 2019 19:56:40 -0500 Subject: [PATCH 267/628] Cisco IOS - show dmvpn - New template (#392) New template: cisco_ios_show_dmvpn --- templates/cisco_ios_show_dmvpn.template | 16 ++++++++++++++++ templates/index | 1 + .../show_dmvpn/cisco_ios_show_dmvpn.parsed | 13 +++++++++++++ .../show_dmvpn/cisco_ios_show_dmvpn.raw | 17 +++++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 templates/cisco_ios_show_dmvpn.template create mode 100644 tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.parsed create mode 100644 tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.raw diff --git a/templates/cisco_ios_show_dmvpn.template b/templates/cisco_ios_show_dmvpn.template new file mode 100644 index 0000000000..7cf6c49f61 --- /dev/null +++ b/templates/cisco_ios_show_dmvpn.template @@ -0,0 +1,16 @@ +Value PEER_NBMA (\S*?) +Value PEER_TUNNEL (\S*?) +Value STATE (\S*?) +Value UPTIME (\S*?) +Value ATTRIBUTE (\S*?) + +Start + ^\s+\d+\s+${PEER_NBMA}\s+${PEER_TUNNEL}\s+${STATE}\s+${UPTIME}\s+${ATTRIBUTE}$$ -> Record + ^Legend.* + ^\s+\D.*.*$$ + ^=*$$ + ^Interface.*$$ + ^Type.*$$ + ^\s+|\s*$$ + ^\s+#\s+Ent\s+Peer\s+NBMA\s+Addr\s+Peer\s+Tunnel\s+Add\s+State\s+UpDn\s+Tm\s+Attrb + ^. -> Error diff --git a/templates/index b/templates/index index ac5cff8f94..8588176178 100644 --- a/templates/index +++ b/templates/index @@ -184,6 +184,7 @@ cisco_ios_show_ip_arp.template, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] cisco_ios_show_ip_bgp.template, .*, cisco_ios, sh[[ow]] i[[p]] bgp cisco_ios_show_tacacs.template, .*, cisco_ios, sh[[ow]] tacacs cisco_ios_show_clock.template, .*, cisco_ios, sh[[ow]] clo[[ck]] +cisco_ios_show_dmvpn.template, .*, cisco_ios, sh[[ow]] dm[[vpn]] cisco_ios_show_boot.template, .*, cisco_ios, sh[[ow]] boot cisco_ios_show_vlan.template, .*, cisco_ios, sh[[ow]] vlan cisco_ios_show_vrf.template, .*, cisco_ios, sh[[ow]] vrf diff --git a/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.parsed b/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.parsed new file mode 100644 index 0000000000..ce00b06138 --- /dev/null +++ b/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.parsed @@ -0,0 +1,13 @@ +--- +parsed_sample: + +- peer_nbma: '10.200.0.3' + peer_tunnel: '10.253.0.1' + state: 'UP' + uptime: '03:19:46' + attribute: 'S' +- peer_nbma: '10.202.0.170' + peer_tunnel: '10.253.0.2' + state: 'NHRP' + uptime: '48w0d' + attribute: 'S' diff --git a/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.raw b/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.raw new file mode 100644 index 0000000000..6f12d60951 --- /dev/null +++ b/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.raw @@ -0,0 +1,17 @@ +Legend: Attrb --> S - Static, D - Dynamic, I - Incomplete + N - NATed, L - Local, X - No Socket + T1 - Route Installed, T2 - Nexthop-override + C - CTS Capable + # Ent --> Number of NHRP entries with same NBMA peer + NHS Status: E --> Expecting Replies, R --> Responding, W --> Waiting + UpDn Time --> Up or Down Time for a Tunnel +========================================================================== + +Interface: Tunnel100, IPv4 NHRP Details +Type:Spoke, NHRP Peers:2, + + # Ent Peer NBMA Addr Peer Tunnel Add State UpDn Tm Attrb + ----- --------------- --------------- ----- -------- ----- + 1 10.200.0.3 10.253.0.1 UP 03:19:46 S + 1 10.202.0.170 10.253.0.2 NHRP 48w0d S + From d065e73d6215ed57648fff098648c6d3b6b585ce Mon Sep 17 00:00:00 2001 From: Brandon Jones Date: Sat, 27 Jul 2019 01:21:01 -0400 Subject: [PATCH 268/628] cisco_nxos_show_version extension for pulling PLATFORM from N9K (#393) Enhancement: cisco_nxos_show_version extension for pulling PLATFORM from N9K --- templates/cisco_nxos_show_version.template | 1 + .../cisco_nxos_show_version1.parsed | 8 ++++ .../show_version/cisco_nxos_show_version1.raw | 43 +++++++++++++++++++ 3 files changed, 52 insertions(+) mode change 100644 => 100755 templates/cisco_nxos_show_version.template create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version1.parsed create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version1.raw diff --git a/templates/cisco_nxos_show_version.template b/templates/cisco_nxos_show_version.template old mode 100644 new mode 100755 index 16576cfbf4..2e71c1b4e0 --- a/templates/cisco_nxos_show_version.template +++ b/templates/cisco_nxos_show_version.template @@ -9,5 +9,6 @@ Start ^\s+(NXOS|kickstart)\s+image\s+file\s+is:\s+${BOOT_IMAGE}\s*$$ ^\s+cisco\s+${PLATFORM}\s+[cC]hassis ^\s+cisco\s+Nexus\d+\s+${PLATFORM} + ^\s+cisco\s+.+-${PLATFORM}\s* ^Kernel\s+uptime\s+is\s+${UPTIME} ^\s+Reason:\s${LAST_REBOOT_REASON} -> Record diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.parsed b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.parsed new file mode 100644 index 0000000000..b426af46f2 --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.parsed @@ -0,0 +1,8 @@ +--- + +parsed_sample: +- boot_image: /bootflash/aci-n9000-dk9.14.0.1h.bin + last_reboot_reason: unknown + os: 14.0(1h) [build 14.0(1h)] + platform: C9396PX + uptime: 11 day(s), 01 hour(s), 57 minute(s), 02 second(s) diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.raw b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.raw new file mode 100644 index 0000000000..e3c3b87c3a --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.raw @@ -0,0 +1,43 @@ +Cisco Nexus Operating System (NX-OS) Software +TAC support: http://www.cisco.com/tac +Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html +Copyright (c) 2002-2014, Cisco Systems, Inc. All rights reserved. +The copyrights to certain works contained in this software are +owned by other third parties and used and distributed under +license. Certain components of this software are licensed under +the GNU General Public License (GPL) version 2.0 or the GNU +Lesser General Public License (LGPL) Version 2.1. A copy of each +such license is available at +http://www.opensource.org/licenses/gpl-2.0.php and +http://www.opensource.org/licenses/lgpl-2.1.php + +Software + BIOS: version 07.64 + kickstart: version 14.0(1h) [build 14.0(1h)] + system: version 14.0(1h) [build 14.0(1h)] + PE: version 4.0(1h) + BIOS compile time: 05/16/2018 + kickstart image file is: /bootflash/aci-n9000-dk9.14.0.1h.bin + kickstart compile time: 10/24/2018 03:13:58 [10/24/2018 03:13:58] + system image file is: /bootflash/auto-s + system compile time: 10/24/2018 03:13:58 [10/24/2018 03:13:58] + + +Hardware + cisco N9K-C9396PX ("supervisor") + + Intel(R) Core(TM) i3- CPU @ 2.50GHz with 16267264 kB of memory. + Processor Board ID SAL1909A8CT + + Device name: Leaf-101 + bootflash: 62522368 kB + +Kernel uptime is 11 day(s), 01 hour(s), 57 minute(s), 02 second(s) + +Last reset at 20000 usecs after Mon Mar 25 11:44:47 2019 EDT + Reason: unknown + System version: 14.0(1h) + Service: module reloaded + +plugin + Core Plugin, Ethernet Plugin From d38f01c5336a8045c034d09998a0dd0b6bbe3807 Mon Sep 17 00:00:00 2001 From: Matthias Gabriel Date: Fri, 2 Aug 2019 19:44:09 +0200 Subject: [PATCH 269/628] Feature/cisco ios show hosts (#394) New template: cisco_ios_show_hosts_summary --- templates/cisco_ios_show_hosts_summary.template | 12 ++++++++++++ templates/index | 1 + .../cisco_ios_show_hosts_summary.parsed | 7 +++++++ .../cisco_ios_show_hosts_summary.raw | 4 ++++ 4 files changed, 24 insertions(+) create mode 100644 templates/cisco_ios_show_hosts_summary.template create mode 100644 tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.parsed create mode 100644 tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.raw diff --git a/templates/cisco_ios_show_hosts_summary.template b/templates/cisco_ios_show_hosts_summary.template new file mode 100644 index 0000000000..609c69f1cf --- /dev/null +++ b/templates/cisco_ios_show_hosts_summary.template @@ -0,0 +1,12 @@ +Value DEFAULT_DOMAIN (\S+) +Value NAME_SERVERS (.+) +Value LOCAL_CACHE_ENTRIES (\d+) +Value DYNAMIC_CACHE_ENTRIES (\d+) + +Start + ^Default\s*domain\s*is\s*${DEFAULT_DOMAIN} + ^Name\s*servers\s*are\s*${NAME_SERVERS} + ^Local\s*cache\s*entries:\s*${LOCAL_CACHE_ENTRIES} + ^Dynamic\s*cache\s*entries:\s*${DYNAMIC_CACHE_ENTRIES} + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 8588176178..0e18df55fe 100644 --- a/templates/index +++ b/templates/index @@ -159,6 +159,7 @@ cisco_ios_show_power_supplies.template, .*, cisco_ios, sh[[ow]] pow[[er]] su[[p cisco_ios_show_snmp_community.template, .*, cisco_ios, sh[[ow]] sn[[mp]] com[[munity]] cisco_ios_show_cdp_neighbors.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] cisco_ios_show_controller_t1.template, .*, cisco_ios, sh[[ow]] cont[[rollers]] t1 +cisco_ios_show_hosts_summary.template, .*, cisco_ios, sh[[ow]] ho[[sts]] summary cisco_ios_show_platform_diag.template, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ag]] cisco_ios_show_processes_cpu.template, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] cisco_ios_show_spanning-tree.template, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] diff --git a/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.parsed b/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.parsed new file mode 100644 index 0000000000..39e20ea5c0 --- /dev/null +++ b/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.parsed @@ -0,0 +1,7 @@ +--- +parsed_sample: + +- default_domain: 'test.com' + name_servers: '127.0.0.2, 127.0.0.3' + local_cache_entries: '0' + dynamic_cache_entries: '0' diff --git a/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.raw b/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.raw new file mode 100644 index 0000000000..e3b770fad0 --- /dev/null +++ b/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.raw @@ -0,0 +1,4 @@ +Default domain is test.com +Name servers are 127.0.0.2, 127.0.0.3 +Local cache entries: 0 +Dynamic cache entries: 0 From ff765de8444802cc767cc29564493b164438244c Mon Sep 17 00:00:00 2001 From: Matthias Gabriel Date: Fri, 2 Aug 2019 19:46:09 +0200 Subject: [PATCH 270/628] Feature/improve cisco ios show vrf (#395) BugFix: Allow RD to be IP address --- templates/cisco_ios_show_vrf.template | 2 +- tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.parsed | 10 ++++++++++ tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.raw | 5 +++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.parsed create mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.raw diff --git a/templates/cisco_ios_show_vrf.template b/templates/cisco_ios_show_vrf.template index aadc062f8a..4f61548c43 100644 --- a/templates/cisco_ios_show_vrf.template +++ b/templates/cisco_ios_show_vrf.template @@ -1,5 +1,5 @@ Value Required NAME (\S+) -Value DEFAULT_RD (\d+:\d+|) +Value DEFAULT_RD ((\d+|\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}):\d+|) Value PROTOCOLS (\S+) Value List INTERFACES (\S+) diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.parsed b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.parsed new file mode 100644 index 0000000000..e1752f9283 --- /dev/null +++ b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.parsed @@ -0,0 +1,10 @@ +--- + +parsed_sample: +- default_rd: '127.0.0.1:7' + interfaces: + - Vl5 + - Vl905 + - Vl945 + name: vpn7 + protocols: ipv4 diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.raw b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.raw new file mode 100644 index 0000000000..d27d11de04 --- /dev/null +++ b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.raw @@ -0,0 +1,5 @@ + + Name Default RD Protocols Interfaces + vpn7 127.0.0.1:7 ipv4 Vl5 + Vl905 + Vl945 From c211d3e493d6d7d7eb2075f31b6993cf80c61e92 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Wed, 7 Aug 2019 22:48:04 -0400 Subject: [PATCH 271/628] Update readme (#452) --- README.md | 254 ++++++++++++++++++++++++++++++++++++++++++++---------- tox.ini | 2 +- 2 files changed, 210 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index c1b1307192..d065a3552a 100644 --- a/README.md +++ b/README.md @@ -1,40 +1,102 @@ [![Build Status](https://travis-ci.org/networktocode/ntc-templates.svg?branch=master)](https://travis-ci.org/networktocode/ntc-templates) -REPOSITORY OF TEXTFSM TEMPLATES FOR NETWORK DEVICES +NTC TEMPLATES +============= +Repository of TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable. -NTC-Templates contains a set of multi-vendor templates based around TEXTFSM parsing engine. +[TextFSM](https://github.com/google/textfsm/wiki) is a project built by Google that takes CLI string output and passes each line through a series of regular expressions until it finds a match. The regular expressions use named capture groups to build a text table out of the significant text. The names of the capture groups are used as column headers, and the captured values are stored as rows in the table. -These templates take the raw string input from the CLI of network infrastructure devices, such as Cisco IOS, Juniper JUNOS -or HPE Comware devices, run them through a TEXTFSM template and return structured text in the form of a Python dictionary. +This project provides a large collection of TextFSM Templates (text parsers) for a variety of Networking Vendors. In addition to the templates, there is a function that will convert the CLI output into a CliTable object; the resulting text table is converted into a list of dictionaries mapping the column headers with each row in the table. -# Contributing +Installation and Usage +---------------------- +The project can be installed using either Git or PyPI; if you would like to use the templates outside of this project, then Git is the recommended approach. -Pull request are welcomed and automatically built and tested through TravisCI. +#### Git -To contribute new templates, each new pull request must include the folowing +```shell +$ git clone git@github.com:networktocode/ntc-templates.git +$ +# Optional steps to install ntc-templates as a python package +$ pip install -e ntc-templates/ +$ +``` + +#### PyPI + +```shell +$ pip install ntc_templates +$ +``` + +#### Usage + +```python +>>> from ntc_templates.parse import parse_output +>>> vlan_output = ( + "VLAN Name Status Ports\n" + "---- -------------------------------- --------- -------------------------------\n" + "1 default active Gi0/1\n" + "10 Management active \n" + "50 VLan50 active Fa0/1, Fa0/2, Fa0/3, Fa0/4, Fa0/5,\n" + " Fa0/6, Fa0/7, Fa0/8\n" + ) +>>> vlan_parsed = parse_output(platform="cisco_ios", command="show vlan", data=vlan_output) +>>> vlan_parsed +[ + { + 'vlan_id': '1', + 'name': 'default', + 'status': 'active', + 'interfaces': ['Gi0/1'] + }, + { + 'vlan_id': '10', + 'name': 'Management', + 'status': 'active', + 'interfaces': [] + }, + { + 'vlan_id': '50', + 'name': 'VLan50', 'status': 'active', + 'interfaces': ['Fa0/1', 'Fa0/2', 'Fa0/3', 'Fa0/4', 'Fa0/5', 'Fa0/6', 'Fa0/7', 'Fa0/8'] + } +] +>>> +``` + +Contributing +------------ + +Pull requests are welcomed and automatically built and tested through TravisCI. + +### New Templates +To contribute new templates, each new pull request must include the following: - TextFSM template -- raw version of text to be parsed -- YAML file containing the expected parsed dictionary - Modified version of the **index** file +- Tests + * Raw version of text to be parsed + * YAML file containing the expected parsed dictionary +#### TextFSM Template -Some notes on contributing that should help you ensure that your TravisCI builds comes back as successful: +TextFSM templates should be placed in the `./templates` directory and should adhere to the following NTC-Templates style. +The TextFSM template name should be in the following format: -## TextFSM Templates +##### Naming -TextFSM templates should be placed in the `./templates` folder and should adhere to the NTC-Templates style. -The TextFSM template name should be in the following format +The template should be named using: `{{ vendor_os }}_{{ command_with_underscores }}.template` +> Ex: cisco_ios_show_cdp_neighbors.template -``` -{{ vendor_name }}_{{show_command}} -``` +Note: The vendor name must be valid from the [os_choices](https://github.com/networktocode/ntc-templates/blob/master/tests/test_index_order.py#L59) tests, which is primarily based on [Netmiko](https://github.com/ktbyers/netmiko/tree/master/netmiko) list of supported vendors. New vendors added should adhere to **vendor_os**. +> Ex: vmware_nsx -Note: The vendor name must be valid from the [Netmiko](https://github.com/ktbyers/netmiko/tree/master/netmiko) library. +##### Values -The **Value** variable should be in UPPERCASE. +The capture group names should be in UPPERCASE. An example of the proper format is shown below. @@ -48,49 +110,61 @@ Value YEAR (\d+) Start ^${TIME}\s+${TIMEZONE}\s+${DAYWEEK}\s+${DAY}/${MONTH}/${YEAR} -> Record + ^. -> Error ``` +##### States -## Raw version of Input Text - -The raw text file should contain **only** the output of the CLI command to be parsed. It should **not** contain the CLI command itself -The raw text file should be placed in a folder in the `./tests` directory with the same name as the template file minus the .template extension - -An example of the proper format is shown below +If the raw output has a heading, the `Start` state should match on the column headings and then transition to another state that will match the device's output table with the capture groups. This helps ensure the regex patterns for the capture groups are attempting to match the correct information, and allows templates to easily add additional States for tables that have different headings. Example: +*Raw Output* ``` -19:35:31 UTC Sat 01/08/2011 +... omitted +Network Next Hop Metric LocPrf Weight Path +*> 111.111.111.111/32 112.112.112.112 4294967295 4294967295 65535 1000 1000 1000 i ``` +*Sample Template* +``` +Start +# Checking for header +^\s*Network\s+Next(?:\s+|-)[Hh]op\s+Metric\s+LocPrf\s+Weight\s+Path\s*$$ -> BGPTable -## YAML file containing expected parsed dictionary - - -The parsed dictionary must be in a dictionary format. All keys in the dictionary should be in all lowercase - -The parsed text file should be placed in a folder in the ./tests directory with the same name as the template file minus the -`.template` extension. The raw text file and the parsed text file should be in the same folder. - -An example of the proper format is shown below - +BGPTable + ... omitted +``` -```yaml ---- +Each **state** should end with `^. -> Error`. This helps to ensure we're accounting for every line within the raw output for the command. This doesn't mean we have to capture all the data as a **Value**, but we do have to account for it. In addition, it is also good to provide an expression to match blank lines, `^\s*$$` -parsed_sample: +An example would be the following raw output: +``` +NAME: "3640 chassis", DESCR: "3640 chassis" +PID: , VID: 0xFF, SN: FF1045C5 +``` +The template would be the following: +``` +Value NAME (.*) +Value DESCRIPTION (.*) -- {day: '01', dayweek: Sat, month: 08, time: '19:35:31', timezone: UTC, year: '2011'} +Start + ^NAME:\s+"${NAME}",\s*DESCR:\s+"${DESCRIPTION}" + ^PID:\s*,\s*VID:\s*\S+,\s*SN:\s*\S+ + ^\s*$$ + ^. -> Error ``` -Multiple RAW and Parsed files are supported per folder, and are encouraged, as there are differences depending on version, length, etc... that additional testing and more real life data helps identify. +Taking a look at the example template above, you notice that we're using **\s*** and **\s+**. These are the preferred way to match space characters, and should be used over the literal space character. For example, `This\s+is\s+preferred\s*$$` vs `This is not preferred$$` + +- **\s*** accounts for zero or more spaces (use when the output may or may not have a space between characters) +- **\s+** accounts for one or more spaces (use when output will have a space, but could have more than one space) -## Index File +#### Index File -The Index file binds the templates to the commands being run. Special care has been taken on ordering, as there is potential for issues. e.g. `show ip route` picking up for `show ip router vrf `. We have used a combination of ordering, as defined: +The Index file binds the templates to the commands being run. Special care has been taken on ordering, as there is potential for issues. e.g. `show ip route` picking up for `show ip router vrf `. We have used a combination of ordering, as defined: - OS in alphabetical order - - Command in length other - - When Length is the same, use alphabetical order + - Template name in length order + - When length is the same, use alphabetical order of command name - Keep space between OS's Example: @@ -98,17 +172,107 @@ Example: ``` Template, Hostname, Platform, Command +# same os, same length, used alphabetical order of command name arista_eos_show_mlag.template, .*, arista_eos, sh[[ow]] ml[[ag]] arista_eos_show_vlan.template, .*, arista_eos, sh[[ow]] vl[[an]] +# os in alphabetical order and space between cisco_asa and arista_eos cisco_asa_dir.template, .*, cisco_asa, dir +# same os, template name length different and space between cisco_asa and cisco_ios cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] ``` -# Questions +#### Tests +Tests will be located in `./tests` with the following hierarchy: +- `./tests/{{ vendor_os }}/{{ command_name }}/` + +The `{{ command_name }}` directory should include the `.raw` file that includes the raw output of the command to be parsed, and the `.parsed` file of the returned structured data. +```bash +$ ls tests/cisco_ios/show_clock/ +cisco_ios_show_clock.parsed +cisco_ios_show_clock.raw +$ +``` + +##### Raw version of input text + +The raw text file should contain **only** the output of the CLI command to be parsed. It should **not** contain the CLI command itself. + +An example of the proper format is shown below: + +```bash +$ cat tests/cisco_ios/show_clock/cisco_ios_show_clock.raw +*18:57:38.347 UTC Mon Oct 19 2015 +$ +``` + +##### YAML file containing expected parsed dictionary + +The parsed file should match the data that is returned from the `parse_output` function discussed in the beginning. Dictionary keys should be in lowercase. + +The parsed text file should be placed in a directory in the `./tests` directory with the same name as the template file but replace `.template` file extension with `.parsed`. The raw text file and the parsed text file should be in the same directory. +**ex. ./tests/cisco_ios/show_clock/** + +There is an available helper that uses **Ansible** and **ntc-ansible** custom modules to create the parsed file automatically into the correct format. Helpers are located within `./helpers/`. + +An example of the proper format is shown below: +```bash +$ cat ./tests/cisco_ios/show_clock/cisco_ios_show_clock.parsed +--- +parsed_sample: + - time: "18:57:38.347" + timezone: "UTC" + dayweek: "Mon" + month: "Oct" + day: "19" + year: "2015" +$ +``` + +Multiple `raw` and `parsed` files are supported per directory, and are encouraged, as there are differences depending on version, length, etc. Additional test files and more real life data helps ensure backwards compatibility is maintained as each template is updated and merged into the repo. + +### Updating/Fixing Existing Templates +When either fixing a bug within a template or adding additional **Values** to be captured, additional test files should be added to ensure backwards compatibility and that the new data is being parsed correctly. + +To add additional raw/parsed tests for a command: +- Navigate to `./tests/{{ vendor_os }}/{{ command_name }}/` +- Create new `.raw` and `.parsed` files within the directory, preferrably with a name identifying why the data is unique: + * Existing raw: `./tests/cisco_ios/show_version/cisco_ios_show_version.raw` + * New raw: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.raw` + * Existing parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version.parsed` + * New parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.parsed` + +#### Testing +You can test your changes locally within your Git branch before submitting a PR. If you do not have **tox** already installed, you can do that using pip or your systems package manager. Tox should be ran inside the **ntc-templates** root directory. The tox file is configured to run against python3.6, so either python3.6 needs to be available, or the tox.ini file will need to be updated with an available Python version. +```bash +$ tox +GLOB sdist-make: /home/admin/ntc-templates/setup.py +py36 inst-nodeps: /home/admin/ntc-templates/.tox/dist/ntc_templates-1.1.0.zip +py36 installed: atomicwrites==1.3.0,attrs==19.1.0,importlib-metadata==0.18,more-itertools==7.1.0,ntc-templates==1.1.0,packaging==19.0,pkg-resources==0.0.0,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==5.0.1,PyYAML==5.1.1,six==1.12.0,terminal==0.4.0,textfsm==0.4.1,wcwidth==0.1.7,zipp==0.5.2 +py36 runtests: PYTHONHASHSEED='1913863515' +py36 runtests: commands[0] | pytest +=============================================================================== test session starts ================================================================================ +platform linux -- Python 3.6.8, pytest-5.0.1, py-1.8.0, pluggy-0.12.0 +rootdir: /home/admin/ntc-templates +collected 364 items + +tests/test_index_order.py . [ 0%] +tests/test_structured_data_against_parsed_reference_files.py ............................................................................................................... [ 30%] +............................................................................................................................................................................ [ 78%] +............................................................................... [ 99%] +tests/test_testcases_exists.py . [100%] + +=========================================================================== 364 passed in 15.69 seconds ============================================================================ +_____________________________________________________________________________________ summary ______________________________________________________________________________________ + py36: commands succeeded + congratulations :) +``` + +Questions +--------- For any questions or comments, please feel free to swing by the [networktocode slack channel](https://networktocode.slack.com). diff --git a/tox.ini b/tox.ini index 5e46500fc7..d3e8c1f0a4 100644 --- a/tox.ini +++ b/tox.ini @@ -10,4 +10,4 @@ whitelist_externals = git rm -commands = pytest +commands = pytest -vv From f39e965507c12085df5ab41bd5d84c1bad9cfb17 Mon Sep 17 00:00:00 2001 From: Ben <47653825+ad8-bdl@users.noreply.github.com> Date: Tue, 3 Sep 2019 14:47:03 +1000 Subject: [PATCH 272/628] cleanup: hp_comware duplicate test - display_vlan_bri --- .../hp_comware_display_vlan_brief.parsed | 23 ------------------- .../hp_comware_display_vlan_brief.raw | 21 ----------------- 2 files changed, 44 deletions(-) delete mode 100644 tests/hp_comware/display_vlan_bri/hp_comware_display_vlan_brief.parsed delete mode 100644 tests/hp_comware/display_vlan_bri/hp_comware_display_vlan_brief.raw diff --git a/tests/hp_comware/display_vlan_bri/hp_comware_display_vlan_brief.parsed b/tests/hp_comware/display_vlan_bri/hp_comware_display_vlan_brief.parsed deleted file mode 100644 index 1c39d0efe4..0000000000 --- a/tests/hp_comware/display_vlan_bri/hp_comware_display_vlan_brief.parsed +++ /dev/null @@ -1,23 +0,0 @@ ---- - -parsed_sample: - -- name: VLAN - vlan_id: "1" - -- name: VLAN - vlan_id: "10" - -- name: VLAN - vlan_id: "20" - -- name: VLAN - vlan_id: "30" - -- name: VLAN - vlan_id: "200" - -- name: VLAN - vlan_id: "500" - - diff --git a/tests/hp_comware/display_vlan_bri/hp_comware_display_vlan_brief.raw b/tests/hp_comware/display_vlan_bri/hp_comware_display_vlan_brief.raw deleted file mode 100644 index 8e67e6731a..0000000000 --- a/tests/hp_comware/display_vlan_bri/hp_comware_display_vlan_brief.raw +++ /dev/null @@ -1,21 +0,0 @@ -Brief information about all VLANs: -Supported Minimum VLAN ID: 1 -Supported Maximum VLAN ID: 4094 -Default VLAN ID: 1 -VLAN ID Name Port -1 VLAN 0001 FGE1/0/1 FGE1/0/2 FGE1/0/3 - FGE1/0/4 FGE1/0/5 FGE1/0/6 - FGE1/0/7 FGE1/0/8 FGE1/0/9 - FGE1/0/10 FGE1/0/11 FGE1/0/12 - FGE1/0/13 FGE1/0/14 FGE1/0/15 - FGE1/0/16 FGE1/0/17 FGE1/0/18 - FGE1/0/19 FGE1/0/20 FGE1/0/22 - FGE1/0/23 FGE1/0/24 FGE1/0/25 - FGE1/0/26 FGE1/0/27 FGE1/0/28 - FGE1/0/29 FGE1/0/30 FGE1/0/31 - FGE1/0/32 -10 VLAN 0010 FGE1/0/21 -20 VLAN 0020 -30 VLAN 0030 -200 VLAN 0200 -500 VLAN 0500 \ No newline at end of file From 45c7879441cc95fdcb6a5946ed705f215bc873f8 Mon Sep 17 00:00:00 2001 From: Michal Spiez Date: Thu, 19 Sep 2019 19:08:33 -0500 Subject: [PATCH 273/628] bug_fix: cisco_xr_show_version account for different ouput for build host --- templates/cisco_xr_show_version.template | 2 +- .../show_version/cisco_xr_show_version2.parsed | 11 +++++++++++ .../show_version/cisco_xr_show_version2.raw | 14 ++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version2.parsed create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version2.raw diff --git a/templates/cisco_xr_show_version.template b/templates/cisco_xr_show_version.template index def3ddd9af..f0af95b44c 100644 --- a/templates/cisco_xr_show_version.template +++ b/templates/cisco_xr_show_version.template @@ -18,7 +18,7 @@ Start Build_Info ^\s+Built\sBy.+ ^\s+Built\sOn.+ - ^\s+Build\sHost\s+:\s+${BUILD_HOST} + ^\s+Buil[dt]\sHost\s+:\s+${BUILD_HOST} ^\s+Workspace\s+:\s\S+ ^\s+Version\s+:\s${VERSION} ^\s+Location\s+:\s${LOCATION} diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version2.parsed b/tests/cisco_xr/show_version/cisco_xr_show_version2.parsed new file mode 100644 index 0000000000..2cdb14da42 --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version2.parsed @@ -0,0 +1,11 @@ +--- + +parsed_sample: + + +- hardware : 'IOS-XRv' + uptime : '1 minute' + version : '6.5.1' + location : '/opt/cisco/XR/packages/' + build_host : 'iox-ucs-019' + diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version2.raw b/tests/cisco_xr/show_version/cisco_xr_show_version2.raw new file mode 100644 index 0000000000..66b5dbc0e5 --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version2.raw @@ -0,0 +1,14 @@ +Tue Sep 10 11:01:51.930 UTC +Cisco IOS XR Software, Version 6.5.1 +Copyright (c) 2013-2018 by Cisco Systems, Inc. + +Build Information: + Built By : ahoang + Built On : Wed Aug 8 17:29:38 PDT 2018 + Built Host : iox-ucs-019 + Workspace : /auto/srcarchive17/prod/6.5.1/xrv9k/ws + Version : 6.5.1 + Location : /opt/cisco/XR/packages/ + +cisco IOS-XRv 9000 () processor +System uptime is 1 minute From 076a2b44ba477522f1c336ed5126d6ffdefb7cd2 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Thu, 19 Sep 2019 19:27:45 -0500 Subject: [PATCH 274/628] bug_fix: cisco_asa_show_version - added compile_date and use case for software version --- templates/cisco_asa_show_version.template | 4 +- ....parsed => cisco_asa_show_version1.parsed} | 1 + ...ersion.raw => cisco_asa_show_version1.raw} | 0 .../cisco_asa_show_version2.parsed | 21 ++++++++++ .../show_version/cisco_asa_show_version2.raw | 40 +++++++++++++++++++ 5 files changed, 65 insertions(+), 1 deletion(-) rename tests/cisco_asa/show_version/{cisco_asa_show_version.parsed => cisco_asa_show_version1.parsed} (96%) rename tests/cisco_asa/show_version/{cisco_asa_show_version.raw => cisco_asa_show_version1.raw} (100%) create mode 100644 tests/cisco_asa/show_version/cisco_asa_show_version2.parsed create mode 100644 tests/cisco_asa/show_version/cisco_asa_show_version2.raw diff --git a/templates/cisco_asa_show_version.template b/templates/cisco_asa_show_version.template index ebd60ec0d4..9f6737a25c 100644 --- a/templates/cisco_asa_show_version.template +++ b/templates/cisco_asa_show_version.template @@ -1,5 +1,6 @@ Value VERSION (\S+) Value DEVICE_MGR_VERSION (\S+) +Value COMPILE_DATE (\d+-\w+-\d+) Value IMAGE (\S+) Value HOSTNAME (\S+) Value UPTIME (.+) @@ -19,9 +20,11 @@ Value LAST_MOD (.+) Start ^.*Software\sVersion\s${VERSION} ^Device.+\s${DEVICE_MGR_VERSION} + ^Compiled\s+on\s+\w+\s+${COMPILE_DATE}.* ^System image file.+"${IMAGE}" ^${HOSTNAME} up ${UPTIME} ^Hardware:\s+${HARDWARE}, + ^Hardware:\s+${HARDWARE} ^Model Id:\s+${MODEL} ^Internal.+Flash,\s${FLASH} ^ \d+:.\S+\s${INTERFACES}.* @@ -33,4 +36,3 @@ Start ^Cluster\s+:\s${CLUSTER} ^Serial Number:\s${SERIAL} ^.+last modified by\s${LAST_MOD} - diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version.parsed b/tests/cisco_asa/show_version/cisco_asa_show_version1.parsed similarity index 96% rename from tests/cisco_asa/show_version/cisco_asa_show_version.parsed rename to tests/cisco_asa/show_version/cisco_asa_show_version1.parsed index e72b18dcc2..a87e6e737f 100644 --- a/tests/cisco_asa/show_version/cisco_asa_show_version.parsed +++ b/tests/cisco_asa/show_version/cisco_asa_show_version1.parsed @@ -3,6 +3,7 @@ parsed_sample: - version: '9.5(2)204' device_mgr_version: '7.5(2)' + compile_date: '15-Feb-16' image: 'boot:/asa952-204-smp-k8.bin' hostname: 'asa1' uptime: '41 days 19 hours' diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version.raw b/tests/cisco_asa/show_version/cisco_asa_show_version1.raw similarity index 100% rename from tests/cisco_asa/show_version/cisco_asa_show_version.raw rename to tests/cisco_asa/show_version/cisco_asa_show_version1.raw diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version2.parsed b/tests/cisco_asa/show_version/cisco_asa_show_version2.parsed new file mode 100644 index 0000000000..1fc3264366 --- /dev/null +++ b/tests/cisco_asa/show_version/cisco_asa_show_version2.parsed @@ -0,0 +1,21 @@ +--- +parsed_sample: + +- version: '9.8(3)21' + device_mgr_version: '7.8(2)' + compile_date: '07-Aug-18' + image: '' + hostname: 'fw002' + uptime: '114 days 18 hours' + hardware: 'FPR4K-SM-12' + model: '' + flash: '' + interfaces: [] + license_mode: 'Smart Licensing' + license_state: '' + max_intf: '' + max_vlans: '' + failover: 'Active/Active' + cluster: 'Enabled' + serial: '' + last_mod: 'thatperson at 09:15:45.959 EST Mon Dec 12 2018' diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version2.raw b/tests/cisco_asa/show_version/cisco_asa_show_version2.raw new file mode 100644 index 0000000000..3d545b17f2 --- /dev/null +++ b/tests/cisco_asa/show_version/cisco_asa_show_version2.raw @@ -0,0 +1,40 @@ + +Cisco Adaptive Security Appliance Software Version 9.8(3)21 +Firepower Extensible Operating System Version 2.4(1.103) +Device Manager Version 7.8(2) + +Compiled on Tue 07-Aug-18 23:18 PDT by builders + +fw002 up 114 days 18 hours +failover cluster up 700 days 16 hours + +Hardware: FPR4K-SM-12 + +License mode: Smart Licensing + +Licensed features for this user context: +Failover : Active/Active +Encryption-DES : Enabled +Encryption-3DES-AES : Enabled +Carrier : Disabled +AnyConnect Premium Peers : 0 +Other VPN Peers : 500 +AnyConnect for Mobile : Enabled +AnyConnect for Cisco VPN Phone : Enabled +Advanced Endpoint Assessment : Enabled +Cluster : Enabled + + +Failover cluster licensed features for this user context: +Failover : Active/Active +Encryption-DES : Enabled +Encryption-3DES-AES : Enabled +Carrier : Disabled +AnyConnect Premium Peers : 0 +Other VPN Peers : 500 +AnyConnect for Mobile : Enabled +AnyConnect for Cisco VPN Phone : Enabled +Advanced Endpoint Assessment : Enabled +Cluster : Enabled + +Configuration last modified by thatperson at 09:15:45.959 EST Mon Dec 12 2018 \ No newline at end of file From f88180892564c73e433288a69f6e38cbc5a0e1e9 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 23 Sep 2019 14:46:29 -0400 Subject: [PATCH 275/628] Delete Error --- Error | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 Error diff --git a/Error b/Error deleted file mode 100644 index e69de29bb2..0000000000 From 647f6432f99d00d1d1ca5d0675f3bc07be960b28 Mon Sep 17 00:00:00 2001 From: Warsenius <34217604+Warsenius@users.noreply.github.com> Date: Tue, 24 Sep 2019 20:45:17 +0200 Subject: [PATCH 276/628] BUGFIX: Cisco xr show interfaces duplex and mac for bundle ethernet (#389) * updated template to catch speed and mac for bundle-interfaces. * removed 'interface(s)' from HARDWARE_TYPE capture. --- templates/cisco_xr_show_interfaces.template | 6 ++-- .../cisco_xr_show_interfaces.parsed | 13 +++++++++ .../cisco_xr_show_interfaces.raw | 28 +++++++++++++++++++ 3 files changed, 44 insertions(+), 3 deletions(-) diff --git a/templates/cisco_xr_show_interfaces.template b/templates/cisco_xr_show_interfaces.template index d010f81722..6b526d6429 100644 --- a/templates/cisco_xr_show_interfaces.template +++ b/templates/cisco_xr_show_interfaces.template @@ -8,16 +8,16 @@ Value DESCRIPTION (.*?) Value IP_ADDRESS (.*?) Value MTU (\d+) Value DUPLEX (.+?) -Value SPEED (.+?) +Value SPEED (.+?b/s) Value BANDWIDTH (\d+\s+\w+) Value ENCAPSULATION (\w+) Start ^\S+\s+is -> Continue.Record ^${INTERFACE}\sis\s+${LINK_STATUS},\s+line\sprotocol\sis\s+${ADMIN_STATE}\s*$$ - ^\s+Hardware\s+is\s+${HARDWARE_TYPE}(?:,\s+address\s+is\s+${ADDRESS}\s+\(bia\s+${BIA}\)\s*$$|\s.+|\s*$$) + ^\s+Hardware\s+is\s+${HARDWARE_TYPE}(?:\s+interface\(s\)|)(?:,\s+address\s+is\s+${ADDRESS}(?:\s+\(bia\s+${BIA}\)\s*)*$$|\s.+|\s*$$) ^\s+Description:\s+${DESCRIPTION}\s*$$ ^\s+[Ii]nternet\s+[Aa]ddress\s+is\s+${IP_ADDRESS}\s*$$ ^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH} ^\s+Encapsulation\s+${ENCAPSULATION} - ^\s+(?:[Dd]uplex\s+|)${DUPLEX}(?:-[Dd]uplex|),\s+${SPEED},.+link + ^\s+(?:[Dd]uplex\s+|)${DUPLEX}(?:-[Dd]uplex|),\s+${SPEED} diff --git a/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed b/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed index 62a1bcebec..4ba01e435d 100644 --- a/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed +++ b/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed @@ -104,3 +104,16 @@ parsed_sample: link_status: "administratively down" mtu: "1514" speed: "10000Mb/s" + - address: "aaaa.bbbb.cccc" + admin_state: "up" + bandwidth: "10000000 Kbit" + bia: "" + description: "Bundle_example" + duplex: "Full" + encapsulation: "ARPA" + hardware_type: "Aggregated Ethernet" + interface: "Bundle-Ether123456" + ip_address: "Unknown" + link_status: "up" + mtu: "1514" + speed: "10000Mb/s" diff --git a/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.raw b/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.raw index 52e747aeb9..9c5d9cc925 100644 --- a/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.raw +++ b/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.raw @@ -193,3 +193,31 @@ TenGigE0/3/0/4 is administratively down, line protocol is administratively down 0 output errors, 0 underruns, 0 applique, 0 resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions + +Bundle-Ether123456 is up, line protocol is up + Interface state transitions: 1 + Hardware is Aggregated Ethernet interface(s), address is aaaa.bbbb.cccc + Description: Bundle_example + Internet address is Unknown + MTU 1514 bytes, BW 10000000 Kbit (Max: 10000000 Kbit) + reliability 255/255, txload 0/255, rxload 0/255 + Encapsulation ARPA, + Full-duplex, 10000Mb/s + loopback not set, + Last link flapped 3w1d + No. of members in this bundle: 1 + TenGigE0/3/0/4 Full-duplex 10000Mb/s Active + Last input 00:00:00, output 00:00:00 + Last clearing of "show interface" counters never + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 total input drops + 0 drops for unrecognized upper-level protocol + Received 0 broadcast packets, 0 multicast packets + 0 runts, 0 giants, 0 throttles, 0 parity + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 packets output, 0 bytes, 0 total output drops + Output 0 broadcast packets, 0 multicast packets + 0 output errors, 0 underruns, 0 applique, 0 resets + 0 output buffer failures, 0 output buffers swapped out + 0 carrier transitions From b8d7495dbb2c89b4179200940228578177682b7a Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Wed, 25 Sep 2019 20:43:05 -0400 Subject: [PATCH 277/628] Support for locating templates when installing local directory on Windows - Fixes #455 (#456) * Update template directory search to pseudo-work with Windows --- CHANGELOG | 8 ++++++++ lib/ntc_templates/parse.py | 11 +++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000000..b334dd735f --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,8 @@ +## [1.2.0] +### Fixed for any bug fixes +- [#455] Template files were inaccessable when installing from local directory; now works when using `pip -e` + +### Added for new features +### Changed for changes in existing functionality +### Deprecated for soon-to-be removed features +### Removed for now removed features diff --git a/lib/ntc_templates/parse.py b/lib/ntc_templates/parse.py index 05de8a12d4..b504b649f7 100644 --- a/lib/ntc_templates/parse.py +++ b/lib/ntc_templates/parse.py @@ -1,5 +1,6 @@ """ntc_templates.parse.""" -import pkg_resources +import os + try: from textfsm import clitable except ImportError: @@ -7,7 +8,13 @@ def _get_template_dir(): - return pkg_resources.resource_filename("ntc_templates", "templates") + package_dir = os.path.dirname(__file__) + template_dir = os.path.join(package_dir, "templates") + if not os.path.isdir(template_dir): + project_dir = os.path.dirname(os.path.dirname(os.path.dirname(template_dir))) + template_dir = os.path.join(project_dir, "templates") + + return template_dir def _clitable_to_dict(cli_table): From 9fd544b45e0361d48d5336bec5da258b96903bd9 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Wed, 25 Sep 2019 21:13:52 -0400 Subject: [PATCH 278/628] Update CHANGELOG --- CHANGELOG | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index b334dd735f..616c2eb219 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,8 +1,14 @@ -## [1.2.0] +## [1.2.1] ### Fixed for any bug fixes -- [#455] Template files were inaccessable when installing from local directory; now works when using `pip -e` - ### Added for new features ### Changed for changes in existing functionality ### Deprecated for soon-to-be removed features ### Removed for now removed features + +## [1.2.0] +### Fixed +- [#389] IOS-XR show interfaces: Fixed matching speed and duplex for bundle-ethernet interfaces +- [#442] IOS-XR show version: Fixed matching `build_host` field that uses both "Build" and "Built" keywords +- [#455][#456] Template files were inaccessable when installing from local directory; now works when using `pip -e` +### Added +- [#470] ASA show version: Add capturing `compiled_date` field From b3c1fc382374c3edfe9e20089c6fbaa1c7c26432 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Wed, 25 Sep 2019 21:28:53 -0400 Subject: [PATCH 279/628] Update Version number --- lib/ntc_templates/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index b69c804471..0d8c64604e 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = '1.1.0' +__version__ = '1.2.1' From afe01d7d2063c3dc04481173ac3103b74f27ea80 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Wed, 25 Sep 2019 23:05:59 -0400 Subject: [PATCH 280/628] BugFix: allow various time formats for ip mroute (#474) * Up-time Counters change format after 24 hours --- templates/cisco_ios_show_ip_mroute.template | 10 +++++----- .../show_ip_mroute/cisco_ios_show_ip_mroute3.parsed | 3 +-- .../show_ip_mroute/cisco_ios_show_ip_mroute3.raw | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/templates/cisco_ios_show_ip_mroute.template b/templates/cisco_ios_show_ip_mroute.template index be28bcdc02..b1ec55b3ef 100644 --- a/templates/cisco_ios_show_ip_mroute.template +++ b/templates/cisco_ios_show_ip_mroute.template @@ -1,7 +1,7 @@ Value MULTICAST_SOURCE_IP (\*|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value MULTICAST_GROUP_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) -Value UP_TIME (\d{2}:\d{2}:\d{2}) -Value EXPIRATION_TIME (\d{2}:\d{2}:\d{2}|stopped) +Value UP_TIME (\S+?) +Value EXPIRATION_TIME (\S+?) Value RENDEZVOUS_POINT (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value FLAGS (\w*) Value INCOMING_INTERFACE (\S+) @@ -9,15 +9,15 @@ Value REVERSE_PATH_FORWARDING_NEIGHBOUR_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value REGISTERING (Registering) Value List OUTGOING_INTERFACE (\S+) Value List FORWARD_MODE (Forward\/Sparse|Forward\/Dense) -Value List OUTGOING_MULTICAST_UP_TIME (\d{2}:\d{2}:\d{2}) -Value List OUTGOING_MULTICAST_EXPIRATION_TIME (\d{2}:\d{2}:\d{2}|stopped) +Value List OUTGOING_MULTICAST_UP_TIME (\S+) +Value List OUTGOING_MULTICAST_EXPIRATION_TIME (\S+?) Start ^\((\*|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}),\s(\*|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\) -> Continue.Record ^\(${MULTICAST_SOURCE_IP},\s${MULTICAST_GROUP_IP}\),\s${UP_TIME}\/${EXPIRATION_TIME}(,\sRP\s${RENDEZVOUS_POINT})?,\sflags:\s${FLAGS} ^\s+Incoming\sinterface:\s${INCOMING_INTERFACE},\sRPF\snbr\s${REVERSE_PATH_FORWARDING_NEIGHBOUR_IP}(,\s${REGISTERING})? ^\s+Outgoing\s+interface\s+list:(?:\s+Null|)\s*$$ - ^\s+${OUTGOING_INTERFACE},\s${FORWARD_MODE},\s${OUTGOING_MULTICAST_UP_TIME}\/${OUTGOING_MULTICAST_EXPIRATION_TIME} + ^\s+${OUTGOING_INTERFACE},\s${FORWARD_MODE},\s${OUTGOING_MULTICAST_UP_TIME}\/${OUTGOING_MULTICAST_EXPIRATION_TIME}\s*$$ ^\s*$$ ^IP\s+Multicast\s+(?:Forwarding|Routing) ^.*[Ff]lags diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed index f3a3149eee..e17153dbad 100644 --- a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed +++ b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed @@ -73,7 +73,7 @@ parsed_sample: - multicast_source_ip: "*" multicast_group_ip: "239.0.0.6" - up_time: "00:02:36" + up_time: "3d:14h" expiration_time: "00:02:25" rendezvous_point: "172.16.2.1" flags: "SJPCL" @@ -84,4 +84,3 @@ parsed_sample: forward_mode: [] outgoing_multicast_up_time: [] outgoing_multicast_expiration_time: [] - diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.raw b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.raw index 8e6fba42c0..59a65bae88 100644 --- a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.raw +++ b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.raw @@ -30,6 +30,6 @@ Outgoing interface flags: H - Hardware switched, A - Assert winner Incoming interface: Vlan1, RPF nbr 0.0.0.0, Registering Outgoing interface list: FastEthernet0/1, Forward/Dense, 00:00:07/00:00:00 -(*, 239.0.0.6), 00:02:36/00:02:25, RP 172.16.2.1, flags: SJPCL +(*, 239.0.0.6), 3d:14h/00:02:25, RP 172.16.2.1, flags: SJPCL Incoming interface: FastEthernet0/1, RPF nbr 172.16.2.1 Outgoing interface list: Null From 8a1193903b9a5fb76cdb384f141ef7194e491d50 Mon Sep 17 00:00:00 2001 From: Warsenius <34217604+Warsenius@users.noreply.github.com> Date: Thu, 26 Sep 2019 15:40:08 +0200 Subject: [PATCH 281/628] Enhancement: Cisco XR add VRF to show route * add capture group for vrf * extend template to work for variations of show route command --- templates/cisco_xr_show_ip_route.template | 17 +- templates/index | 2 +- .../cisco_xr_show_ip_route.parsed | 34 ++ .../cisco_xr_show_ip_route2.parsed | 7 + .../cisco_xr_show_ip_route_vrf.parsed | 494 ++++++++++++++++++ .../cisco_xr_show_ip_route_vrf.raw | 104 ++++ 6 files changed, 650 insertions(+), 8 deletions(-) create mode 100644 tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.parsed create mode 100644 tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.raw diff --git a/templates/cisco_xr_show_ip_route.template b/templates/cisco_xr_show_ip_route.template index b80aefe6ac..2dea94a093 100644 --- a/templates/cisco_xr_show_ip_route.template +++ b/templates/cisco_xr_show_ip_route.template @@ -1,3 +1,4 @@ +Value Filldown VRF (\S+) Value Filldown PROTOCOL (\S+|\S+\s\S+) Value Filldown NETWORK (\d+\.\d+\.\d+\.\d+) Value Filldown MASK (\d+) @@ -5,19 +6,21 @@ Value DISTANCE (\d+|is) Value METRIC (\d+) Value TYPE (directly|via) Value Required NEXT_HOP (connected|\d+\.\d+\.\d+\.\d+) -Value INTERFACE (\S+) +Value INTERFACE (\S+|vrf\s\S+) Value UPTIME (\S+) -Start - ^Codes: C - connected, -> Route -Route +Start + ^VRF?:\s${VRF} + ^Codes: ^\s+(\S+\s+-\s+.+[,]*)+ ^Gateway\s+of\s+last\s+resort ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record ^\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record + ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP}\s+\(nexthop\sin\s${INTERFACE}\),\s+${UPTIME} -> Record ^\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record - ^\s+$$ - ^$$ - ^.* -> Error "LINE NOT FOUND" + ^\s*$$ + ^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+ + ^% No matching routes found + ^. -> Error "LINE NOT FOUND" diff --git a/templates/index b/templates/index index 0e18df55fe..1976ae118b 100644 --- a/templates/index +++ b/templates/index @@ -272,7 +272,7 @@ cisco_xr_show_pim_neighbor.template, .*, cisco_xr, sh[[ow]] pi[[m]] neigh[[bor]] cisco_xr_show_controllers.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] (\S+) phy cisco_xr_show_interfaces.template, .*, cisco_xr, sh[[ow]] inte[[rfaces]] cisco_xr_admin_show_vm.template, .*, cisco_xr, adm[[in]] sh[[ow]] vm -cisco_xr_show_ip_route.template, .*, cisco_xr, sh[[ow]] ip ro[[ute]] +cisco_xr_show_ip_route.template, .*, cisco_xr, sh[[ow]] (?:ip )?ro[[ute]] cisco_xr_show_version.template, .*, cisco_xr, sh[[ow]] ver[[sion]] cisco_xr_show_hsrp.template, .*, cisco_xr, sh[[ow]] hs[[rp]] cisco_xr_show_bgp.template, .*, cisco_xr, sh[[ow]] bg[[p]] diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed index c843fceaa1..92b489832f 100644 --- a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed @@ -10,6 +10,7 @@ parsed_sample: protocol: S* type: via uptime: '04:43:54' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -19,6 +20,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:27' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -28,6 +30,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:27' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -37,6 +40,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:21' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -46,6 +50,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:21' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -55,6 +60,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -64,6 +70,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -73,6 +80,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -82,6 +90,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -91,6 +100,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -100,6 +110,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '' interface: Loopback0 mask: '32' @@ -109,6 +120,7 @@ parsed_sample: protocol: L type: directly uptime: '04:43:54' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -118,6 +130,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -127,6 +140,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -136,6 +150,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -145,6 +160,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -154,6 +170,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -163,6 +180,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '' interface: GigabitEthernet0/0/0/1 mask: '30' @@ -172,6 +190,7 @@ parsed_sample: protocol: C type: directly uptime: '04:43:54' + vrf: '' - distance: '' interface: GigabitEthernet0/0/0/1 mask: '32' @@ -181,6 +200,7 @@ parsed_sample: protocol: L type: directly uptime: '04:43:54' + vrf: '' - distance: '' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -190,6 +210,7 @@ parsed_sample: protocol: C type: directly uptime: '04:43:54' + vrf: '' - distance: '' interface: GigabitEthernet0/0/0/0 mask: '32' @@ -199,6 +220,7 @@ parsed_sample: protocol: L type: directly uptime: '04:43:54' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -208,6 +230,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -217,6 +240,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -226,6 +250,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:41' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -235,6 +260,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:41' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/0 mask: '30' @@ -244,6 +270,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '110' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -253,6 +280,7 @@ parsed_sample: protocol: O type: via uptime: '04:43:40' + vrf: '' - distance: '' interface: GigabitEthernet0/0/0/2 mask: '30' @@ -262,6 +290,7 @@ parsed_sample: protocol: C type: directly uptime: '04:43:54' + vrf: '' - distance: '' interface: GigabitEthernet0/0/0/2 mask: '32' @@ -271,6 +300,7 @@ parsed_sample: protocol: L type: directly uptime: '04:43:54' + vrf: '' - distance: '' interface: GigabitEthernet0/0/0/3 mask: '30' @@ -280,6 +310,7 @@ parsed_sample: protocol: C type: directly uptime: '04:43:54' + vrf: '' - distance: '' interface: GigabitEthernet0/0/0/3 mask: '32' @@ -289,6 +320,7 @@ parsed_sample: protocol: L type: directly uptime: '04:43:54' + vrf: '' - distance: '' interface: MgmtEth0/0/CPU0/0 mask: '24' @@ -298,6 +330,7 @@ parsed_sample: protocol: C type: directly uptime: '04:43:54' + vrf: '' - distance: '' interface: MgmtEth0/0/CPU0/0 mask: '32' @@ -307,3 +340,4 @@ parsed_sample: protocol: L type: directly uptime: '04:43:54' + vrf: '' diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed index 4bbc679c4c..e36d868145 100644 --- a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed @@ -10,6 +10,7 @@ parsed_sample: protocol: 'S*' type: 'via' uptime: '4d01h' + vrf: '' - distance: '20' interface: '' mask: '16' @@ -19,6 +20,7 @@ parsed_sample: protocol: 'B' type: 'via' uptime: '1w4d' + vrf: '' - distance: '170' interface: 'TenGigE0/0/0/1.5' mask: '16' @@ -28,6 +30,7 @@ parsed_sample: protocol: 'D EX' type: 'via' uptime: '14:56:35' + vrf: '' - distance: '170' interface: 'TenGigE0/0/0/2.5' mask: '16' @@ -37,6 +40,7 @@ parsed_sample: protocol: 'D EX' type: 'via' uptime: '6d21h' + vrf: '' - distance: '170' interface: 'TenGigE0/0/0/3.5' mask: '16' @@ -46,6 +50,7 @@ parsed_sample: protocol: 'D EX' type: 'via' uptime: '6d21h' + vrf: '' - distance: '170' interface: 'TenGigE0/0/0/4.5' mask: '16' @@ -55,6 +60,7 @@ parsed_sample: protocol: 'D EX' type: 'via' uptime: '6d21h' + vrf: '' - distance: '20' interface: '' mask: '16' @@ -64,3 +70,4 @@ parsed_sample: protocol: 'B' type: 'via' uptime: '1y03w' + vrf: '' diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.parsed b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.parsed new file mode 100644 index 0000000000..8782d87f19 --- /dev/null +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.parsed @@ -0,0 +1,494 @@ +--- +parsed_sample: + +- distance: '1' + interface: '' + mask: '0' + metric: '0' + network: 0.0.0.0 + next_hop: 172.16.1.1 + protocol: S* + type: via + uptime: 04:43:54 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '32' + metric: '0' + network: 1.1.1.1 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:27 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '32' + metric: '9164' + network: 1.1.1.1 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:27 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '32' + metric: '0' + network: 1.1.1.3 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:21 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '32' + metric: '6564' + network: 1.1.1.3 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:21 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '32' + metric: '0' + network: 1.1.2.1 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '32' + metric: '9163' + network: 1.1.2.1 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '32' + metric: '0' + network: 1.1.2.3 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '32' + metric: '6563' + network: 1.1.2.3 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '32' + metric: '0' + network: 1.1.2.5 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '32' + metric: '639' + network: 1.1.2.5 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '' + interface: Loopback0 + mask: '32' + metric: '' + network: 1.1.2.6 + next_hop: connected + protocol: L + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '30' + metric: '0' + network: 10.1.0.0 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '30' + metric: '9163' + network: 10.1.0.0 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '30' + metric: '0' + network: 10.1.0.8 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '30' + metric: '6563' + network: 10.1.0.8 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '30' + metric: '0' + network: 10.1.1.0 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '30' + metric: '11762' + network: 10.1.1.0 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '' + interface: GigabitEthernet0/0/0/1 + mask: '30' + metric: '' + network: 10.1.1.4 + next_hop: connected + protocol: C + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '' + interface: GigabitEthernet0/0/0/1 + mask: '32' + metric: '' + network: 10.1.1.6 + next_hop: connected + protocol: L + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '' + interface: GigabitEthernet0/0/0/0 + mask: '30' + metric: '' + network: 10.1.1.8 + next_hop: connected + protocol: C + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '' + interface: GigabitEthernet0/0/0/0 + mask: '32' + metric: '' + network: 10.1.1.10 + next_hop: connected + protocol: L + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '30' + metric: '0' + network: 10.1.1.12 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '30' + metric: '9162' + network: 10.1.1.12 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '30' + metric: '0' + network: 10.1.1.20 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:41 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '30' + metric: '6562' + network: 10.1.1.20 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:41 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '30' + metric: '0' + network: 10.1.1.24 + next_hop: 10.1.1.9 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '110' + interface: GigabitEthernet0/0/0/3 + mask: '30' + metric: '709' + network: 10.1.1.24 + next_hop: 10.1.1.34 + protocol: O + type: via + uptime: 04:43:40 + vrf: example555 +- distance: '' + interface: GigabitEthernet0/0/0/2 + mask: '30' + metric: '' + network: 10.1.1.28 + next_hop: connected + protocol: C + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '' + interface: GigabitEthernet0/0/0/2 + mask: '32' + metric: '' + network: 10.1.1.30 + next_hop: connected + protocol: L + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '' + interface: GigabitEthernet0/0/0/3 + mask: '30' + metric: '' + network: 10.1.1.32 + next_hop: connected + protocol: C + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '' + interface: GigabitEthernet0/0/0/3 + mask: '32' + metric: '' + network: 10.1.1.33 + next_hop: connected + protocol: L + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '' + interface: MgmtEth0/0/CPU0/0 + mask: '24' + metric: '' + network: 172.16.1.0 + next_hop: connected + protocol: C + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '' + interface: MgmtEth0/0/CPU0/0 + mask: '32' + metric: '' + network: 172.16.1.120 + next_hop: connected + protocol: L + type: directly + uptime: 04:43:54 + vrf: example555 +- distance: '' + interface: Loopback44 + mask: '32' + metric: '' + network: 10.1.0.10 + next_hop: connected + protocol: L + type: directly + uptime: 1w1d + vrf: VRF10 +- distance: '200' + interface: vrf default + mask: '32' + metric: '0' + network: 10.1.0.15 + next_hop: 10.1.0.15 + protocol: B + type: via + uptime: 3w1d + vrf: VRF10 +- distance: '200' + interface: vrf default + mask: '32' + metric: '0' + network: 10.1.0.20 + next_hop: 10.1.0.20 + protocol: B + type: via + uptime: 3w1d + vrf: VRF10 +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '29' + metric: '110' + network: 10.7.1.0 + next_hop: 10.2.2.3 + protocol: O + type: via + uptime: 1w5d + vrf: ThirdExample +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '29' + metric: '110' + network: 10.7.1.0 + next_hop: 10.2.2.4 + protocol: O + type: via + uptime: 1w5d + vrf: ThirdExample +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '24' + metric: '110' + network: 10.2.0.0 + next_hop: 10.2.2.3 + protocol: O + type: via + uptime: 1w5d + vrf: ThirdExample +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '24' + metric: '110' + network: 10.2.0.0 + next_hop: 10.2.2.4 + protocol: O + type: via + uptime: 1w5d + vrf: ThirdExample +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '29' + metric: '110' + network: 10.2.1.0 + next_hop: 10.2.2.3 + protocol: O + type: via + uptime: 1w5d + vrf: ThirdExample +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '29' + metric: '110' + network: 10.2.1.0 + next_hop: 10.2.2.4 + protocol: O + type: via + uptime: 1w5d + vrf: ThirdExample +- distance: '' + interface: GigabitEthernet0/0/0/0 + mask: '29' + metric: '' + network: 10.2.2.0 + next_hop: connected + protocol: C + type: directly + uptime: 1w5d + vrf: ThirdExample +- distance: '' + interface: GigabitEthernet0/0/0/0 + mask: '32' + metric: '' + network: 10.2.2.1 + next_hop: connected + protocol: L + type: directly + uptime: 1w5d + vrf: ThirdExample +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '32' + metric: '110' + network: 10.2.10.2 + next_hop: 10.2.2.3 + protocol: O E1 + type: via + uptime: 1w5d + vrf: ThirdExample +- distance: '110' + interface: GigabitEthernet0/0/0/0 + mask: '32' + metric: '110' + network: 10.2.10.2 + next_hop: 10.2.2.4 + protocol: O E1 + type: via + uptime: 1w5d + vrf: ThirdExample +- distance: '200' + interface: vrf default + mask: '24' + metric: '110' + network: 10.3.0.0 + next_hop: 10.1.0.25 + protocol: B + type: via + uptime: 1w5d + vrf: ThirdExample +- distance: '200' + interface: vrf default + mask: '29' + metric: '0' + network: 10.3.1.0 + next_hop: 10.1.0.25 + protocol: B + type: via + uptime: 1w5d + vrf: ThirdExample + \ No newline at end of file diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.raw b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.raw new file mode 100644 index 0000000000..e48a98d23a --- /dev/null +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.raw @@ -0,0 +1,104 @@ +Mon Jan 29 19:00:32.892 UTC +VRF: example555 + + +Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path + D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area + N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 + E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP + i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2 + ia - IS-IS inter area, su - IS-IS summary null, * - candidate default + U - per-user static route, o - ODR, L - local, G - DAGR, l - LISP + A - access/subscriber, a - Application route + M - mobile route, r - RPL, (!) - FRR Backup path + +Gateway of last resort is 172.16.1.1 to network 0.0.0.0 + +S* 0.0.0.0/0 [1/0] via 172.16.1.1, 04:43:54 +O 1.1.1.1/32 [110/0] via 10.1.1.9, 04:43:27, GigabitEthernet0/0/0/0 (!) + [110/9164] via 10.1.1.34, 04:43:27, GigabitEthernet0/0/0/3 +O 1.1.1.3/32 [110/0] via 10.1.1.9, 04:43:21, GigabitEthernet0/0/0/0 (!) + [110/6564] via 10.1.1.34, 04:43:21, GigabitEthernet0/0/0/3 +O 1.1.2.1/32 [110/0] via 10.1.1.9, 04:43:40, GigabitEthernet0/0/0/0 (!) + [110/9163] via 10.1.1.34, 04:43:40, GigabitEthernet0/0/0/3 +O 1.1.2.3/32 [110/0] via 10.1.1.9, 04:43:40, GigabitEthernet0/0/0/0 (!) + [110/6563] via 10.1.1.34, 04:43:40, GigabitEthernet0/0/0/3 +O 1.1.2.5/32 [110/0] via 10.1.1.9, 04:43:40, GigabitEthernet0/0/0/0 (!) + [110/639] via 10.1.1.34, 04:43:40, GigabitEthernet0/0/0/3 +L 1.1.2.6/32 is directly connected, 04:43:54, Loopback0 +O 10.1.0.0/30 [110/0] via 10.1.1.9, 04:43:40, GigabitEthernet0/0/0/0 (!) + [110/9163] via 10.1.1.34, 04:43:40, GigabitEthernet0/0/0/3 +O 10.1.0.8/30 [110/0] via 10.1.1.9, 04:43:40, GigabitEthernet0/0/0/0 (!) + [110/6563] via 10.1.1.34, 04:43:40, GigabitEthernet0/0/0/3 +O 10.1.1.0/30 [110/0] via 10.1.1.9, 04:43:40, GigabitEthernet0/0/0/0 (!) + [110/11762] via 10.1.1.34, 04:43:40, GigabitEthernet0/0/0/3 +C 10.1.1.4/30 is directly connected, 04:43:54, GigabitEthernet0/0/0/1 +L 10.1.1.6/32 is directly connected, 04:43:54, GigabitEthernet0/0/0/1 +C 10.1.1.8/30 is directly connected, 04:43:54, GigabitEthernet0/0/0/0 +L 10.1.1.10/32 is directly connected, 04:43:54, GigabitEthernet0/0/0/0 +O 10.1.1.12/30 [110/0] via 10.1.1.9, 04:43:40, GigabitEthernet0/0/0/0 (!) + [110/9162] via 10.1.1.34, 04:43:40, GigabitEthernet0/0/0/3 +O 10.1.1.20/30 [110/0] via 10.1.1.9, 04:43:41, GigabitEthernet0/0/0/0 (!) + [110/6562] via 10.1.1.34, 04:43:41, GigabitEthernet0/0/0/3 +O 10.1.1.24/30 [110/0] via 10.1.1.9, 04:43:40, GigabitEthernet0/0/0/0 (!) + [110/709] via 10.1.1.34, 04:43:40, GigabitEthernet0/0/0/3 +C 10.1.1.28/30 is directly connected, 04:43:54, GigabitEthernet0/0/0/2 +L 10.1.1.30/32 is directly connected, 04:43:54, GigabitEthernet0/0/0/2 +C 10.1.1.32/30 is directly connected, 04:43:54, GigabitEthernet0/0/0/3 +L 10.1.1.33/32 is directly connected, 04:43:54, GigabitEthernet0/0/0/3 +C 172.16.1.0/24 is directly connected, 04:43:54, MgmtEth0/0/CPU0/0 +L 172.16.1.120/32 is directly connected, 04:43:54, MgmtEth0/0/CPU0/0 + +VRF: VRF10 + + +Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path + D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area + N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 + E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP + i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2 + ia - IS-IS inter area, su - IS-IS summary null, * - candidate default + U - per-user static route, o - ODR, L - local, G - DAGR, l - LISP + A - access/subscriber, a - Application route + M - mobile route, r - RPL, (!) - FRR Backup path + +Gateway of last resort is not set + +L 10.1.0.10/32 is directly connected, 1w1d, Loopback44 +B 10.1.0.15/32 [200/0] via 10.1.0.15 (nexthop in vrf default), 3w1d +B 10.1.0.20/32 [200/0] via 10.1.0.20 (nexthop in vrf default), 3w1d + +VRF: ThirdExample + + +Codes: C - connected, S - static, R - RIP, B - BGP, (>) - Diversion path + D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area + N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 + E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP + i - ISIS, L1 - IS-IS level-1, L2 - IS-IS level-2 + ia - IS-IS inter area, su - IS-IS summary null, * - candidate default + U - per-user static route, o - ODR, L - local, G - DAGR, l - LISP + A - access/subscriber, a - Application route + M - mobile route, r - RPL, (!) - FRR Backup path + +Gateway of last resort is not set + +O 10.7.1.0/29 [110/110] via 10.2.2.3, 1w5d, GigabitEthernet0/0/0/0 + [110/110] via 10.2.2.4, 1w5d, GigabitEthernet0/0/0/0 +O 10.2.0.0/24 [110/110] via 10.2.2.3, 1w5d, GigabitEthernet0/0/0/0 + [110/110] via 10.2.2.4, 1w5d, GigabitEthernet0/0/0/0 +O 10.2.1.0/29 [110/110] via 10.2.2.3, 1w5d, GigabitEthernet0/0/0/0 + [110/110] via 10.2.2.4, 1w5d, GigabitEthernet0/0/0/0 +C 10.2.2.0/29 is directly connected, 1w5d, GigabitEthernet0/0/0/0 +L 10.2.2.1/32 is directly connected, 1w5d, GigabitEthernet0/0/0/0 +O E1 10.2.10.2/32 [110/110] via 10.2.2.3, 1w5d, GigabitEthernet0/0/0/0 + [110/110] via 10.2.2.4, 1w5d, GigabitEthernet0/0/0/0 +B 10.3.0.0/24 [200/110] via 10.1.0.25 (nexthop in vrf default), 1w5d +B 10.3.1.0/29 [200/0] via 10.1.0.25 (nexthop in vrf default), 1w5d + + +VRF: customerA + + +% No matching routes found + From 70746d4c0cd31b9aec336f02f95447d2c0590cb3 Mon Sep 17 00:00:00 2001 From: Christopher McCormack Date: Thu, 26 Sep 2019 19:06:09 -0700 Subject: [PATCH 282/628] Examples in comments were swapped (#421) --- templates/cisco_ios_show_ip_bgp.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_ip_bgp.template b/templates/cisco_ios_show_ip_bgp.template index 54c067ddc4..1d6151cb96 100644 --- a/templates/cisco_ios_show_ip_bgp.template +++ b/templates/cisco_ios_show_ip_bgp.template @@ -27,12 +27,12 @@ Bgp_table # # # Match first when there is no network, since previous line had it already (compliment and filldown below) - # Example: * i172.16.1.0/24 172.16.1.2 0 100 0 i + # Example: *> 0.0.0.0 0 32768 i ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}\s{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record # # # Full normal example. metric, and as_path might not exist, regex defaults to blank line. - # Example: *> 0.0.0.0 0 32768 i + # Example: * i172.16.1.0/24 172.16.1.2 0 100 0 i ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record From 323c829f01ed5355715bd60fedb50c1a1f0295a8 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 27 Sep 2019 08:35:51 -0600 Subject: [PATCH 283/628] BugFix: ASA dir - account for change in raw output (#419) * Some versions of software report % of bytes free instead of amount of bytes free --- templates/cisco_asa_dir.template | 5 + tests/cisco_asa/dir/cisco_asa_dir.parsed | 323 +++++++++++----------- tests/cisco_asa/dir/cisco_asa_dir2.parsed | 93 +++++++ tests/cisco_asa/dir/cisco_asa_dir2.raw | 15 + 4 files changed, 275 insertions(+), 161 deletions(-) create mode 100644 tests/cisco_asa/dir/cisco_asa_dir2.parsed create mode 100644 tests/cisco_asa/dir/cisco_asa_dir2.raw diff --git a/templates/cisco_asa_dir.template b/templates/cisco_asa_dir.template index e8c341dfd6..b76acb618d 100644 --- a/templates/cisco_asa_dir.template +++ b/templates/cisco_asa_dir.template @@ -4,6 +4,7 @@ Value PERMISSIONS (\S+) Value SIZE (\d+) Value Fillup TOTAL_SIZE (\d+) Value Fillup TOTAL_FREE (\d+) +Value Fillup TOTAL_PERCENT_FREE (\d+) Value DATE_TIME (()|(\S+\s\w+\s\d+\s\d+)) Value NAME (\S+) @@ -14,6 +15,10 @@ DIR ^Directory of\s+${FILE_SYSTEM} -> DIR ^((\s+)*${ID})\s+${PERMISSIONS}\s+${SIZE}\s+${DATE_TIME}\s+${NAME} -> Record ^${TOTAL_SIZE}\s+\S+\s+\S+\s\(${TOTAL_FREE} bytes free\) + # Accounts for X files total size: X bytes + ^\d+\s+\S+\s+\S+\s+\d+\s+\S+ + ^${TOTAL_SIZE} bytes total \(${TOTAL_FREE} bytes free/${TOTAL_PERCENT_FREE}\% free\) + ^.*$$ # EOF diff --git a/tests/cisco_asa/dir/cisco_asa_dir.parsed b/tests/cisco_asa/dir/cisco_asa_dir.parsed index a704c78ecb..62a0be0d67 100644 --- a/tests/cisco_asa/dir/cisco_asa_dir.parsed +++ b/tests/cisco_asa/dir/cisco_asa_dir.parsed @@ -1,164 +1,165 @@ --- parsed_sample: -- file_system: 'disk0:/' - id: '120' - permissions: '-rwx' - size: '74369568' - date_time: '19:39:56 Nov 03 2015' - name: 'asa951-lfbff-k8.spa' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '121' - permissions: '-rwx' - size: '25025404' - date_time: '19:40:46 Nov 03 2015' - name: 'asdm-751.bin' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '122' - permissions: '-rwx' - size: '89' - date_time: '11:48:07 May 04 2016' - name: '.boot_string' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '11' - permissions: 'drwx' - size: '4096' - date_time: '19:43:48 Nov 03 2015' - name: 'log' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '23' - permissions: 'drwx' - size: '4096' - date_time: '19:44:38 Nov 03 2015' - name: 'crypto_archive' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '24' - permissions: 'drwx' - size: '4096' - date_time: '19:44:40 Nov 03 2015' - name: 'coredumpinfo' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '123' - permissions: 'drwx' - size: '4096' - date_time: '08:33:16 May 31 2016' - name: 'LOCAL-CA-SERVER' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '124' - permissions: '-rwx' - size: '4096' - date_time: '00:00:00 Jan 01 1980' - name: 'FSCK0000.REC' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '125' - permissions: '-rwx' - size: '28672' - date_time: '00:00:00 Jan 01 1980' - name: 'FSCK0001.REC' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '126' - permissions: '-rwx' - size: '4096' - date_time: '00:00:00 Jan 01 1980' - name: 'FSCK0002.REC' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '127' - permissions: '-rwx' - size: '28672' - date_time: '00:00:00 Jan 01 1980' - name: 'FSCK0003.REC' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '128' - permissions: '-rwx' - size: '4096' - date_time: '00:00:00 Jan 01 1980' - name: 'FSCK0004.REC' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '129' - permissions: '-rwx' - size: '19183882' - date_time: '05:45:32 Feb 12 2016' - name: 'anyconnect-win-4.2.01035-k9.pkg' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '130' - permissions: '-rwx' - size: '17469933' - date_time: '05:45:56 Feb 12 2016' - name: 'anyconnect-macosx-i386-4.2.01035-k9.pkg' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '131' - permissions: '-rwx' - size: '82330784' - date_time: '05:56:48 Feb 12 2016' - name: 'asa952-2-lfbff-k8.SPA' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '132' - permissions: '-rwx' - size: '4102' - date_time: '07:07:44 Feb 12 2016' - name: 'scp_f1' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '133' - permissions: '-rwx' - size: '4102' - date_time: '07:09:04 Feb 12 2016' - name: 'scp_f2' - total_size: '7859437568' - total_free: '4417200128' - -- file_system: 'disk0:/' - id: '134' - permissions: '-rwx' - size: '2595' - date_time: '07:20:42 Feb 12 2016' - name: 'general.xml' - total_size: '7859437568' - total_free: '4417200128' +- date_time: 19:39:56 Nov 03 2015 + file_system: disk0:/ + id: '120' + name: asa951-lfbff-k8.spa + permissions: -rwx + size: '74369568' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 19:40:46 Nov 03 2015 + file_system: disk0:/ + id: '121' + name: asdm-751.bin + permissions: -rwx + size: '25025404' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 11:48:07 May 04 2016 + file_system: disk0:/ + id: '122' + name: .boot_string + permissions: -rwx + size: '89' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 19:43:48 Nov 03 2015 + file_system: disk0:/ + id: '11' + name: log + permissions: drwx + size: '4096' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 19:44:38 Nov 03 2015 + file_system: disk0:/ + id: '23' + name: crypto_archive + permissions: drwx + size: '4096' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 19:44:40 Nov 03 2015 + file_system: disk0:/ + id: '24' + name: coredumpinfo + permissions: drwx + size: '4096' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 08:33:16 May 31 2016 + file_system: disk0:/ + id: '123' + name: LOCAL-CA-SERVER + permissions: drwx + size: '4096' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 00:00:00 Jan 01 1980 + file_system: disk0:/ + id: '124' + name: FSCK0000.REC + permissions: -rwx + size: '4096' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 00:00:00 Jan 01 1980 + file_system: disk0:/ + id: '125' + name: FSCK0001.REC + permissions: -rwx + size: '28672' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 00:00:00 Jan 01 1980 + file_system: disk0:/ + id: '126' + name: FSCK0002.REC + permissions: -rwx + size: '4096' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 00:00:00 Jan 01 1980 + file_system: disk0:/ + id: '127' + name: FSCK0003.REC + permissions: -rwx + size: '28672' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 00:00:00 Jan 01 1980 + file_system: disk0:/ + id: '128' + name: FSCK0004.REC + permissions: -rwx + size: '4096' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 05:45:32 Feb 12 2016 + file_system: disk0:/ + id: '129' + name: anyconnect-win-4.2.01035-k9.pkg + permissions: -rwx + size: '19183882' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 05:45:56 Feb 12 2016 + file_system: disk0:/ + id: '130' + name: anyconnect-macosx-i386-4.2.01035-k9.pkg + permissions: -rwx + size: '17469933' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 05:56:48 Feb 12 2016 + file_system: disk0:/ + id: '131' + name: asa952-2-lfbff-k8.SPA + permissions: -rwx + size: '82330784' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 07:07:44 Feb 12 2016 + file_system: disk0:/ + id: '132' + name: scp_f1 + permissions: -rwx + size: '4102' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 07:09:04 Feb 12 2016 + file_system: disk0:/ + id: '133' + name: scp_f2 + permissions: -rwx + size: '4102' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' +- date_time: 07:20:42 Feb 12 2016 + file_system: disk0:/ + id: '134' + name: general.xml + permissions: -rwx + size: '2595' + total_free: '4417200128' + total_percent_free: '' + total_size: '7859437568' diff --git a/tests/cisco_asa/dir/cisco_asa_dir2.parsed b/tests/cisco_asa/dir/cisco_asa_dir2.parsed new file mode 100644 index 0000000000..2e773a5baa --- /dev/null +++ b/tests/cisco_asa/dir/cisco_asa_dir2.parsed @@ -0,0 +1,93 @@ +--- +parsed_sample: + +- date_time: 06:43:00 Jun 30 2018 + file_system: disk0:/ + id: '97' + name: asa982-lfbff-k8.SPA + permissions: -rwx + size: '108563072' + total_free: '3847725056' + total_percent_free: '52' + total_size: '7365472256' +- date_time: 06:43:22 Jun 30 2018 + file_system: disk0:/ + id: '98' + name: asdm-782.bin + permissions: -rwx + size: '26970456' + total_free: '3847725056' + total_percent_free: '52' + total_size: '7365472256' +- date_time: 16:06:56 Jun 04 2019 + file_system: disk0:/ + id: '99' + name: .boot_string + permissions: -rwx + size: '63' + total_free: '3847725056' + total_percent_free: '52' + total_size: '7365472256' +- date_time: 06:46:42 Jun 30 2018 + file_system: disk0:/ + id: '11' + name: log + permissions: drwx + size: '4096' + total_free: '3847725056' + total_percent_free: '52' + total_size: '7365472256' +- date_time: 06:47:34 Jun 30 2018 + file_system: disk0:/ + id: '22' + name: crypto_archive + permissions: drwx + size: '4096' + total_free: '3847725056' + total_percent_free: '52' + total_size: '7365472256' +- date_time: 06:47:36 Jun 30 2018 + file_system: disk0:/ + id: '23' + name: coredumpinfo + permissions: drwx + size: '4096' + total_free: '3847725056' + total_percent_free: '52' + total_size: '7365472256' +- date_time: 02:58:32 May 17 2019 + file_system: disk0:/ + id: '100' + name: asa992-32-lfbff-k8.SPA + permissions: -rwx + size: '111505136' + total_free: '3847725056' + total_percent_free: '52' + total_size: '7365472256' +- date_time: 03:00:24 May 17 2019 + file_system: disk0:/ + id: '101' + name: asdm-791-151.bin + permissions: -rwx + size: '29197128' + total_free: '3847725056' + total_percent_free: '52' + total_size: '7365472256' +- date_time: 03:13:54 May 17 2019 + file_system: disk0:/ + id: '105' + name: snmp + permissions: drwx + size: '4096' + total_free: '3847725056' + total_percent_free: '52' + total_size: '7365472256' +- date_time: 16:43:50 Jun 04 2019 + file_system: disk0:/ + id: '109' + name: testfile.spa + permissions: -rwx + size: '18124800' + total_free: '3847725056' + total_percent_free: '52' + total_size: '7365472256' diff --git a/tests/cisco_asa/dir/cisco_asa_dir2.raw b/tests/cisco_asa/dir/cisco_asa_dir2.raw new file mode 100644 index 0000000000..87f479c2ab --- /dev/null +++ b/tests/cisco_asa/dir/cisco_asa_dir2.raw @@ -0,0 +1,15 @@ +Directory of disk0:/ + +97 -rwx 108563072 06:43:00 Jun 30 2018 asa982-lfbff-k8.SPA +98 -rwx 26970456 06:43:22 Jun 30 2018 asdm-782.bin +99 -rwx 63 16:06:56 Jun 04 2019 .boot_string +11 drwx 4096 06:46:42 Jun 30 2018 log +22 drwx 4096 06:47:34 Jun 30 2018 crypto_archive +23 drwx 4096 06:47:36 Jun 30 2018 coredumpinfo +100 -rwx 111505136 02:58:32 May 17 2019 asa992-32-lfbff-k8.SPA +101 -rwx 29197128 03:00:24 May 17 2019 asdm-791-151.bin +105 drwx 4096 03:13:54 May 17 2019 snmp +109 -rwx 18124800 16:43:50 Jun 04 2019 testfile.spa + +6 file(s) total size: 294360655 bytes +7365472256 bytes total (3847725056 bytes free/52% free) From 0a91c4ef3f5e467ee9b6cdc508cee7ca7c3661d0 Mon Sep 17 00:00:00 2001 From: Ryan Harden Date: Fri, 27 Sep 2019 13:02:52 -0500 Subject: [PATCH 284/628] new_template: cisco_wlc_ssh_show_exclusionlist --- .../cisco_wlc_ssh_show_exclusionlist.template | 14 ++++++++++++++ templates/index | 2 ++ .../cisco_wlc_ssh_show_exclusionlist.parsed | 10 ++++++++++ .../cisco_wlc_ssh_show_exclusionlist.raw | 11 +++++++++++ 4 files changed, 37 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_exclusionlist.template create mode 100644 tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.parsed create mode 100644 tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.raw diff --git a/templates/cisco_wlc_ssh_show_exclusionlist.template b/templates/cisco_wlc_ssh_show_exclusionlist.template new file mode 100644 index 0000000000..30662315a5 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_exclusionlist.template @@ -0,0 +1,14 @@ +Value MAC (([\da-fA-F]{2}[-:]){5}[\da-fA-F]{2}) +Value COMMENT (.*) + +Start + ^Manually\s*Disabled\s*Clients -> ManuallyDisabled + ^No\s*dynamically + ^\s*$$ + ^. -> Error + +ManuallyDisabled + ^--- + ^MAC\s+Address\s+Description + ^${MAC}\s+${COMMENT} -> Record + ^\s*$$ -> Start \ No newline at end of file diff --git a/templates/index b/templates/index index 1976ae118b..48be675afc 100644 --- a/templates/index +++ b/templates/index @@ -236,9 +236,11 @@ cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] +cisco_wlc_ssh_show_exclusionlist.template, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] + cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] in[[gress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_errors_egress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] eg[[ress]] loc[[ation]] diff --git a/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.parsed b/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.parsed new file mode 100644 index 0000000000..7949759520 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.parsed @@ -0,0 +1,10 @@ +--- +parsed_sample: +- mac: aa:bb:cc:dd:ee:ff + comment: "bad-guy" +- mac: 00:22:43:cc:ac:2d + comment: "request #6aa493" +- mac: 34:f6:aa:7e:70:3e + comment: "ticket #612333" +- mac: 40:b0:34:99:95:d9 + comment: "Unkown Device" \ No newline at end of file diff --git a/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.raw b/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.raw new file mode 100644 index 0000000000..dcde3e614f --- /dev/null +++ b/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.raw @@ -0,0 +1,11 @@ +Manually Disabled Clients +------------------------- +MAC Address Description +----------------------- -------------------------------- +aa:bb:cc:dd:ee:ff bad-guy +00:22:43:cc:ac:2d request #6aa493 +34:f6:aa:7e:70:3e ticket #612333 +40:b0:34:99:95:d9 Unkown Device + + +No dynamically excluded clients. \ No newline at end of file From 707d0e30ca30fd75bd069bf0007fc42d77e1a403 Mon Sep 17 00:00:00 2001 From: dainok Date: Sat, 28 Sep 2019 17:07:56 +0200 Subject: [PATCH 285/628] bug_Fix: hp_procurve_show_arp - incomplete arp and non-digit ports (trunks, etc.) --- templates/hp_procurve_show_arp.template | 4 ++-- .../show_arp/hp_procurve_show_arp_1.parsed | 18 ++++++++++++++++++ .../show_arp/hp_procurve_show_arp_1.raw | 8 ++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 tests/hp_procurve/show_arp/hp_procurve_show_arp_1.parsed create mode 100644 tests/hp_procurve/show_arp/hp_procurve_show_arp_1.raw diff --git a/templates/hp_procurve_show_arp.template b/templates/hp_procurve_show_arp.template index 2e441c4130..4dd9c4d4e5 100644 --- a/templates/hp_procurve_show_arp.template +++ b/templates/hp_procurve_show_arp.template @@ -1,7 +1,7 @@ -Value IP ((?:[0-9]{1,3}\.){3}[0-9]{1,3}) +Value IP (\S+) Value MAC ([0-9a-fA-F]{6}-[0-9a-fA-F]{6}) Value TYPE (\S+) -Value PORT (\d+) +Value PORT (\S+) Start ^.*IP ARP table -> ARP diff --git a/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.parsed b/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.parsed new file mode 100644 index 0000000000..06e714b808 --- /dev/null +++ b/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.parsed @@ -0,0 +1,18 @@ +--- + +parsed_sample: + +- ip: "10.11.12.11" + mac: "0015b2-a45078" + type: "dynamic" + port: "2" + +- ip: "10.11.12.12" + mac: "0c15b2-a45d78" + type: "dynamic" + port: "3" + +- ip: "10.11.12.13" + mac: "001eb2-a45f78" + type: "dynamic" + port: "Trk1" diff --git a/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.raw b/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.raw new file mode 100644 index 0000000000..2cb7852b06 --- /dev/null +++ b/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.raw @@ -0,0 +1,8 @@ + + IP ARP table + + IP Address MAC Address Type Port + --------------- ----------------- ------- ---- + 10.11.12.11 0015b2-a45078 dynamic 2 + 10.11.12.12 0c15b2-a45d78 dynamic 3 + 10.11.12.13 001eb2-a45f78 dynamic Trk1 From d2f9f941bfe4d6cf7e82600968fec5c1301263a7 Mon Sep 17 00:00:00 2001 From: vaneuk <31311894+vaneuk@users.noreply.github.com> Date: Sat, 28 Sep 2019 18:27:32 +0300 Subject: [PATCH 286/628] enhancement: cisco_asa_show_asp_drop added additional fields --- templates/cisco_asa_show_asp_drop.template | 8 ++ .../cisco_asa_show_asp_drop.parsed | 8 +- .../cisco_asa_show_asp_drop2.parsed | 119 ++++++++++++++++++ .../cisco_asa_show_asp_drop2.raw | 61 +++++++++ 4 files changed, 194 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.parsed create mode 100644 tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.raw diff --git a/templates/cisco_asa_show_asp_drop.template b/templates/cisco_asa_show_asp_drop.template index 536431118b..323e72e7a4 100644 --- a/templates/cisco_asa_show_asp_drop.template +++ b/templates/cisco_asa_show_asp_drop.template @@ -2,6 +2,7 @@ Value FLOW_DROP_ACL_DROP (\d+) Value FLOW_DROP_SHUNNED (\d+) Value FLOW_DROP_CLUSTER_REDIRECT (\d+) Value FLOW_DROP_INSPECT_FAIL (\d+) +Value FLOW_DROP_IPSEC_SELECTOR_FAILURE (\d+) Value FLOW_DROP_NAT_RPF_FAILED (\d+) Value FLOW_DROP_OUT_OF_MEMORY (\d+) Value FLOW_DROP_SSL_BAD_RECORD_DETECT (\d+) @@ -16,6 +17,7 @@ Value FLOW_DROP_CTM_CRYPTO_REQUEST_ERROR (\d+) Value FLOW_DROP_VPN_HANDLE_NOT_FOUND (\d+) Value FLOW_DROP_NP_SOCKET_DATA_MOVE_FAILURE (\d+) Value FLOW_DROP_DTLS_HELLO_CLOSE (\d+) +Value FLOW_LAST_CLEARED (.+?) Value ACL_DROP (\d+) Value ASYNC_LOCK_QUEUE_LIMIT (\d+) Value BAD_IPSEC_NATT (\d+) @@ -61,6 +63,7 @@ Value L2_ACL (\d+) Value LAST_CLEARED (.+?) Value LU_INVALID_PKT (\d+) Value MCAST_IN_NONACTIVE_DEVICE (\d+) +Value MP_SVC_BAD_LENGTH (\d+) Value MP_SVC_FLOW_CONTROL (\d+) Value MP_SVC_NO_CHANNEL (\d+) Value MP_SVC_NO_FRAGMENT (\d+) @@ -87,6 +90,7 @@ Value RULE_TRANSACTION_IN_PROGRESS (\d+) Value SECURITY_FAILED (\d+) Value SHUNNED (\d+) Value SP_SECURITY_FAILED (\d+) +Value SSL_FIRST_RECORD_INVALID (\d+) Value TCP_3WHS_FAILED (\d+) Value TCP_ACK_SYN_DIFF (\d+) Value TCP_BAD_OPTION_LIST (\d+) @@ -160,6 +164,7 @@ Start ^.+l2_acl\)\s+${L2_ACL} ^.+lu-invalid-pkt\)\s+${LU_INVALID_PKT} ^.+mcast-in-nonactive-device\)\s+${MCAST_IN_NONACTIVE_DEVICE} + ^.+mp-svc-bad-length\)\s+${MP_SVC_BAD_LENGTH} ^.+mp-svc-flow-control\)\s+${MP_SVC_FLOW_CONTROL} ^.+mp-svc-no-channel\)\s+${MP_SVC_NO_CHANNEL} ^.+mp-svc-no-fragment\)\s+${MP_SVC_NO_FRAGMENT} @@ -186,6 +191,7 @@ Start ^.+security-failed\)\s+${SECURITY_FAILED} ^.+shunned\)\s+${SHUNNED} ^.+sp-security-failed\)\s+${SP_SECURITY_FAILED} + ^.+ssl-first-record-invalid\)\s+${SSL_FIRST_RECORD_INVALID} ^.+tcp-3whs-failed\)\s+${TCP_3WHS_FAILED} ^.+tcp-ack-syn-diff\)\s+${TCP_ACK_SYN_DIFF} ^.+tcp-bad-option-list\)\s+${TCP_BAD_OPTION_LIST} @@ -215,10 +221,12 @@ Start FLOW ^\s+$$ ^$$ + ^Last\s+clearing:\s+${FLOW_LAST_CLEARED}\s*$$ ^.+Flow\s+is\s+denied\s+by\s+access\s+rule\s+\(acl-drop\)\s+${FLOW_DROP_ACL_DROP} ^.+cluster-redirect\)\s+${FLOW_DROP_CLUSTER_REDIRECT} ^.+Flow\s+shunned \(shunned\)\s+${FLOW_DROP_SHUNNED} ^.+inspect-fail\)\s+${FLOW_DROP_INSPECT_FAIL} + ^.+ipsec-selector-failure\)\s+${FLOW_DROP_IPSEC_SELECTOR_FAILURE} ^.+nat-rpf-failed\)\s+${FLOW_DROP_NAT_RPF_FAILED} ^.+out-of-memory\)\s+${FLOW_DROP_OUT_OF_MEMORY} ^.+ssl-bad-record-detect\)\s+${FLOW_DROP_SSL_BAD_RECORD_DETECT} diff --git a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed index 20a33a7978..c874ed9481 100644 --- a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed +++ b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed @@ -24,6 +24,7 @@ parsed_sample: flow_drop_ctm_crypto_request_error: '187' flow_drop_dtls_hello_close: '90' flow_drop_inspect_fail: '4' + flow_drop_ipsec_selector_failure: '' flow_drop_nat_rpf_failed: '16' flow_drop_np_socket_data_move_failure: '10' flow_drop_out_of_memory: '2' @@ -38,6 +39,7 @@ parsed_sample: flow_drop_vpn_missing_decrypt: '202' flow_drop_vpn_overlap_conflict: '201' flow_expired: '10' + flow_last_cleared: '' fo_standby: '5' fragment_reassembly_failed: '' host_limit: '' @@ -61,9 +63,10 @@ parsed_sample: invalid_udp_length: '6' ipsec_tun_down: '118' l2_acl: '150' - last_cleared: 'Never' + last_cleared: Never lu_invalid_pkt: '2' mcast_in_nonactive_device: '4063' + mp_svc_bad_length: '' mp_svc_flow_control: '114' mp_svc_no_channel: '116' mp_svc_no_fragment: '113' @@ -90,6 +93,7 @@ parsed_sample: security_failed: '34' shunned: '8' sp_security_failed: '' + ssl_first_record_invalid: '' tcp_3whs_failed: '76' tcp_ack_syn_diff: '130' tcp_bad_option_list: '2' @@ -112,4 +116,4 @@ parsed_sample: ttl_exceeded: '3' unable_to_add_flow: '' unable_to_create_flow: '1' - unsupported_ip_version: '111' + unsupported_ip_version: '111' \ No newline at end of file diff --git a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.parsed b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.parsed new file mode 100644 index 0000000000..93fd254574 --- /dev/null +++ b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.parsed @@ -0,0 +1,119 @@ +--- +parsed_sample: + +- acl_drop: '121615702' + async_lock_queue_limit: '' + bad_ipsec_natt: '46' + bad_tcp_cksum: '865' + bad_tcp_flags: '465' + cluster_bad_trailer: '' + cluster_ccl_backup: '' + cluster_ccl_unknown: '' + cluster_ccl_unknown_stub: '' + cluster_non_ip_pkt: '' + conn_limit: '' + connection_lock: '1' + cp_event_queue_error: '' + cp_syslog_event_queue_error: '' + ctm_error: '651' + dispatch_block_alloc: '' + dispatch_queue_limit: '' + flow_being_freed: '' + flow_drop_acl_drop: '480826360' + flow_drop_cluster_redirect: '' + flow_drop_ctm_crypto_request_error: '10' + flow_drop_dtls_hello_close: '3961576' + flow_drop_inspect_fail: '9314' + flow_drop_ipsec_selector_failure: '2' + flow_drop_nat_rpf_failed: '' + flow_drop_np_socket_data_move_failure: '' + flow_drop_out_of_memory: '' + flow_drop_shunned: '' + flow_drop_ssl_bad_record_detect: '999' + flow_drop_ssl_handshake_failed: '199468' + flow_drop_ssl_record_decrypt_error: '277' + flow_drop_svc_failover: '' + flow_drop_svc_replacement_conn: '265258' + flow_drop_svc_selector_failure: '357898' + flow_drop_vpn_handle_not_found: '8' + flow_drop_vpn_missing_decrypt: '2337600' + flow_drop_vpn_overlap_conflict: '16388' + flow_expired: '' + flow_last_cleared: Never + fo_standby: '' + fragment_reassembly_failed: '' + host_limit: '' + ifc_classify: '' + inspect_dns_id_not_matched: '' + inspect_dns_invalid_domain_label: '' + inspect_dns_invalid_pak: '' + inspect_dns_pak_too_long: '' + inspect_dp_out_of_memory: '' + inspect_icmp_bad_code: '' + inspect_icmp_error_no_existing_conn: '50' + inspect_icmp_invalid_pak: '' + inspect_icmp_seq_num_not_matched: '' + intercept_unexpected: '' + interface_down: '1226' + invalid_encap: '' + invalid_ip_header: '10' + invalid_ip_length: '51' + invalid_ip_option: '49356' + invalid_tcp_hdr_length: '' + invalid_udp_length: '' + ipsec_tun_down: '231724' + l2_acl: '5664741' + last_cleared: Never + lu_invalid_pkt: '' + mcast_in_nonactive_device: '' + mp_svc_bad_length: '19' + mp_svc_flow_control: '3479607' + mp_svc_no_channel: '156927' + mp_svc_no_fragment: '148934' + mp_svc_no_session: '46067' + nat_failed: '' + nat_no_xlate_to_pat_pool: '' + nat_xlate_failed: '' + natt_keepalive: '140080931' + no_adjacency: '375' + no_inspect: '' + no_route: '28187272' + np_socket_closed: '245209' + np_socket_lock_failure: '1' + np_sp_invalid_spi: '71490' + object_group_search_threshold_exceeded: '' + punt_limit: '' + punt_no_mem: '' + punt_queue_limit: '' + punt_rate_limit: '' + rm_conn_rate_limit: '' + rm_inspect_rate_limit: '' + rpf_violated: '' + rule_transaction_in_progress: '' + security_failed: '144251' + shunned: '' + sp_security_failed: '' + ssl_first_record_invalid: '53' + tcp_3whs_failed: '574098' + tcp_ack_syn_diff: '' + tcp_bad_option_list: '' + tcp_buffer_full: '9' + tcp_buffer_timeout: '224' + tcp_conn_limit: '' + tcp_data_past_fin: '' + tcp_dual_open: '' + tcp_dup_in_queue: '390' + tcp_fo_drop: '' + tcp_global_buffer_full: '943' + tcp_invalid_ack: '56816' + tcp_not_syn: '7165487' + tcp_paws_fail: '122137' + tcp_rst_syn_in_win: '50482' + tcp_rstfin_ooo: '4599450' + tcp_seq_past_win: '66133' + tcp_seq_syn_diff: '54' + tcp_synack_ooo: '' + ttl_exceeded: '' + unable_to_add_flow: '' + unable_to_create_flow: '1699' + unsupported_ip_version: '6' \ No newline at end of file diff --git a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.raw b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.raw new file mode 100644 index 0000000000..b22d7f16b3 --- /dev/null +++ b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.raw @@ -0,0 +1,61 @@ +Frame drop: + NAT-T keepalive message (natt-keepalive) 140080931 + Bad IPSEC NATT packet (bad-ipsec-natt) 46 + IPSEC tunnel is down (ipsec-tun-down) 231724 + SVC Module received bad data length (mp-svc-bad-length) 19 + SVC Module does not have a channel for reinjection (mp-svc-no-channel) 156927 + SVC Module does not have a session (mp-svc-no-session) 46067 + SVC Module is in flow control (mp-svc-flow-control) 3479607 + SVC Module unable to fragment packet (mp-svc-no-fragment) 148934 + Invalid IP header (invalid-ip-header) 10 + Unsupported IP version (unsupported-ip-version) 6 + Invalid IP length (invalid-ip-length) 51 + No valid adjacency (no-adjacency) 375 + No route to host (no-route) 28187272 + Flow is denied by configured rule (acl-drop) 121615702 + Flow denied due to resource limitation (unable-to-create-flow) 1699 + Invalid SPI (np-sp-invalid-spi) 71490 + First TCP packet not SYN (tcp-not-syn) 7165487 + Bad TCP checksum (bad-tcp-cksum) 865 + Bad TCP flags (bad-tcp-flags) 465 + TCP failed 3 way handshake (tcp-3whs-failed) 574098 + TCP RST/FIN out of order (tcp-rstfin-ooo) 4599450 + TCP SEQ in SYN/SYNACK invalid (tcp-seq-syn-diff) 54 + TCP packet SEQ past window (tcp-seq-past-win) 66133 + TCP invalid ACK (tcp-invalid-ack) 56816 + TCP Out-of-Order packet buffer full (tcp-buffer-full) 9 + TCP global Out-of-Order packet buffer full (tcp-global-buffer-full) 943 + TCP Out-of-Order packet buffer timeout (tcp-buffer-timeout) 224 + TCP RST/SYN in window (tcp-rst-syn-in-win) 50482 + TCP dup of packet in Out-of-Order queue (tcp-dup-in-queue) 390 + TCP packet failed PAWS test (tcp-paws-fail) 122137 + SSL first record invalid (ssl-first-record-invalid) 53 + CTM returned error (ctm-error) 651 + Early security checks failed (security-failed) 277057 + Slowpath security checks failed (sp-security-failed) 144251 + IP option drop (invalid-ip-option) 49356 + ICMP Error Inspect no existing conn (inspect-icmp-error-no-existing-conn) 50 + FP L2 rule drop (l2_acl) 5664741 + Unable to obtain connection lock (connection-lock) 1 + Interface is down (interface-down) 1226 + Dropped pending packets in a closed socket (np-socket-closed) 245209 + Dropped pending packets due to a failed attempt to get an internal socket lock (np-socket-lock-failu 1 + +Last clearing: Never + +Flow drop: + VPN handle not found (vpn-handle-not-found) 8 + SVC replacement connection established (svc-replacement-conn) 265258 + IPSec inner policy mismatch failure (ipsec-selector-failure) 2 + VPN overlap conflict (vpn-overlap-conflict) 16388 + VPN decryption missing (vpn-missing-decrypt) 2337600 + Flow is denied by access rule (acl-drop) 480826360 + Inspection failure (inspect-fail) 9314 + SSL bad record detected (ssl-bad-record-detect) 999 + SSL handshake failed (ssl-handshake-failed) 199468 + DTLS hello processed and closed (dtls-hello-close) 3961576 + CTM crypto request error (ctm-crypto-request-error) 10 + SSL record decryption failed (ssl-record-decrypt-error) 277 + SVC inner policy mismatch failure (svc-selector-failure) 357898 + +Last clearing: Never \ No newline at end of file From 75db16827d51c9fa1776f4c7386dd727afe714ef Mon Sep 17 00:00:00 2001 From: Will Mullaney <50823494+mullaneywt@users.noreply.github.com> Date: Sun, 29 Sep 2019 07:32:11 -0600 Subject: [PATCH 287/628] new_template: cisco_nxos_show_ip_interface_brief --- ...isco_nxos_show_ip_interface_brief.template | 8 ++++ templates/index | 1 + .../cisco_nxos_show_ip_interface_brief.parsed | 37 +++++++++++++++++++ .../cisco_nxos_show_ip_interface_brief.raw | 9 +++++ 4 files changed, 55 insertions(+) create mode 100644 templates/cisco_nxos_show_ip_interface_brief.template create mode 100644 tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.parsed create mode 100644 tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw diff --git a/templates/cisco_nxos_show_ip_interface_brief.template b/templates/cisco_nxos_show_ip_interface_brief.template new file mode 100644 index 0000000000..02b8da7ee4 --- /dev/null +++ b/templates/cisco_nxos_show_ip_interface_brief.template @@ -0,0 +1,8 @@ +Value Required INTF (\S+) +Value Required IPADDR ([a-zA-Z0-9./]+) +Value STATUS (\S+-\S+) +Value LINK (\S+-\S+) +Value PROTO (\S+-\S+) + +Start + ^${INTF}\s+${IPADDR}\s+${PROTO}/${LINK}/${STATUS} -> Record diff --git a/templates/index b/templates/index index 48be675afc..1b22486436 100644 --- a/templates/index +++ b/templates/index @@ -203,6 +203,7 @@ cisco_nxos_show_ip_ospf_neighbor_vrf.template, .*, cisco_nxos, sh[[ow]] ip ospf cisco_nxos_show_ipv6_interface_brief.template, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] cisco_nxos_show_port-channel_summary.template, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.template, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] +cisco_nxos_show_ip_interface_brief.template, .*, cisco_nxos, sh[[ow]] ip int[[erface]] b[[rief]] cisco_nxos_show_cts_interface_all.template, .*, cisco_nxos, sh[[ow]] ct[[s]] inter[[face]] al[[l]] cisco_nxos_show_ip_community-list.template, .*, cisco_nxos, sh[[ow]] ip comm[[unity-list]] cisco_nxos_show_mac_address-table.template, .*, cisco_nxos, sh[[ow]] m[[ac]] addr[[ess-table]] diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.parsed b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.parsed new file mode 100644 index 0000000000..6eadc83cb3 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.parsed @@ -0,0 +1,37 @@ +--- +parsed_sample: +- intf: Eth1/1 + ipaddr: 10.1.1.11 + link: link-down + proto: protocol-down + status: admin-up +- intf: Eth1/2 + ipaddr: 10.1.1.12 + link: link-up + proto: protocol-up + status: admin-up +- intf: Eth1/3 + ipaddr: 10.1.1.13 + link: link-up + proto: protocol-up + status: admin-up +- intf: Eth1/4 + ipaddr: 10.1.1.14 + link: link-up + proto: protocol-up + status: admin-up +- intf: Eth1/5 + ipaddr: 10.1.1.15 + link: link-up + proto: protocol-up + status: admin-up +- intf: Eth1/6 + ipaddr: 10.1.1.16 + link: link-down + proto: protocol-down + status: admin-up +- intf: Eth1/7 + ipaddr: 10.1.1.17 + link: link-down + proto: protocol-down + status: admin-up diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw new file mode 100644 index 0000000000..217c77c4c5 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw @@ -0,0 +1,9 @@ +IP Interface Status for VRF "default"(1) +Interface IP Address Interface Status +Eth1/1 10.1.1.11 protocol-down/link-down/admin-up +Eth1/2 10.1.1.12 protocol-up/link-up/admin-up +Eth1/3 10.1.1.13 protocol-up/link-up/admin-up +Eth1/4 10.1.1.14 protocol-up/link-up/admin-up +Eth1/5 10.1.1.15 protocol-up/link-up/admin-up +Eth1/6 10.1.1.16 protocol-down/link-down/admin-up +Eth1/7 10.1.1.17 protocol-down/link-down/admin-up From 1d344ff01cf9d8d9f5360813a0ddcbc532b53ea6 Mon Sep 17 00:00:00 2001 From: Will Mullaney <50823494+mullaneywt@users.noreply.github.com> Date: Sun, 29 Sep 2019 17:22:22 -0600 Subject: [PATCH 288/628] bug_fix: cisco_nxos_show_interface_brief - support for pvlan and fabric modes --- .../cisco_nxos_show_interface_brief.template | 2 +- .../cisco_nxos_show_interface_brief.parsed | 1376 ++++++++--------- .../cisco_nxos_show_interface_brief.raw | 4 +- 3 files changed, 663 insertions(+), 719 deletions(-) diff --git a/templates/cisco_nxos_show_interface_brief.template b/templates/cisco_nxos_show_interface_brief.template index 9ab4afdb59..1ca05046fc 100644 --- a/templates/cisco_nxos_show_interface_brief.template +++ b/templates/cisco_nxos_show_interface_brief.template @@ -6,7 +6,7 @@ Value SPEED (\S+) Value MTU (\d+) Value VLAN ([\d+--]+) Value TYPE (\S+) -Value MODE (routed|access|trunk) +Value MODE (routed|access|trunk|pvlan|fabric) Value REASON (\S+((\s\w+)+)?) Value PORTCH (\S+) Value DESCRIPTION (\S+((\s\w+)+)?) diff --git a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.parsed b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.parsed index bb62ba1b94..9d86da7bf5 100644 --- a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.parsed +++ b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.parsed @@ -1,718 +1,662 @@ --- parsed_sample: - - - interface: 'mgmt0' - vrf: '--' - status: 'up' - ip: '10.1.100.220' - speed: '100' - mtu: '1500' - vlan: '' - type: '' - mode: '' - reason: '' - portch: '' - description: '' - - - interface: 'Eth1/1' - vrf: '' - status: 'up' - ip: '' - speed: '10G(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'none' - portch: '--' - description: '' - - - interface: 'Eth1/2' - vrf: '' - status: 'up' - ip: '' - speed: '10G(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'none' - portch: '--' - description: '' - - - interface: 'Eth1/3' - vrf: '' - status: 'up' - ip: '' - speed: '10G(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'none' - portch: '--' - description: '' - - - interface: 'Eth1/4' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/5' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '--' - type: 'eth' - mode: 'routed' - reason: 'Administratively down' - portch: '--' - description: '' - - - interface: 'Eth1/6' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '--' - type: 'eth' - mode: 'routed' - reason: 'Administratively down' - portch: '--' - description: '' - - - interface: 'Eth1/7' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/8' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/9' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/10' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/11' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/12' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/13' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/14' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/15' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/16' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/17' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/18' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/19' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/20' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/21' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/22' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/23' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/24' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/25' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/26' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/27' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/28' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/29' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/30' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/31' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/32' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/33' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/34' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/35' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/36' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/37' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/38' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/39' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/40' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/41' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/42' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/43' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/44' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/45' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/46' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/47' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/48' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/49' - vrf: '' - status: 'up' - ip: '' - speed: '40G(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'none' - portch: '--' - description: '' - - - interface: 'Eth1/50' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'Link not connected' - portch: '--' - description: '' - - - interface: 'Eth1/51' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'XCVR not inserted' - portch: '--' - description: '' - - - interface: 'Eth1/52' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'XCVR not inserted' - portch: '--' - description: '' - - - interface: 'Eth1/53' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'XCVR not inserted' - portch: '--' - description: '' - - - interface: 'Eth1/54' - vrf: '' - status: 'down' - ip: '' - speed: 'auto(D)' - mtu: '' - vlan: '1' - type: 'eth' - mode: 'access' - reason: 'XCVR not inserted' - portch: '--' - description: '' - +- description: '' + interface: mgmt0 + ip: 10.1.100.220 + mode: '' + mtu: '1500' + portch: '' + reason: '' + speed: '100' + status: up + type: '' + vlan: '' + vrf: -- +- description: '' + interface: Eth1/1 + ip: '' + mode: access + mtu: '' + portch: -- + reason: none + speed: 10G(D) + status: up + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/2 + ip: '' + mode: access + mtu: '' + portch: -- + reason: none + speed: 10G(D) + status: up + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/3 + ip: '' + mode: access + mtu: '' + portch: -- + reason: none + speed: 10G(D) + status: up + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/4 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/5 + ip: '' + mode: routed + mtu: '' + portch: -- + reason: Administratively down + speed: auto(D) + status: down + type: eth + vlan: -- + vrf: '' +- description: '' + interface: Eth1/6 + ip: '' + mode: routed + mtu: '' + portch: -- + reason: Administratively down + speed: auto(D) + status: down + type: eth + vlan: -- + vrf: '' +- description: '' + interface: Eth1/7 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/8 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/9 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/10 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/11 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/12 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/13 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/14 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/15 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/16 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/17 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/18 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/19 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/20 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/21 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/22 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/23 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/24 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/25 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/26 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/27 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/28 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/29 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/30 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/31 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/32 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/33 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/34 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/35 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/36 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/37 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/38 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/39 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/40 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/41 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/42 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/43 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/44 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/45 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/46 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/47 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/48 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/49 + ip: '' + mode: access + mtu: '' + portch: -- + reason: none + speed: 40G(D) + status: up + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/50 + ip: '' + mode: access + mtu: '' + portch: -- + reason: Link not connected + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/51 + ip: '' + mode: access + mtu: '' + portch: -- + reason: XCVR not inserted + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/52 + ip: '' + mode: access + mtu: '' + portch: -- + reason: XCVR not inserted + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/53 + ip: '' + mode: fabric + mtu: '' + portch: -- + reason: XCVR not inserted + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' +- description: '' + interface: Eth1/54 + ip: '' + mode: pvlan + mtu: '' + portch: -- + reason: XCVR not inserted + speed: auto(D) + status: down + type: eth + vlan: '1' + vrf: '' diff --git a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.raw b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.raw index 05c8a835e6..841f2c4fa1 100644 --- a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.raw +++ b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.raw @@ -60,8 +60,8 @@ Eth1/49 1 eth access up none 40G(D) -- Eth1/50 1 eth access down Link not connected auto(D) -- Eth1/51 1 eth access down XCVR not inserted auto(D) -- Eth1/52 1 eth access down XCVR not inserted auto(D) -- -Eth1/53 1 eth access down XCVR not inserted auto(D) -- -Eth1/54 1 eth access down XCVR not inserted auto(D) -- +Eth1/53 1 eth fabric down XCVR not inserted auto(D) -- +Eth1/54 1 eth pvlan down XCVR not inserted auto(D) -- -------------------------------------------------------------------------------- Interface Status Description From 25fbf987a391a6748485a3f59751b492653e0cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Pivarn=C3=ADk?= Date: Tue, 1 Oct 2019 17:05:48 +0200 Subject: [PATCH 289/628] bug_fix: cisco_asa_show_failover - account for ASA Firepower module --- templates/cisco_asa_show_failover.template | 2 + .../cisco_asa_show_failover_firepower.parsed | 32 +++++++++ .../cisco_asa_show_failover_firepower.raw | 65 +++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.parsed create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.raw diff --git a/templates/cisco_asa_show_failover.template b/templates/cisco_asa_show_failover.template index 0201df6f03..ff1c3a3cac 100644 --- a/templates/cisco_asa_show_failover.template +++ b/templates/cisco_asa_show_failover.template @@ -57,6 +57,7 @@ ThisHost ^\s*Other\s+host:.+?-\s+${SERVICE_STATE_MATE}\s*$$ -> OtherHost ^\s*Other\s+host:\s+\S+\s*$$ -> OtherHost ^\s*slot\s+\d+:\s+empty\s*$$ + ^\s*ASA\s+FirePOWER ^\s*$$ ^. -> Error @@ -68,6 +69,7 @@ OtherHost # Service module has different line ^\s*\S+,\s+\S+,\s+\S+\s*$$ ^\s*slot\s+\d+:\s+empty\s*$$ + ^\s*ASA\s+FirePOWER ^Stateful\s+Failover\s+Logical\s+Update\s+Statistics\s*$$ -> Stats ^\s*$$ ^. -> Error diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.parsed new file mode 100644 index 0000000000..1db9def142 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.parsed @@ -0,0 +1,32 @@ +--- +parsed_sample: + - state: "On" + role: "Secondary" + lan_intf_name: "FAILOVER" + lan_intf: "Port-channel1" + lan_intf_state: "up" + sw_version: "9.6(4)5" + sw_version_mate: "9.6(4)5" + failover_group: [None] + last_failover_time: ["15:04:07"] + last_failover_timezone: ["MET"] + last_failover_month: ["Feb"] + last_failover_day: ["21"] + last_failover_year: ["2019"] + service_state: ["Active"] + service_state_mate: ["Standby Ready"] + ssp_slot: ["1", "2"] + ssp_model: ["ASA5516", "SFR5516"] + ssp_status: ["Up", "Up/Up"] + ssp_slot_mate: ["1", "2"] + ssp_model_mate: ["ASA5516", "SFR5516"] + ssp_status_mate: ["Up", "Up/Up"] + interfaces_context: [None, None, None] + interfaces: ["outside", "dmz", "inside"] + interfaces_status: ["Normal", "Normal", "Normal"] + interfaces_state: ["Waiting", "Monitored", "Monitored"] + interfaces_context_mate: [None, None, None] + interfaces_mate: ["outside", "dmz", "inside"] + interfaces_status_mate: ["Normal", "Normal", "Normal"] + interfaces_state_mate: ["Waiting", "Monitored", "Monitored"] + diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.raw b/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.raw new file mode 100644 index 0000000000..f6ce29cd5c --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.raw @@ -0,0 +1,65 @@ +Failover On +Failover unit Secondary +Failover LAN Interface: FAILOVER Port-channel1 (up) +Reconnect timeout 0:00:00 +Unit Poll frequency 1 seconds, holdtime 5 seconds +Interface Poll frequency 1 seconds, holdtime 5 seconds +Interface Policy 1 +Monitored Interfaces 3 of 160 maximum +MAC Address Move Notification Interval not set +failover replication http +Version: Ours 9.6(4)5, Mate 9.6(4)5 +Serial Number: Ours JAD201603CM, Mate JAD193905FV +Last Failover at: 15:04:07 MET Feb 21 2019 + This host: Secondary - Active + Active time: 19157465 (sec) + slot 1: ASA5516 hw/sw rev (3.1/9.6(4)5) status (Up Sys) + Interface outside (192.168.1.1): Normal (Waiting) + Interface dmz (192.168.2.1): Normal (Monitored) + Interface inside (10.41.2.34): Normal (Monitored) + slot 2: SFR5516 hw/sw rev (N/A/5.4.1-211) status (Up/Up) + ASA FirePOWER, 5.4.1-211, Up, (Monitored) + Other host: Primary - Standby Ready + Active time: 0 (sec) + slot 1: ASA5516 hw/sw rev (3.1/9.6(4)5) status (Up Sys) + Interface outside (192.168.1.2): Normal (Waiting) + Interface dmz (192.168.2.1): Normal (Monitored) + Interface inside (10.41.2.35): Normal (Monitored) + slot 2: SFR5516 hw/sw rev (N/A/5.4.1-211) status (Up/Up) + ASA FirePOWER, 5.4.1-211, Up, (Monitored) + +Stateful Failover Logical Update Statistics + Link : FAILOVER Port-channel1 (up) + Stateful Obj xmit xerr rcv rerr + General 2328225841 0 1677167694 646 + sys cmd 4246925 0 4246925 0 + up time 0 0 0 0 + RPC services 0 0 0 0 + TCP conn 1985946559 0 1459317209 629 + UDP conn 337660641 0 213539388 6 + ARP tbl 25482 0 17670 0 + Xlate_Timeout 0 0 0 0 + IPv6 ND tbl 0 0 0 0 + VPN IKEv1 SA 14790 0 9853 0 + VPN IKEv1 P2 51315 0 36648 0 + VPN IKEv2 SA 277984 0 0 0 + VPN IKEv2 P2 2143 0 0 0 + VPN CTCP upd 0 0 0 0 + VPN SDI upd 0 0 0 0 + VPN DHCP upd 0 0 0 0 + SIP Session 0 0 0 0 + SIP Tx 0 0 0 0 + SIP Pinhole 0 0 0 0 + Route Session 0 0 0 11 + Router ID 0 0 0 0 + User-Identity 2 0 1 0 + CTS SGTNAME 0 0 0 0 + CTS PAC 0 0 0 0 + TrustSec-SXP 0 0 0 0 + IPv6 Route 0 0 0 0 + STS Table 0 0 0 0 + + Logical Update Queue Information + Cur Max Total + Recv Q: 0 23 1698419665 + Xmit Q: 0 32 2360626510 From 813f1c9cdcd93186ebc0d5ee0a512a93ff74b041 Mon Sep 17 00:00:00 2001 From: dainok Date: Tue, 1 Oct 2019 17:12:28 +0200 Subject: [PATCH 290/628] new_template: watchguard_firebox_show_arp --- templates/index | 2 ++ .../watchguard_firebox_show_arp.template | 11 ++++++++++ tests/test_index_order.py | 2 +- .../watchguard_firebox_show_arp.parsed | 21 +++++++++++++++++++ .../show_arp/watchguard_firebox_show_arp.raw | 9 ++++++++ 5 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 templates/watchguard_firebox_show_arp.template create mode 100644 tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.parsed create mode 100644 tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.raw diff --git a/templates/index b/templates/index index 1b22486436..3e82710afe 100644 --- a/templates/index +++ b/templates/index @@ -326,3 +326,5 @@ vmware_nsxv_show_ip_route.template, .*, vmware_nsxv, sh[[ow]] ip r[[oute]] vyatta_vyos_show_interfaces.template, .*, .*vyos.*, sh[[ow]] int[[erfaces]] vyatta_vyos_show_arp.template, .*, .*vyos.*, sh[[ow]] a[[rp]] + +watchguard_firebox_show_arp.template, .*, watchguard_firebox, sh[[ow]] arp diff --git a/templates/watchguard_firebox_show_arp.template b/templates/watchguard_firebox_show_arp.template new file mode 100644 index 0000000000..dff1bf5dce --- /dev/null +++ b/templates/watchguard_firebox_show_arp.template @@ -0,0 +1,11 @@ +Value INTERFACE (\S+) +Value IP ([0-9.]+) +Value MAC ([0-9a-fA-F:]+|incomplete) + +Start + ^-- + ^--\s+ARP\s+Table + ^-- + ^\?\s+\(${IP}\)\s+at\s+<*${MAC}>*\s+(\[\S+\]\s*)?([A-Z]+\s*)?on\s+${INTERFACE} -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 3eef5cda63..56ca39c502 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -63,7 +63,7 @@ def test_index_ordering(): 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'juniper_screenos', 'alcatel_sros', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh', - 'ubiquiti_edgeswitch', 'vmware_nsxv', 'vyatta_vyos', 'vyos', + 'ubiquiti_edgeswitch', 'vmware_nsxv', 'vyatta_vyos', 'vyos', 'watchguard_firebox', ] prior_os = "" diff --git a/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.parsed b/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.parsed new file mode 100644 index 0000000000..7b21bd80ea --- /dev/null +++ b/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.parsed @@ -0,0 +1,21 @@ +--- +parsed_sample: + +- interface: vlan1 + ip: 10.0.0.6 + mac: '00:01:02:03:04:c8' +- interface: vlan2 + ip: 10.1.0.10 + mac: '00:01:02:03:04:90' +- interface: vlan3 + ip: 10.2.0.1 + mac: '00:01:02:03:04:6a' +- interface: vlan4 + ip: 10.3.0.8 + mac: 'incomplete' +- interface: vlan5 + ip: 10.4.0.4 + mac: '00:01:02:03:04:ee' +- interface: eth0 + ip: 10.5.0.4 + mac: '00:01:02:03:04:05' diff --git a/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.raw b/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.raw new file mode 100644 index 0000000000..6cf3ace208 --- /dev/null +++ b/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.raw @@ -0,0 +1,9 @@ +-- +-- ARP Table +-- +? (10.0.0.6) at 00:01:02:03:04:c8 [ether] on vlan1 +? (10.1.0.10) at 00:01:02:03:04:90 [ether] on vlan2 +? (10.2.0.1) at 00:01:02:03:04:6a [ether] on vlan3 +? (10.3.0.8) at on vlan4 +? (10.4.0.4) at 00:01:02:03:04:ee [ether] on vlan5 +? (10.5.0.4) at 00:01:02:03:04:05 [ether] PERM on eth0 From 7fc09b6cc0a3e71c5b11acd17612e6fcd0e91e82 Mon Sep 17 00:00:00 2001 From: nnaukwal <53108100+nnaukwal@users.noreply.github.com> Date: Mon, 7 Oct 2019 13:58:14 +1100 Subject: [PATCH 291/628] enhancement: nxos_sh_ip_bgp_nei - added in/outbound route maps --- .../cisco_nxos_show_ip_bgp_neighbors.template | 4 + .../cisco_nxos_show_ip_bgp_neighbors.parsed | 106 +++++++++++++++++- ..._ip_bgp_neighbors_with_policy_names.parsed | 53 +++++++++ ...how_ip_bgp_neighbors_with_policy_names.raw | 59 ++++++++++ 4 files changed, 220 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.parsed create mode 100644 tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.raw diff --git a/templates/cisco_nxos_show_ip_bgp_neighbors.template b/templates/cisco_nxos_show_ip_bgp_neighbors.template index 07a9fad5b8..b86060bdff 100644 --- a/templates/cisco_nxos_show_ip_bgp_neighbors.template +++ b/templates/cisco_nxos_show_ip_bgp_neighbors.template @@ -48,6 +48,8 @@ Value TOTAL_MESS_COUNT_RCVD (\d+) Value TOTAL_BYTES_COUNT_RCVD (\d+) Value TOTAL_BYTES_SEND_QUEUE (\d+) Value TOTAL_BYTES_RCVD_QUEUE (\d+) +Value INBOUND_ROUTEMAP (\S+) +Value OUTBOUND_ROUTEMAP (\S+) Start ^BGP neighbor is ${NEIGHBOR},\s+remote AS\s+${ASN},.* @@ -86,6 +88,8 @@ AddrFamState ^\s+BGP table version ${TABLE_VERSION}, neighbor version ${NEI_TABLE_VERSION} ^\s+${ACCEPTED_PATHS} accepted paths consume ${CONSUMED_MEM} bytes of memory ^\s+${SENT_PATHS} sent paths + ^\s+Inbound\s+route-map\s+configured\s+is\s+${INBOUND_ROUTEMAP},\s+handle\s+obtained + ^\s+Outbound\s+route-map\s+configured\s+is\s+${OUTBOUND_ROUTEMAP},\s+handle\s+obtained ^\s+Last End-of-RIB received [\d:]+ after session start -> AddrFamState ^\s+Local host:\s+${LOCALHOST_IP}, Local port:\s+${LOCALHOST_PORT} ^\s+Foreign host:\s+${REMOTE_IP}, Foreign port:\s+${REMOTE_PORT} -> Record Start diff --git a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed index a87e779231..e9cba25745 100644 --- a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed +++ b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed @@ -1,6 +1,8 @@ --- parsed_sample: - accepted_paths: '8458' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast, L2VPN EVPN] @@ -51,6 +53,8 @@ parsed_sample: updates_count_sent: '8514' uptime: 1d01h - accepted_paths: '8458' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast, L2VPN EVPN] @@ -101,6 +105,8 @@ parsed_sample: updates_count_sent: '8559' uptime: 1w0d - accepted_paths: '8458' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast, L2VPN EVPN] @@ -151,6 +157,8 @@ parsed_sample: updates_count_sent: '8558' uptime: 3d21h - accepted_paths: '8458' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast, L2VPN EVPN] @@ -201,6 +209,8 @@ parsed_sample: updates_count_sent: '8566' uptime: 3d15h - accepted_paths: '0' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -251,6 +261,8 @@ parsed_sample: updates_count_sent: '1' uptime: 3d15h - accepted_paths: '0' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -301,6 +313,8 @@ parsed_sample: updates_count_sent: '1' uptime: 3d15h - accepted_paths: '51195' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: '' addr_fam_rcv: '' addr_family: [IPv4 Unicast, IPv4 Unicast, IPv4 Unicast] @@ -351,6 +365,8 @@ parsed_sample: updates_count_sent: '0' uptime: 3d16h - accepted_paths: '51195' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -401,6 +417,8 @@ parsed_sample: updates_count_sent: '937989' uptime: 13w2d - accepted_paths: '117' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -451,6 +469,8 @@ parsed_sample: updates_count_sent: '1534229' uptime: 13w2d - accepted_paths: '2' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -501,6 +521,8 @@ parsed_sample: updates_count_sent: '1534343' uptime: 13w2d - accepted_paths: '2' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -551,6 +573,8 @@ parsed_sample: updates_count_sent: '1533678' uptime: 13w2d - accepted_paths: '12' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -601,6 +625,8 @@ parsed_sample: updates_count_sent: '1533676' uptime: 13w2d - accepted_paths: '9' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -651,6 +677,8 @@ parsed_sample: updates_count_sent: '1533414' uptime: 13w2d - accepted_paths: '12' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -701,6 +729,8 @@ parsed_sample: updates_count_sent: '1533446' uptime: 13w2d - accepted_paths: '10' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -751,6 +781,8 @@ parsed_sample: updates_count_sent: '1534639' uptime: 13w2d - accepted_paths: '3' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -801,6 +833,8 @@ parsed_sample: updates_count_sent: '1532707' uptime: 13w2d - accepted_paths: '1' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -851,6 +885,8 @@ parsed_sample: updates_count_sent: '1532747' uptime: 13w2d - accepted_paths: '247' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -901,6 +937,8 @@ parsed_sample: updates_count_sent: '1532440' uptime: 13w2d - accepted_paths: '61' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -951,6 +989,8 @@ parsed_sample: updates_count_sent: '1531755' uptime: 13w2d - accepted_paths: '324' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1001,6 +1041,8 @@ parsed_sample: updates_count_sent: '1529417' uptime: 13w2d - accepted_paths: '258' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1051,6 +1093,8 @@ parsed_sample: updates_count_sent: '1534379' uptime: 13w2d - accepted_paths: '265' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1101,6 +1145,8 @@ parsed_sample: updates_count_sent: '1532715' uptime: 13w2d - accepted_paths: '33' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1151,6 +1197,8 @@ parsed_sample: updates_count_sent: '1532601' uptime: 13w2d - accepted_paths: '7' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1201,6 +1249,8 @@ parsed_sample: updates_count_sent: '1533067' uptime: 13w2d - accepted_paths: '6' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: '' addr_fam_rcv: '' addr_family: [IPv4 Unicast, IPv4 Unicast] @@ -1251,6 +1301,8 @@ parsed_sample: updates_count_sent: '0' uptime: 13w2d - accepted_paths: '54' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1301,6 +1353,8 @@ parsed_sample: updates_count_sent: '1531655' uptime: 13w2d - accepted_paths: '94' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1351,6 +1405,8 @@ parsed_sample: updates_count_sent: '1533153' uptime: 13w2d - accepted_paths: '155' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1401,6 +1457,8 @@ parsed_sample: updates_count_sent: '1530946' uptime: 13w2d - accepted_paths: '358' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1451,6 +1509,8 @@ parsed_sample: updates_count_sent: '1530832' uptime: 13w2d - accepted_paths: '5' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1501,6 +1561,8 @@ parsed_sample: updates_count_sent: '1532184' uptime: 13w2d - accepted_paths: '3' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1551,6 +1613,8 @@ parsed_sample: updates_count_sent: '1533949' uptime: 13w2d - accepted_paths: '5' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1601,6 +1665,8 @@ parsed_sample: updates_count_sent: '1531502' uptime: 13w2d - accepted_paths: '5' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1651,6 +1717,8 @@ parsed_sample: updates_count_sent: '1533275' uptime: 13w2d - accepted_paths: '3' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1701,6 +1769,8 @@ parsed_sample: updates_count_sent: '1531346' uptime: 13w2d - accepted_paths: '21' + outbound_routemap: 'DENY_ALL' + inbound_routemap: '' addr_fam_adv: '' addr_fam_rcv: '' addr_family: [IPv4 Unicast, IPv4 Unicast] @@ -1751,6 +1821,8 @@ parsed_sample: updates_count_sent: '0' uptime: 13w2d - accepted_paths: '6' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1801,6 +1873,8 @@ parsed_sample: updates_count_sent: '1531827' uptime: 13w2d - accepted_paths: '32' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1851,6 +1925,8 @@ parsed_sample: updates_count_sent: '1533270' uptime: 13w2d - accepted_paths: '6' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1901,6 +1977,8 @@ parsed_sample: updates_count_sent: '1549371' uptime: 9w4d - accepted_paths: '110' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1951,6 +2029,8 @@ parsed_sample: updates_count_sent: '1578342' uptime: 1d06h - accepted_paths: '55' + outbound_routemap: 'ALLOW_DEFAULT' + inbound_routemap: '' addr_fam_adv: '' addr_fam_rcv: '' addr_family: [IPv4 Unicast, IPv4 Unicast] @@ -2001,6 +2081,8 @@ parsed_sample: updates_count_sent: '0' uptime: 13w2d - accepted_paths: '642' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2051,6 +2133,8 @@ parsed_sample: updates_count_sent: '1527603' uptime: 13w2d - accepted_paths: '11' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2101,6 +2185,8 @@ parsed_sample: updates_count_sent: '1535502' uptime: 13w2d - accepted_paths: '1' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2151,6 +2237,8 @@ parsed_sample: updates_count_sent: '1533672' uptime: 13w2d - accepted_paths: '26' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2201,6 +2289,8 @@ parsed_sample: updates_count_sent: '1533539' uptime: 13w2d - accepted_paths: '4' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2251,6 +2341,8 @@ parsed_sample: updates_count_sent: '1563738' uptime: 10w5d - accepted_paths: '5' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2301,6 +2393,8 @@ parsed_sample: updates_count_sent: '1533546' uptime: 13w2d - accepted_paths: '1' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2351,6 +2445,8 @@ parsed_sample: updates_count_sent: '1534921' uptime: 13w2d - accepted_paths: '51100' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2401,6 +2497,8 @@ parsed_sample: updates_count_sent: '913861' uptime: 12w6d - accepted_paths: '51100' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2451,6 +2549,8 @@ parsed_sample: updates_count_sent: '955014' uptime: 11w4d - accepted_paths: '52809' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2501,6 +2601,8 @@ parsed_sample: updates_count_sent: '1321374' uptime: 11w5d - accepted_paths: '12901' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2551,6 +2653,8 @@ parsed_sample: updates_count_sent: '1506061' uptime: 13w2d - accepted_paths: '2159' + outbound_routemap: '' + inbound_routemap: '' addr_fam_adv: IPv4 Unicast IPv6 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast, IPv6 Unicast, L2VPN EVPN] @@ -2600,5 +2704,3 @@ parsed_sample: updates_count_rcvd: '' updates_count_sent: '4200' uptime: 3w5d - - diff --git a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.parsed b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.parsed new file mode 100644 index 0000000000..bb64514ff8 --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.parsed @@ -0,0 +1,53 @@ +parsed_sample: +- accepted_paths: '38' + addr_fam_adv: 'IPv4 Unicast ' + addr_fam_rcv: '' + addr_family: [IPv4 Unicast] + asn: '64514' + bgp_state: Established + capability_count_rcvd: '0' + capability_count_sent: '0' + conn_dropped: '12' + conn_estab: '13' + consumed_mem: '2128' + description: '' + ext_nh_cap: advertised received + fourbyte_cap: 'advertised received ' + graceful_cap: advertised received + inbound_routemap: RM-GTT-IN + keepalives_count_rcvd: '653391' + keepalives_count_sent: '653262' + last_peer_reset: never + last_peer_reset_reason: No error + last_reset: 2d00h + last_reset_reason: bfd session down + localhost_ip: 10.20.0.1 + localhost_port: '61055' + nei_table_version: ['9374'] + neighbor: 10.20.0.2 + notifications_count_rcvd: '0' + notifications_count_sent: '0' + opens_count_rcvd: '58' + opens_count_sent: '13' + outbound_routemap: RM-GTT-OUT + remote_ip: 10.20.0.2 + remote_port: '179' + restart_time_adv: '120' + restart_time_rcv: '120' + route_refresh_count_rcvd: '2' + route_refresh_count_sent: '0' + rr_new_cap: 'advertised received ' + rr_old_cap: 'advertised received ' + sent_paths: '59' + source_iface: Ethernet1/6 + stale_time: '300' + table_version: ['9374'] + total_bytes_count_rcvd: '12419276' + total_bytes_count_sent: '12464192' + total_bytes_rcvd_queue: '0' + total_bytes_send_queue: '0' + total_mess_count_rcvd: '653464' + total_mess_count_sent: '653851' + updates_count_rcvd: '' + updates_count_sent: '576' + uptime: 2d00h diff --git a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.raw b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.raw new file mode 100644 index 0000000000..f6db6b36c2 --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.raw @@ -0,0 +1,59 @@ +BGP neighbor is 10.20.0.2, remote AS 64514, ebgp link, Peer index 1 + BGP version 4, remote router ID 10.10.255.1 + BGP state = Established, up for 2d00h + Peer is directly attached, interface Ethernet1/6 + Enable logging neighbor events + BFD live-detection is configured and enabled, state is Up + Last read 0.791823, hold time = 15, keepalive interval is 5 seconds + Last written 0.168722, keepalive timer expiry due 00:00:04 + Received 653464 messages, 0 notifications, 0 bytes in queue + Sent 653851 messages, 0 notifications, 0 bytes in queue + Connections established 13, dropped 12 + Last reset by us 2d00h, due to bfd session down + Last reset by peer never, due to No error + Neighbor capabilities: + Dynamic capability: advertised (mp, refresh, gr) received (mp, refresh, gr) + Dynamic capability (old): advertised received + Route refresh capability (new): advertised received + Route refresh capability (old): advertised received + 4-Byte AS capability: advertised received + Address family IPv4 Unicast: advertised received + Graceful Restart capability: advertised received + Graceful Restart Parameters: + Address families advertised to peer: + IPv4 Unicast + Address families received from peer: + IPv4 Unicast + Forwarding state preserved by peer for: + Restart time advertised to peer: 120 seconds + Stale time for routes advertised by peer: 300 seconds + Restart time advertised by peer: 120 seconds + Extended Next Hop Encoding Capability: advertised received + Receive IPv6 next hop encoding Capability for AF: + IPv4 Unicast + Message statistics: + Sent Rcvd + Opens: 13 13 + Notifications: 0 0 + Updates: 576 58 + Keepalives: 653262 653391 + Route Refresh: 0 2 + Capability: 0 0 + Total: 653851 653464 + Total bytes: 12464192 12419276 + Bytes in queue: 0 0 + For address family: IPv4 Unicast + BGP table version 9374, neighbor version 9374 + 38 accepted paths consume 2128 bytes of memory + First Update Rcvd : 2d00h + Last Update Rcvd : 2d00h + 59 sent paths + First Update Sent : 2d00h + Last Update Sent : 2d00h + Inbound soft reconfiguration allowed(always) + Inbound route-map configured is RM-GTT-IN, handle obtained + Outbound route-map configured is RM-GTT-OUT, handle obtained + Last End-of-RIB received 00:00:01 after session start + Local host: 10.20.0.1, Local port: 61055 + Foreign host: 10.20.0.2, Foreign port: 179 + fd = 52 From ca106878473a9dcb1c53181df387962a19520c3f Mon Sep 17 00:00:00 2001 From: Thomas Bridge Date: Mon, 7 Oct 2019 04:01:16 +0100 Subject: [PATCH 292/628] enhancement: cisco_ios_show_ip_eigrp_topology - Added source --- .../cisco_ios_show_ip_eigrp_topology.template | 6 +- .../cisco_ios_show_ip_eigrp_topology.parsed | 7 + .../cisco_ios_show_ip_eigrp_topology1.parsed | 134 ++++++++++++++++++ .../cisco_ios_show_ip_eigrp_topology1.raw | 44 ++++++ 4 files changed, 190 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.parsed create mode 100644 tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.raw diff --git a/templates/cisco_ios_show_ip_eigrp_topology.template b/templates/cisco_ios_show_ip_eigrp_topology.template index 14af0dd85f..a8dd1e1180 100644 --- a/templates/cisco_ios_show_ip_eigrp_topology.template +++ b/templates/cisco_ios_show_ip_eigrp_topology.template @@ -4,10 +4,11 @@ Value Required CODE (\S+) Value ROUTE (\d+\.\d+\.\d+\.\d+) Value MASK (\d+) Value SUCCESSORS (\d+) -Value FD (\d+) +Value FD (\d+|Inaccessible) Value TAG (\d+) Value List ADV_ROUTER (\d+\.\d+\.\d+\.\d+|\w+) Value List OUT_INTERFACE (\S+) +Value SOURCE (R\S+) Start # Captures Process ID and Router ID @@ -28,6 +29,8 @@ Start Gateway # This captures the advertising router and outgoing interface ^\s+via\s+${ADV_ROUTER},\s+${OUT_INTERFACE} + # This captures the scenarion where the route is injected via Redistribution. + ^\s+via\s+${SOURCE} # This will not capture anything but if it encounters another route, it will continue and record what it already captured ^\S+\s+(?:\d+(?:\.|)){4}/\d+,\s+\d+\s+successors -> Continue.Record # These are the same as above and capture the next set of routes @@ -44,3 +47,4 @@ Gateway ^\s*$$ # This will throw an error if there are no matches ^. -> Error + diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed index 62afce2d7f..68bc105a51 100644 --- a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed @@ -11,6 +11,7 @@ parsed_sample: fd: "264448" tag: "" successors: "2" + source: "" - router_id: "10.255.11.6" code: "P" @@ -22,6 +23,7 @@ parsed_sample: fd: "1024" tag: "" successors: "1" + source: "" - router_id: "10.255.11.6" code: "P" @@ -33,6 +35,7 @@ parsed_sample: fd: "5632" tag: "53471" successors: "2" + source: "" - router_id: "10.255.11.6" code: "P" @@ -44,6 +47,7 @@ parsed_sample: fd: "130816" tag: "" successors: "1" + source: "" - router_id: "10.255.11.6" code: "P" @@ -55,6 +59,7 @@ parsed_sample: fd: "128768" tag: "" successors: "1" + source: "" - router_id: "10.255.11.6" code: "P" @@ -66,6 +71,7 @@ parsed_sample: fd: "768" tag: "" successors: "1" + source: "" - router_id: "10.255.11.6" code: "P" @@ -77,3 +83,4 @@ parsed_sample: fd: "128768" tag: "" successors: "4" + source: "" diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.parsed b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.parsed new file mode 100644 index 0000000000..4e85d97b81 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.parsed @@ -0,0 +1,134 @@ +--- +parsed_sample: + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['TenGigabitEthernet1/1', 'TenGigabitEthernet2/1'] + route: "66.128.208.232" + mask: "32" + adv_router: ['10.254.11.9', '10.254.11.33'] + process_id: "100" + fd: "264448" + tag: "" + successors: "2" + source: "" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['Port-channel10'] + route: "10.254.6.8" + mask: "30" + adv_router: ['10.254.6.14'] + process_id: "100" + fd: "1024" + tag: "" + successors: "1" + source: "" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['TenGigabitEthernet1/1', 'TenGigabitEthernet2/1'] + route: "67.230.223.128" + mask: "28" + adv_router: ['10.254.11.9', '10.254.11.33'] + process_id: "100" + fd: "5632" + tag: "53471" + successors: "2" + source: "" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['GigabitEthernet9/29'] + route: "10.255.10.5" + mask: "32" + adv_router: ['10.254.10.34'] + process_id: "100" + fd: "130816" + tag: "" + successors: "1" + source: "" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['Port-channel3'] + route: "10.255.1.14" + mask: "32" + adv_router: ['10.254.1.34'] + process_id: "100" + fd: "128768" + tag: "" + successors: "1" + source: "" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['TenGigabitEthernet3/3'] + route: "10.254.2.12" + mask: "30" + adv_router: ['10.254.2.22'] + process_id: "100" + fd: "768" + tag: "" + successors: "1" + source: "" + +- router_id: "10.255.11.6" + code: "P" + out_interface: ['TenGigabitEthernet1/4', 'TenGigabitEthernet1/6', 'TenGigabitEthernet2/1', 'TenGigabitEthernet1/1', 'TenGigabitEthernet1/5', 'TenGigabitEthernet4/4', 'TenGigabitEthernet4/5', 'TenGigabitEthernet1/3'] + route: "10.255.11.4" + mask: "32" + adv_router: ['10.254.56.6', '10.254.55.6', '10.254.11.33', '10.254.11.9', '10.254.52.6', '10.254.4.10', '10.254.4.14', '10.254.54.6'] + process_id: "100" + fd: "128768" + tag: "" + successors: "4" + source: "" + +- router_id: "10.2.0.1" + code: "P" + out_interface: ['GigabitEthernet1/1', 'GigabitEthernet1/2'] + route: "10.50.20.4" + mask: "32" + adv_router: ['10.4.0.1', '10.4.0.2'] + process_id: "65000" + fd: "128039168" + tag: "" + successors: "2" + source: "" + +- router_id: "10.2.0.1" + code: "P" + out_interface: ['GigabitEthernet1/1', 'GigabitEthernet1/2'] + route: "10.50.21.0" + mask: "27" + adv_router: ['10.4.0.1', '10.4.0.2'] + process_id: "65000" + fd: "Inaccessible" + tag: "6508497" + successors: "0" + source: "" + +- router_id: "10.2.0.1" + code: "P" + out_interface: [] + route: "10.50.75.0" + mask: "24" + adv_router: [] + process_id: "65000" + fd: "2816" + tag: "" + successors: "1" + source: "Rstatic" + +- router_id: "10.2.0.1" + code: "P" + out_interface: [] + route: "10.50.23.92" + mask: "30" + adv_router: [] + process_id: "65000" + fd: "3840256" + tag: "5507497" + successors: "1" + source: "Redistributed" \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.raw b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.raw new file mode 100644 index 0000000000..77b04f4859 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.raw @@ -0,0 +1,44 @@ +IP-EIGRP Topology Table for AS(100)/ID(10.255.11.6) + +Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, + r - reply Status, s - sia Status + +P 66.128.208.232/32, 2 successors, FD is 264448 + via 10.254.11.9, TenGigabitEthernet1/1 + via 10.254.11.33, TenGigabitEthernet2/1 +P 10.254.6.8/30, 1 successors, FD is 1024 + via 10.254.6.14, Port-channel10 +P 67.230.223.128/28, 2 successors, FD is 5632, tag is 53471 + via 10.254.11.9, TenGigabitEthernet1/1 + via 10.254.11.33, TenGigabitEthernet2/1 +P 10.255.10.5/32, 1 successors, FD is 130816 + via 10.254.10.34, GigabitEthernet9/29 +P 10.255.1.14/32, 1 successors, FD is 128768 + via 10.254.1.34, Port-channel3 +P 10.254.2.12/30, 1 successors, FD is 768 + via 10.254.2.22, TenGigabitEthernet3/3 +P 10.255.11.4/32, 4 successors, FD is 128768 + via 10.254.56.6, TenGigabitEthernet1/4 + via 10.254.55.6, TenGigabitEthernet1/6 + via 10.254.11.33, TenGigabitEthernet2/1 + via 10.254.11.9, TenGigabitEthernet1/1 + via 10.254.52.6, TenGigabitEthernet1/5 + via 10.254.4.10, TenGigabitEthernet4/4 + via 10.254.4.14, TenGigabitEthernet4/5 + via 10.254.54.6, TenGigabitEthernet1/3 + +IP-EIGRP Topology Table for AS(65000)/ID(10.2.0.1) + +Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, + r - reply Status, s - sia Status + +P 10.50.20.4/32, 2 successors, FD is 128039168 + via 10.4.0.1, GigabitEthernet1/1 + via 10.4.0.2, GigabitEthernet1/2 +P 10.50.21.0/27, 0 successors, FD is Inaccessible, tag is 6508497 + via 10.4.0.1, GigabitEthernet1/1 + via 10.4.0.2, GigabitEthernet1/2 +P 10.50.75.0/24, 1 successors, FD is 2816 + via Rstatic +P 10.50.23.92/30, 1 successors, FD is 3840256, tag is 5507497 + via Redistributed From e1d8b64a75b1494850425b938a17d7705f8e9446 Mon Sep 17 00:00:00 2001 From: charlesmonson <32397383+charlesmonson@users.noreply.github.com> Date: Sun, 6 Oct 2019 22:39:14 -0500 Subject: [PATCH 293/628] new_template: cisco_xr_admin_show_inventory --- .../cisco_xr_admin_show_inventory.template | 17 +++++++ templates/index | 1 + .../cisco_xr_admin_show_inventory.parsed | 48 +++++++++++++++++++ .../cisco_xr_admin_show_inventory.raw | 28 +++++++++++ 4 files changed, 94 insertions(+) create mode 100644 templates/cisco_xr_admin_show_inventory.template create mode 100644 tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.parsed create mode 100644 tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.raw diff --git a/templates/cisco_xr_admin_show_inventory.template b/templates/cisco_xr_admin_show_inventory.template new file mode 100644 index 0000000000..dce50143a4 --- /dev/null +++ b/templates/cisco_xr_admin_show_inventory.template @@ -0,0 +1,17 @@ +Value NAME (.*) +Value DESCR (.*) +Value PID (([\S+]+|.*)) +Value VID (.*) +Value SN ([\w+\d+]+) + +Start + ^NAME:\s+"${NAME}",\s+DESCR:\s+"${DESCR}" + ^PID:\s+${PID}.*,.*VID:\s+${VID},.*SN:\s+${SN} -> Record + ^PID:\s+,.*VID:\s+${VID},.*SN: -> Record + ^PID:\s+${PID}.*,.*VID:\s+${VID},.*SN: -> Record + ^PID:\s+,.*VID:\s+${VID},.*SN:\s+${SN} -> Record + ^PID:\s+${PID}.*,.*VID:\s+${VID}.* + ^PID:\s+,.*VID:\s+${VID}.* + ^.*SN:\s+${SN} -> Record + ^.*SN: -> Record + diff --git a/templates/index b/templates/index index 3e82710afe..dbaa95bb4b 100644 --- a/templates/index +++ b/templates/index @@ -260,6 +260,7 @@ cisco_xr_show_cdp_neighbors_detail.template, .*, cisco_xr, sh[[ow]] c[[dp]] neig cisco_xr_show_cef_drops_location.template, .*, cisco_xr, sh[[ow]] cef drops loc[[ation]] cisco_xr_show_ip_interface_brief.template, .*, cisco_xr, sh[[ow]] ip int[[erface]] br[[ief]] cisco_xr_show_redundancy_summary.template, .*, cisco_xr, sh[[ow]] redun[[dancy]] summ[[ary]] +cisco_xr_admin_show_inventory.template, .*, cisco_xr, adm[[in]] sh[[ow]] inven[[tory]] cisco_xr_show_interface_brief.template, .*, cisco_xr, sh[[ow]] int[[erface]] br[[ief]] cisco_xr_admin_show_platform.template, .*, cisco_xr, adm[[in]] sh[[ow]] pla[[tform]] cisco_xr_show_ip_bgp_summary.template, .*, cisco_xr, sh[[ow]] ip b[[gp]] s[[ummary]] diff --git a/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.parsed b/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.parsed new file mode 100644 index 0000000000..ff45e8f69a --- /dev/null +++ b/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.parsed @@ -0,0 +1,48 @@ +--- +parsed_sample: + +- descr: ASR9K Route Switch Processor with 440G/slot Fabric and 6GB + name: module 0/RSP0/CPU0 + pid: A9K-RSP440-TR + sn: M9YXCZV9QF + vid: V06 +- descr: ASR-9006 Fan Tray V2 + name: fantray 0/FT0/SP + pid: ASR-9006-FAN-V2 + sn: PDANV9GYV8H + vid: V09 +- descr: ASR9K Generic Fan + name: fan0 0/FT0/SP + pid: N/A + sn: '' + vid: N/A +- descr: 160G Modular Linecard, Packet Transport Optimized + name: module 0/1/CPU0 + pid: A9K-MOD160-TR + sn: 94TU4CACM47Y + vid: V05 +- descr: ASR 9000 8-port 10GE Modular Port Adapter + name: module 0/1/0 + pid: A9K-MPA-8X10GE + sn: 2ZZQVPHZCJ5 + vid: V02 +- descr: 10GBASE-LR SFP+ Module for SMF + name: module mau 0/1/0/0 + pid: SFP-10G-LR + sn: QMXQLS9GKS + vid: 'V01 ' +- descr: 10GBASE-LR SFP+ Module for SMF + name: module mau TenGigE0/2/CPU0/0 + pid: SFP-10G-LR + sn: CB7HHMVC + vid: 'V01 ' +- descr: 3kW AC V2 Power Module + name: power-module 0/PS0/M0/SP + pid: PWR-3KW-AC-V2 + sn: ZP7K5XBV9KE + vid: V03 +- descr: ASR 9006 4 Line Card Slot Chassis with V2 AC PEM + name: chassis ASR-9006 + pid: ASR-9006 + sn: JCY98XR393D + vid: V01 diff --git a/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.raw b/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.raw new file mode 100644 index 0000000000..e5b0b97c1b --- /dev/null +++ b/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.raw @@ -0,0 +1,28 @@ +Fri Aug 9 09:08:06.986 CDT +NAME: "module 0/RSP0/CPU0", DESCR: "ASR9K Route Switch Processor with 440G/slot Fabric and 6GB" +PID: A9K-RSP440-TR, VID: V06, SN: M9YXCZV9QF + +NAME: "fantray 0/FT0/SP", DESCR: "ASR-9006 Fan Tray V2" +PID: ASR-9006-FAN-V2, VID: V09, SN: PDANV9GYV8H + +NAME: "fan0 0/FT0/SP", DESCR: "ASR9K Generic Fan" +PID: N/A, VID: N/A, SN: + +NAME: "module 0/1/CPU0", DESCR: "160G Modular Linecard, Packet Transport Optimized" +PID: A9K-MOD160-TR, VID: V05, SN: 94TU4CACM47Y + +NAME: "module 0/1/0", DESCR: "ASR 9000 8-port 10GE Modular Port Adapter" +PID: A9K-MPA-8X10GE, VID: V02, SN: 2ZZQVPHZCJ5 + +NAME: "module mau 0/1/0/0", DESCR: "10GBASE-LR SFP+ Module for SMF" +PID: SFP-10G-LR , VID: V01 , SN: QMXQLS9GKS + +NAME: "module mau TenGigE0/2/CPU0/0", DESCR: "10GBASE-LR SFP+ Module for SMF" +PID: SFP-10G-LR , VID: V01 , SN: CB7HHMVC + +NAME: "power-module 0/PS0/M0/SP", DESCR: "3kW AC V2 Power Module" +PID: PWR-3KW-AC-V2, VID: V03, SN: ZP7K5XBV9KE + +NAME: "chassis ASR-9006", DESCR: "ASR 9006 4 Line Card Slot Chassis with V2 AC PEM" +PID: ASR-9006, VID: V01, SN: JCY98XR393D + From f2278e4eb8cbb2c1f52188fd0c6d8b44ef480274 Mon Sep 17 00:00:00 2001 From: targuan Date: Tue, 8 Oct 2019 19:03:59 +0200 Subject: [PATCH 294/628] bug_fix: cisco_ios_show_auth_session - catching --- in newer output --- ..._ios_show_authentication_sessions.template | 1 + ...o_ios_show_authentication_sessions3.parsed | 249 ++++++++++++++++++ ...isco_ios_show_authentication_sessions3.raw | 60 +++++ 3 files changed, 310 insertions(+) create mode 100644 tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.parsed create mode 100644 tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.raw diff --git a/templates/cisco_ios_show_authentication_sessions.template b/templates/cisco_ios_show_authentication_sessions.template index 2302010ea3..7c9a0e42f8 100644 --- a/templates/cisco_ios_show_authentication_sessions.template +++ b/templates/cisco_ios_show_authentication_sessions.template @@ -9,5 +9,6 @@ Start ^Interface\s+MAC Address\s+Method\s+Domain -> Catch Catch + ^-+$$ ^${INTERFACE}\s+${MAC}\s+${METHOD}\s+${DOMAIN}\s+${STATUS}\s+${SESSION}$$ -> Record ^.* -> Start diff --git a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.parsed b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.parsed new file mode 100644 index 0000000000..f7d116250e --- /dev/null +++ b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.parsed @@ -0,0 +1,249 @@ +--- +parsed_sample: + +- domain: DATA + interface: Gi1/0/10 + mac: c89a.12cd.3b74 + method: dot1x + session: 0A0A1DFE00000FB3000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/5 + mac: 848a.12cd.3636 + method: mab + session: 0A0A1DFE00000FBD000101FF + status: Auth +- domain: VOICE + interface: Gi2/0/33 + mac: 848a.12cd.3624 + method: mab + session: 0A0A1DFE00000FBA000101FF + status: Auth +- domain: UNKNOWN + interface: Gi1/0/26 + mac: 005a.12cd.3567 + method: N/A + session: 0A0A1DFE00001F8D160101FF + status: Unauth +- domain: DATA + interface: Gi1/0/26 + mac: 004a.12cd.3c40 + method: mab + session: 0A0A1DFE00001C8D5E0101FF + status: Auth +- domain: VOICE + interface: Gi1/0/43 + mac: 848a.12cd.3db2 + method: mab + session: 0A0A1DFE00000FC8000101FF + status: Auth +- domain: DATA + interface: Gi1/0/20 + mac: 54ea.12cd.3568 + method: dot1x + session: 0A0A1DFE000013DF820101FF + status: Auth +- domain: DATA + interface: Gi2/0/1 + mac: 002a.12cd.3906 + method: mab + session: 0A0A1DFE00000FB2000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/21 + mac: b4ba.12cd.3f3b + method: mab + session: 0A0A1DFE00000FCC000101FF + status: Auth +- domain: DATA + interface: Gi1/0/40 + mac: 002a.12cd.3d7d + method: mab + session: 0A0A1DFE00001D3B990101FF + status: Auth +- domain: DATA + interface: Gi1/0/39 + mac: 8c8a.12cd.3c83 + method: dot1x + session: 0A0A1DFE000010EE7C0101FF + status: Auth +- domain: DATA + interface: Gi1/0/41 + mac: 54ea.12cd.32e3 + method: dot1x + session: 0A0A1DFE00000FD6000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/16 + mac: 848a.12cd.35b8 + method: mab + session: 0A0A1DFE00000FC2000101FF + status: Auth +- domain: DATA + interface: Gi1/0/31 + mac: 54ea.12cd.32dc + method: dot1x + session: 0A0A1DFE00000FD3000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/22 + mac: 848a.12cd.3626 + method: mab + session: 0A0A1DFE00000FCD000101FF + status: Auth +- domain: DATA + interface: Gi1/0/12 + mac: c89a.12cd.3be0 + method: dot1x + session: 0A0A1DFE00000FB6000101FF + status: Auth +- domain: DATA + interface: Gi1/0/43 + mac: 106a.12cd.36a4 + method: mab + session: 0A0A1DFE00000FB5000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/46 + mac: 347a.12cd.3aae + method: mab + session: 0A0A1DFE0000201A380101FF + status: Auth +- domain: VOICE + interface: Gi1/0/15 + mac: 347a.12cd.3bf5 + method: mab + session: 0A0A1DFE00000FFD110101FF + status: Auth +- domain: VOICE + interface: Gi1/0/31 + mac: 848a.12cd.3d3d + method: mab + session: 0A0A1DFE00000FCE000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/30 + mac: 347a.12cd.3c00 + method: mab + session: 0A0A1DFE00000FC6000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/3 + mac: 848a.12cd.35c3 + method: mab + session: 0A0A1DFE00000FBE000101FF + status: Auth +- domain: DATA + interface: Gi1/0/45 + mac: 8c8a.12cd.3636 + method: dot1x + session: 0A0A1DFE00000FD8000101FF + status: Auth +- domain: DATA + interface: Gi1/0/37 + mac: c89a.12cd.329d + method: dot1x + session: 0A0A1DFE00000FD5000101FF + status: Auth +- domain: DATA + interface: Gi1/0/5 + mac: 8c8a.12cd.3096 + method: dot1x + session: 0A0A1DFE00000FB4000101FF + status: Auth +- domain: DATA + interface: Gi1/0/46 + mac: 54ea.12cd.3325 + method: dot1x + session: 0A0A1DFE00002019380101FF + status: Auth +- domain: VOICE + interface: Gi2/0/1 + mac: 848a.12cd.3615 + method: mab + session: 0A0A1DFE00000FBB000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/12 + mac: 848a.12cd.34a6 + method: mab + session: 0A0A1DFE00000FC1000101FF + status: Auth +- domain: DATA + interface: Gi1/0/2 + mac: 004a.12cd.3c3f + method: mab + session: 0A0A1DFE00001FC12D0101FF + status: Auth +- domain: DATA + interface: Gi2/0/15 + mac: 1c6a.12cd.317e + method: mab + session: 0A0A1DFE00001865F80101FF + status: Auth +- domain: VOICE + interface: Gi1/0/20 + mac: 848a.12cd.36aa + method: mab + session: 0A0A1DFE00001225F90101FF + status: Auth +- domain: DATA + interface: Gi1/0/21 + mac: 8c8a.12cd.38e9 + method: dot1x + session: 0A0A1DFE00000FB7000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/37 + mac: 347a.12cd.345b + method: mab + session: 0A0A1DFE00000FC0000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/45 + mac: 848a.12cd.35fa + method: mab + session: 0A0A1DFE00000FBF000101FF + status: Auth +- domain: DATA + interface: Gi1/0/15 + mac: 54ea.12cd.31ae + method: dot1x + session: 0A0A1DFE00000FFE110101FF + status: Auth +- domain: VOICE + interface: Gi1/0/41 + mac: 848a.12cd.359f + method: mab + session: 0A0A1DFE00000FC4000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/23 + mac: 848a.12cd.35a3 + method: mab + session: 0A0A1DFE00000FC3000101FF + status: Auth +- domain: DATA + interface: Gi1/0/1 + mac: 001a.12cd.3402 + method: mab + session: 0A0A1DFE0000164F6A0101FF + status: Auth +- domain: VOICE + interface: Gi1/0/10 + mac: 848a.12cd.35ec + method: mab + session: 0A0A1DFE00000FC5000101FF + status: Auth +- domain: VOICE + interface: Gi1/0/39 + mac: 24da.12cd.3b4f + method: mab + session: 0A0A1DFE000010EF7C0101FF + status: Auth +- domain: DATA + interface: Gi1/0/29 + mac: 8c8a.12cd.3943 + method: dot1x + session: 0A0A1DFE0000202C3F0101FF + status: Auth diff --git a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.raw b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.raw new file mode 100644 index 0000000000..db7b72ecf5 --- /dev/null +++ b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.raw @@ -0,0 +1,60 @@ + + +Interface MAC Address Method Domain Status Fg Session ID +------------------------------------------------------------------------------ +Gi1/0/10 c89a.12cd.3b74 dot1x DATA Auth 0A0A1DFE00000FB3000101FF +Gi1/0/5 848a.12cd.3636 mab VOICE Auth 0A0A1DFE00000FBD000101FF +Gi2/0/33 848a.12cd.3624 mab VOICE Auth 0A0A1DFE00000FBA000101FF +Gi1/0/26 005a.12cd.3567 N/A UNKNOWN Unauth 0A0A1DFE00001F8D160101FF +Gi1/0/26 004a.12cd.3c40 mab DATA Auth 0A0A1DFE00001C8D5E0101FF +Gi1/0/43 848a.12cd.3db2 mab VOICE Auth 0A0A1DFE00000FC8000101FF +Gi1/0/20 54ea.12cd.3568 dot1x DATA Auth 0A0A1DFE000013DF820101FF +Gi2/0/1 002a.12cd.3906 mab DATA Auth 0A0A1DFE00000FB2000101FF +Gi1/0/21 b4ba.12cd.3f3b mab VOICE Auth 0A0A1DFE00000FCC000101FF +Gi1/0/40 002a.12cd.3d7d mab DATA Auth 0A0A1DFE00001D3B990101FF +Gi1/0/39 8c8a.12cd.3c83 dot1x DATA Auth 0A0A1DFE000010EE7C0101FF +Gi1/0/41 54ea.12cd.32e3 dot1x DATA Auth 0A0A1DFE00000FD6000101FF +Gi1/0/16 848a.12cd.35b8 mab VOICE Auth 0A0A1DFE00000FC2000101FF +Gi1/0/31 54ea.12cd.32dc dot1x DATA Auth 0A0A1DFE00000FD3000101FF +Gi1/0/22 848a.12cd.3626 mab VOICE Auth 0A0A1DFE00000FCD000101FF +Gi1/0/12 c89a.12cd.3be0 dot1x DATA Auth 0A0A1DFE00000FB6000101FF +Gi1/0/43 106a.12cd.36a4 mab DATA Auth 0A0A1DFE00000FB5000101FF +Gi1/0/46 347a.12cd.3aae mab VOICE Auth 0A0A1DFE0000201A380101FF +Gi1/0/15 347a.12cd.3bf5 mab VOICE Auth 0A0A1DFE00000FFD110101FF +Gi1/0/31 848a.12cd.3d3d mab VOICE Auth 0A0A1DFE00000FCE000101FF +Gi1/0/30 347a.12cd.3c00 mab VOICE Auth 0A0A1DFE00000FC6000101FF +Gi1/0/3 848a.12cd.35c3 mab VOICE Auth 0A0A1DFE00000FBE000101FF +Gi1/0/45 8c8a.12cd.3636 dot1x DATA Auth 0A0A1DFE00000FD8000101FF +Gi1/0/37 c89a.12cd.329d dot1x DATA Auth 0A0A1DFE00000FD5000101FF +Gi1/0/5 8c8a.12cd.3096 dot1x DATA Auth 0A0A1DFE00000FB4000101FF +Gi1/0/46 54ea.12cd.3325 dot1x DATA Auth 0A0A1DFE00002019380101FF +Gi2/0/1 848a.12cd.3615 mab VOICE Auth 0A0A1DFE00000FBB000101FF +Gi1/0/12 848a.12cd.34a6 mab VOICE Auth 0A0A1DFE00000FC1000101FF +Gi1/0/2 004a.12cd.3c3f mab DATA Auth 0A0A1DFE00001FC12D0101FF +Gi2/0/15 1c6a.12cd.317e mab DATA Auth 0A0A1DFE00001865F80101FF +Gi1/0/20 848a.12cd.36aa mab VOICE Auth 0A0A1DFE00001225F90101FF +Gi1/0/21 8c8a.12cd.38e9 dot1x DATA Auth 0A0A1DFE00000FB7000101FF +Gi1/0/37 347a.12cd.345b mab VOICE Auth 0A0A1DFE00000FC0000101FF +Gi1/0/45 848a.12cd.35fa mab VOICE Auth 0A0A1DFE00000FBF000101FF +Gi1/0/15 54ea.12cd.31ae dot1x DATA Auth 0A0A1DFE00000FFE110101FF +Gi1/0/41 848a.12cd.359f mab VOICE Auth 0A0A1DFE00000FC4000101FF +Gi1/0/23 848a.12cd.35a3 mab VOICE Auth 0A0A1DFE00000FC3000101FF +Gi1/0/1 001a.12cd.3402 mab DATA Auth 0A0A1DFE0000164F6A0101FF +Gi1/0/10 848a.12cd.35ec mab VOICE Auth 0A0A1DFE00000FC5000101FF +Gi1/0/39 24da.12cd.3b4f mab VOICE Auth 0A0A1DFE000010EF7C0101FF +Gi1/0/29 8c8a.12cd.3943 dot1x DATA Auth 0A0A1DFE0000202C3F0101FF + +Session count = 41 + +Key to Session Events Blocked Status Flags: + + A - Applying Policy (multi-line status for details) + D - Awaiting Deletion + F - Final Removal in progress + I - Awaiting IIF ID allocation + N - Waiting for AAA to come up + P - Pushed Session + R - Removing User Profile (multi-line status for details) + U - Applying User Profile (multi-line status for details) + X - Unknown Blocker + From b1601580a5e547f6bfe198c08a92595373c6d98d Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 8 Oct 2019 11:09:19 -0600 Subject: [PATCH 295/628] bug_fix: cisco_ios_show_mac-address-table - 0 or more spaces at beginning of type3/4 for 4 digit vlans --- templates/cisco_ios_show_mac-address-table.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_mac-address-table.template b/templates/cisco_ios_show_mac-address-table.template index d7ee93abd2..2045978c17 100644 --- a/templates/cisco_ios_show_mac-address-table.template +++ b/templates/cisco_ios_show_mac-address-table.template @@ -16,7 +16,7 @@ TYPE2 ^[\*|\s]\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT} -> Record TYPE3 - ^\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+${DESTINATION_PORT} -> Record + ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+${DESTINATION_PORT} -> Record TYPE4 - ^\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT} -> Record + ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT} -> Record From bcf6dfa05b3f6bdc2c6624eebc92b1043ed79980 Mon Sep 17 00:00:00 2001 From: nnaukwal <53108100+nnaukwal@users.noreply.github.com> Date: Wed, 9 Oct 2019 14:30:07 +1100 Subject: [PATCH 296/628] new_template: cisco_nxos_show_route-map --- templates/cisco_nxos_show_route-map.template | 31 ++++++ templates/index | 1 + .../cisco_nxos_show_route-map.parsed | 99 +++++++++++++++++++ .../cisco_nxos_show_route-map.raw | 66 +++++++++++++ 4 files changed, 197 insertions(+) create mode 100644 templates/cisco_nxos_show_route-map.template create mode 100644 tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.parsed create mode 100644 tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.raw diff --git a/templates/cisco_nxos_show_route-map.template b/templates/cisco_nxos_show_route-map.template new file mode 100644 index 0000000000..9db8872a3a --- /dev/null +++ b/templates/cisco_nxos_show_route-map.template @@ -0,0 +1,31 @@ +Value Required NAME (\S+) +Value Required ACTION (\S+) +Value Required SEQ (\d+) +Value List MATCH_CLAUSES (.+?) +Value List SET_CLAUSES (.+?) + +Start + ^route-map\s+${NAME},\s+${ACTION},\s+sequence\s+${SEQ}\s*$$ + ^\s+Match\s+clauses -> Match + ^\s+Set\s+clauses -> Set + ^\s*$$ + ^. -> Error + +Match + ^\s*$$ + ^\s+Set\s+clauses -> Set + ^\s+Policy\s+routing + ^\s+${MATCH_CLAUSES}\s*$$ + ^route-map -> Continue.Record + ^route-map\s+${NAME},\s+${ACTION},\s+sequence\s+${SEQ}\s*$$ -> Start + ^\s*$$ + ^. -> Error + +Set + ^\s*$$ + ^\s+Policy\s+routing + ^\s+${SET_CLAUSES}\s*$$ + ^route-map -> Continue.Record + ^route-map\s+${NAME},\s+${ACTION},\s+sequence\s+${SEQ}\s*$$ -> Start + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index dbaa95bb4b..b988271fe5 100644 --- a/templates/index +++ b/templates/index @@ -221,6 +221,7 @@ cisco_nxos_show_access-lists.template, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] cisco_nxos_show_environments.template, .*, cisco_nxos, sh[[ow]] envi[[ronments]] cisco_nxos_show_interface.template, .*, cisco_nxos, sh[[ow]] inte[[rface]] cisco_nxos_show_inventory.template, .*, cisco_nxos, sh[[ow]] inv[[entory]] +cisco_nxos_show_route-map.template, .*, cisco_nxos, sh[[ow]] route-m[[ap]] cisco_nxos_show_hostname.template, .*, cisco_nxos, sh[[ow]] hostn[[ame]] cisco_nxos_show_ip_route.template, .*, cisco_nxos, sh[[ow]] ip route cisco_nxos_show_feature.template, .*, cisco_nxos, sh[[ow]] feat[[ure]] diff --git a/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.parsed b/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.parsed new file mode 100644 index 0000000000..06cf96db6f --- /dev/null +++ b/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.parsed @@ -0,0 +1,99 @@ +--- +parsed_sample: +- action: permit + match_clauses: + - 'as-path (as-path filter): AS-TEST' + name: RM-TEST-OUT + seq: '10' + set_clauses: [] +- action: deny + match_clauses: + - 'tag: 12345' + name: RM-BGP-TO-OSPF + seq: '10' + set_clauses: [] +- action: permit + match_clauses: [] + name: RM-BGP-TO-OSPF + seq: '20' + set_clauses: [] +- action: permit + match_clauses: [] + name: RM-ISP1-IN + seq: '1000' + set_clauses: + - local-preference 300 +- action: permit + match_clauses: + - 'as-path (as-path filter): AS-ISP2' + name: RM-ISP1-OUT + seq: '1000' + set_clauses: [] +- action: permit + match_clauses: [] + name: RM-ISP1-MAITENANCE + seq: '10' + set_clauses: + - local-preference 50 +- action: permit + match_clauses: [] + name: RM-FW-LP + seq: '10' + set_clauses: + - local-preference 25 +- action: permit + match_clauses: [] + name: RM-FW-MAITENANCE + seq: '10' + set_clauses: [] +- action: permit + match_clauses: + - 'as-path (as-path filter): TEST-AS-FW' + name: RM-FW-OUTBOUND + seq: '10' + set_clauses: [] +- action: permit + match_clauses: + - 'ip address prefix-lists: PF-PATH-X-INTERNAL' + name: RM-X-SIDE-INTERNAL + seq: '10' + set_clauses: [] +- action: permit + match_clauses: + - 'ip address prefix-lists: PF-PATH-Z-INTERNAL' + name: RM-Z-SIDE-INTERNAL + seq: '10' + set_clauses: [] +- action: permit + match_clauses: + - 'ip address prefix-lists: PL-PERMIT-IN' + name: RM-FILTER-IN + seq: '10' + set_clauses: [] +- action: permit + match_clauses: + - 'ip address (access-lists): AL_TEST_TEST' + name: TEST_THIS + seq: '10' + set_clauses: + - ip next-hop 2.2.2.2 +- action: permit + match_clauses: + - 'ip address prefix-lists: PF-N3K1-TO-N3K2' + name: RM-N3K1-TO-N3K2 + seq: '10' + set_clauses: + - extcommunity RT:100:1 +- action: permit + match_clauses: + - 'ip address prefix-lists: PF-N3K2-TO-N3K1' + name: RM-N3K2-TO-N3K1 + seq: '10' + set_clauses: + - extcommunity RT:200:1 +- action: permit + match_clauses: + - 'ip address prefix-lists: PF-A-DEFAULT-ROUTE' + name: RM-PATH-A-DEFAULT-ROUTE + seq: '10' + set_clauses: [] diff --git a/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.raw b/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.raw new file mode 100644 index 0000000000..0be7ab27db --- /dev/null +++ b/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.raw @@ -0,0 +1,66 @@ +route-map RM-TEST-OUT, permit, sequence 10 + Match clauses: + as-path (as-path filter): AS-TEST + Set clauses: +route-map RM-BGP-TO-OSPF, deny, sequence 10 + Match clauses: + tag: 12345 + Set clauses: +route-map RM-BGP-TO-OSPF, permit, sequence 20 + Match clauses: + Set clauses: +route-map RM-ISP1-IN, permit, sequence 1000 + Match clauses: + Set clauses: + local-preference 300 +route-map RM-ISP1-OUT, permit, sequence 1000 + Match clauses: + as-path (as-path filter): AS-ISP2 + Set clauses: +route-map RM-ISP1-MAITENANCE, permit, sequence 10 + Match clauses: + Set clauses: + local-preference 50 +route-map RM-FW-LP, permit, sequence 10 + Match clauses: + Set clauses: + local-preference 25 +route-map RM-FW-MAITENANCE, permit, sequence 10 + Match clauses: + Set clauses: +route-map RM-FW-OUTBOUND, permit, sequence 10 + Match clauses: + as-path (as-path filter): TEST-AS-FW + Set clauses: + +route-map RM-X-SIDE-INTERNAL, permit, sequence 10 + Match clauses: + ip address prefix-lists: PF-PATH-X-INTERNAL + Set clauses: +route-map RM-Z-SIDE-INTERNAL, permit, sequence 10 + Match clauses: + ip address prefix-lists: PF-PATH-Z-INTERNAL + Set clauses: +route-map RM-FILTER-IN, permit, sequence 10 + Match clauses: + ip address prefix-lists: PL-PERMIT-IN + Set clauses: +route-map TEST_THIS, permit, sequence 10 + Match clauses: + ip address (access-lists): AL_TEST_TEST + Set clauses: + ip next-hop 2.2.2.2 +route-map RM-N3K1-TO-N3K2, permit, sequence 10 + Match clauses: + ip address prefix-lists: PF-N3K1-TO-N3K2 + Set clauses: + extcommunity RT:100:1 +route-map RM-N3K2-TO-N3K1, permit, sequence 10 + Match clauses: + ip address prefix-lists: PF-N3K2-TO-N3K1 + Set clauses: + extcommunity RT:200:1 +route-map RM-PATH-A-DEFAULT-ROUTE, permit, sequence 10 + Match clauses: + ip address prefix-lists: PF-A-DEFAULT-ROUTE + Set clauses: From c75273beecaaff5dfb312433633afa5e0268fb02 Mon Sep 17 00:00:00 2001 From: targuan Date: Wed, 9 Oct 2019 23:25:56 +0200 Subject: [PATCH 297/628] bug_fix: arista_eos_show_interfaces_status - Added disabled port status and name fixes --- .../arista_eos_show_interfaces_status.template | 4 ++-- .../arista_eos_show_interfaces_status.parsed | 16 ++++++++++++++++ .../arista_eos_show_interfaces_status.raw | 2 ++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/templates/arista_eos_show_interfaces_status.template b/templates/arista_eos_show_interfaces_status.template index ffb37b7067..cbbcc7b8b2 100644 --- a/templates/arista_eos_show_interfaces_status.template +++ b/templates/arista_eos_show_interfaces_status.template @@ -1,6 +1,6 @@ Value PORT (\S+) -Value NAME (\w.*\w) -Value STATUS (connected|notconnect|inactive|errdisabled) +Value NAME (\S.*(? Date: Thu, 10 Oct 2019 01:10:06 -0400 Subject: [PATCH 298/628] NEW TEMPLATE: Cisco IOS - show switch detail (#491) --- .../cisco_ios_show_switch_detail.template | 23 +++++++++++++ ...os_show_switch_detail_stack_ports.template | 16 +++++++++ templates/index | 1 + .../cisco_ios_show_switch_detail1.parsed | 13 ++++++++ .../cisco_ios_show_switch_detail1.raw | 13 ++++++++ .../cisco_ios_show_switch_detail2.parsed | 33 +++++++++++++++++++ .../cisco_ios_show_switch_detail2.raw | 16 +++++++++ 7 files changed, 115 insertions(+) create mode 100644 templates/cisco_ios_show_switch_detail.template create mode 100644 templates/cisco_ios_show_switch_detail_stack_ports.template create mode 100644 tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.parsed create mode 100644 tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.raw create mode 100644 tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.parsed create mode 100644 tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.raw diff --git a/templates/cisco_ios_show_switch_detail.template b/templates/cisco_ios_show_switch_detail.template new file mode 100644 index 0000000000..4351a55bd0 --- /dev/null +++ b/templates/cisco_ios_show_switch_detail.template @@ -0,0 +1,23 @@ +Value Key SWITCH (\d+) +Value ROLE (\w+) +Value MAC_ADDRESS (\S+) +Value PRIORITY (\d+) +Value VERSION (\S+) +Value STATE (.+?) + +Start + ^Switch/Stack + ^\s+H/W\s+Current\s*$$ + ^Switch#\s+Role\s+Mac\s+Address\s+Priority\s+Version\s+State\s*$$ + ^\s*-+ -> Status + ^\s*$$ + ^. -> Error + +Status + ^\*?\s*${SWITCH}\s+${ROLE}\s+${MAC_ADDRESS}\s+${PRIORITY}\s+${VERSION}\s+${STATE}\s*$$ -> Record + ^\s*Stack\s+Port\s+Status -> Stack + ^\s*$$ + ^. -> Error + +Stack + ^. diff --git a/templates/cisco_ios_show_switch_detail_stack_ports.template b/templates/cisco_ios_show_switch_detail_stack_ports.template new file mode 100644 index 0000000000..6d64a80c70 --- /dev/null +++ b/templates/cisco_ios_show_switch_detail_stack_ports.template @@ -0,0 +1,16 @@ +Value Key SWITCH (\d+) +Value STATUS1 (\w+) +Value STATUS2 (\w+) +Value NEIGHBOR1 (\w+) +Value NEIGHBOR2 (\w+) + + +Start + ^\s*Stack\s+Port\s+Status\s+Neighbors\s*$$ -> Stack + +Stack + ^\s*Switch#\s+Port\s+1\s+Port\s+2\s+Port\s+1\s+Port\s+2\s*$$ + ^-+$$ + ^\s*${SWITCH}\s+${STATUS1}\s+${STATUS2}\s+${NEIGHBOR1}\s+${NEIGHBOR2}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index b988271fe5..7615b62917 100644 --- a/templates/index +++ b/templates/index @@ -126,6 +126,7 @@ cisco_asa_show_name.template, .*, cisco_asa, sh[[ow]] nam[[e]] cisco_asa_show_nat.template, .*, cisco_asa, sh[[ow]] nat cisco_asa_dir.template, .*, cisco_asa, dir +cisco_ios_show_switch_detail.template:cisco_ios_show_switch_detail_stack_ports.template, .*, cisco_ios, sh[[ow]] sw[[itch]] d[[etail]] cisco_ios_show_running-config_partition_access-list.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] cisco_ios_show_running-config_partition_route-map.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] diff --git a/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.parsed b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.parsed new file mode 100644 index 0000000000..e4b92072cd --- /dev/null +++ b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.parsed @@ -0,0 +1,13 @@ +--- +parsed_sample: + + - switch: "1" + role: "Master" + mac_address: "a0e0.af1d.bb80" + priority: "1" + version: "3" + state: "Ready" + status1: "Down" + status2: "Down" + neighbor1: "None" + neighbor2: "None" diff --git a/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.raw b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.raw new file mode 100644 index 0000000000..dbbfe2eac2 --- /dev/null +++ b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.raw @@ -0,0 +1,13 @@ +Switch/Stack Mac Address : a0e0.af1d.bb80 + H/W Current +Switch# Role Mac Address Priority Version State +---------------------------------------------------------- +*1 Master a0e0.af1d.bb80 1 3 Ready + + + + Stack Port Status Neighbors +Switch# Port 1 Port 2 Port 1 Port 2 +-------------------------------------------------------- + 1 Down Down None None + diff --git a/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.parsed b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.parsed new file mode 100644 index 0000000000..eaff481b50 --- /dev/null +++ b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.parsed @@ -0,0 +1,33 @@ +--- +parsed_sample: + + - switch: "1" + role: "Master" + mac_address: "4c4e.3573.ac00" + priority: "15" + version: "3" + state: "Ready" + status1: "Ok" + status2: "Ok" + neighbor1: "3" + neighbor2: "2" + - switch: "2" + role: "Member" + mac_address: "4c4e.3573.7b00" + priority: "8" + version: "3" + state: "Ready" + status1: "Ok" + status2: "Ok" + neighbor1: "1" + neighbor2: "3" + - switch: "3" + role: "Member" + mac_address: "4c4e.3573.ac80" + priority: "7" + version: "3" + state: "Ready" + status1: "Ok" + status2: "Ok" + neighbor1: "2" + neighbor2: "1" diff --git a/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.raw b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.raw new file mode 100644 index 0000000000..54a6096008 --- /dev/null +++ b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.raw @@ -0,0 +1,16 @@ +Switch/Stack Mac Address : 4c4e.3573.ac00 + H/W Current +Switch# Role Mac Address Priority Version State +---------------------------------------------------------- +*1 Master 4c4e.3573.ac00 15 3 Ready + 2 Member 4c4e.3573.7b00 8 3 Ready + 3 Member 4c4e.3573.ac80 7 3 Ready + + + + Stack Port Status Neighbors +Switch# Port 1 Port 2 Port 1 Port 2 +-------------------------------------------------------- + 1 Ok Ok 3 2 + 2 Ok Ok 1 3 + 3 Ok Ok 2 1 From edb4f419f284c72985a32b02014e05d18229b894 Mon Sep 17 00:00:00 2001 From: Hector Isaza Date: Thu, 10 Oct 2019 11:58:18 -0400 Subject: [PATCH 299/628] New Template: Cisco WLC - show client detail (#391) --- .../cisco_wlc_ssh_show_client_detail.template | 41 ++++ templates/index | 1 + .../cisco_wlc_show_client_detail.parsed | 13 ++ .../cisco_wlc_show_client_detail.raw | 199 ++++++++++++++++++ 4 files changed, 254 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_client_detail.template create mode 100644 tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.parsed create mode 100644 tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.raw diff --git a/templates/cisco_wlc_ssh_show_client_detail.template b/templates/cisco_wlc_ssh_show_client_detail.template new file mode 100644 index 0000000000..7a22e8644c --- /dev/null +++ b/templates/cisco_wlc_ssh_show_client_detail.template @@ -0,0 +1,41 @@ +Value CLIENT_USERNAME (.+?) +Value AP_NAME (.+?) +Value CLIENT_STATE (\S+) +Value WIRELESS_LAN_NETWORK_NAME (.+?) +Value WIRELESS_LAN_PROFILE_NAME (.+?) +Value CONNECTED_FOR (\d+) +Value CONNECTED_FOR_MEASUREMENT (\S+) +Value IP_ADDRESS (\d.*) +Value INTERFACE (.*) +Value RADIO_SIGNAL_STRENGTH_INDICATOR (\S+) +Value SIGNAL_TO_NOISE_RATIO (\d+) +Value VLAN (.*) + + +Start + ^Client\s+Username\s*\.+\s*${CLIENT_USERNAME}\s*$$ + ^AP\s+Name\s*\.+\s*${AP_NAME}\s*$$ + ^Client\s+State\s*\.+\s*${CLIENT_STATE}\s*$$ + ^Wireless\s+LAN\s+Network\s+Name\s+\(\S+?\)\s*\.+\s*${WIRELESS_LAN_NETWORK_NAME}\s*$$ + ^Wireless\s+LAN\s+Profile\s+Name\s*\.+\s*${WIRELESS_LAN_PROFILE_NAME}\s*$$ + ^Connected\s+For\s*\.+\s*${CONNECTED_FOR}\s+${CONNECTED_FOR_MEASUREMENT}\s*$$ + ^IP\s+Address\s*\.+\s*${IP_ADDRESS}\s*$$ + ^\s+Radio\s+Signal\s+Strength\s+Indicator\s*\.+\s*${RADIO_SIGNAL_STRENGTH_INDICATOR}\s+dBm\s*$$ + ^Interface\s*\.+\s*${INTERFACE}\s*$$ + ^\s+Signal\s+to\s+Noise\s+Ratio\s*\.+\s*${SIGNAL_TO_NOISE_RATIO}\s+dB\s*$$ + ^VLAN\s*\.+\s*${VLAN}\s*$$ + ^.+\.+ + ^\s+AP.+\(.+\) + ^Client\s+Capabilities: + ^Client\s+Wifi\s+Direct Capabilities: + ^Fast\s+BSS\s+Transition\s+Details: + ^Client\s+Statistics: + ^Client\s+Rate\s+Limiting\s+Statistics: + ^Nearby\s+AP\s+Statistics: + ^DNS\s+Server\s+details: + ^Assisted\s+Roaming\s+Prediction\s+List\s+details: + ^\s*Client\s+Dhcp\s+Required: + ^Allowed\s+\(URL\)IP\s+Addresses + ^-+ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 7615b62917..79f0504006 100644 --- a/templates/index +++ b/templates/index @@ -239,6 +239,7 @@ cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] +cisco_wlc_ssh_show_client_detail.template, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.template, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] diff --git a/tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.parsed b/tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.parsed new file mode 100644 index 0000000000..ef5ffe316d --- /dev/null +++ b/tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.parsed @@ -0,0 +1,13 @@ +parsed_sample: + - client_username: "N/A" + ap_name: "APf-16" + client_state: "Associated" + wireless_lan_network_name: "SINGLE" + wireless_lan_profile_name: "device" + connected_for: "15688" + connected_for_measurement: "secs" + ip_address: "10.10.10.110" + interface: "qa_mobile" + radio_signal_strength_indicator: "-51" + signal_to_noise_ratio: "43" + vlan: "218" diff --git a/tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.raw b/tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.raw new file mode 100644 index 0000000000..73c9bd63a6 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.raw @@ -0,0 +1,199 @@ +Client MAC Address...............................04:67:f8:63:2a:cfb +Client Username ................................. N/A +AP MAC Address................................... 10:e0:1d:f0:86:91 +AP Name.......................................... APf-16 +AP radio slot Id................................. 1 +Client State..................................... Associated +Client User Group................................ +Client NAC OOB State............................. Access +Wireless LAN Id.................................. 4 +Wireless LAN Network Name (SSID)................. SINGLE +Wireless LAN Profile Name........................ device +Hotspot (802.11u)................................ Not Supported +BSSID............................................ 80:e0:1d:f0:88:9a +Connected For ................................... 15688 secs +Channel.......................................... 157 +IP Address....................................... 10.10.10.110 +Gateway Address.................................. Unknown +Netmask.......................................... Unknown +Association Id................................... 14 +Authentication Algorithm......................... Open System +Reason Code...................................... 1 +Status Code...................................... 0 +Session Timeout.................................. 28800 +Client CCX version............................... No CCX support +QoS Level........................................ Silver +Avg data Rate.................................... 0 +Burst data Rate.................................. 0 +Avg Real time data Rate.......................... 0 +Burst Real Time data Rate........................ 0 +802.1P Priority Tag.............................. disabled +CTS Security Group Tag........................... Not Applicable +KTS CAC Capability............................... No +Qos Map Capability............................... No +WMM Support...................................... Enabled + APSD ACs....................................... BK BE VI VO +Current Rate..................................... m8 ss2 +Supported Rates.................................. 18.0,24.0,36.0,48.0,54.0 +Mobility State................................... Local +Mobility Move Count.............................. 0 +Security Policy Completed........................ Yes +Policy Manager State............................. RUN +Audit Session ID................................. 05964b0a0014fc2acc4c7e5c +AAA Role Type.................................... none +Local Policy Applied............................. none +IPv4 ACL Name.................................... none +FlexConnect ACL Applied Status................... Unavailable +IPv4 ACL Applied Status.......................... Unavailable +IPv6 ACL Name.................................... none +IPv6 ACL Applied Status.......................... Unavailable +Layer2 ACL Name.................................. none +Layer2 ACL Applied Status........................ Unavailable +Client Type...................................... SimpleIP +mDNS Status...................................... Enabled +mDNS Profile Name................................ default-mdns-profile +No. of mDNS Services Advertised.................. 0 +Policy Type...................................... WPA2 +Authentication Key Management.................... PSK +Encryption Cipher................................ CCMP (AES) +Protected Management Frame ...................... No +Management Frame Protection...................... No +EAP Type......................................... Unknown +Interface........................................ qa_mobile +VLAN............................................. 218 +Quarantine VLAN.................................. 0 +Access VLAN...................................... 218 +Local Bridging VLAN.............................. 218 +Client Capabilities: + CF Pollable................................ Not implemented + CF Poll Request............................ Not implemented + Short Preamble............................. Not implemented + PBCC....................................... Not implemented + Channel Agility............................ Not implemented + Listen Interval............................ 20 + Fast BSS Transition........................ Not implemented + 11v BSS Transition......................... Not implemented +Client Wifi Direct Capabilities: + WFD capable................................ No + Manged WFD capable......................... No + Cross Connection Capable................... No + Support Concurrent Operation............... No +Fast BSS Transition Details: +Client Statistics: + Number of Bytes Received................... 78808 + Number of Bytes Sent....................... 585125 + Total Number of Bytes Sent................. 585125 + Total Number of Bytes Recv................. 78808 + Number of Bytes Sent (last 90s)............ 64 + Number of Bytes Recv (last 90s)............ 292 + Number of Packets Received................. 761 + Number of Packets Sent..................... 763 + Number of Interim-Update Sent.............. 0 + Number of EAP Id Request Msg Timeouts...... 0 + Number of EAP Id Request Msg Failures...... 0 + Number of EAP Request Msg Timeouts......... 0 + Number of EAP Request Msg Failures......... 0 + Number of EAP Key Msg Timeouts............. 0 + Number of EAP Key Msg Failures............. 0 + Number of Data Retries..................... 317 + Number of RTS Retries...................... 0 + Number of Duplicate Received Packets....... 4 + Number of Decrypt Failed Packets........... 0 + Number of Mic Failured Packets............. 0 + Number of Mic Missing Packets.............. 0 + Number of RA Packets Dropped............... 0 + Number of Policy Errors.................... 0 + Radio Signal Strength Indicator............ -51 dBm + Signal to Noise Ratio...................... 43 dB +Client Rate Limiting Statistics: + Number of Data Packets Received............ 0 + Number of Data Rx Packets Dropped.......... 0 + Number of Data Bytes Received.............. 0 + Number of Data Rx Bytes Dropped............ 0 + Number of Realtime Packets Received........ 0 + Number of Realtime Rx Packets Dropped...... 0 + Number of Realtime Bytes Received.......... 0 + Number of Realtime Rx Bytes Dropped........ 0 + Number of Data Packets Sent................ 0 + Number of Data Tx Packets Dropped.......... 0 + Number of Data Bytes Sent.................. 0 + Number of Data Tx Bytes Dropped............ 0 + Number of Realtime Packets Sent............ 0 + Number of Realtime Tx Packets Dropped...... 0 + Number of Realtime Bytes Sent.............. 0 + Number of Realtime Tx Bytes Dropped........ 0 +Nearby AP Statistics: + AP2F-29(slot 0) + antenna0: 6 secs ago..................... -72 dBm + antenna1: 6 secs ago..................... -75 dBm + AP2F-29(slot 1) + antenna0: 5 secs ago..................... -77 dBm + antenna1: 5 secs ago..................... -80 dBm + AP2F-23(slot 0) + antenna0: 5 secs ago..................... -86 dBm + antenna1: 5 secs ago..................... -87 dBm + AP2F-23(slot 1) + antenna0: 6 secs ago..................... -90 dBm + antenna1: 6 secs ago..................... -91 dBm + AP3f-10(slot 1) + antenna0: 3 secs ago..................... -78 dBm + antenna1: 3 secs ago..................... -79 dBm + AP3f-11(slot 1) + antenna0: 5 secs ago..................... -78 dBm + antenna1: 5 secs ago..................... -82 dBm + AP3f-17(slot 0) + antenna0: 6 secs ago..................... -57 dBm + antenna1: 6 secs ago..................... -60 dBm + AP3f-17(slot 1) + antenna0: 6 secs ago..................... -60 dBm + antenna1: 6 secs ago..................... -57 dBm + AP2F-27(slot 1) + antenna0: 6 secs ago..................... -83 dBm + antenna1: 6 secs ago..................... -80 dBm + AP3f-13(slot 0) + antenna0: 6 secs ago..................... -72 dBm + antenna1: 6 secs ago..................... -76 dBm + AP3f-13(slot 1) + antenna0: 6 secs ago..................... -74 dBm + antenna1: 6 secs ago..................... -70 dBm + AP3f-12(slot 0) + antenna0: 5 secs ago..................... -79 dBm + antenna1: 5 secs ago..................... -79 dBm + AP3f-12(slot 1) + antenna0: 6 secs ago..................... -74 dBm + antenna1: 6 secs ago..................... -75 dBm + AP2F-28(slot 0) + antenna0: 5 secs ago..................... -86 dBm + antenna1: 5 secs ago..................... -87 dBm + AP2F-28(slot 1) + antenna0: 5 secs ago..................... -88 dBm + antenna1: 5 secs ago..................... -82 dBm + AP2F-25(slot 1) + antenna0: 6 secs ago..................... -87 dBm + antenna1: 6 secs ago..................... -88 dBm + AP3f-15(slot 0) + antenna0: 6 secs ago..................... -74 dBm + antenna1: 6 secs ago..................... -71 dBm + AP3f-15(slot 1) + antenna0: 6 secs ago..................... -77 dBm + antenna1: 6 secs ago..................... -69 dBm + AP3f-14(slot 1) + antenna0: 6 secs ago..................... -73 dBm + antenna1: 6 secs ago..................... -71 dBm + AP3f-16(slot 0) + antenna0: 6 secs ago..................... -67 dBm + antenna1: 6 secs ago..................... -65 dBm + AP3f-16(slot 1) + antenna0: 6 secs ago..................... -51 dBm + antenna1: 6 secs ago..................... -57 dBm +DNS Server details: + DNS server IP ............................. 0.0.0.0 + DNS server IP ............................. 0.0.0.0 +Assisted Roaming Prediction List details: + + + Client Dhcp Required: False +Allowed (URL)IP Addresses +------------------------- + +AVC Profile Name: ............................... Internal Wireless AVC From b2b7dcd9443f452b8779b57c64f4e837b4d0ae94 Mon Sep 17 00:00:00 2001 From: Ben <47653825+ad8-bdl@users.noreply.github.com> Date: Fri, 11 Oct 2019 12:04:15 +1100 Subject: [PATCH 300/628] New Template: HP Comware - display counters interface (#464) --- ..._display_counters_bound_interface.template | 19 ++++++++ templates/index | 1 + ...re_display_counters_bound_interface.parsed | 43 +++++++++++++++++++ ...mware_display_counters_bound_interface.raw | 12 ++++++ 4 files changed, 75 insertions(+) create mode 100644 templates/hp_comware_display_counters_bound_interface.template create mode 100644 tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.parsed create mode 100644 tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.raw diff --git a/templates/hp_comware_display_counters_bound_interface.template b/templates/hp_comware_display_counters_bound_interface.template new file mode 100644 index 0000000000..e1722d20fa --- /dev/null +++ b/templates/hp_comware_display_counters_bound_interface.template @@ -0,0 +1,19 @@ +Value INTERFACE (\S+) +Value PACKETS_TOTAL (\d+) +Value PACKETS_BROADCAST (\d+) +Value PACKETS_MULTICAST (\d+) +Value PACKETS_ERROR (\d+) + +Start + ^\s*$$ + ^Interface\s+Total\s+\(pkts\)\s+Broadcast\s+\(pkts\)\s+Multicast\s+\(pkts\)\s+Err\s+\(pkts\) -> InterfaceTable + ^. -> Error + +InterfaceTable + ^${INTERFACE}\s+${PACKETS_TOTAL}\s+${PACKETS_BROADCAST}\s+${PACKETS_MULTICAST}\s+${PACKETS_ERROR} -> Record + ^\s*$$ + ^\s*Overflow -> InterfaceTableFooter + ^. -> Error + +InterfaceTableFooter + # ignore the footer's content diff --git a/templates/index b/templates/index index 79f0504006..2d940538e7 100644 --- a/templates/index +++ b/templates/index @@ -289,6 +289,7 @@ dell_force10_show_version.template, .*, dell_force10, sh[[ow]] ver[[sion]] dell_force10_show_vlan.template, .*, dell_force10, sh[[ow]] vl[[an]] dell_force10_show_arp.template, .*, dell_force10, sh[[ow]] ar[[p]] +hp_comware_display_counters_bound_interface.template, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] hp_comware_display_mac-address.template, .*, hp_comware, di[[splay]] mac-ad[[dress]] hp_comware_display_vlan_brief.template, .*, hp_comware, di[[splay]] v[[lan]] b[[rief]] hp_comware_display_clock.template, .*, hp_comware, di[[splay]] clo[[ck]] diff --git a/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.parsed b/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.parsed new file mode 100644 index 0000000000..0f17ddb0df --- /dev/null +++ b/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.parsed @@ -0,0 +1,43 @@ +--- +parsed_sample: +- interface: GE1/0/1 + packets_broadcast: '2580' + packets_error: '0' + packets_multicast: '8560' + packets_total: '573422' +- interface: GE1/0/2 + packets_broadcast: '7513' + packets_error: '30' + packets_multicast: '34906' + packets_total: '975121' +- interface: GE6/0/47 + packets_broadcast: '0' + packets_error: '0' + packets_multicast: '0' + packets_total: '0' +- interface: GE6/0/48 + packets_broadcast: '16658' + packets_error: '0' + packets_multicast: '86584' + packets_total: '429854186' +- interface: XGE1/0/49 + packets_broadcast: '12706052' + packets_error: '0' + packets_multicast: '16927885391' + packets_total: '17495987683' +- interface: XGE1/0/50 + packets_broadcast: '13138308' + packets_error: '19' + packets_multicast: '21011041401' + packets_total: '53840866263' +- interface: XGE6/0/51 + packets_broadcast: '0' + packets_error: '0' + packets_multicast: '0' + packets_total: '0' +- interface: XGE6/0/52 + packets_broadcast: '16009' + packets_error: '0' + packets_multicast: '7582' + packets_total: '46490' + diff --git a/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.raw b/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.raw new file mode 100644 index 0000000000..453b845252 --- /dev/null +++ b/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.raw @@ -0,0 +1,12 @@ +Interface Total (pkts) Broadcast (pkts) Multicast (pkts) Err (pkts) +GE1/0/1 573422 2580 8560 0 +GE1/0/2 975121 7513 34906 30 +GE6/0/47 0 0 0 0 +GE6/0/48 429854186 16658 86584 0 +XGE1/0/49 17495987683 12706052 16927885391 0 +XGE1/0/50 53840866263 13138308 21011041401 19 +XGE6/0/51 0 0 0 0 +XGE6/0/52 46490 16009 7582 0 + + Overflow: More than 14 digits (7 digits for column "Err"). + --: Not supported. From 7d3e64c0f70d8ee0744a42154c23d24619b6070b Mon Sep 17 00:00:00 2001 From: nnaukwal <53108100+nnaukwal@users.noreply.github.com> Date: Tue, 15 Oct 2019 00:40:57 +1100 Subject: [PATCH 301/628] new_template: cisco_nxos_show_forwarding_ipv4_route --- ...o_nxos_show_forwarding_ipv4_route.template | 21 + templates/index | 1 + ...sco_nxos_show_forwarding_ipv4_route.parsed | 1214 +++++++++++++++++ .../cisco_nxos_show_forwarding_ipv4_route.raw | 252 ++++ 4 files changed, 1488 insertions(+) create mode 100644 templates/cisco_nxos_show_forwarding_ipv4_route.template create mode 100644 tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.parsed create mode 100644 tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.raw diff --git a/templates/cisco_nxos_show_forwarding_ipv4_route.template b/templates/cisco_nxos_show_forwarding_ipv4_route.template new file mode 100644 index 0000000000..986b25fdf4 --- /dev/null +++ b/templates/cisco_nxos_show_forwarding_ipv4_route.template @@ -0,0 +1,21 @@ +Value PREFIX (\d+\.\d+\.\d+\.+\d+\/\d+) +Value Required,List NEXTHOP (Drop|Receive|Attached|\d+\.\d+\.\d+\.\d+) +Value List INTERFACE (\S+) + +Start + ^Prefix.*Next.*Interface.*Labels.*Partial.*Install\s*$$ -> FIB + +FIB + # Start Record on encountering a Prefix, don't substitute any values yet + ^\*?(\d+\.\d+\.\d+\.+\d+\/\d+) -> Continue.Record + # Match lines with all Values present, some entries can start with * (for multiple entries in RIB, one in FIB prefixes) + ^\*?${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}\s*$$ + # Match lines which do not have an interface, strange but can exists + ^\*?${PREFIX}\s+${NEXTHOP}\s*$$ + # Match lines which have Nexthop and interface, and fill in the list; these are for prefixes which have multiple equal cost paths + ^\s+${NEXTHOP}\s+${INTERFACE}\s*$$ + # Match other lines before erroring out on unknown input lines + ^\s*$$ + ^[-+]*$$ + ^. -> Error + diff --git a/templates/index b/templates/index index 2d940538e7..0e8d0e96e9 100644 --- a/templates/index +++ b/templates/index @@ -196,6 +196,7 @@ cisco_nxos_show_l2rib_internal_permanently-frozen-list.template, .*, cisco_nxos, cisco_nxos_show_configuration_session_summary.template, .*, cisco_nxos, sh[[ow]] configu[[ration]] s[[ession]] su[[mmary]] cisco_nxos_show_interface_transceiver_details.template, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] cisco_nxos_show_environment_temperature.template, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] +cisco_nxos_show_forwarding_ipv4_route.template, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] ipv4 ro[[ute]] cisco_nxos_show_interfaces_switchport.template, .*, cisco_nxos, sh[[ow]] int[[erfaces]] sw[[itchport]] cisco_nxos_show_ip_dhcp_relay_address.template, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] cisco_nxos_show_lldp_neighbors_detail.template, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] diff --git a/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.parsed b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.parsed new file mode 100644 index 0000000000..26a2971db7 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.parsed @@ -0,0 +1,1214 @@ +--- +parsed_sample: +- interface: + - Null0 + nexthop: + - Drop + prefix: 0.0.0.0/32 +- interface: + - Null0 + nexthop: + - Drop + prefix: 127.0.0.0/8 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 255.255.255.255/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 0.0.0.0/0 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.1.88.0/24 +- interface: [] + nexthop: + - Attached + prefix: 10.1.90.0/24 +- interface: + - Null0 + nexthop: + - Drop + prefix: 10.1.90.0/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 10.1.90.1/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 10.1.90.101/32 +- interface: + - Vlan1 + nexthop: + - 10.1.90.102 + prefix: 10.1.90.102/32 +- interface: + - Vlan1 + nexthop: + - Attached + prefix: 10.1.90.255/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.5.88.0/24 +- interface: + - Ethernet1/45 + - Ethernet1/43 + nexthop: + - 172.16.90.6 + - 172.16.90.10 + prefix: 10.5.90.0/24 +- interface: + - Ethernet1/46 + nexthop: + - 172.16.90.33 + prefix: 10.5.99.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.5.224.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.5.225.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.5.226.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.9.88.0/24 +- interface: + - Ethernet1/45 + - Ethernet1/43 + nexthop: + - 172.16.90.6 + - 172.16.90.10 + prefix: 10.10.10.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.15.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.22.0/25 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.29.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.38.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.39.0/26 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.39.64/26 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.39.128/26 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.39.192/26 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.10.50.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.10.55.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.10.56.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.10.88.0/24 +- interface: + - Ethernet1/45 + - Ethernet1/43 + nexthop: + - 172.16.90.6 + - 172.16.90.10 + prefix: 10.10.90.0/24 +- interface: + - Ethernet1/46 + nexthop: + - 172.16.90.33 + prefix: 10.10.99.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.192.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.224.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.225.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.226.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.254.1/32 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.254.2/32 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.255.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.255.7/32 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.10.255.8/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.11.88.0/24 +- interface: + - Ethernet1/45 + - Ethernet1/43 + nexthop: + - 172.16.90.6 + - 172.16.90.10 + prefix: 10.11.90.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.15.88.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.17.88.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.18.88.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.20.88.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.30.88.0/24 +- interface: + - Null0 + nexthop: + - Drop + prefix: 10.30.112.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.30.113.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.35.29.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.35.44.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.35.45.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.35.46.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.35.88.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.35.90.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.35.192.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.40.88.0/24 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.77.100.0/28 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.77.100.96/28 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.90.88.0/30 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.100.88.0/24 +- interface: + - Ethernet1/45 + - Ethernet1/43 + nexthop: + - 172.16.90.6 + - 172.16.90.10 + prefix: 10.100.90.0/24 +- interface: + - Ethernet1/46 + nexthop: + - 172.16.90.33 + prefix: 10.100.99.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.100.192.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.100.224.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.100.225.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.100.226.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.119.48.0/27 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.119.48.32/27 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.3.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.4.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.28.0/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.129.88.0/24 +- interface: + - Vlan20 + nexthop: + - Attached + prefix: 10.129.90.0/24 +- interface: + - Null0 + nexthop: + - Drop + prefix: 10.129.90.0/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 10.129.90.1/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.10 + prefix: 10.129.90.10/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.11 + prefix: 10.129.90.11/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.12 + prefix: 10.129.90.12/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.13 + prefix: 10.129.90.13/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.14 + prefix: 10.129.90.14/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.15 + prefix: 10.129.90.15/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.16 + prefix: 10.129.90.16/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.17 + prefix: 10.129.90.17/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.18 + prefix: 10.129.90.18/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.19 + prefix: 10.129.90.19/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.20 + prefix: 10.129.90.20/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.21 + prefix: 10.129.90.21/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.22 + prefix: 10.129.90.22/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.23 + prefix: 10.129.90.23/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.24 + prefix: 10.129.90.24/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.25 + prefix: 10.129.90.25/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.26 + prefix: 10.129.90.26/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.28 + prefix: 10.129.90.28/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.29 + prefix: 10.129.90.29/32 +- interface: + - Vlan20 + nexthop: + - 10.129.90.30 + prefix: 10.129.90.30/32 +- interface: + - Vlan20 + nexthop: + - Attached + prefix: 10.129.90.255/32 +- interface: + - Vlan112 + nexthop: + - 172.16.90.2 + prefix: 10.129.91.0/24 +- interface: + - Ethernet1/45 + - Ethernet1/43 + nexthop: + - 172.16.90.6 + - 172.16.90.10 + prefix: 10.129.92.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.100.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.192.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.200.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.224.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.225.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.226.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.227.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.228.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.229.0/24 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.129.230.0/24 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.150.201.130/31 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.150.202.0/27 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.150.202.64/27 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.150.202.64/28 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.150.202.80/28 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.152.202.16/28 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.200.130.0/29 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.222.48.192/26 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.249.0.8/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.17.0/24 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.18.0/24 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.37.1/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.37.2/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.37.3/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.37.4/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.37.5/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.37.6/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.38.5/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.38.6/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.38.12/30 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.38.13/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.38.14/32 +- interface: + - Ethernet1/1 + nexthop: + - Attached + prefix: 10.249.38.64/30 +- interface: + - Null0 + nexthop: + - Drop + prefix: 10.249.38.64/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.38.65/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 10.249.38.66/32 +- interface: + - Ethernet1/1 + nexthop: + - Attached + prefix: 10.249.38.67/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.38.68/30 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.39.36/30 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.39.50/31 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.40.36/30 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.249.56.192/26 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.250.0/25 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.253.219/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.253.220/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.253.225/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.253.226/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.253.231/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.253.232/32 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.253.251/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.249.254.1/32 +- interface: + - Vlan112 + nexthop: + - 172.16.90.2 + prefix: 10.249.254.64/30 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.254.68/30 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.255.120/29 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.255.240/29 +- interface: + - Ethernet1/1 + nexthop: + - 10.249.38.65 + prefix: 10.249.255.248/29 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.255.28.1/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.255.88.1/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.255.88.253/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 10.255.90.1/32 +- interface: + - Vlan112 + nexthop: + - 172.16.90.2 + prefix: 10.255.90.2/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.255.90.3/32 +- interface: + - Ethernet1/43 + nexthop: + - 172.16.90.10 + prefix: 10.255.90.4/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 10.255.90.110/32 +- interface: + - Ethernet1/46 + nexthop: + - 172.16.90.33 + prefix: 10.255.99.1/32 +- interface: + - Vlan112 + nexthop: + - 172.16.90.2 + prefix: 10.255.99.2/32 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.255.192.1/32 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.255.192.2/32 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.255.255.1/32 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 10.255.255.2/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 68.202.118.148/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 69.203.118.52/24 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 113.117.128.2/32 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 117.120.112.118/26 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 117.121.132.112/26 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 160.44.97.23/32 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 160.45.98.45/32 +- interface: + - Ethernet1/3 + nexthop: + - Attached + prefix: 172.116.129.4/30 +- interface: + - Null0 + nexthop: + - Drop + prefix: 172.116.129.4/32 +- interface: + - Ethernet1/3 + nexthop: + - 172.16.29.5 + prefix: 172.116.129.5/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 172.116.129.6/32 +- interface: + - Ethernet1/3 + nexthop: + - Attached + prefix: 172.116.129.7/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 172.116.188.0/30 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 172.116.188.4/30 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 172.116.188.8/30 +- interface: + - Ethernet1/43 + nexthop: + - 172.16.90.10 + prefix: 172.116.188.16/30 +- interface: [] + nexthop: + - Attached + prefix: 172.116.190.0/30 +- interface: + - Null0 + nexthop: + - Drop + prefix: 172.116.190.0/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 172.116.190.1/32 +- interface: + - Vlan112 + nexthop: + - 172.16.90.2 + prefix: 172.116.190.2/32 +- interface: + - Vlan112 + nexthop: + - Attached + prefix: 172.116.190.3/32 +- interface: + - Ethernet1/45 + nexthop: + - Attached + prefix: 172.116.190.4/30 +- interface: + - Null0 + nexthop: + - Drop + prefix: 172.116.190.4/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 172.116.190.5/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 172.116.190.6/32 +- interface: + - Ethernet1/45 + nexthop: + - Attached + prefix: 172.116.190.7/32 +- interface: + - Ethernet1/43 + nexthop: + - Attached + prefix: 172.116.190.8/30 +- interface: + - Null0 + nexthop: + - Drop + prefix: 172.116.190.8/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 172.116.190.9/32 +- interface: + - Ethernet1/43 + nexthop: + - 172.16.90.10 + prefix: 172.116.190.10/32 +- interface: + - Ethernet1/43 + nexthop: + - Attached + prefix: 172.116.190.11/32 +- interface: + - Vlan112 + nexthop: + - 172.16.90.2 + prefix: 172.116.190.12/30 +- interface: + - Vlan112 + nexthop: + - 172.16.90.2 + prefix: 172.116.190.16/30 +- interface: + - Ethernet1/45 + - Ethernet1/43 + nexthop: + - 172.16.90.6 + - 172.16.90.10 + prefix: 172.116.190.20/30 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 172.120.93.24/30 +- interface: + - Ethernet1/43 + nexthop: + - 172.16.90.10 + prefix: 172.120.93.28/30 +- interface: + - Ethernet1/46 + nexthop: + - Attached + prefix: 172.120.93.32/30 +- interface: + - Null0 + nexthop: + - Drop + prefix: 172.120.93.32/32 +- interface: + - Ethernet1/46 + nexthop: + - 172.16.90.33 + prefix: 172.120.93.33/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 172.120.93.34/32 +- interface: + - Ethernet1/46 + nexthop: + - Attached + prefix: 172.120.93.35/32 +- interface: + - Vlan112 + nexthop: + - 172.16.90.2 + prefix: 172.120.93.36/30 +- interface: + - Ethernet1/46 + nexthop: + - 172.16.90.33 + prefix: 172.120.93.0/30 +- interface: + - Ethernet1/41 + nexthop: + - Attached + prefix: 172.121.135.16/30 +- interface: + - Null0 + nexthop: + - Drop + prefix: 172.121.135.16/32 +- interface: + - Ethernet1/41 + nexthop: + - 172.30.135.17 + prefix: 172.212.135.17/32 +- interface: + - sup-eth1 + nexthop: + - Receive + prefix: 172.213.135.18/32 +- interface: + - Ethernet1/41 + nexthop: + - Attached + prefix: 172.214.135.19/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 172.214.0.0/16 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.48/28 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.48/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.49/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.50/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.51/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.52/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.53/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.54/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.55/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.56/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.57/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.58/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.59/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.60/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.61/32 +- interface: + - Ethernet1/45 + nexthop: + - 172.16.90.6 + prefix: 192.200.54.62/32 +- interface: + - Ethernet1/41 + nexthop: + - 172.30.135.17 + prefix: 203.45.179.33/32 +- interface: + - Ethernet1/41 + nexthop: + - 172.30.135.17 + prefix: 203.46.179.34/32 +- interface: + - Ethernet1/41 + nexthop: + - 172.30.135.17 + prefix: 203.72.179.0/25 +- interface: + - Ethernet1/41 + nexthop: + - 172.30.135.17 + prefix: 203.72.179.128/25 diff --git a/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.raw b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.raw new file mode 100644 index 0000000000..67e2ca8781 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.raw @@ -0,0 +1,252 @@ +IPv4 routes for table default/base + +------------------+-----------------------------------------+----------------------+-----------------+----------------- +Prefix | Next-hop | Interface | Labels | Partial Install +------------------+-----------------------------------------+----------------------+-----------------+----------------- +0.0.0.0/32 Drop Null0 +127.0.0.0/8 Drop Null0 +255.255.255.255/32 Receive sup-eth1 +0.0.0.0/0 172.16.90.6 Ethernet1/45 +10.1.88.0/24 172.16.90.6 Ethernet1/45 +10.1.90.0/24 Attached +10.1.90.0/32 Drop Null0 +10.1.90.1/32 Receive sup-eth1 +10.1.90.101/32 Receive sup-eth1 +10.1.90.102/32 10.1.90.102 Vlan1 +10.1.90.255/32 Attached Vlan1 +10.5.88.0/24 172.16.90.6 Ethernet1/45 +10.5.90.0/24 172.16.90.6 Ethernet1/45 + 172.16.90.10 Ethernet1/43 +10.5.99.0/24 172.16.90.33 Ethernet1/46 +*10.5.224.0/24 172.16.29.5 Ethernet1/3 +*10.5.225.0/24 172.16.29.5 Ethernet1/3 +*10.5.226.0/24 172.16.29.5 Ethernet1/3 +10.9.88.0/24 172.16.90.6 Ethernet1/45 +10.10.10.0/24 172.16.90.6 Ethernet1/45 + 172.16.90.10 Ethernet1/43 +*10.10.15.0/24 172.16.29.5 Ethernet1/3 +*10.10.22.0/25 172.16.29.5 Ethernet1/3 +*10.10.29.0/24 172.16.29.5 Ethernet1/3 +*10.10.38.0/24 172.16.29.5 Ethernet1/3 +*10.10.39.0/26 172.16.29.5 Ethernet1/3 +*10.10.39.64/26 172.16.29.5 Ethernet1/3 +*10.10.39.128/26 172.16.29.5 Ethernet1/3 +*10.10.39.192/26 172.16.29.5 Ethernet1/3 +10.10.50.0/24 172.16.90.6 Ethernet1/45 +10.10.55.0/24 172.16.90.6 Ethernet1/45 +10.10.56.0/24 172.16.90.6 Ethernet1/45 +10.10.88.0/24 172.16.90.6 Ethernet1/45 +10.10.90.0/24 172.16.90.6 Ethernet1/45 + 172.16.90.10 Ethernet1/43 +10.10.99.0/24 172.16.90.33 Ethernet1/46 +*10.10.192.0/24 172.16.29.5 Ethernet1/3 +*10.10.224.0/24 172.16.29.5 Ethernet1/3 +*10.10.225.0/24 172.16.29.5 Ethernet1/3 +*10.10.226.0/24 172.16.29.5 Ethernet1/3 +*10.10.254.1/32 172.16.29.5 Ethernet1/3 +*10.10.254.2/32 172.16.29.5 Ethernet1/3 +*10.10.255.0/24 172.16.29.5 Ethernet1/3 +*10.10.255.7/32 172.16.29.5 Ethernet1/3 +*10.10.255.8/32 172.16.29.5 Ethernet1/3 +10.11.88.0/24 172.16.90.6 Ethernet1/45 +10.11.90.0/24 172.16.90.6 Ethernet1/45 + 172.16.90.10 Ethernet1/43 +10.15.88.0/24 172.16.90.6 Ethernet1/45 +10.17.88.0/24 172.16.90.6 Ethernet1/45 +10.18.88.0/24 172.16.90.6 Ethernet1/45 +10.20.88.0/24 172.16.90.6 Ethernet1/45 +10.30.88.0/24 172.16.90.6 Ethernet1/45 +10.30.112.0/24 Drop Null0 +10.30.113.0/24 172.16.90.6 Ethernet1/45 +*10.35.29.0/24 172.16.29.5 Ethernet1/3 +*10.35.44.0/24 172.16.29.5 Ethernet1/3 +*10.35.45.0/24 172.16.29.5 Ethernet1/3 +*10.35.46.0/24 172.16.29.5 Ethernet1/3 +10.35.88.0/24 172.16.90.6 Ethernet1/45 +10.35.90.0/24 172.16.90.6 Ethernet1/45 +*10.35.192.0/24 172.16.29.5 Ethernet1/3 +10.40.88.0/24 172.16.90.6 Ethernet1/45 +*10.77.100.0/28 10.249.38.65 Ethernet1/1 +10.77.100.96/28 172.16.90.6 Ethernet1/45 +10.90.88.0/30 172.16.90.6 Ethernet1/45 +10.100.88.0/24 172.16.90.6 Ethernet1/45 +10.100.90.0/24 172.16.90.6 Ethernet1/45 + 172.16.90.10 Ethernet1/43 +10.100.99.0/24 172.16.90.33 Ethernet1/46 +*10.100.192.0/24 172.16.29.5 Ethernet1/3 +*10.100.224.0/24 172.16.29.5 Ethernet1/3 +*10.100.225.0/24 172.16.29.5 Ethernet1/3 +*10.100.226.0/24 172.16.29.5 Ethernet1/3 +*10.119.48.0/27 172.16.29.5 Ethernet1/3 +*10.119.48.32/27 172.16.29.5 Ethernet1/3 +*10.129.3.0/24 172.16.29.5 Ethernet1/3 +*10.129.4.0/24 172.16.29.5 Ethernet1/3 +*10.129.28.0/24 172.16.29.5 Ethernet1/3 +10.129.88.0/24 172.16.90.6 Ethernet1/45 +10.129.90.0/24 Attached Vlan20 +10.129.90.0/32 Drop Null0 +10.129.90.1/32 Receive sup-eth1 +10.129.90.10/32 10.129.90.10 Vlan20 +10.129.90.11/32 10.129.90.11 Vlan20 +10.129.90.12/32 10.129.90.12 Vlan20 +10.129.90.13/32 10.129.90.13 Vlan20 +10.129.90.14/32 10.129.90.14 Vlan20 +10.129.90.15/32 10.129.90.15 Vlan20 +10.129.90.16/32 10.129.90.16 Vlan20 +10.129.90.17/32 10.129.90.17 Vlan20 +10.129.90.18/32 10.129.90.18 Vlan20 +10.129.90.19/32 10.129.90.19 Vlan20 +10.129.90.20/32 10.129.90.20 Vlan20 +10.129.90.21/32 10.129.90.21 Vlan20 +10.129.90.22/32 10.129.90.22 Vlan20 +10.129.90.23/32 10.129.90.23 Vlan20 +10.129.90.24/32 10.129.90.24 Vlan20 +10.129.90.25/32 10.129.90.25 Vlan20 +10.129.90.26/32 10.129.90.26 Vlan20 +10.129.90.28/32 10.129.90.28 Vlan20 +10.129.90.29/32 10.129.90.29 Vlan20 +10.129.90.30/32 10.129.90.30 Vlan20 +10.129.90.255/32 Attached Vlan20 +10.129.91.0/24 172.16.90.2 Vlan112 +10.129.92.0/24 172.16.90.6 Ethernet1/45 + 172.16.90.10 Ethernet1/43 +*10.129.100.0/24 172.16.29.5 Ethernet1/3 +*10.129.192.0/24 172.16.29.5 Ethernet1/3 +*10.129.200.0/24 172.16.29.5 Ethernet1/3 +*10.129.224.0/24 172.16.29.5 Ethernet1/3 +*10.129.225.0/24 172.16.29.5 Ethernet1/3 +*10.129.226.0/24 172.16.29.5 Ethernet1/3 +*10.129.227.0/24 172.16.29.5 Ethernet1/3 +*10.129.228.0/24 172.16.29.5 Ethernet1/3 +*10.129.229.0/24 172.16.29.5 Ethernet1/3 +*10.129.230.0/24 172.16.29.5 Ethernet1/3 +*10.150.201.130/31 10.249.38.65 Ethernet1/1 +*10.150.202.0/27 10.249.38.65 Ethernet1/1 +*10.150.202.64/27 10.249.38.65 Ethernet1/1 +*10.150.202.64/28 172.16.29.5 Ethernet1/3 +*10.150.202.80/28 10.249.38.65 Ethernet1/1 +*10.152.202.16/28 172.16.29.5 Ethernet1/3 +*10.200.130.0/29 172.16.29.5 Ethernet1/3 +*10.222.48.192/26 172.16.29.5 Ethernet1/3 +10.249.0.8/32 172.16.90.6 Ethernet1/45 +*10.249.17.0/24 10.249.38.65 Ethernet1/1 +*10.249.18.0/24 10.249.38.65 Ethernet1/1 +*10.249.37.1/32 10.249.38.65 Ethernet1/1 +*10.249.37.2/32 10.249.38.65 Ethernet1/1 +*10.249.37.3/32 10.249.38.65 Ethernet1/1 +*10.249.37.4/32 10.249.38.65 Ethernet1/1 +*10.249.37.5/32 10.249.38.65 Ethernet1/1 +*10.249.37.6/32 10.249.38.65 Ethernet1/1 +*10.249.38.5/32 10.249.38.65 Ethernet1/1 +*10.249.38.6/32 10.249.38.65 Ethernet1/1 +*10.249.38.12/30 10.249.38.65 Ethernet1/1 +*10.249.38.13/32 10.249.38.65 Ethernet1/1 +*10.249.38.14/32 10.249.38.65 Ethernet1/1 +10.249.38.64/30 Attached Ethernet1/1 +10.249.38.64/32 Drop Null0 +10.249.38.65/32 10.249.38.65 Ethernet1/1 +10.249.38.66/32 Receive sup-eth1 +10.249.38.67/32 Attached Ethernet1/1 +*10.249.38.68/30 10.249.38.65 Ethernet1/1 +*10.249.39.36/30 10.249.38.65 Ethernet1/1 +*10.249.39.50/31 10.249.38.65 Ethernet1/1 +*10.249.40.36/30 10.249.38.65 Ethernet1/1 +10.249.56.192/26 172.16.90.6 Ethernet1/45 +*10.249.250.0/25 10.249.38.65 Ethernet1/1 +*10.249.253.219/32 10.249.38.65 Ethernet1/1 +*10.249.253.220/32 10.249.38.65 Ethernet1/1 +*10.249.253.225/32 10.249.38.65 Ethernet1/1 +*10.249.253.226/32 10.249.38.65 Ethernet1/1 +*10.249.253.231/32 10.249.38.65 Ethernet1/1 +*10.249.253.232/32 10.249.38.65 Ethernet1/1 +*10.249.253.251/32 10.249.38.65 Ethernet1/1 +10.249.254.1/32 172.16.90.6 Ethernet1/45 +10.249.254.64/30 172.16.90.2 Vlan112 +*10.249.254.68/30 10.249.38.65 Ethernet1/1 +*10.249.255.120/29 10.249.38.65 Ethernet1/1 +*10.249.255.240/29 10.249.38.65 Ethernet1/1 +*10.249.255.248/29 10.249.38.65 Ethernet1/1 +*10.255.28.1/32 172.16.29.5 Ethernet1/3 +10.255.88.1/32 172.16.90.6 Ethernet1/45 +10.255.88.253/32 172.16.90.6 Ethernet1/45 +10.255.90.1/32 Receive sup-eth1 +10.255.90.2/32 172.16.90.2 Vlan112 +10.255.90.3/32 172.16.90.6 Ethernet1/45 +10.255.90.4/32 172.16.90.10 Ethernet1/43 +10.255.90.110/32 172.16.90.6 Ethernet1/45 +10.255.99.1/32 172.16.90.33 Ethernet1/46 +10.255.99.2/32 172.16.90.2 Vlan112 +*10.255.192.1/32 172.16.29.5 Ethernet1/3 +*10.255.192.2/32 172.16.29.5 Ethernet1/3 +*10.255.255.1/32 172.16.29.5 Ethernet1/3 +*10.255.255.2/32 172.16.29.5 Ethernet1/3 +68.202.118.148/32 172.16.90.6 Ethernet1/45 +69.203.118.52/24 172.16.90.6 Ethernet1/45 +113.117.128.2/32 172.16.90.6 Ethernet1/45 +*117.120.112.118/26 172.16.29.5 Ethernet1/3 +117.121.132.112/26 172.16.90.6 Ethernet1/45 +*160.44.97.23/32 172.16.29.5 Ethernet1/3 +*160.45.98.45/32 172.16.29.5 Ethernet1/3 +172.116.129.4/30 Attached Ethernet1/3 +172.116.129.4/32 Drop Null0 +172.116.129.5/32 172.16.29.5 Ethernet1/3 +172.116.129.6/32 Receive sup-eth1 +172.116.129.7/32 Attached Ethernet1/3 +172.116.188.0/30 172.16.90.6 Ethernet1/45 +172.116.188.4/30 172.16.90.6 Ethernet1/45 +172.116.188.8/30 172.16.90.6 Ethernet1/45 +172.116.188.16/30 172.16.90.10 Ethernet1/43 +172.116.190.0/30 Attached +172.116.190.0/32 Drop Null0 +172.116.190.1/32 Receive sup-eth1 +172.116.190.2/32 172.16.90.2 Vlan112 +172.116.190.3/32 Attached Vlan112 +172.116.190.4/30 Attached Ethernet1/45 +172.116.190.4/32 Drop Null0 +172.116.190.5/32 Receive sup-eth1 +172.116.190.6/32 172.16.90.6 Ethernet1/45 +172.116.190.7/32 Attached Ethernet1/45 +172.116.190.8/30 Attached Ethernet1/43 +172.116.190.8/32 Drop Null0 +172.116.190.9/32 Receive sup-eth1 +172.116.190.10/32 172.16.90.10 Ethernet1/43 +172.116.190.11/32 Attached Ethernet1/43 +172.116.190.12/30 172.16.90.2 Vlan112 +172.116.190.16/30 172.16.90.2 Vlan112 +172.116.190.20/30 172.16.90.6 Ethernet1/45 + 172.16.90.10 Ethernet1/43 +172.120.93.24/30 172.16.90.6 Ethernet1/45 +172.120.93.28/30 172.16.90.10 Ethernet1/43 +172.120.93.32/30 Attached Ethernet1/46 +172.120.93.32/32 Drop Null0 +172.120.93.33/32 172.16.90.33 Ethernet1/46 +172.120.93.34/32 Receive sup-eth1 +172.120.93.35/32 Attached Ethernet1/46 +172.120.93.36/30 172.16.90.2 Vlan112 +172.120.93.0/30 172.16.90.33 Ethernet1/46 +172.121.135.16/30 Attached Ethernet1/41 +172.121.135.16/32 Drop Null0 +172.212.135.17/32 172.30.135.17 Ethernet1/41 +172.213.135.18/32 Receive sup-eth1 +172.214.135.19/32 Attached Ethernet1/41 +172.214.0.0/16 172.16.90.6 Ethernet1/45 +192.200.54.48/28 172.16.90.6 Ethernet1/45 +192.200.54.48/32 172.16.90.6 Ethernet1/45 +192.200.54.49/32 172.16.90.6 Ethernet1/45 +192.200.54.50/32 172.16.90.6 Ethernet1/45 +192.200.54.51/32 172.16.90.6 Ethernet1/45 +192.200.54.52/32 172.16.90.6 Ethernet1/45 +192.200.54.53/32 172.16.90.6 Ethernet1/45 +192.200.54.54/32 172.16.90.6 Ethernet1/45 +192.200.54.55/32 172.16.90.6 Ethernet1/45 +192.200.54.56/32 172.16.90.6 Ethernet1/45 +192.200.54.57/32 172.16.90.6 Ethernet1/45 +192.200.54.58/32 172.16.90.6 Ethernet1/45 +192.200.54.59/32 172.16.90.6 Ethernet1/45 +192.200.54.60/32 172.16.90.6 Ethernet1/45 +192.200.54.61/32 172.16.90.6 Ethernet1/45 +192.200.54.62/32 172.16.90.6 Ethernet1/45 +*203.45.179.33/32 172.30.135.17 Ethernet1/41 +*203.46.179.34/32 172.30.135.17 Ethernet1/41 +*203.72.179.0/25 172.30.135.17 Ethernet1/41 +*203.72.179.128/25 172.30.135.17 Ethernet1/41 From 6a960c36868c3337550dbdbb0926493472bd93c1 Mon Sep 17 00:00:00 2001 From: targuan Date: Mon, 14 Oct 2019 20:05:01 +0200 Subject: [PATCH 302/628] bug_fix: cisco_ios_show_ip_interface.template - Account for new additional output --- .../cisco_ios_show_ip_interface.template | 4 +- .../cisco_ios_show_ip_interface3.parsed | 13 ++++++ .../cisco_ios_show_ip_interface3.raw | 45 +++++++++++++++++++ .../cisco_ios_show_ip_interface4.parsed | 13 ++++++ .../cisco_ios_show_ip_interface4.raw | 39 ++++++++++++++++ 5 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.parsed create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.raw create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw diff --git a/templates/cisco_ios_show_ip_interface.template b/templates/cisco_ios_show_ip_interface.template index bc29a86d18..1c31e4a435 100644 --- a/templates/cisco_ios_show_ip_interface.template +++ b/templates/cisco_ios_show_ip_interface.template @@ -48,8 +48,10 @@ Start ^\s+Policy ^\s+Network\s+address\s+ ^\s+BGP + ^\s+Sampled\s+Netflow + ^\s+IP\s+(Routed|Bridged)\s+Flow ^\s+(Input|Output|Post)\s+.*features - ^\s+IPv4\s+WCCP + ^\s+(IPv4\s+)?WCCP ^\s*$$ ^. -> Error diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.parsed new file mode 100644 index 0000000000..6179afc31d --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.parsed @@ -0,0 +1,13 @@ +--- +parsed_sample: + +- intf: 'Loopback1001' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['10.0.0.0'] + mask: ['32'] + vrf: '' + mtu: '1514' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.raw b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.raw new file mode 100644 index 0000000000..d9c9a92813 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.raw @@ -0,0 +1,45 @@ +Loopback1001 is up, line protocol is up + Internet address is 10.0.0.0/32 + Broadcast address is 255.255.255.255 + Address determined by setup command + MTU is 1514 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Outgoing access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP Flow switching is disabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + Associated unicast routing topologies: + Topology "base", operation state is UP + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + Output features: IP Post Routing Processing, HW Shortcut Installation + Post encapsulation features: MTU Processing, IP Protocol Output Counter, IP Sendself Check, HW Shortcut Installation + Sampled Netflow is disabled + IP Routed Flow creation is disabled in netflow table + IP Bridged Flow creation is disabled in netflow table + IPv4 WCCP Redirect outbound is disabled + IPv4 WCCP Redirect inbound is disabled + IPv4 WCCP Redirect exclude is disabled + IP multicast multilayer switching is disabled diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed new file mode 100644 index 0000000000..aa76f04209 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed @@ -0,0 +1,13 @@ +--- +parsed_sample: + +- intf: 'Loopback0' + link_status: 'up' + protocol_status: 'up' + ipaddr: ['10.0.0.0'] + mask: ['32'] + vrf: '' + mtu: '1514' + ip_helper: [] + outgoing_acl: '' + inbound_acl: '' diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw new file mode 100644 index 0000000000..de20e895b1 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw @@ -0,0 +1,39 @@ +Loopback0 is up, line protocol is up + Internet address is 10.0.0.0/32 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + MTU is 1514 bytes + Helper address is not set + Directed broadcast forwarding is disabled + Multicast reserved groups joined: 224.0.0.5 + Outgoing access list is not set + Inbound access list is not set + Proxy ARP is enabled + Local Proxy ARP is disabled + Security level is default + Split horizon is enabled + ICMP redirects are always sent + ICMP unreachables are always sent + ICMP mask replies are never sent + IP fast switching is enabled + IP CEF switching is enabled + IP CEF switching turbo vector + IP Null turbo vector + IP multicast fast switching is enabled + IP multicast distributed fast switching is disabled + IP route-cache flags are Fast, CEF + Router Discovery is disabled + IP output packet accounting is disabled + IP access violation accounting is disabled + TCP/IP header compression is disabled + RTP/IP header compression is disabled + Probe proxy name replies are disabled + Policy routing is disabled + Network address translation is disabled + BGP Policy Mapping is disabled + Input features: MCI Check + Output features: Check hwidb + WCCP Redirect outbound is disabled + WCCP Redirect inbound is disabled + WCCP Redirect exclude is disabled + From 58fa3170f35737afb7983e379962f4a77c52bc56 Mon Sep 17 00:00:00 2001 From: Adam Troy Date: Mon, 14 Oct 2019 20:13:14 -0500 Subject: [PATCH 303/628] new_template: ruckus_fastiron_show_arp --- templates/index | 4 +- templates/ruckus_fastiron_show_arp.template | 28 + .../show_arp/ruckus_fastiron_show_arp.parsed | 28 + .../show_arp/ruckus_fastiron_show_arp.raw | 6 + .../show_arp/ruckus_fastiron_show_arp1.parsed | 3548 +++++++++++++++++ .../show_arp/ruckus_fastiron_show_arp1.raw | 446 +++ tests/test_index_order.py | 2 +- 7 files changed, 4060 insertions(+), 2 deletions(-) create mode 100644 templates/ruckus_fastiron_show_arp.template create mode 100644 tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.parsed create mode 100644 tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.raw create mode 100644 tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.parsed create mode 100644 tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.raw diff --git a/templates/index b/templates/index index 0e8d0e96e9..a0722ca1fa 100644 --- a/templates/index +++ b/templates/index @@ -324,6 +324,8 @@ paloalto_panos_show_jobs_all.template, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.template, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.template, .*, paloalto_panos, sh[[ow]] mac all +ruckus_fastiron_show_arp.template, .*, ruckus_fastiron, sh[[ow]] ar[[p]] + ubiquiti_edgeswitch_show_vlan.template, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] ubiquiti_edgeswitch_show_arp.template, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] @@ -333,4 +335,4 @@ vmware_nsxv_show_ip_route.template, .*, vmware_nsxv, sh[[ow]] ip r[[oute]] vyatta_vyos_show_interfaces.template, .*, .*vyos.*, sh[[ow]] int[[erfaces]] vyatta_vyos_show_arp.template, .*, .*vyos.*, sh[[ow]] a[[rp]] -watchguard_firebox_show_arp.template, .*, watchguard_firebox, sh[[ow]] arp +watchguard_firebox_show_arp.template, .*, watchguard_firebox, sh[[ow]] arp \ No newline at end of file diff --git a/templates/ruckus_fastiron_show_arp.template b/templates/ruckus_fastiron_show_arp.template new file mode 100644 index 0000000000..3c1a560e9e --- /dev/null +++ b/templates/ruckus_fastiron_show_arp.template @@ -0,0 +1,28 @@ +Value NUMBER (\S+) +Value Required IP_ADDRESS ([A-Fa-f0-9:\.]+) +Value Required MAC_ADDRESS (([A-Fa-f0-9\.]{14}|None)) +Value TYPE (\S+) +Value AGE (\S+) +Value Required PORT (\S+) +Value STATUS (\S+) +Value VLAN (\S+) + +Start + ^All\s+ARPs:\s+\d+,\s+maximum\s+capacity:\s+\d+ + ^Total\s+number\s+of\s+ARP\s+entries\s*:\s+\d+ + ^Entries\s+in\s+default\s+routing\s+instance: + ^No\.\s+(IP\s+Address|IP)\s+(MAC\s+Address|MAC)\s+Type\s+Age\s+Port\s+Status\s+VLAN -> Layer2 + ^No\.\s+(IP\s+Address|IP)\s+(MAC\s+Address|MAC)\s+Type\s+Age\s+Port\s+Status -> Layer3 + ^\s*$$ + ^. -> Error + +Layer2 + ^${NUMBER}\s+${IP_ADDRESS}\s+${MAC_ADDRESS}\s+${TYPE}\s+${AGE}\s+${PORT}\s+${STATUS}\s+${VLAN} -> Record + ^Total\s+ARP\s+Entries\s*:\s+\d+ + ^\s*$$ + ^. -> Error + +Layer3 + ^${NUMBER}\s+${IP_ADDRESS}\s+${MAC_ADDRESS}\s+${TYPE}\s+${AGE}\s+${PORT}\s+${STATUS} -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.parsed b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.parsed new file mode 100644 index 0000000000..9dcef346d1 --- /dev/null +++ b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.parsed @@ -0,0 +1,28 @@ +--- +parsed_sample: + + - age: '0' + ip_address: 10.103.3.1 + mac_address: 70db.9862.224c + number: '1' + port: 1/2/1 + status: Valid + type: Dynamic + vlan: '1' + - age: '4' + ip_address: 10.103.3.10 + mac_address: c81f.6603.c442 + number: '2' + port: 1/1/8 + status: Valid + type: Dynamic + vlan: '1' + - age: '4' + ip_address: 10.103.3.4 + mac_address: f8bc.1294.dd30 + number: '3' + port: 1/1/6 + status: Valid + type: Dynamic + vlan: '1' + diff --git a/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.raw b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.raw new file mode 100644 index 0000000000..880947330e --- /dev/null +++ b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.raw @@ -0,0 +1,6 @@ +All ARPs: 3, maximum capacity: 4096 +No. IP MAC Type Age Port Status VLAN +1 10.103.3.1 70db.9862.224c Dynamic 0 1/2/1 Valid 1 +2 10.103.3.10 c81f.6603.c442 Dynamic 4 1/1/8 Valid 1 +3 10.103.3.4 f8bc.1294.dd30 Dynamic 4 1/1/6 Valid 1 +Total ARP Entries : 3 \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.parsed b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.parsed new file mode 100644 index 0000000000..d91f1b6d45 --- /dev/null +++ b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.parsed @@ -0,0 +1,3548 @@ +--- +parsed_sample: + + - age: '0' + ip_address: 10.101.1.27 + mac_address: 0015.5d01.3005 + number: '1' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.33.88 + mac_address: 404e.3620.c919 + number: '2' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.30 + mac_address: 0022.195e.5dec + number: '3' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.31 + mac_address: 0019.b9ea.68a5 + number: '4' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.32 + mac_address: None + number: '5' + port: v1 + status: Pend + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.37 + mac_address: b8ac.6f8a.66ab + number: '6' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.41 + mac_address: 782b.cb5b.0911 + number: '7' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.47 + mac_address: 0015.5d01.300d + number: '8' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.1.48 + mac_address: d4ae.52e6.d351 + number: '9' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.50 + mac_address: 782b.cb29.d613 + number: '10' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.1.59 + mac_address: 0015.5d01.be07 + number: '11' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.75 + mac_address: None + number: '12' + port: v9 + status: Pend + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.61 + mac_address: 0015.5d01.be09 + number: '13' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.62 + mac_address: 0015.5d01.3008 + number: '14' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.63 + mac_address: 0015.5d01.300a + number: '15' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.33.124 + mac_address: 1c23.2c09.3f65 + number: '16' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.1.64 + mac_address: 0015.5d01.be04 + number: '17' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.65 + mac_address: 0015.5d01.be06 + number: '18' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.1.66 + mac_address: 0021.9b93.d7d7 + number: '19' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.68 + mac_address: 0090.a9dd.c7f4 + number: '20' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.33.129 + mac_address: cc66.0a56.478a + number: '21' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.33.130 + mac_address: 68db.ca80.a255 + number: '22' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.72 + mac_address: 0015.5d01.3003 + number: '23' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.1.79 + mac_address: 0020.6b40.20ce + number: '24' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.96 + mac_address: c81f.663e.22f6 + number: '25' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.97 + mac_address: 6c2b.59d6.a0b6 + number: '26' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.98 + mac_address: 509a.4c50.83a2 + number: '27' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.99 + mac_address: f8bc.128e.a214 + number: '28' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.85 + mac_address: None + number: '29' + port: v1 + status: Pend + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.100 + mac_address: 0080.648e.cf43 + number: '30' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.102 + mac_address: 9ceb.e86a.1006 + number: '31' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.9.103 + mac_address: d89e.f32b.15b0 + number: '32' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.105 + mac_address: 54bf.646f.cdfb + number: '33' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.92 + mac_address: 00e0.8615.e11b + number: '34' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.107 + mac_address: 509a.4c5b.8318 + number: '35' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.108 + mac_address: 3005.5c8f.7c1e + number: '36' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.109 + mac_address: 54bf.646f.d11e + number: '37' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.9.112 + mac_address: 54bf.649b.9cdd + number: '38' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.113 + mac_address: f8bc.125b.8447 + number: '39' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.9.114 + mac_address: e454.e84c.cdec + number: '40' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.117 + mac_address: None + number: '41' + port: v9 + status: Pend + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.118 + mac_address: e454.e85f.1c82 + number: '42' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.120 + mac_address: 0015.5d09.6525 + number: '43' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.121 + mac_address: e454.e860.2758 + number: '44' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.122 + mac_address: e4b9.7ad5.0b40 + number: '45' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.9.127 + mac_address: a44c.c8e9.3460 + number: '46' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.9.129 + mac_address: 0080.64c1.89e9 + number: '47' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.134 + mac_address: 1866.da35.3d85 + number: '48' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.135 + mac_address: c81f.662e.e0a3 + number: '49' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.136 + mac_address: 54bf.6496.8603 + number: '50' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.137 + mac_address: f48e.387f.2b5b + number: '51' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.138 + mac_address: d89e.f33d.aa75 + number: '52' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.9.139 + mac_address: 0080.64de.4df4 + number: '53' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.140 + mac_address: f8bc.1261.ae08 + number: '54' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.141 + mac_address: e454.e85f.24dc + number: '55' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.144 + mac_address: 54bf.648a.1acd + number: '56' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.1.130 + mac_address: 0015.5d01.4200 + number: '57' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.147 + mac_address: 2047.47b3.44ad + number: '58' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.9.148 + mac_address: e454.e85d.bf09 + number: '59' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.151 + mac_address: 0080.64f0.7f74 + number: '60' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.138 + mac_address: None + number: '61' + port: v1 + status: Pend + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.152 + mac_address: 0015.5d01.3029 + number: '62' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.1.153 + mac_address: 0010.18b4.26d2 + number: '63' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.3 + mac_address: c0c5.2050.a500 + number: '64' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.11 + mac_address: c471.feb0.aea4 + number: '65' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.221.1.12 + mac_address: d072.dc3b.0b19 + number: '66' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.13 + mac_address: c471.feb0.ae3a + number: '67' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.14 + mac_address: e05f.b9a7.de47 + number: '68' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.221.1.15 + mac_address: 7426.ac5d.0821 + number: '69' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.221.1.16 + mac_address: e05f.b95f.9dfe + number: '70' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.17 + mac_address: e05f.b9a7.dd3d + number: '71' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.18 + mac_address: e05f.b985.b92c + number: '72' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.19 + mac_address: e05f.b9a7.de5c + number: '73' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.221.1.20 + mac_address: e05f.b9d6.ed18 + number: '74' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.21 + mac_address: ccef.48c2.4e6f + number: '75' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.22 + mac_address: c471.fe20.2d30 + number: '76' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.23 + mac_address: 184b.0d20.2260 + number: '77' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.1.190 + mac_address: d4ae.52e9.2b66 + number: '78' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.194 + mac_address: 0015.5d01.be00 + number: '79' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.35 + mac_address: c0c5.2050.a500 + number: '80' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.37 + mac_address: e0e6.2e19.aa0d + number: '81' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.1.208 + mac_address: 0001.f095.0722 + number: '82' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.219 + mac_address: 0021.a140.f8c0 + number: '83' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.221 + mac_address: 1cdf.0fc6.816f + number: '84' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.18.3 + mac_address: c0c5.2050.a500 + number: '85' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.231 + mac_address: 001e.f7ed.adfa + number: '86' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.67 + mac_address: c0c5.2050.a500 + number: '87' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.232 + mac_address: 0021.d837.bae8 + number: '88' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.235 + mac_address: 0002.b39e.7df0 + number: '89' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.236 + mac_address: 0009.b7f7.730d + number: '90' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.73 + mac_address: d861.6231.c94e + number: '91' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.237 + mac_address: 0009.b7f7.730e + number: '92' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.252 + mac_address: 0cd0.f85f.0741 + number: '93' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.9.253 + mac_address: 50f7.22ad.a841 + number: '94' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.74 + mac_address: 0010.20d0.b627 + number: '95' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '45' + ip_address: 10.221.1.75 + mac_address: 0010.40b9.2c4f + number: '96' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.254 + mac_address: 7001.b5a9.79c1 + number: '97' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '92' + ip_address: 10.221.1.76 + mac_address: 0010.40b3.c058 + number: '98' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '150' + ip_address: 10.221.1.77 + mac_address: 0010.4054.6c9f + number: '99' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '9' + ip_address: 10.221.1.78 + mac_address: 0010.40b9.6160 + number: '100' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.221.1.79 + mac_address: 0010.4079.aba8 + number: '101' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.221.1.80 + mac_address: 0010.40a4.4991 + number: '102' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.3 + mac_address: c0c5.2050.a500 + number: '103' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '150' + ip_address: 10.221.1.81 + mac_address: 0010.40b9.2afb + number: '104' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.6 + mac_address: 8890.8d8c.e7c1 + number: '105' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.84 + mac_address: 0010.20d0.b759 + number: '106' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.7 + mac_address: e089.9ddb.bdc1 + number: '107' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.1.248 + mac_address: 0030.4df5.d0ec + number: '108' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '10' + ip_address: 10.221.1.85 + mac_address: 0010.40a4.492d + number: '109' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.8 + mac_address: 50f7.2228.3a41 + number: '110' + port: lg12 + status: Valid + type: Dynamic + vlan: '' + - age: '137' + ip_address: 10.221.1.86 + mac_address: 0010.20d0.afe1 + number: '111' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.250 + mac_address: b8ac.6f99.9586 + number: '112' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.87 + mac_address: 0010.20d0.aff7 + number: '113' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.251 + mac_address: 0021.9b92.e0dc + number: '114' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.88 + mac_address: 0010.20d0.b215 + number: '115' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.89 + mac_address: 0010.20cd.2011 + number: '116' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.92 + mac_address: 0010.4077.4169 + number: '117' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.99 + mac_address: 0010.40ad.039e + number: '118' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.100 + mac_address: 000b.6bb4.cc74 + number: '119' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '36' + ip_address: 10.221.1.101 + mac_address: 0010.40a4.4922 + number: '120' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '86' + ip_address: 10.221.1.102 + mac_address: 0010.4079.abbd + number: '121' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.104 + mac_address: 0010.20d0.b0fd + number: '122' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '16' + ip_address: 10.221.1.106 + mac_address: 0010.40b3.c062 + number: '123' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '7' + ip_address: 10.221.1.107 + mac_address: 0010.40b9.6185 + number: '124' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '127' + ip_address: 10.221.1.108 + mac_address: 0010.20cf.c30b + number: '125' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.109 + mac_address: 0010.20cf.6e23 + number: '126' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.110 + mac_address: 4049.0f62.5bef + number: '127' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '72' + ip_address: 10.221.1.111 + mac_address: 0010.40a4.48e5 + number: '128' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '8' + ip_address: 10.221.1.112 + mac_address: 0010.20cf.c0d7 + number: '129' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '6' + ip_address: 10.221.1.115 + mac_address: 0010.20cf.c0a5 + number: '130' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '27' + ip_address: 10.221.1.116 + mac_address: 0010.40b9.6260 + number: '131' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.126 + mac_address: a0c9.a0de.6989 + number: '132' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.131 + mac_address: c0c5.2050.a500 + number: '133' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '22' + ip_address: 10.221.1.134 + mac_address: 62b6.2cad.ebb1 + number: '134' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.141 + mac_address: 94b8.6d5c.1057 + number: '135' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.143 + mac_address: 6480.994e.4b6c + number: '136' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.73 + mac_address: 3005.5c01.3974 + number: '137' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.151 + mac_address: None + number: '138' + port: v112 + status: Pend + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.75 + mac_address: 3005.5cec.2fdd + number: '139' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.157 + mac_address: 645a.04c4.548e + number: '140' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.92 + mac_address: 90b1.1c5d.abfe + number: '141' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.93 + mac_address: 6c2b.59eb.6fe5 + number: '142' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.95 + mac_address: 5c26.0a7c.e7e3 + number: '143' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.96 + mac_address: d481.d77c.fe0e + number: '144' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.98 + mac_address: 5882.a89a.5371 + number: '145' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.99 + mac_address: a41f.7282.d823 + number: '146' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.100 + mac_address: d067.e524.b242 + number: '147' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.102 + mac_address: 6400.6a1f.f6ce + number: '148' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.107 + mac_address: d481.d729.5120 + number: '149' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.111 + mac_address: f01f.af2f.1020 + number: '150' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '23' + ip_address: 10.221.1.195 + mac_address: 8c85.9073.97b6 + number: '151' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.119 + mac_address: 6400.6a20.16c0 + number: '152' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.221.1.199 + mac_address: 78e1.034d.b7f0 + number: '153' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.122 + mac_address: d89e.f307.ac2a + number: '154' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '36' + ip_address: 10.221.1.200 + mac_address: 62b6.2cad.ebb1 + number: '155' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '19' + ip_address: 10.221.1.202 + mac_address: 78e1.034d.b7f0 + number: '156' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.125 + mac_address: f01f.af30.565c + number: '157' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.128 + mac_address: None + number: '158' + port: v10 + status: Pend + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.206 + mac_address: c83c.85d2.6c11 + number: '159' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '6' + ip_address: 10.221.1.207 + mac_address: e0c7.6704.fe2a + number: '160' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.208 + mac_address: 8863.dfe5.813a + number: '161' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.221.1.208 + mac_address: 8863.dfe5.813a + number: '162' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.209 + mac_address: 58e6.bac2.56b8 + number: '163' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '5' + ip_address: 10.221.1.214 + mac_address: 30d9.d94f.3e44 + number: '164' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.221.1.215 + mac_address: 34e1.2d73.a8b1 + number: '165' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.75.3 + mac_address: c0c5.2050.a500 + number: '166' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.75.4 + mac_address: 00c0.0500.093c + number: '167' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.75.5 + mac_address: 00c0.0500.08ad + number: '168' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.75.6 + mac_address: 00c0.0500.09f6 + number: '169' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.142 + mac_address: 9ceb.e8a1.9e84 + number: '170' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.144 + mac_address: 7845.c41b.eb92 + number: '171' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.145 + mac_address: 1065.30a0.d9df + number: '172' + port: lg13 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.146 + mac_address: 6400.6a20.1c7b + number: '173' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.147 + mac_address: 406c.8f0d.b571 + number: '174' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.148 + mac_address: 54bf.6479.c6f1 + number: '175' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.150 + mac_address: c8f7.5061.86b2 + number: '176' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.153 + mac_address: 001e.4f4e.8ce2 + number: '177' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.154 + mac_address: None + number: '178' + port: v10 + status: Pend + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.10.157 + mac_address: 6400.6a20.1689 + number: '179' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.158 + mac_address: 8cec.4bec.848b + number: '180' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.10.159 + mac_address: d481.d74a.f7bb + number: '181' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.161 + mac_address: None + number: '182' + port: v10 + status: Pend + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.10.162 + mac_address: None + number: '183' + port: v10 + status: Pend + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.35.3 + mac_address: c0c5.2050.a500 + number: '184' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.35.4 + mac_address: 0019.0f04.a575 + number: '185' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.11.3 + mac_address: c0c5.2050.a500 + number: '186' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.66 + mac_address: 0021.b77e.b8de + number: '187' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.11.68 + mac_address: 0021.b7b5.5fcc + number: '188' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.69 + mac_address: 0021.b743.1f83 + number: '189' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.11.70 + mac_address: 0021.b7b9.ea96 + number: '190' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.71 + mac_address: 0020.6b3d.c471 + number: '191' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.11.72 + mac_address: 3c2a.f452.869d + number: '192' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.203.1.34 + mac_address: 6454.2206.7a86 + number: '193' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.203.1.35 + mac_address: 6454.2206.7b97 + number: '194' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.203.1.36 + mac_address: 6454.2205.8f17 + number: '195' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.203.1.37 + mac_address: 6454.2206.7ca3 + number: '196' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.203.1.38 + mac_address: 6454.2206.8bbb + number: '197' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.203.1.39 + mac_address: 6454.2205.1d32 + number: '198' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.203.1.40 + mac_address: 6454.2206.7cc7 + number: '199' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.11.96 + mac_address: f48e.3886.34ce + number: '200' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.203.1.41 + mac_address: 6454.2206.5aa8 + number: '201' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.97 + mac_address: c81f.6603.b673 + number: '202' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.98 + mac_address: d89e.f344.c7cc + number: '203' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.99 + mac_address: 484d.7ed6.091d + number: '204' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.100 + mac_address: a41f.7254.b8c4 + number: '205' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.101 + mac_address: b083.fe80.bb2f + number: '206' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.11.102 + mac_address: ecf4.bb27.383e + number: '207' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.129 + mac_address: 509a.4c3e.94f3 + number: '208' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.131 + mac_address: 484d.7ef5.e459 + number: '209' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.11.133 + mac_address: c81f.6604.7037 + number: '210' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.11.134 + mac_address: 6c2b.59e0.0ff2 + number: '211' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.11.135 + mac_address: f8bc.128f.06cb + number: '212' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.137 + mac_address: 6400.6a11.d615 + number: '213' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.11.139 + mac_address: a44c.c8eb.013a + number: '214' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.52.3 + mac_address: c0c5.2050.a500 + number: '215' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.20.4 + mac_address: 0006.f651.2fc1 + number: '216' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.20.5 + mac_address: c0c5.2050.a500 + number: '217' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.11.251 + mac_address: f078.16de.1141 + number: '218' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.11.253 + mac_address: 0008.3246.0041 + number: '219' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.11.254 + mac_address: 50f7.22ad.a9c1 + number: '220' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.12.2 + mac_address: c062.6b53.0f41 + number: '221' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.12.4 + mac_address: c0c5.2050.a500 + number: '222' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 172.20.0.1 + mac_address: 0000.0c9f.f6a4 + number: '223' + port: 1/1/40 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 172.20.0.2 + mac_address: 502f.a85c.3cd1 + number: '224' + port: 1/1/40 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 172.20.0.3 + mac_address: 502f.a8a7.7aa9 + number: '225' + port: 1/1/40 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.0.3 + mac_address: c0c5.2050.a500 + number: '226' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.12.100 + mac_address: a41f.7254.c298 + number: '227' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.0.33 + mac_address: 6454.2207.2d96 + number: '228' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.12.130 + mac_address: f8bc.128f.b1d0 + number: '229' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.77.3 + mac_address: c0c5.2050.a500 + number: '230' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 172.24.0.3 + mac_address: c0c5.2050.a500 + number: '231' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 172.24.0.4 + mac_address: c08c.6093.09b6 + number: '232' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.12.231 + mac_address: 8843.e1ec.81e6 + number: '233' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.12.232 + mac_address: 8843.e1ec.8196 + number: '234' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.21.3 + mac_address: c0c5.2050.a500 + number: '235' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.2 + mac_address: 0019.aa54.dd41 + number: '236' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.4 + mac_address: c0c5.2050.a500 + number: '237' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.210.0.3 + mac_address: c0c5.2050.a500 + number: '238' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 172.20.0.253 + mac_address: c0c5.2050.a500 + number: '239' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.210.0.11 + mac_address: d4c1.9e5c.b468 + number: '240' + port: lg11 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.13.65 + mac_address: 0023.7d7c.2542 + number: '241' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.210.0.12 + mac_address: d4c1.9e5c.b3f8 + number: '242' + port: lg12 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.210.0.13 + mac_address: d4c1.9e5c.a160 + number: '243' + port: lg13 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.210.0.14 + mac_address: d4c1.9e5c.6928 + number: '244' + port: lg14 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.13.69 + mac_address: 0020.6b3e.8f55 + number: '245' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.210.0.31 + mac_address: d4c1.9e5c.96a8 + number: '246' + port: lg31 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.3 + mac_address: c0c5.2050.a500 + number: '247' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.4 + mac_address: 34e6.d709.82d0 + number: '248' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.5 + mac_address: f8bc.1270.34ad + number: '249' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.6 + mac_address: 6400.6a15.bd50 + number: '250' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.100 + mac_address: f8bc.128f.06d5 + number: '251' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.103.1.7 + mac_address: d89e.f307.af58 + number: '252' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.13.101 + mac_address: c81f.6603.c42c + number: '253' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.103.1.7 + mac_address: d89e.f307.af58 + number: '254' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.13.101 + mac_address: c81f.6603.c42c + number: '255' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.8 + mac_address: b083.fea6.fa5a + number: '256' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.102 + mac_address: f8bc.1270.26c8 + number: '257' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.103 + mac_address: 480f.cfcd.7db9 + number: '258' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.9 + mac_address: b083.feaa.9b23 + number: '259' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.103.1.10 + mac_address: b083.fea2.29ca + number: '260' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.13.104 + mac_address: c81f.6604.6f0a + number: '261' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.11 + mac_address: b083.fea6.3dd2 + number: '262' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.105 + mac_address: f8bc.1265.d061 + number: '263' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.12 + mac_address: b083.fea6.fae4 + number: '264' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.13 + mac_address: b083.feaa.9849 + number: '265' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.13.108 + mac_address: 54bf.646e.6a45 + number: '266' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.109 + mac_address: f48e.3895.c396 + number: '267' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.13.110 + mac_address: f8bc.1261.fb5a + number: '268' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.13.111 + mac_address: 34e6.d72e.51f8 + number: '269' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.21 + mac_address: f8bc.125e.bd90 + number: '270' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.22 + mac_address: 6c2b.59e0.0f92 + number: '271' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.23 + mac_address: 6c2b.59dd.b693 + number: '272' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.24 + mac_address: 6c2b.59df.6cda + number: '273' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.25 + mac_address: 6c2b.59df.24fe + number: '274' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.26 + mac_address: 6c2b.59e0.100d + number: '275' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.27 + mac_address: 6c2b.59df.f57d + number: '276' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.27 + mac_address: 6c2b.59df.f57d + number: '277' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.28 + mac_address: 6c2b.59de.5656 + number: '278' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.30 + mac_address: 6400.6a20.16a2 + number: '279' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.34 + mac_address: 1866.da29.f2c9 + number: '280' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.35 + mac_address: 1866.da35.3d28 + number: '281' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.36 + mac_address: d89e.f32f.3c59 + number: '282' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.37 + mac_address: 54bf.6476.ad35 + number: '283' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.103.1.38 + mac_address: 1866.da13.1eaf + number: '284' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.103.1.39 + mac_address: d89e.f32e.8afc + number: '285' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.103.1.40 + mac_address: 1866.da09.8e0e + number: '286' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.41 + mac_address: 54bf.6475.04c2 + number: '287' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.43 + mac_address: c0c5.2050.a500 + number: '288' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.152 + mac_address: c8f7.50b6.cf55 + number: '289' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.153 + mac_address: f8bc.126f.b359 + number: '290' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.157 + mac_address: 18db.f24e.3341 + number: '291' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.13.158 + mac_address: e4b9.7a94.3cd9 + number: '292' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.67 + mac_address: 0004.a3b0.d256 + number: '293' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.68 + mac_address: f8bc.1270.92fc + number: '294' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.76 + mac_address: 6c2b.59f9.219e + number: '295' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.77 + mac_address: a4ba.dbe3.c901 + number: '296' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.78 + mac_address: 842b.2bb8.a1fe + number: '297' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.79 + mac_address: 842b.2bbb.b2de + number: '298' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.88 + mac_address: 3c2a.f41a.0f4d + number: '299' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.191.3 + mac_address: c0c5.2050.a500 + number: '300' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 172.24.9.2 + mac_address: c0c5.2050.a500 + number: '301' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.3 + mac_address: c0c5.2050.a500 + number: '302' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.30.5 + mac_address: 1cdf.0fc6.816f + number: '303' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.13.231 + mac_address: 8843.e1d1.adac + number: '304' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.13.254 + mac_address: 50f7.22ad.a7c1 + number: '305' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.14.2 + mac_address: 001e.133b.ac41 + number: '306' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.14.3 + mac_address: c0c5.2050.a500 + number: '307' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.14.25 + mac_address: None + number: '308' + port: v14 + status: Pend + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.194 + mac_address: 0080.64b5.4b26 + number: '309' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.195 + mac_address: 6c2b.59f9.95d1 + number: '310' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.196 + mac_address: 0080.6491.4a20 + number: '311' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.103.1.197 + mac_address: 0080.643e.92c1 + number: '312' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.198 + mac_address: 484d.7ed5.5fd9 + number: '313' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.199 + mac_address: 509a.4c42.fa15 + number: '314' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.200 + mac_address: 6c2b.59ef.74f1 + number: '315' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.201 + mac_address: e454.e84c.cd52 + number: '316' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.103.1.202 + mac_address: 6c2b.59ef.285c + number: '317' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.204 + mac_address: c0c5.2050.a500 + number: '318' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.14.48 + mac_address: 0000.aac3.7abf + number: '319' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.14.60 + mac_address: 0020.6bb3.510a + number: '320' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.210.1.11 + mac_address: 245e.be2b.02a4 + number: '321' + port: 1/1/37 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.210.1.12 + mac_address: 245e.be2d.6090 + number: '322' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.97 + mac_address: 485f.9995.9b11 + number: '323' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.98 + mac_address: 9cd2.1e66.2331 + number: '324' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.99 + mac_address: ac7b.a1e0.f0fb + number: '325' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.101 + mac_address: 8019.34a2.7ed9 + number: '326' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.30.103 + mac_address: e4a4.714c.bd73 + number: '327' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.104 + mac_address: f48c.50f9.597a + number: '328' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.105 + mac_address: a4c3.f0b2.d4f0 + number: '329' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.30.107 + mac_address: 2016.b9b0.587e + number: '330' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.108 + mac_address: 54e4.3aef.e4af + number: '331' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.243 + mac_address: c0c5.2050.a500 + number: '332' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.115 + mac_address: 5cea.1d88.9c47 + number: '333' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.116 + mac_address: bc85.5606.34f0 + number: '334' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.30.118 + mac_address: acd1.b879.6a1a + number: '335' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.251 + mac_address: c0c5.2050.a500 + number: '336' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.120 + mac_address: None + number: '337' + port: v501 + status: Pend + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.252 + mac_address: 2037.06af.0e41 + number: '338' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.103.1.253 + mac_address: 6cdd.3030.2a42 + number: '339' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.14.96 + mac_address: 8c04.ba74.6ba8 + number: '340' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.14.97 + mac_address: 54bf.645b.dbb2 + number: '341' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.14.98 + mac_address: a41f.727e.53c8 + number: '342' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.14.100 + mac_address: 6400.6a1f.f8e0 + number: '343' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.14.101 + mac_address: 509a.4c54.55c5 + number: '344' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.14.102 + mac_address: 6c2b.59f9.2092 + number: '345' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.14.102 + mac_address: 6c2b.59f9.2092 + number: '346' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.133 + mac_address: None + number: '347' + port: v501 + status: Pend + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.14.103 + mac_address: 6c2b.59eb.527c + number: '348' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.14.105 + mac_address: d481.d786.39e9 + number: '349' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.14.106 + mac_address: 54bf.6474.a330 + number: '350' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.14.114 + mac_address: None + number: '351' + port: v14 + status: Pend + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.14.128 + mac_address: d481.d78c.0d69 + number: '352' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.14.130 + mac_address: 503f.5601.755e + number: '353' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.14.131 + mac_address: 1065.30e2.f5cb + number: '354' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.14.135 + mac_address: b083.febb.908a + number: '355' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.191.211 + mac_address: 0002.d106.d601 + number: '356' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.14.138 + mac_address: 1065.308f.203b + number: '357' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.191.212 + mac_address: 0002.d106.d5f8 + number: '358' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.191.213 + mac_address: 0002.d106.d5e7 + number: '359' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.191.214 + mac_address: 0002.d106.d5e6 + number: '360' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.191.215 + mac_address: 0002.d106.d5a7 + number: '361' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.191.216 + mac_address: 0002.d113.1d4e + number: '362' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.191.217 + mac_address: 0002.d113.1d4f + number: '363' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.191.218 + mac_address: 0002.d113.1d54 + number: '364' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.30.175 + mac_address: e0aa.964f.4096 + number: '365' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.177 + mac_address: None + number: '366' + port: v501 + status: Pend + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.30.178 + mac_address: dc53.6064.c6a7 + number: '367' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.30.179 + mac_address: 0021.6ae3.f4db + number: '368' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.30.181 + mac_address: 9cb6.d093.7e89 + number: '369' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.30.183 + mac_address: 0454.5311.f0a0 + number: '370' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.184 + mac_address: 009d.6be3.ef4f + number: '371' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.185 + mac_address: 9061.ae52.7533 + number: '372' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.30.186 + mac_address: 181d.ea7a.9522 + number: '373' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.30.187 + mac_address: 50e0.85d6.579f + number: '374' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.188 + mac_address: 0028.f8e5.0c3b + number: '375' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.30.191 + mac_address: 7c76.352e.0018 + number: '376' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.30.197 + mac_address: 3c6a.a7ec.7c3c + number: '377' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.30.199 + mac_address: 9cb6.d0f2.1467 + number: '378' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.30.221 + mac_address: f0d5.bf83.30b5 + number: '379' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.14.226 + mac_address: 001d.e557.fd4c + number: '380' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.14.227 + mac_address: 001f.9e8e.8f96 + number: '381' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.31.2 + mac_address: 1cdf.0fc6.816f + number: '382' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.31.3 + mac_address: c0c5.2050.a500 + number: '383' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.3 + mac_address: c0c5.2050.a500 + number: '384' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.15.60 + mac_address: a042.3f3b.dd1b + number: '385' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.61 + mac_address: 0020.6b3e.156e + number: '386' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.96 + mac_address: 003e.e1bf.d4b1 + number: '387' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.15.97 + mac_address: 003e.e1c0.086e + number: '388' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.98 + mac_address: 003e.e1c0.0974 + number: '389' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.31.129 + mac_address: 0010.20cd.5559 + number: '390' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.102 + mac_address: 003e.e1bf.e49d + number: '391' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.98 + mac_address: 003e.e1c0.0974 + number: '392' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.31.129 + mac_address: 0010.20cd.5559 + number: '393' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.102 + mac_address: 003e.e1bf.e49d + number: '394' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.103 + mac_address: 685b.3588.d8e1 + number: '395' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.225.2 + mac_address: 0015.5d01.3007 + number: '396' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.15.129 + mac_address: 10dd.b1de.a06c + number: '397' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.15.131 + mac_address: 70cd.60f4.149b + number: '398' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.133 + mac_address: c81f.6613.bfb1 + number: '399' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.134 + mac_address: 3c07.545c.4cc6 + number: '400' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.15.135 + mac_address: a44c.c8bc.4af1 + number: '401' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.32.3 + mac_address: c0c5.2050.a500 + number: '402' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.15.254 + mac_address: 0008.3246.08c1 + number: '403' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.16.3 + mac_address: c0c5.2050.a500 + number: '404' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.16.96 + mac_address: a41f.7254.c29e + number: '405' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.16.97 + mac_address: c8f7.508e.5ccb + number: '406' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.16.130 + mac_address: 2047.47e8.7e80 + number: '407' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.16.131 + mac_address: d89e.f32b.f084 + number: '408' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.226.9 + mac_address: 509a.4c50.8792 + number: '409' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.226.10 + mac_address: 0026.b93d.2ab0 + number: '410' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.226.11 + mac_address: 000f.7c14.8226 + number: '411' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.226.12 + mac_address: 000f.7c14.8261 + number: '412' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.226.13 + mac_address: 000f.7c14.2a0d + number: '413' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.226.14 + mac_address: 000f.7c14.29db + number: '414' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.33.3 + mac_address: c0c5.2050.a500 + number: '415' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.33.4 + mac_address: 1cdf.0fc6.816f + number: '416' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.25.3 + mac_address: c0c5.2050.a500 + number: '417' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.25.6 + mac_address: 3442.6272.2ac0 + number: '418' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.25.8 + mac_address: 509a.4c42.c674 + number: '419' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.25.9 + mac_address: 7845.c40e.6fc3 + number: '420' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.25.10 + mac_address: 105b.ad04.82c7 + number: '421' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.17.2 + mac_address: 34e6.d70a.6e24 + number: '422' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.17.4 + mac_address: 7845.c40e.aac0 + number: '423' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.17.5 + mac_address: d4be.d9dd.ffdd + number: '424' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.17.6 + mac_address: c0c5.2050.a500 + number: '425' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.9.3 + mac_address: c0c5.2050.a500 + number: '426' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.33.61 + mac_address: e82a.ea5d.7db6 + number: '427' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.1.2 + mac_address: a80c.0db2.05a0 + number: '428' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.3 + mac_address: 0027.e31e.ebf1 + number: '429' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.1.4 + mac_address: 24e9.b364.6b00 + number: '430' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.1.5 + mac_address: 0000.0c07.ac00 + number: '431' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.6 + mac_address: 0024.9701.b075 + number: '432' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.7 + mac_address: 0024.9701.b073 + number: '433' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '5' + ip_address: 10.101.33.69 + mac_address: 30f7.725a.151c + number: '434' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.9 + mac_address: c0c5.2050.a500 + number: '435' + port: lg1 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.10 + mac_address: 842b.2b56.c449 + number: '436' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.1.11 + mac_address: f866.f2a8.3440 + number: '437' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.13 + mac_address: 0004.a3b7.3156 + number: '438' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '2' + ip_address: 10.101.33.75 + mac_address: 1093.e95d.858a + number: '439' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.1.17 + mac_address: 0015.5d01.be0a + number: '440' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.21 + mac_address: 0014.ee01.475f + number: '441' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + - age: '0' + ip_address: 10.101.1.22 + mac_address: None + number: '442' + port: v1 + status: Pend + type: Dynamic + vlan: '' + - age: '1' + ip_address: 10.101.1.25 + mac_address: 0015.5d01.be02 + number: '443' + port: lg7 + status: Valid + type: Dynamic + vlan: '' + diff --git a/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.raw b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.raw new file mode 100644 index 0000000000..6712026b91 --- /dev/null +++ b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.raw @@ -0,0 +1,446 @@ +Total number of ARP entries: 443 +Entries in default routing instance: +No. IP Address MAC Address Type Age Port Status +1 10.101.1.27 0015.5d01.3005 Dynamic 0 lg7 Valid +2 10.101.33.88 404e.3620.c919 Dynamic 0 lg7 Valid +3 10.101.1.30 0022.195e.5dec Dynamic 0 lg7 Valid +4 10.101.1.31 0019.b9ea.68a5 Dynamic 0 lg7 Valid +5 10.101.1.32 None Dynamic 0 v1 Pend +6 10.101.1.37 b8ac.6f8a.66ab Dynamic 0 lg7 Valid +7 10.101.1.41 782b.cb5b.0911 Dynamic 0 lg7 Valid +8 10.101.1.47 0015.5d01.300d Dynamic 0 lg7 Valid +9 10.101.1.48 d4ae.52e6.d351 Dynamic 1 lg7 Valid +10 10.101.1.50 782b.cb29.d613 Dynamic 0 lg7 Valid +11 10.101.1.59 0015.5d01.be07 Dynamic 1 lg7 Valid +12 10.101.9.75 None Dynamic 0 v9 Pend +13 10.101.1.61 0015.5d01.be09 Dynamic 0 lg7 Valid +14 10.101.1.62 0015.5d01.3008 Dynamic 0 lg7 Valid +15 10.101.1.63 0015.5d01.300a Dynamic 0 lg7 Valid +16 10.101.33.124 1c23.2c09.3f65 Dynamic 0 lg7 Valid +17 10.101.1.64 0015.5d01.be04 Dynamic 1 lg7 Valid +18 10.101.1.65 0015.5d01.be06 Dynamic 0 lg7 Valid +19 10.101.1.66 0021.9b93.d7d7 Dynamic 2 lg7 Valid +20 10.101.1.68 0090.a9dd.c7f4 Dynamic 0 lg7 Valid +21 10.101.33.129 cc66.0a56.478a Dynamic 0 lg7 Valid +22 10.101.33.130 68db.ca80.a255 Dynamic 1 lg7 Valid +23 10.101.1.72 0015.5d01.3003 Dynamic 0 lg7 Valid +24 10.101.1.79 0020.6b40.20ce Dynamic 1 lg7 Valid +25 10.101.9.96 c81f.663e.22f6 Dynamic 1 lg7 Valid +26 10.101.9.97 6c2b.59d6.a0b6 Dynamic 0 lg7 Valid +27 10.101.9.98 509a.4c50.83a2 Dynamic 1 lg7 Valid +28 10.101.9.99 f8bc.128e.a214 Dynamic 0 lg7 Valid +29 10.101.1.85 None Dynamic 0 v1 Pend +30 10.101.9.100 0080.648e.cf43 Dynamic 1 lg7 Valid +31 10.101.9.102 9ceb.e86a.1006 Dynamic 1 lg7 Valid +32 10.101.9.103 d89e.f32b.15b0 Dynamic 2 lg7 Valid +33 10.101.9.105 54bf.646f.cdfb Dynamic 0 lg7 Valid +34 10.101.1.92 00e0.8615.e11b Dynamic 0 lg7 Valid +35 10.101.9.107 509a.4c5b.8318 Dynamic 0 lg7 Valid +36 10.101.9.108 3005.5c8f.7c1e Dynamic 1 lg7 Valid +37 10.101.9.109 54bf.646f.d11e Dynamic 0 lg7 Valid +38 10.101.9.112 54bf.649b.9cdd Dynamic 2 lg7 Valid +39 10.101.9.113 f8bc.125b.8447 Dynamic 1 lg7 Valid +40 10.101.9.114 e454.e84c.cdec Dynamic 2 lg7 Valid +41 10.101.9.117 None Dynamic 0 v9 Pend +42 10.101.9.118 e454.e85f.1c82 Dynamic 0 lg7 Valid +43 10.101.9.120 0015.5d09.6525 Dynamic 1 lg7 Valid +44 10.101.9.121 e454.e860.2758 Dynamic 1 lg7 Valid +45 10.101.9.122 e4b9.7ad5.0b40 Dynamic 0 lg7 Valid +46 10.101.9.127 a44c.c8e9.3460 Dynamic 2 lg7 Valid +47 10.101.9.129 0080.64c1.89e9 Dynamic 2 lg7 Valid +48 10.101.9.134 1866.da35.3d85 Dynamic 0 lg7 Valid +49 10.101.9.135 c81f.662e.e0a3 Dynamic 1 lg7 Valid +50 10.101.9.136 54bf.6496.8603 Dynamic 0 lg7 Valid +51 10.101.9.137 f48e.387f.2b5b Dynamic 1 lg7 Valid +52 10.101.9.138 d89e.f33d.aa75 Dynamic 0 lg7 Valid +53 10.101.9.139 0080.64de.4df4 Dynamic 2 lg7 Valid +54 10.101.9.140 f8bc.1261.ae08 Dynamic 1 lg7 Valid +55 10.101.9.141 e454.e85f.24dc Dynamic 0 lg7 Valid +56 10.101.9.144 54bf.648a.1acd Dynamic 1 lg7 Valid +57 10.101.1.130 0015.5d01.4200 Dynamic 1 lg7 Valid +58 10.101.9.147 2047.47b3.44ad Dynamic 0 lg7 Valid +59 10.101.9.148 e454.e85d.bf09 Dynamic 2 lg7 Valid +60 10.101.9.151 0080.64f0.7f74 Dynamic 0 lg7 Valid +61 10.101.1.138 None Dynamic 0 v1 Pend +62 10.101.1.152 0015.5d01.3029 Dynamic 0 lg7 Valid +63 10.101.1.153 0010.18b4.26d2 Dynamic 2 lg7 Valid +64 10.221.1.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +65 10.221.1.11 c471.feb0.aea4 Dynamic 1 lg7 Valid +66 10.221.1.12 d072.dc3b.0b19 Dynamic 2 lg7 Valid +67 10.221.1.13 c471.feb0.ae3a Dynamic 1 lg7 Valid +68 10.221.1.14 e05f.b9a7.de47 Dynamic 1 lg7 Valid +69 10.221.1.15 7426.ac5d.0821 Dynamic 2 lg7 Valid +70 10.221.1.16 e05f.b95f.9dfe Dynamic 2 lg7 Valid +71 10.221.1.17 e05f.b9a7.dd3d Dynamic 1 lg7 Valid +72 10.221.1.18 e05f.b985.b92c Dynamic 1 lg7 Valid +73 10.221.1.19 e05f.b9a7.de5c Dynamic 1 lg7 Valid +74 10.221.1.20 e05f.b9d6.ed18 Dynamic 2 lg7 Valid +75 10.221.1.21 ccef.48c2.4e6f Dynamic 1 lg7 Valid +76 10.221.1.22 c471.fe20.2d30 Dynamic 0 lg7 Valid +77 10.221.1.23 184b.0d20.2260 Dynamic 0 lg7 Valid +78 10.101.1.190 d4ae.52e9.2b66 Dynamic 2 lg7 Valid +79 10.101.1.194 0015.5d01.be00 Dynamic 0 lg7 Valid +80 10.221.1.35 c0c5.2050.a500 Dynamic 0 lg1 Valid +81 10.221.1.37 e0e6.2e19.aa0d Dynamic 1 lg7 Valid +82 10.101.1.208 0001.f095.0722 Dynamic 2 lg7 Valid +83 10.101.1.219 0021.a140.f8c0 Dynamic 0 lg7 Valid +84 10.101.1.221 1cdf.0fc6.816f Dynamic 0 lg7 Valid +85 10.101.18.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +86 10.101.1.231 001e.f7ed.adfa Dynamic 0 lg7 Valid +87 10.221.1.67 c0c5.2050.a500 Dynamic 0 lg1 Valid +88 10.101.1.232 0021.d837.bae8 Dynamic 0 lg7 Valid +89 10.101.1.235 0002.b39e.7df0 Dynamic 0 lg7 Valid +90 10.101.1.236 0009.b7f7.730d Dynamic 0 lg7 Valid +91 10.221.1.73 d861.6231.c94e Dynamic 1 lg7 Valid +92 10.101.1.237 0009.b7f7.730e Dynamic 0 lg7 Valid +93 10.101.9.252 0cd0.f85f.0741 Dynamic 1 lg7 Valid +94 10.101.9.253 50f7.22ad.a841 Dynamic 1 lg7 Valid +95 10.221.1.74 0010.20d0.b627 Dynamic 0 lg7 Valid +96 10.221.1.75 0010.40b9.2c4f Dynamic 45 lg7 Valid +97 10.101.9.254 7001.b5a9.79c1 Dynamic 0 lg7 Valid +98 10.221.1.76 0010.40b3.c058 Dynamic 92 lg7 Valid +99 10.221.1.77 0010.4054.6c9f Dynamic 150 lg7 Valid +100 10.221.1.78 0010.40b9.6160 Dynamic 9 lg7 Valid +101 10.221.1.79 0010.4079.aba8 Dynamic 2 lg7 Valid +102 10.221.1.80 0010.40a4.4991 Dynamic 2 lg7 Valid +103 10.101.10.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +104 10.221.1.81 0010.40b9.2afb Dynamic 150 lg7 Valid +105 10.101.10.6 8890.8d8c.e7c1 Dynamic 0 lg7 Valid +106 10.221.1.84 0010.20d0.b759 Dynamic 0 lg7 Valid +107 10.101.10.7 e089.9ddb.bdc1 Dynamic 2 lg7 Valid +108 10.101.1.248 0030.4df5.d0ec Dynamic 2 lg7 Valid +109 10.221.1.85 0010.40a4.492d Dynamic 10 lg7 Valid +110 10.101.10.8 50f7.2228.3a41 Dynamic 0 lg12 Valid +111 10.221.1.86 0010.20d0.afe1 Dynamic 137 lg7 Valid +112 10.101.1.250 b8ac.6f99.9586 Dynamic 0 lg7 Valid +113 10.221.1.87 0010.20d0.aff7 Dynamic 1 lg7 Valid +114 10.101.1.251 0021.9b92.e0dc Dynamic 0 lg7 Valid +115 10.221.1.88 0010.20d0.b215 Dynamic 0 lg7 Valid +116 10.221.1.89 0010.20cd.2011 Dynamic 1 lg7 Valid +117 10.221.1.92 0010.4077.4169 Dynamic 1 lg7 Valid +118 10.221.1.99 0010.40ad.039e Dynamic 1 lg7 Valid +119 10.221.1.100 000b.6bb4.cc74 Dynamic 1 lg7 Valid +120 10.221.1.101 0010.40a4.4922 Dynamic 36 lg7 Valid +121 10.221.1.102 0010.4079.abbd Dynamic 86 lg7 Valid +122 10.221.1.104 0010.20d0.b0fd Dynamic 0 lg7 Valid +123 10.221.1.106 0010.40b3.c062 Dynamic 16 lg7 Valid +124 10.221.1.107 0010.40b9.6185 Dynamic 7 lg7 Valid +125 10.221.1.108 0010.20cf.c30b Dynamic 127 lg7 Valid +126 10.221.1.109 0010.20cf.6e23 Dynamic 1 lg7 Valid +127 10.221.1.110 4049.0f62.5bef Dynamic 0 lg7 Valid +128 10.221.1.111 0010.40a4.48e5 Dynamic 72 lg7 Valid +129 10.221.1.112 0010.20cf.c0d7 Dynamic 8 lg7 Valid +130 10.221.1.115 0010.20cf.c0a5 Dynamic 6 lg7 Valid +131 10.221.1.116 0010.40b9.6260 Dynamic 27 lg7 Valid +132 10.221.1.126 a0c9.a0de.6989 Dynamic 0 lg7 Valid +133 10.221.1.131 c0c5.2050.a500 Dynamic 0 lg1 Valid +134 10.221.1.134 62b6.2cad.ebb1 Dynamic 22 lg7 Valid +135 10.221.1.141 94b8.6d5c.1057 Dynamic 0 lg7 Valid +136 10.221.1.143 6480.994e.4b6c Dynamic 0 lg7 Valid +137 10.101.10.73 3005.5c01.3974 Dynamic 2 lg7 Valid +138 10.221.1.151 None Dynamic 0 v112 Pend +139 10.101.10.75 3005.5cec.2fdd Dynamic 2 lg7 Valid +140 10.221.1.157 645a.04c4.548e Dynamic 1 lg7 Valid +141 10.101.10.92 90b1.1c5d.abfe Dynamic 2 lg7 Valid +142 10.101.10.93 6c2b.59eb.6fe5 Dynamic 2 lg7 Valid +143 10.101.10.95 5c26.0a7c.e7e3 Dynamic 1 lg7 Valid +144 10.101.10.96 d481.d77c.fe0e Dynamic 1 lg7 Valid +145 10.101.10.98 5882.a89a.5371 Dynamic 1 lg7 Valid +146 10.101.10.99 a41f.7282.d823 Dynamic 2 lg7 Valid +147 10.101.10.100 d067.e524.b242 Dynamic 0 lg7 Valid +148 10.101.10.102 6400.6a1f.f6ce Dynamic 1 lg7 Valid +149 10.101.10.107 d481.d729.5120 Dynamic 0 lg7 Valid +150 10.101.10.111 f01f.af2f.1020 Dynamic 2 lg7 Valid +151 10.221.1.195 8c85.9073.97b6 Dynamic 23 lg7 Valid +152 10.101.10.119 6400.6a20.16c0 Dynamic 2 lg7 Valid +153 10.221.1.199 78e1.034d.b7f0 Dynamic 2 lg7 Valid +154 10.101.10.122 d89e.f307.ac2a Dynamic 1 lg7 Valid +155 10.221.1.200 62b6.2cad.ebb1 Dynamic 36 lg7 Valid +156 10.221.1.202 78e1.034d.b7f0 Dynamic 19 lg7 Valid +157 10.101.10.125 f01f.af30.565c Dynamic 1 lg7 Valid +158 10.101.10.128 None Dynamic 0 v10 Pend +159 10.221.1.206 c83c.85d2.6c11 Dynamic 0 lg7 Valid +160 10.221.1.207 e0c7.6704.fe2a Dynamic 6 lg7 Valid +161 10.221.1.208 8863.dfe5.813a Dynamic 0 lg7 Valid +162 10.221.1.208 8863.dfe5.813a Dynamic 0 lg7 Valid +163 10.221.1.209 58e6.bac2.56b8 Dynamic 1 lg7 Valid +164 10.221.1.214 30d9.d94f.3e44 Dynamic 5 lg7 Valid +165 10.221.1.215 34e1.2d73.a8b1 Dynamic 1 lg7 Valid +166 10.101.75.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +167 10.101.75.4 00c0.0500.093c Dynamic 2 lg7 Valid +168 10.101.75.5 00c0.0500.08ad Dynamic 0 lg7 Valid +169 10.101.75.6 00c0.0500.09f6 Dynamic 1 lg7 Valid +170 10.101.10.142 9ceb.e8a1.9e84 Dynamic 0 lg7 Valid +171 10.101.10.144 7845.c41b.eb92 Dynamic 1 lg7 Valid +172 10.101.10.145 1065.30a0.d9df Dynamic 1 lg13 Valid +173 10.101.10.146 6400.6a20.1c7b Dynamic 1 lg7 Valid +174 10.101.10.147 406c.8f0d.b571 Dynamic 2 lg7 Valid +175 10.101.10.148 54bf.6479.c6f1 Dynamic 1 lg7 Valid +176 10.101.10.150 c8f7.5061.86b2 Dynamic 2 lg7 Valid +177 10.101.10.153 001e.4f4e.8ce2 Dynamic 1 lg7 Valid +178 10.101.10.154 None Dynamic 0 v10 Pend +179 10.101.10.157 6400.6a20.1689 Dynamic 1 lg7 Valid +180 10.101.10.158 8cec.4bec.848b Dynamic 0 lg7 Valid +181 10.101.10.159 d481.d74a.f7bb Dynamic 2 lg7 Valid +182 10.101.10.161 None Dynamic 0 v10 Pend +183 10.101.10.162 None Dynamic 0 v10 Pend +184 10.101.35.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +185 10.101.35.4 0019.0f04.a575 Dynamic 0 lg7 Valid +186 10.101.11.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +187 10.101.11.66 0021.b77e.b8de Dynamic 1 lg7 Valid +188 10.101.11.68 0021.b7b5.5fcc Dynamic 2 lg7 Valid +189 10.101.11.69 0021.b743.1f83 Dynamic 1 lg7 Valid +190 10.101.11.70 0021.b7b9.ea96 Dynamic 2 lg7 Valid +191 10.101.11.71 0020.6b3d.c471 Dynamic 1 lg7 Valid +192 10.101.11.72 3c2a.f452.869d Dynamic 2 lg7 Valid +193 10.203.1.34 6454.2206.7a86 Dynamic 2 lg7 Valid +194 10.203.1.35 6454.2206.7b97 Dynamic 2 lg7 Valid +195 10.203.1.36 6454.2205.8f17 Dynamic 1 lg7 Valid +196 10.203.1.37 6454.2206.7ca3 Dynamic 2 lg7 Valid +197 10.203.1.38 6454.2206.8bbb Dynamic 1 lg7 Valid +198 10.203.1.39 6454.2205.1d32 Dynamic 0 lg7 Valid +199 10.203.1.40 6454.2206.7cc7 Dynamic 0 lg7 Valid +200 10.101.11.96 f48e.3886.34ce Dynamic 0 lg7 Valid +201 10.203.1.41 6454.2206.5aa8 Dynamic 2 lg7 Valid +202 10.101.11.97 c81f.6603.b673 Dynamic 1 lg7 Valid +203 10.101.11.98 d89e.f344.c7cc Dynamic 1 lg7 Valid +204 10.101.11.99 484d.7ed6.091d Dynamic 1 lg7 Valid +205 10.101.11.100 a41f.7254.b8c4 Dynamic 1 lg7 Valid +206 10.101.11.101 b083.fe80.bb2f Dynamic 1 lg7 Valid +207 10.101.11.102 ecf4.bb27.383e Dynamic 0 lg7 Valid +208 10.101.11.129 509a.4c3e.94f3 Dynamic 1 lg7 Valid +209 10.101.11.131 484d.7ef5.e459 Dynamic 1 lg7 Valid +210 10.101.11.133 c81f.6604.7037 Dynamic 0 lg7 Valid +211 10.101.11.134 6c2b.59e0.0ff2 Dynamic 2 lg7 Valid +212 10.101.11.135 f8bc.128f.06cb Dynamic 0 lg7 Valid +213 10.101.11.137 6400.6a11.d615 Dynamic 1 lg7 Valid +214 10.101.11.139 a44c.c8eb.013a Dynamic 0 lg7 Valid +215 10.101.52.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +216 10.101.20.4 0006.f651.2fc1 Dynamic 0 lg7 Valid +217 10.101.20.5 c0c5.2050.a500 Dynamic 0 lg1 Valid +218 10.101.11.251 f078.16de.1141 Dynamic 2 lg7 Valid +219 10.101.11.253 0008.3246.0041 Dynamic 0 lg7 Valid +220 10.101.11.254 50f7.22ad.a9c1 Dynamic 1 lg7 Valid +221 10.101.12.2 c062.6b53.0f41 Dynamic 2 lg7 Valid +222 10.101.12.4 c0c5.2050.a500 Dynamic 0 lg1 Valid +223 172.20.0.1 0000.0c9f.f6a4 Dynamic 1 1/1/40 Valid +224 172.20.0.2 502f.a85c.3cd1 Dynamic 2 1/1/40 Valid +225 172.20.0.3 502f.a8a7.7aa9 Dynamic 0 1/1/40 Valid +226 10.103.0.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +227 10.101.12.100 a41f.7254.c298 Dynamic 0 lg7 Valid +228 10.103.0.33 6454.2207.2d96 Dynamic 1 lg7 Valid +229 10.101.12.130 f8bc.128f.b1d0 Dynamic 0 lg7 Valid +230 10.101.77.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +231 172.24.0.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +232 172.24.0.4 c08c.6093.09b6 Dynamic 2 lg7 Valid +233 10.101.12.231 8843.e1ec.81e6 Dynamic 0 lg7 Valid +234 10.101.12.232 8843.e1ec.8196 Dynamic 1 lg7 Valid +235 10.101.21.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +236 10.101.13.2 0019.aa54.dd41 Dynamic 0 lg7 Valid +237 10.101.13.4 c0c5.2050.a500 Dynamic 0 lg1 Valid +238 10.210.0.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +239 172.20.0.253 c0c5.2050.a500 Dynamic 0 lg1 Valid +240 10.210.0.11 d4c1.9e5c.b468 Dynamic 1 lg11 Valid +241 10.101.13.65 0023.7d7c.2542 Dynamic 2 lg7 Valid +242 10.210.0.12 d4c1.9e5c.b3f8 Dynamic 1 lg12 Valid +243 10.210.0.13 d4c1.9e5c.a160 Dynamic 2 lg13 Valid +244 10.210.0.14 d4c1.9e5c.6928 Dynamic 0 lg14 Valid +245 10.101.13.69 0020.6b3e.8f55 Dynamic 2 lg7 Valid +246 10.210.0.31 d4c1.9e5c.96a8 Dynamic 2 lg31 Valid +247 10.103.1.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +248 10.103.1.4 34e6.d709.82d0 Dynamic 0 lg7 Valid +249 10.103.1.5 f8bc.1270.34ad Dynamic 0 lg7 Valid +250 10.103.1.6 6400.6a15.bd50 Dynamic 0 lg7 Valid +251 10.101.13.100 f8bc.128f.06d5 Dynamic 0 lg7 Valid +252 10.103.1.7 d89e.f307.af58 Dynamic 2 lg7 Valid +253 10.101.13.101 c81f.6603.c42c Dynamic 1 lg7 Valid +254 10.103.1.7 d89e.f307.af58 Dynamic 2 lg7 Valid +255 10.101.13.101 c81f.6603.c42c Dynamic 1 lg7 Valid +256 10.103.1.8 b083.fea6.fa5a Dynamic 0 lg7 Valid +257 10.101.13.102 f8bc.1270.26c8 Dynamic 0 lg7 Valid +258 10.101.13.103 480f.cfcd.7db9 Dynamic 0 lg7 Valid +259 10.103.1.9 b083.feaa.9b23 Dynamic 0 lg7 Valid +260 10.103.1.10 b083.fea2.29ca Dynamic 2 lg7 Valid +261 10.101.13.104 c81f.6604.6f0a Dynamic 1 lg7 Valid +262 10.103.1.11 b083.fea6.3dd2 Dynamic 1 lg7 Valid +263 10.101.13.105 f8bc.1265.d061 Dynamic 0 lg7 Valid +264 10.103.1.12 b083.fea6.fae4 Dynamic 0 lg7 Valid +265 10.103.1.13 b083.feaa.9849 Dynamic 0 lg7 Valid +266 10.101.13.108 54bf.646e.6a45 Dynamic 1 lg7 Valid +267 10.101.13.109 f48e.3895.c396 Dynamic 0 lg7 Valid +268 10.101.13.110 f8bc.1261.fb5a Dynamic 1 lg7 Valid +269 10.101.13.111 34e6.d72e.51f8 Dynamic 1 lg7 Valid +270 10.103.1.21 f8bc.125e.bd90 Dynamic 0 lg7 Valid +271 10.103.1.22 6c2b.59e0.0f92 Dynamic 0 lg7 Valid +272 10.103.1.23 6c2b.59dd.b693 Dynamic 0 lg7 Valid +273 10.103.1.24 6c2b.59df.6cda Dynamic 1 lg7 Valid +274 10.103.1.25 6c2b.59df.24fe Dynamic 0 lg7 Valid +275 10.103.1.26 6c2b.59e0.100d Dynamic 1 lg7 Valid +276 10.103.1.27 6c2b.59df.f57d Dynamic 1 lg7 Valid +277 10.103.1.27 6c2b.59df.f57d Dynamic 1 lg7 Valid +278 10.103.1.28 6c2b.59de.5656 Dynamic 0 lg7 Valid +279 10.103.1.30 6400.6a20.16a2 Dynamic 0 lg7 Valid +280 10.103.1.34 1866.da29.f2c9 Dynamic 1 lg7 Valid +281 10.103.1.35 1866.da35.3d28 Dynamic 0 lg7 Valid +282 10.103.1.36 d89e.f32f.3c59 Dynamic 1 lg7 Valid +283 10.103.1.37 54bf.6476.ad35 Dynamic 0 lg7 Valid +284 10.103.1.38 1866.da13.1eaf Dynamic 2 lg7 Valid +285 10.103.1.39 d89e.f32e.8afc Dynamic 2 lg7 Valid +286 10.103.1.40 1866.da09.8e0e Dynamic 2 lg7 Valid +287 10.103.1.41 54bf.6475.04c2 Dynamic 0 lg7 Valid +288 10.103.1.43 c0c5.2050.a500 Dynamic 0 lg1 Valid +289 10.101.13.152 c8f7.50b6.cf55 Dynamic 0 lg7 Valid +290 10.101.13.153 f8bc.126f.b359 Dynamic 0 lg7 Valid +291 10.101.13.157 18db.f24e.3341 Dynamic 0 lg7 Valid +292 10.101.13.158 e4b9.7a94.3cd9 Dynamic 1 lg7 Valid +293 10.103.1.67 0004.a3b0.d256 Dynamic 0 lg7 Valid +294 10.103.1.68 f8bc.1270.92fc Dynamic 1 lg7 Valid +295 10.103.1.76 6c2b.59f9.219e Dynamic 1 lg7 Valid +296 10.103.1.77 a4ba.dbe3.c901 Dynamic 0 lg7 Valid +297 10.103.1.78 842b.2bb8.a1fe Dynamic 1 lg7 Valid +298 10.103.1.79 842b.2bbb.b2de Dynamic 0 lg7 Valid +299 10.103.1.88 3c2a.f41a.0f4d Dynamic 1 lg7 Valid +300 10.101.191.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +301 172.24.9.2 c0c5.2050.a500 Dynamic 2 lg1 Valid +302 10.101.30.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +303 10.101.30.5 1cdf.0fc6.816f Dynamic 1 lg7 Valid +304 10.101.13.231 8843.e1d1.adac Dynamic 2 lg7 Valid +305 10.101.13.254 50f7.22ad.a7c1 Dynamic 0 lg7 Valid +306 10.101.14.2 001e.133b.ac41 Dynamic 1 lg7 Valid +307 10.101.14.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +308 10.101.14.25 None Dynamic 0 v14 Pend +309 10.103.1.194 0080.64b5.4b26 Dynamic 0 lg7 Valid +310 10.103.1.195 6c2b.59f9.95d1 Dynamic 0 lg7 Valid +311 10.103.1.196 0080.6491.4a20 Dynamic 0 lg7 Valid +312 10.103.1.197 0080.643e.92c1 Dynamic 1 lg7 Valid +313 10.103.1.198 484d.7ed5.5fd9 Dynamic 0 lg7 Valid +314 10.103.1.199 509a.4c42.fa15 Dynamic 0 lg7 Valid +315 10.103.1.200 6c2b.59ef.74f1 Dynamic 0 lg7 Valid +316 10.103.1.201 e454.e84c.cd52 Dynamic 0 lg7 Valid +317 10.103.1.202 6c2b.59ef.285c Dynamic 2 lg7 Valid +318 10.103.1.204 c0c5.2050.a500 Dynamic 0 lg1 Valid +319 10.101.14.48 0000.aac3.7abf Dynamic 1 lg7 Valid +320 10.101.14.60 0020.6bb3.510a Dynamic 2 lg7 Valid +321 10.210.1.11 245e.be2b.02a4 Dynamic 1 1/1/37 Valid +322 10.210.1.12 245e.be2d.6090 Dynamic 2 lg1 Valid +323 10.101.30.97 485f.9995.9b11 Dynamic 0 lg7 Valid +324 10.101.30.98 9cd2.1e66.2331 Dynamic 0 lg7 Valid +325 10.101.30.99 ac7b.a1e0.f0fb Dynamic 0 lg7 Valid +326 10.101.30.101 8019.34a2.7ed9 Dynamic 0 lg7 Valid +327 10.101.30.103 e4a4.714c.bd73 Dynamic 2 lg7 Valid +328 10.101.30.104 f48c.50f9.597a Dynamic 0 lg7 Valid +329 10.101.30.105 a4c3.f0b2.d4f0 Dynamic 0 lg7 Valid +330 10.101.30.107 2016.b9b0.587e Dynamic 2 lg7 Valid +331 10.101.30.108 54e4.3aef.e4af Dynamic 0 lg7 Valid +332 10.103.1.243 c0c5.2050.a500 Dynamic 0 lg1 Valid +333 10.101.30.115 5cea.1d88.9c47 Dynamic 0 lg7 Valid +334 10.101.30.116 bc85.5606.34f0 Dynamic 0 lg7 Valid +335 10.101.30.118 acd1.b879.6a1a Dynamic 1 lg7 Valid +336 10.103.1.251 c0c5.2050.a500 Dynamic 0 lg1 Valid +337 10.101.30.120 None Dynamic 0 v501 Pend +338 10.103.1.252 2037.06af.0e41 Dynamic 0 lg7 Valid +339 10.103.1.253 6cdd.3030.2a42 Dynamic 0 lg7 Valid +340 10.101.14.96 8c04.ba74.6ba8 Dynamic 0 lg7 Valid +341 10.101.14.97 54bf.645b.dbb2 Dynamic 0 lg7 Valid +342 10.101.14.98 a41f.727e.53c8 Dynamic 1 lg7 Valid +343 10.101.14.100 6400.6a1f.f8e0 Dynamic 0 lg7 Valid +344 10.101.14.101 509a.4c54.55c5 Dynamic 1 lg7 Valid +345 10.101.14.102 6c2b.59f9.2092 Dynamic 2 lg7 Valid +346 10.101.14.102 6c2b.59f9.2092 Dynamic 2 lg7 Valid +347 10.101.30.133 None Dynamic 0 v501 Pend +348 10.101.14.103 6c2b.59eb.527c Dynamic 1 lg7 Valid +349 10.101.14.105 d481.d786.39e9 Dynamic 1 lg7 Valid +350 10.101.14.106 54bf.6474.a330 Dynamic 0 lg7 Valid +351 10.101.14.114 None Dynamic 0 v14 Pend +352 10.101.14.128 d481.d78c.0d69 Dynamic 1 lg7 Valid +353 10.101.14.130 503f.5601.755e Dynamic 0 lg7 Valid +354 10.101.14.131 1065.30e2.f5cb Dynamic 0 lg7 Valid +355 10.101.14.135 b083.febb.908a Dynamic 1 lg7 Valid +356 10.101.191.211 0002.d106.d601 Dynamic 1 lg7 Valid +357 10.101.14.138 1065.308f.203b Dynamic 2 lg7 Valid +358 10.101.191.212 0002.d106.d5f8 Dynamic 0 lg7 Valid +359 10.101.191.213 0002.d106.d5e7 Dynamic 1 lg7 Valid +360 10.101.191.214 0002.d106.d5e6 Dynamic 0 lg7 Valid +361 10.101.191.215 0002.d106.d5a7 Dynamic 1 lg7 Valid +362 10.101.191.216 0002.d113.1d4e Dynamic 1 lg7 Valid +363 10.101.191.217 0002.d113.1d4f Dynamic 1 lg7 Valid +364 10.101.191.218 0002.d113.1d54 Dynamic 1 lg7 Valid +365 10.101.30.175 e0aa.964f.4096 Dynamic 2 lg7 Valid +366 10.101.30.177 None Dynamic 0 v501 Pend +367 10.101.30.178 dc53.6064.c6a7 Dynamic 1 lg7 Valid +368 10.101.30.179 0021.6ae3.f4db Dynamic 1 lg7 Valid +369 10.101.30.181 9cb6.d093.7e89 Dynamic 1 lg7 Valid +370 10.101.30.183 0454.5311.f0a0 Dynamic 1 lg7 Valid +371 10.101.30.184 009d.6be3.ef4f Dynamic 0 lg7 Valid +372 10.101.30.185 9061.ae52.7533 Dynamic 0 lg7 Valid +373 10.101.30.186 181d.ea7a.9522 Dynamic 1 lg7 Valid +374 10.101.30.187 50e0.85d6.579f Dynamic 1 lg7 Valid +375 10.101.30.188 0028.f8e5.0c3b Dynamic 0 lg7 Valid +376 10.101.30.191 7c76.352e.0018 Dynamic 1 lg7 Valid +377 10.101.30.197 3c6a.a7ec.7c3c Dynamic 1 lg7 Valid +378 10.101.30.199 9cb6.d0f2.1467 Dynamic 2 lg7 Valid +379 10.101.30.221 f0d5.bf83.30b5 Dynamic 0 lg7 Valid +380 10.101.14.226 001d.e557.fd4c Dynamic 1 lg7 Valid +381 10.101.14.227 001f.9e8e.8f96 Dynamic 2 lg7 Valid +382 10.101.31.2 1cdf.0fc6.816f Dynamic 2 lg7 Valid +383 10.101.31.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +384 10.101.15.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +385 10.101.15.60 a042.3f3b.dd1b Dynamic 2 lg7 Valid +386 10.101.15.61 0020.6b3e.156e Dynamic 0 lg7 Valid +387 10.101.15.96 003e.e1bf.d4b1 Dynamic 0 lg7 Valid +388 10.101.15.97 003e.e1c0.086e Dynamic 2 lg7 Valid +389 10.101.15.98 003e.e1c0.0974 Dynamic 0 lg7 Valid +390 10.101.31.129 0010.20cd.5559 Dynamic 2 lg7 Valid +391 10.101.15.102 003e.e1bf.e49d Dynamic 0 lg7 Valid +392 10.101.15.98 003e.e1c0.0974 Dynamic 0 lg7 Valid +393 10.101.31.129 0010.20cd.5559 Dynamic 2 lg7 Valid +394 10.101.15.102 003e.e1bf.e49d Dynamic 0 lg7 Valid +395 10.101.15.103 685b.3588.d8e1 Dynamic 0 lg7 Valid +396 10.101.225.2 0015.5d01.3007 Dynamic 2 lg7 Valid +397 10.101.15.129 10dd.b1de.a06c Dynamic 2 lg7 Valid +398 10.101.15.131 70cd.60f4.149b Dynamic 2 lg7 Valid +399 10.101.15.133 c81f.6613.bfb1 Dynamic 0 lg7 Valid +400 10.101.15.134 3c07.545c.4cc6 Dynamic 0 lg7 Valid +401 10.101.15.135 a44c.c8bc.4af1 Dynamic 0 lg7 Valid +402 10.101.32.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +403 10.101.15.254 0008.3246.08c1 Dynamic 1 lg7 Valid +404 10.101.16.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +405 10.101.16.96 a41f.7254.c29e Dynamic 0 lg7 Valid +406 10.101.16.97 c8f7.508e.5ccb Dynamic 2 lg7 Valid +407 10.101.16.130 2047.47e8.7e80 Dynamic 2 lg7 Valid +408 10.101.16.131 d89e.f32b.f084 Dynamic 2 lg7 Valid +409 10.101.226.9 509a.4c50.8792 Dynamic 0 lg7 Valid +410 10.101.226.10 0026.b93d.2ab0 Dynamic 1 lg7 Valid +411 10.101.226.11 000f.7c14.8226 Dynamic 1 lg7 Valid +412 10.101.226.12 000f.7c14.8261 Dynamic 1 lg7 Valid +413 10.101.226.13 000f.7c14.2a0d Dynamic 2 lg7 Valid +414 10.101.226.14 000f.7c14.29db Dynamic 2 lg7 Valid +415 10.101.33.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +416 10.101.33.4 1cdf.0fc6.816f Dynamic 0 lg7 Valid +417 10.101.25.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +418 10.101.25.6 3442.6272.2ac0 Dynamic 0 lg7 Valid +419 10.101.25.8 509a.4c42.c674 Dynamic 0 lg7 Valid +420 10.101.25.9 7845.c40e.6fc3 Dynamic 0 lg7 Valid +421 10.101.25.10 105b.ad04.82c7 Dynamic 2 lg7 Valid +422 10.101.17.2 34e6.d70a.6e24 Dynamic 0 lg7 Valid +423 10.101.17.4 7845.c40e.aac0 Dynamic 1 lg7 Valid +424 10.101.17.5 d4be.d9dd.ffdd Dynamic 1 lg7 Valid +425 10.101.17.6 c0c5.2050.a500 Dynamic 0 lg1 Valid +426 10.101.9.3 c0c5.2050.a500 Dynamic 0 lg1 Valid +427 10.101.33.61 e82a.ea5d.7db6 Dynamic 1 lg7 Valid +428 10.101.1.2 a80c.0db2.05a0 Dynamic 1 lg7 Valid +429 10.101.1.3 0027.e31e.ebf1 Dynamic 0 lg7 Valid +430 10.101.1.4 24e9.b364.6b00 Dynamic 2 lg7 Valid +431 10.101.1.5 0000.0c07.ac00 Dynamic 1 lg7 Valid +432 10.101.1.6 0024.9701.b075 Dynamic 0 lg7 Valid +433 10.101.1.7 0024.9701.b073 Dynamic 0 lg7 Valid +434 10.101.33.69 30f7.725a.151c Dynamic 5 lg7 Valid +435 10.101.1.9 c0c5.2050.a500 Dynamic 0 lg1 Valid +436 10.101.1.10 842b.2b56.c449 Dynamic 0 lg7 Valid +437 10.101.1.11 f866.f2a8.3440 Dynamic 2 lg7 Valid +438 10.101.1.13 0004.a3b7.3156 Dynamic 0 lg7 Valid +439 10.101.33.75 1093.e95d.858a Dynamic 2 lg7 Valid +440 10.101.1.17 0015.5d01.be0a Dynamic 1 lg7 Valid +441 10.101.1.21 0014.ee01.475f Dynamic 0 lg7 Valid +442 10.101.1.22 None Dynamic 0 v1 Pend +443 10.101.1.25 0015.5d01.be02 Dynamic 1 lg7 Valid \ No newline at end of file diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 56ca39c502..64c62fee95 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -62,7 +62,7 @@ def test_index_ordering(): 'checkpoint_gaia', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', 'cisco_wlc', 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'juniper_screenos', - 'alcatel_sros', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh', + 'alcatel_sros', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh','ruckus_fastiron', 'ubiquiti_edgeswitch', 'vmware_nsxv', 'vyatta_vyos', 'vyos', 'watchguard_firebox', ] From 2479e169c3382c8da5ac3358f12259c68a406f8c Mon Sep 17 00:00:00 2001 From: charlesmonson <32397383+charlesmonson@users.noreply.github.com> Date: Wed, 16 Oct 2019 22:09:00 -0500 Subject: [PATCH 304/628] new_template: cisco_xr_show_ipv6_neighbors --- .../cisco_xr_show_ipv6_neighbors.template | 17 +++++ templates/index | 1 + .../cisco_xr_show_ipv6_neighbors.parsed | 75 +++++++++++++++++++ .../cisco_xr_show_ipv6_neighbors.raw | 14 ++++ 4 files changed, 107 insertions(+) create mode 100644 templates/cisco_xr_show_ipv6_neighbors.template create mode 100644 tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.parsed create mode 100644 tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.raw diff --git a/templates/cisco_xr_show_ipv6_neighbors.template b/templates/cisco_xr_show_ipv6_neighbors.template new file mode 100644 index 0000000000..5480f4dc9f --- /dev/null +++ b/templates/cisco_xr_show_ipv6_neighbors.template @@ -0,0 +1,17 @@ +Value ADDRESS (.+?) +Value AGE (\S+) +Value MAC (\S+) +Value STATE (\S+) +Value INTERFACE (\S+) +Value LOCATION (\S+) + +Start + ^\S+\s+\S+\s+\S+\s+\S+:\S+:\S+\.\S+\s+\S+\s* + ^IPv6\s+Address\s+Age\s+Link-layer\s+Add(r?)\s+State\s+Interface\s+Location\s*$$ -> Begin + ^\s*$$ + ^. -> Error + +Begin + ^\[?${ADDRESS}\]?\s+${AGE}\s+${MAC}\s+${STATE}\s+${INTERFACE}\s+${LOCATION}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index a0722ca1fa..d3068b2291 100644 --- a/templates/index +++ b/templates/index @@ -268,6 +268,7 @@ cisco_xr_admin_show_inventory.template, .*, cisco_xr, adm[[in]] sh[[ow]] inven[[ cisco_xr_show_interface_brief.template, .*, cisco_xr, sh[[ow]] int[[erface]] br[[ief]] cisco_xr_admin_show_platform.template, .*, cisco_xr, adm[[in]] sh[[ow]] pla[[tform]] cisco_xr_show_ip_bgp_summary.template, .*, cisco_xr, sh[[ow]] ip b[[gp]] s[[ummary]] +cisco_xr_show_ipv6_neighbors.template, .*, cisco_xr, sh[[ow]] ipv6 ne[[ighbors]] cisco_xr_show_isis_neighbors.template, .*, cisco_xr, sh[[ow]] isis ne[[ighbors]] cisco_xr_show_lldp_neighbors.template, .*, cisco_xr, sh[[ow]] lld[[p]] neig[[hbors]] cisco_xr_show_rsvp_neighbors.template, .*, cisco_xr, sh[[ow]] rs[[vp]] neigh[[bors]] diff --git a/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.parsed b/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.parsed new file mode 100644 index 0000000000..2b46fd6590 --- /dev/null +++ b/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.parsed @@ -0,0 +1,75 @@ +--- +parsed_sample: + +- address: 2001:db8:ffff::12:2 + age: '110' + interface: Gi0/0/0/0 + location: 0/0/CPU0 + mac: 0c07.a11a.b801 + state: REACH +- address: fe80::e07:a1ff:fe1a:b801 + age: '99' + interface: Gi0/0/0/0 + location: 0/0/CPU0 + mac: 0c07.a11a.b801 + state: REACH +- address: Mcast adjacency + age: '-' + interface: Gi0/0/0/0 + location: 0/0/CPU0 + mac: 0000.0000.0000 + state: REACH +- address: Mcast adjacency + age: '-' + interface: Gi0/0/0/1 + location: 0/0/CPU0 + mac: 0000.0000.0000 + state: REACH +- address: Mcast adjacency + age: '-' + interface: Gi0/0/0/2 + location: 0/0/CPU0 + mac: 0000.0000.0000 + state: REACH +- address: 2001:db8:1000:beef::1 + age: '105' + interface: Gi0/0/0/3 + location: 0/0/CPU0 + mac: ca01.0ff1.0008 + state: REACH +- address: 2001:db8:1000:beef::2 + age: '108' + interface: Gi0/0/0/3 + location: 0/0/CPU0 + mac: ca02.0fff.0008 + state: REACH +- address: 2001:db8:1000:beef::3 + age: '105' + interface: Gi0/0/0/3 + location: 0/0/CPU0 + mac: ca03.100d.0008 + state: REACH +- address: fe80::c801:fff:fef1:8 + age: '89' + interface: Gi0/0/0/3 + location: 0/0/CPU0 + mac: ca01.0ff1.0008 + state: REACH +- address: fe80::c802:fff:feff:8 + age: '105' + interface: Gi0/0/0/3 + location: 0/0/CPU0 + mac: ca02.0fff.0008 + state: REACH +- address: fe80::c803:10ff:fe0d:8 + age: '91' + interface: Gi0/0/0/3 + location: 0/0/CPU0 + mac: ca03.100d.0008 + state: REACH +- address: Mcast adjacency + age: '-' + interface: Gi0/0/0/3 + location: 0/0/CPU0 + mac: 0000.0000.0000 + state: REACH diff --git a/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.raw b/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.raw new file mode 100644 index 0000000000..715b1ac56a --- /dev/null +++ b/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.raw @@ -0,0 +1,14 @@ +Fri Oct 11 02:35:25.149 UTC +IPv6 Address Age Link-layer Addr State Interface Location +2001:db8:ffff::12:2 110 0c07.a11a.b801 REACH Gi0/0/0/0 0/0/CPU0 +fe80::e07:a1ff:fe1a:b801 99 0c07.a11a.b801 REACH Gi0/0/0/0 0/0/CPU0 +[Mcast adjacency] - 0000.0000.0000 REACH Gi0/0/0/0 0/0/CPU0 +[Mcast adjacency] - 0000.0000.0000 REACH Gi0/0/0/1 0/0/CPU0 +[Mcast adjacency] - 0000.0000.0000 REACH Gi0/0/0/2 0/0/CPU0 +2001:db8:1000:beef::1 105 ca01.0ff1.0008 REACH Gi0/0/0/3 0/0/CPU0 +2001:db8:1000:beef::2 108 ca02.0fff.0008 REACH Gi0/0/0/3 0/0/CPU0 +2001:db8:1000:beef::3 105 ca03.100d.0008 REACH Gi0/0/0/3 0/0/CPU0 +fe80::c801:fff:fef1:8 89 ca01.0ff1.0008 REACH Gi0/0/0/3 0/0/CPU0 +fe80::c802:fff:feff:8 105 ca02.0fff.0008 REACH Gi0/0/0/3 0/0/CPU0 +fe80::c803:10ff:fe0d:8 91 ca03.100d.0008 REACH Gi0/0/0/3 0/0/CPU0 +[Mcast adjacency] - 0000.0000.0000 REACH Gi0/0/0/3 0/0/CPU0 From 84a491ed7932053a6be1afa09a578aedd388a5de Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 16 Oct 2019 23:38:20 -0500 Subject: [PATCH 305/628] bug_fix: cisco_ios_show_ip_interface.template - Account for new additional output --- .../cisco_ios_show_ip_interface.template | 2 + .../cisco_ios_show_ip_interface4.parsed | 42 ++++++++++++++----- .../cisco_ios_show_ip_interface4.raw | 6 ++- 3 files changed, 39 insertions(+), 11 deletions(-) diff --git a/templates/cisco_ios_show_ip_interface.template b/templates/cisco_ios_show_ip_interface.template index 1c31e4a435..d42f52a625 100644 --- a/templates/cisco_ios_show_ip_interface.template +++ b/templates/cisco_ios_show_ip_interface.template @@ -24,6 +24,8 @@ Start ^\s+Inbound\s+(?:Common\s+)?access\s+list\s+is\s+${INBOUND_ACL}\s*$$ ^\s+Internet\s+protocol ^\s+Interface\s+is\s+unnumbered + ^\s+Peer\s+address + ^\s+Dialer ^\s+Broadcast ^\s+Multicast ^\s+2[2-5]\d\. diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed index aa76f04209..8742bcbe5f 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed @@ -1,13 +1,35 @@ --- parsed_sample: -- intf: 'Loopback0' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['10.0.0.0'] - mask: ['32'] - vrf: '' - mtu: '1514' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' +- inbound_acl: '' + intf: Loopback0 + ip_helper: [] + ipaddr: + - 10.0.0.0 + link_status: up + mask: + - '32' + mtu: '1514' + outgoing_acl: '' + protocol_status: up + vrf: '' +- inbound_acl: '' + intf: Virtual-Access1 + ip_helper: [] + ipaddr: [] + link_status: up + mask: [] + mtu: '' + outgoing_acl: '' + protocol_status: up + vrf: '' +- inbound_acl: '' + intf: Virtual-Access2 + ip_helper: [] + ipaddr: [] + link_status: up + mask: [] + mtu: '' + outgoing_acl: '' + protocol_status: up + vrf: '' diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw index de20e895b1..fccf324602 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw @@ -36,4 +36,8 @@ Loopback0 is up, line protocol is up WCCP Redirect outbound is disabled WCCP Redirect inbound is disabled WCCP Redirect exclude is disabled - +Virtual-Access1 is up, line protocol is up + Internet protocol processing disabled +Virtual-Access2 is up, line protocol is up + Peer address is 10.1.1.1 + Dialer interface is Dialer1 From d913d749812a55b5a6ee41fa4cd294fc437cd4ab Mon Sep 17 00:00:00 2001 From: dainok Date: Sun, 20 Oct 2019 16:57:19 +0200 Subject: [PATCH 306/628] BugFix: PAN show arp - account for incomplete entries (#466) --- templates/paloalto_panos_show_arp_all.template | 7 ++++--- .../show_arp_all/paloalto_panos_show_arp_all.parsed | 6 ++++++ .../show_arp_all/paloalto_panos_show_arp_all.raw | 1 + 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/templates/paloalto_panos_show_arp_all.template b/templates/paloalto_panos_show_arp_all.template index e015a0facf..d67b2c0b91 100644 --- a/templates/paloalto_panos_show_arp_all.template +++ b/templates/paloalto_panos_show_arp_all.template @@ -1,14 +1,15 @@ Value INTERFACE (\S+) Value IP (\S+) -Value MAC ([0-9a-fA-F:]+) +Value MAC ([0-9A-Fa-f:]+|incomplete) Value PORT (\S+) Value STATUS (\S+) Value TTL (\d+) Start - ^\s*--- -> Start_record + ^interface\s+ip address\s+hw address\s+port\s+status\s+ttl -> Start_record Start_record - ^${INTERFACE}\s+${IP}\s+${MAC}\s+${PORT}\s+${STATUS}\s+${TTL} -> Record + ^\s*--- + ^${INTERFACE}\s+${IP}\s+\(*${MAC}\)*\s+${PORT}\s+${STATUS}\s+${TTL} -> Record ^\s*$$ ^. -> Error diff --git a/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed index 08952968b8..5db6288b1a 100644 --- a/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed +++ b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed @@ -19,3 +19,9 @@ parsed_sample: port: ethernet1/2.111 status: c ttl: '1016' +- interface: vlan.1 + ip: 172.25.2.197 + mac: 'incomplete' + port: ethernet1/2.111 + status: c + ttl: '1016' diff --git a/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.raw b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.raw index 96c3ace656..9460c0cd9c 100644 --- a/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.raw +++ b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.raw @@ -10,3 +10,4 @@ interface ip address hw address port status t ethernet1/1 172.25.1.254 08:30:6b:26:43:30 ethernet1/1 c 627 vlan.1 172.25.2.195 00:50:00:00:07:00 ethernet1/2.110 c 1012 vlan.1 172.25.2.196 00:50:00:00:08:00 ethernet1/2.111 c 1016 +vlan.1 172.25.2.197 (incomplete) ethernet1/2.111 c 1016 From 53f0f71e6e6024ffe0ad90e2ad6d5ebc588d4e8b Mon Sep 17 00:00:00 2001 From: ccorvese Date: Mon, 21 Oct 2019 14:00:42 -0400 Subject: [PATCH 307/628] Enhancement: IOS - add "up/down" to bgp summary template (#476) --- templates/cisco_ios_show_ip_bgp_summary.template | 3 ++- .../cisco_ios_show_ip_bgp_summary.parsed | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/templates/cisco_ios_show_ip_bgp_summary.template b/templates/cisco_ios_show_ip_bgp_summary.template index d403a11fcf..5841694767 100644 --- a/templates/cisco_ios_show_ip_bgp_summary.template +++ b/templates/cisco_ios_show_ip_bgp_summary.template @@ -2,10 +2,11 @@ Value Filldown,Required ROUTER_ID ([0-9a-f:\.]+) Value Filldown LOCAL_AS (\d+) Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) Value NEIGH_AS (\d+) +Value UP_DOWN (\S+?) Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) Start ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+local\s+AS\s+number\s+${LOCAL_AS}\s*$$ - ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+\S+?\s+${STATE_PFXRCD}\s*$$ -> Record + ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record EOF diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed index 979901d838..ce4e9a533d 100644 --- a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed @@ -6,57 +6,67 @@ parsed_sample: neigh_as: '65000' router_id: '10.0.0.0' state_pfxrcd: '558720' + up_down: '3w0d' - bgp_neigh: '10.0.0.2' local_as: '65000' neigh_as: '65001' router_id: '10.0.0.0' state_pfxrcd: '558720' + up_down: '3w0d' - bgp_neigh: '10.0.0.3' local_as: '65000' neigh_as: '65002' router_id: '10.0.0.0' state_pfxrcd: '0' + up_down: '1y10w' - bgp_neigh: '10.0.0.4' local_as: '65000' neigh_as: '65003' router_id: '10.0.0.0' state_pfxrcd: '1351' + up_down: '1y50w' - bgp_neigh: '10.0.0.5' local_as: '65000' neigh_as: '65004' router_id: '10.0.0.0' state_pfxrcd: '558720' + up_down: '19w5d' - bgp_neigh: '10.0.0.6' local_as: '65000' neigh_as: '65005' router_id: '10.0.0.0' state_pfxrcd: '558720' + up_down: '19w5d' - bgp_neigh: '10.0.0.7' local_as: '65000' neigh_as: '65006' router_id: '10.0.0.0' state_pfxrcd: '82' + up_down: '1y10w' - bgp_neigh: '10.0.0.8' local_as: '65000' neigh_as: '65007' router_id: '10.0.0.0' state_pfxrcd: '82' + up_down: '1y10w' - bgp_neigh: '10.0.0.9' local_as: '65000' neigh_as: '65008' router_id: '10.0.0.0' state_pfxrcd: '0' + up_down: '22w0d' - bgp_neigh: '10.0.0.10' local_as: '65000' neigh_as: '65009' router_id: '10.0.0.0' state_pfxrcd: 'Idle (Admin)' + up_down: '1y10w' \ No newline at end of file From 59f210963270fab28fe89045165c678bf5c30fd0 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 21 Oct 2019 22:15:06 +0000 Subject: [PATCH 308/628] Enhancement: ASA - Convert show version serial to list (#497) --- CHANGELOG | 3 + templates/cisco_asa_show_version.template | 11 ++- .../cisco_asa_show_version1.parsed | 54 ++++++------ .../cisco_asa_show_version2.parsed | 37 ++++---- .../cisco_asa_show_version3.parsed | 35 ++++++++ .../show_version/cisco_asa_show_version3.raw | 84 +++++++++++++++++++ 6 files changed, 172 insertions(+), 52 deletions(-) create mode 100644 tests/cisco_asa/show_version/cisco_asa_show_version3.parsed create mode 100644 tests/cisco_asa/show_version/cisco_asa_show_version3.raw diff --git a/CHANGELOG b/CHANGELOG index 616c2eb219..abeb3dd522 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,7 +1,10 @@ ## [1.2.1] ### Fixed for any bug fixes +- [#497] ASA show version: Fix `MAX_INTF` to account for `Unlimited` +- [#497] ASA show version: Fix `HARDWARE` to properly handle trailing commas ### Added for new features ### Changed for changes in existing functionality +- [#497] ASA show version: Change `SERIAL` to be a list for clusters ### Deprecated for soon-to-be removed features ### Removed for now removed features diff --git a/templates/cisco_asa_show_version.template b/templates/cisco_asa_show_version.template index 9f6737a25c..eeb3ef8085 100644 --- a/templates/cisco_asa_show_version.template +++ b/templates/cisco_asa_show_version.template @@ -4,17 +4,17 @@ Value COMPILE_DATE (\d+-\w+-\d+) Value IMAGE (\S+) Value HOSTNAME (\S+) Value UPTIME (.+) -Value HARDWARE (.+) +Value HARDWARE (.+?) Value MODEL (\S+) Value FLASH (\S+) Value List INTERFACES (\S+) Value LICENSE_MODE (.+) Value LICENSE_STATE (.+) -Value MAX_INTF (\d+) +Value MAX_INTF (\S+) Value MAX_VLANS (\d+) Value FAILOVER (\S+) Value CLUSTER (\S+) -Value SERIAL (\S+) +Value List SERIAL (\S+) Value LAST_MOD (.+) Start @@ -23,11 +23,10 @@ Start ^Compiled\s+on\s+\w+\s+${COMPILE_DATE}.* ^System image file.+"${IMAGE}" ^${HOSTNAME} up ${UPTIME} - ^Hardware:\s+${HARDWARE}, - ^Hardware:\s+${HARDWARE} + ^Hardware:\s+${HARDWARE},?\s*$$ ^Model Id:\s+${MODEL} ^Internal.+Flash,\s${FLASH} - ^ \d+:.\S+\s${INTERFACES}.* + ^\s*\d+:.\S+\s*${INTERFACES}.* ^License mode:\s${LICENSE_MODE} ^.+License State:\s${LICENSE_STATE} ^Maximum Physical.+:\s${MAX_INTF} diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version1.parsed b/tests/cisco_asa/show_version/cisco_asa_show_version1.parsed index a87e6e737f..0bd03a6625 100644 --- a/tests/cisco_asa/show_version/cisco_asa_show_version1.parsed +++ b/tests/cisco_asa/show_version/cisco_asa_show_version1.parsed @@ -1,29 +1,29 @@ --- parsed_sample: - -- version: '9.5(2)204' - device_mgr_version: '7.5(2)' - compile_date: '15-Feb-16' - image: 'boot:/asa952-204-smp-k8.bin' - hostname: 'asa1' - uptime: '41 days 19 hours' - hardware: 'ASAv, 2048 MB RAM, CPU Pentium II 1800 MHz' - model: 'ASAv10' - flash: '8192MB' - interfaces: - - 'Management0/0' - - 'GigabitEthernet0/0' - - 'GigabitEthernet0/1' - - 'GigabitEthernet0/2' - - 'GigabitEthernet0/3' - - 'GigabitEthernet0/4' - - 'GigabitEthernet0/5' - - 'GigabitEthernet0/6' - license_mode: 'Smart Licensing' - license_state: 'Unlicensed' - max_intf: '10' - max_vlans: '50' - failover: 'Active/Standby' - cluster: 'Disabled' - serial: '9AT1L9EX0DF' - last_mod: 'ntc at 18:56:48.410 UTC Wed Apr 5 2017' + - version: "9.5(2)204" + device_mgr_version: "7.5(2)" + compile_date: "15-Feb-16" + image: "boot:/asa952-204-smp-k8.bin" + hostname: "asa1" + uptime: "41 days 19 hours" + hardware: "ASAv, 2048 MB RAM, CPU Pentium II 1800 MHz" + model: "ASAv10" + flash: "8192MB" + interfaces: + - "Management0/0" + - "GigabitEthernet0/0" + - "GigabitEthernet0/1" + - "GigabitEthernet0/2" + - "GigabitEthernet0/3" + - "GigabitEthernet0/4" + - "GigabitEthernet0/5" + - "GigabitEthernet0/6" + license_mode: "Smart Licensing" + license_state: "Unlicensed" + max_intf: "10" + max_vlans: "50" + failover: "Active/Standby" + cluster: "Disabled" + serial: + - "9AT1L9EX0DF" + last_mod: "ntc at 18:56:48.410 UTC Wed Apr 5 2017" diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version2.parsed b/tests/cisco_asa/show_version/cisco_asa_show_version2.parsed index 1fc3264366..535c1f3b1b 100644 --- a/tests/cisco_asa/show_version/cisco_asa_show_version2.parsed +++ b/tests/cisco_asa/show_version/cisco_asa_show_version2.parsed @@ -1,21 +1,20 @@ --- parsed_sample: - -- version: '9.8(3)21' - device_mgr_version: '7.8(2)' - compile_date: '07-Aug-18' - image: '' - hostname: 'fw002' - uptime: '114 days 18 hours' - hardware: 'FPR4K-SM-12' - model: '' - flash: '' - interfaces: [] - license_mode: 'Smart Licensing' - license_state: '' - max_intf: '' - max_vlans: '' - failover: 'Active/Active' - cluster: 'Enabled' - serial: '' - last_mod: 'thatperson at 09:15:45.959 EST Mon Dec 12 2018' + - version: "9.8(3)21" + device_mgr_version: "7.8(2)" + compile_date: "07-Aug-18" + image: "" + hostname: "fw002" + uptime: "114 days 18 hours" + hardware: "FPR4K-SM-12" + model: "" + flash: "" + interfaces: [] + license_mode: "Smart Licensing" + license_state: "" + max_intf: "" + max_vlans: "" + failover: "Active/Active" + cluster: "Enabled" + serial: [] + last_mod: "thatperson at 09:15:45.959 EST Mon Dec 12 2018" diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version3.parsed b/tests/cisco_asa/show_version/cisco_asa_show_version3.parsed new file mode 100644 index 0000000000..c51091a2d9 --- /dev/null +++ b/tests/cisco_asa/show_version/cisco_asa_show_version3.parsed @@ -0,0 +1,35 @@ +--- +parsed_sample: + - version: "9.9(2)32" + device_mgr_version: "7.9(1)151" + compile_date: "05-Nov-18" + image: "disk0:/asa992-32-lfbff-k8.SPA" + hostname: "ASA2" + uptime: "55 days 9 hours" + hardware: "ASA5516, 8192 MB RAM, CPU Atom C2000 series 2416 MHz, 1 CPU (8 cores)" + model: "" + flash: "8000MB" + interfaces: + - "GigabitEthernet1/1" + - "GigabitEthernet1/2" + - "GigabitEthernet1/3" + - "GigabitEthernet1/4" + - "GigabitEthernet1/5" + - "GigabitEthernet1/6" + - "GigabitEthernet1/7" + - "GigabitEthernet1/8" + - "Internal-Data1/1" + - "Internal-Data1/2" + - "Internal-Control1/1" + - "Internal-Data1/3" + - "Management1/1" + - "Internal-Data1/4" + license_mode: "" + license_state: "" + max_intf: "Unlimited" + max_vlans: "150" + failover: "Active/Active" + cluster: "Enabled" + serial: + - "JAD222605K8" + last_mod: "xxx at 17:31:04.576 CDT Mon Aug 12 2019" diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version3.raw b/tests/cisco_asa/show_version/cisco_asa_show_version3.raw new file mode 100644 index 0000000000..0a62ae6136 --- /dev/null +++ b/tests/cisco_asa/show_version/cisco_asa_show_version3.raw @@ -0,0 +1,84 @@ +Cisco Adaptive Security Appliance Software Version 9.9(2)32 +Firepower Extensible Operating System Version 2.3(1.121) +Device Manager Version 7.9(1)151 + +Compiled on Mon 05-Nov-18 13:32 PST by builders +System image file is "disk0:/asa992-32-lfbff-k8.SPA" +Config file at boot was "startup-config" + +ASA2 up 55 days 9 hours +failover cluster up 87 days 15 hours + +Hardware: ASA5516, 8192 MB RAM, CPU Atom C2000 series 2416 MHz, 1 CPU (8 cores) +Internal ATA Compact Flash, 8000MB +BIOS Flash M25P64 @ 0xfed01000, 16384KB + +Encryption hardware device : Cisco ASA Crypto on-board accelerator (revision 0x1) + Number of accelerators: 1 + + 1: Ext: GigabitEthernet1/1 : address is 7872.5dce.e58c, irq 255 + 2: Ext: GigabitEthernet1/2 : address is 7872.5dce.e58d, irq 255 + 3: Ext: GigabitEthernet1/3 : address is 7872.5dce.e58e, irq 255 + 4: Ext: GigabitEthernet1/4 : address is 7872.5dce.e58f, irq 255 + 5: Ext: GigabitEthernet1/5 : address is 7872.5dce.e590, irq 255 + 6: Ext: GigabitEthernet1/6 : address is 7872.5dce.e591, irq 255 + 7: Ext: GigabitEthernet1/7 : address is 7872.5dce.e592, irq 255 + 8: Ext: GigabitEthernet1/8 : address is 7872.5dce.e593, irq 255 + 9: Int: Internal-Data1/1 : address is 7872.5dce.e58b, irq 255 +10: Int: Internal-Data1/2 : address is 0000.0001.0002, irq 0 +11: Int: Internal-Control1/1 : address is 0000.0001.0001, irq 0 +12: Int: Internal-Data1/3 : address is 0000.0001.0003, irq 0 +13: Ext: Management1/1 : address is 7872.5dce.e58b, irq 0 +14: Int: Internal-Data1/4 : address is 0000.0100.0001, irq 0 + +Licensed features for this platform: +Maximum Physical Interfaces : Unlimited perpetual +Maximum VLANs : 150 perpetual +Inside Hosts : Unlimited perpetual +Failover : Active/Active perpetual +Encryption-DES : Enabled perpetual +Encryption-3DES-AES : Enabled perpetual +Security Contexts : 2 perpetual +Carrier : Disabled perpetual +AnyConnect Premium Peers : 4 perpetual +AnyConnect Essentials : Disabled perpetual +Other VPN Peers : 300 perpetual +Total VPN Peers : 300 perpetual +AnyConnect for Mobile : Disabled perpetual +AnyConnect for Cisco VPN Phone : Disabled perpetual +Advanced Endpoint Assessment : Disabled perpetual +Shared License : Disabled perpetual +Total TLS Proxy Sessions : 1000 perpetual +Botnet Traffic Filter : Disabled perpetual +Cluster : Enabled perpetual +Cluster Members : 2 perpetual +VPN Load Balancing : Enabled perpetual + + +Failover cluster licensed features for this platform: +Maximum Physical Interfaces : Unlimited perpetual +Maximum VLANs : 150 perpetual +Inside Hosts : Unlimited perpetual +Failover : Active/Active perpetual +Encryption-DES : Enabled perpetual +Encryption-3DES-AES : Enabled perpetual +Security Contexts : 4 perpetual +Carrier : Disabled perpetual +AnyConnect Premium Peers : 8 perpetual +AnyConnect Essentials : Disabled perpetual +Other VPN Peers : 300 perpetual +Total VPN Peers : 300 perpetual +AnyConnect for Mobile : Disabled perpetual +AnyConnect for Cisco VPN Phone : Disabled perpetual +Advanced Endpoint Assessment : Disabled perpetual +Shared License : Disabled perpetual +Total TLS Proxy Sessions : 1000 perpetual +Botnet Traffic Filter : Disabled perpetual +Cluster : Enabled perpetual +VPN Load Balancing : Enabled perpetual + +Serial Number: JAD222605K8 +Configuration register is 0x1 +Image type : Release +Key Version : A +Configuration last modified by xxx at 17:31:04.576 CDT Mon Aug 12 2019 From b0043288f4b5968e7f7e8d25052c45a698832fb0 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Tue, 22 Oct 2019 12:44:22 -0500 Subject: [PATCH 309/628] BugFix: ASA show inventory - Account for additional output (#499) --- templates/cisco_asa_show_inventory.template | 2 +- .../show_inventory/cisco_asa_show_inventory2.parsed | 13 +++++++++++++ .../show_inventory/cisco_asa_show_inventory2.raw | 6 ++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.parsed create mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.raw diff --git a/templates/cisco_asa_show_inventory.template b/templates/cisco_asa_show_inventory.template index 4f5bd1f0cb..bd9ff41d9c 100644 --- a/templates/cisco_asa_show_inventory.template +++ b/templates/cisco_asa_show_inventory.template @@ -8,5 +8,5 @@ Start ^Name:\s+"${NAME}"\s*,\s+DESCR:\s+"${DESCR}" ^PID:\s+${PID}\s*,\s+VID:\s+${VID}\s*,\s+SN:\s+${SN} -> Record ^\s*$$ + ^show_inventory_all\s+\S+ -> NoRecord ^.+ -> Error - diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.parsed b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.parsed new file mode 100644 index 0000000000..028ea76541 --- /dev/null +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.parsed @@ -0,0 +1,13 @@ +--- +parsed_sample: +- name: "Chassis" + descr: "ASA 5506-X with FirePOWER services, 8GE, AC, DES" + pid: "ASA5506" + sn: "JMX8318372GB" + vid: "V01" + +- name: "Storage Device 1" + descr: "ASA 5506-X SSD" + pid: "ASA5506-SSD" + sn: "MSA1917883N" + vid: "N/A" diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.raw b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.raw new file mode 100644 index 0000000000..4398d413dc --- /dev/null +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.raw @@ -0,0 +1,6 @@ +show_inventory_all -1742439088 +Name: "Chassis", DESCR: "ASA 5506-X with FirePOWER services, 8GE, AC, DES" +PID: ASA5506 , VID: V01 , SN: JMX8318372GB + +Name: "Storage Device 1", DESCR: "ASA 5506-X SSD" +PID: ASA5506-SSD , VID: N/A , SN: MSA1917883N From 69e2969aa32c5ba874a9a4c9217c15b2b44be83b Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Tue, 22 Oct 2019 18:35:12 +0000 Subject: [PATCH 310/628] BugFix: IOS show standby brief - support multiline output (#503) --- CHANGELOG | 2 ++ templates/cisco_ios_show_standby_brief.template | 7 +++++++ templates/index | 2 +- .../show_standby_brief/cisco_ios_show_standby_brief.raw | 3 ++- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index abeb3dd522..7b824212aa 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,7 +2,9 @@ ### Fixed for any bug fixes - [#497] ASA show version: Fix `MAX_INTF` to account for `Unlimited` - [#497] ASA show version: Fix `HARDWARE` to properly handle trailing commas +- [#503] IOS show standby: Fix output that spread across two lines ### Added for new features +- [#503] IOS show standby: Add support for matching template when specifying specific interface ### Changed for changes in existing functionality - [#497] ASA show version: Change `SERIAL` to be a list for clusters ### Deprecated for soon-to-be removed features diff --git a/templates/cisco_ios_show_standby_brief.template b/templates/cisco_ios_show_standby_brief.template index ffb04f6dc7..741a0b6e44 100644 --- a/templates/cisco_ios_show_standby_brief.template +++ b/templates/cisco_ios_show_standby_brief.template @@ -8,4 +8,11 @@ Value STANDBY (\S+) Value VIRTUALIP (\S+) Start + ^Interface\s+Grp\s+Pri\s+P\s+State\s+Active\s+Standby\s+Virtual\s+IP\s*$$ -> Standby + +Standby ^${IFACE}\s+${GROUP}\s+${PRIORITY}\s+${PREEMPT}\s+${STATE}\s+${ACTIVE}\s+${STANDBY}\s+${VIRTUALIP} -> Record + ^${IFACE}\s*$$ + ^\s*${GROUP}\s+${PRIORITY}\s+${PREEMPT}\s+${STATE}\s+${ACTIVE}\s+${STANDBY}\s+${VIRTUALIP} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index d3068b2291..a7f4cab248 100644 --- a/templates/index +++ b/templates/index @@ -164,7 +164,7 @@ cisco_ios_show_hosts_summary.template, .*, cisco_ios, sh[[ow]] ho[[sts]] summary cisco_ios_show_platform_diag.template, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ag]] cisco_ios_show_processes_cpu.template, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] cisco_ios_show_spanning-tree.template, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] -cisco_ios_show_standby_brief.template, .*, cisco_ios, sh[[ow]] standby br[[ief]] +cisco_ios_show_standby_brief.template, .*, cisco_ios, sh[[ow]] standby(?:\s+\S+)? br[[ief]] cisco_ios_show_ip_interface.template, .*, cisco_ios, sh[[ow]] ip int[[erface]] cisco_ios_show_power_status.template, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] cisco_ios_show_access-list.template, .*, cisco_ios, sh[[ow]] acc[[ess-list]] diff --git a/tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.raw b/tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.raw index 2c56d8605e..6046a00e11 100644 --- a/tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.raw +++ b/tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.raw @@ -7,4 +7,5 @@ Vl51 1 120 P Init unknown unknown 10.1.51.1 Vl51 6 120 P Init unknown unknown FE80::DEF Vl500 1 120 P Active local 10.1.5.3 10.1.5.1 Vl500 6 120 P Active local FE80::B FE80::DEF -Vl4010 1 120 P Active local 10.1.254.3 10.1.254.1 +Vl4010 + 1 120 P Active local 10.1.254.3 10.1.254.1 From dccc8c7e82c51476b08188039e58efd7c061588f Mon Sep 17 00:00:00 2001 From: Brandon Donohoe Date: Tue, 22 Oct 2019 15:58:50 -0500 Subject: [PATCH 311/628] BugFix: ASA show route - Account for various uptime formats --- templates/cisco_asa_show_route.template | 15 +++-- .../show_route/cisco_asa_show_route.parsed | 56 ++++++++++++++++++- .../show_route/cisco_asa_show_route.raw | 6 ++ 3 files changed, 68 insertions(+), 9 deletions(-) diff --git a/templates/cisco_asa_show_route.template b/templates/cisco_asa_show_route.template index fc1db9e90e..6d09f564db 100644 --- a/templates/cisco_asa_show_route.template +++ b/templates/cisco_asa_show_route.template @@ -6,21 +6,21 @@ Value DISTANCE (\d+) Value METRIC (\d+) Value NEXTHOPIP (\d+\.\d+\.\d+\.\d+) Value NEXTHOPIF (\S+) -Value UPTIME (\d+:\d+:\d+) +Value UPTIME (\d\S+?) Start ^Gateway -> ROUTES ROUTES # Match regular routes with all data in same line - ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\s+${MASK}\s\[${DISTANCE}\/${METRIC}\]\svia\s${NEXTHOPIP}(,\s${UPTIME}){0,1}(,\s${NEXTHOPIF}){0,1} -> Record + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\s+${MASK}\s\[${DISTANCE}\/${METRIC}\]\svia\s${NEXTHOPIP}(,\s${UPTIME}){0,1}(,\s${NEXTHOPIF}){0,1}\s*$$ -> Record # # Clear all non Filldown variables when line started with network that is variably subnetted - ^\s+[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}${MASK} -> Clear - ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\s\[${DISTANCE}\/${METRIC}\]\svia\s${NEXTHOPIP}(,\s${UPTIME}){0,1}(,\s${NEXTHOPIF}){0,1} -> Record + ^\s+[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}${MASK}\s*$$ -> Clear + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\s\[${DISTANCE}\/${METRIC}\]\svia\s${NEXTHOPIP}(,\s${UPTIME}){0,1}(,\s${NEXTHOPIF}){0,1}\s*$$ -> Record # # Match load-balanced routes - ^\s+\[${DISTANCE}\/${METRIC}\]\s+via\s+${NEXTHOPIP},\s+${NEXTHOPIF} -> Record + ^\s+\[${DISTANCE}\/${METRIC}\]\s+via\s+${NEXTHOPIP},(?:\s+${UPTIME},)?\s+${NEXTHOPIF}\s*$$ -> Record # # Match directly connected routes ^${PROTOCOL}\s${TYPE}\s+${NETWORK}\sis\sdirectly\sconnected,\s${NEXTHOPIF} -> Record @@ -29,8 +29,7 @@ ROUTES # Clear all variables on empty lines ^\s* -> Clearall #^${TYPE} -> Continue.Record - #^${TYPE}\s+${NETWORK}\s+${MASK}\s+\[\d+\/\d+\]\s+via\s+${GATEWAY}\,\s+${INTFC}\s* -> Record - #^\s+\[\d+\/\d+\]\s+via\s+${GATEWAY}\,\s+${INTFC} -> Record + #^${TYPE}\s+${NETWORK}\s+${MASK}\s+\[\d+\/\d+\]\s+via\s+${GATEWAY}\,\s+${UPTIME},\s+${INTFC}\s*$$ -> Record + #^\s+\[\d+\/\d+\]\s+via\s+${GATEWAY}\,\s+${UPTIME},\s+${INTFC}\s*$$ -> Record EOF - diff --git a/tests/cisco_asa/show_route/cisco_asa_show_route.parsed b/tests/cisco_asa/show_route/cisco_asa_show_route.parsed index c93f9216e5..fe5712d7bf 100644 --- a/tests/cisco_asa/show_route/cisco_asa_show_route.parsed +++ b/tests/cisco_asa/show_route/cisco_asa_show_route.parsed @@ -208,6 +208,60 @@ parsed_sample: nexthopip: "192.168.1.2" nexthopif: "outside" uptime: "3:21:21" +- protocol: "O" + type: "E2" + network: "10.1.1.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "2w6d" +- protocol: "O" + type: "E2" + network: "10.1.1.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.2.2" + nexthopif: "outside" + uptime: "2w6d" +- protocol: "O" + type: "E2" + network: "10.1.2.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "2w6d" +- protocol: "O" + type: "E2" + network: "10.1.2.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.2.2" + nexthopif: "outside" + uptime: "2w6d" +- protocol: "O" + type: "E2" + network: "10.1.3.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "2w6d" +- protocol: "O" + type: "E2" + network: "10.1.3.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.2.2" + nexthopif: "outside" + uptime: "2w6d" - protocol: "C" type: "" network: "192.168.1.0" @@ -225,4 +279,4 @@ parsed_sample: metric: "" nexthopip: "" nexthopif: "inside" - uptime: "" \ No newline at end of file + uptime: "" diff --git a/tests/cisco_asa/show_route/cisco_asa_show_route.raw b/tests/cisco_asa/show_route/cisco_asa_show_route.raw index b73c389155..3a80b7d107 100644 --- a/tests/cisco_asa/show_route/cisco_asa_show_route.raw +++ b/tests/cisco_asa/show_route/cisco_asa_show_route.raw @@ -30,5 +30,11 @@ O IA 10.0.4.254 255.255.255.255 [110/11] via 192.168.1.2, 3:21:21, outside O IA 10.0.1.254 255.255.255.255 [110/11] via 192.168.1.2, 3:21:21, outside O IA 10.0.2.254 255.255.255.255 [110/11] via 192.168.1.2, 3:21:21, outside O IA 10.0.3.254 255.255.255.255 [110/11] via 192.168.1.2, 3:21:21, outside +O E2 10.1.1.0 255.255.255.0 [170/3840] via 192.168.1.2, 2w6d, outside + [170/3840] via 192.168.2.2, 2w6d, outside +O E2 10.1.2.0 255.255.255.0 [170/3840] via 192.168.1.2, 2w6d, outside + [170/3840] via 192.168.2.2, 2w6d, outside +O E2 10.1.3.0 255.255.255.0 [170/3840] via 192.168.1.2, 2w6d, outside + [170/3840] via 192.168.2.2, 2w6d, outside C 192.168.1.0 255.255.255.0 is directly connected, outside C 192.168.2.0 255.255.255.0 is directly connected, inside \ No newline at end of file From 12a0bb3224be3696c6f40462e6a4df4bb289cbd0 Mon Sep 17 00:00:00 2001 From: Will Mullaney <50823494+mullaneywt@users.noreply.github.com> Date: Tue, 22 Oct 2019 19:34:03 -0600 Subject: [PATCH 312/628] BugFix: IOS cdp nei - don't require leading space (#480) --- .../cisco_ios_show_cdp_neighbors.template | 13 +- .../cisco_ios_show_cdp_neighbors_3.parsed | 112 ++++++++++++++++++ .../cisco_ios_show_cdp_neighbors_3.raw | 28 +++++ 3 files changed, 146 insertions(+), 7 deletions(-) create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.parsed create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw diff --git a/templates/cisco_ios_show_cdp_neighbors.template b/templates/cisco_ios_show_cdp_neighbors.template index dac670c2a3..32c4f7931f 100644 --- a/templates/cisco_ios_show_cdp_neighbors.template +++ b/templates/cisco_ios_show_cdp_neighbors.template @@ -1,14 +1,13 @@ Value Required NEIGHBOR (\S+) -Value LOCAL_INTERFACE (\S+\s\S+) -Value CAPABILITY ((?:\w(?:\s(?!\s))?){0,}) -Value PLATFORM (\S{2,}\s\S{2,}|\S+) -Value NEIGHBOR_INTERFACE (\S+\s\S+) +Value LOCAL_INTERFACE (\S+(?:\s\S+)?) +Value CAPABILITY ((?:\w\s*?)*?) +Value PLATFORM (\S{2,}\s\S+|\S{2,}) +Value NEIGHBOR_INTERFACE ([a-zA-Z]\S+(?:\s\S+)?) Start ^Device.*ID -> CDP CDP ^${NEIGHBOR}$$ - ^\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record - ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record - + ^\s*${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s*${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record + ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s*${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.parsed b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.parsed new file mode 100644 index 0000000000..d9a04b89a1 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.parsed @@ -0,0 +1,112 @@ +--- +parsed_sample: +- capability: H P + local_interface: Gig 1/0/16 + neighbor: SEP000000000000 + neighbor_interface: port 1 + platform: IP Phone +- capability: T B I + local_interface: Gig 1/0/45 + neighbor: AP000000000 + neighbor_interface: Gig 0 + platform: AIR-CAP35 +- capability: T B I + local_interface: Gig 1/0/46 + neighbor: AP000000001 + neighbor_interface: Gig 0 + platform: AIR-CAP35 +- capability: T + local_interface: Gig 1/0/1 + neighbor: WAAS0000000 + neighbor_interface: InlinePort 1/1/lan + platform: OE474 +- capability: H + local_interface: Gig 1/0/40 + neighbor: WAAS0000000 + neighbor_interface: Gig 1/0 + platform: OE474 +- capability: R B S + local_interface: Gig 1/0/1 + neighbor: router.domain.local + neighbor_interface: Gig 0/0 + platform: CISCO2911 +- capability: H P M + local_interface: Gig 1/0/33 + neighbor: SEP000000000001 + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/29 + neighbor: SEP000000000002 + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/30 + neighbor: SEP000000000003 + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/14 + neighbor: SEP000000000004 + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/8 + neighbor: SEP000000000005 + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/13 + neighbor: SEP000000000006 + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P + local_interface: Gig 1/0/15 + neighbor: SEP000000000007 + neighbor_interface: eth0 + platform: CTS-CODEC +- capability: H P M + local_interface: Gig 1/0/37 + neighbor: SEP000000000008 + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/34 + neighbor: SEP000000000009 + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P + local_interface: Gig 1/0/21 + neighbor: SEP00000000000A + neighbor_interface: eth0 + platform: CTS-CODEC +- capability: H P M + local_interface: Gig 1/0/35 + neighbor: SEP00000000000B + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/24 + neighbor: SEP00000000000C + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/9 + neighbor: SEP00000000000D + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/17 + neighbor: SEP00000000000E + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/20 + neighbor: SEP00000000000F + neighbor_interface: Port 1 + platform: IP Phone +- capability: H P M + local_interface: Gig 1/0/36 + neighbor: SEP000000000010 + neighbor_interface: Port 1 + platform: IP Phone diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw new file mode 100644 index 0000000000..d32b1cc068 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw @@ -0,0 +1,28 @@ +Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge +S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, +D - Remote, C - CVTA, M - Two-port Mac Relay + +Device ID Local Intrfce Holdtme Capability Platform Port ID +SEP000000000000 Gig 1/0/16 155 H P IP Phone port 1 +AP000000000 Gig 1/0/45 158 T B I AIR-CAP35 Gig 0 +AP000000001 Gig 1/0/46 173 T B I AIR-CAP35 Gig 0 +WAAS0000000 Gig 1/0/1 138 T OE474 InlinePort 1/1/lan +WAAS0000000 Gig 1/0/40 138 H OE474 Gig 1/0 +router.domain.local +Gig 1/0/1 134 R B S CISCO2911 Gig 0/0 +SEP000000000001 Gig 1/0/33 152 H P M IP Phone Port 1 +SEP000000000002 Gig 1/0/29 173 H P M IP Phone Port 1 +SEP000000000003 Gig 1/0/30 160 H P M IP Phone Port 1 +SEP000000000004 Gig 1/0/14 169 H P M IP Phone Port 1 +SEP000000000005 Gig 1/0/8 140 H P M IP Phone Port 1 +SEP000000000006 Gig 1/0/13 135 H P M IP Phone Port 1 +SEP000000000007 Gig 1/0/15 164 H P CTS-CODEC eth0 +SEP000000000008 Gig 1/0/37 173 H P M IP Phone Port 1 +SEP000000000009 Gig 1/0/34 176 H P M IP Phone Port 1 +SEP00000000000A Gig 1/0/21 179 H P CTS-CODEC eth0 +SEP00000000000B Gig 1/0/35 177 H P M IP Phone Port 1 +SEP00000000000C Gig 1/0/24 164 H P M IP Phone Port 1 +SEP00000000000D Gig 1/0/9 176 H P M IP Phone Port 1 +SEP00000000000E Gig 1/0/17 131 H P M IP Phone Port 1 +SEP00000000000F Gig 1/0/20 136 H P M IP Phone Port 1 +SEP000000000010 Gig 1/0/36 162 H P M IP Phone Port 1 \ No newline at end of file From 633bc0d579fcd331c7b4fb82351553b18c672573 Mon Sep 17 00:00:00 2001 From: nnaukwal <53108100+nnaukwal@users.noreply.github.com> Date: Sat, 26 Oct 2019 05:35:16 +1100 Subject: [PATCH 313/628] BugFix: NXOS bgp nei - move Record to Continue.Record (#505) --- .../cisco_nxos_show_ip_bgp_neighbors.template | 10 +- .../cisco_nxos_show_ip_bgp_neighbors.parsed | 545 +++++++++++++----- 2 files changed, 410 insertions(+), 145 deletions(-) diff --git a/templates/cisco_nxos_show_ip_bgp_neighbors.template b/templates/cisco_nxos_show_ip_bgp_neighbors.template index b86060bdff..8752c227a6 100644 --- a/templates/cisco_nxos_show_ip_bgp_neighbors.template +++ b/templates/cisco_nxos_show_ip_bgp_neighbors.template @@ -52,6 +52,7 @@ Value INBOUND_ROUTEMAP (\S+) Value OUTBOUND_ROUTEMAP (\S+) Start + ^BGP\s+neighbor\s+is -> Continue.Record ^BGP neighbor is ${NEIGHBOR},\s+remote AS\s+${ASN},.* ^\s+Description:\s+${DESCRIPTION} ^\s+BGP state = ${BGP_STATE}, \w+ for ${UPTIME} @@ -82,6 +83,8 @@ Start AddrFamCap ^\s+${ADDR_FAM_ADV} -> Start + ^BGP\s+neighbor\s+is -> Continue.Record + ^BGP\s+neighbor\s+is\s+${NEIGHBOR},\s+remote\s+AS\s+${ASN},.* -> Start AddrFamState ^\s+For address family:\s+${ADDR_FAMILY} @@ -92,6 +95,7 @@ AddrFamState ^\s+Outbound\s+route-map\s+configured\s+is\s+${OUTBOUND_ROUTEMAP},\s+handle\s+obtained ^\s+Last End-of-RIB received [\d:]+ after session start -> AddrFamState ^\s+Local host:\s+${LOCALHOST_IP}, Local port:\s+${LOCALHOST_PORT} - ^\s+Foreign host:\s+${REMOTE_IP}, Foreign port:\s+${REMOTE_PORT} -> Record Start - -EOF + ^\s+Foreign host:\s+${REMOTE_IP}, Foreign port:\s+${REMOTE_PORT} + ^\s+No\s+established\s+BGP\s+session\s+with\s+peer + ^BGP\s+neighbor\s+is -> Continue.Record + ^BGP\s+neighbor\s+is\s+${NEIGHBOR},\s+remote\s+AS\s+${ASN},.* -> Start diff --git a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed index e9cba25745..5ce26e0aa8 100644 --- a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed +++ b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed @@ -1,8 +1,7 @@ --- parsed_sample: + - accepted_paths: '8458' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast, L2VPN EVPN] @@ -17,6 +16,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '162725' keepalives_count_sent: '192374' last_peer_reset: 1w1d @@ -31,6 +31,7 @@ parsed_sample: notifications_count_sent: '1' opens_count_rcvd: '743363' opens_count_sent: '24' + outbound_routemap: '' remote_ip: 226.176.223.89 remote_port: '179' restart_time_adv: '120' @@ -53,8 +54,6 @@ parsed_sample: updates_count_sent: '8514' uptime: 1d01h - accepted_paths: '8458' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast, L2VPN EVPN] @@ -69,6 +68,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '163033' keepalives_count_sent: '192920' last_peer_reset: 1w0d @@ -83,6 +83,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '697776' opens_count_sent: '10' + outbound_routemap: '' remote_ip: 127.145.91.46 remote_port: '52469' restart_time_adv: '120' @@ -105,8 +106,6 @@ parsed_sample: updates_count_sent: '8559' uptime: 1w0d - accepted_paths: '8458' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast, L2VPN EVPN] @@ -121,6 +120,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '162984' keepalives_count_sent: '192899' last_peer_reset: 3d23h @@ -135,6 +135,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '744278' opens_count_sent: '20' + outbound_routemap: '' remote_ip: 231.231.113.66 remote_port: '22132' restart_time_adv: '120' @@ -157,8 +158,6 @@ parsed_sample: updates_count_sent: '8558' uptime: 3d21h - accepted_paths: '8458' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast, L2VPN EVPN] @@ -173,6 +172,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '162938' keepalives_count_sent: '192845' last_peer_reset: 3d18h @@ -187,6 +187,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '744351' opens_count_sent: '13' + outbound_routemap: '' remote_ip: 221.224.143.168 remote_port: '21548' restart_time_adv: '120' @@ -209,8 +210,6 @@ parsed_sample: updates_count_sent: '8566' uptime: 3d15h - accepted_paths: '0' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -225,6 +224,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '5279' keepalives_count_sent: '5279' last_peer_reset: never @@ -239,6 +239,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '1' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 72.193.89.91 remote_port: '179' restart_time_adv: '120' @@ -261,8 +262,6 @@ parsed_sample: updates_count_sent: '1' uptime: 3d15h - accepted_paths: '0' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -277,6 +276,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '5279' keepalives_count_sent: '5279' last_peer_reset: never @@ -291,6 +291,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '1' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 220.134.183.122 remote_port: '179' restart_time_adv: '120' @@ -312,49 +313,49 @@ parsed_sample: updates_count_rcvd: '' updates_count_sent: '1' uptime: 3d15h -- accepted_paths: '51195' - outbound_routemap: '' - inbound_routemap: '' +- accepted_paths: '0' addr_fam_adv: '' addr_fam_rcv: '' - addr_family: [IPv4 Unicast, IPv4 Unicast, IPv4 Unicast] + addr_family: [IPv4 Unicast] asn: '64938' bgp_state: Idle capability_count_rcvd: '0' capability_count_sent: '0' conn_dropped: '0' conn_estab: '0' - consumed_mem: '3071700' + consumed_mem: '0' description: from donkey to boo ext_nh_cap: '' fourbyte_cap: '' graceful_cap: '' + inbound_routemap: '' keepalives_count_rcvd: '0' keepalives_count_sent: '0' last_peer_reset: never last_peer_reset_reason: No error last_reset: never last_reset_reason: No error - localhost_ip: 148.188.153.56 - localhost_port: '24169' - nei_table_version: ['0', '0', '8483941'] + localhost_ip: '' + localhost_port: '' + nei_table_version: ['0'] neighbor: 202.77.85.157 notifications_count_rcvd: '0' notifications_count_sent: '0' opens_count_rcvd: '0' opens_count_sent: '0' - remote_ip: 22.15.33.118 - remote_port: '179' + outbound_routemap: '' + remote_ip: '' + remote_port: '' restart_time_adv: '' restart_time_rcv: '' route_refresh_count_rcvd: '0' route_refresh_count_sent: '0' rr_new_cap: '' rr_old_cap: '' - sent_paths: '10303' + sent_paths: '0' source_iface: loopback0 stale_time: '' - table_version: ['4', '4', '8483941'] + table_version: ['4'] total_bytes_count_rcvd: '0' total_bytes_count_sent: '0' total_bytes_rcvd_queue: '0' @@ -364,9 +365,111 @@ parsed_sample: updates_count_rcvd: '' updates_count_sent: '0' uptime: 3d16h -- accepted_paths: '51195' +- accepted_paths: '0' + addr_fam_adv: '' + addr_fam_rcv: '' + addr_family: [IPv4 Unicast] + asn: '64938' + bgp_state: Idle + capability_count_rcvd: '0' + capability_count_sent: '0' + conn_dropped: '0' + conn_estab: '0' + consumed_mem: '0' + description: from bar to monkey + ext_nh_cap: '' + fourbyte_cap: '' + graceful_cap: '' + inbound_routemap: '' + keepalives_count_rcvd: '0' + keepalives_count_sent: '0' + last_peer_reset: never + last_peer_reset_reason: No error + last_reset: never + last_reset_reason: No error + localhost_ip: '' + localhost_port: '' + nei_table_version: ['0'] + neighbor: 47.48.246.179 + notifications_count_rcvd: '0' + notifications_count_sent: '0' + opens_count_rcvd: '0' + opens_count_sent: '0' outbound_routemap: '' + remote_ip: '' + remote_port: '' + restart_time_adv: '' + restart_time_rcv: '' + route_refresh_count_rcvd: '0' + route_refresh_count_sent: '0' + rr_new_cap: '' + rr_old_cap: '' + sent_paths: '0' + source_iface: loopback0 + stale_time: '' + table_version: ['4'] + total_bytes_count_rcvd: '0' + total_bytes_count_sent: '0' + total_bytes_rcvd_queue: '0' + total_bytes_send_queue: '0' + total_mess_count_rcvd: '0' + total_mess_count_sent: '0' + updates_count_rcvd: '' + updates_count_sent: '0' + uptime: 3d16h +- accepted_paths: '51195' + addr_fam_adv: IPv4 Unicast + addr_fam_rcv: '' + addr_family: [IPv4 Unicast] + asn: '65003' + bgp_state: Established + capability_count_rcvd: '0' + capability_count_sent: '0' + conn_dropped: '0' + conn_estab: '1' + consumed_mem: '3071700' + description: from bing to bing + ext_nh_cap: advertised + fourbyte_cap: advertised received + graceful_cap: advertised received inbound_routemap: '' + keepalives_count_rcvd: '348479' + keepalives_count_sent: '474926' + last_peer_reset: never + last_peer_reset_reason: No error + last_reset: never + last_reset_reason: No error + localhost_ip: 148.188.153.56 + localhost_port: '24169' + nei_table_version: ['8483941'] + neighbor: 217.90.29.79 + notifications_count_rcvd: '0' + notifications_count_sent: '0' + opens_count_rcvd: '857498' + opens_count_sent: '1' + outbound_routemap: '' + remote_ip: 22.15.33.118 + remote_port: '179' + restart_time_adv: '120' + restart_time_rcv: '120' + route_refresh_count_rcvd: '0' + route_refresh_count_sent: '0' + rr_new_cap: advertised received + rr_old_cap: advertised received + sent_paths: '10303' + source_iface: Ethernet5/24 + stale_time: '300' + table_version: ['8483941'] + total_bytes_count_rcvd: '99012794' + total_bytes_count_sent: '116954780' + total_bytes_rcvd_queue: '0' + total_bytes_send_queue: '0' + total_mess_count_rcvd: '1205978' + total_mess_count_sent: '1413795' + updates_count_rcvd: '' + updates_count_sent: '938868' + uptime: 13w2d +- accepted_paths: '51195' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -381,6 +484,7 @@ parsed_sample: ext_nh_cap: advertised fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '347974' keepalives_count_sent: '474925' last_peer_reset: never @@ -395,6 +499,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '875258' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 228.67.65.167 remote_port: '28699' restart_time_adv: '120' @@ -417,8 +522,6 @@ parsed_sample: updates_count_sent: '937989' uptime: 13w2d - accepted_paths: '117' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -433,6 +536,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540297' keepalives_count_sent: '462065' last_peer_reset: never @@ -447,6 +551,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '633313' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 88.181.26.218 remote_port: '179' restart_time_adv: '' @@ -469,8 +574,6 @@ parsed_sample: updates_count_sent: '1534229' uptime: 13w2d - accepted_paths: '2' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -485,6 +588,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540290' keepalives_count_sent: '462062' last_peer_reset: never @@ -499,6 +603,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '529532' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 121.155.249.169 remote_port: '179' restart_time_adv: '' @@ -521,8 +626,6 @@ parsed_sample: updates_count_sent: '1534343' uptime: 13w2d - accepted_paths: '2' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -537,6 +640,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540294' keepalives_count_sent: '462062' last_peer_reset: never @@ -551,6 +655,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '536991' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 72.243.246.239 remote_port: '179' restart_time_adv: '' @@ -573,8 +678,6 @@ parsed_sample: updates_count_sent: '1533678' uptime: 13w2d - accepted_paths: '12' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -589,6 +692,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540295' keepalives_count_sent: '462072' last_peer_reset: never @@ -603,6 +707,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '653827' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 249.71.59.33 remote_port: '179' restart_time_adv: '' @@ -625,8 +730,6 @@ parsed_sample: updates_count_sent: '1533676' uptime: 13w2d - accepted_paths: '9' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -641,6 +744,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540291' keepalives_count_sent: '462066' last_peer_reset: never @@ -655,6 +759,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '635238' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 88.87.6.2 remote_port: '179' restart_time_adv: '' @@ -677,8 +782,6 @@ parsed_sample: updates_count_sent: '1533414' uptime: 13w2d - accepted_paths: '12' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -693,6 +796,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540291' keepalives_count_sent: '462066' last_peer_reset: never @@ -707,6 +811,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '635285' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 187.84.208.112 remote_port: '179' restart_time_adv: '' @@ -729,8 +834,6 @@ parsed_sample: updates_count_sent: '1533446' uptime: 13w2d - accepted_paths: '10' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -745,6 +848,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '429734' keepalives_count_sent: '462068' last_peer_reset: never @@ -759,6 +863,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '657289' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 22.41.156.160 remote_port: '59645' restart_time_adv: '' @@ -781,8 +886,6 @@ parsed_sample: updates_count_sent: '1534639' uptime: 13w2d - accepted_paths: '3' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -797,6 +900,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540290' keepalives_count_sent: '462065' last_peer_reset: never @@ -811,6 +915,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '676579' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 249.173.131.89 remote_port: '179' restart_time_adv: '' @@ -833,8 +938,6 @@ parsed_sample: updates_count_sent: '1532707' uptime: 13w2d - accepted_paths: '1' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -849,6 +952,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540291' keepalives_count_sent: '462067' last_peer_reset: never @@ -863,6 +967,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '673811' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 113.114.126.174 remote_port: '179' restart_time_adv: '' @@ -885,8 +990,6 @@ parsed_sample: updates_count_sent: '1532747' uptime: 13w2d - accepted_paths: '247' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -901,6 +1004,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540295' keepalives_count_sent: '462097' last_peer_reset: never @@ -915,6 +1019,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '645646' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 241.90.87.199 remote_port: '179' restart_time_adv: '' @@ -937,8 +1042,6 @@ parsed_sample: updates_count_sent: '1532440' uptime: 13w2d - accepted_paths: '61' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -953,6 +1056,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540295' keepalives_count_sent: '462080' last_peer_reset: never @@ -967,6 +1071,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '651138' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 224.44.237.104 remote_port: '179' restart_time_adv: '' @@ -989,8 +1094,6 @@ parsed_sample: updates_count_sent: '1531755' uptime: 13w2d - accepted_paths: '324' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1005,6 +1108,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '538997' keepalives_count_sent: '462954' last_peer_reset: never @@ -1019,6 +1123,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '4645' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 116.246.167.246 remote_port: '27360' restart_time_adv: '120' @@ -1041,8 +1146,6 @@ parsed_sample: updates_count_sent: '1529417' uptime: 13w2d - accepted_paths: '258' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1057,6 +1160,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540296' keepalives_count_sent: '462068' last_peer_reset: never @@ -1071,6 +1175,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '634933' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 27.240.178.84 remote_port: '179' restart_time_adv: '' @@ -1093,8 +1198,6 @@ parsed_sample: updates_count_sent: '1534379' uptime: 13w2d - accepted_paths: '265' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1109,6 +1212,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540293' keepalives_count_sent: '462070' last_peer_reset: never @@ -1123,6 +1227,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '650489' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 133.127.112.13 remote_port: '179' restart_time_adv: '' @@ -1145,8 +1250,6 @@ parsed_sample: updates_count_sent: '1532715' uptime: 13w2d - accepted_paths: '33' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1161,6 +1264,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540291' keepalives_count_sent: '462066' last_peer_reset: never @@ -1175,6 +1279,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '664426' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 234.33.202.152 remote_port: '179' restart_time_adv: '' @@ -1197,8 +1302,6 @@ parsed_sample: updates_count_sent: '1532601' uptime: 13w2d - accepted_paths: '7' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1213,6 +1316,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '404105' keepalives_count_sent: '462066' last_peer_reset: never @@ -1227,6 +1331,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '654504' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 124.68.182.124 remote_port: '179' restart_time_adv: '' @@ -1248,49 +1353,49 @@ parsed_sample: updates_count_rcvd: '' updates_count_sent: '1533067' uptime: 13w2d -- accepted_paths: '6' - outbound_routemap: '' - inbound_routemap: '' +- accepted_paths: '0' addr_fam_adv: '' addr_fam_rcv: '' - addr_family: [IPv4 Unicast, IPv4 Unicast] + addr_family: [IPv4 Unicast] asn: '64568' bgp_state: Shut (Admin) capability_count_rcvd: '0' capability_count_sent: '0' conn_dropped: '0' conn_estab: '0' - consumed_mem: '360' + consumed_mem: '0' description: from bar to foo ext_nh_cap: '' fourbyte_cap: '' graceful_cap: '' + inbound_routemap: '' keepalives_count_rcvd: '0' keepalives_count_sent: '0' last_peer_reset: never last_peer_reset_reason: No error last_reset: never last_reset_reason: No error - localhost_ip: 42.49.226.128 - localhost_port: '30976' - nei_table_version: ['0', '8483941'] + localhost_ip: '' + localhost_port: '' + nei_table_version: ['0'] neighbor: 178.51.35.168 notifications_count_rcvd: '0' notifications_count_sent: '0' opens_count_rcvd: '0' opens_count_sent: '0' - remote_ip: 187.198.29.137 - remote_port: '179' + outbound_routemap: '' + remote_ip: '' + remote_port: '' restart_time_adv: '' restart_time_rcv: '' route_refresh_count_rcvd: '0' route_refresh_count_sent: '0' rr_new_cap: '' rr_old_cap: '' - sent_paths: '53440' + sent_paths: '0' source_iface: '' stale_time: '' - table_version: ['8483941', '8483941'] + table_version: ['8483941'] total_bytes_count_rcvd: '0' total_bytes_count_sent: '0' total_bytes_rcvd_queue: '0' @@ -1300,9 +1405,59 @@ parsed_sample: updates_count_rcvd: '' updates_count_sent: '0' uptime: 13w2d -- accepted_paths: '54' - outbound_routemap: '' +- accepted_paths: '6' + addr_fam_adv: Sent Rcvd + addr_fam_rcv: '' + addr_family: [IPv4 Unicast] + asn: '63000' + bgp_state: Established + capability_count_rcvd: '0' + capability_count_sent: '0' + conn_dropped: '0' + conn_estab: '1' + consumed_mem: '360' + description: from bing to monkey + ext_nh_cap: '' + fourbyte_cap: advertised + graceful_cap: advertised inbound_routemap: '' + keepalives_count_rcvd: '540297' + keepalives_count_sent: '462062' + last_peer_reset: never + last_peer_reset_reason: No error + last_reset: never + last_reset_reason: No error + localhost_ip: 42.49.226.128 + localhost_port: '30976' + nei_table_version: ['8483941'] + neighbor: 212.164.170.242 + notifications_count_rcvd: '0' + notifications_count_sent: '0' + opens_count_rcvd: '277837' + opens_count_sent: '1' + outbound_routemap: '' + remote_ip: 187.198.29.137 + remote_port: '179' + restart_time_adv: '' + restart_time_rcv: '' + route_refresh_count_rcvd: '0' + route_refresh_count_sent: '0' + rr_new_cap: advertised received + rr_old_cap: advertised received + sent_paths: '53440' + source_iface: '' + stale_time: '' + table_version: ['8483941'] + total_bytes_count_rcvd: '37605685' + total_bytes_count_sent: '159180954' + total_bytes_rcvd_queue: '0' + total_bytes_send_queue: '0' + total_mess_count_rcvd: '818135' + total_mess_count_sent: '1993594' + updates_count_rcvd: '' + updates_count_sent: '1531531' + uptime: 13w2d +- accepted_paths: '54' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1317,6 +1472,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540292' keepalives_count_sent: '462056' last_peer_reset: never @@ -1331,6 +1487,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '85' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 130.223.103.98 remote_port: '179' restart_time_adv: '' @@ -1353,8 +1510,6 @@ parsed_sample: updates_count_sent: '1531655' uptime: 13w2d - accepted_paths: '94' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1369,6 +1524,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '417850' keepalives_count_sent: '462089' last_peer_reset: never @@ -1383,6 +1539,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '618470' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 60.17.163.56 remote_port: '35869' restart_time_adv: '' @@ -1405,8 +1562,6 @@ parsed_sample: updates_count_sent: '1533153' uptime: 13w2d - accepted_paths: '155' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1421,6 +1576,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540291' keepalives_count_sent: '462073' last_peer_reset: never @@ -1435,6 +1591,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '157' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 40.101.222.225 remote_port: '179' restart_time_adv: '' @@ -1457,8 +1614,6 @@ parsed_sample: updates_count_sent: '1530946' uptime: 13w2d - accepted_paths: '358' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1473,6 +1628,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '425522' keepalives_count_sent: '462428' last_peer_reset: never @@ -1487,6 +1643,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '675340' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 128.255.228.37 remote_port: '18524' restart_time_adv: '' @@ -1509,8 +1666,6 @@ parsed_sample: updates_count_sent: '1530832' uptime: 13w2d - accepted_paths: '5' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1525,6 +1680,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540296' keepalives_count_sent: '462063' last_peer_reset: never @@ -1539,6 +1695,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '643578' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 119.96.208.59 remote_port: '179' restart_time_adv: '' @@ -1561,8 +1718,6 @@ parsed_sample: updates_count_sent: '1532184' uptime: 13w2d - accepted_paths: '3' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1577,6 +1732,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540299' keepalives_count_sent: '462064' last_peer_reset: never @@ -1591,6 +1747,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '645340' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 195.117.50.146 remote_port: '179' restart_time_adv: '' @@ -1613,8 +1770,6 @@ parsed_sample: updates_count_sent: '1533949' uptime: 13w2d - accepted_paths: '5' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1629,6 +1784,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540287' keepalives_count_sent: '462067' last_peer_reset: never @@ -1643,6 +1799,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '3' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 186.39.56.0 remote_port: '179' restart_time_adv: '' @@ -1665,8 +1822,6 @@ parsed_sample: updates_count_sent: '1531502' uptime: 13w2d - accepted_paths: '5' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1681,6 +1836,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540297' keepalives_count_sent: '462064' last_peer_reset: never @@ -1695,6 +1851,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '648401' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 235.228.253.157 remote_port: '179' restart_time_adv: '' @@ -1717,8 +1874,6 @@ parsed_sample: updates_count_sent: '1533275' uptime: 13w2d - accepted_paths: '3' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1733,6 +1888,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '540293' keepalives_count_sent: '462062' last_peer_reset: never @@ -1747,6 +1903,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '2' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 244.157.125.129 remote_port: '179' restart_time_adv: '' @@ -1768,39 +1925,39 @@ parsed_sample: updates_count_rcvd: '' updates_count_sent: '1531346' uptime: 13w2d -- accepted_paths: '21' - outbound_routemap: 'DENY_ALL' - inbound_routemap: '' +- accepted_paths: '0' addr_fam_adv: '' addr_fam_rcv: '' - addr_family: [IPv4 Unicast, IPv4 Unicast] + addr_family: [IPv4 Unicast] asn: '65271' bgp_state: Idle capability_count_rcvd: '0' capability_count_sent: '0' conn_dropped: '0' conn_estab: '0' - consumed_mem: '1260' + consumed_mem: '0' description: from monkey to boo ext_nh_cap: '' fourbyte_cap: '' graceful_cap: '' + inbound_routemap: '' keepalives_count_rcvd: '0' keepalives_count_sent: '0' last_peer_reset: never last_peer_reset_reason: No error last_reset: never last_reset_reason: No error - localhost_ip: 168.77.208.187 - localhost_port: '28277' - nei_table_version: ['0', '8483941'] + localhost_ip: '' + localhost_port: '' + nei_table_version: ['0'] neighbor: 48.218.155.56 notifications_count_rcvd: '0' notifications_count_sent: '0' opens_count_rcvd: '0' opens_count_sent: '0' - remote_ip: 192.204.136.39 - remote_port: '179' + outbound_routemap: '' + remote_ip: '' + remote_port: '' restart_time_adv: '' restart_time_rcv: '' route_refresh_count_rcvd: '0' @@ -1810,7 +1967,7 @@ parsed_sample: sent_paths: '0' source_iface: '' stale_time: '' - table_version: ['8483941', '8483941'] + table_version: ['8483941'] total_bytes_count_rcvd: '0' total_bytes_count_sent: '0' total_bytes_rcvd_queue: '0' @@ -1820,9 +1977,59 @@ parsed_sample: updates_count_rcvd: '' updates_count_sent: '0' uptime: 13w2d -- accepted_paths: '6' - outbound_routemap: '' +- accepted_paths: '21' + addr_fam_adv: Sent Rcvd + addr_fam_rcv: '' + addr_family: [IPv4 Unicast] + asn: '65201' + bgp_state: Established + capability_count_rcvd: '0' + capability_count_sent: '0' + conn_dropped: '0' + conn_estab: '1' + consumed_mem: '1260' + description: from monkey to baz + ext_nh_cap: '' + fourbyte_cap: advertised + graceful_cap: advertised inbound_routemap: '' + keepalives_count_rcvd: '540302' + keepalives_count_sent: '539739' + last_peer_reset: never + last_peer_reset_reason: No error + last_reset: never + last_reset_reason: No error + localhost_ip: 168.77.208.187 + localhost_port: '28277' + nei_table_version: ['8483941'] + neighbor: 44.153.169.176 + notifications_count_rcvd: '0' + notifications_count_sent: '0' + opens_count_rcvd: '2' + opens_count_sent: '1' + outbound_routemap: DENY_ALL + remote_ip: 192.204.136.39 + remote_port: '179' + restart_time_adv: '' + restart_time_rcv: '' + route_refresh_count_rcvd: '0' + route_refresh_count_sent: '0' + rr_new_cap: advertised received + rr_old_cap: advertised received + sent_paths: '0' + source_iface: Ethernet3/30 + stale_time: '' + table_version: ['8483941'] + total_bytes_count_rcvd: '10265893' + total_bytes_count_sent: '10255045' + total_bytes_rcvd_queue: '0' + total_bytes_send_queue: '0' + total_mess_count_rcvd: '540305' + total_mess_count_sent: '539741' + updates_count_rcvd: '' + updates_count_sent: '1' + uptime: 13w2d +- accepted_paths: '6' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1837,6 +2044,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '526575' keepalives_count_sent: '462446' last_peer_reset: never @@ -1851,6 +2059,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '2683' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 49.149.6.165 remote_port: '18056' restart_time_adv: '' @@ -1873,8 +2082,6 @@ parsed_sample: updates_count_sent: '1531827' uptime: 13w2d - accepted_paths: '32' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1889,6 +2096,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '527508' keepalives_count_sent: '462096' last_peer_reset: never @@ -1903,6 +2111,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '253' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 144.195.50.101 remote_port: '35983' restart_time_adv: '' @@ -1925,8 +2134,6 @@ parsed_sample: updates_count_sent: '1533270' uptime: 13w2d - accepted_paths: '6' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1941,6 +2148,7 @@ parsed_sample: ext_nh_cap: advertised fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '539882' keepalives_count_sent: '462077' last_peer_reset: 9w4d @@ -1955,6 +2163,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '9' opens_count_sent: '2' + outbound_routemap: '' remote_ip: 170.229.101.87 remote_port: '179' restart_time_adv: '120' @@ -1977,8 +2186,6 @@ parsed_sample: updates_count_sent: '1549371' uptime: 9w4d - accepted_paths: '110' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -1993,6 +2200,7 @@ parsed_sample: ext_nh_cap: advertised fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '539738' keepalives_count_sent: '462085' last_peer_reset: 1d06h @@ -2007,6 +2215,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '79' opens_count_sent: '4' + outbound_routemap: '' remote_ip: 160.215.146.14 remote_port: '179' restart_time_adv: '120' @@ -2028,49 +2237,49 @@ parsed_sample: updates_count_rcvd: '' updates_count_sent: '1578342' uptime: 1d06h -- accepted_paths: '55' - outbound_routemap: 'ALLOW_DEFAULT' - inbound_routemap: '' +- accepted_paths: '0' addr_fam_adv: '' addr_fam_rcv: '' - addr_family: [IPv4 Unicast, IPv4 Unicast] + addr_family: [IPv4 Unicast] asn: '65282' bgp_state: Idle capability_count_rcvd: '0' capability_count_sent: '0' conn_dropped: '0' conn_estab: '0' - consumed_mem: '3300' + consumed_mem: '0' description: from bing to bar ext_nh_cap: '' fourbyte_cap: '' graceful_cap: '' + inbound_routemap: '' keepalives_count_rcvd: '0' keepalives_count_sent: '0' last_peer_reset: never last_peer_reset_reason: No error last_reset: never last_reset_reason: No error - localhost_ip: 238.32.93.158 - localhost_port: '65116' - nei_table_version: ['0', '8483941'] + localhost_ip: '' + localhost_port: '' + nei_table_version: ['0'] neighbor: 32.180.174.240 notifications_count_rcvd: '0' notifications_count_sent: '0' opens_count_rcvd: '0' opens_count_sent: '0' - remote_ip: 206.89.69.2 - remote_port: '179' + outbound_routemap: ALLOW_DEFAULT + remote_ip: '' + remote_port: '' restart_time_adv: '' restart_time_rcv: '' route_refresh_count_rcvd: '0' route_refresh_count_sent: '0' rr_new_cap: '' rr_old_cap: '' - sent_paths: '53393' + sent_paths: '0' source_iface: '' stale_time: '' - table_version: ['8483941', '8483941'] + table_version: ['8483941'] total_bytes_count_rcvd: '0' total_bytes_count_sent: '0' total_bytes_rcvd_queue: '0' @@ -2080,9 +2289,59 @@ parsed_sample: updates_count_rcvd: '' updates_count_sent: '0' uptime: 13w2d -- accepted_paths: '642' - outbound_routemap: '' +- accepted_paths: '55' + addr_fam_adv: IPv4 Unicast + addr_fam_rcv: '' + addr_family: [IPv4 Unicast] + asn: '64602' + bgp_state: Established + capability_count_rcvd: '0' + capability_count_sent: '0' + conn_dropped: '1' + conn_estab: '2' + consumed_mem: '3300' + description: from donkey to bing + ext_nh_cap: advertised received + fourbyte_cap: advertised received + graceful_cap: advertised received inbound_routemap: '' + keepalives_count_rcvd: '539731' + keepalives_count_sent: '462077' + last_peer_reset: 10w5d + last_peer_reset_reason: duplicate connection request + last_reset: never + last_reset_reason: No error + localhost_ip: 238.32.93.158 + localhost_port: '65116' + nei_table_version: ['8483941'] + neighbor: 132.226.58.125 + notifications_count_rcvd: '0' + notifications_count_sent: '0' + opens_count_rcvd: '223' + opens_count_sent: '2' + outbound_routemap: '' + remote_ip: 206.89.69.2 + remote_port: '179' + restart_time_adv: '120' + restart_time_rcv: '120' + route_refresh_count_rcvd: '0' + route_refresh_count_sent: '0' + rr_new_cap: advertised received + rr_old_cap: advertised received + sent_paths: '53393' + source_iface: Ethernet6/8 + stale_time: '300' + table_version: ['8483941'] + total_bytes_count_rcvd: '10273374' + total_bytes_count_sent: '206256974' + total_bytes_rcvd_queue: '0' + total_bytes_send_queue: '0' + total_mess_count_rcvd: '539956' + total_mess_count_sent: '2010003' + updates_count_rcvd: '' + updates_count_sent: '1547924' + uptime: 10w5d +- accepted_paths: '642' addr_fam_adv: Sent Rcvd addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2097,6 +2356,7 @@ parsed_sample: ext_nh_cap: '' fourbyte_cap: advertised received graceful_cap: advertised + inbound_routemap: '' keepalives_count_rcvd: '525814' keepalives_count_sent: '463268' last_peer_reset: never @@ -2111,6 +2371,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '226933' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 112.221.23.57 remote_port: '37814' restart_time_adv: '' @@ -2133,8 +2394,6 @@ parsed_sample: updates_count_sent: '1527603' uptime: 13w2d - accepted_paths: '11' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2149,6 +2408,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '539905' keepalives_count_sent: '462076' last_peer_reset: never @@ -2163,6 +2423,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '3' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 191.20.54.179 remote_port: '57737' restart_time_adv: '120' @@ -2185,8 +2446,6 @@ parsed_sample: updates_count_sent: '1535502' uptime: 13w2d - accepted_paths: '1' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2201,6 +2460,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '539885' keepalives_count_sent: '462075' last_peer_reset: never @@ -2215,6 +2475,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '2' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 255.186.167.183 remote_port: '17650' restart_time_adv: '120' @@ -2237,8 +2498,6 @@ parsed_sample: updates_count_sent: '1533672' uptime: 13w2d - accepted_paths: '26' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2253,6 +2512,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '539976' keepalives_count_sent: '462078' last_peer_reset: never @@ -2267,6 +2527,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '18' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 222.28.243.82 remote_port: '16952' restart_time_adv: '120' @@ -2289,8 +2550,6 @@ parsed_sample: updates_count_sent: '1533539' uptime: 13w2d - accepted_paths: '4' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2305,6 +2564,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '539740' keepalives_count_sent: '462080' last_peer_reset: 10w5d @@ -2319,6 +2579,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '15' opens_count_sent: '3' + outbound_routemap: '' remote_ip: 127.176.93.177 remote_port: '179' restart_time_adv: '120' @@ -2341,8 +2602,6 @@ parsed_sample: updates_count_sent: '1563738' uptime: 10w5d - accepted_paths: '5' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2357,6 +2616,7 @@ parsed_sample: ext_nh_cap: advertised fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '578128' keepalives_count_sent: '462068' last_peer_reset: never @@ -2371,6 +2631,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '7' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 166.18.170.15 remote_port: '179' restart_time_adv: '120' @@ -2393,8 +2654,6 @@ parsed_sample: updates_count_sent: '1533546' uptime: 13w2d - accepted_paths: '1' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2409,6 +2668,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '539929' keepalives_count_sent: '462076' last_peer_reset: never @@ -2423,6 +2683,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '2' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 87.38.121.111 remote_port: '40066' restart_time_adv: '120' @@ -2445,8 +2706,6 @@ parsed_sample: updates_count_sent: '1534921' uptime: 13w2d - accepted_paths: '51100' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2461,6 +2720,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '465343' keepalives_count_sent: '478041' last_peer_reset: never @@ -2475,6 +2735,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '1000017' opens_count_sent: '2' + outbound_routemap: '' remote_ip: 129.148.50.189 remote_port: '179' restart_time_adv: '120' @@ -2497,8 +2758,6 @@ parsed_sample: updates_count_sent: '913861' uptime: 12w6d - accepted_paths: '51100' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2513,6 +2772,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '462580' keepalives_count_sent: '477387' last_peer_reset: 11w4d @@ -2527,6 +2787,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '1108031' opens_count_sent: '7' + outbound_routemap: '' remote_ip: 180.138.38.81 remote_port: '179' restart_time_adv: '120' @@ -2549,8 +2810,6 @@ parsed_sample: updates_count_sent: '955014' uptime: 11w4d - accepted_paths: '52809' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2565,6 +2824,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '463215' keepalives_count_sent: '473697' last_peer_reset: 11w5d @@ -2579,6 +2839,7 @@ parsed_sample: notifications_count_sent: '6' opens_count_rcvd: '1334218' opens_count_sent: '9' + outbound_routemap: '' remote_ip: 188.93.115.206 remote_port: '3413' restart_time_adv: '120' @@ -2601,8 +2862,6 @@ parsed_sample: updates_count_sent: '1321374' uptime: 11w5d - accepted_paths: '12901' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast addr_fam_rcv: '' addr_family: [IPv4 Unicast] @@ -2617,6 +2876,7 @@ parsed_sample: ext_nh_cap: advertised fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '473315' keepalives_count_sent: '462406' last_peer_reset: never @@ -2631,6 +2891,7 @@ parsed_sample: notifications_count_sent: '0' opens_count_rcvd: '1067023' opens_count_sent: '1' + outbound_routemap: '' remote_ip: 255.45.69.45 remote_port: '25122' restart_time_adv: '120' @@ -2653,8 +2914,6 @@ parsed_sample: updates_count_sent: '1506061' uptime: 13w2d - accepted_paths: '2159' - outbound_routemap: '' - inbound_routemap: '' addr_fam_adv: IPv4 Unicast IPv6 Unicast L2VPN EVPN addr_fam_rcv: '' addr_family: [IPv4 Unicast, IPv6 Unicast, L2VPN EVPN] @@ -2669,6 +2928,7 @@ parsed_sample: ext_nh_cap: advertised received fourbyte_cap: advertised received graceful_cap: advertised received + inbound_routemap: '' keepalives_count_rcvd: '35845' keepalives_count_sent: '38070' last_peer_reset: never @@ -2683,6 +2943,7 @@ parsed_sample: notifications_count_sent: '2' opens_count_rcvd: '21260' opens_count_sent: '3' + outbound_routemap: '' remote_ip: 87.39.86.252 remote_port: '179' restart_time_adv: '120' From b61ded434caafa97ee3b1844f34c8e540c0e1fc5 Mon Sep 17 00:00:00 2001 From: timjsmith24 Date: Fri, 25 Oct 2019 15:08:17 -0400 Subject: [PATCH 314/628] New Template: WLC - show 802.11a|b (#501) --- .../cisco_wlc_ssh_show_802.11ab.template | 67 ++++++++++ templates/index | 2 +- .../cisco_wlc_ssh_show_802_11ab.parsed | 116 ++++++++++++++++ .../cisco_wlc_ssh_show_802_11ab.raw | 125 ++++++++++++++++++ tests/test_testcases_exists.py | 2 +- 5 files changed, 310 insertions(+), 2 deletions(-) create mode 100644 templates/cisco_wlc_ssh_show_802.11ab.template create mode 100644 tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.parsed create mode 100644 tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.raw diff --git a/templates/cisco_wlc_ssh_show_802.11ab.template b/templates/cisco_wlc_ssh_show_802.11ab.template new file mode 100644 index 0000000000..e2ecbfc979 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_802.11ab.template @@ -0,0 +1,67 @@ +Value STATUS (\w+) +Value List SPECS (\w+) +Value List SPECS_VALUE (\w+) +Value List DATA_RATE (\d+\.?\d?\w) +Value List DATA_RATE_VALUE (\w+) +Value List MCS_RATE (\d+) +Value List MCS_RATE_VALUE (\w+) +Value List SS_MCS_RATE (Nss=\d\:\sMCS\s0-\d) +Value List SS_MCS_RATE_VALUE (\w+) +Value BEACON_INTERVAL (\d+) +Value RSSI_LOW_CHECK (\w+) +Value RSSI_THRES (-\d+) +Value EDCA (.+?) +Value VOICE_AMC (\w+) +Value VOICE_CAC_METHOD (.+?) +Value VOICE_MAX_BANDWIDTH (\d+) +Value VOICE_ROAMING_BANDWIDTH (\d+|) +Value VIDEO_AMC (\w+) +Value VIDEO_CAC_METHOD (.+?) +Value VIDEO_MAX_BANDWIDTH (\d+) +Value VIDEO_ROAMING_BANDWIDTH (\d+|) +Value MAX_CLIENT (\d+) + + + +Start + ^802.11(a|b)\sNetwork\.*\s${STATUS}s*$$ -> Spec_support + ^Beacon\sInterval\.*\s${BEACON_INTERVAL}s*$$ + ^RSSI\sLow\sCheck\.*\s${RSSI_LOW_CHECK}s*$$ + ^RSSI\sThreshold\.*\s${RSSI_THRES}s*$$ + ^EDCA\sprofile\stype\.*\s${EDCA}s*$$ + ^\s+Voice\sAC\s-\sAdmission\scontrol\s\(ACM\)\.*\s${VOICE_AMC}s*$$ + ^\s+Voice\sCAC\sMethod.*\s${VOICE_CAC_METHOD}s*$$ + ^\s+Voice\smax\sRF\sbandwidth\.*\s${VOICE_MAX_BANDWIDTH}s*$$ + ^\s+Voice\sreserved\sroaming\sbandwidth\.*\s${VOICE_ROAMING_BANDWIDTH}s*$$ + ^\s+Video\sAC\s-\sAdmission\scontrol\s\(ACM\)\.*\s${VIDEO_AMC}s*$$ + ^\s+Video\sCAC\sMethod\s\.*\s${VIDEO_CAC_METHOD}s*$$ + ^\s+Video\smax\sRF\sbandwidth\.*\s${VIDEO_MAX_BANDWIDTH}s*$$ + ^\s+Video\sreserved\sroaming\sbandwidth\.*\s${VIDEO_ROAMING_BANDWIDTH}s*$$ + ^Maximum\sNumber\sof\sClients\sper\sAP(\sRadio)?\.*\s${MAX_CLIENT}s*$$ + ^\s* + ^. -> Error + +Spec_support + ^11${SPECS}Support\.*\s${SPECS_VALUE}s*$$ + ^802.11(a|b|b\/g)\sOperational\sRates -> Data_Rates + ^\s* + ^. -> Error + +Data_Rates + ^\s+802.11(a|g|b|(b\/g))\s${DATA_RATE}\s+Rate\.*\s+${DATA_RATE_VALUE}s*$$ + ^802.11n\s+MCS\s+Settings: -> MCS_Rates + ^\s* + ^. -> Error + +MCS_Rates + ^\s+MCS\s${MCS_RATE}\.*\s+${MCS_RATE_VALUE}s*$$ + ^802.11ac\s+MCS\s+Settings: -> AC_MCS_Rates + ^802.11n Status: -> Start + ^\s* + ^. -> Error + +AC_MCS_Rates + ^\s+${SS_MCS_RATE}\s+\.*\s${SS_MCS_RATE_VALUE}s*$$ + ^802.11n\s+Status: -> Start + ^\s* + ^. -> Error diff --git a/templates/index b/templates/index index a7f4cab248..7ed68f2cc6 100644 --- a/templates/index +++ b/templates/index @@ -243,9 +243,9 @@ cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap co cisco_wlc_ssh_show_client_detail.template, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.template, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] +cisco_wlc_ssh_show_802.11ab.template, .*, cisco_wlc_ssh, show 802\.11a|b cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] - cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] in[[gress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_errors_egress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] eg[[ress]] loc[[ation]] diff --git a/tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.parsed b/tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.parsed new file mode 100644 index 0000000000..793a344bb7 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.parsed @@ -0,0 +1,116 @@ +--- +parsed_sample: +- beacon_interval: '100' + data_rate: + - 6M + - 9M + - 12M + - 18M + - 24M + - 36M + - 48M + - 54M + data_rate_value: + - Mandatory + - Supported + - Mandatory + - Supported + - Mandatory + - Supported + - Supported + - Supported + edca: default-wmm + max_client: '200' + mcs_rate: + - '0' + - '1' + - '2' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + - '10' + - '11' + - '12' + - '13' + - '14' + - '15' + - '16' + - '17' + - '18' + - '19' + - '20' + - '21' + - '22' + - '23' + - '24' + - '25' + - '26' + - '27' + - '28' + - '29' + - '30' + - '31' + mcs_rate_value: + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + - Supported + rssi_low_check: Disabled + rssi_thres: '-80' + specs: + - ac + - n + specs_value: + - Enabled + - Enabled + ss_mcs_rate: + - 'Nss=1: MCS 0-9' + - 'Nss=2: MCS 0-9' + - 'Nss=3: MCS 0-9' + - 'Nss=4: MCS 0-7' + ss_mcs_rate_value: + - Supported + - Supported + - Supported + - Supported + status: Disabled + video_amc: Disabled + video_cac_method: Static + video_max_bandwidth: '0' + video_roaming_bandwidth: '0' + voice_amc: Disabled + voice_cac_method: Load-Based + voice_max_bandwidth: '75' + voice_roaming_bandwidth: '6' diff --git a/tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.raw b/tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.raw new file mode 100644 index 0000000000..05a8d3e4d1 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.raw @@ -0,0 +1,125 @@ + +802.11a Network.................................. Disabled +11acSupport...................................... Enabled +11nSupport....................................... Enabled + 802.11a Low Band........................... Enabled + 802.11a Mid Band........................... Enabled + 802.11a High Band.......................... Enabled +802.11a Operational Rates + 802.11a 6M Rate.............................. Mandatory + 802.11a 9M Rate.............................. Supported + 802.11a 12M Rate............................. Mandatory + 802.11a 18M Rate............................. Supported + 802.11a 24M Rate............................. Mandatory + 802.11a 36M Rate............................. Supported + 802.11a 48M Rate............................. Supported + 802.11a 54M Rate............................. Supported +802.11n MCS Settings: + MCS 0........................................ Supported + MCS 1........................................ Supported + MCS 2........................................ Supported + MCS 3........................................ Supported + MCS 4........................................ Supported + MCS 5........................................ Supported + MCS 6........................................ Supported + MCS 7........................................ Supported + MCS 8........................................ Supported + MCS 9........................................ Supported + MCS 10....................................... Supported + MCS 11....................................... Supported + MCS 12....................................... Supported + MCS 13....................................... Supported + MCS 14....................................... Supported + MCS 15....................................... Supported + MCS 16....................................... Supported + MCS 17....................................... Supported + MCS 18....................................... Supported + MCS 19....................................... Supported + MCS 20....................................... Supported + MCS 21....................................... Supported + MCS 22....................................... Supported + MCS 23....................................... Supported + MCS 24....................................... Supported + MCS 25....................................... Supported + MCS 26....................................... Supported + MCS 27....................................... Supported + MCS 28....................................... Supported + MCS 29....................................... Supported + MCS 30....................................... Supported + MCS 31....................................... Supported +802.11ac MCS Settings: + Nss=1: MCS 0-9 .............................. Supported + Nss=2: MCS 0-9 .............................. Supported + Nss=3: MCS 0-9 .............................. Supported + Nss=4: MCS 0-7 .............................. Supported +802.11n Status: + A-MPDU Tx: + Priority 0............................... Enabled + Priority 1............................... Enabled + Priority 2............................... Enabled + Priority 3............................... Enabled + Priority 4............................... Enabled + Priority 5............................... Enabled + Priority 6............................... Disabled + Priority 7............................... Disabled + Aggregation scheduler.................... Enabled + Frame Burst.............................. Automatic + Realtime Timeout..................... 10 + Non Realtime Timeout................. 200 + A-MSDU Tx: + Priority 0............................... Enabled + Priority 1............................... Enabled + Priority 2............................... Enabled + Priority 3............................... Enabled + Priority 4............................... Enabled + Priority 5............................... Enabled + Priority 6............................... Disabled + Priority 7............................... Disabled + A-MSDU Max Subframes ........................ 3 + A-MSDU MAX Length ........................... 8k + Rifs Rx ..................................... Enabled + Guard Interval .............................. Any +Beacon Interval.................................. 100 +CF Pollable mandatory............................ Disabled +CF Poll Request mandatory........................ Disabled +CFP Period....................................... 4 +CFP Maximum Duration............................. 60 +Default Channel.................................. 36 +Default Tx Power Level........................... 1 +DTPC Status..................................... Enabled +Fragmentation Threshold.......................... 2346 +RSSI Low Check................................... Disabled +RSSI Threshold................................... -80 +TI Threshold..................................... -50 +Legacy Tx Beamforming setting.................... Disabled +Traffic Stream Metrics Status.................... Disabled +Expedited BW Request Status...................... Disabled +World Mode....................................... Enabled +dfs-peakdetect................................... Enabled +EDCA profile type................................ default-wmm +Voice MAC optimization status.................... Disabled +Call Admission Control (CAC) configuration +Voice AC: + Voice AC - Admission control (ACM)............ Disabled + Voice Stream-Size............................. 84000 + Voice Max-Streams............................. 2 + Voice max RF bandwidth........................ 75 + Voice reserved roaming bandwidth.............. 6 + Voice CAC Method ............................. Load-Based + Voice tspec inactivity timeout................ Disabled + CAC SIP-Voice configuration + SIP based CAC ................................ Disabled + SIP Codec Type ............................... CODEC_TYPE_G711 + SIP call bandwidth ........................... 64 + SIP call bandwith sample-size ................ 20 +Video AC: + Video AC - Admission control (ACM)............ Disabled + Video max RF bandwidth........................ 0 + Video reserved roaming bandwidth.............. 0 + Video load-based CAC mode..................... Disabled + Video CAC Method ............................. Static + CAC SIP-Video Configuration + SIP based CAC ................................ Disabled + Best-effort AC - Admission control (ACM)...... Disabled + Background AC - Admission control (ACM)....... Disabled +Maximum Number of Clients per AP Radio........... 200 diff --git a/tests/test_testcases_exists.py b/tests/test_testcases_exists.py index 436926f7bf..e4201c54d3 100644 --- a/tests/test_testcases_exists.py +++ b/tests/test_testcases_exists.py @@ -25,7 +25,7 @@ def test_verify_parsed_and_reference_data_exists(): index = sorted(load_index_data()) for row in index: template = row[0].strip() - template_short = template.split('.')[0] + template_short = template.split('.template')[0] platform = row[2].strip() for directory in os.listdir("tests"): if re.match(platform, directory): From af017e19c4ed54717e0a6a572693bca455d1df56 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Fri, 25 Oct 2019 20:54:43 +0000 Subject: [PATCH 315/628] BugFix: WLC 80211 - Add missing EoL to matching empty lines (#508) --- .../cisco_wlc_ssh_show_802.11ab.template | 69 +++++++++++++++---- 1 file changed, 55 insertions(+), 14 deletions(-) diff --git a/templates/cisco_wlc_ssh_show_802.11ab.template b/templates/cisco_wlc_ssh_show_802.11ab.template index e2ecbfc979..6bf9d9b50f 100644 --- a/templates/cisco_wlc_ssh_show_802.11ab.template +++ b/templates/cisco_wlc_ssh_show_802.11ab.template @@ -29,22 +29,33 @@ Start ^RSSI\sLow\sCheck\.*\s${RSSI_LOW_CHECK}s*$$ ^RSSI\sThreshold\.*\s${RSSI_THRES}s*$$ ^EDCA\sprofile\stype\.*\s${EDCA}s*$$ - ^\s+Voice\sAC\s-\sAdmission\scontrol\s\(ACM\)\.*\s${VOICE_AMC}s*$$ - ^\s+Voice\sCAC\sMethod.*\s${VOICE_CAC_METHOD}s*$$ - ^\s+Voice\smax\sRF\sbandwidth\.*\s${VOICE_MAX_BANDWIDTH}s*$$ - ^\s+Voice\sreserved\sroaming\sbandwidth\.*\s${VOICE_ROAMING_BANDWIDTH}s*$$ - ^\s+Video\sAC\s-\sAdmission\scontrol\s\(ACM\)\.*\s${VIDEO_AMC}s*$$ - ^\s+Video\sCAC\sMethod\s\.*\s${VIDEO_CAC_METHOD}s*$$ - ^\s+Video\smax\sRF\sbandwidth\.*\s${VIDEO_MAX_BANDWIDTH}s*$$ - ^\s+Video\sreserved\sroaming\sbandwidth\.*\s${VIDEO_ROAMING_BANDWIDTH}s*$$ + ^Voice\s+AC:\s*$$ -> Voice + ^Video\s+AC:\s*$$ -> Video + ^802\.11n\s+Status:\s*$$ -> 80211n ^Maximum\sNumber\sof\sClients\sper\sAP(\sRadio)?\.*\s${MAX_CLIENT}s*$$ - ^\s* + ^CF\s+Poll + ^CFP\s+[Period|Maximum] + ^Default\s+Channel + ^Default\s+Tx\s+Power\s+Level + ^DTPC\s+Status + ^Fragmentation\s+Threshold + ^RSSI\s+ + ^TI\s+Threshold + ^Legacy\s+Tx\s+Beamforming setting + ^Traffic\s+Stream\s+Metrics Status + ^Expedited\s+BW\s+Request + ^World\s+Mode + ^dfs-peakdetect + ^Voice\s+MAC\s+optimization + ^Call\s+Admission\s+Control + ^\s*$$ ^. -> Error Spec_support ^11${SPECS}Support\.*\s${SPECS_VALUE}s*$$ ^802.11(a|b|b\/g)\sOperational\sRates -> Data_Rates - ^\s* + ^\s*802.11\S\s+(?:Low|Mid|High)\s+Band + ^\s*$$ ^. -> Error Data_Rates @@ -56,12 +67,42 @@ Data_Rates MCS_Rates ^\s+MCS\s${MCS_RATE}\.*\s+${MCS_RATE_VALUE}s*$$ ^802.11ac\s+MCS\s+Settings: -> AC_MCS_Rates - ^802.11n Status: -> Start - ^\s* + ^802.11n Status: -> 80211n + ^\s*$$ ^. -> Error AC_MCS_Rates ^\s+${SS_MCS_RATE}\s+\.*\s${SS_MCS_RATE_VALUE}s*$$ - ^802.11n\s+Status: -> Start - ^\s* + ^802.11n\s+Status:\s*$$ -> 80211n + ^\s*$$ ^. -> Error + +80211n + ^\s+A-M[P|S]DU\s+Tx + ^\s+Priority\s+\d+ + ^\s+Aggregation\s+scheduler + ^\s+Frame\s+Burst + ^\s+Realtime\s+Timeout + ^\s+Non\s+Realtime\s+Timeout + ^Beacon\sInterval\.*\s${BEACON_INTERVAL}s*$$ -> Start + ^EDCA\sprofile\stype\.*\s${EDCA}s*$$ + ^Maximum\sNumber\sof\sClients\sper\sAP(\sRadio)?\.*\s${MAX_CLIENT}s*$$ + ^\S -> Start + +Voice + ^\s+Voice\sAC\s-\sAdmission\scontrol\s\(ACM\)\.*\s${VOICE_AMC}s*$$ + ^\s+Voice\sCAC\sMethod.*\s${VOICE_CAC_METHOD}s*$$ + ^\s+Voice\smax\sRF\sbandwidth\.*\s${VOICE_MAX_BANDWIDTH}s*$$ + ^\s+Voice\sreserved\sroaming\sbandwidth\.*\s${VOICE_ROAMING_BANDWIDTH}s*$$ + ^Video\s+AC:\s*$$ -> Video + ^Maximum\sNumber\sof\sClients\sper\sAP(\sRadio)?\.*\s${MAX_CLIENT}s*$$ + ^\S -> Start + +Video + ^\s+Video\sAC\s-\sAdmission\scontrol\s\(ACM\)\.*\s${VIDEO_AMC}s*$$ + ^\s+Video\sCAC\sMethod\s\.*\s${VIDEO_CAC_METHOD}s*$$ + ^\s+Video\smax\sRF\sbandwidth\.*\s${VIDEO_MAX_BANDWIDTH}s*$$ + ^\s+Video\sreserved\sroaming\sbandwidth\.*\s${VIDEO_ROAMING_BANDWIDTH}s*$$ + ^Voice\s+AC:\s*$$ -> Voice + ^Maximum\sNumber\sof\sClients\sper\sAP(\sRadio)?\.*\s${MAX_CLIENT}s*$$ + ^\S -> Start From f1a566fec0f81fe7ef36f91c81bcab38cf52198b Mon Sep 17 00:00:00 2001 From: targuan Date: Sun, 27 Oct 2019 22:32:42 +0100 Subject: [PATCH 316/628] new_template: arista_eos_show_ip_helper-address --- .../arista_eos_show_ip_helper-address.template | 12 ++++++++++++ templates/index | 3 ++- .../arista_eos_show_ip_helper.parsed | 13 +++++++++++++ .../arista_eos_show_ip_helper.raw | 15 +++++++++++++++ 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 templates/arista_eos_show_ip_helper-address.template create mode 100644 tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.parsed create mode 100644 tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.raw diff --git a/templates/arista_eos_show_ip_helper-address.template b/templates/arista_eos_show_ip_helper-address.template new file mode 100644 index 0000000000..cd52b8a23a --- /dev/null +++ b/templates/arista_eos_show_ip_helper-address.template @@ -0,0 +1,12 @@ +Value Required INTERFACE (\S+) +Value List IP_HELPER (\d+\.\d+\.\d+\.\d+|\S+) + +Start + ^DHCP + ^Interface -> Continue.Record + ^Interface:\s+${INTERFACE}$$ + ^\s+DHCP\s+Smart + ^\s+DHCP\s+servers:\s+${IP_HELPER}$$ + ^\s+${IP_HELPER}$$ + ^$$ + ^. -> Error diff --git a/templates/index b/templates/index index 7ed68f2cc6..e1531091a1 100644 --- a/templates/index +++ b/templates/index @@ -27,6 +27,7 @@ arista_eos_show_lldp_neighbors_detail.template, .*, arista_eos, sh[[ow]] ll[[dp] arista_eos_show_environment_cooling.template, .*, arista_eos, sh[[ow]] en[[vironment]] c[[ooling]] arista_eos_show_ip_interface_brief.template, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] arista_eos_show_interfaces_status.template, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] +arista_eos_show_ip_helper-address.template, .*, arista_eos, sh[[ow]] ip he[[lper-address]] arista_eos_show_mac_address-table.template, .*, arista_eos, sh[[ow]] m[[ac]] ad[[dress-table]] arista_eos_show_ip_ospf_database.template, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] data[[base]] arista_eos_show_ip_ospf_neighbor.template, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] nei[[ghbor]] @@ -336,4 +337,4 @@ vmware_nsxv_show_ip_route.template, .*, vmware_nsxv, sh[[ow]] ip r[[oute]] vyatta_vyos_show_interfaces.template, .*, .*vyos.*, sh[[ow]] int[[erfaces]] vyatta_vyos_show_arp.template, .*, .*vyos.*, sh[[ow]] a[[rp]] -watchguard_firebox_show_arp.template, .*, watchguard_firebox, sh[[ow]] arp \ No newline at end of file +watchguard_firebox_show_arp.template, .*, watchguard_firebox, sh[[ow]] arp diff --git a/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.parsed b/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.parsed new file mode 100644 index 0000000000..8b2ba20af7 --- /dev/null +++ b/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.parsed @@ -0,0 +1,13 @@ +--- +parsed_sample: +- interface: Vlan1 + ip_helper: + - 10.1.0.0 + - 10.1.0.1 + - 10.1.0.2 + - 10.1.0.3 + - server.domain +- interface: Vlan2 + ip_helper: + - 10.1.0.4 + - server.domain diff --git a/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.raw b/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.raw new file mode 100644 index 0000000000..5dc24a0736 --- /dev/null +++ b/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.raw @@ -0,0 +1,15 @@ +DHCP Relay is active +DHCP Relay Option 82 is disabled +DHCPv6 Relay Link-layer Address Option (79) is disabled +DHCP Smart Relay is disabled +Interface: Vlan1 + DHCP Smart Relay is disabled + DHCP servers: 10.1.0.0 + 10.1.0.1 + 10.1.0.2 + 10.1.0.3 + server.domain +Interface: Vlan2 + DHCP Smart Relay is disabled + DHCP servers: 10.1.0.4 + server.domain From cf27e30e47d5d592aea48d3373f7bbdfbfd11200 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Sun, 27 Oct 2019 22:37:55 +0000 Subject: [PATCH 317/628] New Template: WLC - show 802.11 cleanair config (#510) --- ...te => cisco_wlc_ssh_show_802.11a.template} | 0 ..._ssh_show_802.11a_cleanair_config.template | 129 ++++++++++++++++++ templates/index | 3 +- .../cisco_wlc_ssh_show_802_11ab.parsed | 0 .../cisco_wlc_ssh_show_802_11ab.raw | 0 ...c_ssh_show_802.11ab_cleanair_config.parsed | 54 ++++++++ ..._wlc_ssh_show_802.11ab_cleanair_config.raw | 44 ++++++ ...ssh_show_802.11ab_cleanair_config_2.parsed | 54 ++++++++ ...lc_ssh_show_802.11ab_cleanair_config_2.raw | 58 ++++++++ 9 files changed, 341 insertions(+), 1 deletion(-) rename templates/{cisco_wlc_ssh_show_802.11ab.template => cisco_wlc_ssh_show_802.11a.template} (100%) create mode 100644 templates/cisco_wlc_ssh_show_802.11a_cleanair_config.template rename tests/cisco_wlc_ssh/{show_802.11ab => show_802.11a}/cisco_wlc_ssh_show_802_11ab.parsed (100%) rename tests/cisco_wlc_ssh/{show_802.11ab => show_802.11a}/cisco_wlc_ssh_show_802_11ab.raw (100%) create mode 100644 tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.parsed create mode 100644 tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.raw create mode 100644 tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.parsed create mode 100644 tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.raw diff --git a/templates/cisco_wlc_ssh_show_802.11ab.template b/templates/cisco_wlc_ssh_show_802.11a.template similarity index 100% rename from templates/cisco_wlc_ssh_show_802.11ab.template rename to templates/cisco_wlc_ssh_show_802.11a.template diff --git a/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.template b/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.template new file mode 100644 index 0000000000..af0cd2d6c5 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.template @@ -0,0 +1,129 @@ +Value CLEANAIR (.+?) +Value AIR_QUALITY_REPORT (\w+) +Value AIR_QUALITY_PERIOD (\d+) +Value AIR_QUALITY_ALARM (.+?) +Value AQ_ALARM_THRESH (\d+) +Value AQ_UNCLASSIFIED_INTER (.+?) +Value AQ_UNCLASSIFIED_THRESH (\d+) +Value INTERFERE_DEVICE_REPORT (\w+) +Value BLUETOOTH_LINK (\w+) +Value MICROWAVE (\w+) +Value DOT11_FH (\w+) +Value BLUETOOTH_DISCOVERY (\w+) +Value TDD_TRANSMIT (\w+) +Value JAMMER (\w+) +Value CONTINUOUS_TRANSMIT (\w+) +Value DECT_LIKE_PHONE (\w+) +Value VIDEO_CAMERA (\w+) +Value DOT15_4 (\w+) +Value WIFI_INVERTED (\w+) +Value WIFI_INVALID_CHANNEL (\w+) +Value SUPERAG (\w+) +Value CANOPY (\w+) +Value MICROSOFT_DEVICE (\w+) +Value WIMAX_MOBILE (\w+) +Value WIMAX_FIXED (\w+) +Value BLE_BEACON (\w+) +Value INT_DEVICE_ALARM (\w+) +Value BLUETOOTH_LINK_ALARM (\w+) +Value MICROWAVE_ALARM (\w+) +Value DOT11_FH_ALARM (\w+) +Value BLUETOOTH_DISCOVERY_ALARM (\w+) +Value TDD_TRANSMIT_ALARM (\w+) +Value JAMMER_ALARM (\w+) +Value CONTINUOUS_TRANSMIT_ALARM (\w+) +Value DECT_LIKE_PHONE_ALARM (\w+) +Value VIDEO_CAMERA_ALARM (\w+) +Value DOT15_4_ALARM (\w+) +Value WIFI_INVERTED_ALARM (\w+) +Value WIFI_INVALID_CHANNEL_ALARM (\w+) +Value SUPERAG_ALARM (\w+) +Value CANOPY_ALARM (\w+) +Value MICROSOFT_DEVICE_ALARM (\w+) +Value WIMAX_MOBILE_ALARM (\w+) +Value WIMAX_FIXED_ALARM (\w+) +Value BLE_BEACON_ALARM (\w+) +Value ED_RRM_STATE (\w+) +Value ED_RRM_SENSITIVITY (\w+) +Value ED_RRM_THRESH (\d+) +Value ROGUE_CONTRIBUTION (\w+) +Value ROGUE_DUTY_CYCLE_THRESH (\d+) +Value PERSISTANT_DEVICE_STATE (\w+) +Value PERSISTANT_DEVICE_PROPAGATION (\w+) + + +Start + ^Clean\s+Air\s+Solution\.*\s${CLEANAIR}s*$$ + ^Air\s+Quality\s+Settings\: -> AirQuality + ^\s+CleanAir\s+ED-RRM\s+State\.*\s${ED_RRM_STATE}s*$$ + ^\s+CleanAir\s+ED-RRM\s+Sensitivity\.*\s${ED_RRM_SENSITIVITY}s*$$ + ^\s+CleanAir\s+ED-RRM\s+Custom\s+Threshold\.*\s${ED_RRM_THRESH}s*$$ + ^\s+CleanAir\s+Rogue\s+Contribution\.*\s${ROGUE_CONTRIBUTION}s*$$ + ^\s+CleanAir\s+Rogue\s+Duty-Cycle\s+Threshold\.*\s${ROGUE_DUTY_CYCLE_THRESH}s*$$ + ^\s+CleanAir\s+Persistent\s+Devices\s+state\.*\s${PERSISTANT_DEVICE_STATE}s*$$ + ^\s+CleanAir\s+Persistent\s+Device\s+Propagation\.*\s${PERSISTANT_DEVICE_PROPAGATION}s*$$ + ^\s*$$ + ^. -> Error + + +AirQuality + ^\s+Air\s+Quality\s+Reporting\.*\s${AIR_QUALITY_REPORT}s*$$ + ^\s+Air\s+Quality\s+Reporting\s+Period\s+\(min\)\.*\s${AIR_QUALITY_PERIOD}s*$$ + ^\s+Air\s+Quality\s+Alarms\.*\s${AIR_QUALITY_ALARM}s*$$ + ^\s+Air\s+Quality\s+Alarm\s+Threshold\.*\s${AQ_ALARM_THRESH}s*$$ + ^\s+Unclassified\s+Interference\.*\s${AQ_UNCLASSIFIED_INTER}s*$$ + ^\s+Unclassified\s+Severity\s+Threshold\.*\s${AQ_UNCLASSIFIED_THRESH}s*$$ + ^Interference\s+Device\s+Settings\: -> Interference + ^\s*$$ + ^. -> Error + +Interference + ^\s+Interference\s+Device\s+Reporting\.*\s${INTERFERE_DEVICE_REPORT}S*$$ + ^\s+Interference\s+Device\s+Types\: -> Device_type + ^\s*$$ + ^. -> Error + +Device_type + ^\s+Bluetooth\s+Link\.*\s${BLUETOOTH_LINK} + ^\s+Microwave\s+Oven\.*\s${MICROWAVE}s*$$ + ^\s+802.11\s+FH\.*\s${DOT11_FH}s*$$ + ^\s+Bluetooth\s+Discovery\.*\s${BLUETOOTH_DISCOVERY}s*$$ + ^\s+TDD\s+Transmitter\.*\s${TDD_TRANSMIT}s*$$ + ^\s+Jammer\.*\s${JAMMER}s*$$ + ^\s+Continuous\s+Transmitter\.*\s${CONTINUOUS_TRANSMIT}s*$$ + ^\s+DECT-like\s+Phone\.*\s${DECT_LIKE_PHONE}s*$$ + ^\s+Video\s+Camera\.*\s${VIDEO_CAMERA}s*$$ + ^\s+802.15.4\.*\s${DOT15_4}s*$$ + ^\s+WiFi\s+Inverted\.*\s${WIFI_INVERTED}s*$$ + ^\s+WiFi\s+Invalid\s+Channel\.*\s${WIFI_INVALID_CHANNEL}s*$$ + ^\s+SuperAG\.*\s${SUPERAG}s*$$ + ^\s+Canopy\.*\s${CANOPY}s*$$ + ^\s+Microsoft\s+Device\.*\s${MICROSOFT_DEVICE}s*$$ + ^\s+WiMax\s+Mobile\.*\s${WIMAX_MOBILE}s*$$ + ^\s+WiMax\s+Fixed\.*\s${WIMAX_FIXED}s*$$ + ^\s+BLE\s+Beacon\.*\s${BLE_BEACON}s*$$ + ^\s+Interference\s+Device\s+Alarms\.*\s${INT_DEVICE_ALARM}s*$$ + ^\s+Interference\s+Device\s+Types\s+Triggering\s+Alarms\: -> Device_alarms + ^\s*$$ + ^. -> Error + +Device_alarms + ^\s+Bluetooth\s+Link\.*\s${BLUETOOTH_LINK_ALARM}s*$$ + ^\s+Microwave\s+Oven\.*\s${MICROWAVE_ALARM}s*$$ + ^\s+802.11\s+FH\.*\s${DOT11_FH_ALARM}s*$$ + ^\s+Bluetooth\s+Discovery\.*\s${BLUETOOTH_DISCOVERY_ALARM}s*$$ + ^\s+TDD\s+Transmitter\.*\s${TDD_TRANSMIT_ALARM}s*$$ + ^\s+Jammer\.*\s${JAMMER_ALARM}s*$$ + ^\s+Continuous\s+Transmitter\.*\s${CONTINUOUS_TRANSMIT_ALARM}s*$$ + ^\s+DECT-like\s+Phone\.*\s${DECT_LIKE_PHONE_ALARM}s*$$ + ^\s+Video\s+Camera\.*\s${VIDEO_CAMERA_ALARM}s*$$ + ^\s+802.15.4\.*\s${DOT15_4_ALARM}s*$$ + ^\s+WiFi\s+Inverted\.*\s${WIFI_INVERTED_ALARM}s*$$ + ^\s+WiFi\s+Invalid\s+Channel\.*\s${WIFI_INVALID_CHANNEL_ALARM}s*$$ + ^\s+SuperAG\.*\s${SUPERAG_ALARM}s*$$ + ^\s+Canopy\.*\s${CANOPY_ALARM}s*$$ + ^\s+Microsoft\s+Device\.*\s${MICROSOFT_DEVICE_ALARM}s*$$ + ^\s+WiMax\s+Mobile\.*\s${WIMAX_MOBILE_ALARM}s*$$ + ^\s+WiMax\s+Fixed\.*\s${WIMAX_FIXED_ALARM}s*$$ + ^\s+BLE\s+Beacon\.*\s${BLE_BEACON_ALARM}s*$$ + ^Additional\s+Clean\s+Air\s+Settings\: -> Start \ No newline at end of file diff --git a/templates/index b/templates/index index e1531091a1..398fd914b4 100644 --- a/templates/index +++ b/templates/index @@ -239,12 +239,13 @@ cisco_nxos_show_fex.template, .*, cisco_nxos, sh[[ow]] fex cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf +cisco_wlc_ssh_show_802.11a_cleanair_config.template, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[a|b] cl[[eanair]] c[[onfig]] cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] cisco_wlc_ssh_show_client_detail.template, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.template, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] -cisco_wlc_ssh_show_802.11ab.template, .*, cisco_wlc_ssh, show 802\.11a|b +cisco_wlc_ssh_show_802.11a.template, .*, cisco_wlc_ssh, show 802\.11[a|b] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] diff --git a/tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.parsed b/tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.parsed similarity index 100% rename from tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.parsed rename to tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.parsed diff --git a/tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.raw b/tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.raw similarity index 100% rename from tests/cisco_wlc_ssh/show_802.11ab/cisco_wlc_ssh_show_802_11ab.raw rename to tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.raw diff --git a/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.parsed b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.parsed new file mode 100644 index 0000000000..fef84c26c2 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.parsed @@ -0,0 +1,54 @@ +--- +parsed_sample: +- air_quality_alarm: Enabled + air_quality_period: '15' + air_quality_report: Enabled + aq_alarm_thresh: '35' + aq_unclassified_inter: Disabled + aq_unclassified_thresh: '20' + ble_beacon: '' + ble_beacon_alarm: '' + bluetooth_discovery: '' + bluetooth_discovery_alarm: '' + bluetooth_link: '' + bluetooth_link_alarm: '' + canopy: Enabled + canopy_alarm: Disabled + cleanair: Disabled + continuous_transmit: Enabled + continuous_transmit_alarm: Disabled + dect_like_phone: Enabled + dect_like_phone_alarm: Disabled + dot11_fh: '' + dot11_fh_alarm: '' + dot15_4: '' + dot15_4_alarm: '' + ed_rrm_sensitivity: Medium + ed_rrm_state: Disabled + ed_rrm_thresh: '50' + int_device_alarm: Enabled + interfere_device_report: Enabled + jammer: Enabled + jammer_alarm: Enabled + microsoft_device: '' + microsoft_device_alarm: '' + microwave: '' + microwave_alarm: '' + persistant_device_propagation: Disabled + persistant_device_state: Disabled + rogue_contribution: Disabled + rogue_duty_cycle_thresh: '80' + superag: Enabled + superag_alarm: Disabled + tdd_transmit: Enabled + tdd_transmit_alarm: Disabled + video_camera: Enabled + video_camera_alarm: Disabled + wifi_invalid_channel: Enabled + wifi_invalid_channel_alarm: Enabled + wifi_inverted: Enabled + wifi_inverted_alarm: Enabled + wimax_fixed: Enabled + wimax_fixed_alarm: Disabled + wimax_mobile: Enabled + wimax_mobile_alarm: Disabled diff --git a/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.raw b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.raw new file mode 100644 index 0000000000..f52eab32f7 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.raw @@ -0,0 +1,44 @@ + +Clean Air Solution............................... Disabled +Air Quality Settings: + Air Quality Reporting........................ Enabled + Air Quality Reporting Period (min)........... 15 + Air Quality Alarms........................... Enabled + Air Quality Alarm Threshold................ 35 + Unclassified Interference.................. Disabled + Unclassified Severity Threshold............ 20 +Interference Device Settings: + Interference Device Reporting................ Enabled + Interference Device Types: + TDD Transmitter.......................... Enabled + Jammer................................... Enabled + Continuous Transmitter................... Enabled + DECT-like Phone.......................... Enabled + Video Camera............................. Enabled + WiFi Inverted............................ Enabled + WiFi Invalid Channel..................... Enabled + SuperAG.................................. Enabled + Canopy................................... Enabled + WiMax Mobile............................. Enabled + WiMax Fixed.............................. Enabled + Interference Device Alarms................... Enabled + Interference Device Types Triggering Alarms: + TDD Transmitter.......................... Disabled + Jammer................................... Enabled + Continuous Transmitter................... Disabled + DECT-like Phone.......................... Disabled + Video Camera............................. Disabled + WiFi Inverted............................ Enabled + WiFi Invalid Channel..................... Enabled + SuperAG.................................. Disabled + Canopy................................... Disabled + WiMax Mobile............................. Disabled + WiMax Fixed.............................. Disabled +Additional Clean Air Settings: + CleanAir ED-RRM State........................ Disabled + CleanAir ED-RRM Sensitivity.................. Medium + CleanAir ED-RRM Custom Threshold............. 50 + CleanAir Rogue Contribution.................. Disabled + CleanAir Rogue Duty-Cycle Threshold.......... 80 + CleanAir Persistent Devices state............ Disabled + CleanAir Persistent Device Propagation....... Disabled diff --git a/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.parsed b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.parsed new file mode 100644 index 0000000000..428966c049 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.parsed @@ -0,0 +1,54 @@ +--- +parsed_sample: +- air_quality_alarm: Enabled + air_quality_period: '15' + air_quality_report: Enabled + aq_alarm_thresh: '35' + aq_unclassified_inter: Disabled + aq_unclassified_thresh: '20' + ble_beacon: Enabled + ble_beacon_alarm: Disabled + bluetooth_discovery: Enabled + bluetooth_discovery_alarm: Disabled + bluetooth_link: Enabled + bluetooth_link_alarm: Disabled + canopy: Enabled + canopy_alarm: Disabled + cleanair: Disabled + continuous_transmit: Enabled + continuous_transmit_alarm: Disabled + dect_like_phone: Enabled + dect_like_phone_alarm: Disabled + dot11_fh: Enabled + dot11_fh_alarm: Disabled + dot15_4: Enabled + dot15_4_alarm: Disabled + ed_rrm_sensitivity: Medium + ed_rrm_state: Disabled + ed_rrm_thresh: '50' + int_device_alarm: Enabled + interfere_device_report: Enabled + jammer: Enabled + jammer_alarm: Enabled + microsoft_device: Enabled + microsoft_device_alarm: Disabled + microwave: Enabled + microwave_alarm: Disabled + persistant_device_propagation: Disabled + persistant_device_state: Disabled + rogue_contribution: Disabled + rogue_duty_cycle_thresh: '80' + superag: Enabled + superag_alarm: Disabled + tdd_transmit: Enabled + tdd_transmit_alarm: Disabled + video_camera: Enabled + video_camera_alarm: Disabled + wifi_invalid_channel: Enabled + wifi_invalid_channel_alarm: Enabled + wifi_inverted: Enabled + wifi_inverted_alarm: Enabled + wimax_fixed: Enabled + wimax_fixed_alarm: Disabled + wimax_mobile: Enabled + wimax_mobile_alarm: Disabled diff --git a/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.raw b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.raw new file mode 100644 index 0000000000..0d0c9a2553 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.raw @@ -0,0 +1,58 @@ + +Clean Air Solution............................... Disabled +Air Quality Settings: + Air Quality Reporting........................ Enabled + Air Quality Reporting Period (min)........... 15 + Air Quality Alarms........................... Enabled + Air Quality Alarm Threshold................ 35 + Unclassified Interference.................. Disabled + Unclassified Severity Threshold............ 20 +Interference Device Settings: + Interference Device Reporting................ Enabled + Interference Device Types: + Bluetooth Link........................... Enabled + Microwave Oven........................... Enabled + 802.11 FH................................ Enabled + Bluetooth Discovery...................... Enabled + TDD Transmitter.......................... Enabled + Jammer................................... Enabled + Continuous Transmitter................... Enabled + DECT-like Phone.......................... Enabled + Video Camera............................. Enabled + 802.15.4................................. Enabled + WiFi Inverted............................ Enabled + WiFi Invalid Channel..................... Enabled + SuperAG.................................. Enabled + Canopy................................... Enabled + Microsoft Device......................... Enabled + WiMax Mobile............................. Enabled + WiMax Fixed.............................. Enabled + BLE Beacon............................... Enabled + Interference Device Alarms................... Enabled + Interference Device Types Triggering Alarms: + Bluetooth Link........................... Disabled + Microwave Oven........................... Disabled + 802.11 FH................................ Disabled + Bluetooth Discovery...................... Disabled + TDD Transmitter.......................... Disabled + Jammer................................... Enabled + Continuous Transmitter................... Disabled + DECT-like Phone.......................... Disabled + Video Camera............................. Disabled + 802.15.4................................. Disabled + WiFi Inverted............................ Enabled + WiFi Invalid Channel..................... Enabled + SuperAG.................................. Disabled + Canopy................................... Disabled + Microsoft Device......................... Disabled + WiMax Mobile............................. Disabled + WiMax Fixed.............................. Disabled + BLE Beacon............................... Disabled +Additional Clean Air Settings: + CleanAir ED-RRM State........................ Disabled + CleanAir ED-RRM Sensitivity.................. Medium + CleanAir ED-RRM Custom Threshold............. 50 + CleanAir Rogue Contribution.................. Disabled + CleanAir Rogue Duty-Cycle Threshold.......... 80 + CleanAir Persistent Devices state............ Disabled + CleanAir Persistent Device Propagation....... Disabled From e0506846b8366b5addea46ba0b7782449d85b004 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Sun, 27 Oct 2019 23:23:21 +0000 Subject: [PATCH 318/628] New Templates - Huawei VRP - display interface and display temp (#512) --- ...uawei_vrp_display_interface_brief.template | 18 +++ .../huawei_vrp_display_temperature.template | 14 ++ templates/index | 3 + .../huawei_vrp_display_interface_brief.parsed | 129 ++++++++++++++++++ .../huawei_vrp_display_interface_brief.raw | 30 ++++ .../huawei_vrp_display_temperature.parsed | 47 +++++++ .../huawei_vrp_display_temperature.raw | 28 ++++ tests/test_index_order.py | 4 +- 8 files changed, 271 insertions(+), 2 deletions(-) create mode 100644 templates/huawei_vrp_display_interface_brief.template create mode 100644 templates/huawei_vrp_display_temperature.template create mode 100644 tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.parsed create mode 100644 tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.raw create mode 100644 tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.parsed create mode 100644 tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.raw diff --git a/templates/huawei_vrp_display_interface_brief.template b/templates/huawei_vrp_display_interface_brief.template new file mode 100644 index 0000000000..aa298fa834 --- /dev/null +++ b/templates/huawei_vrp_display_interface_brief.template @@ -0,0 +1,18 @@ +Value INTERFACE (\S+) +Value PHY (down|\*down|up|up\(s\)) +Value PROTOCOL (down|\*down|up|up\(s\)) +Value INUTI (\d*\.?\d*%|\-\-) +Value OUTUTI (\d*\.?\d*%|\-\-) +Value INERRORS (\d+) +Value OUTERRORS (\d+) + + +Start + ^\s*${INTERFACE}\s+${PHY}\s+${PROTOCOL}\s+${INUTI}\s+${OUTUTI}\s+${INERRORS}\s+${OUTERRORS} -> Record + ^PHY:\s+Physical + ^(?:\*|\^)down: + ^\(\w+\):\s+\S+ + ^InUti/OutUti: + ^Interface\s+PHY\s+Protocol\s+InUti\s+OutUti\s+inErrors\s+outErrors\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/huawei_vrp_display_temperature.template b/templates/huawei_vrp_display_temperature.template new file mode 100644 index 0000000000..8d7b8ba56c --- /dev/null +++ b/templates/huawei_vrp_display_temperature.template @@ -0,0 +1,14 @@ +Value Filldown SLOTID (\S+) +Value Required PCB (\w+) +Value Required STATUS (\w+) +Value TEMPERATURE (\d+) + +Start + ^${SLOTID}\s+: + ^${PCB}\s+\d+\s+\d+\s+\d+\s+${STATUS}\s+\d+\s+\d+\s+\d+\s+\d+\s+\d+\s+${TEMPERATURE} -> Record + ^\s*Base-Board, + ^PCB\s+I2C\s+Addr\s+Chl\s+Status\s+Minor\s+Major\s+Fatal\s+Adj_speed\s+Temp\s*$$ + ^\s+TMin\s+Tmax\s+\(\S+\)\s*$$ + ^-+ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 398fd914b4..51e14dc6ea 100644 --- a/templates/index +++ b/templates/index @@ -305,6 +305,9 @@ hp_procurve_show_system.template, .*, hp_procurve, sh[[ow]] syst[[em]] hp_procurve_show_vlans.template, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.template, .*, hp_procurve, sh[[ow]] ar[[p]] +huawei_vrp_display_interface_brief.template, .*, huawei_vrp, disp[[lay]] inter[[face]] br[[ief]] +huawei_vrp_display_temperature.template, .*, huawei_vrp, disp[[lay]] tem[[perature]] + juniper_junos_show_chassis_cluster_interfaces.template, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] juniper_junos_show_chassis_cluster_status.template, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] juniper_junos_show_chassis_firmware.template, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] diff --git a/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.parsed b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.parsed new file mode 100644 index 0000000000..94e6fb40b4 --- /dev/null +++ b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.parsed @@ -0,0 +1,129 @@ +--- +parsed_sample: + +- interface: 'Aux0/0/1' + phy: 'down' + protocol: 'down' + inuti: '0%' + oututi: '0%' + inerrors: '0' + outerrors: '0' +- interface: 'Eth-Trunk2' + phy: 'up' + protocol: 'up' + inuti: '0%' + oututi: '0.38%' + inerrors: '0' + outerrors: '0' +- interface: 'GigabitEthernet8/1/16' + phy: 'up' + protocol: 'up' + inuti: '0%' + oututi: '0.04%' + inerrors: '0' + outerrors: '0' +- interface: 'GigabitEthernet8/1/17' + phy: 'up' + protocol: 'up' + inuti: '0%' + oututi: '1.66%' + inerrors: '0' + outerrors: '0' +- interface: 'GigabitEthernet8/1/18' + phy: 'up' + protocol: 'up' + inuti: '0%' + oututi: '0.01%' + inerrors: '0' + outerrors: '0' +- interface: 'GigabitEthernet8/1/19' + phy: 'up' + protocol: 'up' + inuti: '0%' + oututi: '0%' + inerrors: '0' + outerrors: '0' +- interface: 'GigabitEthernet8/1/20' + phy: 'up' + protocol: 'up' + inuti: '0%' + oututi: '0.47%' + inerrors: '0' + outerrors: '0' +- interface: 'Eth-Trunk3' + phy: 'up' + protocol: 'up' + inuti: '0%' + oututi: '0%' + inerrors: '0' + outerrors: '0' +- interface: 'GigabitEthernet8/1/21' + phy: 'up' + protocol: 'up' + inuti: '0%' + oututi: '0%' + inerrors: '0' + outerrors: '0' +- interface: 'GigabitEthernet8/1/22' + phy: 'up' + protocol: 'up' + inuti: '0%' + oututi: '0%' + inerrors: '0' + outerrors: '0' +- interface: 'GigabitEthernet8/1/23' + phy: 'up' + protocol: 'up' + inuti: '0.01%' + oututi: '0.01%' + inerrors: '0' + outerrors: '0' +- interface: 'Eth-Trunk4' + phy: 'up' + protocol: 'down' + inuti: '0.69%' + oututi: '13.57%' + inerrors: '4625' + outerrors: '0' +- interface: 'GigabitEthernet15/1/0(10G)' + phy: 'up' + protocol: 'up' + inuti: '0.69%' + oututi: '14.30%' + inerrors: '0' + outerrors: '0' +- interface: 'GigabitEthernet16/0/1(10G)' + phy: 'up' + protocol: 'up' + inuti: '0.71%' + oututi: '12.84%' + inerrors: '4625' + outerrors: '0' +- interface: 'Eth-Trunk4.10' + phy: 'up' + protocol: 'up' + inuti: '0.69%' + oututi: '13.57%' + inerrors: '0' + outerrors: '0' +- interface: 'Eth-Trunk5' + phy: 'up' + protocol: 'down' + inuti: '0.01%' + oututi: '0%' + inerrors: '0' + outerrors: '0' +- interface: 'GigabitEthernet4/0/4(10G)' + phy: 'up' + protocol: 'up' + inuti: '0.01%' + oututi: '0%' + inerrors: '0' + outerrors: '0' +- interface: 'Eth-Trunk5.100' + phy: 'up' + protocol: 'up' + inuti: '0%' + oututi: '0%' + inerrors: '0' + outerrors: '0' diff --git a/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.raw b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.raw new file mode 100644 index 0000000000..64d0898f5a --- /dev/null +++ b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.raw @@ -0,0 +1,30 @@ +PHY: Physical +*down: administratively down +^down: standby +(l): loopback +(s): spoofing +(E): E-Trunk down +(b): BFD down +(B): Bit-error-detection down +(e): ETHOAM down +(d): Dampening Suppressed +InUti/OutUti: input utility/output utility +Interface PHY Protocol InUti OutUti inErrors outErrors +Aux0/0/1 down down 0% 0% 0 0 +Eth-Trunk2 up up 0% 0.38% 0 0 + GigabitEthernet8/1/16 up up 0% 0.04% 0 0 + GigabitEthernet8/1/17 up up 0% 1.66% 0 0 + GigabitEthernet8/1/18 up up 0% 0.01% 0 0 + GigabitEthernet8/1/19 up up 0% 0% 0 0 + GigabitEthernet8/1/20 up up 0% 0.47% 0 0 +Eth-Trunk3 up up 0% 0% 0 0 + GigabitEthernet8/1/21 up up 0% 0% 0 0 + GigabitEthernet8/1/22 up up 0% 0% 0 0 + GigabitEthernet8/1/23 up up 0.01% 0.01% 0 0 +Eth-Trunk4 up down 0.69% 13.57% 4625 0 + GigabitEthernet15/1/0(10G) up up 0.69% 14.30% 0 0 + GigabitEthernet16/0/1(10G) up up 0.71% 12.84% 4625 0 +Eth-Trunk4.10 up up 0.69% 13.57% 0 0 +Eth-Trunk5 up down 0.01% 0% 0 0 + GigabitEthernet4/0/4(10G) up up 0.01% 0% 0 0 +Eth-Trunk5.100 up up 0% 0% 0 0 diff --git a/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.parsed b/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.parsed new file mode 100644 index 0000000000..7a33495a75 --- /dev/null +++ b/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.parsed @@ -0,0 +1,47 @@ +--- +parsed_sample: + +- slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "38" + +- slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "36" + +- slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "28" + +- slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "55" + +- slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "37" + +- slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "41" + +- slotid: "SlotID2" + pcb: "EFGF" + status: "NORMAL" + temperature: "30" + +- slotid: "SlotID2" + pcb: "EFGF" + status: "NORMAL" + temperature: "36" + +- slotid: "SlotID27" + pcb: "FAN" + status: "NORMAL" + temperature: "25" diff --git a/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.raw b/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.raw new file mode 100644 index 0000000000..9bce0c1f29 --- /dev/null +++ b/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.raw @@ -0,0 +1,28 @@ +SlotID2 : + Base-Board, Unit:C, Slot2 +PCB I2C Addr Chl Status Minor Major Fatal Adj_speed Temp + TMin Tmax (C) +--------------------------------------------------------------- +LPUF41A 0 0 0 NORMAL 68 76 83 55 65 38 +LPUF41A 0 1 0 NORMAL 63 71 78 50 60 36 +LPUF41A 0 2 0 NORMAL 69 77 85 56 66 28 +LPUF41A 7 175 0 NORMAL 89 94 105 76 86 55 +LPUF41A 7 175 1 NORMAL 89 94 105 76 86 37 +LPUF41A 7 175 2 NORMAL 89 94 105 76 86 41 +EFGF 2 73 0 NORMAL 77 83 92 64 74 30 +EFGF 3 73 0 NORMAL 77 83 92 64 74 36 + +SlotID25 : + +SlotID26 : + +SlotID27 : + Base-Board, Unit:C, SlotID27 +PCB I2C Addr Chl Status Minor Major Fatal Adj_speed Temp + TMin Tmax (C) +----------------------------------------------------------------- +FAN 1 0 0 NORMAL 70 80 95 32 45 25 + + + +SlotID31 : No temp sensors. diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 64c62fee95..b3b3156b16 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -61,8 +61,8 @@ def test_index_ordering(): 'brocade_fastiron', 'brocade_netiron', 'brocade_nos', 'brocade_vdx', 'brocade_vyos', 'checkpoint_gaia', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', 'cisco_wlc', 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', - 'hp_comware', 'hp_procurve', 'huawei', 'juniper', 'juniper_junos', 'juniper_screenos', - 'alcatel_sros', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh','ruckus_fastiron', + 'hp_comware', 'hp_procurve', 'huawei_vrp', 'juniper', 'juniper_junos', 'juniper_screenos', + 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh','ruckus_fastiron', 'ubiquiti_edgeswitch', 'vmware_nsxv', 'vyatta_vyos', 'vyos', 'watchguard_firebox', ] From 151c3f1353f4724d7c3a5609f1538b10f682d7e0 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 28 Oct 2019 00:00:14 +0000 Subject: [PATCH 319/628] New Template: WLC - show rf profile-summary (#513) --- ...o_wlc_ssh_show_rf-profile_summary.template | 20 +++++++++++++++++++ templates/index | 5 +++-- ...sco_wlc_ssh_show_rf-profile_summary.parsed | 17 ++++++++++++++++ .../cisco_wlc_ssh_show_rf-profile_summary.raw | 18 +++++++++++++++++ 4 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 templates/cisco_wlc_ssh_show_rf-profile_summary.template create mode 100644 tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.parsed create mode 100644 tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.raw diff --git a/templates/cisco_wlc_ssh_show_rf-profile_summary.template b/templates/cisco_wlc_ssh_show_rf-profile_summary.template new file mode 100644 index 0000000000..347f796905 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_rf-profile_summary.template @@ -0,0 +1,20 @@ +Value PROFILE (\S+) +#Value PROFILE (\S+) +Value BAND (\d\.?4? GHz) +Value DESC ((\S+(.?\S+)+)) +Value N_ONLY (\w+) +Value APPLIED (\w+) + + +Start + ^.+\.+ + ^RF\s+Profile\s+Name\s+Band\s+Description\s+11n-client-only\s+Applied -> Profile + ^\s*$$ + ^. -> Error + +Profile + ^(?:High|Low|Typical)-Client-Density-802.11 + ^${PROFILE}\s+${BAND}\s+${DESC}\s+${N_ONLY}\s+${APPLIED} -> Record + ^-+[\s|-]+$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 51e14dc6ea..cd9fdfddae 100644 --- a/templates/index +++ b/templates/index @@ -239,13 +239,14 @@ cisco_nxos_show_fex.template, .*, cisco_nxos, sh[[ow]] fex cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf -cisco_wlc_ssh_show_802.11a_cleanair_config.template, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[a|b] cl[[eanair]] c[[onfig]] +cisco_wlc_ssh_show_802.11a_cleanair_config.template, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]] cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_wlc_ssh_show_rf-profile_summary.template, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] cisco_wlc_ssh_show_client_detail.template, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.template, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] -cisco_wlc_ssh_show_802.11a.template, .*, cisco_wlc_ssh, show 802\.11[a|b] +cisco_wlc_ssh_show_802.11a.template, .*, cisco_wlc_ssh, show 802\.11[ab] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] diff --git a/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.parsed b/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.parsed new file mode 100644 index 0000000000..0d64a5df5a --- /dev/null +++ b/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.parsed @@ -0,0 +1,17 @@ +--- +parsed_sample: +- applied: 'Yes' + band: 5 GHz + desc: + n_only: disable + profile: VSW_OFFICE +- applied: 'Yes' + band: 5 GHz + desc: + n_only: disable + profile: VSW_OUTDOOR +- applied: 'Yes' + band: 5 GHz + desc: + n_only: disable + profile: VSW_WAREHOUSE diff --git a/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.raw b/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.raw new file mode 100644 index 0000000000..e2334f4821 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.raw @@ -0,0 +1,18 @@ + +Number of RF Profiles............................ 9 + +Out Of Box State................................. Disabled + +Out Of Box Persistence........................... Disabled + +RF Profile Name Band Description 11n-client-only Applied +--------------------------------- ------- ----------------------------------- ------------------ ---------- +High-Client-Density-802.11a 5 GHz disable No +High-Client-Density-802.11bg 2.4 GHz disable No +Low-Client-Density-802.11a 5 GHz disable No +Low-Client-Density-802.11bg 2.4 GHz disable No +Typical-Client-Density-802.11a 5 GHz disable No +Typical-Client-Density-802.11bg 2.4 GHz disable No +VSW_OFFICE 5 GHz disable Yes +VSW_OUTDOOR 5 GHz disable Yes +VSW_WAREHOUSE 5 GHz disable Yes From 2b9c3391bcf5e577e5954866374e00ba0de45d0d Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 28 Oct 2019 00:41:49 +0000 Subject: [PATCH 320/628] New Template - IOS - show process memory sorted (#514) --- ..._ios_show_processes_memory_sorted.template | 20 +++++++++++++++++++ templates/index | 1 + ...co_ios_show_processes_memory_sorted.parsed | 10 ++++++++++ ...cisco_ios_show_processes_memory_sorted.raw | 17 ++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 templates/cisco_ios_show_processes_memory_sorted.template create mode 100644 tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.parsed create mode 100644 tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw diff --git a/templates/cisco_ios_show_processes_memory_sorted.template b/templates/cisco_ios_show_processes_memory_sorted.template new file mode 100644 index 0000000000..95afbc06a8 --- /dev/null +++ b/templates/cisco_ios_show_processes_memory_sorted.template @@ -0,0 +1,20 @@ +Value MEMORY_TOTAL (\d+) +Value MEMORY_USED (\d+) +Value MEMORY_FREE (\d+) +Value List PROCESS_ID (\d+) +Value List PROCESS_ALLOCATED (\d+) +Value List PROCESS_FREED (\d+) +Value List PROCESS_HOLDING (\d+) +Value List PROCESS (.+?) + +Start + ^Processor\s+Pool\s+Total:\s+${MEMORY_TOTAL}\s+Used:\s+${MEMORY_USED}\s+Free:\s+${MEMORY_FREE} + ^\s*lsmpi_io\s+Pool + ^\s*PID\s+TTY\s+Allocated\s+Freed\s+Holding\s+Getbufs\s+Retbufs\s+Process\s*$$ -> Process + ^\s*$$ + ^. -> Error + +Process + ^\s*${PROCESS_ID}\s+\d+\s+${PROCESS_ALLOCATED}\s+${PROCESS_FREED}\s+${PROCESS_HOLDING}\s+\d+\s+\d+\s+${PROCESS}\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index cd9fdfddae..7dd1edd5cc 100644 --- a/templates/index +++ b/templates/index @@ -133,6 +133,7 @@ cisco_ios_show_running-config_partition_route-map.template, .*, cisco_ios, sh[[o cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_authentication_sessions.template, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_ip_ospf_interface_brief.template, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] +cisco_ios_show_processes_memory_sorted.template, .*, cisco_ios, sh[[ow]] pro[[cesses]] mem[[ory]] so[[rted]] cisco_ios_show_interfaces_description.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] cisco_ios_show_ip_device_tracking_all.template, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] cisco_ios_show_environment_power_all.template, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] diff --git a/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.parsed b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.parsed new file mode 100644 index 0000000000..4643251ab1 --- /dev/null +++ b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.parsed @@ -0,0 +1,10 @@ +--- +parsed_sample: + - memory_total: "919638648" + memory_used: "236752096" + memory_free: "682886552" + process_id: ["0", "78", "0", "365", "1", "382", "165", "0", "4", "366", "338", "480", "10"] + process_allocated: ["209299480", "2569666688", "607956496", "3946896", "1583728", "1510464", "2957736", "0", "525856", "381680", "309184", "167752", "4096314696"] + process_freed: ["13474544", "1554280", "428619384", "5680", "3472", "33704", "12304", "0", "23256", "5680", "1640", "448", "4096430632"] + process_holding: ["178205704", "27061536", "6374592", "3983160", "1613672", "1506704", "1112904", "657856", "458696", "417944", "361488", "221248", "215576"] + process: ["*Init*", "IOSD ipc task", "*Dead*", "EEM ED Syslog", "Chunk Manager", "EEM Server", "CWAN OIR Handler", "*MallocLite*", "RF Slave Main Th", "EEM ED Generic", "Crypto IKEv2", "MRIB Process", "Pool Manager"] diff --git a/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw new file mode 100644 index 0000000000..7283b898ad --- /dev/null +++ b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw @@ -0,0 +1,17 @@ +Processor Pool Total: 919638648 Used: 236752096 Free: 682886552 + lsmpi_io Pool Total: 6295128 Used: 6294296 Free: 832 + + PID TTY Allocated Freed Holding Getbufs Retbufs Process + 0 0 209299480 13474544 178205704 0 0 *Init* + 78 0 2569666688 1554280 27061536 0 0 IOSD ipc task + 0 0 607956496 428619384 6374592 17503559 0 *Dead* + 365 0 3946896 5680 3983160 849828 0 EEM ED Syslog + 1 0 1583728 3472 1613672 0 0 Chunk Manager + 382 0 1510464 33704 1506704 0 0 EEM Server + 165 0 2957736 12304 1112904 0 0 CWAN OIR Handler + 0 0 0 0 657856 0 0 *MallocLite* + 4 0 525856 23256 458696 0 0 RF Slave Main Th + 366 0 381680 5680 417944 72316 0 EEM ED Generic + 338 0 309184 1640 361488 0 0 Crypto IKEv2 + 480 0 167752 448 221248 0 0 MRIB Process + 10 0 4096314696 4096430632 215576 3914231834 3914277834 Pool Manager From 303926318c04727173a788c35f922acd7cba7dd3 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 28 Oct 2019 00:54:43 +0000 Subject: [PATCH 321/628] New Template: WLC - show inventory (#515) --- templates/cisco_wlc_ssh_show_inventory.template | 15 +++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_inventory.parsed | 9 +++++++++ .../cisco_wlc_ssh_show_inventory.raw | 5 +++++ 4 files changed, 30 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_inventory.template create mode 100644 tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.parsed create mode 100644 tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.raw diff --git a/templates/cisco_wlc_ssh_show_inventory.template b/templates/cisco_wlc_ssh_show_inventory.template new file mode 100644 index 0000000000..fbd06a06ea --- /dev/null +++ b/templates/cisco_wlc_ssh_show_inventory.template @@ -0,0 +1,15 @@ +Value BIA_MAC ([\da-zA-Z:]{17}) +Value MAX_AP_NUM (\d+) +Value NAME (.*) +Value DESCRIPTION (.*) +Value PID ([\w\-]+) +Value VID (\w+) +Value SN (\w+) + +Start + ^Burned-in\s+MAC\s+Address\.+\s+${BIA_MAC} + ^Maximum\s+number\s+of\s+APs\s+supported\.+\s+${MAX_AP_NUM} + ^NAME:\s+"${NAME}"\s+,\s*DESCR:\s+"${DESCRIPTION}" + ^PID:\s+${PID},\s*VID:\s+${VID},\s*SN:\s+${SN} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 7dd1edd5cc..c34b5b5d57 100644 --- a/templates/index +++ b/templates/index @@ -247,6 +247,7 @@ cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap co cisco_wlc_ssh_show_client_detail.template, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.template, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] +cisco_wlc_ssh_show_inventory.template, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] cisco_wlc_ssh_show_802.11a.template, .*, cisco_wlc_ssh, show 802\.11[ab] cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] diff --git a/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.parsed b/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.parsed new file mode 100644 index 0000000000..b6fdbe7876 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.parsed @@ -0,0 +1,9 @@ +--- +parsed_sample: + - bia_mac: "70:1F:53:12:34:56" + max_ap_num: "150" + name: "Chassis" + description: "Cisco 3500 Series Wireless LAN Controller" + pid: "AIR-CT3504-K9" + vid: "V01" + sn: "ABC1234D567" diff --git a/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.raw b/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.raw new file mode 100644 index 0000000000..477818d456 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.raw @@ -0,0 +1,5 @@ + +Burned-in MAC Address............................ 70:1F:53:12:34:56 +Maximum number of APs supported.................. 150 +NAME: "Chassis" , DESCR: "Cisco 3500 Series Wireless LAN Controller" +PID: AIR-CT3504-K9, VID: V01, SN: ABC1234D567 From 3ed4975660a3ac0d007d000732973a157370e757 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 28 Oct 2019 01:55:14 +0000 Subject: [PATCH 322/628] BugFix: IOS - show ip int - account for serial intfs (#516) --- templates/cisco_ios_show_ip_interface.template | 2 ++ .../cisco_ios_show_ip_interface4.parsed | 10 ++++++++++ .../show_ip_interface/cisco_ios_show_ip_interface4.raw | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/templates/cisco_ios_show_ip_interface.template b/templates/cisco_ios_show_ip_interface.template index d42f52a625..b94d670924 100644 --- a/templates/cisco_ios_show_ip_interface.template +++ b/templates/cisco_ios_show_ip_interface.template @@ -30,6 +30,7 @@ Start ^\s+Multicast ^\s+2[2-5]\d\. ^\s+Address\s+determined + ^\s+Peer ^\s+Directed ^\s+MTU ^\s+Helper @@ -41,6 +42,7 @@ Start ^\s+Split ^\s+ICMP ^\s+IP\s+(?:fast|Flow|CEF|Null|multicast|route|output|access) + ^\s+Downstream ^\s+Associated ^\s+Topology ^\s+Router diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed index 8742bcbe5f..40a5bc5ec8 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed @@ -33,3 +33,13 @@ parsed_sample: outgoing_acl: '' protocol_status: up vrf: '' +- inbound_acl: '' + intf: 'Serial0/0/0:0' + ip_helper: [] + ipaddr: ['172.1.1.110'] + link_status: 'up' + mask: ['30'] + mtu: '' + outgoing_acl: '' + protocol_status: 'up' + vrf: '' diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw index fccf324602..052087cc0a 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.raw @@ -41,3 +41,9 @@ Virtual-Access1 is up, line protocol is up Virtual-Access2 is up, line protocol is up Peer address is 10.1.1.1 Dialer interface is Dialer1 +Serial0/0/0:0 is up, line protocol is up + Internet address is 172.1.1.110/30 + Broadcast address is 255.255.255.255 + Address determined by non-volatile memory + Peer address is 172.1.1.109 + Downstream VPN Routing/Forwarding From 3e766c43a6c89fd650b05a7519ae734bdae58a4c Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 28 Oct 2019 04:07:38 +0000 Subject: [PATCH 323/628] BugFix: EOS - show bgp summ - match RID/AS more precisely (#517) --- templates/arista_eos_show_ip_bgp_summary.template | 2 +- .../arista_eos_show_ip_bgp_summary2.parsed | 12 ++++++------ .../arista_eos_show_ip_bgp_summary2.raw | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/arista_eos_show_ip_bgp_summary.template b/templates/arista_eos_show_ip_bgp_summary.template index 11969d5356..7afcfda96a 100644 --- a/templates/arista_eos_show_ip_bgp_summary.template +++ b/templates/arista_eos_show_ip_bgp_summary.template @@ -12,7 +12,7 @@ Value STATE_PFXRCD (\d+) Value STATE_PFXACC (\d+) Start - ^.*\s+${ROUTER_ID}.*\s+${LOCAL_AS} -> Continue + ^.+\s+${ROUTER_ID},\s+[Ll]ocal\s+[Aa][Ss]\s+[Nn]umber\s+${LOCAL_AS} ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+${STATE_PFXRCD}\s+${STATE_PFXACC} -> Record ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+ -> Record ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD} -> Record diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed index fe79016b68..f1521b26c9 100644 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed @@ -1,7 +1,7 @@ --- parsed_sample: -- router_id : '10.10.128.0' +- router_id : '10.0.65.72' in_queue : '0' out_queue : '0' state_pfxrcd : '' @@ -11,9 +11,9 @@ parsed_sample: msg_rcvd : '0' up_down : '79d05h' bgp_neigh : '10.10.128.0' - local_as : '79' + local_as : '64911' state_pfxacc : '' -- router_id : '10.106.0.153' +- router_id : '10.0.65.72' in_queue : '0' out_queue : '0' state_pfxrcd : '' @@ -23,9 +23,9 @@ parsed_sample: msg_rcvd : '0' up_down : '79d05h' bgp_neigh : '10.106.0.153' - local_as : '79' + local_as : '64911' state_pfxacc : '' -- router_id : '10.106.0.157' +- router_id : '10.0.65.72' in_queue : '0' out_queue : '0' state_pfxrcd : '1' @@ -35,5 +35,5 @@ parsed_sample: msg_rcvd : '114056' up_down : '79d05h' bgp_neigh : '10.106.0.157' - local_as : '1' + local_as : '64911' state_pfxacc : '1' diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.raw b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.raw index f3427cd7e4..517ba2ff44 100644 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.raw +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.raw @@ -4,4 +4,4 @@ Neighbor Status Codes: m - Under maintenance Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc 10.10.128.0 4 65292 0 0 0 0 79d05h Active 10.106.0.153 4 64832 0 0 0 0 79d05h Idle(NoIf) - 10.106.0.157 4 64833 114056 118481 0 0 79d05h Estab 1 1 \ No newline at end of file + 10.106.0.157 4 64833 114056 118481 0 0 79d05h Estab 1 1 From a11bc015a220415202786bc58c6f65690e8ef951 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 28 Oct 2019 04:26:36 +0000 Subject: [PATCH 324/628] New Template - Ciena - software show (#518) --- templates/ciena_6x_software_show.template | 23 +++++++++++++++++++ templates/index | 2 ++ .../ciena_6x_software_show.parsed | 5 ++++ .../software_show/ciena_6x_software_show.raw | 23 +++++++++++++++++++ tests/test_index_order.py | 8 +++---- 5 files changed, 57 insertions(+), 4 deletions(-) create mode 100644 templates/ciena_6x_software_show.template create mode 100644 tests/ciena_6x/software_show/ciena_6x_software_show.parsed create mode 100644 tests/ciena_6x/software_show/ciena_6x_software_show.raw diff --git a/templates/ciena_6x_software_show.template b/templates/ciena_6x_software_show.template new file mode 100644 index 0000000000..ad9247fad4 --- /dev/null +++ b/templates/ciena_6x_software_show.template @@ -0,0 +1,23 @@ +Value VERSION_INSTALLED (\S+) +Value VERSION_RUNNING (\S+) +Value KERNEL (\S+) + +Start + ^\| *Installed Package +\: +${VERSION_INSTALLED} + ^\| *Running Package +\: +${VERSION_RUNNING} + ^\| *Running Kernel +\: +${KERNEL} + ^\+-+ + ^\|\s+ + ^\|\s+Running\s+Package + ^\|\s+Application\s+Build + ^\|\s+Package\s+Build\s+Info + ^\|\s+Running\s+Kernel + ^\|\s+Running\s+MIB\s+Version + ^\|\s+(?:Release|Banks)\s+Status + ^\|\s+(?:Running|Standby) bank + ^\|\s+Bank\s+package\s+version + ^\|\s+Bootloader\s+(?:version|status) + ^\|\s+Bank\s+package\s+version + ^\|\s+Last\s+(?:command|configuration)\s+file + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index c34b5b5d57..fe7be26c5e 100644 --- a/templates/index +++ b/templates/index @@ -102,6 +102,8 @@ checkpoint_gaia_show_dns.template, .*, checkpoint_gaia, show dns checkpoint_gaia_show_lom.template, .*, checkpoint_gaia, show lom checkpoint_gaia_fw_stat.template, .*, checkpoint_gaia, fw stat +ciena_6x_software_show.template, .*, ciena_6x, so[[ftware]] sh[[ow]] + cisco_asa_show_running-config_object_network.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] o[[bject]] n[[etwork]] cisco_asa_show_asp_table_vpn-context_detail.template, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]] cisco_asa_show_running-config_crypto_ikev1.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] ikev1 diff --git a/tests/ciena_6x/software_show/ciena_6x_software_show.parsed b/tests/ciena_6x/software_show/ciena_6x_software_show.parsed new file mode 100644 index 0000000000..07648872f7 --- /dev/null +++ b/tests/ciena_6x/software_show/ciena_6x_software_show.parsed @@ -0,0 +1,5 @@ +--- +parsed_sample: + - kernel: "3.10.54-grsec" + version_installed: "saos-06-18-00-1848" + version_running: "saos-06-18-00-1848" diff --git a/tests/ciena_6x/software_show/ciena_6x_software_show.raw b/tests/ciena_6x/software_show/ciena_6x_software_show.raw new file mode 100644 index 0000000000..c9f81b2689 --- /dev/null +++ b/tests/ciena_6x/software_show/ciena_6x_software_show.raw @@ -0,0 +1,23 @@ ++------------------------------------------------------------------------------+ +| Installed Package : saos-06-18-00-1848 | +| Running Package : saos-06-18-00-1848 | +| Application Build : 17704 | +| Package Build Info : Thu Feb 21 04:19:00 2019 autouser onxvpnjk02 | +| Running Kernel : 3.10.54-grsec | +| Running MIB Version : 04-18-00-0028 | +| Release Status : GA | ++------------------------------------------------------------------------------+ +| Running bank : B | +| Bank package version: saos-06-18-00-1848 | +| Bootloader version : 17704 | +| Bootloader status : valid | +| Bank status : valid (validated 17hr 7min 15sec ago) | +| Standby bank : A | +| Bank package version: saos-06-15-00-0242 | +| Bootloader version : 12760 | +| Bootloader status : valid | +| Bank status : valid (validated 17hr 6min 51sec ago) | ++------------------------------------------------------------------------------+ +| Last command file: unknown | +| Last configuration file: unknown | ++------------------------------------------------------------------------------+ diff --git a/tests/test_index_order.py b/tests/test_index_order.py index b3b3156b16..922d602db3 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -59,10 +59,10 @@ def test_index_ordering(): os_choices = [ 'a10', 'alcatel_aos', 'alcatel_sros', 'arista_eos', 'aruba_os', 'avaya_ers', 'avaya_vsp', 'brocade_fastiron', 'brocade_netiron', 'brocade_nos', 'brocade_vdx', 'brocade_vyos', - 'checkpoint_gaia', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', 'cisco_wlc', - 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', 'fortinet', - 'hp_comware', 'hp_procurve', 'huawei_vrp', 'juniper', 'juniper_junos', 'juniper_screenos', - 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh','ruckus_fastiron', + 'checkpoint_gaia', 'ciena_6x', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', + 'cisco_wlc', 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', + 'fortinet', 'hp_comware', 'hp_procurve', 'huawei_vrp', 'juniper', 'juniper_junos', + 'juniper_screenos', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh','ruckus_fastiron', 'ubiquiti_edgeswitch', 'vmware_nsxv', 'vyatta_vyos', 'vyos', 'watchguard_firebox', ] From 8326835acaf0097d515417e6c0a078deb9717ab8 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 28 Oct 2019 05:32:17 +0000 Subject: [PATCH 325/628] BugFix: XR - show version - account for CRS output (#519) --- templates/cisco_xr_show_version.template | 41 +++++++++++-------- .../show_version/cisco_xr_show_version.parsed | 14 +++---- .../cisco_xr_show_version2.parsed | 14 +++---- .../cisco_xr_show_version_crs.parsed | 7 ++++ .../cisco_xr_show_version_crs.raw | 37 +++++++++++++++++ 5 files changed, 79 insertions(+), 34 deletions(-) create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version_crs.parsed create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version_crs.raw diff --git a/templates/cisco_xr_show_version.template b/templates/cisco_xr_show_version.template index f0af95b44c..4aab8eeb8c 100644 --- a/templates/cisco_xr_show_version.template +++ b/templates/cisco_xr_show_version.template @@ -1,28 +1,37 @@ -Value VERSION (\S+) -Value UPTIME (.+) +Value VERSION (\S[^\[]+) +Value UPTIME (.+?) Value LOCATION (\S+) -Value HARDWARE (\S+) +Value HARDWARE (.+) Value BUILD_HOST (\S+) Start - ^.+UTC - ^Cisco.+Software.+Version.+ - ^Copyright\s\(c\).+ + ^Cisco.+Software.+Version\s+${VERSION} ^Build\s+Information: -> Build_Info - ^[Cc]isco\s${HARDWARE}\s.+ - ^System\suptime\sis\s${UPTIME} -> Record - ^\s+$$ - ^$$ - ^.* -> Error "Line not found" + ^.+uptime\s+is\s+${UPTIME}\s*$$ + ^(?:\s*[Cc]isco\s+)?${HARDWARE}\s\(.*\) processor + ^\S{3}\s+\S{3}\s+\d{1,2}\s+\d+:\d+:\d+ + ^Copyright + ^ROM: + ^[Ss]ystem\s+[Ii]mage + ^\d+\s+processor + ^\d+\s+.*(?:[Ee]th|[Gg]ig[Ee]|[Ss][Oo][Nn][Ee][Tt]|[Ww][Aa][Nn][Pp][Hh][Yy]) + ^\d+\w\s+bytes + ^Boot\s+device + ^Package\s+active + ^hfr-doc -> CRS + ^\s*$$ + ^. -> Error +# A VARIATION OF THE OUTPUT, EX. NCS PLATFORM Build_Info ^\s+Built\sBy.+ ^\s+Built\sOn.+ ^\s+Buil[dt]\sHost\s+:\s+${BUILD_HOST} ^\s+Workspace\s+:\s\S+ - ^\s+Version\s+:\s${VERSION} + ^\s+Version\s+: ^\s+Location\s+:\s${LOCATION} - ^$$ -> Start - ^\s+$$ - ^$$ - ^.* -> Error "Line not found" + ^\s*$$ -> Start + ^.* -> Error + +CRS + ^. diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version.parsed b/tests/cisco_xr/show_version/cisco_xr_show_version.parsed index e721fb31e1..711d10c3ea 100644 --- a/tests/cisco_xr/show_version/cisco_xr_show_version.parsed +++ b/tests/cisco_xr/show_version/cisco_xr_show_version.parsed @@ -1,11 +1,7 @@ --- - parsed_sample: - - -- hardware : 'NCS-5500' - uptime : '4 weeks, 6 days, 1 hour, 42 minutes' - version : '6.1.4' - location : '/opt/cisco/XR/packages/' - build_host : 'iox-lnx-032' - + - version : '6.1.4' + uptime : '4 weeks, 6 days, 1 hour, 42 minutes' + location : '/opt/cisco/XR/packages/' + hardware : 'NCS-5500' + build_host : 'iox-lnx-032' diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version2.parsed b/tests/cisco_xr/show_version/cisco_xr_show_version2.parsed index 2cdb14da42..4f223128a9 100644 --- a/tests/cisco_xr/show_version/cisco_xr_show_version2.parsed +++ b/tests/cisco_xr/show_version/cisco_xr_show_version2.parsed @@ -1,11 +1,7 @@ --- - parsed_sample: - - -- hardware : 'IOS-XRv' - uptime : '1 minute' - version : '6.5.1' - location : '/opt/cisco/XR/packages/' - build_host : 'iox-ucs-019' - + - version : '6.5.1' + uptime : '1 minute' + location : '/opt/cisco/XR/packages/' + hardware : 'IOS-XRv 9000' + build_host : 'iox-ucs-019' diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version_crs.parsed b/tests/cisco_xr/show_version/cisco_xr_show_version_crs.parsed new file mode 100644 index 0000000000..9ff54ee13d --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version_crs.parsed @@ -0,0 +1,7 @@ +--- +parsed_sample: + - version : '4.1.0' + uptime : '1 week, 6 days, 4 hours, 22 minutes' + location : '' + hardware : 'CRS-8/S' + build_host : '' diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version_crs.raw b/tests/cisco_xr/show_version/cisco_xr_show_version_crs.raw new file mode 100644 index 0000000000..0fafc8e341 --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version_crs.raw @@ -0,0 +1,37 @@ +Cisco IOS XR Software, Version 4.1.0[Default] +Copyright (c) 2010 by Cisco Systems, Inc. + + +ROM: System Bootstrap, Version 2.100(20100129:213223) [CRS-1 ROMMON], + + +router uptime is 1 week, 6 days, 4 hours, 22 minutes +System image file is "bootflash:disk0/hfr-os-mbi-4.1.0/mbihfr-rp.vm" + + +cisco CRS-8/S (7457) processor with 4194304K bytes of memory. +7457 processor at 1197Mhz, Revision 1.2 + + +2 Management Ethernet +8 GigabitEthernet +12 SONET/SDH +12 Packet over SONET/SDH +1 WANPHY controller(s) +1 TenGigE +1019k bytes of non-volatile configuration memory. +38079M bytes of hard disk. +3607592k bytes of disk0: (Sector size 512 bytes). +3607592k bytes of disk1: (Sector size 512 bytes). + + +Boot device on node 0/1/SP is bootflash: +Package active on node 0/1/SP: +hfr-doc, V 4.1.0[Default], Cisco Systems, at disk0:hfr-doc-4.1.0 + Built on Thu May 6 17:28:51 DST 2010 + By sjc-lds-364 in /auto/ioxbuild6/production/4.1.0.DT_IMAGE/hfr/workspace for pie + + +iosxr-infra, V 4.1.0[Default], Cisco Systems, at disk0:iosxr-infra-4.1.0 + Built on Thu May 6 15:09:12 DST 2010 + By sjc-lds-364 in /auto/ioxbuild6/production/4.1.0.DT_IMAGE/hfr/workspace for pie From 6d481eac15ca4697481aa831a18916b24f4c422c Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 28 Oct 2019 18:31:59 +0000 Subject: [PATCH 326/628] Enhancement: IOS|EOS - show bgp summ - Account for VRF syntax (#520) --- .../arista_eos_show_ip_bgp_summary.template | 11 +- .../cisco_nxos_show_ip_bgp_summary.template | 22 ++- ...isco_nxos_show_ip_bgp_summary_vrf.template | 11 ++ .../arista_eos_show_ip_bgp_summary.parsed | 51 +++--- .../arista_eos_show_ip_bgp_summary.raw | 2 +- .../arista_eos_show_ip_bgp_summary2.parsed | 3 + .../arista_eos_show_ip_bgp_summary_vrf.parsed | 54 ++++++ .../arista_eos_show_ip_bgp_summary_vrf.raw | 16 ++ .../cisco_nxos_show_ip_bgp_summary.parsed | 171 ++++++++++++++---- .../cisco_nxos_show_ip_bgp_summary.raw | 2 +- .../cisco_nxos_show_ip_bgp_summary_vrf.parsed | 46 +++++ .../cisco_nxos_show_ip_bgp_summary_vrf.raw | 36 ++++ 12 files changed, 355 insertions(+), 70 deletions(-) create mode 100644 templates/cisco_nxos_show_ip_bgp_summary_vrf.template create mode 100644 tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.parsed create mode 100644 tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.raw create mode 100644 tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.parsed create mode 100644 tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.raw diff --git a/templates/arista_eos_show_ip_bgp_summary.template b/templates/arista_eos_show_ip_bgp_summary.template index 7afcfda96a..3e27129841 100644 --- a/templates/arista_eos_show_ip_bgp_summary.template +++ b/templates/arista_eos_show_ip_bgp_summary.template @@ -1,6 +1,7 @@ Value Filldown ROUTER_ID (\d+\.\d+\.\d+\.\d+) Value Filldown LOCAL_AS (\d+) -Value BGP_NEIGH (\d+\.\d+\.\d+\.\d+) +Value Filldown VRF (\S+) +Value Required BGP_NEIGH (\d+\.\d+\.\d+\.\d+) Value NEIGH_AS (\d+) Value MSG_RCVD (\d+) Value MSG_SENT (\d+) @@ -12,9 +13,13 @@ Value STATE_PFXRCD (\d+) Value STATE_PFXACC (\d+) Start + ^BGP.+?VRF\s+${VRF}\s*$$ + ^\s*Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+InQ\s+OutQ\s+Up/Down\s+State/PfxRcd\s*$$ + ^\s*Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+InQ\s+OutQ\s+Up/Down\s+State\s+PfxRcd\s+PfxAcc\s*$$ ^.+\s+${ROUTER_ID},\s+[Ll]ocal\s+[Aa][Ss]\s+[Nn]umber\s+${LOCAL_AS} ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+${STATE_PFXRCD}\s+${STATE_PFXACC} -> Record ^\s+${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE}\s+ -> Record ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD} -> Record - -EOF + ^Neighbor\s+Status\s+Codes: + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_nxos_show_ip_bgp_summary.template b/templates/cisco_nxos_show_ip_bgp_summary.template index f999589b78..e32e9ce4da 100644 --- a/templates/cisco_nxos_show_ip_bgp_summary.template +++ b/templates/cisco_nxos_show_ip_bgp_summary.template @@ -1,6 +1,24 @@ -Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) +Value Filldown ROUTER_ID (\S+) +Value Filldown LOCAL_AS (\d+) +Value Filldown VRF ([A-Za-z0-9\-_]+) +Value Required BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) Value NEIGH_AS (\d+) +Value MSG_RCVD (\d+) +Value MSG_SENT (\d+) +Value IN_QUEUE (\d+) +Value OUT_QUEUE (\d+) +Value UP_DOWN (\S+) Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) Start - ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+\S+?\s+${STATE_PFXRCD}$$ -> Record + ^BGP.+VRF\s+${VRF},? + ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+[Ll]ocal\s+[Aa][Ss]\s+number\s+${LOCAL_AS} + ^Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+TblVer\s+InQ\s+OutQ\s+Up/Down\s+State/PfxRcd\s*$$ + ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + ^BGP\s+table\s+version + ^\d+\s+network\s+entries + ^BGP attribute entries + ^BGP community entries + ^\d+\s+(received|identical) + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_nxos_show_ip_bgp_summary_vrf.template b/templates/cisco_nxos_show_ip_bgp_summary_vrf.template new file mode 100644 index 0000000000..d2bb9ad420 --- /dev/null +++ b/templates/cisco_nxos_show_ip_bgp_summary_vrf.template @@ -0,0 +1,11 @@ +Value Filldown VRF (\S+) +Value Filldown ROUTER_ID (\d+?\.\d+?\.\d+?\.\d+?) +Value Filldown LOCAL_AS (\d+) +Value Required BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) +Value Required NEIGH_AS (\d+) +Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) + +Start + ^BGP summary information for VRF ${VRF}, address family IPv4 Unicast + ^BGP router identifier ${ROUTER_ID}, local AS number ${LOCAL_AS} + ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+\S+?\s+${STATE_PFXRCD}$$ -> Record diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.parsed b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.parsed index 60dd1486f7..23dcfb1332 100644 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.parsed +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.parsed @@ -1,27 +1,28 @@ --- parsed_sample: - -- router_id: '10.26.0.22' - bgp_neigh: '10.17.254.78' - up_down: '02:49:40' - state_pfxacc: '' - state: '' - neigh_as: '65534' - local_as: '65533' - state_pfxrcd: '7' - out_queue: '0' - in_queue: '0' - msg_rcvd: '187' - msg_sent: '191' -- router_id: '10.26.0.22' - bgp_neigh: '10.17.254.2' - up_down: '02:59:41' - state_pfxacc: '' - state: '' - neigh_as: '65533' - local_as: '65533' - state_pfxrcd: '7' - out_queue: '0' - in_queue: '0' - msg_rcvd: '184' - msg_sent: '191' \ No newline at end of file + - router_id: '10.26.0.22' + bgp_neigh: '10.17.254.78' + vrf: '' + up_down: '02:49:40' + state_pfxacc: '' + state: '' + neigh_as: '65534' + local_as: '65533' + state_pfxrcd: '7' + out_queue: '0' + in_queue: '0' + msg_rcvd: '187' + msg_sent: '191' + - router_id: '10.26.0.22' + bgp_neigh: '10.17.254.2' + vrf: '' + up_down: '02:59:41' + state_pfxacc: '' + state: '' + neigh_as: '65533' + local_as: '65533' + state_pfxrcd: '7' + out_queue: '0' + in_queue: '0' + msg_rcvd: '184' + msg_sent: '191' diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.raw b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.raw index ef167852b2..2a11593055 100644 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.raw +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.raw @@ -1,4 +1,4 @@ BGP router identifier 10.26.0.22, local AS number 65533 Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State/PfxRcd 10.17.254.78 4 65534 187 191 0 0 02:49:40 7 -10.17.254.2 4 65533 184 191 0 0 02:59:41 7 \ No newline at end of file +10.17.254.2 4 65533 184 191 0 0 02:59:41 7 diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed index f1521b26c9..8be23472f0 100644 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed @@ -2,6 +2,7 @@ parsed_sample: - router_id : '10.0.65.72' + vrf: 'default' in_queue : '0' out_queue : '0' state_pfxrcd : '' @@ -14,6 +15,7 @@ parsed_sample: local_as : '64911' state_pfxacc : '' - router_id : '10.0.65.72' + vrf: 'default' in_queue : '0' out_queue : '0' state_pfxrcd : '' @@ -26,6 +28,7 @@ parsed_sample: local_as : '64911' state_pfxacc : '' - router_id : '10.0.65.72' + vrf: 'default' in_queue : '0' out_queue : '0' state_pfxrcd : '1' diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.parsed b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.parsed new file mode 100644 index 0000000000..e55556e73e --- /dev/null +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.parsed @@ -0,0 +1,54 @@ +--- +parsed_sample: + - router_id: '192.168.1.1' + local_as: '645001' + vrf: 'RED' + bgp_neigh: '192.168.1.2' + neigh_as: '65002' + msg_rcvd: '1753556' + msg_sent: '1761743' + in_queue: '0' + out_queue: '0' + up_down: '40d23h' + state: 'Estab' + state_pfxrcd: '7' + state_pfxacc: '4' + - router_id: '192.168.2.1' + local_as: '65011' + vrf: 'WHITE' + bgp_neigh: '192.168.2.2' + neigh_as: '65012' + msg_rcvd: '7405942' + msg_sent: '7406081' + in_queue: '0' + out_queue: '0' + up_down: '270d13h' + state: 'Estab' + state_pfxrcd: '7' + state_pfxacc: '5' + - router_id: '192.168.3.1' + local_as: '65021' + vrf: 'BLUE' + bgp_neigh: '192.168.3.2' + neigh_as: '65022' + msg_rcvd: '1171721' + msg_sent: '1171752' + in_queue: '0' + out_queue: '0' + up_down: '67d19h' + state: 'Estab' + state_pfxrcd: '25' + state_pfxacc: '25' + - router_id: '192.168.3.1' + local_as: '65021' + vrf: 'BLUE' + bgp_neigh: '192.168.3.3' + neigh_as: '65023' + msg_rcvd: '97651' + msg_sent: '97643' + in_queue: '0' + out_queue: '0' + up_down: '40d23h' + state: 'Estab' + state_pfxrcd: '18' + state_pfxacc: '18' diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.raw b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.raw new file mode 100644 index 0000000000..9f3bfd02ca --- /dev/null +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.raw @@ -0,0 +1,16 @@ +BGP summary information for VRF RED +Router identifier 192.168.1.1, local AS number 645001 +Neighbor Status Codes: m - Under maintenance + Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc + 192.168.1.2 4 65002 1753556 1761743 0 0 40d23h Estab 7 4 +BGP summary information for VRF WHITE +Router identifier 192.168.2.1, local AS number 65011 +Neighbor Status Codes: m - Under maintenance + Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc + 192.168.2.2 4 65012 7405942 7406081 0 0 270d13h Estab 7 5 +BGP summary information for VRF BLUE +Router identifier 192.168.3.1, local AS number 65021 +Neighbor Status Codes: m - Under maintenance + Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc + 192.168.3.2 4 65022 1171721 1171752 0 0 67d19h Estab 25 25 + 192.168.3.3 4 65023 97651 97643 0 0 40d23h Estab 18 18 diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.parsed b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.parsed index ed71140f67..7cd3f1ffd5 100644 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.parsed +++ b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.parsed @@ -1,39 +1,134 @@ --- -parsed_sample: - -- bgp_neigh: '10.0.0.100' - neigh_as: '64497' - state_pfxrcd: 'Idle' -- bgp_neigh: '192.168.1.3' - neigh_as: '0' - state_pfxrcd: 'Idle' -- bgp_neigh: '10.0.0.1' - neigh_as: '65000' - state_pfxrcd: '558720' -- bgp_neigh: '10.0.0.2' - neigh_as: '65001' - state_pfxrcd: '558720' -- bgp_neigh: '10.0.0.3' - neigh_as: '65002' - state_pfxrcd: '0' -- bgp_neigh: '10.0.0.4' - neigh_as: '65003' - state_pfxrcd: '1351' -- bgp_neigh: '10.0.0.5' - neigh_as: '65004' - state_pfxrcd: '558720' -- bgp_neigh: '10.0.0.6' - neigh_as: '65005' - state_pfxrcd: '558720' -- bgp_neigh: '10.0.0.7' - neigh_as: '65006' - state_pfxrcd: '82' -- bgp_neigh: '10.0.0.8' - neigh_as: '65007' - state_pfxrcd: '82' -- bgp_neigh: '10.0.0.9' - neigh_as: '65008' - state_pfxrcd: '0' -- bgp_neigh: '10.0.0.10' - neigh_as: '65009' - state_pfxrcd: 'Idle (Admin)' \ No newline at end of file +parsed_sample: + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.100" + neigh_as: "64497" + msg_rcvd: "0" + msg_sent: "0" + in_queue: "0" + out_queue: "0" + up_down: "03:20:10" + state_pfxrcd: "Idle" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "192.168.1.3" + neigh_as: "0" + msg_rcvd: "0" + msg_sent: "0" + in_queue: "0" + out_queue: "0" + up_down: "01:51:38" + state_pfxrcd: "Idle" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.1" + neigh_as: "65000" + msg_rcvd: "2746767" + msg_sent: "2396274" + in_queue: "0" + out_queue: "0" + up_down: "3w0d" + state_pfxrcd: "558720" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.2" + neigh_as: "65001" + msg_rcvd: "2855873" + msg_sent: "2409742" + in_queue: "0" + out_queue: "0" + up_down: "3w0d" + state_pfxrcd: "558720" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.3" + neigh_as: "65002" + msg_rcvd: "695143" + msg_sent: "689871" + in_queue: "0" + out_queue: "0" + up_down: "1y10w" + state_pfxrcd: "0" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.4" + neigh_as: "65003" + msg_rcvd: "1030294" + msg_sent: "1220041" + in_queue: "0" + out_queue: "0" + up_down: "1y50w" + state_pfxrcd: "1351" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.5" + neigh_as: "65004" + msg_rcvd: "26552304" + msg_sent: "14931352" + in_queue: "0" + out_queue: "0" + up_down: "19w5d" + state_pfxrcd: "558720" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.6" + neigh_as: "65005" + msg_rcvd: "26532908" + msg_sent: "14931123" + in_queue: "0" + out_queue: "0" + up_down: "19w5d" + state_pfxrcd: "558720" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.7" + neigh_as: "65006" + msg_rcvd: "12245684" + msg_sent: "9181569" + in_queue: "0" + out_queue: "0" + up_down: "1y10w" + state_pfxrcd: "82" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.8" + neigh_as: "65007" + msg_rcvd: "12250936" + msg_sent: "9181571" + in_queue: "0" + out_queue: "0" + up_down: "1y10w" + state_pfxrcd: "82" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.9" + neigh_as: "65008" + msg_rcvd: "222146" + msg_sent: "14368489" + in_queue: "0" + out_queue: "0" + up_down: "22w0d" + state_pfxrcd: "0" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.10" + neigh_as: "65009" + msg_rcvd: "26930508" + msg_sent: "942614" + in_queue: "0" + out_queue: "0" + up_down: "1y10w" + state_pfxrcd: "Idle (Admin)" diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw index 88cd941ec2..94729aad66 100644 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw +++ b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw @@ -16,4 +16,4 @@ Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.0.0.7 4 65006 12245684 9181569 512185203 0 0 1y10w 82 10.0.0.8 4 65007 12250936 9181571 512185203 0 0 1y10w 82 10.0.0.9 4 65008 222146 14368489 512185203 0 0 22w0d 0 -10.0.0.10 4 65009 26930508 942614 512185203 0 0 1y10w Idle (Admin) \ No newline at end of file +10.0.0.10 4 65009 26930508 942614 512185203 0 0 1y10w Idle (Admin) diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.parsed b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.parsed new file mode 100644 index 0000000000..c5f692c530 --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.parsed @@ -0,0 +1,46 @@ +--- +parsed_sample: + - router_id: "192.168.1.1" + local_as: "65001" + vrf: "RED" + bgp_neigh: "192.168.1.2" + neigh_as: "65002" + msg_rcvd: "1143238" + msg_sent: "1065438" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "7" + - router_id: "192.168.2.1" + local_as: "65011" + vrf: "WHITE" + bgp_neigh: "192.168.2.2" + neigh_as: "65012" + msg_rcvd: "1142321" + msg_sent: "1065438" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "7" + - router_id: "192.168.3.1" + local_as: "65021" + vrf: "BLUE" + bgp_neigh: "192.168.3.2" + neigh_as: "65022" + msg_rcvd: "672804" + msg_sent: "639789" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "1" + - router_id: "192.168.3.1" + local_as: "65021" + vrf: "BLUE" + bgp_neigh: "192.168.3.3" + neigh_as: "65023" + msg_rcvd: "672792" + msg_sent: "639791" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "1" diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.raw b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.raw new file mode 100644 index 0000000000..c067c41f07 --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.raw @@ -0,0 +1,36 @@ +BGP summary information for VRF RED, address family IPv4 Unicast +BGP router identifier 192.168.1.1, local AS number 65001 +BGP table version is 110, IPv4 Unicast config peers 1, capable peers 1 +8 network entries and 8 paths using 1152 bytes of memory +BGP attribute entries [6/864], BGP AS path entries [4/64] +BGP community entries [3/124], BGP clusterlist entries [0/0] +7 received paths for inbound soft reconfiguration +7 identical, 0 modified, 0 filtered received paths using 0 bytes + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +192.168.1.2 4 65002 1143238 1065438 110 0 0 10w4d 7 + +BGP summary information for VRF WHITE, address family IPv4 Unicast +BGP router identifier 192.168.2.1, local AS number 65011 +BGP table version is 114, IPv4 Unicast config peers 1, capable peers 1 +8 network entries and 8 paths using 1152 bytes of memory +BGP attribute entries [6/864], BGP AS path entries [4/64] +BGP community entries [3/124], BGP clusterlist entries [0/0] +7 received paths for inbound soft reconfiguration +7 identical, 0 modified, 0 filtered received paths using 0 bytes + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +192.168.2.2 4 65012 1142321 1065438 114 0 0 10w4d 7 + +BGP summary information for VRF BLUE, address family IPv4 Unicast +BGP router identifier 192.168.3.1, local AS number 65021 +BGP table version is 16, IPv4 Unicast config peers 2, capable peers 2 +2 network entries and 3 paths using 368 bytes of memory +BGP attribute entries [4/576], BGP AS path entries [1/22] +BGP community entries [3/124], BGP clusterlist entries [0/0] +2 received paths for inbound soft reconfiguration +0 identical, 2 modified, 0 filtered received paths using 16 bytes + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +192.168.3.2 4 65022 672804 639789 16 0 0 10w4d 1 +192.168.3.3 4 65023 672792 639791 16 0 0 10w4d 1 From ea7ff30ed9c5a4a3472b0cc1754d991e85530721 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Tue, 29 Oct 2019 15:18:06 -0400 Subject: [PATCH 327/628] Enhancement - EOS|NXOS - sh ip route add capturing of VRF (#521) --- templates/arista_eos_show_ip_route.template | 10 +- templates/cisco_nxos_show_ip_route.template | 8 +- .../arista_eos_show_ip_route.parsed | 58 +- .../arista_eos_show_ip_route_vrf.parsed | 344 +++++ .../arista_eos_show_ip_route_vrf.raw | 61 + .../cisco_nxos_show_ip_route.parsed | 1110 ++++++++-------- .../cisco_nxos_show_ip_route_vrf.parsed | 1112 +++++++++++++++++ .../cisco_nxos_show_ip_route_vrf.raw | 134 ++ 8 files changed, 2260 insertions(+), 577 deletions(-) create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.raw create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.raw diff --git a/templates/arista_eos_show_ip_route.template b/templates/arista_eos_show_ip_route.template index 94c45a9c3f..e0d2e3ec43 100644 --- a/templates/arista_eos_show_ip_route.template +++ b/templates/arista_eos_show_ip_route.template @@ -1,3 +1,4 @@ +Value Filldown VRF (\S+) Value Filldown PROTOCOL (\S+\s\S+?|\w?) Value Filldown NETWORK (\d+.\d+.\d+.\d+) Value Filldown MASK (\d+) @@ -8,4 +9,11 @@ Value Required NEXT_HOP (connected|\d+\.\d+\.\d+\.\d+) Value INTERFACE (\S+) Start - ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ -> Next.Record + ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ -> Record + ^VRF:\s+${VRF}\s*$$ + ^Codes: + # Match for codes + ^\s+\S+\s+-\s+\S+ + ^Gateway\s+of\s+last + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_nxos_show_ip_route.template b/templates/cisco_nxos_show_ip_route.template index f640a6499f..2f5f163f01 100644 --- a/templates/cisco_nxos_show_ip_route.template +++ b/templates/cisco_nxos_show_ip_route.template @@ -1,3 +1,4 @@ +Value Filldown VRF (\S+) Value PROTOCOL ([\w-]+) Value TYPE ([\w-]+) Value Filldown NETWORK (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) @@ -14,6 +15,7 @@ Value TUNNELID (0x[a-f\d]+) Value ENCAP (\w+) Start + ^IP\s+Route\s+Table\s+for\s+VRF\s+"${VRF}"\s*$$ # Match the Network/Prefix Line ^\s*${NETWORK}\/${MASK}, ubest/mbest: # @@ -37,5 +39,9 @@ Start # # Match route without a nexthop IP, only nexthop interface (e.g. null routes) ^\s+\*+via ${NEXTHOP_IF}, \[${DISTANCE}\/${METRIC}\], ${UPTIME}, ${PROTOCOL} -> Record + ^'\S+'\s+denotes\s + ^'%' + ^\s*$$ + ^. -> Error -EOF \ No newline at end of file +EOF diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed index bfa9679932..82cc51cf67 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed @@ -1,6 +1,7 @@ --- parsed_sample: -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -8,7 +9,8 @@ parsed_sample: network: 10.1.31.100 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -16,7 +18,8 @@ parsed_sample: network: 10.1.31.101 next_hop: 192.168.17.5 protocol: B E -- direct: directly +- vrf: '' + direct: directly distance: '' interface: Loopback100 mask: '32' @@ -24,7 +27,8 @@ parsed_sample: network: 10.1.31.102 next_hop: connected protocol: C -- direct: directly +- vrf: '' + direct: directly distance: '' interface: Loopback10 mask: '32' @@ -32,7 +36,8 @@ parsed_sample: network: 10.1.31.200 next_hop: connected protocol: C -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -40,7 +45,8 @@ parsed_sample: network: 10.1.31.254 next_hop: 192.168.17.5 protocol: B E -- direct: directly +- vrf: '' + direct: directly distance: '' interface: Ethernet20 mask: '30' @@ -48,7 +54,8 @@ parsed_sample: network: 10.63.255.8 next_hop: connected protocol: C -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '30' @@ -56,7 +63,8 @@ parsed_sample: network: 10.100.22.52 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '30' @@ -64,7 +72,8 @@ parsed_sample: network: 10.100.22.56 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -72,7 +81,8 @@ parsed_sample: network: 10.100.233.11 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -80,7 +90,8 @@ parsed_sample: network: 10.100.233.12 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -88,7 +99,8 @@ parsed_sample: network: 10.100.233.15 next_hop: 192.168.17.5 protocol: B E -- direct: directly +- vrf: '' + direct: directly distance: '' interface: Loopback0 mask: '32' @@ -96,7 +108,8 @@ parsed_sample: network: 10.100.233.32 next_hop: connected protocol: C -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet21 mask: '32' @@ -104,7 +117,8 @@ parsed_sample: network: 10.100.233.34 next_hop: 192.168.38.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -112,7 +126,8 @@ parsed_sample: network: 10.100.233.50 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -120,7 +135,8 @@ parsed_sample: network: 10.100.233.64 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -128,7 +144,8 @@ parsed_sample: network: 10.100.233.66 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -136,7 +153,8 @@ parsed_sample: network: 10.100.233.67 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet18 mask: '32' @@ -144,7 +162,8 @@ parsed_sample: network: 10.100.233.68 next_hop: 192.168.17.5 protocol: B E -- direct: '' +- vrf: '' + direct: '' distance: '200' interface: Ethernet20 mask: '32' @@ -152,4 +171,3 @@ parsed_sample: network: 10.100.233.192 next_hop: 10.63.255.10 protocol: B E - diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed new file mode 100644 index 0000000000..1bbd686ab7 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed @@ -0,0 +1,344 @@ +--- +parsed_sample: + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.100 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.101 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: directly + distance: '' + interface: Loopback100 + mask: '32' + metric: '' + network: 10.1.31.102 + next_hop: connected + protocol: C + vrf: default + - direct: directly + distance: '' + interface: Loopback10 + mask: '32' + metric: '' + network: 10.1.31.200 + next_hop: connected + protocol: C + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.254 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: directly + distance: '' + interface: Ethernet20 + mask: '30' + metric: '' + network: 10.63.255.8 + next_hop: connected + protocol: C + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '30' + metric: '0' + network: 10.100.22.52 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '30' + metric: '0' + network: 10.100.22.56 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.11 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.12 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.15 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: directly + distance: '' + interface: Loopback0 + mask: '32' + metric: '' + network: 10.100.233.32 + next_hop: connected + protocol: C + vrf: default + - direct: '' + distance: '200' + interface: Ethernet21 + mask: '32' + metric: '0' + network: 10.100.233.34 + next_hop: 192.168.38.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.50 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.64 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.66 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.67 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.68 + next_hop: 192.168.17.5 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet20 + mask: '32' + metric: '0' + network: 10.100.233.192 + next_hop: 10.63.255.10 + protocol: B E + vrf: default + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.100 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.101 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: directly + distance: '' + interface: Loopback100 + mask: '32' + metric: '' + network: 10.1.31.102 + next_hop: connected + protocol: C + vrf: RED + - direct: directly + distance: '' + interface: Loopback10 + mask: '32' + metric: '' + network: 10.1.31.200 + next_hop: connected + protocol: C + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.1.31.254 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: directly + distance: '' + interface: Ethernet20 + mask: '30' + metric: '' + network: 10.63.255.8 + next_hop: connected + protocol: C + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '30' + metric: '0' + network: 10.100.22.52 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '30' + metric: '0' + network: 10.100.22.56 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.11 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.12 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.15 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: directly + distance: '' + interface: Loopback0 + mask: '32' + metric: '' + network: 10.100.233.32 + next_hop: connected + protocol: C + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet21 + mask: '32' + metric: '0' + network: 10.100.233.34 + next_hop: 192.168.38.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.50 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.64 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.66 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.67 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet18 + mask: '32' + metric: '0' + network: 10.100.233.68 + next_hop: 192.168.17.5 + protocol: B E + vrf: RED + - direct: '' + distance: '200' + interface: Ethernet20 + mask: '32' + metric: '0' + network: 10.100.233.192 + next_hop: 10.63.255.10 + protocol: B E + vrf: RED diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.raw b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.raw new file mode 100644 index 0000000000..c940344d59 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.raw @@ -0,0 +1,61 @@ +VRF: default +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP, + R - RIP, I - ISIS, A B - BGP Aggregate, A O - OSPF Summary, + NG - Nexthop Group Static Route + +Gateway of last resort is not set + + B E 10.1.31.100/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.1.31.101/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.1.31.102/32 is directly connected, Loopback100 + C 10.1.31.200/32 is directly connected, Loopback10 + B E 10.1.31.254/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.63.255.8/30 is directly connected, Ethernet20 + B E 10.100.22.52/30 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.22.56/30 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.11/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.12/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.15/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.100.233.32/32 is directly connected, Loopback0 + B E 10.100.233.34/32 [200/0] via 192.168.38.5, Ethernet21 + B E 10.100.233.50/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.64/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.66/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.67/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.68/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.192/32 [200/0] via 10.63.255.10, Ethernet20 + + + +VRF: RED +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP, + R - RIP, I - ISIS, A B - BGP Aggregate, A O - OSPF Summary, + NG - Nexthop Group Static Route + +Gateway of last resort is not set + + B E 10.1.31.100/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.1.31.101/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.1.31.102/32 is directly connected, Loopback100 + C 10.1.31.200/32 is directly connected, Loopback10 + B E 10.1.31.254/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.63.255.8/30 is directly connected, Ethernet20 + B E 10.100.22.52/30 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.22.56/30 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.11/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.12/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.15/32 [200/0] via 192.168.17.5, Ethernet18 + C 10.100.233.32/32 is directly connected, Loopback0 + B E 10.100.233.34/32 [200/0] via 192.168.38.5, Ethernet21 + B E 10.100.233.50/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.64/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.66/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.67/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.68/32 [200/0] via 192.168.17.5, Ethernet18 + B E 10.100.233.192/32 [200/0] via 10.63.255.10, Ethernet20 diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed index c127e497d4..8d86e31bc9 100644 --- a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed @@ -1,557 +1,557 @@ --- parsed_sample: - -- distance: '1' - encap: '' - mask: '0' - metric: '0' - network: 0.0.0.0 - nexthop_if: '' - nexthop_ip: 10.1.100.1 - nexthop_vrf: management - protocol: static - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d02h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.1 - nexthop_if: Lo1 - nexthop_ip: 1.1.1.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d00h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.1 - nexthop_if: Lo1 - nexthop_ip: 1.1.1.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d00h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.10 - nexthop_if: Lo10 - nexthop_ip: 1.1.1.10 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1w12h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.10 - nexthop_if: Lo10 - nexthop_ip: 1.1.1.10 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1w12h - -- distance: '110' - encap: '' - mask: '32' - metric: '3' - network: 2.2.2.2 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '32' - metric: '3' - network: 2.2.2.2 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '32' - metric: '4' - network: 3.3.3.3 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '32' - metric: '4' - network: 3.3.3.3 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '32' - metric: '2' - network: 4.4.4.4 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '110' - encap: '' - mask: '32' - metric: '2' - network: 4.4.4.4 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '1' - encap: '' - mask: '32' - metric: '0' - network: 7.7.7.7 - nexthop_if: '' - nexthop_ip: 10.10.50.1 - nexthop_vrf: '' - protocol: static - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1d21h - -- distance: '1' - encap: '' - mask: '32' - metric: '0' - network: 8.8.8.8 - nexthop_if: Vlan1220 - nexthop_ip: 10.66.120.1 - nexthop_vrf: '' - protocol: static - segid: '' - tag: '100' - tunnelid: '' - type: '' - uptime: 00:00:01 - -- distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth1/1 - nexthop_ip: 10.24.1.74 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 4w4d - -- distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth1/3 - nexthop_ip: 10.24.2.76 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 4w4d - -- distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth2/11 - nexthop_ip: 10.24.2.154 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 3w4d - -- distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth1/1 - nexthop_ip: 10.24.1.74 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 4w4d - -- distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth1/3 - nexthop_ip: 10.24.2.76 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 4w4d - -- distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth2/11 - nexthop_ip: 10.24.2.154 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 3w4d - -- distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.10.0 - nexthop_if: Vlan5 - nexthop_ip: 10.10.10.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d18h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.10.1 - nexthop_if: Vlan5 - nexthop_ip: 10.10.10.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d18h - -- distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.30.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.30.1 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - -- distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.40.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - -- distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.40.1 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - -- distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.50.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.50.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.60.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.60.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - -- distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.70.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.70.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.80.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.80.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - -- distance: '220' - encap: '' - mask: '21' - metric: '10' - network: 10.71.0.0 - nexthop_if: Null0 - nexthop_ip: '' - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 2y49w - -- distance: '150' - encap: VXLAN - mask: '16' - metric: '51712' - network: 10.151.0.0 - nexthop_if: '' - nexthop_ip: 172.24.0.240 - nexthop_vrf: default - protocol: bgp-65004 - segid: '10000' - tag: 65004 (evpn) - tunnelid: '0xac1800f0' - type: internal - uptime: 3d17h - -- distance: '110' - encap: '' - mask: '29' - metric: '10' - network: 10.218.139.240 - nexthop_if: Po1 - nexthop_ip: 10.62.2.30 - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '888' - tunnelid: '' - type: type-2 - uptime: '0.000000' - -- distance: '110' - encap: '' - mask: '29' - metric: '10' - network: 10.218.139.240 - nexthop_if: Po1 - nexthop_ip: 10.62.2.34 - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '888' - tunnelid: '' - type: type-2 - uptime: '0.000000' + - vrf: 'default' + distance: '1' + encap: '' + mask: '0' + metric: '0' + network: 0.0.0.0 + nexthop_if: '' + nexthop_ip: 10.1.100.1 + nexthop_vrf: management + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d02h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 7.7.7.7 + nexthop_if: '' + nexthop_ip: 10.10.50.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1d21h + - vrf: 'default' + distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 8.8.8.8 + nexthop_if: Vlan1220 + nexthop_ip: 10.66.120.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '100' + tunnelid: '' + type: '' + uptime: 00:00:01 + - vrf: 'default' + distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + - vrf: 'default' + distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + - vrf: 'default' + distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 3w4d + - vrf: 'default' + distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + - vrf: 'default' + distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + - vrf: 'default' + distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 3w4d + - vrf: 'default' + distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.10.0 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.10.1 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + - vrf: 'default' + distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.30.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.30.1 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + - vrf: 'default' + distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.40.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + - vrf: 'default' + distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.40.1 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + - vrf: 'default' + distance: '220' + encap: '' + mask: '21' + metric: '10' + network: 10.71.0.0 + nexthop_if: Null0 + nexthop_ip: '' + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 2y49w + - vrf: 'default' + distance: '150' + encap: VXLAN + mask: '16' + metric: '51712' + network: 10.151.0.0 + nexthop_if: '' + nexthop_ip: 172.24.0.240 + nexthop_vrf: default + protocol: bgp-65004 + segid: '10000' + tag: 65004 (evpn) + tunnelid: '0xac1800f0' + type: internal + uptime: 3d17h + - vrf: 'default' + distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.30 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' + - vrf: 'default' + distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.34 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed new file mode 100644 index 0000000000..abf32f57cf --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed @@ -0,0 +1,1112 @@ +--- +parsed_sample: + - distance: '1' + encap: '' + mask: '0' + metric: '0' + network: 0.0.0.0 + nexthop_if: '' + nexthop_ip: 10.1.100.1 + nexthop_vrf: management + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d02h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 7.7.7.7 + nexthop_if: '' + nexthop_ip: 10.10.50.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1d21h + vrf: default + - distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 8.8.8.8 + nexthop_if: Vlan1220 + nexthop_ip: 10.66.120.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '100' + tunnelid: '' + type: '' + uptime: 00:00:01 + vrf: default + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + vrf: default + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + vrf: default + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 3w4d + vrf: default + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + vrf: default + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + vrf: default + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 3w4d + vrf: default + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.10.0 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.10.1 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + vrf: default + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.30.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.30.1 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: default + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.40.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: default + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.40.1 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: default + - distance: '220' + encap: '' + mask: '21' + metric: '10' + network: 10.71.0.0 + nexthop_if: Null0 + nexthop_ip: '' + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 2y49w + vrf: default + - distance: '150' + encap: VXLAN + mask: '16' + metric: '51712' + network: 10.151.0.0 + nexthop_if: '' + nexthop_ip: 172.24.0.240 + nexthop_vrf: default + protocol: bgp-65004 + segid: '10000' + tag: 65004 (evpn) + tunnelid: '0xac1800f0' + type: internal + uptime: 3d17h + vrf: default + - distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.30 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' + vrf: default + - distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.34 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' + vrf: default + - distance: '1' + encap: '' + mask: '0' + metric: '0' + network: 0.0.0.0 + nexthop_if: '' + nexthop_ip: 10.1.100.1 + nexthop_vrf: management + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d02h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.1 + nexthop_if: Lo1 + nexthop_ip: 1.1.1.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 6d00h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 1.1.1.10 + nexthop_if: Lo10 + nexthop_ip: 1.1.1.10 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1w12h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '3' + network: 2.2.2.2 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '4' + network: 3.3.3.3 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '110' + encap: '' + mask: '32' + metric: '2' + network: 4.4.4.4 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 7.7.7.7 + nexthop_if: '' + nexthop_ip: 10.10.50.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 1d21h + vrf: RED + - distance: '1' + encap: '' + mask: '32' + metric: '0' + network: 8.8.8.8 + nexthop_if: Vlan1220 + nexthop_ip: 10.66.120.1 + nexthop_vrf: '' + protocol: static + segid: '' + tag: '100' + tunnelid: '' + type: '' + uptime: 00:00:01 + vrf: RED + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + vrf: RED + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 4w4d + vrf: RED + - distance: '170' + encap: '' + mask: '32' + metric: '51712' + network: 10.0.255.1 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '65422' + tunnelid: '' + type: external + uptime: 3w4d + vrf: RED + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/1 + nexthop_ip: 10.24.1.74 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + vrf: RED + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth1/3 + nexthop_ip: 10.24.2.76 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 4w4d + vrf: RED + - distance: '170' + encap: '' + mask: '25' + metric: '3072' + network: 10.1.17.128 + nexthop_if: Eth2/11 + nexthop_ip: 10.24.2.154 + nexthop_vrf: '' + protocol: eigrp-NAMED + segid: '' + tag: '' + tunnelid: '' + type: external + uptime: 3w4d + vrf: RED + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.10.0 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.10.1 + nexthop_if: Vlan5 + nexthop_ip: 10.10.10.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d18h + vrf: RED + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.30.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.30.1 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: RED + - distance: '0' + encap: '' + mask: '24' + metric: '0' + network: 10.10.40.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: direct + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: RED + - distance: '0' + encap: '' + mask: '32' + metric: '0' + network: 10.10.40.1 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.1 + nexthop_vrf: '' + protocol: local + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 5d23h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.50.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '3' + network: 10.10.60.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d18h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.70.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/2 + nexthop_ip: 10.10.30.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '110' + encap: '' + mask: '24' + metric: '2' + network: 10.10.80.0 + nexthop_if: Eth2/4 + nexthop_ip: 10.10.40.2 + nexthop_vrf: '' + protocol: ospf-10 + segid: '' + tag: '' + tunnelid: '' + type: intra + uptime: 5d23h + vrf: RED + - distance: '220' + encap: '' + mask: '21' + metric: '10' + network: 10.71.0.0 + nexthop_if: Null0 + nexthop_ip: '' + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '' + tunnelid: '' + type: '' + uptime: 2y49w + vrf: RED + - distance: '150' + encap: VXLAN + mask: '16' + metric: '51712' + network: 10.151.0.0 + nexthop_if: '' + nexthop_ip: 172.24.0.240 + nexthop_vrf: default + protocol: bgp-65004 + segid: '10000' + tag: 65004 (evpn) + tunnelid: '0xac1800f0' + type: internal + uptime: 3d17h + vrf: RED + - distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.30 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' + vrf: RED + - distance: '110' + encap: '' + mask: '29' + metric: '10' + network: 10.218.139.240 + nexthop_if: Po1 + nexthop_ip: 10.62.2.34 + nexthop_vrf: '' + protocol: ospf-1 + segid: '' + tag: '888' + tunnelid: '' + type: type-2 + uptime: '0.000000' + vrf: RED diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.raw b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.raw new file mode 100644 index 0000000000..74030e33aa --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.raw @@ -0,0 +1,134 @@ +IP Route Table for VRF "default" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +0.0.0.0/0, ubest/mbest: 1/0 + *via 10.1.100.1%management, [1/0], 6d02h, static +1.1.1.1/32, ubest/mbest: 2/0, attached + *via 1.1.1.1, Lo1, [0/0], 6d00h, local + *via 1.1.1.1, Lo1, [0/0], 6d00h, direct +1.1.1.10/32, ubest/mbest: 2/0, attached + *via 1.1.1.10, Lo10, [0/0], 1w12h, local + *via 1.1.1.10, Lo10, [0/0], 1w12h, direct +2.2.2.2/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +3.3.3.3/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/4], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/4], 5d18h, ospf-10, intra +4.4.4.4/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +7.7.7.7/32, ubest/mbest: 1/0 + *via 10.10.50.1, [1/0], 1d21h, static +8.8.8.8/32, ubest/mbest: 1/0, pending + *via 10.66.120.1, Vlan1220, [1/0], 00:00:01, static, tag 100 +10.0.255.1/32, ubest/mbest: 3/0 + *via 10.24.1.74, Eth1/1, [170/51712], 4w4d, eigrp-NAMED, external, tag 65422 + *via 10.24.2.76, Eth1/3, [170/51712], 4w4d, eigrp-NAMED, external, tag 65422 + *via 10.24.2.154, Eth2/11, [170/51712], 3w4d, eigrp-NAMED, external, tag 65422 +10.1.17.128/25, ubest/mbest: 3/0 + *via 10.24.1.74, Eth1/1, [170/3072], 4w4d, eigrp-NAMED, external + *via 10.24.2.76, Eth1/3, [170/3072], 4w4d, eigrp-NAMED, external + *via 10.24.2.154, Eth2/11, [170/3072], 3w4d, eigrp-NAMED, external +10.10.10.0/24, ubest/mbest: 1/0, attached + *via 10.10.10.1, Vlan5, [0/0], 5d18h, direct +10.10.10.1/32, ubest/mbest: 1/0, attached + *via 10.10.10.1, Vlan5, [0/0], 5d18h, local +10.10.30.0/24, ubest/mbest: 1/0, attached + *via 10.10.30.1, Eth2/2, [0/0], 5d23h, direct +10.10.30.1/32, ubest/mbest: 1/0, attached + *via 10.10.30.1, Eth2/2, [0/0], 5d23h, local +10.10.40.0/24, ubest/mbest: 1/0, attached + *via 10.10.40.1, Eth2/4, [0/0], 5d23h, direct +10.10.40.1/32, ubest/mbest: 1/0, attached + *via 10.10.40.1, Eth2/4, [0/0], 5d23h, local +10.10.50.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +10.10.60.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +10.10.70.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +10.10.80.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +10.71.0.0/21, ubest/mbest: 1/0 + *via Null0, [220/10], 2y49w, ospf-1, discard +10.151.0.0/16, ubest/mbest: 1/0 + *via 172.24.0.240%default, [150/51712], 3d17h, bgp-65004, internal, tag 65004 (evpn) segid: 10000 tunnelid: 0xac1800f0 encap: VXLAN +10.218.139.240/29, ubest/mbest: 2/0 + *via 10.62.2.30, Po1, [110/10], 0.000000, ospf-1, type-2, tag 888 + *via 10.62.2.34, Po1, [110/10], 0.000000, ospf-1, type-2, tag 888 + + +IP Route Table for VRF "RED" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +0.0.0.0/0, ubest/mbest: 1/0 + *via 10.1.100.1%management, [1/0], 6d02h, static +1.1.1.1/32, ubest/mbest: 2/0, attached + *via 1.1.1.1, Lo1, [0/0], 6d00h, local + *via 1.1.1.1, Lo1, [0/0], 6d00h, direct +1.1.1.10/32, ubest/mbest: 2/0, attached + *via 1.1.1.10, Lo10, [0/0], 1w12h, local + *via 1.1.1.10, Lo10, [0/0], 1w12h, direct +2.2.2.2/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +3.3.3.3/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/4], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/4], 5d18h, ospf-10, intra +4.4.4.4/32, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +7.7.7.7/32, ubest/mbest: 1/0 + *via 10.10.50.1, [1/0], 1d21h, static +8.8.8.8/32, ubest/mbest: 1/0, pending + *via 10.66.120.1, Vlan1220, [1/0], 00:00:01, static, tag 100 +10.0.255.1/32, ubest/mbest: 3/0 + *via 10.24.1.74, Eth1/1, [170/51712], 4w4d, eigrp-NAMED, external, tag 65422 + *via 10.24.2.76, Eth1/3, [170/51712], 4w4d, eigrp-NAMED, external, tag 65422 + *via 10.24.2.154, Eth2/11, [170/51712], 3w4d, eigrp-NAMED, external, tag 65422 +10.1.17.128/25, ubest/mbest: 3/0 + *via 10.24.1.74, Eth1/1, [170/3072], 4w4d, eigrp-NAMED, external + *via 10.24.2.76, Eth1/3, [170/3072], 4w4d, eigrp-NAMED, external + *via 10.24.2.154, Eth2/11, [170/3072], 3w4d, eigrp-NAMED, external +10.10.10.0/24, ubest/mbest: 1/0, attached + *via 10.10.10.1, Vlan5, [0/0], 5d18h, direct +10.10.10.1/32, ubest/mbest: 1/0, attached + *via 10.10.10.1, Vlan5, [0/0], 5d18h, local +10.10.30.0/24, ubest/mbest: 1/0, attached + *via 10.10.30.1, Eth2/2, [0/0], 5d23h, direct +10.10.30.1/32, ubest/mbest: 1/0, attached + *via 10.10.30.1, Eth2/2, [0/0], 5d23h, local +10.10.40.0/24, ubest/mbest: 1/0, attached + *via 10.10.40.1, Eth2/4, [0/0], 5d23h, direct +10.10.40.1/32, ubest/mbest: 1/0, attached + *via 10.10.40.1, Eth2/4, [0/0], 5d23h, local +10.10.50.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +10.10.60.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/3], 5d18h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/3], 5d18h, ospf-10, intra +10.10.70.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +10.10.80.0/24, ubest/mbest: 2/0 + *via 10.10.30.2, Eth2/2, [110/2], 5d23h, ospf-10, intra + *via 10.10.40.2, Eth2/4, [110/2], 5d23h, ospf-10, intra +10.71.0.0/21, ubest/mbest: 1/0 + *via Null0, [220/10], 2y49w, ospf-1, discard +10.151.0.0/16, ubest/mbest: 1/0 + *via 172.24.0.240%default, [150/51712], 3d17h, bgp-65004, internal, tag 65004 (evpn) segid: 10000 tunnelid: 0xac1800f0 encap: VXLAN +10.218.139.240/29, ubest/mbest: 2/0 + *via 10.62.2.30, Po1, [110/10], 0.000000, ospf-1, type-2, tag 888 + *via 10.62.2.34, Po1, [110/10], 0.000000, ospf-1, type-2, tag 888 From 85fb8e37bc968c91e986613ba240f01e767d4094 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Tue, 29 Oct 2019 22:58:00 -0400 Subject: [PATCH 328/628] Enhancement - EOS - Allow show bgp summary to be used for show bgp evpn summary (#522) --- templates/index | 2 +- .../arista_eos_show_bgp_evpn_summary.parsed | 106 ++++++++++++++++++ .../arista_eos_show_bgp_evpn_summary.raw | 12 ++ 3 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.parsed create mode 100644 tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.raw diff --git a/templates/index b/templates/index index fe7be26c5e..07e5174926 100644 --- a/templates/index +++ b/templates/index @@ -32,7 +32,7 @@ arista_eos_show_mac_address-table.template, .*, arista_eos, sh[[ow]] m[[ac]] ad[ arista_eos_show_ip_ospf_database.template, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] data[[base]] arista_eos_show_ip_ospf_neighbor.template, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] nei[[ghbor]] arista_eos_show_ip_access-lists.template, .*, arista_eos, sh[[ow]] i[[p]] acce[[ss-lists]] -arista_eos_show_ip_bgp_summary.template, .*, arista_eos, sh[[ow]] i[[p]] bg[[p]] su[[mmary]] +arista_eos_show_ip_bgp_summary.template, .*, arista_eos, sh[[ow]] (?:i[[p]] bg[[p]]|bg[[p]] ev[[pn]]) su[[mmary]] arista_eos_show_isis_neighbors.template, .*, arista_eos, sh[[ow]] isis ne[[ighbors]] arista_eos_show_lldp_neighbors.template, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] arista_eos_show_snmp_community.template, .*, arista_eos, sh[[ow]] sn[[mp]] com[[munity]] diff --git a/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.parsed b/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.parsed new file mode 100644 index 0000000000..444346e98f --- /dev/null +++ b/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.parsed @@ -0,0 +1,106 @@ +--- +parsed_sample: + - router_id: "10.0.250.1" + local_as: "65000" + vrf: "default" + bgp_neigh: "10.0.250.11" + neigh_as: "65001" + msg_rcvd: "8" + msg_sent: "8" + in_queue: "0" + out_queue: "0" + up_down: "00:04:09" + state: "Estab" + state_pfxrcd: "0" + state_pfxacc: "0" + - router_id: "10.0.250.1" + local_as: "65000" + vrf: "default" + bgp_neigh: "10.0.250.12" + neigh_as: "65001" + msg_rcvd: "8" + msg_sent: "8" + in_queue: "0" + out_queue: "0" + up_down: "00:03:54" + state: "Estab" + state_pfxrcd: "0" + state_pfxacc: "0" + - router_id: "10.0.250.1" + local_as: "65000" + vrf: "default" + bgp_neigh: "10.0.250.13" + neigh_as: "65002" + msg_rcvd: "8" + msg_sent: "8" + in_queue: "0" + out_queue: "0" + up_down: "00:04:08" + state: "Estab" + state_pfxrcd: "0" + state_pfxacc: "0" + - router_id: "10.0.250.1" + local_as: "65000" + vrf: "default" + bgp_neigh: "10.0.250.14" + neigh_as: "65002" + msg_rcvd: "8" + msg_sent: "8" + in_queue: "0" + out_queue: "0" + up_down: "00:04:09" + state: "Estab" + state_pfxrcd: "0" + state_pfxacc: "0" + - router_id: "10.0.250.1" + local_as: "65000" + vrf: "default" + bgp_neigh: "10.0.250.15" + neigh_as: "65003" + msg_rcvd: "8" + msg_sent: "8" + in_queue: "0" + out_queue: "0" + up_down: "00:04:07" + state: "Estab" + state_pfxrcd: "0" + state_pfxacc: "0" + - router_id: "10.0.250.1" + local_as: "65000" + vrf: "default" + bgp_neigh: "10.0.250.16" + neigh_as: "65003" + msg_rcvd: "9" + msg_sent: "8" + in_queue: "0" + out_queue: "0" + up_down: "00:04:12" + state: "Estab" + state_pfxrcd: "0" + state_pfxacc: "0" + - router_id: "10.0.250.1" + local_as: "65000" + vrf: "default" + bgp_neigh: "10.0.250.17" + neigh_as: "65004" + msg_rcvd: "8" + msg_sent: "8" + in_queue: "0" + out_queue: "0" + up_down: "00:03:57" + state: "Estab" + state_pfxrcd: "0" + state_pfxacc: "0" + - router_id: "10.0.250.1" + local_as: "65000" + vrf: "default" + bgp_neigh: "10.0.250.18" + neigh_as: "65004" + msg_rcvd: "8" + msg_sent: "8" + in_queue: "0" + out_queue: "0" + up_down: "00:03:57" + state: "Estab" + state_pfxrcd: "0" + state_pfxacc: "0" diff --git a/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.raw b/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.raw new file mode 100644 index 0000000000..a36ba11458 --- /dev/null +++ b/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.raw @@ -0,0 +1,12 @@ +BGP summary information for VRF default +Router identifier 10.0.250.1, local AS number 65000 +Neighbor Status Codes: m - Under maintenance + Neighbor V AS MsgRcvd MsgSent InQ OutQ Up/Down State PfxRcd PfxAcc + 10.0.250.11 4 65001 8 8 0 0 00:04:09 Estab 0 0 + 10.0.250.12 4 65001 8 8 0 0 00:03:54 Estab 0 0 + 10.0.250.13 4 65002 8 8 0 0 00:04:08 Estab 0 0 + 10.0.250.14 4 65002 8 8 0 0 00:04:09 Estab 0 0 + 10.0.250.15 4 65003 8 8 0 0 00:04:07 Estab 0 0 + 10.0.250.16 4 65003 9 8 0 0 00:04:12 Estab 0 0 + 10.0.250.17 4 65004 8 8 0 0 00:03:57 Estab 0 0 + 10.0.250.18 4 65004 8 8 0 0 00:03:57 Estab 0 0 From d37f6aee45d483228b12814c39efde3c0d3a12dd Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Tue, 29 Oct 2019 23:55:51 -0400 Subject: [PATCH 329/628] Enhancement - IOS - show mac-address - add data validation and tests (#523) --- .../cisco_ios_show_mac-address-table.template | 22 ++++++++++++++++++- .../cisco_ios_show_mac-address-table2.parsed | 4 ++++ .../cisco_ios_show_mac-address-table2.raw | 2 +- .../cisco_ios_show_mac-address-table3.parsed | 4 ++++ .../cisco_ios_show_mac-address-table3.raw | 1 + .../cisco_ios_show_mac-address-table4.parsed | 5 +++++ .../cisco_ios_show_mac-address-table4.raw | 2 +- 7 files changed, 37 insertions(+), 3 deletions(-) diff --git a/templates/cisco_ios_show_mac-address-table.template b/templates/cisco_ios_show_mac-address-table.template index 2045978c17..1e11755175 100644 --- a/templates/cisco_ios_show_mac-address-table.template +++ b/templates/cisco_ios_show_mac-address-table.template @@ -11,12 +11,32 @@ Start TYPE1 ^${DESTINATION_ADDRESS}\s+${TYPE}\s+${VLAN}\s+${DESTINATION_PORT} -> Record + ^-+\s+-+ + ^Displaying\s+entries + ^Destination\s+Address\s+Address\s+Type\s+VLAN\s+Destination\s+Port + ^\s*$$ + ^. -> Error TYPE2 - ^[\*|\s]\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT} -> Record + ^[\*|\s]\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT} -> Record + ^-+\+-+ + ^Displaying\s+entries + ^\s+vlan\s+mac address\s+type\s+learn\s+age\s+ports + ^\s*$$ + ^. -> Error TYPE3 ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+${DESTINATION_PORT} -> Record + ^-+\+-+ + ^Displaying\s+entries + ^\s+vlan\s+mac address\s+type\s+protocols\s+port + ^\s*$$ + ^. -> Error TYPE4 ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT} -> Record + ^-+\s+-+ + ^Displaying\s+entries + ^Vlan\s+Mac Address\s+Type\s+Ports + ^\s*$$ + ^. -> Error diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed index cb9a881e76..8c825e987a 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed @@ -41,3 +41,7 @@ parsed_sample: type: dynamic vlan: '669' +- destination_address: 30a3.30a3.5a22 + destination_port: Te3/20 + type: dynamic + vlan: '2000' diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.raw index 822553d94f..86b9326993 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.raw +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.raw @@ -12,4 +12,4 @@ Legend: * - primary entry 667 30a3.30a3.daf5 dynamic Yes 0 Te3/20 668 30a3.30a3.e401 dynamic Yes 600 Po6 669 30a3.30a3.5a22 dynamic Yes 300 Te3/20 - + 2000 30a3.30a3.5a22 dynamic Yes 300 Te3/20 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.parsed b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.parsed index 35adc2029b..ce34901815 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.parsed +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.parsed @@ -42,3 +42,7 @@ parsed_sample: type: dynamic vlan: '99' +- destination_address: 30a3.30a3.a1ca + destination_port: "Port-channel1" + type: dynamic + vlan: '2000' diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.raw index 07c6b1f19a..cc6667a380 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.raw +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.raw @@ -9,3 +9,4 @@ Unicast Entries 99 30a3.30a3.a1c8 dynamic ip,ipx,assigned,other Port-channel1 99 30a3.30a3.a1c9 dynamic ip,ipx,assigned,other Port-channel1 99 30a3.30a3.a1ca dynamic ip,ipx,assigned,other Port-channel1 +2000 30a3.30a3.a1ca dynamic ip,ipx,assigned,other Port-channel1 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.parsed b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.parsed index ebd9c4ec4d..9ef099ba08 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.parsed +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.parsed @@ -82,3 +82,8 @@ parsed_sample: type: DYNAMIC vlan: '99' +- destination_address: 30a3.30a3.a1cd + destination_port: Po6 + type: DYNAMIC + vlan: '2000' + \ No newline at end of file diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.raw index 6c75a9553a..7e27161007 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.raw +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.raw @@ -19,4 +19,4 @@ Vlan Mac Address Type Ports 99 30a3.30a3.a1cb DYNAMIC Te1/1/3 99 30a3.30a3.a1cc STATIC Vl99 99 30a3.30a3.a1cd DYNAMIC Po6 - +2000 30a3.30a3.a1cd DYNAMIC Po6 From f1f167876790f9f2a16898d74cc5a32300e8798d Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Wed, 30 Oct 2019 10:45:09 -0400 Subject: [PATCH 330/628] New Template - EOS - show vrf (#524) --- templates/arista_eos_show_vrf.template | 20 +++++++++++++++++++ templates/index | 1 + .../show_vrf/arista_eos_show_vrf.parsed | 12 +++++++++++ .../show_vrf/arista_eos_show_vrf.raw | 14 +++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 templates/arista_eos_show_vrf.template create mode 100644 tests/arista_eos/show_vrf/arista_eos_show_vrf.parsed create mode 100644 tests/arista_eos/show_vrf/arista_eos_show_vrf.raw diff --git a/templates/arista_eos_show_vrf.template b/templates/arista_eos_show_vrf.template new file mode 100644 index 0000000000..651f617103 --- /dev/null +++ b/templates/arista_eos_show_vrf.template @@ -0,0 +1,20 @@ +Value VRF (\S+) +Value RD (\d\S+|<.+>) + +Start + ^\s+Vrf\s+RD\s+Protocols\s+State\s+Interfaces -> VRF + ^Maximum + ^\s*$$ + ^. -> Error + +VRF + ^\s+${VRF}\s+${RD} -> Record + # Match second line with Status e.x. v6:routing + ^\s+\S+:\S+ + # Match multiline interface with last line having a single interface + ^\s+\S+\s*$$ + # Match multilin interface with multiple interfaces on the line + ^(?:\s+\S+?,){1,5}(?:\s+\S+)?\s*$$ + ^\s*-+\s+-+ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 07e5174926..863cbf98c6 100644 --- a/templates/index +++ b/templates/index @@ -51,6 +51,7 @@ arista_eos_show_clock.template, .*, arista_eos, sh[[ow]] clo[[ck]] arista_eos_dir_flash.template, .*, arista_eos, dir fl[[ash:]] arista_eos_show_mlag.template, .*, arista_eos, sh[[ow]] ml[[ag]] arista_eos_show_vlan.template, .*, arista_eos, sh[[ow]] vl[[an]] +arista_eos_show_vrf.template, .*, arista_eos, sh[[ow]] vrf aruba_os_show_ipv6_interface_brief.template, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] aruba_os_show_ip_interface_brief.template, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf.parsed b/tests/arista_eos/show_vrf/arista_eos_show_vrf.parsed new file mode 100644 index 0000000000..867a881a76 --- /dev/null +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf.parsed @@ -0,0 +1,12 @@ +--- +parsed_sample: + - vrf: "blue" + rd: "10.125.253.15:1" + - vrf: "green" + rd: "" + - vrf: "yellow" + rd: '10.125.253.15:4' + - vrf: "red" + rd: "10.125.253.15:6" + - vrf: "black" + rd: "999:999" diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw b/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw new file mode 100644 index 0000000000..f28c1e394f --- /dev/null +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw @@ -0,0 +1,14 @@ + Vrf RD Protocols State Interfaces +--------- -------- --------------- ----------- ---------- + blue 10.125.253.15:1 ipv4,ipv6 v4:routing, Vlan1006, Vlan2230, Vlan2231, + v6:no routing Vlan2232, Vlan2233, Vlan2234, + Vlan2235, Vlan2236, Vlan2237, + Vlan2238, Vlan2239, Vlan2240 + green ipv4,ipv6 v4:routing, Vlan1015, Vlan1016, Vlan1017, + v6:no routing Vlan1018, Vlan1019, Vlan1020, + Vlan1021 + yellow 10.125.253.15:4 ipv4,ipv6 v4:routing, Vlan1009 + v6:no routing + red 10.125.253.15:6 ipv4,ipv6 v4:routing, + v6:no routing + black 999:999 ipv4,ipv6 v4:no routing Management1 From b6c2addcbac4a06aa8c01685c4d21ce7025a8db4 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Wed, 30 Oct 2019 13:54:34 -0400 Subject: [PATCH 331/628] BugFix: IOS - Add capturing of timestamp data for vty lines that auto print one (#525) --- templates/cisco_ios_dir.template | 3 +++ templates/cisco_ios_show_access-list.template | 3 +++ templates/cisco_ios_show_aliases.template | 3 +++ templates/cisco_ios_show_archive.template | 5 ++++- .../cisco_ios_show_authentication_sessions.template | 3 +++ templates/cisco_ios_show_boot.template | 3 +++ ...isco_ios_show_capability_feature_routing.template | 3 +++ templates/cisco_ios_show_cdp_neighbors.template | 3 +++ .../cisco_ios_show_cdp_neighbors_detail.template | 3 +++ templates/cisco_ios_show_clock.template | 4 +++- templates/cisco_ios_show_controller_t1.template | 3 +++ templates/cisco_ios_show_dmvpn.template | 5 ++++- templates/cisco_ios_show_dot1x_all.template | 3 +++ .../cisco_ios_show_environment_power_all.template | 3 +++ templates/cisco_ios_show_hosts_summary.template | 3 +++ .../cisco_ios_show_interface_transceiver.template | 3 +++ templates/cisco_ios_show_interfaces.template | 3 +++ .../cisco_ios_show_interfaces_description.template | 3 +++ templates/cisco_ios_show_interfaces_status.template | 3 +++ .../cisco_ios_show_interfaces_switchport.template | 12 +++++++++++- templates/cisco_ios_show_inventory.template | 4 +++- templates/cisco_ios_show_ip_access-lists.template | 4 ++++ templates/cisco_ios_show_ip_arp.template | 6 ++++-- templates/cisco_ios_show_ip_bgp.template | 3 +++ templates/cisco_ios_show_ip_bgp_summary.template | 3 +++ .../cisco_ios_show_ip_device_tracking_all.template | 3 +++ templates/cisco_ios_show_ip_eigrp_neighbors.template | 1 + templates/cisco_ios_show_ip_eigrp_topology.template | 3 +++ templates/cisco_ios_show_ip_flow_toptalkers.template | 5 ++++- templates/cisco_ios_show_ip_interface.template | 3 +++ templates/cisco_ios_show_ip_interface_brief.template | 3 +++ templates/cisco_ios_show_ip_mroute.template | 3 +++ templates/cisco_ios_show_ip_ospf_database.template | 3 +++ .../cisco_ios_show_ip_ospf_interface_brief.template | 3 +++ templates/cisco_ios_show_ip_ospf_neighbor.template | 3 +++ templates/cisco_ios_show_ip_prefix-list.template | 3 +++ templates/cisco_ios_show_ip_route.template | 3 +++ templates/cisco_ios_show_ip_source_binding.template | 3 +++ .../cisco_ios_show_ipv6_interface_brief.template | 3 +++ templates/cisco_ios_show_ipv6_neighbors.template | 3 +++ templates/cisco_ios_show_isdn_status.template | 4 +++- templates/cisco_ios_show_isis_neighbors.template | 3 +++ templates/cisco_ios_show_lldp_neighbors.template | 3 +++ .../cisco_ios_show_lldp_neighbors_detail.template | 3 +++ templates/cisco_ios_show_mac-address-table.template | 3 +++ templates/cisco_ios_show_platform_diag.template | 3 +++ templates/cisco_ios_show_power_available.template | 3 +++ templates/cisco_ios_show_power_status.template | 4 +++- templates/cisco_ios_show_power_supplies.template | 4 +++- templates/cisco_ios_show_processes_cpu.template | 3 +++ templates/cisco_ios_show_redundancy.template | 3 +++ templates/cisco_ios_show_route-map.template | 3 +++ ...how_running-config_partition_access-list.template | 3 +++ ..._show_running-config_partition_route-map.template | 3 +++ templates/cisco_ios_show_snmp_community.template | 3 +++ templates/cisco_ios_show_snmp_user.template | 3 +++ templates/cisco_ios_show_spanning-tree.template | 3 +++ templates/cisco_ios_show_standby.template | 3 +++ templates/cisco_ios_show_standby_brief.template | 3 +++ templates/cisco_ios_show_tacacs.template | 3 +++ templates/cisco_ios_show_version.template | 3 +++ templates/cisco_ios_show_vlan.template | 5 ++++- templates/cisco_ios_show_vrf.template | 3 +++ templates/cisco_ios_show_vtp_status.template | 3 +++ 64 files changed, 204 insertions(+), 12 deletions(-) diff --git a/templates/cisco_ios_dir.template b/templates/cisco_ios_dir.template index 521cfb65f5..2877732879 100644 --- a/templates/cisco_ios_dir.template +++ b/templates/cisco_ios_dir.template @@ -11,5 +11,8 @@ Start ^\s*${ID}\s+${PERMISSIONS}\s+${SIZE}\s+${DATE_TIME}\s+${NAME}\s*$$ -> Record ^Directory of\s+${FILE_SYSTEM} ^${TOTAL_SIZE}\s+\S+\s+\S+\s\(${TOTAL_FREE} bytes free\) + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is EOF diff --git a/templates/cisco_ios_show_access-list.template b/templates/cisco_ios_show_access-list.template index a67e73af4b..4181064bfb 100644 --- a/templates/cisco_ios_show_access-list.template +++ b/templates/cisco_ios_show_access-list.template @@ -33,4 +33,7 @@ Start ^.*list\s+${NAME} ^\s+${SN}\s+${ACTION}\s+${PROTOCOL}\s+${SOURCE}(\s+${PORT})*(\s${RANGE})*\s+${DESTINATION}(\s+${MODIFIER})* -> Record ^\s+${SN}\s+${ACTION}\s+${SOURCE}(\s+${MODIFIER})* -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_aliases.template b/templates/cisco_ios_show_aliases.template index 41aeb16880..bc4adb15d5 100644 --- a/templates/cisco_ios_show_aliases.template +++ b/templates/cisco_ios_show_aliases.template @@ -4,6 +4,9 @@ Value COMMAND ((\w+(\s|\S))+) Start ^${MODE}\saliases: -> ALIAS + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ALIAS ^${MODE}\saliases: -> ALIAS diff --git a/templates/cisco_ios_show_archive.template b/templates/cisco_ios_show_archive.template index 6148f4e1b7..b86a6a65e7 100644 --- a/templates/cisco_ios_show_archive.template +++ b/templates/cisco_ios_show_archive.template @@ -1,4 +1,7 @@ Value STATE (\w+\s\w+) Start - ^\sArchive feature ${STATE} -> Record \ No newline at end of file + ^\sArchive feature ${STATE} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_authentication_sessions.template b/templates/cisco_ios_show_authentication_sessions.template index 7c9a0e42f8..d518db4922 100644 --- a/templates/cisco_ios_show_authentication_sessions.template +++ b/templates/cisco_ios_show_authentication_sessions.template @@ -7,6 +7,9 @@ Value SESSION (\w+?) Start ^Interface\s+MAC Address\s+Method\s+Domain -> Catch + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is Catch ^-+$$ diff --git a/templates/cisco_ios_show_boot.template b/templates/cisco_ios_show_boot.template index bcacd0576e..7ae19c9541 100644 --- a/templates/cisco_ios_show_boot.template +++ b/templates/cisco_ios_show_boot.template @@ -28,5 +28,8 @@ Start ^\s+Download:\s+${TIMEOUT_CONFIG_DOWNLOAD} ^Config\s+Download ^\s+via\s+DHCP:\s+${CONFIG_DOWNLOAD_DHCP} + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^\s*$$ ^. -> Error diff --git a/templates/cisco_ios_show_capability_feature_routing.template b/templates/cisco_ios_show_capability_feature_routing.template index ef900c52e1..bd483b74b6 100644 --- a/templates/cisco_ios_show_capability_feature_routing.template +++ b/templates/cisco_ios_show_capability_feature_routing.template @@ -4,3 +4,6 @@ Value STATE (\w+) Start ^Displaying capability information for all available features: ^${FEATURE}:\s${STATE} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_cdp_neighbors.template b/templates/cisco_ios_show_cdp_neighbors.template index 32c4f7931f..3cfb60af19 100644 --- a/templates/cisco_ios_show_cdp_neighbors.template +++ b/templates/cisco_ios_show_cdp_neighbors.template @@ -6,6 +6,9 @@ Value NEIGHBOR_INTERFACE ([a-zA-Z]\S+(?:\s\S+)?) Start ^Device.*ID -> CDP + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is CDP ^${NEIGHBOR}$$ diff --git a/templates/cisco_ios_show_cdp_neighbors_detail.template b/templates/cisco_ios_show_cdp_neighbors_detail.template index 7b1b8ac54f..bf4361cb53 100644 --- a/templates/cisco_ios_show_cdp_neighbors_detail.template +++ b/templates/cisco_ios_show_cdp_neighbors_detail.template @@ -12,6 +12,9 @@ Start ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES} ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} ^Version : -> GetVersion + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ParseIP ^.*IP address: ${MANAGEMENT_IP} -> Start diff --git a/templates/cisco_ios_show_clock.template b/templates/cisco_ios_show_clock.template index c7ba77335c..384f47af16 100644 --- a/templates/cisco_ios_show_clock.template +++ b/templates/cisco_ios_show_clock.template @@ -7,4 +7,6 @@ Value YEAR (\d+) Start ^[\*]?${TIME}\s${TIMEZONE}\s${DAYWEEK}\s${MONTH}\s${DAY}\s${YEAR} -> Record - + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_controller_t1.template b/templates/cisco_ios_show_controller_t1.template index a23f802c43..84fe21f41e 100644 --- a/templates/cisco_ios_show_controller_t1.template +++ b/templates/cisco_ios_show_controller_t1.template @@ -33,6 +33,9 @@ Start ^\s+AIS\sState:${AIS_STATE}\s+LOS\sState:${LOS_STATE}\s+LOF\sState:${LOF_STATE} ^\s+Framing\sis\s${FRAMING},\sLine\sCode\sis\s${LINE_CODE},\sClock\sSource\sis\s${CLOCK_SOURCE}. ^\s+Data\sin\scurrent\sinterval\s\(${CURR_INTERVAL_ELAPSED_SECONDS}\sseconds\selapsed\): -> ParseCurrentCounters + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ParseCurrentCounters ^\s+${CURR_LINE_CODE_VIOLATIONS}\sLine\sCode\sViolations,\s${CURR_PATH_CODE_VIOLATIONS}\sPath\sCode\sViolations diff --git a/templates/cisco_ios_show_dmvpn.template b/templates/cisco_ios_show_dmvpn.template index 7cf6c49f61..32147404dc 100644 --- a/templates/cisco_ios_show_dmvpn.template +++ b/templates/cisco_ios_show_dmvpn.template @@ -11,6 +11,9 @@ Start ^=*$$ ^Interface.*$$ ^Type.*$$ - ^\s+|\s*$$ + ^\s*$$ ^\s+#\s+Ent\s+Peer\s+NBMA\s+Addr\s+Peer\s+Tunnel\s+Add\s+State\s+UpDn\s+Tm\s+Attrb + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^. -> Error diff --git a/templates/cisco_ios_show_dot1x_all.template b/templates/cisco_ios_show_dot1x_all.template index 376dd0e9dc..65f687f380 100644 --- a/templates/cisco_ios_show_dot1x_all.template +++ b/templates/cisco_ios_show_dot1x_all.template @@ -23,6 +23,9 @@ Start ^Critical Recovery Delay\s+${CRITICAL_RECOVERY_DELAY} ^Critical EAPOL\s+${CRITICAL_EAPOL} ^$$ -> Interfaces + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is Interfaces ^Dot1x Info for\s -> Continue.Record diff --git a/templates/cisco_ios_show_environment_power_all.template b/templates/cisco_ios_show_environment_power_all.template index 90873b39c6..268d8f1417 100644 --- a/templates/cisco_ios_show_environment_power_all.template +++ b/templates/cisco_ios_show_environment_power_all.template @@ -11,3 +11,6 @@ Value WATTS (\w+) Start ^${PS_MODULE}\s+${PID}\s+${SERIAL}\s+${STATUS}\s+${SYS_PWR}\s+${POE_PWR}\s+${WATTS} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_hosts_summary.template b/templates/cisco_ios_show_hosts_summary.template index 609c69f1cf..ab3249887d 100644 --- a/templates/cisco_ios_show_hosts_summary.template +++ b/templates/cisco_ios_show_hosts_summary.template @@ -8,5 +8,8 @@ Start ^Name\s*servers\s*are\s*${NAME_SERVERS} ^Local\s*cache\s*entries:\s*${LOCAL_CACHE_ENTRIES} ^Dynamic\s*cache\s*entries:\s*${DYNAMIC_CACHE_ENTRIES} + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^\s*$$ ^. -> Error diff --git a/templates/cisco_ios_show_interface_transceiver.template b/templates/cisco_ios_show_interface_transceiver.template index 0811b9259e..0f58c74f7d 100644 --- a/templates/cisco_ios_show_interface_transceiver.template +++ b/templates/cisco_ios_show_interface_transceiver.template @@ -6,3 +6,6 @@ Value RX_PWR (\S+) Start ^${IFACE}\s+${TEMPERATURE}\s+${VOLTAGE}\s+${TX_PWR}\s+${RX_PWR}\s+ -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_interfaces.template b/templates/cisco_ios_show_interfaces.template index 215c30b38d..a01f22e8cc 100644 --- a/templates/cisco_ios_show_interfaces.template +++ b/templates/cisco_ios_show_interfaces.template @@ -41,3 +41,6 @@ Start ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+\d+\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored\s*$$ ^\s+${OUTPUT_PACKETS}\s+packets\s+output,\s+\d+\s+bytes,\s+\d+\s+underruns\s*$$ ^\s+${OUTPUT_ERRORS}\s+output\s+errors,\s+\d+\s+collisions,\s+\d+\s+interface\s+resets\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_interfaces_description.template b/templates/cisco_ios_show_interfaces_description.template index 35ce83eb53..6e501ca427 100644 --- a/templates/cisco_ios_show_interfaces_description.template +++ b/templates/cisco_ios_show_interfaces_description.template @@ -6,6 +6,9 @@ Value DESCRIP (\S.*?) Start ^Interface\s+Status\s+Protocol\s+Description\s*$$ -> Begin ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^. -> Error Begin diff --git a/templates/cisco_ios_show_interfaces_status.template b/templates/cisco_ios_show_interfaces_status.template index 292dbd1446..1e92d87fef 100644 --- a/templates/cisco_ios_show_interfaces_status.template +++ b/templates/cisco_ios_show_interfaces_status.template @@ -8,6 +8,9 @@ Value TYPE (.*) Start ^Port -> Begin + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is Begin ^(?=\s{0,9}${PORT}).{9}\s{20}${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record diff --git a/templates/cisco_ios_show_interfaces_switchport.template b/templates/cisco_ios_show_interfaces_switchport.template index d7dbf4eff9..ca3c3285b2 100644 --- a/templates/cisco_ios_show_interfaces_switchport.template +++ b/templates/cisco_ios_show_interfaces_switchport.template @@ -16,5 +16,15 @@ Start ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS} -> Record - ^.+$$ + ^\s*Administrative\s+Mode + ^\s*(?:Operational|Administrative)\s+(?:Trunking|Native\s+VLAN|private-vlan) + ^\s*Voice\s+VLAN: + ^\s*Pruning\s+VLANs + ^\s*Capture\s+(?:Mode|VLANs) + ^\s*Protected + ^\s*Appliance\s+trust + ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^. -> Error diff --git a/templates/cisco_ios_show_inventory.template b/templates/cisco_ios_show_inventory.template index dce50143a4..26f539970e 100644 --- a/templates/cisco_ios_show_inventory.template +++ b/templates/cisco_ios_show_inventory.template @@ -14,4 +14,6 @@ Start ^PID:\s+,.*VID:\s+${VID}.* ^.*SN:\s+${SN} -> Record ^.*SN: -> Record - + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_ip_access-lists.template b/templates/cisco_ios_show_ip_access-lists.template index c41ae38a35..333846803f 100644 --- a/templates/cisco_ios_show_ip_access-lists.template +++ b/templates/cisco_ios_show_ip_access-lists.template @@ -31,6 +31,10 @@ Start ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s*$$ -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)\s*$$ -> Record + ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^.* -> Error "Could not parse line:" EOF diff --git a/templates/cisco_ios_show_ip_arp.template b/templates/cisco_ios_show_ip_arp.template index 9969bf7729..e989839314 100644 --- a/templates/cisco_ios_show_ip_arp.template +++ b/templates/cisco_ios_show_ip_arp.template @@ -9,5 +9,7 @@ Start ^Protocol\s+Address\s+Age\s*\(min\)\s+Hardware Addr\s+Type\s+Interface ^${PROTOCOL}\s+${ADDRESS}\s+${AGE}\s+${MAC}\s+${TYPE}\s+${INTERFACE} -> Record ^${PROTOCOL}\s+${ADDRESS}\s+${AGE}\s+${MAC}\s+${TYPE} -> Record - ^. -> Error - + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^. -> Error diff --git a/templates/cisco_ios_show_ip_bgp.template b/templates/cisco_ios_show_ip_bgp.template index 1d6151cb96..2c0c9085c2 100644 --- a/templates/cisco_ios_show_ip_bgp.template +++ b/templates/cisco_ios_show_ip_bgp.template @@ -12,6 +12,9 @@ Value ORIGIN ([ie\?]) Start # Since using mostly position, play it safe and ensure we see header first ^\s+Network\s+Next Hop\s+Metric\s+LocPrf\s+Weight\s+Path -> Bgp_table + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is Bgp_table # diff --git a/templates/cisco_ios_show_ip_bgp_summary.template b/templates/cisco_ios_show_ip_bgp_summary.template index 5841694767..14fc00ba0f 100644 --- a/templates/cisco_ios_show_ip_bgp_summary.template +++ b/templates/cisco_ios_show_ip_bgp_summary.template @@ -8,5 +8,8 @@ Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) Start ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+local\s+AS\s+number\s+${LOCAL_AS}\s*$$ ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is EOF diff --git a/templates/cisco_ios_show_ip_device_tracking_all.template b/templates/cisco_ios_show_ip_device_tracking_all.template index 9616b57d09..07c05587e5 100644 --- a/templates/cisco_ios_show_ip_device_tracking_all.template +++ b/templates/cisco_ios_show_ip_device_tracking_all.template @@ -17,4 +17,7 @@ Start ^\s*\^\s*$$ ^.*Invalid input detected.* ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^.* -> Error diff --git a/templates/cisco_ios_show_ip_eigrp_neighbors.template b/templates/cisco_ios_show_ip_eigrp_neighbors.template index 1679f9e41b..db6d66b26b 100644 --- a/templates/cisco_ios_show_ip_eigrp_neighbors.template +++ b/templates/cisco_ios_show_ip_eigrp_neighbors.template @@ -14,6 +14,7 @@ Start ^\s*$$ ^\s*H\s+Address\s+Interface\s+Hold\s+Uptime\s+SRTT\s+RTO\s+Q\s+Seq\s*$$ ^\s+\(sec\)\s+\(ms\)\s+Cnt\s+Num\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on ^\s*Load\s+for ^Time\s+source\s+is ^. -> Error diff --git a/templates/cisco_ios_show_ip_eigrp_topology.template b/templates/cisco_ios_show_ip_eigrp_topology.template index a8dd1e1180..37ae7e736b 100644 --- a/templates/cisco_ios_show_ip_eigrp_topology.template +++ b/templates/cisco_ios_show_ip_eigrp_topology.template @@ -46,5 +46,8 @@ Gateway # If it doesn't match anything above, this just acknowledges a new line ^\s*$$ # This will throw an error if there are no matches + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^. -> Error diff --git a/templates/cisco_ios_show_ip_flow_toptalkers.template b/templates/cisco_ios_show_ip_flow_toptalkers.template index 79ef088808..a09ef77651 100755 --- a/templates/cisco_ios_show_ip_flow_toptalkers.template +++ b/templates/cisco_ios_show_ip_flow_toptalkers.template @@ -8,4 +8,7 @@ Value DST_PORT ([A-Z0-9]+) Value PKT ([0-9]+) Start - ^${SRC_INTF}\s+${SRC_IPADDR}\s+${DST_INTF}\s+${DST_IPADDR}\s+${PROTO}\s+${SRC_PORT}\s+${DST_PORT}\s+${PKT} -> Record \ No newline at end of file + ^${SRC_INTF}\s+${SRC_IPADDR}\s+${DST_INTF}\s+${DST_IPADDR}\s+${PROTO}\s+${SRC_PORT}\s+${DST_PORT}\s+${PKT} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_ip_interface.template b/templates/cisco_ios_show_ip_interface.template index b94d670924..31cc37548d 100644 --- a/templates/cisco_ios_show_ip_interface.template +++ b/templates/cisco_ios_show_ip_interface.template @@ -57,6 +57,9 @@ Start ^\s+(Input|Output|Post)\s+.*features ^\s+(IPv4\s+)?WCCP ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^. -> Error HELPERS diff --git a/templates/cisco_ios_show_ip_interface_brief.template b/templates/cisco_ios_show_ip_interface_brief.template index 605ea4a9fd..0ca022c0b1 100644 --- a/templates/cisco_ios_show_ip_interface_brief.template +++ b/templates/cisco_ios_show_ip_interface_brief.template @@ -5,3 +5,6 @@ Value PROTO (up|down) Start ^${INTF}\s+${IPADDR}\s+\w+\s+\w+\s+${STATUS}\s+${PROTO} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_ip_mroute.template b/templates/cisco_ios_show_ip_mroute.template index b1ec55b3ef..bc313a0198 100644 --- a/templates/cisco_ios_show_ip_mroute.template +++ b/templates/cisco_ios_show_ip_mroute.template @@ -23,4 +23,7 @@ Start ^.*[Ff]lags ^\s+\S+\s+-\s+ ^\s+(?:Timers|Interface\s+state): + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^. -> Error diff --git a/templates/cisco_ios_show_ip_ospf_database.template b/templates/cisco_ios_show_ip_ospf_database.template index fc18fd389d..783ebff2bd 100644 --- a/templates/cisco_ios_show_ip_ospf_database.template +++ b/templates/cisco_ios_show_ip_ospf_database.template @@ -13,6 +13,9 @@ Start ^${LINK_ID}\s+${ADV_ROUTER}\s+${AGE}\s+\S+\s+\S+\s+${LINK_COUNT} -> Record ^${LINK_ID}\s+${ADV_ROUTER}\s+${AGE}\s+\S+\s+\S+ -> Record ^\s+Type-5 AS External Link States -> Tag + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is Tag ^Link ID\s+ADV Router\s+Age\s+Seq#\s+Checksum\s+Tag -> Next.Clearall diff --git a/templates/cisco_ios_show_ip_ospf_interface_brief.template b/templates/cisco_ios_show_ip_ospf_interface_brief.template index a14183125b..f8fbe4b2e6 100644 --- a/templates/cisco_ios_show_ip_ospf_interface_brief.template +++ b/templates/cisco_ios_show_ip_ospf_interface_brief.template @@ -7,3 +7,6 @@ Value NEIGHBORS_FC (\d+/\d+) Start ^${INTERFACE}\s+\d+\s+${AREA}\s+${IP_ADDRESS_MASK}\s+${COST}\s+${STATE}\s+${NEIGHBORS_FC} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_ip_ospf_neighbor.template b/templates/cisco_ios_show_ip_ospf_neighbor.template index 2d110e123c..9d7e79bacf 100644 --- a/templates/cisco_ios_show_ip_ospf_neighbor.template +++ b/templates/cisco_ios_show_ip_ospf_neighbor.template @@ -7,3 +7,6 @@ Value INTERFACE (\S+) Start ^${NEIGHBOR_ID}\s+${PRIORITY}\s+${STATE}\s+${DEAD_TIME}\s+${ADDRESS}\s+${INTERFACE} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_ip_prefix-list.template b/templates/cisco_ios_show_ip_prefix-list.template index aad46d4e06..d525f197e8 100644 --- a/templates/cisco_ios_show_ip_prefix-list.template +++ b/templates/cisco_ios_show_ip_prefix-list.template @@ -10,4 +10,7 @@ Start ^ip\s+prefix-list\s+${NAME}: ^\s+seq\s+${SEQ}\s+${ACTION}\s+${NETWORK}/${NETMASK}(?:\s+ge\s+${GE}|)(?:\s+le\s+${LE}|)\s*$$ -> Record ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^.+ -> Error diff --git a/templates/cisco_ios_show_ip_route.template b/templates/cisco_ios_show_ip_route.template index 7e80033449..17fbf0c0b7 100644 --- a/templates/cisco_ios_show_ip_route.template +++ b/templates/cisco_ios_show_ip_route.template @@ -10,6 +10,9 @@ Value UPTIME (\d[\w:\.]+) Start ^Gateway.* -> Routes + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is Routes # For "is (variably )subnetted" line, capture mask, clear all values. diff --git a/templates/cisco_ios_show_ip_source_binding.template b/templates/cisco_ios_show_ip_source_binding.template index 1f67a11679..e00f7d27d5 100644 --- a/templates/cisco_ios_show_ip_source_binding.template +++ b/templates/cisco_ios_show_ip_source_binding.template @@ -11,4 +11,7 @@ Start ^${MAC}\s+${IP}\s+${LEASE}\s+${TYPE}\s+${VLAN}\s+${INTERFACE} -> Record ^Total number of bindings ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^.*$$ -> Error diff --git a/templates/cisco_ios_show_ipv6_interface_brief.template b/templates/cisco_ios_show_ipv6_interface_brief.template index b2675c2a77..9cc87a567c 100644 --- a/templates/cisco_ios_show_ipv6_interface_brief.template +++ b/templates/cisco_ios_show_ipv6_interface_brief.template @@ -6,6 +6,9 @@ Value PROTOCOL (\S+|\S+\s\S+) Start ^${INTF}\s+\[${ADMIN}/${PROTOCOL}\] -> Interfaces + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is Interfaces ^(\S+)\s+\[(\S+|\S+\s\S+)/(\S+|\S+\s\S+)\] -> Continue.Record diff --git a/templates/cisco_ios_show_ipv6_neighbors.template b/templates/cisco_ios_show_ipv6_neighbors.template index 0ec9baa4a5..a3a74650f1 100644 --- a/templates/cisco_ios_show_ipv6_neighbors.template +++ b/templates/cisco_ios_show_ipv6_neighbors.template @@ -7,5 +7,8 @@ Value INTERFACE (\S+) Start ^IPv6\s+Address\s+Age\s+Link-layer\s+Addr\s+State\s+Interface\s*$$ ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${TYPE}\s+${INTERFACE} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^\s*$$ ^. -> Error diff --git a/templates/cisco_ios_show_isdn_status.template b/templates/cisco_ios_show_isdn_status.template index 23e14902b8..cad24b0cc2 100644 --- a/templates/cisco_ios_show_isdn_status.template +++ b/templates/cisco_ios_show_isdn_status.template @@ -24,4 +24,6 @@ Start ^\s+Active dsl \d+ CCBs =\s+${ACTIVE_DSL_CCBS} ^\s+The Free Channel Mask:\s+${FREE_CHANNEL_MASK} ^\s+Number of L2 Discards =\s+${L2_DISCARDS}, L2 Session ID =\s+${L2_SESSION_ID} -> Record - + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_isis_neighbors.template b/templates/cisco_ios_show_isis_neighbors.template index dc858cc298..7500ffed15 100644 --- a/templates/cisco_ios_show_isis_neighbors.template +++ b/templates/cisco_ios_show_isis_neighbors.template @@ -8,3 +8,6 @@ Value CIRCUIT_ID (\S+) Start ^${SYSTEM_ID}\s+${TYPE}\s+${INTERFACE}\s+${IP_ADDRESS}\s+${STATE}\s+${HOLD_TIME}\s+${CIRCUIT_ID} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_lldp_neighbors.template b/templates/cisco_ios_show_lldp_neighbors.template index bd5c725195..79a6dd5bb0 100644 --- a/templates/cisco_ios_show_lldp_neighbors.template +++ b/templates/cisco_ios_show_lldp_neighbors.template @@ -4,6 +4,9 @@ Value Required NEIGHBOR_INTERFACE (\S+) Start ^Device.*ID -> LLDP + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is LLDP ^${NEIGHBOR}\s*${LOCAL_INTERFACE}\s+\d+\s+(\S+)*\s+${NEIGHBOR_INTERFACE} -> Record diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.template index 936e798293..c9daa7d193 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.template +++ b/templates/cisco_ios_show_lldp_neighbors_detail.template @@ -48,6 +48,9 @@ Start ^\s*\^\s* ^\s*Total\s+entries\s+displayed -> Record ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^.*$$ -> Error GetDescription diff --git a/templates/cisco_ios_show_mac-address-table.template b/templates/cisco_ios_show_mac-address-table.template index 1e11755175..cd5c757075 100644 --- a/templates/cisco_ios_show_mac-address-table.template +++ b/templates/cisco_ios_show_mac-address-table.template @@ -8,6 +8,9 @@ Start ^\s+vlan\s+mac address\s+type\s+learn\s+age\s+ports -> TYPE2 ^\s+vlan\s+mac address\s+type\s+protocols\s+port -> TYPE3 ^Vlan\s+Mac Address\s+Type\s+Ports -> TYPE4 + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is TYPE1 ^${DESTINATION_ADDRESS}\s+${TYPE}\s+${VLAN}\s+${DESTINATION_PORT} -> Record diff --git a/templates/cisco_ios_show_platform_diag.template b/templates/cisco_ios_show_platform_diag.template index d21f1b5e45..497a0b52c5 100644 --- a/templates/cisco_ios_show_platform_diag.template +++ b/templates/cisco_ios_show_platform_diag.template @@ -21,4 +21,7 @@ Start ^.*Software declared up time\s*\:\s${UPTIME} ^.*Hardware ready signal time\s*\:\s${HARDWARE_SIGNAL} ^.*Packet ready signal time\s*\:\s${PACKET_SIGNAL} + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^$$ -> Record diff --git a/templates/cisco_ios_show_power_available.template b/templates/cisco_ios_show_power_available.template index 94183f2c5b..744eed5ff1 100644 --- a/templates/cisco_ios_show_power_available.template +++ b/templates/cisco_ios_show_power_available.template @@ -12,6 +12,9 @@ Value MAX_AVAIL_WATTS (\d+) Start ^Power.*Maximum -> SUMMARY + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is SUMMARY ^System Power \(12V\)\s+${SYS_USED_WATTS}\s+${SYS_AVAIL_WATTS} -> Continue diff --git a/templates/cisco_ios_show_power_status.template b/templates/cisco_ios_show_power_status.template index d46b9e14fb..e5f283e8e4 100644 --- a/templates/cisco_ios_show_power_status.template +++ b/templates/cisco_ios_show_power_status.template @@ -12,6 +12,9 @@ Value Filldown INLINE_STATUS (good|n.a.) Start ^Supply.*Model -> POWER + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is POWER @@ -20,4 +23,3 @@ POWER # Capture just INPUT_STATUS when INPUT_TYPE field is blank ^${PS}\s{32}${INPUT_STATUS} -> Record ^$$ -> Clearall - diff --git a/templates/cisco_ios_show_power_supplies.template b/templates/cisco_ios_show_power_supplies.template index 2427d14fa5..fae23b0df4 100644 --- a/templates/cisco_ios_show_power_supplies.template +++ b/templates/cisco_ios_show_power_supplies.template @@ -7,4 +7,6 @@ Value PS_AVAIL (\d) Start ^Power\ssupplies\sneeded\sby\ssystem\s+:\s${PS_NEEDED} -> Continue ^Power\ssupplies\scurrently\savailable\s+:\s${PS_AVAIL} - + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_processes_cpu.template b/templates/cisco_ios_show_processes_cpu.template index 820e91e2c2..3a5cf55676 100644 --- a/templates/cisco_ios_show_processes_cpu.template +++ b/templates/cisco_ios_show_processes_cpu.template @@ -5,3 +5,6 @@ Value INTERRUPTS (\d+) Start ^CPU utilization for five seconds:\W+${CPU_5_SEC}%/${INTERRUPTS}%; one minute:\W+${CPU_1_MIN}%; five minutes:\W+${CPU_5_MIN}% -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_redundancy.template b/templates/cisco_ios_show_redundancy.template index c3fec81037..b80e5b93e3 100644 --- a/templates/cisco_ios_show_redundancy.template +++ b/templates/cisco_ios_show_redundancy.template @@ -46,6 +46,9 @@ Start ^\s+Maintenance\s+Mode\s*=\s*${MAINTENANCE_MODE}\s*$$ ^\s+Communications\s*=\s*${COMMUNICATION_STATUS}\s*$$ ^\s+Current\s+Processor -> Current + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^\s*$$ ^. -> Error diff --git a/templates/cisco_ios_show_route-map.template b/templates/cisco_ios_show_route-map.template index 47730baa5b..2fb9c08412 100644 --- a/templates/cisco_ios_show_route-map.template +++ b/templates/cisco_ios_show_route-map.template @@ -8,6 +8,9 @@ Start ^route-map\s+${NAME},\s+${ACTION},\s+sequence\s+${SEQ}\s*$$ ^\s+Match\s+clauses -> Match ^\s+Set\s+clauses -> Set + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^.+ -> Error Match diff --git a/templates/cisco_ios_show_running-config_partition_access-list.template b/templates/cisco_ios_show_running-config_partition_access-list.template index 71215b62e2..c847e73b26 100644 --- a/templates/cisco_ios_show_running-config_partition_access-list.template +++ b/templates/cisco_ios_show_running-config_partition_access-list.template @@ -42,6 +42,9 @@ Start ^access-list\s+${ACL_NAME}\s+remark\s+${COMMENT}\s* -> Record # Catch all unuseful raw data ^(!\s*|$$|Building configuration.*|Current configuration.*|Configuration.*|end.*) + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is # Error out if raw data does not match any above rules. ^.* -> Error "Could not parse line:" diff --git a/templates/cisco_ios_show_running-config_partition_route-map.template b/templates/cisco_ios_show_running-config_partition_route-map.template index 6b0a16f680..39526751e3 100644 --- a/templates/cisco_ios_show_running-config_partition_route-map.template +++ b/templates/cisco_ios_show_running-config_partition_route-map.template @@ -19,6 +19,9 @@ Start ^! # Catch all unuseful raw data ^(!\s*|$$|Building configuration.*|Current configuration.*|Configuration.*|end.*) + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is # Error out if raw data does not match any above rules. ^.* -> Error "Could not parse line:" diff --git a/templates/cisco_ios_show_snmp_community.template b/templates/cisco_ios_show_snmp_community.template index d0469c2d62..f2155d170f 100644 --- a/templates/cisco_ios_show_snmp_community.template +++ b/templates/cisco_ios_show_snmp_community.template @@ -8,3 +8,6 @@ Start ^Community\sIndex:\s+${INDEX} ^Community\sSecurityName:\s+${SECURITY_NAME} ^storage-type:\s${STORAGE_TYPE} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_snmp_user.template b/templates/cisco_ios_show_snmp_user.template index 32c6e8e3bc..9de50f6cfe 100644 --- a/templates/cisco_ios_show_snmp_user.template +++ b/templates/cisco_ios_show_snmp_user.template @@ -14,5 +14,8 @@ Start ^Authentication\s+Protocol:\s+${AUTHENTICATION_PROTOCOL}$$ ^Privacy\s+Protocol:\s+${PRIVACY_PROTOCOL}$$ ^Group-name:\s+${GROUP_NAME}$$ -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^\s*$$ ^. -> Error diff --git a/templates/cisco_ios_show_spanning-tree.template b/templates/cisco_ios_show_spanning-tree.template index 9fd3f3a782..95f3c565bb 100644 --- a/templates/cisco_ios_show_spanning-tree.template +++ b/templates/cisco_ios_show_spanning-tree.template @@ -10,3 +10,6 @@ Value TYPE (.*) Start ^VLAN(0*)?${VLAN_ID} ^${INTERFACE}\s+${ROLE}\s+${STATUS}\s+${COST}\s+${PORT_PRIORITY}.${PORT_ID}\s+${TYPE} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_standby.template b/templates/cisco_ios_show_standby.template index 936924e063..cb6e45d3ce 100644 --- a/templates/cisco_ios_show_standby.template +++ b/templates/cisco_ios_show_standby.template @@ -30,3 +30,6 @@ Start ^.*Standby\s+router\s+is\s+${STANDBY_ROUTER}(,\s+priority\s+${STANDBY_ROUTER_PRIORITY})? ^.*Priority\s+${PRIORITY} ^.*Group\s+name\s+is\s+"${GROUP_NAME}" -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is diff --git a/templates/cisco_ios_show_standby_brief.template b/templates/cisco_ios_show_standby_brief.template index 741a0b6e44..d67bebd0a7 100644 --- a/templates/cisco_ios_show_standby_brief.template +++ b/templates/cisco_ios_show_standby_brief.template @@ -9,6 +9,9 @@ Value VIRTUALIP (\S+) Start ^Interface\s+Grp\s+Pri\s+P\s+State\s+Active\s+Standby\s+Virtual\s+IP\s*$$ -> Standby + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is Standby ^${IFACE}\s+${GROUP}\s+${PRIORITY}\s+${PREEMPT}\s+${STATE}\s+${ACTIVE}\s+${STANDBY}\s+${VIRTUALIP} -> Record diff --git a/templates/cisco_ios_show_tacacs.template b/templates/cisco_ios_show_tacacs.template index f3291e3b2a..9cd59c0c8d 100644 --- a/templates/cisco_ios_show_tacacs.template +++ b/templates/cisco_ios_show_tacacs.template @@ -23,4 +23,7 @@ Start ^\s+Total\s+Packets\s+Sent:\s+${PACKETS_SENT}\s*$$ ^\s+Total\s+Packets\s+Recv:\s+${PACKET_RECEIVED}\s*$$ ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is ^. -> Error diff --git a/templates/cisco_ios_show_version.template b/templates/cisco_ios_show_version.template index 63050b36cd..19129e6d7b 100644 --- a/templates/cisco_ios_show_version.template +++ b/templates/cisco_ios_show_version.template @@ -20,6 +20,9 @@ Start ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} ^Base [Ee]thernet MAC [Aa]ddress\s+:\s+${MAC} ^Switch Port -> Stack + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is Stack diff --git a/templates/cisco_ios_show_vlan.template b/templates/cisco_ios_show_vlan.template index 930397a0ff..e3c122021d 100644 --- a/templates/cisco_ios_show_vlan.template +++ b/templates/cisco_ios_show_vlan.template @@ -4,8 +4,11 @@ Value STATUS (\S+) Value List INTERFACES ([\w\./]+) Start - ^$$ + ^\s*$$ ^\w+\s+[NnAaMmEe]{4}.*$$ -> VLANS + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is VLANS ^\d+ -> Continue.Record diff --git a/templates/cisco_ios_show_vrf.template b/templates/cisco_ios_show_vrf.template index 4f61548c43..d326e3956e 100644 --- a/templates/cisco_ios_show_vrf.template +++ b/templates/cisco_ios_show_vrf.template @@ -5,6 +5,9 @@ Value List INTERFACES (\S+) Start ^\s+Name\s+Default RD\s+Protocols\s+Interfaces -> Start_record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is Start_record ^\s{2}\S+ -> Continue.Record diff --git a/templates/cisco_ios_show_vtp_status.template b/templates/cisco_ios_show_vtp_status.template index 95fe412f5e..7c354779c5 100644 --- a/templates/cisco_ios_show_vtp_status.template +++ b/templates/cisco_ios_show_vtp_status.template @@ -24,3 +24,6 @@ Start ^Maximum\sVLANs\s[s,S]upported\s[l,L]ocally\s+:\s${MAX_VLANS} ^Number\sof\sexisting\sVLANs\s+:\s${EXISTING_VLAN_COUNT} ^Configuration\s[r,R]evision\s+:\s${REVISION_NUMBER} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is From 954d2e578ccd1f5744bb5e2e9f7764dc2ad8ad2b Mon Sep 17 00:00:00 2001 From: JT Date: Sun, 3 Nov 2019 19:11:03 -0600 Subject: [PATCH 332/628] enchancement: Cisco voice vlan (ios/nxos) --- ...co_ios_show_interfaces_switchport.template | 2 + ...o_nxos_show_interfaces_switchport.template | 4 +- ...isco_ios_show_interfaces_switchport.parsed | 5 + ...ow_interfaces_switchport_voice_vlan.parsed | 48 ++++++ ..._show_interfaces_switchport_voice_vlan.raw | 140 ++++++++++++++++++ ...sco_nxos_show_interfaces_switchport.parsed | 3 + ...ow_interfaces_switchport_voice_vlan.parsed | 27 ++++ ..._show_interfaces_switchport_voice_vlan.raw | 63 ++++++++ 8 files changed, 291 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.parsed create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.raw create mode 100644 tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.parsed create mode 100644 tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.raw diff --git a/templates/cisco_ios_show_interfaces_switchport.template b/templates/cisco_ios_show_interfaces_switchport.template index ca3c3285b2..2bd6d62589 100644 --- a/templates/cisco_ios_show_interfaces_switchport.template +++ b/templates/cisco_ios_show_interfaces_switchport.template @@ -5,6 +5,7 @@ Value SWITCHPORT_NEGOTIATION (.+) Value MODE (.+) Value ACCESS_VLAN (\d+) Value NATIVE_VLAN (\d+) +Value VOICE_VLAN (\S+) Value TRUNKING_VLANS (.+) Start @@ -15,6 +16,7 @@ Start ^\s*Negotiation\s+of\s+Trunking:\s+${SWITCHPORT_NEGOTIATION} ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} + ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS} -> Record ^\s*Administrative\s+Mode ^\s*(?:Operational|Administrative)\s+(?:Trunking|Native\s+VLAN|private-vlan) diff --git a/templates/cisco_nxos_show_interfaces_switchport.template b/templates/cisco_nxos_show_interfaces_switchport.template index 2e738f1b75..3b3a4c4404 100644 --- a/templates/cisco_nxos_show_interfaces_switchport.template +++ b/templates/cisco_nxos_show_interfaces_switchport.template @@ -5,6 +5,7 @@ Value MODE (.+) Value ACCESS_VLAN (\d+) Value NATIVE_VLAN (\d+) Value TRUNKING_VLANS (\S+) +Value VOICE_VLAN (\S+) Start ^Name:\s+${INTERFACE} @@ -13,6 +14,7 @@ Start ^\s*Operational\s+Mode:\s+${MODE} ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} - ^\s*Trunking\s+VLANs\s+Allowed:\s+${TRUNKING_VLANS} -> Record + ^\s*Trunking\s+VLANs\s+Allowed:\s+${TRUNKING_VLANS} + ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} -> Record ^.+$$ ^. -> Error diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed index 391219aef4..b354b0dc31 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed @@ -8,6 +8,7 @@ parsed_sample: switchport: Enabled switchport_negotiation: 'Off' switchport_monitor: '' + voice_vlan: none trunking_vlans: ALL - access_vlan: '100' interface: Gi0/2 @@ -16,6 +17,7 @@ parsed_sample: switchport: Enabled switchport_negotiation: 'On' switchport_monitor: '' + voice_vlan: none trunking_vlans: ALL - access_vlan: '101' interface: Gi0/3 @@ -24,6 +26,7 @@ parsed_sample: switchport: Enabled switchport_negotiation: 'On' switchport_monitor: '' + voice_vlan: none trunking_vlans: ALL - access_vlan: '110' interface: Gi1/0 @@ -32,6 +35,7 @@ parsed_sample: switchport: Enabled switchport_negotiation: 'On' switchport_monitor: '' + voice_vlan: none trunking_vlans: ALL - access_vlan: '111' interface: Gi1/1 @@ -40,4 +44,5 @@ parsed_sample: switchport: Enabled switchport_negotiation: 'On' switchport_monitor: '' + voice_vlan: none trunking_vlans: ALL diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.parsed b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.parsed new file mode 100644 index 0000000000..b354b0dc31 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.parsed @@ -0,0 +1,48 @@ +--- +parsed_sample: + +- access_vlan: '1' + interface: Gi0/1 + mode: trunk + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'Off' + switchport_monitor: '' + voice_vlan: none + trunking_vlans: ALL +- access_vlan: '100' + interface: Gi0/2 + mode: static access + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'On' + switchport_monitor: '' + voice_vlan: none + trunking_vlans: ALL +- access_vlan: '101' + interface: Gi0/3 + mode: static access + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'On' + switchport_monitor: '' + voice_vlan: none + trunking_vlans: ALL +- access_vlan: '110' + interface: Gi1/0 + mode: static access + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'On' + switchport_monitor: '' + voice_vlan: none + trunking_vlans: ALL +- access_vlan: '111' + interface: Gi1/1 + mode: static access + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'On' + switchport_monitor: '' + voice_vlan: none + trunking_vlans: ALL diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.raw new file mode 100644 index 0000000000..7d31d5940b --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.raw @@ -0,0 +1,140 @@ + +Name: Gi0/1 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Appliance trust: none + +Name: Gi0/2 +Switchport: Enabled +Administrative Mode: dynamic auto +Operational Mode: static access +Administrative Trunking Encapsulation: negotiate +Operational Trunking Encapsulation: native +Negotiation of Trunking: On +Access Mode VLAN: 100 (PLC1) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Appliance trust: none + +Name: Gi0/3 +Switchport: Enabled +Administrative Mode: dynamic auto +Operational Mode: static access +Administrative Trunking Encapsulation: negotiate +Operational Trunking Encapsulation: native +Negotiation of Trunking: On +Access Mode VLAN: 101 (HMI1) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Appliance trust: none + +Name: Gi1/0 +Switchport: Enabled +Administrative Mode: dynamic auto +Operational Mode: static access +Administrative Trunking Encapsulation: negotiate +Operational Trunking Encapsulation: native +Negotiation of Trunking: On +Access Mode VLAN: 110 (PLC2) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Appliance trust: none + +Name: Gi1/1 +Switchport: Enabled +Administrative Mode: dynamic auto +Operational Mode: static access +Administrative Trunking Encapsulation: negotiate +Operational Trunking Encapsulation: native +Negotiation of Trunking: On +Access Mode VLAN: 111 (HMI2) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Appliance trust: none diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed index f48016af54..d83636d97b 100644 --- a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed +++ b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed @@ -8,6 +8,7 @@ parsed_sample: access_vlan: '3' native_vlan: '1' trunking_vlans: '1-4094' + voice_vlan: none - interface: Ethernet1/2 switchport: Enabled switchport_monitor: Not enabled @@ -15,6 +16,7 @@ parsed_sample: access_vlan: '1' native_vlan: '5' trunking_vlans: '1-4094' + voice_vlan: none - interface: Ethernet1/3 switchport: Enabled switchport_monitor: Not enabled @@ -22,3 +24,4 @@ parsed_sample: access_vlan: '1' native_vlan: '1' trunking_vlans: '1-4094' + voice_vlan: none diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.parsed b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.parsed new file mode 100644 index 0000000000..d83636d97b --- /dev/null +++ b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.parsed @@ -0,0 +1,27 @@ +--- +parsed_sample: + + - interface: Ethernet1/1 + switchport: Enabled + switchport_monitor: Not enabled + mode: access + access_vlan: '3' + native_vlan: '1' + trunking_vlans: '1-4094' + voice_vlan: none + - interface: Ethernet1/2 + switchport: Enabled + switchport_monitor: Not enabled + mode: trunk + access_vlan: '1' + native_vlan: '5' + trunking_vlans: '1-4094' + voice_vlan: none + - interface: Ethernet1/3 + switchport: Enabled + switchport_monitor: Not enabled + mode: trunk + access_vlan: '1' + native_vlan: '1' + trunking_vlans: '1-4094' + voice_vlan: none diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.raw b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.raw new file mode 100644 index 0000000000..a9fe82f43c --- /dev/null +++ b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.raw @@ -0,0 +1,63 @@ +Name: Ethernet1/1 + Switchport: Enabled + Switchport Monitor: Not enabled + Switchport Isolated : Not enabled + Switchport Block Multicast: Not enabled + Switchport Block Unicast: Not enabled + Operational Mode: access + Access Mode VLAN: 3 (Vlan not created) + Trunking Native Mode VLAN: 1 (default) + Trunking VLANs Allowed: 1-4094 + Voice VLAN: none + Extended Trust State : not trusted [COS = 0] + Administrative private-vlan primary host-association: none + Administrative private-vlan secondary host-association: none + Administrative private-vlan primary mapping: none + Administrative private-vlan secondary mapping: none + Administrative private-vlan trunk native VLAN: none + Administrative private-vlan trunk encapsulation: dot1q + Administrative private-vlan trunk normal VLANs: none + Administrative private-vlan trunk private VLANs: none + Operational private-vlan: none +Name: Ethernet1/2 + Switchport: Enabled + Switchport Monitor: Not enabled + Switchport Isolated : Not enabled + Switchport Block Multicast: Not enabled + Switchport Block Unicast: Not enabled + Operational Mode: trunk + Access Mode VLAN: 1 (default) + Trunking Native Mode VLAN: 5 (Vlan not created) + Trunking VLANs Allowed: 1-4094 + Voice VLAN: none + Extended Trust State : not trusted [COS = 0] + Administrative private-vlan primary host-association: none + Administrative private-vlan secondary host-association: none + Administrative private-vlan primary mapping: none + Administrative private-vlan secondary mapping: none + Administrative private-vlan trunk native VLAN: none + Administrative private-vlan trunk encapsulation: dot1q + Administrative private-vlan trunk normal VLANs: none + Administrative private-vlan trunk private VLANs: none + Operational private-vlan: none +Name: Ethernet1/3 + Switchport: Enabled + Switchport Monitor: Not enabled + Switchport Isolated : Not enabled + Switchport Block Multicast: Not enabled + Switchport Block Unicast: Not enabled + Operational Mode: trunk + Access Mode VLAN: 1 (default) + Trunking Native Mode VLAN: 1 (default) + Trunking VLANs Allowed: 1-4094 + Voice VLAN: none + Extended Trust State : not trusted [COS = 0] + Administrative private-vlan primary host-association: none + Administrative private-vlan secondary host-association: none + Administrative private-vlan primary mapping: none + Administrative private-vlan secondary mapping: none + Administrative private-vlan trunk native VLAN: none + Administrative private-vlan trunk encapsulation: dot1q + Administrative private-vlan trunk normal VLANs: none + Administrative private-vlan trunk private VLANs: none + Operational private-vlan: none From 0ef73e4e79737d1222757141cd91605dddabf000 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Sun, 3 Nov 2019 20:16:36 -0500 Subject: [PATCH 333/628] Update template to record on new entry (#528) --- templates/cisco_ios_show_interfaces_switchport.template | 3 ++- templates/cisco_nxos_show_interfaces_switchport.template | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_interfaces_switchport.template b/templates/cisco_ios_show_interfaces_switchport.template index 2bd6d62589..8a2c8a5b8a 100644 --- a/templates/cisco_ios_show_interfaces_switchport.template +++ b/templates/cisco_ios_show_interfaces_switchport.template @@ -9,6 +9,7 @@ Value VOICE_VLAN (\S+) Value TRUNKING_VLANS (.+) Start + ^Name: -> Continue.Record ^Name:\s+${INTERFACE} ^\s*Switchport:\s+${SWITCHPORT} ^\s*Switchport\s+Monitor:\s+${SWITCHPORT_MONITOR} @@ -17,7 +18,7 @@ Start ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} - ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS} -> Record + ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS} ^\s*Administrative\s+Mode ^\s*(?:Operational|Administrative)\s+(?:Trunking|Native\s+VLAN|private-vlan) ^\s*Voice\s+VLAN: diff --git a/templates/cisco_nxos_show_interfaces_switchport.template b/templates/cisco_nxos_show_interfaces_switchport.template index 3b3a4c4404..7460c85a32 100644 --- a/templates/cisco_nxos_show_interfaces_switchport.template +++ b/templates/cisco_nxos_show_interfaces_switchport.template @@ -8,6 +8,7 @@ Value TRUNKING_VLANS (\S+) Value VOICE_VLAN (\S+) Start + ^Name: -> Continue.Record ^Name:\s+${INTERFACE} ^\s*Switchport:\s+${SWITCHPORT} ^\s*Switchport\s+Monitor:\s+${SWITCHPORT_MONITOR} @@ -15,6 +16,6 @@ Start ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} ^\s*Trunking\s+VLANs\s+Allowed:\s+${TRUNKING_VLANS} - ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} -> Record + ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} ^.+$$ ^. -> Error From e6ec399a554797551fff657fd64eace16231bc84 Mon Sep 17 00:00:00 2001 From: ccorvese Date: Mon, 4 Nov 2019 13:23:40 -0500 Subject: [PATCH 334/628] Enhancement - fortinet - get router info bgp summary (#529) --- ...rtios_get_router_info_bgp_summary.template | 9 +++++++++ templates/index | 2 ++ .../get_router_info_bgp_summary.parsed | 19 +++++++++++++++++++ .../get_router_info_bgp_summary.raw | 13 +++++++++++++ tests/test_index_order.py | 2 +- 5 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 templates/fortinet_fortios_get_router_info_bgp_summary.template create mode 100644 tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.parsed create mode 100644 tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw diff --git a/templates/fortinet_fortios_get_router_info_bgp_summary.template b/templates/fortinet_fortios_get_router_info_bgp_summary.template new file mode 100644 index 0000000000..e84829a2ae --- /dev/null +++ b/templates/fortinet_fortios_get_router_info_bgp_summary.template @@ -0,0 +1,9 @@ +Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) +Value NEIGH_AS (\d+) +Value UP_DOWN (\w+) +Value STATE_PFXRCD (\w+) + +Start + ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(?:\s+\S+\s+){5}${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + +EOF \ No newline at end of file diff --git a/templates/index b/templates/index index 863cbf98c6..77550cd04c 100644 --- a/templates/index +++ b/templates/index @@ -299,6 +299,8 @@ dell_force10_show_version.template, .*, dell_force10, sh[[ow]] ver[[sion]] dell_force10_show_vlan.template, .*, dell_force10, sh[[ow]] vl[[an]] dell_force10_show_arp.template, .*, dell_force10, sh[[ow]] ar[[p]] +fortinet_fortios_get_router_info_bgp_summary.template, .*, fortinet_fortios, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] + hp_comware_display_counters_bound_interface.template, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] hp_comware_display_mac-address.template, .*, hp_comware, di[[splay]] mac-ad[[dress]] hp_comware_display_vlan_brief.template, .*, hp_comware, di[[splay]] v[[lan]] b[[rief]] diff --git a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.parsed b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.parsed new file mode 100644 index 0000000000..be5e863b47 --- /dev/null +++ b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.parsed @@ -0,0 +1,19 @@ +--- +parsed_sample: + +- bgp_neigh: 10.204.35.84 + neigh_as: '65302' + state_pfxrcd: Active + up_down: 09w3d01h +- bgp_neigh: 10.205.35.95 + neigh_as: '65302' + state_pfxrcd: '1' + up_down: 04w5d09h +- bgp_neigh: 169.132.250.17 + neigh_as: '4224' + state_pfxrcd: Idle + up_down: never +- bgp_neigh: 169.132.250.21 + neigh_as: '4224' + state_pfxrcd: Idle + up_down: never \ No newline at end of file diff --git a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw new file mode 100644 index 0000000000..edb39ced2f --- /dev/null +++ b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw @@ -0,0 +1,13 @@ +BGP router identifier 85.31.8.8, local AS number 65302 +BGP table version is 13 +1 BGP AS-PATH entries +0 BGP community entries + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.204.35.84 4 65302 43173 43182 0 0 0 09w3d01h Active +10.205.35.95 4 65302 107081 107168 12 0 0 04w5d09h 1 +169.132.250.17 4 4224 0 0 0 0 0 never Idle +169.132.250.21 4 4224 0 0 0 0 0 never Idle + +Total number of neighbors 4 + diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 922d602db3..40c300ad3d 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -61,7 +61,7 @@ def test_index_ordering(): 'brocade_fastiron', 'brocade_netiron', 'brocade_nos', 'brocade_vdx', 'brocade_vyos', 'checkpoint_gaia', 'ciena_6x', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', 'cisco_wlc', 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', - 'fortinet', 'hp_comware', 'hp_procurve', 'huawei_vrp', 'juniper', 'juniper_junos', + 'fortinet_fortios', 'hp_comware', 'hp_procurve', 'huawei_vrp', 'juniper', 'juniper_junos', 'juniper_screenos', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh','ruckus_fastiron', 'ubiquiti_edgeswitch', 'vmware_nsxv', 'vyatta_vyos', 'vyos', 'watchguard_firebox', ] From 020b915cb53066d4f11dd9ea95263709d0b67d0e Mon Sep 17 00:00:00 2001 From: aSauerwein Date: Mon, 4 Nov 2019 22:19:43 +0100 Subject: [PATCH 335/628] Enhancement: NXOS - show interface - add capture for last_link_flaped (#531) --- templates/cisco_nxos_show_interface.template | 2 + .../cisco_nxos_show_interface.parsed | 3 + .../cisco_nxos_show_interface2.parsed | 6 + .../cisco_nxos_show_interface3.parsed | 60 +++++++++ .../cisco_nxos_show_interface3.raw | 117 ++++++++++++++++++ 5 files changed, 188 insertions(+) create mode 100644 tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.parsed create mode 100644 tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.raw diff --git a/templates/cisco_nxos_show_interface.template b/templates/cisco_nxos_show_interface.template index ac74b48517..d39a5d8c4f 100644 --- a/templates/cisco_nxos_show_interface.template +++ b/templates/cisco_nxos_show_interface.template @@ -16,6 +16,7 @@ Value OUTPUT_ERRORS (\d+) Value BANDWIDTH (\d+\s+\w+) Value DELAY (\d+\s+\w+) Value ENCAPSULATION (\w+) +Value LAST_LINK_FLAPPED (.+?) Start ^\S+\s+is.+ -> Continue.Record @@ -32,3 +33,4 @@ Start ^\s+${INPUT_ERRORS}\s+input\s+error\s+\d+\s+short\s+frame\s+\d+\s+overrun\s+\d+\s+underrun\s+\d+\s+ignored\s*$$ ^\s+${OUTPUT_PACKETS}\s+output\s+packets\s+\d+\s+bytes\s*$$ ^\s+${OUTPUT_ERRORS}\s+output\s+error\s+\d+\s+collision\s+\d+\s+deferred\s+\d+\s+late\s+collision\s*$$ + ^\s+Last\s+link\s+flapped\s+${LAST_LINK_FLAPPED}\s*$$ diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed index 99339379db..de345534df 100644 --- a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed @@ -19,6 +19,7 @@ parsed_sample: output_errors: '' output_packets: '' speed: '' + last_link_flapped: '' - address: 5087.89a1.d8ce admin_state: up bandwidth: 100000 Kbit @@ -37,6 +38,7 @@ parsed_sample: output_errors: '' output_packets: '' speed: 100 Mb/s + last_link_flapped: '' - address: 5087.89a1.d8d6 admin_state: up bandwidth: 10000000 Kbit @@ -55,3 +57,4 @@ parsed_sample: output_errors: '0' output_packets: '754962' speed: 10 Gb/s + last_link_flapped: '2week(s) 1day(s)' diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed index 933e920b66..7893401d14 100644 --- a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed @@ -19,6 +19,7 @@ parsed_sample: output_errors: '' output_packets: '' speed: '' + last_link_flapped: '' - address: 00de.fb01.c921 admin_state: up bandwidth: 1000000 Kbit @@ -37,6 +38,7 @@ parsed_sample: output_errors: '' output_packets: '' speed: '' + last_link_flapped: '' - address: 00de.fb01.c933 admin_state: up bandwidth: 1000000 Kbit @@ -55,6 +57,7 @@ parsed_sample: output_errors: '' output_packets: '' speed: '' + last_link_flapped: '' - address: 00de.fb01.c9ab admin_state: up bandwidth: 1000000 Kbit @@ -73,6 +76,7 @@ parsed_sample: output_errors: '' output_packets: '' speed: '' + last_link_flapped: '' - address: 00de.fb01.c9ef admin_state: up bandwidth: 1000000 Kbit @@ -91,6 +95,7 @@ parsed_sample: output_errors: '' output_packets: '' speed: '' + last_link_flapped: '' - address: 0000.d200.0000 admin_state: '' bandwidth: 23 Kbit @@ -109,3 +114,4 @@ parsed_sample: output_errors: '0' output_packets: '6018158' speed: auto-speed + last_link_flapped: '14week(s) 5day(s)' diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.parsed b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.parsed new file mode 100644 index 0000000000..6e559bd538 --- /dev/null +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.parsed @@ -0,0 +1,60 @@ +--- +parsed_sample: + +- address: 8c60.4f4e.93a8 + admin_state: '' + bandwidth: 10000000 Kbit + bia: 8c60.4f4e.93a8 + delay: 10 usec + description: Uplink Fex131 + duplex: full-duplex + encapsulation: ARPA + hardware_type: 1000/10000 Ethernet + input_errors: '0' + input_packets: '1904255804289' + interface: Ethernet1/1 + ip_address: '' + last_link_flapped: 974week(s) 3day(s) + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '1622670682523' + speed: 10 Gb/s +- address: 8c60.4f4e.93a9 + admin_state: '' + bandwidth: 10000000 Kbit + bia: 8c60.4f4e.93a9 + delay: 10 usec + description: Uplink Fex131 + duplex: full-duplex + encapsulation: ARPA + hardware_type: 1000/10000 Ethernet + input_errors: '0' + input_packets: '2550828809539' + interface: Ethernet1/2 + ip_address: '' + last_link_flapped: 974week(s) 3day(s) + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '1772852817915' + speed: 10 Gb/s +- address: 8c60.4f4e.93aa + admin_state: '' + bandwidth: 10000000 Kbit + bia: 8c60.4f4e.93aa + delay: 10 usec + description: Uplink Fex121 + duplex: full-duplex + encapsulation: ARPA + hardware_type: 1000/10000 Ethernet + input_errors: '0' + input_packets: '463908844435' + interface: Ethernet1/3 + ip_address: '' + last_link_flapped: 974week(s) 3day(s) + link_status: up + mtu: '1500' + output_errors: '0' + output_packets: '476279029463' + speed: 10 Gb/s diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.raw b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.raw new file mode 100644 index 0000000000..cbb10781e8 --- /dev/null +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.raw @@ -0,0 +1,117 @@ +Ethernet1/1 is up + Dedicated Interface + Belongs to Po131 + Hardware: 1000/10000 Ethernet, address: 8c60.4f4e.93a8 (bia 8c60.4f4e.93a8) + Description: Uplink Fex131 + MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA + Port mode is fex-fabric + full-duplex, 10 Gb/s, media type is 10G + Beacon is turned off + Input flow-control is off, output flow-control is off + Rate mode is dedicated + Switchport monitor is off + EtherType is 0x8100 + Last link flapped 974week(s) 3day(s) + Last clearing of "show interface" counters never + 1 interface resets + 30 seconds input rate 32346224 bits/sec, 8793 packets/sec + 30 seconds output rate 47982536 bits/sec, 9411 packets/sec + Load-Interval #2: 5 minute (300 seconds) + input rate 36.01 Mbps, 9.23 Kpps; output rate 49.26 Mbps, 9.77 Kpps + RX + 1903413812337 unicast packets 219094882 multicast packets 622897070 broadcast packets + 1904255804289 input packets 1909306429752104 bytes + 987336110118 jumbo packets 0 storm suppression bytes + 0 runts 0 giants 0 CRC 0 no buffer + 0 input error 0 short frame 0 overrun 0 underrun 0 ignored + 0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop + 0 input with dribble 193274 input discard + 0 Rx pause + TX + 1601284660049 unicast packets 13299704580 multicast packets 8086317894 broadcast packets + 1622670682523 output packets 1387104438655786 bytes + 684393029155 jumbo packets + 0 output error 0 collision 0 deferred 0 late collision + 0 lost carrier 0 no carrier 0 babble 133470 output discard + 0 Tx pause + +Ethernet1/2 is up + Dedicated Interface + Belongs to Po131 + Hardware: 1000/10000 Ethernet, address: 8c60.4f4e.93a9 (bia 8c60.4f4e.93a9) + Description: Uplink Fex131 + MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA + Port mode is fex-fabric + full-duplex, 10 Gb/s, media type is 10G + Beacon is turned off + Input flow-control is off, output flow-control is off + Rate mode is dedicated + Switchport monitor is off + EtherType is 0x8100 + Last link flapped 974week(s) 3day(s) + Last clearing of "show interface" counters never + 1 interface resets + 30 seconds input rate 21147496 bits/sec, 5254 packets/sec + 30 seconds output rate 31222448 bits/sec, 6805 packets/sec + Load-Interval #2: 5 minute (300 seconds) + input rate 22.42 Mbps, 5.61 Kpps; output rate 39.75 Mbps, 7.63 Kpps + RX + 2550054589331 unicast packets 129905052 multicast packets 644315156 broadcast packets + 2550828809539 input packets 2823270896659984 bytes + 1680152855934 jumbo packets 0 storm suppression bytes + 0 runts 0 giants 0 CRC 0 no buffer + 0 input error 0 short frame 0 overrun 0 underrun 0 ignored + 0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop + 0 input with dribble 82750 input discard + 0 Rx pause + TX + 1754604611168 unicast packets 6811367807 multicast packets 11436838940 broadcast packets + 1772852817915 output packets 1766162885103164 bytes + 876474626578 jumbo packets + 0 output error 0 collision 0 deferred 0 late collision + 0 lost carrier 0 no carrier 0 babble 160093 output discard + 0 Tx pause + +Ethernet1/3 is up + Dedicated Interface + Belongs to Po121 + Hardware: 1000/10000 Ethernet, address: 8c60.4f4e.93aa (bia 8c60.4f4e.93aa) + Description: Uplink Fex121 + MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA + Port mode is fex-fabric + full-duplex, 10 Gb/s, media type is 10G + Beacon is turned off + Input flow-control is off, output flow-control is off + Rate mode is dedicated + Switchport monitor is off + EtherType is 0x8100 + Last link flapped 974week(s) 3day(s) + Last clearing of "show interface" counters never + 1 interface resets + 30 seconds input rate 14428688 bits/sec, 1550 packets/sec + 30 seconds output rate 1487168 bits/sec, 884 packets/sec + Load-Interval #2: 5 minute (300 seconds) + input rate 14.39 Mbps, 1.52 Kpps; output rate 1.29 Mbps, 826 pps + RX + 461973309464 unicast packets 788660399 multicast packets 1146874572 broadcast packets + 463908844435 input packets 347263876335683 bytes + 36111355157 jumbo packets 0 storm suppression bytes + 0 runts 0 giants 0 CRC 0 no buffer + 0 input error 0 short frame 0 overrun 0 underrun 0 ignored + 0 watchdog 0 bad etype drop 0 bad proto drop 0 if down drop + 0 input with dribble 0 input discard + 0 Rx pause + TX + 464888191798 unicast packets 3304335856 multicast packets 8086501809 broadcast packets + 476279029463 output packets 301080257321094 bytes + 10471533142 jumbo packets + 0 output error 0 collision 0 deferred 0 late collision + 0 lost carrier 0 no carrier 0 babble 8366 output discard + 0 Tx pause + From 9314e52e06e945b227539720de7b4fdee950dbce Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 4 Nov 2019 14:41:06 -0700 Subject: [PATCH 336/628] bugfix: cisco_ios_show_snmp_user - Changed regex to use non-whitespace --- templates/cisco_ios_show_snmp_user.template | 12 ++++++------ .../show_snmp_user/cisco_ios_show_snmp_user.parsed | 7 +++++++ .../show_snmp_user/cisco_ios_show_snmp_user.raw | 7 +++++++ 3 files changed, 20 insertions(+), 6 deletions(-) diff --git a/templates/cisco_ios_show_snmp_user.template b/templates/cisco_ios_show_snmp_user.template index 9de50f6cfe..dea323b2b1 100644 --- a/templates/cisco_ios_show_snmp_user.template +++ b/templates/cisco_ios_show_snmp_user.template @@ -1,10 +1,10 @@ -Value Required USER_NAME (\w+) -Value ENGINE_ID (\w+) -Value STORAGE_TYPE (\w+) +Value Required USER_NAME (\S+) +Value ENGINE_ID (\S+) +Value STORAGE_TYPE (\S+) Value ACCESS_LIST (.*) -Value AUTHENTICATION_PROTOCOL (\w+) -Value PRIVACY_PROTOCOL (\w+) -Value GROUP_NAME (\w+) +Value AUTHENTICATION_PROTOCOL (\S+) +Value PRIVACY_PROTOCOL (\S+) +Value GROUP_NAME (\S+) Start ^User\s+name:\s+${USER_NAME}$$ diff --git a/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed index 9aa4915131..087e3df634 100644 --- a/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed +++ b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed @@ -14,3 +14,10 @@ parsed_sample: privacy_protocol: AES128 storage_type: nonvolatile user_name: user_snmp2 +- access_list: '' + authentication_protocol: None + engine_id: 8000000903005E0000010000 + group_name: test-group + privacy_protocol: "-" + storage_type: nonvolatile + user_name: test-user diff --git a/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.raw b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.raw index 9d0fbff33b..d76afcd5ae 100644 --- a/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.raw +++ b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.raw @@ -12,3 +12,10 @@ storage-type: nonvolatile active access-list: 10 Authentication Protocol: SHA Privacy Protocol: AES128 Group-name: managerpriv + +User name: test-user +Engine ID: 8000000903005E0000010000 +storage-type: nonvolatile active +Authentication Protocol: None +Privacy Protocol: - +Group-name: test-group From fa2b10ff2c5115f0a4c53f4ab994df5cf055e18b Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 4 Nov 2019 15:26:01 -0700 Subject: [PATCH 337/628] New Template: IOS - show license (#533) --- templates/cisco_ios_show_license.template | 20 +++++ templates/index | 1 + .../cisco_ios_show_license.parsed | 73 +++++++++++++++++++ .../show_license/cisco_ios_show_license.raw | 60 +++++++++++++++ 4 files changed, 154 insertions(+) create mode 100644 templates/cisco_ios_show_license.template create mode 100644 tests/cisco_ios/show_license/cisco_ios_show_license.parsed create mode 100644 tests/cisco_ios/show_license/cisco_ios_show_license.raw diff --git a/templates/cisco_ios_show_license.template b/templates/cisco_ios_show_license.template new file mode 100644 index 0000000000..bfab42a1a1 --- /dev/null +++ b/templates/cisco_ios_show_license.template @@ -0,0 +1,20 @@ +Value FEATURE (\S+) +Value PERIOD_LEFT (.*) +Value PERIOD_USED (.*) +Value LICENSE_TYPE (.*) +Value LICENSE_STATE (.*) +Value LICENSE_COUNT (.*) +Value LICENSE_PRIORITY (.*) + +Start + ^Index\s+\d+\s+Feature: -> Continue.Record + ^Index\s+\d+\s+Feature:\s+${FEATURE}$$ + ^\s+Period\s+left:\s+${PERIOD_LEFT}$$ + ^\s+Period\s+Used:\s+${PERIOD_USED}$$ + ^\s+License\s+Type:\s+${LICENSE_TYPE}$$ + ^\s+License\s+State:\s+${LICENSE_STATE}$$ + ^\s+License\s+Count:\s+${LICENSE_COUNT}$$ + ^\s+License\s+Priority:\s+${LICENSE_PRIORITY}$$ + ^\s*$$ + ^. -> Error + diff --git a/templates/index b/templates/index index 77550cd04c..e60424f35e 100644 --- a/templates/index +++ b/templates/index @@ -185,6 +185,7 @@ cisco_ios_show_snmp_user.template, .*, cisco_ios, sh[[ow]] sn[[mp]] u[[ser]] cisco_ios_show_ip_route.template, .*, cisco_ios, sh[[ow]] ip r[[oute]] cisco_ios_show_aliases.template, .*, cisco_ios, sh[[ow]] alia[[ses]] cisco_ios_show_archive.template, .*, cisco_ios, sh[[ow]] arc[[hive]] +cisco_ios_show_license.template, .*, cisco_ios, sh[[ow]] lic[[ense]] cisco_ios_show_standby.template, .*, cisco_ios, sh[[ow]] sta[[ndby]] cisco_ios_show_version.template, .*, cisco_ios, sh[[ow]] ver[[sion]] cisco_ios_show_ip_arp.template, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] diff --git a/tests/cisco_ios/show_license/cisco_ios_show_license.parsed b/tests/cisco_ios/show_license/cisco_ios_show_license.parsed new file mode 100644 index 0000000000..4284526fdc --- /dev/null +++ b/tests/cisco_ios/show_license/cisco_ios_show_license.parsed @@ -0,0 +1,73 @@ +--- +parsed_sample: + +- feature: appxk9 + license_count: Non-Counted + license_priority: Medium + license_state: Active, In Use + license_type: Permanent + period_left: Life time + period_used: '' +- feature: uck9 + license_count: Non-Counted + license_priority: None + license_state: Active, Not in Use, EULA not accepted + license_type: EvalRightToUse + period_left: Not Activated + period_used: 0 minute 0 second +- feature: securityk9 + license_count: Non-Counted + license_priority: Medium + license_state: Active, In Use + license_type: Permanent + period_left: Life time + period_used: '' +- feature: ipbasek9 + license_count: Non-Counted + license_priority: Medium + license_state: Active, In Use + license_type: Permanent + period_left: Life time + period_used: '' +- feature: FoundationSuiteK9 + license_count: Non-Counted + license_priority: None + license_state: Active, Not in Use, EULA not accepted + license_type: EvalRightToUse + period_left: Not Activated + period_used: 0 minute 0 second +- feature: AdvUCSuiteK9 + license_count: Non-Counted + license_priority: None + license_state: Active, Not in Use, EULA not accepted + license_type: EvalRightToUse + period_left: Not Activated + period_used: 0 minute 0 second +- feature: cme-srst + license_count: 0/0 (In-use/Violation) + license_priority: None + license_state: Active, Not in Use, EULA not accepted + license_type: EvalRightToUse + period_left: Not Activated + period_used: 0 minute 0 second +- feature: hseck9 + license_count: Non-Counted + license_priority: Medium + license_state: Active, In Use + license_type: Permanent + period_left: Life time + period_used: '' +- feature: throughput + license_count: Non-Counted + license_priority: None + license_state: Active, Not in Use, EULA not accepted + license_type: EvalRightToUse + period_left: Not Activated + period_used: 0 minute 0 second +- feature: internal_service + license_count: '' + license_priority: '' + license_state: '' + license_type: '' + period_left: '' + period_used: '' diff --git a/tests/cisco_ios/show_license/cisco_ios_show_license.raw b/tests/cisco_ios/show_license/cisco_ios_show_license.raw new file mode 100644 index 0000000000..e10379806d --- /dev/null +++ b/tests/cisco_ios/show_license/cisco_ios_show_license.raw @@ -0,0 +1,60 @@ +Index 1 Feature: appxk9 + Period left: Life time + License Type: Permanent + License State: Active, In Use + License Count: Non-Counted + License Priority: Medium +Index 2 Feature: uck9 + Period left: Not Activated + Period Used: 0 minute 0 second + License Type: EvalRightToUse + License State: Active, Not in Use, EULA not accepted + License Count: Non-Counted + License Priority: None +Index 3 Feature: securityk9 + Period left: Life time + License Type: Permanent + License State: Active, In Use + License Count: Non-Counted + License Priority: Medium +Index 4 Feature: ipbasek9 + Period left: Life time + License Type: Permanent + License State: Active, In Use + License Count: Non-Counted + License Priority: Medium +Index 5 Feature: FoundationSuiteK9 + Period left: Not Activated + Period Used: 0 minute 0 second + License Type: EvalRightToUse + License State: Active, Not in Use, EULA not accepted + License Count: Non-Counted + License Priority: None +Index 6 Feature: AdvUCSuiteK9 + Period left: Not Activated + Period Used: 0 minute 0 second + License Type: EvalRightToUse + License State: Active, Not in Use, EULA not accepted + License Count: Non-Counted + License Priority: None +Index 7 Feature: cme-srst + Period left: Not Activated + Period Used: 0 minute 0 second + License Type: EvalRightToUse + License State: Active, Not in Use, EULA not accepted + License Count: 0/0 (In-use/Violation) + License Priority: None +Index 8 Feature: hseck9 + Period left: Life time + License Type: Permanent + License State: Active, In Use + License Count: Non-Counted + License Priority: Medium +Index 9 Feature: throughput + Period left: Not Activated + Period Used: 0 minute 0 second + License Type: EvalRightToUse + License State: Active, Not in Use, EULA not accepted + License Count: Non-Counted + License Priority: None +Index 10 Feature: internal_service From 9e0ce412c973830a0a242266be8c62e45e5d6a9a Mon Sep 17 00:00:00 2001 From: timjsmith24 Date: Fri, 8 Nov 2019 09:24:24 -0500 Subject: [PATCH 338/628] New Template: WLC - show advanced 802.11 channel (#526) --- ...ssh_show_advanced_802.11a_channel.template | 52 +++++++++++++++++++ templates/index | 1 + ...c_ssh_show_advanced_802.11a_channel.parsed | 21 ++++++++ ..._wlc_ssh_show_advanced_802.11a_channel.raw | 37 +++++++++++++ 4 files changed, 111 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_advanced_802.11a_channel.template create mode 100644 tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.parsed create mode 100644 tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.raw diff --git a/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.template b/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.template new file mode 100644 index 0000000000..ce40bed4a5 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.template @@ -0,0 +1,52 @@ +Value ASSIGN_MODE (\w+) +Value UPDATE_TIME (\d+ \w+) +Value ANCHOR_TIME (\d+) +Value NOISE (\w+) +Value INTERFER (\w+) +Value LOAD (\w+) +Value DEVICE_AWARE (\w+) +Value CLEANAIR_DRIVEN (\w+) +Value LEADER (\w+) +Value DCA_SENSITIVITY (\w+ \(\d+ dB\)) +Value DCA_WIDTH (\d+ \w+) +Value DCA_MIN (-\d+ dBm) +Value List DCA_CHANNELS ((\d+,?)*?) +Value List UNUSED_DCA_CHANNELS ((\d+,?)*?) + +Start + ^\s*Leader\sAutomatic\sChannel\sAssignments*$$ + ^\s+Channel\sAssignment\sMode\.*\s${ASSIGN_MODE}s*$$ + ^\s+Channel\sUpdate\sInterval\.*\s${UPDATE_TIME}s*$$ + ^\s+Anchor\stime\s\(Hour\sof\sthe day\)\.*\s+${ANCHOR_TIME}\s+s*$$ + ^\s+Update\sContributions*$$ + ^\s+Noise\.*\s${NOISE}s*$$ + ^\s+Interference\.*\s${INTERFER}s*$$ + ^\s+Load\.*\s${LOAD}s*$$ + ^\s+Device\sAware\.*\s${DEVICE_AWARE}s*$$ + ^\s+CleanAir\sEvent-driven\sRRM option\.*\s${CLEANAIR_DRIVEN}s*$$ + ^\s+Channel\sAssignment\sLeader\.*\s+${LEADER}\s+\(([\d1-9]+\.?){4}\)\s+\(\:\:\)s*$$ + ^\s+Last\s+Run\.*\s+\d+\s+seconds\s+agos*$$ + ^\s+Last\s+Run\s+Time\.*\s+\d+\s+secondss*$$ + ^\s+DCA\sSensitivity\sLevel\:?\s?\.*\s${DCA_SENSITIVITY}s*$$ + ^\s+DCA\s\S+\sChannel\sWidth\.*\s${DCA_WIDTH}s*$$ + ^\s+DCA\sMinimum\sEnergy\sLimit\.*\s${DCA_MIN}s*$$ + ^\s+Channel\sEnergy\sLevels + ^\s+Minimum + ^\s+Average + ^\s+Maximum + ^\s+Channel\sDwell\sTimes + ^\s+802\.11a\s5\sGHz\sAuto\-RF Channel Lists*$$ -> Channels + ^.*Allowed\sChannel\sList + ^\s+Unused\sChannel\sList + ^\s+\d+,? + ^\s+DCA\sOutdoor\sAP\soption + ^\s*$$ + ^. -> Error + +Channels + ^.*Allowed\sChannel\sList\.*\s${DCA_CHANNELS}s*$$ + ^\s+${DCA_CHANNELS}s*$$ + ^\s+Unused Channel List.*\s${UNUSED_DCA_CHANNELS}s*$$ + ^\s+802.11a\s4.9\sGHz\sAuto-RF Channel Lists*$$ -> Start + + diff --git a/templates/index b/templates/index index e60424f35e..086296e33d 100644 --- a/templates/index +++ b/templates/index @@ -244,6 +244,7 @@ cisco_nxos_show_fex.template, .*, cisco_nxos, sh[[ow]] fex cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf +cisco_wlc_ssh_show_advanced_802.11a_channel.template, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]] cisco_wlc_ssh_show_802.11a_cleanair_config.template, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]] cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_rf-profile_summary.template, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] diff --git a/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.parsed b/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.parsed new file mode 100644 index 0000000000..d42a16f80c --- /dev/null +++ b/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.parsed @@ -0,0 +1,21 @@ +--- +parsed_sample: +- anchor_time: '0' + assign_mode: 'OFF' + cleanair_driven: Disabled + dca_channels: + - 36,40,44,48,52,56,60,64,100, + - 104,108,112,116,120,124,128, + - 132,136,140,144,149,153,157, + - '161' + dca_min: -95 dBm + dca_sensitivity: MEDIUM (15 dB) + dca_width: 20 MHz + device_aware: Disable + interfer: Enable + leader: Cisco_lab + load: Disable + noise: Enable + unused_dca_channels: + - '165' + update_time: 600 seconds diff --git a/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.raw b/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.raw new file mode 100644 index 0000000000..d69b0a8186 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.raw @@ -0,0 +1,37 @@ + + Leader Automatic Channel Assignment + Channel Assignment Mode........................ OFF + Channel Update Interval........................ 600 seconds + Anchor time (Hour of the day).................. 0 + Update Contribution + Noise........................................ Enable + Interference................................. Enable + Load......................................... Disable + Device Aware................................. Disable + CleanAir Event-driven RRM option............... Disabled + Channel Assignment Leader...................... Cisco_lab (192.168.1.11) (::) + Last Run....................................... 448 seconds ago + Last Run Time.................................. 0 seconds + DCA Sensitivity Level.......................... MEDIUM (15 dB) + DCA 802.11n/ac Channel Width................... 20 MHz + DCA Minimum Energy Limit....................... -95 dBm + Channel Energy Levels + Minimum...................................... unknown + Average...................................... unknown + Maximum...................................... unknown + Channel Dwell Times + Minimum...................................... unknown + Average...................................... unknown + Maximum...................................... unknown + 802.11a 5 GHz Auto-RF Channel List + Allowed Channel List......................... 36,40,44,48,52,56,60,64,100, + 104,108,112,116,120,124,128, + 132,136,140,144,149,153,157, + 161 + Unused Channel List.......................... 165 + 802.11a 4.9 GHz Auto-RF Channel List + Allowed Channel List......................... + Unused Channel List.......................... 1,2,3,4,5,6,7,8,9,10,11,12, + 13,14,15,16,17,18,19,20,21, + 22,23,24,25,26 + DCA Outdoor AP option.......................... Disabled From 2fa9ee659f925e4e70abf72116958e29ed9b7990 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 11 Nov 2019 07:42:36 -0700 Subject: [PATCH 339/628] bug_fix: cisco_ios_show_interfaces_switchport - accounted more data --- ...co_ios_show_interfaces_switchport.template | 1 + ...isco_ios_show_interfaces_switchport.parsed | 9 ++++++ .../cisco_ios_show_interfaces_switchport.raw | 30 +++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/templates/cisco_ios_show_interfaces_switchport.template b/templates/cisco_ios_show_interfaces_switchport.template index 8a2c8a5b8a..2bd64f3ee0 100644 --- a/templates/cisco_ios_show_interfaces_switchport.template +++ b/templates/cisco_ios_show_interfaces_switchport.template @@ -25,6 +25,7 @@ Start ^\s*Pruning\s+VLANs ^\s*Capture\s+(?:Mode|VLANs) ^\s*Protected + ^\s*Unknown\s+(unicast|multicast) ^\s*Appliance\s+trust ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed index b354b0dc31..0e126cb944 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed @@ -46,3 +46,12 @@ parsed_sample: switchport_monitor: '' voice_vlan: none trunking_vlans: ALL +- access_vlan: '1' + interface: Fa0/1 + mode: static access + native_vlan: '1' + switchport: Enabled + switchport_negotiation: 'On' + switchport_monitor: '' + voice_vlan: none + trunking_vlans: ALL diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw index 7d31d5940b..3dcc549fec 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw @@ -138,3 +138,33 @@ Capture VLANs Allowed: ALL Protected: false Appliance trust: none + +Name: Fa0/1 +Switchport: Enabled +Administrative Mode: dynamic auto +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Appliance trust: none From 03f50fe1ee5084e7712f6ac229d53d561f6497c3 Mon Sep 17 00:00:00 2001 From: robert tayar Date: Tue, 12 Nov 2019 10:17:38 -0500 Subject: [PATCH 340/628] new_template: cisco_ios_show_environment_temperature.template --- ..._ios_show_environment_temperature.template | 32 +++++++++++++++++++ templates/index | 1 + ...co_ios_show_environment_temperature.parsed | 22 +++++++++++++ ...cisco_ios_show_environment_temperature.raw | 20 ++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 templates/cisco_ios_show_environment_temperature.template create mode 100644 tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.parsed create mode 100644 tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.raw diff --git a/templates/cisco_ios_show_environment_temperature.template b/templates/cisco_ios_show_environment_temperature.template new file mode 100644 index 0000000000..75ecfd7f91 --- /dev/null +++ b/templates/cisco_ios_show_environment_temperature.template @@ -0,0 +1,32 @@ +Value SWITCH (\d+) +Value SWITCH_TEMPERATURE (\w+) +Value INLET_TEMPERATURE_VALUE (\d+) +Value INLET_TEMPERATURE_STATE (\S+) +Value INLET_YELLOW_THRESHOLD (\d+) +Value INLET_RED_THRESHOLD (\d+) +Value HOTSPOT_TEMPERATURE_VALUE (\d+) +Value HOTSPOT_TEMPERATURE_STATE (\S+) +Value HOTSPOT_YELLOW_THRESHOLD (\d+) +Value HOTSPOT_RED_THRESHOLD (\d+) + +Start + ^Switch\s+\d -> Continue.Record + ^Switch\s+${SWITCH}:\s+SYSTEM\s+TEMPERATURE\s+is\s+${SWITCH_TEMPERATURE}\s*$$ -> Inlet + ^\s*$$ + ^. -> Error + +Inlet + ^Inlet\s+Temperature\s+Value:\s+${INLET_TEMPERATURE_VALUE}\s+Degree\s+Celsius\s*$$ + ^Temperature\s+State:\s+${INLET_TEMPERATURE_STATE}\s*$$ + ^Yellow\s+Threshold\s+:\s+${INLET_YELLOW_THRESHOLD}\s+Degree\s+Celsius\s*$$ + ^Red\s+Threshold\s+:\s+${INLET_RED_THRESHOLD}\s+Degree\s+Celsius\s*$$ -> Hotspot + ^\s*$$ + ^. -> Error + +Hotspot + ^Hotspot\s+Temperature\s+Value:\s+${HOTSPOT_TEMPERATURE_VALUE}\s+Degree\s+Celsius\s*$$ + ^Temperature\s+State:\s+${HOTSPOT_TEMPERATURE_STATE}\s*$$ + ^Yellow\s+Threshold\s+:\s+${HOTSPOT_YELLOW_THRESHOLD}\s+Degree\s+Celsius\s*$$ + ^Red\s+Threshold\s+:\s+${HOTSPOT_RED_THRESHOLD}\s+Degree\s+Celsius\s*$$ -> Start + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 086296e33d..c1b207a6c5 100644 --- a/templates/index +++ b/templates/index @@ -135,6 +135,7 @@ cisco_ios_show_running-config_partition_access-list.template, .*, cisco_ios, sh[ cisco_ios_show_running-config_partition_route-map.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_authentication_sessions.template, .*, cisco_ios, show authen[[tication]] ses[[sions]] +cisco_ios_show_environment_temperature.template, .*, cisco_ios, sh[[ow]] envi[[ronment]] t[[emperature]] cisco_ios_show_ip_ospf_interface_brief.template, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] cisco_ios_show_processes_memory_sorted.template, .*, cisco_ios, sh[[ow]] pro[[cesses]] mem[[ory]] so[[rted]] cisco_ios_show_interfaces_description.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] diff --git a/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.parsed b/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.parsed new file mode 100644 index 0000000000..4e3185bae3 --- /dev/null +++ b/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.parsed @@ -0,0 +1,22 @@ +--- +parsed_sample: +- hotspot_red_threshold: '125' + hotspot_temperature_state: GREEN + hotspot_temperature_value: '67' + hotspot_yellow_threshold: '105' + inlet_red_threshold: '56' + inlet_temperature_state: GREEN + inlet_temperature_value: '29' + inlet_yellow_threshold: '46' + switch: '1' + switch_temperature: OK +- hotspot_red_threshold: '125' + hotspot_temperature_state: GREEN + hotspot_temperature_value: '69' + hotspot_yellow_threshold: '105' + inlet_red_threshold: '56' + inlet_temperature_state: GREEN + inlet_temperature_value: '28' + inlet_yellow_threshold: '46' + switch: '2' + switch_temperature: OK diff --git a/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.raw b/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.raw new file mode 100644 index 0000000000..1457dab252 --- /dev/null +++ b/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.raw @@ -0,0 +1,20 @@ +Switch 1: SYSTEM TEMPERATURE is OK +Inlet Temperature Value: 29 Degree Celsius +Temperature State: GREEN +Yellow Threshold : 46 Degree Celsius +Red Threshold : 56 Degree Celsius + +Hotspot Temperature Value: 67 Degree Celsius +Temperature State: GREEN +Yellow Threshold : 105 Degree Celsius +Red Threshold : 125 Degree Celsius +Switch 2: SYSTEM TEMPERATURE is OK +Inlet Temperature Value: 28 Degree Celsius +Temperature State: GREEN +Yellow Threshold : 46 Degree Celsius +Red Threshold : 56 Degree Celsius + +Hotspot Temperature Value: 69 Degree Celsius +Temperature State: GREEN +Yellow Threshold : 105 Degree Celsius +Red Threshold : 125 Degree Celsius \ No newline at end of file From 5d93e5029df7a2e3dfce35be7ed4d58411c18aa4 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Sun, 17 Nov 2019 00:13:09 -0500 Subject: [PATCH 341/628] Update state transitions to provide more consistency across platforms (#541) --- ..._ios_show_environment_temperature.template | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/templates/cisco_ios_show_environment_temperature.template b/templates/cisco_ios_show_environment_temperature.template index 75ecfd7f91..36ee217445 100644 --- a/templates/cisco_ios_show_environment_temperature.template +++ b/templates/cisco_ios_show_environment_temperature.template @@ -11,22 +11,29 @@ Value HOTSPOT_RED_THRESHOLD (\d+) Start ^Switch\s+\d -> Continue.Record - ^Switch\s+${SWITCH}:\s+SYSTEM\s+TEMPERATURE\s+is\s+${SWITCH_TEMPERATURE}\s*$$ -> Inlet + ^Switch\s+${SWITCH}:\s+SYSTEM\s+TEMPERATURE\s+is\s+${SWITCH_TEMPERATURE}\s*$$ + ^Inlet\s+Temperature\s+Value:\s+${INLET_TEMPERATURE_VALUE}\s+Degree\s+Celsius\s*$$ -> Inlet + ^Hotspot\s+Temperature\s+Value:\s+${HOTSPOT_TEMPERATURE_VALUE}\s+Degree\s+Celsius\s*$$ -> Hotspot ^\s*$$ ^. -> Error Inlet - ^Inlet\s+Temperature\s+Value:\s+${INLET_TEMPERATURE_VALUE}\s+Degree\s+Celsius\s*$$ ^Temperature\s+State:\s+${INLET_TEMPERATURE_STATE}\s*$$ ^Yellow\s+Threshold\s+:\s+${INLET_YELLOW_THRESHOLD}\s+Degree\s+Celsius\s*$$ - ^Red\s+Threshold\s+:\s+${INLET_RED_THRESHOLD}\s+Degree\s+Celsius\s*$$ -> Hotspot + ^Red\s+Threshold\s+:\s+${INLET_RED_THRESHOLD}\s+Degree\s+Celsius\s*$$ + ^Hotspot\s+Temperature\s+Value:\s+${HOTSPOT_TEMPERATURE_VALUE}\s+Degree\s+Celsius\s*$$ -> Hotspot + ^Switch\s+\d -> Continue.Record + ^Switch\s+${SWITCH}:\s+SYSTEM\s+TEMPERATURE\s+is\s+${SWITCH_TEMPERATURE}\s*$$ -> Start ^\s*$$ ^. -> Error Hotspot - ^Hotspot\s+Temperature\s+Value:\s+${HOTSPOT_TEMPERATURE_VALUE}\s+Degree\s+Celsius\s*$$ ^Temperature\s+State:\s+${HOTSPOT_TEMPERATURE_STATE}\s*$$ ^Yellow\s+Threshold\s+:\s+${HOTSPOT_YELLOW_THRESHOLD}\s+Degree\s+Celsius\s*$$ - ^Red\s+Threshold\s+:\s+${HOTSPOT_RED_THRESHOLD}\s+Degree\s+Celsius\s*$$ -> Start + ^Red\s+Threshold\s+:\s+${HOTSPOT_RED_THRESHOLD}\s+Degree\s+Celsius\s*$$ + ^Switch\s+\d -> Continue.Record + ^Switch\s+${SWITCH}:\s+SYSTEM\s+TEMPERATURE\s+is\s+${SWITCH_TEMPERATURE}\s*$$ -> Start + ^Inlet\s+Temperature\s+Value:\s+${INLET_TEMPERATURE_VALUE}\s+Degree\s+Celsius\s*$$ -> Inlet ^\s*$$ - ^. -> Error + ^. -> Error + From 07b69a6f3c6653b30bae62a0e8524105407f4ef8 Mon Sep 17 00:00:00 2001 From: timjsmith24 Date: Sun, 17 Nov 2019 00:15:20 -0500 Subject: [PATCH 342/628] New Template: WLC - show interface summary (#539) --- ...co_wlc_ssh_show_interface_summary.template | 20 ++++++++++++++ templates/index | 1 + ...isco_wlc_ssh_show_interface_summary.parsed | 26 +++++++++++++++++++ .../cisco_wlc_ssh_show_interface_summary.raw | 9 +++++++ 4 files changed, 56 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_interface_summary.template create mode 100644 tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.parsed create mode 100644 tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.raw diff --git a/templates/cisco_wlc_ssh_show_interface_summary.template b/templates/cisco_wlc_ssh_show_interface_summary.template new file mode 100644 index 0000000000..def2fddefd --- /dev/null +++ b/templates/cisco_wlc_ssh_show_interface_summary.template @@ -0,0 +1,20 @@ +Value Filldown INT_COUNT (\d+) +Value Required NAME (\S+) +Value PORT (\S+) +Value VLAN (\S+) +Value IP_ADDR (([\d1-9]+\.?){4}) +Value TYPE (\S+) +Value AP_MGR (\S+) +Value GUEST (\S+) + +Start + ^\s+Number\sof\sInterfaces\.*\s${INT_COUNT}s*$$ + ^Interface\s+Name\s+Port\s+Vlan\s+Id\s+IP\s+Address\s+Type\s+Ap\s+Mgr\s+Guest -> Type_One + ^\s*$$ + ^. -> Error + +Type_One + ^-+\s + ^${NAME}\s\s+${PORT}\s+${VLAN}\s+${IP_ADDR}\s+${TYPE}\s+${AP_MGR}\s+${GUEST} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index c1b207a6c5..c42f43d02f 100644 --- a/templates/index +++ b/templates/index @@ -250,6 +250,7 @@ cisco_wlc_ssh_show_802.11a_cleanair_config.template, .*, cisco_wlc_ssh, sh[[ow]] cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_rf-profile_summary.template, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] +cisco_wlc_ssh_show_interface_summary.template, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_client_detail.template, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.template, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] diff --git a/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.parsed b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.parsed new file mode 100644 index 0000000000..9d31d679c7 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.parsed @@ -0,0 +1,26 @@ +--- +parsed_sample: +- ap_mgr: 'Yes' + guest: N/A + int_count: '3' + ip_addr: 192.168.1.11 + name: management + port: '1' + type: Static + vlan: untagged +- ap_mgr: 'No' + guest: N/A + int_count: '3' + ip_addr: 11.1.1.1 + name: service-port + port: N/A + type: Static + vlan: N/A +- ap_mgr: 'No' + guest: N/A + int_count: '3' + ip_addr: 1.1.1.1 + name: virtual + port: N/A + type: Static + vlan: N/A \ No newline at end of file diff --git a/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.raw b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.raw new file mode 100644 index 0000000000..41a8ab649e --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.raw @@ -0,0 +1,9 @@ + + + Number of Interfaces.......................... 3 + +Interface Name Port Vlan Id IP Address Type Ap Mgr Guest +-------------------------------- ---- -------- --------------- ------- ------ ----- +management 1 untagged 192.168.1.11 Static Yes N/A +service-port N/A N/A 11.1.1.1 Static No N/A +virtual N/A N/A 1.1.1.1 Static No N/A From f46bca29d70a396d834be906dbbb42850e4a4f73 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Sun, 17 Nov 2019 22:24:33 -0500 Subject: [PATCH 343/628] Update CHANGELOG and bump version (#542) --- CHANGELOG | 82 +++++++++++++++++++++++++++++++++-- HISTORY.rst | 7 --- MANIFEST.in | 3 +- lib/ntc_templates/__init__.py | 2 +- setup.py | 2 +- tox.ini | 1 + 6 files changed, 83 insertions(+), 14 deletions(-) delete mode 100644 HISTORY.rst diff --git a/CHANGELOG b/CHANGELOG index 7b824212aa..37be5cce47 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,15 +1,89 @@ -## [1.2.1] +## [1.3.0] ### Fixed for any bug fixes -- [#497] ASA show version: Fix `MAX_INTF` to account for `Unlimited` -- [#497] ASA show version: Fix `HARDWARE` to properly handle trailing commas +- [#401] ASA show route: Fix `UPTIME` to account for additional output formats +- [#445] IOS show ip eigrp topology: Fix `FD` to allow value to be "Inaccessible" +- [#465] ASA show failover: Add line to match FirePOWER module +- [#466] PAN show arp: Fix `MAC` capture group to account for entries that are "incomplete" +- [#471] Procurve show arp: Fix `IP` capture group to account for IP Adresses that are "Incomplete" +- [#471] Procurve show arp: Fix `PORT` capture group to account for interfaces that contain more than just digits +- [#474] IOS show ip mroute: Fix `Value UP_TIME`, `EXPIRATION_TIME`, `OUTGOING_MULTICAST_UP_TIME (\S+)`, and `OUTGOING_MULTICAST_EXPIRATION_TIME` to account for additional time formats +- [#479] NXOS show interface brief: Fix capturing `MODE` values of "pvlan" and "fabric" +- [#480] IOS show cdp neighbors: Allow for table data to have leading spaces but not require it +- [#485] IOS show mac-address-table: Allow for table data to have leading spaces but not require it (VLAN IDs are left adjusted so VLANs from 1000 on do not have a leading space) +- [#487] IOS show authentication sessions: Add match for lines separating output with a "-" in order to avoid capturing them as part of normal table data +- [#488] EOS show interfaces status: Fix `NAME` and `STATUS` capture groups to support disabled interfaces +- [#494] IOS show ip interface: Add matches for additional output lines +- [#495] IOS show ip interface: Add matches for additional output lines +- [#497] ASA show version: Fix `MAX_INTF` capture group to account for `Unlimited` +- [#497] ASA show version: Fix `HARDWARE` capture group to account for trailing commas +- [#499] ASA show inventory: Add matches for additional output lines - [#503] IOS show standby: Fix output that spread across two lines +- [#505] NXOS show ip bgp neighbors: Fix matching entries accurately when neighbors are in a "down" state; move to `Continue.Record` to record on new entries instead of "last expected line" of output data +- [#516] IOS show ip interface: Add matches for additional output lines +- [#517] EOS show ip bgp summary: Fix capturing entries with more explicit match line +- [#519] XR show version - Fix `VERSION`, `UPTIME`, and `HARDWARE` to account for CRS syntax +- [#525] IOS: Added matches for vty timestamp lines +- [#532] IOS show snmp user: Fix capture groups to support all non-whitespace characters (e.g. "-" in string values) +- [#538] IOS show interfaces switchport: Added matches for additional output lines ### Added for new features -- [#503] IOS show standby: Add support for matching template when specifying specific interface +- [#378] XR show ip route: Added `VRF` capture group +- [#391] WLC show client detail: Added new template +- [#419] ASA dir: Added `TOTAL_PERCENT_FREE` capture group for capturing percentage of bytes free +- [#425] WLC show exclusionlist: Added new template +- [#445] IOS show ip eigrp topology: Added `SOURCE` capture group +- [#446] ASA show asp drop: Added `FLOW_DROP_IPSEC_SELECTOR_FAILURE`, `FLOW_LAST_CLEARED`, `MP_SVC_BAD_LENGTH`, and `SSL_FIRST_RECORD_INVALID` capture groups +- [#464] Comware display counters bound interface: Added new template +- [#468] Firebox show arp: Added new template +- [#476] IOS show ip bgp summary: Added `UP_DOWN` capture group +- [#478] NXOS show ip interface brief: Added new template +- [#481] NXOS show ip bgp neighbor: Added `INBOUND_ROUTEMAP` and `OUTBOUND_ROUTEMAP` capture groups +- [#482] XR admin show inventory: Added new template +- [#486] NXOS show route-map: Added new template +- [#489] NXOS show forwarding ipv4 route: Added new template +- [#491] IOS show switch detail: Added new template +- [#492] XR show ipv6 neighbors: Added new template +- [#493] Fastiron show arp: Added new template +- [#496] EOS show ip helper-address: Added new template +- [#501] WLC show 802.11a|b: Added new template +- [#510] WLC show 802.11 cleanair config: Added new template +- [#512] VRP display interface brief: Added new template +- [#512] VRP display temperature: Added new template +- [#513] WLC show rf profile-summary: Added new template +- [#514] IOS show process memory sorted: Added new template +- [#515] WLC show inventory: Added new template +- [#518] Ciena software show: Added new template +- [#521] IOS show ip route: Added `VRF` capture group +- [#524] EOS show vrf: Added new template +- [#526] WLC show advanced 802.11 channel: Added new template +- [#527] IOS show interfaces switchport: Added `VOICE_VLAN` capture group +- [#527] NXOS show interfaces switchport: Added `VOICE_VLAN` capture group +- [#529] Fortios get router info bgp summary: Added new template +- [#531] NXOS show interface: Added `LAST_LINK_FLAPPED` capture group +- [#533] IOS show license: Added new template +- [#539] WLC show interface summary: Added new template +- [#540] IOS show environment temperature: Added new template ### Changed for changes in existing functionality +- [#378] XR show ip route: Update index to allow syntax of "show ip route" or "show route" - [#497] ASA show version: Change `SERIAL` to be a list for clusters +- [#503] IOS show standby: Update index to allow syntax including specifying an interface +- [#520] IOS show ip bgp summary: Update template and index to support VRF syntax +- [#520] EOS show ip bgp summary: Update template and index to support VRF syntax +- [#521] IOS show ip route: Add `Error` for unmatched lines to ensure accurate data collection +- [#522] EOS show bgp summary: Update index to allow syntax of "show bgp evpn summary" +- [#523] IOS show mac-address-table: Add `Error` for unmatched lines to ensure accurate data collection +- [#528] IOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data +- [#528] NXOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data ### Deprecated for soon-to-be removed features ### Removed for now removed features +## [1.2.1] +### Fixed +- Bumped `__version__` in `__init__` file +### Added +### Changed +### Deprecated +### Removed + ## [1.2.0] ### Fixed - [#389] IOS-XR show interfaces: Fixed matching speed and duplex for bundle-ethernet interfaces diff --git a/HISTORY.rst b/HISTORY.rst deleted file mode 100644 index 7f9ac1dd88..0000000000 --- a/HISTORY.rst +++ /dev/null @@ -1,7 +0,0 @@ -Release History ---------------- - -1.0.0 -+++++ - -* First initial release diff --git a/MANIFEST.in b/MANIFEST.in index 5f2e8443d2..ef95ea9787 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,2 @@ -include README.md HISTORY.rst +include README.md CHANGELOG + diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index 0d8c64604e..4981aa2b18 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = '1.2.1' +__version__ = "1.3.0" diff --git a/setup.py b/setup.py index e733a96bdc..d5c84e9ea3 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with open('README.md', 'r', 'utf-8') as f: readme = f.read() -with open('HISTORY.rst', 'r', 'utf-8') as f: +with open('CHANGELOG', 'r', 'utf-8') as f: history = f.read() long_description = readme + '\n\n' + history diff --git a/tox.ini b/tox.ini index d3e8c1f0a4..d1fe915d53 100644 --- a/tox.ini +++ b/tox.ini @@ -11,3 +11,4 @@ whitelist_externals = rm commands = pytest -vv + From 2155b1af15c9490ae77ed5fb77e64257b714ddbe Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Sun, 17 Nov 2019 22:46:41 -0500 Subject: [PATCH 344/628] Enhancement: Testing - Add Black to tox file for code formatting (#407) --- README.md | 1 + lib/ntc_templates/parse.py | 11 ++- pyproject.toml | 19 +++++ setup.py | 51 ++++++------ tests/__init__.py | 4 +- tests/test_index_order.py | 78 ++++++++++++++----- ...red_data_against_parsed_reference_files.py | 20 ++--- tests/test_testcases_exists.py | 14 ++-- tox.ini | 5 +- 9 files changed, 129 insertions(+), 74 deletions(-) create mode 100644 pyproject.toml diff --git a/README.md b/README.md index d065a3552a..ec997c59bb 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/networktocode/ntc-templates.svg?branch=master)](https://travis-ci.org/networktocode/ntc-templates) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) NTC TEMPLATES ============= diff --git a/lib/ntc_templates/parse.py b/lib/ntc_templates/parse.py index b504b649f7..77dc89db6d 100644 --- a/lib/ntc_templates/parse.py +++ b/lib/ntc_templates/parse.py @@ -32,17 +32,16 @@ def _clitable_to_dict(cli_table): def parse_output(platform=None, command=None, data=None): """Return the structured data based on the output from a network device.""" template_dir = _get_template_dir() - cli_table = clitable.CliTable('index', template_dir) + cli_table = clitable.CliTable("index", template_dir) - attrs = dict( - Command=command, - Platform=platform - ) + attrs = {"Command": command, "Platform": platform} try: cli_table.ParseCmd(data, attrs) structured_data = _clitable_to_dict(cli_table) except clitable.CliTableError as e: - raise Exception('Unable to parse command "%s" on platform %s - %s' % (command, platform, str(e))) + raise Exception( + 'Unable to parse command "{0}" on platform {1} - {2}'.format(command, platform, str(e)) + ) # Invalid or Missing template # module.fail_json(msg='parsing error', error=str(e)) # rather than fail, fallback to return raw text diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000000..48a67fddef --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,19 @@ +[tool.black] +line-length = 100 +target-version = ['py36'] +include = '\.pyi?$' +exclude = ''' +/( + \.eggs + | \.git + | \.hg + | \.mypy_cache + | \.tox + | \.venv + | _build + | buck-out + | build + | dist +)/ +| test-templates\.py +''' \ No newline at end of file diff --git a/setup.py b/setup.py index d5c84e9ea3..cb5727ad73 100644 --- a/setup.py +++ b/setup.py @@ -2,43 +2,40 @@ from codecs import open from setuptools import setup, find_packages -version = '' -with open('lib/ntc_templates/__init__.py', 'r') as fd: - version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) +with open("lib/ntc_templates/__init__.py", "r") as fd: + version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) if not version: - raise RuntimeError('Cannot find version information') + raise RuntimeError("Cannot find version information") -with open('README.md', 'r', 'utf-8') as f: +with open("README.md", "r", "utf-8") as f: readme = f.read() -with open('CHANGELOG', 'r', 'utf-8') as f: +with open("CHANGELOG", "r", "utf-8") as f: history = f.read() -long_description = readme + '\n\n' + history +long_description = readme + "\n\n" + history config = { - 'name': 'ntc_templates', - 'package_dir': {'': 'lib'}, - 'packages': find_packages('lib'), - 'version': version, - 'package_data': {'ntc_templates': ['templates/*']}, - 'description': 'Package to return structured data from the output of network devices.', - 'long_description': long_description, - 'long_description_content_type': 'text/markdown', - 'author': 'network.toCode()', - 'author_email': 'info@networktocode.com', - 'url': 'https://github.com/networktocode/ntc-templates', - 'install_requires': [ - 'textfsm', - 'terminal', + "name": "ntc_templates", + "package_dir": {"": "lib"}, + "packages": find_packages("lib"), + "version": version, + "package_data": {"ntc_templates": ["templates/*"]}, + "description": "Package to return structured data from the output of network devices.", + "long_description": long_description, + "long_description_content_type": "text/markdown", + "author": "network.toCode()", + "author_email": "info@networktocode.com", + "url": "https://github.com/networktocode/ntc-templates", + "install_requires": ["textfsm", "terminal"], + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python :: 3", ], - 'classifiers': ['Development Status :: 4 - Beta', - 'Intended Audience :: Developers', - 'Intended Audience :: System Administrators', - 'Programming Language :: Python :: 3'], - 'zip_safe': False + "zip_safe": False, } setup(**config) diff --git a/tests/__init__.py b/tests/__init__.py index 875ee2be5d..5a62df4906 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -9,9 +9,9 @@ def load_index_data(): """Load data from index file.""" index_data = [] - with open('%s%sindex' % (_get_template_dir(), os.sep)) as indexfs: + with open("{0}{1}index".format(_get_template_dir(), os.sep)) as indexfs: data = csv.reader(indexfs) for row in data: - if len(row) > 2 and row[0] != 'Template': + if len(row) > 2 and row[0] != "Template": index_data.append(row) return index_data diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 40c300ad3d..cab9d9e04d 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -17,53 +17,89 @@ def check_order(current_os, prior_os, cmd_len, prior_len, os_choices, used_os, c add_os_check.append(current_os) if used_os != sorted(used_os): - msg = "OS's are not in alpabetical order, current order: '{}'".format(used_os) + msg = "OS's are not in alpabetical order, current order: '{0}'".format(used_os) return False, msg elif add_os_check != sorted(add_os_check): - msg = "OS's are not in alpabetical order, current order: '{}'".format(add_os_check) + msg = "OS's are not in alpabetical order, current order: '{0}'".format(add_os_check) return False, msg if current_os not in os_choices: - msg = "'{}' is not one of the valid options '{}'".format(current_os, used_os) + msg = "'{0}' is not one of the valid options '{1}'".format(current_os, used_os) return False, msg if not prior_os and prior_len == 0: # Starting Point - return True, '' + return True, "" elif current_os == prior_os and cmd_len == prior_len and cmd == min(prior_cmd, cmd): msg = ( "OS is the same and command same length, " - "please set {} before {} to be in alphabetical order".format(cmd, prior_cmd) + "please set {0} before {1} to be in alphabetical order".format(cmd, prior_cmd) ) return False, msg elif current_os == prior_os and cmd_len <= prior_len: # OS is the same as previous, and cmd_len is smaller or equal to prior so good - return True, '' + return True, "" elif current_os != prior_os and current_os not in used_os: # prior OS has changed, do not need to check for length yet - return True, '' + return True, "" elif current_os == prior_os and cmd_len > prior_len: - msg = "Current Command len '{}' larger then previous '{}', for command '{}'".format( + msg = "Current Command len '{0}' larger then previous '{1}', for command '{2}'".format( cmd_len, prior_len, cmd ) return False, msg elif current_os != prior_os and current_os in used_os: - msg = "'{}' OS was already used in list on command '{}'".format(current_os, cmd) + msg = "'{0}' OS was already used in list on command '{1}'".format(current_os, cmd) return False, msg else: msg = "Failed for unknown reason" return False, msg + def test_index_ordering(): os_choices = [ - 'a10', 'alcatel_aos', 'alcatel_sros', 'arista_eos', 'aruba_os', 'avaya_ers', 'avaya_vsp', - 'brocade_fastiron', 'brocade_netiron', 'brocade_nos', 'brocade_vdx', 'brocade_vyos', - 'checkpoint_gaia', 'ciena_6x', 'cisco_asa', 'cisco_ios', 'cisco_nxos', 'cisco_s300', - 'cisco_wlc', 'cisco_xe', 'cisco_xr', 'dell_force10', 'enterasys', 'extreme', 'f5_ltm', - 'fortinet_fortios', 'hp_comware', 'hp_procurve', 'huawei_vrp', 'juniper', 'juniper_junos', - 'juniper_screenos', 'linux', 'ovs_linux', 'paloalto_panos', 'quanta_mesh','ruckus_fastiron', - 'ubiquiti_edgeswitch', 'vmware_nsxv', 'vyatta_vyos', 'vyos', 'watchguard_firebox', + "a10", + "alcatel_aos", + "alcatel_sros", + "arista_eos", + "aruba_os", + "avaya_ers", + "avaya_vsp", + "brocade_fastiron", + "brocade_netiron", + "brocade_nos", + "brocade_vdx", + "brocade_vyos", + "checkpoint_gaia", + "ciena_6x", + "cisco_asa", + "cisco_ios", + "cisco_nxos", + "cisco_s300", + "cisco_wlc", + "cisco_xe", + "cisco_xr", + "dell_force10", + "enterasys", + "extreme", + "f5_ltm", + "fortinet_fortios", + "hp_comware", + "hp_procurve", + "huawei_vrp", + "juniper", + "juniper_junos", + "juniper_screenos", + "linux", + "ovs_linux", + "paloalto_panos", + "quanta_mesh", + "ruckus_fastiron", + "ubiquiti_edgeswitch", + "vmware_nsxv", + "vyatta_vyos", + "vyos", + "watchguard_firebox", ] prior_os = "" @@ -74,16 +110,16 @@ def test_index_ordering(): index = load_index_data() for row in index: template = row[0].strip() - os = '_'.join(template.split('_')[:2]) - cmd = '_'.join(template.split('_')[2:]) + os = "_".join(template.split("_")[:2]) + cmd = "_".join(template.split("_")[2:]) cmd_len = len(cmd) check_val, check_msg = check_order( os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd ) if not check_val: - #assertFalse(check_val, msg=check_msg) - print("Error on line: {}".format(row)) - print("Error Message: {}".format(check_msg)) + # assertFalse(check_val, msg=check_msg) + print("Error on line: {0}".format(row)) + print("Error Message: {0}".format(check_msg)) assert check_val if os not in used_os: used_os.append(os) diff --git a/tests/test_structured_data_against_parsed_reference_files.py b/tests/test_structured_data_against_parsed_reference_files.py index f4708c2101..a241b0c219 100644 --- a/tests/test_structured_data_against_parsed_reference_files.py +++ b/tests/test_structured_data_against_parsed_reference_files.py @@ -11,15 +11,15 @@ def return_test_files(): """Return a list of all the *.raw files to run tests against.""" - platform_dirs = glob.glob('tests/*') - platforms = (glob.glob('%s/*' % platform) for platform in platform_dirs) + platform_dirs = glob.glob("tests/*") + platforms = (glob.glob("{0}/*".format(platform)) for platform in platform_dirs) template_dirs = (item for sublist in platforms for item in sublist) - test_commands = (glob.glob('%s/*.raw' % template_dir) for template_dir in template_dirs) + test_commands = (glob.glob("{0}/*.raw".format(template_dir)) for template_dir in template_dirs) return (item for sublist in test_commands for item in sublist) -@pytest.fixture(scope='function', params=return_test_files()) +@pytest.fixture(scope="function", params=return_test_files()) def load_template_test(request): """Return each *.raw file to run tests on.""" return request.param @@ -27,17 +27,17 @@ def load_template_test(request): def raw_template_test(raw_file): """Return structured data along with reference data.""" - parsed_file = '%s.parsed' % raw_file[:-4] - parts = raw_file.split('/') + parsed_file = "{0}.parsed".format(raw_file[:-4]) + parts = raw_file.split("/") platform = parts[1] - command = ' '.join(parts[2].split('_')) - with open(raw_file, 'r') as data: + command = " ".join(parts[2].split("_")) + with open(raw_file, "r") as data: rawoutput = data.read() structured = parse_output(platform=platform, command=command, data=rawoutput) - with open(parsed_file, 'r') as data: + with open(parsed_file, "r") as data: parsed_data = yaml.safe_load(data.read()) - return structured, parsed_data['parsed_sample'] + return structured, parsed_data["parsed_sample"] def test_raw_data_against_mock(load_template_test): diff --git a/tests/test_testcases_exists.py b/tests/test_testcases_exists.py index e4201c54d3..ae661ca75f 100644 --- a/tests/test_testcases_exists.py +++ b/tests/test_testcases_exists.py @@ -7,10 +7,10 @@ KNOWN_MISSING_TESTS = { - 'cisco_ios_show_vlan', - 'cisco_nxos_show_interface_brief', - 'cisco_nxos_show_ip_ospf_neighbor_vrf', - 'cisco_xr_show_controllers', + "cisco_ios_show_vlan", + "cisco_nxos_show_interface_brief", + "cisco_nxos_show_ip_ospf_neighbor_vrf", + "cisco_xr_show_controllers", } @@ -25,7 +25,7 @@ def test_verify_parsed_and_reference_data_exists(): index = sorted(load_index_data()) for row in index: template = row[0].strip() - template_short = template.split('.template')[0] + template_short = template.split(".template")[0] platform = row[2].strip() for directory in os.listdir("tests"): if re.match(platform, directory): @@ -34,6 +34,6 @@ def test_verify_parsed_and_reference_data_exists(): cut = len(platform_directory) + 1 command = template_short[cut:] if template_short not in KNOWN_MISSING_TESTS: - cases = 'tests/%s/%s/*.raw' % (platform_directory, command) + cases = "tests/{0}/{1}/*.raw".format(platform_directory, command) test_list = glob.glob(cases) - assert len(test_list) != 0, 'Could not find tests for %s' % template + assert len(test_list) != 0, "Could not find tests for {0}".format(template) diff --git a/tox.ini b/tox.ini index d1fe915d53..c739aaffb5 100644 --- a/tox.ini +++ b/tox.ini @@ -5,10 +5,13 @@ envlist = py36 deps = pytest PyYAML + black whitelist_externals = git rm -commands = pytest -vv +commands = + pytest -vv + black ./ --diff --check From 8298de4ae064abe92f941b7f14f78002ec9a303c Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Sat, 23 Nov 2019 15:39:43 -0500 Subject: [PATCH 345/628] Enhancement: Add yamllint to tox testing (#406) * Rename all parsed files to use ``.yml`` extension * Add ``.yamllint`` file * Add test in ``tox.ini`` file to run yamllint * Add cli tool to format YAML files using ``ruamel`` * Reformat parsed files to adhere to preferred YAML style * Add dev install option to package in setup.py --- .yamllint | 37 + CHANGELOG | 20 +- README.md | 107 +- development_scripts.py | 493 ++ helpers/create-parsed.yml | 46 - helpers/make-parsed.j2 | 4 - lib/ntc_templates/parse.py | 4 +- pylama.ini | 7 - pyproject.toml | 4 +- setup.py | 5 +- test-template.yml | 41 - test-templates.py | 118 - test_hosts | 0 .../show_vlan/alcatel_aos_show_vlan.parsed | 49 - .../show_vlan/alcatel_aos_show_vlan.yml | 46 + .../alcatel_sros_oam_mac-ping.parsed | 8 - .../alcatel_sros_oam_mac-ping.yml | 5 + ..._sros_show_router_bgp_routes_vpn-ipv4.yml} | 25 +- .../alcatel_sros_show_service_id_base.parsed | 13 - .../alcatel_sros_show_service_id_base.yml | 10 + .../bash_df_-h/arista_eos_bash_df_-h.parsed | 107 - .../bash_df_-h/arista_eos_bash_df_-h.yml | 80 + .../dir_flash/arista_eos_dir_flash.parsed | 101 - .../dir_flash/arista_eos_dir_flash.yml | 79 + ...d => arista_eos_show_bgp_evpn_summary.yml} | 2 +- .../arista_eos_show_boot-config.parsed | 5 - .../arista_eos_show_boot-config.yml | 4 + .../show_clock/arista_eos_show_clock.parsed | 8 - .../show_clock/arista_eos_show_clock.yml | 8 + ...arista_eos_show_environment_cooling.parsed | 345 - .../arista_eos_show_environment_cooling.yml | 268 + ...ta_eos_show_environment_temperature.parsed | 147 - ...rista_eos_show_environment_temperature.yml | 114 + .../arista_eos_show_hostname.parsed | 5 - .../arista_eos_show_hostname.yml | 4 + .../arista_eos_show_interfaces.parsed | 68 - .../arista_eos_show_interfaces.yml | 62 + .../arista_eos_show_interfaces_status.parsed | 49 - .../arista_eos_show_interfaces_status.yml | 44 + ...sta_eos_show_interfaces_transceiver.parsed | 34 - ...arista_eos_show_interfaces_transceiver.yml | 32 + ..._show_interfaces_transceiver_detail.parsed | 192 - ...eos_show_interfaces_transceiver_detail.yml | 149 + .../arista_eos_show_inventory.parsed | 68 - .../arista_eos_show_inventory.yml | 67 + .../arista_eos_show_ip_access-lists.parsed | 128 - .../arista_eos_show_ip_access-lists.yml | 110 + .../show_ip_arp/arista_eos_show_ip_arp.parsed | 16 - .../show_ip_arp/arista_eos_show_ip_arp.yml | 14 + .../show_ip_bgp/arista_eos_show_ip_bgp.parsed | 83 - .../show_ip_bgp/arista_eos_show_ip_bgp.yml | 82 + .../arista_eos_show_ip_bgp2.parsed | 1353 ---- .../show_ip_bgp/arista_eos_show_ip_bgp2.yml | 1352 ++++ .../arista_eos_show_ip_bgp_summary.parsed | 28 - .../arista_eos_show_ip_bgp_summary.yml | 28 + .../arista_eos_show_ip_bgp_summary2.parsed | 42 - .../arista_eos_show_ip_bgp_summary2.yml | 41 + .../arista_eos_show_ip_bgp_summary_vrf.parsed | 54 - .../arista_eos_show_ip_bgp_summary_vrf.yml | 54 + .../arista_eos_show_ip_helper.parsed | 13 - .../arista_eos_show_ip_helper.yml | 13 + .../arista_eos_show_ip_interface_brief.parsed | 33 - .../arista_eos_show_ip_interface_brief.yml | 27 + .../arista_eos_show_ip_ospf_database.parsed | 102 - .../arista_eos_show_ip_ospf_database.yml | 101 + .../arista_eos_show_ip_ospf_neighbor.parsed | 19 - .../arista_eos_show_ip_ospf_neighbor.yml | 16 + .../arista_eos_show_ip_route.parsed | 173 - .../arista_eos_show_ip_route.yml | 173 + .../arista_eos_show_ip_route_vrf.parsed | 344 - .../arista_eos_show_ip_route_vrf.yml | 344 + .../arista_eos_show_isis_neighbors.parsed | 22 - .../arista_eos_show_isis_neighbors.yml | 20 + .../arista_eos_show_lldp_neighbors.parsed | 20 - .../arista_eos_show_lldp_neighbors.yml | 14 + ...ista_eos_show_lldp_neighbors_detail.parsed | 155 - .../arista_eos_show_lldp_neighbors_detail.yml | 173 + .../arista_eos_show_mac_address-table.parsed | 123 - .../arista_eos_show_mac_address-table.yml | 122 + ...sta_eos_show_mac_security_interface.parsed | 51 - ...arista_eos_show_mac_security_interface.yml | 34 + ..._eos_show_mac_security_mka_counters.parsed | 87 - ...sta_eos_show_mac_security_mka_counters.yml | 62 + ...ow_mac_security_participants_detail.parsed | 63 - ..._show_mac_security_participants_detail.yml | 54 + .../show_mlag/arista_eos_show_mlag.parsed | 7 - .../show_mlag/arista_eos_show_mlag.yml | 7 + .../arista_eos_show_module.template.parsed | 168 - .../arista_eos_show_module.template.yml | 146 + .../arista_eos_show_reload_cause.parsed | 9 - .../arista_eos_show_reload_cause.yml | 6 + .../arista_eos_show_snmp_community.parsed | 28 - .../arista_eos_show_snmp_community.yml | 22 + .../arista_eos_show_version.parsed | 9 - .../show_version/arista_eos_show_version.yml | 9 + .../show_vlan/arista_eos_show_vlan.parsed | 19 - .../show_vlan/arista_eos_show_vlan.yml | 14 + ...how_vrf.parsed => arista_eos_show_vrf.yml} | 2 +- .../aruba_os_show_ip_interface_brief.parsed | 23 - .../aruba_os_show_ip_interface_brief.yml | 22 + .../aruba_os_show_ipv6_interface_brief.parsed | 23 - .../aruba_os_show_ipv6_interface_brief.yml | 29 + .../avaya_ers_show_interface_name.parsed | 103 - .../avaya_ers_show_interface_name.yml | 102 + .../avaya_ers_show_interface_name1.parsed | 203 - .../avaya_ers_show_interface_name1.yml | 202 + .../avaya_ers_show_logging_config.parsed | 12 - .../avaya_ers_show_logging_config.yml | 11 + .../avaya_ers_show_mac-address-table.parsed | 103 - .../avaya_ers_show_mac-address-table.yml | 102 + .../show_mlt/avaya_ers_show_mlt1.parsed | 290 - .../show_mlt/avaya_ers_show_mlt1.yml | 290 + .../show_mlt/avaya_ers_show_mlt2.parsed | 290 - .../show_mlt/avaya_ers_show_mlt2.yml | 290 + .../show_mlt/avaya_ers_show_mlt3.parsed | 290 - .../show_mlt/avaya_ers_show_mlt3.yml | 290 + .../show_mlt/avaya_ers_show_mlt_4800.parsed | 290 - .../show_mlt/avaya_ers_show_mlt_4800.yml | 290 + .../show_mlt/avaya_ers_show_mlt_4900.parsed | 290 - .../show_mlt/avaya_ers_show_mlt_4900.yml | 290 + .../show_mlt/avaya_ers_show_mlt_7000.parsed | 578 -- .../show_mlt/avaya_ers_show_mlt_7000.yml | 578 ++ ...avaya_ers_show_mlt_all-members_4800.parsed | 322 - .../avaya_ers_show_mlt_all-members_4800.yml | 290 + ...avaya_ers_show_mlt_all-members_4900.parsed | 322 - .../avaya_ers_show_mlt_all-members_4900.yml | 290 + ...avaya_ers_show_mlt_all-members_7000.parsed | 578 -- .../avaya_ers_show_mlt_all-members_7000.yml | 578 ++ .../avaya_ers_show_sys-info.parsed | 28 - .../show_sys-info/avaya_ers_show_sys-info.yml | 27 + .../avaya_ers_show_sys-info1.parsed | 28 - .../avaya_ers_show_sys-info1.yml | 27 + .../show_vlan/avaya_ers_show_vlan.parsed | 92 - .../show_vlan/avaya_ers_show_vlan.yml | 92 + .../show_vlan/avaya_ers_show_vlan1.parsed | 52 - .../show_vlan/avaya_ers_show_vlan1.yml | 57 + ...are.parsed => avaya_vsp_show_software.yml} | 1 - .../show_arp/brocade_fastiron_show_arp.parsed | 32 - .../show_arp/brocade_fastiron_show_arp.yml | 32 + .../brocade_fastiron_show_interfaces.parsed | 1827 ----- .../brocade_fastiron_show_interfaces.yml | 1802 +++++ .../brocade_fastiron_show_interfaces1.parsed | 6463 ----------------- .../brocade_fastiron_show_interfaces1.yml | 6377 ++++++++++++++++ ...cade_fastiron_show_interfaces_brief.parsed | 266 - ...brocade_fastiron_show_interfaces_brief.yml | 266 + ...ade_fastiron_show_interfaces_brief1.parsed | 937 --- ...rocade_fastiron_show_interfaces_brief1.yml | 937 +++ ...ade_fastiron_show_interfaces_brief2.parsed | 4325 ----------- ...rocade_fastiron_show_interfaces_brief2.yml | 4325 +++++++++++ .../brocade_fastiron_show_lag_brief.parsed | 35 - .../brocade_fastiron_show_lag_brief.yml | 30 + ...rocade_fastiron_show_lldp_neighbors.parsed | 7 - .../brocade_fastiron_show_lldp_neighbors.yml | 7 + ...fastiron_show_lldp_neighbors_detail.parsed | 39 - ...de_fastiron_show_lldp_neighbors_detail.yml | 35 + ...astiron_show_lldp_neighbors_detail1.parsed | 87 - ...e_fastiron_show_lldp_neighbors_detail1.yml | 79 + .../brocade_fastiron_show_mac-address.parsed | 17 - .../brocade_fastiron_show_mac-address.yml | 17 + .../brocade_fastiron_show_metro.parsed | 141 - .../brocade_fastiron_show_metro.yml | 134 + .../brocade_fastiron_show_metro1.parsed | 72 - .../brocade_fastiron_show_metro1.yml | 68 + .../brocade_fastiron_show_monitor.parsed | 11 - .../brocade_fastiron_show_monitor.yml | 8 + ...e_fastiron_show_running-config_vlan.parsed | 93 - ...cade_fastiron_show_running-config_vlan.yml | 89 + ..._fastiron_show_running-config_vlan1.parsed | 333 - ...ade_fastiron_show_running-config_vlan1.yml | 321 + .../brocade_fastiron_show_span.parsed | 33 - .../show_span/brocade_fastiron_show_span.yml | 30 + .../brocade_fastiron_show_span1.parsed | 18 - .../show_span/brocade_fastiron_show_span1.yml | 16 + .../brocade_fastiron_show_topo.parsed | 45 - .../show_topo/brocade_fastiron_show_topo.yml | 38 + .../brocade_fastiron_show_topo1.parsed | 24 - .../show_topo/brocade_fastiron_show_topo1.yml | 20 + .../brocade_fastiron_show_trunk.parsed | 29 - .../brocade_fastiron_show_trunk.yml | 27 + .../brocade_fastiron_show_trunk1.parsed | 29 - .../brocade_fastiron_show_trunk1.yml | 27 + .../brocade_fastiron_show_version.parsed | 29 - .../brocade_fastiron_show_version.yml | 143 + .../brocade_netiron_show_interfaces.parsed | 696 -- .../brocade_netiron_show_interfaces.yml | 686 ++ ...ocade_netiron_show_interfaces_brief.parsed | 124 - .../brocade_netiron_show_interfaces_brief.yml | 112 + .../brocade_netiron_show_lag_brief.parsed | 98 - .../brocade_netiron_show_lag_brief.yml | 86 + ..._netiron_show_lldp_neighbors_detail.parsed | 63 - ...ade_netiron_show_lldp_neighbors_detail.yml | 57 + .../brocade_netiron_show_metro.parsed | 245 - .../show_metro/brocade_netiron_show_metro.yml | 233 + .../brocade_netiron_show_monitor.parsed | 18 - .../brocade_netiron_show_monitor.yml | 14 + ...tiron_show_running-config_interface.parsed | 26 - ..._netiron_show_running-config_interface.yml | 31 + ...iron_show_running-config_interface2.parsed | 50 - ...netiron_show_running-config_interface2.yml | 74 + ...de_netiron_show_running-config_vlan.parsed | 543 -- ...ocade_netiron_show_running-config_vlan.yml | 524 ++ .../brocade_netiron_show_span.parsed | 21 - .../show_span/brocade_netiron_show_span.yml | 19 + .../brocade_netiron_show_topo.parsed | 63 - .../show_topo/brocade_netiron_show_topo.yml | 71 + .../fw_stat/checkpoint_gaia_fw_stat.parsed | 5 - .../fw_stat/checkpoint_gaia_fw_stat.yml | 4 + .../checkpoint_gaia_show_asset_all.parsed | 6 - .../checkpoint_gaia_show_asset_all.yml | 5 + .../show_dns/checkpoint_gaia_show_dns.parsed | 8 - .../show_dns/checkpoint_gaia_show_dns.yml | 6 + .../checkpoint_gaia_show_domainname.parsed | 4 - .../checkpoint_gaia_show_domainname.yml | 3 + ...checkpoint_gaia_show_interfaces_all.parsed | 44 - .../checkpoint_gaia_show_interfaces_all.yml | 41 + .../checkpoint_gaia_show_ipv6_route.parsed | 23 - .../checkpoint_gaia_show_ipv6_route.yml | 20 + .../show_lom/checkpoint_gaia_show_lom.parsed | 5 - .../show_lom/checkpoint_gaia_show_lom.yml | 4 + .../checkpoint_gaia_show_ntp_servers.parsed | 9 - .../checkpoint_gaia_show_ntp_servers.yml | 8 + .../checkpoint_gaia_show_route.parsed | 23 - .../show_route/checkpoint_gaia_show_route.yml | 20 + .../checkpoint_gaia_show_version_all.parsed | 7 - .../checkpoint_gaia_show_version_all.yml | 6 + ...show.parsed => ciena_6x_software_show.yml} | 0 tests/cisco_asa/dir/cisco_asa_dir.parsed | 165 - tests/cisco_asa/dir/cisco_asa_dir.yml | 164 + tests/cisco_asa/dir/cisco_asa_dir2.parsed | 93 - tests/cisco_asa/dir/cisco_asa_dir2.yml | 92 + .../cisco_asa_show_access-list.parsed | 4143 ----------- .../cisco_asa_show_access-list.yml | 4142 +++++++++++ .../cisco_asa_show_asp_drop.parsed | 119 - .../show_asp_drop/cisco_asa_show_asp_drop.yml | 118 + .../cisco_asa_show_asp_drop2.parsed | 119 - .../cisco_asa_show_asp_drop2.yml | 118 + ...a_show_asp_table_vpn-context_detail.parsed | 83 - ..._asa_show_asp_table_vpn-context_detail.yml | 82 + ...cisco_asa_show_crypto_ikev1_sa_detail.yml} | 2 +- ...sed => cisco_asa_show_crypto_ipsec_sa.yml} | 1 - .../cisco_asa_show_failover.parsed | 31 - .../show_failover/cisco_asa_show_failover.yml | 69 + .../cisco_asa_show_failover2.parsed | 31 - .../cisco_asa_show_failover2.yml | 59 + .../cisco_asa_show_failover5505.parsed | 31 - .../cisco_asa_show_failover5505.yml | 77 + .../cisco_asa_show_failover_firepower.parsed | 32 - .../cisco_asa_show_failover_firepower.yml | 75 + ...cisco_asa_show_failoveractiveactive.parsed | 31 - .../cisco_asa_show_failoveractiveactive.yml | 117 + .../cisco_asa_show_interface.parsed | 147 - .../cisco_asa_show_interface.yml | 146 + .../cisco_asa_show_interface_detail.parsed | 1635 ----- .../cisco_asa_show_interface_detail.yml | 1902 +++++ .../cisco_asa_show_inventory.parsed | 13 - .../cisco_asa_show_inventory.yml | 12 + .../cisco_asa_show_inventory2.parsed | 13 - .../cisco_asa_show_inventory2.yml | 12 + ....parsed => cisco_asa_show_license_all.yml} | 0 ...parsed => cisco_asa_show_license_all2.yml} | 0 ...parsed => cisco_asa_show_license_all3.yml} | 0 .../show_name/cisco_asa_show_name.parsed | 27 - .../show_name/cisco_asa_show_name.yml | 26 + .../show_nat/cisco_asa_show_nat.parsed | 1347 ---- .../cisco_asa/show_nat/cisco_asa_show_nat.yml | 1352 ++++ ...cisco_asa_show_object-group_network.parsed | 115 - .../cisco_asa_show_object-group_network.yml | 114 + .../cisco_asa_show_resource_usage.parsed | 123 - .../cisco_asa_show_resource_usage.yml | 122 + .../show_route/cisco_asa_show_route.parsed | 282 - .../show_route/cisco_asa_show_route.yml | 281 + ...sa_show_running-config_crypto_ikev1.parsed | 87 - ...o_asa_show_running-config_crypto_ikev1.yml | 86 + ..._asa_show_running-config_crypto_map.parsed | 19 - ...sco_asa_show_running-config_crypto_map.yml | 18 + ...cisco_asa_show_running-config_ipsec.parsed | 59 - .../cisco_asa_show_running-config_ipsec.yml | 120 + ..._show_running-config_object_network.parsed | 120 - ...asa_show_running-config_object_network.yml | 119 + ...sa_show_running-config_tunnel-group.parsed | 187 - ...o_asa_show_running-config_tunnel-group.yml | 235 + ...on1.parsed => cisco_asa_show_version1.yml} | 0 ...on2.parsed => cisco_asa_show_version2.yml} | 0 ...on3.parsed => cisco_asa_show_version3.yml} | 0 ...sco_asa_show_vpn-sessiondb_detail_l2l.yml} | 0 ...co_asa_show_vpn-sessiondb_detail_l2l2.yml} | 14 - .../show_xlate/cisco_asa_show_xlate.parsed | 26 - .../show_xlate/cisco_asa_show_xlate.yml | 44 + tests/cisco_ios/dir/cisco_ios_dir.parsed | 110 - tests/cisco_ios/dir/cisco_ios_dir.yml | 98 + .../cisco_ios_show_access-list.parsed | 170 - .../cisco_ios_show_access-list.yml | 146 + .../cisco_ios_show_aliases.parsed | 47 - .../show_aliases/cisco_ios_show_aliases.yml | 35 + .../cisco_ios_show_archive.parsed | 4 - .../show_archive/cisco_ios_show_archive.yml | 3 + ...co_ios_show_authentication_sessions.parsed | 381 - ...cisco_ios_show_authentication_sessions.yml | 380 + ...o_ios_show_authentication_sessions2.parsed | 249 - ...isco_ios_show_authentication_sessions2.yml | 248 + ...o_ios_show_authentication_sessions3.parsed | 249 - ...isco_ios_show_authentication_sessions3.yml | 248 + .../show_boot/cisco_ios_show_boot.parsed | 16 - .../show_boot/cisco_ios_show_boot.yml | 15 + ...ios_show_capability_feature_routing.parsed | 44 - ...co_ios_show_capability_feature_routing.yml | 30 + .../cisco_ios_show_cdp_neighbors.parsed | 43 - .../cisco_ios_show_cdp_neighbors.yml | 32 + .../cisco_ios_show_cdp_neighbors_2.parsed | 59 - .../cisco_ios_show_cdp_neighbors_2.yml | 57 + .../cisco_ios_show_cdp_neighbors_3.parsed | 112 - .../cisco_ios_show_cdp_neighbors_3.yml | 112 + ...cisco_ios_show_cdp_neighbors_detail.parsed | 33 - .../cisco_ios_show_cdp_neighbors_detail.yml | 35 + .../show_clock/cisco_ios_show_clock.parsed | 10 - .../show_clock/cisco_ios_show_clock.yml | 8 + .../cisco_ios_show_controller_t1.parsed | 119 - .../cisco_ios_show_controller_t1.yml | 118 + .../show_dmvpn/cisco_ios_show_dmvpn.parsed | 13 - .../show_dmvpn/cisco_ios_show_dmvpn.yml | 12 + .../cisco_ios_show_dot1x_all.parsed | 40 - .../cisco_ios_show_dot1x_all.yml | 38 + ...isco_ios_show_environment_power_all.parsed | 45 - .../cisco_ios_show_environment_power_all.yml | 44 + ...sco_ios_show_environment_power_all1.parsed | 31 - .../cisco_ios_show_environment_power_all1.yml | 30 + ...co_ios_show_environment_temperature.parsed | 22 - ...cisco_ios_show_environment_temperature.yml | 22 + .../cisco_ios_show_hosts_summary.parsed | 7 - .../cisco_ios_show_hosts_summary.yml | 6 + ...isco_ios_show_interface_transceiver.parsed | 26 - .../cisco_ios_show_interface_transceiver.yml | 22 + .../cisco_ios_show_interfaces.parsed | 195 - .../cisco_ios_show_interfaces.yml | 194 + .../cisco_ios_show_interfaces2.parsed | 1347 ---- .../cisco_ios_show_interfaces2.yml | 1346 ++++ .../cisco_ios_show_interfaces3.parsed | 339 - .../cisco_ios_show_interfaces3.yml | 338 + ...sco_ios_show_interfaces_description.parsed | 51 - .../cisco_ios_show_interfaces_description.yml | 50 + .../cisco_ios_show_interfaces_status.parsed | 129 - .../cisco_ios_show_interfaces_status.yml | 128 + ...isco_ios_show_interfaces_switchport.parsed | 57 - .../cisco_ios_show_interfaces_switchport.yml | 56 + ...ow_interfaces_switchport_voice_vlan.parsed | 48 - ..._show_interfaces_switchport_voice_vlan.yml | 47 + .../cisco_ios_show_inventory.parsed | 27 - .../cisco_ios_show_inventory.yml | 22 + .../cisco_ios_show_ip_access-lists.parsed | 2350 ------ .../cisco_ios_show_ip_access-lists.yml | 2351 ++++++ .../show_ip_arp/cisco_ios_show_ip_arp.parsed | 44 - .../show_ip_arp/cisco_ios_show_ip_arp.yml | 44 + .../show_ip_bgp/cisco_ios_show_ip_bgp.parsed | 123 - .../show_ip_bgp/cisco_ios_show_ip_bgp.yml | 122 + .../show_ip_bgp/cisco_ios_show_ip_bgp1.parsed | 53 - .../show_ip_bgp/cisco_ios_show_ip_bgp1.yml | 52 + .../show_ip_bgp/cisco_ios_show_ip_bgp2.parsed | 83 - .../show_ip_bgp/cisco_ios_show_ip_bgp2.yml | 82 + .../show_ip_bgp/cisco_ios_show_ip_bgp3.parsed | 583 -- .../show_ip_bgp/cisco_ios_show_ip_bgp3.yml | 582 ++ .../show_ip_bgp/cisco_ios_show_ip_bgp4.parsed | 123 - .../show_ip_bgp/cisco_ios_show_ip_bgp4.yml | 122 + .../show_ip_bgp/cisco_ios_show_ip_bgp5.parsed | 82 - .../show_ip_bgp/cisco_ios_show_ip_bgp5.yml | 82 + .../cisco_ios_show_ip_bgp_summary.parsed | 72 - .../cisco_ios_show_ip_bgp_summary.yml | 62 + ...sco_ios_show_ip_device_tracking_all.parsed | 25 - .../cisco_ios_show_ip_device_tracking_all.yml | 23 + .../cisco_ios_show_ip_eigrp_neighbors.parsed | 24 - .../cisco_ios_show_ip_eigrp_neighbors.yml | 20 + .../cisco_ios_show_ip_eigrp_neighbors1.parsed | 124 - .../cisco_ios_show_ip_eigrp_neighbors1.yml | 110 + .../cisco_ios_show_ip_eigrp_topology.parsed | 86 - .../cisco_ios_show_ip_eigrp_topology.yml | 111 + .../cisco_ios_show_ip_eigrp_topology1.parsed | 134 - .../cisco_ios_show_ip_eigrp_topology1.yml | 163 + .../cisco_ios_show_ip_flow_toptalkers.parsed | 20 - .../cisco_ios_show_ip_flow_toptalkers.yml | 18 + .../cisco_ios_show_ip_interface.parsed | 834 --- .../cisco_ios_show_ip_interface.yml | 948 +++ .../cisco_ios_show_ip_interface2.parsed | 101 - .../cisco_ios_show_ip_interface2.yml | 109 + .../cisco_ios_show_ip_interface3.parsed | 13 - .../cisco_ios_show_ip_interface3.yml | 14 + .../cisco_ios_show_ip_interface4.parsed | 45 - .../cisco_ios_show_ip_interface4.yml | 46 + .../cisco_ios_show_ip_interface_brief.parsed | 32 - .../cisco_ios_show_ip_interface_brief.yml | 26 + .../cisco_ios_show_ip_mroute1.parsed | 16 - .../cisco_ios_show_ip_mroute1.yml | 15 + ...2.parsed => cisco_ios_show_ip_mroute2.yml} | 0 .../cisco_ios_show_ip_mroute3.parsed | 86 - .../cisco_ios_show_ip_mroute3.yml | 100 + .../cisco_ios_show_ip_ospf_database.parsed | 59 - .../cisco_ios_show_ip_ospf_database.yml | 58 + ...co_ios_show_ip_ospf_interface_brief.parsed | 75 - ...cisco_ios_show_ip_ospf_interface_brief.yml | 74 + .../cisco_ios_show_ip_ospf_neighbor.parsed | 23 - .../cisco_ios_show_ip_ospf_neighbor.yml | 20 + .../four_neighbors.parsed | 30 - .../show_ip_ospf_neighbor/four_neighbors.yml | 26 + .../cisco_ios_show_ip_prefix-list.parsed | 23 - .../cisco_ios_show_ip_prefix-list.yml | 23 + .../cisco_ios_show_ip_route.parsed | 352 - .../show_ip_route/cisco_ios_show_ip_route.yml | 317 + .../cisco_ios_show_ip_source_binding.parsed | 22 - .../cisco_ios_show_ip_source_binding.yml | 20 + ...cisco_ios_show_ipv6_interface_brief.parsed | 423 -- .../cisco_ios_show_ipv6_interface_brief.yml | 422 ++ .../cisco_ios_show_ipv6_neighbors1.parsed | 48 - .../cisco_ios_show_ipv6_neighbors1.yml | 47 + .../cisco_ios_show_isdn_status.parsed | 39 - .../cisco_ios_show_isdn_status.yml | 38 + .../cisco_ios_show_isis_neighbors.parsed | 42 - .../cisco_ios_show_isis_neighbors.yml | 37 + .../cisco_ios_show_license.parsed | 73 - .../show_license/cisco_ios_show_license.yml | 72 + .../cisco_ios_show_lldp_neighbors.parsed | 21 - .../cisco_ios_show_lldp_neighbors.yml | 14 + .../cisco_ios_show_lldp_neighbors2.parsed | 5 - .../cisco_ios_show_lldp_neighbors2.yml | 5 + ...sco_ios_show_lldp_neighbors_detail1.parsed | 31 - .../cisco_ios_show_lldp_neighbors_detail1.yml | 31 + ...sco_ios_show_lldp_neighbors_detail2.parsed | 41 - .../cisco_ios_show_lldp_neighbors_detail2.yml | 43 + ...sco_ios_show_lldp_neighbors_detail3.parsed | 11 - .../cisco_ios_show_lldp_neighbors_detail3.yml | 11 + ...sco_ios_show_lldp_neighbors_detail4.parsed | 22 - .../cisco_ios_show_lldp_neighbors_detail4.yml | 21 + .../cisco_ios_show_mac-address-table.parsed | 47 - .../cisco_ios_show_mac-address-table.yml | 38 + .../cisco_ios_show_mac-address-table2.parsed | 47 - .../cisco_ios_show_mac-address-table2.yml | 38 + .../cisco_ios_show_mac-address-table3.parsed | 48 - .../cisco_ios_show_mac-address-table3.yml | 38 + .../cisco_ios_show_mac-address-table4.parsed | 89 - .../cisco_ios_show_mac-address-table4.yml | 70 + ... => cisco_ios_show_mac-address-table5.yml} | 10 - .../cisco_ios_show_platform_diag.parsed | 75 - .../cisco_ios_show_platform_diag.yml | 68 + .../cisco_ios_show_platform_diag_2.parsed | 25 - .../cisco_ios_show_platform_diag_2.yml | 24 + .../cisco_ios_show_power_available.parsed | 11 - .../cisco_ios_show_power_available.yml | 10 + .../cisco_ios_show_power_available1.parsed | 11 - .../cisco_ios_show_power_available1.yml | 10 + .../cisco_ios_show_power_status.parsed | 51 - .../cisco_ios_show_power_status.yml | 50 + .../cisco_ios_show_power_status1.parsed | 51 - .../cisco_ios_show_power_status1.yml | 50 + .../cisco_ios_show_power_status2.parsed | 19 - .../cisco_ios_show_power_status2.yml | 18 + .../cisco_ios_show_power_supplies.parsed | 5 - .../cisco_ios_show_power_supplies.yml | 4 + .../cisco_ios_show_power_supplies1.parsed | 5 - .../cisco_ios_show_power_supplies1.yml | 4 + .../cisco_ios_show_processes_cpu.parsed | 7 - .../cisco_ios_show_processes_cpu.yml | 6 + ...co_ios_show_processes_memory_sorted.parsed | 10 - ...cisco_ios_show_processes_memory_sorted.yml | 75 + ...y.parsed => cisco_ios_show_redundancy.yml} | 0 .../cisco_ios_show_route-map.parsed | 12 - .../cisco_ios_show_route-map.yml | 17 + ...unning-config_partition_access-list.parsed | 2048 ------ ...w_running-config_partition_access-list.yml | 2049 ++++++ ..._running-config_partition_route-map.parsed | 87 - ...how_running-config_partition_route-map.yml | 74 + ...running-config_partition_route-map2.parsed | 41 - ...ow_running-config_partition_route-map2.yml | 42 + .../cisco_ios_show_snmp_community.parsed | 17 - .../cisco_ios_show_snmp_community.yml | 14 + .../cisco_ios_show_snmp_user.parsed | 23 - .../cisco_ios_show_snmp_user.yml | 23 + .../cisco_ios_show_spanning_tree.parsed | 65 - .../cisco_ios_show_spanning_tree.yml | 58 + .../cisco_ios_show_standby.parsed | 20 - .../show_standby/cisco_ios_show_standby.yml | 19 + .../cisco_ios_show_standby_brief.parsed | 65 - .../cisco_ios_show_standby_brief.yml | 58 + ...rsed => cisco_ios_show_switch_detail1.yml} | 1 - ...rsed => cisco_ios_show_switch_detail2.yml} | 1 - ...acacs.parsed => cisco_ios_show_tacacs.yml} | 1 - .../cisco_ios_show_version.parsed | 15 - .../show_version/cisco_ios_show_version.yml | 14 + .../cisco_ios_show_version1.parsed | 25 - .../show_version/cisco_ios_show_version1.yml | 24 + .../cisco_ios_show_version2.parsed | 15 - .../show_version/cisco_ios_show_version2.yml | 14 + .../show_vlan/cisco_ios_show_vlan.parsed | 42 - .../show_vlan/cisco_ios_show_vlan.yml | 59 + .../show_vrf/cisco_ios_show_vrf.parsed | 227 - .../cisco_ios/show_vrf/cisco_ios_show_vrf.yml | 225 + .../show_vrf/cisco_ios_show_vrf2.parsed | 10 - .../show_vrf/cisco_ios_show_vrf2.yml | 9 + .../cisco_ios_show_vtp_status.parsed | 16 - .../cisco_ios_show_vtp_status.yml | 15 + .../cisco_nxos_show_access-lists.parsed | 291 - .../cisco_nxos_show_access-lists.yml | 263 + .../cisco_nxos_show_cdp_neighbors.parsed | 50 - .../cisco_nxos_show_cdp_neighbors.yml | 44 + .../cisco_nxos_show_cdp_neighbors2.parsed | 38 - .../cisco_nxos_show_cdp_neighbors2.yml | 38 + ...isco_nxos_show_cdp_neighbors_detail.parsed | 49 - .../cisco_nxos_show_cdp_neighbors_detail.yml | 48 + .../show_clock/cisco_nxos_show_clock.parsed | 9 - .../show_clock/cisco_nxos_show_clock.yml | 8 + ..._show_configuration_session_summary.parsed | 9 - ...xos_show_configuration_session_summary.yml | 8 + .../cisco_nxos_show_cts_interface_all.parsed | 30 - .../cisco_nxos_show_cts_interface_all.yml | 28 + ...cisco_nxos_show_cts_interface_brief.parsed | 8 - .../cisco_nxos_show_cts_interface_brief.yml | 7 + ...o_nxos_show_environment_temperature.parsed | 35 - ...isco_nxos_show_environment_temperature.yml | 26 + .../cisco_nxos_show_environments.parsed | 240 - .../cisco_nxos_show_environments.yml | 223 + .../cisco_nxos_show_feature.parsed | 255 - .../show_feature/cisco_nxos_show_feature.yml | 188 + .../show_fex/cisco_nxos_show_fex.parsed | 34 - .../show_fex/cisco_nxos_show_fex.yml | 32 + .../show_fex_id/cisco_nxos_show_fex_id.parsed | 20 - .../show_fex_id/cisco_nxos_show_fex_id.yml | 27 + .../cisco_nxos_show_flogi_database.parsed | 149 - .../cisco_nxos_show_flogi_database.yml | 128 + ...sco_nxos_show_forwarding_ipv4_route.parsed | 1214 ---- .../cisco_nxos_show_forwarding_ipv4_route.yml | 1214 ++++ .../cisco_nxos_show_hostname.parsed | 4 - .../cisco_nxos_show_hostname.yml | 3 + .../cisco_nxos_show_interface.parsed | 60 - .../cisco_nxos_show_interface.yml | 59 + .../cisco_nxos_show_interface2.parsed | 117 - .../cisco_nxos_show_interface2.yml | 116 + .../cisco_nxos_show_interface3.parsed | 60 - .../cisco_nxos_show_interface3.yml | 59 + .../cisco_nxos_show_interface_brief.parsed | 662 -- .../cisco_nxos_show_interface_brief.yml | 662 ++ .../cisco_nxos_show_interface_status.parsed | 586 -- .../cisco_nxos_show_interface_status.yml | 513 ++ .../cisco_nxos_show_interface_status1.parsed | 66 - .../cisco_nxos_show_interface_status1.yml | 65 + .../cisco_nxos_show_interface_status2.parsed | 388 - .../cisco_nxos_show_interface_status2.yml | 387 + .../cisco_nxos_show_interface_status3.parsed | 94 - .../cisco_nxos_show_interface_status3.yml | 93 + ..._show_interface_transceiver_details.parsed | 171 - ...xos_show_interface_transceiver_details.yml | 164 + ...sco_nxos_show_interfaces_switchport.parsed | 27 - .../cisco_nxos_show_interfaces_switchport.yml | 26 + ...ow_interfaces_switchport_voice_vlan.parsed | 27 - ..._show_interfaces_switchport_voice_vlan.yml | 26 + .../cisco_nxos_show_inventory.parsed | 70 - .../cisco_nxos_show_inventory.yml | 57 + .../show_ip_arp/cisco_nxos_show_ip_arp.parsed | 95 - .../show_ip_arp/cisco_nxos_show_ip_arp.yml | 94 + .../cisco_nxos_show_ip_arp_detail.parsed | 20 - .../cisco_nxos_show_ip_arp_detail.yml | 17 + .../show_ip_bgp/cisco_nxos_show_ip_bgp.parsed | 383 - .../show_ip_bgp/cisco_nxos_show_ip_bgp.yml | 382 + .../cisco_nxos_show_ip_bgp_neighbors.parsed | 2967 -------- .../cisco_nxos_show_ip_bgp_neighbors.yml | 3155 ++++++++ ..._ip_bgp_neighbors_with_policy_names.parsed | 53 - ...how_ip_bgp_neighbors_with_policy_names.yml | 57 + ...sed => cisco_nxos_show_ip_bgp_summary.yml} | 2 +- ...=> cisco_nxos_show_ip_bgp_summary_vrf.yml} | 0 ... => cisco_nxos_show_ip_community-list.yml} | 52 +- ...sco_nxos_show_ip_dhcp_relay_address.parsed | 14 - .../cisco_nxos_show_ip_dhcp_relay_address.yml | 10 + .../cisco_nxos_show_ip_interface_brief.parsed | 37 - .../cisco_nxos_show_ip_interface_brief.yml | 37 + .../cisco_nxos_show_ip_ospf_database.parsed | 91 - .../cisco_nxos_show_ip_ospf_database.yml | 90 + ...co_nxos_show_ip_ospf_neighbor_vrf_all.yml} | 0 .../cisco_nxos_show_ip_route.parsed | 557 -- .../cisco_nxos_show_ip_route.yml | 557 ++ .../cisco_nxos_show_ip_route_vrf.parsed | 1112 --- .../cisco_nxos_show_ip_route_vrf.yml | 1112 +++ ...isco_nxos_show_ipv6_interface_brief.parsed | 39 - .../cisco_nxos_show_ipv6_interface_brief.yml | 37 + ...ib_internal_permanently-frozen-list.parsed | 78 - ...l2rib_internal_permanently-frozen-list.yml | 77 + .../cisco_nxos_show_lldp_neighbors.parsed | 15 - .../cisco_nxos_show_lldp_neighbors.yml | 11 + ...sco_nxos_show_lldp_neighbors_detail.parsed | 35 - .../cisco_nxos_show_lldp_neighbors_detail.yml | 35 + .../cisco_nxos_show_mac_address-table.parsed | 26 - .../cisco_nxos_show_mac_address-table.yml | 23 + .../show_module/cisco_nxos_show_module.parsed | 25 - .../show_module/cisco_nxos_show_module.yml | 22 + ...isco_nxos_show_port-channel_summary.parsed | 55 - .../cisco_nxos_show_port-channel_summary.yml | 54 + ...sco_nxos_show_port-channel_summary2.parsed | 241 - .../cisco_nxos_show_port-channel_summary2.yml | 240 + .../cisco_nxos_show_processes_cpu.parsed | 7 - .../cisco_nxos_show_processes_cpu.yml | 6 + .../cisco_nxos_show_route-map.parsed | 99 - .../cisco_nxos_show_route-map.yml | 99 + .../cisco_nxos_show_version.parsed | 8 - .../show_version/cisco_nxos_show_version.yml | 7 + .../cisco_nxos_show_version1.parsed | 8 - .../show_version/cisco_nxos_show_version1.yml | 7 + .../show_vlan/cisco_nxos_show_vlan.parsed | 25 - .../show_vlan/cisco_nxos_show_vlan.yml | 20 + .../show_vpc/cisco_nxos_show_vpc.parsed | 11 - .../show_vpc/cisco_nxos_show_vpc.yml | 8 + .../show_vrf/cisco_nxos_show_vrf.parsed | 35 - .../show_vrf/cisco_nxos_show_vrf.yml | 34 + .../cisco_wlc_ssh_show_802_11ab.parsed | 116 - .../cisco_wlc_ssh_show_802_11ab.yml | 116 + ...c_ssh_show_802.11ab_cleanair_config.parsed | 54 - ..._wlc_ssh_show_802.11ab_cleanair_config.yml | 54 + ...ssh_show_802.11ab_cleanair_config_2.parsed | 54 - ...lc_ssh_show_802.11ab_cleanair_config_2.yml | 54 + ...c_ssh_show_advanced_802.11a_channel.parsed | 21 - ..._wlc_ssh_show_advanced_802.11a_channel.yml | 21 + ...isco_wlc_ssh_show_ap_config_general.parsed | 29 - .../cisco_wlc_ssh_show_ap_config_general.yml | 29 + .../cisco_wlc_ssh_show_ap_summary.parsed | 20 - .../cisco_wlc_ssh_show_ap_summary.yml | 20 + ...o_wlc_ssh_show_cdp_neighbors_detail.parsed | 25 - ...isco_wlc_ssh_show_cdp_neighbors_detail.yml | 29 + ...arsed => cisco_wlc_show_client_detail.yml} | 1 + .../cisco_wlc_ssh_show_exclusionlist.parsed | 10 - .../cisco_wlc_ssh_show_exclusionlist.yml | 10 + ...isco_wlc_ssh_show_interface_summary.parsed | 26 - .../cisco_wlc_ssh_show_interface_summary.yml | 26 + ...arsed => cisco_wlc_ssh_show_inventory.yml} | 0 ...sco_wlc_ssh_show_rf-profile_summary.parsed | 17 - .../cisco_wlc_ssh_show_rf-profile_summary.yml | 17 + .../cisco_wlc_ssh_show_sysinfo.parsed | 20 - .../cisco_wlc_ssh_show_sysinfo.yml | 19 + ...admin_show_controller_fabric_health.parsed | 85 - ...xr_admin_show_controller_fabric_health.yml | 82 + ...cisco_xr_admin_show_environment_fan.parsed | 41 - .../cisco_xr_admin_show_environment_fan.yml | 97 + .../cisco_xr_admin_show_inventory.parsed | 48 - .../cisco_xr_admin_show_inventory.yml | 47 + .../cisco_xr_admin_show_platform.parsed | 27 - .../cisco_xr_admin_show_platform.yml | 22 + .../cisco_xr_admin_show_vm.parsed | 163 - .../admin_show_vm/cisco_xr_admin_show_vm.yml | 122 + ...co_xr_show_asic-errors_all_location.parsed | 111 - ...cisco_xr_show_asic-errors_all_location.yml | 110 + .../cisco_xr_show_bfd_sessions.parsed | 21 - .../cisco_xr_show_bfd_sessions.yml | 20 + .../show_bgp/cisco_xr_show_bgp.parsed | 386 - tests/cisco_xr/show_bgp/cisco_xr_show_bgp.yml | 386 + ...how_bgp2.parsed => cisco_xr_show_bgp2.yml} | 0 .../cisco_xr_show_bgp_neighbors.parsed | 347 - .../cisco_xr_show_bgp_neighbors.yml | 498 ++ .../cisco_xr_show_bgp_neighbors1.parsed | 863 --- .../cisco_xr_show_bgp_neighbors1.yml | 1138 +++ ...ow_bgp_vrf_all_ipv4_unicast_summary.parsed | 18 - ..._show_bgp_vrf_all_ipv4_unicast_summary.yml | 17 + .../cisco_xr_show_cdp_neighbors_detail.parsed | 199 - .../cisco_xr_show_cdp_neighbors_detail.yml | 198 + .../cisco_xr_show_cef_drops_location.parsed | 67 - .../cisco_xr_show_cef_drops_location.yml | 66 + ...o_xr_show_configuration_commit_list.parsed | 79 - ...isco_xr_show_configuration_commit_list.yml | 68 + ...xr_show_controller_fabric_plane_all.parsed | 45 - ...co_xr_show_controller_fabric_plane_all.yml | 32 + ..._controllers_HundredGigabitEthernet.parsed | 34 - ...how_controllers_HundredGigabitEthernet.yml | 86 + .../cisco_xr_show_controllers_all_phy.parsed | 113 - .../cisco_xr_show_controllers_all_phy.yml | 112 + ...=> cisco_xr_show_controllers_all_phy2.yml} | 8 - ...rs_fabric_fia_drops_egress_location.parsed | 119 - ...llers_fabric_fia_drops_egress_location.yml | 118 + ...s_fabric_fia_drops_ingress_location.parsed | 119 - ...lers_fabric_fia_drops_ingress_location.yml | 118 + ...s_fabric_fia_errors_egress_location.parsed | 23 - ...lers_fabric_fia_errors_egress_location.yml | 22 + ..._fabric_fia_errors_ingress_location.parsed | 75 - ...ers_fabric_fia_errors_ingress_location.yml | 74 + ...sco_xr_show_dhcp_ipv4_proxy_binding.parsed | 66 - .../cisco_xr_show_dhcp_ipv4_proxy_binding.yml | 58 + .../cisco_xr_show_drops_np_all.parsed | 1219 ---- .../cisco_xr_show_drops_np_all.yml | 1218 ++++ .../cisco_xr_show_drops_np_all2.parsed | 1219 ---- .../cisco_xr_show_drops_np_all2.yml | 1218 ++++ .../cisco_xr_show_drops_np_all3.parsed | 2283 ------ .../cisco_xr_show_drops_np_all3.yml | 2282 ++++++ ...how_hsrp.parsed => cisco_xr_show_hsrp.yml} | 0 .../cisco_xr_show_interface_brief.parsed | 615 -- .../cisco_xr_show_interface_brief.yml | 614 ++ ...es.parsed => cisco_xr_show_interfaces.yml} | 0 .../cisco_xr_show_ip_bgp_summary.parsed | 51 - .../cisco_xr_show_ip_bgp_summary.yml | 42 + .../cisco_xr_show_ip_interface_brief.parsed | 32 - .../cisco_xr_show_ip_interface_brief.yml | 32 + .../cisco_xr_show_ip_route.parsed | 343 - .../show_ip_route/cisco_xr_show_ip_route.yml | 342 + .../cisco_xr_show_ip_route2.parsed | 73 - .../show_ip_route/cisco_xr_show_ip_route2.yml | 72 + .../cisco_xr_show_ip_route_vrf.parsed | 494 -- .../cisco_xr_show_ip_route_vrf.yml | 492 ++ .../cisco_xr_show_ipv6_neighbors.parsed | 75 - .../cisco_xr_show_ipv6_neighbors.yml | 74 + .../cisco_xr_show_isis_neighbors.parsed | 34 - .../cisco_xr_show_isis_neighbors.yml | 30 + .../cisco_xr_show_lldp_neighbors.parsed | 9 - .../cisco_xr_show_lldp_neighbors.yml | 8 + ...lpts_pifib_hardware_police_location.parsed | 867 --- ...ow_lpts_pifib_hardware_police_location.yml | 866 +++ ...pts_pifib_hardware_police_location2.parsed | 822 --- ...w_lpts_pifib_hardware_police_location2.yml | 821 +++ ...sco_xr_show_mpls_ldp_neighbor_brief.parsed | 35 - .../cisco_xr_show_mpls_ldp_neighbor_brief.yml | 32 + .../cisco_xr_show_ospf_neighbor.parsed | 35 - .../cisco_xr_show_ospf_neighbor.yml | 30 + .../cisco_xr_show_pim_neighbor.parsed | 26 - .../cisco_xr_show_pim_neighbor.yml | 23 + .../cisco_xr_show_processes_cpu.parsed | 5 - .../cisco_xr_show_processes_cpu.yml | 5 + .../cisco_xr_show_redundancy_summary.parsed | 12 - .../cisco_xr_show_redundancy_summary.yml | 10 + .../cisco_xr_show_rsvp_neighbors.parsed | 10 - .../cisco_xr_show_rsvp_neighbors.yml | 8 + .../show_version/cisco_xr_show_version.parsed | 7 - .../show_version/cisco_xr_show_version.yml | 7 + .../cisco_xr_show_version2.parsed | 7 - .../show_version/cisco_xr_show_version2.yml | 7 + .../cisco_xr_show_version_crs.parsed | 7 - .../cisco_xr_show_version_crs.yml | 7 + .../show_arp/dell_force10_show_arp.parsed | 33 - .../show_arp/dell_force10_show_arp.yml | 27 + .../dell_force10_show_version.parsed | 7 - .../dell_force10_show_version.yml | 5 + .../show_vlan/dell_force10_show_vlan.parsed | 50 - .../show_vlan/dell_force10_show_vlan.yml | 46 + .../show_vlan/dell_force10_show_vlan_1.parsed | 110 - .../show_vlan/dell_force10_show_vlan_1.yml | 101 + .../dell_force10_show_vlan_brief.parsed | 33 - .../dell_force10_show_vlan_brief.yml | 32 + .../get_router_info_bgp_summary.parsed | 19 - .../get_router_info_bgp_summary.yml | 18 + .../display_arp/hp_comware_display_arp.parsed | 11 - .../display_arp/hp_comware_display_arp.yml | 20 + .../hp_comware_display_clock.parsed | 6 - .../hp_comware_display_clock.yml | 8 + ...re_display_counters_bound_interface.parsed | 43 - ...mware_display_counters_bound_interface.yml | 42 + .../hp_comware_display_mac-address.parsed | 27 - .../hp_comware_display_mac-address.yml | 22 + .../hp_comware_display_vlan_brief.parsed | 23 - .../hp_comware_display_vlan_brief.yml | 14 + .../show_arp/hp_procurve_show_arp.parsed | 19 - .../show_arp/hp_procurve_show_arp.yml | 14 + .../show_arp/hp_procurve_show_arp_1.parsed | 18 - .../show_arp/hp_procurve_show_arp_1.yml | 14 + .../hp_procurve_show_mac-address.parsed | 15 - .../hp_procurve_show_mac-address.yml | 14 + ...tem.parsed => hp_procurve_show_system.yml} | 2 - .../hp_procurve_show_tech_buffers.parsed | 11 - .../hp_procurve_show_tech_buffers.yml | 8 + ...lans.parsed => hp_procurve_show_vlans.yml} | 3 - .../show_vlans/hp_procurve_show_vlans2.parsed | 21 - .../show_vlans/hp_procurve_show_vlans2.yml | 17 + .../show_vlans/hp_procurve_show_vlans3.parsed | 15 - .../show_vlans/hp_procurve_show_vlans3.yml | 12 + .../huawei_vrp_display_interface_brief.parsed | 129 - .../huawei_vrp_display_interface_brief.yml | 128 + .../huawei_vrp_display_temperature.parsed | 47 - .../huawei_vrp_display_temperature.yml | 38 + .../juniper_junos_show_arp_no-resolve.parsed | 38 - .../juniper_junos_show_arp_no-resolve.yml | 38 + ...nos_show_chassis_cluster_interfaces.parsed | 192 - ..._junos_show_chassis_cluster_interfaces.yml | 192 + ...os_show_chassis_cluster_interfaces2.parsed | 102 - ...junos_show_chassis_cluster_interfaces2.yml | 102 + ...os_show_chassis_cluster_interfaces3.parsed | 192 - ...junos_show_chassis_cluster_interfaces3.yml | 192 + ...os_show_chassis_cluster_interfaces4.parsed | 102 - ...junos_show_chassis_cluster_interfaces4.yml | 102 + ...r_junos_show_chassis_cluster_status.parsed | 29 - ...iper_junos_show_chassis_cluster_status.yml | 65 + ...juniper_junos_show_chassis_firmware.parsed | 450 -- .../juniper_junos_show_chassis_firmware.yml | 449 ++ .../juniper_junos_show_interfaces.parsed | 43 - .../juniper_junos_show_interfaces.yml | 37 + .../juniper_junos_show_isis_adjacency.parsed | 37 - .../juniper_junos_show_isis_adjacency.yml | 32 + .../juniper_junos_show_ospf_neighbor.parsed | 17 - .../juniper_junos_show_ospf_neighbor.yml | 14 + .../juniper_junos_show_version.parsed | 40 - .../juniper_junos_show_version.yml | 40 + .../juniper_screenos_get_route.parsed | 46 - .../get_route/juniper_screenos_get_route.yml | 42 + .../show_mac-address-table/show_mac1.raw | 17 + .../show_mac-address-table/show_mac2.raw | 17 + .../show_mac-address-table/show_mac3.raw | 17 + tests/mocks/expected/parsed_sample.yml | 15 + tests/mocks/expected/show_mac.yml | 38 + tests/mocks/expected/yaml_comments.yml | 25 + tests/mocks/load/glob/parsed_sample1.yml | 14 + tests/mocks/load/glob/parsed_sample2.yml | 14 + tests/mocks/load/parsed_sample.yml | 14 + tests/mocks/load/yaml_comments.yml | 24 + .../paloalto_panos_show_arp_all.parsed | 27 - .../paloalto_panos_show_arp_all.yml | 26 + .../paloalto_panos_show_counter_global.parsed | 64 - .../paloalto_panos_show_counter_global.yml | 51 + ...to_panos_show_high-availability_all.parsed | 24 - ...oalto_panos_show_high-availability_all.yml | 22 + ...oalto_panos_show_interface_hardware.parsed | 67 - ...paloalto_panos_show_interface_hardware.yml | 50 + ...loalto_panos_show_interface_logical.parsed | 122 - .../paloalto_panos_show_interface_logical.yml | 92 + .../paloalto_panos_show_jobs_all.parsed | 59 - .../paloalto_panos_show_jobs_all.yml | 58 + .../paloalto_panos_show_jobs_all2.parsed | 52 - .../paloalto_panos_show_jobs_all2.yml | 51 + .../paloalto_panos_show_mac_all.parsed | 18 - .../paloalto_panos_show_mac_all.yml | 17 + ...oalto_panos_show_running_nat-policy.parsed | 25 - ...paloalto_panos_show_running_nat-policy.yml | 22 + ..._panos_show_running_security-policy.parsed | 110 - ...lto_panos_show_running_security-policy.yml | 100 + .../paloalto_panos_show_system_info.parsed | 19 - .../paloalto_panos_show_system_info.yml | 18 + .../show_arp/ruckus_fastiron_show_arp.parsed | 28 - .../show_arp/ruckus_fastiron_show_arp.yml | 26 + .../show_arp/ruckus_fastiron_show_arp1.parsed | 3548 --------- .../show_arp/ruckus_fastiron_show_arp1.yml | 3546 +++++++++ tests/test_development_scripts.py | 155 + tests/test_index_order.py | 8 +- ...red_data_against_parsed_reference_files.py | 10 +- .../ubiquiti_edgeswitch_show_arp.parsed | 22 - .../show_arp/ubiquiti_edgeswitch_show_arp.yml | 22 + .../ubiquiti_edgeswitch_show_vlan.parsed | 17 - .../ubiquiti_edgeswitch_show_vlan.yml | 17 + .../vmware_nsxv_show_ip_bgp_neighbors.parsed | 19 - .../vmware_nsxv_show_ip_bgp_neighbors.yml | 18 + .../vmware_nsxv_show_ip_route.parsed | 39 - .../vmware_nsxv_show_ip_route.yml | 38 + .../vmware_nsxv_show_ip_route1.parsed | 27 - .../vmware_nsxv_show_ip_route1.yml | 26 + .../vmware_nsxv_show_ip_route2.parsed | 27 - .../vmware_nsxv_show_ip_route2.yml | 26 + ...ow_arp.parsed => vyatta_vyos_show_arp.yml} | 0 .../vyatta_vyos_show_interfaces.parsed | 42 - .../vyatta_vyos_show_interfaces.yml | 55 + .../watchguard_firebox_show_arp.parsed | 21 - .../show_arp/watchguard_firebox_show_arp.yml | 20 + tox.ini | 9 +- 845 files changed, 78103 insertions(+), 77125 deletions(-) create mode 100644 .yamllint create mode 100755 development_scripts.py delete mode 100644 helpers/create-parsed.yml delete mode 100644 helpers/make-parsed.j2 delete mode 100644 pylama.ini delete mode 100644 test-template.yml delete mode 100644 test-templates.py delete mode 100644 test_hosts delete mode 100644 tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.parsed create mode 100644 tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.yml delete mode 100644 tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.parsed create mode 100644 tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.yml rename tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/{alcatel_sros_show_router_bgp_routes_vpn-ipv4.parsed => alcatel_sros_show_router_bgp_routes_vpn-ipv4.yml} (52%) delete mode 100644 tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.parsed create mode 100644 tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.yml delete mode 100644 tests/arista_eos/bash_df_-h/arista_eos_bash_df_-h.parsed create mode 100644 tests/arista_eos/bash_df_-h/arista_eos_bash_df_-h.yml delete mode 100644 tests/arista_eos/dir_flash/arista_eos_dir_flash.parsed create mode 100644 tests/arista_eos/dir_flash/arista_eos_dir_flash.yml rename tests/arista_eos/show_bgp_evpn_summary/{arista_eos_show_bgp_evpn_summary.parsed => arista_eos_show_bgp_evpn_summary.yml} (99%) delete mode 100644 tests/arista_eos/show_boot-config/arista_eos_show_boot-config.parsed create mode 100644 tests/arista_eos/show_boot-config/arista_eos_show_boot-config.yml delete mode 100644 tests/arista_eos/show_clock/arista_eos_show_clock.parsed create mode 100644 tests/arista_eos/show_clock/arista_eos_show_clock.yml delete mode 100644 tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.parsed create mode 100644 tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.yml delete mode 100644 tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed create mode 100644 tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.yml delete mode 100644 tests/arista_eos/show_hostname/arista_eos_show_hostname.parsed create mode 100644 tests/arista_eos/show_hostname/arista_eos_show_hostname.yml delete mode 100644 tests/arista_eos/show_interfaces/arista_eos_show_interfaces.parsed create mode 100644 tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml delete mode 100644 tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status.parsed create mode 100644 tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status.yml delete mode 100644 tests/arista_eos/show_interfaces_transceiver/arista_eos_show_interfaces_transceiver.parsed create mode 100644 tests/arista_eos/show_interfaces_transceiver/arista_eos_show_interfaces_transceiver.yml delete mode 100644 tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.parsed create mode 100644 tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.yml delete mode 100644 tests/arista_eos/show_inventory/arista_eos_show_inventory.parsed create mode 100644 tests/arista_eos/show_inventory/arista_eos_show_inventory.yml delete mode 100644 tests/arista_eos/show_ip_access-lists/arista_eos_show_ip_access-lists.parsed create mode 100644 tests/arista_eos/show_ip_access-lists/arista_eos_show_ip_access-lists.yml delete mode 100644 tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.parsed create mode 100644 tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml delete mode 100644 tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp.parsed create mode 100644 tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp.yml delete mode 100644 tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp2.parsed create mode 100644 tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp2.yml delete mode 100644 tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.parsed create mode 100644 tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.yml delete mode 100644 tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed create mode 100644 tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.yml delete mode 100644 tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.parsed create mode 100644 tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.yml delete mode 100644 tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.parsed create mode 100644 tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.yml delete mode 100644 tests/arista_eos/show_ip_interface_brief/arista_eos_show_ip_interface_brief.parsed create mode 100644 tests/arista_eos/show_ip_interface_brief/arista_eos_show_ip_interface_brief.yml delete mode 100644 tests/arista_eos/show_ip_ospf_database/arista_eos_show_ip_ospf_database.parsed create mode 100644 tests/arista_eos/show_ip_ospf_database/arista_eos_show_ip_ospf_database.yml delete mode 100644 tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.parsed create mode 100644 tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.yml delete mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml delete mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml delete mode 100644 tests/arista_eos/show_isis_neighbors/arista_eos_show_isis_neighbors.parsed create mode 100644 tests/arista_eos/show_isis_neighbors/arista_eos_show_isis_neighbors.yml delete mode 100644 tests/arista_eos/show_lldp_neighbors/arista_eos_show_lldp_neighbors.parsed create mode 100644 tests/arista_eos/show_lldp_neighbors/arista_eos_show_lldp_neighbors.yml delete mode 100644 tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.parsed create mode 100644 tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml delete mode 100644 tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.parsed create mode 100644 tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml delete mode 100644 tests/arista_eos/show_mac_security_interface/arista_eos_show_mac_security_interface.parsed create mode 100644 tests/arista_eos/show_mac_security_interface/arista_eos_show_mac_security_interface.yml delete mode 100644 tests/arista_eos/show_mac_security_mka_counters/arista_eos_show_mac_security_mka_counters.parsed create mode 100644 tests/arista_eos/show_mac_security_mka_counters/arista_eos_show_mac_security_mka_counters.yml delete mode 100644 tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.parsed create mode 100644 tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.yml delete mode 100644 tests/arista_eos/show_mlag/arista_eos_show_mlag.parsed create mode 100644 tests/arista_eos/show_mlag/arista_eos_show_mlag.yml delete mode 100644 tests/arista_eos/show_module/arista_eos_show_module.template.parsed create mode 100644 tests/arista_eos/show_module/arista_eos_show_module.template.yml delete mode 100644 tests/arista_eos/show_reload_cause/arista_eos_show_reload_cause.parsed create mode 100644 tests/arista_eos/show_reload_cause/arista_eos_show_reload_cause.yml delete mode 100644 tests/arista_eos/show_snmp_community/arista_eos_show_snmp_community.parsed create mode 100644 tests/arista_eos/show_snmp_community/arista_eos_show_snmp_community.yml delete mode 100644 tests/arista_eos/show_version/arista_eos_show_version.parsed create mode 100644 tests/arista_eos/show_version/arista_eos_show_version.yml delete mode 100644 tests/arista_eos/show_vlan/arista_eos_show_vlan.parsed create mode 100644 tests/arista_eos/show_vlan/arista_eos_show_vlan.yml rename tests/arista_eos/show_vrf/{arista_eos_show_vrf.parsed => arista_eos_show_vrf.yml} (88%) delete mode 100644 tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.parsed create mode 100644 tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.yml delete mode 100644 tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.parsed create mode 100644 tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.yml delete mode 100644 tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name.parsed create mode 100644 tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name.yml delete mode 100644 tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name1.parsed create mode 100644 tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name1.yml delete mode 100644 tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.parsed create mode 100644 tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.yml delete mode 100644 tests/avaya_ers/show_mac-address-table/avaya_ers_show_mac-address-table.parsed create mode 100644 tests/avaya_ers/show_mac-address-table/avaya_ers_show_mac-address-table.yml delete mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.yml delete mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.yml delete mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.yml delete mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.yml delete mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.yml delete mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.parsed create mode 100644 tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.yml delete mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.parsed create mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.yml delete mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.parsed create mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.yml delete mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.parsed create mode 100644 tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.yml delete mode 100644 tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info.parsed create mode 100644 tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info.yml delete mode 100644 tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info1.parsed create mode 100644 tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info1.yml delete mode 100644 tests/avaya_ers/show_vlan/avaya_ers_show_vlan.parsed create mode 100644 tests/avaya_ers/show_vlan/avaya_ers_show_vlan.yml delete mode 100644 tests/avaya_ers/show_vlan/avaya_ers_show_vlan1.parsed create mode 100644 tests/avaya_ers/show_vlan/avaya_ers_show_vlan1.yml rename tests/avaya_vsp/show_software/{avaya_vsp_show_software.parsed => avaya_vsp_show_software.yml} (99%) delete mode 100644 tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.parsed create mode 100644 tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.yml delete mode 100644 tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces.parsed create mode 100644 tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces.yml delete mode 100644 tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces1.parsed create mode 100644 tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces1.yml delete mode 100644 tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.parsed create mode 100644 tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.yml delete mode 100644 tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.parsed create mode 100644 tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.yml delete mode 100644 tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.parsed create mode 100644 tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.yml delete mode 100644 tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.parsed create mode 100644 tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.yml delete mode 100644 tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.parsed create mode 100644 tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.yml delete mode 100644 tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.parsed create mode 100644 tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.yml delete mode 100644 tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.parsed create mode 100644 tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.yml delete mode 100644 tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.parsed create mode 100644 tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.yml delete mode 100644 tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro.parsed create mode 100644 tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro.yml delete mode 100644 tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro1.parsed create mode 100644 tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro1.yml delete mode 100644 tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.parsed create mode 100644 tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.yml delete mode 100644 tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.parsed create mode 100644 tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.yml delete mode 100644 tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.parsed create mode 100644 tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.yml delete mode 100644 tests/brocade_fastiron/show_span/brocade_fastiron_show_span.parsed create mode 100644 tests/brocade_fastiron/show_span/brocade_fastiron_show_span.yml delete mode 100644 tests/brocade_fastiron/show_span/brocade_fastiron_show_span1.parsed create mode 100644 tests/brocade_fastiron/show_span/brocade_fastiron_show_span1.yml delete mode 100644 tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo.parsed create mode 100644 tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo.yml delete mode 100644 tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo1.parsed create mode 100644 tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo1.yml delete mode 100644 tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk.parsed create mode 100644 tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk.yml delete mode 100644 tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk1.parsed create mode 100644 tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk1.yml delete mode 100644 tests/brocade_fastiron/show_version/brocade_fastiron_show_version.parsed create mode 100644 tests/brocade_fastiron/show_version/brocade_fastiron_show_version.yml delete mode 100644 tests/brocade_netiron/show_interfaces/brocade_netiron_show_interfaces.parsed create mode 100644 tests/brocade_netiron/show_interfaces/brocade_netiron_show_interfaces.yml delete mode 100644 tests/brocade_netiron/show_interfaces_brief/brocade_netiron_show_interfaces_brief.parsed create mode 100644 tests/brocade_netiron/show_interfaces_brief/brocade_netiron_show_interfaces_brief.yml delete mode 100644 tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.parsed create mode 100644 tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.yml delete mode 100644 tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.parsed create mode 100644 tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.yml delete mode 100644 tests/brocade_netiron/show_metro/brocade_netiron_show_metro.parsed create mode 100644 tests/brocade_netiron/show_metro/brocade_netiron_show_metro.yml delete mode 100644 tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.parsed create mode 100644 tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.yml delete mode 100644 tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.parsed create mode 100644 tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.yml delete mode 100644 tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.parsed create mode 100644 tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.yml delete mode 100644 tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.parsed create mode 100644 tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.yml delete mode 100644 tests/brocade_netiron/show_span/brocade_netiron_show_span.parsed create mode 100644 tests/brocade_netiron/show_span/brocade_netiron_show_span.yml delete mode 100644 tests/brocade_netiron/show_topo/brocade_netiron_show_topo.parsed create mode 100644 tests/brocade_netiron/show_topo/brocade_netiron_show_topo.yml delete mode 100644 tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.parsed create mode 100644 tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.yml delete mode 100644 tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.parsed create mode 100644 tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.yml delete mode 100644 tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.parsed create mode 100644 tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.yml delete mode 100644 tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.parsed create mode 100644 tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.yml delete mode 100644 tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.parsed create mode 100644 tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.yml delete mode 100644 tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.parsed create mode 100644 tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.yml delete mode 100644 tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.parsed create mode 100644 tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.yml delete mode 100644 tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.parsed create mode 100644 tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.yml delete mode 100644 tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.parsed create mode 100644 tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.yml delete mode 100644 tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.parsed create mode 100644 tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.yml rename tests/ciena_6x/software_show/{ciena_6x_software_show.parsed => ciena_6x_software_show.yml} (100%) delete mode 100644 tests/cisco_asa/dir/cisco_asa_dir.parsed create mode 100644 tests/cisco_asa/dir/cisco_asa_dir.yml delete mode 100644 tests/cisco_asa/dir/cisco_asa_dir2.parsed create mode 100644 tests/cisco_asa/dir/cisco_asa_dir2.yml delete mode 100644 tests/cisco_asa/show_access-list/cisco_asa_show_access-list.parsed create mode 100644 tests/cisco_asa/show_access-list/cisco_asa_show_access-list.yml delete mode 100644 tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed create mode 100644 tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.yml delete mode 100644 tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.parsed create mode 100644 tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.yml delete mode 100644 tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed create mode 100644 tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.yml rename tests/cisco_asa/show_crypto_ikev1_sa_detail/{cisco_asa_show_crypto_ikev1_sa_detail.parsed => cisco_asa_show_crypto_ikev1_sa_detail.yml} (98%) rename tests/cisco_asa/show_crypto_ipsec_sa/{cisco_asa_show_crypto_ipsec_sa.parsed => cisco_asa_show_crypto_ipsec_sa.yml} (99%) delete mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover.yml delete mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover2.yml delete mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover5505.yml delete mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.parsed create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.yml delete mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.yml delete mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface.parsed create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface.yml delete mode 100644 tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.parsed create mode 100644 tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.yml delete mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed create mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory.yml delete mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.parsed create mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.yml rename tests/cisco_asa/show_license_all/{cisco_asa_show_license_all.parsed => cisco_asa_show_license_all.yml} (100%) rename tests/cisco_asa/show_license_all/{cisco_asa_show_license_all2.parsed => cisco_asa_show_license_all2.yml} (100%) rename tests/cisco_asa/show_license_all/{cisco_asa_show_license_all3.parsed => cisco_asa_show_license_all3.yml} (100%) delete mode 100644 tests/cisco_asa/show_name/cisco_asa_show_name.parsed create mode 100644 tests/cisco_asa/show_name/cisco_asa_show_name.yml delete mode 100644 tests/cisco_asa/show_nat/cisco_asa_show_nat.parsed create mode 100644 tests/cisco_asa/show_nat/cisco_asa_show_nat.yml delete mode 100644 tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.parsed create mode 100644 tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.yml delete mode 100644 tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.parsed create mode 100644 tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.yml delete mode 100644 tests/cisco_asa/show_route/cisco_asa_show_route.parsed create mode 100644 tests/cisco_asa/show_route/cisco_asa_show_route.yml delete mode 100644 tests/cisco_asa/show_running-config_crypto_ikev1/cisco_asa_show_running-config_crypto_ikev1.parsed create mode 100644 tests/cisco_asa/show_running-config_crypto_ikev1/cisco_asa_show_running-config_crypto_ikev1.yml delete mode 100644 tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.parsed create mode 100644 tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml delete mode 100644 tests/cisco_asa/show_running-config_ipsec/cisco_asa_show_running-config_ipsec.parsed create mode 100644 tests/cisco_asa/show_running-config_ipsec/cisco_asa_show_running-config_ipsec.yml delete mode 100644 tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.parsed create mode 100644 tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.yml delete mode 100644 tests/cisco_asa/show_running-config_tunnel-group/cisco_asa_show_running-config_tunnel-group.parsed create mode 100644 tests/cisco_asa/show_running-config_tunnel-group/cisco_asa_show_running-config_tunnel-group.yml rename tests/cisco_asa/show_version/{cisco_asa_show_version1.parsed => cisco_asa_show_version1.yml} (100%) rename tests/cisco_asa/show_version/{cisco_asa_show_version2.parsed => cisco_asa_show_version2.yml} (100%) rename tests/cisco_asa/show_version/{cisco_asa_show_version3.parsed => cisco_asa_show_version3.yml} (100%) rename tests/cisco_asa/show_vpn-sessiondb_detail_l2l/{cisco_asa_show_vpn-sessiondb_detail_l2l.parsed => cisco_asa_show_vpn-sessiondb_detail_l2l.yml} (100%) rename tests/cisco_asa/show_vpn-sessiondb_detail_l2l/{cisco_asa_show_vpn-sessiondb_detail_l2l2.parsed => cisco_asa_show_vpn-sessiondb_detail_l2l2.yml} (99%) delete mode 100644 tests/cisco_asa/show_xlate/cisco_asa_show_xlate.parsed create mode 100644 tests/cisco_asa/show_xlate/cisco_asa_show_xlate.yml delete mode 100644 tests/cisco_ios/dir/cisco_ios_dir.parsed create mode 100644 tests/cisco_ios/dir/cisco_ios_dir.yml delete mode 100644 tests/cisco_ios/show_access-list/cisco_ios_show_access-list.parsed create mode 100644 tests/cisco_ios/show_access-list/cisco_ios_show_access-list.yml delete mode 100644 tests/cisco_ios/show_aliases/cisco_ios_show_aliases.parsed create mode 100644 tests/cisco_ios/show_aliases/cisco_ios_show_aliases.yml delete mode 100644 tests/cisco_ios/show_archive/cisco_ios_show_archive.parsed create mode 100644 tests/cisco_ios/show_archive/cisco_ios_show_archive.yml delete mode 100644 tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions.parsed create mode 100644 tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions.yml delete mode 100644 tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions2.parsed create mode 100644 tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions2.yml delete mode 100644 tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.parsed create mode 100644 tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.yml delete mode 100644 tests/cisco_ios/show_boot/cisco_ios_show_boot.parsed create mode 100644 tests/cisco_ios/show_boot/cisco_ios_show_boot.yml delete mode 100644 tests/cisco_ios/show_capability_feature_routing/cisco_ios_show_capability_feature_routing.parsed create mode 100644 tests/cisco_ios/show_capability_feature_routing/cisco_ios_show_capability_feature_routing.yml delete mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors.parsed create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors.yml delete mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.parsed create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.yml delete mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.parsed create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.yml delete mode 100644 tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed create mode 100644 tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.yml delete mode 100644 tests/cisco_ios/show_clock/cisco_ios_show_clock.parsed create mode 100644 tests/cisco_ios/show_clock/cisco_ios_show_clock.yml delete mode 100644 tests/cisco_ios/show_controller_t1/cisco_ios_show_controller_t1.parsed create mode 100644 tests/cisco_ios/show_controller_t1/cisco_ios_show_controller_t1.yml delete mode 100644 tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.parsed create mode 100644 tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.yml delete mode 100644 tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.parsed create mode 100644 tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.yml delete mode 100644 tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all.parsed create mode 100644 tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all.yml delete mode 100644 tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all1.parsed create mode 100644 tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all1.yml delete mode 100644 tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.parsed create mode 100644 tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.yml delete mode 100644 tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.parsed create mode 100644 tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.yml delete mode 100644 tests/cisco_ios/show_interface_transceiver/cisco_ios_show_interface_transceiver.parsed create mode 100644 tests/cisco_ios/show_interface_transceiver/cisco_ios_show_interface_transceiver.yml delete mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml delete mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml delete mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml delete mode 100644 tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.parsed create mode 100644 tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml delete mode 100644 tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.parsed create mode 100644 tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml delete mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml delete mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.parsed create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml delete mode 100644 tests/cisco_ios/show_inventory/cisco_ios_show_inventory.parsed create mode 100644 tests/cisco_ios/show_inventory/cisco_ios_show_inventory.yml delete mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml delete mode 100644 tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.parsed create mode 100644 tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.yml delete mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp.parsed create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp.yml delete mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp1.parsed create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp1.yml delete mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp2.parsed create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp2.yml delete mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp3.parsed create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp3.yml delete mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp4.parsed create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp4.yml delete mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.parsed create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.yml delete mode 100644 tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed create mode 100644 tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml delete mode 100644 tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed create mode 100644 tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.yml delete mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.parsed create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.yml delete mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.parsed create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.yml delete mode 100644 tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed create mode 100644 tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml delete mode 100644 tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.parsed create mode 100644 tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml delete mode 100755 tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.parsed create mode 100755 tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.yml delete mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.yml delete mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.parsed create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.yml delete mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.parsed create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.yml delete mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.yml delete mode 100644 tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.parsed create mode 100644 tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.yml delete mode 100644 tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.parsed create mode 100644 tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.yml rename tests/cisco_ios/show_ip_mroute/{cisco_ios_show_ip_mroute2.parsed => cisco_ios_show_ip_mroute2.yml} (100%) delete mode 100644 tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed create mode 100644 tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.yml delete mode 100644 tests/cisco_ios/show_ip_ospf_database/cisco_ios_show_ip_ospf_database.parsed create mode 100644 tests/cisco_ios/show_ip_ospf_database/cisco_ios_show_ip_ospf_database.yml delete mode 100644 tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.parsed create mode 100644 tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.yml delete mode 100644 tests/cisco_ios/show_ip_ospf_neighbor/cisco_ios_show_ip_ospf_neighbor.parsed create mode 100644 tests/cisco_ios/show_ip_ospf_neighbor/cisco_ios_show_ip_ospf_neighbor.yml delete mode 100644 tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.parsed create mode 100644 tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.yml delete mode 100644 tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.parsed create mode 100644 tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.yml delete mode 100644 tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.parsed create mode 100644 tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml delete mode 100644 tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed create mode 100644 tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.yml delete mode 100644 tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.parsed create mode 100644 tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.yml delete mode 100644 tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.parsed create mode 100644 tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.yml delete mode 100644 tests/cisco_ios/show_isdn_status/cisco_ios_show_isdn_status.parsed create mode 100644 tests/cisco_ios/show_isdn_status/cisco_ios_show_isdn_status.yml delete mode 100644 tests/cisco_ios/show_isis_neighbors/cisco_ios_show_isis_neighbors.parsed create mode 100644 tests/cisco_ios/show_isis_neighbors/cisco_ios_show_isis_neighbors.yml delete mode 100644 tests/cisco_ios/show_license/cisco_ios_show_license.parsed create mode 100644 tests/cisco_ios/show_license/cisco_ios_show_license.yml delete mode 100644 tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.yml delete mode 100644 tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.yml delete mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml delete mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml delete mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml delete mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed create mode 100644 tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml delete mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.parsed create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml delete mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml delete mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.parsed create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml delete mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.parsed create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml rename tests/cisco_ios/show_mac-address-table/{cisco_ios_show_mac-address-table5.parsed => cisco_ios_show_mac-address-table5.yml} (99%) delete mode 100644 tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.parsed create mode 100644 tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.yml delete mode 100644 tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.parsed create mode 100644 tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.yml delete mode 100644 tests/cisco_ios/show_power_available/cisco_ios_show_power_available.parsed create mode 100644 tests/cisco_ios/show_power_available/cisco_ios_show_power_available.yml delete mode 100644 tests/cisco_ios/show_power_available/cisco_ios_show_power_available1.parsed create mode 100644 tests/cisco_ios/show_power_available/cisco_ios_show_power_available1.yml delete mode 100644 tests/cisco_ios/show_power_status/cisco_ios_show_power_status.parsed create mode 100644 tests/cisco_ios/show_power_status/cisco_ios_show_power_status.yml delete mode 100644 tests/cisco_ios/show_power_status/cisco_ios_show_power_status1.parsed create mode 100644 tests/cisco_ios/show_power_status/cisco_ios_show_power_status1.yml delete mode 100644 tests/cisco_ios/show_power_status/cisco_ios_show_power_status2.parsed create mode 100644 tests/cisco_ios/show_power_status/cisco_ios_show_power_status2.yml delete mode 100644 tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies.parsed create mode 100644 tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies.yml delete mode 100644 tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies1.parsed create mode 100644 tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies1.yml delete mode 100644 tests/cisco_ios/show_processes_cpu/cisco_ios_show_processes_cpu.parsed create mode 100644 tests/cisco_ios/show_processes_cpu/cisco_ios_show_processes_cpu.yml delete mode 100644 tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.parsed create mode 100644 tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.yml rename tests/cisco_ios/show_redundancy/{cisco_ios_show_redundancy.parsed => cisco_ios_show_redundancy.yml} (100%) delete mode 100644 tests/cisco_ios/show_route-map/cisco_ios_show_route-map.parsed create mode 100644 tests/cisco_ios/show_route-map/cisco_ios_show_route-map.yml delete mode 100644 tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed create mode 100644 tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml delete mode 100644 tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed create mode 100644 tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.yml delete mode 100644 tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.parsed create mode 100644 tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.yml delete mode 100644 tests/cisco_ios/show_snmp_community/cisco_ios_show_snmp_community.parsed create mode 100644 tests/cisco_ios/show_snmp_community/cisco_ios_show_snmp_community.yml delete mode 100644 tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed create mode 100644 tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.yml delete mode 100644 tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.parsed create mode 100644 tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.yml delete mode 100644 tests/cisco_ios/show_standby/cisco_ios_show_standby.parsed create mode 100644 tests/cisco_ios/show_standby/cisco_ios_show_standby.yml delete mode 100644 tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.parsed create mode 100644 tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.yml rename tests/cisco_ios/show_switch_detail/{cisco_ios_show_switch_detail1.parsed => cisco_ios_show_switch_detail1.yml} (99%) rename tests/cisco_ios/show_switch_detail/{cisco_ios_show_switch_detail2.parsed => cisco_ios_show_switch_detail2.yml} (99%) rename tests/cisco_ios/show_tacacs/{cisco_ios_show_tacacs.parsed => cisco_ios_show_tacacs.yml} (99%) delete mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version.parsed create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version.yml delete mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version1.parsed create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version1.yml delete mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version2.parsed create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version2.yml delete mode 100644 tests/cisco_ios/show_vlan/cisco_ios_show_vlan.parsed create mode 100644 tests/cisco_ios/show_vlan/cisco_ios_show_vlan.yml delete mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf.parsed create mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf.yml delete mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.parsed create mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.yml delete mode 100644 tests/cisco_ios/show_vtp_status/cisco_ios_show_vtp_status.parsed create mode 100644 tests/cisco_ios/show_vtp_status/cisco_ios_show_vtp_status.yml delete mode 100644 tests/cisco_nxos/show_access-lists/cisco_nxos_show_access-lists.parsed create mode 100644 tests/cisco_nxos/show_access-lists/cisco_nxos_show_access-lists.yml delete mode 100644 tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.parsed create mode 100644 tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.yml delete mode 100644 tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.parsed create mode 100644 tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.yml delete mode 100644 tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.parsed create mode 100644 tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.yml delete mode 100644 tests/cisco_nxos/show_clock/cisco_nxos_show_clock.parsed create mode 100644 tests/cisco_nxos/show_clock/cisco_nxos_show_clock.yml delete mode 100644 tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.parsed create mode 100644 tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.yml delete mode 100644 tests/cisco_nxos/show_cts_interface_all/cisco_nxos_show_cts_interface_all.parsed create mode 100644 tests/cisco_nxos/show_cts_interface_all/cisco_nxos_show_cts_interface_all.yml delete mode 100644 tests/cisco_nxos/show_cts_interface_brief/cisco_nxos_show_cts_interface_brief.parsed create mode 100644 tests/cisco_nxos/show_cts_interface_brief/cisco_nxos_show_cts_interface_brief.yml delete mode 100644 tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.parsed create mode 100644 tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.yml delete mode 100644 tests/cisco_nxos/show_environments/cisco_nxos_show_environments.parsed create mode 100644 tests/cisco_nxos/show_environments/cisco_nxos_show_environments.yml delete mode 100644 tests/cisco_nxos/show_feature/cisco_nxos_show_feature.parsed create mode 100644 tests/cisco_nxos/show_feature/cisco_nxos_show_feature.yml delete mode 100644 tests/cisco_nxos/show_fex/cisco_nxos_show_fex.parsed create mode 100644 tests/cisco_nxos/show_fex/cisco_nxos_show_fex.yml delete mode 100644 tests/cisco_nxos/show_fex_id/cisco_nxos_show_fex_id.parsed create mode 100644 tests/cisco_nxos/show_fex_id/cisco_nxos_show_fex_id.yml delete mode 100644 tests/cisco_nxos/show_flogi_database/cisco_nxos_show_flogi_database.parsed create mode 100644 tests/cisco_nxos/show_flogi_database/cisco_nxos_show_flogi_database.yml delete mode 100644 tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.parsed create mode 100644 tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.yml delete mode 100644 tests/cisco_nxos/show_hostname/cisco_nxos_show_hostname.parsed create mode 100644 tests/cisco_nxos/show_hostname/cisco_nxos_show_hostname.yml delete mode 100644 tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed create mode 100644 tests/cisco_nxos/show_interface/cisco_nxos_show_interface.yml delete mode 100644 tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed create mode 100644 tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.yml delete mode 100644 tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.parsed create mode 100644 tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.yml delete mode 100644 tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.parsed create mode 100644 tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.yml delete mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.parsed create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.yml delete mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.yml delete mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.yml delete mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.parsed create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml delete mode 100644 tests/cisco_nxos/show_interface_transceiver_details/cisco_nxos_show_interface_transceiver_details.parsed create mode 100644 tests/cisco_nxos/show_interface_transceiver_details/cisco_nxos_show_interface_transceiver_details.yml delete mode 100644 tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed create mode 100644 tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.yml delete mode 100644 tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.parsed create mode 100644 tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.yml delete mode 100644 tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory.parsed create mode 100644 tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory.yml delete mode 100644 tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed create mode 100644 tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.yml delete mode 100644 tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail.parsed create mode 100644 tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail.yml delete mode 100644 tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp.parsed create mode 100644 tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp.yml delete mode 100644 tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed create mode 100644 tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.yml delete mode 100644 tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.parsed create mode 100644 tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.yml rename tests/cisco_nxos/show_ip_bgp_summary/{cisco_nxos_show_ip_bgp_summary.parsed => cisco_nxos_show_ip_bgp_summary.yml} (99%) rename tests/cisco_nxos/show_ip_bgp_summary/{cisco_nxos_show_ip_bgp_summary_vrf.parsed => cisco_nxos_show_ip_bgp_summary_vrf.yml} (100%) rename tests/cisco_nxos/show_ip_community-list/{cisco_nxos_show_ip_community-list.parsed => cisco_nxos_show_ip_community-list.yml} (51%) delete mode 100644 tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.parsed create mode 100644 tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml delete mode 100644 tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.parsed create mode 100644 tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml delete mode 100644 tests/cisco_nxos/show_ip_ospf_database/cisco_nxos_show_ip_ospf_database.parsed create mode 100644 tests/cisco_nxos/show_ip_ospf_database/cisco_nxos_show_ip_ospf_database.yml rename tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/{cisco_nxos_show_ip_ospf_neighbor_vrf_all.parsed => cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml} (100%) delete mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.yml delete mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.yml delete mode 100644 tests/cisco_nxos/show_ipv6_interface_brief/cisco_nxos_show_ipv6_interface_brief.parsed create mode 100644 tests/cisco_nxos/show_ipv6_interface_brief/cisco_nxos_show_ipv6_interface_brief.yml delete mode 100644 tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.parsed create mode 100644 tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.yml delete mode 100644 tests/cisco_nxos/show_lldp_neighbors/cisco_nxos_show_lldp_neighbors.parsed create mode 100644 tests/cisco_nxos/show_lldp_neighbors/cisco_nxos_show_lldp_neighbors.yml delete mode 100644 tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.parsed create mode 100644 tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.yml delete mode 100644 tests/cisco_nxos/show_mac_address-table/cisco_nxos_show_mac_address-table.parsed create mode 100644 tests/cisco_nxos/show_mac_address-table/cisco_nxos_show_mac_address-table.yml delete mode 100644 tests/cisco_nxos/show_module/cisco_nxos_show_module.parsed create mode 100644 tests/cisco_nxos/show_module/cisco_nxos_show_module.yml delete mode 100644 tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary.parsed create mode 100644 tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary.yml delete mode 100644 tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary2.parsed create mode 100644 tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary2.yml delete mode 100644 tests/cisco_nxos/show_processes_cpu/cisco_nxos_show_processes_cpu.parsed create mode 100644 tests/cisco_nxos/show_processes_cpu/cisco_nxos_show_processes_cpu.yml delete mode 100644 tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.parsed create mode 100644 tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.yml delete mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version.parsed create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version.yml delete mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version1.parsed create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml delete mode 100755 tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.parsed create mode 100755 tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.yml delete mode 100644 tests/cisco_nxos/show_vpc/cisco_nxos_show_vpc.parsed create mode 100644 tests/cisco_nxos/show_vpc/cisco_nxos_show_vpc.yml delete mode 100644 tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.parsed create mode 100644 tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.yml delete mode 100644 tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.parsed create mode 100644 tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.yml delete mode 100644 tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.parsed create mode 100644 tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.yml delete mode 100644 tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.parsed create mode 100644 tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.yml delete mode 100644 tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.parsed create mode 100644 tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.yml delete mode 100644 tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed create mode 100644 tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.yml delete mode 100644 tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.parsed create mode 100644 tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.yml delete mode 100644 tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.parsed create mode 100644 tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.yml rename tests/cisco_wlc_ssh/show_client_detail/{cisco_wlc_show_client_detail.parsed => cisco_wlc_show_client_detail.yml} (98%) delete mode 100644 tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.parsed create mode 100644 tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.yml delete mode 100644 tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.parsed create mode 100644 tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.yml rename tests/cisco_wlc_ssh/show_inventory/{cisco_wlc_ssh_show_inventory.parsed => cisco_wlc_ssh_show_inventory.yml} (100%) delete mode 100644 tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.parsed create mode 100644 tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.yml delete mode 100644 tests/cisco_wlc_ssh/show_sysinfo/cisco_wlc_ssh_show_sysinfo.parsed create mode 100644 tests/cisco_wlc_ssh/show_sysinfo/cisco_wlc_ssh_show_sysinfo.yml delete mode 100644 tests/cisco_xr/admin_show_controller_fabric_health/cisco_xr_admin_show_controller_fabric_health.parsed create mode 100644 tests/cisco_xr/admin_show_controller_fabric_health/cisco_xr_admin_show_controller_fabric_health.yml delete mode 100644 tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.parsed create mode 100644 tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.yml delete mode 100644 tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.parsed create mode 100644 tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.yml delete mode 100644 tests/cisco_xr/admin_show_platform/cisco_xr_admin_show_platform.parsed create mode 100644 tests/cisco_xr/admin_show_platform/cisco_xr_admin_show_platform.yml delete mode 100644 tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.parsed create mode 100644 tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.yml delete mode 100644 tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.parsed create mode 100644 tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.yml delete mode 100644 tests/cisco_xr/show_bfd_sessions/cisco_xr_show_bfd_sessions.parsed create mode 100644 tests/cisco_xr/show_bfd_sessions/cisco_xr_show_bfd_sessions.yml delete mode 100644 tests/cisco_xr/show_bgp/cisco_xr_show_bgp.parsed create mode 100644 tests/cisco_xr/show_bgp/cisco_xr_show_bgp.yml rename tests/cisco_xr/show_bgp/{cisco_xr_show_bgp2.parsed => cisco_xr_show_bgp2.yml} (100%) delete mode 100644 tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.parsed create mode 100644 tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.yml delete mode 100644 tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.parsed create mode 100644 tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.yml delete mode 100644 tests/cisco_xr/show_bgp_vrf_all_ipv4_unicast_summary/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.parsed create mode 100644 tests/cisco_xr/show_bgp_vrf_all_ipv4_unicast_summary/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.yml delete mode 100644 tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed create mode 100644 tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.yml delete mode 100644 tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.parsed create mode 100644 tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.yml delete mode 100644 tests/cisco_xr/show_configuration_commit_list/cisco_xr_show_configuration_commit_list.parsed create mode 100644 tests/cisco_xr/show_configuration_commit_list/cisco_xr_show_configuration_commit_list.yml delete mode 100644 tests/cisco_xr/show_controller_fabric_plane_all/cisco_xr_show_controller_fabric_plane_all.parsed create mode 100644 tests/cisco_xr/show_controller_fabric_plane_all/cisco_xr_show_controller_fabric_plane_all.yml delete mode 100644 tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.parsed create mode 100644 tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.yml delete mode 100644 tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.parsed create mode 100644 tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.yml rename tests/cisco_xr/show_controllers_all_phy/{cisco_xr_show_controllers_all_phy2.parsed => cisco_xr_show_controllers_all_phy2.yml} (99%) delete mode 100644 tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.parsed create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.yml delete mode 100644 tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.parsed create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.yml delete mode 100644 tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.parsed create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.yml delete mode 100644 tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.parsed create mode 100644 tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.yml delete mode 100644 tests/cisco_xr/show_dhcp_ipv4_proxy_binding/cisco_xr_show_dhcp_ipv4_proxy_binding.parsed create mode 100644 tests/cisco_xr/show_dhcp_ipv4_proxy_binding/cisco_xr_show_dhcp_ipv4_proxy_binding.yml delete mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed create mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.yml delete mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed create mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.yml delete mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed create mode 100644 tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.yml rename tests/cisco_xr/show_hsrp/{cisco_xr_show_hsrp.parsed => cisco_xr_show_hsrp.yml} (100%) delete mode 100644 tests/cisco_xr/show_interface_brief/cisco_xr_show_interface_brief.parsed create mode 100644 tests/cisco_xr/show_interface_brief/cisco_xr_show_interface_brief.yml rename tests/cisco_xr/show_interfaces/{cisco_xr_show_interfaces.parsed => cisco_xr_show_interfaces.yml} (100%) delete mode 100644 tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.parsed create mode 100644 tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.yml delete mode 100644 tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.parsed create mode 100644 tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.yml delete mode 100644 tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed create mode 100644 tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.yml delete mode 100644 tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed create mode 100644 tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.yml delete mode 100644 tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.parsed create mode 100644 tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.yml delete mode 100644 tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.parsed create mode 100644 tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.yml delete mode 100644 tests/cisco_xr/show_isis_neighbors/cisco_xr_show_isis_neighbors.parsed create mode 100644 tests/cisco_xr/show_isis_neighbors/cisco_xr_show_isis_neighbors.yml delete mode 100644 tests/cisco_xr/show_lldp_neighbors/cisco_xr_show_lldp_neighbors.parsed create mode 100644 tests/cisco_xr/show_lldp_neighbors/cisco_xr_show_lldp_neighbors.yml delete mode 100644 tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.parsed create mode 100644 tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.yml delete mode 100644 tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.parsed create mode 100644 tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.yml delete mode 100644 tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.parsed create mode 100644 tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.yml delete mode 100644 tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.parsed create mode 100644 tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.yml delete mode 100644 tests/cisco_xr/show_pim_neighbor/cisco_xr_show_pim_neighbor.parsed create mode 100644 tests/cisco_xr/show_pim_neighbor/cisco_xr_show_pim_neighbor.yml delete mode 100644 tests/cisco_xr/show_processes_cpu/cisco_xr_show_processes_cpu.parsed create mode 100644 tests/cisco_xr/show_processes_cpu/cisco_xr_show_processes_cpu.yml delete mode 100644 tests/cisco_xr/show_redundancy_summary/cisco_xr_show_redundancy_summary.parsed create mode 100644 tests/cisco_xr/show_redundancy_summary/cisco_xr_show_redundancy_summary.yml delete mode 100644 tests/cisco_xr/show_rsvp_neighbors/cisco_xr_show_rsvp_neighbors.parsed create mode 100644 tests/cisco_xr/show_rsvp_neighbors/cisco_xr_show_rsvp_neighbors.yml delete mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version.parsed create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version.yml delete mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version2.parsed create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version2.yml delete mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version_crs.parsed create mode 100644 tests/cisco_xr/show_version/cisco_xr_show_version_crs.yml delete mode 100644 tests/dell_force10/show_arp/dell_force10_show_arp.parsed create mode 100644 tests/dell_force10/show_arp/dell_force10_show_arp.yml delete mode 100644 tests/dell_force10/show_version/dell_force10_show_version.parsed create mode 100644 tests/dell_force10/show_version/dell_force10_show_version.yml delete mode 100644 tests/dell_force10/show_vlan/dell_force10_show_vlan.parsed create mode 100644 tests/dell_force10/show_vlan/dell_force10_show_vlan.yml delete mode 100644 tests/dell_force10/show_vlan/dell_force10_show_vlan_1.parsed create mode 100644 tests/dell_force10/show_vlan/dell_force10_show_vlan_1.yml delete mode 100644 tests/dell_force10/show_vlan_brief/dell_force10_show_vlan_brief.parsed create mode 100644 tests/dell_force10/show_vlan_brief/dell_force10_show_vlan_brief.yml delete mode 100644 tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.parsed create mode 100644 tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml delete mode 100644 tests/hp_comware/display_arp/hp_comware_display_arp.parsed create mode 100644 tests/hp_comware/display_arp/hp_comware_display_arp.yml delete mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock.parsed create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock.yml delete mode 100644 tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.parsed create mode 100644 tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.yml delete mode 100644 tests/hp_comware/display_mac-address/hp_comware_display_mac-address.parsed create mode 100644 tests/hp_comware/display_mac-address/hp_comware_display_mac-address.yml delete mode 100644 tests/hp_comware/display_vlan_brief/hp_comware_display_vlan_brief.parsed create mode 100644 tests/hp_comware/display_vlan_brief/hp_comware_display_vlan_brief.yml delete mode 100644 tests/hp_procurve/show_arp/hp_procurve_show_arp.parsed create mode 100644 tests/hp_procurve/show_arp/hp_procurve_show_arp.yml delete mode 100644 tests/hp_procurve/show_arp/hp_procurve_show_arp_1.parsed create mode 100644 tests/hp_procurve/show_arp/hp_procurve_show_arp_1.yml delete mode 100644 tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.parsed create mode 100644 tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.yml rename tests/hp_procurve/show_system/{hp_procurve_show_system.parsed => hp_procurve_show_system.yml} (99%) delete mode 100644 tests/hp_procurve/show_tech_buffers/hp_procurve_show_tech_buffers.parsed create mode 100644 tests/hp_procurve/show_tech_buffers/hp_procurve_show_tech_buffers.yml rename tests/hp_procurve/show_vlans/{hp_procurve_show_vlans.parsed => hp_procurve_show_vlans.yml} (87%) delete mode 100644 tests/hp_procurve/show_vlans/hp_procurve_show_vlans2.parsed create mode 100644 tests/hp_procurve/show_vlans/hp_procurve_show_vlans2.yml delete mode 100644 tests/hp_procurve/show_vlans/hp_procurve_show_vlans3.parsed create mode 100644 tests/hp_procurve/show_vlans/hp_procurve_show_vlans3.yml delete mode 100644 tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.parsed create mode 100644 tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.yml delete mode 100644 tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.parsed create mode 100644 tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.yml delete mode 100644 tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.parsed create mode 100644 tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.yml delete mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.yml delete mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.yml delete mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.yml delete mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed create mode 100644 tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.yml delete mode 100644 tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.parsed create mode 100644 tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.yml delete mode 100644 tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.parsed create mode 100644 tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.yml delete mode 100644 tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.parsed create mode 100644 tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.yml delete mode 100644 tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.parsed create mode 100644 tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.yml delete mode 100644 tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.parsed create mode 100644 tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.yml delete mode 100644 tests/juniper_junos/show_version/juniper_junos_show_version.parsed create mode 100644 tests/juniper_junos/show_version/juniper_junos_show_version.yml delete mode 100644 tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed create mode 100644 tests/juniper_screenos/get_route/juniper_screenos_get_route.yml create mode 100644 tests/mocks/cisco_ios/show_mac-address-table/show_mac1.raw create mode 100644 tests/mocks/cisco_ios/show_mac-address-table/show_mac2.raw create mode 100644 tests/mocks/cisco_ios/show_mac-address-table/show_mac3.raw create mode 100644 tests/mocks/expected/parsed_sample.yml create mode 100644 tests/mocks/expected/show_mac.yml create mode 100644 tests/mocks/expected/yaml_comments.yml create mode 100644 tests/mocks/load/glob/parsed_sample1.yml create mode 100644 tests/mocks/load/glob/parsed_sample2.yml create mode 100644 tests/mocks/load/parsed_sample.yml create mode 100644 tests/mocks/load/yaml_comments.yml delete mode 100644 tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed create mode 100644 tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.yml delete mode 100644 tests/paloalto_panos/show_counter_global/paloalto_panos_show_counter_global.parsed create mode 100644 tests/paloalto_panos/show_counter_global/paloalto_panos_show_counter_global.yml delete mode 100644 tests/paloalto_panos/show_high-availability_all/paloalto_panos_show_high-availability_all.parsed create mode 100644 tests/paloalto_panos/show_high-availability_all/paloalto_panos_show_high-availability_all.yml delete mode 100644 tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.parsed create mode 100644 tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml delete mode 100644 tests/paloalto_panos/show_interface_logical/paloalto_panos_show_interface_logical.parsed create mode 100644 tests/paloalto_panos/show_interface_logical/paloalto_panos_show_interface_logical.yml delete mode 100644 tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all.parsed create mode 100644 tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all.yml delete mode 100644 tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all2.parsed create mode 100644 tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all2.yml delete mode 100644 tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.parsed create mode 100644 tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.yml delete mode 100644 tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy.parsed create mode 100644 tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy.yml delete mode 100644 tests/paloalto_panos/show_running_security-policy/paloalto_panos_show_running_security-policy.parsed create mode 100644 tests/paloalto_panos/show_running_security-policy/paloalto_panos_show_running_security-policy.yml delete mode 100644 tests/paloalto_panos/show_system_info/paloalto_panos_show_system_info.parsed create mode 100644 tests/paloalto_panos/show_system_info/paloalto_panos_show_system_info.yml delete mode 100644 tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.parsed create mode 100644 tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.yml delete mode 100644 tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.parsed create mode 100644 tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.yml create mode 100644 tests/test_development_scripts.py delete mode 100644 tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.parsed create mode 100644 tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.yml delete mode 100644 tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.parsed create mode 100644 tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.yml delete mode 100644 tests/vmware_nsxv/show_ip_bgp_neighbors/vmware_nsxv_show_ip_bgp_neighbors.parsed create mode 100644 tests/vmware_nsxv/show_ip_bgp_neighbors/vmware_nsxv_show_ip_bgp_neighbors.yml delete mode 100644 tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route.parsed create mode 100644 tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route.yml delete mode 100644 tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route1.parsed create mode 100644 tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route1.yml delete mode 100644 tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route2.parsed create mode 100644 tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route2.yml rename tests/vyatta_vyos/show_arp/{vyatta_vyos_show_arp.parsed => vyatta_vyos_show_arp.yml} (100%) delete mode 100644 tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.parsed create mode 100644 tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.yml delete mode 100644 tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.parsed create mode 100644 tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.yml diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000000..b5c025606d --- /dev/null +++ b/.yamllint @@ -0,0 +1,37 @@ +--- +rules: + indentation: + spaces: 2 + indent-sequences: "consistent" + braces: + min-spaces-inside: 0 + brackets: + min-spaces-inside: 0 + colons: + max-spaces-before: 0 + max-spaces-after: 1 + hyphens: + max-spaces-after: 1 + commas: + max-spaces-before: 0 + max-spaces-after: 1 + comments: + require-starting-space: true + ignore-shebangs: true + min-spaces-from-content: 1 + document-start: + present: true + empty-lines: + max: 1 + empty-values: + forbid-in-block-mappings: true + forbid-in-flow-mappings: true + key-duplicates: "enable" + new-line-at-end-of-file: "enable" + quoted-strings: + quote-type: "double" + level: "warning" + trailing-spaces: {} + +ignore: | + tests/mocks/ \ No newline at end of file diff --git a/CHANGELOG b/CHANGELOG index 37be5cce47..67302996d8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,15 @@ -## [1.3.0] +## [1.4.0] ### Fixed for any bug fixes +### Added for new features +- [#406] Testing: Add yamllint to test suite +- [#407] Testing: Add python black to test suite +### Changed for changes in existing functionality +- [#406] Helpers: Added development_helpers cli utility to replace existing helpers +### Deprecated for soon-to-be removed features +### Removed for now removed features + +## [1.3.0] +### Fixed - [#401] ASA show route: Fix `UPTIME` to account for additional output formats - [#445] IOS show ip eigrp topology: Fix `FD` to allow value to be "Inaccessible" - [#465] ASA show failover: Add line to match FirePOWER module @@ -25,7 +35,7 @@ - [#525] IOS: Added matches for vty timestamp lines - [#532] IOS show snmp user: Fix capture groups to support all non-whitespace characters (e.g. "-" in string values) - [#538] IOS show interfaces switchport: Added matches for additional output lines -### Added for new features +### Added - [#378] XR show ip route: Added `VRF` capture group - [#391] WLC show client detail: Added new template - [#419] ASA dir: Added `TOTAL_PERCENT_FREE` capture group for capturing percentage of bytes free @@ -62,7 +72,7 @@ - [#533] IOS show license: Added new template - [#539] WLC show interface summary: Added new template - [#540] IOS show environment temperature: Added new template -### Changed for changes in existing functionality +### Changed - [#378] XR show ip route: Update index to allow syntax of "show ip route" or "show route" - [#497] ASA show version: Change `SERIAL` to be a list for clusters - [#503] IOS show standby: Update index to allow syntax including specifying an interface @@ -73,8 +83,8 @@ - [#523] IOS show mac-address-table: Add `Error` for unmatched lines to ensure accurate data collection - [#528] IOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data - [#528] NXOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data -### Deprecated for soon-to-be removed features -### Removed for now removed features +### Deprecated +### Removed ## [1.2.1] ### Fixed diff --git a/README.md b/README.md index ec997c59bb..c48cc9bace 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,16 @@ $ pip install -e ntc-templates/ $ ``` +The install can also include the required dev packages, which can be useful for adding or editing templates: + +```shell +$ git clone git@github.com:networktocode/ntc-templates.git +$ +# Optional steps to install ntc-templates as a python package +$ pip install -e ntc-templates/[dev] +$ +``` + #### PyPI ```shell @@ -32,6 +42,12 @@ $ pip install ntc_templates $ ``` +To include the dev packages: +``` +$ pip install ntc_templates[dev] +$ +``` + #### Usage ```python @@ -190,10 +206,10 @@ cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] ne Tests will be located in `./tests` with the following hierarchy: - `./tests/{{ vendor_os }}/{{ command_name }}/` -The `{{ command_name }}` directory should include the `.raw` file that includes the raw output of the command to be parsed, and the `.parsed` file of the returned structured data. +The `{{ command_name }}` directory should include the `.raw` file that includes the raw output of the command to be parsed, and the `.yml` file of the returned structured data. ```bash $ ls tests/cisco_ios/show_clock/ -cisco_ios_show_clock.parsed +cisco_ios_show_clock.yml cisco_ios_show_clock.raw $ ``` @@ -214,14 +230,14 @@ $ The parsed file should match the data that is returned from the `parse_output` function discussed in the beginning. Dictionary keys should be in lowercase. -The parsed text file should be placed in a directory in the `./tests` directory with the same name as the template file but replace `.template` file extension with `.parsed`. The raw text file and the parsed text file should be in the same directory. +The parsed text file should be placed in a directory in the `./tests` directory with the same name as the template file but replace `.template` file extension with `.yml`. The raw text file and the parsed text file should be in the same directory. **ex. ./tests/cisco_ios/show_clock/** -There is an available helper that uses **Ansible** and **ntc-ansible** custom modules to create the parsed file automatically into the correct format. Helpers are located within `./helpers/`. +There are available helpers to create the parsed file in the correct format (See _Development Helper Scripts_ below). An example of the proper format is shown below: ```bash -$ cat ./tests/cisco_ios/show_clock/cisco_ios_show_clock.parsed +$ cat ./tests/cisco_ios/show_clock/cisco_ios_show_clock.yml --- parsed_sample: - time: "18:57:38.347" @@ -235,41 +251,82 @@ $ Multiple `raw` and `parsed` files are supported per directory, and are encouraged, as there are differences depending on version, length, etc. Additional test files and more real life data helps ensure backwards compatibility is maintained as each template is updated and merged into the repo. +All YAML files must adhere to the YAML standards defined in the `.yamllint` file in the root directory. Yamllint provides thorough documentation of their configuration settings [here](https://yamllint.readthedocs.io/en/stable/rules.html). + +##### Development Helper Scripts + +A cli utility is provided to assist with properly building the parsed files. This utility depends on some packages listed in the dev install requirements; see _Install and Usage_ for directions on installing the dev requirements. All arguments that can be passed to the script are mutually exclusive (i.e. you can only pass one argument). The file can be made executable with the `chmod +x development_scripts.py` command. The arguments are: + + * `-y`: Takes the path to a YAML file and ensures that the file adheres to the .yamllint settings + * `-yd`: Takes a glob path to a directory or directories that will ensure all files ending in `.yml` adhere to the .yamllint settings + * `-c`: Takes the path to a `.raw` file, and generates the parsed data and saves the results adjacent to the `.raw` file following the defined standards in .yamllint. + * `-cd`: Takes a glob path to a directory or directories containing `.raw` files, and creates the appropriate parsed files in the appropriate directory. + + The `-y` and `-yd` arguments are designed to allow developers to generate the expected parsed file how they want, and ensure that the formatting adheres to the defined standard for this project. + + The `-c` and `-cd` arguments use `lib.ntc_templates.parse.parse_output()` to generate the parsed data; this means that you can use these arguments to auto-generate the test `.yml` file(s) for new templates; just be sure that the template's parsing behavior meets expectations. In order for the data to be parsed, the template must be placed in `templates/` and the `templates/index` file must be updated to correctly point to the template file(s). + +```bash +$ /development_scripts.py -yd tests/cisco_ios/show_mac-address-table +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml +tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml +$ +$ ls tests/arista_eos/show_version/ +arista_eos_show_version.raw +$ +$ ./development_scripts.py -c tests/arista_eos/show_version/arista_eos_show_version.txt +$ ls tests/arista_eos/show_version/ +arista_eos_show_version.raw arista_eos_show_version.yml +$ +``` + ### Updating/Fixing Existing Templates When either fixing a bug within a template or adding additional **Values** to be captured, additional test files should be added to ensure backwards compatibility and that the new data is being parsed correctly. To add additional raw/parsed tests for a command: - Navigate to `./tests/{{ vendor_os }}/{{ command_name }}/` -- Create new `.raw` and `.parsed` files within the directory, preferrably with a name identifying why the data is unique: +- Create new `.raw` and `.yml` files within the directory, preferrably with a name identifying why the data is unique: * Existing raw: `./tests/cisco_ios/show_version/cisco_ios_show_version.raw` * New raw: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.raw` - * Existing parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version.parsed` - * New parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.parsed` + * Existing parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version.yml` + * New parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.yml` #### Testing You can test your changes locally within your Git branch before submitting a PR. If you do not have **tox** already installed, you can do that using pip or your systems package manager. Tox should be ran inside the **ntc-templates** root directory. The tox file is configured to run against python3.6, so either python3.6 needs to be available, or the tox.ini file will need to be updated with an available Python version. ```bash $ tox GLOB sdist-make: /home/admin/ntc-templates/setup.py -py36 inst-nodeps: /home/admin/ntc-templates/.tox/dist/ntc_templates-1.1.0.zip -py36 installed: atomicwrites==1.3.0,attrs==19.1.0,importlib-metadata==0.18,more-itertools==7.1.0,ntc-templates==1.1.0,packaging==19.0,pkg-resources==0.0.0,pluggy==0.12.0,py==1.8.0,pyparsing==2.4.0,pytest==5.0.1,PyYAML==5.1.1,six==1.12.0,terminal==0.4.0,textfsm==0.4.1,wcwidth==0.1.7,zipp==0.5.2 -py36 runtests: PYTHONHASHSEED='1913863515' -py36 runtests: commands[0] | pytest -=============================================================================== test session starts ================================================================================ -platform linux -- Python 3.6.8, pytest-5.0.1, py-1.8.0, pluggy-0.12.0 -rootdir: /home/admin/ntc-templates -collected 364 items - -tests/test_index_order.py . [ 0%] -tests/test_structured_data_against_parsed_reference_files.py ............................................................................................................... [ 30%] -............................................................................................................................................................................ [ 78%] -............................................................................... [ 99%] -tests/test_testcases_exists.py . [100%] - -=========================================================================== 364 passed in 15.69 seconds ============================================================================ -_____________________________________________________________________________________ summary ______________________________________________________________________________________ +py36 inst-nodeps: /home/admin/ntc-templates/.tox/dist/ntc_templates-1.3.0.zip +py36 installed: appdirs==1.4.3,atomicwrites==1.3.0,attrs==19.3.0,black==19.10b0,Click==7.0,future==0.18.2,importlib-metadata==0.23,more-itertools==7.2.0,ntc-templates==1.3.0,packaging==19.2,pathspec==0.6.0,pluggy==0.13.0,py==1.8.0,pyparsing==2.4.5,pytest==5.2.4,PyYAML==5.1.2,regex==2019.11.1,six==1.13.0,terminal==0.4.0,textfsm==1.1.0,toml==0.10.0,typed-ast==1.4.0,wcwidth==0.1.7,yamllint==1.18.0,zipp==0.6.0 +py36 runtests: PYTHONHASHSEED='3677750645' +py36 runtests: commands[0] | black ./ --diff --check +All done! ✨ 🍰 ✨ +8 files would be left unchanged. +py36 runtests: commands[1] | yamllint tests/ +py36 runtests: commands[2] | pytest -vv +================================================================ test session starts ================================================================= +platform linux -- Python 3.6.8, pytest-5.2.4, py-1.8.0, pluggy-0.13.0 -- /home/jmcgill/repos/ntc-templates/.tox/py36/bin/python3.6 +cachedir: .pytest_cache +rootdir: /home/jmcgill/repos/ntc-templates +collected 428 items + +tests/test_index_order.py::test_index_ordering PASSED [ 0%] +tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.raw] PASSED [ 0%] +tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.raw] PASSED [ 0%] +tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.raw] PASSED [ 0%] +tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.raw] PASSED [ 1%] +... +tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw] PASSED [ 99%] +tests/test_testcases_exists.py::test_verify_parsed_and_reference_data_exists PASSED [100%] + +================================================================ 428 passed in 43.84s ================================================================ +______________________________________________________________________ summary _______________________________________________________________________ py36: commands succeeded congratulations :) +$ ``` Questions diff --git a/development_scripts.py b/development_scripts.py new file mode 100755 index 0000000000..8f2ed60553 --- /dev/null +++ b/development_scripts.py @@ -0,0 +1,493 @@ +#!/usr/bin/env python +import os +import re +import glob +import numbers +import argparse + +from ruamel.yaml import YAML +from ruamel.yaml.scalarstring import DoubleQuotedScalarString as DQ +from textfsm import clitable +from lib.ntc_templates.parse import parse_output + + +FILE_PATH = os.path.abspath(__file__) +FILE_DIR = os.path.dirname(FILE_PATH) +TEST_DIR = "{0}/tests".format(FILE_DIR) +YAML_OBJECT = YAML() +YAML_OBJECT.explicit_start = True +YAML_OBJECT.indent(sequence=4, offset=2) +YAML_OBJECT.block_style = True +RE_MULTILINE_REMARK = re.compile(r"(.*\n\s*#)(.*)") + + +def ensure_spacing_for_multiline_comment(remark): + """ + Finds all comments and ensures a single space after "#" symbol. + + Args: + remark (str): The remark of a comment from a ``ruamel.yaml.token.CommentToken``. + + Returns: + str: The ``remark`` formatted with a single space after comment start, "#" + + Example: + >>> remark = "comment 11\n# comment 12\n#comment 13\n" + >>> remark_formatted = ensure_spacing_for_multiline_comment(remark) + >>> # Formatting has normalized each comment to have a single space after the "#" + >>> remark_formatted + 'comment 11\n# comment 12\n# comment 13' + >>> + """ + remarks = re.findall(RE_MULTILINE_REMARK, remark) + # remarks that don't have a subsequent comment are not captured by regex + if not remarks: + remarks = (("", remark),) + # Example remarks: [('comment \n#', ' comment2 '), ('\n #', 'comment3 # 9')] + remark_formatted = "".join([entry[0] + " " + entry[1].strip() for entry in remarks]) + return remark_formatted + + +def ensure_space_after_octothorpe(comment): + """ + Ensures a single space is between the "#" and first letter of a comment. + + Args: + comment (ruamel.yaml.token.CommentToken): The comment to update. + + Returns: + None: The comment is updated in place. + + Example: + >>> yml = ruamel.yaml.YAML() + >>> with open("test.yml", encoding="utf-8") as fh: + ... print(fh.read()) + ... fh.seek(0) + ... data = yml.load(fh) + ... + --- + a: 5 # comment 1 + b: 6 #comment 2 + #comment 3 + c: + - 7 #comment 4 + #comment 5 + - 8 + #comment 6 + d: + #comment 7 + e: a #comment 8 + f: + - 9 + #comment 9 + - 10 + - a: + a: 8 + #comment 10 + b: 1 + - b: 1 + - 9 + #comment 11 + # comment 12 + #comment 13 + + >>> type(data) + + >>> comment = data.ca.items["b"][2] + >>> comment + CommentToken('#comment 2\n#comment 3\n', line: 2, col: 5) + >>> ensure_space_after_octothorpe(comment) + >>> # Both comments within the CommentToken object + >>> # now have a space between the "#" and the first symbol + >>> comment + CommentToken('# comment 2\n# comment 3\n', line: 2, col: 5) + >>> + """ + if comment is not None: + # Comments can start with whitespace, + # so partition is used to preserve that in the final result + space, octothorpe, remark = comment.value.partition("#") + remark_formatted = ensure_spacing_for_multiline_comment(remark) + comment.value = f"{space}# {remark_formatted.lstrip()}\n" + + +def ensure_space_comments(comments): + """ + Ensures there is a space after the "#" in comments. + + Args: + comments (iter): The comments from ruamel.yaml.YAML() object. + + Returns: + None: Comments are update in place. + + Example: + >>> yml = ruamel.yaml.YAML() + >>> with open("test.yml", encoding="utf-8") as fh: + ... print(fh.read()) + ... fh.seek(0) + ... data = yml.load(fh) + ... + --- + a: 5 # comment 1 + b: 6 #comment 2 + #comment 3 + c: + - 7 #comment 4 + #comment 5 + - 8 + #comment 6 + d: + #comment 7 + e: a #comment 8 + f: + - 9 + #comment 9 + - 10 + - a: + a: 8 + #comment 10 + b: 1 + - b: 1 + - 9 + #comment 11 + # comment 12 + #comment 13 + + >>> type(data) + + >>> comments = data.ca.items.values() + >>> comments + dict_values([ + [None, None, CommentToken('# comment 1\n', line: 1, col: 5), None], + [None, None, CommentToken('#comment 2\n#comment 3\n', line: 2, col: 5), None], + [None, None, None, [CommentToken('#comment 7\n', line: 10, col: 2)]] + ]) + >>> ensure_space_comments(comments) + >>> # Every comment now has a space between the "#" and the first symbol + >>> comments + dict_values([ + [None, None, CommentToken('# comment 1\n', line: 1, col: 5), None], + [None, None, CommentToken('# comment 2\n# comment 3\n', line: 2, col: 5), None], + [None, None, None, [CommentToken('# comment 7\n', line: 10, col: 2)]] + ]) + >>> + """ + comment_objects = (comment for comment_list in comments for comment in comment_list) + for comment in comment_objects: + # Some comments are nested inside an additional list + if not isinstance(comment, list): + ensure_space_after_octothorpe(comment) + else: + for cmt in comment: + ensure_space_after_octothorpe(cmt) + + +def update_yaml_comments(yaml_object): + """ + Ensures comments have a space after the "#" on itself and its entries + + Args: + yaml_object (ruamel.yaml.comments.CommentedMap | ruamel.yaml.comments.CommentedSeq): The list or dict object. + + Returns: + None: Comments are updated in place. + + Example: + >>> yml = ruamel.yaml.YAML() + >>> with open("test.yml", encoding="utf-8") as fh: + ... print(fh.read()) + ... fh.seek(0) + ... data = yml.load(fh) + ... + --- + a: 5 # comment 1 + b: 6 #comment 2 + #comment 3 + c: + - 7 #comment 4 + #comment 5 + - 8 + #comment 6 + d: + #comment 7 + e: a #comment 8 + f: + - 9 + #comment 9 + - 10 + - a: + a: 8 + #comment 10 + b: 1 + - b: 1 + - 9 + #comment 11 + # comment 12 + #comment 13 + + >>> type(data) + + >>> update_yaml_comments(data) + >>> with open("test.yml", "w", encoding="utf-8") as fh + ... yml.dump(data, fh) + ... + >>> + # Notice that comments now have a space between the hash and first symbol. + >>> with open("test.yml", encoding="utf-8") as fh: + ... print(fh.read()) + ... + a: 5 # comment 1 + b: 6 # comment 2 + #comment 3 + c: + - 7 # comment 4 + #comment 5 + - 8 + # comment 6 + d: + # comment 7 + e: a # comment 8 + f: + - 9 + # comment 9 + - 10 + - a: + a: 8 + # comment 10 + b: 1 + - b: 1 + - 9 + # comment 11 + # comment 12 + # comment 13 + + >>> + """ + comments = yaml_object.ca.items.values() + ensure_space_comments(comments) + try: + yaml_object_values = yaml_object.values() + except AttributeError: + yaml_object_values = yaml_object + + for entry in yaml_object_values: + if isinstance(entry, dict) or isinstance(entry, list): + update_yaml_comments(entry) + + +def transform_file(filepath): + """ + Loads YAML file and formats to adhere to yamllint config. + + Args: + filepath (str): The full path to a YAML file. + + Returns: + None: File I/O is performed to ensure YAML file adheres to yamllint config. + + Example: + >>> filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.yml" + >>> transform_parsed(filepath) + >>> + """ + with open(filepath, encoding="utf-8") as parsed_file: + parsed_object = YAML_OBJECT.load(parsed_file) + + ensure_yaml_standards(parsed_object, filepath) + + +def transform_glob(dirpath): + """ + Globs for YAML files and formats to adhere to yamllint config. + + Every file in ``dirpath`` ending in ``.yml`` will be formatted according to + yamllint config. Since this is using glob, the directory string passed in can + also include glob syntax (see ``Example``) + + Args: + dirpath (str): The path to search for files with ``.yml`` extension. + + Returns: + None: File I/O is performed to ensure YAML files adhere to yamllint config. + + Example: + >>> dirpath = "tests/*/*" + >>> transform_parsed(dirpath) + # Each filename is printed to the terminal + >>> + """ + # This commented out code was used for mass renaming of files; + # it is probably not needed anymore + # for file in glob.iglob("{0}/*.parsed".format(dirpath)): + # os.rename(file, file.replace(file[-6:], "yml")) + for file in glob.iglob("{0}/*.yml".format(dirpath)): + print(file) + transform_file(file) + + +def ensure_yaml_standards(parsed_object, output_path): + """ + Ensures YAML files adhere to yamllint config as defined in this project. + + Args: + parsed_object (dict): The TextFSM/CliTable data converted to a list of dicts. + The list of dicts must be the value of a dictionary key, ``parsed_sample``. + output_path (str): The filepath to write the ``parsed_object`` to. + + Returns: + None: File I/O is performed to write ``parsed_object`` to ``output_path``. + """ + for entry in parsed_object["parsed_sample"]: + # TextFSM conversion will allways be a list of dicts + for key, value in entry.items(): + # TextFSM capture groups always return strings or lists + # This also accounts for numbers incase the YAML was done by hand + if isinstance(value, (str, numbers.Number)): + entry[key] = DQ(value) + else: + entry[key] = [DQ(val) for val in value] + try: + update_yaml_comments(parsed_object) + except AttributeError: + pass + + with open(output_path, "w", encoding="utf-8") as parsed_file: + YAML_OBJECT.dump(parsed_object, parsed_file) + + +def parse_test_filepath(filepath): + """ + Parses fullpath of test file to obtain platform, command, and filename info. + + Args: + filepath (str): The path to a test file from platform directory or earlier. + + Returns: + tuple: Strings of platform, command, and the filename without the extension. + + Example: + >>> filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.raw" + >>> platform, command, filename = parse_test_filepath(filepath) + >>> print(platform) + cisco_ios + >>> print(command) + show version + >>> print(filename) + cisco_ios_show_version + >>> + """ + command_dir, filename = os.path.split(filepath) + platform_dir, command = os.path.split(command_dir) + test_dir, platform = os.path.split(platform_dir) + + command_without_underscores = command.replace("_", " ") + filename_without_extension, extension = filename.rsplit(".", 1) + + return platform, command_without_underscores, filename_without_extension + + +def build_parsed_data_from_output(filepath, test_dir=TEST_DIR): + """ + Generates a YAML file from the file containing the command output. + + The command output should be stored in a file in the appropriate directory; + for example, ``tests/cisco_ios/show_version/cisco_ios_show_version.raw`` + This uses ``lib.ntc_templates.parse.parse_output``, so the template must + be in the ``templates/`` directory, and ``templates/index`` must be updated + with the correct entry for the template. + + Args: + filepath (str): The path to the file containing sample command output. + test_dir (str): The root directory to story the resulting YAML file. + + Returns + None: File I/O is performed to generate a YAML file pased on command output. + + Example: + >>> root_dir = "tests/cisco_ios/show_version" + >>> os.listdir(root_dir) + ['cisco_ios_show_version.raw'] + >>> filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.raw" + >>> build_parsed_data_from_output(filepath) + >>> os.listdir(root_dir) + ['cisco_ios_show_version.raw', 'cisco_ios_show_version.yml'] + >>> + """ + platform, command, filename = parse_test_filepath(filepath) + with open(filepath, encoding="utf-8") as output_file: + output_data = output_file.read() + + structured_data = parse_output(platform, command, output_data) + + command_with_underscores = command.replace(" ", "_") + yaml_file = "{0}/{1}/{2}/{3}.yml".format( + test_dir, platform, command_with_underscores, filename + ) + ensure_yaml_standards({"parsed_sample": structured_data}, yaml_file) + + +def build_parsed_data_from_dir(dirpath, test_dir=TEST_DIR): + """ + Globs for files ending in ``.raw`` and generates YAML files based on TextFSM ouptut. + + Every file in ``dirpath`` ending in ``.raw`` will be parsed with TextFSM and written + to a YAML file following the yamllint config standards. Since this is using glob, the + directory string passed in can also include glob syntax. + + Args: + dirpath (str): The path to search for files with ``.raw`` extension. + + Returns: + None: File I/O is performed to ensure YAML files exist for each test output file. + + Example: + >>> dirpath = "tests/cisco_ios/show_mac-address-table" + >>> build_parsed_data_from_dir(dirpath) + # Each filename is printed to the terminal + >>> + """ + for file in glob.iglob("{0}/*.raw".format(dirpath)): + print(file) + build_parsed_data_from_output(file, test_dir) + + +if __name__ == "__main__": + parser = argparse.ArgumentParser( + description="Ensures YAML files match project standards" + ) + group = parser.add_mutually_exclusive_group() + group.add_argument("-y", "--yaml_file", type=str, help="The path to a YAML file.") + group.add_argument( + "-yd", + "--yaml_dir", + type=str, + help='The directory path to look for all files ending in ".yml"', + ) + group.add_argument( + "-c", + "--command_file", + type=str, + help="The path to the file containing command output.", + ) + group.add_argument( + "-cd", + "--command_dir", + type=str, + help='The directory path to look for all files ending in ".raw"', + ) + + args = parser.parse_args() + yaml_file = args.yaml_file + yaml_dir = args.yaml_dir + command_file = args.command_file + command_dir = args.command_dir + + if yaml_file is not None: + transform_file(yaml_file) + elif yaml_dir is not None: + transform_glob(yaml_dir) + elif command_file is not None: + build_parsed_data_from_output(command_file) + else: + build_parsed_data_from_dir(command_dir) diff --git a/helpers/create-parsed.yml b/helpers/create-parsed.yml deleted file mode 100644 index c5cb18b606..0000000000 --- a/helpers/create-parsed.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- - -# This Playbook will build the correct *.parsed file, based on the *.raw file. The presumption is you are running the playbook from the helpers folder, and it will find the correct test path. -# You can set extra vars for root_directory, os, command, and num ( which is a way to differentiate when you have multiple tests) - -# Example command below, makes use of localhost, -# ansible-playbook -i localhost, create-parsed.yml --extra-vars="os=cisco_ios command='show mac-address-table'" - -# Use number to differentiate raw and parsed files -# ansible-playbook -i localhost, create-parsed.yml --extra-vars="os=cisco_ios command='show mac-address-table' num=3" - -# With library and python interperter set -# ansible-playbook -i localhost, create-parsed.yml --extra-vars="os=cisco_ios command='show ip bgp' ansible_python_interpreter=python" -M "/etc/modules/library" - - - name: CREATE PARSED FILE FOR NTC TEMPLATES - hosts: localhost - gather_facts: no - connection: local - - tasks: - - - name: SET FACT FOR COMMAND - set_fact: - command_dash: "{{ command | regex_replace(' ', '_')}}" - - - name: SET FACT FOR ROOT DIR - set_fact: - root_directory: "{{ playbook_dir | dirname }}" - - - name: OFFLINE NTC SHOW COMMAND - ntc_show_command: - connection: "offline" - file: "{{ root_directory }}/tests/{{ os }}/{{ command_dash }}/{{ os }}_{{ command_dash}}{{ num | default('') }}.raw" - platform: '{{ os }}' - command: '{{ command }}' - template_dir: '{{ root_directory }}/templates/' - register: "value" - - - name: DISPLAY IN JSON VALUES - debug: - var: "value" - - - name: BUILD YAML FILE PARSED OUTPUT - template: - src: "./make-parsed.j2" - dest: "{{ root_directory }}/tests/{{ os }}/{{ command_dash }}/{{ os }}_{{ command_dash}}{{ num | default('') }}.parsed" diff --git a/helpers/make-parsed.j2 b/helpers/make-parsed.j2 deleted file mode 100644 index 60924b674e..0000000000 --- a/helpers/make-parsed.j2 +++ /dev/null @@ -1,4 +0,0 @@ ---- -parsed_sample: - -{{ value.get('response') | to_nice_yaml }} diff --git a/lib/ntc_templates/parse.py b/lib/ntc_templates/parse.py index 77dc89db6d..b03c524936 100644 --- a/lib/ntc_templates/parse.py +++ b/lib/ntc_templates/parse.py @@ -40,7 +40,9 @@ def parse_output(platform=None, command=None, data=None): structured_data = _clitable_to_dict(cli_table) except clitable.CliTableError as e: raise Exception( - 'Unable to parse command "{0}" on platform {1} - {2}'.format(command, platform, str(e)) + 'Unable to parse command "{0}" on platform {1} - {2}'.format( + command, platform, str(e) + ) ) # Invalid or Missing template # module.fail_json(msg='parsing error', error=str(e)) diff --git a/pylama.ini b/pylama.ini deleted file mode 100644 index b324c223e8..0000000000 --- a/pylama.ini +++ /dev/null @@ -1,7 +0,0 @@ -[pylama] -linters = mccabe,pep257,pep8,pyflakes -ignore = D203, -skip = .tox/*,.ntc-modules/* - -[pylama:pep8] -max_line_length = 110 diff --git a/pyproject.toml b/pyproject.toml index 48a67fddef..782367c645 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.black] -line-length = 100 +line-length = 90 target-version = ['py36'] include = '\.pyi?$' exclude = ''' @@ -16,4 +16,4 @@ exclude = ''' | dist )/ | test-templates\.py -''' \ No newline at end of file +''' diff --git a/setup.py b/setup.py index cb5727ad73..4625d1d9c3 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,9 @@ from setuptools import setup, find_packages with open("lib/ntc_templates/__init__.py", "r") as fd: - version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) + version = re.search( + r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE + ).group(1) if not version: raise RuntimeError("Cannot find version information") @@ -29,6 +31,7 @@ "author_email": "info@networktocode.com", "url": "https://github.com/networktocode/ntc-templates", "install_requires": ["textfsm", "terminal"], + "extras_require": {"dev": ["pytest", "PyYAML", "black", "yamllint", "ruamel.yaml"]}, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", diff --git a/test-template.yml b/test-template.yml deleted file mode 100644 index 469264a6a5..0000000000 --- a/test-template.yml +++ /dev/null @@ -1,41 +0,0 @@ ---- - -- name: Verify TextFSM template - hosts: localhost - gather_facts: False - - vars_prompt: - - name: template_name - prompt: "Enter the name of the template to verify:" - default: "cisco_nxos_show_ip_route" - private: no - - vars: - TEST_DIR: "{{ playbook_dir }}/tests" - platform: "{{ template_name.split('_')[0:2] | join('_') }}" - command_variable: "{{ template_name.split(platform + '_') | last }}" - command: "{{ command_variable.split('_') | join(' ') }}" - - tasks: - - - name: "{{template_name}}: run TextFSM on test input" - ntc_show_command: - connection: offline - file: "{{ item }}" - platform: "{{ platform }}" - command: "{{ command }}" - template_dir: "{{ playbook_dir }}/templates" - with_fileglob: - - "{{ TEST_DIR }}/{{ platform }}/{{ command_variable }}/{{ template_name }}*.raw" - register: ntc_result - - - name: "{{template_name}}: read parsed sample files" - include_vars: "{{ item.item | regex_replace('\\.raw$', '.parsed') }}" - with_items: "{{ ntc_result.results }}" - register: ntc_result - - - name: "{{template_name}}: verify that parsed result is the same as expected" - with_items: "{{ ntc_result.results }}" - compare_dict: - result: "{{ item.item.response }}" - sample: "{{ item.ansible_facts.parsed_sample }}" diff --git a/test-templates.py b/test-templates.py deleted file mode 100644 index 3d11743eb6..0000000000 --- a/test-templates.py +++ /dev/null @@ -1,118 +0,0 @@ -#!usr/bin/env python - -import ansible.runner -import json -import sys - - -def compare(list_one, list_two): - msg = '' - for el in list_one: - if el not in list_two: - msg = str(el) + " is not found in sample input" - return 1, msg - return 0, msg - -if __name__ == "__main__": - - HOSTS = 'test_hosts' - - runner = ansible.runner.Runner( - module_name='get_test_info', - module_args='', - pattern='localhost', - host_list=HOSTS, - #module_path='../library/') - module_path='/home/travis/build/networktocode/ntc-templates/ntc-ansible/library/') - - results = runner.run() - print(results) - tests = results['contacted']['localhost']['tests'] - - responses = [] - for test_case in tests: - filepath = test_case.get('path') - rawfile = test_case.get('rawfile') - platform = test_case.get('platform') - command = test_case.get('command') - - args = dict(file=filepath + '/' + rawfile, platform=platform, - command=command, connection='offline', - template_dir='templates/') - runner = ansible.runner.Runner( - module_name='ntc_show_command', - module_args=args, - pattern='localhost', - host_list=HOSTS - ) - results = runner.run() - - responses.append(results) - - # print(json.dumps(responses, indent=4)) - with_parsed = [] - # print(json.dumps(responses, indent=4)) - for rsp in responses: - # print(json.dumps(rsp, indent=4)) - # print(rsp['contacted']['localhost']['invocation']['module_args']) - args = rsp['contacted']['localhost']['invocation']['module_args'] - split = args.split(' ') - for each in split: - if '.raw' in each: - parsed = each.replace('.raw', '.parsed') - parsed = parsed.lstrip('file=') - - runner = ansible.runner.Runner( - module_name='include_vars', - module_args=parsed, - pattern='localhost', - host_list=HOSTS - ) - results = runner.run() - # print(json.dumps(results, indent=4)) - try: - results['response'] = rsp['contacted']['localhost']['response'] - except KeyError: - print('FAILED') - print(each) - print(rsp) - sys.exit(1) - - # print(rsp.get('response')) - with_parsed.append(results) - - # print(json.dumps(with_parsed, indent=4)) - - failed = False - - for each in with_parsed: - print('****') - print(each) - print('****') - text = each['contacted']['localhost']['invocation']['module_args'] - command = text.split('/')[-1].split('.')[0] - parsed_sample = each['contacted']['localhost']['ansible_facts']['parsed_sample'] - result = each['response'] - - rc, msg = compare(result, parsed_sample) - - print(command) - if rc != 0: - print('----> failed') - print('msg:') - print(msg) - print('*' * 100) - print('parsed (from parsed file): ') - print(parsed_sample) - print('*' * 100) - print('result (from ntc_show_command): ') - print(result) - failed = True - else: - print('----> passed') - print('=' * 50) - - if failed: - sys.exit(1) - else: - sys.exit(0) diff --git a/test_hosts b/test_hosts deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.parsed b/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.parsed deleted file mode 100644 index 8c25da42ae..0000000000 --- a/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.parsed +++ /dev/null @@ -1,49 +0,0 @@ ---- -parsed_sample: - - admin_state: 'on' - auth: 'off' - ip: 'off' - mbletag: 'off' - name: 'VLAN 1' - operational_state: 'on' - source_learn: 'on' - spanning_tree_1x1: 'on' - spanning_tree_flat: 'on' - type: 'std' - vlan: '1' - - - admin_state: 'on' - auth: 'off' - ip: 'off' - mbletag: 'off' - name: 'name with spaces' - operational_state: 'off' - source_learn: 'on' - spanning_tree_1x1: 'on' - spanning_tree_flat: 'on' - type: 'std' - vlan: '10' - - - admin_state: 'on' - auth: 'off' - ip: 'on' - mbletag: 'off' - name: 'name-with-dashes' - operational_state: 'on' - source_learn: 'on' - spanning_tree_1x1: 'on' - spanning_tree_flat: 'on' - type: 'std' - vlan: '100' - - - admin_state: 'on' - auth: 'off' - ip: 'on' - mbletag: 'off' - name: 'namewithoutnothing' - operational_state: 'on' - source_learn: 'on' - spanning_tree_1x1: 'on' - spanning_tree_flat: 'on' - type: 'gvrp' - vlan: '1000' diff --git a/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.yml b/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.yml new file mode 100644 index 0000000000..d9cc93268e --- /dev/null +++ b/tests/alcatel_aos/show_vlan/alcatel_aos_show_vlan.yml @@ -0,0 +1,46 @@ +--- +parsed_sample: + - admin_state: "on" + auth: "off" + ip: "off" + mbletag: "off" + name: "VLAN 1" + operational_state: "on" + source_learn: "on" + spanning_tree_1x1: "on" + spanning_tree_flat: "on" + type: "std" + vlan: "1" + - admin_state: "on" + auth: "off" + ip: "off" + mbletag: "off" + name: "name with spaces" + operational_state: "off" + source_learn: "on" + spanning_tree_1x1: "on" + spanning_tree_flat: "on" + type: "std" + vlan: "10" + - admin_state: "on" + auth: "off" + ip: "on" + mbletag: "off" + name: "name-with-dashes" + operational_state: "on" + source_learn: "on" + spanning_tree_1x1: "on" + spanning_tree_flat: "on" + type: "std" + vlan: "100" + - admin_state: "on" + auth: "off" + ip: "on" + mbletag: "off" + name: "namewithoutnothing" + operational_state: "on" + source_learn: "on" + spanning_tree_1x1: "on" + spanning_tree_flat: "on" + type: "gvrp" + vlan: "1000" diff --git a/tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.parsed b/tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.parsed deleted file mode 100644 index a01110eff6..0000000000 --- a/tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.parsed +++ /dev/null @@ -1,8 +0,0 @@ - ---- - - parsed_sample: - - - port: '1/1/2' - tag: '100' - router: '192.0.2.4' diff --git a/tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.yml b/tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.yml new file mode 100644 index 0000000000..8fa1de19ae --- /dev/null +++ b/tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.yml @@ -0,0 +1,5 @@ +--- +parsed_sample: + - port: "1/1/2" + tag: "100" + router: "192.0.2.4" diff --git a/tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.parsed b/tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.yml similarity index 52% rename from tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.parsed rename to tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.yml index 019503f7d9..a9a4dcbf8c 100644 --- a/tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.parsed +++ b/tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.yml @@ -1,25 +1,20 @@ --- - parsed_sample: - - - - med: 'None' + - med: "None" as_path: "No As-Path" - label: '262132' - rd: '65500:11' - path_id: 'None' + label: "262132" + rd: "65500:11" + path_id: "None" prefix: "192.0.2.4/32" next_hop: "10.11.5.5" in_out_use: "*>i" - local_pref: '100' - - - - med: 'None' + local_pref: "100" + - med: "None" as_path: "No As-Path" - label: '262132' - rd: '65500:11' - path_id: 'None' + label: "262132" + rd: "65500:11" + path_id: "None" prefix: "192.0.2.14/32" next_hop: "192.0.2.2" in_out_use: "u*>i" - local_pref: '100' + local_pref: "100" diff --git a/tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.parsed b/tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.parsed deleted file mode 100644 index 615801fe25..0000000000 --- a/tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.parsed +++ /dev/null @@ -1,13 +0,0 @@ ---- - -parsed_sample: - - - - sap_count: '1' - mtu: '5000' - description: 'this_is_a_description' - oper_state: 'Down' - admin_state: 'Up' - service_id: '1099' - customer_id: '4' - sdp_count: '1' diff --git a/tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.yml b/tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.yml new file mode 100644 index 0000000000..de5e85aea7 --- /dev/null +++ b/tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - sap_count: "1" + mtu: "5000" + description: "this_is_a_description" + oper_state: "Down" + admin_state: "Up" + service_id: "1099" + customer_id: "4" + sdp_count: "1" diff --git a/tests/arista_eos/bash_df_-h/arista_eos_bash_df_-h.parsed b/tests/arista_eos/bash_df_-h/arista_eos_bash_df_-h.parsed deleted file mode 100644 index cfa36cb009..0000000000 --- a/tests/arista_eos/bash_df_-h/arista_eos_bash_df_-h.parsed +++ /dev/null @@ -1,107 +0,0 @@ ---- - -parsed_sample: - - -- avail : '4.5G' - used : '44M' - size : '4.6G' - mounted_on : '/' - file_system : 'none' - use_percent : '1%' - - -- avail : '4.5G' - used : '44M' - size : '4.6G' - mounted_on : '/.overlay' - file_system : 'none' - use_percent : '1%' - - -- avail : '8.0M' - used : '0' - size : '8.0M' - mounted_on : '/dev' - file_system : 'devtmpfs' - use_percent : '0%' - - -- avail : '16G' - used : '0' - size : '16G' - mounted_on : '/dev/shm' - file_system : 'tmpfs' - use_percent : '0%' - - -- avail : '16G' - used : '4.4M' - size : '16G' - mounted_on : '/run' - file_system : 'tmpfs' - use_percent : '1%' - - -- avail : '16G' - used : '0' - size : '16G' - mounted_on : '/sys/fs/cgroup' - file_system : 'tmpfs' - use_percent : '0%' - - -- avail : '4.6G' - used : '308K' - size : '4.6G' - mounted_on : '/tmp' - file_system : 'tmpfs' - use_percent : '1%' - - -- avail : '63M' - used : '1.2M' - size : '64M' - mounted_on : '/.deltas' - file_system : 'tmpfs' - use_percent : '2%' - - -- avail : '16G' - used : '0' - size : '16G' - mounted_on : '/var/run/netns' - file_system : 'tmpfs' - use_percent : '0%' - - -- avail : '3.1G' - used : '0' - size : '3.1G' - mounted_on : '/var/core' - file_system : 'tmpfs' - use_percent : '0%' - - -- avail : '3.0G' - used : '93M' - size : '3.1G' - mounted_on : '/var/log' - file_system : 'tmpfs' - use_percent : '3%' - - -- avail : '807M' - used : '218M' - size : '1.0G' - mounted_on : '/var/shmem' - file_system : 'tmpfs' - use_percent : '22%' - - -- avail : '2.2G' - used : '1.2G' - size : '3.3G' - mounted_on : '/mnt/flash' - file_system : '/dev/sda1' - use_percent : '35%' \ No newline at end of file diff --git a/tests/arista_eos/bash_df_-h/arista_eos_bash_df_-h.yml b/tests/arista_eos/bash_df_-h/arista_eos_bash_df_-h.yml new file mode 100644 index 0000000000..97c69e4cd1 --- /dev/null +++ b/tests/arista_eos/bash_df_-h/arista_eos_bash_df_-h.yml @@ -0,0 +1,80 @@ +--- +parsed_sample: + - avail: "4.5G" + used: "44M" + size: "4.6G" + mounted_on: "/" + file_system: "none" + use_percent: "1%" + - avail: "4.5G" + used: "44M" + size: "4.6G" + mounted_on: "/.overlay" + file_system: "none" + use_percent: "1%" + - avail: "8.0M" + used: "0" + size: "8.0M" + mounted_on: "/dev" + file_system: "devtmpfs" + use_percent: "0%" + - avail: "16G" + used: "0" + size: "16G" + mounted_on: "/dev/shm" + file_system: "tmpfs" + use_percent: "0%" + - avail: "16G" + used: "4.4M" + size: "16G" + mounted_on: "/run" + file_system: "tmpfs" + use_percent: "1%" + - avail: "16G" + used: "0" + size: "16G" + mounted_on: "/sys/fs/cgroup" + file_system: "tmpfs" + use_percent: "0%" + - avail: "4.6G" + used: "308K" + size: "4.6G" + mounted_on: "/tmp" + file_system: "tmpfs" + use_percent: "1%" + - avail: "63M" + used: "1.2M" + size: "64M" + mounted_on: "/.deltas" + file_system: "tmpfs" + use_percent: "2%" + - avail: "16G" + used: "0" + size: "16G" + mounted_on: "/var/run/netns" + file_system: "tmpfs" + use_percent: "0%" + - avail: "3.1G" + used: "0" + size: "3.1G" + mounted_on: "/var/core" + file_system: "tmpfs" + use_percent: "0%" + - avail: "3.0G" + used: "93M" + size: "3.1G" + mounted_on: "/var/log" + file_system: "tmpfs" + use_percent: "3%" + - avail: "807M" + used: "218M" + size: "1.0G" + mounted_on: "/var/shmem" + file_system: "tmpfs" + use_percent: "22%" + - avail: "2.2G" + used: "1.2G" + size: "3.3G" + mounted_on: "/mnt/flash" + file_system: "/dev/sda1" + use_percent: "35%" diff --git a/tests/arista_eos/dir_flash/arista_eos_dir_flash.parsed b/tests/arista_eos/dir_flash/arista_eos_dir_flash.parsed deleted file mode 100644 index 45897be0b3..0000000000 --- a/tests/arista_eos/dir_flash/arista_eos_dir_flash.parsed +++ /dev/null @@ -1,101 +0,0 @@ ---- -parsed_sample: - - -- file_system : 'flash:/' - permissions : '-rwx' - size : '591941836' - date_time : 'Aug 2 2017' - name : 'EOS-4.18.3.1F.swi' - total_size : '3519041536' - total_free : '1725112320' - - -- file_system : 'flash:/' - permissions : '-rwx' - size : '609823300' - date_time : 'Feb 14 02:03' - name : 'EOS-4.19.5M.swi' - total_size : '3519041536' - total_free : '1725112320' - - -- file_system : 'flash:/' - permissions : '-rwx' - size : '29' - date_time : 'Aug 23 2017' - name : 'boot-config' - total_size : '3519041536' - total_free : '1725112320' - - -- file_system : 'flash:/' - permissions : 'drwx' - size : '4096' - date_time : 'Aug 23 2017' - name : 'debug' - total_size : '3519041536' - total_free : '1725112320' - - -- file_system : 'flash:/' - permissions : '-rwx' - size : '0' - date_time : 'Apr 15 2017' - name : 'enable3px' - total_size : '3519041536' - total_free : '1725112320' - - -- file_system : 'flash:/' - permissions : '-rwx' - size : '19' - date_time : 'Apr 15 2017' - name : 'enable3px.key' - total_size : '3519041536' - total_free : '1725112320' - - -- file_system : 'flash:/' - permissions : '-rwx' - size : '31' - date_time : 'Apr 15 2017' - name : 'kickstart-config' - total_size : '3519041536' - total_free : '1725112320' - - -- file_system : 'flash:/' - permissions : 'drwx' - size : '4096' - date_time : 'Apr 3 10:29' - name : 'persist' - total_size : '3519041536' - total_free : '1725112320' - - -- file_system : 'flash:/' - permissions : 'drwx' - size : '4096' - date_time : 'Apr 15 2017' - name : 'schedule' - total_size : '3519041536' - total_free : '1725112320' - - -- file_system : 'flash:/' - permissions : '-rwx' - size : '20530' - date_time : 'Jan 18 22:46' - name : 'startup-config' - total_size : '3519041536' - total_free : '1725112320' - - -- file_system : 'flash:/' - permissions : '-rwx' - size : '13' - date_time : 'Aug 23 2017' - name : 'zerotouch-config' - total_size : '3519041536' - total_free : '1725112320' diff --git a/tests/arista_eos/dir_flash/arista_eos_dir_flash.yml b/tests/arista_eos/dir_flash/arista_eos_dir_flash.yml new file mode 100644 index 0000000000..ec41e651fc --- /dev/null +++ b/tests/arista_eos/dir_flash/arista_eos_dir_flash.yml @@ -0,0 +1,79 @@ +--- +parsed_sample: + - file_system: "flash:/" + permissions: "-rwx" + size: "591941836" + date_time: "Aug 2 2017" + name: "EOS-4.18.3.1F.swi" + total_size: "3519041536" + total_free: "1725112320" + - file_system: "flash:/" + permissions: "-rwx" + size: "609823300" + date_time: "Feb 14 02:03" + name: "EOS-4.19.5M.swi" + total_size: "3519041536" + total_free: "1725112320" + - file_system: "flash:/" + permissions: "-rwx" + size: "29" + date_time: "Aug 23 2017" + name: "boot-config" + total_size: "3519041536" + total_free: "1725112320" + - file_system: "flash:/" + permissions: "drwx" + size: "4096" + date_time: "Aug 23 2017" + name: "debug" + total_size: "3519041536" + total_free: "1725112320" + - file_system: "flash:/" + permissions: "-rwx" + size: "0" + date_time: "Apr 15 2017" + name: "enable3px" + total_size: "3519041536" + total_free: "1725112320" + - file_system: "flash:/" + permissions: "-rwx" + size: "19" + date_time: "Apr 15 2017" + name: "enable3px.key" + total_size: "3519041536" + total_free: "1725112320" + - file_system: "flash:/" + permissions: "-rwx" + size: "31" + date_time: "Apr 15 2017" + name: "kickstart-config" + total_size: "3519041536" + total_free: "1725112320" + - file_system: "flash:/" + permissions: "drwx" + size: "4096" + date_time: "Apr 3 10:29" + name: "persist" + total_size: "3519041536" + total_free: "1725112320" + - file_system: "flash:/" + permissions: "drwx" + size: "4096" + date_time: "Apr 15 2017" + name: "schedule" + total_size: "3519041536" + total_free: "1725112320" + - file_system: "flash:/" + permissions: "-rwx" + size: "20530" + date_time: "Jan 18 22:46" + name: "startup-config" + total_size: "3519041536" + total_free: "1725112320" + - file_system: "flash:/" + permissions: "-rwx" + size: "13" + date_time: "Aug 23 2017" + name: "zerotouch-config" + total_size: "3519041536" + total_free: "1725112320" diff --git a/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.parsed b/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.yml similarity index 99% rename from tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.parsed rename to tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.yml index 444346e98f..c846caa884 100644 --- a/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.parsed +++ b/tests/arista_eos/show_bgp_evpn_summary/arista_eos_show_bgp_evpn_summary.yml @@ -1,5 +1,5 @@ --- -parsed_sample: +parsed_sample: - router_id: "10.0.250.1" local_as: "65000" vrf: "default" diff --git a/tests/arista_eos/show_boot-config/arista_eos_show_boot-config.parsed b/tests/arista_eos/show_boot-config/arista_eos_show_boot-config.parsed deleted file mode 100644 index 8ec8aa8fe9..0000000000 --- a/tests/arista_eos/show_boot-config/arista_eos_show_boot-config.parsed +++ /dev/null @@ -1,5 +0,0 @@ ---- -parsed_sample: - -- version: 'flash:/EOS-2.2.0.swi' - console: '(not set)' diff --git a/tests/arista_eos/show_boot-config/arista_eos_show_boot-config.yml b/tests/arista_eos/show_boot-config/arista_eos_show_boot-config.yml new file mode 100644 index 0000000000..1545793799 --- /dev/null +++ b/tests/arista_eos/show_boot-config/arista_eos_show_boot-config.yml @@ -0,0 +1,4 @@ +--- +parsed_sample: + - version: "flash:/EOS-2.2.0.swi" + console: "(not set)" diff --git a/tests/arista_eos/show_clock/arista_eos_show_clock.parsed b/tests/arista_eos/show_clock/arista_eos_show_clock.parsed deleted file mode 100644 index 3003f7ddbd..0000000000 --- a/tests/arista_eos/show_clock/arista_eos_show_clock.parsed +++ /dev/null @@ -1,8 +0,0 @@ ---- -parsed_sample: -- time: "18:42:49" - timezone: "US/Central" - dayweek: "Mon" - month: "Jan" - day: "14" - year: "2013" diff --git a/tests/arista_eos/show_clock/arista_eos_show_clock.yml b/tests/arista_eos/show_clock/arista_eos_show_clock.yml new file mode 100644 index 0000000000..26c4eb9f7c --- /dev/null +++ b/tests/arista_eos/show_clock/arista_eos_show_clock.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - time: "18:42:49" + timezone: "US/Central" + dayweek: "Mon" + month: "Jan" + day: "14" + year: "2013" diff --git a/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.parsed b/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.parsed deleted file mode 100644 index d73cb2ff41..0000000000 --- a/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.parsed +++ /dev/null @@ -1,345 +0,0 @@ ---- - -parsed_sample: - - -- fan : '1/1' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '1/2' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '1/3' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '1/4' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '1/5' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '2/1' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '2/2' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '2/3' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '2/4' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '2/5' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '3/1' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '3/2' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '3/3' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '3/4' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '3/5' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '4/1' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '4/2' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '4/3' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '4/4' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '4/5' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '5/1' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '5/2' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '5/3' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '5/4' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '5/5' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '6/1' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '6/2' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '6/3' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '6/4' - status : 'Ok' - config_speed : '35%' - actual_speed : '35%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : '6/5' - status : 'Ok' - config_speed : '35%' - actual_speed : '34%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : 'PowerSupply1/1' - status : 'Ok' - config_speed : '70%' - actual_speed : '70%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : 'PowerSupply2/1' - status : 'Ok' - config_speed : '70%' - actual_speed : '69%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : 'PowerSupply3/1' - status : 'Ok' - config_speed : '70%' - actual_speed : '70%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : 'PowerSupply4/1' - status : 'Ok' - config_speed : '70%' - actual_speed : '69%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : 'PowerSupply5' - status : 'Not Inserted' - config_speed : 'N/A' - actual_speed : 'N/A' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : 'PowerSupply6/1' - status : 'Ok' - config_speed : '70%' - actual_speed : '69%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : 'PowerSupply7/1' - status : 'Ok' - config_speed : '70%' - actual_speed : '70%' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' - - -- fan : 'PowerSupply8' - status : 'Not Inserted' - config_speed : 'N/A' - actual_speed : 'N/A' - sys_cooling_status : 'Ok' - ambient_temp : '22C' - airflow : 'front-to-back' diff --git a/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.yml b/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.yml new file mode 100644 index 0000000000..b1f9b24b24 --- /dev/null +++ b/tests/arista_eos/show_environment_cooling/arista_eos_show_environment_cooling.yml @@ -0,0 +1,268 @@ +--- +parsed_sample: + - fan: "1/1" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "1/2" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "1/3" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "1/4" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "1/5" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "2/1" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "2/2" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "2/3" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "2/4" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "2/5" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "3/1" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "3/2" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "3/3" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "3/4" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "3/5" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "4/1" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "4/2" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "4/3" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "4/4" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "4/5" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "5/1" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "5/2" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "5/3" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "5/4" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "5/5" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "6/1" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "6/2" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "6/3" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "6/4" + status: "Ok" + config_speed: "35%" + actual_speed: "35%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "6/5" + status: "Ok" + config_speed: "35%" + actual_speed: "34%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "PowerSupply1/1" + status: "Ok" + config_speed: "70%" + actual_speed: "70%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "PowerSupply2/1" + status: "Ok" + config_speed: "70%" + actual_speed: "69%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "PowerSupply3/1" + status: "Ok" + config_speed: "70%" + actual_speed: "70%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "PowerSupply4/1" + status: "Ok" + config_speed: "70%" + actual_speed: "69%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "PowerSupply5" + status: "Not Inserted" + config_speed: "N/A" + actual_speed: "N/A" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "PowerSupply6/1" + status: "Ok" + config_speed: "70%" + actual_speed: "69%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "PowerSupply7/1" + status: "Ok" + config_speed: "70%" + actual_speed: "70%" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" + - fan: "PowerSupply8" + status: "Not Inserted" + config_speed: "N/A" + actual_speed: "N/A" + sys_cooling_status: "Ok" + ambient_temp: "22C" + airflow: "front-to-back" diff --git a/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed deleted file mode 100644 index 3822fb70a1..0000000000 --- a/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.parsed +++ /dev/null @@ -1,147 +0,0 @@ ---- - -parsed_sample: - - -- sensor : '1' - description : 'Digital Temperature Sensor on cpu0' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '2' - description : 'Digital Temperature Sensor on cpu1' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '3' - description : 'Digital Temperature Sensor on cpu2' - current_value : '36.0' - setpoint : '65' - alert_limit : '95' - critical_limit : '105' - module : 'Supervisor 1' - - -- sensor : '6' - description : 'Outlet sensor' - current_value : '50.8' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 3' - - -- sensor : '7' - description : 'Inlet sensor' - current_value : '59.2' - setpoint : '75' - alert_limit : '90' - critical_limit : '100' - module : 'Linecard 3' - - -- sensor : '8' - description : 'Board sensor' - current_value : '62.0' - setpoint : '95' - alert_limit : '105' - critical_limit : '110' - module : 'Linecard 3' - - -- sensor : '5' - description : 'Outlet sensor' - current_value : '41.2' - setpoint : '80' - alert_limit : '90' - critical_limit : '100' - module : 'Linecard 4' - - -- sensor : '6' - description : 'Inlet sensor' - current_value : '43.8' - setpoint : '65' - alert_limit : '75' - critical_limit : '85' - module : 'Linecard 4' - - -- sensor : '7' - description : 'Board sensor' - current_value : '49.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 4' - - -- sensor : '9' - description : 'Board sensor' - current_value : '45.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Linecard 4' - - -- sensor : '5' - description : 'Outlet sensor' - current_value : '39.5' - setpoint : '80' - alert_limit : '90' - critical_limit : '100' - module : 'Linecard 5' - - -- sensor : '6' - description : 'Inlet sensor' - current_value : '39.0' - setpoint : '65' - alert_limit : '75' - critical_limit : '85' - module : 'Linecard 5' - - -- sensor : '1' - description : 'Outlet sensor' - current_value : '32.5' - setpoint : '80' - alert_limit : '90' - critical_limit : '100' - module : 'Linecard 6' - - -- sensor : '2' - description : 'Inlet sensor' - current_value : '29.2' - setpoint : '65' - alert_limit : '70' - critical_limit : '85' - module : 'Linecard 6' - - -- sensor : '13' - description : 'ADT (Fan controller) 1' - current_value : '32.8' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Fabric 1' - - -- sensor : '14' - description : 'Fan side sensor' - current_value : '32.0' - setpoint : '85' - alert_limit : '95' - critical_limit : '105' - module : 'Fabric 1' diff --git a/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.yml b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.yml new file mode 100644 index 0000000000..312cad1e5d --- /dev/null +++ b/tests/arista_eos/show_environment_temperature/arista_eos_show_environment_temperature.yml @@ -0,0 +1,114 @@ +--- +parsed_sample: + - sensor: "1" + description: "Digital Temperature Sensor on cpu0" + current_value: "36.0" + setpoint: "65" + alert_limit: "95" + critical_limit: "105" + module: "Supervisor 1" + - sensor: "2" + description: "Digital Temperature Sensor on cpu1" + current_value: "36.0" + setpoint: "65" + alert_limit: "95" + critical_limit: "105" + module: "Supervisor 1" + - sensor: "3" + description: "Digital Temperature Sensor on cpu2" + current_value: "36.0" + setpoint: "65" + alert_limit: "95" + critical_limit: "105" + module: "Supervisor 1" + - sensor: "6" + description: "Outlet sensor" + current_value: "50.8" + setpoint: "85" + alert_limit: "95" + critical_limit: "105" + module: "Linecard 3" + - sensor: "7" + description: "Inlet sensor" + current_value: "59.2" + setpoint: "75" + alert_limit: "90" + critical_limit: "100" + module: "Linecard 3" + - sensor: "8" + description: "Board sensor" + current_value: "62.0" + setpoint: "95" + alert_limit: "105" + critical_limit: "110" + module: "Linecard 3" + - sensor: "5" + description: "Outlet sensor" + current_value: "41.2" + setpoint: "80" + alert_limit: "90" + critical_limit: "100" + module: "Linecard 4" + - sensor: "6" + description: "Inlet sensor" + current_value: "43.8" + setpoint: "65" + alert_limit: "75" + critical_limit: "85" + module: "Linecard 4" + - sensor: "7" + description: "Board sensor" + current_value: "49.0" + setpoint: "85" + alert_limit: "95" + critical_limit: "105" + module: "Linecard 4" + - sensor: "9" + description: "Board sensor" + current_value: "45.0" + setpoint: "85" + alert_limit: "95" + critical_limit: "105" + module: "Linecard 4" + - sensor: "5" + description: "Outlet sensor" + current_value: "39.5" + setpoint: "80" + alert_limit: "90" + critical_limit: "100" + module: "Linecard 5" + - sensor: "6" + description: "Inlet sensor" + current_value: "39.0" + setpoint: "65" + alert_limit: "75" + critical_limit: "85" + module: "Linecard 5" + - sensor: "1" + description: "Outlet sensor" + current_value: "32.5" + setpoint: "80" + alert_limit: "90" + critical_limit: "100" + module: "Linecard 6" + - sensor: "2" + description: "Inlet sensor" + current_value: "29.2" + setpoint: "65" + alert_limit: "70" + critical_limit: "85" + module: "Linecard 6" + - sensor: "13" + description: "ADT (Fan controller) 1" + current_value: "32.8" + setpoint: "85" + alert_limit: "95" + critical_limit: "105" + module: "Fabric 1" + - sensor: "14" + description: "Fan side sensor" + current_value: "32.0" + setpoint: "85" + alert_limit: "95" + critical_limit: "105" + module: "Fabric 1" diff --git a/tests/arista_eos/show_hostname/arista_eos_show_hostname.parsed b/tests/arista_eos/show_hostname/arista_eos_show_hostname.parsed deleted file mode 100644 index 1fcdc775c0..0000000000 --- a/tests/arista_eos/show_hostname/arista_eos_show_hostname.parsed +++ /dev/null @@ -1,5 +0,0 @@ ---- -parsed_sample: - -- hostname: 'spine1' - fqdn: 'spine1.company.com' diff --git a/tests/arista_eos/show_hostname/arista_eos_show_hostname.yml b/tests/arista_eos/show_hostname/arista_eos_show_hostname.yml new file mode 100644 index 0000000000..88221d63c3 --- /dev/null +++ b/tests/arista_eos/show_hostname/arista_eos_show_hostname.yml @@ -0,0 +1,4 @@ +--- +parsed_sample: + - hostname: "spine1" + fqdn: "spine1.company.com" diff --git a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.parsed b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.parsed deleted file mode 100644 index 4f890e35da..0000000000 --- a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.parsed +++ /dev/null @@ -1,68 +0,0 @@ ---- -parsed_sample: - -- address: "0800.27dc.5443" - bandwidth: "10000000 kbit" - bia: "" - description: "" - hardware_type: "Ethernet" - interface: "Ethernet1" - ip_address: "172.16.1.1/24" - link_status: "up" - mtu: "1500" - protocol_status: "up (connected)" - -- address: "0800.27dc.5443" - bandwidth: "10000000 kbit" - bia: "" - description: "Connects to Ethernet1 on localhost" - hardware_type: "Ethernet" - interface: "Ethernet2" - ip_address: "172.16.2.1/24" - link_status: "up" - mtu: "1500" - protocol_status: "up (connected)" - -- address: "" - bandwidth: "" - bia: "" - description: "" - hardware_type: "Loopback" - interface: "Loopback0" - ip_address: "1.1.1.1/32" - link_status: "up" - mtu: "65535" - protocol_status: "up (connected)" - -- address: "0000.0000.0000" - bandwidth: "" - bia: "" - description: "" - hardware_type: "Port-Channel" - interface: "Port-Channel1" - ip_address: "" - link_status: "down" - mtu: "9214" - protocol_status: "lowerlayerdown (notconnect)" - -- address: "0800.27a5.02b7" - bandwidth: "1000000 kbit" - bia: "0800.27a5.02b7" - description: "" - hardware_type: "Ethernet" - interface: "Management1" - ip_address: "" - link_status: "up" - mtu: "1500" - protocol_status: "up (connected)" - -- address: "0800.27dc.5443" - bandwidth: "" - bia: "0800.27dc.5443" - description: "" - hardware_type: "Vlan" - interface: "Vlan10" - ip_address: "10.0.0.1/24" - link_status: "down" - mtu: "1500" - protocol_status: "lowerlayerdown (notconnect)" diff --git a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml new file mode 100644 index 0000000000..dd75e4bd09 --- /dev/null +++ b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - address: "0800.27dc.5443" + bandwidth: "10000000 kbit" + bia: "" + description: "" + hardware_type: "Ethernet" + interface: "Ethernet1" + ip_address: "172.16.1.1/24" + link_status: "up" + mtu: "1500" + protocol_status: "up (connected)" + - address: "0800.27dc.5443" + bandwidth: "10000000 kbit" + bia: "" + description: "Connects to Ethernet1 on localhost" + hardware_type: "Ethernet" + interface: "Ethernet2" + ip_address: "172.16.2.1/24" + link_status: "up" + mtu: "1500" + protocol_status: "up (connected)" + - address: "" + bandwidth: "" + bia: "" + description: "" + hardware_type: "Loopback" + interface: "Loopback0" + ip_address: "1.1.1.1/32" + link_status: "up" + mtu: "65535" + protocol_status: "up (connected)" + - address: "0000.0000.0000" + bandwidth: "" + bia: "" + description: "" + hardware_type: "Port-Channel" + interface: "Port-Channel1" + ip_address: "" + link_status: "down" + mtu: "9214" + protocol_status: "lowerlayerdown (notconnect)" + - address: "0800.27a5.02b7" + bandwidth: "1000000 kbit" + bia: "0800.27a5.02b7" + description: "" + hardware_type: "Ethernet" + interface: "Management1" + ip_address: "" + link_status: "up" + mtu: "1500" + protocol_status: "up (connected)" + - address: "0800.27dc.5443" + bandwidth: "" + bia: "0800.27dc.5443" + description: "" + hardware_type: "Vlan" + interface: "Vlan10" + ip_address: "10.0.0.1/24" + link_status: "down" + mtu: "1500" + protocol_status: "lowerlayerdown (notconnect)" diff --git a/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status.parsed b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status.parsed deleted file mode 100644 index 4f83ab4e8a..0000000000 --- a/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status.parsed +++ /dev/null @@ -1,49 +0,0 @@ ---- -parsed_sample: -- port: "Et3/1/1" - name: "I am a 40G port !! Hi" - status: "connected" - vlan: "trunk" - duplex: "a-full" - speed: "a-40G" - type: "40GBASE-CR4" - -- port: "Et3/1/4" - name: "" - status: "inactive" - vlan: "1" - duplex: "unconf" - speed: "unconf" - type: "40GBASE-CR4" - -- port: "Et3/2/1" - name: "PORTNAME" - status: "notconnect" - vlan: "trunk" - duplex: "a-full" - speed: "a-10G" - type: "40GBASE-SR" - -- port: "Et3/2/2" - name: "I am a 10G port" - status: "errdisabled" - vlan: "10" - duplex: "a-full" - speed: "a-10G" - type: "40GBASE-SR" - -- port: "Et3/2/4" - name: "- DISABLED routed (" - status: "disabled" - vlan: "routed" - duplex: "a-full" - speed: "a-10G" - type: "40GBASE-SR" - -- port: "Et3/2/5" - name: "-" - status: "disabled" - vlan: "routed" - duplex: "a-full" - speed: "a-10G" - type: "40GBASE-SR" diff --git a/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status.yml b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status.yml new file mode 100644 index 0000000000..c197ffcbe9 --- /dev/null +++ b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - port: "Et3/1/1" + name: "I am a 40G port !! Hi" + status: "connected" + vlan: "trunk" + duplex: "a-full" + speed: "a-40G" + type: "40GBASE-CR4" + - port: "Et3/1/4" + name: "" + status: "inactive" + vlan: "1" + duplex: "unconf" + speed: "unconf" + type: "40GBASE-CR4" + - port: "Et3/2/1" + name: "PORTNAME" + status: "notconnect" + vlan: "trunk" + duplex: "a-full" + speed: "a-10G" + type: "40GBASE-SR" + - port: "Et3/2/2" + name: "I am a 10G port" + status: "errdisabled" + vlan: "10" + duplex: "a-full" + speed: "a-10G" + type: "40GBASE-SR" + - port: "Et3/2/4" + name: "- DISABLED routed (" + status: "disabled" + vlan: "routed" + duplex: "a-full" + speed: "a-10G" + type: "40GBASE-SR" + - port: "Et3/2/5" + name: "-" + status: "disabled" + vlan: "routed" + duplex: "a-full" + speed: "a-10G" + type: "40GBASE-SR" diff --git a/tests/arista_eos/show_interfaces_transceiver/arista_eos_show_interfaces_transceiver.parsed b/tests/arista_eos/show_interfaces_transceiver/arista_eos_show_interfaces_transceiver.parsed deleted file mode 100644 index 41d9175205..0000000000 --- a/tests/arista_eos/show_interfaces_transceiver/arista_eos_show_interfaces_transceiver.parsed +++ /dev/null @@ -1,34 +0,0 @@ ---- -parsed_sample: - -- port : 'Et3/1/1' - voltage : '3.23' - bias_current : '19.94' - rx_power : '-2.39' - temp : '27.92' - tx_power : 'N/A' -- port : 'Et3/17/1' - voltage : '3.21' - bias_current : '36.64' - rx_power : '-0.10' - temp : '35.61' - tx_power : '1.51' -- port : 'Et3/17/2' - voltage : '3.21' - bias_current : '36.94' - rx_power : '-0.20' - temp : '35.61' - tx_power : '-0.20' -- port : 'Et3/17/3' - voltage : '3.21' - bias_current : '37.42' - rx_power : '-0.72' - temp : '35.61' - tx_power : '1.65' -- port : 'Et5/29/1' - voltage : 'N/A' - bias_current : 'N/A' - rx_power : 'N/A' - temp : 'N/A' - tx_power : 'N/A' - \ No newline at end of file diff --git a/tests/arista_eos/show_interfaces_transceiver/arista_eos_show_interfaces_transceiver.yml b/tests/arista_eos/show_interfaces_transceiver/arista_eos_show_interfaces_transceiver.yml new file mode 100644 index 0000000000..880de7c605 --- /dev/null +++ b/tests/arista_eos/show_interfaces_transceiver/arista_eos_show_interfaces_transceiver.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - port: "Et3/1/1" + voltage: "3.23" + bias_current: "19.94" + rx_power: "-2.39" + temp: "27.92" + tx_power: "N/A" + - port: "Et3/17/1" + voltage: "3.21" + bias_current: "36.64" + rx_power: "-0.10" + temp: "35.61" + tx_power: "1.51" + - port: "Et3/17/2" + voltage: "3.21" + bias_current: "36.94" + rx_power: "-0.20" + temp: "35.61" + tx_power: "-0.20" + - port: "Et3/17/3" + voltage: "3.21" + bias_current: "37.42" + rx_power: "-0.72" + temp: "35.61" + tx_power: "1.65" + - port: "Et5/29/1" + voltage: "N/A" + bias_current: "N/A" + rx_power: "N/A" + temp: "N/A" + tx_power: "N/A" diff --git a/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.parsed b/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.parsed deleted file mode 100644 index 0456ea8ae0..0000000000 --- a/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.parsed +++ /dev/null @@ -1,192 +0,0 @@ ---- - -parsed_sample: - - -- port : 'Et6/1' - type : 'Temperature' - current_value : '27.48' - high_alarm_threshold : '80.00' - high_warn_threshold : '75.00' - low_alarm_threshold : '-5.00' - low_warn_threshold : '0.00' - - -- port : 'Et6/2' - type : 'Temperature' - current_value : '27.48' - high_alarm_threshold : '80.00' - high_warn_threshold : '75.00' - low_alarm_threshold : '-5.00' - low_warn_threshold : '0.00' - - -- port : 'Et6/3' - type : 'Temperature' - current_value : '27.48' - high_alarm_threshold : '80.00' - high_warn_threshold : '75.00' - low_alarm_threshold : '-5.00' - low_warn_threshold : '0.00' - - -- port : 'Et6/4' - type : 'Temperature' - current_value : '27.48' - high_alarm_threshold : '80.00' - high_warn_threshold : '75.00' - low_alarm_threshold : '-5.00' - low_warn_threshold : '0.00' - - -- port : 'Et6/1' - type : 'Voltage' - current_value : '3.30' - high_alarm_threshold : '3.60' - high_warn_threshold : '3.50' - low_alarm_threshold : '3.00' - low_warn_threshold : '3.10' - - -- port : 'Et6/2' - type : 'Voltage' - current_value : '3.30' - high_alarm_threshold : '3.60' - high_warn_threshold : '3.50' - low_alarm_threshold : '3.00' - low_warn_threshold : '3.10' - - -- port : 'Et6/3' - type : 'Voltage' - current_value : '3.30' - high_alarm_threshold : '3.60' - high_warn_threshold : '3.50' - low_alarm_threshold : '3.00' - low_warn_threshold : '3.10' - - -- port : 'Et6/4' - type : 'Voltage' - current_value : '3.30' - high_alarm_threshold : '3.60' - high_warn_threshold : '3.50' - low_alarm_threshold : '3.00' - low_warn_threshold : '3.10' - - -- port : 'Et29/1' - type : 'Current' - current_value : '21.90' - high_alarm_threshold : '38.30' - high_warn_threshold : '37.35' - low_alarm_threshold : '0.00' - low_warn_threshold : '0.00' - - -- port : 'Et29/2' - type : 'Current' - current_value : '21.90' - high_alarm_threshold : '38.30' - high_warn_threshold : '37.35' - low_alarm_threshold : '0.00' - low_warn_threshold : '0.00' - - -- port : 'Et29/3' - type : 'Current' - current_value : '21.90' - high_alarm_threshold : '38.30' - high_warn_threshold : '37.35' - low_alarm_threshold : '0.00' - low_warn_threshold : '0.00' - - -- port : 'Et29/4' - type : 'Current' - current_value : '21.90' - high_alarm_threshold : '38.30' - high_warn_threshold : '37.35' - low_alarm_threshold : '0.00' - low_warn_threshold : '0.00' - - -- port : 'Et6/1' - type : 'Tx Power' - current_value : '-2.39' - high_alarm_threshold : '4.40' - high_warn_threshold : '3.40' - low_alarm_threshold : '-9.60' - low_warn_threshold : '-8.60' - - -- port : 'Et6/2' - type : 'Tx Power' - current_value : '-2.33' - high_alarm_threshold : '4.40' - high_warn_threshold : '3.40' - low_alarm_threshold : '-9.60' - low_warn_threshold : '-8.60' - - -- port : 'Et6/3' - type : 'Tx Power' - current_value : '-0.78' - high_alarm_threshold : '4.40' - high_warn_threshold : '3.40' - low_alarm_threshold : '-9.60' - low_warn_threshold : '-8.60' - - -- port : 'Et6/4' - type : 'Tx Power' - current_value : '-0.93' - high_alarm_threshold : '4.40' - high_warn_threshold : '3.40' - low_alarm_threshold : '-9.60' - low_warn_threshold : '-8.60' - - -- port : 'Et6/1' - type : 'Rx Power' - current_value : '-0.90' - high_alarm_threshold : '4.40' - high_warn_threshold : '3.40' - low_alarm_threshold : '-11.50' - low_warn_threshold : '-10.50' - - -- port : 'Et6/2' - type : 'Rx Power' - current_value : '-0.94' - high_alarm_threshold : '4.40' - high_warn_threshold : '3.40' - low_alarm_threshold : '-11.50' - low_warn_threshold : '-10.50' - - -- port : 'Et6/3' - type : 'Rx Power' - current_value : '-1.00' - high_alarm_threshold : '4.40' - high_warn_threshold : '3.40' - low_alarm_threshold : '-11.50' - low_warn_threshold : '-10.50' - - -- port : 'Et6/4' - type : 'Rx Power' - current_value : '-0.83' - high_alarm_threshold : '4.40' - high_warn_threshold : '3.40' - low_alarm_threshold : '-11.50' - low_warn_threshold : '-10.50' - - -- port : 'Et7/1' - type : 'Rx Power' - current_value : '-1.15' - high_alarm_threshold : '4.40' - high_warn_threshold : '3.40' - low_alarm_threshold : '-11.50' - low_warn_threshold : '-10.50' diff --git a/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.yml b/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.yml new file mode 100644 index 0000000000..1f86d37d6d --- /dev/null +++ b/tests/arista_eos/show_interfaces_transceiver_detail/arista_eos_show_interfaces_transceiver_detail.yml @@ -0,0 +1,149 @@ +--- +parsed_sample: + - port: "Et6/1" + type: "Temperature" + current_value: "27.48" + high_alarm_threshold: "80.00" + high_warn_threshold: "75.00" + low_alarm_threshold: "-5.00" + low_warn_threshold: "0.00" + - port: "Et6/2" + type: "Temperature" + current_value: "27.48" + high_alarm_threshold: "80.00" + high_warn_threshold: "75.00" + low_alarm_threshold: "-5.00" + low_warn_threshold: "0.00" + - port: "Et6/3" + type: "Temperature" + current_value: "27.48" + high_alarm_threshold: "80.00" + high_warn_threshold: "75.00" + low_alarm_threshold: "-5.00" + low_warn_threshold: "0.00" + - port: "Et6/4" + type: "Temperature" + current_value: "27.48" + high_alarm_threshold: "80.00" + high_warn_threshold: "75.00" + low_alarm_threshold: "-5.00" + low_warn_threshold: "0.00" + - port: "Et6/1" + type: "Voltage" + current_value: "3.30" + high_alarm_threshold: "3.60" + high_warn_threshold: "3.50" + low_alarm_threshold: "3.00" + low_warn_threshold: "3.10" + - port: "Et6/2" + type: "Voltage" + current_value: "3.30" + high_alarm_threshold: "3.60" + high_warn_threshold: "3.50" + low_alarm_threshold: "3.00" + low_warn_threshold: "3.10" + - port: "Et6/3" + type: "Voltage" + current_value: "3.30" + high_alarm_threshold: "3.60" + high_warn_threshold: "3.50" + low_alarm_threshold: "3.00" + low_warn_threshold: "3.10" + - port: "Et6/4" + type: "Voltage" + current_value: "3.30" + high_alarm_threshold: "3.60" + high_warn_threshold: "3.50" + low_alarm_threshold: "3.00" + low_warn_threshold: "3.10" + - port: "Et29/1" + type: "Current" + current_value: "21.90" + high_alarm_threshold: "38.30" + high_warn_threshold: "37.35" + low_alarm_threshold: "0.00" + low_warn_threshold: "0.00" + - port: "Et29/2" + type: "Current" + current_value: "21.90" + high_alarm_threshold: "38.30" + high_warn_threshold: "37.35" + low_alarm_threshold: "0.00" + low_warn_threshold: "0.00" + - port: "Et29/3" + type: "Current" + current_value: "21.90" + high_alarm_threshold: "38.30" + high_warn_threshold: "37.35" + low_alarm_threshold: "0.00" + low_warn_threshold: "0.00" + - port: "Et29/4" + type: "Current" + current_value: "21.90" + high_alarm_threshold: "38.30" + high_warn_threshold: "37.35" + low_alarm_threshold: "0.00" + low_warn_threshold: "0.00" + - port: "Et6/1" + type: "Tx Power" + current_value: "-2.39" + high_alarm_threshold: "4.40" + high_warn_threshold: "3.40" + low_alarm_threshold: "-9.60" + low_warn_threshold: "-8.60" + - port: "Et6/2" + type: "Tx Power" + current_value: "-2.33" + high_alarm_threshold: "4.40" + high_warn_threshold: "3.40" + low_alarm_threshold: "-9.60" + low_warn_threshold: "-8.60" + - port: "Et6/3" + type: "Tx Power" + current_value: "-0.78" + high_alarm_threshold: "4.40" + high_warn_threshold: "3.40" + low_alarm_threshold: "-9.60" + low_warn_threshold: "-8.60" + - port: "Et6/4" + type: "Tx Power" + current_value: "-0.93" + high_alarm_threshold: "4.40" + high_warn_threshold: "3.40" + low_alarm_threshold: "-9.60" + low_warn_threshold: "-8.60" + - port: "Et6/1" + type: "Rx Power" + current_value: "-0.90" + high_alarm_threshold: "4.40" + high_warn_threshold: "3.40" + low_alarm_threshold: "-11.50" + low_warn_threshold: "-10.50" + - port: "Et6/2" + type: "Rx Power" + current_value: "-0.94" + high_alarm_threshold: "4.40" + high_warn_threshold: "3.40" + low_alarm_threshold: "-11.50" + low_warn_threshold: "-10.50" + - port: "Et6/3" + type: "Rx Power" + current_value: "-1.00" + high_alarm_threshold: "4.40" + high_warn_threshold: "3.40" + low_alarm_threshold: "-11.50" + low_warn_threshold: "-10.50" + - port: "Et6/4" + type: "Rx Power" + current_value: "-0.83" + high_alarm_threshold: "4.40" + high_warn_threshold: "3.40" + low_alarm_threshold: "-11.50" + low_warn_threshold: "-10.50" + - port: "Et7/1" + type: "Rx Power" + current_value: "-1.15" + high_alarm_threshold: "4.40" + high_warn_threshold: "3.40" + low_alarm_threshold: "-11.50" + low_warn_threshold: "-10.50" diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory.parsed b/tests/arista_eos/show_inventory/arista_eos_show_inventory.parsed deleted file mode 100644 index b1c194ae7d..0000000000 --- a/tests/arista_eos/show_inventory/arista_eos_show_inventory.parsed +++ /dev/null @@ -1,68 +0,0 @@ ---- -parsed_sample: - -- port: '' - name: 'DCS-7150S-52-CL' - sn: 'JPE13120702' - descr: '52-port SFP+ 10GigE 1RU + Clock' - vid: '02.00' -- port: '1' - name: 'PWR-460AC-F' - sn: 'K192KU00241CZ' - descr: '' - vid: '' -- port: '2' - name: 'PWR-460AC-F' - sn: 'K192L200751CZ' - descr: '' - vid: '' -- port: '1' - name: 'FAN-7000-F' - sn: 'N/A' - descr: '' - vid: '' -- port: '2' - name: 'FAN-7000-F' - sn: 'N/A' - descr: '' - vid: '' -- port: '3' - name: 'FAN-7000-F' - sn: 'N/A' - descr: '' - vid: '' -- port: '4' - name: 'FAN-7000-F' - sn: 'N/A' - descr: '' - vid: '' -- port: '1' - name: '' - sn: '' - descr: 'Management' - vid: '' -- port: '52' - name: '' - sn: '' - descr: 'Switched' - vid: '' -- port: '1' - name: 'SFP-10G-SR' - sn: 'XCW1225FD753' - descr: 'Arista Networks' - vid: '0002' -- port: '2' - name: 'SFP-10G-SR' - sn: 'XCW1225FD753' - descr: 'Arista Networks' - vid: '0002' -- port: '51' - name: 'SFP-10G-SR' - sn: 'XCW1225FD753' - descr: 'Arista Networks' - vid: '0002' -- port: '52' - name: 'SFP-10G-SR' - sn: 'XCW1225FD753' - descr: 'Arista Networks' - vid: '0002' diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory.yml new file mode 100644 index 0000000000..c1deb91fe6 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory.yml @@ -0,0 +1,67 @@ +--- +parsed_sample: + - port: "" + name: "DCS-7150S-52-CL" + sn: "JPE13120702" + descr: "52-port SFP+ 10GigE 1RU + Clock" + vid: "02.00" + - port: "1" + name: "PWR-460AC-F" + sn: "K192KU00241CZ" + descr: "" + vid: "" + - port: "2" + name: "PWR-460AC-F" + sn: "K192L200751CZ" + descr: "" + vid: "" + - port: "1" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "2" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "3" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "4" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "1" + name: "" + sn: "" + descr: "Management" + vid: "" + - port: "52" + name: "" + sn: "" + descr: "Switched" + vid: "" + - port: "1" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" + - port: "2" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" + - port: "51" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" + - port: "52" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" diff --git a/tests/arista_eos/show_ip_access-lists/arista_eos_show_ip_access-lists.parsed b/tests/arista_eos/show_ip_access-lists/arista_eos_show_ip_access-lists.parsed deleted file mode 100644 index 3d5c7f6202..0000000000 --- a/tests/arista_eos/show_ip_access-lists/arista_eos_show_ip_access-lists.parsed +++ /dev/null @@ -1,128 +0,0 @@ ---- -parsed_sample: -- name: "TEST_1" - sn: "10" - action: "permit" - protocol: "ip" - source: "host 10.0.0.1" - port_modifier: "" - port_range: "" - destination: "10.0.0.0/24" - modifier: "" - -- name: "default-control-plane-acl" - sn: "10" - action: "permit" - protocol: "icmp" - source: "any" - port_modifier: "" - port_range: "" - destination: "any" - modifier: "" - -- name: "default-control-plane-acl" - sn: "20" - action: "permit" - protocol: "ip" - source: "any" - port_modifier: "" - port_range: "" - destination: "any" - modifier: "tracked" - -- name: "default-control-plane-acl" - sn: "30" - action: "permit" - protocol: "udp" - source: "any" - port_modifier: "" - port_range: "" - destination: "any" - modifier: "eq bfd ttl eq 255" - -- name: "default-control-plane-acl" - sn: "50" - action: "permit" - protocol: "tcp" - source: "any" - port_modifier: "" - port_range: "" - destination: "any" - modifier: "eq ssh telnet www snmp bgp https msdp" - -- name: "default-control-plane-acl" - sn: "60" - action: "permit" - protocol: "udp" - source: "any" - port_modifier: "" - port_range: "" - destination: "any" - modifier: "eq bootps bootpc snmp rip ntp" - -- name: "default-control-plane-acl" - sn: "70" - action: "permit" - protocol: "tcp" - source: "any" - port_modifier: "" - port_range: "" - destination: "any" - modifier: "range 5900 5910" - -- name: "test2" - sn: "10" - action: "permit" - protocol: "ip" - source: "1.1.1.0/30" - port_modifier: "" - port_range: "" - destination: "any" - modifier: "fragments log" - -- name: "test2" - sn: "20" - action: "permit" - protocol: "tcp" - source: "111.11.11.0/24" - port_modifier: "eq" - port_range: "www z39-50" - destination: "10.0.0.0/24" - modifier: "urg ttl eq 30" - -- name: "test3" - sn: "10" - action: "permit" - protocol: "tcp" - source: "any" - port_modifier: "range" - port_range: "www ups" - destination: "any" - modifier: "ack" - -- name: "test3" - sn: "20" - action: "permit" - protocol: "tcp" - source: "any" - port_modifier: "eq" - port_range: "www ups telnet time tunnel uucp vmnet" - destination: "host 10.10.10.10" - modifier: "ack" - -- name: "test3" - sn: "30" - action: "permit" - protocol: "tcp" - source: "any" - port_modifier: "eq" - port_range: "www ups telnet vmnet" - destination: "any" - modifier: "log" - - - - - - - diff --git a/tests/arista_eos/show_ip_access-lists/arista_eos_show_ip_access-lists.yml b/tests/arista_eos/show_ip_access-lists/arista_eos_show_ip_access-lists.yml new file mode 100644 index 0000000000..fbf4ef5e4d --- /dev/null +++ b/tests/arista_eos/show_ip_access-lists/arista_eos_show_ip_access-lists.yml @@ -0,0 +1,110 @@ +--- +parsed_sample: + - name: "TEST_1" + sn: "10" + action: "permit" + protocol: "ip" + source: "host 10.0.0.1" + port_modifier: "" + port_range: "" + destination: "10.0.0.0/24" + modifier: "" + - name: "default-control-plane-acl" + sn: "10" + action: "permit" + protocol: "icmp" + source: "any" + port_modifier: "" + port_range: "" + destination: "any" + modifier: "" + - name: "default-control-plane-acl" + sn: "20" + action: "permit" + protocol: "ip" + source: "any" + port_modifier: "" + port_range: "" + destination: "any" + modifier: "tracked" + - name: "default-control-plane-acl" + sn: "30" + action: "permit" + protocol: "udp" + source: "any" + port_modifier: "" + port_range: "" + destination: "any" + modifier: "eq bfd ttl eq 255" + - name: "default-control-plane-acl" + sn: "50" + action: "permit" + protocol: "tcp" + source: "any" + port_modifier: "" + port_range: "" + destination: "any" + modifier: "eq ssh telnet www snmp bgp https msdp" + - name: "default-control-plane-acl" + sn: "60" + action: "permit" + protocol: "udp" + source: "any" + port_modifier: "" + port_range: "" + destination: "any" + modifier: "eq bootps bootpc snmp rip ntp" + - name: "default-control-plane-acl" + sn: "70" + action: "permit" + protocol: "tcp" + source: "any" + port_modifier: "" + port_range: "" + destination: "any" + modifier: "range 5900 5910" + - name: "test2" + sn: "10" + action: "permit" + protocol: "ip" + source: "1.1.1.0/30" + port_modifier: "" + port_range: "" + destination: "any" + modifier: "fragments log" + - name: "test2" + sn: "20" + action: "permit" + protocol: "tcp" + source: "111.11.11.0/24" + port_modifier: "eq" + port_range: "www z39-50" + destination: "10.0.0.0/24" + modifier: "urg ttl eq 30" + - name: "test3" + sn: "10" + action: "permit" + protocol: "tcp" + source: "any" + port_modifier: "range" + port_range: "www ups" + destination: "any" + modifier: "ack" + - name: "test3" + sn: "20" + action: "permit" + protocol: "tcp" + source: "any" + port_modifier: "eq" + port_range: "www ups telnet time tunnel uucp vmnet" + destination: "host 10.10.10.10" + modifier: "ack" + - name: "test3" + sn: "30" + action: "permit" + protocol: "tcp" + source: "any" + port_modifier: "eq" + port_range: "www ups telnet vmnet" + destination: "any" + modifier: "log" diff --git a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.parsed b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.parsed deleted file mode 100644 index 6a8085cac2..0000000000 --- a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.parsed +++ /dev/null @@ -1,16 +0,0 @@ ---- -parsed_sample: -- address: "172.25.0.2" - age: "0" - mac: "004c.6211.021e" - interface: "Vlan101, Port-Channel2" - -- address: "172.22.0.1" - age: "0" - mac: "004c.6214.3699" - interface: "Vlan1000, Port-Channel1" - -- address: "172.22.0.2" - age: "0" - mac: "004c.6219.a0f3" - interface: "Ethernet1" diff --git a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml new file mode 100644 index 0000000000..71ac508167 --- /dev/null +++ b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - address: "172.25.0.2" + age: "0" + mac: "004c.6211.021e" + interface: "Vlan101, Port-Channel2" + - address: "172.22.0.1" + age: "0" + mac: "004c.6214.3699" + interface: "Vlan1000, Port-Channel1" + - address: "172.22.0.2" + age: "0" + mac: "004c.6219.a0f3" + interface: "Ethernet1" diff --git a/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp.parsed b/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp.parsed deleted file mode 100644 index 7f5e43d2e2..0000000000 --- a/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp.parsed +++ /dev/null @@ -1,83 +0,0 @@ ---- -parsed_sample: - -- as_path: '' - local_pref: '0' - metric: '1' - network: 10.103.1.0/24 - next_hop: '-' - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '-' -- as_path: '' - local_pref: '0' - metric: '1' - network: 10.103.2.0/24 - next_hop: '-' - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '-' -- as_path: '' - local_pref: '0' - metric: '1' - network: 10.103.3.0/24 - next_hop: '-' - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '-' -- as_path: '' - local_pref: '0' - metric: '1' - network: 10.103.4.0/24 - next_hop: '-' - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '-' -- as_path: '104' - local_pref: '100' - metric: '0' - network: 10.104.1.0/24 - next_hop: 10.10.10.20 - origin: i - path_selection: ' ' - route_source: '#' - status: '*' - weight: '0' -- as_path: '104' - local_pref: '100' - metric: '0' - network: 10.104.2.0/24 - next_hop: 10.10.10.20 - origin: i - path_selection: ' ' - route_source: '#' - status: '*' - weight: '0' -- as_path: '104' - local_pref: '100' - metric: '0' - network: 10.104.3.0/24 - next_hop: 10.10.10.20 - origin: i - path_selection: ' ' - route_source: '#' - status: '*' - weight: '0' -- as_path: '104' - local_pref: '100' - metric: '0' - network: 10.104.4.0/24 - next_hop: 10.10.10.20 - origin: i - path_selection: ' ' - route_source: '#' - status: '*' - weight: '0' diff --git a/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp.yml b/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp.yml new file mode 100644 index 0000000000..90db158693 --- /dev/null +++ b/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - as_path: "" + local_pref: "0" + metric: "1" + network: "10.103.1.0/24" + next_hop: "-" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "-" + - as_path: "" + local_pref: "0" + metric: "1" + network: "10.103.2.0/24" + next_hop: "-" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "-" + - as_path: "" + local_pref: "0" + metric: "1" + network: "10.103.3.0/24" + next_hop: "-" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "-" + - as_path: "" + local_pref: "0" + metric: "1" + network: "10.103.4.0/24" + next_hop: "-" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "-" + - as_path: "104" + local_pref: "100" + metric: "0" + network: "10.104.1.0/24" + next_hop: "10.10.10.20" + origin: "i" + path_selection: " " + route_source: "#" + status: "*" + weight: "0" + - as_path: "104" + local_pref: "100" + metric: "0" + network: "10.104.2.0/24" + next_hop: "10.10.10.20" + origin: "i" + path_selection: " " + route_source: "#" + status: "*" + weight: "0" + - as_path: "104" + local_pref: "100" + metric: "0" + network: "10.104.3.0/24" + next_hop: "10.10.10.20" + origin: "i" + path_selection: " " + route_source: "#" + status: "*" + weight: "0" + - as_path: "104" + local_pref: "100" + metric: "0" + network: "10.104.4.0/24" + next_hop: "10.10.10.20" + origin: "i" + path_selection: " " + route_source: "#" + status: "*" + weight: "0" diff --git a/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp2.parsed b/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp2.parsed deleted file mode 100644 index 2c079e88c4..0000000000 --- a/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp2.parsed +++ /dev/null @@ -1,1353 +0,0 @@ ---- -parsed_sample: - -- as_path: 64908 64907 64906 - local_pref: '450' - metric: '0' - network: 0.0.0.0/0 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 - local_pref: '450' - metric: '0' - network: 0.0.0.0/0 - next_hop: 200.200.58.242 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 - local_pref: '350' - metric: '0' - network: 0.0.0.0/0 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 - local_pref: '250' - metric: '0' - network: 0.0.0.0/0 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64906 64909 - local_pref: '450' - metric: '0' - network: 10.16.0.0/20 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '450' - metric: '0' - network: 10.16.0.0/20 - next_hop: 200.200.58.242 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '350' - metric: '0' - network: 10.16.0.0/20 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '250' - metric: '0' - network: 10.16.0.0/20 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 - local_pref: '250' - metric: '0' - network: 10.20.0.0/16 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 - local_pref: '250' - metric: '0' - network: 10.20.0.0/16 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 - local_pref: '100' - metric: '0' - network: 10.20.0.0/16 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 64920 - local_pref: '250' - metric: '0' - network: 10.20.12.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64920 - local_pref: '250' - metric: '0' - network: 10.20.12.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64920 - local_pref: '100' - metric: '0' - network: 10.20.12.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 64918 - local_pref: '250' - metric: '0' - network: 10.20.108.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64918 - local_pref: '250' - metric: '0' - network: 10.20.108.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64918 - local_pref: '100' - metric: '0' - network: 10.20.108.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 64917 - local_pref: '250' - metric: '0' - network: 10.20.120.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64917 - local_pref: '250' - metric: '0' - network: 10.20.120.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64917 - local_pref: '100' - metric: '0' - network: 10.20.120.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 64919 - local_pref: '250' - metric: '0' - network: 10.20.158.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64919 - local_pref: '250' - metric: '0' - network: 10.20.158.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64919 - local_pref: '100' - metric: '0' - network: 10.20.158.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 64921 - local_pref: '250' - metric: '0' - network: 10.20.186.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64921 - local_pref: '250' - metric: '0' - network: 10.20.186.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64921 - local_pref: '100' - metric: '0' - network: 10.20.186.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 64922 - local_pref: '250' - metric: '0' - network: 10.20.212.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64922 - local_pref: '250' - metric: '0' - network: 10.20.212.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64922 - local_pref: '100' - metric: '0' - network: 10.20.212.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 64923 - local_pref: '250' - metric: '0' - network: 10.20.214.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64923 - local_pref: '250' - metric: '0' - network: 10.20.214.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64923 - local_pref: '100' - metric: '0' - network: 10.20.214.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64906 - local_pref: '450' - metric: '0' - network: 10.24.0.0/16 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 - local_pref: '450' - metric: '0' - network: 10.24.0.0/16 - next_hop: 200.200.58.242 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 - local_pref: '350' - metric: '0' - network: 10.24.0.0/16 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 - local_pref: '250' - metric: '0' - network: 10.24.0.0/16 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64906 64909 - local_pref: '450' - metric: '0' - network: 10.24.6.0/23 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '450' - metric: '0' - network: 10.24.6.0/23 - next_hop: 200.200.58.242 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '350' - metric: '0' - network: 10.24.6.0/23 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '250' - metric: '0' - network: 10.24.6.0/23 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64906 64909 - local_pref: '450' - metric: '0' - network: 10.24.6.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '450' - metric: '0' - network: 10.24.6.0/24 - next_hop: 200.200.58.242 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '350' - metric: '0' - network: 10.24.6.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '250' - metric: '0' - network: 10.24.6.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64906 64909 - local_pref: '450' - metric: '0' - network: 10.24.8.0/25 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '450' - metric: '0' - network: 10.24.8.0/25 - next_hop: 200.200.58.242 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '350' - metric: '0' - network: 10.24.8.0/25 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64909 - local_pref: '250' - metric: '0' - network: 10.24.8.0/25 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64906 64910 - local_pref: '450' - metric: '0' - network: 10.24.41.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64910 - local_pref: '450' - metric: '0' - network: 10.24.41.0/24 - next_hop: 200.200.58.242 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64910 - local_pref: '350' - metric: '0' - network: 10.24.41.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64910 - local_pref: '250' - metric: '0' - network: 10.24.41.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64906 64910 - local_pref: '450' - metric: '0' - network: 10.24.42.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64910 - local_pref: '450' - metric: '0' - network: 10.24.42.0/24 - next_hop: 200.200.58.242 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64910 - local_pref: '350' - metric: '0' - network: 10.24.42.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64910 - local_pref: '250' - metric: '0' - network: 10.24.42.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64906 64911 - local_pref: '450' - metric: '0' - network: 10.24.202.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64911 - local_pref: '450' - metric: '0' - network: 10.24.202.0/24 - next_hop: 200.200.58.242 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64911 - local_pref: '350' - metric: '0' - network: 10.24.202.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64911 - local_pref: '250' - metric: '0' - network: 10.24.202.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64906 64912 - local_pref: '450' - metric: '0' - network: 10.26.59.0/24 - next_hop: 200.200.103.194 - origin: '?' - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64912 - local_pref: '450' - metric: '0' - network: 10.26.59.0/24 - next_hop: 200.200.58.242 - origin: '?' - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64912 - local_pref: '350' - metric: '0' - network: 10.26.59.0/24 - next_hop: 200.200.58.226 - origin: '?' - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64912 - local_pref: '250' - metric: '0' - network: 10.26.59.0/24 - next_hop: 200.200.58.210 - origin: '?' - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64906 64912 - local_pref: '450' - metric: '0' - network: 10.26.60.0/22 - next_hop: 200.200.103.194 - origin: '?' - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64912 - local_pref: '450' - metric: '0' - network: 10.26.60.0/22 - next_hop: 200.200.58.242 - origin: '?' - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64912 - local_pref: '350' - metric: '0' - network: 10.26.60.0/22 - next_hop: 200.200.58.226 - origin: '?' - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64906 64912 - local_pref: '250' - metric: '0' - network: 10.26.60.0/22 - next_hop: 200.200.58.210 - origin: '?' - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 - local_pref: '250' - metric: '0' - network: 10.28.0.0/16 - next_hop: 200.200.103.194 - origin: '?' - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 - local_pref: '250' - metric: '0' - network: 10.28.0.0/16 - next_hop: 200.200.58.210 - origin: '?' - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 - local_pref: '100' - metric: '0' - network: 10.28.0.0/16 - next_hop: 200.200.58.226 - origin: '?' - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 64903 - local_pref: '250' - metric: '0' - network: 10.28.24.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 64903 - local_pref: '250' - metric: '0' - network: 10.28.24.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 64903 - local_pref: '100' - metric: '0' - network: 10.28.24.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 64903 - local_pref: '250' - metric: '0' - network: 10.28.30.0/24 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 64903 - local_pref: '250' - metric: '0' - network: 10.28.30.0/24 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 64903 - local_pref: '100' - metric: '0' - network: 10.28.30.0/24 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 - local_pref: '250' - metric: '0' - network: 10.96.0.0/16 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 - local_pref: '250' - metric: '0' - network: 10.96.0.0/16 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 - local_pref: '100' - metric: '0' - network: 10.96.0.0/16 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 64915 - local_pref: '250' - metric: '0' - network: 10.96.32.0/21 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64915 - local_pref: '250' - metric: '0' - network: 10.96.32.0/21 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64915 - local_pref: '100' - metric: '0' - network: 10.96.32.0/21 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64914 64913 - local_pref: '250' - metric: '0' - network: 10.97.0.0/16 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64914 64913 - local_pref: '250' - metric: '0' - network: 10.97.0.0/16 - next_hop: 200.200.58.218 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64914 64913 - local_pref: '100' - metric: '0' - network: 10.97.0.0/16 - next_hop: 200.200.58.234 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64914 64913 64915 - local_pref: '250' - metric: '0' - network: 10.97.32.0/21 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64914 64913 64915 - local_pref: '250' - metric: '0' - network: 10.97.32.0/21 - next_hop: 200.200.58.218 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64914 64913 64915 - local_pref: '100' - metric: '0' - network: 10.97.32.0/21 - next_hop: 200.200.58.234 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64913 64915 - local_pref: '250' - metric: '0' - network: 10.99.32.0/21 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64915 - local_pref: '250' - metric: '0' - network: 10.99.32.0/21 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64913 64915 - local_pref: '100' - metric: '0' - network: 10.99.32.0/21 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64916 64914 64913 64915 - local_pref: '250' - metric: '0' - network: 10.100.32.0/21 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64914 64913 64915 - local_pref: '250' - metric: '0' - network: 10.100.32.0/21 - next_hop: 200.200.58.218 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64916 64914 64913 64915 - local_pref: '100' - metric: '0' - network: 10.100.32.0/21 - next_hop: 200.200.58.234 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.0/18 - next_hop: 200.200.103.194 - origin: '?' - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.0/18 - next_hop: 200.200.58.210 - origin: '?' - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '100' - metric: '0' - network: 10.104.128.0/18 - next_hop: 200.200.58.226 - origin: '?' - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.64/30 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.64/30 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '100' - metric: '0' - network: 10.104.128.64/30 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.68/30 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.68/30 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '100' - metric: '0' - network: 10.104.128.68/30 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64901 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.80/30 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64901 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.80/30 - next_hop: 200.200.58.218 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64901 64905 - local_pref: '100' - metric: '0' - network: 10.104.128.80/30 - next_hop: 200.200.58.234 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64901 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.84/30 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64901 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.84/30 - next_hop: 200.200.58.218 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64901 64905 - local_pref: '100' - metric: '0' - network: 10.104.128.84/30 - next_hop: 200.200.58.234 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.192/28 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.192/28 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '100' - metric: '0' - network: 10.104.128.192/28 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64901 64905 - local_pref: '250' - metric: '0' - network: 12.104.128.208/29 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64901 64905 - local_pref: '250' - metric: '0' - network: 10.104.128.208/29 - next_hop: 200.200.58.218 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64901 64905 - local_pref: '100' - metric: '0' - network: 10.104.128.208/29 - next_hop: 200.200.58.234 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.179.0/25 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.179.0/25 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '100' - metric: '0' - network: 10.104.179.0/25 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64901 64905 - local_pref: '250' - metric: '0' - network: 10.104.180.0/25 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64901 64905 - local_pref: '250' - metric: '0' - network: 10.104.180.0/25 - next_hop: 200.200.58.218 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64901 64905 - local_pref: '100' - metric: '0' - network: 10.104.180.0/25 - next_hop: 200.200.58.234 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.190.1/32 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.190.1/32 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '100' - metric: '0' - network: 10.104.190.1/32 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.190.2/32 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.190.2/32 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '100' - metric: '0' - network: 10.104.190.2/32 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.190.3/32 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.190.3/32 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '100' - metric: '0' - network: 10.104.190.3/32 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.190.4/32 - next_hop: 200.200.103.194 - origin: i - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '250' - metric: '0' - network: 10.104.190.4/32 - next_hop: 200.200.58.210 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64908 64908 64907 64902 64900 64905 - local_pref: '100' - metric: '0' - network: 10.104.190.4/32 - next_hop: 200.200.58.226 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 64908 64907 64902 64900 64904 - local_pref: '250' - metric: '0' - network: 10.104.192.0/18 - next_hop: 200.200.103.194 - origin: '?' - path_selection: ' ' - route_source: '>' - status: '*' - weight: '0' diff --git a/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp2.yml b/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp2.yml new file mode 100644 index 0000000000..ef6b785e83 --- /dev/null +++ b/tests/arista_eos/show_ip_bgp/arista_eos_show_ip_bgp2.yml @@ -0,0 +1,1352 @@ +--- +parsed_sample: + - as_path: "64908 64907 64906" + local_pref: "450" + metric: "0" + network: "0.0.0.0/0" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906" + local_pref: "450" + metric: "0" + network: "0.0.0.0/0" + next_hop: "200.200.58.242" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906" + local_pref: "350" + metric: "0" + network: "0.0.0.0/0" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906" + local_pref: "250" + metric: "0" + network: "0.0.0.0/0" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64906 64909" + local_pref: "450" + metric: "0" + network: "10.16.0.0/20" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "450" + metric: "0" + network: "10.16.0.0/20" + next_hop: "200.200.58.242" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "350" + metric: "0" + network: "10.16.0.0/20" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "250" + metric: "0" + network: "10.16.0.0/20" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913" + local_pref: "250" + metric: "0" + network: "10.20.0.0/16" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913" + local_pref: "250" + metric: "0" + network: "10.20.0.0/16" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913" + local_pref: "100" + metric: "0" + network: "10.20.0.0/16" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913 64920" + local_pref: "250" + metric: "0" + network: "10.20.12.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64920" + local_pref: "250" + metric: "0" + network: "10.20.12.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64920" + local_pref: "100" + metric: "0" + network: "10.20.12.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913 64918" + local_pref: "250" + metric: "0" + network: "10.20.108.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64918" + local_pref: "250" + metric: "0" + network: "10.20.108.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64918" + local_pref: "100" + metric: "0" + network: "10.20.108.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913 64917" + local_pref: "250" + metric: "0" + network: "10.20.120.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64917" + local_pref: "250" + metric: "0" + network: "10.20.120.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64917" + local_pref: "100" + metric: "0" + network: "10.20.120.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913 64919" + local_pref: "250" + metric: "0" + network: "10.20.158.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64919" + local_pref: "250" + metric: "0" + network: "10.20.158.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64919" + local_pref: "100" + metric: "0" + network: "10.20.158.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913 64921" + local_pref: "250" + metric: "0" + network: "10.20.186.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64921" + local_pref: "250" + metric: "0" + network: "10.20.186.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64921" + local_pref: "100" + metric: "0" + network: "10.20.186.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913 64922" + local_pref: "250" + metric: "0" + network: "10.20.212.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64922" + local_pref: "250" + metric: "0" + network: "10.20.212.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64922" + local_pref: "100" + metric: "0" + network: "10.20.212.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913 64923" + local_pref: "250" + metric: "0" + network: "10.20.214.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64923" + local_pref: "250" + metric: "0" + network: "10.20.214.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64923" + local_pref: "100" + metric: "0" + network: "10.20.214.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64906" + local_pref: "450" + metric: "0" + network: "10.24.0.0/16" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906" + local_pref: "450" + metric: "0" + network: "10.24.0.0/16" + next_hop: "200.200.58.242" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906" + local_pref: "350" + metric: "0" + network: "10.24.0.0/16" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906" + local_pref: "250" + metric: "0" + network: "10.24.0.0/16" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64906 64909" + local_pref: "450" + metric: "0" + network: "10.24.6.0/23" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "450" + metric: "0" + network: "10.24.6.0/23" + next_hop: "200.200.58.242" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "350" + metric: "0" + network: "10.24.6.0/23" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "250" + metric: "0" + network: "10.24.6.0/23" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64906 64909" + local_pref: "450" + metric: "0" + network: "10.24.6.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "450" + metric: "0" + network: "10.24.6.0/24" + next_hop: "200.200.58.242" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "350" + metric: "0" + network: "10.24.6.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "250" + metric: "0" + network: "10.24.6.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64906 64909" + local_pref: "450" + metric: "0" + network: "10.24.8.0/25" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "450" + metric: "0" + network: "10.24.8.0/25" + next_hop: "200.200.58.242" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "350" + metric: "0" + network: "10.24.8.0/25" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64909" + local_pref: "250" + metric: "0" + network: "10.24.8.0/25" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64906 64910" + local_pref: "450" + metric: "0" + network: "10.24.41.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64910" + local_pref: "450" + metric: "0" + network: "10.24.41.0/24" + next_hop: "200.200.58.242" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64910" + local_pref: "350" + metric: "0" + network: "10.24.41.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64910" + local_pref: "250" + metric: "0" + network: "10.24.41.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64906 64910" + local_pref: "450" + metric: "0" + network: "10.24.42.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64910" + local_pref: "450" + metric: "0" + network: "10.24.42.0/24" + next_hop: "200.200.58.242" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64910" + local_pref: "350" + metric: "0" + network: "10.24.42.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64910" + local_pref: "250" + metric: "0" + network: "10.24.42.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64906 64911" + local_pref: "450" + metric: "0" + network: "10.24.202.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64911" + local_pref: "450" + metric: "0" + network: "10.24.202.0/24" + next_hop: "200.200.58.242" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64911" + local_pref: "350" + metric: "0" + network: "10.24.202.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64911" + local_pref: "250" + metric: "0" + network: "10.24.202.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64906 64912" + local_pref: "450" + metric: "0" + network: "10.26.59.0/24" + next_hop: "200.200.103.194" + origin: "?" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64912" + local_pref: "450" + metric: "0" + network: "10.26.59.0/24" + next_hop: "200.200.58.242" + origin: "?" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64912" + local_pref: "350" + metric: "0" + network: "10.26.59.0/24" + next_hop: "200.200.58.226" + origin: "?" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64912" + local_pref: "250" + metric: "0" + network: "10.26.59.0/24" + next_hop: "200.200.58.210" + origin: "?" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64906 64912" + local_pref: "450" + metric: "0" + network: "10.26.60.0/22" + next_hop: "200.200.103.194" + origin: "?" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64912" + local_pref: "450" + metric: "0" + network: "10.26.60.0/22" + next_hop: "200.200.58.242" + origin: "?" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64912" + local_pref: "350" + metric: "0" + network: "10.26.60.0/22" + next_hop: "200.200.58.226" + origin: "?" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64906 64912" + local_pref: "250" + metric: "0" + network: "10.26.60.0/22" + next_hop: "200.200.58.210" + origin: "?" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900" + local_pref: "250" + metric: "0" + network: "10.28.0.0/16" + next_hop: "200.200.103.194" + origin: "?" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900" + local_pref: "250" + metric: "0" + network: "10.28.0.0/16" + next_hop: "200.200.58.210" + origin: "?" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900" + local_pref: "100" + metric: "0" + network: "10.28.0.0/16" + next_hop: "200.200.58.226" + origin: "?" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905 64903" + local_pref: "250" + metric: "0" + network: "10.28.24.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905 64903" + local_pref: "250" + metric: "0" + network: "10.28.24.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905 64903" + local_pref: "100" + metric: "0" + network: "10.28.24.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905 64903" + local_pref: "250" + metric: "0" + network: "10.28.30.0/24" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905 64903" + local_pref: "250" + metric: "0" + network: "10.28.30.0/24" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905 64903" + local_pref: "100" + metric: "0" + network: "10.28.30.0/24" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913" + local_pref: "250" + metric: "0" + network: "10.96.0.0/16" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913" + local_pref: "250" + metric: "0" + network: "10.96.0.0/16" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913" + local_pref: "100" + metric: "0" + network: "10.96.0.0/16" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913 64915" + local_pref: "250" + metric: "0" + network: "10.96.32.0/21" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64915" + local_pref: "250" + metric: "0" + network: "10.96.32.0/21" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64915" + local_pref: "100" + metric: "0" + network: "10.96.32.0/21" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64914 64913" + local_pref: "250" + metric: "0" + network: "10.97.0.0/16" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64914 64913" + local_pref: "250" + metric: "0" + network: "10.97.0.0/16" + next_hop: "200.200.58.218" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64914 64913" + local_pref: "100" + metric: "0" + network: "10.97.0.0/16" + next_hop: "200.200.58.234" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64914 64913 64915" + local_pref: "250" + metric: "0" + network: "10.97.32.0/21" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64914 64913 64915" + local_pref: "250" + metric: "0" + network: "10.97.32.0/21" + next_hop: "200.200.58.218" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64914 64913 64915" + local_pref: "100" + metric: "0" + network: "10.97.32.0/21" + next_hop: "200.200.58.234" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64913 64915" + local_pref: "250" + metric: "0" + network: "10.99.32.0/21" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64915" + local_pref: "250" + metric: "0" + network: "10.99.32.0/21" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64913 64915" + local_pref: "100" + metric: "0" + network: "10.99.32.0/21" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64916 64914 64913 64915" + local_pref: "250" + metric: "0" + network: "10.100.32.0/21" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64914 64913 64915" + local_pref: "250" + metric: "0" + network: "10.100.32.0/21" + next_hop: "200.200.58.218" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64916 64914 64913 64915" + local_pref: "100" + metric: "0" + network: "10.100.32.0/21" + next_hop: "200.200.58.234" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.0/18" + next_hop: "200.200.103.194" + origin: "?" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.0/18" + next_hop: "200.200.58.210" + origin: "?" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "100" + metric: "0" + network: "10.104.128.0/18" + next_hop: "200.200.58.226" + origin: "?" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.64/30" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.64/30" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "100" + metric: "0" + network: "10.104.128.64/30" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.68/30" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.68/30" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "100" + metric: "0" + network: "10.104.128.68/30" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64901 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.80/30" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64901 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.80/30" + next_hop: "200.200.58.218" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64901 64905" + local_pref: "100" + metric: "0" + network: "10.104.128.80/30" + next_hop: "200.200.58.234" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64901 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.84/30" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64901 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.84/30" + next_hop: "200.200.58.218" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64901 64905" + local_pref: "100" + metric: "0" + network: "10.104.128.84/30" + next_hop: "200.200.58.234" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.192/28" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.192/28" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "100" + metric: "0" + network: "10.104.128.192/28" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64901 64905" + local_pref: "250" + metric: "0" + network: "12.104.128.208/29" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64901 64905" + local_pref: "250" + metric: "0" + network: "10.104.128.208/29" + next_hop: "200.200.58.218" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64901 64905" + local_pref: "100" + metric: "0" + network: "10.104.128.208/29" + next_hop: "200.200.58.234" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.179.0/25" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.179.0/25" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "100" + metric: "0" + network: "10.104.179.0/25" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64901 64905" + local_pref: "250" + metric: "0" + network: "10.104.180.0/25" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64901 64905" + local_pref: "250" + metric: "0" + network: "10.104.180.0/25" + next_hop: "200.200.58.218" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64901 64905" + local_pref: "100" + metric: "0" + network: "10.104.180.0/25" + next_hop: "200.200.58.234" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.190.1/32" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.190.1/32" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "100" + metric: "0" + network: "10.104.190.1/32" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.190.2/32" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.190.2/32" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "100" + metric: "0" + network: "10.104.190.2/32" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.190.3/32" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.190.3/32" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "100" + metric: "0" + network: "10.104.190.3/32" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.190.4/32" + next_hop: "200.200.103.194" + origin: "i" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "250" + metric: "0" + network: "10.104.190.4/32" + next_hop: "200.200.58.210" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64908 64908 64907 64902 64900 64905" + local_pref: "100" + metric: "0" + network: "10.104.190.4/32" + next_hop: "200.200.58.226" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "64908 64907 64902 64900 64904" + local_pref: "250" + metric: "0" + network: "10.104.192.0/18" + next_hop: "200.200.103.194" + origin: "?" + path_selection: " " + route_source: ">" + status: "*" + weight: "0" diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.parsed b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.parsed deleted file mode 100644 index 23dcfb1332..0000000000 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.parsed +++ /dev/null @@ -1,28 +0,0 @@ ---- -parsed_sample: - - router_id: '10.26.0.22' - bgp_neigh: '10.17.254.78' - vrf: '' - up_down: '02:49:40' - state_pfxacc: '' - state: '' - neigh_as: '65534' - local_as: '65533' - state_pfxrcd: '7' - out_queue: '0' - in_queue: '0' - msg_rcvd: '187' - msg_sent: '191' - - router_id: '10.26.0.22' - bgp_neigh: '10.17.254.2' - vrf: '' - up_down: '02:59:41' - state_pfxacc: '' - state: '' - neigh_as: '65533' - local_as: '65533' - state_pfxrcd: '7' - out_queue: '0' - in_queue: '0' - msg_rcvd: '184' - msg_sent: '191' diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.yml b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.yml new file mode 100644 index 0000000000..f85caba65c --- /dev/null +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary.yml @@ -0,0 +1,28 @@ +--- +parsed_sample: + - router_id: "10.26.0.22" + local_as: "65533" + vrf: "" + bgp_neigh: "10.17.254.78" + neigh_as: "65534" + msg_rcvd: "187" + msg_sent: "191" + in_queue: "0" + out_queue: "0" + up_down: "02:49:40" + state: "" + state_pfxrcd: "7" + state_pfxacc: "" + - router_id: "10.26.0.22" + local_as: "65533" + vrf: "" + bgp_neigh: "10.17.254.2" + neigh_as: "65533" + msg_rcvd: "184" + msg_sent: "191" + in_queue: "0" + out_queue: "0" + up_down: "02:59:41" + state: "" + state_pfxrcd: "7" + state_pfxacc: "" diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed deleted file mode 100644 index 8be23472f0..0000000000 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.parsed +++ /dev/null @@ -1,42 +0,0 @@ ---- -parsed_sample: - -- router_id : '10.0.65.72' - vrf: 'default' - in_queue : '0' - out_queue : '0' - state_pfxrcd : '' - msg_sent : '0' - state : 'Active' - neigh_as : '65292' - msg_rcvd : '0' - up_down : '79d05h' - bgp_neigh : '10.10.128.0' - local_as : '64911' - state_pfxacc : '' -- router_id : '10.0.65.72' - vrf: 'default' - in_queue : '0' - out_queue : '0' - state_pfxrcd : '' - msg_sent : '0' - state : 'Idle(NoIf)' - neigh_as : '64832' - msg_rcvd : '0' - up_down : '79d05h' - bgp_neigh : '10.106.0.153' - local_as : '64911' - state_pfxacc : '' -- router_id : '10.0.65.72' - vrf: 'default' - in_queue : '0' - out_queue : '0' - state_pfxrcd : '1' - msg_sent : '118481' - state : 'Estab' - neigh_as : '64833' - msg_rcvd : '114056' - up_down : '79d05h' - bgp_neigh : '10.106.0.157' - local_as : '64911' - state_pfxacc : '1' diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.yml b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.yml new file mode 100644 index 0000000000..0d1a316b02 --- /dev/null +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary2.yml @@ -0,0 +1,41 @@ +--- +parsed_sample: + - router_id: "10.0.65.72" + local_as: "64911" + vrf: "default" + bgp_neigh: "10.10.128.0" + neigh_as: "65292" + msg_rcvd: "0" + msg_sent: "0" + in_queue: "0" + out_queue: "0" + up_down: "79d05h" + state: "Active" + state_pfxrcd: "" + state_pfxacc: "" + - router_id: "10.0.65.72" + local_as: "64911" + vrf: "default" + bgp_neigh: "10.106.0.153" + neigh_as: "64832" + msg_rcvd: "0" + msg_sent: "0" + in_queue: "0" + out_queue: "0" + up_down: "79d05h" + state: "Idle(NoIf)" + state_pfxrcd: "" + state_pfxacc: "" + - router_id: "10.0.65.72" + local_as: "64911" + vrf: "default" + bgp_neigh: "10.106.0.157" + neigh_as: "64833" + msg_rcvd: "114056" + msg_sent: "118481" + in_queue: "0" + out_queue: "0" + up_down: "79d05h" + state: "Estab" + state_pfxrcd: "1" + state_pfxacc: "1" diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.parsed b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.parsed deleted file mode 100644 index e55556e73e..0000000000 --- a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.parsed +++ /dev/null @@ -1,54 +0,0 @@ ---- -parsed_sample: - - router_id: '192.168.1.1' - local_as: '645001' - vrf: 'RED' - bgp_neigh: '192.168.1.2' - neigh_as: '65002' - msg_rcvd: '1753556' - msg_sent: '1761743' - in_queue: '0' - out_queue: '0' - up_down: '40d23h' - state: 'Estab' - state_pfxrcd: '7' - state_pfxacc: '4' - - router_id: '192.168.2.1' - local_as: '65011' - vrf: 'WHITE' - bgp_neigh: '192.168.2.2' - neigh_as: '65012' - msg_rcvd: '7405942' - msg_sent: '7406081' - in_queue: '0' - out_queue: '0' - up_down: '270d13h' - state: 'Estab' - state_pfxrcd: '7' - state_pfxacc: '5' - - router_id: '192.168.3.1' - local_as: '65021' - vrf: 'BLUE' - bgp_neigh: '192.168.3.2' - neigh_as: '65022' - msg_rcvd: '1171721' - msg_sent: '1171752' - in_queue: '0' - out_queue: '0' - up_down: '67d19h' - state: 'Estab' - state_pfxrcd: '25' - state_pfxacc: '25' - - router_id: '192.168.3.1' - local_as: '65021' - vrf: 'BLUE' - bgp_neigh: '192.168.3.3' - neigh_as: '65023' - msg_rcvd: '97651' - msg_sent: '97643' - in_queue: '0' - out_queue: '0' - up_down: '40d23h' - state: 'Estab' - state_pfxrcd: '18' - state_pfxacc: '18' diff --git a/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.yml b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.yml new file mode 100644 index 0000000000..a7b3cc08a9 --- /dev/null +++ b/tests/arista_eos/show_ip_bgp_summary/arista_eos_show_ip_bgp_summary_vrf.yml @@ -0,0 +1,54 @@ +--- +parsed_sample: + - router_id: "192.168.1.1" + local_as: "645001" + vrf: "RED" + bgp_neigh: "192.168.1.2" + neigh_as: "65002" + msg_rcvd: "1753556" + msg_sent: "1761743" + in_queue: "0" + out_queue: "0" + up_down: "40d23h" + state: "Estab" + state_pfxrcd: "7" + state_pfxacc: "4" + - router_id: "192.168.2.1" + local_as: "65011" + vrf: "WHITE" + bgp_neigh: "192.168.2.2" + neigh_as: "65012" + msg_rcvd: "7405942" + msg_sent: "7406081" + in_queue: "0" + out_queue: "0" + up_down: "270d13h" + state: "Estab" + state_pfxrcd: "7" + state_pfxacc: "5" + - router_id: "192.168.3.1" + local_as: "65021" + vrf: "BLUE" + bgp_neigh: "192.168.3.2" + neigh_as: "65022" + msg_rcvd: "1171721" + msg_sent: "1171752" + in_queue: "0" + out_queue: "0" + up_down: "67d19h" + state: "Estab" + state_pfxrcd: "25" + state_pfxacc: "25" + - router_id: "192.168.3.1" + local_as: "65021" + vrf: "BLUE" + bgp_neigh: "192.168.3.3" + neigh_as: "65023" + msg_rcvd: "97651" + msg_sent: "97643" + in_queue: "0" + out_queue: "0" + up_down: "40d23h" + state: "Estab" + state_pfxrcd: "18" + state_pfxacc: "18" diff --git a/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.parsed b/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.parsed deleted file mode 100644 index 8b2ba20af7..0000000000 --- a/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.parsed +++ /dev/null @@ -1,13 +0,0 @@ ---- -parsed_sample: -- interface: Vlan1 - ip_helper: - - 10.1.0.0 - - 10.1.0.1 - - 10.1.0.2 - - 10.1.0.3 - - server.domain -- interface: Vlan2 - ip_helper: - - 10.1.0.4 - - server.domain diff --git a/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.yml b/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.yml new file mode 100644 index 0000000000..28316d0d66 --- /dev/null +++ b/tests/arista_eos/show_ip_helper-address/arista_eos_show_ip_helper.yml @@ -0,0 +1,13 @@ +--- +parsed_sample: + - interface: "Vlan1" + ip_helper: + - "10.1.0.0" + - "10.1.0.1" + - "10.1.0.2" + - "10.1.0.3" + - "server.domain" + - interface: "Vlan2" + ip_helper: + - "10.1.0.4" + - "server.domain" diff --git a/tests/arista_eos/show_ip_interface_brief/arista_eos_show_ip_interface_brief.parsed b/tests/arista_eos/show_ip_interface_brief/arista_eos_show_ip_interface_brief.parsed deleted file mode 100644 index 787787d404..0000000000 --- a/tests/arista_eos/show_ip_interface_brief/arista_eos_show_ip_interface_brief.parsed +++ /dev/null @@ -1,33 +0,0 @@ ---- -parsed_sample: -- interface: "Loopback0" - ip: "1.1.1.1/32" - status: "up" - protocol: "up" - mtu: "65535" - -- interface: "Management1" - ip: "unassigned" - status: "down" - protocol: "down" - mtu: "1500" - -- interface: "Vlan10" - ip: "unassigned" - status: "down" - protocol: "lowerlayerdown" - mtu: "1500" - -- interface: "Ethernet5" - ip: "10.0.0.1/24" - status: "up" - protocol: "up" - mtu: "1500" - -- interface: "Port-Channel1" - ip: "11.11.11.11/24" - status: "down" - protocol: "lowerlayerdown" - mtu: "1500" - - diff --git a/tests/arista_eos/show_ip_interface_brief/arista_eos_show_ip_interface_brief.yml b/tests/arista_eos/show_ip_interface_brief/arista_eos_show_ip_interface_brief.yml new file mode 100644 index 0000000000..61db67858e --- /dev/null +++ b/tests/arista_eos/show_ip_interface_brief/arista_eos_show_ip_interface_brief.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - interface: "Loopback0" + ip: "1.1.1.1/32" + status: "up" + protocol: "up" + mtu: "65535" + - interface: "Management1" + ip: "unassigned" + status: "down" + protocol: "down" + mtu: "1500" + - interface: "Vlan10" + ip: "unassigned" + status: "down" + protocol: "lowerlayerdown" + mtu: "1500" + - interface: "Ethernet5" + ip: "10.0.0.1/24" + status: "up" + protocol: "up" + mtu: "1500" + - interface: "Port-Channel1" + ip: "11.11.11.11/24" + status: "down" + protocol: "lowerlayerdown" + mtu: "1500" diff --git a/tests/arista_eos/show_ip_ospf_database/arista_eos_show_ip_ospf_database.parsed b/tests/arista_eos/show_ip_ospf_database/arista_eos_show_ip_ospf_database.parsed deleted file mode 100644 index 0eaf68019c..0000000000 --- a/tests/arista_eos/show_ip_ospf_database/arista_eos_show_ip_ospf_database.parsed +++ /dev/null @@ -1,102 +0,0 @@ ---- -parsed_sample: - -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.103.1' - adv_router: '10.168.103.1' - age: '00:29:08' - link_count: '1' - tag: '' -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.104.2' - adv_router: '10.168.104.2' - age: '00:29:09' - link_count: '1' - tag: '' -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.2.1' - adv_router: '10.168.103.1' - age: '00:29:08' - link_count: '' - tag: '' -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.0.0' - adv_router: '10.168.103.1' - age: '00:13:20' - link_count: '' - tag: '' -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.0.0' - adv_router: '10.168.104.2' - age: '00:09:16' - link_count: '' - tag: '' -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.3.0' - adv_router: '10.168.104.2' - age: '00:24:16' - link_count: '' - tag: '' -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.3.0' - adv_router: '10.168.103.1' - age: '00:24:20' - link_count: '' - tag: '' -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.103.0' - adv_router: '10.168.103.1' - age: '00:14:20' - link_count: '' - tag: '' -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.103.0' - adv_router: '10.168.104.2' - age: '00:13:16' - link_count: '' - tag: '' -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.104.0' - adv_router: '10.168.104.2' - age: '00:08:16' - link_count: '' - tag: '' -- router_id: '10.168.103.1' - process_id: '1' - vrf: 'default' - area: '0.0.0.2' - link_id: '10.168.104.0' - adv_router: '10.168.103.1' - age: '00:13:20' - link_count: '' - tag: '' diff --git a/tests/arista_eos/show_ip_ospf_database/arista_eos_show_ip_ospf_database.yml b/tests/arista_eos/show_ip_ospf_database/arista_eos_show_ip_ospf_database.yml new file mode 100644 index 0000000000..c716475cc6 --- /dev/null +++ b/tests/arista_eos/show_ip_ospf_database/arista_eos_show_ip_ospf_database.yml @@ -0,0 +1,101 @@ +--- +parsed_sample: + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.103.1" + adv_router: "10.168.103.1" + age: "00:29:08" + link_count: "1" + tag: "" + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.104.2" + adv_router: "10.168.104.2" + age: "00:29:09" + link_count: "1" + tag: "" + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.2.1" + adv_router: "10.168.103.1" + age: "00:29:08" + link_count: "" + tag: "" + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.0.0" + adv_router: "10.168.103.1" + age: "00:13:20" + link_count: "" + tag: "" + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.0.0" + adv_router: "10.168.104.2" + age: "00:09:16" + link_count: "" + tag: "" + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.3.0" + adv_router: "10.168.104.2" + age: "00:24:16" + link_count: "" + tag: "" + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.3.0" + adv_router: "10.168.103.1" + age: "00:24:20" + link_count: "" + tag: "" + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.103.0" + adv_router: "10.168.103.1" + age: "00:14:20" + link_count: "" + tag: "" + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.103.0" + adv_router: "10.168.104.2" + age: "00:13:16" + link_count: "" + tag: "" + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.104.0" + adv_router: "10.168.104.2" + age: "00:08:16" + link_count: "" + tag: "" + - router_id: "10.168.103.1" + process_id: "1" + vrf: "default" + area: "0.0.0.2" + link_id: "10.168.104.0" + adv_router: "10.168.103.1" + age: "00:13:20" + link_count: "" + tag: "" diff --git a/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.parsed b/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.parsed deleted file mode 100644 index 9e485f93b5..0000000000 --- a/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.parsed +++ /dev/null @@ -1,19 +0,0 @@ ---- - -parsed_sample: - -- address: "10.3.4.3" - interface: "Ethernet2" - state: "FULL/BDR" - neighbor_id: "3.3.3.3" - vrf: "default" - priority: "1" - dead_time: "00:00:34" - -- address: "10.2.4.2" - interface: "Ethernet3" - state: "FULL" - neighbor_id: "2.2.2.2" - vrf: "default" - priority: "1" - dead_time: "00:00:38" diff --git a/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.yml b/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.yml new file mode 100644 index 0000000000..12f23f347f --- /dev/null +++ b/tests/arista_eos/show_ip_ospf_neighbor/arista_eos_show_ip_ospf_neighbor.yml @@ -0,0 +1,16 @@ +--- +parsed_sample: + - address: "10.3.4.3" + interface: "Ethernet2" + state: "FULL/BDR" + neighbor_id: "3.3.3.3" + vrf: "default" + priority: "1" + dead_time: "00:00:34" + - address: "10.2.4.2" + interface: "Ethernet3" + state: "FULL" + neighbor_id: "2.2.2.2" + vrf: "default" + priority: "1" + dead_time: "00:00:38" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed deleted file mode 100644 index 82cc51cf67..0000000000 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.parsed +++ /dev/null @@ -1,173 +0,0 @@ ---- -parsed_sample: -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.1.31.100 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.1.31.101 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: directly - distance: '' - interface: Loopback100 - mask: '32' - metric: '' - network: 10.1.31.102 - next_hop: connected - protocol: C -- vrf: '' - direct: directly - distance: '' - interface: Loopback10 - mask: '32' - metric: '' - network: 10.1.31.200 - next_hop: connected - protocol: C -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.1.31.254 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: directly - distance: '' - interface: Ethernet20 - mask: '30' - metric: '' - network: 10.63.255.8 - next_hop: connected - protocol: C -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '30' - metric: '0' - network: 10.100.22.52 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '30' - metric: '0' - network: 10.100.22.56 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.11 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.12 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.15 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: directly - distance: '' - interface: Loopback0 - mask: '32' - metric: '' - network: 10.100.233.32 - next_hop: connected - protocol: C -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet21 - mask: '32' - metric: '0' - network: 10.100.233.34 - next_hop: 192.168.38.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.50 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.64 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.66 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.67 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.68 - next_hop: 192.168.17.5 - protocol: B E -- vrf: '' - direct: '' - distance: '200' - interface: Ethernet20 - mask: '32' - metric: '0' - network: 10.100.233.192 - next_hop: 10.63.255.10 - protocol: B E diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml new file mode 100644 index 0000000000..63b2073ebe --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml @@ -0,0 +1,173 @@ +--- +parsed_sample: + - vrf: "" + protocol: "B E" + network: "10.1.31.100" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "B E" + network: "10.1.31.101" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "C" + network: "10.1.31.102" + mask: "32" + distance: "" + metric: "" + direct: "directly" + next_hop: "connected" + interface: "Loopback100" + - vrf: "" + protocol: "C" + network: "10.1.31.200" + mask: "32" + distance: "" + metric: "" + direct: "directly" + next_hop: "connected" + interface: "Loopback10" + - vrf: "" + protocol: "B E" + network: "10.1.31.254" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "C" + network: "10.63.255.8" + mask: "30" + distance: "" + metric: "" + direct: "directly" + next_hop: "connected" + interface: "Ethernet20" + - vrf: "" + protocol: "B E" + network: "10.100.22.52" + mask: "30" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "B E" + network: "10.100.22.56" + mask: "30" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "B E" + network: "10.100.233.11" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "B E" + network: "10.100.233.12" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "B E" + network: "10.100.233.15" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "C" + network: "10.100.233.32" + mask: "32" + distance: "" + metric: "" + direct: "directly" + next_hop: "connected" + interface: "Loopback0" + - vrf: "" + protocol: "B E" + network: "10.100.233.34" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.38.5" + interface: "Ethernet21" + - vrf: "" + protocol: "B E" + network: "10.100.233.50" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "B E" + network: "10.100.233.64" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "B E" + network: "10.100.233.66" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "B E" + network: "10.100.233.67" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "B E" + network: "10.100.233.68" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "" + protocol: "B E" + network: "10.100.233.192" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "10.63.255.10" + interface: "Ethernet20" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed deleted file mode 100644 index 1bbd686ab7..0000000000 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.parsed +++ /dev/null @@ -1,344 +0,0 @@ ---- -parsed_sample: - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.1.31.100 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.1.31.101 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: directly - distance: '' - interface: Loopback100 - mask: '32' - metric: '' - network: 10.1.31.102 - next_hop: connected - protocol: C - vrf: default - - direct: directly - distance: '' - interface: Loopback10 - mask: '32' - metric: '' - network: 10.1.31.200 - next_hop: connected - protocol: C - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.1.31.254 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: directly - distance: '' - interface: Ethernet20 - mask: '30' - metric: '' - network: 10.63.255.8 - next_hop: connected - protocol: C - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '30' - metric: '0' - network: 10.100.22.52 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '30' - metric: '0' - network: 10.100.22.56 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.11 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.12 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.15 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: directly - distance: '' - interface: Loopback0 - mask: '32' - metric: '' - network: 10.100.233.32 - next_hop: connected - protocol: C - vrf: default - - direct: '' - distance: '200' - interface: Ethernet21 - mask: '32' - metric: '0' - network: 10.100.233.34 - next_hop: 192.168.38.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.50 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.64 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.66 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.67 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.68 - next_hop: 192.168.17.5 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet20 - mask: '32' - metric: '0' - network: 10.100.233.192 - next_hop: 10.63.255.10 - protocol: B E - vrf: default - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.1.31.100 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.1.31.101 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: directly - distance: '' - interface: Loopback100 - mask: '32' - metric: '' - network: 10.1.31.102 - next_hop: connected - protocol: C - vrf: RED - - direct: directly - distance: '' - interface: Loopback10 - mask: '32' - metric: '' - network: 10.1.31.200 - next_hop: connected - protocol: C - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.1.31.254 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: directly - distance: '' - interface: Ethernet20 - mask: '30' - metric: '' - network: 10.63.255.8 - next_hop: connected - protocol: C - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '30' - metric: '0' - network: 10.100.22.52 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '30' - metric: '0' - network: 10.100.22.56 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.11 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.12 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.15 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: directly - distance: '' - interface: Loopback0 - mask: '32' - metric: '' - network: 10.100.233.32 - next_hop: connected - protocol: C - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet21 - mask: '32' - metric: '0' - network: 10.100.233.34 - next_hop: 192.168.38.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.50 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.64 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.66 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.67 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet18 - mask: '32' - metric: '0' - network: 10.100.233.68 - next_hop: 192.168.17.5 - protocol: B E - vrf: RED - - direct: '' - distance: '200' - interface: Ethernet20 - mask: '32' - metric: '0' - network: 10.100.233.192 - next_hop: 10.63.255.10 - protocol: B E - vrf: RED diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml new file mode 100644 index 0000000000..b692772873 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml @@ -0,0 +1,344 @@ +--- +parsed_sample: + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.1.31.100" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.1.31.101" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "directly" + distance: "" + interface: "Loopback100" + mask: "32" + metric: "" + network: "10.1.31.102" + next_hop: "connected" + protocol: "C" + vrf: "default" + - direct: "directly" + distance: "" + interface: "Loopback10" + mask: "32" + metric: "" + network: "10.1.31.200" + next_hop: "connected" + protocol: "C" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.1.31.254" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "directly" + distance: "" + interface: "Ethernet20" + mask: "30" + metric: "" + network: "10.63.255.8" + next_hop: "connected" + protocol: "C" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "30" + metric: "0" + network: "10.100.22.52" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "30" + metric: "0" + network: "10.100.22.56" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.11" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.12" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.15" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "directly" + distance: "" + interface: "Loopback0" + mask: "32" + metric: "" + network: "10.100.233.32" + next_hop: "connected" + protocol: "C" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet21" + mask: "32" + metric: "0" + network: "10.100.233.34" + next_hop: "192.168.38.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.50" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.64" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.66" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.67" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.68" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet20" + mask: "32" + metric: "0" + network: "10.100.233.192" + next_hop: "10.63.255.10" + protocol: "B E" + vrf: "default" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.1.31.100" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.1.31.101" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "directly" + distance: "" + interface: "Loopback100" + mask: "32" + metric: "" + network: "10.1.31.102" + next_hop: "connected" + protocol: "C" + vrf: "RED" + - direct: "directly" + distance: "" + interface: "Loopback10" + mask: "32" + metric: "" + network: "10.1.31.200" + next_hop: "connected" + protocol: "C" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.1.31.254" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "directly" + distance: "" + interface: "Ethernet20" + mask: "30" + metric: "" + network: "10.63.255.8" + next_hop: "connected" + protocol: "C" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "30" + metric: "0" + network: "10.100.22.52" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "30" + metric: "0" + network: "10.100.22.56" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.11" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.12" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.15" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "directly" + distance: "" + interface: "Loopback0" + mask: "32" + metric: "" + network: "10.100.233.32" + next_hop: "connected" + protocol: "C" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet21" + mask: "32" + metric: "0" + network: "10.100.233.34" + next_hop: "192.168.38.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.50" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.64" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.66" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.67" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet18" + mask: "32" + metric: "0" + network: "10.100.233.68" + next_hop: "192.168.17.5" + protocol: "B E" + vrf: "RED" + - direct: "" + distance: "200" + interface: "Ethernet20" + mask: "32" + metric: "0" + network: "10.100.233.192" + next_hop: "10.63.255.10" + protocol: "B E" + vrf: "RED" diff --git a/tests/arista_eos/show_isis_neighbors/arista_eos_show_isis_neighbors.parsed b/tests/arista_eos/show_isis_neighbors/arista_eos_show_isis_neighbors.parsed deleted file mode 100644 index 59ab5a9f51..0000000000 --- a/tests/arista_eos/show_isis_neighbors/arista_eos_show_isis_neighbors.parsed +++ /dev/null @@ -1,22 +0,0 @@ ---- -parsed_sample: - -- instance: '1' - vrf: 'default' - system_id: '3333.3333.3333' - type: 'L2' - interface: 'Ethernet2' - snpa: '50:0:0:3:0:3' - state: 'UP' - hold_time: '30' - circuit_id: '4444.4444.4444.0e' - -- instance: '1' - vrf: 'default' - system_id: '2222.2222.2222' - type: 'L2' - interface: 'Ethernet3' - snpa: '50:0:0:2:0:2' - state: 'UP' - hold_time: '30' - circuit_id: '0F' diff --git a/tests/arista_eos/show_isis_neighbors/arista_eos_show_isis_neighbors.yml b/tests/arista_eos/show_isis_neighbors/arista_eos_show_isis_neighbors.yml new file mode 100644 index 0000000000..dcd262b52c --- /dev/null +++ b/tests/arista_eos/show_isis_neighbors/arista_eos_show_isis_neighbors.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - instance: "1" + vrf: "default" + system_id: "3333.3333.3333" + type: "L2" + interface: "Ethernet2" + snpa: "50:0:0:3:0:3" + state: "UP" + hold_time: "30" + circuit_id: "4444.4444.4444.0e" + - instance: "1" + vrf: "default" + system_id: "2222.2222.2222" + type: "L2" + interface: "Ethernet3" + snpa: "50:0:0:2:0:2" + state: "UP" + hold_time: "30" + circuit_id: "0F" diff --git a/tests/arista_eos/show_lldp_neighbors/arista_eos_show_lldp_neighbors.parsed b/tests/arista_eos/show_lldp_neighbors/arista_eos_show_lldp_neighbors.parsed deleted file mode 100644 index c51e2aa1af..0000000000 --- a/tests/arista_eos/show_lldp_neighbors/arista_eos_show_lldp_neighbors.parsed +++ /dev/null @@ -1,20 +0,0 @@ ---- -parsed_sample: -- neighbor: "localhost" - local_interface: "Et1" - neighbor_interface: "Ethernet1" - -- neighbor: "localhost" - local_interface: "Et2" - neighbor_interface: "Ethernet2" - -- neighbor: "tg104.sjc.aristanetworks.com" - local_interface: "Et3/1" - neighbor_interface: "Ethernet3/2" - -- neighbor: "dc1-rack11-tor1.sjc" - local_interface: "Ma1/1" - neighbor_interface: "1/1" - - - diff --git a/tests/arista_eos/show_lldp_neighbors/arista_eos_show_lldp_neighbors.yml b/tests/arista_eos/show_lldp_neighbors/arista_eos_show_lldp_neighbors.yml new file mode 100644 index 0000000000..ba622c830f --- /dev/null +++ b/tests/arista_eos/show_lldp_neighbors/arista_eos_show_lldp_neighbors.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - neighbor: "localhost" + local_interface: "Et1" + neighbor_interface: "Ethernet1" + - neighbor: "localhost" + local_interface: "Et2" + neighbor_interface: "Ethernet2" + - neighbor: "tg104.sjc.aristanetworks.com" + local_interface: "Et3/1" + neighbor_interface: "Ethernet3/2" + - neighbor: "dc1-rack11-tor1.sjc" + local_interface: "Ma1/1" + neighbor_interface: "1/1" diff --git a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.parsed b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.parsed deleted file mode 100644 index a8c4227c6d..0000000000 --- a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.parsed +++ /dev/null @@ -1,155 +0,0 @@ ---- -parsed_sample: - -- dest_host: 'spine2.company.com' - system_id: '2cc2.6081.eaf9' - mgmt_address: '2cc2.6081.eaf9' - platform_version: 'Arista Networks EOS version 4.15.2F running on an Arista Networks vEOS' - remote_port: 'Ethernet1' - local_port: 'Ethernet1' - neigh_count: '1' - age: '12 seconds' -- dest_host: 'spine2.company.com' - system_id: '2cc2.6081.eaf9' - mgmt_address: '2cc2.6081.eaf9' - platform_version: 'Arista Networks EOS version 4.15.2F running on an Arista Networks vEOS' - remote_port: 'Ethernet2' - local_port: 'Ethernet2' - neigh_count: '1' - age: '12 seconds' -- dest_host: 'spine2.company.com' - system_id: '2cc2.6081.eaf9' - mgmt_address: '2cc2.6081.eaf9' - platform_version: 'Arista Networks EOS version 4.15.2F running on an Arista Networks vEOS' - remote_port: 'Ethernet3' - local_port: 'Ethernet3' - neigh_count: '1' - age: '12 seconds' -- dest_host: 'spine2.company.com' - system_id: '2cc2.6081.eaf9' - mgmt_address: '2cc2.6081.eaf9' - platform_version: 'Arista Networks EOS version 4.15.2F running on an Arista Networks vEOS' - remote_port: 'Ethernet4' - local_port: 'Ethernet4' - neigh_count: '1' - age: '12 seconds' -- dest_host: 'vmx1' - system_id: '0005.8671.4ec0' - mgmt_address: '10.0.0.31' - platform_version: 'Juniper Networks, Inc. vmx internet router, kernel JUNOS 15.1F4.15, Build date: 2015-12-23 19:22:55 UTC Copyright (c) 1996-2015 Juniper Networks, Inc.' - remote_port: 'fxp0' - local_port: 'Management1' - neigh_count: '2' - age: '27 seconds' -- dest_host: 'spine2.company.com' - system_id: '2cc2.6081.eaf9' - mgmt_address: '2cc2.6081.eaf9' - platform_version: 'Arista Networks EOS version 4.15.2F running on an Arista Networks vEOS' - remote_port: 'Management1' - local_port: 'Management1' - neigh_count: '2' - age: '17 seconds' -- dest_host: 'cvx' - system_id: '0050.56eb.3ef3' - mgmt_address: '172.16.2.141' - platform_version: 'Arista Networks EOS version 4.15.5M running on an Arista Networks CVX' - remote_port: 'Management1' - local_port: 'Ethernet8' - neigh_count: '3' - age: '4 seconds' -- dest_host: 'cvx-client-1' - system_id: '0050.568b.67c8' - mgmt_address: '172.16.2.142' - platform_version: 'Arista Networks EOS version 4.15.5M running on an Arista Networks CVX' - remote_port: 'Ethernet1' - local_port: 'Ethernet8' - neigh_count: '3' - age: '29 seconds' -- dest_host: 'cvx-client-1' - system_id: '0050.568b.67c8' - mgmt_address: '172.16.2.142' - platform_version: 'Arista Networks EOS version 4.15.5M running on an Arista Networks CVX' - remote_port: 'Management1' - local_port: 'Ethernet8' - neigh_count: '3' - age: '30 seconds' -- dest_host: 'Leaf1.cliqr.com' - system_id: '7c0e.cecb.659b' - mgmt_address: '7c0e.cecb.659b' - platform_version: 'topology/pod-1/node-101' - remote_port: 'Eth1/23' - local_port: 'Ethernet9' - neigh_count: '1' - age: '29 seconds' -- dest_host: 'Leaf1.cliqr.com' - system_id: '7c0e.cecb.659c' - mgmt_address: '7c0e.cecb.659c' - platform_version: 'topology/pod-1/node-101' - remote_port: 'Eth1/24' - local_port: 'Ethernet10' - neigh_count: '1' - age: '29 seconds' -- dest_host: 'MX' - system_id: '3c8a.b089.9898' - mgmt_address: '' - platform_version: 'Juniper Networks, Inc. mx5-t internet router, kernel JUNOS 14.2R5.8, Build date: 2015-11-25 01:57:41 UTC Copyright (c) 1996-2015 Juniper Networks, Inc.' - remote_port: '527' - local_port: 'Ethernet23' - neigh_count: '1' - age: '21 seconds' -- dest_host: 'cvx-client-2' - system_id: '0050.560b.66ea' - mgmt_address: '172.16.2.143' - platform_version: 'Arista Networks EOS version 4.15.5M running on an Arista Networks CVX' - remote_port: 'Management1' - local_port: 'Ethernet33' - neigh_count: '4' - age: '29 seconds' -- dest_host: 'cvx-client-2' - system_id: '0050.560b.66ea' - mgmt_address: '172.16.2.143' - platform_version: 'Arista Networks EOS version 4.15.5M running on an Arista Networks CVX' - remote_port: 'Ethernet1' - local_port: 'Ethernet33' - neigh_count: '4' - age: '29 seconds' -- dest_host: 'aci-compute' - system_id: '0050.56ac.4cd9' - mgmt_address: 'fe80::250:56ff:feac:4cd9' - platform_version: 'Red Hat Enterprise Linux Linux 3.10.0-327.13.1.el7.x86_64 #1 SMP Mon Feb 29 13:22:02 EST 2016 x86_64' - remote_port: '0050.56ac.4cd9' - local_port: 'Ethernet33' - neigh_count: '4' - age: '29 seconds' -- dest_host: 'aci-control' - system_id: '0050.56ac.4e29' - mgmt_address: 'fe80::250:56ff:feac:4e29' - platform_version: 'Red Hat Enterprise Linux Linux 3.10.0-327.13.1.el7.x86_64 #1 SMP Mon Feb 29 13:22:02 EST 2016 x86_64' - remote_port: '0050.56ac.4e29' - local_port: 'Ethernet33' - neigh_count: '4' - age: '29 seconds' -- dest_host: 'R4-Arista-L3-SDNLAB-SW1' - system_id: '001c.737d.77fb' - mgmt_address: '2.2.2.2' - platform_version: 'Arista Networks EOS version 4.15.0FXA running on an Arista Networks DCS-7050SX-64' - remote_port: 'Ethernet49/1' - local_port: 'Ethernet49/1' - neigh_count: '1' - age: '19 seconds' -- dest_host: 'R4-Arista-L3-SDNLAB-SW2' - system_id: '001c.737d.745f' - mgmt_address: '172.16.1.3' - platform_version: 'Arista Networks EOS version 4.15.0FXA running on an Arista Networks DCS-7050SX-64' - remote_port: 'Ethernet49/1' - local_port: 'Ethernet51/1' - neigh_count: '1' - age: '28 seconds' -- dest_host: 'R4-Arista-L3-SDNLAB-SW2' - system_id: '001c.737d.745f' - mgmt_address: '172.16.1.3' - platform_version: 'Arista Networks EOS version 4.15.0FXA running on an Arista Networks DCS-7050SX-64' - remote_port: 'Ethernet50/1' - local_port: 'Ethernet52/1' - neigh_count: '1' - age: '28 seconds' diff --git a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml new file mode 100644 index 0000000000..9a4aab4b53 --- /dev/null +++ b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml @@ -0,0 +1,173 @@ +--- +parsed_sample: + - dest_host: "spine2.company.com" + system_id: "2cc2.6081.eaf9" + mgmt_address: "2cc2.6081.eaf9" + platform_version: "Arista Networks EOS version 4.15.2F running on an Arista Networks\ + \ vEOS" + remote_port: "Ethernet1" + local_port: "Ethernet1" + neigh_count: "1" + age: "12 seconds" + - dest_host: "spine2.company.com" + system_id: "2cc2.6081.eaf9" + mgmt_address: "2cc2.6081.eaf9" + platform_version: "Arista Networks EOS version 4.15.2F running on an Arista Networks\ + \ vEOS" + remote_port: "Ethernet2" + local_port: "Ethernet2" + neigh_count: "1" + age: "12 seconds" + - dest_host: "spine2.company.com" + system_id: "2cc2.6081.eaf9" + mgmt_address: "2cc2.6081.eaf9" + platform_version: "Arista Networks EOS version 4.15.2F running on an Arista Networks\ + \ vEOS" + remote_port: "Ethernet3" + local_port: "Ethernet3" + neigh_count: "1" + age: "12 seconds" + - dest_host: "spine2.company.com" + system_id: "2cc2.6081.eaf9" + mgmt_address: "2cc2.6081.eaf9" + platform_version: "Arista Networks EOS version 4.15.2F running on an Arista Networks\ + \ vEOS" + remote_port: "Ethernet4" + local_port: "Ethernet4" + neigh_count: "1" + age: "12 seconds" + - dest_host: "vmx1" + system_id: "0005.8671.4ec0" + mgmt_address: "10.0.0.31" + platform_version: "Juniper Networks, Inc. vmx internet router, kernel JUNOS 15.1F4.15,\ + \ Build date: 2015-12-23 19:22:55 UTC Copyright (c) 1996-2015 Juniper Networks,\ + \ Inc." + remote_port: "fxp0" + local_port: "Management1" + neigh_count: "2" + age: "27 seconds" + - dest_host: "spine2.company.com" + system_id: "2cc2.6081.eaf9" + mgmt_address: "2cc2.6081.eaf9" + platform_version: "Arista Networks EOS version 4.15.2F running on an Arista Networks\ + \ vEOS" + remote_port: "Management1" + local_port: "Management1" + neigh_count: "2" + age: "17 seconds" + - dest_host: "cvx" + system_id: "0050.56eb.3ef3" + mgmt_address: "172.16.2.141" + platform_version: "Arista Networks EOS version 4.15.5M running on an Arista Networks\ + \ CVX" + remote_port: "Management1" + local_port: "Ethernet8" + neigh_count: "3" + age: "4 seconds" + - dest_host: "cvx-client-1" + system_id: "0050.568b.67c8" + mgmt_address: "172.16.2.142" + platform_version: "Arista Networks EOS version 4.15.5M running on an Arista Networks\ + \ CVX" + remote_port: "Ethernet1" + local_port: "Ethernet8" + neigh_count: "3" + age: "29 seconds" + - dest_host: "cvx-client-1" + system_id: "0050.568b.67c8" + mgmt_address: "172.16.2.142" + platform_version: "Arista Networks EOS version 4.15.5M running on an Arista Networks\ + \ CVX" + remote_port: "Management1" + local_port: "Ethernet8" + neigh_count: "3" + age: "30 seconds" + - dest_host: "Leaf1.cliqr.com" + system_id: "7c0e.cecb.659b" + mgmt_address: "7c0e.cecb.659b" + platform_version: "topology/pod-1/node-101" + remote_port: "Eth1/23" + local_port: "Ethernet9" + neigh_count: "1" + age: "29 seconds" + - dest_host: "Leaf1.cliqr.com" + system_id: "7c0e.cecb.659c" + mgmt_address: "7c0e.cecb.659c" + platform_version: "topology/pod-1/node-101" + remote_port: "Eth1/24" + local_port: "Ethernet10" + neigh_count: "1" + age: "29 seconds" + - dest_host: "MX" + system_id: "3c8a.b089.9898" + mgmt_address: "" + platform_version: "Juniper Networks, Inc. mx5-t internet router, kernel JUNOS\ + \ 14.2R5.8, Build date: 2015-11-25 01:57:41 UTC Copyright (c) 1996-2015 Juniper\ + \ Networks, Inc." + remote_port: "527" + local_port: "Ethernet23" + neigh_count: "1" + age: "21 seconds" + - dest_host: "cvx-client-2" + system_id: "0050.560b.66ea" + mgmt_address: "172.16.2.143" + platform_version: "Arista Networks EOS version 4.15.5M running on an Arista Networks\ + \ CVX" + remote_port: "Management1" + local_port: "Ethernet33" + neigh_count: "4" + age: "29 seconds" + - dest_host: "cvx-client-2" + system_id: "0050.560b.66ea" + mgmt_address: "172.16.2.143" + platform_version: "Arista Networks EOS version 4.15.5M running on an Arista Networks\ + \ CVX" + remote_port: "Ethernet1" + local_port: "Ethernet33" + neigh_count: "4" + age: "29 seconds" + - dest_host: "aci-compute" + system_id: "0050.56ac.4cd9" + mgmt_address: "fe80::250:56ff:feac:4cd9" + platform_version: "Red Hat Enterprise Linux Linux 3.10.0-327.13.1.el7.x86_64 #1\ + \ SMP Mon Feb 29 13:22:02 EST 2016 x86_64" + remote_port: "0050.56ac.4cd9" + local_port: "Ethernet33" + neigh_count: "4" + age: "29 seconds" + - dest_host: "aci-control" + system_id: "0050.56ac.4e29" + mgmt_address: "fe80::250:56ff:feac:4e29" + platform_version: "Red Hat Enterprise Linux Linux 3.10.0-327.13.1.el7.x86_64 #1\ + \ SMP Mon Feb 29 13:22:02 EST 2016 x86_64" + remote_port: "0050.56ac.4e29" + local_port: "Ethernet33" + neigh_count: "4" + age: "29 seconds" + - dest_host: "R4-Arista-L3-SDNLAB-SW1" + system_id: "001c.737d.77fb" + mgmt_address: "2.2.2.2" + platform_version: "Arista Networks EOS version 4.15.0FXA running on an Arista\ + \ Networks DCS-7050SX-64" + remote_port: "Ethernet49/1" + local_port: "Ethernet49/1" + neigh_count: "1" + age: "19 seconds" + - dest_host: "R4-Arista-L3-SDNLAB-SW2" + system_id: "001c.737d.745f" + mgmt_address: "172.16.1.3" + platform_version: "Arista Networks EOS version 4.15.0FXA running on an Arista\ + \ Networks DCS-7050SX-64" + remote_port: "Ethernet49/1" + local_port: "Ethernet51/1" + neigh_count: "1" + age: "28 seconds" + - dest_host: "R4-Arista-L3-SDNLAB-SW2" + system_id: "001c.737d.745f" + mgmt_address: "172.16.1.3" + platform_version: "Arista Networks EOS version 4.15.0FXA running on an Arista\ + \ Networks DCS-7050SX-64" + remote_port: "Ethernet50/1" + local_port: "Ethernet52/1" + neigh_count: "1" + age: "28 seconds" diff --git a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.parsed b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.parsed deleted file mode 100644 index 3c5fc84610..0000000000 --- a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.parsed +++ /dev/null @@ -1,123 +0,0 @@ ---- -parsed_sample: - -- mac_address: '0012.3694.03ec' - type: 'STATIC' - vlan: '3' - destination_port: 'Et7' - moves: '' - last_move: '' -- mac_address: '001c.7313.a3de' - type: 'DYNAMIC' - vlan: '55' - destination_port: 'Et32' - moves: '1' - last_move: '0:08:16' -- mac_address: '001c.8224.36d7' - type: 'DYNAMIC' - vlan: '101' - destination_port: 'Po2' - moves: '1' - last_move: '9 days, 15:57:28' -- mac_address: '001c.8220.1319' - type: 'STATIC' - vlan: '102' - destination_port: 'Po1' - moves: '' - last_move: '' -- mac_address: '001c.8229.a0f3' - type: 'DYNAMIC' - vlan: '102' - destination_port: 'Po1' - moves: '1' - last_move: '0:05:05' -- mac_address: '001c.8220.1319' - type: 'STATIC' - vlan: '661' - destination_port: 'Po1' - moves: '' - last_move: '' -- mac_address: '001c.822f.6b22' - type: 'DYNAMIC' - vlan: '661' - destination_port: 'Po7' - moves: '1' - last_move: '0:20:10' -- mac_address: '001c.8220.1319' - type: 'STATIC' - vlan: '3000' - destination_port: 'Po1' - moves: '' - last_move: '' -- mac_address: '0050.56a8.0016' - type: 'DYNAMIC' - vlan: '3000' - destination_port: 'Po1' - moves: '1' - last_move: '0:07:38' -- mac_address: '001c.8220.1319' - type: 'STATIC' - vlan: '3909' - destination_port: 'Po1' - moves: '' - last_move: '' -- mac_address: '001c.822f.6a80' - type: 'DYNAMIC' - vlan: '3909' - destination_port: 'Po1' - moves: '1' - last_move: '0:07:08' -- mac_address: '001c.8220.1319' - type: 'STATIC' - vlan: '3911' - destination_port: 'Po1' - moves: '' - last_move: '' -- mac_address: '001c.8220.40fa' - type: 'DYNAMIC' - vlan: '3911' - destination_port: 'Po8' - moves: '1' - last_move: '1:19:58' -- mac_address: '001c.822b.033e' - type: 'DYNAMIC' - vlan: '3912' - destination_port: 'Et11' - moves: '1' - last_move: '9 days, 15:57:23' -- mac_address: '001c.8220.1319' - type: 'STATIC' - vlan: '3913' - destination_port: 'Po1' - moves: '' - last_move: '' -- mac_address: '001c.822b.033e' - type: 'DYNAMIC' - vlan: '3913' - destination_port: 'Po1' - moves: '1' - last_move: '0:04:35' -- mac_address: '001c.8220.178f' - type: 'DYNAMIC' - vlan: '3984' - destination_port: 'Et8' - moves: '1' - last_move: '4 days, 15:07:29' -- mac_address: '001c.8220.1319' - type: 'STATIC' - vlan: '3992' - destination_port: 'Po1' - moves: '' - last_move: '' -- mac_address: '001c.8221.07b9' - type: 'DYNAMIC' - vlan: '3992' - destination_port: 'Po6' - moves: '1' - last_move: '4 days, 15:13:15' -- mac_address: '0112.3057.8423' - type: 'STATIC' - vlan: '4' - destination_port: 'Po10 Po12' - moves: '' - last_move: '' \ No newline at end of file diff --git a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml new file mode 100644 index 0000000000..5abb6add2e --- /dev/null +++ b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - mac_address: "0012.3694.03ec" + type: "STATIC" + vlan: "3" + destination_port: "Et7" + moves: "" + last_move: "" + - mac_address: "001c.7313.a3de" + type: "DYNAMIC" + vlan: "55" + destination_port: "Et32" + moves: "1" + last_move: "0:08:16" + - mac_address: "001c.8224.36d7" + type: "DYNAMIC" + vlan: "101" + destination_port: "Po2" + moves: "1" + last_move: "9 days, 15:57:28" + - mac_address: "001c.8220.1319" + type: "STATIC" + vlan: "102" + destination_port: "Po1" + moves: "" + last_move: "" + - mac_address: "001c.8229.a0f3" + type: "DYNAMIC" + vlan: "102" + destination_port: "Po1" + moves: "1" + last_move: "0:05:05" + - mac_address: "001c.8220.1319" + type: "STATIC" + vlan: "661" + destination_port: "Po1" + moves: "" + last_move: "" + - mac_address: "001c.822f.6b22" + type: "DYNAMIC" + vlan: "661" + destination_port: "Po7" + moves: "1" + last_move: "0:20:10" + - mac_address: "001c.8220.1319" + type: "STATIC" + vlan: "3000" + destination_port: "Po1" + moves: "" + last_move: "" + - mac_address: "0050.56a8.0016" + type: "DYNAMIC" + vlan: "3000" + destination_port: "Po1" + moves: "1" + last_move: "0:07:38" + - mac_address: "001c.8220.1319" + type: "STATIC" + vlan: "3909" + destination_port: "Po1" + moves: "" + last_move: "" + - mac_address: "001c.822f.6a80" + type: "DYNAMIC" + vlan: "3909" + destination_port: "Po1" + moves: "1" + last_move: "0:07:08" + - mac_address: "001c.8220.1319" + type: "STATIC" + vlan: "3911" + destination_port: "Po1" + moves: "" + last_move: "" + - mac_address: "001c.8220.40fa" + type: "DYNAMIC" + vlan: "3911" + destination_port: "Po8" + moves: "1" + last_move: "1:19:58" + - mac_address: "001c.822b.033e" + type: "DYNAMIC" + vlan: "3912" + destination_port: "Et11" + moves: "1" + last_move: "9 days, 15:57:23" + - mac_address: "001c.8220.1319" + type: "STATIC" + vlan: "3913" + destination_port: "Po1" + moves: "" + last_move: "" + - mac_address: "001c.822b.033e" + type: "DYNAMIC" + vlan: "3913" + destination_port: "Po1" + moves: "1" + last_move: "0:04:35" + - mac_address: "001c.8220.178f" + type: "DYNAMIC" + vlan: "3984" + destination_port: "Et8" + moves: "1" + last_move: "4 days, 15:07:29" + - mac_address: "001c.8220.1319" + type: "STATIC" + vlan: "3992" + destination_port: "Po1" + moves: "" + last_move: "" + - mac_address: "001c.8221.07b9" + type: "DYNAMIC" + vlan: "3992" + destination_port: "Po6" + moves: "1" + last_move: "4 days, 15:13:15" + - mac_address: "0112.3057.8423" + type: "STATIC" + vlan: "4" + destination_port: "Po10 Po12" + moves: "" + last_move: "" diff --git a/tests/arista_eos/show_mac_security_interface/arista_eos_show_mac_security_interface.parsed b/tests/arista_eos/show_mac_security_interface/arista_eos_show_mac_security_interface.parsed deleted file mode 100644 index c681c94cff..0000000000 --- a/tests/arista_eos/show_mac_security_interface/arista_eos_show_mac_security_interface.parsed +++ /dev/null @@ -1,51 +0,0 @@ ---- - -parsed_sample: - - -- sci : 'ch:99:3h:69:76:cc::661' - interface : 'Ethernet4/15/1' - key_in_use : 'changed77f1j42e246kf05b:45' - controlled_port : 'True' - - -- sci : 'ch:99:3h:69:72:d4::803' - interface : 'Ethernet5/13/1' - key_in_use : 'changedf1e9j62b5a9keac3:45' - controlled_port : 'True' - - -- sci : 'ch:99:3h:69:72:d8::807' - interface : 'Ethernet5/14/1' - key_in_use : 'changeda62bjb9cdadk246e:45' - controlled_port : 'True' - - -- sci : 'ch:99:3h:69:72:e0::815' - interface : 'Ethernet5/16/1' - key_in_use : 'changede693j033b28k810e:56' - controlled_port : 'True' - - -- sci : 'ch:99:3h:69:72:e4::819' - interface : 'Ethernet5/17/1' - key_in_use : 'changed5778j794bf3k611c:45' - controlled_port : 'True' - - -- sci : 'ch:99:3h:69:72:e8::823' - interface : 'Ethernet5/18/1' - key_in_use : 'changed532dj3307f2k610e:45' - controlled_port : 'True' - - -- sci : 'ch:99:3h:69:72:ec::827' - interface : 'Ethernet5/19/1' - key_in_use : 'changed046bjdb206eka327:45' - controlled_port : 'True' - - -- sci : 'ch:99:3h:69:72:f0::831' - interface : 'Ethernet5/20/1' - key_in_use : 'changedd888jc35359kbd0c:39' - controlled_port : 'True' diff --git a/tests/arista_eos/show_mac_security_interface/arista_eos_show_mac_security_interface.yml b/tests/arista_eos/show_mac_security_interface/arista_eos_show_mac_security_interface.yml new file mode 100644 index 0000000000..a6f6d0df5a --- /dev/null +++ b/tests/arista_eos/show_mac_security_interface/arista_eos_show_mac_security_interface.yml @@ -0,0 +1,34 @@ +--- +parsed_sample: + - sci: "ch:99:3h:69:76:cc::661" + interface: "Ethernet4/15/1" + key_in_use: "changed77f1j42e246kf05b:45" + controlled_port: "True" + - sci: "ch:99:3h:69:72:d4::803" + interface: "Ethernet5/13/1" + key_in_use: "changedf1e9j62b5a9keac3:45" + controlled_port: "True" + - sci: "ch:99:3h:69:72:d8::807" + interface: "Ethernet5/14/1" + key_in_use: "changeda62bjb9cdadk246e:45" + controlled_port: "True" + - sci: "ch:99:3h:69:72:e0::815" + interface: "Ethernet5/16/1" + key_in_use: "changede693j033b28k810e:56" + controlled_port: "True" + - sci: "ch:99:3h:69:72:e4::819" + interface: "Ethernet5/17/1" + key_in_use: "changed5778j794bf3k611c:45" + controlled_port: "True" + - sci: "ch:99:3h:69:72:e8::823" + interface: "Ethernet5/18/1" + key_in_use: "changed532dj3307f2k610e:45" + controlled_port: "True" + - sci: "ch:99:3h:69:72:ec::827" + interface: "Ethernet5/19/1" + key_in_use: "changed046bjdb206eka327:45" + controlled_port: "True" + - sci: "ch:99:3h:69:72:f0::831" + interface: "Ethernet5/20/1" + key_in_use: "changedd888jc35359kbd0c:39" + controlled_port: "True" diff --git a/tests/arista_eos/show_mac_security_mka_counters/arista_eos_show_mac_security_mka_counters.parsed b/tests/arista_eos/show_mac_security_mka_counters/arista_eos_show_mac_security_mka_counters.parsed deleted file mode 100644 index 4523ff1f6b..0000000000 --- a/tests/arista_eos/show_mac_security_mka_counters/arista_eos_show_mac_security_mka_counters.parsed +++ /dev/null @@ -1,87 +0,0 @@ ---- - -parsed_sample: - - -- tx_success : '0' - interface : 'Ethernet4/13/1' - rx_success : '0' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '0' - interface : 'Ethernet4/14/1' - rx_success : '0' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '79858' - interface : 'Ethernet4/15/1' - rx_success : '79688' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '0' - interface : 'Ethernet4/16/1' - rx_success : '0' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '79854' - interface : 'Ethernet5/13/1' - rx_success : '79788' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '79853' - interface : 'Ethernet5/14/1' - rx_success : '79878' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '0' - interface : 'Ethernet5/15/1' - rx_success : '0' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '79850' - interface : 'Ethernet5/16/1' - rx_success : '64246' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '79848' - interface : 'Ethernet5/17/1' - rx_success : '79749' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '79846' - interface : 'Ethernet5/18/1' - rx_success : '79756' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '79845' - interface : 'Ethernet5/19/1' - rx_success : '79842' - tx_failure : '0' - rx_failure : '0' - - -- tx_success : '68188' - interface : 'Ethernet5/20/1' - rx_success : '68225' - tx_failure : '0' - rx_failure : '0' \ No newline at end of file diff --git a/tests/arista_eos/show_mac_security_mka_counters/arista_eos_show_mac_security_mka_counters.yml b/tests/arista_eos/show_mac_security_mka_counters/arista_eos_show_mac_security_mka_counters.yml new file mode 100644 index 0000000000..fdb7954b0f --- /dev/null +++ b/tests/arista_eos/show_mac_security_mka_counters/arista_eos_show_mac_security_mka_counters.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - tx_success: "0" + interface: "Ethernet4/13/1" + rx_success: "0" + tx_failure: "0" + rx_failure: "0" + - tx_success: "0" + interface: "Ethernet4/14/1" + rx_success: "0" + tx_failure: "0" + rx_failure: "0" + - tx_success: "79858" + interface: "Ethernet4/15/1" + rx_success: "79688" + tx_failure: "0" + rx_failure: "0" + - tx_success: "0" + interface: "Ethernet4/16/1" + rx_success: "0" + tx_failure: "0" + rx_failure: "0" + - tx_success: "79854" + interface: "Ethernet5/13/1" + rx_success: "79788" + tx_failure: "0" + rx_failure: "0" + - tx_success: "79853" + interface: "Ethernet5/14/1" + rx_success: "79878" + tx_failure: "0" + rx_failure: "0" + - tx_success: "0" + interface: "Ethernet5/15/1" + rx_success: "0" + tx_failure: "0" + rx_failure: "0" + - tx_success: "79850" + interface: "Ethernet5/16/1" + rx_success: "64246" + tx_failure: "0" + rx_failure: "0" + - tx_success: "79848" + interface: "Ethernet5/17/1" + rx_success: "79749" + tx_failure: "0" + rx_failure: "0" + - tx_success: "79846" + interface: "Ethernet5/18/1" + rx_success: "79756" + tx_failure: "0" + rx_failure: "0" + - tx_success: "79845" + interface: "Ethernet5/19/1" + rx_success: "79842" + tx_failure: "0" + rx_failure: "0" + - tx_success: "68188" + interface: "Ethernet5/20/1" + rx_success: "68225" + tx_failure: "0" + rx_failure: "0" diff --git a/tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.parsed b/tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.parsed deleted file mode 100644 index 4d3dc528e9..0000000000 --- a/tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.parsed +++ /dev/null @@ -1,63 +0,0 @@ ---- - -parsed_sample: - - -- llpn_exhaustion : "0" - ckn : "cd1df125ffbd3027abe6068fcbfdchanged91af15c274998046ca547" - key_server_sci : "28:00:3a:69:06:cc::999" - elected_self : "True" - live_peer_list : "['changed0fd8d6b694b42be37f5']" - default : "True" - interface : "Ethernet4/15/1" - message_id : "changed0975adf202e94acf2" - sak_transmit : "False" - distributed_key_id : "None" - success : "True" - principal : "False" - potential_peer_list : "[]" - - -- llpn_exhaustion : "0" - ckn : "e9cae93c91ef6c62afbb9fffd2fa32380achangede0f6348a8a6e1bb205be4d" - key_server_sci : "28:1b:22:69:36:cc::333" - elected_self : "True" - live_peer_list : "['changed4341200ff8e76821da']" - default : "False" - interface : "Ethernet4/15/1" - message_id : "changed77f1f42e246ef05b" - sak_transmit : "True" - distributed_key_id : "changed2577f1f42e246ef05b:46" - success : "True" - principal : "True" - potential_peer_list : "[]" - - -- llpn_exhaustion : "0" - ckn : "cd1df125ffbd3027abe6068fcbfd31f0changed58e91af15c274998046ca547" - key_server_sci : "28:22:1b:69:32:d4::111" - elected_self : "True" - live_peer_list : "['2071783e6e9b09640a2eee89']" - default : "True" - interface : "Ethernet5/13/1" - message_id : "1860e9c0c1d2b4877fa78b77" - sak_transmit : "False" - distributed_key_id : "None" - success : "True" - principal : "False" - potential_peer_list : "[]" - - -- llpn_exhaustion : "0" - ckn : "e9cae93c91ef6c62afbb9fffd2fa323changedd6e0f6348a8a6e1bb205be4d" - key_server_sci : "28:11:3a:69:32:d4::111" - elected_self : "True" - live_peer_list : "['changedbe5869ab7cb6fa2c5cb1c']" - default : "False" - interface : "Ethernet5/13/1" - message_id : "changedf1e9662b5a94eac3" - sak_transmit : "True" - distributed_key_id : "dec1a8dchanged5a94eac3:46" - success : "True" - principal : "True" - potential_peer_list : "[]" diff --git a/tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.yml b/tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.yml new file mode 100644 index 0000000000..31ddda9ca8 --- /dev/null +++ b/tests/arista_eos/show_mac_security_participants_detail/arista_eos_show_mac_security_participants_detail.yml @@ -0,0 +1,54 @@ +--- +parsed_sample: + - llpn_exhaustion: "0" + ckn: "cd1df125ffbd3027abe6068fcbfdchanged91af15c274998046ca547" + key_server_sci: "28:00:3a:69:06:cc::999" + elected_self: "True" + live_peer_list: "['changed0fd8d6b694b42be37f5']" + default: "True" + interface: "Ethernet4/15/1" + message_id: "changed0975adf202e94acf2" + sak_transmit: "False" + distributed_key_id: "None" + success: "True" + principal: "False" + potential_peer_list: "[]" + - llpn_exhaustion: "0" + ckn: "e9cae93c91ef6c62afbb9fffd2fa32380achangede0f6348a8a6e1bb205be4d" + key_server_sci: "28:1b:22:69:36:cc::333" + elected_self: "True" + live_peer_list: "['changed4341200ff8e76821da']" + default: "False" + interface: "Ethernet4/15/1" + message_id: "changed77f1f42e246ef05b" + sak_transmit: "True" + distributed_key_id: "changed2577f1f42e246ef05b:46" + success: "True" + principal: "True" + potential_peer_list: "[]" + - llpn_exhaustion: "0" + ckn: "cd1df125ffbd3027abe6068fcbfd31f0changed58e91af15c274998046ca547" + key_server_sci: "28:22:1b:69:32:d4::111" + elected_self: "True" + live_peer_list: "['2071783e6e9b09640a2eee89']" + default: "True" + interface: "Ethernet5/13/1" + message_id: "1860e9c0c1d2b4877fa78b77" + sak_transmit: "False" + distributed_key_id: "None" + success: "True" + principal: "False" + potential_peer_list: "[]" + - llpn_exhaustion: "0" + ckn: "e9cae93c91ef6c62afbb9fffd2fa323changedd6e0f6348a8a6e1bb205be4d" + key_server_sci: "28:11:3a:69:32:d4::111" + elected_self: "True" + live_peer_list: "['changedbe5869ab7cb6fa2c5cb1c']" + default: "False" + interface: "Ethernet5/13/1" + message_id: "changedf1e9662b5a94eac3" + sak_transmit: "True" + distributed_key_id: "dec1a8dchanged5a94eac3:46" + success: "True" + principal: "True" + potential_peer_list: "[]" diff --git a/tests/arista_eos/show_mlag/arista_eos_show_mlag.parsed b/tests/arista_eos/show_mlag/arista_eos_show_mlag.parsed deleted file mode 100644 index b6066b9325..0000000000 --- a/tests/arista_eos/show_mlag/arista_eos_show_mlag.parsed +++ /dev/null @@ -1,7 +0,0 @@ ---- -parsed_sample: -- domain: "mlagDomain" - interface: "Vlan4094" - peer_addr: "10.0.0.2" - peer_link: "Port-Channel10" - state: "Inactive" diff --git a/tests/arista_eos/show_mlag/arista_eos_show_mlag.yml b/tests/arista_eos/show_mlag/arista_eos_show_mlag.yml new file mode 100644 index 0000000000..0a425eca20 --- /dev/null +++ b/tests/arista_eos/show_mlag/arista_eos_show_mlag.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - domain: "mlagDomain" + interface: "Vlan4094" + peer_addr: "10.0.0.2" + peer_link: "Port-Channel10" + state: "Inactive" diff --git a/tests/arista_eos/show_module/arista_eos_show_module.template.parsed b/tests/arista_eos/show_module/arista_eos_show_module.template.parsed deleted file mode 100644 index 719b4943fa..0000000000 --- a/tests/arista_eos/show_module/arista_eos_show_module.template.parsed +++ /dev/null @@ -1,168 +0,0 @@ ---- -parsed_sample: -- module : '1' - ports : '3' - card : 'DCS-7500-SUP2' - type : 'Supervisor' - model : 'DCS-7500-SUP2' - serial_num : 'XX16380393' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : '3' - ports : '144' - card : '36-port QSFP100' - type : 'Linecard' - model : '7500R-36CQ-LC' - serial_num : 'XX16340219' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : '4' - ports : '144' - card : '36-port QSFP100' - type : 'Linecard' - model : '7500R-36CQ-LC' - serial_num : 'XX16364164' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : '5' - ports : '144' - card : '36-port QSFP100' - type : 'Linecard' - model : '7500R-36CQ-LC' - serial_num : 'XX16364166' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : '6' - ports : '144' - card : '36-port QSFP100' - type : 'Linecard' - model : '7500R-36CQ-LC' - serial_num : 'XX16351233' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : '7' - ports : '144' - card : '36-port QSFP100' - type : 'Linecard' - model : '7500R2-36CQ-LC' - serial_num : 'XX17341299' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : 'Fabric1' - ports : '0' - card : 'DCS-7508R' - type : 'Fabric' - model : '7508R-FM' - serial_num : 'XX16472732' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : 'Fabric2' - ports : '0' - card : 'DCS-7508R' - type : 'Fabric' - model : '7508R-FM' - serial_num : 'XX16472587' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : 'Fabric3' - ports : '0' - card : 'DCS-7508R' - type : 'Fabric' - model : '7508R-FM' - serial_num : 'XX16320292' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : 'Fabric4' - ports : '0' - card : 'DCS-7508R' - type : 'Fabric' - model : '7508R-FM' - serial_num : 'XX16320357' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : 'Fabric5' - ports : '0' - card : 'DCS-7508R' - type : 'Fabric' - model : '7508R-FM' - serial_num : 'XX16320439' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' - - -- module : 'Fabric6' - ports : '0' - card : 'DCS-7508R' - type : 'Fabric' - model : '7508R-FM' - serial_num : 'XX16320585' - mac_address_start : '44:4c:a8:e6:17:5e' - mac_address_end: '44:4c:a8:e6:17:5f' - hw_ver : '14.20' - sw_ver : '4.19.5M' - status : 'Ok' - uptime : '74 days, 0:25:22' \ No newline at end of file diff --git a/tests/arista_eos/show_module/arista_eos_show_module.template.yml b/tests/arista_eos/show_module/arista_eos_show_module.template.yml new file mode 100644 index 0000000000..b250016094 --- /dev/null +++ b/tests/arista_eos/show_module/arista_eos_show_module.template.yml @@ -0,0 +1,146 @@ +--- +parsed_sample: + - module: "1" + ports: "3" + card: "DCS-7500-SUP2" + type: "Supervisor" + model: "DCS-7500-SUP2" + serial_num: "XX16380393" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "3" + ports: "144" + card: "36-port QSFP100" + type: "Linecard" + model: "7500R-36CQ-LC" + serial_num: "XX16340219" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "4" + ports: "144" + card: "36-port QSFP100" + type: "Linecard" + model: "7500R-36CQ-LC" + serial_num: "XX16364164" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "5" + ports: "144" + card: "36-port QSFP100" + type: "Linecard" + model: "7500R-36CQ-LC" + serial_num: "XX16364166" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "6" + ports: "144" + card: "36-port QSFP100" + type: "Linecard" + model: "7500R-36CQ-LC" + serial_num: "XX16351233" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "7" + ports: "144" + card: "36-port QSFP100" + type: "Linecard" + model: "7500R2-36CQ-LC" + serial_num: "XX17341299" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "Fabric1" + ports: "0" + card: "DCS-7508R" + type: "Fabric" + model: "7508R-FM" + serial_num: "XX16472732" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "Fabric2" + ports: "0" + card: "DCS-7508R" + type: "Fabric" + model: "7508R-FM" + serial_num: "XX16472587" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "Fabric3" + ports: "0" + card: "DCS-7508R" + type: "Fabric" + model: "7508R-FM" + serial_num: "XX16320292" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "Fabric4" + ports: "0" + card: "DCS-7508R" + type: "Fabric" + model: "7508R-FM" + serial_num: "XX16320357" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "Fabric5" + ports: "0" + card: "DCS-7508R" + type: "Fabric" + model: "7508R-FM" + serial_num: "XX16320439" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" + - module: "Fabric6" + ports: "0" + card: "DCS-7508R" + type: "Fabric" + model: "7508R-FM" + serial_num: "XX16320585" + mac_address_start: "44:4c:a8:e6:17:5e" + mac_address_end: "44:4c:a8:e6:17:5f" + hw_ver: "14.20" + sw_ver: "4.19.5M" + status: "Ok" + uptime: "74 days, 0:25:22" diff --git a/tests/arista_eos/show_reload_cause/arista_eos_show_reload_cause.parsed b/tests/arista_eos/show_reload_cause/arista_eos_show_reload_cause.parsed deleted file mode 100644 index ecae14663e..0000000000 --- a/tests/arista_eos/show_reload_cause/arista_eos_show_reload_cause.parsed +++ /dev/null @@ -1,9 +0,0 @@ ---- - -parsed_sample: - - -- recommended_action : 'No action necessary.' - debug_info : 'None available.' - reload_cause : 'The system rebooted due to a Power Loss' - reload_time : 'Reload occurred at Fri Feb 23 14:18:49 2018 UTC.' \ No newline at end of file diff --git a/tests/arista_eos/show_reload_cause/arista_eos_show_reload_cause.yml b/tests/arista_eos/show_reload_cause/arista_eos_show_reload_cause.yml new file mode 100644 index 0000000000..491cce4801 --- /dev/null +++ b/tests/arista_eos/show_reload_cause/arista_eos_show_reload_cause.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - recommended_action: "No action necessary." + debug_info: "None available." + reload_cause: "The system rebooted due to a Power Loss" + reload_time: "Reload occurred at Fri Feb 23 14:18:49 2018 UTC." diff --git a/tests/arista_eos/show_snmp_community/arista_eos_show_snmp_community.parsed b/tests/arista_eos/show_snmp_community/arista_eos_show_snmp_community.parsed deleted file mode 100644 index 710d5c8da7..0000000000 --- a/tests/arista_eos/show_snmp_community/arista_eos_show_snmp_community.parsed +++ /dev/null @@ -1,28 +0,0 @@ ---- -parsed_sample: -- name: "TEST" - access: "read-only" - view: "" - acl: "" - -- name: "TEST_AGAIN" - access: "read-only" - view: "TEST" - acl: "" - -- name: "TEST_ONE_MORE" - access: "read-only" - view: "" - acl: "TEST_ACL" - -- name: "TEST_ONE_MORE_TIME" - access: "read-write" - view: "" - acl: "IPV6_ACL" - -- name: "public" - access: "read-only" - view: "" - acl: "" - - diff --git a/tests/arista_eos/show_snmp_community/arista_eos_show_snmp_community.yml b/tests/arista_eos/show_snmp_community/arista_eos_show_snmp_community.yml new file mode 100644 index 0000000000..ad58e1788b --- /dev/null +++ b/tests/arista_eos/show_snmp_community/arista_eos_show_snmp_community.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - name: "TEST" + access: "read-only" + view: "" + acl: "" + - name: "TEST_AGAIN" + access: "read-only" + view: "TEST" + acl: "" + - name: "TEST_ONE_MORE" + access: "read-only" + view: "" + acl: "TEST_ACL" + - name: "TEST_ONE_MORE_TIME" + access: "read-write" + view: "" + acl: "IPV6_ACL" + - name: "public" + access: "read-only" + view: "" + acl: "" diff --git a/tests/arista_eos/show_version/arista_eos_show_version.parsed b/tests/arista_eos/show_version/arista_eos_show_version.parsed deleted file mode 100644 index cbc3394457..0000000000 --- a/tests/arista_eos/show_version/arista_eos_show_version.parsed +++ /dev/null @@ -1,9 +0,0 @@ ---- -parsed_sample: -- free_memory: "301240" - total_memory: "2028860" - hw_version: "" - image: "4.14.7M" - model: "vEOS" - serial_number: "" - sys_mac: 2803.829a.1347 diff --git a/tests/arista_eos/show_version/arista_eos_show_version.yml b/tests/arista_eos/show_version/arista_eos_show_version.yml new file mode 100644 index 0000000000..1a3d84e356 --- /dev/null +++ b/tests/arista_eos/show_version/arista_eos_show_version.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - free_memory: "301240" + total_memory: "2028860" + hw_version: "" + image: "4.14.7M" + model: "vEOS" + serial_number: "" + sys_mac: "2803.829a.1347" diff --git a/tests/arista_eos/show_vlan/arista_eos_show_vlan.parsed b/tests/arista_eos/show_vlan/arista_eos_show_vlan.parsed deleted file mode 100644 index 08ff65dd09..0000000000 --- a/tests/arista_eos/show_vlan/arista_eos_show_vlan.parsed +++ /dev/null @@ -1,19 +0,0 @@ ---- -parsed_sample: -- name: default - status: active - vlan_id: "1" - -- name: Test1 - status: active - vlan_id: "10" - -- name: Test2 - status: suspended - vlan_id: "20" - -- name: VLAN0030 - status: suspended - vlan_id: "30" - - diff --git a/tests/arista_eos/show_vlan/arista_eos_show_vlan.yml b/tests/arista_eos/show_vlan/arista_eos_show_vlan.yml new file mode 100644 index 0000000000..6bb047a021 --- /dev/null +++ b/tests/arista_eos/show_vlan/arista_eos_show_vlan.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - name: "default" + status: "active" + vlan_id: "1" + - name: "Test1" + status: "active" + vlan_id: "10" + - name: "Test2" + status: "suspended" + vlan_id: "20" + - name: "VLAN0030" + status: "suspended" + vlan_id: "30" diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf.parsed b/tests/arista_eos/show_vrf/arista_eos_show_vrf.yml similarity index 88% rename from tests/arista_eos/show_vrf/arista_eos_show_vrf.parsed rename to tests/arista_eos/show_vrf/arista_eos_show_vrf.yml index 867a881a76..11e7c8c295 100644 --- a/tests/arista_eos/show_vrf/arista_eos_show_vrf.parsed +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf.yml @@ -5,7 +5,7 @@ parsed_sample: - vrf: "green" rd: "" - vrf: "yellow" - rd: '10.125.253.15:4' + rd: "10.125.253.15:4" - vrf: "red" rd: "10.125.253.15:6" - vrf: "black" diff --git a/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.parsed b/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.parsed deleted file mode 100644 index 08c64dde94..0000000000 --- a/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.parsed +++ /dev/null @@ -1,23 +0,0 @@ ---- -parsed_sample: - -- intf: vlan 93 - ipaddr: 162.25.53.4 - mask: 255.255.255.192 - admin: up - protocol: up -- intf: vlan 1 - ipaddr: unassigned - mask: unassigned - admin: up - protocol: up -- intf: vlan 69 - ipaddr: 162.25.53.9 - mask: 255.255.255.192 - admin: up - protocol: up -- intf: vlan 999 - ipaddr: 162.21.33.196 - mask: 255.255.255.240 - admin: up - protocol: up diff --git a/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.yml b/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.yml new file mode 100644 index 0000000000..3db6fa0ee1 --- /dev/null +++ b/tests/aruba_os/show_ip_interface_brief/aruba_os_show_ip_interface_brief.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - intf: "vlan 93" + ipaddr: "162.25.53.4" + mask: "255.255.255.192" + admin: "up" + protocol: "up" + - intf: "vlan 1" + ipaddr: "unassigned" + mask: "unassigned" + admin: "up" + protocol: "up" + - intf: "vlan 69" + ipaddr: "162.25.53.9" + mask: "255.255.255.192" + admin: "up" + protocol: "up" + - intf: "vlan 999" + ipaddr: "162.21.33.196" + mask: "255.255.255.240" + admin: "up" + protocol: "up" diff --git a/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.parsed b/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.parsed deleted file mode 100644 index 6a6af3b3e8..0000000000 --- a/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.parsed +++ /dev/null @@ -1,23 +0,0 @@ ---- -parsed_sample: - -- intf: vlan 1 - ipaddr: ['fe80::1a:3e00:6ed1:1585/64', '2001::1/64'] - admin: up - protocol: up -- intf: vlan 390 - ipaddr: [unassigned] - admin: up - protocol: up -- intf: vlan 991 - ipaddr: ['fe80::1a:3e00:6ed1:1585/64', '2a01:9e73:433f:109::6/64'] - admin: up - protocol: up -- intf: vlan 992 - ipaddr: [unassigned] - admin: up - protocol: up -- intf: loopback - ipaddr: ['fe80::1a:3e00:6ed1:1585/64'] - admin: up - protocol: up diff --git a/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.yml b/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.yml new file mode 100644 index 0000000000..f026cf75c5 --- /dev/null +++ b/tests/aruba_os/show_ipv6_interface_brief/aruba_os_show_ipv6_interface_brief.yml @@ -0,0 +1,29 @@ +--- +parsed_sample: + - intf: "vlan 1" + ipaddr: + - "fe80::1a:3e00:6ed1:1585/64" + - "2001::1/64" + admin: "up" + protocol: "up" + - intf: "vlan 390" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "vlan 991" + ipaddr: + - "fe80::1a:3e00:6ed1:1585/64" + - "2a01:9e73:433f:109::6/64" + admin: "up" + protocol: "up" + - intf: "vlan 992" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "loopback" + ipaddr: + - "fe80::1a:3e00:6ed1:1585/64" + admin: "up" + protocol: "up" diff --git a/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name.parsed b/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name.parsed deleted file mode 100644 index 32acab1b77..0000000000 --- a/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name.parsed +++ /dev/null @@ -1,103 +0,0 @@ ---- -parsed_sample: - -- name: <===ESXi Management===> - port: '1' -- name: <===ESXi VMs===> - port: '2' -- name: <===NAS Connection A===> - port: '3' -- name: <===NAS Connection B===> - port: '4' -- name: <===Raspberry Pi===> - port: '5' -- name: <===Raspberry Pi===> - port: '6' -- name: <===PDU===> - port: '7' -- name: <===Console Server===> - port: '8' -- name: <===HP Printer===> - port: '9' -- name: <===Security Alarm===> - port: '10' -- name: <===AP 01===> - port: '11' -- name: <===PC Ethernet Port===> - port: '12' -- name: <===AP 02===> - port: '13' -- name: <===Axis Camera===> - port: '14' -- name: <===Shutdown Port===> - port: '15' -- name: <===Shutdown Port===> - port: '16' -- name: <===Shutdown Port===> - port: '17' -- name: <===Shutdown Port===> - port: '18' -- name: <===Shutdown Port===> - port: '19' -- name: <===Shutdown Port===> - port: '20' -- name: <===Shutdown Port===> - port: '21' -- name: <===Shutdown Port===> - port: '22' -- name: <===Shutdown Port===> - port: '23' -- name: <===Shutdown Port===> - port: '24' -- name: <===Shutdown Port===> - port: '25' -- name: <===Shutdown Port===> - port: '26' -- name: <===Shutdown Port===> - port: '27' -- name: <===Shutdown Port===> - port: '28' -- name: <===Shutdown Port===> - port: '29' -- name: <===Shutdown Port===> - port: '30' -- name: <===Shutdown Port===> - port: '31' -- name: <===Shutdown Port===> - port: '32' -- name: <===Shutdown Port===> - port: '33' -- name: <===Shutdown Port===> - port: '34' -- name: <===Shutdown Port===> - port: '35' -- name: <===Shutdown Port===> - port: '36' -- name: <===Shutdown Port===> - port: '37' -- name: <===Shutdown Port===> - port: '38' -- name: <===Shutdown Port===> - port: '39' -- name: <===Shutdown Port===> - port: '40' -- name: <===Shutdown Port===> - port: '41' -- name: <===Shutdown Port===> - port: '42' -- name: <===Connection to SW1===> - port: '43' -- name: <===Connection to SW2===> - port: '44' -- name: <===Connection to SW3===> - port: '45' -- name: <===Connection to SW4===> - port: '46' -- name: <===DMZ Main Int===> - port: '47' -- name: <===DMZ VM Int===> - port: '48' -- name: '' - port: '49' -- name: '' - port: '50' diff --git a/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name.yml b/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name.yml new file mode 100644 index 0000000000..9aa5b7ada3 --- /dev/null +++ b/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name.yml @@ -0,0 +1,102 @@ +--- +parsed_sample: + - name: "<===ESXi Management===>" + port: "1" + - name: "<===ESXi VMs===>" + port: "2" + - name: "<===NAS Connection A===>" + port: "3" + - name: "<===NAS Connection B===>" + port: "4" + - name: "<===Raspberry Pi===>" + port: "5" + - name: "<===Raspberry Pi===>" + port: "6" + - name: "<===PDU===>" + port: "7" + - name: "<===Console Server===>" + port: "8" + - name: "<===HP Printer===>" + port: "9" + - name: "<===Security Alarm===>" + port: "10" + - name: "<===AP 01===>" + port: "11" + - name: "<===PC Ethernet Port===>" + port: "12" + - name: "<===AP 02===>" + port: "13" + - name: "<===Axis Camera===>" + port: "14" + - name: "<===Shutdown Port===>" + port: "15" + - name: "<===Shutdown Port===>" + port: "16" + - name: "<===Shutdown Port===>" + port: "17" + - name: "<===Shutdown Port===>" + port: "18" + - name: "<===Shutdown Port===>" + port: "19" + - name: "<===Shutdown Port===>" + port: "20" + - name: "<===Shutdown Port===>" + port: "21" + - name: "<===Shutdown Port===>" + port: "22" + - name: "<===Shutdown Port===>" + port: "23" + - name: "<===Shutdown Port===>" + port: "24" + - name: "<===Shutdown Port===>" + port: "25" + - name: "<===Shutdown Port===>" + port: "26" + - name: "<===Shutdown Port===>" + port: "27" + - name: "<===Shutdown Port===>" + port: "28" + - name: "<===Shutdown Port===>" + port: "29" + - name: "<===Shutdown Port===>" + port: "30" + - name: "<===Shutdown Port===>" + port: "31" + - name: "<===Shutdown Port===>" + port: "32" + - name: "<===Shutdown Port===>" + port: "33" + - name: "<===Shutdown Port===>" + port: "34" + - name: "<===Shutdown Port===>" + port: "35" + - name: "<===Shutdown Port===>" + port: "36" + - name: "<===Shutdown Port===>" + port: "37" + - name: "<===Shutdown Port===>" + port: "38" + - name: "<===Shutdown Port===>" + port: "39" + - name: "<===Shutdown Port===>" + port: "40" + - name: "<===Shutdown Port===>" + port: "41" + - name: "<===Shutdown Port===>" + port: "42" + - name: "<===Connection to SW1===>" + port: "43" + - name: "<===Connection to SW2===>" + port: "44" + - name: "<===Connection to SW3===>" + port: "45" + - name: "<===Connection to SW4===>" + port: "46" + - name: "<===DMZ Main Int===>" + port: "47" + - name: "<===DMZ VM Int===>" + port: "48" + - name: "" + port: "49" + - name: "" + port: "50" diff --git a/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name1.parsed b/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name1.parsed deleted file mode 100644 index 3b895dc4f7..0000000000 --- a/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name1.parsed +++ /dev/null @@ -1,203 +0,0 @@ ---- -parsed_sample: - -- name: '' - port: '1/1' -- name: '' - port: '1/2' -- name: '' - port: '1/3' -- name: '' - port: '1/4' -- name: '' - port: '1/5' -- name: '' - port: '1/6' -- name: '' - port: '1/7' -- name: '' - port: '1/8' -- name: '' - port: '1/9' -- name: '' - port: '1/10' -- name: '' - port: '1/11' -- name: '' - port: '1/12' -- name: '' - port: '1/13' -- name: '' - port: '1/14' -- name: '' - port: '1/15' -- name: '' - port: '1/16' -- name: '' - port: '1/17' -- name: '' - port: '1/18' -- name: '' - port: '1/19' -- name: '' - port: '1/20' -- name: '' - port: '1/21' -- name: '' - port: '1/22' -- name: '' - port: '1/23' -- name: '' - port: '1/24' -- name: '' - port: '1/25' -- name: '' - port: '1/26' -- name: '' - port: '1/27' -- name: '' - port: '1/28' -- name: '' - port: '1/29' -- name: '' - port: '1/30' -- name: '' - port: '1/31' -- name: '' - port: '1/32' -- name: '' - port: '1/33' -- name: '' - port: '1/34' -- name: '' - port: '1/35' -- name: '' - port: '1/36' -- name: '' - port: '1/37' -- name: '' - port: '1/38' -- name: '' - port: '1/39' -- name: '' - port: '1/40' -- name: '' - port: '1/41' -- name: '' - port: '1/42' -- name: '' - port: '1/43' -- name: '' - port: '1/44' -- name: '' - port: '1/45' -- name: '' - port: '1/46' -- name: '' - port: '1/47' -- name: '' - port: '1/48' -- name: '' - port: '1/49' -- name: 'HALL-FC3: 1/25' - port: '1/50' -- name: '' - port: '2/1' -- name: '' - port: '2/2' -- name: '' - port: '2/3' -- name: '' - port: '2/4' -- name: '' - port: '2/5' -- name: '' - port: '2/6' -- name: '' - port: '2/7' -- name: '' - port: '2/8' -- name: 'Bell 10.1.1.100' - port: '2/9' -- name: '' - port: '2/10' -- name: '' - port: '2/11' -- name: '' - port: '2/12' -- name: '' - port: '2/13' -- name: '' - port: '2/14' -- name: 'HALL-Park (outdoor WAP)' - port: '2/15' -- name: '' - port: '2/16' -- name: '' - port: '2/17' -- name: '' - port: '2/18' -- name: '' - port: '2/19' -- name: '' - port: '2/20' -- name: '' - port: '2/21' -- name: '' - port: '2/22' -- name: '' - port: '2/23' -- name: '' - port: '2/24' -- name: '' - port: '2/25' -- name: '' - port: '2/26' -- name: '' - port: '2/27' -- name: '' - port: '2/28' -- name: '' - port: '2/29' -- name: '' - port: '2/30' -- name: '' - port: '2/31' -- name: '' - port: '2/32' -- name: '' - port: '2/33' -- name: '' - port: '2/34' -- name: '' - port: '2/35' -- name: '' - port: '2/36' -- name: '' - port: '2/37' -- name: '' - port: '2/38' -- name: '' - port: '2/39' -- name: '' - port: '2/40' -- name: '' - port: '2/41' -- name: '' - port: '2/42' -- name: '' - port: '2/43' -- name: '' - port: '2/44' -- name: '' - port: '2/45' -- name: '' - port: '2/46' -- name: '' - port: '2/47' -- name: 'HALL-UPS' - port: '2/48' -- name: '' - port: '2/49' -- name: 'HALL-FC4:1/25' - port: '2/50' diff --git a/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name1.yml b/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name1.yml new file mode 100644 index 0000000000..a6628a774f --- /dev/null +++ b/tests/avaya_ers/show_interface_name/avaya_ers_show_interface_name1.yml @@ -0,0 +1,202 @@ +--- +parsed_sample: + - name: "" + port: "1/1" + - name: "" + port: "1/2" + - name: "" + port: "1/3" + - name: "" + port: "1/4" + - name: "" + port: "1/5" + - name: "" + port: "1/6" + - name: "" + port: "1/7" + - name: "" + port: "1/8" + - name: "" + port: "1/9" + - name: "" + port: "1/10" + - name: "" + port: "1/11" + - name: "" + port: "1/12" + - name: "" + port: "1/13" + - name: "" + port: "1/14" + - name: "" + port: "1/15" + - name: "" + port: "1/16" + - name: "" + port: "1/17" + - name: "" + port: "1/18" + - name: "" + port: "1/19" + - name: "" + port: "1/20" + - name: "" + port: "1/21" + - name: "" + port: "1/22" + - name: "" + port: "1/23" + - name: "" + port: "1/24" + - name: "" + port: "1/25" + - name: "" + port: "1/26" + - name: "" + port: "1/27" + - name: "" + port: "1/28" + - name: "" + port: "1/29" + - name: "" + port: "1/30" + - name: "" + port: "1/31" + - name: "" + port: "1/32" + - name: "" + port: "1/33" + - name: "" + port: "1/34" + - name: "" + port: "1/35" + - name: "" + port: "1/36" + - name: "" + port: "1/37" + - name: "" + port: "1/38" + - name: "" + port: "1/39" + - name: "" + port: "1/40" + - name: "" + port: "1/41" + - name: "" + port: "1/42" + - name: "" + port: "1/43" + - name: "" + port: "1/44" + - name: "" + port: "1/45" + - name: "" + port: "1/46" + - name: "" + port: "1/47" + - name: "" + port: "1/48" + - name: "" + port: "1/49" + - name: "HALL-FC3: 1/25" + port: "1/50" + - name: "" + port: "2/1" + - name: "" + port: "2/2" + - name: "" + port: "2/3" + - name: "" + port: "2/4" + - name: "" + port: "2/5" + - name: "" + port: "2/6" + - name: "" + port: "2/7" + - name: "" + port: "2/8" + - name: "Bell 10.1.1.100" + port: "2/9" + - name: "" + port: "2/10" + - name: "" + port: "2/11" + - name: "" + port: "2/12" + - name: "" + port: "2/13" + - name: "" + port: "2/14" + - name: "HALL-Park (outdoor WAP)" + port: "2/15" + - name: "" + port: "2/16" + - name: "" + port: "2/17" + - name: "" + port: "2/18" + - name: "" + port: "2/19" + - name: "" + port: "2/20" + - name: "" + port: "2/21" + - name: "" + port: "2/22" + - name: "" + port: "2/23" + - name: "" + port: "2/24" + - name: "" + port: "2/25" + - name: "" + port: "2/26" + - name: "" + port: "2/27" + - name: "" + port: "2/28" + - name: "" + port: "2/29" + - name: "" + port: "2/30" + - name: "" + port: "2/31" + - name: "" + port: "2/32" + - name: "" + port: "2/33" + - name: "" + port: "2/34" + - name: "" + port: "2/35" + - name: "" + port: "2/36" + - name: "" + port: "2/37" + - name: "" + port: "2/38" + - name: "" + port: "2/39" + - name: "" + port: "2/40" + - name: "" + port: "2/41" + - name: "" + port: "2/42" + - name: "" + port: "2/43" + - name: "" + port: "2/44" + - name: "" + port: "2/45" + - name: "" + port: "2/46" + - name: "" + port: "2/47" + - name: "HALL-UPS" + port: "2/48" + - name: "" + port: "2/49" + - name: "HALL-FC4:1/25" + port: "2/50" diff --git a/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.parsed b/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.parsed deleted file mode 100644 index 05f934da7d..0000000000 --- a/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.parsed +++ /dev/null @@ -1,12 +0,0 @@ ---- -parsed_sample: - -- event_logging: 'Enabled' - volatile: 'Latch' - log_types: 'Critical, Serious, Informational' - nv_storage_types: Critical, Serious - remote_logging: 'Enabled' - remote_address: '0.0.0.0' - secondary_address: '0.0.0.0' - remote_types: 'Critical, Serious, Informational' - facility: 'Daemon' diff --git a/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.yml b/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.yml new file mode 100644 index 0000000000..b83f9ad5e2 --- /dev/null +++ b/tests/avaya_ers/show_logging_config/avaya_ers_show_logging_config.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - event_logging: "Enabled" + volatile: "Latch" + log_types: "Critical, Serious, Informational" + nv_storage_types: "Critical, Serious" + remote_logging: "Enabled" + remote_address: "0.0.0.0" + secondary_address: "0.0.0.0" + remote_types: "Critical, Serious, Informational" + facility: "Daemon" diff --git a/tests/avaya_ers/show_mac-address-table/avaya_ers_show_mac-address-table.parsed b/tests/avaya_ers/show_mac-address-table/avaya_ers_show_mac-address-table.parsed deleted file mode 100644 index a657403e95..0000000000 --- a/tests/avaya_ers/show_mac-address-table/avaya_ers_show_mac-address-table.parsed +++ /dev/null @@ -1,103 +0,0 @@ ---- -parsed_sample: - -- mac_addr: 00-0E-C4-CE-AD-39 - port: '47' - type: Dynamic - vid: '15' -- mac_addr: 00-C0-B7-4C-91-CF - port: '7' - type: Dynamic - vid: '15' -- mac_addr: 00-D0-2D-B3-4B-D2 - port: '10' - type: Dynamic - vid: '15' -- mac_addr: EC-8E-B5-BF-59-5B - port: '9' - type: Dynamic - vid: '15' -- mac_addr: 00-0E-C4-CE-AD-3B - port: '48' - type: Dynamic - vid: '25' -- mac_addr: 00-15-17-2E-58-F3 - port: '1' - type: Dynamic - vid: '25' -- mac_addr: 50-61-84-DD-58-00 - port: '' - type: Self - vid: '25' -- mac_addr: F0-9F-C2-33-4A-00 - port: '13' - type: Dynamic - vid: '25' -- mac_addr: F0-9F-C2-70-B4-8E - port: '11' - type: Dynamic - vid: '25' -- mac_addr: 00-0E-C4-CE-AD-3B - port: '48' - type: Dynamic - vid: '45' -- mac_addr: AC-CC-8E-47-85-63 - port: '14' - type: Dynamic - vid: '45' -- mac_addr: 00-0E-C4-CE-AD-39 - port: '47' - type: Dynamic - vid: '100' -- mac_addr: 00-11-32-4E-75-07 - port: '3' - type: Dynamic - vid: '100' -- mac_addr: 00-11-32-4E-75-08 - port: '4' - type: Dynamic - vid: '100' -- mac_addr: 50-F5-DA-2D-00-A0 - port: '13' - type: Dynamic - vid: '100' -- mac_addr: 6C-40-08-93-CF-94 - port: '11' - type: Dynamic - vid: '100' -- mac_addr: A4-5E-60-D4-F7-4B - port: '13' - type: Dynamic - vid: '100' -- mac_addr: B8-44-D9-1A-BC-42 - port: '11' - type: Dynamic - vid: '100' -- mac_addr: 00-0E-C4-CE-AD-3B - port: '48' - type: Dynamic - vid: '101' -- mac_addr: 2C-1F-23-2E-89-CB - port: '13' - type: Dynamic - vid: '101' -- mac_addr: 84-41-67-5E-D7-54 - port: '13' - type: Dynamic - vid: '101' -- mac_addr: 90-FD-61-BE-14-37 - port: '13' - type: Dynamic - vid: '101' -- mac_addr: AC-CF-5C-73-A1-6D - port: '11' - type: Dynamic - vid: '101' -- mac_addr: 00-0C-29-AD-8B-03 - port: '2' - type: Dynamic - vid: '275' -- mac_addr: 00-0E-C4-CE-AD-3B - port: '48' - type: Dynamic - vid: '275' diff --git a/tests/avaya_ers/show_mac-address-table/avaya_ers_show_mac-address-table.yml b/tests/avaya_ers/show_mac-address-table/avaya_ers_show_mac-address-table.yml new file mode 100644 index 0000000000..076b4ebf8d --- /dev/null +++ b/tests/avaya_ers/show_mac-address-table/avaya_ers_show_mac-address-table.yml @@ -0,0 +1,102 @@ +--- +parsed_sample: + - mac_addr: "00-0E-C4-CE-AD-39" + port: "47" + type: "Dynamic" + vid: "15" + - mac_addr: "00-C0-B7-4C-91-CF" + port: "7" + type: "Dynamic" + vid: "15" + - mac_addr: "00-D0-2D-B3-4B-D2" + port: "10" + type: "Dynamic" + vid: "15" + - mac_addr: "EC-8E-B5-BF-59-5B" + port: "9" + type: "Dynamic" + vid: "15" + - mac_addr: "00-0E-C4-CE-AD-3B" + port: "48" + type: "Dynamic" + vid: "25" + - mac_addr: "00-15-17-2E-58-F3" + port: "1" + type: "Dynamic" + vid: "25" + - mac_addr: "50-61-84-DD-58-00" + port: "" + type: "Self" + vid: "25" + - mac_addr: "F0-9F-C2-33-4A-00" + port: "13" + type: "Dynamic" + vid: "25" + - mac_addr: "F0-9F-C2-70-B4-8E" + port: "11" + type: "Dynamic" + vid: "25" + - mac_addr: "00-0E-C4-CE-AD-3B" + port: "48" + type: "Dynamic" + vid: "45" + - mac_addr: "AC-CC-8E-47-85-63" + port: "14" + type: "Dynamic" + vid: "45" + - mac_addr: "00-0E-C4-CE-AD-39" + port: "47" + type: "Dynamic" + vid: "100" + - mac_addr: "00-11-32-4E-75-07" + port: "3" + type: "Dynamic" + vid: "100" + - mac_addr: "00-11-32-4E-75-08" + port: "4" + type: "Dynamic" + vid: "100" + - mac_addr: "50-F5-DA-2D-00-A0" + port: "13" + type: "Dynamic" + vid: "100" + - mac_addr: "6C-40-08-93-CF-94" + port: "11" + type: "Dynamic" + vid: "100" + - mac_addr: "A4-5E-60-D4-F7-4B" + port: "13" + type: "Dynamic" + vid: "100" + - mac_addr: "B8-44-D9-1A-BC-42" + port: "11" + type: "Dynamic" + vid: "100" + - mac_addr: "00-0E-C4-CE-AD-3B" + port: "48" + type: "Dynamic" + vid: "101" + - mac_addr: "2C-1F-23-2E-89-CB" + port: "13" + type: "Dynamic" + vid: "101" + - mac_addr: "84-41-67-5E-D7-54" + port: "13" + type: "Dynamic" + vid: "101" + - mac_addr: "90-FD-61-BE-14-37" + port: "13" + type: "Dynamic" + vid: "101" + - mac_addr: "AC-CF-5C-73-A1-6D" + port: "11" + type: "Dynamic" + vid: "101" + - mac_addr: "00-0C-29-AD-8B-03" + port: "2" + type: "Dynamic" + vid: "275" + - mac_addr: "00-0E-C4-CE-AD-3B" + port: "48" + type: "Dynamic" + vid: "275" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.parsed deleted file mode 100644 index d6bda96fb5..0000000000 --- a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.parsed +++ /dev/null @@ -1,290 +0,0 @@ ---- -parsed_sample: -- id: "1" - name: "UPLINK" - active_members: "49-50" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "2" - name: "Trunk #2" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "3" - name: "Trunk #3" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "4" - name: "Trunk #4" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "5" - name: "Trunk #5" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "6" - name: "Trunk #6" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "7" - name: "Trunk #7" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "8" - name: "Trunk #8" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "9" - name: "Trunk #9" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "10" - name: "Trunk #10" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "11" - name: "Trunk #11" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "12" - name: "Trunk #12" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "13" - name: "Trunk #13" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "14" - name: "Trunk #14" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "15" - name: "Trunk #15" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "16" - name: "Trunk #16" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "17" - name: "Trunk #17" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "18" - name: "Trunk #18" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "19" - name: "Trunk #19" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "20" - name: "Trunk #20" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "21" - name: "Trunk #21" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "22" - name: "Trunk #22" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "23" - name: "Trunk #23" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "24" - name: "Trunk #24" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "25" - name: "Trunk #25" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "26" - name: "Trunk #26" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "27" - name: "Trunk #27" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "28" - name: "Trunk #28" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "29" - name: "Trunk #29" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "30" - name: "Trunk #30" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "31" - name: "Trunk #31" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "32" - name: "Trunk #32" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.yml b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.yml new file mode 100644 index 0000000000..5cecc79d10 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt1.yml @@ -0,0 +1,290 @@ +--- +parsed_sample: + - id: "1" + name: "UPLINK" + active_members: "49-50" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "2" + name: "Trunk #2" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "3" + name: "Trunk #3" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "4" + name: "Trunk #4" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "5" + name: "Trunk #5" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "6" + name: "Trunk #6" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "7" + name: "Trunk #7" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "8" + name: "Trunk #8" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "9" + name: "Trunk #9" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "10" + name: "Trunk #10" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "11" + name: "Trunk #11" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "12" + name: "Trunk #12" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "13" + name: "Trunk #13" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "14" + name: "Trunk #14" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "15" + name: "Trunk #15" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "16" + name: "Trunk #16" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "17" + name: "Trunk #17" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "18" + name: "Trunk #18" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "19" + name: "Trunk #19" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "20" + name: "Trunk #20" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "21" + name: "Trunk #21" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "22" + name: "Trunk #22" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "23" + name: "Trunk #23" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "24" + name: "Trunk #24" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "25" + name: "Trunk #25" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "26" + name: "Trunk #26" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "27" + name: "Trunk #27" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "28" + name: "Trunk #28" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "29" + name: "Trunk #29" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "30" + name: "Trunk #30" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "31" + name: "Trunk #31" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "32" + name: "Trunk #32" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.parsed deleted file mode 100644 index 63982a1aa4..0000000000 --- a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.parsed +++ /dev/null @@ -1,290 +0,0 @@ ---- -parsed_sample: -- id: "1" - name: "UPLINK" - active_members: "1/50,2/50" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "2" - name: "Trunk #2" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "3" - name: "Trunk #3" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "4" - name: "Trunk #4" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "5" - name: "Trunk #5" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "6" - name: "Trunk #6" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "7" - name: "Trunk #7" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "8" - name: "Trunk #8" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "9" - name: "Trunk #9" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "10" - name: "Trunk #10" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "11" - name: "Trunk #11" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "12" - name: "Trunk #12" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "13" - name: "Trunk #13" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "14" - name: "Trunk #14" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "15" - name: "Trunk #15" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "16" - name: "Trunk #16" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "17" - name: "Trunk #17" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "18" - name: "Trunk #18" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "19" - name: "Trunk #19" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "20" - name: "Trunk #20" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "21" - name: "Trunk #21" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "22" - name: "Trunk #22" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "23" - name: "Trunk #23" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "24" - name: "Trunk #24" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "25" - name: "Trunk #25" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "26" - name: "Trunk #26" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "27" - name: "Trunk #27" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "28" - name: "Trunk #28" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "29" - name: "Trunk #29" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "30" - name: "Trunk #30" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "31" - name: "Trunk #31" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" -- id: "32" - name: "Trunk #32" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "B" - status: "Disabled" - type: "" - lacp_key: "NONE" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.yml b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.yml new file mode 100644 index 0000000000..dc1079b5b2 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt2.yml @@ -0,0 +1,290 @@ +--- +parsed_sample: + - id: "1" + name: "UPLINK" + active_members: "1/50,2/50" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "2" + name: "Trunk #2" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "3" + name: "Trunk #3" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "4" + name: "Trunk #4" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "5" + name: "Trunk #5" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "6" + name: "Trunk #6" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "7" + name: "Trunk #7" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "8" + name: "Trunk #8" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "9" + name: "Trunk #9" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "10" + name: "Trunk #10" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "11" + name: "Trunk #11" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "12" + name: "Trunk #12" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "13" + name: "Trunk #13" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "14" + name: "Trunk #14" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "15" + name: "Trunk #15" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "16" + name: "Trunk #16" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "17" + name: "Trunk #17" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "18" + name: "Trunk #18" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "19" + name: "Trunk #19" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "20" + name: "Trunk #20" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "21" + name: "Trunk #21" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "22" + name: "Trunk #22" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "23" + name: "Trunk #23" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "24" + name: "Trunk #24" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "25" + name: "Trunk #25" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "26" + name: "Trunk #26" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "27" + name: "Trunk #27" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "28" + name: "Trunk #28" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "29" + name: "Trunk #29" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "30" + name: "Trunk #30" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "31" + name: "Trunk #31" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "32" + name: "Trunk #32" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "B" + status: "Disabled" + type: "" + lacp_key: "NONE" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.parsed deleted file mode 100644 index cd418f80b3..0000000000 --- a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.parsed +++ /dev/null @@ -1,290 +0,0 @@ ---- -parsed_sample: -- id: "1" - name: "UPLINK" - active_members: "1/50,2/50" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Enabled" - type: "Trunk" - lacp_key: "" -- id: "2" - name: "Trunk #2" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "3" - name: "Trunk #3" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "4" - name: "Trunk #4" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "5" - name: "Trunk #5" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "6" - name: "Trunk #6" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "7" - name: "Trunk #7" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "8" - name: "Trunk #8" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "9" - name: "Trunk #9" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "10" - name: "Trunk #10" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "11" - name: "Trunk #11" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "12" - name: "Trunk #12" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "13" - name: "Trunk #13" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "14" - name: "Trunk #14" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "15" - name: "Trunk #15" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "16" - name: "Trunk #16" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "17" - name: "Trunk #17" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "18" - name: "Trunk #18" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "19" - name: "Trunk #19" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "20" - name: "Trunk #20" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "21" - name: "Trunk #21" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "22" - name: "Trunk #22" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "23" - name: "Trunk #23" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "24" - name: "Trunk #24" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "25" - name: "Trunk #25" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "26" - name: "Trunk #26" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "27" - name: "Trunk #27" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "28" - name: "Trunk #28" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "29" - name: "Trunk #29" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "30" - name: "Trunk #30" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "31" - name: "Trunk #31" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "32" - name: "Trunk #32" - active_members: "NONE" - inactive_members: "" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.yml b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.yml new file mode 100644 index 0000000000..f35bff4e5e --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt3.yml @@ -0,0 +1,290 @@ +--- +parsed_sample: + - id: "1" + name: "UPLINK" + active_members: "1/50,2/50" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Enabled" + type: "Trunk" + lacp_key: "" + - id: "2" + name: "Trunk #2" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "3" + name: "Trunk #3" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "4" + name: "Trunk #4" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "5" + name: "Trunk #5" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "6" + name: "Trunk #6" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "7" + name: "Trunk #7" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "8" + name: "Trunk #8" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "9" + name: "Trunk #9" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "10" + name: "Trunk #10" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "11" + name: "Trunk #11" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "12" + name: "Trunk #12" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "13" + name: "Trunk #13" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "14" + name: "Trunk #14" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "15" + name: "Trunk #15" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "16" + name: "Trunk #16" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "17" + name: "Trunk #17" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "18" + name: "Trunk #18" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "19" + name: "Trunk #19" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "20" + name: "Trunk #20" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "21" + name: "Trunk #21" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "22" + name: "Trunk #22" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "23" + name: "Trunk #23" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "24" + name: "Trunk #24" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "25" + name: "Trunk #25" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "26" + name: "Trunk #26" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "27" + name: "Trunk #27" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "28" + name: "Trunk #28" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "29" + name: "Trunk #29" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "30" + name: "Trunk #30" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "31" + name: "Trunk #31" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "32" + name: "Trunk #32" + active_members: "NONE" + inactive_members: "" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.parsed deleted file mode 100644 index bed3fdd05f..0000000000 --- a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.parsed +++ /dev/null @@ -1,290 +0,0 @@ ---- -parsed_sample: -- id: '1' - name: 'Trunk #1' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '2' - name: 'Trunk #2' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '3' - name: 'Trunk #3' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '4' - name: 'Trunk #4' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '5' - name: 'Trunk #5' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '6' - name: 'Trunk #6' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '7' - name: 'Trunk #7' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '8' - name: 'Trunk #8' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '9' - name: 'Trunk #9' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '10' - name: 'Trunk #10' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '11' - name: 'Trunk #11' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '12' - name: 'Trunk #12' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '13' - name: 'Trunk #13' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '14' - name: 'Trunk #14' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '15' - name: 'Trunk #15' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '16' - name: 'Trunk #16' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '17' - name: 'Trunk #17' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '18' - name: 'Trunk #18' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '19' - name: 'Trunk #19' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '20' - name: 'Trunk #20' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '21' - name: 'Trunk #21' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '22' - name: 'Trunk #22' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '23' - name: 'Trunk #23' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '24' - name: 'Trunk #24' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '25' - name: 'Trunk #25' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '26' - name: 'Trunk #26' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '27' - name: 'Trunk #27' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '28' - name: 'Trunk #28' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '29' - name: 'Trunk #29' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '30' - name: 'Trunk #30' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '31' - name: 'Trunk #31' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: '' -- id: '32' - name: 'icampus lacp' - active_members: '27-28' - inactive_members: 'NONE' - bpdu: 'Single' - mode: 'DynLag/Basic' - status: 'Enabled' - type: 'Access' - lacp_key: '' diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.yml b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.yml new file mode 100644 index 0000000000..8bda80e2b9 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4800.yml @@ -0,0 +1,290 @@ +--- +parsed_sample: + - id: "1" + name: "Trunk #1" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "2" + name: "Trunk #2" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "3" + name: "Trunk #3" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "4" + name: "Trunk #4" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "5" + name: "Trunk #5" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "6" + name: "Trunk #6" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "7" + name: "Trunk #7" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "8" + name: "Trunk #8" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "9" + name: "Trunk #9" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "10" + name: "Trunk #10" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "11" + name: "Trunk #11" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "12" + name: "Trunk #12" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "13" + name: "Trunk #13" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "14" + name: "Trunk #14" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "15" + name: "Trunk #15" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "16" + name: "Trunk #16" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "17" + name: "Trunk #17" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "18" + name: "Trunk #18" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "19" + name: "Trunk #19" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "20" + name: "Trunk #20" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "21" + name: "Trunk #21" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "22" + name: "Trunk #22" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "23" + name: "Trunk #23" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "24" + name: "Trunk #24" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "25" + name: "Trunk #25" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "26" + name: "Trunk #26" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "27" + name: "Trunk #27" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "28" + name: "Trunk #28" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "29" + name: "Trunk #29" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "30" + name: "Trunk #30" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "31" + name: "Trunk #31" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "32" + name: "icampus lacp" + active_members: "27-28" + inactive_members: "NONE" + bpdu: "Single" + mode: "DynLag/Basic" + status: "Enabled" + type: "Access" + lacp_key: "" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.parsed deleted file mode 100644 index d6ce2196a3..0000000000 --- a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.parsed +++ /dev/null @@ -1,290 +0,0 @@ ---- -parsed_sample: -- id: '1' - name: 'UPLINK' - active_members: '1/50,2/50' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '2' - name: 'Trunk #2' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '3' - name: 'Trunk #3' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '4' - name: 'Trunk #4' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '5' - name: 'Trunk #5' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '6' - name: 'Trunk #6' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '7' - name: 'Trunk #7' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '8' - name: 'Trunk #8' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '9' - name: 'Trunk #9' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '10' - name: 'Trunk #10' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '11' - name: 'Trunk #11' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '12' - name: 'Trunk #12' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '13' - name: 'Trunk #13' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '14' - name: 'Trunk #14' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '15' - name: 'Trunk #15' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '16' - name: 'Trunk #16' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '17' - name: 'Trunk #17' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '18' - name: 'Trunk #18' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '19' - name: 'Trunk #19' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '20' - name: 'Trunk #20' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '21' - name: 'Trunk #21' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '22' - name: 'Trunk #22' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '23' - name: 'Trunk #23' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '24' - name: 'Trunk #24' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '25' - name: 'Trunk #25' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '26' - name: 'Trunk #26' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '27' - name: 'Trunk #27' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '28' - name: 'Trunk #28' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '29' - name: 'Trunk #29' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '30' - name: 'Trunk #30' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '31' - name: 'Trunk #31' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' -- id: '32' - name: 'Trunk #32' - active_members: 'NONE' - inactive_members: 'NONE' - bpdu: 'All' - mode: 'Basic' - status: 'Disabled' - type: '' - lacp_key: 'NONE' diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.yml b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.yml new file mode 100644 index 0000000000..8d859deb38 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_4900.yml @@ -0,0 +1,290 @@ +--- +parsed_sample: + - id: "1" + name: "UPLINK" + active_members: "1/50,2/50" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "2" + name: "Trunk #2" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "3" + name: "Trunk #3" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "4" + name: "Trunk #4" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "5" + name: "Trunk #5" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "6" + name: "Trunk #6" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "7" + name: "Trunk #7" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "8" + name: "Trunk #8" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "9" + name: "Trunk #9" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "10" + name: "Trunk #10" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "11" + name: "Trunk #11" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "12" + name: "Trunk #12" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "13" + name: "Trunk #13" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "14" + name: "Trunk #14" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "15" + name: "Trunk #15" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "16" + name: "Trunk #16" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "17" + name: "Trunk #17" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "18" + name: "Trunk #18" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "19" + name: "Trunk #19" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "20" + name: "Trunk #20" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "21" + name: "Trunk #21" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "22" + name: "Trunk #22" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "23" + name: "Trunk #23" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "24" + name: "Trunk #24" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "25" + name: "Trunk #25" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "26" + name: "Trunk #26" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "27" + name: "Trunk #27" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "28" + name: "Trunk #28" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "29" + name: "Trunk #29" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "30" + name: "Trunk #30" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "31" + name: "Trunk #31" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" + - id: "32" + name: "Trunk #32" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "NONE" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.parsed b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.parsed deleted file mode 100644 index 5dd0ce66d5..0000000000 --- a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.parsed +++ /dev/null @@ -1,578 +0,0 @@ ---- -parsed_sample: -- id: "1" - name: "IST" - active_members: "38-39" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Enabled" - type: Trunk - lacp_key: "" -- id: "2" - name: "Trunk #2" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "3" - name: "Trunk #3" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "4" - name: "Trunk #4" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "5" - name: "Trunk #5" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "6" - name: "Trunk #6" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "7" - name: "Trunk #7" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "8" - name: "Trunk #8" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "9" - name: "Trunk #9" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "10" - name: "Trunk #10" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "11" - name: "Trunk #11" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "12" - name: "Trunk #12" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "13" - name: "Trunk #13" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "14" - name: "Trunk #14" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "15" - name: "Trunk #15" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "16" - name: "Trunk #16" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "17" - name: "Trunk #17" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "18" - name: "Trunk #18" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "19" - name: "Trunk #19" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "20" - name: "Trunk #20" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "21" - name: "Trunk #21" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "22" - name: "Trunk #22" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "23" - name: "Trunk #23" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "24" - name: "Trunk #24" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "25" - name: "Trunk #25" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "26" - name: "Trunk #26" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "27" - name: "Trunk #27" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "28" - name: "Trunk #28" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "29" - name: "Trunk #29" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "30" - name: "Trunk #30" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "31" - name: "Trunk #31" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "32" - name: "Trunk #32" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "33" - name: "Trunk #33" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "34" - name: "Trunk #34" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "35" - name: "Trunk #35" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "36" - name: "Trunk #36" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "37" - name: "Trunk #37" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "38" - name: "Trunk #38" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "39" - name: "Trunk #39" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "40" - name: "Trunk #40" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "41" - name: "Trunk #41" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "42" - name: "Trunk #42" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "43" - name: "Trunk #43" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "44" - name: "Trunk #44" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "45" - name: "Trunk #45" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "46" - name: "Trunk #46" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "47" - name: "Trunk #47" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "48" - name: "Trunk #48" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "49" - name: "Trunk #49" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "50" - name: "Trunk #50" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "51" - name: "Trunk #51" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "52" - name: "Trunk #52" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "53" - name: "Trunk #53" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "54" - name: "Trunk #54" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "55" - name: "Trunk #55" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "56" - name: "Trunk #56" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "57" - name: "Trunk #57" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "58" - name: "Trunk #58" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "59" - name: "Trunk #59" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "60" - name: "Trunk #60" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "61" - name: "Trunk #61" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "62" - name: "Trunk #62" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "63" - name: "Trunk #63" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" -- id: "64" - name: "Trunk #64" - active_members: "NONE" - inactive_members: "NONE" - bpdu: "All" - mode: "Basic" - status: "Disabled" - type: "" - lacp_key: "" diff --git a/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.yml b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.yml new file mode 100644 index 0000000000..21a3ad2e37 --- /dev/null +++ b/tests/avaya_ers/show_mlt/avaya_ers_show_mlt_7000.yml @@ -0,0 +1,578 @@ +--- +parsed_sample: + - id: "1" + name: "IST" + active_members: "38-39" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Enabled" + type: "Trunk" + lacp_key: "" + - id: "2" + name: "Trunk #2" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "3" + name: "Trunk #3" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "4" + name: "Trunk #4" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "5" + name: "Trunk #5" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "6" + name: "Trunk #6" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "7" + name: "Trunk #7" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "8" + name: "Trunk #8" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "9" + name: "Trunk #9" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "10" + name: "Trunk #10" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "11" + name: "Trunk #11" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "12" + name: "Trunk #12" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "13" + name: "Trunk #13" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "14" + name: "Trunk #14" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "15" + name: "Trunk #15" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "16" + name: "Trunk #16" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "17" + name: "Trunk #17" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "18" + name: "Trunk #18" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "19" + name: "Trunk #19" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "20" + name: "Trunk #20" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "21" + name: "Trunk #21" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "22" + name: "Trunk #22" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "23" + name: "Trunk #23" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "24" + name: "Trunk #24" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "25" + name: "Trunk #25" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "26" + name: "Trunk #26" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "27" + name: "Trunk #27" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "28" + name: "Trunk #28" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "29" + name: "Trunk #29" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "30" + name: "Trunk #30" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "31" + name: "Trunk #31" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "32" + name: "Trunk #32" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "33" + name: "Trunk #33" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "34" + name: "Trunk #34" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "35" + name: "Trunk #35" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "36" + name: "Trunk #36" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "37" + name: "Trunk #37" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "38" + name: "Trunk #38" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "39" + name: "Trunk #39" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "40" + name: "Trunk #40" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "41" + name: "Trunk #41" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "42" + name: "Trunk #42" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "43" + name: "Trunk #43" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "44" + name: "Trunk #44" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "45" + name: "Trunk #45" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "46" + name: "Trunk #46" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "47" + name: "Trunk #47" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "48" + name: "Trunk #48" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "49" + name: "Trunk #49" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "50" + name: "Trunk #50" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "51" + name: "Trunk #51" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "52" + name: "Trunk #52" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "53" + name: "Trunk #53" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "54" + name: "Trunk #54" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "55" + name: "Trunk #55" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "56" + name: "Trunk #56" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "57" + name: "Trunk #57" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "58" + name: "Trunk #58" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "59" + name: "Trunk #59" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "60" + name: "Trunk #60" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "61" + name: "Trunk #61" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "62" + name: "Trunk #62" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "63" + name: "Trunk #63" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" + - id: "64" + name: "Trunk #64" + active_members: "NONE" + inactive_members: "NONE" + bpdu: "All" + mode: "Basic" + status: "Disabled" + type: "" + lacp_key: "" diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.parsed b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.parsed deleted file mode 100644 index 685baee619..0000000000 --- a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.parsed +++ /dev/null @@ -1,322 +0,0 @@ ---- -parsed_sample: - -- mltid: '1' - mltname: 'Trunk #1' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '2' - mltname: 'Trunk #2' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '3' - mltname: 'Trunk #3' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '4' - mltname: 'Trunk #4' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '5' - mltname: 'Trunk #5' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '6' - mltname: 'Trunk #6' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '7' - mltname: 'Trunk #7' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '8' - mltname: 'Trunk #8' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '9' - mltname: 'Trunk #9' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '10' - mltname: 'Trunk #10' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '11' - mltname: 'Trunk #11' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '12' - mltname: 'Trunk #12' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '13' - mltname: 'Trunk #13' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '14' - mltname: 'Trunk #14' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '15' - mltname: 'Trunk #15' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '16' - mltname: 'Trunk #16' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '17' - mltname: 'Trunk #17' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '18' - mltname: 'Trunk #18' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '19' - mltname: 'Trunk #19' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '20' - mltname: 'Trunk #20' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '21' - mltname: 'Trunk #21' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '22' - mltname: 'Trunk #22' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '23' - mltname: 'Trunk #23' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '24' - mltname: 'Trunk #24' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '25' - mltname: 'Trunk #25' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '26' - mltname: 'Trunk #26' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '27' - mltname: 'Trunk #27' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '28' - mltname: 'Trunk #28' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '29' - mltname: 'Trunk #29' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '30' - mltname: 'Trunk #30' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '31' - mltname: 'Trunk #31' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: '' - -- mltid: '32' - mltname: 'icampus lacp' - mltactivemembers: '27-28' - mltinactivemembers: 'NONE' - mltbpdu: 'Single' - mltmode: 'DynLag/Basic' - mltstatus: 'Enabled' - mlttype: 'Access' - mltlacpkey: '' diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.yml b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.yml new file mode 100644 index 0000000000..c8678de228 --- /dev/null +++ b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4800.yml @@ -0,0 +1,290 @@ +--- +parsed_sample: + - mltid: "1" + mltname: "Trunk #1" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "2" + mltname: "Trunk #2" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "3" + mltname: "Trunk #3" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "4" + mltname: "Trunk #4" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "5" + mltname: "Trunk #5" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "6" + mltname: "Trunk #6" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "7" + mltname: "Trunk #7" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "8" + mltname: "Trunk #8" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "9" + mltname: "Trunk #9" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "10" + mltname: "Trunk #10" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "11" + mltname: "Trunk #11" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "12" + mltname: "Trunk #12" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "13" + mltname: "Trunk #13" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "14" + mltname: "Trunk #14" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "15" + mltname: "Trunk #15" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "16" + mltname: "Trunk #16" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "17" + mltname: "Trunk #17" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "18" + mltname: "Trunk #18" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "19" + mltname: "Trunk #19" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "20" + mltname: "Trunk #20" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "21" + mltname: "Trunk #21" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "22" + mltname: "Trunk #22" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "23" + mltname: "Trunk #23" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "24" + mltname: "Trunk #24" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "25" + mltname: "Trunk #25" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "26" + mltname: "Trunk #26" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "27" + mltname: "Trunk #27" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "28" + mltname: "Trunk #28" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "29" + mltname: "Trunk #29" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "30" + mltname: "Trunk #30" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "31" + mltname: "Trunk #31" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "32" + mltname: "icampus lacp" + mltactivemembers: "27-28" + mltinactivemembers: "NONE" + mltbpdu: "Single" + mltmode: "DynLag/Basic" + mltstatus: "Enabled" + mlttype: "Access" + mltlacpkey: "" diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.parsed b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.parsed deleted file mode 100644 index 4b707eb036..0000000000 --- a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.parsed +++ /dev/null @@ -1,322 +0,0 @@ ---- -parsed_sample: - -- mltid: '1' - mltname: 'UPLINK' - mltactivemembers: '1/50,2/50' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '2' - mltname: 'Trunk #2' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '3' - mltname: 'Trunk #3' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '4' - mltname: 'Trunk #4' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '5' - mltname: 'Trunk #5' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '6' - mltname: 'Trunk #6' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '7' - mltname: 'Trunk #7' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '8' - mltname: 'Trunk #8' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '9' - mltname: 'Trunk #9' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '10' - mltname: 'Trunk #10' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '11' - mltname: 'Trunk #11' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '12' - mltname: 'Trunk #12' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '13' - mltname: 'Trunk #13' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '14' - mltname: 'Trunk #14' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '15' - mltname: 'Trunk #15' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '16' - mltname: 'Trunk #16' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '17' - mltname: 'Trunk #17' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '18' - mltname: 'Trunk #18' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '19' - mltname: 'Trunk #19' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '20' - mltname: 'Trunk #20' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '21' - mltname: 'Trunk #21' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '22' - mltname: 'Trunk #22' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '23' - mltname: 'Trunk #23' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '24' - mltname: 'Trunk #24' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '25' - mltname: 'Trunk #25' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '26' - mltname: 'Trunk #26' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '27' - mltname: 'Trunk #27' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '28' - mltname: 'Trunk #28' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '29' - mltname: 'Trunk #29' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '30' - mltname: 'Trunk #30' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '31' - mltname: 'Trunk #31' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' - -- mltid: '32' - mltname: 'Trunk #32' - mltactivemembers: 'NONE' - mltinactivemembers: 'NONE' - mltbpdu: 'All' - mltmode: 'Basic' - mltstatus: 'Disabled' - mlttype: '' - mltlacpkey: 'NONE' diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.yml b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.yml new file mode 100644 index 0000000000..9dfd7fe75f --- /dev/null +++ b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_4900.yml @@ -0,0 +1,290 @@ +--- +parsed_sample: + - mltid: "1" + mltname: "UPLINK" + mltactivemembers: "1/50,2/50" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "2" + mltname: "Trunk #2" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "3" + mltname: "Trunk #3" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "4" + mltname: "Trunk #4" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "5" + mltname: "Trunk #5" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "6" + mltname: "Trunk #6" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "7" + mltname: "Trunk #7" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "8" + mltname: "Trunk #8" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "9" + mltname: "Trunk #9" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "10" + mltname: "Trunk #10" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "11" + mltname: "Trunk #11" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "12" + mltname: "Trunk #12" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "13" + mltname: "Trunk #13" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "14" + mltname: "Trunk #14" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "15" + mltname: "Trunk #15" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "16" + mltname: "Trunk #16" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "17" + mltname: "Trunk #17" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "18" + mltname: "Trunk #18" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "19" + mltname: "Trunk #19" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "20" + mltname: "Trunk #20" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "21" + mltname: "Trunk #21" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "22" + mltname: "Trunk #22" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "23" + mltname: "Trunk #23" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "24" + mltname: "Trunk #24" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "25" + mltname: "Trunk #25" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "26" + mltname: "Trunk #26" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "27" + mltname: "Trunk #27" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "28" + mltname: "Trunk #28" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "29" + mltname: "Trunk #29" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "30" + mltname: "Trunk #30" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "31" + mltname: "Trunk #31" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" + - mltid: "32" + mltname: "Trunk #32" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "NONE" diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.parsed b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.parsed deleted file mode 100644 index 5f374cbb11..0000000000 --- a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.parsed +++ /dev/null @@ -1,578 +0,0 @@ ---- -parsed_sample: -- mltid: "1" - mltname: "IST" - mltactivemembers: "38-39" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Enabled" - mlttype: Trunk - mltlacpkey: "" -- mltid: "2" - mltname: "Trunk #2" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "3" - mltname: "Trunk #3" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "4" - mltname: "Trunk #4" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "5" - mltname: "Trunk #5" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "6" - mltname: "Trunk #6" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "7" - mltname: "Trunk #7" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "8" - mltname: "Trunk #8" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "9" - mltname: "Trunk #9" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "10" - mltname: "Trunk #10" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "11" - mltname: "Trunk #11" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "12" - mltname: "Trunk #12" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "13" - mltname: "Trunk #13" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "14" - mltname: "Trunk #14" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "15" - mltname: "Trunk #15" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "16" - mltname: "Trunk #16" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "17" - mltname: "Trunk #17" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "18" - mltname: "Trunk #18" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "19" - mltname: "Trunk #19" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "20" - mltname: "Trunk #20" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "21" - mltname: "Trunk #21" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "22" - mltname: "Trunk #22" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "23" - mltname: "Trunk #23" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "24" - mltname: "Trunk #24" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "25" - mltname: "Trunk #25" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "26" - mltname: "Trunk #26" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "27" - mltname: "Trunk #27" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "28" - mltname: "Trunk #28" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "29" - mltname: "Trunk #29" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "30" - mltname: "Trunk #30" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "31" - mltname: "Trunk #31" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "32" - mltname: "Trunk #32" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "33" - mltname: "Trunk #33" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "34" - mltname: "Trunk #34" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "35" - mltname: "Trunk #35" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "36" - mltname: "Trunk #36" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "37" - mltname: "Trunk #37" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "38" - mltname: "Trunk #38" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "39" - mltname: "Trunk #39" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "40" - mltname: "Trunk #40" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "41" - mltname: "Trunk #41" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "42" - mltname: "Trunk #42" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "43" - mltname: "Trunk #43" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "44" - mltname: "Trunk #44" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "45" - mltname: "Trunk #45" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "46" - mltname: "Trunk #46" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "47" - mltname: "Trunk #47" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "48" - mltname: "Trunk #48" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "49" - mltname: "Trunk #49" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "50" - mltname: "Trunk #50" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "51" - mltname: "Trunk #51" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "52" - mltname: "Trunk #52" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "53" - mltname: "Trunk #53" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "54" - mltname: "Trunk #54" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "55" - mltname: "Trunk #55" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "56" - mltname: "Trunk #56" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "57" - mltname: "Trunk #57" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "58" - mltname: "Trunk #58" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "59" - mltname: "Trunk #59" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "60" - mltname: "Trunk #60" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "61" - mltname: "Trunk #61" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "62" - mltname: "Trunk #62" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "63" - mltname: "Trunk #63" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" -- mltid: "64" - mltname: "Trunk #64" - mltactivemembers: "NONE" - mltinactivemembers: "NONE" - mltbpdu: "All" - mltmode: "Basic" - mltstatus: "Disabled" - mlttype: "" - mltlacpkey: "" diff --git a/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.yml b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.yml new file mode 100644 index 0000000000..508b301f1e --- /dev/null +++ b/tests/avaya_ers/show_mlt_all-members/avaya_ers_show_mlt_all-members_7000.yml @@ -0,0 +1,578 @@ +--- +parsed_sample: + - mltid: "1" + mltname: "IST" + mltactivemembers: "38-39" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Enabled" + mlttype: "Trunk" + mltlacpkey: "" + - mltid: "2" + mltname: "Trunk #2" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "3" + mltname: "Trunk #3" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "4" + mltname: "Trunk #4" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "5" + mltname: "Trunk #5" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "6" + mltname: "Trunk #6" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "7" + mltname: "Trunk #7" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "8" + mltname: "Trunk #8" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "9" + mltname: "Trunk #9" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "10" + mltname: "Trunk #10" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "11" + mltname: "Trunk #11" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "12" + mltname: "Trunk #12" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "13" + mltname: "Trunk #13" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "14" + mltname: "Trunk #14" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "15" + mltname: "Trunk #15" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "16" + mltname: "Trunk #16" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "17" + mltname: "Trunk #17" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "18" + mltname: "Trunk #18" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "19" + mltname: "Trunk #19" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "20" + mltname: "Trunk #20" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "21" + mltname: "Trunk #21" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "22" + mltname: "Trunk #22" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "23" + mltname: "Trunk #23" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "24" + mltname: "Trunk #24" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "25" + mltname: "Trunk #25" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "26" + mltname: "Trunk #26" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "27" + mltname: "Trunk #27" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "28" + mltname: "Trunk #28" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "29" + mltname: "Trunk #29" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "30" + mltname: "Trunk #30" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "31" + mltname: "Trunk #31" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "32" + mltname: "Trunk #32" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "33" + mltname: "Trunk #33" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "34" + mltname: "Trunk #34" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "35" + mltname: "Trunk #35" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "36" + mltname: "Trunk #36" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "37" + mltname: "Trunk #37" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "38" + mltname: "Trunk #38" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "39" + mltname: "Trunk #39" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "40" + mltname: "Trunk #40" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "41" + mltname: "Trunk #41" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "42" + mltname: "Trunk #42" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "43" + mltname: "Trunk #43" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "44" + mltname: "Trunk #44" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "45" + mltname: "Trunk #45" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "46" + mltname: "Trunk #46" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "47" + mltname: "Trunk #47" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "48" + mltname: "Trunk #48" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "49" + mltname: "Trunk #49" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "50" + mltname: "Trunk #50" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "51" + mltname: "Trunk #51" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "52" + mltname: "Trunk #52" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "53" + mltname: "Trunk #53" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "54" + mltname: "Trunk #54" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "55" + mltname: "Trunk #55" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "56" + mltname: "Trunk #56" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "57" + mltname: "Trunk #57" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "58" + mltname: "Trunk #58" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "59" + mltname: "Trunk #59" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "60" + mltname: "Trunk #60" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "61" + mltname: "Trunk #61" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "62" + mltname: "Trunk #62" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "63" + mltname: "Trunk #63" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" + - mltid: "64" + mltname: "Trunk #64" + mltactivemembers: "NONE" + mltinactivemembers: "NONE" + mltbpdu: "All" + mltmode: "Basic" + mltstatus: "Disabled" + mlttype: "" + mltlacpkey: "" diff --git a/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info.parsed b/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info.parsed deleted file mode 100644 index 56fe15c286..0000000000 --- a/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info.parsed +++ /dev/null @@ -1,28 +0,0 @@ ---- -parsed_sample: - -- operation_mode: 'Switch' - size_of_stack: '' - base_unit: '' - mac_address: '41-61-94-DA-54-30' - poe_module_fw: '4.1.0.4' - reset_count: '31' - last_reset_type: 'Power Cycle' - autotopology: 'Disabled' - base_unit_selection: 'Non-base unit using rear-panel switch' - serial_number: '12YJ464H117P' - operational_firmware: '5.8.0.3' - operational_software: 'v5.10.1.039' - installed_firmware: '5.8.0.3' - installed_software: 'v5.10.1.039' - operational_license: 'Base software' - installed_license: 'Base software' - sys_object_id: '1.3.6.1.4.1.45.3.78.2' - sys_up_time: '8 days, 11:47:39' - sys_ntp_time: '2016-07-03 23:45:16 GMT+00:00' - sys_services: '6' - sys_contact: '' - sys_name: 'SW1' - sys_location: '' - stack_sysassetid: '' - unit_sysassetid: '' diff --git a/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info.yml b/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info.yml new file mode 100644 index 0000000000..df53caeaf5 --- /dev/null +++ b/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - operation_mode: "Switch" + size_of_stack: "" + base_unit: "" + mac_address: "41-61-94-DA-54-30" + poe_module_fw: "4.1.0.4" + reset_count: "31" + last_reset_type: "Power Cycle" + autotopology: "Disabled" + base_unit_selection: "Non-base unit using rear-panel switch" + serial_number: "12YJ464H117P" + operational_firmware: "5.8.0.3" + operational_software: "v5.10.1.039" + installed_firmware: "5.8.0.3" + installed_software: "v5.10.1.039" + operational_license: "Base software" + installed_license: "Base software" + sys_object_id: "1.3.6.1.4.1.45.3.78.2" + sys_up_time: "8 days, 11:47:39" + sys_ntp_time: "2016-07-03 23:45:16 GMT+00:00" + sys_services: "6" + sys_contact: "" + sys_name: "SW1" + sys_location: "" + stack_sysassetid: "" + unit_sysassetid: "" diff --git a/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info1.parsed b/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info1.parsed deleted file mode 100644 index fee3b2c316..0000000000 --- a/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info1.parsed +++ /dev/null @@ -1,28 +0,0 @@ ---- -parsed_sample: - -- operation_mode: 'Stack, Unit # 1' - size_of_stack: '4' - base_unit: '1' - mac_address: 'FF-FF-FF-FF-FF-FF' - poe_module_fw: '4.1.0.4' - reset_count: '37' - last_reset_type: 'Power Cycle' - autotopology: 'Enabled' - base_unit_selection: 'Base unit using rear-panel switch' - serial_number: '1XXXXXXXXXXX' - operational_firmware: '5.3.0.6' - operational_software: 'v5.3.0.005' - installed_firmware: '5.3.0.6' - installed_software: 'v5.3.0.005' - operational_license: 'Base software' - installed_license: 'Base software' - sys_object_id: '1.3.6.1.4.1.45.3.80.8' - sys_up_time: '35 days, 07:24:53' - sys_ntp_time: '2015-10-21 20:26:44 GMT+00:00' - sys_services: '6' - sys_contact: 'sysContact' - sys_name: 'sysName' - sys_location: 'sysLocation' - stack_sysassetid: 'stackAssetID' - unit_sysassetid: 'unitAssetID' diff --git a/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info1.yml b/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info1.yml new file mode 100644 index 0000000000..3896f5a311 --- /dev/null +++ b/tests/avaya_ers/show_sys-info/avaya_ers_show_sys-info1.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - operation_mode: "Stack, Unit # 1" + size_of_stack: "4" + base_unit: "1" + mac_address: "FF-FF-FF-FF-FF-FF" + poe_module_fw: "4.1.0.4" + reset_count: "37" + last_reset_type: "Power Cycle" + autotopology: "Enabled" + base_unit_selection: "Base unit using rear-panel switch" + serial_number: "1XXXXXXXXXXX" + operational_firmware: "5.3.0.6" + operational_software: "v5.3.0.005" + installed_firmware: "5.3.0.6" + installed_software: "v5.3.0.005" + operational_license: "Base software" + installed_license: "Base software" + sys_object_id: "1.3.6.1.4.1.45.3.80.8" + sys_up_time: "35 days, 07:24:53" + sys_ntp_time: "2015-10-21 20:26:44 GMT+00:00" + sys_services: "6" + sys_contact: "sysContact" + sys_name: "sysName" + sys_location: "sysLocation" + stack_sysassetid: "stackAssetID" + unit_sysassetid: "unitAssetID" diff --git a/tests/avaya_ers/show_vlan/avaya_ers_show_vlan.parsed b/tests/avaya_ers/show_vlan/avaya_ers_show_vlan.parsed deleted file mode 100644 index 9756051ca5..0000000000 --- a/tests/avaya_ers/show_vlan/avaya_ers_show_vlan.parsed +++ /dev/null @@ -1,92 +0,0 @@ ---- -parsed_sample: - -- vlanid: '1' - vlanname: 'VLAN #1' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: [NONE] - -- vlanid: '2' - vlanname: 'Dead_VLAN' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: ['17-42,49-50'] - -- vlanid: '17' - vlanname: 'Network_Services' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: ['5-10,47'] - -- vlanid: '27' - vlanname: 'Lab_Mgmt' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'Yes' - vlanportmembers: ['1,11,13,16,43-46,48'] - -- vlanid: '47' - vlanname: 'IoT_Devices' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: ['14,48'] - -- vlanid: '300' - vlanname: 'Trusted Wifi' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: ['3-4,11-13,47'] - -- vlanid: '301' - vlanname: 'Untrusted Wifi' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: ['11,13,48'] - -- vlanid: '477' - vlanname: 'VM Environment' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: ['2,15,48'] - -- vlanid: '999' - vlanname: 'Native_VLAN' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: ['NONE'] diff --git a/tests/avaya_ers/show_vlan/avaya_ers_show_vlan.yml b/tests/avaya_ers/show_vlan/avaya_ers_show_vlan.yml new file mode 100644 index 0000000000..eda2ab0919 --- /dev/null +++ b/tests/avaya_ers/show_vlan/avaya_ers_show_vlan.yml @@ -0,0 +1,92 @@ +--- +parsed_sample: + - vlanid: "1" + vlanname: "VLAN #1" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "NONE" + - vlanid: "2" + vlanname: "Dead_VLAN" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "17-42,49-50" + - vlanid: "17" + vlanname: "Network_Services" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "5-10,47" + - vlanid: "27" + vlanname: "Lab_Mgmt" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "Yes" + vlanportmembers: + - "1,11,13,16,43-46,48" + - vlanid: "47" + vlanname: "IoT_Devices" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "14,48" + - vlanid: "300" + vlanname: "Trusted Wifi" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "3-4,11-13,47" + - vlanid: "301" + vlanname: "Untrusted Wifi" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "11,13,48" + - vlanid: "477" + vlanname: "VM Environment" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "2,15,48" + - vlanid: "999" + vlanname: "Native_VLAN" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "NONE" diff --git a/tests/avaya_ers/show_vlan/avaya_ers_show_vlan1.parsed b/tests/avaya_ers/show_vlan/avaya_ers_show_vlan1.parsed deleted file mode 100644 index 50d97c472c..0000000000 --- a/tests/avaya_ers/show_vlan/avaya_ers_show_vlan1.parsed +++ /dev/null @@ -1,52 +0,0 @@ ---- -parsed_sample: - -- vlanid: '1' - vlanname: 'Default' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: [NONE] - -- vlanid: '140' - vlanname: 'Housing' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: ['1/1,1/49,2/49'] - -- vlanid: '216' - vlanname: 'Res' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: ['1/2-8,1/10-19,1/21-26,1/28-45,1/48-49,2/1-6,2/9,2/11-15,', '2/17,2/19,2/21-42,2/44-49,3/1-17,3/19-20,3/23,3/25-26,', '3/28-29,3/32-39,3/41-43,3/45-47,3/49,4/1-3,4/11-45,', '4/47-49'] - -- vlanid: '305' - vlanname: 'NetManage' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'Yes' - vlanportmembers: ['1/49,2/49,4/46'] - -- vlanid: '329' - vlanname: 'AP' - vlantype: 'Port' - vlanprotocol: 'None' - vlanpid: '0x0000' - vlanactive: 'Yes' - vlanivlsvl: 'IVL' - vlanmgmt: 'No' - vlanportmembers: ['1/9,1/20,1/27,1/46-47,1/49,2/7-8,2/10,2/16,2/18,2/20,', '2/43,2/49,3/18,3/21-22,3/24,3/27,3/30-31,3/40,3/48,', '4/4-10'] diff --git a/tests/avaya_ers/show_vlan/avaya_ers_show_vlan1.yml b/tests/avaya_ers/show_vlan/avaya_ers_show_vlan1.yml new file mode 100644 index 0000000000..42341d027c --- /dev/null +++ b/tests/avaya_ers/show_vlan/avaya_ers_show_vlan1.yml @@ -0,0 +1,57 @@ +--- +parsed_sample: + - vlanid: "1" + vlanname: "Default" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "NONE" + - vlanid: "140" + vlanname: "Housing" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "1/1,1/49,2/49" + - vlanid: "216" + vlanname: "Res" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "1/2-8,1/10-19,1/21-26,1/28-45,1/48-49,2/1-6,2/9,2/11-15," + - "2/17,2/19,2/21-42,2/44-49,3/1-17,3/19-20,3/23,3/25-26," + - "3/28-29,3/32-39,3/41-43,3/45-47,3/49,4/1-3,4/11-45," + - "4/47-49" + - vlanid: "305" + vlanname: "NetManage" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "Yes" + vlanportmembers: + - "1/49,2/49,4/46" + - vlanid: "329" + vlanname: "AP" + vlantype: "Port" + vlanprotocol: "None" + vlanpid: "0x0000" + vlanactive: "Yes" + vlanivlsvl: "IVL" + vlanmgmt: "No" + vlanportmembers: + - "1/9,1/20,1/27,1/46-47,1/49,2/7-8,2/10,2/16,2/18,2/20," + - "2/43,2/49,3/18,3/21-22,3/24,3/27,3/30-31,3/40,3/48," + - "4/4-10" diff --git a/tests/avaya_vsp/show_software/avaya_vsp_show_software.parsed b/tests/avaya_vsp/show_software/avaya_vsp_show_software.yml similarity index 99% rename from tests/avaya_vsp/show_software/avaya_vsp_show_software.parsed rename to tests/avaya_vsp/show_software/avaya_vsp_show_software.yml index 3ee7206598..4e68f933f9 100644 --- a/tests/avaya_vsp/show_software/avaya_vsp_show_software.parsed +++ b/tests/avaya_vsp/show_software/avaya_vsp_show_software.yml @@ -1,6 +1,5 @@ --- parsed_sample: - - release_location: "/intflash/release/" backup_release: "VOSS8K.4.2.2.0.GA" primary_release: "VOSS8K.6.0.1.2.GA" diff --git a/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.parsed b/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.parsed deleted file mode 100644 index 26a4d45393..0000000000 --- a/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.parsed +++ /dev/null @@ -1,32 +0,0 @@ ---- -parsed_sample: -- protocol: "Internet" - ip_address: "10.51.250.70" - age: "94" - mac_address: "64f6.9d1e.a4bf" - type: "ARPA" - port: "Vlan10" -- protocol: "Internet" - ip_address: "10.51.250.120" - age: "-" - mac_address: "fc5b.394a.5a7f" - type: "ARPA" - port: "Vlan10" -- protocol: "Internet" - ip_address: "10.51.250.1" - age: "0" - mac_address: "0010.dbff.1002" - type: "ARPA" - port: "Vlan10" -- protocol: "Internet" - ip_address: "10.51.250.7" - age: "81" - mac_address: "046c.9d67.7746" - type: "ARPA" - port: "Vlan10" -- protocol: "Internet" - ip_address: "10.51.250.8" - age: "67" - mac_address: "9c57.ad1e.4b46" - type: "ARPA" - port: "Vlan10" diff --git a/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.yml b/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.yml new file mode 100644 index 0000000000..113bca5de8 --- /dev/null +++ b/tests/brocade_fastiron/show_arp/brocade_fastiron_show_arp.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - protocol: "Internet" + ip_address: "10.51.250.70" + age: "94" + mac_address: "64f6.9d1e.a4bf" + type: "ARPA" + port: "Vlan10" + - protocol: "Internet" + ip_address: "10.51.250.120" + age: "-" + mac_address: "fc5b.394a.5a7f" + type: "ARPA" + port: "Vlan10" + - protocol: "Internet" + ip_address: "10.51.250.1" + age: "0" + mac_address: "0010.dbff.1002" + type: "ARPA" + port: "Vlan10" + - protocol: "Internet" + ip_address: "10.51.250.7" + age: "81" + mac_address: "046c.9d67.7746" + type: "ARPA" + port: "Vlan10" + - protocol: "Internet" + ip_address: "10.51.250.8" + age: "67" + mac_address: "9c57.ad1e.4b46" + type: "ARPA" + port: "Vlan10" diff --git a/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces.parsed b/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces.parsed deleted file mode 100644 index 2472ed2f11..0000000000 --- a/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces.parsed +++ /dev/null @@ -1,1827 +0,0 @@ ---- -parsed_sample: - -- interface: 'GigabitEthernet1' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2000' - bia: '001b.ed6b.2000' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '33' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'to MLX1-CLMAMOFW e2/2' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '36132912' - inputpacketssec: '7764' - inputpercentutilization: '3.73' - outputbitssec: '81419992' - outputpacketssec: '10603' - outputpercentutilization: '8.30' - inputpacketstotal: '1062555728308' - inputbytestotal: '765022677409544' - inputnobuffers: '0' - inputbroadcasts: '2859573621' - inputmulticasts: '859758753' - inputunicasts: '1058836395934' - inputerrors: '8' - inputcrcerrors: '1' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '1011812222301' - outputbytestotal: '722190810166867' - outputunderruns: '0' - outputbroadcasts: '8889886882' - outputmulticasts: '3251477712' - outputunicasts: '999670857707' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet2' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2001' - bia: '001b.ed6b.2001' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'dual' - untaggedvlan: '1' - numtaggedvlans: '102' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'switch1b-3' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '146823488' - inputpacketssec: '28327' - inputpercentutilization: '15.13' - outputbitssec: '141339864' - outputpacketssec: '26502' - outputpercentutilization: '14.55' - inputpacketstotal: '5491087012866' - inputbytestotal: '3457816108549760' - inputnobuffers: '0' - inputbroadcasts: '12860884133' - inputmulticasts: '8441893951' - inputunicasts: '5469784234782' - inputerrors: '2' - inputcrcerrors: '1' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '5813899509422' - outputbytestotal: '4120086470555896' - outputunderruns: '0' - outputbroadcasts: '18098146569' - outputmulticasts: '6209711839' - outputunicasts: '5789591651014' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet3' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2002' - bia: '001b.ed6b.2002' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '33390937805' - inputbytestotal: '24077492513601' - inputnobuffers: '0' - inputbroadcasts: '17757401' - inputmulticasts: '159518105' - inputunicasts: '33213662299' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '397596845452' - outputbytestotal: '196556265907165' - outputunderruns: '0' - outputbroadcasts: '88287163' - outputmulticasts: '1149908125' - outputunicasts: '396358650164' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet4' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2003' - bia: '001b.ed6b.2003' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '2033' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'Boyce' - l2mtubytes: '10240' - loadinterval: '30' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '17293294617' - inputbytestotal: '6427258200678' - inputnobuffers: '0' - inputbroadcasts: '559796' - inputmulticasts: '44454276' - inputunicasts: '17248280545' - inputerrors: '6' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '16334048713' - outputbytestotal: '7618482738879' - outputunderruns: '0' - outputbroadcasts: '38137232' - outputmulticasts: '276213' - outputunicasts: '16295635268' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet5' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2004' - bia: '001b.ed6b.2004' - confspeed: '100Mbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '136280016' - inputbytestotal: '22867608813' - inputnobuffers: '0' - inputbroadcasts: '52700' - inputmulticasts: '2376874' - inputunicasts: '133850442' - inputerrors: '50639' - inputcrcerrors: '16113' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '378915648' - outputbytestotal: '39836205125' - outputunderruns: '0' - outputbroadcasts: '4375536' - outputmulticasts: '363833' - outputunicasts: '374176279' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet6' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2005' - bia: '001b.ed6b.2005' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10240' - loadinterval: '30' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '365382054' - inputbytestotal: '66047121122' - inputnobuffers: '0' - inputbroadcasts: '618017' - inputmulticasts: '8237' - inputunicasts: '364755800' - inputerrors: '1352100' - inputcrcerrors: '486478' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '118120992828' - outputbytestotal: '26874943907634' - outputunderruns: '0' - outputbroadcasts: '38604580' - outputmulticasts: '33427120' - outputunicasts: '118048961128' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet7' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2006' - bia: '001b.ed6b.2006' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '1' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'ms1a (4B-7)' - l2mtubytes: '10240' - loadinterval: '30' - inputbitssec: '95952' - inputpacketssec: '134' - inputpercentutilization: '0.00' - outputbitssec: '3006184' - outputpacketssec: '403' - outputpercentutilization: '0.30' - inputpacketstotal: '224220415361' - inputbytestotal: '273827759119157' - inputnobuffers: '0' - inputbroadcasts: '208722' - inputmulticasts: '277126' - inputunicasts: '224219929513' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '196413848432' - outputbytestotal: '60402291469127' - outputunderruns: '0' - outputbroadcasts: '5149342419' - outputmulticasts: '432774605' - outputunicasts: '190831731408' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet8' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2007' - bia: '001b.ed6b.2007' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '1866090726' - inputbytestotal: '1347732480937' - inputnobuffers: '0' - inputbroadcasts: '4921358' - inputmulticasts: '4074011' - inputunicasts: '1857095357' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '33026732592' - outputbytestotal: '9461647968648' - outputunderruns: '0' - outputbroadcasts: '811305665' - outputmulticasts: '359636667' - outputunicasts: '31855790260' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet9' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2008' - bia: '001b.ed6b.2008' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '450' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'warehouse1' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '27576' - inputpacketssec: '3' - inputpercentutilization: '0.00' - outputbitssec: '47872' - outputpacketssec: '74' - outputpercentutilization: '0.00' - inputpacketstotal: '59426196640' - inputbytestotal: '80817825988147' - inputnobuffers: '0' - inputbroadcasts: '1997812' - inputmulticasts: '444136' - inputunicasts: '59423754692' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '34732344432' - outputbytestotal: '3429657691197' - outputunderruns: '0' - outputbroadcasts: '5967219873' - outputmulticasts: '704148686' - outputunicasts: '28060975873' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet10' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2009' - bia: '001b.ed6b.2009' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '152' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'enabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'sbc1.voip.sockettelecom.com-VoIP' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '42858536' - inputpacketssec: '24456' - inputpercentutilization: '4.67' - outputbitssec: '43002584' - outputpacketssec: '24589' - outputpercentutilization: '4.68' - inputpacketstotal: '434184856717' - inputbytestotal: '95128491268061' - inputnobuffers: '0' - inputbroadcasts: '7297822' - inputmulticasts: '238122' - inputunicasts: '434177320773' - inputerrors: '106' - inputcrcerrors: '38' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '437616203913' - outputbytestotal: '95510650536391' - outputunderruns: '0' - outputbroadcasts: '50386350' - outputmulticasts: '50385910' - outputunicasts: '437515431653' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet11' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.200a' - bia: '001b.ed6b.200a' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'dual' - untaggedvlan: '1' - numtaggedvlans: '69' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'OPTI1-MS13-1 to XO' - l2mtubytes: '10240' - loadinterval: '30' - inputbitssec: '251200424' - inputpacketssec: '86193' - inputpercentutilization: '26.49' - outputbitssec: '229451128' - outputpacketssec: '86435' - outputpercentutilization: '24.32' - inputpacketstotal: '5873913848979' - inputbytestotal: '3442283177781007' - inputnobuffers: '0' - inputbroadcasts: '13369699781' - inputmulticasts: '5083498868' - inputunicasts: '5855460650330' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '6089793610508' - outputbytestotal: '3506587229877936' - outputunderruns: '0' - outputbroadcasts: '5852894414' - outputmulticasts: '5681533710' - outputunicasts: '6078259182384' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet12' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.200b' - bia: '001b.ed6b.200b' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '57522699855' - inputbytestotal: '24508739775548' - inputnobuffers: '0' - inputbroadcasts: '5443757' - inputmulticasts: '1560252' - inputunicasts: '57515695846' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '44453437300' - outputbytestotal: '10271900455982' - outputunderruns: '0' - outputbroadcasts: '18130416' - outputmulticasts: '5920878' - outputunicasts: '44429386006' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet13' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.200c' - bia: '001b.ed6b.200c' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '574462764093' - inputbytestotal: '402613835806904' - inputnobuffers: '0' - inputbroadcasts: '25702257' - inputmulticasts: '218863600' - inputunicasts: '574218198236' - inputerrors: '4' - inputcrcerrors: '2' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '307428412392' - outputbytestotal: '123203150572196' - outputunderruns: '0' - outputbroadcasts: '148790455' - outputmulticasts: '1158554078' - outputunicasts: '306121067859' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet14' - intstate: 'down' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.200d' - bia: '001b.ed6b.200d' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'SocketVoIP-DBS1' - l2mtubytes: '10240' - loadinterval: '30' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '4007809813' - inputbytestotal: '2598671668225' - inputnobuffers: '0' - inputbroadcasts: '732505' - inputmulticasts: '796397' - inputunicasts: '4006280911' - inputerrors: '61' - inputcrcerrors: '30' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '4281434344' - outputbytestotal: '3069521551725' - outputunderruns: '0' - outputbroadcasts: '35488631' - outputmulticasts: '7395902' - outputunicasts: '4238549811' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet15' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.200e' - bia: '001b.ed6b.200e' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '425136597160' - inputbytestotal: '224837228841386' - inputnobuffers: '0' - inputbroadcasts: '1784872332' - inputmulticasts: '14229303' - inputunicasts: '423337495525' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '67426866239' - outputbytestotal: '56310572280892' - outputunderruns: '0' - outputbroadcasts: '1195449599' - outputmulticasts: '636407794' - outputunicasts: '65595008846' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet16' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.200f' - bia: '001b.ed6b.200f' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '149' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'enabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'sbc1.voip.sockettelecom.com-Public' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '56531256' - inputpacketssec: '32360' - inputpercentutilization: '6.16' - outputbitssec: '56512912' - outputpacketssec: '32356' - outputpercentutilization: '6.16' - inputpacketstotal: '524015863289' - inputbytestotal: '116094187547734' - inputnobuffers: '0' - inputbroadcasts: '53833717' - inputmulticasts: '238134' - inputunicasts: '523961791438' - inputerrors: '42' - inputcrcerrors: '17' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '523743357542' - outputbytestotal: '115906867765047' - outputunderruns: '0' - outputbroadcasts: '183579591' - outputmulticasts: '46484853' - outputunicasts: '523513293098' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet17' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2010' - bia: '001b.ed6b.2010' - confspeed: '100Mbit' - confduplex: 'fdx' - actualspeed: '100Mbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '2277' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'Memory Book INET' - l2mtubytes: '10240' - loadinterval: '30' - inputbitssec: '163104' - inputpacketssec: '287' - inputpercentutilization: '0.20' - outputbitssec: '6878392' - outputpacketssec: '590' - outputpercentutilization: '6.96' - inputpacketstotal: '67457723991' - inputbytestotal: '65859234276036' - inputnobuffers: '0' - inputbroadcasts: '696887484' - inputmulticasts: '294342200' - inputunicasts: '66466494307' - inputerrors: '550394678' - inputcrcerrors: '97937713' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '51840520968' - outputbytestotal: '27141276257128' - outputunderruns: '0' - outputbroadcasts: '20614211' - outputmulticasts: '1422508' - outputunicasts: '51818484249' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet18' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2011' - bia: '001b.ed6b.2011' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'enabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'voipmon1-p1p2 ' - l2mtubytes: '10240' - loadinterval: '30' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '214333840' - outputpacketssec: '120313' - outputpercentutilization: '23.35' - inputpacketstotal: '47421168960' - inputbytestotal: '21330444001424' - inputnobuffers: '0' - inputbroadcasts: '11319269' - inputmulticasts: '100537' - inputunicasts: '47409749154' - inputerrors: '14' - inputcrcerrors: '6' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '1381311191190' - outputbytestotal: '366733951388972' - outputunderruns: '0' - outputbroadcasts: '1026021322' - outputmulticasts: '434328968' - outputunicasts: '1379850840900' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet19' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2012' - bia: '001b.ed6b.2012' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '1' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'vmail1.voip' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '818984' - inputpacketssec: '88' - inputpercentutilization: '0.07' - outputbitssec: '129120' - outputpacketssec: '54' - outputpercentutilization: '0.01' - inputpacketstotal: '17243558469' - inputbytestotal: '22434976239119' - inputnobuffers: '0' - inputbroadcasts: '143775' - inputmulticasts: '234508' - inputunicasts: '17243180186' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '9809188575' - outputbytestotal: '2060714655702' - outputunderruns: '0' - outputbroadcasts: '42232043' - outputmulticasts: '8108467' - outputunicasts: '9758848065' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet20' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2013' - bia: '001b.ed6b.2013' - confspeed: '100Mbit' - confduplex: 'fdx' - actualspeed: '100Mbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '152' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'VoIP-ASA-Internal' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '604816' - inputpacketssec: '96' - inputpercentutilization: '0.61' - outputbitssec: '381696' - outputpacketssec: '93' - outputpercentutilization: '0.39' - inputpacketstotal: '19358089965' - inputbytestotal: '5913888345210' - inputnobuffers: '0' - inputbroadcasts: '142540' - inputmulticasts: '14939793' - inputunicasts: '19343007632' - inputerrors: '2' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '31825930639' - outputbytestotal: '38028095856602' - outputunderruns: '0' - outputbroadcasts: '58935076' - outputmulticasts: '36437328' - outputunicasts: '31730558235' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet21' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2014' - bia: '001b.ed6b.2014' - confspeed: '100Mbit' - confduplex: 'fdx' - actualspeed: '100Mbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '149' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'VoIP-ASA-External' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '381296' - inputpacketssec: '93' - inputpercentutilization: '0.39' - outputbitssec: '607304' - outputpacketssec: '100' - outputpercentutilization: '0.61' - inputpacketstotal: '31736519059' - inputbytestotal: '38022380885593' - inputnobuffers: '0' - inputbroadcasts: '22277' - inputmulticasts: '0' - inputunicasts: '31736496782' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '19672648738' - outputbytestotal: '5937049134598' - outputunderruns: '0' - outputbroadcasts: '241311821' - outputmulticasts: '47443808' - outputunicasts: '19383893109' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet22' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2015' - bia: '001b.ed6b.2015' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '1' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'md1a (2B-1)' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '5098944' - inputpacketssec: '715' - inputpercentutilization: '0.51' - outputbitssec: '5116928' - outputpacketssec: '976' - outputpercentutilization: '0.52' - inputpacketstotal: '68111921559' - inputbytestotal: '75022095965149' - inputnobuffers: '0' - inputbroadcasts: '60304' - inputmulticasts: '277247' - inputunicasts: '68111584008' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '118435866121' - outputbytestotal: '44194584961407' - outputunderruns: '0' - outputbroadcasts: '5149570277' - outputmulticasts: '432776444' - outputunicasts: '112853519400' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet23' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2016' - bia: '001b.ed6b.2016' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'dual' - untaggedvlan: '1' - numtaggedvlans: '16' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'MPLSPPP1-G0/1' - l2mtubytes: '10240' - loadinterval: '300' - inputbitssec: '22374504' - inputpacketssec: '3857' - inputpercentutilization: '2.29' - outputbitssec: '22465040' - outputpacketssec: '3866' - outputpercentutilization: '2.30' - inputpacketstotal: '41020960466' - inputbytestotal: '23447533535742' - inputnobuffers: '0' - inputbroadcasts: '9510500' - inputmulticasts: '263946197' - inputunicasts: '40747503769' - inputerrors: '38' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '39448761031' - outputbytestotal: '24063276149536' - outputunderruns: '0' - outputbroadcasts: '369728855' - outputmulticasts: '1376474576' - outputunicasts: '37702557600' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - -- interface: 'GigabitEthernet24' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: '001b.ed6b.2017' - bia: '001b.ed6b.2017' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '100Mbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '450' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'Socket Office MPLS' - l2mtubytes: '10240' - loadinterval: '30' - inputbitssec: '8504' - inputpacketssec: '3' - inputpercentutilization: '0.00' - outputbitssec: '64928' - outputpacketssec: '108' - outputpercentutilization: '0.07' - inputpacketstotal: '1819852606' - inputbytestotal: '434041256645' - inputnobuffers: '0' - inputbroadcasts: '34' - inputmulticasts: '2546245' - inputunicasts: '1817306327' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '9148279772' - outputbytestotal: '3489842845205' - outputunderruns: '0' - outputbroadcasts: '5954167784' - outputmulticasts: '678793901' - outputunicasts: '2515318087' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - diff --git a/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces.yml b/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces.yml new file mode 100644 index 0000000000..cb13819521 --- /dev/null +++ b/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces.yml @@ -0,0 +1,1802 @@ +--- +parsed_sample: + - interface: "GigabitEthernet1" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2000" + bia: "001b.ed6b.2000" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "33" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "to MLX1-CLMAMOFW e2/2" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "36132912" + inputpacketssec: "7764" + inputpercentutilization: "3.73" + outputbitssec: "81419992" + outputpacketssec: "10603" + outputpercentutilization: "8.30" + inputpacketstotal: "1062555728308" + inputbytestotal: "765022677409544" + inputnobuffers: "0" + inputbroadcasts: "2859573621" + inputmulticasts: "859758753" + inputunicasts: "1058836395934" + inputerrors: "8" + inputcrcerrors: "1" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "1011812222301" + outputbytestotal: "722190810166867" + outputunderruns: "0" + outputbroadcasts: "8889886882" + outputmulticasts: "3251477712" + outputunicasts: "999670857707" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet2" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2001" + bia: "001b.ed6b.2001" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "dual" + untaggedvlan: "1" + numtaggedvlans: "102" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "switch1b-3" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "146823488" + inputpacketssec: "28327" + inputpercentutilization: "15.13" + outputbitssec: "141339864" + outputpacketssec: "26502" + outputpercentutilization: "14.55" + inputpacketstotal: "5491087012866" + inputbytestotal: "3457816108549760" + inputnobuffers: "0" + inputbroadcasts: "12860884133" + inputmulticasts: "8441893951" + inputunicasts: "5469784234782" + inputerrors: "2" + inputcrcerrors: "1" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "5813899509422" + outputbytestotal: "4120086470555896" + outputunderruns: "0" + outputbroadcasts: "18098146569" + outputmulticasts: "6209711839" + outputunicasts: "5789591651014" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet3" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2002" + bia: "001b.ed6b.2002" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "33390937805" + inputbytestotal: "24077492513601" + inputnobuffers: "0" + inputbroadcasts: "17757401" + inputmulticasts: "159518105" + inputunicasts: "33213662299" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "397596845452" + outputbytestotal: "196556265907165" + outputunderruns: "0" + outputbroadcasts: "88287163" + outputmulticasts: "1149908125" + outputunicasts: "396358650164" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet4" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2003" + bia: "001b.ed6b.2003" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "2033" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "Boyce" + l2mtubytes: "10240" + loadinterval: "30" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "17293294617" + inputbytestotal: "6427258200678" + inputnobuffers: "0" + inputbroadcasts: "559796" + inputmulticasts: "44454276" + inputunicasts: "17248280545" + inputerrors: "6" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "16334048713" + outputbytestotal: "7618482738879" + outputunderruns: "0" + outputbroadcasts: "38137232" + outputmulticasts: "276213" + outputunicasts: "16295635268" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet5" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2004" + bia: "001b.ed6b.2004" + confspeed: "100Mbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "136280016" + inputbytestotal: "22867608813" + inputnobuffers: "0" + inputbroadcasts: "52700" + inputmulticasts: "2376874" + inputunicasts: "133850442" + inputerrors: "50639" + inputcrcerrors: "16113" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "378915648" + outputbytestotal: "39836205125" + outputunderruns: "0" + outputbroadcasts: "4375536" + outputmulticasts: "363833" + outputunicasts: "374176279" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet6" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2005" + bia: "001b.ed6b.2005" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10240" + loadinterval: "30" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "365382054" + inputbytestotal: "66047121122" + inputnobuffers: "0" + inputbroadcasts: "618017" + inputmulticasts: "8237" + inputunicasts: "364755800" + inputerrors: "1352100" + inputcrcerrors: "486478" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "118120992828" + outputbytestotal: "26874943907634" + outputunderruns: "0" + outputbroadcasts: "38604580" + outputmulticasts: "33427120" + outputunicasts: "118048961128" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet7" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2006" + bia: "001b.ed6b.2006" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "1" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "ms1a (4B-7)" + l2mtubytes: "10240" + loadinterval: "30" + inputbitssec: "95952" + inputpacketssec: "134" + inputpercentutilization: "0.00" + outputbitssec: "3006184" + outputpacketssec: "403" + outputpercentutilization: "0.30" + inputpacketstotal: "224220415361" + inputbytestotal: "273827759119157" + inputnobuffers: "0" + inputbroadcasts: "208722" + inputmulticasts: "277126" + inputunicasts: "224219929513" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "196413848432" + outputbytestotal: "60402291469127" + outputunderruns: "0" + outputbroadcasts: "5149342419" + outputmulticasts: "432774605" + outputunicasts: "190831731408" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet8" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2007" + bia: "001b.ed6b.2007" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "1866090726" + inputbytestotal: "1347732480937" + inputnobuffers: "0" + inputbroadcasts: "4921358" + inputmulticasts: "4074011" + inputunicasts: "1857095357" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "33026732592" + outputbytestotal: "9461647968648" + outputunderruns: "0" + outputbroadcasts: "811305665" + outputmulticasts: "359636667" + outputunicasts: "31855790260" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet9" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2008" + bia: "001b.ed6b.2008" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "450" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "warehouse1" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "27576" + inputpacketssec: "3" + inputpercentutilization: "0.00" + outputbitssec: "47872" + outputpacketssec: "74" + outputpercentutilization: "0.00" + inputpacketstotal: "59426196640" + inputbytestotal: "80817825988147" + inputnobuffers: "0" + inputbroadcasts: "1997812" + inputmulticasts: "444136" + inputunicasts: "59423754692" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "34732344432" + outputbytestotal: "3429657691197" + outputunderruns: "0" + outputbroadcasts: "5967219873" + outputmulticasts: "704148686" + outputunicasts: "28060975873" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet10" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2009" + bia: "001b.ed6b.2009" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "152" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "enabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "sbc1.voip.sockettelecom.com-VoIP" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "42858536" + inputpacketssec: "24456" + inputpercentutilization: "4.67" + outputbitssec: "43002584" + outputpacketssec: "24589" + outputpercentutilization: "4.68" + inputpacketstotal: "434184856717" + inputbytestotal: "95128491268061" + inputnobuffers: "0" + inputbroadcasts: "7297822" + inputmulticasts: "238122" + inputunicasts: "434177320773" + inputerrors: "106" + inputcrcerrors: "38" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "437616203913" + outputbytestotal: "95510650536391" + outputunderruns: "0" + outputbroadcasts: "50386350" + outputmulticasts: "50385910" + outputunicasts: "437515431653" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet11" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.200a" + bia: "001b.ed6b.200a" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "dual" + untaggedvlan: "1" + numtaggedvlans: "69" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "OPTI1-MS13-1 to XO" + l2mtubytes: "10240" + loadinterval: "30" + inputbitssec: "251200424" + inputpacketssec: "86193" + inputpercentutilization: "26.49" + outputbitssec: "229451128" + outputpacketssec: "86435" + outputpercentutilization: "24.32" + inputpacketstotal: "5873913848979" + inputbytestotal: "3442283177781007" + inputnobuffers: "0" + inputbroadcasts: "13369699781" + inputmulticasts: "5083498868" + inputunicasts: "5855460650330" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "6089793610508" + outputbytestotal: "3506587229877936" + outputunderruns: "0" + outputbroadcasts: "5852894414" + outputmulticasts: "5681533710" + outputunicasts: "6078259182384" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet12" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.200b" + bia: "001b.ed6b.200b" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "57522699855" + inputbytestotal: "24508739775548" + inputnobuffers: "0" + inputbroadcasts: "5443757" + inputmulticasts: "1560252" + inputunicasts: "57515695846" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "44453437300" + outputbytestotal: "10271900455982" + outputunderruns: "0" + outputbroadcasts: "18130416" + outputmulticasts: "5920878" + outputunicasts: "44429386006" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet13" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.200c" + bia: "001b.ed6b.200c" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "574462764093" + inputbytestotal: "402613835806904" + inputnobuffers: "0" + inputbroadcasts: "25702257" + inputmulticasts: "218863600" + inputunicasts: "574218198236" + inputerrors: "4" + inputcrcerrors: "2" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "307428412392" + outputbytestotal: "123203150572196" + outputunderruns: "0" + outputbroadcasts: "148790455" + outputmulticasts: "1158554078" + outputunicasts: "306121067859" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet14" + intstate: "down" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.200d" + bia: "001b.ed6b.200d" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "SocketVoIP-DBS1" + l2mtubytes: "10240" + loadinterval: "30" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "4007809813" + inputbytestotal: "2598671668225" + inputnobuffers: "0" + inputbroadcasts: "732505" + inputmulticasts: "796397" + inputunicasts: "4006280911" + inputerrors: "61" + inputcrcerrors: "30" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "4281434344" + outputbytestotal: "3069521551725" + outputunderruns: "0" + outputbroadcasts: "35488631" + outputmulticasts: "7395902" + outputunicasts: "4238549811" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet15" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.200e" + bia: "001b.ed6b.200e" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "425136597160" + inputbytestotal: "224837228841386" + inputnobuffers: "0" + inputbroadcasts: "1784872332" + inputmulticasts: "14229303" + inputunicasts: "423337495525" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "67426866239" + outputbytestotal: "56310572280892" + outputunderruns: "0" + outputbroadcasts: "1195449599" + outputmulticasts: "636407794" + outputunicasts: "65595008846" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet16" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.200f" + bia: "001b.ed6b.200f" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "149" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "enabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "sbc1.voip.sockettelecom.com-Public" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "56531256" + inputpacketssec: "32360" + inputpercentutilization: "6.16" + outputbitssec: "56512912" + outputpacketssec: "32356" + outputpercentutilization: "6.16" + inputpacketstotal: "524015863289" + inputbytestotal: "116094187547734" + inputnobuffers: "0" + inputbroadcasts: "53833717" + inputmulticasts: "238134" + inputunicasts: "523961791438" + inputerrors: "42" + inputcrcerrors: "17" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "523743357542" + outputbytestotal: "115906867765047" + outputunderruns: "0" + outputbroadcasts: "183579591" + outputmulticasts: "46484853" + outputunicasts: "523513293098" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet17" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2010" + bia: "001b.ed6b.2010" + confspeed: "100Mbit" + confduplex: "fdx" + actualspeed: "100Mbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "2277" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "Memory Book INET" + l2mtubytes: "10240" + loadinterval: "30" + inputbitssec: "163104" + inputpacketssec: "287" + inputpercentutilization: "0.20" + outputbitssec: "6878392" + outputpacketssec: "590" + outputpercentutilization: "6.96" + inputpacketstotal: "67457723991" + inputbytestotal: "65859234276036" + inputnobuffers: "0" + inputbroadcasts: "696887484" + inputmulticasts: "294342200" + inputunicasts: "66466494307" + inputerrors: "550394678" + inputcrcerrors: "97937713" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "51840520968" + outputbytestotal: "27141276257128" + outputunderruns: "0" + outputbroadcasts: "20614211" + outputmulticasts: "1422508" + outputunicasts: "51818484249" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet18" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2011" + bia: "001b.ed6b.2011" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "enabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "voipmon1-p1p2 " + l2mtubytes: "10240" + loadinterval: "30" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "214333840" + outputpacketssec: "120313" + outputpercentutilization: "23.35" + inputpacketstotal: "47421168960" + inputbytestotal: "21330444001424" + inputnobuffers: "0" + inputbroadcasts: "11319269" + inputmulticasts: "100537" + inputunicasts: "47409749154" + inputerrors: "14" + inputcrcerrors: "6" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "1381311191190" + outputbytestotal: "366733951388972" + outputunderruns: "0" + outputbroadcasts: "1026021322" + outputmulticasts: "434328968" + outputunicasts: "1379850840900" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet19" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2012" + bia: "001b.ed6b.2012" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "1" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "vmail1.voip" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "818984" + inputpacketssec: "88" + inputpercentutilization: "0.07" + outputbitssec: "129120" + outputpacketssec: "54" + outputpercentutilization: "0.01" + inputpacketstotal: "17243558469" + inputbytestotal: "22434976239119" + inputnobuffers: "0" + inputbroadcasts: "143775" + inputmulticasts: "234508" + inputunicasts: "17243180186" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "9809188575" + outputbytestotal: "2060714655702" + outputunderruns: "0" + outputbroadcasts: "42232043" + outputmulticasts: "8108467" + outputunicasts: "9758848065" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet20" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2013" + bia: "001b.ed6b.2013" + confspeed: "100Mbit" + confduplex: "fdx" + actualspeed: "100Mbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "152" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "VoIP-ASA-Internal" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "604816" + inputpacketssec: "96" + inputpercentutilization: "0.61" + outputbitssec: "381696" + outputpacketssec: "93" + outputpercentutilization: "0.39" + inputpacketstotal: "19358089965" + inputbytestotal: "5913888345210" + inputnobuffers: "0" + inputbroadcasts: "142540" + inputmulticasts: "14939793" + inputunicasts: "19343007632" + inputerrors: "2" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "31825930639" + outputbytestotal: "38028095856602" + outputunderruns: "0" + outputbroadcasts: "58935076" + outputmulticasts: "36437328" + outputunicasts: "31730558235" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet21" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2014" + bia: "001b.ed6b.2014" + confspeed: "100Mbit" + confduplex: "fdx" + actualspeed: "100Mbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "149" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "VoIP-ASA-External" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "381296" + inputpacketssec: "93" + inputpercentutilization: "0.39" + outputbitssec: "607304" + outputpacketssec: "100" + outputpercentutilization: "0.61" + inputpacketstotal: "31736519059" + inputbytestotal: "38022380885593" + inputnobuffers: "0" + inputbroadcasts: "22277" + inputmulticasts: "0" + inputunicasts: "31736496782" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "19672648738" + outputbytestotal: "5937049134598" + outputunderruns: "0" + outputbroadcasts: "241311821" + outputmulticasts: "47443808" + outputunicasts: "19383893109" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet22" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2015" + bia: "001b.ed6b.2015" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "1" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "md1a (2B-1)" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "5098944" + inputpacketssec: "715" + inputpercentutilization: "0.51" + outputbitssec: "5116928" + outputpacketssec: "976" + outputpercentutilization: "0.52" + inputpacketstotal: "68111921559" + inputbytestotal: "75022095965149" + inputnobuffers: "0" + inputbroadcasts: "60304" + inputmulticasts: "277247" + inputunicasts: "68111584008" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "118435866121" + outputbytestotal: "44194584961407" + outputunderruns: "0" + outputbroadcasts: "5149570277" + outputmulticasts: "432776444" + outputunicasts: "112853519400" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet23" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2016" + bia: "001b.ed6b.2016" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "dual" + untaggedvlan: "1" + numtaggedvlans: "16" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "MPLSPPP1-G0/1" + l2mtubytes: "10240" + loadinterval: "300" + inputbitssec: "22374504" + inputpacketssec: "3857" + inputpercentutilization: "2.29" + outputbitssec: "22465040" + outputpacketssec: "3866" + outputpercentutilization: "2.30" + inputpacketstotal: "41020960466" + inputbytestotal: "23447533535742" + inputnobuffers: "0" + inputbroadcasts: "9510500" + inputmulticasts: "263946197" + inputunicasts: "40747503769" + inputerrors: "38" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "39448761031" + outputbytestotal: "24063276149536" + outputunderruns: "0" + outputbroadcasts: "369728855" + outputmulticasts: "1376474576" + outputunicasts: "37702557600" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" + - interface: "GigabitEthernet24" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "001b.ed6b.2017" + bia: "001b.ed6b.2017" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "100Mbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "450" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "Socket Office MPLS" + l2mtubytes: "10240" + loadinterval: "30" + inputbitssec: "8504" + inputpacketssec: "3" + inputpercentutilization: "0.00" + outputbitssec: "64928" + outputpacketssec: "108" + outputpercentutilization: "0.07" + inputpacketstotal: "1819852606" + inputbytestotal: "434041256645" + inputnobuffers: "0" + inputbroadcasts: "34" + inputmulticasts: "2546245" + inputunicasts: "1817306327" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "9148279772" + outputbytestotal: "3489842845205" + outputunderruns: "0" + outputbroadcasts: "5954167784" + outputmulticasts: "678793901" + outputunicasts: "2515318087" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" diff --git a/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces1.parsed b/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces1.parsed deleted file mode 100644 index 068a391ec7..0000000000 --- a/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces1.parsed +++ /dev/null @@ -1,6463 +0,0 @@ ---- -parsed_sample: - -- interface: 'GigabitEthernet1/1/1' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.015e' - bia: 'cc4e.2415.015e' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'to switch1a-xr e8' - l2mtubytes: '10200' - loadinterval: '30' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/2' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.015f' - bia: 'cc4e.2415.015f' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '9' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'TA5000A-SMA' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '7572136' - inputpacketssec: '7471' - inputpercentutilization: '0.87' - outputbitssec: '152034064' - outputpacketssec: '13938' - outputpercentutilization: '15.39' - inputpacketstotal: '8125585298' - inputbytestotal: '1202345487881' - inputnobuffers: '0' - inputbroadcasts: '1177524' - inputmulticasts: '2165361' - inputunicasts: '8122242413' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '14036563396' - outputbytestotal: '18737121539937' - outputunderruns: '0' - outputbroadcasts: '37561476' - outputmulticasts: '1962553' - outputunicasts: '13997039367' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '1009912997' - queue0dropped: '84452' - queue1queued: '209985394' - queue1dropped: '0' - queue2queued: '435533134' - queue2dropped: '7527' - queue3queued: '4242004' - queue3dropped: '95' - queue4queued: '249040' - queue4dropped: '0' - queue5queued: '26155207' - queue5dropped: '0' - queue6queued: '2454646' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/3' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0160' - bia: 'cc4e.2415.0160' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'none' - actualduplex: 'none' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '10' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'TA3KA-MGMT' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '117966' - inputbytestotal: '11790675' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '117966' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '666152' - outputbytestotal: '170171170' - outputunderruns: '0' - outputbroadcasts: '324249' - outputmulticasts: '229249' - outputunicasts: '112654' - outputerrors: '0' - outputcollisions: '136' - relayagentinfo: 'Disabled' - queue0queued: '436874' - queue0dropped: '0' - queue1queued: '8376' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '28' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '220874' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/4' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0161' - bia: 'cc4e.2415.0161' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '10Mbit' - actualduplex: 'hdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '10' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'TA5K-MGMT' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '512' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '1600' - outputpacketssec: '1' - outputpercentutilization: '0.01' - inputpacketstotal: '972928' - inputbytestotal: '112771188' - inputnobuffers: '0' - inputbroadcasts: '4' - inputmulticasts: '0' - inputunicasts: '972924' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '1469751' - outputbytestotal: '235322246' - outputunderruns: '0' - outputbroadcasts: '324245' - outputmulticasts: '229249' - outputunicasts: '916257' - outputerrors: '0' - outputcollisions: '555' - relayagentinfo: 'Disabled' - queue0queued: '1240471' - queue0dropped: '0' - queue1queued: '8376' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '28' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '220876' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/5' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0162' - bia: 'cc4e.2415.0162' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '100Mbit' - actualduplex: 'hdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '10' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'OPTI1-MGMT' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '136' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '1344' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '152235' - inputbytestotal: '15699145' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '152235' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '700368' - outputbytestotal: '173283810' - outputunderruns: '0' - outputbroadcasts: '324249' - outputmulticasts: '229249' - outputunicasts: '146870' - outputerrors: '0' - outputcollisions: '44' - relayagentinfo: 'Disabled' - queue0queued: '471090' - queue0dropped: '0' - queue1queued: '8376' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '28' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '220874' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/6' - intstate: 'down' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0163' - bia: 'cc4e.2415.0163' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'INSTALLERS' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/7' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0164' - bia: 'cc4e.2415.0164' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '10Mbit' - actualduplex: 'hdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '10' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'TA5KB-MGMT' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '368' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '1512' - outputpacketssec: '1' - outputpercentutilization: '0.01' - inputpacketstotal: '724717' - inputbytestotal: '76914017' - inputnobuffers: '0' - inputbroadcasts: '2' - inputmulticasts: '0' - inputunicasts: '724715' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '1255155' - outputbytestotal: '216787346' - outputunderruns: '0' - outputbroadcasts: '324247' - outputmulticasts: '229249' - outputunicasts: '701659' - outputerrors: '0' - outputcollisions: '2370' - relayagentinfo: 'Disabled' - queue0queued: '1025869' - queue0dropped: '0' - queue1queued: '8376' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '30' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '6' - queue5dropped: '0' - queue6queued: '220874' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/8' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0165' - bia: 'cc4e.2415.0165' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '10Mbit' - actualduplex: 'hdx' - l2portstate: 'FORWARDING' - l2portmode: 'untagged' - untaggedvlan: '10' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'TA3KB-MGMT' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '64' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '1272' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '89460' - inputbytestotal: '8536168' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '89460' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '637703' - outputbytestotal: '167481338' - outputunderruns: '0' - outputbroadcasts: '324249' - outputmulticasts: '229249' - outputunicasts: '84205' - outputerrors: '0' - outputcollisions: '70' - relayagentinfo: 'Disabled' - queue0queued: '408425' - queue0dropped: '0' - queue1queued: '8376' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '28' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '220874' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/9' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0166' - bia: 'cc4e.2415.0166' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/10' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0167' - bia: 'cc4e.2415.0167' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/11' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0168' - bia: 'cc4e.2415.0168' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/12' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0169' - bia: 'cc4e.2415.0169' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/13' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.016a' - bia: 'cc4e.2415.016a' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'to 2b-1/1/13' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/14' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.016b' - bia: 'cc4e.2415.016b' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/15' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.016c' - bia: 'cc4e.2415.016c' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/16' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.016d' - bia: 'cc4e.2415.016d' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/17' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.016e' - bia: 'cc4e.2415.016e' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'enabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/18' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.016f' - bia: 'cc4e.2415.016f' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'enabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/19' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0170' - bia: 'cc4e.2415.0170' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/20' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0171' - bia: 'cc4e.2415.0171' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/21' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0172' - bia: 'cc4e.2415.0172' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/22' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0173' - bia: 'cc4e.2415.0173' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/23' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0174' - bia: 'cc4e.2415.0174' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet1/1/24' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2415.0175' - bia: 'cc4e.2415.0175' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '70' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '1/1/24' - activelagrole: 'primary' - activelagprimaryport: '' - conflagports: '1/1/24' - conflagrole: 'primary' - conflagprimaryport: '' - portname: '1G Ring' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '1455264' - inputpacketssec: '262' - inputpercentutilization: '0.14' - outputbitssec: '5605424' - outputpacketssec: '619' - outputpercentutilization: '0.56' - inputpacketstotal: '437762884' - inputbytestotal: '386385023450' - inputnobuffers: '0' - inputbroadcasts: '117721566' - inputmulticasts: '28306756' - inputunicasts: '291734562' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '248616787' - outputbytestotal: '76785522238' - outputunderruns: '0' - outputbroadcasts: '15422911' - outputmulticasts: '11521373' - outputunicasts: '221672503' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '223456342' - queue0dropped: '0' - queue1queued: '171330' - queue1dropped: '0' - queue2queued: '13004428' - queue2dropped: '0' - queue3queued: '6085' - queue3dropped: '0' - queue4queued: '1228' - queue4dropped: '0' - queue5queued: '2686' - queue5dropped: '0' - queue6queued: '11974688' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '40GigabitEthernet1/2/1' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '40GigabitEthernet' - mac: 'cc4e.2415.0177' - bia: 'cc4e.2415.0177' - confspeed: '40Gbit' - confduplex: 'fdx' - actualspeed: '40Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'OFF' - priority: 'level0' - flowcontrolconfigstate: 'disabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '12416' - inputpacketssec: '14' - inputpercentutilization: '0.00' - outputbitssec: '969614872' - outputpacketssec: '117339' - outputpercentutilization: '2.47' - inputpacketstotal: '15780414' - inputbytestotal: '1805307576' - inputnobuffers: '0' - inputbroadcasts: '188993' - inputmulticasts: '15147875' - inputunicasts: '443546' - inputerrors: '1' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '99879006306' - outputbytestotal: '103133073904391' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '93287997' - outputunicasts: '99785718309' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '865816350' - queue0dropped: '0' - queue1queued: '334221123' - queue1dropped: '0' - queue2queued: '571855240' - queue2dropped: '0' - queue3queued: '101186864' - queue3dropped: '0' - queue4queued: '266363663' - queue4dropped: '0' - queue5queued: '989404812' - queue5dropped: '0' - queue6queued: '55926489' - queue6dropped: '0' - queue7queued: '57464484' - queue7dropped: '0' - -- interface: '10GigabitEthernet 1/2/2' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2415.0178' - bia: 'cc4e.2415.0178' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'OFF' - priority: 'level0' - flowcontrolconfigstate: '' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '7632' - inputpacketssec: '10' - inputpercentutilization: '0.00' - outputbitssec: '243902896' - outputpacketssec: '25778' - outputpercentutilization: '2.47' - inputpacketstotal: '11532888' - inputbytestotal: '1043463551' - inputnobuffers: '0' - inputbroadcasts: '49184' - inputmulticasts: '11354621' - inputunicasts: '129083' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '19383215596' - outputbytestotal: '23788087006842' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '13554865' - outputunicasts: '19369660731' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '487623546' - queue0dropped: '0' - queue1queued: '91366206' - queue1dropped: '0' - queue2queued: '149363824' - queue2dropped: '0' - queue3queued: '20214707' - queue3dropped: '0' - queue4queued: '44383358' - queue4dropped: '0' - queue5queued: '317731357' - queue5dropped: '0' - queue6queued: '18358745' - queue6dropped: '0' - queue7queued: '562863' - queue7dropped: '0' - -- interface: '10GigabitEthernet 1/2/3' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2415.0179' - bia: 'cc4e.2415.0179' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'OFF' - priority: 'level0' - flowcontrolconfigstate: '' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '1984' - inputpacketssec: '1' - inputpercentutilization: '0.00' - outputbitssec: '237695696' - outputpacketssec: '24579' - outputpercentutilization: '2.40' - inputpacketstotal: '1416143' - inputbytestotal: '300689387' - inputnobuffers: '0' - inputbroadcasts: '43293' - inputmulticasts: '1273780' - inputunicasts: '99070' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '18952441849' - outputbytestotal: '23628775994258' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '2545074' - outputunicasts: '18949896775' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '660650295' - queue0dropped: '0' - queue1queued: '72521216' - queue1dropped: '0' - queue2queued: '182984690' - queue2dropped: '0' - queue3queued: '29631512' - queue3dropped: '0' - queue4queued: '36466292' - queue4dropped: '0' - queue5queued: '245216393' - queue5dropped: '0' - queue6queued: '7685941' - queue6dropped: '0' - queue7queued: '545425' - queue7dropped: '0' - -- interface: '10GigabitEthernet 1/2/4' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2415.017a' - bia: 'cc4e.2415.017a' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'OFF' - priority: 'level0' - flowcontrolconfigstate: '' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '8680' - inputpacketssec: '11' - inputpercentutilization: '0.00' - outputbitssec: '220073496' - outputpacketssec: '23684' - outputpercentutilization: '2.23' - inputpacketstotal: '12103588' - inputbytestotal: '1139094159' - inputnobuffers: '0' - inputbroadcasts: '7569' - inputmulticasts: '12004267' - inputunicasts: '91752' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '20081757662' - outputbytestotal: '24748836977671' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '12894081' - outputunicasts: '20068863581' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '882461645' - queue0dropped: '0' - queue1queued: '75201473' - queue1dropped: '0' - queue2queued: '163271752' - queue2dropped: '0' - queue3queued: '24709209' - queue3dropped: '0' - queue4queued: '75535001' - queue4dropped: '0' - queue5queued: '299199940' - queue5dropped: '0' - queue6queued: '307222221' - queue6dropped: '0' - queue7queued: '545424' - queue7dropped: '0' - -- interface: '10GigabitEthernet 1/2/5' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2415.017b' - bia: 'cc4e.2415.017b' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'OFF' - priority: 'level0' - flowcontrolconfigstate: '' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '7264' - inputpacketssec: '10' - inputpercentutilization: '0.00' - outputbitssec: '226649072' - outputpacketssec: '25738' - outputpercentutilization: '2.30' - inputpacketstotal: '11328694' - inputbytestotal: '992606244' - inputnobuffers: '0' - inputbroadcasts: '5671' - inputmulticasts: '11137777' - inputunicasts: '185246' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '19681561825' - outputbytestotal: '23792328168478' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '11726187' - outputunicasts: '19669835638' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '698511953' - queue0dropped: '0' - queue1queued: '146315552' - queue1dropped: '0' - queue2queued: '138506458' - queue2dropped: '0' - queue3queued: '25227290' - queue3dropped: '0' - queue4queued: '74692159' - queue4dropped: '0' - queue5queued: '312250438' - queue5dropped: '0' - queue6queued: '31901560' - queue6dropped: '0' - queue7queued: '545425' - queue7dropped: '0' - -- interface: '40GigabitEthernet1/2/6' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '40GigabitEthernet' - mac: 'cc4e.2415.017c' - bia: 'cc4e.2415.017c' - confspeed: '40Gbit' - confduplex: 'fdx' - actualspeed: '40Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'OFF' - priority: 'level0' - flowcontrolconfigstate: 'disabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '183027024' - inputpacketssec: '88453' - inputpercentutilization: '0.48' - outputbitssec: '56720656' - outputpacketssec: '5499' - outputpercentutilization: '0.14' - inputpacketstotal: '65067652056' - inputbytestotal: '20537719876283' - inputnobuffers: '0' - inputbroadcasts: '114550730' - inputmulticasts: '99546612' - inputunicasts: '64853554714' - inputerrors: '1' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '7627819991' - outputbytestotal: '9992099112070' - outputunderruns: '0' - outputbroadcasts: '362026011' - outputmulticasts: '7058143362' - outputunicasts: '207650618' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '552426626' - queue0dropped: '0' - queue1queued: '1700901' - queue1dropped: '0' - queue2queued: '30950591' - queue2dropped: '0' - queue3queued: '1076591907' - queue3dropped: '0' - queue4queued: '37749' - queue4dropped: '0' - queue5queued: '79002' - queue5dropped: '0' - queue6queued: '58867394' - queue6dropped: '0' - queue7queued: '1583952' - queue7dropped: '0' - -- interface: '10GigabitEthernet 1/2/7' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2415.017d' - bia: 'cc4e.2415.017d' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'OFF' - priority: 'level0' - flowcontrolconfigstate: '' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '31804024' - inputpacketssec: '15693' - inputpercentutilization: '0.33' - outputbitssec: '17238504' - outputpacketssec: '1586' - outputpercentutilization: '0.16' - inputpacketstotal: '10555978821' - inputbytestotal: '3210918244513' - inputnobuffers: '0' - inputbroadcasts: '533550' - inputmulticasts: '11662536' - inputunicasts: '10543782735' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '1335370068' - outputbytestotal: '1821495608752' - outputunderruns: '0' - outputbroadcasts: '10867559' - outputmulticasts: '1270834344' - outputunicasts: '53668165' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '56722612' - queue0dropped: '0' - queue1queued: '316255' - queue1dropped: '0' - queue2queued: '9807700' - queue2dropped: '0' - queue3queued: '729619665' - queue3dropped: '0' - queue4queued: '2435' - queue4dropped: '0' - queue5queued: '3220' - queue5dropped: '0' - queue6queued: '1464407' - queue6dropped: '0' - queue7queued: '562863' - queue7dropped: '0' - -- interface: '10GigabitEthernet 1/2/8' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2415.017e' - bia: 'cc4e.2415.017e' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'OFF' - priority: 'level0' - flowcontrolconfigstate: '' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '33871488' - inputpacketssec: '15221' - inputpercentutilization: '0.35' - outputbitssec: '22276944' - outputpacketssec: '2032' - outputpercentutilization: '0.22' - inputpacketstotal: '10279433875' - inputbytestotal: '2976495688213' - inputnobuffers: '0' - inputbroadcasts: '519758' - inputmulticasts: '3516232' - inputunicasts: '10275397885' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '2259847464' - outputbytestotal: '3084040737306' - outputunderruns: '0' - outputbroadcasts: '10431971' - outputmulticasts: '2190693157' - outputunicasts: '58722336' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '67367796' - queue0dropped: '0' - queue1queued: '295460' - queue1dropped: '0' - queue2queued: '4457578' - queue2dropped: '0' - queue3queued: '570804046' - queue3dropped: '0' - queue4queued: '943' - queue4dropped: '0' - queue5queued: '4276' - queue5dropped: '0' - queue6queued: '5759204' - queue6dropped: '0' - queue7queued: '545425' - queue7dropped: '0' - -- interface: '10GigabitEthernet 1/2/9' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2415.017f' - bia: 'cc4e.2415.017f' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'OFF' - priority: 'level0' - flowcontrolconfigstate: '' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '38380104' - inputpacketssec: '20870' - inputpercentutilization: '0.41' - outputbitssec: '14948808' - outputpacketssec: '1368' - outputpercentutilization: '0.14' - inputpacketstotal: '11611444215' - inputbytestotal: '3597360224966' - inputnobuffers: '0' - inputbroadcasts: '937937' - inputmulticasts: '12878894' - inputunicasts: '11597627384' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '1921684457' - outputbytestotal: '2629427980594' - outputunderruns: '0' - outputbroadcasts: '7928170' - outputmulticasts: '1867379186' - outputunicasts: '46377101' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '52625834' - queue0dropped: '0' - queue1queued: '2073752' - queue1dropped: '0' - queue2queued: '4706772' - queue2dropped: '0' - queue3queued: '249032205' - queue3dropped: '0' - queue4queued: '532' - queue4dropped: '0' - queue5queued: '4761' - queue5dropped: '0' - queue6queued: '2082441' - queue6dropped: '0' - queue7queued: '545424' - queue7dropped: '0' - -- interface: '10GigabitEthernet 1/2/10' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2415.0180' - bia: 'cc4e.2415.0180' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'OFF' - priority: 'level0' - flowcontrolconfigstate: '' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '97881936' - inputpacketssec: '22717' - inputpercentutilization: '1.00' - outputbitssec: '13085488' - outputpacketssec: '1225' - outputpercentutilization: '0.12' - inputpacketstotal: '13764247927' - inputbytestotal: '7337436068310' - inputnobuffers: '0' - inputbroadcasts: '526092' - inputmulticasts: '11702645' - inputunicasts: '13752019190' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '729385871' - outputbytestotal: '967063580393' - outputunderruns: '0' - outputbroadcasts: '16259121' - outputmulticasts: '666462335' - outputunicasts: '46664415' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '59690853' - queue0dropped: '0' - queue1queued: '591301' - queue1dropped: '0' - queue2queued: '5200666' - queue2dropped: '0' - queue3queued: '119594628' - queue3dropped: '0' - queue4queued: '1549' - queue4dropped: '0' - queue5queued: '994453' - queue5dropped: '0' - queue6queued: '5896085' - queue6dropped: '0' - queue7queued: '545424' - queue7dropped: '0' - -- interface: '10GigabitEthernet1/3/1' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2415.0181' - bia: 'cc4e.2415.0181' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '187' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '1/3/1,1/3/2' - activelagrole: 'primary' - activelagprimaryport: '' - conflagports: '1/3/1,1/3/2' - conflagrole: 'primary' - conflagprimaryport: '' - portname: '10G to XI #1' - l2mtubytes: '10200' - loadinterval: '30' - inputbitssec: '1074487600' - inputpacketssec: '111485' - inputpercentutilization: '11.00' - outputbitssec: '234357424' - outputpacketssec: '95657' - outputpercentutilization: '2.51' - inputpacketstotal: '91472942883' - inputbytestotal: '114915702910701' - inputnobuffers: '0' - inputbroadcasts: '56541488' - inputmulticasts: '6567766980' - inputunicasts: '84848634415' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '72057547245' - outputbytestotal: '24419254623233' - outputunderruns: '0' - outputbroadcasts: '870413' - outputmulticasts: '35230943' - outputunicasts: '72021445889' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '1751198898' - queue0dropped: '0' - queue1queued: '41004711' - queue1dropped: '0' - queue2queued: '210907156' - queue2dropped: '0' - queue3queued: '6624584' - queue3dropped: '0' - queue4queued: '39245114' - queue4dropped: '0' - queue5queued: '1710038528' - queue5dropped: '0' - queue6queued: '115922538' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet1/3/2' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2415.0181' - bia: 'cc4e.2415.0182' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '187' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '1/3/1,1/3/2' - activelagrole: 'primary' - activelagprimaryport: '' - conflagports: '1/3/1,1/3/2' - conflagrole: 'primary' - conflagprimaryport: '' - portname: '10G to XI #2' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '1117463360' - inputpacketssec: '133686' - inputpercentutilization: '11.37' - outputbitssec: '143030600' - outputpacketssec: '75304' - outputpercentutilization: '1.54' - inputpacketstotal: '113748218157' - inputbytestotal: '120143906983046' - inputnobuffers: '0' - inputbroadcasts: '235759421' - inputmulticasts: '6453501760' - inputunicasts: '107058956976' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '46977007386' - outputbytestotal: '13913424382574' - outputunderruns: '0' - outputbroadcasts: '1132723' - outputmulticasts: '17128519' - outputunicasts: '46958746144' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '3071814650' - queue0dropped: '0' - queue1queued: '16068490' - queue1dropped: '0' - queue2queued: '312190876' - queue2dropped: '0' - queue3queued: '7114880' - queue3dropped: '0' - queue4queued: '25189063' - queue4dropped: '0' - queue5queued: '1409980535' - queue5dropped: '0' - queue6queued: '258717837' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet1/3/3' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2415.0183' - bia: 'cc4e.2415.0183' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet1/3/4' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2415.0184' - bia: 'cc4e.2415.0184' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet1/3/5' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2415.0185' - bia: 'cc4e.2415.0185' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet1/3/6' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2415.0186' - bia: 'cc4e.2415.0186' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet1/3/7' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2415.0187' - bia: 'cc4e.2415.0187' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet1/3/8' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2415.0188' - bia: 'cc4e.2415.0188' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/1' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5014' - bia: 'cc4e.2417.5014' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '72' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '2/1/1' - activelagrole: 'primary' - activelagprimaryport: '' - conflagports: '2/1/1' - conflagrole: 'primary' - conflagprimaryport: '' - portname: '1G to CLMAMOXH' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '229400' - inputpacketssec: '131' - inputpercentutilization: '0.02' - outputbitssec: '5502288' - outputpacketssec: '512' - outputpercentutilization: '0.55' - inputpacketstotal: '164293856' - inputbytestotal: '32112235296' - inputnobuffers: '0' - inputbroadcasts: '119385275' - inputmulticasts: '38473751' - inputunicasts: '6434830' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '72861581' - outputbytestotal: '52490996438' - outputunderruns: '0' - outputbroadcasts: '17710254' - outputmulticasts: '2338805' - outputunicasts: '52812522' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '57754451' - queue0dropped: '0' - queue1queued: '303113' - queue1dropped: '0' - queue2queued: '13004435' - queue2dropped: '0' - queue3queued: '147356' - queue3dropped: '0' - queue4queued: '1228' - queue4dropped: '0' - queue5queued: '2686' - queue5dropped: '0' - queue6queued: '1648328' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/2' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5015' - bia: 'cc4e.2417.5015' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '9' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'enabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'TA5000A-SM-B' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '25448' - outputpacketssec: '41' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '102333613' - outputbytestotal: '80640397694' - outputunderruns: '0' - outputbroadcasts: '38736255' - outputmulticasts: '3988037' - outputunicasts: '59609321' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '92448590' - queue0dropped: '0' - queue1queued: '1633438' - queue1dropped: '0' - queue2queued: '6619964' - queue2dropped: '0' - queue3queued: '377351' - queue3dropped: '0' - queue4queued: '104' - queue4dropped: '0' - queue5queued: '4921' - queue5dropped: '0' - queue6queued: '1249252' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/3' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5016' - bia: 'cc4e.2417.5016' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/4' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5017' - bia: 'cc4e.2417.5017' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/5' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5018' - bia: 'cc4e.2417.5018' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/6' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5019' - bia: 'cc4e.2417.5019' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/7' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.501a' - bia: 'cc4e.2417.501a' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/8' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.501b' - bia: 'cc4e.2417.501b' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/9' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.501c' - bia: 'cc4e.2417.501c' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/10' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.501d' - bia: 'cc4e.2417.501d' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/11' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.501e' - bia: 'cc4e.2417.501e' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/12' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.501f' - bia: 'cc4e.2417.501f' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/13' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5020' - bia: 'cc4e.2417.5020' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/14' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5021' - bia: 'cc4e.2417.5021' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/15' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5022' - bia: 'cc4e.2417.5022' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/16' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5023' - bia: 'cc4e.2417.5023' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/17' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5024' - bia: 'cc4e.2417.5024' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/18' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5025' - bia: 'cc4e.2417.5025' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/19' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5026' - bia: 'cc4e.2417.5026' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/20' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5027' - bia: 'cc4e.2417.5027' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/21' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5028' - bia: 'cc4e.2417.5028' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/22' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.5029' - bia: 'cc4e.2417.5029' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/23' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.502a' - bia: 'cc4e.2417.502a' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigabitEthernet2/1/24' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: 'GigabitEthernet' - mac: 'cc4e.2417.502b' - bia: 'cc4e.2417.502b' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '40GigabitEthernet2/2/1' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '40GigabitEthernet' - mac: 'cc4e.2417.502d' - bia: 'cc4e.2417.502d' - confspeed: '40Gbit' - confduplex: 'fdx' - actualspeed: '40Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '56678816' - inputpacketssec: '5496' - inputpercentutilization: '0.13' - outputbitssec: '183120624' - outputpacketssec: '88409' - outputpercentutilization: '0.48' - inputpacketstotal: '7627826804' - inputbytestotal: '9992107827970' - inputnobuffers: '0' - inputbroadcasts: '362026469' - inputmulticasts: '7058149666' - inputunicasts: '207650669' - inputerrors: '4' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '65067778522' - outputbytestotal: '20537751893838' - outputunderruns: '0' - outputbroadcasts: '114550900' - outputmulticasts: '99546867' - outputunicasts: '64853680755' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '419924482' - queue0dropped: '0' - queue1queued: '17892900' - queue1dropped: '0' - queue2queued: '308111759' - queue2dropped: '0' - queue3queued: '11335984' - queue3dropped: '0' - queue4queued: '138828478' - queue4dropped: '0' - queue5queued: '1172332203' - queue5dropped: '0' - queue6queued: '112517348' - queue6dropped: '0' - queue7queued: '72982066' - queue7dropped: '0' - -- interface: '10GigabitEthernet 2/2/2' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2417.502e' - bia: 'cc4e.2417.502e' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '17234992' - inputpacketssec: '1586' - inputpercentutilization: '0.17' - outputbitssec: '31783088' - outputpacketssec: '15697' - outputpercentutilization: '0.33' - inputpacketstotal: '1335374105' - inputbytestotal: '1821501130958' - inputnobuffers: '0' - inputbroadcasts: '10867588' - inputmulticasts: '1270838339' - inputunicasts: '53668178' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '10556019680' - outputbytestotal: '3210929037304' - outputunderruns: '0' - outputbroadcasts: '533550' - outputmulticasts: '11662563' - outputunicasts: '10543823567' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '447029111' - queue0dropped: '0' - queue1queued: '4123513' - queue1dropped: '0' - queue2queued: '49721927' - queue2dropped: '0' - queue3queued: '1890703' - queue3dropped: '0' - queue4queued: '6155276' - queue4dropped: '0' - queue5queued: '350449274' - queue5dropped: '0' - queue6queued: '32355814' - queue6dropped: '0' - queue7queued: '609628' - queue7dropped: '0' - -- interface: '10GigabitEthernet 2/2/3' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2417.502f' - bia: 'cc4e.2417.502f' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '22271904' - inputpacketssec: '2031' - inputpercentutilization: '0.22' - outputbitssec: '33867896' - outputpacketssec: '15234' - outputpercentutilization: '0.35' - inputpacketstotal: '2259851873' - inputbytestotal: '3084046707756' - inputnobuffers: '0' - inputbroadcasts: '10432022' - inputmulticasts: '2190697495' - inputunicasts: '58722356' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '10279479965' - outputbytestotal: '2976505732180' - outputunderruns: '0' - outputbroadcasts: '519758' - outputmulticasts: '3516240' - outputunicasts: '10275443967' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '695616290' - queue0dropped: '0' - queue1queued: '3914167' - queue1dropped: '0' - queue2queued: '77725968' - queue2dropped: '0' - queue3queued: '2571357' - queue3dropped: '0' - queue4queued: '7094035' - queue4dropped: '0' - queue5queued: '338486667' - queue5dropped: '0' - queue6queued: '26664577' - queue6dropped: '0' - queue7queued: '592190' - queue7dropped: '0' - -- interface: '10GigabitEthernet 2/2/4' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2417.5030' - bia: 'cc4e.2417.5030' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '14948304' - inputpacketssec: '1368' - inputpercentutilization: '0.14' - outputbitssec: '38394616' - outputpacketssec: '20881' - outputpercentutilization: '0.41' - inputpacketstotal: '1921688238' - inputbytestotal: '2629433160870' - inputnobuffers: '0' - inputbroadcasts: '7928193' - inputmulticasts: '1867382943' - inputunicasts: '46377102' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '11611492665' - outputbytestotal: '3597370038088' - outputunderruns: '0' - outputbroadcasts: '937938' - outputmulticasts: '12878924' - outputunicasts: '11597675803' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '786588814' - queue0dropped: '0' - queue1queued: '3800887' - queue1dropped: '0' - queue2queued: '43270969' - queue2dropped: '0' - queue3queued: '2880805' - queue3dropped: '0' - queue4queued: '7498571' - queue4dropped: '0' - queue5queued: '380244552' - queue5dropped: '0' - queue6queued: '186057981' - queue6dropped: '0' - queue7queued: '592189' - queue7dropped: '0' - -- interface: '10GigabitEthernet 2/2/5' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2417.5031' - bia: 'cc4e.2417.5031' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '13085528' - inputpacketssec: '1225' - inputpercentutilization: '0.12' - outputbitssec: '97862752' - outputpacketssec: '22709' - outputpercentutilization: '1.00' - inputpacketstotal: '729388354' - inputbytestotal: '967066850841' - inputnobuffers: '0' - inputbroadcasts: '16259222' - inputmulticasts: '666464716' - inputunicasts: '46664416' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '13764300901' - outputbytestotal: '7337462010386' - outputunderruns: '0' - outputbroadcasts: '526092' - outputmulticasts: '11702671' - outputunicasts: '13752072138' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '411511673' - queue0dropped: '0' - queue1queued: '26984161' - queue1dropped: '0' - queue2queued: '44264507' - queue2dropped: '0' - queue3queued: '1448938' - queue3dropped: '0' - queue4queued: '21916991' - queue4dropped: '0' - queue5queued: '342487817' - queue5dropped: '0' - queue6queued: '30180157' - queue6dropped: '0' - queue7queued: '592188' - queue7dropped: '0' - -- interface: '40GigabitEthernet2/2/6' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '40GigabitEthernet' - mac: 'cc4e.2417.5032' - bia: 'cc4e.2417.5032' - confspeed: '40Gbit' - confduplex: 'fdx' - actualspeed: '40Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '970774160' - inputpacketssec: '117415' - inputpercentutilization: '2.46' - outputbitssec: '12408' - outputpacketssec: '14' - outputpercentutilization: '0.00' - inputpacketstotal: '99879339320' - inputbytestotal: '103133424033713' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '93288242' - inputunicasts: '99786051078' - inputerrors: '9' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '15780460' - outputbytestotal: '1805311760' - outputunderruns: '0' - outputbroadcasts: '188994' - outputmulticasts: '15147920' - outputunicasts: '443546' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '3261299' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '3312' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '10982' - queue5dropped: '0' - queue6queued: '10902685' - queue6dropped: '0' - queue7queued: '1602175' - queue7dropped: '0' - -- interface: '10GigabitEthernet 2/2/7' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2417.5033' - bia: 'cc4e.2417.5033' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '244127432' - inputpacketssec: '25794' - inputpercentutilization: '2.47' - outputbitssec: '7616' - outputpacketssec: '10' - outputpercentutilization: '0.00' - inputpacketstotal: '19383300436' - inputbytestotal: '23788186600155' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '13554902' - inputunicasts: '19369745534' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '11532921' - outputbytestotal: '1043466315' - outputunderruns: '0' - outputbroadcasts: '49184' - outputmulticasts: '11354654' - outputunicasts: '129083' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '839791' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '195' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '3061' - queue5dropped: '0' - queue6queued: '10097678' - queue6dropped: '0' - queue7queued: '592189' - queue7dropped: '0' - -- interface: '10GigabitEthernet 2/2/8' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2417.5034' - bia: 'cc4e.2417.5034' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '238005528' - inputpacketssec: '24606' - inputpercentutilization: '2.41' - outputbitssec: '1984' - outputpacketssec: '1' - outputpercentutilization: '0.00' - inputpacketstotal: '18952518273' - inputbytestotal: '23628868680486' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '2545080' - inputunicasts: '18949973193' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '1416147' - outputbytestotal: '300689915' - outputunderruns: '0' - outputbroadcasts: '43293' - outputmulticasts: '1273784' - outputunicasts: '99070' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '822300' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '112' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '1496' - queue5dropped: '0' - queue6queued: '50' - queue6dropped: '0' - queue7queued: '592189' - queue7dropped: '0' - -- interface: '10GigabitEthernet 2/2/9' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2417.5035' - bia: 'cc4e.2417.5035' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '219434664' - inputpacketssec: '23628' - inputpercentutilization: '2.22' - outputbitssec: '8680' - outputpacketssec: '11' - outputpercentutilization: '0.00' - inputpacketstotal: '20081821869' - inputbytestotal: '24748910435961' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '12894110' - inputunicasts: '20068927759' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '12103624' - outputbytestotal: '1139098349' - outputunderruns: '0' - outputbroadcasts: '7569' - outputmulticasts: '12004303' - outputunicasts: '91752' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '984108' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '90' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '4975' - queue5dropped: '0' - queue6queued: '10522257' - queue6dropped: '0' - queue7queued: '592189' - queue7dropped: '0' - -- interface: '10GigabitEthernet 2/2/10' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: ' 10GigabitEthernet ' - mac: 'cc4e.2417.5036' - bia: 'cc4e.2417.5036' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: 'disabled' - flowcontrolnegconfig: 'disabled' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '226419168' - inputpacketssec: '25721' - inputpercentutilization: '2.29' - outputbitssec: '7264' - outputpacketssec: '10' - outputpercentutilization: '0.00' - inputpacketstotal: '19681641572' - inputbytestotal: '23792422541009' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '11726217' - inputunicasts: '19669915355' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '11328723' - outputbytestotal: '992608668' - outputunderruns: '0' - outputbroadcasts: '5671' - outputmulticasts: '11137806' - outputunicasts: '185246' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '634398' - queue0dropped: '0' - queue1queued: '1000' - queue1dropped: '0' - queue2queued: '796' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '1000' - queue4dropped: '0' - queue5queued: '1590' - queue5dropped: '0' - queue6queued: '10097745' - queue6dropped: '0' - queue7queued: '592189' - queue7dropped: '0' - -- interface: '10GigabitEthernet2/3/1' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2417.5037' - bia: 'cc4e.2417.5037' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '186' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '2/3/1,2/3/2' - activelagrole: 'primary' - activelagprimaryport: '' - conflagports: '2/3/1,2/3/2' - conflagrole: 'primary' - conflagprimaryport: '' - portname: '10G to XH #1' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '240805824' - inputpacketssec: '91239' - inputpercentutilization: '2.54' - outputbitssec: '973176184' - outputpacketssec: '101773' - outputpercentutilization: '9.88' - inputpacketstotal: '68064498660' - inputbytestotal: '23814277961105' - inputnobuffers: '0' - inputbroadcasts: '613899' - inputmulticasts: '35149335' - inputunicasts: '68028735426' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '84652741255' - outputbytestotal: '105773127875437' - outputunderruns: '0' - outputbroadcasts: '56141912' - outputmulticasts: '6567757135' - outputunicasts: '78028842208' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '2375669442' - queue0dropped: '0' - queue1queued: '315122350' - queue1dropped: '0' - queue2queued: '634463566' - queue2dropped: '0' - queue3queued: '736597636' - queue3dropped: '0' - queue4queued: '195802448' - queue4dropped: '0' - queue5queued: '1144367196' - queue5dropped: '0' - queue6queued: '330644262' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet2/3/2' - intstate: 'up' - protostate: 'up' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2417.5037' - bia: 'cc4e.2417.5038' - confspeed: '10Gbit' - confduplex: 'fdx' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: 'FORWARDING' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '186' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '2/3/1,2/3/2' - activelagrole: 'primary' - activelagprimaryport: '' - conflagports: '2/3/1,2/3/2' - conflagrole: 'primary' - conflagprimaryport: '' - portname: '10G to XH #2' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '138561080' - inputpacketssec: '71515' - inputpercentutilization: '1.49' - outputbitssec: '1042031800' - outputpacketssec: '126852' - outputpercentutilization: '10.61' - inputpacketstotal: '43010834862' - inputbytestotal: '13339846037011' - inputnobuffers: '0' - inputbroadcasts: '672491' - inputmulticasts: '15169542' - inputunicasts: '42994992829' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '106910633569' - outputbytestotal: '110983669699528' - outputunderruns: '0' - outputbroadcasts: '233035972' - outputmulticasts: '6455223684' - outputunicasts: '100222373913' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '2423482811' - queue0dropped: '0' - queue1queued: '408926503' - queue1dropped: '0' - queue2queued: '621230708' - queue2dropped: '0' - queue3queued: '1135203007' - queue3dropped: '0' - queue4queued: '301684980' - queue4dropped: '0' - queue5queued: '1557462117' - queue5dropped: '0' - queue6queued: '67708083' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet2/3/3' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2417.5039' - bia: 'cc4e.2417.5039' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '9544' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet2/3/4' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2417.503a' - bia: 'cc4e.2417.503a' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '9544' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet2/3/5' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2417.503b' - bia: 'cc4e.2417.503b' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '9544' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet2/3/6' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2417.503c' - bia: 'cc4e.2417.503c' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '9544' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet2/3/7' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2417.503d' - bia: 'cc4e.2417.503d' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '9544' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: '10GigabitEthernet2/3/8' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'Disabled' - stpbpduguard: 'Disabled' - hardwaretype: '10GigabitEthernet' - mac: 'cc4e.2417.503e' - bia: 'cc4e.2417.503e' - confspeed: '1Gbit' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'DISABLED' - l2portmode: 'untagged' - untaggedvlan: '9544' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolconfigstate: 'enabled' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: 'disabled' - monitorstate: 'disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '10200' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: 'Disabled' - queue0queued: '0' - queue0dropped: '0' - queue1queued: '0' - queue1dropped: '0' - queue2queued: '0' - queue2dropped: '0' - queue3queued: '0' - queue3dropped: '0' - queue4queued: '0' - queue4dropped: '0' - queue5queued: '0' - queue5dropped: '0' - queue6queued: '0' - queue6dropped: '0' - queue7queued: '0' - queue7dropped: '0' - -- interface: 'GigEthernetmgmt1' - intstate: 'disabled' - protostate: 'down' - stprootguard: '' - stpbpduguard: '' - hardwaretype: 'GigEthernet' - mac: 'cc4e.2415.015e' - bia: 'cc4e.2415.0176' - confspeed: 'auto' - confduplex: 'fdx' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: '' - priority: '' - flowcontrolconfigstate: '' - flowcontrolopstate: '' - flowcontrolnegconfig: '' - mirrorstate: '' - monitorstate: '' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '1500' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - relayagentinfo: '' - queue0queued: '' - queue0dropped: '' - queue1queued: '' - queue1dropped: '' - queue2queued: '' - queue2dropped: '' - queue3queued: '' - queue3dropped: '' - queue4queued: '' - queue4dropped: '' - queue5queued: '' - queue5dropped: '' - queue6queued: '' - queue6dropped: '' - queue7queued: '' - queue7dropped: '' - diff --git a/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces1.yml b/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces1.yml new file mode 100644 index 0000000000..ea95e25b77 --- /dev/null +++ b/tests/brocade_fastiron/show_interfaces/brocade_fastiron_show_interfaces1.yml @@ -0,0 +1,6377 @@ +--- +parsed_sample: + - interface: "GigabitEthernet1/1/1" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.015e" + bia: "cc4e.2415.015e" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "to switch1a-xr e8" + l2mtubytes: "10200" + loadinterval: "30" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/2" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.015f" + bia: "cc4e.2415.015f" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "9" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "TA5000A-SMA" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "7572136" + inputpacketssec: "7471" + inputpercentutilization: "0.87" + outputbitssec: "152034064" + outputpacketssec: "13938" + outputpercentutilization: "15.39" + inputpacketstotal: "8125585298" + inputbytestotal: "1202345487881" + inputnobuffers: "0" + inputbroadcasts: "1177524" + inputmulticasts: "2165361" + inputunicasts: "8122242413" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "14036563396" + outputbytestotal: "18737121539937" + outputunderruns: "0" + outputbroadcasts: "37561476" + outputmulticasts: "1962553" + outputunicasts: "13997039367" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "1009912997" + queue0dropped: "84452" + queue1queued: "209985394" + queue1dropped: "0" + queue2queued: "435533134" + queue2dropped: "7527" + queue3queued: "4242004" + queue3dropped: "95" + queue4queued: "249040" + queue4dropped: "0" + queue5queued: "26155207" + queue5dropped: "0" + queue6queued: "2454646" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/3" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0160" + bia: "cc4e.2415.0160" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "none" + actualduplex: "none" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "10" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "TA3KA-MGMT" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "117966" + inputbytestotal: "11790675" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "117966" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "666152" + outputbytestotal: "170171170" + outputunderruns: "0" + outputbroadcasts: "324249" + outputmulticasts: "229249" + outputunicasts: "112654" + outputerrors: "0" + outputcollisions: "136" + relayagentinfo: "Disabled" + queue0queued: "436874" + queue0dropped: "0" + queue1queued: "8376" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "28" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "220874" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/4" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0161" + bia: "cc4e.2415.0161" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "10Mbit" + actualduplex: "hdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "10" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "TA5K-MGMT" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "512" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "1600" + outputpacketssec: "1" + outputpercentutilization: "0.01" + inputpacketstotal: "972928" + inputbytestotal: "112771188" + inputnobuffers: "0" + inputbroadcasts: "4" + inputmulticasts: "0" + inputunicasts: "972924" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "1469751" + outputbytestotal: "235322246" + outputunderruns: "0" + outputbroadcasts: "324245" + outputmulticasts: "229249" + outputunicasts: "916257" + outputerrors: "0" + outputcollisions: "555" + relayagentinfo: "Disabled" + queue0queued: "1240471" + queue0dropped: "0" + queue1queued: "8376" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "28" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "220876" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/5" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0162" + bia: "cc4e.2415.0162" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "100Mbit" + actualduplex: "hdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "10" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "OPTI1-MGMT" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "136" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "1344" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "152235" + inputbytestotal: "15699145" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "152235" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "700368" + outputbytestotal: "173283810" + outputunderruns: "0" + outputbroadcasts: "324249" + outputmulticasts: "229249" + outputunicasts: "146870" + outputerrors: "0" + outputcollisions: "44" + relayagentinfo: "Disabled" + queue0queued: "471090" + queue0dropped: "0" + queue1queued: "8376" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "28" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "220874" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/6" + intstate: "down" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0163" + bia: "cc4e.2415.0163" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "INSTALLERS" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/7" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0164" + bia: "cc4e.2415.0164" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "10Mbit" + actualduplex: "hdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "10" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "TA5KB-MGMT" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "368" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "1512" + outputpacketssec: "1" + outputpercentutilization: "0.01" + inputpacketstotal: "724717" + inputbytestotal: "76914017" + inputnobuffers: "0" + inputbroadcasts: "2" + inputmulticasts: "0" + inputunicasts: "724715" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "1255155" + outputbytestotal: "216787346" + outputunderruns: "0" + outputbroadcasts: "324247" + outputmulticasts: "229249" + outputunicasts: "701659" + outputerrors: "0" + outputcollisions: "2370" + relayagentinfo: "Disabled" + queue0queued: "1025869" + queue0dropped: "0" + queue1queued: "8376" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "30" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "6" + queue5dropped: "0" + queue6queued: "220874" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/8" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0165" + bia: "cc4e.2415.0165" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "10Mbit" + actualduplex: "hdx" + l2portstate: "FORWARDING" + l2portmode: "untagged" + untaggedvlan: "10" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "TA3KB-MGMT" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "64" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "1272" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "89460" + inputbytestotal: "8536168" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "89460" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "637703" + outputbytestotal: "167481338" + outputunderruns: "0" + outputbroadcasts: "324249" + outputmulticasts: "229249" + outputunicasts: "84205" + outputerrors: "0" + outputcollisions: "70" + relayagentinfo: "Disabled" + queue0queued: "408425" + queue0dropped: "0" + queue1queued: "8376" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "28" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "220874" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/9" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0166" + bia: "cc4e.2415.0166" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/10" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0167" + bia: "cc4e.2415.0167" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/11" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0168" + bia: "cc4e.2415.0168" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/12" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0169" + bia: "cc4e.2415.0169" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/13" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.016a" + bia: "cc4e.2415.016a" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "to 2b-1/1/13" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/14" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.016b" + bia: "cc4e.2415.016b" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/15" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.016c" + bia: "cc4e.2415.016c" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/16" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.016d" + bia: "cc4e.2415.016d" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/17" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.016e" + bia: "cc4e.2415.016e" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "enabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/18" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.016f" + bia: "cc4e.2415.016f" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "enabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/19" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0170" + bia: "cc4e.2415.0170" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/20" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0171" + bia: "cc4e.2415.0171" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/21" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0172" + bia: "cc4e.2415.0172" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/22" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0173" + bia: "cc4e.2415.0173" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/23" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0174" + bia: "cc4e.2415.0174" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet1/1/24" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2415.0175" + bia: "cc4e.2415.0175" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "70" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "1/1/24" + activelagrole: "primary" + activelagprimaryport: "" + conflagports: "1/1/24" + conflagrole: "primary" + conflagprimaryport: "" + portname: "1G Ring" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "1455264" + inputpacketssec: "262" + inputpercentutilization: "0.14" + outputbitssec: "5605424" + outputpacketssec: "619" + outputpercentutilization: "0.56" + inputpacketstotal: "437762884" + inputbytestotal: "386385023450" + inputnobuffers: "0" + inputbroadcasts: "117721566" + inputmulticasts: "28306756" + inputunicasts: "291734562" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "248616787" + outputbytestotal: "76785522238" + outputunderruns: "0" + outputbroadcasts: "15422911" + outputmulticasts: "11521373" + outputunicasts: "221672503" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "223456342" + queue0dropped: "0" + queue1queued: "171330" + queue1dropped: "0" + queue2queued: "13004428" + queue2dropped: "0" + queue3queued: "6085" + queue3dropped: "0" + queue4queued: "1228" + queue4dropped: "0" + queue5queued: "2686" + queue5dropped: "0" + queue6queued: "11974688" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "40GigabitEthernet1/2/1" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "40GigabitEthernet" + mac: "cc4e.2415.0177" + bia: "cc4e.2415.0177" + confspeed: "40Gbit" + confduplex: "fdx" + actualspeed: "40Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "OFF" + priority: "level0" + flowcontrolconfigstate: "disabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "12416" + inputpacketssec: "14" + inputpercentutilization: "0.00" + outputbitssec: "969614872" + outputpacketssec: "117339" + outputpercentutilization: "2.47" + inputpacketstotal: "15780414" + inputbytestotal: "1805307576" + inputnobuffers: "0" + inputbroadcasts: "188993" + inputmulticasts: "15147875" + inputunicasts: "443546" + inputerrors: "1" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "99879006306" + outputbytestotal: "103133073904391" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "93287997" + outputunicasts: "99785718309" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "865816350" + queue0dropped: "0" + queue1queued: "334221123" + queue1dropped: "0" + queue2queued: "571855240" + queue2dropped: "0" + queue3queued: "101186864" + queue3dropped: "0" + queue4queued: "266363663" + queue4dropped: "0" + queue5queued: "989404812" + queue5dropped: "0" + queue6queued: "55926489" + queue6dropped: "0" + queue7queued: "57464484" + queue7dropped: "0" + - interface: "10GigabitEthernet 1/2/2" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2415.0178" + bia: "cc4e.2415.0178" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "OFF" + priority: "level0" + flowcontrolconfigstate: "" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "7632" + inputpacketssec: "10" + inputpercentutilization: "0.00" + outputbitssec: "243902896" + outputpacketssec: "25778" + outputpercentutilization: "2.47" + inputpacketstotal: "11532888" + inputbytestotal: "1043463551" + inputnobuffers: "0" + inputbroadcasts: "49184" + inputmulticasts: "11354621" + inputunicasts: "129083" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "19383215596" + outputbytestotal: "23788087006842" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "13554865" + outputunicasts: "19369660731" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "487623546" + queue0dropped: "0" + queue1queued: "91366206" + queue1dropped: "0" + queue2queued: "149363824" + queue2dropped: "0" + queue3queued: "20214707" + queue3dropped: "0" + queue4queued: "44383358" + queue4dropped: "0" + queue5queued: "317731357" + queue5dropped: "0" + queue6queued: "18358745" + queue6dropped: "0" + queue7queued: "562863" + queue7dropped: "0" + - interface: "10GigabitEthernet 1/2/3" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2415.0179" + bia: "cc4e.2415.0179" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "OFF" + priority: "level0" + flowcontrolconfigstate: "" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "1984" + inputpacketssec: "1" + inputpercentutilization: "0.00" + outputbitssec: "237695696" + outputpacketssec: "24579" + outputpercentutilization: "2.40" + inputpacketstotal: "1416143" + inputbytestotal: "300689387" + inputnobuffers: "0" + inputbroadcasts: "43293" + inputmulticasts: "1273780" + inputunicasts: "99070" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "18952441849" + outputbytestotal: "23628775994258" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "2545074" + outputunicasts: "18949896775" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "660650295" + queue0dropped: "0" + queue1queued: "72521216" + queue1dropped: "0" + queue2queued: "182984690" + queue2dropped: "0" + queue3queued: "29631512" + queue3dropped: "0" + queue4queued: "36466292" + queue4dropped: "0" + queue5queued: "245216393" + queue5dropped: "0" + queue6queued: "7685941" + queue6dropped: "0" + queue7queued: "545425" + queue7dropped: "0" + - interface: "10GigabitEthernet 1/2/4" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2415.017a" + bia: "cc4e.2415.017a" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "OFF" + priority: "level0" + flowcontrolconfigstate: "" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "8680" + inputpacketssec: "11" + inputpercentutilization: "0.00" + outputbitssec: "220073496" + outputpacketssec: "23684" + outputpercentutilization: "2.23" + inputpacketstotal: "12103588" + inputbytestotal: "1139094159" + inputnobuffers: "0" + inputbroadcasts: "7569" + inputmulticasts: "12004267" + inputunicasts: "91752" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "20081757662" + outputbytestotal: "24748836977671" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "12894081" + outputunicasts: "20068863581" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "882461645" + queue0dropped: "0" + queue1queued: "75201473" + queue1dropped: "0" + queue2queued: "163271752" + queue2dropped: "0" + queue3queued: "24709209" + queue3dropped: "0" + queue4queued: "75535001" + queue4dropped: "0" + queue5queued: "299199940" + queue5dropped: "0" + queue6queued: "307222221" + queue6dropped: "0" + queue7queued: "545424" + queue7dropped: "0" + - interface: "10GigabitEthernet 1/2/5" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2415.017b" + bia: "cc4e.2415.017b" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "OFF" + priority: "level0" + flowcontrolconfigstate: "" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "7264" + inputpacketssec: "10" + inputpercentutilization: "0.00" + outputbitssec: "226649072" + outputpacketssec: "25738" + outputpercentutilization: "2.30" + inputpacketstotal: "11328694" + inputbytestotal: "992606244" + inputnobuffers: "0" + inputbroadcasts: "5671" + inputmulticasts: "11137777" + inputunicasts: "185246" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "19681561825" + outputbytestotal: "23792328168478" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "11726187" + outputunicasts: "19669835638" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "698511953" + queue0dropped: "0" + queue1queued: "146315552" + queue1dropped: "0" + queue2queued: "138506458" + queue2dropped: "0" + queue3queued: "25227290" + queue3dropped: "0" + queue4queued: "74692159" + queue4dropped: "0" + queue5queued: "312250438" + queue5dropped: "0" + queue6queued: "31901560" + queue6dropped: "0" + queue7queued: "545425" + queue7dropped: "0" + - interface: "40GigabitEthernet1/2/6" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "40GigabitEthernet" + mac: "cc4e.2415.017c" + bia: "cc4e.2415.017c" + confspeed: "40Gbit" + confduplex: "fdx" + actualspeed: "40Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "OFF" + priority: "level0" + flowcontrolconfigstate: "disabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "183027024" + inputpacketssec: "88453" + inputpercentutilization: "0.48" + outputbitssec: "56720656" + outputpacketssec: "5499" + outputpercentutilization: "0.14" + inputpacketstotal: "65067652056" + inputbytestotal: "20537719876283" + inputnobuffers: "0" + inputbroadcasts: "114550730" + inputmulticasts: "99546612" + inputunicasts: "64853554714" + inputerrors: "1" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "7627819991" + outputbytestotal: "9992099112070" + outputunderruns: "0" + outputbroadcasts: "362026011" + outputmulticasts: "7058143362" + outputunicasts: "207650618" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "552426626" + queue0dropped: "0" + queue1queued: "1700901" + queue1dropped: "0" + queue2queued: "30950591" + queue2dropped: "0" + queue3queued: "1076591907" + queue3dropped: "0" + queue4queued: "37749" + queue4dropped: "0" + queue5queued: "79002" + queue5dropped: "0" + queue6queued: "58867394" + queue6dropped: "0" + queue7queued: "1583952" + queue7dropped: "0" + - interface: "10GigabitEthernet 1/2/7" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2415.017d" + bia: "cc4e.2415.017d" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "OFF" + priority: "level0" + flowcontrolconfigstate: "" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "31804024" + inputpacketssec: "15693" + inputpercentutilization: "0.33" + outputbitssec: "17238504" + outputpacketssec: "1586" + outputpercentutilization: "0.16" + inputpacketstotal: "10555978821" + inputbytestotal: "3210918244513" + inputnobuffers: "0" + inputbroadcasts: "533550" + inputmulticasts: "11662536" + inputunicasts: "10543782735" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "1335370068" + outputbytestotal: "1821495608752" + outputunderruns: "0" + outputbroadcasts: "10867559" + outputmulticasts: "1270834344" + outputunicasts: "53668165" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "56722612" + queue0dropped: "0" + queue1queued: "316255" + queue1dropped: "0" + queue2queued: "9807700" + queue2dropped: "0" + queue3queued: "729619665" + queue3dropped: "0" + queue4queued: "2435" + queue4dropped: "0" + queue5queued: "3220" + queue5dropped: "0" + queue6queued: "1464407" + queue6dropped: "0" + queue7queued: "562863" + queue7dropped: "0" + - interface: "10GigabitEthernet 1/2/8" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2415.017e" + bia: "cc4e.2415.017e" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "OFF" + priority: "level0" + flowcontrolconfigstate: "" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "33871488" + inputpacketssec: "15221" + inputpercentutilization: "0.35" + outputbitssec: "22276944" + outputpacketssec: "2032" + outputpercentutilization: "0.22" + inputpacketstotal: "10279433875" + inputbytestotal: "2976495688213" + inputnobuffers: "0" + inputbroadcasts: "519758" + inputmulticasts: "3516232" + inputunicasts: "10275397885" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "2259847464" + outputbytestotal: "3084040737306" + outputunderruns: "0" + outputbroadcasts: "10431971" + outputmulticasts: "2190693157" + outputunicasts: "58722336" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "67367796" + queue0dropped: "0" + queue1queued: "295460" + queue1dropped: "0" + queue2queued: "4457578" + queue2dropped: "0" + queue3queued: "570804046" + queue3dropped: "0" + queue4queued: "943" + queue4dropped: "0" + queue5queued: "4276" + queue5dropped: "0" + queue6queued: "5759204" + queue6dropped: "0" + queue7queued: "545425" + queue7dropped: "0" + - interface: "10GigabitEthernet 1/2/9" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2415.017f" + bia: "cc4e.2415.017f" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "OFF" + priority: "level0" + flowcontrolconfigstate: "" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "38380104" + inputpacketssec: "20870" + inputpercentutilization: "0.41" + outputbitssec: "14948808" + outputpacketssec: "1368" + outputpercentutilization: "0.14" + inputpacketstotal: "11611444215" + inputbytestotal: "3597360224966" + inputnobuffers: "0" + inputbroadcasts: "937937" + inputmulticasts: "12878894" + inputunicasts: "11597627384" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "1921684457" + outputbytestotal: "2629427980594" + outputunderruns: "0" + outputbroadcasts: "7928170" + outputmulticasts: "1867379186" + outputunicasts: "46377101" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "52625834" + queue0dropped: "0" + queue1queued: "2073752" + queue1dropped: "0" + queue2queued: "4706772" + queue2dropped: "0" + queue3queued: "249032205" + queue3dropped: "0" + queue4queued: "532" + queue4dropped: "0" + queue5queued: "4761" + queue5dropped: "0" + queue6queued: "2082441" + queue6dropped: "0" + queue7queued: "545424" + queue7dropped: "0" + - interface: "10GigabitEthernet 1/2/10" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2415.0180" + bia: "cc4e.2415.0180" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "OFF" + priority: "level0" + flowcontrolconfigstate: "" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "97881936" + inputpacketssec: "22717" + inputpercentutilization: "1.00" + outputbitssec: "13085488" + outputpacketssec: "1225" + outputpercentutilization: "0.12" + inputpacketstotal: "13764247927" + inputbytestotal: "7337436068310" + inputnobuffers: "0" + inputbroadcasts: "526092" + inputmulticasts: "11702645" + inputunicasts: "13752019190" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "729385871" + outputbytestotal: "967063580393" + outputunderruns: "0" + outputbroadcasts: "16259121" + outputmulticasts: "666462335" + outputunicasts: "46664415" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "59690853" + queue0dropped: "0" + queue1queued: "591301" + queue1dropped: "0" + queue2queued: "5200666" + queue2dropped: "0" + queue3queued: "119594628" + queue3dropped: "0" + queue4queued: "1549" + queue4dropped: "0" + queue5queued: "994453" + queue5dropped: "0" + queue6queued: "5896085" + queue6dropped: "0" + queue7queued: "545424" + queue7dropped: "0" + - interface: "10GigabitEthernet1/3/1" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2415.0181" + bia: "cc4e.2415.0181" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "187" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "1/3/1,1/3/2" + activelagrole: "primary" + activelagprimaryport: "" + conflagports: "1/3/1,1/3/2" + conflagrole: "primary" + conflagprimaryport: "" + portname: "10G to XI #1" + l2mtubytes: "10200" + loadinterval: "30" + inputbitssec: "1074487600" + inputpacketssec: "111485" + inputpercentutilization: "11.00" + outputbitssec: "234357424" + outputpacketssec: "95657" + outputpercentutilization: "2.51" + inputpacketstotal: "91472942883" + inputbytestotal: "114915702910701" + inputnobuffers: "0" + inputbroadcasts: "56541488" + inputmulticasts: "6567766980" + inputunicasts: "84848634415" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "72057547245" + outputbytestotal: "24419254623233" + outputunderruns: "0" + outputbroadcasts: "870413" + outputmulticasts: "35230943" + outputunicasts: "72021445889" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "1751198898" + queue0dropped: "0" + queue1queued: "41004711" + queue1dropped: "0" + queue2queued: "210907156" + queue2dropped: "0" + queue3queued: "6624584" + queue3dropped: "0" + queue4queued: "39245114" + queue4dropped: "0" + queue5queued: "1710038528" + queue5dropped: "0" + queue6queued: "115922538" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet1/3/2" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2415.0181" + bia: "cc4e.2415.0182" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "187" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "1/3/1,1/3/2" + activelagrole: "primary" + activelagprimaryport: "" + conflagports: "1/3/1,1/3/2" + conflagrole: "primary" + conflagprimaryport: "" + portname: "10G to XI #2" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "1117463360" + inputpacketssec: "133686" + inputpercentutilization: "11.37" + outputbitssec: "143030600" + outputpacketssec: "75304" + outputpercentutilization: "1.54" + inputpacketstotal: "113748218157" + inputbytestotal: "120143906983046" + inputnobuffers: "0" + inputbroadcasts: "235759421" + inputmulticasts: "6453501760" + inputunicasts: "107058956976" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "46977007386" + outputbytestotal: "13913424382574" + outputunderruns: "0" + outputbroadcasts: "1132723" + outputmulticasts: "17128519" + outputunicasts: "46958746144" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "3071814650" + queue0dropped: "0" + queue1queued: "16068490" + queue1dropped: "0" + queue2queued: "312190876" + queue2dropped: "0" + queue3queued: "7114880" + queue3dropped: "0" + queue4queued: "25189063" + queue4dropped: "0" + queue5queued: "1409980535" + queue5dropped: "0" + queue6queued: "258717837" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet1/3/3" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2415.0183" + bia: "cc4e.2415.0183" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet1/3/4" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2415.0184" + bia: "cc4e.2415.0184" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet1/3/5" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2415.0185" + bia: "cc4e.2415.0185" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet1/3/6" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2415.0186" + bia: "cc4e.2415.0186" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet1/3/7" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2415.0187" + bia: "cc4e.2415.0187" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet1/3/8" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2415.0188" + bia: "cc4e.2415.0188" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/1" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5014" + bia: "cc4e.2417.5014" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "72" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "2/1/1" + activelagrole: "primary" + activelagprimaryport: "" + conflagports: "2/1/1" + conflagrole: "primary" + conflagprimaryport: "" + portname: "1G to CLMAMOXH" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "229400" + inputpacketssec: "131" + inputpercentutilization: "0.02" + outputbitssec: "5502288" + outputpacketssec: "512" + outputpercentutilization: "0.55" + inputpacketstotal: "164293856" + inputbytestotal: "32112235296" + inputnobuffers: "0" + inputbroadcasts: "119385275" + inputmulticasts: "38473751" + inputunicasts: "6434830" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "72861581" + outputbytestotal: "52490996438" + outputunderruns: "0" + outputbroadcasts: "17710254" + outputmulticasts: "2338805" + outputunicasts: "52812522" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "57754451" + queue0dropped: "0" + queue1queued: "303113" + queue1dropped: "0" + queue2queued: "13004435" + queue2dropped: "0" + queue3queued: "147356" + queue3dropped: "0" + queue4queued: "1228" + queue4dropped: "0" + queue5queued: "2686" + queue5dropped: "0" + queue6queued: "1648328" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/2" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5015" + bia: "cc4e.2417.5015" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "9" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "enabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "TA5000A-SM-B" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "25448" + outputpacketssec: "41" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "102333613" + outputbytestotal: "80640397694" + outputunderruns: "0" + outputbroadcasts: "38736255" + outputmulticasts: "3988037" + outputunicasts: "59609321" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "92448590" + queue0dropped: "0" + queue1queued: "1633438" + queue1dropped: "0" + queue2queued: "6619964" + queue2dropped: "0" + queue3queued: "377351" + queue3dropped: "0" + queue4queued: "104" + queue4dropped: "0" + queue5queued: "4921" + queue5dropped: "0" + queue6queued: "1249252" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/3" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5016" + bia: "cc4e.2417.5016" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/4" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5017" + bia: "cc4e.2417.5017" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/5" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5018" + bia: "cc4e.2417.5018" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/6" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5019" + bia: "cc4e.2417.5019" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/7" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.501a" + bia: "cc4e.2417.501a" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/8" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.501b" + bia: "cc4e.2417.501b" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/9" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.501c" + bia: "cc4e.2417.501c" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/10" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.501d" + bia: "cc4e.2417.501d" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/11" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.501e" + bia: "cc4e.2417.501e" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/12" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.501f" + bia: "cc4e.2417.501f" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/13" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5020" + bia: "cc4e.2417.5020" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/14" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5021" + bia: "cc4e.2417.5021" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/15" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5022" + bia: "cc4e.2417.5022" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/16" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5023" + bia: "cc4e.2417.5023" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/17" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5024" + bia: "cc4e.2417.5024" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/18" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5025" + bia: "cc4e.2417.5025" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/19" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5026" + bia: "cc4e.2417.5026" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/20" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5027" + bia: "cc4e.2417.5027" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/21" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5028" + bia: "cc4e.2417.5028" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/22" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.5029" + bia: "cc4e.2417.5029" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/23" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.502a" + bia: "cc4e.2417.502a" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigabitEthernet2/1/24" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "GigabitEthernet" + mac: "cc4e.2417.502b" + bia: "cc4e.2417.502b" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "40GigabitEthernet2/2/1" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "40GigabitEthernet" + mac: "cc4e.2417.502d" + bia: "cc4e.2417.502d" + confspeed: "40Gbit" + confduplex: "fdx" + actualspeed: "40Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "56678816" + inputpacketssec: "5496" + inputpercentutilization: "0.13" + outputbitssec: "183120624" + outputpacketssec: "88409" + outputpercentutilization: "0.48" + inputpacketstotal: "7627826804" + inputbytestotal: "9992107827970" + inputnobuffers: "0" + inputbroadcasts: "362026469" + inputmulticasts: "7058149666" + inputunicasts: "207650669" + inputerrors: "4" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "65067778522" + outputbytestotal: "20537751893838" + outputunderruns: "0" + outputbroadcasts: "114550900" + outputmulticasts: "99546867" + outputunicasts: "64853680755" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "419924482" + queue0dropped: "0" + queue1queued: "17892900" + queue1dropped: "0" + queue2queued: "308111759" + queue2dropped: "0" + queue3queued: "11335984" + queue3dropped: "0" + queue4queued: "138828478" + queue4dropped: "0" + queue5queued: "1172332203" + queue5dropped: "0" + queue6queued: "112517348" + queue6dropped: "0" + queue7queued: "72982066" + queue7dropped: "0" + - interface: "10GigabitEthernet 2/2/2" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2417.502e" + bia: "cc4e.2417.502e" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "17234992" + inputpacketssec: "1586" + inputpercentutilization: "0.17" + outputbitssec: "31783088" + outputpacketssec: "15697" + outputpercentutilization: "0.33" + inputpacketstotal: "1335374105" + inputbytestotal: "1821501130958" + inputnobuffers: "0" + inputbroadcasts: "10867588" + inputmulticasts: "1270838339" + inputunicasts: "53668178" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "10556019680" + outputbytestotal: "3210929037304" + outputunderruns: "0" + outputbroadcasts: "533550" + outputmulticasts: "11662563" + outputunicasts: "10543823567" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "447029111" + queue0dropped: "0" + queue1queued: "4123513" + queue1dropped: "0" + queue2queued: "49721927" + queue2dropped: "0" + queue3queued: "1890703" + queue3dropped: "0" + queue4queued: "6155276" + queue4dropped: "0" + queue5queued: "350449274" + queue5dropped: "0" + queue6queued: "32355814" + queue6dropped: "0" + queue7queued: "609628" + queue7dropped: "0" + - interface: "10GigabitEthernet 2/2/3" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2417.502f" + bia: "cc4e.2417.502f" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "22271904" + inputpacketssec: "2031" + inputpercentutilization: "0.22" + outputbitssec: "33867896" + outputpacketssec: "15234" + outputpercentutilization: "0.35" + inputpacketstotal: "2259851873" + inputbytestotal: "3084046707756" + inputnobuffers: "0" + inputbroadcasts: "10432022" + inputmulticasts: "2190697495" + inputunicasts: "58722356" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "10279479965" + outputbytestotal: "2976505732180" + outputunderruns: "0" + outputbroadcasts: "519758" + outputmulticasts: "3516240" + outputunicasts: "10275443967" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "695616290" + queue0dropped: "0" + queue1queued: "3914167" + queue1dropped: "0" + queue2queued: "77725968" + queue2dropped: "0" + queue3queued: "2571357" + queue3dropped: "0" + queue4queued: "7094035" + queue4dropped: "0" + queue5queued: "338486667" + queue5dropped: "0" + queue6queued: "26664577" + queue6dropped: "0" + queue7queued: "592190" + queue7dropped: "0" + - interface: "10GigabitEthernet 2/2/4" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2417.5030" + bia: "cc4e.2417.5030" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "14948304" + inputpacketssec: "1368" + inputpercentutilization: "0.14" + outputbitssec: "38394616" + outputpacketssec: "20881" + outputpercentutilization: "0.41" + inputpacketstotal: "1921688238" + inputbytestotal: "2629433160870" + inputnobuffers: "0" + inputbroadcasts: "7928193" + inputmulticasts: "1867382943" + inputunicasts: "46377102" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "11611492665" + outputbytestotal: "3597370038088" + outputunderruns: "0" + outputbroadcasts: "937938" + outputmulticasts: "12878924" + outputunicasts: "11597675803" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "786588814" + queue0dropped: "0" + queue1queued: "3800887" + queue1dropped: "0" + queue2queued: "43270969" + queue2dropped: "0" + queue3queued: "2880805" + queue3dropped: "0" + queue4queued: "7498571" + queue4dropped: "0" + queue5queued: "380244552" + queue5dropped: "0" + queue6queued: "186057981" + queue6dropped: "0" + queue7queued: "592189" + queue7dropped: "0" + - interface: "10GigabitEthernet 2/2/5" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2417.5031" + bia: "cc4e.2417.5031" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "13085528" + inputpacketssec: "1225" + inputpercentutilization: "0.12" + outputbitssec: "97862752" + outputpacketssec: "22709" + outputpercentutilization: "1.00" + inputpacketstotal: "729388354" + inputbytestotal: "967066850841" + inputnobuffers: "0" + inputbroadcasts: "16259222" + inputmulticasts: "666464716" + inputunicasts: "46664416" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "13764300901" + outputbytestotal: "7337462010386" + outputunderruns: "0" + outputbroadcasts: "526092" + outputmulticasts: "11702671" + outputunicasts: "13752072138" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "411511673" + queue0dropped: "0" + queue1queued: "26984161" + queue1dropped: "0" + queue2queued: "44264507" + queue2dropped: "0" + queue3queued: "1448938" + queue3dropped: "0" + queue4queued: "21916991" + queue4dropped: "0" + queue5queued: "342487817" + queue5dropped: "0" + queue6queued: "30180157" + queue6dropped: "0" + queue7queued: "592188" + queue7dropped: "0" + - interface: "40GigabitEthernet2/2/6" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "40GigabitEthernet" + mac: "cc4e.2417.5032" + bia: "cc4e.2417.5032" + confspeed: "40Gbit" + confduplex: "fdx" + actualspeed: "40Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "970774160" + inputpacketssec: "117415" + inputpercentutilization: "2.46" + outputbitssec: "12408" + outputpacketssec: "14" + outputpercentutilization: "0.00" + inputpacketstotal: "99879339320" + inputbytestotal: "103133424033713" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "93288242" + inputunicasts: "99786051078" + inputerrors: "9" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "15780460" + outputbytestotal: "1805311760" + outputunderruns: "0" + outputbroadcasts: "188994" + outputmulticasts: "15147920" + outputunicasts: "443546" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "3261299" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "3312" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "10982" + queue5dropped: "0" + queue6queued: "10902685" + queue6dropped: "0" + queue7queued: "1602175" + queue7dropped: "0" + - interface: "10GigabitEthernet 2/2/7" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2417.5033" + bia: "cc4e.2417.5033" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "244127432" + inputpacketssec: "25794" + inputpercentutilization: "2.47" + outputbitssec: "7616" + outputpacketssec: "10" + outputpercentutilization: "0.00" + inputpacketstotal: "19383300436" + inputbytestotal: "23788186600155" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "13554902" + inputunicasts: "19369745534" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "11532921" + outputbytestotal: "1043466315" + outputunderruns: "0" + outputbroadcasts: "49184" + outputmulticasts: "11354654" + outputunicasts: "129083" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "839791" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "195" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "3061" + queue5dropped: "0" + queue6queued: "10097678" + queue6dropped: "0" + queue7queued: "592189" + queue7dropped: "0" + - interface: "10GigabitEthernet 2/2/8" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2417.5034" + bia: "cc4e.2417.5034" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "238005528" + inputpacketssec: "24606" + inputpercentutilization: "2.41" + outputbitssec: "1984" + outputpacketssec: "1" + outputpercentutilization: "0.00" + inputpacketstotal: "18952518273" + inputbytestotal: "23628868680486" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "2545080" + inputunicasts: "18949973193" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "1416147" + outputbytestotal: "300689915" + outputunderruns: "0" + outputbroadcasts: "43293" + outputmulticasts: "1273784" + outputunicasts: "99070" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "822300" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "112" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "1496" + queue5dropped: "0" + queue6queued: "50" + queue6dropped: "0" + queue7queued: "592189" + queue7dropped: "0" + - interface: "10GigabitEthernet 2/2/9" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2417.5035" + bia: "cc4e.2417.5035" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "219434664" + inputpacketssec: "23628" + inputpercentutilization: "2.22" + outputbitssec: "8680" + outputpacketssec: "11" + outputpercentutilization: "0.00" + inputpacketstotal: "20081821869" + inputbytestotal: "24748910435961" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "12894110" + inputunicasts: "20068927759" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "12103624" + outputbytestotal: "1139098349" + outputunderruns: "0" + outputbroadcasts: "7569" + outputmulticasts: "12004303" + outputunicasts: "91752" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "984108" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "90" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "4975" + queue5dropped: "0" + queue6queued: "10522257" + queue6dropped: "0" + queue7queued: "592189" + queue7dropped: "0" + - interface: "10GigabitEthernet 2/2/10" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: " 10GigabitEthernet " + mac: "cc4e.2417.5036" + bia: "cc4e.2417.5036" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "disabled" + flowcontrolnegconfig: "disabled" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "226419168" + inputpacketssec: "25721" + inputpercentutilization: "2.29" + outputbitssec: "7264" + outputpacketssec: "10" + outputpercentutilization: "0.00" + inputpacketstotal: "19681641572" + inputbytestotal: "23792422541009" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "11726217" + inputunicasts: "19669915355" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "11328723" + outputbytestotal: "992608668" + outputunderruns: "0" + outputbroadcasts: "5671" + outputmulticasts: "11137806" + outputunicasts: "185246" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "634398" + queue0dropped: "0" + queue1queued: "1000" + queue1dropped: "0" + queue2queued: "796" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "1000" + queue4dropped: "0" + queue5queued: "1590" + queue5dropped: "0" + queue6queued: "10097745" + queue6dropped: "0" + queue7queued: "592189" + queue7dropped: "0" + - interface: "10GigabitEthernet2/3/1" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2417.5037" + bia: "cc4e.2417.5037" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "186" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "2/3/1,2/3/2" + activelagrole: "primary" + activelagprimaryport: "" + conflagports: "2/3/1,2/3/2" + conflagrole: "primary" + conflagprimaryport: "" + portname: "10G to XH #1" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "240805824" + inputpacketssec: "91239" + inputpercentutilization: "2.54" + outputbitssec: "973176184" + outputpacketssec: "101773" + outputpercentutilization: "9.88" + inputpacketstotal: "68064498660" + inputbytestotal: "23814277961105" + inputnobuffers: "0" + inputbroadcasts: "613899" + inputmulticasts: "35149335" + inputunicasts: "68028735426" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "84652741255" + outputbytestotal: "105773127875437" + outputunderruns: "0" + outputbroadcasts: "56141912" + outputmulticasts: "6567757135" + outputunicasts: "78028842208" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "2375669442" + queue0dropped: "0" + queue1queued: "315122350" + queue1dropped: "0" + queue2queued: "634463566" + queue2dropped: "0" + queue3queued: "736597636" + queue3dropped: "0" + queue4queued: "195802448" + queue4dropped: "0" + queue5queued: "1144367196" + queue5dropped: "0" + queue6queued: "330644262" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet2/3/2" + intstate: "up" + protostate: "up" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2417.5037" + bia: "cc4e.2417.5038" + confspeed: "10Gbit" + confduplex: "fdx" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "FORWARDING" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "186" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "2/3/1,2/3/2" + activelagrole: "primary" + activelagprimaryport: "" + conflagports: "2/3/1,2/3/2" + conflagrole: "primary" + conflagprimaryport: "" + portname: "10G to XH #2" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "138561080" + inputpacketssec: "71515" + inputpercentutilization: "1.49" + outputbitssec: "1042031800" + outputpacketssec: "126852" + outputpercentutilization: "10.61" + inputpacketstotal: "43010834862" + inputbytestotal: "13339846037011" + inputnobuffers: "0" + inputbroadcasts: "672491" + inputmulticasts: "15169542" + inputunicasts: "42994992829" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "106910633569" + outputbytestotal: "110983669699528" + outputunderruns: "0" + outputbroadcasts: "233035972" + outputmulticasts: "6455223684" + outputunicasts: "100222373913" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "2423482811" + queue0dropped: "0" + queue1queued: "408926503" + queue1dropped: "0" + queue2queued: "621230708" + queue2dropped: "0" + queue3queued: "1135203007" + queue3dropped: "0" + queue4queued: "301684980" + queue4dropped: "0" + queue5queued: "1557462117" + queue5dropped: "0" + queue6queued: "67708083" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet2/3/3" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2417.5039" + bia: "cc4e.2417.5039" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "9544" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet2/3/4" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2417.503a" + bia: "cc4e.2417.503a" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "9544" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet2/3/5" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2417.503b" + bia: "cc4e.2417.503b" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "9544" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet2/3/6" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2417.503c" + bia: "cc4e.2417.503c" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "9544" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet2/3/7" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2417.503d" + bia: "cc4e.2417.503d" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "9544" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "10GigabitEthernet2/3/8" + intstate: "disabled" + protostate: "down" + stprootguard: "Disabled" + stpbpduguard: "Disabled" + hardwaretype: "10GigabitEthernet" + mac: "cc4e.2417.503e" + bia: "cc4e.2417.503e" + confspeed: "1Gbit" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "DISABLED" + l2portmode: "untagged" + untaggedvlan: "9544" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolconfigstate: "enabled" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "disabled" + monitorstate: "disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "10200" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "Disabled" + queue0queued: "0" + queue0dropped: "0" + queue1queued: "0" + queue1dropped: "0" + queue2queued: "0" + queue2dropped: "0" + queue3queued: "0" + queue3dropped: "0" + queue4queued: "0" + queue4dropped: "0" + queue5queued: "0" + queue5dropped: "0" + queue6queued: "0" + queue6dropped: "0" + queue7queued: "0" + queue7dropped: "0" + - interface: "GigEthernetmgmt1" + intstate: "disabled" + protostate: "down" + stprootguard: "" + stpbpduguard: "" + hardwaretype: "GigEthernet" + mac: "cc4e.2415.015e" + bia: "cc4e.2415.0176" + confspeed: "auto" + confduplex: "fdx" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "" + priority: "" + flowcontrolconfigstate: "" + flowcontrolopstate: "" + flowcontrolnegconfig: "" + mirrorstate: "" + monitorstate: "" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "1500" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + relayagentinfo: "" + queue0queued: "" + queue0dropped: "" + queue1queued: "" + queue1dropped: "" + queue2queued: "" + queue2dropped: "" + queue3queued: "" + queue3dropped: "" + queue4queued: "" + queue4dropped: "" + queue5queued: "" + queue5dropped: "" + queue6queued: "" + queue6dropped: "" + queue7queued: "" + queue7dropped: "" diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.parsed b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.parsed deleted file mode 100644 index 5a889817a5..0000000000 --- a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.parsed +++ /dev/null @@ -1,266 +0,0 @@ ---- -parsed_sample: -- interface: "1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "001b.ed6b.2000" - name: "to" -- interface: "2" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "1" - priority: "0" - mac: "001b.ed6b.2001" - name: "switch1b" -- interface: "3" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "001b.ed6b.2002" - name: "" -- interface: "4" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2033" - priority: "0" - mac: "001b.ed6b.2003" - name: "Boyce&By" -- interface: "5" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "001b.ed6b.2004" - name: "" -- interface: "6" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "001b.ed6b.2005" - name: "" -- interface: "7" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "001b.ed6b.2006" - name: "ms1a" -- interface: "8" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "001b.ed6b.2007" - name: "" -- interface: "9" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "450" - priority: "0" - mac: "001b.ed6b.2008" - name: "warehous" -- interface: "10" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "152" - priority: "0" - mac: "001b.ed6b.2009" - name: "sbc1.voi" -- interface: "11" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "1" - priority: "0" - mac: "001b.ed6b.200a" - name: "OPTI1-MS" -- interface: "12" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "001b.ed6b.200b" - name: "" -- interface: "13" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "001b.ed6b.200c" - name: "" -- interface: "14" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "154" - priority: "0" - mac: "001b.ed6b.200d" - name: "SocketVo" -- interface: "15" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "001b.ed6b.200e" - name: "" -- interface: "16" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "149" - priority: "0" - mac: "001b.ed6b.200f" - name: "sbc1.voi" -- interface: "17" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2277" - priority: "0" - mac: "001b.ed6b.2010" - name: "Memory" -- interface: "18" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "001b.ed6b.2011" - name: "voipmon1" -- interface: "19" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "001b.ed6b.2012" - name: "vmail1.v" -- interface: "20" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "152" - priority: "0" - mac: "001b.ed6b.2013" - name: "VoIP-ASA" -- interface: "21" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "149" - priority: "0" - mac: "001b.ed6b.2014" - name: "VoIP-ASA" -- interface: "22" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "001b.ed6b.2015" - name: "md1a" -- interface: "23" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "1" - priority: "0" - mac: "001b.ed6b.2016" - name: "MPLSPPP1" -- interface: "24" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "450" - priority: "0" - mac: "001b.ed6b.2017" - name: "Socket" diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.yml b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.yml new file mode 100644 index 0000000000..451c1e8214 --- /dev/null +++ b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief.yml @@ -0,0 +1,266 @@ +--- +parsed_sample: + - interface: "1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "001b.ed6b.2000" + name: "to" + - interface: "2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2001" + name: "switch1b" + - interface: "3" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2002" + name: "" + - interface: "4" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2033" + priority: "0" + mac: "001b.ed6b.2003" + name: "Boyce&By" + - interface: "5" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2004" + name: "" + - interface: "6" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2005" + name: "" + - interface: "7" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "001b.ed6b.2006" + name: "ms1a" + - interface: "8" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2007" + name: "" + - interface: "9" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "450" + priority: "0" + mac: "001b.ed6b.2008" + name: "warehous" + - interface: "10" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "152" + priority: "0" + mac: "001b.ed6b.2009" + name: "sbc1.voi" + - interface: "11" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "1" + priority: "0" + mac: "001b.ed6b.200a" + name: "OPTI1-MS" + - interface: "12" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.200b" + name: "" + - interface: "13" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.200c" + name: "" + - interface: "14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "154" + priority: "0" + mac: "001b.ed6b.200d" + name: "SocketVo" + - interface: "15" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.200e" + name: "" + - interface: "16" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "149" + priority: "0" + mac: "001b.ed6b.200f" + name: "sbc1.voi" + - interface: "17" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2277" + priority: "0" + mac: "001b.ed6b.2010" + name: "Memory" + - interface: "18" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2011" + name: "voipmon1" + - interface: "19" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "001b.ed6b.2012" + name: "vmail1.v" + - interface: "20" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "152" + priority: "0" + mac: "001b.ed6b.2013" + name: "VoIP-ASA" + - interface: "21" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "149" + priority: "0" + mac: "001b.ed6b.2014" + name: "VoIP-ASA" + - interface: "22" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "001b.ed6b.2015" + name: "md1a" + - interface: "23" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "1" + priority: "0" + mac: "001b.ed6b.2016" + name: "MPLSPPP1" + - interface: "24" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "450" + priority: "0" + mac: "001b.ed6b.2017" + name: "Socket" diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.parsed b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.parsed deleted file mode 100644 index 4863d8dd32..0000000000 --- a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.parsed +++ /dev/null @@ -1,937 +0,0 @@ ---- -parsed_sample: -- interface: "1/1/1" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.015e" - name: "to" -- interface: "1/1/2" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.015f" - name: "TA5000A-SM" -- interface: "1/1/3" - linkstate: "Up" - portstate: "Forward" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "10" - priority: "0" - mac: "cc4e.2415.0160" - name: "TA3KA-MGMT" -- interface: "1/1/4" - linkstate: "Up" - portstate: "Forward" - duplex: "Half" - speed: "10M" - trunkid: "None" - tagonly: "No" - pvid: "10" - priority: "0" - mac: "cc4e.2415.0161" - name: "TA5K-MGMT" -- interface: "1/1/5" - linkstate: "Up" - portstate: "Forward" - duplex: "Half" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "10" - priority: "0" - mac: "cc4e.2415.0162" - name: "OPTI1-MGMT" -- interface: "1/1/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "330" - priority: "0" - mac: "cc4e.2415.0163" - name: "INSTALLERS" -- interface: "1/1/7" - linkstate: "Up" - portstate: "Forward" - duplex: "Half" - speed: "10M" - trunkid: "None" - tagonly: "No" - pvid: "10" - priority: "0" - mac: "cc4e.2415.0164" - name: "TA5KB-MGMT" -- interface: "1/1/8" - linkstate: "Up" - portstate: "Forward" - duplex: "Half" - speed: "10M" - trunkid: "None" - tagonly: "No" - pvid: "10" - priority: "0" - mac: "cc4e.2415.0165" - name: "TA3KB-MGMT" -- interface: "1/1/9" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0166" - name: "" -- interface: "1/1/10" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0167" - name: "" -- interface: "1/1/11" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0168" - name: "" -- interface: "1/1/12" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0169" - name: "" -- interface: "1/1/13" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.016a" - name: "to" -- interface: "1/1/14" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.016b" - name: "" -- interface: "1/1/15" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.016c" - name: "" -- interface: "1/1/16" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.016d" - name: "" -- interface: "1/1/17" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.016e" - name: "" -- interface: "1/1/18" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.016f" - name: "" -- interface: "1/1/19" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0170" - name: "" -- interface: "1/1/20" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0171" - name: "" -- interface: "1/1/21" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0172" - name: "" -- interface: "1/1/22" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0173" - name: "" -- interface: "1/1/23" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0174" - name: "" -- interface: "1/1/24" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "3" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.0175" - name: "1G" -- interface: "1/2/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "40G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.0177" - name: "" -- interface: "1/2/2" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.0178" - name: "" -- interface: "1/2/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.0179" - name: "" -- interface: "1/2/4" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.017a" - name: "" -- interface: "1/2/5" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.017b" - name: "" -- interface: "1/2/6" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "40G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.017c" - name: "" -- interface: "1/2/7" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.017d" - name: "" -- interface: "1/2/8" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.017e" - name: "" -- interface: "1/2/9" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.017f" - name: "" -- interface: "1/2/10" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.0180" - name: "" -- interface: "1/3/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "1" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.0181" - name: "10G" -- interface: "1/3/2" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "1" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "cc4e.2415.0181" - name: "10G" -- interface: "1/3/3" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0183" - name: "" -- interface: "1/3/4" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0184" - name: "" -- interface: "1/3/5" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0185" - name: "" -- interface: "1/3/6" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0186" - name: "" -- interface: "1/3/7" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0187" - name: "" -- interface: "1/3/8" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2415.0188" - name: "" -- interface: "2/1/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "4" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5014" - name: "1G" -- interface: "2/1/2" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5015" - name: "TA5000A-SM" -- interface: "2/1/3" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5016" - name: "" -- interface: "2/1/4" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5017" - name: "" -- interface: "2/1/5" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5018" - name: "" -- interface: "2/1/6" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5019" - name: "" -- interface: "2/1/7" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.501a" - name: "" -- interface: "2/1/8" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.501b" - name: "" -- interface: "2/1/9" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.501c" - name: "" -- interface: "2/1/10" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.501d" - name: "" -- interface: "2/1/11" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.501e" - name: "" -- interface: "2/1/12" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.501f" - name: "" -- interface: "2/1/13" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5020" - name: "" -- interface: "2/1/14" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5021" - name: "" -- interface: "2/1/15" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5022" - name: "" -- interface: "2/1/16" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5023" - name: "" -- interface: "2/1/17" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5024" - name: "" -- interface: "2/1/18" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5025" - name: "" -- interface: "2/1/19" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5026" - name: "" -- interface: "2/1/20" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5027" - name: "" -- interface: "2/1/21" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5028" - name: "" -- interface: "2/1/22" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.5029" - name: "" -- interface: "2/1/23" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.502a" - name: "" -- interface: "2/1/24" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "cc4e.2417.502b" - name: "" -- interface: "2/2/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "40G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.502d" - name: "" -- interface: "2/2/2" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.502e" - name: "" -- interface: "2/2/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.502f" - name: "" -- interface: "2/2/4" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5030" - name: "" -- interface: "2/2/5" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5031" - name: "" -- interface: "2/2/6" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "40G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5032" - name: "" -- interface: "2/2/7" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5033" - name: "" -- interface: "2/2/8" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5034" - name: "" -- interface: "2/2/9" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5035" - name: "" -- interface: "2/2/10" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5036" - name: "" -- interface: "2/3/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "5" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5037" - name: "10G" -- interface: "2/3/2" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "5" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5037" - name: "10G" -- interface: "2/3/3" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.5039" - name: "" -- interface: "2/3/4" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.503a" - name: "" -- interface: "2/3/5" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.503b" - name: "" -- interface: "2/3/6" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.503c" - name: "" -- interface: "2/3/7" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.503d" - name: "" -- interface: "2/3/8" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "cc4e.2417.503e" - name: "" -- interface: "mgmt1" - linkstate: "Disable" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "None" - priority: "0" - mac: "cc4e.2415.015e" - name: "" diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.yml b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.yml new file mode 100644 index 0000000000..ef104a1595 --- /dev/null +++ b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief1.yml @@ -0,0 +1,937 @@ +--- +parsed_sample: + - interface: "1/1/1" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.015e" + name: "to" + - interface: "1/1/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.015f" + name: "TA5000A-SM" + - interface: "1/1/3" + linkstate: "Up" + portstate: "Forward" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "10" + priority: "0" + mac: "cc4e.2415.0160" + name: "TA3KA-MGMT" + - interface: "1/1/4" + linkstate: "Up" + portstate: "Forward" + duplex: "Half" + speed: "10M" + trunkid: "None" + tagonly: "No" + pvid: "10" + priority: "0" + mac: "cc4e.2415.0161" + name: "TA5K-MGMT" + - interface: "1/1/5" + linkstate: "Up" + portstate: "Forward" + duplex: "Half" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "10" + priority: "0" + mac: "cc4e.2415.0162" + name: "OPTI1-MGMT" + - interface: "1/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "330" + priority: "0" + mac: "cc4e.2415.0163" + name: "INSTALLERS" + - interface: "1/1/7" + linkstate: "Up" + portstate: "Forward" + duplex: "Half" + speed: "10M" + trunkid: "None" + tagonly: "No" + pvid: "10" + priority: "0" + mac: "cc4e.2415.0164" + name: "TA5KB-MGMT" + - interface: "1/1/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Half" + speed: "10M" + trunkid: "None" + tagonly: "No" + pvid: "10" + priority: "0" + mac: "cc4e.2415.0165" + name: "TA3KB-MGMT" + - interface: "1/1/9" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0166" + name: "" + - interface: "1/1/10" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0167" + name: "" + - interface: "1/1/11" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0168" + name: "" + - interface: "1/1/12" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0169" + name: "" + - interface: "1/1/13" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016a" + name: "to" + - interface: "1/1/14" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016b" + name: "" + - interface: "1/1/15" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016c" + name: "" + - interface: "1/1/16" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016d" + name: "" + - interface: "1/1/17" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016e" + name: "" + - interface: "1/1/18" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.016f" + name: "" + - interface: "1/1/19" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0170" + name: "" + - interface: "1/1/20" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0171" + name: "" + - interface: "1/1/21" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0172" + name: "" + - interface: "1/1/22" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0173" + name: "" + - interface: "1/1/23" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0174" + name: "" + - interface: "1/1/24" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "3" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0175" + name: "1G" + - interface: "1/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "40G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0177" + name: "" + - interface: "1/2/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0178" + name: "" + - interface: "1/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0179" + name: "" + - interface: "1/2/4" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017a" + name: "" + - interface: "1/2/5" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017b" + name: "" + - interface: "1/2/6" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "40G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017c" + name: "" + - interface: "1/2/7" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017d" + name: "" + - interface: "1/2/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017e" + name: "" + - interface: "1/2/9" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.017f" + name: "" + - interface: "1/2/10" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0180" + name: "" + - interface: "1/3/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "1" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0181" + name: "10G" + - interface: "1/3/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "1" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2415.0181" + name: "10G" + - interface: "1/3/3" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0183" + name: "" + - interface: "1/3/4" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0184" + name: "" + - interface: "1/3/5" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0185" + name: "" + - interface: "1/3/6" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0186" + name: "" + - interface: "1/3/7" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0187" + name: "" + - interface: "1/3/8" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2415.0188" + name: "" + - interface: "2/1/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "4" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5014" + name: "1G" + - interface: "2/1/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5015" + name: "TA5000A-SM" + - interface: "2/1/3" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5016" + name: "" + - interface: "2/1/4" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5017" + name: "" + - interface: "2/1/5" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5018" + name: "" + - interface: "2/1/6" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5019" + name: "" + - interface: "2/1/7" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501a" + name: "" + - interface: "2/1/8" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501b" + name: "" + - interface: "2/1/9" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501c" + name: "" + - interface: "2/1/10" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501d" + name: "" + - interface: "2/1/11" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501e" + name: "" + - interface: "2/1/12" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.501f" + name: "" + - interface: "2/1/13" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5020" + name: "" + - interface: "2/1/14" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5021" + name: "" + - interface: "2/1/15" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5022" + name: "" + - interface: "2/1/16" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5023" + name: "" + - interface: "2/1/17" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5024" + name: "" + - interface: "2/1/18" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5025" + name: "" + - interface: "2/1/19" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5026" + name: "" + - interface: "2/1/20" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5027" + name: "" + - interface: "2/1/21" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5028" + name: "" + - interface: "2/1/22" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.5029" + name: "" + - interface: "2/1/23" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.502a" + name: "" + - interface: "2/1/24" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "cc4e.2417.502b" + name: "" + - interface: "2/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "40G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.502d" + name: "" + - interface: "2/2/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.502e" + name: "" + - interface: "2/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.502f" + name: "" + - interface: "2/2/4" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5030" + name: "" + - interface: "2/2/5" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5031" + name: "" + - interface: "2/2/6" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "40G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5032" + name: "" + - interface: "2/2/7" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5033" + name: "" + - interface: "2/2/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5034" + name: "" + - interface: "2/2/9" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5035" + name: "" + - interface: "2/2/10" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5036" + name: "" + - interface: "2/3/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "5" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5037" + name: "10G" + - interface: "2/3/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "5" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5037" + name: "10G" + - interface: "2/3/3" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.5039" + name: "" + - interface: "2/3/4" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.503a" + name: "" + - interface: "2/3/5" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.503b" + name: "" + - interface: "2/3/6" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.503c" + name: "" + - interface: "2/3/7" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.503d" + name: "" + - interface: "2/3/8" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "cc4e.2417.503e" + name: "" + - interface: "mgmt1" + linkstate: "Disable" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "None" + priority: "0" + mac: "cc4e.2415.015e" + name: "" diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.parsed b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.parsed deleted file mode 100644 index 79a1e55d1b..0000000000 --- a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.parsed +++ /dev/null @@ -1,4325 +0,0 @@ ---- -parsed_sample: -- interface: "1/1/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.aaf8" - name: "WW-CCTV" -- interface: "1/1/2" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.aaf9" - name: "WW-CCTV" -- interface: "1/1/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.aafa" - name: "WW-CCTV" -- interface: "1/1/4" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.aafb" - name: "WW-CCTV" -- interface: "1/1/5" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.aafc" - name: "WW-CCTV" -- interface: "1/1/6" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.aafd" - name: "WW-CCTV" -- interface: "1/1/7" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.aafe" - name: "WW-CCTV" -- interface: "1/1/8" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.aaff" - name: "WW-CCTV" -- interface: "1/1/9" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab00" - name: "WW-CCTV" -- interface: "1/1/10" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab01" - name: "WW-CCTV" -- interface: "1/1/11" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab02" - name: "WW-CCTV" -- interface: "1/1/12" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab03" - name: "WW-CCTV" -- interface: "1/1/13" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab04" - name: "WW-CCTV" -- interface: "1/1/14" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab05" - name: "WW-CCTV" -- interface: "1/1/15" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab06" - name: "WW-CCTV" -- interface: "1/1/16" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab07" - name: "WW-CCTV" -- interface: "1/1/17" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab08" - name: "WW-CCTV" -- interface: "1/1/18" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab09" - name: "WW-CCTV" -- interface: "1/1/19" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab0a" - name: "WW-CCTV" -- interface: "1/1/20" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab0b" - name: "WW-CCTV" -- interface: "1/1/21" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "52" - priority: "0" - mac: "609c.9f97.ab0c" - name: "WW-CCTV" -- interface: "1/1/22" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab0d" - name: "" -- interface: "1/1/23" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab0e" - name: "" -- interface: "1/1/24" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab0f" - name: "" -- interface: "1/1/25" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab10" - name: "WW-WAP" -- interface: "1/1/26" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "251" - priority: "0" - mac: "609c.9f97.ab11" - name: "WW-WAP" -- interface: "1/1/27" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "251" - priority: "0" - mac: "609c.9f97.ab12" - name: "WW-WAP" -- interface: "1/1/28" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab13" - name: "WW-WAP" -- interface: "1/1/29" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab14" - name: "WW-WAP" -- interface: "1/1/30" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "251" - priority: "0" - mac: "609c.9f97.ab15" - name: "WW-WAP" -- interface: "1/1/31" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab16" - name: "WW-WAP" -- interface: "1/1/32" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "251" - priority: "0" - mac: "609c.9f97.ab17" - name: "WW-WAP" -- interface: "1/1/33" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab18" - name: "WW-WAP" -- interface: "1/1/34" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "251" - priority: "0" - mac: "609c.9f97.ab19" - name: "WW-WAP" -- interface: "1/1/35" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab1a" - name: "" -- interface: "1/1/36" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab1b" - name: "" -- interface: "1/1/37" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab1c" - name: "" -- interface: "1/1/38" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab1d" - name: "WW-Floor8" -- interface: "1/1/39" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab1e" - name: "WW-Floor8" -- interface: "1/1/40" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab1f" - name: "WW-Floor-8" -- interface: "1/1/41" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab20" - name: "WW-Floor-8" -- interface: "1/1/42" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab21" - name: "WW-Floor-8" -- interface: "1/1/43" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab22" - name: "WW-Floor-8" -- interface: "1/1/44" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab23" - name: "WW-Floor-8" -- interface: "1/1/45" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab24" - name: "WW-Floor-8" -- interface: "1/1/46" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab25" - name: "WW-Floor-8" -- interface: "1/1/47" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab26" - name: "WW-Floor-8" -- interface: "1/1/48" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.ab27" - name: "WW-Floor-8" -- interface: "1/2/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab29" - name: "" -- interface: "1/2/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.ab2a" - name: "" -- interface: "1/2/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab2b" - name: "" -- interface: "1/2/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.ab2c" - name: "" -- interface: "1/2/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.ab2d" - name: "" -- interface: "1/2/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.ab2e" - name: "" -- interface: "1/2/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.ab2f" - name: "" -- interface: "1/2/8" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "1" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab30" - name: "Uplink-Distro" -- interface: "2/1/1" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1d0" - name: "" -- interface: "2/1/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1d1" - name: "" -- interface: "2/1/3" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1d2" - name: "" -- interface: "2/1/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1d3" - name: "" -- interface: "2/1/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1d4" - name: "" -- interface: "2/1/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1d5" - name: "" -- interface: "2/1/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1d6" - name: "" -- interface: "2/1/8" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1d7" - name: "" -- interface: "2/1/9" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1d8" - name: "" -- interface: "2/1/10" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1d9" - name: "" -- interface: "2/1/11" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1da" - name: "" -- interface: "2/1/12" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1db" - name: "" -- interface: "2/1/13" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1dc" - name: "" -- interface: "2/1/14" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1dd" - name: "" -- interface: "2/1/15" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1de" - name: "" -- interface: "2/1/16" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1df" - name: "" -- interface: "2/1/17" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1e0" - name: "" -- interface: "2/1/18" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1e1" - name: "" -- interface: "2/1/19" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1e2" - name: "" -- interface: "2/1/20" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1e3" - name: "" -- interface: "2/1/21" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1e4" - name: "" -- interface: "2/1/22" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1e5" - name: "" -- interface: "2/1/23" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1e6" - name: "" -- interface: "2/1/24" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1e7" - name: "" -- interface: "2/1/25" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1e8" - name: "" -- interface: "2/1/26" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1e9" - name: "" -- interface: "2/1/27" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1ea" - name: "" -- interface: "2/1/28" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1eb" - name: "" -- interface: "2/1/29" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1ec" - name: "" -- interface: "2/1/30" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1ed" - name: "" -- interface: "2/1/31" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1ee" - name: "" -- interface: "2/1/32" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1ef" - name: "" -- interface: "2/1/33" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1f0" - name: "" -- interface: "2/1/34" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "999" - priority: "0" - mac: "609c.9f97.e1f1" - name: "Acceletrade-Pub" -- interface: "2/1/35" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1f2" - name: "" -- interface: "2/1/36" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1f3" - name: "" -- interface: "2/1/37" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1f4" - name: "" -- interface: "2/1/38" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1f5" - name: "WW-Floor-8" -- interface: "2/1/39" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1f6" - name: "WW-Floor-8" -- interface: "2/1/40" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1f7" - name: "WW-Floor-8" -- interface: "2/1/41" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1f8" - name: "WW-Floor-8" -- interface: "2/1/42" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1f9" - name: "WW-Floor-8" -- interface: "2/1/43" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1fa" - name: "WW-Floor-8" -- interface: "2/1/44" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1fb" - name: "WW-Floor-8" -- interface: "2/1/45" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1fc" - name: "WW-Floor-8" -- interface: "2/1/46" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1fd" - name: "WW-Floor-8" -- interface: "2/1/47" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1fe" - name: "WW-Floor-8" -- interface: "2/1/48" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e1ff" - name: "WW-Floor-8" -- interface: "2/2/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.e201" - name: "" -- interface: "2/2/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e202" - name: "" -- interface: "2/2/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.e203" - name: "" -- interface: "2/2/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e204" - name: "" -- interface: "2/2/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e205" - name: "" -- interface: "2/2/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e206" - name: "" -- interface: "2/2/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e207" - name: "" -- interface: "2/2/8" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "1" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.ab30" - name: "Uplink-Distro" -- interface: "3/1/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2c94" - name: "WW-Floor-8" -- interface: "3/1/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2c95" - name: "WW-Floor-8" -- interface: "3/1/3" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2c96" - name: "WW-Floor-8" -- interface: "3/1/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "131" - priority: "0" - mac: "609c.9f98.2c97" - name: "OLACE-NR" -- interface: "3/1/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "131" - priority: "0" - mac: "609c.9f98.2c98" - name: "OLACE-NR" -- interface: "3/1/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "131" - priority: "0" - mac: "609c.9f98.2c99" - name: "OLACE-NR" -- interface: "3/1/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "131" - priority: "0" - mac: "609c.9f98.2c9a" - name: "OLACE-NR" -- interface: "3/1/8" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "131" - priority: "0" - mac: "609c.9f98.2c9b" - name: "OLACE-NR" -- interface: "3/1/9" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "131" - priority: "0" - mac: "609c.9f98.2c9c" - name: "OLACE-NR" -- interface: "3/1/10" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "131" - priority: "0" - mac: "609c.9f98.2c9d" - name: "OLACE-NR" -- interface: "3/1/11" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "160" - priority: "0" - mac: "609c.9f98.2c9e" - name: "WW-Floor-8" -- interface: "3/1/12" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "160" - priority: "0" - mac: "609c.9f98.2c9f" - name: "WW-Floor-8" -- interface: "3/1/13" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "160" - priority: "0" - mac: "609c.9f98.2ca0" - name: "WW-Floor-8" -- interface: "3/1/14" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "160" - priority: "0" - mac: "609c.9f98.2ca1" - name: "WW-Floor-8" -- interface: "3/1/15" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "160" - priority: "0" - mac: "609c.9f98.2ca2" - name: "WW-Floor-8" -- interface: "3/1/16" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "160" - priority: "0" - mac: "609c.9f98.2ca3" - name: "WW-Floor-8" -- interface: "3/1/17" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "160" - priority: "0" - mac: "609c.9f98.2ca4" - name: "WW-Floor-8" -- interface: "3/1/18" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "160" - priority: "0" - mac: "609c.9f98.2ca5" - name: "WW-Floor-8" -- interface: "3/1/19" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "160" - priority: "0" - mac: "609c.9f98.2ca6" - name: "WW-Floor-8" -- interface: "3/1/20" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "160" - priority: "0" - mac: "609c.9f98.2ca7" - name: "WW-Floor-8" -- interface: "3/1/21" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2ca8" - name: "WW-Floor-8" -- interface: "3/1/22" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2ca9" - name: "WW-Floor-8" -- interface: "3/1/23" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2caa" - name: "WW-Floor-8" -- interface: "3/1/24" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cab" - name: "WW-Floor-8" -- interface: "3/1/25" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cac" - name: "WW-Floor-8" -- interface: "3/1/26" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cad" - name: "WW-Floor-8" -- interface: "3/1/27" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cae" - name: "WW-Floor-8" -- interface: "3/1/28" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2caf" - name: "WW-Floor-8" -- interface: "3/1/29" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cb0" - name: "WW-Floor-8" -- interface: "3/1/30" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cb1" - name: "WW-Floor-8" -- interface: "3/1/31" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cb2" - name: "WW-Floor-8" -- interface: "3/1/32" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cb3" - name: "WW-Floor-8" -- interface: "3/1/33" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cb4" - name: "WW-Floor-8" -- interface: "3/1/34" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cb5" - name: "WW-Floor-8" -- interface: "3/1/35" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cb6" - name: "WW-Floor-8" -- interface: "3/1/36" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cb7" - name: "WW-Floor-8" -- interface: "3/1/37" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cb8" - name: "WW-Floor-8" -- interface: "3/1/38" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cb9" - name: "WW-Floor-8" -- interface: "3/1/39" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cba" - name: "WW-Floor-8" -- interface: "3/1/40" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cbb" - name: "WW-Floor-8" -- interface: "3/1/41" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cbc" - name: "WW-Floor-8" -- interface: "3/1/42" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cbd" - name: "WW-Floor-8" -- interface: "3/1/43" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cbe" - name: "WW-Floor-8" -- interface: "3/1/44" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cbf" - name: "WW-Floor-8" -- interface: "3/1/45" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cc0" - name: "WW-Floor-8" -- interface: "3/1/46" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cc1" - name: "WW-Floor-8" -- interface: "3/1/47" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "999" - priority: "0" - mac: "609c.9f98.2cc2" - name: "CreditConsensus" -- interface: "3/1/48" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f98.2cc3" - name: "WW-Floor-8" -- interface: "3/2/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f98.2cc5" - name: "" -- interface: "3/2/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f98.2cc6" - name: "" -- interface: "3/2/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f98.2cc7" - name: "" -- interface: "3/2/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f98.2cc8" - name: "" -- interface: "3/2/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f98.2cc9" - name: "" -- interface: "3/2/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f98.2cca" - name: "" -- interface: "3/2/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f98.2ccb" - name: "" -- interface: "3/2/8" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f98.2ccc" - name: "" -- interface: "4/1/1" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d744" - name: "WW-Floor-8" -- interface: "4/1/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d745" - name: "WW-Floor-8" -- interface: "4/1/3" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d746" - name: "WW-Floor-8" -- interface: "4/1/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d747" - name: "WW-Floor-8" -- interface: "4/1/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d748" - name: "WW-Floor-8" -- interface: "4/1/6" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "15" - priority: "0" - mac: "609c.9f97.d749" - name: "WW-Printer" -- interface: "4/1/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "15" - priority: "0" - mac: "609c.9f97.d74a" - name: "WW-Printer" -- interface: "4/1/8" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d74b" - name: "WW-Floor-8" -- interface: "4/1/9" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d74c" - name: "WW-Floor-8" -- interface: "4/1/10" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d74d" - name: "WW-Floor-8" -- interface: "4/1/11" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d74e" - name: "WW-Floor-8" -- interface: "4/1/12" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d74f" - name: "WW-Floor-8" -- interface: "4/1/13" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d750" - name: "WW-Floor-8" -- interface: "4/1/14" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d751" - name: "WW-Floor-8" -- interface: "4/1/15" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d752" - name: "WW-Floor-8" -- interface: "4/1/16" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d753" - name: "WW-Floor-8" -- interface: "4/1/17" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d754" - name: "WW-Floor-8" -- interface: "4/1/18" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d755" - name: "WW-Floor-8" -- interface: "4/1/19" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d756" - name: "WW-Floor-8" -- interface: "4/1/20" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d757" - name: "WW-Floor-8" -- interface: "4/1/21" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d758" - name: "WW-Floor-8" -- interface: "4/1/22" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d759" - name: "WW-Floor-8" -- interface: "4/1/23" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d75a" - name: "WW-Floor-8" -- interface: "4/1/24" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "117" - priority: "0" - mac: "609c.9f97.d75b" - name: "CreditBenchmark" -- interface: "4/1/25" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d75c" - name: "WW-Floor-8" -- interface: "4/1/26" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d75d" - name: "WW-Floor-8" -- interface: "4/1/27" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d75e" - name: "WW-Floor-8" -- interface: "4/1/28" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d75f" - name: "WW-Floor-8" -- interface: "4/1/29" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d760" - name: "WW-Floor-8" -- interface: "4/1/30" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d761" - name: "WW-Floor-8" -- interface: "4/1/31" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d762" - name: "WW-Floor-8" -- interface: "4/1/32" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d763" - name: "WW-Floor-8" -- interface: "4/1/33" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d764" - name: "WW-Floor-8" -- interface: "4/1/34" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d765" - name: "WW-Floor-8" -- interface: "4/1/35" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d766" - name: "WW-Floor-8" -- interface: "4/1/36" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d767" - name: "WW-Floor-8" -- interface: "4/1/37" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d768" - name: "WW-Floor-8" -- interface: "4/1/38" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d769" - name: "WW-Floor-8" -- interface: "4/1/39" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d76a" - name: "WW-Floor-8" -- interface: "4/1/40" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d76b" - name: "WW-Floor-8" -- interface: "4/1/41" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d76c" - name: "WW-Floor-8" -- interface: "4/1/42" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d76d" - name: "WW-Floor-8" -- interface: "4/1/43" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d76e" - name: "WW-Floor-8" -- interface: "4/1/44" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d76f" - name: "WW-Floor-8" -- interface: "4/1/45" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d770" - name: "WW-Floor-8" -- interface: "4/1/46" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d771" - name: "WW-Floor-8" -- interface: "4/1/47" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d772" - name: "WW-Floor-8" -- interface: "4/1/48" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d773" - name: "WW-Floor-8" -- interface: "4/2/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.d775" - name: "" -- interface: "4/2/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d776" - name: "" -- interface: "4/2/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.d777" - name: "" -- interface: "4/2/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d778" - name: "" -- interface: "4/2/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d779" - name: "" -- interface: "4/2/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d77a" - name: "" -- interface: "4/2/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d77b" - name: "" -- interface: "4/2/8" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d77c" - name: "" -- interface: "5/1/1" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d708" - name: "WW-Floor-8" -- interface: "5/1/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d709" - name: "WW-Floor-8" -- interface: "5/1/3" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d70a" - name: "WW-Floor-8" -- interface: "5/1/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d70b" - name: "WW-Floor-8" -- interface: "5/1/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d70c" - name: "WW-Floor-8" -- interface: "5/1/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d70d" - name: "WW-Floor-8" -- interface: "5/1/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d70e" - name: "WW-Floor-8" -- interface: "5/1/8" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d70f" - name: "WW-Floor-8" -- interface: "5/1/9" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d710" - name: "WW-Floor-8" -- interface: "5/1/10" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d711" - name: "WW-Floor-8" -- interface: "5/1/11" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d712" - name: "WW-Floor-8" -- interface: "5/1/12" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d713" - name: "WW-Floor-8" -- interface: "5/1/13" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d714" - name: "WW-Floor-8" -- interface: "5/1/14" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d715" - name: "WW-Floor-8" -- interface: "5/1/15" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d716" - name: "WW-Floor-8" -- interface: "5/1/16" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d717" - name: "WW-Floor-8" -- interface: "5/1/17" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d718" - name: "WW-Floor-8" -- interface: "5/1/18" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d719" - name: "WW-Floor-8" -- interface: "5/1/19" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d71a" - name: "WW-Floor-8" -- interface: "5/1/20" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d71b" - name: "WW-Floor-8" -- interface: "5/1/21" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d71c" - name: "WW-Floor-8" -- interface: "5/1/22" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d71d" - name: "WW-Floor-8" -- interface: "5/1/23" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d71e" - name: "WW-Floor-8" -- interface: "5/1/24" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d71f" - name: "WW-Floor-8" -- interface: "5/1/25" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d720" - name: "WW-Floor-8" -- interface: "5/1/26" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d721" - name: "WW-Floor-8" -- interface: "5/1/27" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d722" - name: "WW-Floor-8" -- interface: "5/1/28" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d723" - name: "WW-Floor-8" -- interface: "5/1/29" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d724" - name: "WW-Floor-8" -- interface: "5/1/30" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d725" - name: "WW-Floor-8" -- interface: "5/1/31" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "137" - priority: "0" - mac: "609c.9f97.d726" - name: "MQS-NYC-User" -- interface: "5/1/32" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "999" - priority: "0" - mac: "609c.9f97.d727" - name: "MQS-NYC-WAN" -- interface: "5/1/33" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "137" - priority: "0" - mac: "609c.9f97.d728" - name: "MQS-NYC-User" -- interface: "5/1/34" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10M" - trunkid: "None" - tagonly: "No" - pvid: "137" - priority: "0" - mac: "609c.9f97.d729" - name: "MQS-NYC-User" -- interface: "5/1/35" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "137" - priority: "0" - mac: "609c.9f97.d72a" - name: "MQS-NYC-User" -- interface: "5/1/36" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d72b" - name: "WW-Floor-8" -- interface: "5/1/37" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "137" - priority: "0" - mac: "609c.9f97.d72c" - name: "MQS-NYC-User" -- interface: "5/1/38" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "137" - priority: "0" - mac: "609c.9f97.d72d" - name: "MQS-NYC-User" -- interface: "5/1/39" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "137" - priority: "0" - mac: "609c.9f97.d72e" - name: "MQS-NYC-User" -- interface: "5/1/40" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d72f" - name: "WW-Floor-8" -- interface: "5/1/41" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d730" - name: "WW-Floor-8" -- interface: "5/1/42" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d731" - name: "WW-Floor-8" -- interface: "5/1/43" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d732" - name: "WW-Floor-8" -- interface: "5/1/44" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d733" - name: "WW-Floor-8" -- interface: "5/1/45" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d734" - name: "WW-Floor-8" -- interface: "5/1/46" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d735" - name: "WW-Floor-8" -- interface: "5/1/47" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d736" - name: "WW-Floor-8" -- interface: "5/1/48" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.d737" - name: "WW-Floor-8" -- interface: "5/2/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.d739" - name: "" -- interface: "5/2/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d73a" - name: "" -- interface: "5/2/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.d73b" - name: "" -- interface: "5/2/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d73c" - name: "" -- interface: "5/2/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d73d" - name: "" -- interface: "5/2/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d73e" - name: "" -- interface: "5/2/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d73f" - name: "" -- interface: "5/2/8" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.d740" - name: "" -- interface: "6/1/1" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dff0" - name: "WW-Floor-8" -- interface: "6/1/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dff1" - name: "WW-Floor-8" -- interface: "6/1/3" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dff2" - name: "WW-Floor-8" -- interface: "6/1/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dff3" - name: "WW-Floor-8" -- interface: "6/1/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dff4" - name: "WW-Floor-8" -- interface: "6/1/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dff5" - name: "WW-Floor-8" -- interface: "6/1/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dff6" - name: "WW-Floor-8" -- interface: "6/1/8" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dff7" - name: "WW-Floor-8" -- interface: "6/1/9" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dff8" - name: "WW-Floor-8" -- interface: "6/1/10" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dff9" - name: "WW-Floor-8" -- interface: "6/1/11" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dffa" - name: "WW-Floor-8" -- interface: "6/1/12" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dffb" - name: "WW-Floor-8" -- interface: "6/1/13" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dffc" - name: "WW-Floor-8" -- interface: "6/1/14" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dffd" - name: "WW-Floor-8" -- interface: "6/1/15" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dffe" - name: "WW-Floor-8" -- interface: "6/1/16" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.dfff" - name: "WW-Floor-8" -- interface: "6/1/17" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e000" - name: "WW-Floor-8" -- interface: "6/1/18" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e001" - name: "WW-Floor-8" -- interface: "6/1/19" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e002" - name: "WW-Floor-8" -- interface: "6/1/20" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e003" - name: "WW-Floor-8" -- interface: "6/1/21" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e004" - name: "WW-Floor-8" -- interface: "6/1/22" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e005" - name: "WW-Floor-8" -- interface: "6/1/23" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e006" - name: "WW-Floor-8" -- interface: "6/1/24" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e007" - name: "WW-Floor-8" -- interface: "6/1/25" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e008" - name: "WW-Floor-8" -- interface: "6/1/26" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e009" - name: "WW-Floor-8" -- interface: "6/1/27" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e00a" - name: "WW-Floor-8" -- interface: "6/1/28" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e00b" - name: "WW-Floor-8" -- interface: "6/1/29" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e00c" - name: "WW-Floor-8" -- interface: "6/1/30" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e00d" - name: "WW-Floor-8" -- interface: "6/1/31" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e00e" - name: "WW-Floor-8" -- interface: "6/1/32" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e00f" - name: "WW-Floor-8" -- interface: "6/1/33" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e010" - name: "WW-Floor-8" -- interface: "6/1/34" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e011" - name: "WW-Floor-8" -- interface: "6/1/35" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e012" - name: "WW-Floor-8" -- interface: "6/1/36" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e013" - name: "WW-Floor-8" -- interface: "6/1/37" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "2008" - priority: "0" - mac: "609c.9f97.e014" - name: "WW-Floor-8" -- interface: "6/1/38" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.e015" - name: "" -- interface: "6/1/39" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.e016" - name: "" -- interface: "6/1/40" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.e017" - name: "" -- interface: "6/1/41" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.e018" - name: "WW-AV" -- interface: "6/1/42" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.e019" - name: "WW-AV" -- interface: "6/1/43" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.e01a" - name: "WW-AV" -- interface: "6/1/44" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.e01b" - name: "WW-AV" -- interface: "6/1/45" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.e01c" - name: "WW-AV" -- interface: "6/1/46" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.e01d" - name: "WW-AV" -- interface: "6/1/47" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.e01e" - name: "WW-AV" -- interface: "6/1/48" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.e01f" - name: "WW-AV" -- interface: "6/2/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.e021" - name: "" -- interface: "6/2/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e022" - name: "" -- interface: "6/2/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.e023" - name: "" -- interface: "6/2/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e024" - name: "" -- interface: "6/2/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e025" - name: "" -- interface: "6/2/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e026" - name: "" -- interface: "6/2/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e027" - name: "" -- interface: "6/2/8" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.e028" - name: "" -- interface: "7/1/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.817c" - name: "WW-AV" -- interface: "7/1/2" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.817d" - name: "WW-AV" -- interface: "7/1/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.817e" - name: "WW-AV" -- interface: "7/1/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "11" - priority: "0" - mac: "609c.9f97.817f" - name: "WW-AV" -- interface: "7/1/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8180" - name: "" -- interface: "7/1/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8181" - name: "" -- interface: "7/1/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8182" - name: "" -- interface: "7/1/8" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "54" - priority: "0" - mac: "609c.9f97.8183" - name: "" -- interface: "7/1/9" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "54" - priority: "0" - mac: "609c.9f97.8184" - name: "" -- interface: "7/1/10" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8185" - name: "" -- interface: "7/1/11" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8186" - name: "" -- interface: "7/1/12" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8187" - name: "" -- interface: "7/1/13" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8188" - name: "" -- interface: "7/1/14" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8189" - name: "" -- interface: "7/1/15" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.818a" - name: "" -- interface: "7/1/16" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.818b" - name: "" -- interface: "7/1/17" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.818c" - name: "" -- interface: "7/1/18" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.818d" - name: "" -- interface: "7/1/19" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.818e" - name: "" -- interface: "7/1/20" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.818f" - name: "" -- interface: "7/1/21" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "131" - priority: "0" - mac: "609c.9f97.8190" - name: "OLA_VLAN_Server" -- interface: "7/1/22" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "131" - priority: "0" - mac: "609c.9f97.8191" - name: "OLA_VLAN_Server" -- interface: "7/1/23" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "999" - priority: "0" - mac: "609c.9f97.8192" - name: "OLACE-NR-WAN" -- interface: "7/1/24" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "131" - priority: "0" - mac: "609c.9f97.8193" - name: "OLACE-NR" -- interface: "7/1/25" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8194" - name: "WW-WAP" -- interface: "7/1/26" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "251" - priority: "0" - mac: "609c.9f97.8195" - name: "WW-WAP" -- interface: "7/1/27" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8196" - name: "WW-WAP" -- interface: "7/1/28" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "251" - priority: "0" - mac: "609c.9f97.8197" - name: "WW-WAP" -- interface: "7/1/29" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8198" - name: "" -- interface: "7/1/30" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.8199" - name: "" -- interface: "7/1/31" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.819a" - name: "" -- interface: "7/1/32" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.819b" - name: "" -- interface: "7/1/33" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.819c" - name: "" -- interface: "7/1/34" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.819d" - name: "" -- interface: "7/1/35" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.819e" - name: "" -- interface: "7/1/36" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "1G" - trunkid: "None" - tagonly: "No" - pvid: "999" - priority: "0" - mac: "609c.9f97.819f" - name: "GraniteRidge-WA" -- interface: "7/1/37" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10M" - trunkid: "None" - tagonly: "No" - pvid: "117" - priority: "0" - mac: "609c.9f97.81a0" - name: "CreditBenchmark" -- interface: "7/1/38" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "No" - pvid: "999" - priority: "0" - mac: "609c.9f97.81a1" - name: "CreditBenchmark" -- interface: "7/1/39" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81a2" - name: "" -- interface: "7/1/40" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81a3" - name: "" -- interface: "7/1/41" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81a4" - name: "" -- interface: "7/1/42" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81a5" - name: "" -- interface: "7/1/43" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81a6" - name: "" -- interface: "7/1/44" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81a7" - name: "" -- interface: "7/1/45" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81a8" - name: "" -- interface: "7/1/46" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81a9" - name: "" -- interface: "7/1/47" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81aa" - name: "" -- interface: "7/1/48" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "100M" - trunkid: "None" - tagonly: "Yes" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81ab" - name: "" -- interface: "7/2/1" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81ad" - name: "" -- interface: "7/2/2" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.81ae" - name: "" -- interface: "7/2/3" - linkstate: "Up" - portstate: "Forward" - duplex: "Full" - speed: "10G" - trunkid: "None" - tagonly: "No" - pvid: "N/A" - priority: "0" - mac: "609c.9f97.81af" - name: "" -- interface: "7/2/4" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.81b0" - name: "" -- interface: "7/2/5" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.81b1" - name: "" -- interface: "7/2/6" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.81b2" - name: "" -- interface: "7/2/7" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.81b3" - name: "" -- interface: "7/2/8" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "1" - priority: "0" - mac: "609c.9f97.81b4" - name: "" -- interface: "mgmt1" - linkstate: "Down" - portstate: "None" - duplex: "None" - speed: "None" - trunkid: "None" - tagonly: "No" - pvid: "None" - priority: "0" - mac: "609c.9f97.aaf8" - name: "" diff --git a/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.yml b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.yml new file mode 100644 index 0000000000..4b03347524 --- /dev/null +++ b/tests/brocade_fastiron/show_interfaces_brief/brocade_fastiron_show_interfaces_brief2.yml @@ -0,0 +1,4325 @@ +--- +parsed_sample: + - interface: "1/1/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aaf8" + name: "WW-CCTV" + - interface: "1/1/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aaf9" + name: "WW-CCTV" + - interface: "1/1/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aafa" + name: "WW-CCTV" + - interface: "1/1/4" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aafb" + name: "WW-CCTV" + - interface: "1/1/5" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aafc" + name: "WW-CCTV" + - interface: "1/1/6" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aafd" + name: "WW-CCTV" + - interface: "1/1/7" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aafe" + name: "WW-CCTV" + - interface: "1/1/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.aaff" + name: "WW-CCTV" + - interface: "1/1/9" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab00" + name: "WW-CCTV" + - interface: "1/1/10" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab01" + name: "WW-CCTV" + - interface: "1/1/11" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab02" + name: "WW-CCTV" + - interface: "1/1/12" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab03" + name: "WW-CCTV" + - interface: "1/1/13" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab04" + name: "WW-CCTV" + - interface: "1/1/14" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab05" + name: "WW-CCTV" + - interface: "1/1/15" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab06" + name: "WW-CCTV" + - interface: "1/1/16" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab07" + name: "WW-CCTV" + - interface: "1/1/17" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab08" + name: "WW-CCTV" + - interface: "1/1/18" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab09" + name: "WW-CCTV" + - interface: "1/1/19" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab0a" + name: "WW-CCTV" + - interface: "1/1/20" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab0b" + name: "WW-CCTV" + - interface: "1/1/21" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "52" + priority: "0" + mac: "609c.9f97.ab0c" + name: "WW-CCTV" + - interface: "1/1/22" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab0d" + name: "" + - interface: "1/1/23" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab0e" + name: "" + - interface: "1/1/24" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab0f" + name: "" + - interface: "1/1/25" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab10" + name: "WW-WAP" + - interface: "1/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.ab11" + name: "WW-WAP" + - interface: "1/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.ab12" + name: "WW-WAP" + - interface: "1/1/28" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab13" + name: "WW-WAP" + - interface: "1/1/29" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab14" + name: "WW-WAP" + - interface: "1/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.ab15" + name: "WW-WAP" + - interface: "1/1/31" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab16" + name: "WW-WAP" + - interface: "1/1/32" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.ab17" + name: "WW-WAP" + - interface: "1/1/33" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab18" + name: "WW-WAP" + - interface: "1/1/34" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.ab19" + name: "WW-WAP" + - interface: "1/1/35" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab1a" + name: "" + - interface: "1/1/36" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab1b" + name: "" + - interface: "1/1/37" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab1c" + name: "" + - interface: "1/1/38" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab1d" + name: "WW-Floor8" + - interface: "1/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab1e" + name: "WW-Floor8" + - interface: "1/1/40" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab1f" + name: "WW-Floor-8" + - interface: "1/1/41" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab20" + name: "WW-Floor-8" + - interface: "1/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab21" + name: "WW-Floor-8" + - interface: "1/1/43" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab22" + name: "WW-Floor-8" + - interface: "1/1/44" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab23" + name: "WW-Floor-8" + - interface: "1/1/45" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab24" + name: "WW-Floor-8" + - interface: "1/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab25" + name: "WW-Floor-8" + - interface: "1/1/47" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab26" + name: "WW-Floor-8" + - interface: "1/1/48" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.ab27" + name: "WW-Floor-8" + - interface: "1/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab29" + name: "" + - interface: "1/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.ab2a" + name: "" + - interface: "1/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab2b" + name: "" + - interface: "1/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.ab2c" + name: "" + - interface: "1/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.ab2d" + name: "" + - interface: "1/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.ab2e" + name: "" + - interface: "1/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.ab2f" + name: "" + - interface: "1/2/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "1" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab30" + name: "Uplink-Distro" + - interface: "2/1/1" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d0" + name: "" + - interface: "2/1/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d1" + name: "" + - interface: "2/1/3" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d2" + name: "" + - interface: "2/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d3" + name: "" + - interface: "2/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d4" + name: "" + - interface: "2/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d5" + name: "" + - interface: "2/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d6" + name: "" + - interface: "2/1/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d7" + name: "" + - interface: "2/1/9" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d8" + name: "" + - interface: "2/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1d9" + name: "" + - interface: "2/1/11" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1da" + name: "" + - interface: "2/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1db" + name: "" + - interface: "2/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1dc" + name: "" + - interface: "2/1/14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1dd" + name: "" + - interface: "2/1/15" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1de" + name: "" + - interface: "2/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1df" + name: "" + - interface: "2/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e0" + name: "" + - interface: "2/1/18" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e1" + name: "" + - interface: "2/1/19" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e2" + name: "" + - interface: "2/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e3" + name: "" + - interface: "2/1/21" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e4" + name: "" + - interface: "2/1/22" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e5" + name: "" + - interface: "2/1/23" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e6" + name: "" + - interface: "2/1/24" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e7" + name: "" + - interface: "2/1/25" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e8" + name: "" + - interface: "2/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1e9" + name: "" + - interface: "2/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ea" + name: "" + - interface: "2/1/28" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1eb" + name: "" + - interface: "2/1/29" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ec" + name: "" + - interface: "2/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ed" + name: "" + - interface: "2/1/31" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ee" + name: "" + - interface: "2/1/32" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ef" + name: "" + - interface: "2/1/33" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f0" + name: "" + - interface: "2/1/34" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f97.e1f1" + name: "Acceletrade-Pub" + - interface: "2/1/35" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f2" + name: "" + - interface: "2/1/36" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f3" + name: "" + - interface: "2/1/37" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f4" + name: "" + - interface: "2/1/38" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f5" + name: "WW-Floor-8" + - interface: "2/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f6" + name: "WW-Floor-8" + - interface: "2/1/40" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f7" + name: "WW-Floor-8" + - interface: "2/1/41" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f8" + name: "WW-Floor-8" + - interface: "2/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1f9" + name: "WW-Floor-8" + - interface: "2/1/43" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1fa" + name: "WW-Floor-8" + - interface: "2/1/44" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1fb" + name: "WW-Floor-8" + - interface: "2/1/45" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1fc" + name: "WW-Floor-8" + - interface: "2/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1fd" + name: "WW-Floor-8" + - interface: "2/1/47" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1fe" + name: "WW-Floor-8" + - interface: "2/1/48" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e1ff" + name: "WW-Floor-8" + - interface: "2/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e201" + name: "" + - interface: "2/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e202" + name: "" + - interface: "2/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e203" + name: "" + - interface: "2/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e204" + name: "" + - interface: "2/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e205" + name: "" + - interface: "2/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e206" + name: "" + - interface: "2/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e207" + name: "" + - interface: "2/2/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "1" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.ab30" + name: "Uplink-Distro" + - interface: "3/1/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2c94" + name: "WW-Floor-8" + - interface: "3/1/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2c95" + name: "WW-Floor-8" + - interface: "3/1/3" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2c96" + name: "WW-Floor-8" + - interface: "3/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c97" + name: "OLACE-NR" + - interface: "3/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c98" + name: "OLACE-NR" + - interface: "3/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c99" + name: "OLACE-NR" + - interface: "3/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c9a" + name: "OLACE-NR" + - interface: "3/1/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c9b" + name: "OLACE-NR" + - interface: "3/1/9" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c9c" + name: "OLACE-NR" + - interface: "3/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f98.2c9d" + name: "OLACE-NR" + - interface: "3/1/11" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2c9e" + name: "WW-Floor-8" + - interface: "3/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2c9f" + name: "WW-Floor-8" + - interface: "3/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca0" + name: "WW-Floor-8" + - interface: "3/1/14" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca1" + name: "WW-Floor-8" + - interface: "3/1/15" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca2" + name: "WW-Floor-8" + - interface: "3/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca3" + name: "WW-Floor-8" + - interface: "3/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca4" + name: "WW-Floor-8" + - interface: "3/1/18" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca5" + name: "WW-Floor-8" + - interface: "3/1/19" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca6" + name: "WW-Floor-8" + - interface: "3/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "160" + priority: "0" + mac: "609c.9f98.2ca7" + name: "WW-Floor-8" + - interface: "3/1/21" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2ca8" + name: "WW-Floor-8" + - interface: "3/1/22" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2ca9" + name: "WW-Floor-8" + - interface: "3/1/23" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2caa" + name: "WW-Floor-8" + - interface: "3/1/24" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cab" + name: "WW-Floor-8" + - interface: "3/1/25" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cac" + name: "WW-Floor-8" + - interface: "3/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cad" + name: "WW-Floor-8" + - interface: "3/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cae" + name: "WW-Floor-8" + - interface: "3/1/28" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2caf" + name: "WW-Floor-8" + - interface: "3/1/29" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb0" + name: "WW-Floor-8" + - interface: "3/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb1" + name: "WW-Floor-8" + - interface: "3/1/31" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb2" + name: "WW-Floor-8" + - interface: "3/1/32" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb3" + name: "WW-Floor-8" + - interface: "3/1/33" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb4" + name: "WW-Floor-8" + - interface: "3/1/34" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb5" + name: "WW-Floor-8" + - interface: "3/1/35" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb6" + name: "WW-Floor-8" + - interface: "3/1/36" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb7" + name: "WW-Floor-8" + - interface: "3/1/37" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb8" + name: "WW-Floor-8" + - interface: "3/1/38" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cb9" + name: "WW-Floor-8" + - interface: "3/1/39" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cba" + name: "WW-Floor-8" + - interface: "3/1/40" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cbb" + name: "WW-Floor-8" + - interface: "3/1/41" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cbc" + name: "WW-Floor-8" + - interface: "3/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cbd" + name: "WW-Floor-8" + - interface: "3/1/43" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cbe" + name: "WW-Floor-8" + - interface: "3/1/44" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cbf" + name: "WW-Floor-8" + - interface: "3/1/45" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cc0" + name: "WW-Floor-8" + - interface: "3/1/46" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cc1" + name: "WW-Floor-8" + - interface: "3/1/47" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f98.2cc2" + name: "CreditConsensus" + - interface: "3/1/48" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f98.2cc3" + name: "WW-Floor-8" + - interface: "3/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f98.2cc5" + name: "" + - interface: "3/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2cc6" + name: "" + - interface: "3/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f98.2cc7" + name: "" + - interface: "3/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2cc8" + name: "" + - interface: "3/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2cc9" + name: "" + - interface: "3/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2cca" + name: "" + - interface: "3/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2ccb" + name: "" + - interface: "3/2/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f98.2ccc" + name: "" + - interface: "4/1/1" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d744" + name: "WW-Floor-8" + - interface: "4/1/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d745" + name: "WW-Floor-8" + - interface: "4/1/3" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d746" + name: "WW-Floor-8" + - interface: "4/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d747" + name: "WW-Floor-8" + - interface: "4/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d748" + name: "WW-Floor-8" + - interface: "4/1/6" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "15" + priority: "0" + mac: "609c.9f97.d749" + name: "WW-Printer" + - interface: "4/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "15" + priority: "0" + mac: "609c.9f97.d74a" + name: "WW-Printer" + - interface: "4/1/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d74b" + name: "WW-Floor-8" + - interface: "4/1/9" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d74c" + name: "WW-Floor-8" + - interface: "4/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d74d" + name: "WW-Floor-8" + - interface: "4/1/11" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d74e" + name: "WW-Floor-8" + - interface: "4/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d74f" + name: "WW-Floor-8" + - interface: "4/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d750" + name: "WW-Floor-8" + - interface: "4/1/14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d751" + name: "WW-Floor-8" + - interface: "4/1/15" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d752" + name: "WW-Floor-8" + - interface: "4/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d753" + name: "WW-Floor-8" + - interface: "4/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d754" + name: "WW-Floor-8" + - interface: "4/1/18" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d755" + name: "WW-Floor-8" + - interface: "4/1/19" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d756" + name: "WW-Floor-8" + - interface: "4/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d757" + name: "WW-Floor-8" + - interface: "4/1/21" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d758" + name: "WW-Floor-8" + - interface: "4/1/22" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d759" + name: "WW-Floor-8" + - interface: "4/1/23" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d75a" + name: "WW-Floor-8" + - interface: "4/1/24" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "117" + priority: "0" + mac: "609c.9f97.d75b" + name: "CreditBenchmark" + - interface: "4/1/25" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d75c" + name: "WW-Floor-8" + - interface: "4/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d75d" + name: "WW-Floor-8" + - interface: "4/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d75e" + name: "WW-Floor-8" + - interface: "4/1/28" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d75f" + name: "WW-Floor-8" + - interface: "4/1/29" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d760" + name: "WW-Floor-8" + - interface: "4/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d761" + name: "WW-Floor-8" + - interface: "4/1/31" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d762" + name: "WW-Floor-8" + - interface: "4/1/32" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d763" + name: "WW-Floor-8" + - interface: "4/1/33" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d764" + name: "WW-Floor-8" + - interface: "4/1/34" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d765" + name: "WW-Floor-8" + - interface: "4/1/35" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d766" + name: "WW-Floor-8" + - interface: "4/1/36" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d767" + name: "WW-Floor-8" + - interface: "4/1/37" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d768" + name: "WW-Floor-8" + - interface: "4/1/38" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d769" + name: "WW-Floor-8" + - interface: "4/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76a" + name: "WW-Floor-8" + - interface: "4/1/40" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76b" + name: "WW-Floor-8" + - interface: "4/1/41" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76c" + name: "WW-Floor-8" + - interface: "4/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76d" + name: "WW-Floor-8" + - interface: "4/1/43" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76e" + name: "WW-Floor-8" + - interface: "4/1/44" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d76f" + name: "WW-Floor-8" + - interface: "4/1/45" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d770" + name: "WW-Floor-8" + - interface: "4/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d771" + name: "WW-Floor-8" + - interface: "4/1/47" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d772" + name: "WW-Floor-8" + - interface: "4/1/48" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d773" + name: "WW-Floor-8" + - interface: "4/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.d775" + name: "" + - interface: "4/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d776" + name: "" + - interface: "4/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.d777" + name: "" + - interface: "4/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d778" + name: "" + - interface: "4/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d779" + name: "" + - interface: "4/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d77a" + name: "" + - interface: "4/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d77b" + name: "" + - interface: "4/2/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d77c" + name: "" + - interface: "5/1/1" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d708" + name: "WW-Floor-8" + - interface: "5/1/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d709" + name: "WW-Floor-8" + - interface: "5/1/3" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70a" + name: "WW-Floor-8" + - interface: "5/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70b" + name: "WW-Floor-8" + - interface: "5/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70c" + name: "WW-Floor-8" + - interface: "5/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70d" + name: "WW-Floor-8" + - interface: "5/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70e" + name: "WW-Floor-8" + - interface: "5/1/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d70f" + name: "WW-Floor-8" + - interface: "5/1/9" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d710" + name: "WW-Floor-8" + - interface: "5/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d711" + name: "WW-Floor-8" + - interface: "5/1/11" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d712" + name: "WW-Floor-8" + - interface: "5/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d713" + name: "WW-Floor-8" + - interface: "5/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d714" + name: "WW-Floor-8" + - interface: "5/1/14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d715" + name: "WW-Floor-8" + - interface: "5/1/15" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d716" + name: "WW-Floor-8" + - interface: "5/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d717" + name: "WW-Floor-8" + - interface: "5/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d718" + name: "WW-Floor-8" + - interface: "5/1/18" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d719" + name: "WW-Floor-8" + - interface: "5/1/19" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71a" + name: "WW-Floor-8" + - interface: "5/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71b" + name: "WW-Floor-8" + - interface: "5/1/21" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71c" + name: "WW-Floor-8" + - interface: "5/1/22" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71d" + name: "WW-Floor-8" + - interface: "5/1/23" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71e" + name: "WW-Floor-8" + - interface: "5/1/24" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d71f" + name: "WW-Floor-8" + - interface: "5/1/25" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d720" + name: "WW-Floor-8" + - interface: "5/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d721" + name: "WW-Floor-8" + - interface: "5/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d722" + name: "WW-Floor-8" + - interface: "5/1/28" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d723" + name: "WW-Floor-8" + - interface: "5/1/29" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d724" + name: "WW-Floor-8" + - interface: "5/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d725" + name: "WW-Floor-8" + - interface: "5/1/31" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d726" + name: "MQS-NYC-User" + - interface: "5/1/32" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f97.d727" + name: "MQS-NYC-WAN" + - interface: "5/1/33" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d728" + name: "MQS-NYC-User" + - interface: "5/1/34" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10M" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d729" + name: "MQS-NYC-User" + - interface: "5/1/35" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d72a" + name: "MQS-NYC-User" + - interface: "5/1/36" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d72b" + name: "WW-Floor-8" + - interface: "5/1/37" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d72c" + name: "MQS-NYC-User" + - interface: "5/1/38" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d72d" + name: "MQS-NYC-User" + - interface: "5/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "137" + priority: "0" + mac: "609c.9f97.d72e" + name: "MQS-NYC-User" + - interface: "5/1/40" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d72f" + name: "WW-Floor-8" + - interface: "5/1/41" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d730" + name: "WW-Floor-8" + - interface: "5/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d731" + name: "WW-Floor-8" + - interface: "5/1/43" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d732" + name: "WW-Floor-8" + - interface: "5/1/44" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d733" + name: "WW-Floor-8" + - interface: "5/1/45" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d734" + name: "WW-Floor-8" + - interface: "5/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d735" + name: "WW-Floor-8" + - interface: "5/1/47" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d736" + name: "WW-Floor-8" + - interface: "5/1/48" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.d737" + name: "WW-Floor-8" + - interface: "5/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.d739" + name: "" + - interface: "5/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d73a" + name: "" + - interface: "5/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.d73b" + name: "" + - interface: "5/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d73c" + name: "" + - interface: "5/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d73d" + name: "" + - interface: "5/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d73e" + name: "" + - interface: "5/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d73f" + name: "" + - interface: "5/2/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.d740" + name: "" + - interface: "6/1/1" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff0" + name: "WW-Floor-8" + - interface: "6/1/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff1" + name: "WW-Floor-8" + - interface: "6/1/3" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff2" + name: "WW-Floor-8" + - interface: "6/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff3" + name: "WW-Floor-8" + - interface: "6/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff4" + name: "WW-Floor-8" + - interface: "6/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff5" + name: "WW-Floor-8" + - interface: "6/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff6" + name: "WW-Floor-8" + - interface: "6/1/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff7" + name: "WW-Floor-8" + - interface: "6/1/9" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff8" + name: "WW-Floor-8" + - interface: "6/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dff9" + name: "WW-Floor-8" + - interface: "6/1/11" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dffa" + name: "WW-Floor-8" + - interface: "6/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dffb" + name: "WW-Floor-8" + - interface: "6/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dffc" + name: "WW-Floor-8" + - interface: "6/1/14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dffd" + name: "WW-Floor-8" + - interface: "6/1/15" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dffe" + name: "WW-Floor-8" + - interface: "6/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.dfff" + name: "WW-Floor-8" + - interface: "6/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e000" + name: "WW-Floor-8" + - interface: "6/1/18" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e001" + name: "WW-Floor-8" + - interface: "6/1/19" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e002" + name: "WW-Floor-8" + - interface: "6/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e003" + name: "WW-Floor-8" + - interface: "6/1/21" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e004" + name: "WW-Floor-8" + - interface: "6/1/22" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e005" + name: "WW-Floor-8" + - interface: "6/1/23" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e006" + name: "WW-Floor-8" + - interface: "6/1/24" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e007" + name: "WW-Floor-8" + - interface: "6/1/25" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e008" + name: "WW-Floor-8" + - interface: "6/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e009" + name: "WW-Floor-8" + - interface: "6/1/27" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00a" + name: "WW-Floor-8" + - interface: "6/1/28" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00b" + name: "WW-Floor-8" + - interface: "6/1/29" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00c" + name: "WW-Floor-8" + - interface: "6/1/30" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00d" + name: "WW-Floor-8" + - interface: "6/1/31" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00e" + name: "WW-Floor-8" + - interface: "6/1/32" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e00f" + name: "WW-Floor-8" + - interface: "6/1/33" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e010" + name: "WW-Floor-8" + - interface: "6/1/34" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e011" + name: "WW-Floor-8" + - interface: "6/1/35" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e012" + name: "WW-Floor-8" + - interface: "6/1/36" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e013" + name: "WW-Floor-8" + - interface: "6/1/37" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "2008" + priority: "0" + mac: "609c.9f97.e014" + name: "WW-Floor-8" + - interface: "6/1/38" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e015" + name: "" + - interface: "6/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e016" + name: "" + - interface: "6/1/40" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e017" + name: "" + - interface: "6/1/41" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e018" + name: "WW-AV" + - interface: "6/1/42" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e019" + name: "WW-AV" + - interface: "6/1/43" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01a" + name: "WW-AV" + - interface: "6/1/44" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01b" + name: "WW-AV" + - interface: "6/1/45" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01c" + name: "WW-AV" + - interface: "6/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01d" + name: "WW-AV" + - interface: "6/1/47" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01e" + name: "WW-AV" + - interface: "6/1/48" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.e01f" + name: "WW-AV" + - interface: "6/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e021" + name: "" + - interface: "6/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e022" + name: "" + - interface: "6/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.e023" + name: "" + - interface: "6/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e024" + name: "" + - interface: "6/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e025" + name: "" + - interface: "6/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e026" + name: "" + - interface: "6/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e027" + name: "" + - interface: "6/2/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.e028" + name: "" + - interface: "7/1/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.817c" + name: "WW-AV" + - interface: "7/1/2" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.817d" + name: "WW-AV" + - interface: "7/1/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.817e" + name: "WW-AV" + - interface: "7/1/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "11" + priority: "0" + mac: "609c.9f97.817f" + name: "WW-AV" + - interface: "7/1/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8180" + name: "" + - interface: "7/1/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8181" + name: "" + - interface: "7/1/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8182" + name: "" + - interface: "7/1/8" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "54" + priority: "0" + mac: "609c.9f97.8183" + name: "" + - interface: "7/1/9" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "54" + priority: "0" + mac: "609c.9f97.8184" + name: "" + - interface: "7/1/10" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8185" + name: "" + - interface: "7/1/11" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8186" + name: "" + - interface: "7/1/12" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8187" + name: "" + - interface: "7/1/13" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8188" + name: "" + - interface: "7/1/14" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8189" + name: "" + - interface: "7/1/15" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818a" + name: "" + - interface: "7/1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818b" + name: "" + - interface: "7/1/17" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818c" + name: "" + - interface: "7/1/18" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818d" + name: "" + - interface: "7/1/19" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818e" + name: "" + - interface: "7/1/20" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.818f" + name: "" + - interface: "7/1/21" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f97.8190" + name: "OLA_VLAN_Server" + - interface: "7/1/22" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f97.8191" + name: "OLA_VLAN_Server" + - interface: "7/1/23" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f97.8192" + name: "OLACE-NR-WAN" + - interface: "7/1/24" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "131" + priority: "0" + mac: "609c.9f97.8193" + name: "OLACE-NR" + - interface: "7/1/25" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8194" + name: "WW-WAP" + - interface: "7/1/26" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.8195" + name: "WW-WAP" + - interface: "7/1/27" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8196" + name: "WW-WAP" + - interface: "7/1/28" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "251" + priority: "0" + mac: "609c.9f97.8197" + name: "WW-WAP" + - interface: "7/1/29" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8198" + name: "" + - interface: "7/1/30" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.8199" + name: "" + - interface: "7/1/31" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.819a" + name: "" + - interface: "7/1/32" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.819b" + name: "" + - interface: "7/1/33" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.819c" + name: "" + - interface: "7/1/34" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.819d" + name: "" + - interface: "7/1/35" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.819e" + name: "" + - interface: "7/1/36" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f97.819f" + name: "GraniteRidge-WA" + - interface: "7/1/37" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10M" + trunkid: "None" + tagonly: "No" + pvid: "117" + priority: "0" + mac: "609c.9f97.81a0" + name: "CreditBenchmark" + - interface: "7/1/38" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "No" + pvid: "999" + priority: "0" + mac: "609c.9f97.81a1" + name: "CreditBenchmark" + - interface: "7/1/39" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a2" + name: "" + - interface: "7/1/40" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a3" + name: "" + - interface: "7/1/41" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a4" + name: "" + - interface: "7/1/42" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a5" + name: "" + - interface: "7/1/43" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a6" + name: "" + - interface: "7/1/44" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a7" + name: "" + - interface: "7/1/45" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a8" + name: "" + - interface: "7/1/46" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81a9" + name: "" + - interface: "7/1/47" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81aa" + name: "" + - interface: "7/1/48" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "100M" + trunkid: "None" + tagonly: "Yes" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81ab" + name: "" + - interface: "7/2/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81ad" + name: "" + - interface: "7/2/2" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81ae" + name: "" + - interface: "7/2/3" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "10G" + trunkid: "None" + tagonly: "No" + pvid: "N/A" + priority: "0" + mac: "609c.9f97.81af" + name: "" + - interface: "7/2/4" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81b0" + name: "" + - interface: "7/2/5" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81b1" + name: "" + - interface: "7/2/6" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81b2" + name: "" + - interface: "7/2/7" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81b3" + name: "" + - interface: "7/2/8" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "1" + priority: "0" + mac: "609c.9f97.81b4" + name: "" + - interface: "mgmt1" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "None" + priority: "0" + mac: "609c.9f97.aaf8" + name: "" diff --git a/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.parsed b/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.parsed deleted file mode 100644 index f66afa6707..0000000000 --- a/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.parsed +++ /dev/null @@ -1,35 +0,0 @@ ---- -parsed_sample: - -- lagnameshort: '10G-Lag2 ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '5' - primaryinterface: '2/3/1' - portlist: 'e 2/3/1 to 2/3/2' - portlistcont: '' - -- lagnameshort: '1G-Lag ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '3' - primaryinterface: '1/1/24' - portlist: 'e 1/1/24' - portlistcont: '' - -- lagnameshort: '1G-Lag-2 ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '4' - primaryinterface: '2/1/1' - portlist: 'e 2/1/1' - portlistcont: '' - -- lagnameshort: 'SW2.XR-SW1A.TE' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '1' - primaryinterface: '1/3/1' - portlist: 'e 1/3/1 to 1/3/2' - portlistcont: '' - diff --git a/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.yml b/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.yml new file mode 100644 index 0000000000..354e827b46 --- /dev/null +++ b/tests/brocade_fastiron/show_lag_brief/brocade_fastiron_show_lag_brief.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - lagnameshort: "10G-Lag2 " + lagtype: "dynamic" + deployed: "Y" + trunkid: "5" + primaryinterface: "2/3/1" + portlist: "e 2/3/1 to 2/3/2" + portlistcont: "" + - lagnameshort: "1G-Lag " + lagtype: "dynamic" + deployed: "Y" + trunkid: "3" + primaryinterface: "1/1/24" + portlist: "e 1/1/24" + portlistcont: "" + - lagnameshort: "1G-Lag-2 " + lagtype: "dynamic" + deployed: "Y" + trunkid: "4" + primaryinterface: "2/1/1" + portlist: "e 2/1/1" + portlistcont: "" + - lagnameshort: "SW2.XR-SW1A.TE" + lagtype: "dynamic" + deployed: "Y" + trunkid: "1" + primaryinterface: "1/3/1" + portlist: "e 1/3/1 to 1/3/2" + portlistcont: "" diff --git a/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.parsed b/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.parsed deleted file mode 100644 index 6ebf1a68a0..0000000000 --- a/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.parsed +++ /dev/null @@ -1,7 +0,0 @@ ---- -parsed_sample: -- neighbor: "core-sw01" - local_interface: "Gi1/3" - hold_time: "120" - capabilities: "B,R" - neighbor_interface: "Gi0/3" diff --git a/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.yml b/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.yml new file mode 100644 index 0000000000..0c8a143543 --- /dev/null +++ b/tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - neighbor: "core-sw01" + local_interface: "Gi1/3" + hold_time: "120" + capabilities: "B,R" + neighbor_interface: "Gi0/3" diff --git a/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.parsed b/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.parsed deleted file mode 100644 index a30787365d..0000000000 --- a/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.parsed +++ /dev/null @@ -1,39 +0,0 @@ ---- -parsed_sample: - -- interface: '1' - neimac: '0024.38a5.5f31' - ttlsecs: '101' - neihostnametid: 'mlx1.clmamofw' - neiinterface: 'GigabitEthernet2/2' - neipvid: 'none' - neimgmtip: '216.106.44.48' - neilacpindex: '66' - neimaxframesize: '9216' - neiopmau: '1000BaseT-FD' - neicapabilities: 'bridge, router' - -- interface: '2' - neimac: '001b.ed6b.3102' - ttlsecs: '98' - neihostnametid: 'switch1b.clmamofw' - neiinterface: 'GigabitEthernet3' - neipvid: '1' - neimgmtip: '10.255.1.47' - neilacpindex: '0' - neimaxframesize: '10240' - neiopmau: '1000BaseLX-FD' - neicapabilities: 'bridge' - -- interface: '11' - neimac: '609c.9f46.6e34' - ttlsecs: '96' - neihostnametid: 'switch2.clmamoxo' - neiinterface: 'GigabitEthernet2/1/1' - neipvid: 'none' - neimgmtip: '10.255.13.30' - neilacpindex: '257' - neimaxframesize: '10200' - neiopmau: '1000BaseT-FD' - neicapabilities: 'bridge' - diff --git a/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.yml b/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.yml new file mode 100644 index 0000000000..f073a1ac1e --- /dev/null +++ b/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - interface: "1" + neimac: "0024.38a5.5f31" + ttlsecs: "101" + neihostnametid: "mlx1.clmamofw" + neiinterface: "GigabitEthernet2/2" + neipvid: "none" + neimgmtip: "216.106.44.48" + neilacpindex: "66" + neimaxframesize: "9216" + neiopmau: "1000BaseT-FD" + neicapabilities: "bridge, router" + - interface: "2" + neimac: "001b.ed6b.3102" + ttlsecs: "98" + neihostnametid: "switch1b.clmamofw" + neiinterface: "GigabitEthernet3" + neipvid: "1" + neimgmtip: "10.255.1.47" + neilacpindex: "0" + neimaxframesize: "10240" + neiopmau: "1000BaseLX-FD" + neicapabilities: "bridge" + - interface: "11" + neimac: "609c.9f46.6e34" + ttlsecs: "96" + neihostnametid: "switch2.clmamoxo" + neiinterface: "GigabitEthernet2/1/1" + neipvid: "none" + neimgmtip: "10.255.13.30" + neilacpindex: "257" + neimaxframesize: "10200" + neiopmau: "1000BaseT-FD" + neicapabilities: "bridge" diff --git a/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.parsed b/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.parsed deleted file mode 100644 index 24efc19918..0000000000 --- a/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.parsed +++ /dev/null @@ -1,87 +0,0 @@ ---- -parsed_sample: - -- interface: '1/1/2' - neimac: '00a0.c85a.a3dd' - ttlsecs: '118' - neihostnametid: 'CLMAMOXR-TA5000B' - neiinterface: '' - neipvid: '' - neimgmtip: '10.255.5.98' - neilacpindex: '' - neimaxframesize: '' - neiopmau: '' - neicapabilities: 'bridge' - -- interface: '1/1/24' - neimac: '609c.9f44.bbf0' - ttlsecs: '97' - neihostnametid: 'switch2.clmamoxi' - neiinterface: 'GigabitEthernet2/1/1' - neipvid: 'none' - neimgmtip: '10.255.13.22' - neilacpindex: '257' - neimaxframesize: '10200' - neiopmau: '1000BaseT-FD' - neicapabilities: 'bridge' - -- interface: '1/3/1' - neimac: '609c.9f44.bc13' - ttlsecs: '113' - neihostnametid: 'switch2.clmamoxi' - neiinterface: '10GigabitEthernet2/3/1' - neipvid: 'none' - neimgmtip: '10.255.13.22' - neilacpindex: '385' - neimaxframesize: '10200' - neiopmau: '10GigBaseER' - neicapabilities: 'bridge' - -- interface: '1/3/2' - neimac: '609c.9f44.bc14' - ttlsecs: '113' - neihostnametid: 'switch2.clmamoxi' - neiinterface: '10GigabitEthernet2/3/2' - neipvid: 'none' - neimgmtip: '10.255.13.22' - neilacpindex: '385' - neimaxframesize: '10200' - neiopmau: '10GigBaseER' - neicapabilities: 'bridge' - -- interface: '2/1/1' - neimac: 'cc4e.24c7.ccd4' - ttlsecs: '107' - neihostnametid: 'Switch2.CLMAMOXH' - neiinterface: 'GigabitEthernet1/1/1' - neipvid: 'none' - neimgmtip: '10.255.13.2' - neilacpindex: '1' - neimaxframesize: '10200' - neiopmau: '1000BaseT-FD' - neicapabilities: 'bridge' - -- interface: '2/3/1' - neimac: 'cc4e.24c7.af6f' - ttlsecs: '112' - neihostnametid: 'Switch2.CLMAMOXH' - neiinterface: '10GigabitEthernet2/3/1' - neipvid: 'none' - neimgmtip: '10.255.13.2' - neilacpindex: '385' - neimaxframesize: '10200' - neiopmau: '10GigBaseER' - neicapabilities: 'bridge' - -- interface: '2/3/2' - neimac: 'cc4e.24c7.af71' - ttlsecs: '112' - neihostnametid: 'Switch2.CLMAMOXH' - neiinterface: '10GigabitEthernet2/3/3' - neipvid: 'none' - neimgmtip: '10.255.13.2' - neilacpindex: '385' - neimaxframesize: '10200' - neiopmau: '10GigBaseER' - neicapabilities: 'bridge' - diff --git a/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.yml b/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.yml new file mode 100644 index 0000000000..e3a30a5d86 --- /dev/null +++ b/tests/brocade_fastiron/show_lldp_neighbors_detail/brocade_fastiron_show_lldp_neighbors_detail1.yml @@ -0,0 +1,79 @@ +--- +parsed_sample: + - interface: "1/1/2" + neimac: "00a0.c85a.a3dd" + ttlsecs: "118" + neihostnametid: "CLMAMOXR-TA5000B" + neiinterface: "" + neipvid: "" + neimgmtip: "10.255.5.98" + neilacpindex: "" + neimaxframesize: "" + neiopmau: "" + neicapabilities: "bridge" + - interface: "1/1/24" + neimac: "609c.9f44.bbf0" + ttlsecs: "97" + neihostnametid: "switch2.clmamoxi" + neiinterface: "GigabitEthernet2/1/1" + neipvid: "none" + neimgmtip: "10.255.13.22" + neilacpindex: "257" + neimaxframesize: "10200" + neiopmau: "1000BaseT-FD" + neicapabilities: "bridge" + - interface: "1/3/1" + neimac: "609c.9f44.bc13" + ttlsecs: "113" + neihostnametid: "switch2.clmamoxi" + neiinterface: "10GigabitEthernet2/3/1" + neipvid: "none" + neimgmtip: "10.255.13.22" + neilacpindex: "385" + neimaxframesize: "10200" + neiopmau: "10GigBaseER" + neicapabilities: "bridge" + - interface: "1/3/2" + neimac: "609c.9f44.bc14" + ttlsecs: "113" + neihostnametid: "switch2.clmamoxi" + neiinterface: "10GigabitEthernet2/3/2" + neipvid: "none" + neimgmtip: "10.255.13.22" + neilacpindex: "385" + neimaxframesize: "10200" + neiopmau: "10GigBaseER" + neicapabilities: "bridge" + - interface: "2/1/1" + neimac: "cc4e.24c7.ccd4" + ttlsecs: "107" + neihostnametid: "Switch2.CLMAMOXH" + neiinterface: "GigabitEthernet1/1/1" + neipvid: "none" + neimgmtip: "10.255.13.2" + neilacpindex: "1" + neimaxframesize: "10200" + neiopmau: "1000BaseT-FD" + neicapabilities: "bridge" + - interface: "2/3/1" + neimac: "cc4e.24c7.af6f" + ttlsecs: "112" + neihostnametid: "Switch2.CLMAMOXH" + neiinterface: "10GigabitEthernet2/3/1" + neipvid: "none" + neimgmtip: "10.255.13.2" + neilacpindex: "385" + neimaxframesize: "10200" + neiopmau: "10GigBaseER" + neicapabilities: "bridge" + - interface: "2/3/2" + neimac: "cc4e.24c7.af71" + ttlsecs: "112" + neihostnametid: "Switch2.CLMAMOXH" + neiinterface: "10GigabitEthernet2/3/3" + neipvid: "none" + neimgmtip: "10.255.13.2" + neilacpindex: "385" + neimaxframesize: "10200" + neiopmau: "10GigBaseER" + neicapabilities: "bridge" diff --git a/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.parsed b/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.parsed deleted file mode 100644 index 4373445d5c..0000000000 --- a/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.parsed +++ /dev/null @@ -1,17 +0,0 @@ ---- -parsed_sample: -- mac_address: "6cae.8b2d.c979" - destination_port: "2/1" - age: "0" - vlan: "1000" - type: "" -- mac_address: "3440.b5be.e3ac" - destination_port: "2/1" - age: "0" - vlan: "1000" - type: "" -- mac_address: "90e2.ba5a.ab8c" - destination_port: "2/1" - age: "0" - vlan: "1000" - type: "" diff --git a/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.yml b/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.yml new file mode 100644 index 0000000000..f5d5a2bdd3 --- /dev/null +++ b/tests/brocade_fastiron/show_mac-address/brocade_fastiron_show_mac-address.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - mac_address: "6cae.8b2d.c979" + destination_port: "2/1" + age: "0" + vlan: "1000" + type: "" + - mac_address: "3440.b5be.e3ac" + destination_port: "2/1" + age: "0" + vlan: "1000" + type: "" + - mac_address: "90e2.ba5a.ab8c" + destination_port: "2/1" + age: "0" + vlan: "1000" + type: "" diff --git a/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro.parsed b/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro.parsed deleted file mode 100644 index de2028086f..0000000000 --- a/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro.parsed +++ /dev/null @@ -1,141 +0,0 @@ ---- -parsed_sample: - -- ringid: '10' - ringname: '' - ringstate: 'enabled' - ringrole: 'master' - mastervlan: '10' - topogroup: '10' - hellotime: '100' - prefwingtime: '300' - port1interface: '1/1/24' - port1role: 'primary' - port1state: 'forwarding' - port1activeint: '1/1/24' - port1inttype: 'regular' - port2interface: '2/1/1' - port2role: 'secondary' - port2state: 'blocking' - port2activeint: '2/1/1' - port2inttype: 'regular' - rhpssent: '10901939' - rhpsrecvd: '10901939' - tcrbpdusrecvd: '0' - statechanges: '0' - -- ringid: '171' - ringname: 'CLMA-KSCY-STLS-10G-CLMA' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '170' - topogroup: '170' - hellotime: '100' - prefwingtime: '300' - port1interface: '1/3/1' - port1role: 'primary' - port1state: 'forwarding' - port1activeint: '1/3/1' - port1inttype: 'regular' - port2interface: '2/3/1' - port2role: 'secondary' - port2state: 'forwarding' - port2activeint: '2/3/1' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '10767120' - tcrbpdusrecvd: '0' - statechanges: '0' - -- ringid: '175' - ringname: 'CLMAMO10G-to-CLMAMOFW' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '175' - topogroup: '175' - hellotime: '100' - prefwingtime: '300' - port1interface: '1/3/1' - port1role: 'primary' - port1state: 'forwarding' - port1activeint: '1/3/1' - port1inttype: 'regular' - port2interface: '2/3/1' - port2role: 'secondary' - port2state: 'forwarding' - port2activeint: '2/3/1' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '10767119' - tcrbpdusrecvd: '3' - statechanges: '0' - -- ringid: '215' - ringname: '' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '215' - topogroup: '215' - hellotime: '100' - prefwingtime: '300' - port1interface: '2/3/1' - port1role: 'primary' - port1state: 'forwarding' - port1activeint: '2/3/1' - port1inttype: 'regular' - port2interface: '1/3/1' - port2role: 'secondary' - port2state: 'forwarding' - port2activeint: '1/3/1' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '11175806' - tcrbpdusrecvd: '0' - statechanges: '0' - -- ringid: '13' - ringname: 'CLMAMO-10G' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '513' - topogroup: '13' - hellotime: '100' - prefwingtime: '300' - port1interface: '1/3/1' - port1role: 'primary' - port1state: 'forwarding' - port1activeint: '1/3/1' - port1inttype: 'regular' - port2interface: '2/3/1' - port2role: 'secondary' - port2state: 'forwarding' - port2activeint: '2/3/1' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '10767120' - tcrbpdusrecvd: '15' - statechanges: '0' - -- ringid: '60' - ringname: 'CLMA-JFCY-FLTNHT' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '60' - topogroup: '60' - hellotime: '100' - prefwingtime: '300' - port1interface: '1/3/1' - port1role: 'primary' - port1state: 'forwarding' - port1activeint: '1/3/1' - port1inttype: 'regular' - port2interface: '2/3/1' - port2role: 'secondary' - port2state: 'forwarding' - port2activeint: '2/3/1' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '10767120' - tcrbpdusrecvd: '3' - statechanges: '0' - diff --git a/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro.yml b/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro.yml new file mode 100644 index 0000000000..db034db5e3 --- /dev/null +++ b/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro.yml @@ -0,0 +1,134 @@ +--- +parsed_sample: + - ringid: "10" + ringname: "" + ringstate: "enabled" + ringrole: "master" + mastervlan: "10" + topogroup: "10" + hellotime: "100" + prefwingtime: "300" + port1interface: "1/1/24" + port1role: "primary" + port1state: "forwarding" + port1activeint: "1/1/24" + port1inttype: "regular" + port2interface: "2/1/1" + port2role: "secondary" + port2state: "blocking" + port2activeint: "2/1/1" + port2inttype: "regular" + rhpssent: "10901939" + rhpsrecvd: "10901939" + tcrbpdusrecvd: "0" + statechanges: "0" + - ringid: "171" + ringname: "CLMA-KSCY-STLS-10G-CLMA" + ringstate: "enabled" + ringrole: "member" + mastervlan: "170" + topogroup: "170" + hellotime: "100" + prefwingtime: "300" + port1interface: "1/3/1" + port1role: "primary" + port1state: "forwarding" + port1activeint: "1/3/1" + port1inttype: "regular" + port2interface: "2/3/1" + port2role: "secondary" + port2state: "forwarding" + port2activeint: "2/3/1" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "10767120" + tcrbpdusrecvd: "0" + statechanges: "0" + - ringid: "175" + ringname: "CLMAMO10G-to-CLMAMOFW" + ringstate: "enabled" + ringrole: "member" + mastervlan: "175" + topogroup: "175" + hellotime: "100" + prefwingtime: "300" + port1interface: "1/3/1" + port1role: "primary" + port1state: "forwarding" + port1activeint: "1/3/1" + port1inttype: "regular" + port2interface: "2/3/1" + port2role: "secondary" + port2state: "forwarding" + port2activeint: "2/3/1" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "10767119" + tcrbpdusrecvd: "3" + statechanges: "0" + - ringid: "215" + ringname: "" + ringstate: "enabled" + ringrole: "member" + mastervlan: "215" + topogroup: "215" + hellotime: "100" + prefwingtime: "300" + port1interface: "2/3/1" + port1role: "primary" + port1state: "forwarding" + port1activeint: "2/3/1" + port1inttype: "regular" + port2interface: "1/3/1" + port2role: "secondary" + port2state: "forwarding" + port2activeint: "1/3/1" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "11175806" + tcrbpdusrecvd: "0" + statechanges: "0" + - ringid: "13" + ringname: "CLMAMO-10G" + ringstate: "enabled" + ringrole: "member" + mastervlan: "513" + topogroup: "13" + hellotime: "100" + prefwingtime: "300" + port1interface: "1/3/1" + port1role: "primary" + port1state: "forwarding" + port1activeint: "1/3/1" + port1inttype: "regular" + port2interface: "2/3/1" + port2role: "secondary" + port2state: "forwarding" + port2activeint: "2/3/1" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "10767120" + tcrbpdusrecvd: "15" + statechanges: "0" + - ringid: "60" + ringname: "CLMA-JFCY-FLTNHT" + ringstate: "enabled" + ringrole: "member" + mastervlan: "60" + topogroup: "60" + hellotime: "100" + prefwingtime: "300" + port1interface: "1/3/1" + port1role: "primary" + port1state: "forwarding" + port1activeint: "1/3/1" + port1inttype: "regular" + port2interface: "2/3/1" + port2role: "secondary" + port2state: "forwarding" + port2activeint: "2/3/1" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "10767120" + tcrbpdusrecvd: "3" + statechanges: "0" diff --git a/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro1.parsed b/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro1.parsed deleted file mode 100644 index a8c7563ac8..0000000000 --- a/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro1.parsed +++ /dev/null @@ -1,72 +0,0 @@ ---- -parsed_sample: - -- ringid: '10' - ringname: '' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '10' - topogroup: '10' - hellotime: '100' - prefwingtime: '300' - port1interface: '11' - port1role: 'primary' - port1state: 'forwarding' - port1activeint: '11' - port1inttype: 'regular' - port2interface: '2' - port2role: 'secondary' - port2state: 'forwarding' - port2activeint: '2' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '1432850207' - tcrbpdusrecvd: '7970' - statechanges: '154' - -- ringid: '14' - ringname: '' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '14' - topogroup: '14' - hellotime: '100' - prefwingtime: '300' - port1interface: '1' - port1role: 'primary' - port1state: 'forwarding' - port1activeint: '1' - port1inttype: 'regular' - port2interface: '2' - port2role: 'secondary' - port2state: 'forwarding' - port2activeint: '2' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '1441064488' - tcrbpdusrecvd: '1728' - statechanges: '86' - -- ringid: '176' - ringname: 'CLMAMOFW-to-CLMAMO10G' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '175' - topogroup: '175' - hellotime: '100' - prefwingtime: '300' - port1interface: '1' - port1role: 'primary' - port1state: 'forwarding' - port1activeint: '1' - port1inttype: 'regular' - port2interface: '2' - port2role: 'secondary' - port2state: 'forwarding' - port2activeint: '2' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '355056325' - tcrbpdusrecvd: '689' - statechanges: '9' - diff --git a/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro1.yml b/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro1.yml new file mode 100644 index 0000000000..b5e25f20db --- /dev/null +++ b/tests/brocade_fastiron/show_metro/brocade_fastiron_show_metro1.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - ringid: "10" + ringname: "" + ringstate: "enabled" + ringrole: "member" + mastervlan: "10" + topogroup: "10" + hellotime: "100" + prefwingtime: "300" + port1interface: "11" + port1role: "primary" + port1state: "forwarding" + port1activeint: "11" + port1inttype: "regular" + port2interface: "2" + port2role: "secondary" + port2state: "forwarding" + port2activeint: "2" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "1432850207" + tcrbpdusrecvd: "7970" + statechanges: "154" + - ringid: "14" + ringname: "" + ringstate: "enabled" + ringrole: "member" + mastervlan: "14" + topogroup: "14" + hellotime: "100" + prefwingtime: "300" + port1interface: "1" + port1role: "primary" + port1state: "forwarding" + port1activeint: "1" + port1inttype: "regular" + port2interface: "2" + port2role: "secondary" + port2state: "forwarding" + port2activeint: "2" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "1441064488" + tcrbpdusrecvd: "1728" + statechanges: "86" + - ringid: "176" + ringname: "CLMAMOFW-to-CLMAMO10G" + ringstate: "enabled" + ringrole: "member" + mastervlan: "175" + topogroup: "175" + hellotime: "100" + prefwingtime: "300" + port1interface: "1" + port1role: "primary" + port1state: "forwarding" + port1activeint: "1" + port1inttype: "regular" + port2interface: "2" + port2role: "secondary" + port2state: "forwarding" + port2activeint: "2" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "355056325" + tcrbpdusrecvd: "689" + statechanges: "9" diff --git a/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.parsed b/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.parsed deleted file mode 100644 index cde73f9c4d..0000000000 --- a/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.parsed +++ /dev/null @@ -1,11 +0,0 @@ ---- -parsed_sample: - -- monitoredport: '10' - inputmirror: '18' - outputmirror: '18' - -- monitoredport: '16' - inputmirror: '18' - outputmirror: '18' - diff --git a/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.yml b/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.yml new file mode 100644 index 0000000000..65873b3893 --- /dev/null +++ b/tests/brocade_fastiron/show_monitor/brocade_fastiron_show_monitor.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - monitoredport: "10" + inputmirror: "18" + outputmirror: "18" + - monitoredport: "16" + inputmirror: "18" + outputmirror: "18" diff --git a/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.parsed b/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.parsed deleted file mode 100644 index 5444750806..0000000000 --- a/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.parsed +++ /dev/null @@ -1,93 +0,0 @@ ---- -parsed_sample: - -- vlanid: '1' - vlanname: 'DEFAULT-VLAN by port' - untaggedports: '' - taggedports: '' - spanningtree: '' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '10' - vlanname: 'CLMAMO-RING-1 by port' - untaggedports: 'ethe 1/1/3 to 1/1/5 ethe 1/1/7 to 1/1/8 ' - taggedports: 'ethe 1/1/24 ethe 2/1/1 ' - spanningtree: 'no' - metroid1: '10' - metrointerfaces1: 'ethernet 1/1/24 ethernet 2/1/1' - metroconfenable1: 'enable' - metroconfmaster1: 'master' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '60' - vlanname: 'CLMA-JFCY-FLTN' - untaggedports: '' - taggedports: 'ethe 1/3/1 to 1/3/2 ethe 2/3/1 to 2/3/2 ' - spanningtree: 'no' - metroid1: '60' - metrointerfaces1: 'ethernet 1/3/1 ethernet 2/3/1' - metroconfenable1: 'enable' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: 'CLMA-JFCY-FLTNHT' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - diff --git a/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.yml b/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.yml new file mode 100644 index 0000000000..bb33b1254c --- /dev/null +++ b/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan.yml @@ -0,0 +1,89 @@ +--- +parsed_sample: + - vlanid: "1" + vlanname: "DEFAULT-VLAN by port" + untaggedports: "" + taggedports: "" + spanningtree: "" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "10" + vlanname: "CLMAMO-RING-1 by port" + untaggedports: "ethe 1/1/3 to 1/1/5 ethe 1/1/7 to 1/1/8 " + taggedports: "ethe 1/1/24 ethe 2/1/1 " + spanningtree: "no" + metroid1: "10" + metrointerfaces1: "ethernet 1/1/24 ethernet 2/1/1" + metroconfenable1: "enable" + metroconfmaster1: "master" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "60" + vlanname: "CLMA-JFCY-FLTN" + untaggedports: "" + taggedports: "ethe 1/3/1 to 1/3/2 ethe 2/3/1 to 2/3/2 " + spanningtree: "no" + metroid1: "60" + metrointerfaces1: "ethernet 1/3/1 ethernet 2/3/1" + metroconfenable1: "enable" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "CLMA-JFCY-FLTNHT" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" diff --git a/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.parsed b/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.parsed deleted file mode 100644 index 65b9d686df..0000000000 --- a/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.parsed +++ /dev/null @@ -1,333 +0,0 @@ ---- -parsed_sample: - -- vlanid: '1' - vlanname: 'DEFAULT-VLAN by port' - untaggedports: '' - taggedports: '' - spanningtree: 'no' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '10' - vlanname: 'CLMAMO-RING-1 by port' - untaggedports: '' - taggedports: 'ethe 2 ethe 11 ' - spanningtree: 'no' - metroid1: '10' - metrointerfaces1: 'ethernet 11 ethernet 2' - metroconfenable1: 'enable' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '13' - vlanname: 'SocketPublicWifi by port' - untaggedports: '' - taggedports: 'ethe 1 to 2 ' - spanningtree: 'no' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '14' - vlanname: 'CLMAMOFW-Ring by port' - untaggedports: '' - taggedports: 'ethe 1 to 2 ' - spanningtree: 'no' - metroid1: '14' - metrointerfaces1: 'ethernet 1 ethernet 2' - metroconfenable1: 'enable' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '100' - vlanname: '' - untaggedports: '' - taggedports: 'ethe 1 to 2 ' - spanningtree: 'no' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '146' - vlanname: 'LabSBC-External by port' - untaggedports: '' - taggedports: 'ethe 2 ethe 11 ' - spanningtree: 'no' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '149' - vlanname: 'SBC-External by port' - untaggedports: 'ethe 16 ethe 21 ' - taggedports: 'ethe 2 ethe 11 ' - spanningtree: 'no' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '151' - vlanname: 'LabSBC-Internal by port' - untaggedports: '' - taggedports: 'ethe 2 ethe 11 ' - spanningtree: 'no' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '152' - vlanname: 'SBC-Inside by port' - untaggedports: 'ethe 10 ethe 20 ' - taggedports: 'ethe 2 ethe 11 ' - spanningtree: 'no' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '154' - vlanname: 'SocketVoIP-Svr by port' - untaggedports: 'ethe 14 ' - taggedports: 'ethe 2 ethe 11 ethe 19 ' - spanningtree: 'no' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '175' - vlanname: 'CLMAMO10G-to-FW by port' - untaggedports: '' - taggedports: 'ethe 1 to 2 ' - spanningtree: 'no' - metroid1: '176' - metrointerfaces1: 'ethernet 1 ethernet 2' - metroconfenable1: 'enable' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: 'CLMAMOFW-to-CLMAMO10G' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - diff --git a/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.yml b/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.yml new file mode 100644 index 0000000000..67c77d11f4 --- /dev/null +++ b/tests/brocade_fastiron/show_running-config_vlan/brocade_fastiron_show_running-config_vlan1.yml @@ -0,0 +1,321 @@ +--- +parsed_sample: + - vlanid: "1" + vlanname: "DEFAULT-VLAN by port" + untaggedports: "" + taggedports: "" + spanningtree: "no" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "10" + vlanname: "CLMAMO-RING-1 by port" + untaggedports: "" + taggedports: "ethe 2 ethe 11 " + spanningtree: "no" + metroid1: "10" + metrointerfaces1: "ethernet 11 ethernet 2" + metroconfenable1: "enable" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "13" + vlanname: "SocketPublicWifi by port" + untaggedports: "" + taggedports: "ethe 1 to 2 " + spanningtree: "no" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "14" + vlanname: "CLMAMOFW-Ring by port" + untaggedports: "" + taggedports: "ethe 1 to 2 " + spanningtree: "no" + metroid1: "14" + metrointerfaces1: "ethernet 1 ethernet 2" + metroconfenable1: "enable" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "100" + vlanname: "" + untaggedports: "" + taggedports: "ethe 1 to 2 " + spanningtree: "no" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "146" + vlanname: "LabSBC-External by port" + untaggedports: "" + taggedports: "ethe 2 ethe 11 " + spanningtree: "no" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "149" + vlanname: "SBC-External by port" + untaggedports: "ethe 16 ethe 21 " + taggedports: "ethe 2 ethe 11 " + spanningtree: "no" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "151" + vlanname: "LabSBC-Internal by port" + untaggedports: "" + taggedports: "ethe 2 ethe 11 " + spanningtree: "no" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "152" + vlanname: "SBC-Inside by port" + untaggedports: "ethe 10 ethe 20 " + taggedports: "ethe 2 ethe 11 " + spanningtree: "no" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "154" + vlanname: "SocketVoIP-Svr by port" + untaggedports: "ethe 14 " + taggedports: "ethe 2 ethe 11 ethe 19 " + spanningtree: "no" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "175" + vlanname: "CLMAMO10G-to-FW by port" + untaggedports: "" + taggedports: "ethe 1 to 2 " + spanningtree: "no" + metroid1: "176" + metrointerfaces1: "ethernet 1 ethernet 2" + metroconfenable1: "enable" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "CLMAMOFW-to-CLMAMO10G" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" diff --git a/tests/brocade_fastiron/show_span/brocade_fastiron_show_span.parsed b/tests/brocade_fastiron/show_span/brocade_fastiron_show_span.parsed deleted file mode 100644 index 6fbb614eb4..0000000000 --- a/tests/brocade_fastiron/show_span/brocade_fastiron_show_span.parsed +++ /dev/null @@ -1,33 +0,0 @@ ---- -parsed_sample: - -- mastervlan: '1' - vlan: '1' - rootbridgeid: '1000000cdbf3d001' - rootpathcost: '4' - rootport: '20' - priorityhex: '8000' - bridgemaxage: '20' - bridgehello: '2' - holdtime: '1' - bridgefwddly: '15' - lasttopochange: '1760890' - topochangecount: '6258' - bridgeaddress: '001bed6b2941' - portstates: '' - -- mastervlan: '500' - vlan: '500' - rootbridgeid: '8000001bed6b294d' - rootpathcost: '0' - rootport: 'Root' - priorityhex: '8000' - bridgemaxage: '20' - bridgehello: '2' - holdtime: '1' - bridgefwddly: '15' - lasttopochange: '52626757' - topochangecount: '2' - bridgeaddress: '001bed6b294d' - portstates: '' - diff --git a/tests/brocade_fastiron/show_span/brocade_fastiron_show_span.yml b/tests/brocade_fastiron/show_span/brocade_fastiron_show_span.yml new file mode 100644 index 0000000000..d8df6c586b --- /dev/null +++ b/tests/brocade_fastiron/show_span/brocade_fastiron_show_span.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - mastervlan: "1" + vlan: "1" + rootbridgeid: "1000000cdbf3d001" + rootpathcost: "4" + rootport: "20" + priorityhex: "8000" + bridgemaxage: "20" + bridgehello: "2" + holdtime: "1" + bridgefwddly: "15" + lasttopochange: "1760890" + topochangecount: "6258" + bridgeaddress: "001bed6b2941" + portstates: "" + - mastervlan: "500" + vlan: "500" + rootbridgeid: "8000001bed6b294d" + rootpathcost: "0" + rootport: "Root" + priorityhex: "8000" + bridgemaxage: "20" + bridgehello: "2" + holdtime: "1" + bridgefwddly: "15" + lasttopochange: "52626757" + topochangecount: "2" + bridgeaddress: "001bed6b294d" + portstates: "" diff --git a/tests/brocade_fastiron/show_span/brocade_fastiron_show_span1.parsed b/tests/brocade_fastiron/show_span/brocade_fastiron_show_span1.parsed deleted file mode 100644 index d8f9f08801..0000000000 --- a/tests/brocade_fastiron/show_span/brocade_fastiron_show_span1.parsed +++ /dev/null @@ -1,18 +0,0 @@ ---- -parsed_sample: - -- mastervlan: '1' - vlan: '1' - rootbridgeid: '8000cc4e2415015e' - rootpathcost: '0' - rootport: 'Root' - priorityhex: '8000' - bridgemaxage: '20' - bridgehello: '2' - holdtime: '1' - bridgefwddly: '15' - lasttopochange: '265591169' - topochangecount: '' - bridgeaddress: 'cc4e2415015e' - portstates: '' - diff --git a/tests/brocade_fastiron/show_span/brocade_fastiron_show_span1.yml b/tests/brocade_fastiron/show_span/brocade_fastiron_show_span1.yml new file mode 100644 index 0000000000..7b12595551 --- /dev/null +++ b/tests/brocade_fastiron/show_span/brocade_fastiron_show_span1.yml @@ -0,0 +1,16 @@ +--- +parsed_sample: + - mastervlan: "1" + vlan: "1" + rootbridgeid: "8000cc4e2415015e" + rootpathcost: "0" + rootport: "Root" + priorityhex: "8000" + bridgemaxage: "20" + bridgehello: "2" + holdtime: "1" + bridgefwddly: "15" + lasttopochange: "265591169" + topochangecount: "" + bridgeaddress: "cc4e2415015e" + portstates: "" diff --git a/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo.parsed b/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo.parsed deleted file mode 100644 index 70fa143b63..0000000000 --- a/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo.parsed +++ /dev/null @@ -1,45 +0,0 @@ ---- -parsed_sample: - -- topogroup: '10' - mastervlan: '10' - l2proto: 'MRP' - membervlans: '' - controlports: '' - freeports: '' - -- topogroup: '13' - mastervlan: '513' - l2proto: 'MRP' - membervlans: '' - controlports: '' - freeports: '' - -- topogroup: '60' - mastervlan: '60' - l2proto: 'MRP' - membervlans: '' - controlports: '' - freeports: '' - -- topogroup: '170' - mastervlan: '170' - l2proto: 'MRP' - membervlans: '' - controlports: '' - freeports: '' - -- topogroup: '175' - mastervlan: '175' - l2proto: 'MRP' - membervlans: '' - controlports: '' - freeports: '' - -- topogroup: '215' - mastervlan: '215' - l2proto: 'MRP' - membervlans: '' - controlports: '' - freeports: '' - diff --git a/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo.yml b/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo.yml new file mode 100644 index 0000000000..7e22e76bdd --- /dev/null +++ b/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - topogroup: "10" + mastervlan: "10" + l2proto: "MRP" + membervlans: "" + controlports: "" + freeports: "" + - topogroup: "13" + mastervlan: "513" + l2proto: "MRP" + membervlans: "" + controlports: "" + freeports: "" + - topogroup: "60" + mastervlan: "60" + l2proto: "MRP" + membervlans: "" + controlports: "" + freeports: "" + - topogroup: "170" + mastervlan: "170" + l2proto: "MRP" + membervlans: "" + controlports: "" + freeports: "" + - topogroup: "175" + mastervlan: "175" + l2proto: "MRP" + membervlans: "" + controlports: "" + freeports: "" + - topogroup: "215" + mastervlan: "215" + l2proto: "MRP" + membervlans: "" + controlports: "" + freeports: "" diff --git a/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo1.parsed b/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo1.parsed deleted file mode 100644 index 31784687c3..0000000000 --- a/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo1.parsed +++ /dev/null @@ -1,24 +0,0 @@ ---- -parsed_sample: - -- topogroup: '10' - mastervlan: '10' - l2proto: 'MRP' - membervlans: '' - controlports: '' - freeports: '' - -- topogroup: '14' - mastervlan: '14' - l2proto: 'MRP' - membervlans: '' - controlports: '' - freeports: '' - -- topogroup: '175' - mastervlan: '175' - l2proto: 'MRP' - membervlans: '' - controlports: '' - freeports: '' - diff --git a/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo1.yml b/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo1.yml new file mode 100644 index 0000000000..3a68ac9de7 --- /dev/null +++ b/tests/brocade_fastiron/show_topo/brocade_fastiron_show_topo1.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - topogroup: "10" + mastervlan: "10" + l2proto: "MRP" + membervlans: "" + controlports: "" + freeports: "" + - topogroup: "14" + mastervlan: "14" + l2proto: "MRP" + membervlans: "" + controlports: "" + freeports: "" + - topogroup: "175" + mastervlan: "175" + l2proto: "MRP" + membervlans: "" + controlports: "" + freeports: "" diff --git a/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk.parsed b/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk.parsed deleted file mode 100644 index 5e1f12b0ea..0000000000 --- a/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk.parsed +++ /dev/null @@ -1,29 +0,0 @@ ---- -parsed_sample: - -- id: '129' - port1: '1/3/1' - port2: '1/3/2' - port3: '2/3/1' - port4: '2/3/2' - port5: '3/3/1' - port6: '3/3/2' - port7: '4/3/1' - port8: '4/3/2' - link1: 'active' - link2: 'active' - link3: 'active' - link4: 'active' - link5: 'active' - link6: 'active' - link7: 'active' - link8: 'active' - state1: 'Forward' - state2: 'Forward' - state3: 'Forward' - state4: 'Forward' - state5: 'Forward' - state6: 'Forward' - state7: 'Forward' - state8: 'Forward' - diff --git a/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk.yml b/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk.yml new file mode 100644 index 0000000000..45b9400ad1 --- /dev/null +++ b/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - id: "129" + port1: "1/3/1" + port2: "1/3/2" + port3: "2/3/1" + port4: "2/3/2" + port5: "3/3/1" + port6: "3/3/2" + port7: "4/3/1" + port8: "4/3/2" + link1: "active" + link2: "active" + link3: "active" + link4: "active" + link5: "active" + link6: "active" + link7: "active" + link8: "active" + state1: "Forward" + state2: "Forward" + state3: "Forward" + state4: "Forward" + state5: "Forward" + state6: "Forward" + state7: "Forward" + state8: "Forward" diff --git a/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk1.parsed b/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk1.parsed deleted file mode 100644 index 011c3ceb4a..0000000000 --- a/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk1.parsed +++ /dev/null @@ -1,29 +0,0 @@ ---- -parsed_sample: - -- id: '5' - port1: '5' - port2: '23' - port3: '' - port4: '' - port5: '' - port6: '' - port7: '' - port8: '' - link1: 'active' - link2: 'active' - link3: '' - link4: '' - link5: '' - link6: '' - link7: '' - link8: '' - state1: 'Forward' - state2: 'Forward' - state3: '' - state4: '' - state5: '' - state6: '' - state7: '' - state8: '' - diff --git a/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk1.yml b/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk1.yml new file mode 100644 index 0000000000..6a75267a4e --- /dev/null +++ b/tests/brocade_fastiron/show_trunk/brocade_fastiron_show_trunk1.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - id: "5" + port1: "5" + port2: "23" + port3: "" + port4: "" + port5: "" + port6: "" + port7: "" + port8: "" + link1: "active" + link2: "active" + link3: "" + link4: "" + link5: "" + link6: "" + link7: "" + link8: "" + state1: "Forward" + state2: "Forward" + state3: "" + state4: "" + state5: "" + state6: "" + state7: "" + state8: "" diff --git a/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.parsed b/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.parsed deleted file mode 100644 index 0cf1281d76..0000000000 --- a/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.parsed +++ /dev/null @@ -1,29 +0,0 @@ ---- -parsed_sample: - - switch_id: ['1', '2', '3', '4', '5', '6'] - sw_bin: ['ICX64S08030h.bin', 'ICX64S08030h.bin', 'ICX64S08030h.bin', 'ICX64S08030h.bin', 'ICX64S08030h.bin', 'ICX64S08030h.bin'] - sw_version: ['08.0.30hT311', '08.0.30hT311', '08.0.30hT311', '08.0.30hT311', '08.0.30hT311', '08.0.30hT311'] - boot_monitor_version: '10.1.05T310 (kxz10105)' - hw: 'Stackable ICX6450-48-HPOE' - slot: ['1', '2', '1', '2', '1', '2', '1', '2', '1', '2', '1', '2'] - model: ['ICX6450-48P', 'ICX6450-SFP-Plus', 'ICX6450-48P', 'ICX6450-SFP-Plus', 'ICX6450-48P', 'ICX6450-SFP-Plus', 'ICX6450-48P', 'ICX6450-SFP-Plus', 'ICX6450-48P', 'ICX6450-SFP-Plus', 'ICX6450-48P', 'ICX6450-SFP-Plus'] - poe: ['POE', None, 'POE', None, 'POE', None, 'POE', None, 'POE', None, 'POE', None] - ports: ['48', '4', '48', '4', '48', '4', '48', '4', '48', '4', '48', '4'] - module_type: ['Management', '40G', 'Management', '40G', 'Management', '40G', 'Management', '40G', 'Management', '40G', 'Management', '40G'] - serial: ['BZT3217M025', 'BZT3217M033', 'BZT3217M036', 'BZT3217M038', 'BZT3215M02V', 'BZT3217M02G'] - license: ['BASE_SOFT_PACKAGE', 'BASE_SOFT_PACKAGE', 'BASE_SOFT_PACKAGE', 'BASE_SOFT_PACKAGE', 'BASE_SOFT_PACKAGE', 'BASE_SOFT_PACKAGE'] - flash: '65536' - flash_measurement: 'KB' - ram: '512' - ram_measurement: 'MB' - uptime_days: ['730', '707', '707', '707', '707', '730'] - uptime_hours: ['11', '8', '8', '8', '8', '10'] - uptime_minutes: [None, '13', '13', '13', '13', '59'] - uptime_seconds: ['11', '32', '32', '32', '31', '40'] - start_time: '15:56:16' - start_timezone: 'Pacific' - start_day: 'Fri' - start_month: 'Jul' - start_date: '08' - start_year: '2016' - reload_reason: 'cold start' diff --git a/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.yml b/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.yml new file mode 100644 index 0000000000..a0d754f4d2 --- /dev/null +++ b/tests/brocade_fastiron/show_version/brocade_fastiron_show_version.yml @@ -0,0 +1,143 @@ +--- +parsed_sample: + - switch_id: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + sw_bin: + - "ICX64S08030h.bin" + - "ICX64S08030h.bin" + - "ICX64S08030h.bin" + - "ICX64S08030h.bin" + - "ICX64S08030h.bin" + - "ICX64S08030h.bin" + sw_version: + - "08.0.30hT311" + - "08.0.30hT311" + - "08.0.30hT311" + - "08.0.30hT311" + - "08.0.30hT311" + - "08.0.30hT311" + boot_monitor_version: "10.1.05T310 (kxz10105)" + hw: "Stackable ICX6450-48-HPOE" + slot: + - "1" + - "2" + - "1" + - "2" + - "1" + - "2" + - "1" + - "2" + - "1" + - "2" + - "1" + - "2" + model: + - "ICX6450-48P" + - "ICX6450-SFP-Plus" + - "ICX6450-48P" + - "ICX6450-SFP-Plus" + - "ICX6450-48P" + - "ICX6450-SFP-Plus" + - "ICX6450-48P" + - "ICX6450-SFP-Plus" + - "ICX6450-48P" + - "ICX6450-SFP-Plus" + - "ICX6450-48P" + - "ICX6450-SFP-Plus" + poe: + - "POE" + - "None" + - "POE" + - "None" + - "POE" + - "None" + - "POE" + - "None" + - "POE" + - "None" + - "POE" + - "None" + ports: + - "48" + - "4" + - "48" + - "4" + - "48" + - "4" + - "48" + - "4" + - "48" + - "4" + - "48" + - "4" + module_type: + - "Management" + - "40G" + - "Management" + - "40G" + - "Management" + - "40G" + - "Management" + - "40G" + - "Management" + - "40G" + - "Management" + - "40G" + serial: + - "BZT3217M025" + - "BZT3217M033" + - "BZT3217M036" + - "BZT3217M038" + - "BZT3215M02V" + - "BZT3217M02G" + license: + - "BASE_SOFT_PACKAGE" + - "BASE_SOFT_PACKAGE" + - "BASE_SOFT_PACKAGE" + - "BASE_SOFT_PACKAGE" + - "BASE_SOFT_PACKAGE" + - "BASE_SOFT_PACKAGE" + flash: "65536" + flash_measurement: "KB" + ram: "512" + ram_measurement: "MB" + uptime_days: + - "730" + - "707" + - "707" + - "707" + - "707" + - "730" + uptime_hours: + - "11" + - "8" + - "8" + - "8" + - "8" + - "10" + uptime_minutes: + - "None" + - "13" + - "13" + - "13" + - "13" + - "59" + uptime_seconds: + - "11" + - "32" + - "32" + - "32" + - "31" + - "40" + start_time: "15:56:16" + start_timezone: "Pacific" + start_day: "Fri" + start_month: "Jul" + start_date: "08" + start_year: "2016" + reload_reason: "cold start" diff --git a/tests/brocade_netiron/show_interfaces/brocade_netiron_show_interfaces.parsed b/tests/brocade_netiron/show_interfaces/brocade_netiron_show_interfaces.parsed deleted file mode 100644 index 5377be424e..0000000000 --- a/tests/brocade_netiron/show_interfaces/brocade_netiron_show_interfaces.parsed +++ /dev/null @@ -1,696 +0,0 @@ ---- -parsed_sample: - -- interface: 'GigabitEthernet1/1' - intstate: 'up' - protostate: 'up' - stprootguard: 'disabled' - stpbpduguard: 'disabled' - hardwaretype: 'GigabitEthernet' - mac: '0024.38a5.1c00' - bia: '0024.38a5.1c00' - conffiberspeed: 'auto' - confcopperspeed: '' - conffiberduplex: 'fdx' - confcopperduplex: '' - actualspeed: '1Gbit' - actualduplex: 'fdx' - l2portstate: 'Forwarding' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '36' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolstate: 'enabled' - priorityforcedstate: 'disabled' - dropprecedencelevel: '0' - dropprecedenceforcestate: 'disabled' - dhcpsnooptrust: 'OFF' - mirrorstate: 'disabled' - monitorstate: 'disabled' - lacpbpduforward: 'Disabled' - lldpbpduforward: 'Disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'ATM1-G0-1' - l2mtubytes: '9216' - encapsulation: 'ethernet' - openflowopstate: 'Disabled' - openflowindex: '1' - clusterl2protoforwarding: 'enabled' - loadinterval: '300' - inputbitssec: '235649647' - inputpacketssec: '27522' - inputpercentutilization: '24.00' - outputbitssec: '140641094' - outputpacketssec: '31382' - outputpercentutilization: '14.56' - inputpacketstotal: '74818592872' - inputbytestotal: '72400348503374' - inputnobuffers: '0' - inputbroadcasts: '3639493' - inputmulticasts: '2736343' - inputunicasts: '74812217036' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '16192705827' - inputnpreceivedpackets: '74819287581' - inputsenttotmpackets: '74819282240' - inputnpingressdroppedpackets: '5369' - outputpacketstotal: '95864830955' - outputbytestotal: '54017992924883' - outputunderruns: '0' - outputbroadcasts: '2406581209' - outputmulticasts: '82143416' - outputunicasts: '93376106330' - outputerrors: '0' - outputcollisions: '0' - outputnptransmittedpackets: '95865699894' - outputreceivedfromtmpackets: '95872239709' - l3mtubytes: '' - ipaddress: '' - ipencapsulation: '' - -- interface: 'GigabitEthernet1/2' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'disabled' - stpbpduguard: 'disabled' - hardwaretype: 'GigabitEthernet' - mac: '0024.38a5.1c01' - bia: '0024.38a5.1c01' - conffiberspeed: 'auto' - confcopperspeed: '' - conffiberduplex: 'fdx' - confcopperduplex: '' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'Disabled' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolstate: 'enabled' - priorityforcedstate: 'disabled' - dropprecedencelevel: '0' - dropprecedenceforcestate: 'disabled' - dhcpsnooptrust: 'OFF' - mirrorstate: 'disabled' - monitorstate: 'disabled' - lacpbpduforward: 'Disabled' - lldpbpduforward: 'Disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '9216' - encapsulation: 'ethernet' - openflowopstate: 'Disabled' - openflowindex: '2' - clusterl2protoforwarding: 'enabled' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - inputnpreceivedpackets: '0' - inputsenttotmpackets: '0' - inputnpingressdroppedpackets: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - outputnptransmittedpackets: '0' - outputreceivedfromtmpackets: '0' - l3mtubytes: '' - ipaddress: '' - ipencapsulation: '' - -- interface: '10GigabitEthernet3/4' - intstate: 'up' - protostate: 'up' - stprootguard: 'disabled' - stpbpduguard: 'disabled' - hardwaretype: '10GigabitEthernet' - mac: '0024.38a5.1c00' - bia: '0024.38a5.1c63' - conffiberspeed: '10Gbit' - confcopperspeed: '' - conffiberduplex: 'fdx' - confcopperduplex: '' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: 'Forwarding' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '77' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolstate: 'enabled' - priorityforcedstate: 'disabled' - dropprecedencelevel: '0' - dropprecedenceforcestate: 'disabled' - dhcpsnooptrust: 'OFF' - mirrorstate: 'disabled' - monitorstate: 'disabled' - lacpbpduforward: 'Disabled' - lldpbpduforward: 'Disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'OL2.CLMAMO-ten3/0/0' - l2mtubytes: '9216' - encapsulation: 'ethernet' - openflowopstate: 'Disabled' - openflowindex: '100' - clusterl2protoforwarding: 'enabled' - loadinterval: '30' - inputbitssec: '300338645' - inputpacketssec: '41100' - inputpercentutilization: '3.07' - outputbitssec: '190540328' - outputpacketssec: '39304' - outputpercentutilization: '1.97' - inputpacketstotal: '121863253313' - inputbytestotal: '99644389312061' - inputnobuffers: '0' - inputbroadcasts: '44852728' - inputmulticasts: '9170942' - inputunicasts: '121809229643' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '26930828870' - inputnpreceivedpackets: '121864501462' - inputsenttotmpackets: '121862218321' - inputnpingressdroppedpackets: '5' - outputpacketstotal: '145158405355' - outputbytestotal: '102580338487220' - outputunderruns: '0' - outputbroadcasts: '9556629' - outputmulticasts: '65490504' - outputunicasts: '145083358222' - outputerrors: '0' - outputcollisions: '0' - outputnptransmittedpackets: '145159557118' - outputreceivedfromtmpackets: '145218386173' - l3mtubytes: '' - ipaddress: '' - ipencapsulation: '' - -- interface: '10GigabitEthernet3/5' - intstate: 'up' - protostate: 'up' - stprootguard: 'disabled' - stpbpduguard: 'disabled' - hardwaretype: '10GigabitEthernet' - mac: '0024.38a5.1c00' - bia: '0024.38a5.1c64' - conffiberspeed: '10Gbit' - confcopperspeed: '' - conffiberduplex: 'fdx' - confcopperduplex: '' - actualspeed: '10Gbit' - actualduplex: 'fdx' - l2portstate: 'Forwarding' - l2portmode: 'tagged' - untaggedvlan: '' - numtaggedvlans: '9' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolstate: 'enabled' - priorityforcedstate: 'disabled' - dropprecedencelevel: '0' - dropprecedenceforcestate: 'disabled' - dhcpsnooptrust: 'OFF' - mirrorstate: 'disabled' - monitorstate: 'disabled' - lacpbpduforward: 'Disabled' - lldpbpduforward: 'Disabled' - activelagports: '3/5' - activelagrole: 'primary' - activelagprimaryport: '' - conflagports: '3/5' - conflagrole: 'primary' - conflagprimaryport: '' - portname: 'CLMA-STLS 10G-Centurylink' - l2mtubytes: '9216' - encapsulation: 'ethernet' - openflowopstate: 'Disabled' - openflowindex: '101' - clusterl2protoforwarding: 'enabled' - loadinterval: '30' - inputbitssec: '2602741516' - inputpacketssec: '269941' - inputpercentutilization: '26.46' - outputbitssec: '262142094' - outputpacketssec: '111277' - outputpercentutilization: '2.79' - inputpacketstotal: '924970842630' - inputbytestotal: '1088460975408035' - inputnobuffers: '0' - inputbroadcasts: '4575649' - inputmulticasts: '102909425' - inputunicasts: '924863357556' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '321137547437' - inputnpreceivedpackets: '924979272212' - inputsenttotmpackets: '924677624613' - inputnpingressdroppedpackets: '213578234' - outputpacketstotal: '526574341236' - outputbytestotal: '159588031939808' - outputunderruns: '0' - outputbroadcasts: '121307096' - outputmulticasts: '317528800' - outputunicasts: '526135505340' - outputerrors: '0' - outputcollisions: '0' - outputnptransmittedpackets: '526580335261' - outputreceivedfromtmpackets: '526680374565' - l3mtubytes: '' - ipaddress: '' - ipencapsulation: '' - -- interface: '10GigabitEthernet3/6' - intstate: 'disabled' - protostate: 'down' - stprootguard: 'disabled' - stpbpduguard: 'disabled' - hardwaretype: '10GigabitEthernet' - mac: '0024.38a5.1c65' - bia: '0024.38a5.1c65' - conffiberspeed: '10Gbit' - confcopperspeed: '' - conffiberduplex: 'fdx' - confcopperduplex: '' - actualspeed: 'unknown' - actualduplex: 'unknown' - l2portstate: 'Disabled' - l2portmode: 'untagged' - untaggedvlan: '1' - numtaggedvlans: '' - stpconfstate: 'ON' - priority: 'level0' - flowcontrolstate: 'enabled' - priorityforcedstate: 'disabled' - dropprecedencelevel: '0' - dropprecedenceforcestate: 'disabled' - dhcpsnooptrust: 'OFF' - mirrorstate: 'disabled' - monitorstate: 'disabled' - lacpbpduforward: 'Disabled' - lldpbpduforward: 'Disabled' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '9216' - encapsulation: 'ethernet' - openflowopstate: 'Disabled' - openflowindex: '102' - clusterl2protoforwarding: 'enabled' - loadinterval: '300' - inputbitssec: '0' - inputpacketssec: '0' - inputpercentutilization: '0.00' - outputbitssec: '0' - outputpacketssec: '0' - outputpercentutilization: '0.00' - inputpacketstotal: '0' - inputbytestotal: '0' - inputnobuffers: '0' - inputbroadcasts: '0' - inputmulticasts: '0' - inputunicasts: '0' - inputerrors: '0' - inputcrcerrors: '0' - inputframeerrors: '0' - inputignorederrors: '0' - inputrunts: '0' - inputgiants: '0' - inputnpreceivedpackets: '0' - inputsenttotmpackets: '0' - inputnpingressdroppedpackets: '0' - outputpacketstotal: '0' - outputbytestotal: '0' - outputunderruns: '0' - outputbroadcasts: '0' - outputmulticasts: '0' - outputunicasts: '0' - outputerrors: '0' - outputcollisions: '0' - outputnptransmittedpackets: '0' - outputreceivedfromtmpackets: '0' - l3mtubytes: '' - ipaddress: '' - ipencapsulation: '' - -- interface: 'Ve1395' - intstate: 'up' - protostate: 'up' - stprootguard: '' - stpbpduguard: '' - hardwaretype: 'Virtual Ethernet' - mac: '0024.38a5.1c00' - bia: '0024.38a5.1c00' - conffiberspeed: '' - confcopperspeed: '' - conffiberduplex: '' - confcopperduplex: '' - actualspeed: '' - actualduplex: '' - l2portstate: '' - l2portmode: '' - untaggedvlan: '1395' - numtaggedvlans: '' - stpconfstate: '' - priority: '' - flowcontrolstate: '' - priorityforcedstate: '' - dropprecedencelevel: '' - dropprecedenceforcestate: '' - dhcpsnooptrust: '' - mirrorstate: '' - monitorstate: '' - lacpbpduforward: '' - lldpbpduforward: '' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'TA5000A.CLMAMOXI-PON-VOICE ' - l2mtubytes: '' - encapsulation: '' - openflowopstate: '' - openflowindex: '' - clusterl2protoforwarding: '' - loadinterval: '' - inputbitssec: '' - inputpacketssec: '' - inputpercentutilization: '' - outputbitssec: '' - outputpacketssec: '' - outputpercentutilization: '' - inputpacketstotal: '' - inputbytestotal: '' - inputnobuffers: '' - inputbroadcasts: '' - inputmulticasts: '' - inputunicasts: '' - inputerrors: '' - inputcrcerrors: '' - inputframeerrors: '' - inputignorederrors: '' - inputrunts: '' - inputgiants: '' - inputnpreceivedpackets: '' - inputsenttotmpackets: '' - inputnpingressdroppedpackets: '' - outputpacketstotal: '' - outputbytestotal: '' - outputunderruns: '' - outputbroadcasts: '' - outputmulticasts: '' - outputunicasts: '' - outputerrors: '' - outputcollisions: '' - outputnptransmittedpackets: '' - outputreceivedfromtmpackets: '' - l3mtubytes: '1500' - ipaddress: '172.24.18.1/24' - ipencapsulation: 'ethernet' - -- interface: 'Ve1400' - intstate: 'up' - protostate: 'down' - stprootguard: '' - stpbpduguard: '' - hardwaretype: 'Virtual Ethernet' - mac: '0024.38a5.1c00' - bia: '0024.38a5.1c00' - conffiberspeed: '' - confcopperspeed: '' - conffiberduplex: '' - confcopperduplex: '' - actualspeed: '' - actualduplex: '' - l2portstate: '' - l2portmode: '' - untaggedvlan: '1400' - numtaggedvlans: '' - stpconfstate: '' - priority: '' - flowcontrolstate: '' - priorityforcedstate: '' - dropprecedencelevel: '' - dropprecedenceforcestate: '' - dhcpsnooptrust: '' - mirrorstate: '' - monitorstate: '' - lacpbpduforward: '' - lldpbpduforward: '' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '' - encapsulation: '' - openflowopstate: '' - openflowindex: '' - clusterl2protoforwarding: '' - loadinterval: '' - inputbitssec: '' - inputpacketssec: '' - inputpercentutilization: '' - outputbitssec: '' - outputpacketssec: '' - outputpercentutilization: '' - inputpacketstotal: '' - inputbytestotal: '' - inputnobuffers: '' - inputbroadcasts: '' - inputmulticasts: '' - inputunicasts: '' - inputerrors: '' - inputcrcerrors: '' - inputframeerrors: '' - inputignorederrors: '' - inputrunts: '' - inputgiants: '' - inputnpreceivedpackets: '' - inputsenttotmpackets: '' - inputnpingressdroppedpackets: '' - outputpacketstotal: '' - outputbytestotal: '' - outputunderruns: '' - outputbroadcasts: '' - outputmulticasts: '' - outputunicasts: '' - outputerrors: '' - outputcollisions: '' - outputnptransmittedpackets: '' - outputreceivedfromtmpackets: '' - l3mtubytes: '1500' - ipaddress: '0.0.0.0/0' - ipencapsulation: 'ethernet' - -- interface: 'Loopback1' - intstate: 'up' - protostate: 'up' - stprootguard: '' - stpbpduguard: '' - hardwaretype: 'Loopback' - mac: '' - bia: '' - conffiberspeed: '' - confcopperspeed: '' - conffiberduplex: '' - confcopperduplex: '' - actualspeed: '' - actualduplex: '' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: '' - priority: '' - flowcontrolstate: '' - priorityforcedstate: '' - dropprecedencelevel: '' - dropprecedenceforcestate: '' - dhcpsnooptrust: '' - mirrorstate: '' - monitorstate: '' - lacpbpduforward: '' - lldpbpduforward: '' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: 'MPLS Loopback' - l2mtubytes: '' - encapsulation: '' - openflowopstate: '' - openflowindex: '' - clusterl2protoforwarding: '' - loadinterval: '' - inputbitssec: '' - inputpacketssec: '' - inputpercentutilization: '' - outputbitssec: '' - outputpacketssec: '' - outputpercentutilization: '' - inputpacketstotal: '' - inputbytestotal: '' - inputnobuffers: '' - inputbroadcasts: '' - inputmulticasts: '' - inputunicasts: '' - inputerrors: '' - inputcrcerrors: '' - inputframeerrors: '' - inputignorederrors: '' - inputrunts: '' - inputgiants: '' - inputnpreceivedpackets: '' - inputsenttotmpackets: '' - inputnpingressdroppedpackets: '' - outputpacketstotal: '' - outputbytestotal: '' - outputunderruns: '' - outputbroadcasts: '' - outputmulticasts: '' - outputunicasts: '' - outputerrors: '' - outputcollisions: '' - outputnptransmittedpackets: '' - outputreceivedfromtmpackets: '' - l3mtubytes: '1500' - ipaddress: '174.34.31.29/32' - ipencapsulation: 'LOOPBACK' - -- interface: 'Loopback6' - intstate: 'up' - protostate: 'up' - stprootguard: '' - stpbpduguard: '' - hardwaretype: 'Loopback' - mac: '' - bia: '' - conffiberspeed: '' - confcopperspeed: '' - conffiberduplex: '' - confcopperduplex: '' - actualspeed: '' - actualduplex: '' - l2portstate: '' - l2portmode: '' - untaggedvlan: '' - numtaggedvlans: '' - stpconfstate: '' - priority: '' - flowcontrolstate: '' - priorityforcedstate: '' - dropprecedencelevel: '' - dropprecedenceforcestate: '' - dhcpsnooptrust: '' - mirrorstate: '' - monitorstate: '' - lacpbpduforward: '' - lldpbpduforward: '' - activelagports: '' - activelagrole: '' - activelagprimaryport: '' - conflagports: '' - conflagrole: '' - conflagprimaryport: '' - portname: '' - l2mtubytes: '' - encapsulation: '' - openflowopstate: '' - openflowindex: '' - clusterl2protoforwarding: '' - loadinterval: '' - inputbitssec: '' - inputpacketssec: '' - inputpercentutilization: '' - outputbitssec: '' - outputpacketssec: '' - outputpercentutilization: '' - inputpacketstotal: '' - inputbytestotal: '' - inputnobuffers: '' - inputbroadcasts: '' - inputmulticasts: '' - inputunicasts: '' - inputerrors: '' - inputcrcerrors: '' - inputframeerrors: '' - inputignorederrors: '' - inputrunts: '' - inputgiants: '' - inputnpreceivedpackets: '' - inputsenttotmpackets: '' - inputnpingressdroppedpackets: '' - outputpacketstotal: '' - outputbytestotal: '' - outputunderruns: '' - outputbroadcasts: '' - outputmulticasts: '' - outputunicasts: '' - outputerrors: '' - outputcollisions: '' - outputnptransmittedpackets: '' - outputreceivedfromtmpackets: '' - l3mtubytes: '1500' - ipaddress: '' - ipencapsulation: 'LOOPBACK' - diff --git a/tests/brocade_netiron/show_interfaces/brocade_netiron_show_interfaces.yml b/tests/brocade_netiron/show_interfaces/brocade_netiron_show_interfaces.yml new file mode 100644 index 0000000000..8b719040b1 --- /dev/null +++ b/tests/brocade_netiron/show_interfaces/brocade_netiron_show_interfaces.yml @@ -0,0 +1,686 @@ +--- +parsed_sample: + - interface: "GigabitEthernet1/1" + intstate: "up" + protostate: "up" + stprootguard: "disabled" + stpbpduguard: "disabled" + hardwaretype: "GigabitEthernet" + mac: "0024.38a5.1c00" + bia: "0024.38a5.1c00" + conffiberspeed: "auto" + confcopperspeed: "" + conffiberduplex: "fdx" + confcopperduplex: "" + actualspeed: "1Gbit" + actualduplex: "fdx" + l2portstate: "Forwarding" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "36" + stpconfstate: "ON" + priority: "level0" + flowcontrolstate: "enabled" + priorityforcedstate: "disabled" + dropprecedencelevel: "0" + dropprecedenceforcestate: "disabled" + dhcpsnooptrust: "OFF" + mirrorstate: "disabled" + monitorstate: "disabled" + lacpbpduforward: "Disabled" + lldpbpduforward: "Disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "ATM1-G0-1" + l2mtubytes: "9216" + encapsulation: "ethernet" + openflowopstate: "Disabled" + openflowindex: "1" + clusterl2protoforwarding: "enabled" + loadinterval: "300" + inputbitssec: "235649647" + inputpacketssec: "27522" + inputpercentutilization: "24.00" + outputbitssec: "140641094" + outputpacketssec: "31382" + outputpercentutilization: "14.56" + inputpacketstotal: "74818592872" + inputbytestotal: "72400348503374" + inputnobuffers: "0" + inputbroadcasts: "3639493" + inputmulticasts: "2736343" + inputunicasts: "74812217036" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "16192705827" + inputnpreceivedpackets: "74819287581" + inputsenttotmpackets: "74819282240" + inputnpingressdroppedpackets: "5369" + outputpacketstotal: "95864830955" + outputbytestotal: "54017992924883" + outputunderruns: "0" + outputbroadcasts: "2406581209" + outputmulticasts: "82143416" + outputunicasts: "93376106330" + outputerrors: "0" + outputcollisions: "0" + outputnptransmittedpackets: "95865699894" + outputreceivedfromtmpackets: "95872239709" + l3mtubytes: "" + ipaddress: "" + ipencapsulation: "" + - interface: "GigabitEthernet1/2" + intstate: "disabled" + protostate: "down" + stprootguard: "disabled" + stpbpduguard: "disabled" + hardwaretype: "GigabitEthernet" + mac: "0024.38a5.1c01" + bia: "0024.38a5.1c01" + conffiberspeed: "auto" + confcopperspeed: "" + conffiberduplex: "fdx" + confcopperduplex: "" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "Disabled" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolstate: "enabled" + priorityforcedstate: "disabled" + dropprecedencelevel: "0" + dropprecedenceforcestate: "disabled" + dhcpsnooptrust: "OFF" + mirrorstate: "disabled" + monitorstate: "disabled" + lacpbpduforward: "Disabled" + lldpbpduforward: "Disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "9216" + encapsulation: "ethernet" + openflowopstate: "Disabled" + openflowindex: "2" + clusterl2protoforwarding: "enabled" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + inputnpreceivedpackets: "0" + inputsenttotmpackets: "0" + inputnpingressdroppedpackets: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + outputnptransmittedpackets: "0" + outputreceivedfromtmpackets: "0" + l3mtubytes: "" + ipaddress: "" + ipencapsulation: "" + - interface: "10GigabitEthernet3/4" + intstate: "up" + protostate: "up" + stprootguard: "disabled" + stpbpduguard: "disabled" + hardwaretype: "10GigabitEthernet" + mac: "0024.38a5.1c00" + bia: "0024.38a5.1c63" + conffiberspeed: "10Gbit" + confcopperspeed: "" + conffiberduplex: "fdx" + confcopperduplex: "" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "Forwarding" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "77" + stpconfstate: "ON" + priority: "level0" + flowcontrolstate: "enabled" + priorityforcedstate: "disabled" + dropprecedencelevel: "0" + dropprecedenceforcestate: "disabled" + dhcpsnooptrust: "OFF" + mirrorstate: "disabled" + monitorstate: "disabled" + lacpbpduforward: "Disabled" + lldpbpduforward: "Disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "OL2.CLMAMO-ten3/0/0" + l2mtubytes: "9216" + encapsulation: "ethernet" + openflowopstate: "Disabled" + openflowindex: "100" + clusterl2protoforwarding: "enabled" + loadinterval: "30" + inputbitssec: "300338645" + inputpacketssec: "41100" + inputpercentutilization: "3.07" + outputbitssec: "190540328" + outputpacketssec: "39304" + outputpercentutilization: "1.97" + inputpacketstotal: "121863253313" + inputbytestotal: "99644389312061" + inputnobuffers: "0" + inputbroadcasts: "44852728" + inputmulticasts: "9170942" + inputunicasts: "121809229643" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "26930828870" + inputnpreceivedpackets: "121864501462" + inputsenttotmpackets: "121862218321" + inputnpingressdroppedpackets: "5" + outputpacketstotal: "145158405355" + outputbytestotal: "102580338487220" + outputunderruns: "0" + outputbroadcasts: "9556629" + outputmulticasts: "65490504" + outputunicasts: "145083358222" + outputerrors: "0" + outputcollisions: "0" + outputnptransmittedpackets: "145159557118" + outputreceivedfromtmpackets: "145218386173" + l3mtubytes: "" + ipaddress: "" + ipencapsulation: "" + - interface: "10GigabitEthernet3/5" + intstate: "up" + protostate: "up" + stprootguard: "disabled" + stpbpduguard: "disabled" + hardwaretype: "10GigabitEthernet" + mac: "0024.38a5.1c00" + bia: "0024.38a5.1c64" + conffiberspeed: "10Gbit" + confcopperspeed: "" + conffiberduplex: "fdx" + confcopperduplex: "" + actualspeed: "10Gbit" + actualduplex: "fdx" + l2portstate: "Forwarding" + l2portmode: "tagged" + untaggedvlan: "" + numtaggedvlans: "9" + stpconfstate: "ON" + priority: "level0" + flowcontrolstate: "enabled" + priorityforcedstate: "disabled" + dropprecedencelevel: "0" + dropprecedenceforcestate: "disabled" + dhcpsnooptrust: "OFF" + mirrorstate: "disabled" + monitorstate: "disabled" + lacpbpduforward: "Disabled" + lldpbpduforward: "Disabled" + activelagports: "3/5" + activelagrole: "primary" + activelagprimaryport: "" + conflagports: "3/5" + conflagrole: "primary" + conflagprimaryport: "" + portname: "CLMA-STLS 10G-Centurylink" + l2mtubytes: "9216" + encapsulation: "ethernet" + openflowopstate: "Disabled" + openflowindex: "101" + clusterl2protoforwarding: "enabled" + loadinterval: "30" + inputbitssec: "2602741516" + inputpacketssec: "269941" + inputpercentutilization: "26.46" + outputbitssec: "262142094" + outputpacketssec: "111277" + outputpercentutilization: "2.79" + inputpacketstotal: "924970842630" + inputbytestotal: "1088460975408035" + inputnobuffers: "0" + inputbroadcasts: "4575649" + inputmulticasts: "102909425" + inputunicasts: "924863357556" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "321137547437" + inputnpreceivedpackets: "924979272212" + inputsenttotmpackets: "924677624613" + inputnpingressdroppedpackets: "213578234" + outputpacketstotal: "526574341236" + outputbytestotal: "159588031939808" + outputunderruns: "0" + outputbroadcasts: "121307096" + outputmulticasts: "317528800" + outputunicasts: "526135505340" + outputerrors: "0" + outputcollisions: "0" + outputnptransmittedpackets: "526580335261" + outputreceivedfromtmpackets: "526680374565" + l3mtubytes: "" + ipaddress: "" + ipencapsulation: "" + - interface: "10GigabitEthernet3/6" + intstate: "disabled" + protostate: "down" + stprootguard: "disabled" + stpbpduguard: "disabled" + hardwaretype: "10GigabitEthernet" + mac: "0024.38a5.1c65" + bia: "0024.38a5.1c65" + conffiberspeed: "10Gbit" + confcopperspeed: "" + conffiberduplex: "fdx" + confcopperduplex: "" + actualspeed: "unknown" + actualduplex: "unknown" + l2portstate: "Disabled" + l2portmode: "untagged" + untaggedvlan: "1" + numtaggedvlans: "" + stpconfstate: "ON" + priority: "level0" + flowcontrolstate: "enabled" + priorityforcedstate: "disabled" + dropprecedencelevel: "0" + dropprecedenceforcestate: "disabled" + dhcpsnooptrust: "OFF" + mirrorstate: "disabled" + monitorstate: "disabled" + lacpbpduforward: "Disabled" + lldpbpduforward: "Disabled" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "9216" + encapsulation: "ethernet" + openflowopstate: "Disabled" + openflowindex: "102" + clusterl2protoforwarding: "enabled" + loadinterval: "300" + inputbitssec: "0" + inputpacketssec: "0" + inputpercentutilization: "0.00" + outputbitssec: "0" + outputpacketssec: "0" + outputpercentutilization: "0.00" + inputpacketstotal: "0" + inputbytestotal: "0" + inputnobuffers: "0" + inputbroadcasts: "0" + inputmulticasts: "0" + inputunicasts: "0" + inputerrors: "0" + inputcrcerrors: "0" + inputframeerrors: "0" + inputignorederrors: "0" + inputrunts: "0" + inputgiants: "0" + inputnpreceivedpackets: "0" + inputsenttotmpackets: "0" + inputnpingressdroppedpackets: "0" + outputpacketstotal: "0" + outputbytestotal: "0" + outputunderruns: "0" + outputbroadcasts: "0" + outputmulticasts: "0" + outputunicasts: "0" + outputerrors: "0" + outputcollisions: "0" + outputnptransmittedpackets: "0" + outputreceivedfromtmpackets: "0" + l3mtubytes: "" + ipaddress: "" + ipencapsulation: "" + - interface: "Ve1395" + intstate: "up" + protostate: "up" + stprootguard: "" + stpbpduguard: "" + hardwaretype: "Virtual Ethernet" + mac: "0024.38a5.1c00" + bia: "0024.38a5.1c00" + conffiberspeed: "" + confcopperspeed: "" + conffiberduplex: "" + confcopperduplex: "" + actualspeed: "" + actualduplex: "" + l2portstate: "" + l2portmode: "" + untaggedvlan: "1395" + numtaggedvlans: "" + stpconfstate: "" + priority: "" + flowcontrolstate: "" + priorityforcedstate: "" + dropprecedencelevel: "" + dropprecedenceforcestate: "" + dhcpsnooptrust: "" + mirrorstate: "" + monitorstate: "" + lacpbpduforward: "" + lldpbpduforward: "" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "TA5000A.CLMAMOXI-PON-VOICE " + l2mtubytes: "" + encapsulation: "" + openflowopstate: "" + openflowindex: "" + clusterl2protoforwarding: "" + loadinterval: "" + inputbitssec: "" + inputpacketssec: "" + inputpercentutilization: "" + outputbitssec: "" + outputpacketssec: "" + outputpercentutilization: "" + inputpacketstotal: "" + inputbytestotal: "" + inputnobuffers: "" + inputbroadcasts: "" + inputmulticasts: "" + inputunicasts: "" + inputerrors: "" + inputcrcerrors: "" + inputframeerrors: "" + inputignorederrors: "" + inputrunts: "" + inputgiants: "" + inputnpreceivedpackets: "" + inputsenttotmpackets: "" + inputnpingressdroppedpackets: "" + outputpacketstotal: "" + outputbytestotal: "" + outputunderruns: "" + outputbroadcasts: "" + outputmulticasts: "" + outputunicasts: "" + outputerrors: "" + outputcollisions: "" + outputnptransmittedpackets: "" + outputreceivedfromtmpackets: "" + l3mtubytes: "1500" + ipaddress: "172.24.18.1/24" + ipencapsulation: "ethernet" + - interface: "Ve1400" + intstate: "up" + protostate: "down" + stprootguard: "" + stpbpduguard: "" + hardwaretype: "Virtual Ethernet" + mac: "0024.38a5.1c00" + bia: "0024.38a5.1c00" + conffiberspeed: "" + confcopperspeed: "" + conffiberduplex: "" + confcopperduplex: "" + actualspeed: "" + actualduplex: "" + l2portstate: "" + l2portmode: "" + untaggedvlan: "1400" + numtaggedvlans: "" + stpconfstate: "" + priority: "" + flowcontrolstate: "" + priorityforcedstate: "" + dropprecedencelevel: "" + dropprecedenceforcestate: "" + dhcpsnooptrust: "" + mirrorstate: "" + monitorstate: "" + lacpbpduforward: "" + lldpbpduforward: "" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "" + encapsulation: "" + openflowopstate: "" + openflowindex: "" + clusterl2protoforwarding: "" + loadinterval: "" + inputbitssec: "" + inputpacketssec: "" + inputpercentutilization: "" + outputbitssec: "" + outputpacketssec: "" + outputpercentutilization: "" + inputpacketstotal: "" + inputbytestotal: "" + inputnobuffers: "" + inputbroadcasts: "" + inputmulticasts: "" + inputunicasts: "" + inputerrors: "" + inputcrcerrors: "" + inputframeerrors: "" + inputignorederrors: "" + inputrunts: "" + inputgiants: "" + inputnpreceivedpackets: "" + inputsenttotmpackets: "" + inputnpingressdroppedpackets: "" + outputpacketstotal: "" + outputbytestotal: "" + outputunderruns: "" + outputbroadcasts: "" + outputmulticasts: "" + outputunicasts: "" + outputerrors: "" + outputcollisions: "" + outputnptransmittedpackets: "" + outputreceivedfromtmpackets: "" + l3mtubytes: "1500" + ipaddress: "0.0.0.0/0" + ipencapsulation: "ethernet" + - interface: "Loopback1" + intstate: "up" + protostate: "up" + stprootguard: "" + stpbpduguard: "" + hardwaretype: "Loopback" + mac: "" + bia: "" + conffiberspeed: "" + confcopperspeed: "" + conffiberduplex: "" + confcopperduplex: "" + actualspeed: "" + actualduplex: "" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "" + priority: "" + flowcontrolstate: "" + priorityforcedstate: "" + dropprecedencelevel: "" + dropprecedenceforcestate: "" + dhcpsnooptrust: "" + mirrorstate: "" + monitorstate: "" + lacpbpduforward: "" + lldpbpduforward: "" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "MPLS Loopback" + l2mtubytes: "" + encapsulation: "" + openflowopstate: "" + openflowindex: "" + clusterl2protoforwarding: "" + loadinterval: "" + inputbitssec: "" + inputpacketssec: "" + inputpercentutilization: "" + outputbitssec: "" + outputpacketssec: "" + outputpercentutilization: "" + inputpacketstotal: "" + inputbytestotal: "" + inputnobuffers: "" + inputbroadcasts: "" + inputmulticasts: "" + inputunicasts: "" + inputerrors: "" + inputcrcerrors: "" + inputframeerrors: "" + inputignorederrors: "" + inputrunts: "" + inputgiants: "" + inputnpreceivedpackets: "" + inputsenttotmpackets: "" + inputnpingressdroppedpackets: "" + outputpacketstotal: "" + outputbytestotal: "" + outputunderruns: "" + outputbroadcasts: "" + outputmulticasts: "" + outputunicasts: "" + outputerrors: "" + outputcollisions: "" + outputnptransmittedpackets: "" + outputreceivedfromtmpackets: "" + l3mtubytes: "1500" + ipaddress: "174.34.31.29/32" + ipencapsulation: "LOOPBACK" + - interface: "Loopback6" + intstate: "up" + protostate: "up" + stprootguard: "" + stpbpduguard: "" + hardwaretype: "Loopback" + mac: "" + bia: "" + conffiberspeed: "" + confcopperspeed: "" + conffiberduplex: "" + confcopperduplex: "" + actualspeed: "" + actualduplex: "" + l2portstate: "" + l2portmode: "" + untaggedvlan: "" + numtaggedvlans: "" + stpconfstate: "" + priority: "" + flowcontrolstate: "" + priorityforcedstate: "" + dropprecedencelevel: "" + dropprecedenceforcestate: "" + dhcpsnooptrust: "" + mirrorstate: "" + monitorstate: "" + lacpbpduforward: "" + lldpbpduforward: "" + activelagports: "" + activelagrole: "" + activelagprimaryport: "" + conflagports: "" + conflagrole: "" + conflagprimaryport: "" + portname: "" + l2mtubytes: "" + encapsulation: "" + openflowopstate: "" + openflowindex: "" + clusterl2protoforwarding: "" + loadinterval: "" + inputbitssec: "" + inputpacketssec: "" + inputpercentutilization: "" + outputbitssec: "" + outputpacketssec: "" + outputpercentutilization: "" + inputpacketstotal: "" + inputbytestotal: "" + inputnobuffers: "" + inputbroadcasts: "" + inputmulticasts: "" + inputunicasts: "" + inputerrors: "" + inputcrcerrors: "" + inputframeerrors: "" + inputignorederrors: "" + inputrunts: "" + inputgiants: "" + inputnpreceivedpackets: "" + inputsenttotmpackets: "" + inputnpingressdroppedpackets: "" + outputpacketstotal: "" + outputbytestotal: "" + outputunderruns: "" + outputbroadcasts: "" + outputmulticasts: "" + outputunicasts: "" + outputerrors: "" + outputcollisions: "" + outputnptransmittedpackets: "" + outputreceivedfromtmpackets: "" + l3mtubytes: "1500" + ipaddress: "" + ipencapsulation: "LOOPBACK" diff --git a/tests/brocade_netiron/show_interfaces_brief/brocade_netiron_show_interfaces_brief.parsed b/tests/brocade_netiron/show_interfaces_brief/brocade_netiron_show_interfaces_brief.parsed deleted file mode 100644 index 1d768f921e..0000000000 --- a/tests/brocade_netiron/show_interfaces_brief/brocade_netiron_show_interfaces_brief.parsed +++ /dev/null @@ -1,124 +0,0 @@ ---- -parsed_sample: - -- interface: '1/1' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: 'None' - tagonly: 'Yes' - pvid: '' - priority: 'level0' - mac: '0024.38a5.1c00' - -- interface: '1/2' - linkstate: 'Disabled' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '' - priority: 'level0' - mac: '0024.38a5.1c01' - -- interface: '1/3' - linkstate: 'Disabled' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '' - priority: 'level0' - mac: '0024.38a5.1c02' - -- interface: '1/4' - linkstate: 'Up' - portstate: 'Forward' - duplex: 'Full' - speed: '1G' - trunkid: '5' - tagonly: 'Yes' - pvid: '' - priority: 'level0' - mac: '0024.38a5.1c00' - -- interface: '1/16' - linkstate: 'Down' - portstate: 'None' - duplex: 'None' - speed: 'None' - trunkid: 'None' - tagonly: 'No' - pvid: '' - priority: 'level0' - mac: '0024.38a5.1c00' - -- interface: 've2' - linkstate: 'Up' - portstate: 'N/A' - duplex: 'N/A' - speed: 'N/A' - trunkid: 'None' - tagonly: 'N/A' - pvid: '' - priority: 'N/A' - mac: '0024.38a5.1c00' - -- interface: 've10' - linkstate: 'Up' - portstate: 'N/A' - duplex: 'N/A' - speed: 'N/A' - trunkid: 'None' - tagonly: 'N/A' - pvid: '' - priority: 'N/A' - mac: '0024.38a5.1c00' - -- interface: 've144' - linkstate: 'Up' - portstate: 'N/A' - duplex: 'N/A' - speed: 'N/A' - trunkid: 'None' - tagonly: 'N/A' - pvid: '' - priority: 'N/A' - mac: '0024.38a5.1c00' - -- interface: 've145' - linkstate: 'Up' - portstate: 'N/A' - duplex: 'N/A' - speed: 'N/A' - trunkid: 'None' - tagonly: 'N/A' - pvid: '' - priority: 'N/A' - mac: '0024.38a5.1c00' - -- interface: 'lb1' - linkstate: 'Up' - portstate: 'N/A' - duplex: 'N/A' - speed: 'N/A' - trunkid: 'None' - tagonly: 'N/A' - pvid: '' - priority: 'N/A' - mac: 'N/A' - -- interface: 'lb6' - linkstate: 'Up' - portstate: 'N/A' - duplex: 'N/A' - speed: 'N/A' - trunkid: 'None' - tagonly: 'N/A' - pvid: '' - priority: 'N/A' - mac: 'N/A' - diff --git a/tests/brocade_netiron/show_interfaces_brief/brocade_netiron_show_interfaces_brief.yml b/tests/brocade_netiron/show_interfaces_brief/brocade_netiron_show_interfaces_brief.yml new file mode 100644 index 0000000000..aa5b428a4d --- /dev/null +++ b/tests/brocade_netiron/show_interfaces_brief/brocade_netiron_show_interfaces_brief.yml @@ -0,0 +1,112 @@ +--- +parsed_sample: + - interface: "1/1" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "None" + tagonly: "Yes" + pvid: "" + priority: "level0" + mac: "0024.38a5.1c00" + - interface: "1/2" + linkstate: "Disabled" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "" + priority: "level0" + mac: "0024.38a5.1c01" + - interface: "1/3" + linkstate: "Disabled" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "" + priority: "level0" + mac: "0024.38a5.1c02" + - interface: "1/4" + linkstate: "Up" + portstate: "Forward" + duplex: "Full" + speed: "1G" + trunkid: "5" + tagonly: "Yes" + pvid: "" + priority: "level0" + mac: "0024.38a5.1c00" + - interface: "1/16" + linkstate: "Down" + portstate: "None" + duplex: "None" + speed: "None" + trunkid: "None" + tagonly: "No" + pvid: "" + priority: "level0" + mac: "0024.38a5.1c00" + - interface: "ve2" + linkstate: "Up" + portstate: "N/A" + duplex: "N/A" + speed: "N/A" + trunkid: "None" + tagonly: "N/A" + pvid: "" + priority: "N/A" + mac: "0024.38a5.1c00" + - interface: "ve10" + linkstate: "Up" + portstate: "N/A" + duplex: "N/A" + speed: "N/A" + trunkid: "None" + tagonly: "N/A" + pvid: "" + priority: "N/A" + mac: "0024.38a5.1c00" + - interface: "ve144" + linkstate: "Up" + portstate: "N/A" + duplex: "N/A" + speed: "N/A" + trunkid: "None" + tagonly: "N/A" + pvid: "" + priority: "N/A" + mac: "0024.38a5.1c00" + - interface: "ve145" + linkstate: "Up" + portstate: "N/A" + duplex: "N/A" + speed: "N/A" + trunkid: "None" + tagonly: "N/A" + pvid: "" + priority: "N/A" + mac: "0024.38a5.1c00" + - interface: "lb1" + linkstate: "Up" + portstate: "N/A" + duplex: "N/A" + speed: "N/A" + trunkid: "None" + tagonly: "N/A" + pvid: "" + priority: "N/A" + mac: "N/A" + - interface: "lb6" + linkstate: "Up" + portstate: "N/A" + duplex: "N/A" + speed: "N/A" + trunkid: "None" + tagonly: "N/A" + pvid: "" + priority: "N/A" + mac: "N/A" diff --git a/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.parsed b/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.parsed deleted file mode 100644 index 7f9a7850b5..0000000000 --- a/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.parsed +++ /dev/null @@ -1,98 +0,0 @@ ---- -parsed_sample: - -- lagnameshort: 'Akamai Uplink ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '11' - primaryinterface: '1/13' - portlist: 'e 1/13 e 2/13' - portlistcont: '' - -- lagnameshort: 'CLMAMOFW-FLTNHT ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '7' - primaryinterface: '4/2' - portlist: 'e 3/2 e 4/2' - portlistcont: '' - -- lagnameshort: 'LAG5 ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '5' - primaryinterface: '3/3' - portlist: 'e 3/3 to 3/4' - portlistcont: '' - -- lagnameshort: 'LAG6 ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '6' - primaryinterface: '4/3' - portlist: 'e 4/3 to 4/4' - portlistcont: '' - -- lagnameshort: 'MLX-1a ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '4' - primaryinterface: '2/2' - portlist: 'e 2/2' - portlistcont: '' - -- lagnameshort: 'MLX-CLMAMOXE ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '3' - primaryinterface: '2/1' - portlist: 'e 2/1' - portlistcont: '' - -- lagnameshort: 'Switch1e.clmamofw ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '10' - primaryinterface: '1/5' - portlist: 'e 1/5 e 2/21' - portlistcont: '' - -- lagnameshort: 'fw1-inside ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '12' - primaryinterface: '1/24' - portlist: 'e 1/24 e 2/24' - portlistcont: '' - -- lagnameshort: 'fw1-outside ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '13' - primaryinterface: '1/10' - portlist: 'e 1/10 e 2/10' - portlistcont: '' - -- lagnameshort: 'speedtest ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '9' - primaryinterface: '2/23' - portlist: 'e 1/11 e 2/23' - portlistcont: '' - -- lagnameshort: 'switch1c-MLX-FW ' - lagtype: 'dynamic' - deployed: 'Y' - trunkid: '2' - primaryinterface: '1/1' - portlist: 'e 1/1' - portlistcont: '' - -- lagnameshort: 'videouplink ' - lagtype: 'static' - deployed: 'Y' - trunkid: '8' - primaryinterface: '2/15' - portlist: 'e 1/15 to 1/18 e 2/15 t' - portlistcont: 'o 2/18' diff --git a/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.yml b/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.yml new file mode 100644 index 0000000000..32e7282176 --- /dev/null +++ b/tests/brocade_netiron/show_lag_brief/brocade_netiron_show_lag_brief.yml @@ -0,0 +1,86 @@ +--- +parsed_sample: + - lagnameshort: "Akamai Uplink " + lagtype: "dynamic" + deployed: "Y" + trunkid: "11" + primaryinterface: "1/13" + portlist: "e 1/13 e 2/13" + portlistcont: "" + - lagnameshort: "CLMAMOFW-FLTNHT " + lagtype: "dynamic" + deployed: "Y" + trunkid: "7" + primaryinterface: "4/2" + portlist: "e 3/2 e 4/2" + portlistcont: "" + - lagnameshort: "LAG5 " + lagtype: "dynamic" + deployed: "Y" + trunkid: "5" + primaryinterface: "3/3" + portlist: "e 3/3 to 3/4" + portlistcont: "" + - lagnameshort: "LAG6 " + lagtype: "dynamic" + deployed: "Y" + trunkid: "6" + primaryinterface: "4/3" + portlist: "e 4/3 to 4/4" + portlistcont: "" + - lagnameshort: "MLX-1a " + lagtype: "dynamic" + deployed: "Y" + trunkid: "4" + primaryinterface: "2/2" + portlist: "e 2/2" + portlistcont: "" + - lagnameshort: "MLX-CLMAMOXE " + lagtype: "dynamic" + deployed: "Y" + trunkid: "3" + primaryinterface: "2/1" + portlist: "e 2/1" + portlistcont: "" + - lagnameshort: "Switch1e.clmamofw " + lagtype: "dynamic" + deployed: "Y" + trunkid: "10" + primaryinterface: "1/5" + portlist: "e 1/5 e 2/21" + portlistcont: "" + - lagnameshort: "fw1-inside " + lagtype: "dynamic" + deployed: "Y" + trunkid: "12" + primaryinterface: "1/24" + portlist: "e 1/24 e 2/24" + portlistcont: "" + - lagnameshort: "fw1-outside " + lagtype: "dynamic" + deployed: "Y" + trunkid: "13" + primaryinterface: "1/10" + portlist: "e 1/10 e 2/10" + portlistcont: "" + - lagnameshort: "speedtest " + lagtype: "dynamic" + deployed: "Y" + trunkid: "9" + primaryinterface: "2/23" + portlist: "e 1/11 e 2/23" + portlistcont: "" + - lagnameshort: "switch1c-MLX-FW " + lagtype: "dynamic" + deployed: "Y" + trunkid: "2" + primaryinterface: "1/1" + portlist: "e 1/1" + portlistcont: "" + - lagnameshort: "videouplink " + lagtype: "static" + deployed: "Y" + trunkid: "8" + primaryinterface: "2/15" + portlist: "e 1/15 to 1/18 e 2/15 t" + portlistcont: "o 2/18" diff --git a/tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.parsed b/tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.parsed deleted file mode 100644 index 7c1baf407e..0000000000 --- a/tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.parsed +++ /dev/null @@ -1,63 +0,0 @@ ---- -parsed_sample: - -- interface: '1/1' - neimac: '0012.f2f0.2377' - ttlsecs: '101' - neihostnametid: 'switch1d.clmamofw' - neiinterface: 'GigabitEthernet24' - neipvid: '1' - neimgmtip: '10.255.1.49' - neilacpindex: '0' - neimaxframesize: '10240' - neiopmau: '1000BaseT-FD' - neicapabilities: 'bridge' - -- interface: '1/5' - neimac: '001b.ed6b.6304' - ttlsecs: '97' - neihostnametid: 'switch1e.clmamofw' - neiinterface: 'GigabitEthernet5' - neipvid: 'none' - neimgmtip: '10.255.5.32' - neilacpindex: '5' - neimaxframesize: '10240' - neiopmau: '1000BaseT-FD' - neicapabilities: 'bridge' - -- interface: '1/6' - neimac: 'e8e7.32cd.b14e' - ttlsecs: '114' - neihostnametid: '' - neiinterface: '' - neipvid: '' - neimgmtip: '' - neilacpindex: '' - neimaxframesize: '' - neiopmau: '' - neicapabilities: '' - -- interface: '1/10' - neimac: '001b.edae.fe09' - ttlsecs: '106' - neihostnametid: 'fw1.clmamofw' - neiinterface: 'GigabitEthernet1/10' - neipvid: 'none' - neimgmtip: '216.106.21.252' - neilacpindex: '10' - neimaxframesize: '9216' - neiopmau: '1000BaseT-FD' - neicapabilities: 'bridge, router' - -- interface: '1/13' - neimac: '0026.f13c.85a9' - ttlsecs: '102' - neihostnametid: 'FEBE1.SOCKET-COU' - neiinterface: '23' - neipvid: '' - neimgmtip: '192.168.11.1' - neilacpindex: '' - neimaxframesize: '' - neiopmau: '1000BaseT-FD' - neicapabilities: 'bridge' - diff --git a/tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.yml b/tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.yml new file mode 100644 index 0000000000..bdc652e745 --- /dev/null +++ b/tests/brocade_netiron/show_lldp_neighbors_detail/brocade_netiron_show_lldp_neighbors_detail.yml @@ -0,0 +1,57 @@ +--- +parsed_sample: + - interface: "1/1" + neimac: "0012.f2f0.2377" + ttlsecs: "101" + neihostnametid: "switch1d.clmamofw" + neiinterface: "GigabitEthernet24" + neipvid: "1" + neimgmtip: "10.255.1.49" + neilacpindex: "0" + neimaxframesize: "10240" + neiopmau: "1000BaseT-FD" + neicapabilities: "bridge" + - interface: "1/5" + neimac: "001b.ed6b.6304" + ttlsecs: "97" + neihostnametid: "switch1e.clmamofw" + neiinterface: "GigabitEthernet5" + neipvid: "none" + neimgmtip: "10.255.5.32" + neilacpindex: "5" + neimaxframesize: "10240" + neiopmau: "1000BaseT-FD" + neicapabilities: "bridge" + - interface: "1/6" + neimac: "e8e7.32cd.b14e" + ttlsecs: "114" + neihostnametid: "" + neiinterface: "" + neipvid: "" + neimgmtip: "" + neilacpindex: "" + neimaxframesize: "" + neiopmau: "" + neicapabilities: "" + - interface: "1/10" + neimac: "001b.edae.fe09" + ttlsecs: "106" + neihostnametid: "fw1.clmamofw" + neiinterface: "GigabitEthernet1/10" + neipvid: "none" + neimgmtip: "216.106.21.252" + neilacpindex: "10" + neimaxframesize: "9216" + neiopmau: "1000BaseT-FD" + neicapabilities: "bridge, router" + - interface: "1/13" + neimac: "0026.f13c.85a9" + ttlsecs: "102" + neihostnametid: "FEBE1.SOCKET-COU" + neiinterface: "23" + neipvid: "" + neimgmtip: "192.168.11.1" + neilacpindex: "" + neimaxframesize: "" + neiopmau: "1000BaseT-FD" + neicapabilities: "bridge" diff --git a/tests/brocade_netiron/show_metro/brocade_netiron_show_metro.parsed b/tests/brocade_netiron/show_metro/brocade_netiron_show_metro.parsed deleted file mode 100644 index c2e3668d3f..0000000000 --- a/tests/brocade_netiron/show_metro/brocade_netiron_show_metro.parsed +++ /dev/null @@ -1,245 +0,0 @@ ---- -parsed_sample: - -- ringid: '10' - vlantype: 'REGULAR' - ringname: '' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '10' - topogroup: '10' - hellotime: '100' - prefwingtime: '300' - port1interface: '1/1' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'regular' - port2interface: '2/1' - port2role: 'secondary' - port2state: 'forwarding' - port2inttype: 'regular' - rhpssent: '10' - rhpsrecvd: '0' - tcrbpdusrecvd: '126' - statechanges: '0' - -- ringid: '14' - vlantype: 'REGULAR' - ringname: '' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '14' - topogroup: '14' - hellotime: '100' - prefwingtime: '300' - port1interface: '1/1' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'regular' - port2interface: '2/2' - port2role: 'secondary' - port2state: 'forwarding' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '0' - tcrbpdusrecvd: '0' - statechanges: '0' - -- ringid: '215' - vlantype: 'REGULAR' - ringname: 'CLMAMOFW-Backbone' - ringstate: 'enabled' - ringrole: 'master' - mastervlan: '215' - topogroup: '215' - hellotime: '100' - prefwingtime: '300' - port1interface: '4/3' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'regular' - port2interface: '3/3' - port2role: 'secondary' - port2state: 'blocking' - port2inttype: 'regular' - rhpssent: '18288470' - rhpsrecvd: '18195932' - tcrbpdusrecvd: '0' - statechanges: '259' - -- ringid: '13' - vlantype: 'REGULAR' - ringname: 'CLMAXA-FW-Telecom' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '513' - topogroup: '13' - hellotime: '100' - prefwingtime: '300' - port1interface: '3/3' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'regular' - port2interface: '4/3' - port2role: 'secondary' - port2state: 'forwarding' - port2inttype: 'regular' - rhpssent: '4' - rhpsrecvd: '0' - tcrbpdusrecvd: '16' - statechanges: '0' - -- ringid: '171' - vlantype: 'REGULAR' - ringname: 'CLMA-KSCY-STLS-10G-C' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '170' - topogroup: '170' - hellotime: '100' - prefwingtime: '300' - port1interface: '3/3' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'regular' - port2interface: '4/3' - port2role: 'secondary' - port2state: 'forwarding' - port2inttype: 'regular' - rhpssent: '4' - rhpsrecvd: '0' - tcrbpdusrecvd: '22' - statechanges: '0' - -- ringid: '175' - vlantype: 'REGULAR' - ringname: 'CLMAMO10G-to-FW' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '175' - topogroup: '175' - hellotime: '100' - prefwingtime: '300' - port1interface: '3/3' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'regular' - port2interface: '4/3' - port2role: 'secondary' - port2state: 'forwarding' - port2inttype: 'regular' - rhpssent: '4' - rhpsrecvd: '0' - tcrbpdusrecvd: '20' - statechanges: '0' - -- ringid: '176' - vlantype: 'REGULAR' - ringname: 'FW-to-CLMAMO10G' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '175' - topogroup: '175' - hellotime: '100' - prefwingtime: '300' - port1interface: '1/1' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'regular' - port2interface: '2/2' - port2role: 'secondary' - port2state: 'forwarding' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '0' - tcrbpdusrecvd: '3' - statechanges: '0' - -- ringid: '60' - vlantype: 'REGULAR' - ringname: '' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '60' - topogroup: '60' - hellotime: '100' - prefwingtime: '300' - port1interface: '3/3' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'tunnel' - port2interface: '4/3' - port2role: 'secondary' - port2state: 'forwarding' - port2inttype: 'tunnel' - rhpssent: '0' - rhpsrecvd: '0' - tcrbpdusrecvd: '9' - statechanges: '0' - -- ringid: '61' - vlantype: 'REGULAR' - ringname: '' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '60' - topogroup: '60' - hellotime: '100' - prefwingtime: '300' - port1interface: '4/3' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'tunnel' - port2interface: '4/2' - port2role: 'secondary' - port2state: 'forwarding' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '0' - tcrbpdusrecvd: '42' - statechanges: '0' - -- ringid: '63' - vlantype: 'REGULAR' - ringname: '' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '62' - topogroup: '62' - hellotime: '100' - prefwingtime: '300' - port1interface: '4/3' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'regular' - port2interface: '4/2' - port2role: 'secondary' - port2state: 'forwarding' - port2inttype: 'regular' - rhpssent: '0' - rhpsrecvd: '0' - tcrbpdusrecvd: '122' - statechanges: '0' - -- ringid: '58' - vlantype: 'REGULAR' - ringname: '' - ringstate: 'enabled' - ringrole: 'member' - mastervlan: '60' - topogroup: '60' - hellotime: '100' - prefwingtime: '300' - port1interface: '4/3' - port1role: 'primary' - port1state: 'forwarding' - port1inttype: 'regular' - port2interface: '3/3' - port2role: 'secondary' - port2state: 'forwarding' - port2inttype: 'regular' - rhpssent: '7' - rhpsrecvd: '0' - tcrbpdusrecvd: '0' - statechanges: '0' - diff --git a/tests/brocade_netiron/show_metro/brocade_netiron_show_metro.yml b/tests/brocade_netiron/show_metro/brocade_netiron_show_metro.yml new file mode 100644 index 0000000000..70970ca475 --- /dev/null +++ b/tests/brocade_netiron/show_metro/brocade_netiron_show_metro.yml @@ -0,0 +1,233 @@ +--- +parsed_sample: + - ringid: "10" + vlantype: "REGULAR" + ringname: "" + ringstate: "enabled" + ringrole: "member" + mastervlan: "10" + topogroup: "10" + hellotime: "100" + prefwingtime: "300" + port1interface: "1/1" + port1role: "primary" + port1state: "forwarding" + port1inttype: "regular" + port2interface: "2/1" + port2role: "secondary" + port2state: "forwarding" + port2inttype: "regular" + rhpssent: "10" + rhpsrecvd: "0" + tcrbpdusrecvd: "126" + statechanges: "0" + - ringid: "14" + vlantype: "REGULAR" + ringname: "" + ringstate: "enabled" + ringrole: "member" + mastervlan: "14" + topogroup: "14" + hellotime: "100" + prefwingtime: "300" + port1interface: "1/1" + port1role: "primary" + port1state: "forwarding" + port1inttype: "regular" + port2interface: "2/2" + port2role: "secondary" + port2state: "forwarding" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "0" + tcrbpdusrecvd: "0" + statechanges: "0" + - ringid: "215" + vlantype: "REGULAR" + ringname: "CLMAMOFW-Backbone" + ringstate: "enabled" + ringrole: "master" + mastervlan: "215" + topogroup: "215" + hellotime: "100" + prefwingtime: "300" + port1interface: "4/3" + port1role: "primary" + port1state: "forwarding" + port1inttype: "regular" + port2interface: "3/3" + port2role: "secondary" + port2state: "blocking" + port2inttype: "regular" + rhpssent: "18288470" + rhpsrecvd: "18195932" + tcrbpdusrecvd: "0" + statechanges: "259" + - ringid: "13" + vlantype: "REGULAR" + ringname: "CLMAXA-FW-Telecom" + ringstate: "enabled" + ringrole: "member" + mastervlan: "513" + topogroup: "13" + hellotime: "100" + prefwingtime: "300" + port1interface: "3/3" + port1role: "primary" + port1state: "forwarding" + port1inttype: "regular" + port2interface: "4/3" + port2role: "secondary" + port2state: "forwarding" + port2inttype: "regular" + rhpssent: "4" + rhpsrecvd: "0" + tcrbpdusrecvd: "16" + statechanges: "0" + - ringid: "171" + vlantype: "REGULAR" + ringname: "CLMA-KSCY-STLS-10G-C" + ringstate: "enabled" + ringrole: "member" + mastervlan: "170" + topogroup: "170" + hellotime: "100" + prefwingtime: "300" + port1interface: "3/3" + port1role: "primary" + port1state: "forwarding" + port1inttype: "regular" + port2interface: "4/3" + port2role: "secondary" + port2state: "forwarding" + port2inttype: "regular" + rhpssent: "4" + rhpsrecvd: "0" + tcrbpdusrecvd: "22" + statechanges: "0" + - ringid: "175" + vlantype: "REGULAR" + ringname: "CLMAMO10G-to-FW" + ringstate: "enabled" + ringrole: "member" + mastervlan: "175" + topogroup: "175" + hellotime: "100" + prefwingtime: "300" + port1interface: "3/3" + port1role: "primary" + port1state: "forwarding" + port1inttype: "regular" + port2interface: "4/3" + port2role: "secondary" + port2state: "forwarding" + port2inttype: "regular" + rhpssent: "4" + rhpsrecvd: "0" + tcrbpdusrecvd: "20" + statechanges: "0" + - ringid: "176" + vlantype: "REGULAR" + ringname: "FW-to-CLMAMO10G" + ringstate: "enabled" + ringrole: "member" + mastervlan: "175" + topogroup: "175" + hellotime: "100" + prefwingtime: "300" + port1interface: "1/1" + port1role: "primary" + port1state: "forwarding" + port1inttype: "regular" + port2interface: "2/2" + port2role: "secondary" + port2state: "forwarding" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "0" + tcrbpdusrecvd: "3" + statechanges: "0" + - ringid: "60" + vlantype: "REGULAR" + ringname: "" + ringstate: "enabled" + ringrole: "member" + mastervlan: "60" + topogroup: "60" + hellotime: "100" + prefwingtime: "300" + port1interface: "3/3" + port1role: "primary" + port1state: "forwarding" + port1inttype: "tunnel" + port2interface: "4/3" + port2role: "secondary" + port2state: "forwarding" + port2inttype: "tunnel" + rhpssent: "0" + rhpsrecvd: "0" + tcrbpdusrecvd: "9" + statechanges: "0" + - ringid: "61" + vlantype: "REGULAR" + ringname: "" + ringstate: "enabled" + ringrole: "member" + mastervlan: "60" + topogroup: "60" + hellotime: "100" + prefwingtime: "300" + port1interface: "4/3" + port1role: "primary" + port1state: "forwarding" + port1inttype: "tunnel" + port2interface: "4/2" + port2role: "secondary" + port2state: "forwarding" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "0" + tcrbpdusrecvd: "42" + statechanges: "0" + - ringid: "63" + vlantype: "REGULAR" + ringname: "" + ringstate: "enabled" + ringrole: "member" + mastervlan: "62" + topogroup: "62" + hellotime: "100" + prefwingtime: "300" + port1interface: "4/3" + port1role: "primary" + port1state: "forwarding" + port1inttype: "regular" + port2interface: "4/2" + port2role: "secondary" + port2state: "forwarding" + port2inttype: "regular" + rhpssent: "0" + rhpsrecvd: "0" + tcrbpdusrecvd: "122" + statechanges: "0" + - ringid: "58" + vlantype: "REGULAR" + ringname: "" + ringstate: "enabled" + ringrole: "member" + mastervlan: "60" + topogroup: "60" + hellotime: "100" + prefwingtime: "300" + port1interface: "4/3" + port1role: "primary" + port1state: "forwarding" + port1inttype: "regular" + port2interface: "3/3" + port2role: "secondary" + port2state: "forwarding" + port2inttype: "regular" + rhpssent: "7" + rhpsrecvd: "0" + tcrbpdusrecvd: "0" + statechanges: "0" diff --git a/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.parsed b/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.parsed deleted file mode 100644 index bb8ec57f4e..0000000000 --- a/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.parsed +++ /dev/null @@ -1,18 +0,0 @@ ---- -parsed_sample: - -- monitoredport: '1/10' - inputmirror: '1/13' - outputmirror: '1/13' - -- monitoredport: '1/11' - inputmirror: '1/13' - outputmirror: '1/13' - -- monitoredport: '2/10' - inputmirror: '1/13' - outputmirror: '1/13' - -- monitoredport: '2/11' - inputmirror: '1/13' - outputmirror: '1/13' diff --git a/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.yml b/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.yml new file mode 100644 index 0000000000..93948fb593 --- /dev/null +++ b/tests/brocade_netiron/show_monitor_actual/brocade_netiron_show_monitor.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - monitoredport: "1/10" + inputmirror: "1/13" + outputmirror: "1/13" + - monitoredport: "1/11" + inputmirror: "1/13" + outputmirror: "1/13" + - monitoredport: "2/10" + inputmirror: "1/13" + outputmirror: "1/13" + - monitoredport: "2/11" + inputmirror: "1/13" + outputmirror: "1/13" diff --git a/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.parsed b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.parsed deleted file mode 100644 index d1e221aef5..0000000000 --- a/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.parsed +++ /dev/null @@ -1,26 +0,0 @@ ---- -parsed_sample: - -- interface_type: 've' - interface: '1390' - portname: 'TA5000A.CLMAMOXI-VoIP' - qostostrust: 'ip-prec' - qostosmark: '' - ospfarea: '' - ospfpassive: '' - ospfcost: '' - vrf: 'SocketVoIP' - ippimsparse: '' - iprouterisis: '' - isismetric: '' - iphelpers: ['10.154.0.180', '10.154.0.181'] - ipredirect: 'no' - ip_addr: ['10.192.0.129', '10.192.4.1'] - ip_addr_cidr: ['27', '24'] - ip_addr_vrrpe: [] - ipv6_addr: [] - ipv6_addr_cidr: [] - admin_state: "" - acl_in: "" - acl_out: "" - vrid: [] diff --git a/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.yml b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.yml new file mode 100644 index 0000000000..84d81bd558 --- /dev/null +++ b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface.yml @@ -0,0 +1,31 @@ +--- +parsed_sample: + - interface_type: "ve" + interface: "1390" + portname: "TA5000A.CLMAMOXI-VoIP" + qostostrust: "ip-prec" + qostosmark: "" + ospfarea: "" + ospfpassive: "" + ospfcost: "" + vrf: "SocketVoIP" + ippimsparse: "" + iprouterisis: "" + isismetric: "" + iphelpers: + - "10.154.0.180" + - "10.154.0.181" + ipredirect: "no" + ip_addr: + - "10.192.0.129" + - "10.192.4.1" + ip_addr_cidr: + - "27" + - "24" + ip_addr_vrrpe: [] + ipv6_addr: [] + ipv6_addr_cidr: [] + admin_state: "" + acl_in: "" + acl_out: "" + vrid: [] diff --git a/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.parsed b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.parsed deleted file mode 100644 index 0fffa711d2..0000000000 --- a/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.parsed +++ /dev/null @@ -1,50 +0,0 @@ ---- -parsed_sample: - -- acl_in: '' - acl_out: '' - admin_state: 'disable' - interface: '2801' - interface_type: 've' - ip_addr: ['10.92.176.219', '10.92.191.67', '10.201.214.35', '10.231.184.211', '10.251.229.83'] - ip_addr_cidr: ['29', '26', '28', '28', '28'] - ip_addr_vrrpe: ['10.92.176.217', '10.251.229.81', '10.231.184.209', '10.201.214.33', '10.92.191.65', '2001:2aaf:14:8::1'] - iphelpers: ['10.0.113.10', '10.0.113.20'] - ippimsparse: '' - ipredirect: '' - iprouterisis: '' - ipv6_addr: ['2001:2aaf:14:8::3'] - ipv6_addr_cidr: ['120'] - isismetric: '' - ospfarea: '' - ospfcost: '' - ospfpassive: '' - portname: '' - qostosmark: '' - qostostrust: '' - vrf: '' - vrid: ['1', '2', '3', '4', '5', '6'] - -- acl_in: '' - acl_out: '' - admin_state: '' - interface: '2802' - interface_type: 've' - ip_addr: [] - ip_addr_cidr: [] - ip_addr_vrrpe: [] - iphelpers: [] - ippimsparse: '' - ipredirect: '' - iprouterisis: '' - ipv6_addr: [] - ipv6_addr_cidr: [] - isismetric: '' - ospfarea: '' - ospfcost: '' - ospfpassive: '' - portname: '' - qostosmark: '' - qostostrust: '' - vrf: '' - vrid: [] diff --git a/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.yml b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.yml new file mode 100644 index 0000000000..63b6ae10df --- /dev/null +++ b/tests/brocade_netiron/show_running-config_interface/brocade_netiron_show_running-config_interface2.yml @@ -0,0 +1,74 @@ +--- +parsed_sample: + - acl_in: "" + acl_out: "" + admin_state: "disable" + interface: "2801" + interface_type: "ve" + ip_addr: + - "10.92.176.219" + - "10.92.191.67" + - "10.201.214.35" + - "10.231.184.211" + - "10.251.229.83" + ip_addr_cidr: + - "29" + - "26" + - "28" + - "28" + - "28" + ip_addr_vrrpe: + - "10.92.176.217" + - "10.251.229.81" + - "10.231.184.209" + - "10.201.214.33" + - "10.92.191.65" + - "2001:2aaf:14:8::1" + iphelpers: + - "10.0.113.10" + - "10.0.113.20" + ippimsparse: "" + ipredirect: "" + iprouterisis: "" + ipv6_addr: + - "2001:2aaf:14:8::3" + ipv6_addr_cidr: + - "120" + isismetric: "" + ospfarea: "" + ospfcost: "" + ospfpassive: "" + portname: "" + qostosmark: "" + qostostrust: "" + vrf: "" + vrid: + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - acl_in: "" + acl_out: "" + admin_state: "" + interface: "2802" + interface_type: "ve" + ip_addr: [] + ip_addr_cidr: [] + ip_addr_vrrpe: [] + iphelpers: [] + ippimsparse: "" + ipredirect: "" + iprouterisis: "" + ipv6_addr: [] + ipv6_addr_cidr: [] + isismetric: "" + ospfarea: "" + ospfcost: "" + ospfpassive: "" + portname: "" + qostosmark: "" + qostostrust: "" + vrf: "" + vrid: [] diff --git a/tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.parsed b/tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.parsed deleted file mode 100644 index 8c07e406b5..0000000000 --- a/tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.parsed +++ /dev/null @@ -1,543 +0,0 @@ ---- -parsed_sample: - -- vlanid: '1' - vlanname: 'DEFAULT-VLAN ' - untaggedports: '' - taggedports: '' - associatedve: '' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '2' - vlanname: '' - untaggedports: '' - taggedports: 'e 1/1 e 1/6 e 1/17 e 2/1 e 2/6 e 2/17 ' - associatedve: '2' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '10' - vlanname: 'CLMAMO-RING-1 ' - untaggedports: 'e 1/14 ' - taggedports: 'e 1/1 e 1/4 e 1/7 e 2/1 e 2/4 e 2/7 e 3/2 e 3/4 e 4/2 e 4/4 ' - associatedve: '10' - metroid1: '10' - metrointerfaces1: 'ethe 1/4 ethe 2/4' - metroconfenable1: 'enable' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '11' - vlanname: 'CLMAMOXA-JFCYMOXA-RING ' - untaggedports: '' - taggedports: 'e 1/5 e 2/5 ' - associatedve: '' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '14' - vlanname: 'CLMAMOXA-RING ' - untaggedports: '' - taggedports: 'e 1/4 e 1/7 e 2/4 e 2/7 ' - associatedve: '' - metroid1: '14' - metrointerfaces1: 'ethe 2/4 ethe 1/4' - metroconfenable1: 'enable' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '22' - vlanname: 'KMIZ ' - untaggedports: '' - taggedports: 'e 1/8 e 2/8 e 3/2 e 3/4 e 4/2 ' - associatedve: '' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '60' - vlanname: 'CLMA-JFCY-FLTN' - untaggedports: '' - taggedports: 'e 3/1 e 3/3 e 3/5 e 4/1 e 4/3 ' - associatedve: '' - metroid1: '60' - metrointerfaces1: 'ethe 3/1 ethe 4/1' - metroconfenable1: 'enable' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '58' - metrointerfaces2: 'ethe 4/1 ethe 3/5' - metroconfenable2: 'enable' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '94' - vlanname: 'HermannHospital' - untaggedports: '' - taggedports: 'e 1/12 e 2/12 e 2/15 e 3/1 e 3/3 to 3/4 e 4/1 e 4/3 ' - associatedve: '' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '100' - vlanname: '' - untaggedports: '' - taggedports: 'e 3/1 e 3/3 e 4/1 e 4/3 ' - associatedve: '' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '144' - vlanname: 'VOIPstate-External ' - untaggedports: '' - taggedports: 'e 3/1 e 3/3 e 4/1 e 4/3 ' - associatedve: '144' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '145' - vlanname: 'VOIPstate-Internal ' - untaggedports: '' - taggedports: 'e 3/1 e 3/3 e 4/1 e 4/3 ' - associatedve: '145' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '146' - vlanname: 'LabSBC-External ' - untaggedports: '' - taggedports: 'e 1/4 e 1/7 e 2/4 e 2/7 ' - associatedve: '146' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '149' - vlanname: 'SBC-External ' - untaggedports: '' - taggedports: 'e 1/4 e 1/7 e 2/4 e 2/7 ' - associatedve: '149' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '151' - vlanname: 'LabSBC-internal ' - untaggedports: '' - taggedports: 'e 1/4 e 1/7 e 2/4 e 2/7 ' - associatedve: '151' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '152' - vlanname: 'SBC-Inside ' - untaggedports: '' - taggedports: 'e 1/4 e 1/7 e 2/4 e 2/7 ' - associatedve: '152' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '154' - vlanname: 'SocketVoIP-Svr ' - untaggedports: '' - taggedports: 'e 1/4 e 1/7 e 2/4 e 2/7 ' - associatedve: '154' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '156' - vlanname: 'VoIP-Signaling ' - untaggedports: 'e 1/11 e 2/11 ' - taggedports: 'e 1/6 e 1/17 e 2/6 e 2/17 ' - associatedve: '156' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - -- vlanid: '158' - vlanname: 'VoIP-Bearer ' - untaggedports: 'e 1/10 e 2/10 ' - taggedports: '' - associatedve: '158' - metroid1: '' - metrointerfaces1: '' - metroconfenable1: '' - metroconfmaster1: '' - metroconfdiag1: '' - metroname1: '' - metroid2: '' - metrointerfaces2: '' - metroconfenable2: '' - metroconfmaster2: '' - metroconfdiag2: '' - metroname2: '' - metroid3: '' - metrointerfaces3: '' - metroconfenable3: '' - metroconfmaster3: '' - metroconfdiag3: '' - metroname3: '' - metroid4: '' - metrointerfaces4: '' - metroconfenable4: '' - metroconfmaster4: '' - metroconfdiag4: '' - metroname4: '' - diff --git a/tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.yml b/tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.yml new file mode 100644 index 0000000000..d0e2d7e30e --- /dev/null +++ b/tests/brocade_netiron/show_running-config_vlan/brocade_netiron_show_running-config_vlan.yml @@ -0,0 +1,524 @@ +--- +parsed_sample: + - vlanid: "1" + vlanname: "DEFAULT-VLAN " + untaggedports: "" + taggedports: "" + associatedve: "" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "2" + vlanname: "" + untaggedports: "" + taggedports: "e 1/1 e 1/6 e 1/17 e 2/1 e 2/6 e 2/17 " + associatedve: "2" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "10" + vlanname: "CLMAMO-RING-1 " + untaggedports: "e 1/14 " + taggedports: "e 1/1 e 1/4 e 1/7 e 2/1 e 2/4 e 2/7 e 3/2 e 3/4 e 4/2 e 4/4 " + associatedve: "10" + metroid1: "10" + metrointerfaces1: "ethe 1/4 ethe 2/4" + metroconfenable1: "enable" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "11" + vlanname: "CLMAMOXA-JFCYMOXA-RING " + untaggedports: "" + taggedports: "e 1/5 e 2/5 " + associatedve: "" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "14" + vlanname: "CLMAMOXA-RING " + untaggedports: "" + taggedports: "e 1/4 e 1/7 e 2/4 e 2/7 " + associatedve: "" + metroid1: "14" + metrointerfaces1: "ethe 2/4 ethe 1/4" + metroconfenable1: "enable" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "22" + vlanname: "KMIZ " + untaggedports: "" + taggedports: "e 1/8 e 2/8 e 3/2 e 3/4 e 4/2 " + associatedve: "" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "60" + vlanname: "CLMA-JFCY-FLTN" + untaggedports: "" + taggedports: "e 3/1 e 3/3 e 3/5 e 4/1 e 4/3 " + associatedve: "" + metroid1: "60" + metrointerfaces1: "ethe 3/1 ethe 4/1" + metroconfenable1: "enable" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "58" + metrointerfaces2: "ethe 4/1 ethe 3/5" + metroconfenable2: "enable" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "94" + vlanname: "HermannHospital" + untaggedports: "" + taggedports: "e 1/12 e 2/12 e 2/15 e 3/1 e 3/3 to 3/4 e 4/1 e 4/3 " + associatedve: "" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "100" + vlanname: "" + untaggedports: "" + taggedports: "e 3/1 e 3/3 e 4/1 e 4/3 " + associatedve: "" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "144" + vlanname: "VOIPstate-External " + untaggedports: "" + taggedports: "e 3/1 e 3/3 e 4/1 e 4/3 " + associatedve: "144" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "145" + vlanname: "VOIPstate-Internal " + untaggedports: "" + taggedports: "e 3/1 e 3/3 e 4/1 e 4/3 " + associatedve: "145" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "146" + vlanname: "LabSBC-External " + untaggedports: "" + taggedports: "e 1/4 e 1/7 e 2/4 e 2/7 " + associatedve: "146" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "149" + vlanname: "SBC-External " + untaggedports: "" + taggedports: "e 1/4 e 1/7 e 2/4 e 2/7 " + associatedve: "149" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "151" + vlanname: "LabSBC-internal " + untaggedports: "" + taggedports: "e 1/4 e 1/7 e 2/4 e 2/7 " + associatedve: "151" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "152" + vlanname: "SBC-Inside " + untaggedports: "" + taggedports: "e 1/4 e 1/7 e 2/4 e 2/7 " + associatedve: "152" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "154" + vlanname: "SocketVoIP-Svr " + untaggedports: "" + taggedports: "e 1/4 e 1/7 e 2/4 e 2/7 " + associatedve: "154" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "156" + vlanname: "VoIP-Signaling " + untaggedports: "e 1/11 e 2/11 " + taggedports: "e 1/6 e 1/17 e 2/6 e 2/17 " + associatedve: "156" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" + - vlanid: "158" + vlanname: "VoIP-Bearer " + untaggedports: "e 1/10 e 2/10 " + taggedports: "" + associatedve: "158" + metroid1: "" + metrointerfaces1: "" + metroconfenable1: "" + metroconfmaster1: "" + metroconfdiag1: "" + metroname1: "" + metroid2: "" + metrointerfaces2: "" + metroconfenable2: "" + metroconfmaster2: "" + metroconfdiag2: "" + metroname2: "" + metroid3: "" + metrointerfaces3: "" + metroconfenable3: "" + metroconfmaster3: "" + metroconfdiag3: "" + metroname3: "" + metroid4: "" + metrointerfaces4: "" + metroconfenable4: "" + metroconfmaster4: "" + metroconfdiag4: "" + metroname4: "" diff --git a/tests/brocade_netiron/show_span/brocade_netiron_show_span.parsed b/tests/brocade_netiron/show_span/brocade_netiron_show_span.parsed deleted file mode 100644 index ef89451405..0000000000 --- a/tests/brocade_netiron/show_span/brocade_netiron_show_span.parsed +++ /dev/null @@ -1,21 +0,0 @@ ---- -parsed_sample: - -- mastervlan: '2' - instance: '0' - bridgeid: '8000002438a51c00' - bridgemaxage: '20' - bridgehello: '2' - bridgefwddly: '15' - holdtime: '1' - lasttopochange: '2456092' - topochangecount: '8' - rootbridgeid: '8000002438a51c00' - rootpathcost: '0' - designatedbridgeid: '8000002438a51c00' - rootport: 'Root' - rbmaxage: '20' - rbhello: '2' - rbfwddly: '15' - portstates: '' - diff --git a/tests/brocade_netiron/show_span/brocade_netiron_show_span.yml b/tests/brocade_netiron/show_span/brocade_netiron_show_span.yml new file mode 100644 index 0000000000..c5d8a055ad --- /dev/null +++ b/tests/brocade_netiron/show_span/brocade_netiron_show_span.yml @@ -0,0 +1,19 @@ +--- +parsed_sample: + - mastervlan: "2" + instance: "0" + bridgeid: "8000002438a51c00" + bridgemaxage: "20" + bridgehello: "2" + bridgefwddly: "15" + holdtime: "1" + lasttopochange: "2456092" + topochangecount: "8" + rootbridgeid: "8000002438a51c00" + rootpathcost: "0" + designatedbridgeid: "8000002438a51c00" + rootport: "Root" + rbmaxage: "20" + rbhello: "2" + rbfwddly: "15" + portstates: "" diff --git a/tests/brocade_netiron/show_topo/brocade_netiron_show_topo.parsed b/tests/brocade_netiron/show_topo/brocade_netiron_show_topo.parsed deleted file mode 100644 index e4acce3928..0000000000 --- a/tests/brocade_netiron/show_topo/brocade_netiron_show_topo.parsed +++ /dev/null @@ -1,63 +0,0 @@ ---- -parsed_sample: - -- topogroup: '10' - topohwindex: '2' - mastervlan: '10' - l2proto: 'MRP' - vplsvlanpresent: 'FALSE' - membervlans: '146 149 151 to 152 154 200 300 to 303 350 400 453 1280 to 1283 1295 1335 1395 2005 2022 2024 2030 2033 2035 2039 2049 to 2050 2054 2069 to 2070 2086 2091 to 2092 2096 to 2097 2099 to 2100 2129 2184 2188 to 2189 2204 2215 2226 2241 to 2242 2250 2253 2277 2325 to 2326 2340 2342 2349 to 2351 2360 2367 2414 to 2415 2442 2895 3008 3840 4001 ' - membergroup: 'None' - controlports: 'e 1/4 e 1/7 e 2/4 e 2/7 ' - freeports: '' - -- topogroup: '11' - topohwindex: '65535' - mastervlan: '11' - l2proto: '' - vplsvlanpresent: 'FALSE' - membervlans: '201 501 1400 ' - membergroup: 'None ' - controlports: '' - freeports: '' - -- topogroup: '13' - topohwindex: '8' - mastervlan: '513' - l2proto: 'MRP' - vplsvlanpresent: 'FALSE' - membervlans: '94 207 223 to 224 280 to 282 290 310 to 311 320 to 321 330 to 331 340 345 355 360 365 375 380 385 390 401 517 to 518 619 623 999 1290 1345 1355 to 1356 1380 1385 1390 2004 2006 2011 2018 2043 2045 to 2046 2058 to 2059 2063 to 2065 2072 2075 2102 2104 to 2107 2133 2137 2173 2180 to 2181 2190 2195 2197 2199 to 2200 2235 2257 2261 2265 2267 2270 to 2272 2274 2278 2282 2284 to 2287 2293 to 2296 2298 2301 to 2302 2305 to 2306 2314 to 2317 2320 2323 to 2324 2329 2332 2343 to 2345 2352 to 2353 2355 2357 2359 2362 to 2363 2366 2368 to 2369 2372 2374 to 2376 2379 2381 2384 2386 to 2387 2393 2395 2399 to 2401 2403 2408 2412 2416 2418 to 2420 2435 to 2440 2443 to 2446 2449 to 2451 2453 to 2456 2460 2466 to 2470 2472 2475 2483 2571 2575 to 2576 2718 2766 3004 3006 to 3007 ' - membergroup: 'None' - controlports: 'e 3/1 e 3/3 e 4/1 e 4/3 ' - freeports: '' - -- topogroup: '14' - topohwindex: '3' - mastervlan: '14' - l2proto: 'MRP' - vplsvlanpresent: 'FALSE' - membervlans: '370 1370 2025 2031 2057 2134 2138 2210 2256 2263 2356 2404 2506 2896 ' - membergroup: 'None' - controlports: 'e 1/4 e 1/7 e 2/4 e 2/7 ' - freeports: '' - -- topogroup: '60' - topohwindex: '7' - mastervlan: '60' - l2proto: 'MRP' - vplsvlanpresent: 'FALSE' - membervlans: '2371 ' - membergroup: 'None' - controlports: 'e 3/1 e 3/3 e 3/5 e 4/1 e 4/3 ' - freeports: '' - -- topogroup: '170' - topohwindex: '4' - mastervlan: '170' - l2proto: 'MRP' - vplsvlanpresent: 'FALSE' - membervlans: '144 to 145 220 454 2040 2191 2422 2459 ' - membergroup: 'None' - controlports: 'e 3/1 e 3/3 e 4/1 e 4/3 ' - freeports: '' - diff --git a/tests/brocade_netiron/show_topo/brocade_netiron_show_topo.yml b/tests/brocade_netiron/show_topo/brocade_netiron_show_topo.yml new file mode 100644 index 0000000000..2d87561654 --- /dev/null +++ b/tests/brocade_netiron/show_topo/brocade_netiron_show_topo.yml @@ -0,0 +1,71 @@ +--- +parsed_sample: + - topogroup: "10" + topohwindex: "2" + mastervlan: "10" + l2proto: "MRP" + vplsvlanpresent: "FALSE" + membervlans: "146 149 151 to 152 154 200 300 to 303 350 400 453 1280 to 1283 1295\ + \ 1335 1395 2005 2022 2024 2030 2033 2035 2039 2049 to 2050 2054 2069 to 2070\ + \ 2086 2091 to 2092 2096 to 2097 2099 to 2100 2129 2184 2188 to 2189 2204 2215\ + \ 2226 2241 to 2242 2250 2253 2277 2325 to 2326 2340 2342 2349 to 2351 2360\ + \ 2367 2414 to 2415 2442 2895 3008 3840 4001 " + membergroup: "None" + controlports: "e 1/4 e 1/7 e 2/4 e 2/7 " + freeports: "" + - topogroup: "11" + topohwindex: "65535" + mastervlan: "11" + l2proto: "" + vplsvlanpresent: "FALSE" + membervlans: "201 501 1400 " + membergroup: "None " + controlports: "" + freeports: "" + - topogroup: "13" + topohwindex: "8" + mastervlan: "513" + l2proto: "MRP" + vplsvlanpresent: "FALSE" + membervlans: "94 207 223 to 224 280 to 282 290 310 to 311 320 to 321 330 to 331\ + \ 340 345 355 360 365 375 380 385 390 401 517 to 518 619 623 999 1290 1345 1355\ + \ to 1356 1380 1385 1390 2004 2006 2011 2018 2043 2045 to 2046 2058 to 2059\ + \ 2063 to 2065 2072 2075 2102 2104 to 2107 2133 2137 2173 2180 to 2181 2190\ + \ 2195 2197 2199 to 2200 2235 2257 2261 2265 2267 2270 to 2272 2274 2278 2282\ + \ 2284 to 2287 2293 to 2296 2298 2301 to 2302 2305 to 2306 2314 to 2317 2320\ + \ 2323 to 2324 2329 2332 2343 to 2345 2352 to 2353 2355 2357 2359 2362 to 2363\ + \ 2366 2368 to 2369 2372 2374 to 2376 2379 2381 2384 2386 to 2387 2393 2395\ + \ 2399 to 2401 2403 2408 2412 2416 2418 to 2420 2435 to 2440 2443 to 2446 2449\ + \ to 2451 2453 to 2456 2460 2466 to 2470 2472 2475 2483 2571 2575 to 2576 2718\ + \ 2766 3004 3006 to 3007 " + membergroup: "None" + controlports: "e 3/1 e 3/3 e 4/1 e 4/3 " + freeports: "" + - topogroup: "14" + topohwindex: "3" + mastervlan: "14" + l2proto: "MRP" + vplsvlanpresent: "FALSE" + membervlans: "370 1370 2025 2031 2057 2134 2138 2210 2256 2263 2356 2404 2506\ + \ 2896 " + membergroup: "None" + controlports: "e 1/4 e 1/7 e 2/4 e 2/7 " + freeports: "" + - topogroup: "60" + topohwindex: "7" + mastervlan: "60" + l2proto: "MRP" + vplsvlanpresent: "FALSE" + membervlans: "2371 " + membergroup: "None" + controlports: "e 3/1 e 3/3 e 3/5 e 4/1 e 4/3 " + freeports: "" + - topogroup: "170" + topohwindex: "4" + mastervlan: "170" + l2proto: "MRP" + vplsvlanpresent: "FALSE" + membervlans: "144 to 145 220 454 2040 2191 2422 2459 " + membergroup: "None" + controlports: "e 3/1 e 3/3 e 4/1 e 4/3 " + freeports: "" diff --git a/tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.parsed b/tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.parsed deleted file mode 100644 index 6a9a88973a..0000000000 --- a/tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.parsed +++ /dev/null @@ -1,5 +0,0 @@ ---- -parsed_sample: - -- policy: 'Example-Policy' - policy_install_date: '19Oct2017 16:34:20' diff --git a/tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.yml b/tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.yml new file mode 100644 index 0000000000..44e149fd3a --- /dev/null +++ b/tests/checkpoint_gaia/fw_stat/checkpoint_gaia_fw_stat.yml @@ -0,0 +1,4 @@ +--- +parsed_sample: + - policy: "Example-Policy" + policy_install_date: "19Oct2017 16:34:20" diff --git a/tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.parsed b/tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.parsed deleted file mode 100644 index e8f9114a6f..0000000000 --- a/tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.parsed +++ /dev/null @@ -1,6 +0,0 @@ ---- -parsed_sample: - -- platform: 'T-180-00' - model: 'Check Point 4800' - serial: '0000000000' diff --git a/tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.yml b/tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.yml new file mode 100644 index 0000000000..c1dd8b6458 --- /dev/null +++ b/tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.yml @@ -0,0 +1,5 @@ +--- +parsed_sample: + - platform: "T-180-00" + model: "Check Point 4800" + serial: "0000000000" diff --git a/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.parsed b/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.parsed deleted file mode 100644 index 65a8040312..0000000000 --- a/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.parsed +++ /dev/null @@ -1,8 +0,0 @@ ---- -parsed_sample: - -- domain: 'test.com' - dns_servers: - - '1.1.1.1' - - '2.2.2.2' - diff --git a/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.yml b/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.yml new file mode 100644 index 0000000000..68207e7398 --- /dev/null +++ b/tests/checkpoint_gaia/show_dns/checkpoint_gaia_show_dns.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - domain: "test.com" + dns_servers: + - "1.1.1.1" + - "2.2.2.2" diff --git a/tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.parsed b/tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.parsed deleted file mode 100644 index aefc3db259..0000000000 --- a/tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.parsed +++ /dev/null @@ -1,4 +0,0 @@ ---- -parsed_sample: - -- domainname: 'example.com' diff --git a/tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.yml b/tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.yml new file mode 100644 index 0000000000..6e87b921f8 --- /dev/null +++ b/tests/checkpoint_gaia/show_domainname/checkpoint_gaia_show_domainname.yml @@ -0,0 +1,3 @@ +--- +parsed_sample: + - domainname: "example.com" diff --git a/tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.parsed b/tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.parsed deleted file mode 100644 index 094f48132f..0000000000 --- a/tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.parsed +++ /dev/null @@ -1,44 +0,0 @@ ---- -parsed_sample: - -- interface: 'Mgmt' - state: 'on' - comment: '' - mac: '00:1c:7f:00:11:22' - type: 'ethernet' - link_state: 'link up' - mtu: '1500' - autoneg: 'on' - speed: '1000M' - ipv4_address: '192.168.1.1/24' - ipv6_ll_address: 'fe80::21c:7fff:fe00:1122' - ipv6_ll_mask: '64' - ipv6_address: '' - -- interface: 'eth1-01' - state: 'on' - comment: '' - mac: '00:1c:7f:00:11:23' - type: 'ethernet' - link_state: 'link up' - mtu: '1500' - autoneg: 'on' - speed: '1000M' - ipv4_address: '' - ipv6_ll_address: 'fe80::21c:7fff:fe00:1123' - ipv6_ll_mask: '64' - ipv6_address: '' - -- interface: 'eth1-01.264' - state: 'on' - comment: 'This-is-a-comment' - mac: '00:1c:7f:00:11:23' - type: 'vlan' - link_state: 'not available' - mtu: '1500' - autoneg: 'on (eth1-01)' - speed: '1000M (eth1-01)' - ipv4_address: '10.10.10.0/29' - ipv6_address: '' - ipv6_ll_address: 'fe80::21c:7fff:fe00:1123' - ipv6_ll_mask: '64' diff --git a/tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.yml b/tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.yml new file mode 100644 index 0000000000..0f26851a0e --- /dev/null +++ b/tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all.yml @@ -0,0 +1,41 @@ +--- +parsed_sample: + - interface: "Mgmt" + state: "on" + comment: "" + mac: "00:1c:7f:00:11:22" + type: "ethernet" + link_state: "link up" + mtu: "1500" + autoneg: "on" + speed: "1000M" + ipv4_address: "192.168.1.1/24" + ipv6_ll_address: "fe80::21c:7fff:fe00:1122" + ipv6_ll_mask: "64" + ipv6_address: "" + - interface: "eth1-01" + state: "on" + comment: "" + mac: "00:1c:7f:00:11:23" + type: "ethernet" + link_state: "link up" + mtu: "1500" + autoneg: "on" + speed: "1000M" + ipv4_address: "" + ipv6_ll_address: "fe80::21c:7fff:fe00:1123" + ipv6_ll_mask: "64" + ipv6_address: "" + - interface: "eth1-01.264" + state: "on" + comment: "This-is-a-comment" + mac: "00:1c:7f:00:11:23" + type: "vlan" + link_state: "not available" + mtu: "1500" + autoneg: "on (eth1-01)" + speed: "1000M (eth1-01)" + ipv4_address: "10.10.10.0/29" + ipv6_address: "" + ipv6_ll_address: "fe80::21c:7fff:fe00:1123" + ipv6_ll_mask: "64" diff --git a/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.parsed b/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.parsed deleted file mode 100644 index 7f8e867455..0000000000 --- a/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.parsed +++ /dev/null @@ -1,23 +0,0 @@ ---- -parsed_sample: - -- protocol: 'C' - network: '::1' - mask: '128' - nexthopip: '' - interface: 'lo' - comment: '' - -- protocol: 'C' - network: '2001:db8:a::' - nexthopip: '' - mask: '64' - interface: 'eth1-02.100' - comment: 'Comment-Network-1' - -- protocol: 'S' - network: '2001:db8:b::' - mask: '64' - nexthopip: 'fe80::aaa:65:111' - interface: 'eth1-01.100' - comment: 'Comment-static-Route-1' diff --git a/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.yml b/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.yml new file mode 100644 index 0000000000..63711dfb33 --- /dev/null +++ b/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - protocol: "C" + network: "::1" + mask: "128" + nexthopip: "" + interface: "lo" + comment: "" + - protocol: "C" + network: "2001:db8:a::" + nexthopip: "" + mask: "64" + interface: "eth1-02.100" + comment: "Comment-Network-1" + - protocol: "S" + network: "2001:db8:b::" + mask: "64" + nexthopip: "fe80::aaa:65:111" + interface: "eth1-01.100" + comment: "Comment-static-Route-1" diff --git a/tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.parsed b/tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.parsed deleted file mode 100644 index 25e21a6e77..0000000000 --- a/tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.parsed +++ /dev/null @@ -1,5 +0,0 @@ ---- -parsed_sample: - -- version: '2.2' - lomip: '192.168.0.100' diff --git a/tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.yml b/tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.yml new file mode 100644 index 0000000000..98591bb5ff --- /dev/null +++ b/tests/checkpoint_gaia/show_lom/checkpoint_gaia_show_lom.yml @@ -0,0 +1,4 @@ +--- +parsed_sample: + - version: "2.2" + lomip: "192.168.0.100" diff --git a/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.parsed b/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.parsed deleted file mode 100644 index 063875d4e7..0000000000 --- a/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.parsed +++ /dev/null @@ -1,9 +0,0 @@ ---- -parsed_sample: - -- ip_address: '1.1.1.1' - type: 'Primary' - version: '3' -- ip_address: '2.2.2.2' - type: 'Secondary' - version: '3' diff --git a/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.yml b/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.yml new file mode 100644 index 0000000000..90070ea103 --- /dev/null +++ b/tests/checkpoint_gaia/show_ntp_servers/checkpoint_gaia_show_ntp_servers.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - ip_address: "1.1.1.1" + type: "Primary" + version: "3" + - ip_address: "2.2.2.2" + type: "Secondary" + version: "3" diff --git a/tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.parsed b/tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.parsed deleted file mode 100644 index 498b8b000e..0000000000 --- a/tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.parsed +++ /dev/null @@ -1,23 +0,0 @@ ---- -parsed_sample: - -- protocol: 'S' - network: '0.0.0.0' - mask: '0' - nexthopip: '10.10.10.1' - interface: 'eth1-02.122' - comment: 'default' - -- protocol: 'S' - network: '10.0.0.0' - mask: '24' - nexthopip: '10.1.1.254' - interface: 'eth1-01.100' - comment: 'Comment-static-Route-1' - -- protocol: 'C' - network: '10.1.1.0' - mask: '24' - interface: 'eth1.111' - comment: 'Comment-Network-1' - nexthopip: '' diff --git a/tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.yml b/tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.yml new file mode 100644 index 0000000000..9e20673481 --- /dev/null +++ b/tests/checkpoint_gaia/show_route/checkpoint_gaia_show_route.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - protocol: "S" + network: "0.0.0.0" + mask: "0" + nexthopip: "10.10.10.1" + interface: "eth1-02.122" + comment: "default" + - protocol: "S" + network: "10.0.0.0" + mask: "24" + nexthopip: "10.1.1.254" + interface: "eth1-01.100" + comment: "Comment-static-Route-1" + - protocol: "C" + network: "10.1.1.0" + mask: "24" + interface: "eth1.111" + comment: "Comment-Network-1" + nexthopip: "" diff --git a/tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.parsed b/tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.parsed deleted file mode 100644 index 3ce07a59a5..0000000000 --- a/tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.parsed +++ /dev/null @@ -1,7 +0,0 @@ ---- -parsed_sample: - -- version: 'R77.30' - build: '204' - kernel: '2.6.18-92cp' - architecture: '32' diff --git a/tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.yml b/tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.yml new file mode 100644 index 0000000000..6d0f2b5f98 --- /dev/null +++ b/tests/checkpoint_gaia/show_version_all/checkpoint_gaia_show_version_all.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - version: "R77.30" + build: "204" + kernel: "2.6.18-92cp" + architecture: "32" diff --git a/tests/ciena_6x/software_show/ciena_6x_software_show.parsed b/tests/ciena_6x/software_show/ciena_6x_software_show.yml similarity index 100% rename from tests/ciena_6x/software_show/ciena_6x_software_show.parsed rename to tests/ciena_6x/software_show/ciena_6x_software_show.yml diff --git a/tests/cisco_asa/dir/cisco_asa_dir.parsed b/tests/cisco_asa/dir/cisco_asa_dir.parsed deleted file mode 100644 index 62a0be0d67..0000000000 --- a/tests/cisco_asa/dir/cisco_asa_dir.parsed +++ /dev/null @@ -1,165 +0,0 @@ ---- -parsed_sample: - -- date_time: 19:39:56 Nov 03 2015 - file_system: disk0:/ - id: '120' - name: asa951-lfbff-k8.spa - permissions: -rwx - size: '74369568' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 19:40:46 Nov 03 2015 - file_system: disk0:/ - id: '121' - name: asdm-751.bin - permissions: -rwx - size: '25025404' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 11:48:07 May 04 2016 - file_system: disk0:/ - id: '122' - name: .boot_string - permissions: -rwx - size: '89' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 19:43:48 Nov 03 2015 - file_system: disk0:/ - id: '11' - name: log - permissions: drwx - size: '4096' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 19:44:38 Nov 03 2015 - file_system: disk0:/ - id: '23' - name: crypto_archive - permissions: drwx - size: '4096' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 19:44:40 Nov 03 2015 - file_system: disk0:/ - id: '24' - name: coredumpinfo - permissions: drwx - size: '4096' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 08:33:16 May 31 2016 - file_system: disk0:/ - id: '123' - name: LOCAL-CA-SERVER - permissions: drwx - size: '4096' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 00:00:00 Jan 01 1980 - file_system: disk0:/ - id: '124' - name: FSCK0000.REC - permissions: -rwx - size: '4096' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 00:00:00 Jan 01 1980 - file_system: disk0:/ - id: '125' - name: FSCK0001.REC - permissions: -rwx - size: '28672' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 00:00:00 Jan 01 1980 - file_system: disk0:/ - id: '126' - name: FSCK0002.REC - permissions: -rwx - size: '4096' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 00:00:00 Jan 01 1980 - file_system: disk0:/ - id: '127' - name: FSCK0003.REC - permissions: -rwx - size: '28672' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 00:00:00 Jan 01 1980 - file_system: disk0:/ - id: '128' - name: FSCK0004.REC - permissions: -rwx - size: '4096' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 05:45:32 Feb 12 2016 - file_system: disk0:/ - id: '129' - name: anyconnect-win-4.2.01035-k9.pkg - permissions: -rwx - size: '19183882' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 05:45:56 Feb 12 2016 - file_system: disk0:/ - id: '130' - name: anyconnect-macosx-i386-4.2.01035-k9.pkg - permissions: -rwx - size: '17469933' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 05:56:48 Feb 12 2016 - file_system: disk0:/ - id: '131' - name: asa952-2-lfbff-k8.SPA - permissions: -rwx - size: '82330784' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 07:07:44 Feb 12 2016 - file_system: disk0:/ - id: '132' - name: scp_f1 - permissions: -rwx - size: '4102' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 07:09:04 Feb 12 2016 - file_system: disk0:/ - id: '133' - name: scp_f2 - permissions: -rwx - size: '4102' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' -- date_time: 07:20:42 Feb 12 2016 - file_system: disk0:/ - id: '134' - name: general.xml - permissions: -rwx - size: '2595' - total_free: '4417200128' - total_percent_free: '' - total_size: '7859437568' diff --git a/tests/cisco_asa/dir/cisco_asa_dir.yml b/tests/cisco_asa/dir/cisco_asa_dir.yml new file mode 100644 index 0000000000..3d69b1a5a0 --- /dev/null +++ b/tests/cisco_asa/dir/cisco_asa_dir.yml @@ -0,0 +1,164 @@ +--- +parsed_sample: + - file_system: "disk0:/" + id: "120" + permissions: "-rwx" + size: "74369568" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "19:39:56 Nov 03 2015" + name: "asa951-lfbff-k8.spa" + - file_system: "disk0:/" + id: "121" + permissions: "-rwx" + size: "25025404" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "19:40:46 Nov 03 2015" + name: "asdm-751.bin" + - file_system: "disk0:/" + id: "122" + permissions: "-rwx" + size: "89" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "11:48:07 May 04 2016" + name: ".boot_string" + - file_system: "disk0:/" + id: "11" + permissions: "drwx" + size: "4096" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "19:43:48 Nov 03 2015" + name: "log" + - file_system: "disk0:/" + id: "23" + permissions: "drwx" + size: "4096" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "19:44:38 Nov 03 2015" + name: "crypto_archive" + - file_system: "disk0:/" + id: "24" + permissions: "drwx" + size: "4096" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "19:44:40 Nov 03 2015" + name: "coredumpinfo" + - file_system: "disk0:/" + id: "123" + permissions: "drwx" + size: "4096" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "08:33:16 May 31 2016" + name: "LOCAL-CA-SERVER" + - file_system: "disk0:/" + id: "124" + permissions: "-rwx" + size: "4096" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "00:00:00 Jan 01 1980" + name: "FSCK0000.REC" + - file_system: "disk0:/" + id: "125" + permissions: "-rwx" + size: "28672" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "00:00:00 Jan 01 1980" + name: "FSCK0001.REC" + - file_system: "disk0:/" + id: "126" + permissions: "-rwx" + size: "4096" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "00:00:00 Jan 01 1980" + name: "FSCK0002.REC" + - file_system: "disk0:/" + id: "127" + permissions: "-rwx" + size: "28672" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "00:00:00 Jan 01 1980" + name: "FSCK0003.REC" + - file_system: "disk0:/" + id: "128" + permissions: "-rwx" + size: "4096" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "00:00:00 Jan 01 1980" + name: "FSCK0004.REC" + - file_system: "disk0:/" + id: "129" + permissions: "-rwx" + size: "19183882" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "05:45:32 Feb 12 2016" + name: "anyconnect-win-4.2.01035-k9.pkg" + - file_system: "disk0:/" + id: "130" + permissions: "-rwx" + size: "17469933" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "05:45:56 Feb 12 2016" + name: "anyconnect-macosx-i386-4.2.01035-k9.pkg" + - file_system: "disk0:/" + id: "131" + permissions: "-rwx" + size: "82330784" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "05:56:48 Feb 12 2016" + name: "asa952-2-lfbff-k8.SPA" + - file_system: "disk0:/" + id: "132" + permissions: "-rwx" + size: "4102" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "07:07:44 Feb 12 2016" + name: "scp_f1" + - file_system: "disk0:/" + id: "133" + permissions: "-rwx" + size: "4102" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "07:09:04 Feb 12 2016" + name: "scp_f2" + - file_system: "disk0:/" + id: "134" + permissions: "-rwx" + size: "2595" + total_size: "7859437568" + total_free: "4417200128" + total_percent_free: "" + date_time: "07:20:42 Feb 12 2016" + name: "general.xml" diff --git a/tests/cisco_asa/dir/cisco_asa_dir2.parsed b/tests/cisco_asa/dir/cisco_asa_dir2.parsed deleted file mode 100644 index 2e773a5baa..0000000000 --- a/tests/cisco_asa/dir/cisco_asa_dir2.parsed +++ /dev/null @@ -1,93 +0,0 @@ ---- -parsed_sample: - -- date_time: 06:43:00 Jun 30 2018 - file_system: disk0:/ - id: '97' - name: asa982-lfbff-k8.SPA - permissions: -rwx - size: '108563072' - total_free: '3847725056' - total_percent_free: '52' - total_size: '7365472256' -- date_time: 06:43:22 Jun 30 2018 - file_system: disk0:/ - id: '98' - name: asdm-782.bin - permissions: -rwx - size: '26970456' - total_free: '3847725056' - total_percent_free: '52' - total_size: '7365472256' -- date_time: 16:06:56 Jun 04 2019 - file_system: disk0:/ - id: '99' - name: .boot_string - permissions: -rwx - size: '63' - total_free: '3847725056' - total_percent_free: '52' - total_size: '7365472256' -- date_time: 06:46:42 Jun 30 2018 - file_system: disk0:/ - id: '11' - name: log - permissions: drwx - size: '4096' - total_free: '3847725056' - total_percent_free: '52' - total_size: '7365472256' -- date_time: 06:47:34 Jun 30 2018 - file_system: disk0:/ - id: '22' - name: crypto_archive - permissions: drwx - size: '4096' - total_free: '3847725056' - total_percent_free: '52' - total_size: '7365472256' -- date_time: 06:47:36 Jun 30 2018 - file_system: disk0:/ - id: '23' - name: coredumpinfo - permissions: drwx - size: '4096' - total_free: '3847725056' - total_percent_free: '52' - total_size: '7365472256' -- date_time: 02:58:32 May 17 2019 - file_system: disk0:/ - id: '100' - name: asa992-32-lfbff-k8.SPA - permissions: -rwx - size: '111505136' - total_free: '3847725056' - total_percent_free: '52' - total_size: '7365472256' -- date_time: 03:00:24 May 17 2019 - file_system: disk0:/ - id: '101' - name: asdm-791-151.bin - permissions: -rwx - size: '29197128' - total_free: '3847725056' - total_percent_free: '52' - total_size: '7365472256' -- date_time: 03:13:54 May 17 2019 - file_system: disk0:/ - id: '105' - name: snmp - permissions: drwx - size: '4096' - total_free: '3847725056' - total_percent_free: '52' - total_size: '7365472256' -- date_time: 16:43:50 Jun 04 2019 - file_system: disk0:/ - id: '109' - name: testfile.spa - permissions: -rwx - size: '18124800' - total_free: '3847725056' - total_percent_free: '52' - total_size: '7365472256' diff --git a/tests/cisco_asa/dir/cisco_asa_dir2.yml b/tests/cisco_asa/dir/cisco_asa_dir2.yml new file mode 100644 index 0000000000..4431bfc102 --- /dev/null +++ b/tests/cisco_asa/dir/cisco_asa_dir2.yml @@ -0,0 +1,92 @@ +--- +parsed_sample: + - date_time: "06:43:00 Jun 30 2018" + file_system: "disk0:/" + id: "97" + name: "asa982-lfbff-k8.SPA" + permissions: "-rwx" + size: "108563072" + total_free: "3847725056" + total_percent_free: "52" + total_size: "7365472256" + - date_time: "06:43:22 Jun 30 2018" + file_system: "disk0:/" + id: "98" + name: "asdm-782.bin" + permissions: "-rwx" + size: "26970456" + total_free: "3847725056" + total_percent_free: "52" + total_size: "7365472256" + - date_time: "16:06:56 Jun 04 2019" + file_system: "disk0:/" + id: "99" + name: ".boot_string" + permissions: "-rwx" + size: "63" + total_free: "3847725056" + total_percent_free: "52" + total_size: "7365472256" + - date_time: "06:46:42 Jun 30 2018" + file_system: "disk0:/" + id: "11" + name: "log" + permissions: "drwx" + size: "4096" + total_free: "3847725056" + total_percent_free: "52" + total_size: "7365472256" + - date_time: "06:47:34 Jun 30 2018" + file_system: "disk0:/" + id: "22" + name: "crypto_archive" + permissions: "drwx" + size: "4096" + total_free: "3847725056" + total_percent_free: "52" + total_size: "7365472256" + - date_time: "06:47:36 Jun 30 2018" + file_system: "disk0:/" + id: "23" + name: "coredumpinfo" + permissions: "drwx" + size: "4096" + total_free: "3847725056" + total_percent_free: "52" + total_size: "7365472256" + - date_time: "02:58:32 May 17 2019" + file_system: "disk0:/" + id: "100" + name: "asa992-32-lfbff-k8.SPA" + permissions: "-rwx" + size: "111505136" + total_free: "3847725056" + total_percent_free: "52" + total_size: "7365472256" + - date_time: "03:00:24 May 17 2019" + file_system: "disk0:/" + id: "101" + name: "asdm-791-151.bin" + permissions: "-rwx" + size: "29197128" + total_free: "3847725056" + total_percent_free: "52" + total_size: "7365472256" + - date_time: "03:13:54 May 17 2019" + file_system: "disk0:/" + id: "105" + name: "snmp" + permissions: "drwx" + size: "4096" + total_free: "3847725056" + total_percent_free: "52" + total_size: "7365472256" + - date_time: "16:43:50 Jun 04 2019" + file_system: "disk0:/" + id: "109" + name: "testfile.spa" + permissions: "-rwx" + size: "18124800" + total_free: "3847725056" + total_percent_free: "52" + total_size: "7365472256" diff --git a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.parsed b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.parsed deleted file mode 100644 index 3f218ae958..0000000000 --- a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.parsed +++ /dev/null @@ -1,4143 +0,0 @@ ---- -parsed_sample: - -- acl_name: 'test' - acl_tot_elem: '51' - acl_name_hash: '0xcb4257a3' - type: '' - line_num: '' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '1' - remark: '' - action: 'permit' - protocol: 'ah' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: 'outside' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: 'informational' - log_interval: '300' - state: 'inactive' - hit_count: '0' - line_hash: '0x20db5032' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '2' - remark: '' - action: 'deny' - protocol: 'udp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '10.10.10.11' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '10.10.12.12' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: 'dnsix' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0xfe42d16f' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '3' - remark: '' - action: 'permit' - protocol: '' - svc_object_grp: '' - svc_object: 'svc1' - src_intfc: '' - src_object_grp: '' - src_object: 'test1' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: 'test2' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: 'informational' - log_interval: '300' - state: '' - hit_count: '0' - line_hash: '0xb18beb2d' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '3' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: 'informational' - log_interval: '300' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: 'icmp' - entry_protocol: '' - entry_src_fqdn: 'test.com' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: 'unresolved' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '10.1.1.2' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'echo-reply' - entry_icmp_code: '4' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x0397cac0' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '4' - remark: '' - action: 'permit' - protocol: 'tcp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: 'grptest1' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '10.10.10.0' - dst_mask: '255.255.255.128' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x26e50070' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '4' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.1.1.10' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '10.10.10.0' - entry_dst_mask: '255.255.255.128' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0x44aceee4' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '4' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: 'test.com' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: 'unresolved' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '10.10.10.0' - entry_dst_mask: '255.255.255.128' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x27806b87' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '4' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '10.1.1.8' - entry_src_mask: '255.255.255.248' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '10.10.10.0' - entry_dst_mask: '255.255.255.128' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0xb65d6d2a' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '5' - remark: '' - action: 'permit' - protocol: '' - svc_object_grp: 'svcgrp1' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: 'test2' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: 'test3' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0xffc8818e' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '5' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.1.1.2' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '10.1.1.3' - entry_dst_range_end: '10.1.1.8' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '60' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0x09fd553e' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '5' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.1.1.2' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '10.1.1.3' - entry_dst_range_end: '10.1.1.8' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'www' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0xc366785c' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '5' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.1.1.2' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '10.1.1.3' - entry_dst_range_end: '10.1.1.8' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '100' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0xc7a44ae8' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '5' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.1.1.2' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '10.1.1.3' - entry_dst_range_end: '10.1.1.8' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: 'gopher' - entry_port_range_end: '71' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0x4db36dd4' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '6' - remark: '' - action: 'permit' - protocol: 'ip' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: 'grptest2' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: 'any4' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x1b9c9328' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '6' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'ip' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.1.1.10' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: 'any4' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0x9d5931ab' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '6' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'ip' - entry_src_fqdn: 'test.com' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: 'unresolved' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: 'any4' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x0268299f' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '6' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'ip' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '10.1.1.8' - entry_src_mask: '255.255.255.248' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: 'any4' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0xa6f62ec7' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '6' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'ip' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.10.10.10' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: 'any4' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0xac0ce8e7' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '7' - remark: '' - action: 'permit' - protocol: '' - svc_object_grp: 'svcgrp4' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: 'test3' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: 'test2' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x866dbeab' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '7' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '10.1.1.3' - entry_src_range_end: '10.1.1.8' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '10.1.1.2' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'domain' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0xbef61d61' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '7' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'udp' - entry_src_fqdn: '' - entry_src_range_start: '10.1.1.3' - entry_src_range_end: '10.1.1.8' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '10.1.1.2' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'domain' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0x3f9b81a1' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '7' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '10.1.1.3' - entry_src_range_end: '10.1.1.8' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '10.1.1.2' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '55' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0x99a487f5' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '7' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'udp' - entry_src_fqdn: '' - entry_src_range_start: '10.1.1.3' - entry_src_range_end: '10.1.1.8' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '10.1.1.2' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '55' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0xcd700fb1' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '8' - remark: '' - action: 'permit' - protocol: 'tcp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: 'test1' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: 'test1' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: 'svcgrp6' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0xd76472ac' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '8' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: 'test.com' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: 'unresolved' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'aol' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x64af6768' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '8' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: 'test.com' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: 'unresolved' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'www' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x29864b9c' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '8' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: 'test.com' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: 'unresolved' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '84' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x1f80e564' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '9' - remark: '' - action: 'permit' - protocol: '' - svc_object_grp: 'prtgrp1' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: 'any4' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x0d8479f0' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '9' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'esp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: 'any4' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: 'any4' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0x79a30bff' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '10' - remark: '' - action: 'permit' - protocol: 'tcp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: 'grptest1' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: 'test1' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: 'svcgrp8' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x0ca66136' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '10' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.1.1.10' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'aol' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0xd93c8317' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '10' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.1.1.10' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'www' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x98d3e56f' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '10' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.1.1.10' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '84' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x45e3cb59' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '10' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: 'test.com' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: 'unresolved' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'aol' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x64af6768' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '10' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: 'test.com' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: 'unresolved' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'www' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x29864b9c' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '10' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: 'test.com' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: 'unresolved' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '84' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x1f80e564' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '10' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '10.1.1.8' - entry_src_mask: '255.255.255.248' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'aol' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0xddad57f9' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '10' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '10.1.1.8' - entry_src_mask: '255.255.255.248' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'www' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x38389426' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '10' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '10.1.1.8' - entry_src_mask: '255.255.255.248' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '84' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x883a126a' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '11' - remark: '' - action: 'permit' - protocol: 'tcp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: 'grptest1' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: 'test1' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: 'svcgrp7' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0xb396512b' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '11' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.1.1.10' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'domain' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x5637d648' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '11' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: 'test.com' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: 'unresolved' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'domain' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x3cd20161' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '11' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '10.1.1.8' - entry_src_mask: '255.255.255.248' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: 'test.com' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: 'unresolved' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: 'domain' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: 'inactive' - entry_hash: '0x69655129' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '12' - remark: '' - action: 'permit' - protocol: 'tcp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '10.20.30.0' - src_mask: '255.255.255.0' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '10.50.12.0' - dst_mask: '255.255.255.224' - dst_any: '' - dst_port: 'www' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x3f0331e6' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '13' - remark: '' - action: 'permit' - protocol: '' - svc_object_grp: '' - svc_object: 'svc10' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '10.21.10.5' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '10.50.20.10' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0xc766bdc7' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '13' - remark: '' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: 'tcp' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '10.21.10.5' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '10.50.20.10' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: 'www' - entry_port_range_end: '88' - entry_hit_count: '0' - entry_state: '' - entry_hash: '0xc766bdc7' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '14' - remark: '' - action: 'permit' - protocol: 'tcp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '10.20.30.22' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '10.50.12.0' - dst_mask: '255.255.255.224' - dst_any: '' - dst_port: 'www' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x3f0331e6' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '15' - remark: 'explicit-deny' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '16' - remark: '' - action: 'deny' - protocol: 'ip' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: 'any' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x60edeab9' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: '' - line_num: '17' - remark: '************ Allow ICMP *************' - action: '' - protocol: '' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: '' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '' - line_hash: '' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '18' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: 'any' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: 'informational' - log_interval: '300' - state: '' - hit_count: '31778' - line_hash: '0x6c633843' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'time-exceeded' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '19' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: 'any4' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: 'informational' - log_interval: '300' - state: '' - hit_count: '0' - line_hash: '0x19b0643c' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'time-exceeded' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '20' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: 'any4' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: 'informational' - log_interval: '300' - state: '' - hit_count: '1902659' - line_hash: '0x5e72d761' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'unreachable' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '21' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: 'any4' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: 'informational' - log_interval: '300' - state: '' - hit_count: '0' - line_hash: '0x2405f42c' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'echo' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '22' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: 'any4' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: 'informational' - log_interval: '300' - state: '' - hit_count: '572136' - line_hash: '0x95dca5e7' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'echo-reply' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '23' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.148.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x735d2ad8' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'echo' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '24' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.148.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x4b1cc532' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'echo-reply' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '25' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.148.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x3111e9c0' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'unreachable' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '26' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.148.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x7a963265' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'time-exceeded' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '27' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.147.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x07bfbf99' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'echo-reply' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '28' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.147.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x99e30c47' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'echo' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '29' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.147.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x91a15afa' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'unreachable' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '30' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.151.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0xfb31202c' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'echo-reply' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '31' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.147.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x2bc95316' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'time-exceeded' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '32' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.151.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x0f3edcdd' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'echo' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '33' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.151.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x7887741b' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'unreachable' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '34' - remark: '' - action: 'permit' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any4' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '169.254.151.0' - dst_mask: '255.255.0.0' - dst_any: '' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '0' - line_hash: '0x480bef5c' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: 'time-exceeded' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' -- acl_name: 'test' - acl_tot_elem: '' - acl_name_hash: '' - type: 'extended' - line_num: '35' - remark: '' - action: 'deny' - protocol: 'icmp' - svc_object_grp: '' - svc_object: '' - src_intfc: '' - src_object_grp: '' - src_object: '' - src_host: '' - src_network: '' - src_mask: '' - src_any: 'any' - dst_intfc: '' - dst_object_grp: '' - dst_object: '' - dst_host: '' - dst_network: '' - dst_mask: '' - dst_any: 'any' - dst_port: '' - dst_port_grp: '' - dst_port_object: '' - log_level: '' - log_interval: '' - state: '' - hit_count: '3' - line_hash: '0xff7fd0ca' - entry_protocol_icmp: '' - entry_protocol: '' - entry_src_fqdn: '' - entry_src_range_start: '' - entry_src_range_end: '' - entry_src_host: '' - entry_src_network: '' - entry_src_mask: '' - entry_src_any: '' - entry_src_fqdn_state: '' - entry_dst_fqdn: '' - entry_dst_range_start: '' - entry_dst_range_end: '' - entry_dst_host: '' - entry_dst_network: '' - entry_dst_mask: '' - entry_dst_any: '' - entry_dst_fqdn_state: '' - entry_icmp_type: '' - entry_icmp_code: '' - entry_port: '' - entry_port_less_than: '' - entry_port_greater_than: '' - entry_port_range_start: '' - entry_port_range_end: '' - entry_hit_count: '' - entry_state: '' - entry_hash: '' diff --git a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.yml b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.yml new file mode 100644 index 0000000000..21ba5e212e --- /dev/null +++ b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list.yml @@ -0,0 +1,4142 @@ +--- +parsed_sample: + - acl_name: "test" + acl_tot_elem: "51" + acl_name_hash: "0xcb4257a3" + type: "" + line_num: "" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "1" + remark: "" + action: "permit" + protocol: "ah" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "outside" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "inactive" + hit_count: "0" + line_hash: "0x20db5032" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "2" + remark: "" + action: "deny" + protocol: "udp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "10.10.10.11" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "10.10.12.12" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "dnsix" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xfe42d16f" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "3" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "" + svc_object: "svc1" + src_intfc: "" + src_object_grp: "" + src_object: "test1" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test2" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "0" + line_hash: "0xb18beb2d" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "3" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "icmp" + entry_protocol: "" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "4" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x0397cac0" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "4" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest1" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "10.10.10.0" + dst_mask: "255.255.255.128" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x26e50070" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "4" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "10.10.10.0" + entry_dst_mask: "255.255.255.128" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x44aceee4" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "4" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "10.10.10.0" + entry_dst_mask: "255.255.255.128" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x27806b87" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "4" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "10.10.10.0" + entry_dst_mask: "255.255.255.128" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xb65d6d2a" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "5" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "svcgrp1" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "test2" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test3" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xffc8818e" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "60" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x09fd553e" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xc366785c" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "100" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xc7a44ae8" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "gopher" + entry_port_range_end: "71" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x4db36dd4" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "6" + remark: "" + action: "permit" + protocol: "ip" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest2" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x1b9c9328" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x9d5931ab" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x0268299f" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xa6f62ec7" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.10.10.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xac0ce8e7" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "7" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "svcgrp4" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "test3" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test2" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x866dbeab" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xbef61d61" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "udp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x3f9b81a1" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "55" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x99a487f5" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "udp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "55" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xcd700fb1" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "8" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "test1" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test1" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "svcgrp6" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xd76472ac" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "8" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x64af6768" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "8" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x29864b9c" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "8" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x1f80e564" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "9" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "prtgrp1" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x0d8479f0" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "9" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "esp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "any4" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x79a30bff" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "10" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest1" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test1" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "svcgrp8" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x0ca66136" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0xd93c8317" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x98d3e56f" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x45e3cb59" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x64af6768" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x29864b9c" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x1f80e564" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0xddad57f9" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x38389426" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x883a126a" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "11" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest1" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test1" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "svcgrp7" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xb396512b" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "11" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x5637d648" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "11" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x3cd20161" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "11" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x69655129" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "12" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "10.20.30.0" + src_mask: "255.255.255.0" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "10.50.12.0" + dst_mask: "255.255.255.224" + dst_any: "" + dst_port: "www" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x3f0331e6" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "13" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "" + svc_object: "svc10" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "10.21.10.5" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "10.50.20.10" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xc766bdc7" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "13" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.21.10.5" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.50.20.10" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "www" + entry_port_range_end: "88" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xc766bdc7" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "14" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "10.20.30.22" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "10.50.12.0" + dst_mask: "255.255.255.224" + dst_any: "" + dst_port: "www" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x3f0331e6" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "15" + remark: "explicit-deny" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "16" + remark: "" + action: "deny" + protocol: "ip" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x60edeab9" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "17" + remark: "************ Allow ICMP *************" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "18" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "31778" + line_hash: "0x6c633843" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "19" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "0" + line_hash: "0x19b0643c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "20" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "1902659" + line_hash: "0x5e72d761" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "21" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "0" + line_hash: "0x2405f42c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "22" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "572136" + line_hash: "0x95dca5e7" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "23" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x735d2ad8" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "24" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x4b1cc532" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "25" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x3111e9c0" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "26" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x7a963265" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "27" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x07bfbf99" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "28" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x99e30c47" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "29" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x91a15afa" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "30" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xfb31202c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "31" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x2bc95316" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "32" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x0f3edcdd" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "33" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x7887741b" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "34" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x480bef5c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "35" + remark: "" + action: "deny" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "3" + line_hash: "0xff7fd0ca" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" diff --git a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed deleted file mode 100644 index c874ed9481..0000000000 --- a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.parsed +++ /dev/null @@ -1,119 +0,0 @@ ---- -parsed_sample: - -- acl_drop: '2077' - async_lock_queue_limit: '4926' - bad_ipsec_natt: '119' - bad_tcp_cksum: '' - bad_tcp_flags: '50' - cluster_bad_trailer: '309' - cluster_ccl_backup: '21121' - cluster_ccl_unknown: '185782' - cluster_ccl_unknown_stub: '9026' - cluster_non_ip_pkt: '41' - conn_limit: '18' - connection_lock: '1' - cp_event_queue_error: '' - cp_syslog_event_queue_error: '' - ctm_error: '22' - dispatch_block_alloc: '980' - dispatch_queue_limit: '770' - flow_being_freed: '4' - flow_drop_acl_drop: '192350' - flow_drop_cluster_redirect: '576' - flow_drop_ctm_crypto_request_error: '187' - flow_drop_dtls_hello_close: '90' - flow_drop_inspect_fail: '4' - flow_drop_ipsec_selector_failure: '' - flow_drop_nat_rpf_failed: '16' - flow_drop_np_socket_data_move_failure: '10' - flow_drop_out_of_memory: '2' - flow_drop_shunned: '2' - flow_drop_ssl_bad_record_detect: '1' - flow_drop_ssl_handshake_failed: '2181' - flow_drop_ssl_record_decrypt_error: '206' - flow_drop_svc_failover: '205' - flow_drop_svc_replacement_conn: '203' - flow_drop_svc_selector_failure: '204' - flow_drop_vpn_handle_not_found: '20' - flow_drop_vpn_missing_decrypt: '202' - flow_drop_vpn_overlap_conflict: '201' - flow_expired: '10' - flow_last_cleared: '' - fo_standby: '5' - fragment_reassembly_failed: '' - host_limit: '' - ifc_classify: '9' - inspect_dns_id_not_matched: '6' - inspect_dns_invalid_domain_label: '9' - inspect_dns_invalid_pak: '61' - inspect_dns_pak_too_long: '9' - inspect_dp_out_of_memory: '' - inspect_icmp_bad_code: '32' - inspect_icmp_error_no_existing_conn: '13' - inspect_icmp_invalid_pak: '' - inspect_icmp_seq_num_not_matched: '45' - intercept_unexpected: '4' - interface_down: '169' - invalid_encap: '1' - invalid_ip_header: '209' - invalid_ip_length: '166' - invalid_ip_option: '3' - invalid_tcp_hdr_length: '4' - invalid_udp_length: '6' - ipsec_tun_down: '118' - l2_acl: '150' - last_cleared: Never - lu_invalid_pkt: '2' - mcast_in_nonactive_device: '4063' - mp_svc_bad_length: '' - mp_svc_flow_control: '114' - mp_svc_no_channel: '116' - mp_svc_no_fragment: '113' - mp_svc_no_session: '115' - nat_failed: '' - nat_no_xlate_to_pat_pool: '50' - nat_xlate_failed: '1' - natt_keepalive: '117' - no_adjacency: '8' - no_inspect: '' - no_route: '30' - np_socket_closed: '3' - np_socket_lock_failure: '61' - np_sp_invalid_spi: '' - object_group_search_threshold_exceeded: '' - punt_limit: '' - punt_no_mem: '1150' - punt_queue_limit: '' - punt_rate_limit: '' - rm_conn_rate_limit: '24' - rm_inspect_rate_limit: '' - rpf_violated: '1083' - rule_transaction_in_progress: '' - security_failed: '34' - shunned: '8' - sp_security_failed: '' - ssl_first_record_invalid: '' - tcp_3whs_failed: '76' - tcp_ack_syn_diff: '130' - tcp_bad_option_list: '2' - tcp_buffer_full: '328' - tcp_buffer_timeout: '45' - tcp_conn_limit: '' - tcp_data_past_fin: '107' - tcp_dual_open: '6' - tcp_dup_in_queue: '112' - tcp_fo_drop: '6' - tcp_global_buffer_full: '53' - tcp_invalid_ack: '1' - tcp_not_syn: '205' - tcp_paws_fail: '1' - tcp_rst_syn_in_win: '30' - tcp_rstfin_ooo: '12678' - tcp_seq_past_win: '6' - tcp_seq_syn_diff: '404' - tcp_synack_ooo: '1345' - ttl_exceeded: '3' - unable_to_add_flow: '' - unable_to_create_flow: '1' - unsupported_ip_version: '111' \ No newline at end of file diff --git a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.yml b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.yml new file mode 100644 index 0000000000..01ebb2f581 --- /dev/null +++ b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop.yml @@ -0,0 +1,118 @@ +--- +parsed_sample: + - flow_drop_acl_drop: "192350" + flow_drop_shunned: "2" + flow_drop_cluster_redirect: "576" + flow_drop_inspect_fail: "4" + flow_drop_ipsec_selector_failure: "" + flow_drop_nat_rpf_failed: "16" + flow_drop_out_of_memory: "2" + flow_drop_ssl_bad_record_detect: "1" + flow_drop_ssl_handshake_failed: "2181" + flow_drop_vpn_overlap_conflict: "201" + flow_drop_vpn_missing_decrypt: "202" + flow_drop_svc_replacement_conn: "203" + flow_drop_svc_selector_failure: "204" + flow_drop_svc_failover: "205" + flow_drop_ssl_record_decrypt_error: "206" + flow_drop_ctm_crypto_request_error: "187" + flow_drop_vpn_handle_not_found: "20" + flow_drop_np_socket_data_move_failure: "10" + flow_drop_dtls_hello_close: "90" + flow_last_cleared: "" + acl_drop: "2077" + async_lock_queue_limit: "4926" + bad_ipsec_natt: "119" + bad_tcp_cksum: "" + bad_tcp_flags: "50" + cluster_bad_trailer: "309" + cluster_ccl_backup: "21121" + cluster_ccl_unknown: "185782" + cluster_ccl_unknown_stub: "9026" + cluster_non_ip_pkt: "41" + conn_limit: "18" + connection_lock: "1" + cp_event_queue_error: "" + cp_syslog_event_queue_error: "" + ctm_error: "22" + dispatch_queue_limit: "770" + dispatch_block_alloc: "980" + flow_being_freed: "4" + flow_expired: "10" + fo_standby: "5" + fragment_reassembly_failed: "" + host_limit: "" + ifc_classify: "9" + inspect_dns_id_not_matched: "6" + inspect_dns_invalid_domain_label: "9" + inspect_dns_invalid_pak: "61" + inspect_dns_pak_too_long: "9" + inspect_dp_out_of_memory: "" + inspect_icmp_bad_code: "32" + inspect_icmp_error_no_existing_conn: "13" + inspect_icmp_invalid_pak: "" + inspect_icmp_seq_num_not_matched: "45" + intercept_unexpected: "4" + interface_down: "169" + invalid_encap: "1" + invalid_ip_header: "209" + invalid_ip_length: "166" + invalid_ip_option: "3" + invalid_tcp_hdr_length: "4" + invalid_udp_length: "6" + ipsec_tun_down: "118" + l2_acl: "150" + last_cleared: "Never" + lu_invalid_pkt: "2" + mcast_in_nonactive_device: "4063" + mp_svc_bad_length: "" + mp_svc_flow_control: "114" + mp_svc_no_channel: "116" + mp_svc_no_fragment: "113" + mp_svc_no_session: "115" + nat_failed: "" + nat_no_xlate_to_pat_pool: "50" + nat_xlate_failed: "1" + natt_keepalive: "117" + no_adjacency: "8" + no_inspect: "" + no_route: "30" + np_socket_closed: "3" + np_socket_lock_failure: "61" + np_sp_invalid_spi: "" + object_group_search_threshold_exceeded: "" + punt_queue_limit: "" + punt_limit: "" + punt_no_mem: "1150" + punt_rate_limit: "" + rm_conn_rate_limit: "24" + rm_inspect_rate_limit: "" + rpf_violated: "1083" + rule_transaction_in_progress: "" + security_failed: "34" + shunned: "8" + sp_security_failed: "" + ssl_first_record_invalid: "" + tcp_3whs_failed: "76" + tcp_ack_syn_diff: "130" + tcp_bad_option_list: "2" + tcp_buffer_full: "328" + tcp_buffer_timeout: "45" + tcp_conn_limit: "" + tcp_data_past_fin: "107" + tcp_dual_open: "6" + tcp_dup_in_queue: "112" + tcp_fo_drop: "6" + tcp_global_buffer_full: "53" + tcp_invalid_ack: "1" + tcp_not_syn: "205" + tcp_paws_fail: "1" + tcp_rst_syn_in_win: "30" + tcp_rstfin_ooo: "12678" + tcp_seq_past_win: "6" + tcp_seq_syn_diff: "404" + tcp_synack_ooo: "1345" + ttl_exceeded: "3" + unable_to_add_flow: "" + unable_to_create_flow: "1" + unsupported_ip_version: "111" diff --git a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.parsed b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.parsed deleted file mode 100644 index 93fd254574..0000000000 --- a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.parsed +++ /dev/null @@ -1,119 +0,0 @@ ---- -parsed_sample: - -- acl_drop: '121615702' - async_lock_queue_limit: '' - bad_ipsec_natt: '46' - bad_tcp_cksum: '865' - bad_tcp_flags: '465' - cluster_bad_trailer: '' - cluster_ccl_backup: '' - cluster_ccl_unknown: '' - cluster_ccl_unknown_stub: '' - cluster_non_ip_pkt: '' - conn_limit: '' - connection_lock: '1' - cp_event_queue_error: '' - cp_syslog_event_queue_error: '' - ctm_error: '651' - dispatch_block_alloc: '' - dispatch_queue_limit: '' - flow_being_freed: '' - flow_drop_acl_drop: '480826360' - flow_drop_cluster_redirect: '' - flow_drop_ctm_crypto_request_error: '10' - flow_drop_dtls_hello_close: '3961576' - flow_drop_inspect_fail: '9314' - flow_drop_ipsec_selector_failure: '2' - flow_drop_nat_rpf_failed: '' - flow_drop_np_socket_data_move_failure: '' - flow_drop_out_of_memory: '' - flow_drop_shunned: '' - flow_drop_ssl_bad_record_detect: '999' - flow_drop_ssl_handshake_failed: '199468' - flow_drop_ssl_record_decrypt_error: '277' - flow_drop_svc_failover: '' - flow_drop_svc_replacement_conn: '265258' - flow_drop_svc_selector_failure: '357898' - flow_drop_vpn_handle_not_found: '8' - flow_drop_vpn_missing_decrypt: '2337600' - flow_drop_vpn_overlap_conflict: '16388' - flow_expired: '' - flow_last_cleared: Never - fo_standby: '' - fragment_reassembly_failed: '' - host_limit: '' - ifc_classify: '' - inspect_dns_id_not_matched: '' - inspect_dns_invalid_domain_label: '' - inspect_dns_invalid_pak: '' - inspect_dns_pak_too_long: '' - inspect_dp_out_of_memory: '' - inspect_icmp_bad_code: '' - inspect_icmp_error_no_existing_conn: '50' - inspect_icmp_invalid_pak: '' - inspect_icmp_seq_num_not_matched: '' - intercept_unexpected: '' - interface_down: '1226' - invalid_encap: '' - invalid_ip_header: '10' - invalid_ip_length: '51' - invalid_ip_option: '49356' - invalid_tcp_hdr_length: '' - invalid_udp_length: '' - ipsec_tun_down: '231724' - l2_acl: '5664741' - last_cleared: Never - lu_invalid_pkt: '' - mcast_in_nonactive_device: '' - mp_svc_bad_length: '19' - mp_svc_flow_control: '3479607' - mp_svc_no_channel: '156927' - mp_svc_no_fragment: '148934' - mp_svc_no_session: '46067' - nat_failed: '' - nat_no_xlate_to_pat_pool: '' - nat_xlate_failed: '' - natt_keepalive: '140080931' - no_adjacency: '375' - no_inspect: '' - no_route: '28187272' - np_socket_closed: '245209' - np_socket_lock_failure: '1' - np_sp_invalid_spi: '71490' - object_group_search_threshold_exceeded: '' - punt_limit: '' - punt_no_mem: '' - punt_queue_limit: '' - punt_rate_limit: '' - rm_conn_rate_limit: '' - rm_inspect_rate_limit: '' - rpf_violated: '' - rule_transaction_in_progress: '' - security_failed: '144251' - shunned: '' - sp_security_failed: '' - ssl_first_record_invalid: '53' - tcp_3whs_failed: '574098' - tcp_ack_syn_diff: '' - tcp_bad_option_list: '' - tcp_buffer_full: '9' - tcp_buffer_timeout: '224' - tcp_conn_limit: '' - tcp_data_past_fin: '' - tcp_dual_open: '' - tcp_dup_in_queue: '390' - tcp_fo_drop: '' - tcp_global_buffer_full: '943' - tcp_invalid_ack: '56816' - tcp_not_syn: '7165487' - tcp_paws_fail: '122137' - tcp_rst_syn_in_win: '50482' - tcp_rstfin_ooo: '4599450' - tcp_seq_past_win: '66133' - tcp_seq_syn_diff: '54' - tcp_synack_ooo: '' - ttl_exceeded: '' - unable_to_add_flow: '' - unable_to_create_flow: '1699' - unsupported_ip_version: '6' \ No newline at end of file diff --git a/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.yml b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.yml new file mode 100644 index 0000000000..6f8515c770 --- /dev/null +++ b/tests/cisco_asa/show_asp_drop/cisco_asa_show_asp_drop2.yml @@ -0,0 +1,118 @@ +--- +parsed_sample: + - acl_drop: "121615702" + async_lock_queue_limit: "" + bad_ipsec_natt: "46" + bad_tcp_cksum: "865" + bad_tcp_flags: "465" + cluster_bad_trailer: "" + cluster_ccl_backup: "" + cluster_ccl_unknown: "" + cluster_ccl_unknown_stub: "" + cluster_non_ip_pkt: "" + conn_limit: "" + connection_lock: "1" + cp_event_queue_error: "" + cp_syslog_event_queue_error: "" + ctm_error: "651" + dispatch_block_alloc: "" + dispatch_queue_limit: "" + flow_being_freed: "" + flow_drop_acl_drop: "480826360" + flow_drop_cluster_redirect: "" + flow_drop_ctm_crypto_request_error: "10" + flow_drop_dtls_hello_close: "3961576" + flow_drop_inspect_fail: "9314" + flow_drop_ipsec_selector_failure: "2" + flow_drop_nat_rpf_failed: "" + flow_drop_np_socket_data_move_failure: "" + flow_drop_out_of_memory: "" + flow_drop_shunned: "" + flow_drop_ssl_bad_record_detect: "999" + flow_drop_ssl_handshake_failed: "199468" + flow_drop_ssl_record_decrypt_error: "277" + flow_drop_svc_failover: "" + flow_drop_svc_replacement_conn: "265258" + flow_drop_svc_selector_failure: "357898" + flow_drop_vpn_handle_not_found: "8" + flow_drop_vpn_missing_decrypt: "2337600" + flow_drop_vpn_overlap_conflict: "16388" + flow_expired: "" + flow_last_cleared: "Never" + fo_standby: "" + fragment_reassembly_failed: "" + host_limit: "" + ifc_classify: "" + inspect_dns_id_not_matched: "" + inspect_dns_invalid_domain_label: "" + inspect_dns_invalid_pak: "" + inspect_dns_pak_too_long: "" + inspect_dp_out_of_memory: "" + inspect_icmp_bad_code: "" + inspect_icmp_error_no_existing_conn: "50" + inspect_icmp_invalid_pak: "" + inspect_icmp_seq_num_not_matched: "" + intercept_unexpected: "" + interface_down: "1226" + invalid_encap: "" + invalid_ip_header: "10" + invalid_ip_length: "51" + invalid_ip_option: "49356" + invalid_tcp_hdr_length: "" + invalid_udp_length: "" + ipsec_tun_down: "231724" + l2_acl: "5664741" + last_cleared: "Never" + lu_invalid_pkt: "" + mcast_in_nonactive_device: "" + mp_svc_bad_length: "19" + mp_svc_flow_control: "3479607" + mp_svc_no_channel: "156927" + mp_svc_no_fragment: "148934" + mp_svc_no_session: "46067" + nat_failed: "" + nat_no_xlate_to_pat_pool: "" + nat_xlate_failed: "" + natt_keepalive: "140080931" + no_adjacency: "375" + no_inspect: "" + no_route: "28187272" + np_socket_closed: "245209" + np_socket_lock_failure: "1" + np_sp_invalid_spi: "71490" + object_group_search_threshold_exceeded: "" + punt_limit: "" + punt_no_mem: "" + punt_queue_limit: "" + punt_rate_limit: "" + rm_conn_rate_limit: "" + rm_inspect_rate_limit: "" + rpf_violated: "" + rule_transaction_in_progress: "" + security_failed: "144251" + shunned: "" + sp_security_failed: "" + ssl_first_record_invalid: "53" + tcp_3whs_failed: "574098" + tcp_ack_syn_diff: "" + tcp_bad_option_list: "" + tcp_buffer_full: "9" + tcp_buffer_timeout: "224" + tcp_conn_limit: "" + tcp_data_past_fin: "" + tcp_dual_open: "" + tcp_dup_in_queue: "390" + tcp_fo_drop: "" + tcp_global_buffer_full: "943" + tcp_invalid_ack: "56816" + tcp_not_syn: "7165487" + tcp_paws_fail: "122137" + tcp_rst_syn_in_win: "50482" + tcp_rstfin_ooo: "4599450" + tcp_seq_past_win: "66133" + tcp_seq_syn_diff: "54" + tcp_synack_ooo: "" + ttl_exceeded: "" + unable_to_add_flow: "" + unable_to_create_flow: "1699" + unsupported_ip_version: "6" diff --git a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed deleted file mode 100644 index d5d268ceb7..0000000000 --- a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.parsed +++ /dev/null @@ -1,83 +0,0 @@ ---- -parsed_sample: - -- vpn_ctx: "0x01177414" - peer_ip: "10.10.200.25" - pointer: "0xCC11B670" - state: "UP+DIP" - flags: "DECR+ESP+NATT" - sa: "0x0DA8FA2F" - spi: "0x4F456306" - group: "1" - pkts: "8092" - bad_pkts: "1" - bad_spi: "1" - spoof: "1" - bad_crypto: "1" - rekey_pkt: "3" - rekey_call: "3" - vpn_filter: "" -- vpn_ctx: "0x0116C1F4" - peer_ip: "10.10.200.25" - pointer: "0xCC11A688" - state: "UP+DIP" - flags: "ENCR+ESP+NATT" - sa: "0x0DAB083D" - spi: "0xDB16183C" - group: "1" - pkts: "7972" - bad_pkts: "1" - bad_spi: "1" - spoof: "1" - bad_crypto: "1" - rekey_pkt: "3" - rekey_call: "3" - vpn_filter: "" -- vpn_ctx: "0x01155524" - peer_ip: "10.11.200.23" - pointer: "0xCC05C8F0" - state: "UP" - flags: "DECR+ESP+PRESERVE" - sa: "0x0DACF9C5" - spi: "0x0F51782D" - group: "1" - pkts: "27257" - bad_pkts: "0" - bad_spi: "0" - spoof: "0" - bad_crypto: "0" - rekey_pkt: "5" - rekey_call: "5" - vpn_filter: "VPN-ACL-1" -- vpn_ctx: "0x0114BD44" - peer_ip: "10.11.200.23" - pointer: "0xC848E250" - state: "UP" - flags: "ENCR+ESP+PRESERVE" - sa: "0x0DAE8F1B" - spi: "0x4ACE6F27" - group: "1" - pkts: "24194" - bad_pkts: "0" - bad_spi: "0" - spoof: "0" - bad_crypto: "0" - rekey_pkt: "5" - rekey_call: "5" - vpn_filter: "VPN-ACL-1" -- vpn_ctx: "0x0114044C" - peer_ip: "10.12.200.22" - pointer: "0xCC11C010" - state: "UP" - flags: "DECR+ESP+NATT" - sa: "0x0DA50609" - spi: "0xDEFE481D" - group: "1" - pkts: "2495" - bad_pkts: "0" - bad_spi: "0" - spoof: "0" - bad_crypto: "0" - rekey_pkt: "5" - rekey_call: "5" - vpn_filter: "" diff --git a/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.yml b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.yml new file mode 100644 index 0000000000..ec02cf42b3 --- /dev/null +++ b/tests/cisco_asa/show_asp_table_vpn-context_detail/cisco_asa_show_asp_table_vpn-context_detail.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - vpn_ctx: "0x01177414" + peer_ip: "10.10.200.25" + pointer: "0xCC11B670" + state: "UP+DIP" + flags: "DECR+ESP+NATT" + sa: "0x0DA8FA2F" + spi: "0x4F456306" + group: "1" + pkts: "8092" + bad_pkts: "1" + bad_spi: "1" + spoof: "1" + bad_crypto: "1" + rekey_pkt: "3" + rekey_call: "3" + vpn_filter: "" + - vpn_ctx: "0x0116C1F4" + peer_ip: "10.10.200.25" + pointer: "0xCC11A688" + state: "UP+DIP" + flags: "ENCR+ESP+NATT" + sa: "0x0DAB083D" + spi: "0xDB16183C" + group: "1" + pkts: "7972" + bad_pkts: "1" + bad_spi: "1" + spoof: "1" + bad_crypto: "1" + rekey_pkt: "3" + rekey_call: "3" + vpn_filter: "" + - vpn_ctx: "0x01155524" + peer_ip: "10.11.200.23" + pointer: "0xCC05C8F0" + state: "UP" + flags: "DECR+ESP+PRESERVE" + sa: "0x0DACF9C5" + spi: "0x0F51782D" + group: "1" + pkts: "27257" + bad_pkts: "0" + bad_spi: "0" + spoof: "0" + bad_crypto: "0" + rekey_pkt: "5" + rekey_call: "5" + vpn_filter: "VPN-ACL-1" + - vpn_ctx: "0x0114BD44" + peer_ip: "10.11.200.23" + pointer: "0xC848E250" + state: "UP" + flags: "ENCR+ESP+PRESERVE" + sa: "0x0DAE8F1B" + spi: "0x4ACE6F27" + group: "1" + pkts: "24194" + bad_pkts: "0" + bad_spi: "0" + spoof: "0" + bad_crypto: "0" + rekey_pkt: "5" + rekey_call: "5" + vpn_filter: "VPN-ACL-1" + - vpn_ctx: "0x0114044C" + peer_ip: "10.12.200.22" + pointer: "0xCC11C010" + state: "UP" + flags: "DECR+ESP+NATT" + sa: "0x0DA50609" + spi: "0xDEFE481D" + group: "1" + pkts: "2495" + bad_pkts: "0" + bad_spi: "0" + spoof: "0" + bad_crypto: "0" + rekey_pkt: "5" + rekey_call: "5" + vpn_filter: "" diff --git a/tests/cisco_asa/show_crypto_ikev1_sa_detail/cisco_asa_show_crypto_ikev1_sa_detail.parsed b/tests/cisco_asa/show_crypto_ikev1_sa_detail/cisco_asa_show_crypto_ikev1_sa_detail.yml similarity index 98% rename from tests/cisco_asa/show_crypto_ikev1_sa_detail/cisco_asa_show_crypto_ikev1_sa_detail.parsed rename to tests/cisco_asa/show_crypto_ikev1_sa_detail/cisco_asa_show_crypto_ikev1_sa_detail.yml index c9b9c93ad8..9c2b168f3c 100644 --- a/tests/cisco_asa/show_crypto_ikev1_sa_detail/cisco_asa_show_crypto_ikev1_sa_detail.parsed +++ b/tests/cisco_asa/show_crypto_ikev1_sa_detail/cisco_asa_show_crypto_ikev1_sa_detail.yml @@ -1,5 +1,5 @@ --- -parsed_sample: +parsed_sample: - sequence: "1" peer: "209.165.200.225" type: "User" diff --git a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.parsed b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml similarity index 99% rename from tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.parsed rename to tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml index 02cfb7dae6..3358ed0084 100644 --- a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.parsed +++ b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml @@ -1,6 +1,5 @@ --- parsed_sample: - - interface: "outside2" crypto_map_tag: "def" sequence_number: "" diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed deleted file mode 100644 index fc02dfe8b3..0000000000 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failover.parsed +++ /dev/null @@ -1,31 +0,0 @@ ---- -parsed_sample: - - state: "On" - role: "Primary" - lan_intf_name: "failover" - lan_intf: "GigabitEthernet0/4" - lan_intf_state: "up" - sw_version: "98.1(1)86" - sw_version_mate: "98.1(1)86" - failover_group: [None] - last_failover_time: ["12:52:34"] - last_failover_timezone: ["UTC"] - last_failover_month: ["Apr"] - last_failover_day: ["26"] - last_failover_year: ["2017"] - service_state: ["Active"] - service_state_mate: ["Standby Ready"] - ssp_slot: ["0"] - ssp_model: ["ASA5585-SSP-10"] - ssp_status: ["Up"] - ssp_slot_mate: ["0"] - ssp_model_mate: ["ASA5585-SSP-10"] - ssp_status_mate: ["Up"] - interfaces_context: [None, None, None] - interfaces: ["inside", "outside", "dmz"] - interfaces_status: ["Normal", "No Link", "No Link"] - interfaces_state: ["Monitored", "Waiting", "Waiting"] - interfaces_context_mate: [None, None, None] - interfaces_mate: ["inside", "outside", "dmz"] - interfaces_status_mate: ["Normal", "No Link", "No Link"] - interfaces_state_mate: ["Waiting", "Waiting", "Waiting"] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover.yml b/tests/cisco_asa/show_failover/cisco_asa_show_failover.yml new file mode 100644 index 0000000000..562742fb47 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover.yml @@ -0,0 +1,69 @@ +--- +parsed_sample: + - state: "On" + role: "Primary" + lan_intf_name: "failover" + lan_intf: "GigabitEthernet0/4" + lan_intf_state: "up" + sw_version: "98.1(1)86" + sw_version_mate: "98.1(1)86" + failover_group: + - "None" + last_failover_time: + - "12:52:34" + last_failover_timezone: + - "UTC" + last_failover_month: + - "Apr" + last_failover_day: + - "26" + last_failover_year: + - "2017" + service_state: + - "Active" + service_state_mate: + - "Standby Ready" + ssp_slot: + - "0" + ssp_model: + - "ASA5585-SSP-10" + ssp_status: + - "Up" + ssp_slot_mate: + - "0" + ssp_model_mate: + - "ASA5585-SSP-10" + ssp_status_mate: + - "Up" + interfaces_context: + - "None" + - "None" + - "None" + interfaces: + - "inside" + - "outside" + - "dmz" + interfaces_status: + - "Normal" + - "No Link" + - "No Link" + interfaces_state: + - "Monitored" + - "Waiting" + - "Waiting" + interfaces_context_mate: + - "None" + - "None" + - "None" + interfaces_mate: + - "inside" + - "outside" + - "dmz" + interfaces_status_mate: + - "Normal" + - "No Link" + - "No Link" + interfaces_state_mate: + - "Waiting" + - "Waiting" + - "Waiting" diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed deleted file mode 100644 index f5de40d77f..0000000000 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.parsed +++ /dev/null @@ -1,31 +0,0 @@ ---- -parsed_sample: - - state: "On" - role: "Primary" - lan_intf_name: "failover" - lan_intf: "GigabitEthernet0/5" - lan_intf_state: "up" - sw_version: "8.6(1)2" - sw_version_mate: "8.6(1)2" - failover_group: [None] - last_failover_time: ["19:14:57"] - last_failover_timezone: ["UTC"] - last_failover_month: ["Oct"] - last_failover_day: ["17"] - last_failover_year: ["2018"] - service_state: ["Active"] - service_state_mate: ["Failed"] - ssp_slot: ["0", "1"] - ssp_model: ["ASA5512", "IPS5512"] - ssp_status: ["Up", "Up/Up"] - ssp_slot_mate: ["0", "1"] - ssp_model_mate: ["ASA5512", "IPS5512"] - ssp_status_mate: ["Up", "Unresponsive/Up"] - interfaces_context: [None] - interfaces: ["management"] - interfaces_status: ["Normal"] - interfaces_state: ["Monitored"] - interfaces_context_mate: [None] - interfaces_mate: ["management"] - interfaces_status_mate: ["Normal"] - interfaces_state_mate: ["Monitored"] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover2.yml b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.yml new file mode 100644 index 0000000000..723a89d025 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover2.yml @@ -0,0 +1,59 @@ +--- +parsed_sample: + - state: "On" + role: "Primary" + lan_intf_name: "failover" + lan_intf: "GigabitEthernet0/5" + lan_intf_state: "up" + sw_version: "8.6(1)2" + sw_version_mate: "8.6(1)2" + failover_group: + - "None" + last_failover_time: + - "19:14:57" + last_failover_timezone: + - "UTC" + last_failover_month: + - "Oct" + last_failover_day: + - "17" + last_failover_year: + - "2018" + service_state: + - "Active" + service_state_mate: + - "Failed" + ssp_slot: + - "0" + - "1" + ssp_model: + - "ASA5512" + - "IPS5512" + ssp_status: + - "Up" + - "Up/Up" + ssp_slot_mate: + - "0" + - "1" + ssp_model_mate: + - "ASA5512" + - "IPS5512" + ssp_status_mate: + - "Up" + - "Unresponsive/Up" + interfaces_context: + - "None" + interfaces: + - "management" + interfaces_status: + - "Normal" + interfaces_state: + - "Monitored" + interfaces_context_mate: + - "None" + interfaces_mate: + - "management" + interfaces_status_mate: + - "Normal" + interfaces_state_mate: + - "Monitored" diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed deleted file mode 100644 index ad0362771d..0000000000 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.parsed +++ /dev/null @@ -1,31 +0,0 @@ ---- -parsed_sample: - - state: "On" - role: "Primary" - lan_intf_name: "fover" - lan_intf: "Vlan150" - lan_intf_state: "up" - sw_version: "7.2(0)55" - sw_version_mate: "7.2(0)55" - failover_group: [None] - last_failover_time: ["19:59:58"] - last_failover_timezone: ["PST"] - last_failover_month: ["Apr"] - last_failover_day: ["6"] - last_failover_year: ["2006"] - service_state: ["Active"] - service_state_mate: ["Standby Ready"] - ssp_slot: ["0"] - ssp_model: ["ASA5505"] - ssp_status: ["Up"] - ssp_slot_mate: ["0"] - ssp_model_mate: ["ASA5505"] - ssp_status_mate: ["Up"] - interfaces_context: [None, None, None, None] - interfaces: ["inside", "outside", "dmz", "test"] - interfaces_status: ["Normal", "Normal", "Normal", "Normal"] - interfaces_state: [None, None, None, None] - interfaces_context_mate: [None, None, None, None] - interfaces_mate: ["inside", "outside", "dmz", "test"] - interfaces_status_mate: ["Normal", "Normal", "Normal", "Normal"] - interfaces_state_mate: [None, None, None, None] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.yml b/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.yml new file mode 100644 index 0000000000..71ac6d933c --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover5505.yml @@ -0,0 +1,77 @@ +--- +parsed_sample: + - state: "On" + role: "Primary" + lan_intf_name: "fover" + lan_intf: "Vlan150" + lan_intf_state: "up" + sw_version: "7.2(0)55" + sw_version_mate: "7.2(0)55" + failover_group: + - "None" + last_failover_time: + - "19:59:58" + last_failover_timezone: + - "PST" + last_failover_month: + - "Apr" + last_failover_day: + - "6" + last_failover_year: + - "2006" + service_state: + - "Active" + service_state_mate: + - "Standby Ready" + ssp_slot: + - "0" + ssp_model: + - "ASA5505" + ssp_status: + - "Up" + ssp_slot_mate: + - "0" + ssp_model_mate: + - "ASA5505" + ssp_status_mate: + - "Up" + interfaces_context: + - "None" + - "None" + - "None" + - "None" + interfaces: + - "inside" + - "outside" + - "dmz" + - "test" + interfaces_status: + - "Normal" + - "Normal" + - "Normal" + - "Normal" + interfaces_state: + - "None" + - "None" + - "None" + - "None" + interfaces_context_mate: + - "None" + - "None" + - "None" + - "None" + interfaces_mate: + - "inside" + - "outside" + - "dmz" + - "test" + interfaces_status_mate: + - "Normal" + - "Normal" + - "Normal" + - "Normal" + interfaces_state_mate: + - "None" + - "None" + - "None" + - "None" diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.parsed deleted file mode 100644 index 1db9def142..0000000000 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.parsed +++ /dev/null @@ -1,32 +0,0 @@ ---- -parsed_sample: - - state: "On" - role: "Secondary" - lan_intf_name: "FAILOVER" - lan_intf: "Port-channel1" - lan_intf_state: "up" - sw_version: "9.6(4)5" - sw_version_mate: "9.6(4)5" - failover_group: [None] - last_failover_time: ["15:04:07"] - last_failover_timezone: ["MET"] - last_failover_month: ["Feb"] - last_failover_day: ["21"] - last_failover_year: ["2019"] - service_state: ["Active"] - service_state_mate: ["Standby Ready"] - ssp_slot: ["1", "2"] - ssp_model: ["ASA5516", "SFR5516"] - ssp_status: ["Up", "Up/Up"] - ssp_slot_mate: ["1", "2"] - ssp_model_mate: ["ASA5516", "SFR5516"] - ssp_status_mate: ["Up", "Up/Up"] - interfaces_context: [None, None, None] - interfaces: ["outside", "dmz", "inside"] - interfaces_status: ["Normal", "Normal", "Normal"] - interfaces_state: ["Waiting", "Monitored", "Monitored"] - interfaces_context_mate: [None, None, None] - interfaces_mate: ["outside", "dmz", "inside"] - interfaces_status_mate: ["Normal", "Normal", "Normal"] - interfaces_state_mate: ["Waiting", "Monitored", "Monitored"] - diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.yml b/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.yml new file mode 100644 index 0000000000..fe2827a9fb --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover_firepower.yml @@ -0,0 +1,75 @@ +--- +parsed_sample: + - state: "On" + role: "Secondary" + lan_intf_name: "FAILOVER" + lan_intf: "Port-channel1" + lan_intf_state: "up" + sw_version: "9.6(4)5" + sw_version_mate: "9.6(4)5" + failover_group: + - "None" + last_failover_time: + - "15:04:07" + last_failover_timezone: + - "MET" + last_failover_month: + - "Feb" + last_failover_day: + - "21" + last_failover_year: + - "2019" + service_state: + - "Active" + service_state_mate: + - "Standby Ready" + ssp_slot: + - "1" + - "2" + ssp_model: + - "ASA5516" + - "SFR5516" + ssp_status: + - "Up" + - "Up/Up" + ssp_slot_mate: + - "1" + - "2" + ssp_model_mate: + - "ASA5516" + - "SFR5516" + ssp_status_mate: + - "Up" + - "Up/Up" + interfaces_context: + - "None" + - "None" + - "None" + interfaces: + - "outside" + - "dmz" + - "inside" + interfaces_status: + - "Normal" + - "Normal" + - "Normal" + interfaces_state: + - "Waiting" + - "Monitored" + - "Monitored" + interfaces_context_mate: + - "None" + - "None" + - "None" + interfaces_mate: + - "outside" + - "dmz" + - "inside" + interfaces_status_mate: + - "Normal" + - "Normal" + - "Normal" + interfaces_state_mate: + - "Waiting" + - "Monitored" + - "Monitored" diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed b/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed deleted file mode 100644 index 1833edb05d..0000000000 --- a/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.parsed +++ /dev/null @@ -1,31 +0,0 @@ ---- -parsed_sample: - - state: "On" - role: "Primary" - lan_intf_name: "folink" - lan_intf: "GigabitEthernet0/2" - lan_intf_state: "up" - sw_version: "" - sw_version_mate: "" - failover_group: ["1", "2"] - last_failover_time: ["13:40:18", "13:40:06"] - last_failover_timezone: ["UTC", "UTC"] - last_failover_month: ["Dec", "Dec"] - last_failover_day: ["9", "9"] - last_failover_year: ["2004", "2004"] - service_state: ["Active", "Standby Ready"] - service_state_mate: ["Standby Ready", "Active"] - ssp_slot: ["0"] - ssp_model: ["ASA-5545"] - ssp_status: ["Up"] - ssp_slot_mate: ["0"] - ssp_model_mate: ["ASA-5545"] - ssp_status_mate: ["Up"] - interfaces_context: ["admin", "admin", "admin", "admin", "ctx1", "ctx1", "ctx2", "ctx2"] - interfaces: ["outside", "folink", "inside", "fourth", "outside", "inside", "outside", "inside"] - interfaces_status: ["Normal", "Normal", "Normal", "Normal", "Normal", "Normal", "Normal", "Normal"] - interfaces_state: [None, None, None, None, None, None, None, None] - interfaces_context_mate: ["admin", "admin", "admin", "admin", "ctx1", "ctx1", "ctx2", "ctx2"] - interfaces_mate: ["outside", "folink", "inside", "fourth", "outside", "inside", "outside", "inside"] - interfaces_status_mate: ["Normal", "Normal", "Normal", "Normal", "Normal", "Normal", "Normal", "Normal"] - interfaces_state_mate: [None, None, None, None, None, None, None, None] diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.yml b/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.yml new file mode 100644 index 0000000000..f56ab8fe26 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failoveractiveactive.yml @@ -0,0 +1,117 @@ +--- +parsed_sample: + - state: "On" + role: "Primary" + lan_intf_name: "folink" + lan_intf: "GigabitEthernet0/2" + lan_intf_state: "up" + sw_version: "" + sw_version_mate: "" + failover_group: + - "1" + - "2" + last_failover_time: + - "13:40:18" + - "13:40:06" + last_failover_timezone: + - "UTC" + - "UTC" + last_failover_month: + - "Dec" + - "Dec" + last_failover_day: + - "9" + - "9" + last_failover_year: + - "2004" + - "2004" + service_state: + - "Active" + - "Standby Ready" + service_state_mate: + - "Standby Ready" + - "Active" + ssp_slot: + - "0" + ssp_model: + - "ASA-5545" + ssp_status: + - "Up" + ssp_slot_mate: + - "0" + ssp_model_mate: + - "ASA-5545" + ssp_status_mate: + - "Up" + interfaces_context: + - "admin" + - "admin" + - "admin" + - "admin" + - "ctx1" + - "ctx1" + - "ctx2" + - "ctx2" + interfaces: + - "outside" + - "folink" + - "inside" + - "fourth" + - "outside" + - "inside" + - "outside" + - "inside" + interfaces_status: + - "Normal" + - "Normal" + - "Normal" + - "Normal" + - "Normal" + - "Normal" + - "Normal" + - "Normal" + interfaces_state: + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + interfaces_context_mate: + - "admin" + - "admin" + - "admin" + - "admin" + - "ctx1" + - "ctx1" + - "ctx2" + - "ctx2" + interfaces_mate: + - "outside" + - "folink" + - "inside" + - "fourth" + - "outside" + - "inside" + - "outside" + - "inside" + interfaces_status_mate: + - "Normal" + - "Normal" + - "Normal" + - "Normal" + - "Normal" + - "Normal" + - "Normal" + - "Normal" + interfaces_state_mate: + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" + - "None" diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface.parsed b/tests/cisco_asa/show_interface/cisco_asa_show_interface.parsed deleted file mode 100644 index 361248e445..0000000000 --- a/tests/cisco_asa/show_interface/cisco_asa_show_interface.parsed +++ /dev/null @@ -1,147 +0,0 @@ ---- -parsed_sample: - -- address: fa16.3eb0.c3d3 - bandwidth: 1000 Mbps - delay: 10 usec - description: to iosv-1 - duplex: Full-duplex - fivemin_drop_rate: '0' - fivemin_in_pps: '0' - fivemin_in_rate: '0' - fivemin_out_pps: '0' - fivemin_out_rate: '0' - hardware_type: i82540EM rev03 - interface: GigabitEthernet0/0 - interface_zone: outside - ip_address: 10.0.0.5 - link_status: up - mtu: '1500' - net_mask: 255.255.255.252 - onemin_drop_rate: '0' - onemin_in_pps: '0' - onemin_in_rate: '0' - onemin_out_pps: '0' - onemin_out_rate: '0' - protocol_status: up - speed: 1000 Mbps -- address: fa16.3ed1.7e26 - bandwidth: 1000 Mbps - delay: 10 usec - description: to iosv-2 - duplex: Full-duplex - fivemin_drop_rate: '0' - fivemin_in_pps: '0' - fivemin_in_rate: '0' - fivemin_out_pps: '0' - fivemin_out_rate: '0' - hardware_type: i82540EM rev03 - interface: GigabitEthernet0/1 - interface_zone: outside-1 - ip_address: 10.0.0.13 - link_status: up - mtu: '1500' - net_mask: 255.255.255.252 - onemin_drop_rate: '0' - onemin_in_pps: '0' - onemin_in_rate: '0' - onemin_out_pps: '0' - onemin_out_rate: '0' - protocol_status: up - speed: 1000 Mbps -- address: fa16.3e1c.d1c3 - bandwidth: 1000 Mbps - delay: 10 usec - description: OOB Management - duplex: Full-duplex - fivemin_drop_rate: '0' - fivemin_in_pps: '0' - fivemin_in_rate: '91' - fivemin_out_pps: '0' - fivemin_out_rate: '11' - hardware_type: i82540EM rev03 - interface: Management0/0 - interface_zone: mgmt - ip_address: 172.16.1.222 - link_status: up - mtu: '1500' - net_mask: 255.255.255.0 - onemin_drop_rate: '0' - onemin_in_pps: '1' - onemin_in_rate: '79' - onemin_out_pps: '1' - onemin_out_rate: '117' - protocol_status: up - speed: 1000 Mbps -- address: 'fa16.3eb0.c3d3' - bandwidth: '' - delay: '' - description: 'DMZ (Vl3)' - duplex: '' - fivemin_drop_rate: '' - fivemin_in_pps: '' - fivemin_in_rate: '' - fivemin_out_pps: '' - fivemin_out_rate: '' - hardware_type: '' - interface: 'DMZ' - interface_zone: 'DMZ' - ip_address: '10.6.2.1' - link_status: 'up' - mtu: '1500' - net_mask: '255.255.255.0' - onemin_drop_rate: '' - onemin_in_pps: '' - onemin_in_rate: '' - onemin_out_pps: '' - onemin_out_rate: '' - protocol_status: 'up' - speed: '' -- address: 'fa16.3eb0.c3d3' - bandwidth: '' - delay: '' - description: 'outside(Vl2)' - duplex: '' - fivemin_drop_rate: '' - fivemin_in_pps: '' - fivemin_in_rate: '' - fivemin_out_pps: '' - fivemin_out_rate: '' - hardware_type: '' - interface: 'outside' - interface_zone: 'outside-3' - ip_address: '10.12.16.237' - link_status: 'up' - mtu: '1500' - net_mask: '255.255.255.248' - onemin_drop_rate: '' - onemin_in_pps: '' - onemin_in_rate: '' - onemin_out_pps: '' - onemin_out_rate: '' - protocol_status: 'up' - speed: '' -- address: 'fa16.3eb0.c3d3' - bandwidth: '' - delay: '' - description: '' - duplex: '' - fivemin_drop_rate: '' - fivemin_in_pps: '' - fivemin_in_rate: '' - fivemin_out_pps: '' - fivemin_out_rate: '' - hardware_type: '' - interface: 'inside' - interface_zone: 'inside' - ip_address: '10.6.10.1' - link_status: 'up' - mtu: '1500' - net_mask: '255.255.255.0' - onemin_drop_rate: '' - onemin_in_pps: '' - onemin_in_rate: '' - onemin_out_pps: '' - onemin_out_rate: '' - protocol_status: 'up' - speed: '' diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml new file mode 100644 index 0000000000..3868812e5f --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface.yml @@ -0,0 +1,146 @@ +--- +parsed_sample: + - address: "fa16.3eb0.c3d3" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "to iosv-1" + duplex: "Full-duplex" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + hardware_type: "i82540EM rev03" + interface: "GigabitEthernet0/0" + interface_zone: "outside" + ip_address: "10.0.0.5" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.252" + onemin_drop_rate: "0" + onemin_in_pps: "0" + onemin_in_rate: "0" + onemin_out_pps: "0" + onemin_out_rate: "0" + protocol_status: "up" + speed: "1000 Mbps" + - address: "fa16.3ed1.7e26" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "to iosv-2" + duplex: "Full-duplex" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + hardware_type: "i82540EM rev03" + interface: "GigabitEthernet0/1" + interface_zone: "outside-1" + ip_address: "10.0.0.13" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.252" + onemin_drop_rate: "0" + onemin_in_pps: "0" + onemin_in_rate: "0" + onemin_out_pps: "0" + onemin_out_rate: "0" + protocol_status: "up" + speed: "1000 Mbps" + - address: "fa16.3e1c.d1c3" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "OOB Management" + duplex: "Full-duplex" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "91" + fivemin_out_pps: "0" + fivemin_out_rate: "11" + hardware_type: "i82540EM rev03" + interface: "Management0/0" + interface_zone: "mgmt" + ip_address: "172.16.1.222" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.0" + onemin_drop_rate: "0" + onemin_in_pps: "1" + onemin_in_rate: "79" + onemin_out_pps: "1" + onemin_out_rate: "117" + protocol_status: "up" + speed: "1000 Mbps" + - address: "fa16.3eb0.c3d3" + bandwidth: "" + delay: "" + description: "DMZ (Vl3)" + duplex: "" + fivemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + hardware_type: "" + interface: "DMZ" + interface_zone: "DMZ" + ip_address: "10.6.2.1" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.0" + onemin_drop_rate: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + protocol_status: "up" + speed: "" + - address: "fa16.3eb0.c3d3" + bandwidth: "" + delay: "" + description: "outside(Vl2)" + duplex: "" + fivemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + hardware_type: "" + interface: "outside" + interface_zone: "outside-3" + ip_address: "10.12.16.237" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.248" + onemin_drop_rate: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + protocol_status: "up" + speed: "" + - address: "fa16.3eb0.c3d3" + bandwidth: "" + delay: "" + description: "" + duplex: "" + fivemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + hardware_type: "" + interface: "inside" + interface_zone: "inside" + ip_address: "10.6.10.1" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.0" + onemin_drop_rate: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + protocol_status: "up" + speed: "" diff --git a/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.parsed b/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.parsed deleted file mode 100644 index 631308290d..0000000000 --- a/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.parsed +++ /dev/null @@ -1,1635 +0,0 @@ ---- -parsed_sample: - -- abort: '0' - address: f0f7.5543.a522 - bandwidth: 1000 Mbps - bonded_port: '' - broadcasts: '18' - collisions: '0' - control_interface_config_status: active - control_interface_number: '8' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: LAN Failover Interface - duplex: Full - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '26646683366' - in_errors: '0' - in_packets: '200840360' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: GigabitEthernet0/0 - interface_name: folink - interface_resets: '0' - ip_address: 11.1.1.1 - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: '1500' - net_mask: 255.255.255.252 - no_buffer: '0' - out_bytes: '23362268244' - out_decode_drops: '' - out_errors: '0' - out_packets: '164279548' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: up - rate_limit_drops: '0' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 1000 Mbps - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: f0f7.5543.a523 - bandwidth: 1000 Mbps - bonded_port: '' - broadcasts: '2' - collisions: '0' - control_interface_config_status: active - control_interface_number: '9' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: STATE Failover Interface - duplex: Full - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '11507372449' - in_errors: '0' - in_packets: '96629806' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: GigabitEthernet0/1 - interface_name: statelink - interface_resets: '0' - ip_address: 12.1.1.1 - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: '1500' - net_mask: 255.255.255.252 - no_buffer: '0' - out_bytes: '834717617298' - out_decode_drops: '' - out_errors: '0' - out_packets: '758965289' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: up - rate_limit_drops: '0' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 1000 Mbps - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: 'f0f7.5543.a524' - bandwidth: 1000 Mbps - bonded_port: '' - broadcasts: '0' - collisions: '0' - control_interface_config_status: 'not active' - control_interface_number: '10' - control_interface_state: 'not active' - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Auto' - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '0' - in_errors: '0' - in_packets: '0' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: GigabitEthernet0/2 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: administratively down - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '0' - out_decode_drops: '' - out_errors: '0' - out_packets: '0' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: down - rate_limit_drops: '0' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 'Auto' - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: 'f0f7.5543.a525' - bandwidth: 1000 Mbps - bonded_port: '' - broadcasts: '0' - collisions: '0' - control_interface_config_status: 'not active' - control_interface_number: '11' - control_interface_state: 'not active' - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Auto' - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '0' - in_errors: '0' - in_packets: '0' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: GigabitEthernet0/3 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: administratively down - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '0' - out_decode_drops: '' - out_errors: '0' - out_packets: '0' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: down - rate_limit_drops: '0' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 'Auto' - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: 'f0f7.5543.a526' - bandwidth: 1000 Mbps - bonded_port: '' - broadcasts: '0' - collisions: '0' - control_interface_config_status: 'not active' - control_interface_number: '12' - control_interface_state: 'not active' - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Auto' - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '0' - in_errors: '0' - in_packets: '0' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: GigabitEthernet0/4 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: administratively down - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '0' - out_decode_drops: '' - out_errors: '0' - out_packets: '0' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: down - rate_limit_drops: '0' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 'Auto' - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: 'f0f7.5543.a527' - bandwidth: 1000 Mbps - bonded_port: '' - broadcasts: '0' - collisions: '0' - control_interface_config_status: 'not active' - control_interface_number: '13' - control_interface_state: 'not active' - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Auto' - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '0' - in_errors: '0' - in_packets: '0' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: GigabitEthernet0/5 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: administratively down - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '0' - out_decode_drops: '' - out_errors: '0' - out_packets: '0' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: down - rate_limit_drops: '0' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 'Auto' - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: '0000.0001.0001' - bandwidth: 10000 Mbps - bonded_port: '' - broadcasts: '193961' - collisions: '0' - control_interface_config_status: active - control_interface_number: '2' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Full' - flowcontrol_in: 'on' - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: i82599_xaui rev02 - ignored: '0' - in_bytes: '27999317462474' - in_errors: '50017' - in_packets: '40694905620' - in_pause: '0' - in_pause_resume: '' - in_reset_drops: '0' - in_resume: '0' - interface: Internal-Data0/0 - interface_name: '' - interface_resets: '1' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '19710792216623' - out_decode_drops: '0' - out_errors: '0' - out_packets: '22840594539' - out_pause: '0' - out_pause_resume: '' - out_reset_drops: '0' - out_resume: '0' - overrun: '50017' - protocol_status: up - rate_limit_drops: '' - runts: '0' - rxring_blocks_free_curr: ['511', '511', '511', '511', '511'] - rxring_blocks_free_low: ['311', '311', '339', '369', '507'] - rxring_bytes: ['8613178051164', '6924744308770', '5930247361074', '6508202351390', '22945468790'] - rxring_interface: [] - rxring_number: ['00', '01', '02', '03', '04'] - rxring_overrun: ['33671', '3892', '5983', '6471', '0'] - rxring_packets: ['11928867434', '9936555115', '8885121010', '9774040102', '170322028'] - speed: '10000 Mbps' - switch_egress_policy_drops: '' - switch_ingress_policy_drops: '' - txring_blocks_free_curr: ['511', '511', '511', '511', '511', '511'] - txring_blocks_free_low: ['349', '350', '350', '350', '507', '486'] - txring_bytes: ['6276748798963', '4562626128086', '3813812735685', '4195831926616', '24019250372', '837753453654'] - txring_interface: ['GigabitEthernet0/0', 'GigabitEthernet0/1'] - txring_number: ['00', '01', '02', '03', '04', '05'] - txring_packets: ['7034786488', '5193693399', '4620598548', '5068271291', '164279550', '758965324'] - txring_underrun: ['0', '0', '0', '0', '0', '0'] - underruns: '0' - vlan: '' -- abort: '0' - address: '0000.0001.0002' - bandwidth: 10000 Mbps - bonded_port: '' - broadcasts: '237991' - collisions: '0' - control_interface_config_status: active - control_interface_number: '3' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Full' - flowcontrol_in: 'on' - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: i82599_xaui rev02 - ignored: '0' - in_bytes: '34934209914110' - in_errors: '5073' - in_packets: '53468958544' - in_pause: '0' - in_pause_resume: '' - in_reset_drops: '0' - in_resume: '0' - interface: Internal-Data0/1 - interface_name: '' - interface_resets: '1' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '20171793812896' - out_decode_drops: '0' - out_errors: '0' - out_packets: '29187689876' - out_pause: '0' - out_pause_resume: '' - out_reset_drops: '0' - out_resume: '0' - overrun: '5073' - protocol_status: up - rate_limit_drops: '' - runts: '0' - rxring_blocks_free_curr: ['511', '511', '511', '511'] - rxring_blocks_free_low: ['358', '394', '359', '389'] - rxring_bytes: ['12717109454320', '6735149484197', '8351432550533', '7130518429589'] - rxring_interface: [] - rxring_number: ['00', '01', '02', '03'] - rxring_overrun: ['1026', '2704', '801', '542'] - rxring_packets: ['15538406285', '9970135924', '17849754640', '10110661702'] - speed: '10000 Mbps' - switch_egress_policy_drops: '' - switch_ingress_policy_drops: '' - txring_blocks_free_curr: ['511', '511', '511', '511', '511', '511', '511'] - txring_blocks_free_low: ['349', '351', '345', '342', '511', '511', '511'] - txring_bytes: ['4975556841210', '4268946532826', '6045848459484', '4881441983697', '0', '0', '0'] - txring_interface: ['GigabitEthernet0/2', 'GigabitEthernet0/3', 'GigabitEthernet0/4'] - txring_number: ['00', '01', '02', '03', '04', '05', '06'] - txring_packets: ['5792237421', '4768859986', '12970769201', '5655823274', '0', '0', '0'] - txring_underrun: ['0', '0', '0', '0', '0', '0', '0'] - underruns: '0' - vlan: '' -- abort: '0' - address: '0000.0001.0004' - bandwidth: 10000 Mbps - bonded_port: '' - broadcasts: '98334' - collisions: '0' - control_interface_config_status: active - control_interface_number: '4' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Full' - flowcontrol_in: 'on' - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: i82599_xaui rev02 - ignored: '0' - in_bytes: '39482314595060' - in_errors: '10907' - in_packets: '58606970185' - in_pause: '523' - in_pause_resume: '' - in_reset_drops: '0' - in_resume: '523' - interface: Internal-Data0/2 - interface_name: '' - interface_resets: '1' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '173237932025004' - out_decode_drops: '0' - out_errors: '0' - out_packets: '472460832718' - out_pause: '0' - out_pause_resume: '' - out_reset_drops: '0' - out_resume: '0' - overrun: '10907' - protocol_status: up - rate_limit_drops: '' - runts: '0' - rxring_blocks_free_curr: ['511', '511', '511', '511'] - rxring_blocks_free_low: ['384', '396', '384', '394'] - rxring_bytes: ['8861585758086', '14845677833920', '7489829408483', '8285221609828'] - rxring_interface: [] - rxring_number: ['00', '01', '02', '03'] - rxring_overrun: ['5515', '3134', '858', '1400'] - rxring_packets: ['13231072890', '20193376457', '12027933127', '13154587757'] - speed: '10000 Mbps' - switch_egress_policy_drops: '' - switch_ingress_policy_drops: '' - txring_blocks_free_curr: ['511', '510', '511', '505', '511', '508', '511'] - txring_blocks_free_low: ['349', '349', '342', '311', '511', '0', '170'] - txring_bytes: ['6472090504001', '12645630943922', '5085252075635', '4988646702498', '0', '127322520663605', '16723791170491'] - txring_interface: ['TenGigabitEthernet0/6', 'TenGigabitEthernet0/9', 'TenGigabitEthernet0/8'] - txring_number: ['00', '01', '02', '03', '04', '05', '06'] - txring_packets: ['7589052992', '15755071022', '6680981379', '6484398780', '0', '415140458466', '20810870169'] - txring_underrun: ['0', '0', '0', '0', '0', '2905646', '0'] - underruns: '2905646' - vlan: '' -- abort: '0' - address: '0000.0001.0003' - bandwidth: 10000 Mbps - bonded_port: '' - broadcasts: '53915' - collisions: '0' - control_interface_config_status: active - control_interface_number: '5' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Full' - flowcontrol_in: 'on' - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: i82599_xaui rev02 - ignored: '0' - in_bytes: '549651226348272' - in_errors: '457910371' - in_packets: '851725855606' - in_pause: '0' - in_pause_resume: '' - in_reset_drops: '0' - in_resume: '0' - interface: Internal-Data0/3 - interface_name: '' - interface_resets: '1' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '439462480886576' - out_decode_drops: '0' - out_errors: '0' - out_packets: '479068686555' - out_pause: '0' - out_pause_resume: '' - out_reset_drops: '0' - out_resume: '0' - overrun: '457910371' - protocol_status: up - rate_limit_drops: '' - runts: '0' - rxring_blocks_free_curr: ['511', '511', '511', '511'] - rxring_blocks_free_low: ['377', '340', '152', '362'] - rxring_bytes: ['6455848237095', '7108517208857', '528392087186847', '7694773726910'] - rxring_interface: [] - rxring_number: ['00', '01', '02', '03'] - rxring_overrun: ['11242', '8535', '457881225', '9369'] - rxring_packets: ['9317849354', '12456612163', '818537242486', '11414151630'] - speed: '10000 Mbps' - switch_egress_policy_drops: '' - switch_ingress_policy_drops: '' - txring_blocks_free_curr: ['511', '511', '511', '511', '511', '511'] - txring_blocks_free_low: ['349', '349', '282', '313', '511', '511'] - txring_bytes: ['4204729002116', '4487948642586', '425299352333798', '5470450911421', '0', '0'] - txring_interface: ['GigabitEthernet0/5', 'TenGigabitEthernet0/7'] - txring_number: ['00', '01', '02', '03', '04', '05'] - txring_packets: ['4776785546', '6150915656', '460988499302', '7152486058', '0', '0'] - txring_underrun: ['0', '0', '0', '0', '0', '0'] - underruns: '0' - vlan: '' -- abort: '0' - address: '0000.0100.001d' - bandwidth: 10000 Mbps - bonded_port: '' - broadcasts: '5014' - collisions: '0' - control_interface_config_status: active - control_interface_number: '18' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Full' - flowcontrol_in: 'on' - flowcontrol_out: 'on' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '19710795908904' - in_errors: '0' - in_packets: '22840589872' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: Internal-Data0/4 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '27999352911090' - out_decode_drops: '' - out_errors: '0' - out_packets: '40694946838' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: up - rate_limit_drops: '' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: '10000 Mbps' - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: '0000.0100.001e' - bandwidth: 10000 Mbps - bonded_port: '' - broadcasts: '4' - collisions: '0' - control_interface_config_status: active - control_interface_number: '19' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Full' - flowcontrol_in: 'on' - flowcontrol_out: 'on' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '20171797966300' - in_errors: '0' - in_packets: '29187686478' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: Internal-Data0/5 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '34934208273981' - out_decode_drops: '' - out_errors: '0' - out_packets: '53468957755' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: up - rate_limit_drops: '' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: '10000 Mbps' - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: '0000.0100.001f' - bandwidth: 10000 Mbps - bonded_port: '' - broadcasts: '22' - collisions: '0' - control_interface_config_status: active - control_interface_number: '20' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Full' - flowcontrol_in: 'on' - flowcontrol_out: 'on' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '173237935490747' - in_errors: '0' - in_packets: '472460814095' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: Internal-Data0/6 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '39482316159290' - out_decode_drops: '' - out_errors: '0' - out_packets: '58606973721' - out_pause: '' - out_pause_resume: '1046' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: up - rate_limit_drops: '' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: '10000 Mbps' - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: '0000.0100.0020' - bandwidth: 10000 Mbps - bonded_port: '' - broadcasts: '5' - collisions: '0' - control_interface_config_status: active - control_interface_number: '21' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Full' - flowcontrol_in: 'on' - flowcontrol_out: 'on' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '439462480942505' - in_errors: '0' - in_packets: '479068680668' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: Internal-Data0/7 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '549964199797166' - out_decode_drops: '' - out_errors: '0' - out_packets: '852183755510' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: up - rate_limit_drops: '' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: '10000 Mbps' - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: 'f0f7.5543.a520' - bandwidth: 1000 Mbps - bonded_port: '' - broadcasts: '33364282' - collisions: '0' - control_interface_config_status: 'active' - control_interface_number: '6' - control_interface_state: 'active' - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: Full - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: i82574L rev00 - ignored: '0' - in_bytes: '18346216501' - in_errors: '0' - in_packets: '187312178' - in_pause: '0' - in_pause_resume: '' - in_reset_drops: '3' - in_resume: '0' - interface: Management0/0 - interface_name: '' - interface_resets: '2' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '69865717975' - out_decode_drops: '' - out_errors: '0' - out_packets: '365077501' - out_pause: '0' - out_pause_resume: '' - out_reset_drops: '0' - out_resume: '0' - overrun: '0' - protocol_status: up - rate_limit_drops: '' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 1000 Mbps - switch_egress_policy_drops: '' - switch_ingress_policy_drops: '' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: 'f0f7.5543.a521' - bandwidth: 1000 Mbps - bonded_port: '' - broadcasts: '0' - collisions: '0' - control_interface_config_status: 'not active' - control_interface_number: '7' - control_interface_state: 'not active' - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Auto' - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: i82574L rev00 - ignored: '0' - in_bytes: '0' - in_errors: '0' - in_packets: '0' - in_pause: '0' - in_pause_resume: '' - in_reset_drops: '0' - in_resume: '0' - interface: Management0/1 - interface_name: '' - interface_resets: '2' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: administratively down - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '0' - out_decode_drops: '' - out_errors: '0' - out_packets: '0' - out_pause: '0' - out_pause_resume: '' - out_reset_drops: '0' - out_resume: '0' - overrun: '0' - protocol_status: down - rate_limit_drops: '' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 'Auto' - switch_egress_policy_drops: '' - switch_ingress_policy_drops: '' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: 'f0f7.5543.a528' - bandwidth: 10000 Mbps - bonded_port: 'Port-channel1' - broadcasts: '16' - collisions: '0' - control_interface_config_status: active - control_interface_number: '14' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Full' - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '124398034640232' - in_errors: '0' - in_packets: '399819592361' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: TenGigabitEthernet0/6 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '491562768018165' - out_decode_drops: '' - out_errors: '0' - out_packets: '540331320890' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: up - rate_limit_drops: '0' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: '10000 Mbps' - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: 'f0f7.5543.a529' - bandwidth: 10000 Mbps - bonded_port: 'Port-channel1' - broadcasts: '2097' - collisions: '0' - control_interface_config_status: active - control_interface_number: '15' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 10 usec - description: '' - duplex: 'Full' - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '18199845951648' - in_errors: '0' - in_packets: '37959565021' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: TenGigabitEthernet0/7 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '13846109908639' - out_decode_drops: '' - out_errors: '0' - out_packets: '26351891151' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: up - rate_limit_drops: '0' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: '10000 Mbps' - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: 'f0f7.5543.a52a' - bandwidth: 1000 Mbps - bonded_port: 'Port-channel2' - broadcasts: '245856' - collisions: '0' - control_interface_config_status: active - control_interface_number: '16' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 1000 usec - description: '' - duplex: Full - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '34610285463141' - in_errors: '0' - in_packets: '43937607828' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: TenGigabitEthernet0/8 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '16640841970890' - out_decode_drops: '' - out_errors: '0' - out_packets: '20810869221' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: up - rate_limit_drops: '0' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 1000 Mbps - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '0' - address: 'f0f7.5543.a52b' - bandwidth: 1000 Mbps - bonded_port: 'Port-channel2' - broadcasts: '336212' - collisions: '0' - control_interface_config_status: active - control_interface_number: '17' - control_interface_state: active - crc: '0' - deffered: '0' - delay: 1000 usec - description: '' - duplex: Full - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '0' - giants: '0' - hardware_type: bcm56800 rev 01 - ignored: '0' - in_bytes: '471124372993133' - in_errors: '0' - in_packets: '523013521132' - in_pause: '' - in_pause_resume: '0' - in_reset_drops: '0' - in_resume: '' - interface: TenGigabitEthernet0/9 - interface_name: '' - interface_resets: '0' - ip_address: 'unassigned' - l2_decode_drops: '0' - late_collisions: '0' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '0' - out_bytes: '125662363017538' - out_decode_drops: '' - out_errors: '0' - out_packets: '415140444956' - out_pause: '' - out_pause_resume: '0' - out_reset_drops: '0' - out_resume: '' - overrun: '0' - protocol_status: up - rate_limit_drops: '0' - runts: '0' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 1000 Mbps - switch_egress_policy_drops: '0' - switch_ingress_policy_drops: '0' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '0' - vlan: '' -- abort: '' - address: 'f0f7.5543.a528' - bandwidth: 20000 Mbps - bonded_port: '' - broadcasts: '' - collisions: '' - control_interface_config_status: 'active' - control_interface_number: '23' - control_interface_state: 'active' - crc: '' - deffered: '' - delay: 10 usec - description: ext - duplex: 'Full' - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '' - giants: '' - hardware_type: EtherChannel - ignored: '' - in_bytes: '' - in_errors: '' - in_packets: '' - in_pause: '' - in_pause_resume: '' - in_reset_drops: '' - in_resume: '' - interface: Port-channel1 - interface_name: '' - interface_resets: '' - ip_address: 'unassigned' - l2_decode_drops: '' - late_collisions: '' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '' - out_bytes: '' - out_decode_drops: '' - out_errors: '' - out_packets: '' - out_pause: '' - out_pause_resume: '' - out_reset_drops: '' - out_resume: '' - overrun: '' - protocol_status: up - rate_limit_drops: '' - runts: '' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: '10000 Mbps' - switch_egress_policy_drops: '' - switch_ingress_policy_drops: '' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '' - vlan: '' -- abort: '' - address: '' - bandwidth: 20000 Mbps - bonded_port: '' - broadcasts: '' - collisions: '' - control_interface_config_status: '' - control_interface_number: '' - control_interface_state: '' - crc: '' - deffered: '' - delay: 10 usec - description: data-inside - duplex: '' - flowcontrol_in: '' - flowcontrol_out: '' - frame: '' - giants: '' - hardware_type: EtherChannel - ignored: '' - in_bytes: '' - in_errors: '' - in_packets: '' - in_pause: '' - in_pause_resume: '' - in_reset_drops: '' - in_resume: '' - interface: Port-channel1.355 - interface_name: '' - interface_resets: '' - ip_address: '' - l2_decode_drops: '' - late_collisions: '' - link_status: up - mtu: '' - net_mask: '' - no_buffer: '' - out_bytes: '' - out_decode_drops: '' - out_errors: '' - out_packets: '' - out_pause: '' - out_pause_resume: '' - out_reset_drops: '' - out_resume: '' - overrun: '' - protocol_status: up - rate_limit_drops: '' - runts: '' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: '' - switch_egress_policy_drops: '' - switch_ingress_policy_drops: '' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '' - vlan: '355' -- abort: '' - address: 'f0f7.5543.a52a' - bandwidth: 2000 Mbps - bonded_port: '' - broadcasts: '' - collisions: '' - control_interface_config_status: 'active' - control_interface_number: '24' - control_interface_state: 'active' - crc: '' - deffered: '' - delay: 1000 usec - description: techlan - duplex: Full - flowcontrol_in: unsupported - flowcontrol_out: 'off' - frame: '' - giants: '' - hardware_type: EtherChannel - ignored: '' - in_bytes: '' - in_errors: '' - in_packets: '' - in_pause: '' - in_pause_resume: '' - in_reset_drops: '' - in_resume: '' - interface: Port-channel2 - interface_name: '' - interface_resets: '' - ip_address: 'unassigned' - l2_decode_drops: '' - late_collisions: '' - link_status: up - mtu: 'not set' - net_mask: '' - no_buffer: '' - out_bytes: '' - out_decode_drops: '' - out_errors: '' - out_packets: '' - out_pause: '' - out_pause_resume: '' - out_reset_drops: '' - out_resume: '' - overrun: '' - protocol_status: up - rate_limit_drops: '' - runts: '' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: 1000 Mbps - switch_egress_policy_drops: '' - switch_ingress_policy_drops: '' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '' - vlan: '' -- abort: '' - address: '' - bandwidth: 2000 Mbps - bonded_port: '' - broadcasts: '' - collisions: '' - control_interface_config_status: '' - control_interface_number: '' - control_interface_state: '' - crc: '' - deffered: '' - delay: 1000 usec - description: data-outside - duplex: '' - flowcontrol_in: '' - flowcontrol_out: '' - frame: '' - giants: '' - hardware_type: EtherChannel - ignored: '' - in_bytes: '' - in_errors: '' - in_packets: '' - in_pause: '' - in_pause_resume: '' - in_reset_drops: '' - in_resume: '' - interface: Port-channel2.283 - interface_name: '' - interface_resets: '' - ip_address: '' - l2_decode_drops: '' - late_collisions: '' - link_status: up - mtu: '' - net_mask: '' - no_buffer: '' - out_bytes: '' - out_decode_drops: '' - out_errors: '' - out_packets: '' - out_pause: '' - out_pause_resume: '' - out_reset_drops: '' - out_resume: '' - overrun: '' - protocol_status: up - rate_limit_drops: '' - runts: '' - rxring_blocks_free_curr: [] - rxring_blocks_free_low: [] - rxring_bytes: [] - rxring_interface: [] - rxring_number: [] - rxring_overrun: [] - rxring_packets: [] - speed: '' - switch_egress_policy_drops: '' - switch_ingress_policy_drops: '' - txring_blocks_free_curr: [] - txring_blocks_free_low: [] - txring_bytes: [] - txring_interface: [] - txring_number: [] - txring_packets: [] - txring_underrun: [] - underruns: '' - vlan: '283' diff --git a/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.yml b/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.yml new file mode 100644 index 0000000000..60e4504038 --- /dev/null +++ b/tests/cisco_asa/show_interface_detail/cisco_asa_show_interface_detail.yml @@ -0,0 +1,1902 @@ +--- +parsed_sample: + - abort: "0" + address: "f0f7.5543.a522" + bandwidth: "1000 Mbps" + bonded_port: "" + broadcasts: "18" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "8" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "LAN Failover Interface" + duplex: "Full" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "26646683366" + in_errors: "0" + in_packets: "200840360" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "GigabitEthernet0/0" + interface_name: "folink" + interface_resets: "0" + ip_address: "11.1.1.1" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.252" + no_buffer: "0" + out_bytes: "23362268244" + out_decode_drops: "" + out_errors: "0" + out_packets: "164279548" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "0" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "1000 Mbps" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a523" + bandwidth: "1000 Mbps" + bonded_port: "" + broadcasts: "2" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "9" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "STATE Failover Interface" + duplex: "Full" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "11507372449" + in_errors: "0" + in_packets: "96629806" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "GigabitEthernet0/1" + interface_name: "statelink" + interface_resets: "0" + ip_address: "12.1.1.1" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.252" + no_buffer: "0" + out_bytes: "834717617298" + out_decode_drops: "" + out_errors: "0" + out_packets: "758965289" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "0" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "1000 Mbps" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a524" + bandwidth: "1000 Mbps" + bonded_port: "" + broadcasts: "0" + collisions: "0" + control_interface_config_status: "not active" + control_interface_number: "10" + control_interface_state: "not active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Auto" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "0" + in_errors: "0" + in_packets: "0" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "GigabitEthernet0/2" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "administratively down" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "0" + out_decode_drops: "" + out_errors: "0" + out_packets: "0" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "down" + rate_limit_drops: "0" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "Auto" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a525" + bandwidth: "1000 Mbps" + bonded_port: "" + broadcasts: "0" + collisions: "0" + control_interface_config_status: "not active" + control_interface_number: "11" + control_interface_state: "not active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Auto" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "0" + in_errors: "0" + in_packets: "0" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "GigabitEthernet0/3" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "administratively down" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "0" + out_decode_drops: "" + out_errors: "0" + out_packets: "0" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "down" + rate_limit_drops: "0" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "Auto" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a526" + bandwidth: "1000 Mbps" + bonded_port: "" + broadcasts: "0" + collisions: "0" + control_interface_config_status: "not active" + control_interface_number: "12" + control_interface_state: "not active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Auto" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "0" + in_errors: "0" + in_packets: "0" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "GigabitEthernet0/4" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "administratively down" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "0" + out_decode_drops: "" + out_errors: "0" + out_packets: "0" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "down" + rate_limit_drops: "0" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "Auto" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a527" + bandwidth: "1000 Mbps" + bonded_port: "" + broadcasts: "0" + collisions: "0" + control_interface_config_status: "not active" + control_interface_number: "13" + control_interface_state: "not active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Auto" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "0" + in_errors: "0" + in_packets: "0" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "GigabitEthernet0/5" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "administratively down" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "0" + out_decode_drops: "" + out_errors: "0" + out_packets: "0" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "down" + rate_limit_drops: "0" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "Auto" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "0000.0001.0001" + bandwidth: "10000 Mbps" + bonded_port: "" + broadcasts: "193961" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "2" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "on" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "i82599_xaui rev02" + ignored: "0" + in_bytes: "27999317462474" + in_errors: "50017" + in_packets: "40694905620" + in_pause: "0" + in_pause_resume: "" + in_reset_drops: "0" + in_resume: "0" + interface: "Internal-Data0/0" + interface_name: "" + interface_resets: "1" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "19710792216623" + out_decode_drops: "0" + out_errors: "0" + out_packets: "22840594539" + out_pause: "0" + out_pause_resume: "" + out_reset_drops: "0" + out_resume: "0" + overrun: "50017" + protocol_status: "up" + rate_limit_drops: "" + runts: "0" + rxring_blocks_free_curr: + - "511" + - "511" + - "511" + - "511" + - "511" + rxring_blocks_free_low: + - "311" + - "311" + - "339" + - "369" + - "507" + rxring_bytes: + - "8613178051164" + - "6924744308770" + - "5930247361074" + - "6508202351390" + - "22945468790" + rxring_interface: [] + rxring_number: + - "00" + - "01" + - "02" + - "03" + - "04" + rxring_overrun: + - "33671" + - "3892" + - "5983" + - "6471" + - "0" + rxring_packets: + - "11928867434" + - "9936555115" + - "8885121010" + - "9774040102" + - "170322028" + speed: "10000 Mbps" + switch_egress_policy_drops: "" + switch_ingress_policy_drops: "" + txring_blocks_free_curr: + - "511" + - "511" + - "511" + - "511" + - "511" + - "511" + txring_blocks_free_low: + - "349" + - "350" + - "350" + - "350" + - "507" + - "486" + txring_bytes: + - "6276748798963" + - "4562626128086" + - "3813812735685" + - "4195831926616" + - "24019250372" + - "837753453654" + txring_interface: + - "GigabitEthernet0/0" + - "GigabitEthernet0/1" + txring_number: + - "00" + - "01" + - "02" + - "03" + - "04" + - "05" + txring_packets: + - "7034786488" + - "5193693399" + - "4620598548" + - "5068271291" + - "164279550" + - "758965324" + txring_underrun: + - "0" + - "0" + - "0" + - "0" + - "0" + - "0" + underruns: "0" + vlan: "" + - abort: "0" + address: "0000.0001.0002" + bandwidth: "10000 Mbps" + bonded_port: "" + broadcasts: "237991" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "3" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "on" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "i82599_xaui rev02" + ignored: "0" + in_bytes: "34934209914110" + in_errors: "5073" + in_packets: "53468958544" + in_pause: "0" + in_pause_resume: "" + in_reset_drops: "0" + in_resume: "0" + interface: "Internal-Data0/1" + interface_name: "" + interface_resets: "1" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "20171793812896" + out_decode_drops: "0" + out_errors: "0" + out_packets: "29187689876" + out_pause: "0" + out_pause_resume: "" + out_reset_drops: "0" + out_resume: "0" + overrun: "5073" + protocol_status: "up" + rate_limit_drops: "" + runts: "0" + rxring_blocks_free_curr: + - "511" + - "511" + - "511" + - "511" + rxring_blocks_free_low: + - "358" + - "394" + - "359" + - "389" + rxring_bytes: + - "12717109454320" + - "6735149484197" + - "8351432550533" + - "7130518429589" + rxring_interface: [] + rxring_number: + - "00" + - "01" + - "02" + - "03" + rxring_overrun: + - "1026" + - "2704" + - "801" + - "542" + rxring_packets: + - "15538406285" + - "9970135924" + - "17849754640" + - "10110661702" + speed: "10000 Mbps" + switch_egress_policy_drops: "" + switch_ingress_policy_drops: "" + txring_blocks_free_curr: + - "511" + - "511" + - "511" + - "511" + - "511" + - "511" + - "511" + txring_blocks_free_low: + - "349" + - "351" + - "345" + - "342" + - "511" + - "511" + - "511" + txring_bytes: + - "4975556841210" + - "4268946532826" + - "6045848459484" + - "4881441983697" + - "0" + - "0" + - "0" + txring_interface: + - "GigabitEthernet0/2" + - "GigabitEthernet0/3" + - "GigabitEthernet0/4" + txring_number: + - "00" + - "01" + - "02" + - "03" + - "04" + - "05" + - "06" + txring_packets: + - "5792237421" + - "4768859986" + - "12970769201" + - "5655823274" + - "0" + - "0" + - "0" + txring_underrun: + - "0" + - "0" + - "0" + - "0" + - "0" + - "0" + - "0" + underruns: "0" + vlan: "" + - abort: "0" + address: "0000.0001.0004" + bandwidth: "10000 Mbps" + bonded_port: "" + broadcasts: "98334" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "4" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "on" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "i82599_xaui rev02" + ignored: "0" + in_bytes: "39482314595060" + in_errors: "10907" + in_packets: "58606970185" + in_pause: "523" + in_pause_resume: "" + in_reset_drops: "0" + in_resume: "523" + interface: "Internal-Data0/2" + interface_name: "" + interface_resets: "1" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "173237932025004" + out_decode_drops: "0" + out_errors: "0" + out_packets: "472460832718" + out_pause: "0" + out_pause_resume: "" + out_reset_drops: "0" + out_resume: "0" + overrun: "10907" + protocol_status: "up" + rate_limit_drops: "" + runts: "0" + rxring_blocks_free_curr: + - "511" + - "511" + - "511" + - "511" + rxring_blocks_free_low: + - "384" + - "396" + - "384" + - "394" + rxring_bytes: + - "8861585758086" + - "14845677833920" + - "7489829408483" + - "8285221609828" + rxring_interface: [] + rxring_number: + - "00" + - "01" + - "02" + - "03" + rxring_overrun: + - "5515" + - "3134" + - "858" + - "1400" + rxring_packets: + - "13231072890" + - "20193376457" + - "12027933127" + - "13154587757" + speed: "10000 Mbps" + switch_egress_policy_drops: "" + switch_ingress_policy_drops: "" + txring_blocks_free_curr: + - "511" + - "510" + - "511" + - "505" + - "511" + - "508" + - "511" + txring_blocks_free_low: + - "349" + - "349" + - "342" + - "311" + - "511" + - "0" + - "170" + txring_bytes: + - "6472090504001" + - "12645630943922" + - "5085252075635" + - "4988646702498" + - "0" + - "127322520663605" + - "16723791170491" + txring_interface: + - "TenGigabitEthernet0/6" + - "TenGigabitEthernet0/9" + - "TenGigabitEthernet0/8" + txring_number: + - "00" + - "01" + - "02" + - "03" + - "04" + - "05" + - "06" + txring_packets: + - "7589052992" + - "15755071022" + - "6680981379" + - "6484398780" + - "0" + - "415140458466" + - "20810870169" + txring_underrun: + - "0" + - "0" + - "0" + - "0" + - "0" + - "2905646" + - "0" + underruns: "2905646" + vlan: "" + - abort: "0" + address: "0000.0001.0003" + bandwidth: "10000 Mbps" + bonded_port: "" + broadcasts: "53915" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "5" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "on" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "i82599_xaui rev02" + ignored: "0" + in_bytes: "549651226348272" + in_errors: "457910371" + in_packets: "851725855606" + in_pause: "0" + in_pause_resume: "" + in_reset_drops: "0" + in_resume: "0" + interface: "Internal-Data0/3" + interface_name: "" + interface_resets: "1" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "439462480886576" + out_decode_drops: "0" + out_errors: "0" + out_packets: "479068686555" + out_pause: "0" + out_pause_resume: "" + out_reset_drops: "0" + out_resume: "0" + overrun: "457910371" + protocol_status: "up" + rate_limit_drops: "" + runts: "0" + rxring_blocks_free_curr: + - "511" + - "511" + - "511" + - "511" + rxring_blocks_free_low: + - "377" + - "340" + - "152" + - "362" + rxring_bytes: + - "6455848237095" + - "7108517208857" + - "528392087186847" + - "7694773726910" + rxring_interface: [] + rxring_number: + - "00" + - "01" + - "02" + - "03" + rxring_overrun: + - "11242" + - "8535" + - "457881225" + - "9369" + rxring_packets: + - "9317849354" + - "12456612163" + - "818537242486" + - "11414151630" + speed: "10000 Mbps" + switch_egress_policy_drops: "" + switch_ingress_policy_drops: "" + txring_blocks_free_curr: + - "511" + - "511" + - "511" + - "511" + - "511" + - "511" + txring_blocks_free_low: + - "349" + - "349" + - "282" + - "313" + - "511" + - "511" + txring_bytes: + - "4204729002116" + - "4487948642586" + - "425299352333798" + - "5470450911421" + - "0" + - "0" + txring_interface: + - "GigabitEthernet0/5" + - "TenGigabitEthernet0/7" + txring_number: + - "00" + - "01" + - "02" + - "03" + - "04" + - "05" + txring_packets: + - "4776785546" + - "6150915656" + - "460988499302" + - "7152486058" + - "0" + - "0" + txring_underrun: + - "0" + - "0" + - "0" + - "0" + - "0" + - "0" + underruns: "0" + vlan: "" + - abort: "0" + address: "0000.0100.001d" + bandwidth: "10000 Mbps" + bonded_port: "" + broadcasts: "5014" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "18" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "on" + flowcontrol_out: "on" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "19710795908904" + in_errors: "0" + in_packets: "22840589872" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "Internal-Data0/4" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "27999352911090" + out_decode_drops: "" + out_errors: "0" + out_packets: "40694946838" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "10000 Mbps" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "0000.0100.001e" + bandwidth: "10000 Mbps" + bonded_port: "" + broadcasts: "4" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "19" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "on" + flowcontrol_out: "on" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "20171797966300" + in_errors: "0" + in_packets: "29187686478" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "Internal-Data0/5" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "34934208273981" + out_decode_drops: "" + out_errors: "0" + out_packets: "53468957755" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "10000 Mbps" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "0000.0100.001f" + bandwidth: "10000 Mbps" + bonded_port: "" + broadcasts: "22" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "20" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "on" + flowcontrol_out: "on" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "173237935490747" + in_errors: "0" + in_packets: "472460814095" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "Internal-Data0/6" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "39482316159290" + out_decode_drops: "" + out_errors: "0" + out_packets: "58606973721" + out_pause: "" + out_pause_resume: "1046" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "10000 Mbps" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "0000.0100.0020" + bandwidth: "10000 Mbps" + bonded_port: "" + broadcasts: "5" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "21" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "on" + flowcontrol_out: "on" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "439462480942505" + in_errors: "0" + in_packets: "479068680668" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "Internal-Data0/7" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "549964199797166" + out_decode_drops: "" + out_errors: "0" + out_packets: "852183755510" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "10000 Mbps" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a520" + bandwidth: "1000 Mbps" + bonded_port: "" + broadcasts: "33364282" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "6" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "i82574L rev00" + ignored: "0" + in_bytes: "18346216501" + in_errors: "0" + in_packets: "187312178" + in_pause: "0" + in_pause_resume: "" + in_reset_drops: "3" + in_resume: "0" + interface: "Management0/0" + interface_name: "" + interface_resets: "2" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "69865717975" + out_decode_drops: "" + out_errors: "0" + out_packets: "365077501" + out_pause: "0" + out_pause_resume: "" + out_reset_drops: "0" + out_resume: "0" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "1000 Mbps" + switch_egress_policy_drops: "" + switch_ingress_policy_drops: "" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a521" + bandwidth: "1000 Mbps" + bonded_port: "" + broadcasts: "0" + collisions: "0" + control_interface_config_status: "not active" + control_interface_number: "7" + control_interface_state: "not active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Auto" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "i82574L rev00" + ignored: "0" + in_bytes: "0" + in_errors: "0" + in_packets: "0" + in_pause: "0" + in_pause_resume: "" + in_reset_drops: "0" + in_resume: "0" + interface: "Management0/1" + interface_name: "" + interface_resets: "2" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "administratively down" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "0" + out_decode_drops: "" + out_errors: "0" + out_packets: "0" + out_pause: "0" + out_pause_resume: "" + out_reset_drops: "0" + out_resume: "0" + overrun: "0" + protocol_status: "down" + rate_limit_drops: "" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "Auto" + switch_egress_policy_drops: "" + switch_ingress_policy_drops: "" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a528" + bandwidth: "10000 Mbps" + bonded_port: "Port-channel1" + broadcasts: "16" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "14" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "124398034640232" + in_errors: "0" + in_packets: "399819592361" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "TenGigabitEthernet0/6" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "491562768018165" + out_decode_drops: "" + out_errors: "0" + out_packets: "540331320890" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "0" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "10000 Mbps" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a529" + bandwidth: "10000 Mbps" + bonded_port: "Port-channel1" + broadcasts: "2097" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "15" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "10 usec" + description: "" + duplex: "Full" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "18199845951648" + in_errors: "0" + in_packets: "37959565021" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "TenGigabitEthernet0/7" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "13846109908639" + out_decode_drops: "" + out_errors: "0" + out_packets: "26351891151" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "0" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "10000 Mbps" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a52a" + bandwidth: "1000 Mbps" + bonded_port: "Port-channel2" + broadcasts: "245856" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "16" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "1000 usec" + description: "" + duplex: "Full" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "34610285463141" + in_errors: "0" + in_packets: "43937607828" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "TenGigabitEthernet0/8" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "16640841970890" + out_decode_drops: "" + out_errors: "0" + out_packets: "20810869221" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "0" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "1000 Mbps" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "0" + address: "f0f7.5543.a52b" + bandwidth: "1000 Mbps" + bonded_port: "Port-channel2" + broadcasts: "336212" + collisions: "0" + control_interface_config_status: "active" + control_interface_number: "17" + control_interface_state: "active" + crc: "0" + deffered: "0" + delay: "1000 usec" + description: "" + duplex: "Full" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "0" + giants: "0" + hardware_type: "bcm56800 rev 01" + ignored: "0" + in_bytes: "471124372993133" + in_errors: "0" + in_packets: "523013521132" + in_pause: "" + in_pause_resume: "0" + in_reset_drops: "0" + in_resume: "" + interface: "TenGigabitEthernet0/9" + interface_name: "" + interface_resets: "0" + ip_address: "unassigned" + l2_decode_drops: "0" + late_collisions: "0" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "0" + out_bytes: "125662363017538" + out_decode_drops: "" + out_errors: "0" + out_packets: "415140444956" + out_pause: "" + out_pause_resume: "0" + out_reset_drops: "0" + out_resume: "" + overrun: "0" + protocol_status: "up" + rate_limit_drops: "0" + runts: "0" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "1000 Mbps" + switch_egress_policy_drops: "0" + switch_ingress_policy_drops: "0" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "0" + vlan: "" + - abort: "" + address: "f0f7.5543.a528" + bandwidth: "20000 Mbps" + bonded_port: "" + broadcasts: "" + collisions: "" + control_interface_config_status: "active" + control_interface_number: "23" + control_interface_state: "active" + crc: "" + deffered: "" + delay: "10 usec" + description: "ext" + duplex: "Full" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "" + giants: "" + hardware_type: "EtherChannel" + ignored: "" + in_bytes: "" + in_errors: "" + in_packets: "" + in_pause: "" + in_pause_resume: "" + in_reset_drops: "" + in_resume: "" + interface: "Port-channel1" + interface_name: "" + interface_resets: "" + ip_address: "unassigned" + l2_decode_drops: "" + late_collisions: "" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "" + out_bytes: "" + out_decode_drops: "" + out_errors: "" + out_packets: "" + out_pause: "" + out_pause_resume: "" + out_reset_drops: "" + out_resume: "" + overrun: "" + protocol_status: "up" + rate_limit_drops: "" + runts: "" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "10000 Mbps" + switch_egress_policy_drops: "" + switch_ingress_policy_drops: "" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "" + vlan: "" + - abort: "" + address: "" + bandwidth: "20000 Mbps" + bonded_port: "" + broadcasts: "" + collisions: "" + control_interface_config_status: "" + control_interface_number: "" + control_interface_state: "" + crc: "" + deffered: "" + delay: "10 usec" + description: "data-inside" + duplex: "" + flowcontrol_in: "" + flowcontrol_out: "" + frame: "" + giants: "" + hardware_type: "EtherChannel" + ignored: "" + in_bytes: "" + in_errors: "" + in_packets: "" + in_pause: "" + in_pause_resume: "" + in_reset_drops: "" + in_resume: "" + interface: "Port-channel1.355" + interface_name: "" + interface_resets: "" + ip_address: "" + l2_decode_drops: "" + late_collisions: "" + link_status: "up" + mtu: "" + net_mask: "" + no_buffer: "" + out_bytes: "" + out_decode_drops: "" + out_errors: "" + out_packets: "" + out_pause: "" + out_pause_resume: "" + out_reset_drops: "" + out_resume: "" + overrun: "" + protocol_status: "up" + rate_limit_drops: "" + runts: "" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "" + switch_egress_policy_drops: "" + switch_ingress_policy_drops: "" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "" + vlan: "355" + - abort: "" + address: "f0f7.5543.a52a" + bandwidth: "2000 Mbps" + bonded_port: "" + broadcasts: "" + collisions: "" + control_interface_config_status: "active" + control_interface_number: "24" + control_interface_state: "active" + crc: "" + deffered: "" + delay: "1000 usec" + description: "techlan" + duplex: "Full" + flowcontrol_in: "unsupported" + flowcontrol_out: "off" + frame: "" + giants: "" + hardware_type: "EtherChannel" + ignored: "" + in_bytes: "" + in_errors: "" + in_packets: "" + in_pause: "" + in_pause_resume: "" + in_reset_drops: "" + in_resume: "" + interface: "Port-channel2" + interface_name: "" + interface_resets: "" + ip_address: "unassigned" + l2_decode_drops: "" + late_collisions: "" + link_status: "up" + mtu: "not set" + net_mask: "" + no_buffer: "" + out_bytes: "" + out_decode_drops: "" + out_errors: "" + out_packets: "" + out_pause: "" + out_pause_resume: "" + out_reset_drops: "" + out_resume: "" + overrun: "" + protocol_status: "up" + rate_limit_drops: "" + runts: "" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "1000 Mbps" + switch_egress_policy_drops: "" + switch_ingress_policy_drops: "" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "" + vlan: "" + - abort: "" + address: "" + bandwidth: "2000 Mbps" + bonded_port: "" + broadcasts: "" + collisions: "" + control_interface_config_status: "" + control_interface_number: "" + control_interface_state: "" + crc: "" + deffered: "" + delay: "1000 usec" + description: "data-outside" + duplex: "" + flowcontrol_in: "" + flowcontrol_out: "" + frame: "" + giants: "" + hardware_type: "EtherChannel" + ignored: "" + in_bytes: "" + in_errors: "" + in_packets: "" + in_pause: "" + in_pause_resume: "" + in_reset_drops: "" + in_resume: "" + interface: "Port-channel2.283" + interface_name: "" + interface_resets: "" + ip_address: "" + l2_decode_drops: "" + late_collisions: "" + link_status: "up" + mtu: "" + net_mask: "" + no_buffer: "" + out_bytes: "" + out_decode_drops: "" + out_errors: "" + out_packets: "" + out_pause: "" + out_pause_resume: "" + out_reset_drops: "" + out_resume: "" + overrun: "" + protocol_status: "up" + rate_limit_drops: "" + runts: "" + rxring_blocks_free_curr: [] + rxring_blocks_free_low: [] + rxring_bytes: [] + rxring_interface: [] + rxring_number: [] + rxring_overrun: [] + rxring_packets: [] + speed: "" + switch_egress_policy_drops: "" + switch_ingress_policy_drops: "" + txring_blocks_free_curr: [] + txring_blocks_free_low: [] + txring_bytes: [] + txring_interface: [] + txring_number: [] + txring_packets: [] + txring_underrun: [] + underruns: "" + vlan: "283" diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed deleted file mode 100644 index d1e57cb6c3..0000000000 --- a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.parsed +++ /dev/null @@ -1,13 +0,0 @@ ---- -parsed_sample: -- name: "Chassis" - descr: "ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC" - pid: "ASA5515" - sn: "FTX1930101U" - vid: "V03" - -- name: "power supply" - descr: "ASA/IPS 180W AC Power Supply" - pid: "ASA-180W-PWR-AC" - sn: "DTN111381AC" - vid: "V01" diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.yml b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.yml new file mode 100644 index 0000000000..2c76459b57 --- /dev/null +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - name: "Chassis" + descr: "ASA 5515-X with SW, 6 GE Data, 1 GE Mgmt, AC" + pid: "ASA5515" + sn: "FTX1930101U" + vid: "V03" + - name: "power supply" + descr: "ASA/IPS 180W AC Power Supply" + pid: "ASA-180W-PWR-AC" + sn: "DTN111381AC" + vid: "V01" diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.parsed b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.parsed deleted file mode 100644 index 028ea76541..0000000000 --- a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.parsed +++ /dev/null @@ -1,13 +0,0 @@ ---- -parsed_sample: -- name: "Chassis" - descr: "ASA 5506-X with FirePOWER services, 8GE, AC, DES" - pid: "ASA5506" - sn: "JMX8318372GB" - vid: "V01" - -- name: "Storage Device 1" - descr: "ASA 5506-X SSD" - pid: "ASA5506-SSD" - sn: "MSA1917883N" - vid: "N/A" diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.yml b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.yml new file mode 100644 index 0000000000..e543022db8 --- /dev/null +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory2.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - name: "Chassis" + descr: "ASA 5506-X with FirePOWER services, 8GE, AC, DES" + pid: "ASA5506" + sn: "JMX8318372GB" + vid: "V01" + - name: "Storage Device 1" + descr: "ASA 5506-X SSD" + pid: "ASA5506-SSD" + sn: "MSA1917883N" + vid: "N/A" diff --git a/tests/cisco_asa/show_license_all/cisco_asa_show_license_all.parsed b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all.yml similarity index 100% rename from tests/cisco_asa/show_license_all/cisco_asa_show_license_all.parsed rename to tests/cisco_asa/show_license_all/cisco_asa_show_license_all.yml diff --git a/tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.parsed b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.yml similarity index 100% rename from tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.parsed rename to tests/cisco_asa/show_license_all/cisco_asa_show_license_all2.yml diff --git a/tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.parsed b/tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.yml similarity index 100% rename from tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.parsed rename to tests/cisco_asa/show_license_all/cisco_asa_show_license_all3.yml diff --git a/tests/cisco_asa/show_name/cisco_asa_show_name.parsed b/tests/cisco_asa/show_name/cisco_asa_show_name.parsed deleted file mode 100644 index 6cd2dfbb79..0000000000 --- a/tests/cisco_asa/show_name/cisco_asa_show_name.parsed +++ /dev/null @@ -1,27 +0,0 @@ ---- -parsed_sample: - -- ip: 10.1.1.1 - name: server -- ip: 10.1.1.10 - name: server1 -- ip: 10.1.10.1 - name: server-1 -- ip: 10.1.1.1 - name: server_1 -- ip: 10.10.1.1 - name: server_web -- ip: 10.1.10.10 - name: server-db -- ip: 10.10.1.10 - name: server_web1 -- ip: 10.10.10.10 - name: server-web1 -- ip: 10.1.1.100 - name: 1server -- ip: 10.1.100.100 - name: 1-server -- ip: 10.100.1.100 - name: 1_server -- ip: 10.100.100.100 - name: server2 diff --git a/tests/cisco_asa/show_name/cisco_asa_show_name.yml b/tests/cisco_asa/show_name/cisco_asa_show_name.yml new file mode 100644 index 0000000000..a26a2276ff --- /dev/null +++ b/tests/cisco_asa/show_name/cisco_asa_show_name.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - ip: "10.1.1.1" + name: "server" + - ip: "10.1.1.10" + name: "server1" + - ip: "10.1.10.1" + name: "server-1" + - ip: "10.1.1.1" + name: "server_1" + - ip: "10.10.1.1" + name: "server_web" + - ip: "10.1.10.10" + name: "server-db" + - ip: "10.10.1.10" + name: "server_web1" + - ip: "10.10.10.10" + name: "server-web1" + - ip: "10.1.1.100" + name: "1server" + - ip: "10.1.100.100" + name: "1-server" + - ip: "10.100.1.100" + name: "1_server" + - ip: "10.100.100.100" + name: "server2" diff --git a/tests/cisco_asa/show_nat/cisco_asa_show_nat.parsed b/tests/cisco_asa/show_nat/cisco_asa_show_nat.parsed deleted file mode 100644 index 34d7179b30..0000000000 --- a/tests/cisco_asa/show_nat/cisco_asa_show_nat.parsed +++ /dev/null @@ -1,1347 +0,0 @@ ---- -parsed_sample: - -- nat_section_number: "1" - line_number: "1" - source_interface: "any" - destination_interface: "any" - source_type: "static" - source_real: "any" - source_mapped: "any" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "source dynamic static destination static net-to-net service any pat-pool interface dns unidirectional no-proxy-arp route-lookup ipv6 inactive description <-- THESE ARE ALL PART OF THE DESCRIPTION" - translate_hits: "505" - untranslate_hits: "750" -- nat_section_number: "1" - line_number: "2" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test1" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test4" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "net-to-net" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "inactive" - description: "test" - translate_hits: "900" - untranslate_hits: "883" -- nat_section_number: "1" - line_number: "3" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test1" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test4" - service_real: "test-service-1" - service_mapped: "test-service-2" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "826" - untranslate_hits: "961" -- nat_section_number: "1" - line_number: "4" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test1" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test4" - service_real: "any" - service_mapped: "test-service-2" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "722" - untranslate_hits: "201" -- nat_section_number: "1" - line_number: "5" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test1" - source_mapped: "pat-pool interface" - destination_real: "test3" - destination_mapped: "test4" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "563" - untranslate_hits: "48" -- nat_section_number: "1" - line_number: "6" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test1" - source_mapped: "pat-pool test11" - destination_real: "test3" - destination_mapped: "test4" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "997" - untranslate_hits: "159" -- nat_section_number: "1" - line_number: "7" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "any" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test4" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "net-to-net" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "488" - untranslate_hits: "313" -- nat_section_number: "1" - line_number: "8" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test1" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "any" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "606" - untranslate_hits: "395" -- nat_section_number: "1" - line_number: "9" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test1" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test4" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "extended flat include-reserve round-robin dns 169.254.1.1 2006::2/128 <-- THESE ARE ALL PART OF THE DESCRIPTION" - translate_hits: "303" - untranslate_hits: "275" -- nat_section_number: "1" - line_number: "10" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test1" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test4" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "unidirectional" - no_proxy_arp: "no-proxy-arp" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "359" - untranslate_hits: "447" -- nat_section_number: "1" - line_number: "11" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test1" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test4" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "net-to-net" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "inactive" - description: "test" - translate_hits: "393" - untranslate_hits: "527" -- nat_section_number: "1" - line_number: "12" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test1" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test4" - service_real: "test-service-1" - service_mapped: "test-service-2" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "327" - untranslate_hits: "527" -- nat_section_number: "1" - line_number: "13" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test1" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test4" - service_real: "any" - service_mapped: "test-service-2" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "683" - untranslate_hits: "110" -- nat_section_number: "1" - line_number: "14" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test2" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test3" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "no-proxy-arp" - route_lookup: "route-lookup" - inactive: "" - description: "" - translate_hits: "373" - untranslate_hits: "811" -- nat_section_number: "1" - line_number: "15" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test1" - source_mapped: "test1" - destination_real: "test3" - destination_mapped: "test3" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "route-lookup" - inactive: "" - description: "" - translate_hits: "666" - untranslate_hits: "609" -- nat_section_number: "1" - line_number: "16" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "any" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "test4" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "net-to-net" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "263" - untranslate_hits: "131" -- nat_section_number: "1" - line_number: "17" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test1" - source_mapped: "test2" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "dns" - unidirectional: "unidirectional" - no_proxy_arp: "no-proxy-arp" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "408" - untranslate_hits: "436" -- nat_section_number: "1" - line_number: "18" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test1" - source_mapped: "test2" - destination_real: "test3" - destination_mapped: "any" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "892" - untranslate_hits: "922" -- nat_section_number: "1" - line_number: "19" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test1" - source_mapped: "test2" - destination_real: "interface" - destination_mapped: "test4" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "142" - untranslate_hits: "129" -- nat_section_number: "1" - line_number: "20" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test1" - source_mapped: "test2" - destination_real: "interface" - destination_mapped: "any" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "620" - untranslate_hits: "50" -- nat_section_number: "1" - line_number: "21" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test6" - source_mapped: "test7" - destination_real: "interface" - destination_mapped: "ipv6" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "152" - untranslate_hits: "359" -- nat_section_number: "1" - line_number: "22" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test6" - source_mapped: "interface ipv6" - destination_real: "test8" - destination_mapped: "test9" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "214" - untranslate_hits: "411" -- nat_section_number: "1" - line_number: "23" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "any" - source_mapped: "interface ipv6" - destination_real: "test8" - destination_mapped: "test9" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "341" - untranslate_hits: "651" -- nat_section_number: "1" - line_number: "24" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test1" - source_mapped: "interface" - destination_real: "test3" - destination_mapped: "test4" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "992" - untranslate_hits: "255" -- nat_section_number: "2" - line_number: "1" - source_interface: "any" - destination_interface: "any" - source_type: "static" - source_real: "test11" - source_mapped: "169.254.11.11" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "no-proxy-arp" - route_lookup: "route-lookup" - inactive: "" - description: "" - translate_hits: "694" - untranslate_hits: "246" -- nat_section_number: "2" - line_number: "2" - source_interface: "inside" - destination_interface: "outside" - source_type: "static" - source_real: "test6" - source_mapped: "interface ipv6" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "net-to-net" - dns: "" - unidirectional: "" - no_proxy_arp: "no-proxy-arp" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "655" - untranslate_hits: "840" -- nat_section_number: "2" - line_number: "3" - source_interface: "inside" - destination_interface: "outside" - source_type: "static" - source_real: "test7" - source_mapped: "test8" - destination_real: "" - destination_mapped: "" - service_real: "tcp" - service_mapped: "ssh" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "680" - untranslate_hits: "7" -- nat_section_number: "2" - line_number: "4" - source_interface: "inside" - destination_interface: "outside" - source_type: "static" - source_real: "test9" - source_mapped: "2006::2/128" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "976" - untranslate_hits: "175" -- nat_section_number: "2" - line_number: "5" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test1" - source_mapped: "169.254.1.1" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "dns" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "683" - untranslate_hits: "761" -- nat_section_number: "2" - line_number: "6" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test2" - source_mapped: "test3" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "117" - untranslate_hits: "939" -- nat_section_number: "2" - line_number: "7" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test3" - source_mapped: "pat-pool test11" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "extended" - flat: "flat" - include_reserve: "include-reserve" - round_robin: "round-robin" - net_to_net: "" - dns: "dns" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "936" - untranslate_hits: "246" -- nat_section_number: "2" - line_number: "8" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test4" - source_mapped: "pat-pool test11" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "383" - untranslate_hits: "467" -- nat_section_number: "2" - line_number: "9" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test5" - source_mapped: "interface" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "dns" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "795" - untranslate_hits: "263" -- nat_section_number: "3" - line_number: "1" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test11" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test14" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "net-to-net" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "inactive" - description: "source dynamic static destination static net-to-net service any pat-pool interface dns unidirectional no-proxy-arp route-lookup ipv6 inactive description <-- THESE ARE ALL PART OF THE DESCRIPTION" - translate_hits: "687" - untranslate_hits: "666" -- nat_section_number: "3" - line_number: "2" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test11" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test14" - service_real: "test-service-1" - service_mapped: "test-service-2" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "911" - untranslate_hits: "47" -- nat_section_number: "3" - line_number: "3" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test11" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test14" - service_real: "any" - service_mapped: "test-service-2" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "651" - untranslate_hits: "130" -- nat_section_number: "3" - line_number: "4" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test11" - source_mapped: "pat-pool interface" - destination_real: "test13" - destination_mapped: "test14" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "350" - untranslate_hits: "231" -- nat_section_number: "3" - line_number: "5" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test11" - source_mapped: "pat-pool test21" - destination_real: "test13" - destination_mapped: "test14" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "553" - untranslate_hits: "961" -- nat_section_number: "3" - line_number: "6" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "any" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test14" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "net-to-net" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "957" - untranslate_hits: "766" -- nat_section_number: "3" - line_number: "7" - source_interface: "any" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test11" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "any" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "997" - untranslate_hits: "468" -- nat_section_number: "3" - line_number: "8" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test11" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test14" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "extended flat include-reserve round-robin dns 169.254.1.1 2006::2/128 <-- THESE ARE ALL PART OF THE DESCRIPTION" - translate_hits: "622" - untranslate_hits: "632" -- nat_section_number: "3" - line_number: "9" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test11" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test14" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "unidirectional" - no_proxy_arp: "no-proxy-arp" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "425" - untranslate_hits: "474" -- nat_section_number: "3" - line_number: "10" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test11" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test14" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "net-to-net" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "inactive" - description: "test1" - translate_hits: "99" - untranslate_hits: "610" -- nat_section_number: "3" - line_number: "11" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test11" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test14" - service_real: "test-service-1" - service_mapped: "test-service-2" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "948" - untranslate_hits: "144" -- nat_section_number: "3" - line_number: "12" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test11" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test14" - service_real: "any" - service_mapped: "test-service-2" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "386" - untranslate_hits: "211" -- nat_section_number: "3" - line_number: "13" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test12" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test13" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "no-proxy-arp" - route_lookup: "route-lookup" - inactive: "" - description: "" - translate_hits: "443" - untranslate_hits: "600" -- nat_section_number: "3" - line_number: "14" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test11" - source_mapped: "test11" - destination_real: "test13" - destination_mapped: "test13" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "route-lookup" - inactive: "" - description: "" - translate_hits: "957" - untranslate_hits: "705" -- nat_section_number: "3" - line_number: "15" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "any" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "test14" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "net-to-net" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "171" - untranslate_hits: "11" -- nat_section_number: "3" - line_number: "16" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test11" - source_mapped: "test12" - destination_real: "" - destination_mapped: "" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "dns" - unidirectional: "unidirectional" - no_proxy_arp: "no-proxy-arp" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "843" - untranslate_hits: "956" -- nat_section_number: "3" - line_number: "17" - source_interface: "any" - destination_interface: "outside" - source_type: "static" - source_real: "test11" - source_mapped: "test12" - destination_real: "test13" - destination_mapped: "any" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "302" - untranslate_hits: "950" -- nat_section_number: "3" - line_number: "18" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test11" - source_mapped: "test12" - destination_real: "interface" - destination_mapped: "test14" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "662" - untranslate_hits: "278" -- nat_section_number: "3" - line_number: "19" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test11" - source_mapped: "test12" - destination_real: "interface" - destination_mapped: "any" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "269" - untranslate_hits: "859" -- nat_section_number: "3" - line_number: "20" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test16" - source_mapped: "test17" - destination_real: "interface" - destination_mapped: "ipv6" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "92" - untranslate_hits: "257" -- nat_section_number: "3" - line_number: "21" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test16" - source_mapped: "interface ipv6" - destination_real: "test18" - destination_mapped: "test19" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "97" - untranslate_hits: "354" -- nat_section_number: "3" - line_number: "22" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "any" - source_mapped: "interface ipv6" - destination_real: "test18" - destination_mapped: "test19" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "780" - untranslate_hits: "376" -- nat_section_number: "3" - line_number: "23" - source_interface: "inside" - destination_interface: "outside" - source_type: "dynamic" - source_real: "test11" - source_mapped: "interface" - destination_real: "test13" - destination_mapped: "test14" - service_real: "" - service_mapped: "" - extended: "" - flat: "" - include_reserve: "" - round_robin: "" - net_to_net: "" - dns: "" - unidirectional: "" - no_proxy_arp: "" - route_lookup: "" - inactive: "" - description: "" - translate_hits: "291" - untranslate_hits: "3" diff --git a/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml b/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml new file mode 100644 index 0000000000..83fe4767d1 --- /dev/null +++ b/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml @@ -0,0 +1,1352 @@ +--- +parsed_sample: + - nat_section_number: "1" + line_number: "1" + source_interface: "any" + destination_interface: "any" + source_type: "static" + source_real: "any" + source_mapped: "any" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "source dynamic static destination static net-to-net service any\ + \ pat-pool interface dns unidirectional no-proxy-arp route-lookup ipv6 inactive\ + \ description <-- THESE ARE ALL PART OF THE DESCRIPTION" + translate_hits: "505" + untranslate_hits: "750" + - nat_section_number: "1" + line_number: "2" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "inactive" + description: "test" + translate_hits: "900" + untranslate_hits: "883" + - nat_section_number: "1" + line_number: "3" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "test-service-1" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "826" + untranslate_hits: "961" + - nat_section_number: "1" + line_number: "4" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "any" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "722" + untranslate_hits: "201" + - nat_section_number: "1" + line_number: "5" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "pat-pool interface" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "563" + untranslate_hits: "48" + - nat_section_number: "1" + line_number: "6" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "pat-pool test11" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "997" + untranslate_hits: "159" + - nat_section_number: "1" + line_number: "7" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "any" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "488" + untranslate_hits: "313" + - nat_section_number: "1" + line_number: "8" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "606" + untranslate_hits: "395" + - nat_section_number: "1" + line_number: "9" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "extended flat include-reserve round-robin dns 169.254.1.1 2006::2/128\ + \ <-- THESE ARE ALL PART OF THE DESCRIPTION" + translate_hits: "303" + untranslate_hits: "275" + - nat_section_number: "1" + line_number: "10" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "unidirectional" + no_proxy_arp: "no-proxy-arp" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "359" + untranslate_hits: "447" + - nat_section_number: "1" + line_number: "11" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "inactive" + description: "test" + translate_hits: "393" + untranslate_hits: "527" + - nat_section_number: "1" + line_number: "12" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "test-service-1" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "327" + untranslate_hits: "527" + - nat_section_number: "1" + line_number: "13" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "any" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "683" + untranslate_hits: "110" + - nat_section_number: "1" + line_number: "14" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test2" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test3" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "no-proxy-arp" + route_lookup: "route-lookup" + inactive: "" + description: "" + translate_hits: "373" + untranslate_hits: "811" + - nat_section_number: "1" + line_number: "15" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test1" + destination_real: "test3" + destination_mapped: "test3" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "route-lookup" + inactive: "" + description: "" + translate_hits: "666" + untranslate_hits: "609" + - nat_section_number: "1" + line_number: "16" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "any" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "263" + untranslate_hits: "131" + - nat_section_number: "1" + line_number: "17" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "dns" + unidirectional: "unidirectional" + no_proxy_arp: "no-proxy-arp" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "408" + untranslate_hits: "436" + - nat_section_number: "1" + line_number: "18" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test1" + source_mapped: "test2" + destination_real: "test3" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "892" + untranslate_hits: "922" + - nat_section_number: "1" + line_number: "19" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "interface" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "142" + untranslate_hits: "129" + - nat_section_number: "1" + line_number: "20" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "test2" + destination_real: "interface" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "620" + untranslate_hits: "50" + - nat_section_number: "1" + line_number: "21" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test6" + source_mapped: "test7" + destination_real: "interface" + destination_mapped: "ipv6" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "152" + untranslate_hits: "359" + - nat_section_number: "1" + line_number: "22" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test6" + source_mapped: "interface ipv6" + destination_real: "test8" + destination_mapped: "test9" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "214" + untranslate_hits: "411" + - nat_section_number: "1" + line_number: "23" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "any" + source_mapped: "interface ipv6" + destination_real: "test8" + destination_mapped: "test9" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "341" + untranslate_hits: "651" + - nat_section_number: "1" + line_number: "24" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "interface" + destination_real: "test3" + destination_mapped: "test4" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "992" + untranslate_hits: "255" + - nat_section_number: "2" + line_number: "1" + source_interface: "any" + destination_interface: "any" + source_type: "static" + source_real: "test11" + source_mapped: "169.254.11.11" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "no-proxy-arp" + route_lookup: "route-lookup" + inactive: "" + description: "" + translate_hits: "694" + untranslate_hits: "246" + - nat_section_number: "2" + line_number: "2" + source_interface: "inside" + destination_interface: "outside" + source_type: "static" + source_real: "test6" + source_mapped: "interface ipv6" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "no-proxy-arp" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "655" + untranslate_hits: "840" + - nat_section_number: "2" + line_number: "3" + source_interface: "inside" + destination_interface: "outside" + source_type: "static" + source_real: "test7" + source_mapped: "test8" + destination_real: "" + destination_mapped: "" + service_real: "tcp" + service_mapped: "ssh" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "680" + untranslate_hits: "7" + - nat_section_number: "2" + line_number: "4" + source_interface: "inside" + destination_interface: "outside" + source_type: "static" + source_real: "test9" + source_mapped: "2006::2/128" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "976" + untranslate_hits: "175" + - nat_section_number: "2" + line_number: "5" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test1" + source_mapped: "169.254.1.1" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "dns" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "683" + untranslate_hits: "761" + - nat_section_number: "2" + line_number: "6" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test2" + source_mapped: "test3" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "117" + untranslate_hits: "939" + - nat_section_number: "2" + line_number: "7" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test3" + source_mapped: "pat-pool test11" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "extended" + flat: "flat" + include_reserve: "include-reserve" + round_robin: "round-robin" + net_to_net: "" + dns: "dns" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "936" + untranslate_hits: "246" + - nat_section_number: "2" + line_number: "8" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test4" + source_mapped: "pat-pool test11" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "383" + untranslate_hits: "467" + - nat_section_number: "2" + line_number: "9" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test5" + source_mapped: "interface" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "dns" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "795" + untranslate_hits: "263" + - nat_section_number: "3" + line_number: "1" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "inactive" + description: "source dynamic static destination static net-to-net service any\ + \ pat-pool interface dns unidirectional no-proxy-arp route-lookup ipv6 inactive\ + \ description <-- THESE ARE ALL PART OF THE DESCRIPTION" + translate_hits: "687" + untranslate_hits: "666" + - nat_section_number: "3" + line_number: "2" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "test-service-1" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "911" + untranslate_hits: "47" + - nat_section_number: "3" + line_number: "3" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "any" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "651" + untranslate_hits: "130" + - nat_section_number: "3" + line_number: "4" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "pat-pool interface" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "350" + untranslate_hits: "231" + - nat_section_number: "3" + line_number: "5" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "pat-pool test21" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "553" + untranslate_hits: "961" + - nat_section_number: "3" + line_number: "6" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "any" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "957" + untranslate_hits: "766" + - nat_section_number: "3" + line_number: "7" + source_interface: "any" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "997" + untranslate_hits: "468" + - nat_section_number: "3" + line_number: "8" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "extended flat include-reserve round-robin dns 169.254.1.1 2006::2/128\ + \ <-- THESE ARE ALL PART OF THE DESCRIPTION" + translate_hits: "622" + untranslate_hits: "632" + - nat_section_number: "3" + line_number: "9" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "unidirectional" + no_proxy_arp: "no-proxy-arp" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "425" + untranslate_hits: "474" + - nat_section_number: "3" + line_number: "10" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "inactive" + description: "test1" + translate_hits: "99" + untranslate_hits: "610" + - nat_section_number: "3" + line_number: "11" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "test-service-1" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "948" + untranslate_hits: "144" + - nat_section_number: "3" + line_number: "12" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "any" + service_mapped: "test-service-2" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "386" + untranslate_hits: "211" + - nat_section_number: "3" + line_number: "13" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test12" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test13" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "no-proxy-arp" + route_lookup: "route-lookup" + inactive: "" + description: "" + translate_hits: "443" + untranslate_hits: "600" + - nat_section_number: "3" + line_number: "14" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test11" + destination_real: "test13" + destination_mapped: "test13" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "route-lookup" + inactive: "" + description: "" + translate_hits: "957" + untranslate_hits: "705" + - nat_section_number: "3" + line_number: "15" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "any" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "net-to-net" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "171" + untranslate_hits: "11" + - nat_section_number: "3" + line_number: "16" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "" + destination_mapped: "" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "dns" + unidirectional: "unidirectional" + no_proxy_arp: "no-proxy-arp" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "843" + untranslate_hits: "956" + - nat_section_number: "3" + line_number: "17" + source_interface: "any" + destination_interface: "outside" + source_type: "static" + source_real: "test11" + source_mapped: "test12" + destination_real: "test13" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "302" + untranslate_hits: "950" + - nat_section_number: "3" + line_number: "18" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "interface" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "662" + untranslate_hits: "278" + - nat_section_number: "3" + line_number: "19" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "test12" + destination_real: "interface" + destination_mapped: "any" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "269" + untranslate_hits: "859" + - nat_section_number: "3" + line_number: "20" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test16" + source_mapped: "test17" + destination_real: "interface" + destination_mapped: "ipv6" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "92" + untranslate_hits: "257" + - nat_section_number: "3" + line_number: "21" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test16" + source_mapped: "interface ipv6" + destination_real: "test18" + destination_mapped: "test19" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "97" + untranslate_hits: "354" + - nat_section_number: "3" + line_number: "22" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "any" + source_mapped: "interface ipv6" + destination_real: "test18" + destination_mapped: "test19" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "780" + untranslate_hits: "376" + - nat_section_number: "3" + line_number: "23" + source_interface: "inside" + destination_interface: "outside" + source_type: "dynamic" + source_real: "test11" + source_mapped: "interface" + destination_real: "test13" + destination_mapped: "test14" + service_real: "" + service_mapped: "" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "291" + untranslate_hits: "3" diff --git a/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.parsed b/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.parsed deleted file mode 100644 index 4698ab1264..0000000000 --- a/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.parsed +++ /dev/null @@ -1,115 +0,0 @@ ---- -parsed_sample: - -- name: "NETWORK-10.42.89.0_24" - desc: "" - type: "network" - host: "" - net_object: "" - network: "10.142.89.0" - mask: "255.255.255.0" - grp_object: "" -- name: "network-10.0.0.0_8" - desc: "" - type: "network" - host: "" - net_object: "" - network: "10.0.0.0" - mask: "255.0.0.0" - grp_object: "" -- name: "SITE-A" - desc: "" - type: "host" - host: "10.1.1.22" - net_object: "" - network: "" - mask: "" - grp_object: "" -- name: "site-b" - desc: "" - type: "host" - host: "10.1.1.33" - net_object: "" - network: "" - mask: "" - grp_object: "" -- name: "Lab" - desc: "" - type: "network" - host: "" - net_object: "" - network: "10.143.185.10" - mask: "255.255.255.255" - grp_object: "" -- name: "Lab" - desc: "" - type: "network" - host: "" - net_object: "" - network: "10.143.185.15" - mask: "255.255.255.255" - grp_object: "" -- name: "Dev" - desc: "" - type: "group" - host: "" - net_object: "" - network: "" - mask: "" - grp_object: "dev_web-servers" -- name: "Dev" - desc: "" - type: "object" - host: "" - net_object: "DEV_DB" - network: "" - mask: "" - grp_object: "" -- name: "Prod" - desc: "Prod Environment" - type: "network" - host: "" - net_object: "" - network: "10.14.88.115" - mask: "255.255.255.255" - grp_object: "" -- name: "Prod" - desc: "Prod Environment" - type: "host" - host: "10.135.92.6" - net_object: "" - network: "" - mask: "" - grp_object: "" -- name: "Prod" - desc: "Prod Environment" - type: "object" - host: "" - net_object: "svr01" - network: "" - mask: "" - grp_object: "" -- name: "Prod" - desc: "Prod Environment" - type: "group" - host: "" - net_object: "" - network: "" - mask: "" - grp_object: "prod_dc" -- name: "dr" - desc: "dr-network" - type: "network" - host: "" - net_object: "" - network: "10.210.0.0" - mask: "255.255.0.0" - grp_object: "" -- name: "dr2" - desc: "dr2-network" - type: "network" - host: "" - net_object: "" - network: "10.211.0.0" - mask: "255.255.0.0" - grp_object: "" diff --git a/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.yml b/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.yml new file mode 100644 index 0000000000..90aa66729d --- /dev/null +++ b/tests/cisco_asa/show_object-group_network/cisco_asa_show_object-group_network.yml @@ -0,0 +1,114 @@ +--- +parsed_sample: + - name: "NETWORK-10.42.89.0_24" + desc: "" + type: "network" + host: "" + net_object: "" + network: "10.142.89.0" + mask: "255.255.255.0" + grp_object: "" + - name: "network-10.0.0.0_8" + desc: "" + type: "network" + host: "" + net_object: "" + network: "10.0.0.0" + mask: "255.0.0.0" + grp_object: "" + - name: "SITE-A" + desc: "" + type: "host" + host: "10.1.1.22" + net_object: "" + network: "" + mask: "" + grp_object: "" + - name: "site-b" + desc: "" + type: "host" + host: "10.1.1.33" + net_object: "" + network: "" + mask: "" + grp_object: "" + - name: "Lab" + desc: "" + type: "network" + host: "" + net_object: "" + network: "10.143.185.10" + mask: "255.255.255.255" + grp_object: "" + - name: "Lab" + desc: "" + type: "network" + host: "" + net_object: "" + network: "10.143.185.15" + mask: "255.255.255.255" + grp_object: "" + - name: "Dev" + desc: "" + type: "group" + host: "" + net_object: "" + network: "" + mask: "" + grp_object: "dev_web-servers" + - name: "Dev" + desc: "" + type: "object" + host: "" + net_object: "DEV_DB" + network: "" + mask: "" + grp_object: "" + - name: "Prod" + desc: "Prod Environment" + type: "network" + host: "" + net_object: "" + network: "10.14.88.115" + mask: "255.255.255.255" + grp_object: "" + - name: "Prod" + desc: "Prod Environment" + type: "host" + host: "10.135.92.6" + net_object: "" + network: "" + mask: "" + grp_object: "" + - name: "Prod" + desc: "Prod Environment" + type: "object" + host: "" + net_object: "svr01" + network: "" + mask: "" + grp_object: "" + - name: "Prod" + desc: "Prod Environment" + type: "group" + host: "" + net_object: "" + network: "" + mask: "" + grp_object: "prod_dc" + - name: "dr" + desc: "dr-network" + type: "network" + host: "" + net_object: "" + network: "10.210.0.0" + mask: "255.255.0.0" + grp_object: "" + - name: "dr2" + desc: "dr2-network" + type: "network" + host: "" + net_object: "" + network: "10.211.0.0" + mask: "255.255.0.0" + grp_object: "" diff --git a/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.parsed b/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.parsed deleted file mode 100644 index 07f1e46965..0000000000 --- a/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.parsed +++ /dev/null @@ -1,123 +0,0 @@ ---- -parsed_sample: - -- context: admin - current: '0' - denied: '0' - limit: '5' - peak: '1' - resource: Telnet -- context: admin - current: '2' - denied: '0' - limit: '5' - peak: '5' - resource: SSH Server -- context: admin - current: '1' - denied: '18' - limit: '5' - peak: '5' - resource: ASDM -- context: admin - current: '0' - denied: '0' - limit: unlimited - peak: '1153' - resource: Syslogs [rate] -- context: admin - current: '177' - denied: '0' - limit: unlimited - peak: '319' - resource: Conns -- context: admin - current: '11' - denied: '0' - limit: unlimited - peak: '19' - resource: Hosts -- context: admin - current: '0' - denied: '0' - limit: unlimited - peak: '99' - resource: Inspects [rate] -- context: admin - current: '3' - denied: '0' - limit: unlimited - peak: '3' - resource: Routes -- context: DATA - current: '0' - denied: '0' - limit: unlimited - peak: '112' - resource: Syslogs [rate] -- context: DATA - current: '20' - denied: '0' - limit: unlimited - peak: '1031' - resource: Conns -- context: DATA - current: '18' - denied: '0' - limit: unlimited - peak: '28' - resource: Hosts -- context: DATA - current: '0' - denied: '0' - limit: unlimited - peak: '73' - resource: Inspects [rate] -- context: DATA - current: '30' - denied: '0' - limit: unlimited - peak: '30' - resource: Routes -- context: TEST - current: '329' - denied: '0' - limit: unlimited - peak: '6727' - resource: Syslogs [rate] -- context: TEST - current: '5802' - denied: '0' - limit: unlimited - peak: '32491' - resource: Conns -- context: TEST - current: '943' - denied: '0' - limit: unlimited - peak: '944' - resource: Xlates -- context: TEST - current: '2085' - denied: '0' - limit: unlimited - peak: '7120' - resource: Hosts -- context: TEST - current: '605' - denied: '0' - limit: unlimited - peak: '7235' - resource: Conns [rate] -- context: TEST - current: '510' - denied: '0' - limit: unlimited - peak: '3574' - resource: Inspects [rate] -- context: TEST - current: '701' - denied: '0' - limit: unlimited - peak: '701' - resource: Routes diff --git a/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.yml b/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.yml new file mode 100644 index 0000000000..8fbb3b4b15 --- /dev/null +++ b/tests/cisco_asa/show_resource_usage/cisco_asa_show_resource_usage.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - context: "admin" + current: "0" + denied: "0" + limit: "5" + peak: "1" + resource: "Telnet" + - context: "admin" + current: "2" + denied: "0" + limit: "5" + peak: "5" + resource: "SSH Server" + - context: "admin" + current: "1" + denied: "18" + limit: "5" + peak: "5" + resource: "ASDM" + - context: "admin" + current: "0" + denied: "0" + limit: "unlimited" + peak: "1153" + resource: "Syslogs [rate]" + - context: "admin" + current: "177" + denied: "0" + limit: "unlimited" + peak: "319" + resource: "Conns" + - context: "admin" + current: "11" + denied: "0" + limit: "unlimited" + peak: "19" + resource: "Hosts" + - context: "admin" + current: "0" + denied: "0" + limit: "unlimited" + peak: "99" + resource: "Inspects [rate]" + - context: "admin" + current: "3" + denied: "0" + limit: "unlimited" + peak: "3" + resource: "Routes" + - context: "DATA" + current: "0" + denied: "0" + limit: "unlimited" + peak: "112" + resource: "Syslogs [rate]" + - context: "DATA" + current: "20" + denied: "0" + limit: "unlimited" + peak: "1031" + resource: "Conns" + - context: "DATA" + current: "18" + denied: "0" + limit: "unlimited" + peak: "28" + resource: "Hosts" + - context: "DATA" + current: "0" + denied: "0" + limit: "unlimited" + peak: "73" + resource: "Inspects [rate]" + - context: "DATA" + current: "30" + denied: "0" + limit: "unlimited" + peak: "30" + resource: "Routes" + - context: "TEST" + current: "329" + denied: "0" + limit: "unlimited" + peak: "6727" + resource: "Syslogs [rate]" + - context: "TEST" + current: "5802" + denied: "0" + limit: "unlimited" + peak: "32491" + resource: "Conns" + - context: "TEST" + current: "943" + denied: "0" + limit: "unlimited" + peak: "944" + resource: "Xlates" + - context: "TEST" + current: "2085" + denied: "0" + limit: "unlimited" + peak: "7120" + resource: "Hosts" + - context: "TEST" + current: "605" + denied: "0" + limit: "unlimited" + peak: "7235" + resource: "Conns [rate]" + - context: "TEST" + current: "510" + denied: "0" + limit: "unlimited" + peak: "3574" + resource: "Inspects [rate]" + - context: "TEST" + current: "701" + denied: "0" + limit: "unlimited" + peak: "701" + resource: "Routes" diff --git a/tests/cisco_asa/show_route/cisco_asa_show_route.parsed b/tests/cisco_asa/show_route/cisco_asa_show_route.parsed deleted file mode 100644 index fe5712d7bf..0000000000 --- a/tests/cisco_asa/show_route/cisco_asa_show_route.parsed +++ /dev/null @@ -1,282 +0,0 @@ ---- -parsed_sample: - -- protocol: "S" - type: "" - network: "Server1" - mask: "255.255.255.255" - distance: "1" - metric: "0" - nexthopip: "10.0.5.12" - nexthopif: "outside" - uptime: "" -- protocol: "S" - type: "" - network: "10.64.65.82" - mask: "255.255.255.255" - distance: "1" - metric: "0" - nexthopip: "10.100.67.246" - nexthopif: "outside" - uptime: "" -- protocol: "S" - type: "" - network: "10.64.65.82" - mask: "255.255.255.255" - distance: "1" - metric: "0" - nexthopip: "10.0.5.12" - nexthopif: "outside" - uptime: "" -- protocol: "S" - type: "" - network: "Sever-2" - mask: "255.255.255.255" - distance: "1" - metric: "0" - nexthopip: "10.0.5.12" - nexthopif: "outside" - uptime: "" -- protocol: "S" - type: "" - network: "192.168.14.95" - mask: "255.255.255.255" - distance: "1" - metric: "0" - nexthopip: "10.0.5.12" - nexthopif: "outside" - uptime: "" -- protocol: "S" - type: "" - network: "Server_3" - mask: "255.255.255.255" - distance: "1" - metric: "0" - nexthopip: "10.0.5.12" - nexthopif: "outside" - uptime: "" -- protocol: "S" - type: "" - network: "10.54.6.0" - mask: "255.255.255.0" - distance: "1" - metric: "0" - nexthopip: "10.0.5.12" - nexthopif: "outside" - uptime: "" -- protocol: "S" - type: "" - network: "SERVER" - mask: "255.255.255.255" - distance: "1" - metric: "0" - nexthopip: "10.0.5.12" - nexthopif: "outside" - uptime: "" -- protocol: "S" - type: "" - network: "192.168.10.0" - mask: "255.255.255.64" - distance: "1" - metric: "0" - nexthopip: "172.52.64.1" - nexthopif: "inside" - uptime: "" -- protocol: "S" - type: "" - network: "server" - mask: "255.255.255.255" - distance: "1" - metric: "0" - nexthopip: "172.52.64.1" - nexthopif: "inside" - uptime: "" -- protocol: "S" - type: "" - network: "10.14.128.0" - mask: "255.255.255.0" - distance: "1" - metric: "0" - nexthopip: "172.52.64.1" - nexthopif: "inside" - uptime: "" -- protocol: "S" - type: "" - network: "10.13.0.0" - mask: "255.255.0.0" - distance: "1" - metric: "0" - nexthopip: "172.52.64.1" - nexthopif: "inside" - uptime: "" -- protocol: "S" - type: "" - network: "10.3.18.16" - mask: "255.255.255.255" - distance: "1" - metric: "0" - nexthopip: "172.52.64.1" - nexthopif: "inside" - uptime: "" -- protocol: "C" - type: "" - network: "192.168.1.0" - mask: "255.255.255.0" - distance: "" - metric: "" - nexthopip: "" - nexthopif: "outside" - uptime: "" -- protocol: "L" - type: "" - network: "192.168.1.108" - mask: "255.255.255.255" - distance: "" - metric: "" - nexthopip: "" - nexthopif: "outside" - uptime: "" -- protocol: "O" - type: "IA" - network: "172.16.2.254" - mask: "255.255.255.255" - distance: "110" - metric: "11" - nexthopip: "192.168.2.2" - nexthopif: "inside" - uptime: "3:21:21" -- protocol: "O" - type: "IA" - network: "172.16.3.254" - mask: "255.255.255.255" - distance: "110" - metric: "11" - nexthopip: "192.168.2.2" - nexthopif: "inside" - uptime: "3:21:21" -- protocol: "O" - type: "IA" - network: "172.16.1.254" - mask: "255.255.255.255" - distance: "110" - metric: "11" - nexthopip: "192.168.2.2" - nexthopif: "inside" - uptime: "3:21:21" -- protocol: "O" - type: "IA" - network: "172.16.4.254" - mask: "255.255.255.255" - distance: "110" - metric: "11" - nexthopip: "192.168.2.2" - nexthopif: "inside" - uptime: "3:21:21" -- protocol: "O" - type: "IA" - network: "10.0.4.254" - mask: "255.255.255.255" - distance: "110" - metric: "11" - nexthopip: "192.168.1.2" - nexthopif: "outside" - uptime: "3:21:21" -- protocol: "O" - type: "IA" - network: "10.0.1.254" - mask: "255.255.255.255" - distance: "110" - metric: "11" - nexthopip: "192.168.1.2" - nexthopif: "outside" - uptime: "3:21:21" -- protocol: "O" - type: "IA" - network: "10.0.2.254" - mask: "255.255.255.255" - distance: "110" - metric: "11" - nexthopip: "192.168.1.2" - nexthopif: "outside" - uptime: "3:21:21" -- protocol: "O" - type: "IA" - network: "10.0.3.254" - mask: "255.255.255.255" - distance: "110" - metric: "11" - nexthopip: "192.168.1.2" - nexthopif: "outside" - uptime: "3:21:21" -- protocol: "O" - type: "E2" - network: "10.1.1.0" - mask: "255.255.255.0" - distance: "170" - metric: "3840" - nexthopip: "192.168.1.2" - nexthopif: "outside" - uptime: "2w6d" -- protocol: "O" - type: "E2" - network: "10.1.1.0" - mask: "255.255.255.0" - distance: "170" - metric: "3840" - nexthopip: "192.168.2.2" - nexthopif: "outside" - uptime: "2w6d" -- protocol: "O" - type: "E2" - network: "10.1.2.0" - mask: "255.255.255.0" - distance: "170" - metric: "3840" - nexthopip: "192.168.1.2" - nexthopif: "outside" - uptime: "2w6d" -- protocol: "O" - type: "E2" - network: "10.1.2.0" - mask: "255.255.255.0" - distance: "170" - metric: "3840" - nexthopip: "192.168.2.2" - nexthopif: "outside" - uptime: "2w6d" -- protocol: "O" - type: "E2" - network: "10.1.3.0" - mask: "255.255.255.0" - distance: "170" - metric: "3840" - nexthopip: "192.168.1.2" - nexthopif: "outside" - uptime: "2w6d" -- protocol: "O" - type: "E2" - network: "10.1.3.0" - mask: "255.255.255.0" - distance: "170" - metric: "3840" - nexthopip: "192.168.2.2" - nexthopif: "outside" - uptime: "2w6d" -- protocol: "C" - type: "" - network: "192.168.1.0" - mask: "255.255.255.0" - distance: "" - metric: "" - nexthopip: "" - nexthopif: "outside" - uptime: "" -- protocol: "C" - type: "" - network: "192.168.2.0" - mask: "255.255.255.0" - distance: "" - metric: "" - nexthopip: "" - nexthopif: "inside" - uptime: "" diff --git a/tests/cisco_asa/show_route/cisco_asa_show_route.yml b/tests/cisco_asa/show_route/cisco_asa_show_route.yml new file mode 100644 index 0000000000..96e801ec39 --- /dev/null +++ b/tests/cisco_asa/show_route/cisco_asa_show_route.yml @@ -0,0 +1,281 @@ +--- +parsed_sample: + - protocol: "S" + type: "" + network: "Server1" + mask: "255.255.255.255" + distance: "1" + metric: "0" + nexthopip: "10.0.5.12" + nexthopif: "outside" + uptime: "" + - protocol: "S" + type: "" + network: "10.64.65.82" + mask: "255.255.255.255" + distance: "1" + metric: "0" + nexthopip: "10.100.67.246" + nexthopif: "outside" + uptime: "" + - protocol: "S" + type: "" + network: "10.64.65.82" + mask: "255.255.255.255" + distance: "1" + metric: "0" + nexthopip: "10.0.5.12" + nexthopif: "outside" + uptime: "" + - protocol: "S" + type: "" + network: "Sever-2" + mask: "255.255.255.255" + distance: "1" + metric: "0" + nexthopip: "10.0.5.12" + nexthopif: "outside" + uptime: "" + - protocol: "S" + type: "" + network: "192.168.14.95" + mask: "255.255.255.255" + distance: "1" + metric: "0" + nexthopip: "10.0.5.12" + nexthopif: "outside" + uptime: "" + - protocol: "S" + type: "" + network: "Server_3" + mask: "255.255.255.255" + distance: "1" + metric: "0" + nexthopip: "10.0.5.12" + nexthopif: "outside" + uptime: "" + - protocol: "S" + type: "" + network: "10.54.6.0" + mask: "255.255.255.0" + distance: "1" + metric: "0" + nexthopip: "10.0.5.12" + nexthopif: "outside" + uptime: "" + - protocol: "S" + type: "" + network: "SERVER" + mask: "255.255.255.255" + distance: "1" + metric: "0" + nexthopip: "10.0.5.12" + nexthopif: "outside" + uptime: "" + - protocol: "S" + type: "" + network: "192.168.10.0" + mask: "255.255.255.64" + distance: "1" + metric: "0" + nexthopip: "172.52.64.1" + nexthopif: "inside" + uptime: "" + - protocol: "S" + type: "" + network: "server" + mask: "255.255.255.255" + distance: "1" + metric: "0" + nexthopip: "172.52.64.1" + nexthopif: "inside" + uptime: "" + - protocol: "S" + type: "" + network: "10.14.128.0" + mask: "255.255.255.0" + distance: "1" + metric: "0" + nexthopip: "172.52.64.1" + nexthopif: "inside" + uptime: "" + - protocol: "S" + type: "" + network: "10.13.0.0" + mask: "255.255.0.0" + distance: "1" + metric: "0" + nexthopip: "172.52.64.1" + nexthopif: "inside" + uptime: "" + - protocol: "S" + type: "" + network: "10.3.18.16" + mask: "255.255.255.255" + distance: "1" + metric: "0" + nexthopip: "172.52.64.1" + nexthopif: "inside" + uptime: "" + - protocol: "C" + type: "" + network: "192.168.1.0" + mask: "255.255.255.0" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "outside" + uptime: "" + - protocol: "L" + type: "" + network: "192.168.1.108" + mask: "255.255.255.255" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "outside" + uptime: "" + - protocol: "O" + type: "IA" + network: "172.16.2.254" + mask: "255.255.255.255" + distance: "110" + metric: "11" + nexthopip: "192.168.2.2" + nexthopif: "inside" + uptime: "3:21:21" + - protocol: "O" + type: "IA" + network: "172.16.3.254" + mask: "255.255.255.255" + distance: "110" + metric: "11" + nexthopip: "192.168.2.2" + nexthopif: "inside" + uptime: "3:21:21" + - protocol: "O" + type: "IA" + network: "172.16.1.254" + mask: "255.255.255.255" + distance: "110" + metric: "11" + nexthopip: "192.168.2.2" + nexthopif: "inside" + uptime: "3:21:21" + - protocol: "O" + type: "IA" + network: "172.16.4.254" + mask: "255.255.255.255" + distance: "110" + metric: "11" + nexthopip: "192.168.2.2" + nexthopif: "inside" + uptime: "3:21:21" + - protocol: "O" + type: "IA" + network: "10.0.4.254" + mask: "255.255.255.255" + distance: "110" + metric: "11" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "3:21:21" + - protocol: "O" + type: "IA" + network: "10.0.1.254" + mask: "255.255.255.255" + distance: "110" + metric: "11" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "3:21:21" + - protocol: "O" + type: "IA" + network: "10.0.2.254" + mask: "255.255.255.255" + distance: "110" + metric: "11" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "3:21:21" + - protocol: "O" + type: "IA" + network: "10.0.3.254" + mask: "255.255.255.255" + distance: "110" + metric: "11" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "3:21:21" + - protocol: "O" + type: "E2" + network: "10.1.1.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "2w6d" + - protocol: "O" + type: "E2" + network: "10.1.1.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.2.2" + nexthopif: "outside" + uptime: "2w6d" + - protocol: "O" + type: "E2" + network: "10.1.2.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "2w6d" + - protocol: "O" + type: "E2" + network: "10.1.2.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.2.2" + nexthopif: "outside" + uptime: "2w6d" + - protocol: "O" + type: "E2" + network: "10.1.3.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "2w6d" + - protocol: "O" + type: "E2" + network: "10.1.3.0" + mask: "255.255.255.0" + distance: "170" + metric: "3840" + nexthopip: "192.168.2.2" + nexthopif: "outside" + uptime: "2w6d" + - protocol: "C" + type: "" + network: "192.168.1.0" + mask: "255.255.255.0" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "outside" + uptime: "" + - protocol: "C" + type: "" + network: "192.168.2.0" + mask: "255.255.255.0" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "inside" + uptime: "" diff --git a/tests/cisco_asa/show_running-config_crypto_ikev1/cisco_asa_show_running-config_crypto_ikev1.parsed b/tests/cisco_asa/show_running-config_crypto_ikev1/cisco_asa_show_running-config_crypto_ikev1.parsed deleted file mode 100644 index 0b9ba77534..0000000000 --- a/tests/cisco_asa/show_running-config_crypto_ikev1/cisco_asa_show_running-config_crypto_ikev1.parsed +++ /dev/null @@ -1,87 +0,0 @@ ---- -parsed_sample: - -- ike_version: '1' - policy_id: '5' - auth_method: 'pre-share' - encryption: 'aes-256' - auth_algorithm: 'sha' - dh_group: 'group 5' - lifetime: '86400' -- ike_version: '1' - policy_id: '10' - auth_method: 'pre-share' - encryption: '3des' - auth_algorithm: 'md5' - dh_group: 'group 2' - lifetime: '86400' -- ike_version: '1' - policy_id: '15' - auth_method: 'pre-share' - encryption: '3des' - auth_algorithm: 'sha' - dh_group: 'group 2' - lifetime: '86400' -- ike_version: '1' - policy_id: '20' - auth_method: 'pre-share' - encryption: '3des' - auth_algorithm: 'md5' - dh_group: 'group 5' - lifetime: '86400' -- ike_version: '1' - policy_id: '25' - auth_method: 'pre-share' - encryption: '3des' - auth_algorithm: 'sha' - dh_group: 'group 5' - lifetime: '86400' -- ike_version: '1' - policy_id: '30' - auth_method: 'pre-share' - encryption: 'aes-192' - auth_algorithm: 'md5' - dh_group: 'group 2' - lifetime: '86400' -- ike_version: '1' - policy_id: '35' - auth_method: 'pre-share' - encryption: 'aes-192' - auth_algorithm: 'sha' - dh_group: 'group 2' - lifetime: '86400' -- ike_version: '1' - policy_id: '40' - auth_method: 'pre-share' - encryption: 'aes-192' - auth_algorithm: 'md5' - dh_group: 'group 5' - lifetime: '86400' -- ike_version: '1' - policy_id: '45' - auth_method: 'pre-share' - encryption: 'aes-192' - auth_algorithm: 'sha' - dh_group: 'group 5' - lifetime: '86400' -- ike_version: '1' - policy_id: '50' - auth_method: 'pre-share' - encryption: 'aes-256' - auth_algorithm: 'md5' - dh_group: 'group 2' - lifetime: '86400' -- ike_version: '1' - policy_id: '55' - auth_method: 'pre-share' - encryption: 'aes-256' - auth_algorithm: 'sha' - dh_group: 'group 2' - lifetime: '86400' -- ike_version: '1' - policy_id: '60' - auth_method: 'pre-share' - encryption: 'aes-256' - auth_algorithm: 'md5' - dh_group: 'group 5' - lifetime: '86400' diff --git a/tests/cisco_asa/show_running-config_crypto_ikev1/cisco_asa_show_running-config_crypto_ikev1.yml b/tests/cisco_asa/show_running-config_crypto_ikev1/cisco_asa_show_running-config_crypto_ikev1.yml new file mode 100644 index 0000000000..6c66083cd7 --- /dev/null +++ b/tests/cisco_asa/show_running-config_crypto_ikev1/cisco_asa_show_running-config_crypto_ikev1.yml @@ -0,0 +1,86 @@ +--- +parsed_sample: + - ike_version: "1" + policy_id: "5" + auth_method: "pre-share" + encryption: "aes-256" + auth_algorithm: "sha" + dh_group: "group 5" + lifetime: "86400" + - ike_version: "1" + policy_id: "10" + auth_method: "pre-share" + encryption: "3des" + auth_algorithm: "md5" + dh_group: "group 2" + lifetime: "86400" + - ike_version: "1" + policy_id: "15" + auth_method: "pre-share" + encryption: "3des" + auth_algorithm: "sha" + dh_group: "group 2" + lifetime: "86400" + - ike_version: "1" + policy_id: "20" + auth_method: "pre-share" + encryption: "3des" + auth_algorithm: "md5" + dh_group: "group 5" + lifetime: "86400" + - ike_version: "1" + policy_id: "25" + auth_method: "pre-share" + encryption: "3des" + auth_algorithm: "sha" + dh_group: "group 5" + lifetime: "86400" + - ike_version: "1" + policy_id: "30" + auth_method: "pre-share" + encryption: "aes-192" + auth_algorithm: "md5" + dh_group: "group 2" + lifetime: "86400" + - ike_version: "1" + policy_id: "35" + auth_method: "pre-share" + encryption: "aes-192" + auth_algorithm: "sha" + dh_group: "group 2" + lifetime: "86400" + - ike_version: "1" + policy_id: "40" + auth_method: "pre-share" + encryption: "aes-192" + auth_algorithm: "md5" + dh_group: "group 5" + lifetime: "86400" + - ike_version: "1" + policy_id: "45" + auth_method: "pre-share" + encryption: "aes-192" + auth_algorithm: "sha" + dh_group: "group 5" + lifetime: "86400" + - ike_version: "1" + policy_id: "50" + auth_method: "pre-share" + encryption: "aes-256" + auth_algorithm: "md5" + dh_group: "group 2" + lifetime: "86400" + - ike_version: "1" + policy_id: "55" + auth_method: "pre-share" + encryption: "aes-256" + auth_algorithm: "sha" + dh_group: "group 2" + lifetime: "86400" + - ike_version: "1" + policy_id: "60" + auth_method: "pre-share" + encryption: "aes-256" + auth_algorithm: "md5" + dh_group: "group 5" + lifetime: "86400" diff --git a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.parsed b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.parsed deleted file mode 100644 index 71f05b7965..0000000000 --- a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.parsed +++ /dev/null @@ -1,19 +0,0 @@ ---- -parsed_sample: -- map: "Standard-1" - seq: "20" - matched_address: peer1 - pfs: "group5" - peer: "Peer-1" - ike: "ikev1" - transform: "Standard-Transform" - sa: "28800" - -- map: "Standard-1" - seq: "25" - matched_address: peer2 - pfs: "group2" - peer: "Peer-2" - ike: "ikev1" - transform: "Standard-Transform" - sa: "28800" diff --git a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml new file mode 100644 index 0000000000..07e61b129c --- /dev/null +++ b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - map: "Standard-1" + seq: "20" + matched_address: "peer1" + pfs: "group5" + peer: "Peer-1" + ike: "ikev1" + transform: "Standard-Transform" + sa: "28800" + - map: "Standard-1" + seq: "25" + matched_address: "peer2" + pfs: "group2" + peer: "Peer-2" + ike: "ikev1" + transform: "Standard-Transform" + sa: "28800" diff --git a/tests/cisco_asa/show_running-config_ipsec/cisco_asa_show_running-config_ipsec.parsed b/tests/cisco_asa/show_running-config_ipsec/cisco_asa_show_running-config_ipsec.parsed deleted file mode 100644 index a52a669583..0000000000 --- a/tests/cisco_asa/show_running-config_ipsec/cisco_asa_show_running-config_ipsec.parsed +++ /dev/null @@ -1,59 +0,0 @@ ---- -parsed_sample: - -- ike_version: "1" - name: "AES-256_MD5" - encryption: ["esp-aes-256"] - auth: ["esp-md5-hmac"] -- ike_version: "1" - name: "AES-256_SHA" - encryption: ["esp-aes-256"] - auth: ["esp-sha-hmac"] -- ike_version: "1" - name: "3DES_MD5" - encryption: ["esp-3des"] - auth: ["esp-md5-hmac"] -- ike_version: "1" - name: "3DES_SHa" - encryption: ["esp-3des"] - auth: ["esp-sha-hmac"] -- ike_version: "1" - name: "AES_MD5" - encryption: ["esp-aes"] - auth: ["esp-md5-hmac"] -- ike_version: "1" - name: "AES_SHA" - encryption: ["esp-aes"] - auth: ["esp-sha-hmac"] -- ike_version: "1" - name: "AES-192_MD5" - encryption: ["esp-aes-192"] - auth: ["esp-md5-hmac"] -- ike_version: "1" - name: "AES-192_SHA" - encryption: ["esp-aes-192"] - auth: ["esp-sha-hmac"] -- ike_version: "2" - name: "IKE2" - encryption: ["aes-gmac", "aes-gmac-192", "aes-gmac-256", "des", "3des", "aes", "aes-192", "aes-256", "aes-gcm", "aes-gcm-192", "aes-gcm-256"] - auth: ["md5", "sha-1", "sha-256", "sha-384", "sha-512"] -- ike_version: "2" - name: "NEW_IKE2" - encryption: ["aes-gmac", "aes-gmac-192", "aes-gmac-256", "des", "3des", "aes", "aes-192", "aes-256", "aes-gcm", "aes-gcm-192", "aes-gcm-256"] - auth: [] -- ike_version: "2" - name: "newer_ike2" - encryption: [] - auth: ["md5", "sha-1", "sha-256", "sha-384", "sha-512"] -- ike_version: "1" - name: "DES_MD5" - encryption: ["esp-des"] - auth: ["esp-md5-hmac"] -- ike_version: "1" - name: "DES_SHA" - encryption: ["esp-des"] - auth: ["esp-sha-hmac"] -- ike_version: "2" - name: "final_IKE2" - encryption: ["aes-gmac", "aes-gmac-192", "aes-gmac-256", "des", "3des", "aes-gcm-192", "aes-gcm-256"] - auth: ["md5", "sha-1", "sha-512"] \ No newline at end of file diff --git a/tests/cisco_asa/show_running-config_ipsec/cisco_asa_show_running-config_ipsec.yml b/tests/cisco_asa/show_running-config_ipsec/cisco_asa_show_running-config_ipsec.yml new file mode 100644 index 0000000000..e0a577a17a --- /dev/null +++ b/tests/cisco_asa/show_running-config_ipsec/cisco_asa_show_running-config_ipsec.yml @@ -0,0 +1,120 @@ +--- +parsed_sample: + - ike_version: "1" + name: "AES-256_MD5" + encryption: + - "esp-aes-256" + auth: + - "esp-md5-hmac" + - ike_version: "1" + name: "AES-256_SHA" + encryption: + - "esp-aes-256" + auth: + - "esp-sha-hmac" + - ike_version: "1" + name: "3DES_MD5" + encryption: + - "esp-3des" + auth: + - "esp-md5-hmac" + - ike_version: "1" + name: "3DES_SHa" + encryption: + - "esp-3des" + auth: + - "esp-sha-hmac" + - ike_version: "1" + name: "AES_MD5" + encryption: + - "esp-aes" + auth: + - "esp-md5-hmac" + - ike_version: "1" + name: "AES_SHA" + encryption: + - "esp-aes" + auth: + - "esp-sha-hmac" + - ike_version: "1" + name: "AES-192_MD5" + encryption: + - "esp-aes-192" + auth: + - "esp-md5-hmac" + - ike_version: "1" + name: "AES-192_SHA" + encryption: + - "esp-aes-192" + auth: + - "esp-sha-hmac" + - ike_version: "2" + name: "IKE2" + encryption: + - "aes-gmac" + - "aes-gmac-192" + - "aes-gmac-256" + - "des" + - "3des" + - "aes" + - "aes-192" + - "aes-256" + - "aes-gcm" + - "aes-gcm-192" + - "aes-gcm-256" + auth: + - "md5" + - "sha-1" + - "sha-256" + - "sha-384" + - "sha-512" + - ike_version: "2" + name: "NEW_IKE2" + encryption: + - "aes-gmac" + - "aes-gmac-192" + - "aes-gmac-256" + - "des" + - "3des" + - "aes" + - "aes-192" + - "aes-256" + - "aes-gcm" + - "aes-gcm-192" + - "aes-gcm-256" + auth: [] + - ike_version: "2" + name: "newer_ike2" + encryption: [] + auth: + - "md5" + - "sha-1" + - "sha-256" + - "sha-384" + - "sha-512" + - ike_version: "1" + name: "DES_MD5" + encryption: + - "esp-des" + auth: + - "esp-md5-hmac" + - ike_version: "1" + name: "DES_SHA" + encryption: + - "esp-des" + auth: + - "esp-sha-hmac" + - ike_version: "2" + name: "final_IKE2" + encryption: + - "aes-gmac" + - "aes-gmac-192" + - "aes-gmac-256" + - "des" + - "3des" + - "aes-gcm-192" + - "aes-gcm-256" + auth: + - "md5" + - "sha-1" + - "sha-512" diff --git a/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.parsed b/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.parsed deleted file mode 100644 index dfc4ff4e73..0000000000 --- a/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.parsed +++ /dev/null @@ -1,120 +0,0 @@ ---- -parsed_sample: - -- name: "corp" - desc: "" - type: "subnet" - host: "" - network: "10.0.0.0" - mask: "255.0.0.0" - cidr: "" - start_ip: "" - end_ip: "" -- name: "internal" - desc: "" - type: "subnet" - host: "" - network: "192.168.0.0" - mask: "255.255.255.0" - cidr: "" - start_ip: "" - end_ip: "" -- name: "any" - desc: "" - type: "subnet" - host: "" - network: "0.0.0.0" - mask: "0.0.0.0" - cidr: "" - start_ip: "" - end_ip: "" -- name: "host-10.10.11.1" - desc: "" - type: "host" - host: "10.10.11.1" - network: "" - mask: "" - cidr: "" - start_ip: "" - end_ip: "" -- name: "block" - desc: "" - type: "host" - host: "10.75.51.11" - network: "" - mask: "" - cidr: "" - start_ip: "" - end_ip: "" -- name: "dmz" - desc: "dmz GW ip" - type: "host" - host: "11.1.2.2" - network: "" - mask: "" - cidr: "" - start_ip: "" - end_ip: "" -- name: "server-vip" - desc: "" - type: "host" - host: "10.1.11.8" - network: "" - mask: "" - cidr: "" - start_ip: "" - end_ip: "" -- name: "visitors" - desc: "" - type: "range" - host: "" - network: "" - mask: "" - cidr: "" - start_ip: "10.10.10.4" - end_ip: "10.10.10.60" -- name: "contractor" - desc: "" - type: "range" - host: "" - network: "" - mask: "" - cidr: "" - start_ip: "10.75.51.15" - end_ip: "10.75.51.100" -- name: "cloudflare-ipv6-dns-primary" - desc: "" - type: "host" - host: "2606:4700:4700::1111" - network: "" - mask: "" - cidr: "" - start_ip: "" - end_ip: "" -- name: "google-ipv6-dns-primary" - desc: "" - type: "host" - host: "2001:4860:4860::8888" - network: "" - mask: "" - cidr: "" - start_ip: "" - end_ip: "" -- name: "internal-ipv6-range" - desc: "" - type: "range" - host: "" - network: "" - mask: "" - cidr: "" - start_ip: "fd00::" - end_ip: "fd00::ffff" -- name: "internal-ipv6-subnet" - desc: "" - type: "subnet" - host: "" - network: "fd00::" - mask: "" - cidr: "/8" - start_ip: "" - end_ip: "" diff --git a/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.yml b/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.yml new file mode 100644 index 0000000000..9e462e726c --- /dev/null +++ b/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.yml @@ -0,0 +1,119 @@ +--- +parsed_sample: + - name: "corp" + desc: "" + type: "subnet" + host: "" + network: "10.0.0.0" + mask: "255.0.0.0" + cidr: "" + start_ip: "" + end_ip: "" + - name: "internal" + desc: "" + type: "subnet" + host: "" + network: "192.168.0.0" + mask: "255.255.255.0" + cidr: "" + start_ip: "" + end_ip: "" + - name: "any" + desc: "" + type: "subnet" + host: "" + network: "0.0.0.0" + mask: "0.0.0.0" + cidr: "" + start_ip: "" + end_ip: "" + - name: "host-10.10.11.1" + desc: "" + type: "host" + host: "10.10.11.1" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" + - name: "block" + desc: "" + type: "host" + host: "10.75.51.11" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" + - name: "dmz" + desc: "dmz GW ip" + type: "host" + host: "11.1.2.2" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" + - name: "server-vip" + desc: "" + type: "host" + host: "10.1.11.8" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" + - name: "visitors" + desc: "" + type: "range" + host: "" + network: "" + mask: "" + cidr: "" + start_ip: "10.10.10.4" + end_ip: "10.10.10.60" + - name: "contractor" + desc: "" + type: "range" + host: "" + network: "" + mask: "" + cidr: "" + start_ip: "10.75.51.15" + end_ip: "10.75.51.100" + - name: "cloudflare-ipv6-dns-primary" + desc: "" + type: "host" + host: "2606:4700:4700::1111" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" + - name: "google-ipv6-dns-primary" + desc: "" + type: "host" + host: "2001:4860:4860::8888" + network: "" + mask: "" + cidr: "" + start_ip: "" + end_ip: "" + - name: "internal-ipv6-range" + desc: "" + type: "range" + host: "" + network: "" + mask: "" + cidr: "" + start_ip: "fd00::" + end_ip: "fd00::ffff" + - name: "internal-ipv6-subnet" + desc: "" + type: "subnet" + host: "" + network: "fd00::" + mask: "" + cidr: "/8" + start_ip: "" + end_ip: "" diff --git a/tests/cisco_asa/show_running-config_tunnel-group/cisco_asa_show_running-config_tunnel-group.parsed b/tests/cisco_asa/show_running-config_tunnel-group/cisco_asa_show_running-config_tunnel-group.parsed deleted file mode 100644 index 8ab0bb10a3..0000000000 --- a/tests/cisco_asa/show_running-config_tunnel-group/cisco_asa_show_running-config_tunnel-group.parsed +++ /dev/null @@ -1,187 +0,0 @@ ---- -parsed_sample: - -- name: "tun01" - type: "remote-access" - dhcp_selection: [None, "link-selection", "subnet-selection"] - dhcp_server: ["10.10.10.10", "10.10.10.11", "10.10.10.12"] - authorization: "required" - authorization_intfc: "outside" - authorization_grp: "aaa" - accounting_grp: "aaa" - ipv4_pool_intfc: "vpn" - ipv4_pool_name: "vpn_pool" - authentication_intfc: "outside" - authentication_pri_grp: "LOCAL" - authentication_sec_grp: "" - authentication_svr: "secondary" - authenticated_user: "secondary" - group_policy: "default_gpol" - ipv6_pool_intfc: "outside" - ipv6_pool_name: "v6pool" - nat_intfc: "outside" - scep_enroll: "enable" - sec_authentication_grp_intfc: "outside" - sec_authentication_pri_grp: "aaa" - sec_authentication_sec_grp: "LOCAL" - sec_authentication_use_pri_user: "use-primary-username" - sec_cert_codes: "C CN" - sec_cert_fallback: "cert" - pri_cert_codes: "C CN" - pri_cert_fallback: "" - strip_grp: "strip-group" - strip_realm: "strip-realm" - ikev1_psk: "*****" - chain: "chain" - client_os: ["Win9X", "WinNT", "Windows", "mac", "linux", "vpn3002"] - update_url: ["https://blah", "https://blah", "https://blah", "https://blah", "https://blah", "tftp://blah"] - revs: ["1,3", "1,3", "1,3", "5,9", "3,5", "13,15"] - trust_point: "" - ikev1_user_auth_intfc: ["outside"] - ikev1_user_auth_type: ["hybrid"] - ikev2_local_auth_cert: "cert" - ikev2_remote_auth_type: ["certificate", "eap query-identity", "pre-shared-key *****"] - peer_id_validate: "nocheck" - radius_with_expiry: "radius-with-expiry" - ppp_auth_type: ["pap", "ms-chap-v2", "eap-proxy"] - webvpn_auth: "aaa certificate" - webvpn_custom: "DfltCustomization" - dns_grp: "dnsgrp" - webvpn_grp_alias: ["grpalias", "aj"] - webvpn_grp_alias_state: ["enable", "disable"] - webvpn_grp_url: ["https://blah"] - webvpn_grp_url_state: ["enable"] - nbns_svr: ["10.10.10.10", "10.1.1.1"] - nbns_master: ["master", None] - nbns_timeout: ["20", "2"] - nbns_retry: ["8", "2"] - override_svc_download: "override-svc-download" - pri_prefill_user_type: ["clientless", "ssl-client hide"] - sec_prefill_user_type: ["clientless hide", "ssl-client"] - proxy_auth: "sdi" - radius_reject_msg: "radius-reject-message" - saml_id_provider: "" - without_csd: "anyconnect" -- name: "10.15.20.25" - type: "ipsec-l2l" - dhcp_selection: [] - dhcp_server: [] - authorization: "" - authorization_intfc: "" - authorization_grp: "" - accounting_grp: "" - ipv4_pool_intfc: "" - ipv4_pool_name: "" - authentication_intfc: "" - authentication_pri_grp: "" - authentication_sec_grp: "" - authentication_svr: "" - authenticated_user: "" - group_policy: "" - ipv6_pool_intfc: "" - ipv6_pool_name: "" - nat_intfc: "" - scep_enroll: "" - sec_authentication_grp_intfc: "" - sec_authentication_pri_grp: "" - sec_authentication_sec_grp: "" - sec_authentication_use_pri_user: "" - sec_cert_codes: "" - sec_cert_fallback: "" - pri_cert_codes: "" - pri_cert_fallback: "" - strip_grp: "" - strip_realm: "" - ikev1_psk: "*****" - chain: "" - client_os: [] - update_url: [] - revs: [] - trust_point: "" - ikev1_user_auth_intfc: [] - ikev1_user_auth_type: [] - ikev2_local_auth_cert: "" - ikev2_remote_auth_type: [] - peer_id_validate: "" - radius_with_expiry: "" - ppp_auth_type: [] - webvpn_auth: "" - webvpn_custom: "" - dns_grp: "" - webvpn_grp_alias: [] - webvpn_grp_alias_state: [] - webvpn_grp_url: [] - webvpn_grp_url_state: [] - nbns_svr: [] - nbns_master: [] - nbns_timeout: [] - nbns_retry: [] - override_svc_download: "" - pri_prefill_user_type: [] - sec_prefill_user_type: [] - proxy_auth: "" - radius_reject_msg: "" - saml_id_provider: "" - without_csd: "" -- name: "10.20.30.40" - type: "ipsec-l2l" - dhcp_selection: [] - dhcp_server: [] - authorization: "" - authorization_intfc: "" - authorization_grp: "" - accounting_grp: "" - ipv4_pool_intfc: "" - ipv4_pool_name: "" - authentication_intfc: "" - authentication_pri_grp: "" - authentication_sec_grp: "" - authentication_svr: "" - authenticated_user: "" - group_policy: "" - ipv6_pool_intfc: "" - ipv6_pool_name: "" - nat_intfc: "" - scep_enroll: "" - sec_authentication_grp_intfc: "" - sec_authentication_pri_grp: "" - sec_authentication_sec_grp: "" - sec_authentication_use_pri_user: "" - sec_cert_codes: "" - sec_cert_fallback: "" - pri_cert_codes: "" - pri_cert_fallback: "" - strip_grp: "" - strip_realm: "" - ikev1_psk: "*****" - chain: "" - client_os: [] - update_url: [] - revs: [] - trust_point: "" - ikev1_user_auth_intfc: [] - ikev1_user_auth_type: [] - ikev2_local_auth_cert: "" - ikev2_remote_auth_type: [] - peer_id_validate: "" - radius_with_expiry: "" - ppp_auth_type: [] - webvpn_auth: "" - webvpn_custom: "" - dns_grp: "" - webvpn_grp_alias: [] - webvpn_grp_alias_state: [] - webvpn_grp_url: [] - webvpn_grp_url_state: [] - nbns_svr: [] - nbns_master: [] - nbns_timeout: [] - nbns_retry: [] - override_svc_download: "" - pri_prefill_user_type: [] - sec_prefill_user_type: [] - proxy_auth: "" - radius_reject_msg: "" - saml_id_provider: "" - without_csd: "" - diff --git a/tests/cisco_asa/show_running-config_tunnel-group/cisco_asa_show_running-config_tunnel-group.yml b/tests/cisco_asa/show_running-config_tunnel-group/cisco_asa_show_running-config_tunnel-group.yml new file mode 100644 index 0000000000..c8546bbbfb --- /dev/null +++ b/tests/cisco_asa/show_running-config_tunnel-group/cisco_asa_show_running-config_tunnel-group.yml @@ -0,0 +1,235 @@ +--- +parsed_sample: + - name: "tun01" + type: "remote-access" + dhcp_selection: + - "None" + - "link-selection" + - "subnet-selection" + dhcp_server: + - "10.10.10.10" + - "10.10.10.11" + - "10.10.10.12" + authorization: "required" + authorization_intfc: "outside" + authorization_grp: "aaa" + accounting_grp: "aaa" + ipv4_pool_intfc: "vpn" + ipv4_pool_name: "vpn_pool" + authentication_intfc: "outside" + authentication_pri_grp: "LOCAL" + authentication_sec_grp: "" + authentication_svr: "secondary" + authenticated_user: "secondary" + group_policy: "default_gpol" + ipv6_pool_intfc: "outside" + ipv6_pool_name: "v6pool" + nat_intfc: "outside" + scep_enroll: "enable" + sec_authentication_grp_intfc: "outside" + sec_authentication_pri_grp: "aaa" + sec_authentication_sec_grp: "LOCAL" + sec_authentication_use_pri_user: "use-primary-username" + sec_cert_codes: "C CN" + sec_cert_fallback: "cert" + pri_cert_codes: "C CN" + pri_cert_fallback: "" + strip_grp: "strip-group" + strip_realm: "strip-realm" + ikev1_psk: "*****" + chain: "chain" + client_os: + - "Win9X" + - "WinNT" + - "Windows" + - "mac" + - "linux" + - "vpn3002" + update_url: + - "https://blah" + - "https://blah" + - "https://blah" + - "https://blah" + - "https://blah" + - "tftp://blah" + revs: + - "1,3" + - "1,3" + - "1,3" + - "5,9" + - "3,5" + - "13,15" + trust_point: "" + ikev1_user_auth_intfc: + - "outside" + ikev1_user_auth_type: + - "hybrid" + ikev2_local_auth_cert: "cert" + ikev2_remote_auth_type: + - "certificate" + - "eap query-identity" + - "pre-shared-key *****" + peer_id_validate: "nocheck" + radius_with_expiry: "radius-with-expiry" + ppp_auth_type: + - "pap" + - "ms-chap-v2" + - "eap-proxy" + webvpn_auth: "aaa certificate" + webvpn_custom: "DfltCustomization" + dns_grp: "dnsgrp" + webvpn_grp_alias: + - "grpalias" + - "aj" + webvpn_grp_alias_state: + - "enable" + - "disable" + webvpn_grp_url: + - "https://blah" + webvpn_grp_url_state: + - "enable" + nbns_svr: + - "10.10.10.10" + - "10.1.1.1" + nbns_master: + - "master" + - "None" + nbns_timeout: + - "20" + - "2" + nbns_retry: + - "8" + - "2" + override_svc_download: "override-svc-download" + pri_prefill_user_type: + - "clientless" + - "ssl-client hide" + sec_prefill_user_type: + - "clientless hide" + - "ssl-client" + proxy_auth: "sdi" + radius_reject_msg: "radius-reject-message" + saml_id_provider: "" + without_csd: "anyconnect" + - name: "10.15.20.25" + type: "ipsec-l2l" + dhcp_selection: [] + dhcp_server: [] + authorization: "" + authorization_intfc: "" + authorization_grp: "" + accounting_grp: "" + ipv4_pool_intfc: "" + ipv4_pool_name: "" + authentication_intfc: "" + authentication_pri_grp: "" + authentication_sec_grp: "" + authentication_svr: "" + authenticated_user: "" + group_policy: "" + ipv6_pool_intfc: "" + ipv6_pool_name: "" + nat_intfc: "" + scep_enroll: "" + sec_authentication_grp_intfc: "" + sec_authentication_pri_grp: "" + sec_authentication_sec_grp: "" + sec_authentication_use_pri_user: "" + sec_cert_codes: "" + sec_cert_fallback: "" + pri_cert_codes: "" + pri_cert_fallback: "" + strip_grp: "" + strip_realm: "" + ikev1_psk: "*****" + chain: "" + client_os: [] + update_url: [] + revs: [] + trust_point: "" + ikev1_user_auth_intfc: [] + ikev1_user_auth_type: [] + ikev2_local_auth_cert: "" + ikev2_remote_auth_type: [] + peer_id_validate: "" + radius_with_expiry: "" + ppp_auth_type: [] + webvpn_auth: "" + webvpn_custom: "" + dns_grp: "" + webvpn_grp_alias: [] + webvpn_grp_alias_state: [] + webvpn_grp_url: [] + webvpn_grp_url_state: [] + nbns_svr: [] + nbns_master: [] + nbns_timeout: [] + nbns_retry: [] + override_svc_download: "" + pri_prefill_user_type: [] + sec_prefill_user_type: [] + proxy_auth: "" + radius_reject_msg: "" + saml_id_provider: "" + without_csd: "" + - name: "10.20.30.40" + type: "ipsec-l2l" + dhcp_selection: [] + dhcp_server: [] + authorization: "" + authorization_intfc: "" + authorization_grp: "" + accounting_grp: "" + ipv4_pool_intfc: "" + ipv4_pool_name: "" + authentication_intfc: "" + authentication_pri_grp: "" + authentication_sec_grp: "" + authentication_svr: "" + authenticated_user: "" + group_policy: "" + ipv6_pool_intfc: "" + ipv6_pool_name: "" + nat_intfc: "" + scep_enroll: "" + sec_authentication_grp_intfc: "" + sec_authentication_pri_grp: "" + sec_authentication_sec_grp: "" + sec_authentication_use_pri_user: "" + sec_cert_codes: "" + sec_cert_fallback: "" + pri_cert_codes: "" + pri_cert_fallback: "" + strip_grp: "" + strip_realm: "" + ikev1_psk: "*****" + chain: "" + client_os: [] + update_url: [] + revs: [] + trust_point: "" + ikev1_user_auth_intfc: [] + ikev1_user_auth_type: [] + ikev2_local_auth_cert: "" + ikev2_remote_auth_type: [] + peer_id_validate: "" + radius_with_expiry: "" + ppp_auth_type: [] + webvpn_auth: "" + webvpn_custom: "" + dns_grp: "" + webvpn_grp_alias: [] + webvpn_grp_alias_state: [] + webvpn_grp_url: [] + webvpn_grp_url_state: [] + nbns_svr: [] + nbns_master: [] + nbns_timeout: [] + nbns_retry: [] + override_svc_download: "" + pri_prefill_user_type: [] + sec_prefill_user_type: [] + proxy_auth: "" + radius_reject_msg: "" + saml_id_provider: "" + without_csd: "" diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version1.parsed b/tests/cisco_asa/show_version/cisco_asa_show_version1.yml similarity index 100% rename from tests/cisco_asa/show_version/cisco_asa_show_version1.parsed rename to tests/cisco_asa/show_version/cisco_asa_show_version1.yml diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version2.parsed b/tests/cisco_asa/show_version/cisco_asa_show_version2.yml similarity index 100% rename from tests/cisco_asa/show_version/cisco_asa_show_version2.parsed rename to tests/cisco_asa/show_version/cisco_asa_show_version2.yml diff --git a/tests/cisco_asa/show_version/cisco_asa_show_version3.parsed b/tests/cisco_asa/show_version/cisco_asa_show_version3.yml similarity index 100% rename from tests/cisco_asa/show_version/cisco_asa_show_version3.parsed rename to tests/cisco_asa/show_version/cisco_asa_show_version3.yml diff --git a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.parsed b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.yml similarity index 100% rename from tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.parsed rename to tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l.yml diff --git a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.parsed b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.yml similarity index 99% rename from tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.parsed rename to tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.yml index f1b2c745a9..433ae79e51 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.parsed +++ b/tests/cisco_asa/show_vpn-sessiondb_detail_l2l/cisco_asa_show_vpn-sessiondb_detail_l2l2.yml @@ -66,7 +66,6 @@ parsed_sample: total_ipsec_sessions: "5" udp_dst_port: "500" udp_src_port: "500" - - authentication_mode: "" bytes_received: "268532214" bytes_transmitted: "3256642959" @@ -133,7 +132,6 @@ parsed_sample: total_ipsec_sessions: "5" udp_dst_port: "" udp_src_port: "" - - authentication_mode: "" bytes_received: "6897433" bytes_transmitted: "162882024" @@ -200,7 +198,6 @@ parsed_sample: total_ipsec_sessions: "5" udp_dst_port: "" udp_src_port: "" - - authentication_mode: "" bytes_received: "" bytes_transmitted: "" @@ -267,7 +264,6 @@ parsed_sample: total_ipsec_sessions: "5" udp_dst_port: "" udp_src_port: "" - - authentication_mode: "preSharedKeys" bytes_received: "" bytes_transmitted: "" @@ -334,7 +330,6 @@ parsed_sample: total_ipsec_sessions: "4" udp_dst_port: "500" udp_src_port: "500" - - authentication_mode: "" bytes_received: "79487" bytes_transmitted: "140576" @@ -401,7 +396,6 @@ parsed_sample: total_ipsec_sessions: "4" udp_dst_port: "" udp_src_port: "" - - authentication_mode: "" bytes_received: "0" bytes_transmitted: "102540" @@ -468,7 +462,6 @@ parsed_sample: total_ipsec_sessions: "4" udp_dst_port: "" udp_src_port: "" - - authentication_mode: "" bytes_received: "" bytes_transmitted: "" @@ -535,7 +528,6 @@ parsed_sample: total_ipsec_sessions: "4" udp_dst_port: "" udp_src_port: "" - - authentication_mode: "preSharedKeys" bytes_received: "" bytes_transmitted: "" @@ -602,7 +594,6 @@ parsed_sample: total_ipsec_sessions: "3" udp_dst_port: "500" udp_src_port: "500" - - authentication_mode: "" bytes_received: "2387175" bytes_transmitted: "12721728" @@ -669,7 +660,6 @@ parsed_sample: total_ipsec_sessions: "3" udp_dst_port: "" udp_src_port: "" - - authentication_mode: "" bytes_received: "437245" bytes_transmitted: "519703" @@ -736,7 +726,6 @@ parsed_sample: total_ipsec_sessions: "3" udp_dst_port: "" udp_src_port: "" - - authentication_mode: "preSharedKeys" bytes_received: "" bytes_transmitted: "" @@ -803,7 +792,6 @@ parsed_sample: total_ipsec_sessions: "1" udp_dst_port: "500" udp_src_port: "500" - - authentication_mode: "" bytes_received: "337511800" bytes_transmitted: "2994391497" @@ -870,7 +858,6 @@ parsed_sample: total_ipsec_sessions: "1" udp_dst_port: "" udp_src_port: "" - - authentication_mode: "" bytes_received: "" bytes_transmitted: "" @@ -937,7 +924,6 @@ parsed_sample: total_ipsec_sessions: "1" udp_dst_port: "500" udp_src_port: "500" - - authentication_mode: "" bytes_received: "12080533" bytes_transmitted: "9993110" diff --git a/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.parsed b/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.parsed deleted file mode 100644 index 56ee7177b1..0000000000 --- a/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.parsed +++ /dev/null @@ -1,26 +0,0 @@ ---- -parsed_sample: - - source_intf: "any" - source: ["10.90.67.2"] - destination_intf: "any" - destination: ["10.9.1.0/24"] - - source_intf: "any" - source: ["10.1.1.0/24"] - destination_intf: "any" - destination: ["172.16.1.0/24"] - - source_intf: "any" - source: ["10.90.67.2"] - destination_intf: "any" - destination: ["10.86.94.0"] - - source_intf: "any" - source: ["10.9.0.9", "10.9.0.10/31", "10.9.0.12/30", "10.9.0.16/28", "10.9.0.32/29", "10.9.0.40/30", "10.9.0.44/31"] - destination_intf: "any" - destination: ["0.0.0.0"] - - source_intf: "any" - source: ["10.1.1.0/24"] - destination_intf: "any" - destination: ["172.16.1.0/24"] - - source_intf: "inside" - source: ["192.168.1.150"] - destination_intf: "outside" - destination: ["172.18.254.252"] diff --git a/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.yml b/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.yml new file mode 100644 index 0000000000..b1ba0d5289 --- /dev/null +++ b/tests/cisco_asa/show_xlate/cisco_asa_show_xlate.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - source_intf: "any" + source: + - "10.90.67.2" + destination_intf: "any" + destination: + - "10.9.1.0/24" + - source_intf: "any" + source: + - "10.1.1.0/24" + destination_intf: "any" + destination: + - "172.16.1.0/24" + - source_intf: "any" + source: + - "10.90.67.2" + destination_intf: "any" + destination: + - "10.86.94.0" + - source_intf: "any" + source: + - "10.9.0.9" + - "10.9.0.10/31" + - "10.9.0.12/30" + - "10.9.0.16/28" + - "10.9.0.32/29" + - "10.9.0.40/30" + - "10.9.0.44/31" + destination_intf: "any" + destination: + - "0.0.0.0" + - source_intf: "any" + source: + - "10.1.1.0/24" + destination_intf: "any" + destination: + - "172.16.1.0/24" + - source_intf: "inside" + source: + - "192.168.1.150" + destination_intf: "outside" + destination: + - "172.18.254.252" diff --git a/tests/cisco_ios/dir/cisco_ios_dir.parsed b/tests/cisco_ios/dir/cisco_ios_dir.parsed deleted file mode 100644 index f3c7a6951b..0000000000 --- a/tests/cisco_ios/dir/cisco_ios_dir.parsed +++ /dev/null @@ -1,110 +0,0 @@ ---- -parsed_sample: - -- file_system: 'bootflash:/' - id: '11' - permissions: 'drwx' - size: '16384' - date_time: 'Mar 2 2015 08:46:31 +00:00' - name: 'lost+found' - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '681409' - permissions: 'drwx' - size: '4096' - date_time: 'Mar 2 2015 08:47:35 +00:00' - name: .super.iso.dir - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '12' - permissions: '-rw-' - size: '46' - date_time: 'Apr 22 2016 12:36:24 +00:00' - name: '.CsrLxc_LastInstall' - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '13' - permissions: '-rw-' - size: '84' - date_time: 'Mar 2 2015 08:50:43 +00:00' - name: 'virtual-instance.conf' - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '876097' - permissions: 'drwx' - size: '4096' - date_time: 'Mar 2 2015 08:49:40 +00:00' - name: 'core' - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '15' - permissions: '-rw-' - size: '161136640' - date_time: 'Mar 2 2015 08:47:34 +00:00' - name: 'iosxe-remote-mgmt.03.14.01.S.155-1.S1-std.ova' - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '519172' - permissions: '-rw-' - size: '250578048' - date_time: 'Mar 2 2015 08:48:31 +00:00' - name: 'csr1000v-mono-universalk9.03.14.01.S.155-1.S1-std.SPA.pkg' - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '519170' - permissions: '-rw-' - size: '4892' - date_time: 'Mar 2 2015 08:48:30 +00:00' - name: 'csr1000v-packages-universalk9.03.14.01.S.155-1.S1-std.conf' - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '519171' - permissions: '-rw -' - size: '5681' - date_time: 'Mar 2 2015 08:48:31 +00:00' - name: 'packages.conf' - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '827425' - permissions: 'drwx' - size: '4096' - date_time: 'Mar 2 2015 08:49:40 +00:00' - name: '.prst_sync' - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '730081' - permissions: 'drwx' - size: '4096' - date_time: 'Mar 2 2015 08:49:43 +00:00' - name: '.rollback_timer' - total_size: '7835619328' - total_free: '6612774912' - -- file_system: 'bootflash:/' - id: '16' - permissions: '-rw-' - size: '0' - date_time: 'Mar 2 2015 08:49:46 +00:00' - name: 'tracelogs.394' - total_size: '7835619328' - total_free: '6612774912' diff --git a/tests/cisco_ios/dir/cisco_ios_dir.yml b/tests/cisco_ios/dir/cisco_ios_dir.yml new file mode 100644 index 0000000000..27c694857a --- /dev/null +++ b/tests/cisco_ios/dir/cisco_ios_dir.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - file_system: "bootflash:/" + id: "11" + permissions: "drwx" + size: "16384" + date_time: "Mar 2 2015 08:46:31 +00:00" + name: "lost+found" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "681409" + permissions: "drwx" + size: "4096" + date_time: "Mar 2 2015 08:47:35 +00:00" + name: ".super.iso.dir" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "12" + permissions: "-rw-" + size: "46" + date_time: "Apr 22 2016 12:36:24 +00:00" + name: ".CsrLxc_LastInstall" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "13" + permissions: "-rw-" + size: "84" + date_time: "Mar 2 2015 08:50:43 +00:00" + name: "virtual-instance.conf" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "876097" + permissions: "drwx" + size: "4096" + date_time: "Mar 2 2015 08:49:40 +00:00" + name: "core" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "15" + permissions: "-rw-" + size: "161136640" + date_time: "Mar 2 2015 08:47:34 +00:00" + name: "iosxe-remote-mgmt.03.14.01.S.155-1.S1-std.ova" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "519172" + permissions: "-rw-" + size: "250578048" + date_time: "Mar 2 2015 08:48:31 +00:00" + name: "csr1000v-mono-universalk9.03.14.01.S.155-1.S1-std.SPA.pkg" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "519170" + permissions: "-rw-" + size: "4892" + date_time: "Mar 2 2015 08:48:30 +00:00" + name: "csr1000v-packages-universalk9.03.14.01.S.155-1.S1-std.conf" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "519171" + permissions: "-rw -" + size: "5681" + date_time: "Mar 2 2015 08:48:31 +00:00" + name: "packages.conf" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "827425" + permissions: "drwx" + size: "4096" + date_time: "Mar 2 2015 08:49:40 +00:00" + name: ".prst_sync" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "730081" + permissions: "drwx" + size: "4096" + date_time: "Mar 2 2015 08:49:43 +00:00" + name: ".rollback_timer" + total_size: "7835619328" + total_free: "6612774912" + - file_system: "bootflash:/" + id: "16" + permissions: "-rw-" + size: "0" + date_time: "Mar 2 2015 08:49:46 +00:00" + name: "tracelogs.394" + total_size: "7835619328" + total_free: "6612774912" diff --git a/tests/cisco_ios/show_access-list/cisco_ios_show_access-list.parsed b/tests/cisco_ios/show_access-list/cisco_ios_show_access-list.parsed deleted file mode 100644 index 44185c14fd..0000000000 --- a/tests/cisco_ios/show_access-list/cisco_ios_show_access-list.parsed +++ /dev/null @@ -1,170 +0,0 @@ ---- -parsed_sample: -- name: "Virtual-Access1.1#1" - sn: "20" - action: "permit" - protocol: "icmp" - source: "host 1.1.1.1" - port: "" - range: "" - destination: "any" - modifier: "" - -- name: "Virtual-Access1.1#1" - sn: "30" - action: "deny" - protocol: "ip" - source: "host 44.33.66.36" - port: "" - range: "" - destination: "host 1.1.1.1" - modifier: "" - -- name: "Virtual-Access1.1#1" - sn: "40" - action: "permit" - protocol: "udp" - source: "any" - port: "" - range: "" - destination: "host 1.1.1.1" - modifier: "" - -- name: "Virtual-Access1.1#2" - sn: "10" - action: "permit" - protocol: "igmp" - source: "any" - port: "" - range: "" - destination: "host 13.1.1.2" - modifier: "" - -- name: "Virtual-Access1.1#2" - sn: "20" - action: "permit" - protocol: "icmp" - source: "host 13.1.1.2" - port: "" - range: "" - destination: "any" - modifier: "" - -- name: "102" - sn: "10" - action: "permit" - protocol: "tcp" - source: "any" - port: "" - range: "" - destination: "host 192.168.1.100" - modifier: "eq ftp" - -- name: "102" - sn: "20" - action: "permit" - protocol: "tcp" - source: "any" - port: "" - range: "" - destination: "host 192.168.1.100" - modifier: "gt 1024" - -- name: "VLAN-TEST" - sn: "10" - action: "permit" - protocol: "ip" - source: "any" - port: "" - range: "" - destination: "any" - modifier: "" - -- name: "VLAN-TEST" - sn: "20" - action: "deny" - protocol: "ip" - source: "any" - port: "" - range: "" - destination: "any" - modifier: "" - -- name: "1" - sn: "10" - action: "permit" - protocol: "" - source: "10.1.2.3" - port: "" - range: "" - destination: "" - modifier: "log" - -- name: "1" - sn: "20" - action: "deny" - protocol: "" - source: "10.1.1.1" - port: "" - range: "" - destination: "" - modifier: "" - -- name: "1" - sn: "30" - action: "deny" - protocol: "" - source: "192.168.1.0, wildcard bits 0.0.0.255" - port: "" - range: "" - destination: "" - modifier: "" - -- name: "1" - sn: "40" - action: "deny" - protocol: "" - source: "any" - port: "" - range: "" - destination: "" - modifier: "log" - -- name: "ciao" - sn: "10" - action: "permit" - protocol: "tcp" - source: "any" - port: "eq" - range: "www whois uucp domain ident" - destination: "host 10.10.10.10" - modifier: "tos normal" - -- name: "ciao" - sn: "20" - action: "deny" - protocol: "tcp" - source: "any" - port: "eq" - range: "www" - destination: "any" - modifier: "log" - -- name: "ciao" - sn: "30" - action: "deny" - protocol: "tcp" - source: "any" - port: "range" - range: "www domain" - destination: "10.10.10.10 0.0.0.255" - modifier: "" - - - - - - - - - diff --git a/tests/cisco_ios/show_access-list/cisco_ios_show_access-list.yml b/tests/cisco_ios/show_access-list/cisco_ios_show_access-list.yml new file mode 100644 index 0000000000..f2a6278e74 --- /dev/null +++ b/tests/cisco_ios/show_access-list/cisco_ios_show_access-list.yml @@ -0,0 +1,146 @@ +--- +parsed_sample: + - name: "Virtual-Access1.1#1" + sn: "20" + action: "permit" + protocol: "icmp" + source: "host 1.1.1.1" + port: "" + range: "" + destination: "any" + modifier: "" + - name: "Virtual-Access1.1#1" + sn: "30" + action: "deny" + protocol: "ip" + source: "host 44.33.66.36" + port: "" + range: "" + destination: "host 1.1.1.1" + modifier: "" + - name: "Virtual-Access1.1#1" + sn: "40" + action: "permit" + protocol: "udp" + source: "any" + port: "" + range: "" + destination: "host 1.1.1.1" + modifier: "" + - name: "Virtual-Access1.1#2" + sn: "10" + action: "permit" + protocol: "igmp" + source: "any" + port: "" + range: "" + destination: "host 13.1.1.2" + modifier: "" + - name: "Virtual-Access1.1#2" + sn: "20" + action: "permit" + protocol: "icmp" + source: "host 13.1.1.2" + port: "" + range: "" + destination: "any" + modifier: "" + - name: "102" + sn: "10" + action: "permit" + protocol: "tcp" + source: "any" + port: "" + range: "" + destination: "host 192.168.1.100" + modifier: "eq ftp" + - name: "102" + sn: "20" + action: "permit" + protocol: "tcp" + source: "any" + port: "" + range: "" + destination: "host 192.168.1.100" + modifier: "gt 1024" + - name: "VLAN-TEST" + sn: "10" + action: "permit" + protocol: "ip" + source: "any" + port: "" + range: "" + destination: "any" + modifier: "" + - name: "VLAN-TEST" + sn: "20" + action: "deny" + protocol: "ip" + source: "any" + port: "" + range: "" + destination: "any" + modifier: "" + - name: "1" + sn: "10" + action: "permit" + protocol: "" + source: "10.1.2.3" + port: "" + range: "" + destination: "" + modifier: "log" + - name: "1" + sn: "20" + action: "deny" + protocol: "" + source: "10.1.1.1" + port: "" + range: "" + destination: "" + modifier: "" + - name: "1" + sn: "30" + action: "deny" + protocol: "" + source: "192.168.1.0, wildcard bits 0.0.0.255" + port: "" + range: "" + destination: "" + modifier: "" + - name: "1" + sn: "40" + action: "deny" + protocol: "" + source: "any" + port: "" + range: "" + destination: "" + modifier: "log" + - name: "ciao" + sn: "10" + action: "permit" + protocol: "tcp" + source: "any" + port: "eq" + range: "www whois uucp domain ident" + destination: "host 10.10.10.10" + modifier: "tos normal" + - name: "ciao" + sn: "20" + action: "deny" + protocol: "tcp" + source: "any" + port: "eq" + range: "www" + destination: "any" + modifier: "log" + - name: "ciao" + sn: "30" + action: "deny" + protocol: "tcp" + source: "any" + port: "range" + range: "www domain" + destination: "10.10.10.10 0.0.0.255" + modifier: "" diff --git a/tests/cisco_ios/show_aliases/cisco_ios_show_aliases.parsed b/tests/cisco_ios/show_aliases/cisco_ios_show_aliases.parsed deleted file mode 100644 index 3deeeff57f..0000000000 --- a/tests/cisco_ios/show_aliases/cisco_ios_show_aliases.parsed +++ /dev/null @@ -1,47 +0,0 @@ ---- -parsed_sample: - -- mode: 'Exec mode' - alias: 'h' - command: 'help' - -- mode: 'Exec mode' - alias: 'lo' - command: 'logout' - -- mode: 'Exec mode' - alias: 'p' - command: 'ping' - -- mode: 'Exec mode' - alias: 'r' - command: 'resume' - -- mode: 'Exec mode' - alias: 's' - command: 'show' - -- mode: 'Exec mode' - alias: 'u' - command: 'undebug' - -- mode: 'Exec mode' - alias: 'un' - command: 'undebug' - -- mode: 'Exec mode' - alias: 'w' - command: 'where' - -- mode: 'Exec mode' - alias: 'sps' - command: 'show platform software vnic-if interface-mapping' - -- mode: 'ATM virtual circuit configuration mode' - alias: 'vbr' - command: 'vbr-nrt' - -- mode: 'ATM virtual circuit configuration mode' - alias: '' - command: '' - diff --git a/tests/cisco_ios/show_aliases/cisco_ios_show_aliases.yml b/tests/cisco_ios/show_aliases/cisco_ios_show_aliases.yml new file mode 100644 index 0000000000..4e0fe1b60f --- /dev/null +++ b/tests/cisco_ios/show_aliases/cisco_ios_show_aliases.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - mode: "Exec mode" + alias: "h" + command: "help" + - mode: "Exec mode" + alias: "lo" + command: "logout" + - mode: "Exec mode" + alias: "p" + command: "ping" + - mode: "Exec mode" + alias: "r" + command: "resume" + - mode: "Exec mode" + alias: "s" + command: "show" + - mode: "Exec mode" + alias: "u" + command: "undebug" + - mode: "Exec mode" + alias: "un" + command: "undebug" + - mode: "Exec mode" + alias: "w" + command: "where" + - mode: "Exec mode" + alias: "sps" + command: "show platform software vnic-if interface-mapping" + - mode: "ATM virtual circuit configuration mode" + alias: "vbr" + command: "vbr-nrt" + - mode: "ATM virtual circuit configuration mode" + alias: "" + command: "" diff --git a/tests/cisco_ios/show_archive/cisco_ios_show_archive.parsed b/tests/cisco_ios/show_archive/cisco_ios_show_archive.parsed deleted file mode 100644 index a89c684942..0000000000 --- a/tests/cisco_ios/show_archive/cisco_ios_show_archive.parsed +++ /dev/null @@ -1,4 +0,0 @@ ---- -parsed_sample: - -- state: "not enabled" \ No newline at end of file diff --git a/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml b/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml new file mode 100644 index 0000000000..3affec9822 --- /dev/null +++ b/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml @@ -0,0 +1,3 @@ +--- +parsed_sample: + - state: "not enabled" diff --git a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions.parsed b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions.parsed deleted file mode 100644 index 77f94d7b71..0000000000 --- a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions.parsed +++ /dev/null @@ -1,381 +0,0 @@ ---- -parsed_sample: - -- domain: UNKNOWN - interface: Fa3/0/40 - mac: (unknown) - method: mab - session: 0A5C58FE00000018000101FF - status: Running -- domain: UNKNOWN - interface: Fa2/0/33 - mac: (unknown) - method: mab - session: 0A0A7F9B000001E8010101FF - status: Running -- domain: DATA - interface: Fa3/0/13 - mac: 002a.12cd.3d08 - method: mab - session: 0A0A7F9B0000A92A2C0101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/1 - mac: 347a.12cd.3fe8 - method: mab - session: 0A0A7F9B00000055000101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/38 - mac: 848a.12cd.339a - method: mab - session: 0A5C58FE00000025000101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/28 - mac: 848a.12cd.3399 - method: mab - session: 0A5C58FE0000001E000101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/27 - mac: 8c8a.12cd.3d3d - method: dot1x - session: 0A5C58FE0000000D000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/23 - mac: 347a.12cd.3ffb - method: mab - session: 0A0A7F9B00000035000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/29 - mac: 3cba.12cd.3d05 - method: mab - session: 0A0A7F9B0000C6BCA20101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/32 - mac: 347a.12cd.3ff2 - method: mab - session: 0A0A7F9B00000030000101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/21 - mac: 848a.12cd.33b2 - method: mab - session: 0A0A7F9B00000059000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/26 - mac: 848a.12cd.33b1 - method: mab - session: 0A5C58FE00000007000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/6 - mac: 848a.12cd.33b0 - method: mab - session: 0A0A7F9B0000002D000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/31 - mac: 848a.12cd.33bf - method: mab - session: 0A0A7F9B00000031000101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/37 - mac: 8c8a.12cd.3c4f - method: dot1x - session: 0A5C58FE00000010000101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/14 - mac: 002a.12cd.312a - method: mab - session: 0A0A7F9B0000840CAB0101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/21 - mac: 54ea.12cd.3236 - method: dot1x - session: 0A0A7F9B00000504090101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/15 - mac: 001a.12cd.3b13 - method: mab - session: 0A0A7F9B0000003D000101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/11 - mac: 848a.12cd.33d8 - method: mab - session: 0A0A7F9B0000974FF40101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/32 - mac: 848a.12cd.32dc - method: mab - session: 0A0A7F9B00000052000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/27 - mac: 848a.12cd.32c1 - method: mab - session: 0A0A7F9B00000038000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/20 - mac: 347a.12cd.3fbb - method: mab - session: 0A5C58FE00000008000101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/12 - mac: c89a.12cd.396e - method: dot1x - session: 0A5C58FE00000028000101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/10 - mac: 000a.12cd.3ea4 - method: dot1x - session: 0A0A7F9B0000AD443C0101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/19 - mac: 001a.12cd.3f70 - method: mab - session: 0A0A7F9B00004E45D40101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/37 - mac: 347a.12cd.30af - method: mab - session: 0A0A7F9B00004E73D40101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/11 - mac: c89a.12cd.3e91 - method: dot1x - session: 0A0A7F9B0000AD4A3C0101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/23 - mac: 54ea.12cd.3313 - method: dot1x - session: 0A0A7F9B0000A9582C0101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/10 - mac: 347a.12cd.3e8e - method: mab - session: 0A0A7F9B0000AD453C0101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/29 - mac: 008a.12cd.365c - method: mab - session: 0A0A7F9B0000C6BAA20101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/2 - mac: 68ba.12cd.3af5 - method: mab - session: 0A0A7F9B0000B9EB6E0101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/44 - mac: 8c8a.12cd.3341 - method: dot1x - session: 0A0A7F9B0000AAAD310101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/37 - mac: 347a.12cd.3084 - method: mab - session: 0A0A7F9B0000002F000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/16 - mac: 848a.12cd.32ea - method: mab - session: 0A5C58FE00000005000101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/32 - mac: 54ea.12cd.3408 - method: dot1x - session: 0A0A7F9B00000500090101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/31 - mac: 8c8a.12cd.3a75 - method: dot1x - session: 0A5C58FE0000000B000101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/44 - mac: 848a.12cd.3216 - method: mab - session: 0A0A7F9B00007B3F880101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/36 - mac: 004a.12cd.3245 - method: mab - session: 0A5C58FE0000000F000101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/32 - mac: 8c8a.12cd.3fd4 - method: dot1x - session: 0A5C58FE0000000C000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/15 - mac: 24da.12cd.32fd - method: mab - session: 0A5C58FE00000004000101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/15 - mac: 347a.12cd.306e - method: mab - session: 0A5C58FE0000001C000101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/15 - mac: 8c8a.12cd.3d53 - method: dot1x - session: 0A0A7F9B0000050D090101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/39 - mac: 008a.12cd.3c8e - method: mab - session: 0A0A7F9B000080149C0101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/6 - mac: 8c8a.12cd.3aa9 - method: dot1x - session: 0A0A497E00000001000101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/35 - mac: 8c8a.12cd.32aa - method: dot1x - session: 0A5C58FE00000029000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/36 - mac: 848a.12cd.333b - method: mab - session: 0A0A7F9B00000037000101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/9 - mac: 8c8a.12cd.3c67 - method: dot1x - session: 0A0A7F9B00000511090101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/37 - mac: 8c8a.12cd.32ad - method: dot1x - session: 0A0A7F9B00004E72D40101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/2 - mac: 848a.12cd.3223 - method: mab - session: 0A5C58FE00000026000101FF - status: Authz Success -- domain: DATA - interface: Fa3/0/44 - mac: 8c8a.12cd.32b3 - method: dot1x - session: 0A0A7F9B00007B3E880101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/38 - mac: 347a.12cd.3042 - method: mab - session: 0A0A7F9B00005C190B0101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/38 - mac: 8c8a.12cd.3c72 - method: dot1x - session: 0A0A7F9B00005C180B0101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/35 - mac: 848a.12cd.335a - method: mab - session: 0A0A7F9B0000002E000101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/35 - mac: 848a.12cd.37aa - method: mab - session: 0A0A7F9B0000003C000101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/9 - mac: 848a.12cd.335d - method: mab - session: 0A5C58FE0000001B000101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/30 - mac: 008a.12cd.36e1 - method: mab - session: 0A0A7F9B0000C6BBA20101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/44 - mac: 848a.12cd.334d - method: mab - session: 0A0A7F9B0000AAAE310101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/12 - mac: 848a.12cd.3371 - method: mab - session: 0A0A7F9B00000033000101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/46 - mac: 848a.12cd.3376 - method: mab - session: 0A5C58FE00000013000101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/8 - mac: 001a.12cd.3caa - method: mab - session: 0A0A7F9B0000B1544C0101FF - status: Authz Success -- domain: VOICE - interface: Fa2/0/30 - mac: 347a.12cd.3e00 - method: mab - session: 0A0A7F9B0000C6BDA20101FF - status: Authz Success -- domain: VOICE - interface: Fa3/0/39 - mac: 848a.12cd.3365 - method: mab - session: 0A0A7F9B000080199C0101FF - status: Authz Success -- domain: DATA - interface: Fa2/0/35 - mac: 8c8a.12cd.31f9 - method: dot1x - session: 0A5C58FE0000000E000101FF - status: Authz Success diff --git a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions.yml b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions.yml new file mode 100644 index 0000000000..3c0117ab96 --- /dev/null +++ b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions.yml @@ -0,0 +1,380 @@ +--- +parsed_sample: + - domain: "UNKNOWN" + interface: "Fa3/0/40" + mac: "(unknown)" + method: "mab" + session: "0A5C58FE00000018000101FF" + status: "Running" + - domain: "UNKNOWN" + interface: "Fa2/0/33" + mac: "(unknown)" + method: "mab" + session: "0A0A7F9B000001E8010101FF" + status: "Running" + - domain: "DATA" + interface: "Fa3/0/13" + mac: "002a.12cd.3d08" + method: "mab" + session: "0A0A7F9B0000A92A2C0101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/1" + mac: "347a.12cd.3fe8" + method: "mab" + session: "0A0A7F9B00000055000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/38" + mac: "848a.12cd.339a" + method: "mab" + session: "0A5C58FE00000025000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/28" + mac: "848a.12cd.3399" + method: "mab" + session: "0A5C58FE0000001E000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/27" + mac: "8c8a.12cd.3d3d" + method: "dot1x" + session: "0A5C58FE0000000D000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/23" + mac: "347a.12cd.3ffb" + method: "mab" + session: "0A0A7F9B00000035000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/29" + mac: "3cba.12cd.3d05" + method: "mab" + session: "0A0A7F9B0000C6BCA20101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/32" + mac: "347a.12cd.3ff2" + method: "mab" + session: "0A0A7F9B00000030000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/21" + mac: "848a.12cd.33b2" + method: "mab" + session: "0A0A7F9B00000059000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/26" + mac: "848a.12cd.33b1" + method: "mab" + session: "0A5C58FE00000007000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/6" + mac: "848a.12cd.33b0" + method: "mab" + session: "0A0A7F9B0000002D000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/31" + mac: "848a.12cd.33bf" + method: "mab" + session: "0A0A7F9B00000031000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/37" + mac: "8c8a.12cd.3c4f" + method: "dot1x" + session: "0A5C58FE00000010000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/14" + mac: "002a.12cd.312a" + method: "mab" + session: "0A0A7F9B0000840CAB0101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/21" + mac: "54ea.12cd.3236" + method: "dot1x" + session: "0A0A7F9B00000504090101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/15" + mac: "001a.12cd.3b13" + method: "mab" + session: "0A0A7F9B0000003D000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/11" + mac: "848a.12cd.33d8" + method: "mab" + session: "0A0A7F9B0000974FF40101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/32" + mac: "848a.12cd.32dc" + method: "mab" + session: "0A0A7F9B00000052000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/27" + mac: "848a.12cd.32c1" + method: "mab" + session: "0A0A7F9B00000038000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/20" + mac: "347a.12cd.3fbb" + method: "mab" + session: "0A5C58FE00000008000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/12" + mac: "c89a.12cd.396e" + method: "dot1x" + session: "0A5C58FE00000028000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/10" + mac: "000a.12cd.3ea4" + method: "dot1x" + session: "0A0A7F9B0000AD443C0101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/19" + mac: "001a.12cd.3f70" + method: "mab" + session: "0A0A7F9B00004E45D40101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/37" + mac: "347a.12cd.30af" + method: "mab" + session: "0A0A7F9B00004E73D40101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/11" + mac: "c89a.12cd.3e91" + method: "dot1x" + session: "0A0A7F9B0000AD4A3C0101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/23" + mac: "54ea.12cd.3313" + method: "dot1x" + session: "0A0A7F9B0000A9582C0101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/10" + mac: "347a.12cd.3e8e" + method: "mab" + session: "0A0A7F9B0000AD453C0101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/29" + mac: "008a.12cd.365c" + method: "mab" + session: "0A0A7F9B0000C6BAA20101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/2" + mac: "68ba.12cd.3af5" + method: "mab" + session: "0A0A7F9B0000B9EB6E0101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/44" + mac: "8c8a.12cd.3341" + method: "dot1x" + session: "0A0A7F9B0000AAAD310101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/37" + mac: "347a.12cd.3084" + method: "mab" + session: "0A0A7F9B0000002F000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/16" + mac: "848a.12cd.32ea" + method: "mab" + session: "0A5C58FE00000005000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/32" + mac: "54ea.12cd.3408" + method: "dot1x" + session: "0A0A7F9B00000500090101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/31" + mac: "8c8a.12cd.3a75" + method: "dot1x" + session: "0A5C58FE0000000B000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/44" + mac: "848a.12cd.3216" + method: "mab" + session: "0A0A7F9B00007B3F880101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/36" + mac: "004a.12cd.3245" + method: "mab" + session: "0A5C58FE0000000F000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/32" + mac: "8c8a.12cd.3fd4" + method: "dot1x" + session: "0A5C58FE0000000C000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/15" + mac: "24da.12cd.32fd" + method: "mab" + session: "0A5C58FE00000004000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/15" + mac: "347a.12cd.306e" + method: "mab" + session: "0A5C58FE0000001C000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/15" + mac: "8c8a.12cd.3d53" + method: "dot1x" + session: "0A0A7F9B0000050D090101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/39" + mac: "008a.12cd.3c8e" + method: "mab" + session: "0A0A7F9B000080149C0101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/6" + mac: "8c8a.12cd.3aa9" + method: "dot1x" + session: "0A0A497E00000001000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/35" + mac: "8c8a.12cd.32aa" + method: "dot1x" + session: "0A5C58FE00000029000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/36" + mac: "848a.12cd.333b" + method: "mab" + session: "0A0A7F9B00000037000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/9" + mac: "8c8a.12cd.3c67" + method: "dot1x" + session: "0A0A7F9B00000511090101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/37" + mac: "8c8a.12cd.32ad" + method: "dot1x" + session: "0A0A7F9B00004E72D40101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/2" + mac: "848a.12cd.3223" + method: "mab" + session: "0A5C58FE00000026000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa3/0/44" + mac: "8c8a.12cd.32b3" + method: "dot1x" + session: "0A0A7F9B00007B3E880101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/38" + mac: "347a.12cd.3042" + method: "mab" + session: "0A0A7F9B00005C190B0101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/38" + mac: "8c8a.12cd.3c72" + method: "dot1x" + session: "0A0A7F9B00005C180B0101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/35" + mac: "848a.12cd.335a" + method: "mab" + session: "0A0A7F9B0000002E000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/35" + mac: "848a.12cd.37aa" + method: "mab" + session: "0A0A7F9B0000003C000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/9" + mac: "848a.12cd.335d" + method: "mab" + session: "0A5C58FE0000001B000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/30" + mac: "008a.12cd.36e1" + method: "mab" + session: "0A0A7F9B0000C6BBA20101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/44" + mac: "848a.12cd.334d" + method: "mab" + session: "0A0A7F9B0000AAAE310101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/12" + mac: "848a.12cd.3371" + method: "mab" + session: "0A0A7F9B00000033000101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/46" + mac: "848a.12cd.3376" + method: "mab" + session: "0A5C58FE00000013000101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/8" + mac: "001a.12cd.3caa" + method: "mab" + session: "0A0A7F9B0000B1544C0101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa2/0/30" + mac: "347a.12cd.3e00" + method: "mab" + session: "0A0A7F9B0000C6BDA20101FF" + status: "Authz Success" + - domain: "VOICE" + interface: "Fa3/0/39" + mac: "848a.12cd.3365" + method: "mab" + session: "0A0A7F9B000080199C0101FF" + status: "Authz Success" + - domain: "DATA" + interface: "Fa2/0/35" + mac: "8c8a.12cd.31f9" + method: "dot1x" + session: "0A5C58FE0000000E000101FF" + status: "Authz Success" diff --git a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions2.parsed b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions2.parsed deleted file mode 100644 index f7d116250e..0000000000 --- a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions2.parsed +++ /dev/null @@ -1,249 +0,0 @@ ---- -parsed_sample: - -- domain: DATA - interface: Gi1/0/10 - mac: c89a.12cd.3b74 - method: dot1x - session: 0A0A1DFE00000FB3000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/5 - mac: 848a.12cd.3636 - method: mab - session: 0A0A1DFE00000FBD000101FF - status: Auth -- domain: VOICE - interface: Gi2/0/33 - mac: 848a.12cd.3624 - method: mab - session: 0A0A1DFE00000FBA000101FF - status: Auth -- domain: UNKNOWN - interface: Gi1/0/26 - mac: 005a.12cd.3567 - method: N/A - session: 0A0A1DFE00001F8D160101FF - status: Unauth -- domain: DATA - interface: Gi1/0/26 - mac: 004a.12cd.3c40 - method: mab - session: 0A0A1DFE00001C8D5E0101FF - status: Auth -- domain: VOICE - interface: Gi1/0/43 - mac: 848a.12cd.3db2 - method: mab - session: 0A0A1DFE00000FC8000101FF - status: Auth -- domain: DATA - interface: Gi1/0/20 - mac: 54ea.12cd.3568 - method: dot1x - session: 0A0A1DFE000013DF820101FF - status: Auth -- domain: DATA - interface: Gi2/0/1 - mac: 002a.12cd.3906 - method: mab - session: 0A0A1DFE00000FB2000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/21 - mac: b4ba.12cd.3f3b - method: mab - session: 0A0A1DFE00000FCC000101FF - status: Auth -- domain: DATA - interface: Gi1/0/40 - mac: 002a.12cd.3d7d - method: mab - session: 0A0A1DFE00001D3B990101FF - status: Auth -- domain: DATA - interface: Gi1/0/39 - mac: 8c8a.12cd.3c83 - method: dot1x - session: 0A0A1DFE000010EE7C0101FF - status: Auth -- domain: DATA - interface: Gi1/0/41 - mac: 54ea.12cd.32e3 - method: dot1x - session: 0A0A1DFE00000FD6000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/16 - mac: 848a.12cd.35b8 - method: mab - session: 0A0A1DFE00000FC2000101FF - status: Auth -- domain: DATA - interface: Gi1/0/31 - mac: 54ea.12cd.32dc - method: dot1x - session: 0A0A1DFE00000FD3000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/22 - mac: 848a.12cd.3626 - method: mab - session: 0A0A1DFE00000FCD000101FF - status: Auth -- domain: DATA - interface: Gi1/0/12 - mac: c89a.12cd.3be0 - method: dot1x - session: 0A0A1DFE00000FB6000101FF - status: Auth -- domain: DATA - interface: Gi1/0/43 - mac: 106a.12cd.36a4 - method: mab - session: 0A0A1DFE00000FB5000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/46 - mac: 347a.12cd.3aae - method: mab - session: 0A0A1DFE0000201A380101FF - status: Auth -- domain: VOICE - interface: Gi1/0/15 - mac: 347a.12cd.3bf5 - method: mab - session: 0A0A1DFE00000FFD110101FF - status: Auth -- domain: VOICE - interface: Gi1/0/31 - mac: 848a.12cd.3d3d - method: mab - session: 0A0A1DFE00000FCE000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/30 - mac: 347a.12cd.3c00 - method: mab - session: 0A0A1DFE00000FC6000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/3 - mac: 848a.12cd.35c3 - method: mab - session: 0A0A1DFE00000FBE000101FF - status: Auth -- domain: DATA - interface: Gi1/0/45 - mac: 8c8a.12cd.3636 - method: dot1x - session: 0A0A1DFE00000FD8000101FF - status: Auth -- domain: DATA - interface: Gi1/0/37 - mac: c89a.12cd.329d - method: dot1x - session: 0A0A1DFE00000FD5000101FF - status: Auth -- domain: DATA - interface: Gi1/0/5 - mac: 8c8a.12cd.3096 - method: dot1x - session: 0A0A1DFE00000FB4000101FF - status: Auth -- domain: DATA - interface: Gi1/0/46 - mac: 54ea.12cd.3325 - method: dot1x - session: 0A0A1DFE00002019380101FF - status: Auth -- domain: VOICE - interface: Gi2/0/1 - mac: 848a.12cd.3615 - method: mab - session: 0A0A1DFE00000FBB000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/12 - mac: 848a.12cd.34a6 - method: mab - session: 0A0A1DFE00000FC1000101FF - status: Auth -- domain: DATA - interface: Gi1/0/2 - mac: 004a.12cd.3c3f - method: mab - session: 0A0A1DFE00001FC12D0101FF - status: Auth -- domain: DATA - interface: Gi2/0/15 - mac: 1c6a.12cd.317e - method: mab - session: 0A0A1DFE00001865F80101FF - status: Auth -- domain: VOICE - interface: Gi1/0/20 - mac: 848a.12cd.36aa - method: mab - session: 0A0A1DFE00001225F90101FF - status: Auth -- domain: DATA - interface: Gi1/0/21 - mac: 8c8a.12cd.38e9 - method: dot1x - session: 0A0A1DFE00000FB7000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/37 - mac: 347a.12cd.345b - method: mab - session: 0A0A1DFE00000FC0000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/45 - mac: 848a.12cd.35fa - method: mab - session: 0A0A1DFE00000FBF000101FF - status: Auth -- domain: DATA - interface: Gi1/0/15 - mac: 54ea.12cd.31ae - method: dot1x - session: 0A0A1DFE00000FFE110101FF - status: Auth -- domain: VOICE - interface: Gi1/0/41 - mac: 848a.12cd.359f - method: mab - session: 0A0A1DFE00000FC4000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/23 - mac: 848a.12cd.35a3 - method: mab - session: 0A0A1DFE00000FC3000101FF - status: Auth -- domain: DATA - interface: Gi1/0/1 - mac: 001a.12cd.3402 - method: mab - session: 0A0A1DFE0000164F6A0101FF - status: Auth -- domain: VOICE - interface: Gi1/0/10 - mac: 848a.12cd.35ec - method: mab - session: 0A0A1DFE00000FC5000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/39 - mac: 24da.12cd.3b4f - method: mab - session: 0A0A1DFE000010EF7C0101FF - status: Auth -- domain: DATA - interface: Gi1/0/29 - mac: 8c8a.12cd.3943 - method: dot1x - session: 0A0A1DFE0000202C3F0101FF - status: Auth diff --git a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions2.yml b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions2.yml new file mode 100644 index 0000000000..412335ce77 --- /dev/null +++ b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions2.yml @@ -0,0 +1,248 @@ +--- +parsed_sample: + - domain: "DATA" + interface: "Gi1/0/10" + mac: "c89a.12cd.3b74" + method: "dot1x" + session: "0A0A1DFE00000FB3000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/5" + mac: "848a.12cd.3636" + method: "mab" + session: "0A0A1DFE00000FBD000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi2/0/33" + mac: "848a.12cd.3624" + method: "mab" + session: "0A0A1DFE00000FBA000101FF" + status: "Auth" + - domain: "UNKNOWN" + interface: "Gi1/0/26" + mac: "005a.12cd.3567" + method: "N/A" + session: "0A0A1DFE00001F8D160101FF" + status: "Unauth" + - domain: "DATA" + interface: "Gi1/0/26" + mac: "004a.12cd.3c40" + method: "mab" + session: "0A0A1DFE00001C8D5E0101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/43" + mac: "848a.12cd.3db2" + method: "mab" + session: "0A0A1DFE00000FC8000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/20" + mac: "54ea.12cd.3568" + method: "dot1x" + session: "0A0A1DFE000013DF820101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi2/0/1" + mac: "002a.12cd.3906" + method: "mab" + session: "0A0A1DFE00000FB2000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/21" + mac: "b4ba.12cd.3f3b" + method: "mab" + session: "0A0A1DFE00000FCC000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/40" + mac: "002a.12cd.3d7d" + method: "mab" + session: "0A0A1DFE00001D3B990101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/39" + mac: "8c8a.12cd.3c83" + method: "dot1x" + session: "0A0A1DFE000010EE7C0101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/41" + mac: "54ea.12cd.32e3" + method: "dot1x" + session: "0A0A1DFE00000FD6000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/16" + mac: "848a.12cd.35b8" + method: "mab" + session: "0A0A1DFE00000FC2000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/31" + mac: "54ea.12cd.32dc" + method: "dot1x" + session: "0A0A1DFE00000FD3000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/22" + mac: "848a.12cd.3626" + method: "mab" + session: "0A0A1DFE00000FCD000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/12" + mac: "c89a.12cd.3be0" + method: "dot1x" + session: "0A0A1DFE00000FB6000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/43" + mac: "106a.12cd.36a4" + method: "mab" + session: "0A0A1DFE00000FB5000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/46" + mac: "347a.12cd.3aae" + method: "mab" + session: "0A0A1DFE0000201A380101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/15" + mac: "347a.12cd.3bf5" + method: "mab" + session: "0A0A1DFE00000FFD110101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/31" + mac: "848a.12cd.3d3d" + method: "mab" + session: "0A0A1DFE00000FCE000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/30" + mac: "347a.12cd.3c00" + method: "mab" + session: "0A0A1DFE00000FC6000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/3" + mac: "848a.12cd.35c3" + method: "mab" + session: "0A0A1DFE00000FBE000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/45" + mac: "8c8a.12cd.3636" + method: "dot1x" + session: "0A0A1DFE00000FD8000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/37" + mac: "c89a.12cd.329d" + method: "dot1x" + session: "0A0A1DFE00000FD5000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/5" + mac: "8c8a.12cd.3096" + method: "dot1x" + session: "0A0A1DFE00000FB4000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/46" + mac: "54ea.12cd.3325" + method: "dot1x" + session: "0A0A1DFE00002019380101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi2/0/1" + mac: "848a.12cd.3615" + method: "mab" + session: "0A0A1DFE00000FBB000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/12" + mac: "848a.12cd.34a6" + method: "mab" + session: "0A0A1DFE00000FC1000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/2" + mac: "004a.12cd.3c3f" + method: "mab" + session: "0A0A1DFE00001FC12D0101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi2/0/15" + mac: "1c6a.12cd.317e" + method: "mab" + session: "0A0A1DFE00001865F80101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/20" + mac: "848a.12cd.36aa" + method: "mab" + session: "0A0A1DFE00001225F90101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/21" + mac: "8c8a.12cd.38e9" + method: "dot1x" + session: "0A0A1DFE00000FB7000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/37" + mac: "347a.12cd.345b" + method: "mab" + session: "0A0A1DFE00000FC0000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/45" + mac: "848a.12cd.35fa" + method: "mab" + session: "0A0A1DFE00000FBF000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/15" + mac: "54ea.12cd.31ae" + method: "dot1x" + session: "0A0A1DFE00000FFE110101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/41" + mac: "848a.12cd.359f" + method: "mab" + session: "0A0A1DFE00000FC4000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/23" + mac: "848a.12cd.35a3" + method: "mab" + session: "0A0A1DFE00000FC3000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/1" + mac: "001a.12cd.3402" + method: "mab" + session: "0A0A1DFE0000164F6A0101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/10" + mac: "848a.12cd.35ec" + method: "mab" + session: "0A0A1DFE00000FC5000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/39" + mac: "24da.12cd.3b4f" + method: "mab" + session: "0A0A1DFE000010EF7C0101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/29" + mac: "8c8a.12cd.3943" + method: "dot1x" + session: "0A0A1DFE0000202C3F0101FF" + status: "Auth" diff --git a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.parsed b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.parsed deleted file mode 100644 index f7d116250e..0000000000 --- a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.parsed +++ /dev/null @@ -1,249 +0,0 @@ ---- -parsed_sample: - -- domain: DATA - interface: Gi1/0/10 - mac: c89a.12cd.3b74 - method: dot1x - session: 0A0A1DFE00000FB3000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/5 - mac: 848a.12cd.3636 - method: mab - session: 0A0A1DFE00000FBD000101FF - status: Auth -- domain: VOICE - interface: Gi2/0/33 - mac: 848a.12cd.3624 - method: mab - session: 0A0A1DFE00000FBA000101FF - status: Auth -- domain: UNKNOWN - interface: Gi1/0/26 - mac: 005a.12cd.3567 - method: N/A - session: 0A0A1DFE00001F8D160101FF - status: Unauth -- domain: DATA - interface: Gi1/0/26 - mac: 004a.12cd.3c40 - method: mab - session: 0A0A1DFE00001C8D5E0101FF - status: Auth -- domain: VOICE - interface: Gi1/0/43 - mac: 848a.12cd.3db2 - method: mab - session: 0A0A1DFE00000FC8000101FF - status: Auth -- domain: DATA - interface: Gi1/0/20 - mac: 54ea.12cd.3568 - method: dot1x - session: 0A0A1DFE000013DF820101FF - status: Auth -- domain: DATA - interface: Gi2/0/1 - mac: 002a.12cd.3906 - method: mab - session: 0A0A1DFE00000FB2000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/21 - mac: b4ba.12cd.3f3b - method: mab - session: 0A0A1DFE00000FCC000101FF - status: Auth -- domain: DATA - interface: Gi1/0/40 - mac: 002a.12cd.3d7d - method: mab - session: 0A0A1DFE00001D3B990101FF - status: Auth -- domain: DATA - interface: Gi1/0/39 - mac: 8c8a.12cd.3c83 - method: dot1x - session: 0A0A1DFE000010EE7C0101FF - status: Auth -- domain: DATA - interface: Gi1/0/41 - mac: 54ea.12cd.32e3 - method: dot1x - session: 0A0A1DFE00000FD6000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/16 - mac: 848a.12cd.35b8 - method: mab - session: 0A0A1DFE00000FC2000101FF - status: Auth -- domain: DATA - interface: Gi1/0/31 - mac: 54ea.12cd.32dc - method: dot1x - session: 0A0A1DFE00000FD3000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/22 - mac: 848a.12cd.3626 - method: mab - session: 0A0A1DFE00000FCD000101FF - status: Auth -- domain: DATA - interface: Gi1/0/12 - mac: c89a.12cd.3be0 - method: dot1x - session: 0A0A1DFE00000FB6000101FF - status: Auth -- domain: DATA - interface: Gi1/0/43 - mac: 106a.12cd.36a4 - method: mab - session: 0A0A1DFE00000FB5000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/46 - mac: 347a.12cd.3aae - method: mab - session: 0A0A1DFE0000201A380101FF - status: Auth -- domain: VOICE - interface: Gi1/0/15 - mac: 347a.12cd.3bf5 - method: mab - session: 0A0A1DFE00000FFD110101FF - status: Auth -- domain: VOICE - interface: Gi1/0/31 - mac: 848a.12cd.3d3d - method: mab - session: 0A0A1DFE00000FCE000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/30 - mac: 347a.12cd.3c00 - method: mab - session: 0A0A1DFE00000FC6000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/3 - mac: 848a.12cd.35c3 - method: mab - session: 0A0A1DFE00000FBE000101FF - status: Auth -- domain: DATA - interface: Gi1/0/45 - mac: 8c8a.12cd.3636 - method: dot1x - session: 0A0A1DFE00000FD8000101FF - status: Auth -- domain: DATA - interface: Gi1/0/37 - mac: c89a.12cd.329d - method: dot1x - session: 0A0A1DFE00000FD5000101FF - status: Auth -- domain: DATA - interface: Gi1/0/5 - mac: 8c8a.12cd.3096 - method: dot1x - session: 0A0A1DFE00000FB4000101FF - status: Auth -- domain: DATA - interface: Gi1/0/46 - mac: 54ea.12cd.3325 - method: dot1x - session: 0A0A1DFE00002019380101FF - status: Auth -- domain: VOICE - interface: Gi2/0/1 - mac: 848a.12cd.3615 - method: mab - session: 0A0A1DFE00000FBB000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/12 - mac: 848a.12cd.34a6 - method: mab - session: 0A0A1DFE00000FC1000101FF - status: Auth -- domain: DATA - interface: Gi1/0/2 - mac: 004a.12cd.3c3f - method: mab - session: 0A0A1DFE00001FC12D0101FF - status: Auth -- domain: DATA - interface: Gi2/0/15 - mac: 1c6a.12cd.317e - method: mab - session: 0A0A1DFE00001865F80101FF - status: Auth -- domain: VOICE - interface: Gi1/0/20 - mac: 848a.12cd.36aa - method: mab - session: 0A0A1DFE00001225F90101FF - status: Auth -- domain: DATA - interface: Gi1/0/21 - mac: 8c8a.12cd.38e9 - method: dot1x - session: 0A0A1DFE00000FB7000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/37 - mac: 347a.12cd.345b - method: mab - session: 0A0A1DFE00000FC0000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/45 - mac: 848a.12cd.35fa - method: mab - session: 0A0A1DFE00000FBF000101FF - status: Auth -- domain: DATA - interface: Gi1/0/15 - mac: 54ea.12cd.31ae - method: dot1x - session: 0A0A1DFE00000FFE110101FF - status: Auth -- domain: VOICE - interface: Gi1/0/41 - mac: 848a.12cd.359f - method: mab - session: 0A0A1DFE00000FC4000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/23 - mac: 848a.12cd.35a3 - method: mab - session: 0A0A1DFE00000FC3000101FF - status: Auth -- domain: DATA - interface: Gi1/0/1 - mac: 001a.12cd.3402 - method: mab - session: 0A0A1DFE0000164F6A0101FF - status: Auth -- domain: VOICE - interface: Gi1/0/10 - mac: 848a.12cd.35ec - method: mab - session: 0A0A1DFE00000FC5000101FF - status: Auth -- domain: VOICE - interface: Gi1/0/39 - mac: 24da.12cd.3b4f - method: mab - session: 0A0A1DFE000010EF7C0101FF - status: Auth -- domain: DATA - interface: Gi1/0/29 - mac: 8c8a.12cd.3943 - method: dot1x - session: 0A0A1DFE0000202C3F0101FF - status: Auth diff --git a/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.yml b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.yml new file mode 100644 index 0000000000..412335ce77 --- /dev/null +++ b/tests/cisco_ios/show_authentication_sessions/cisco_ios_show_authentication_sessions3.yml @@ -0,0 +1,248 @@ +--- +parsed_sample: + - domain: "DATA" + interface: "Gi1/0/10" + mac: "c89a.12cd.3b74" + method: "dot1x" + session: "0A0A1DFE00000FB3000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/5" + mac: "848a.12cd.3636" + method: "mab" + session: "0A0A1DFE00000FBD000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi2/0/33" + mac: "848a.12cd.3624" + method: "mab" + session: "0A0A1DFE00000FBA000101FF" + status: "Auth" + - domain: "UNKNOWN" + interface: "Gi1/0/26" + mac: "005a.12cd.3567" + method: "N/A" + session: "0A0A1DFE00001F8D160101FF" + status: "Unauth" + - domain: "DATA" + interface: "Gi1/0/26" + mac: "004a.12cd.3c40" + method: "mab" + session: "0A0A1DFE00001C8D5E0101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/43" + mac: "848a.12cd.3db2" + method: "mab" + session: "0A0A1DFE00000FC8000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/20" + mac: "54ea.12cd.3568" + method: "dot1x" + session: "0A0A1DFE000013DF820101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi2/0/1" + mac: "002a.12cd.3906" + method: "mab" + session: "0A0A1DFE00000FB2000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/21" + mac: "b4ba.12cd.3f3b" + method: "mab" + session: "0A0A1DFE00000FCC000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/40" + mac: "002a.12cd.3d7d" + method: "mab" + session: "0A0A1DFE00001D3B990101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/39" + mac: "8c8a.12cd.3c83" + method: "dot1x" + session: "0A0A1DFE000010EE7C0101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/41" + mac: "54ea.12cd.32e3" + method: "dot1x" + session: "0A0A1DFE00000FD6000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/16" + mac: "848a.12cd.35b8" + method: "mab" + session: "0A0A1DFE00000FC2000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/31" + mac: "54ea.12cd.32dc" + method: "dot1x" + session: "0A0A1DFE00000FD3000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/22" + mac: "848a.12cd.3626" + method: "mab" + session: "0A0A1DFE00000FCD000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/12" + mac: "c89a.12cd.3be0" + method: "dot1x" + session: "0A0A1DFE00000FB6000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/43" + mac: "106a.12cd.36a4" + method: "mab" + session: "0A0A1DFE00000FB5000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/46" + mac: "347a.12cd.3aae" + method: "mab" + session: "0A0A1DFE0000201A380101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/15" + mac: "347a.12cd.3bf5" + method: "mab" + session: "0A0A1DFE00000FFD110101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/31" + mac: "848a.12cd.3d3d" + method: "mab" + session: "0A0A1DFE00000FCE000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/30" + mac: "347a.12cd.3c00" + method: "mab" + session: "0A0A1DFE00000FC6000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/3" + mac: "848a.12cd.35c3" + method: "mab" + session: "0A0A1DFE00000FBE000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/45" + mac: "8c8a.12cd.3636" + method: "dot1x" + session: "0A0A1DFE00000FD8000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/37" + mac: "c89a.12cd.329d" + method: "dot1x" + session: "0A0A1DFE00000FD5000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/5" + mac: "8c8a.12cd.3096" + method: "dot1x" + session: "0A0A1DFE00000FB4000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/46" + mac: "54ea.12cd.3325" + method: "dot1x" + session: "0A0A1DFE00002019380101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi2/0/1" + mac: "848a.12cd.3615" + method: "mab" + session: "0A0A1DFE00000FBB000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/12" + mac: "848a.12cd.34a6" + method: "mab" + session: "0A0A1DFE00000FC1000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/2" + mac: "004a.12cd.3c3f" + method: "mab" + session: "0A0A1DFE00001FC12D0101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi2/0/15" + mac: "1c6a.12cd.317e" + method: "mab" + session: "0A0A1DFE00001865F80101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/20" + mac: "848a.12cd.36aa" + method: "mab" + session: "0A0A1DFE00001225F90101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/21" + mac: "8c8a.12cd.38e9" + method: "dot1x" + session: "0A0A1DFE00000FB7000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/37" + mac: "347a.12cd.345b" + method: "mab" + session: "0A0A1DFE00000FC0000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/45" + mac: "848a.12cd.35fa" + method: "mab" + session: "0A0A1DFE00000FBF000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/15" + mac: "54ea.12cd.31ae" + method: "dot1x" + session: "0A0A1DFE00000FFE110101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/41" + mac: "848a.12cd.359f" + method: "mab" + session: "0A0A1DFE00000FC4000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/23" + mac: "848a.12cd.35a3" + method: "mab" + session: "0A0A1DFE00000FC3000101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/1" + mac: "001a.12cd.3402" + method: "mab" + session: "0A0A1DFE0000164F6A0101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/10" + mac: "848a.12cd.35ec" + method: "mab" + session: "0A0A1DFE00000FC5000101FF" + status: "Auth" + - domain: "VOICE" + interface: "Gi1/0/39" + mac: "24da.12cd.3b4f" + method: "mab" + session: "0A0A1DFE000010EF7C0101FF" + status: "Auth" + - domain: "DATA" + interface: "Gi1/0/29" + mac: "8c8a.12cd.3943" + method: "dot1x" + session: "0A0A1DFE0000202C3F0101FF" + status: "Auth" diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot.parsed b/tests/cisco_ios/show_boot/cisco_ios_show_boot.parsed deleted file mode 100644 index 715ec0eeac..0000000000 --- a/tests/cisco_ios/show_boot/cisco_ios_show_boot.parsed +++ /dev/null @@ -1,16 +0,0 @@ ---- -parsed_sample: - -- allow_dev_key: 'yes' - auto_upgrade: 'yes' - auto_upgrade_path: '' - boot_path: flash:c3750e-ipbasek9-mz.150-2.SE11.bin - buffer_size: '524288' - config_download_dhcp: disabled - config_download_dhcp_next_boot: '' - config_file: flash:/config.text - enable_break: 'yes' - helper_path_list: '' - manual_boot: 'no' - priv_config_file: flash:/private-config.text - timeout_config_download: '0' diff --git a/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml b/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml new file mode 100644 index 0000000000..0cc756f190 --- /dev/null +++ b/tests/cisco_ios/show_boot/cisco_ios_show_boot.yml @@ -0,0 +1,15 @@ +--- +parsed_sample: + - allow_dev_key: "yes" + auto_upgrade: "yes" + auto_upgrade_path: "" + boot_path: "flash:c3750e-ipbasek9-mz.150-2.SE11.bin" + buffer_size: "524288" + config_download_dhcp: "disabled" + config_download_dhcp_next_boot: "" + config_file: "flash:/config.text" + enable_break: "yes" + helper_path_list: "" + manual_boot: "no" + priv_config_file: "flash:/private-config.text" + timeout_config_download: "0" diff --git a/tests/cisco_ios/show_capability_feature_routing/cisco_ios_show_capability_feature_routing.parsed b/tests/cisco_ios/show_capability_feature_routing/cisco_ios_show_capability_feature_routing.parsed deleted file mode 100644 index 09a15446a6..0000000000 --- a/tests/cisco_ios/show_capability_feature_routing/cisco_ios_show_capability_feature_routing.parsed +++ /dev/null @@ -1,44 +0,0 @@ ---- -parsed_sample: - -- feature: 'L3VPN Inter-AS Hybrid' - state: 'Enabled' - -- feature: 'L3VPN PE-CE Link Protection' - state: 'Enabled' - -- feature: 'OSPF nssa-only' - state: 'Enabled' - -- feature: 'OSPF Connected prefix suppression' - state: 'Enabled' - -- feature: 'OSPF support of RFC3101' - state: 'Enabled' - -- feature: 'OSPF prefix priority' - state: 'Enabled' - -- feature: 'OSPFv3 IPsec auth/encr' - state: 'Enabled' - -- feature: 'OSPFv3 BFD' - state: 'Enabled' - -- feature: 'OSPFv3 Graceful Restart' - state: 'Enabled' - -- feature: 'OSPFv3 Address Families' - state: 'Enabled' - -- feature: 'OSPFv3 PE-CE' - state: 'Enabled' - -- feature: 'OSPFv3 external path preference' - state: 'Enabled' - -- feature: 'OSPFv3 Stub Router Advertisement' - state: 'Enabled' - -- feature: 'OSPFv3 support of RFC3101' - state: 'Enabled' diff --git a/tests/cisco_ios/show_capability_feature_routing/cisco_ios_show_capability_feature_routing.yml b/tests/cisco_ios/show_capability_feature_routing/cisco_ios_show_capability_feature_routing.yml new file mode 100644 index 0000000000..1f1ebc019d --- /dev/null +++ b/tests/cisco_ios/show_capability_feature_routing/cisco_ios_show_capability_feature_routing.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - feature: "L3VPN Inter-AS Hybrid" + state: "Enabled" + - feature: "L3VPN PE-CE Link Protection" + state: "Enabled" + - feature: "OSPF nssa-only" + state: "Enabled" + - feature: "OSPF Connected prefix suppression" + state: "Enabled" + - feature: "OSPF support of RFC3101" + state: "Enabled" + - feature: "OSPF prefix priority" + state: "Enabled" + - feature: "OSPFv3 IPsec auth/encr" + state: "Enabled" + - feature: "OSPFv3 BFD" + state: "Enabled" + - feature: "OSPFv3 Graceful Restart" + state: "Enabled" + - feature: "OSPFv3 Address Families" + state: "Enabled" + - feature: "OSPFv3 PE-CE" + state: "Enabled" + - feature: "OSPFv3 external path preference" + state: "Enabled" + - feature: "OSPFv3 Stub Router Advertisement" + state: "Enabled" + - feature: "OSPFv3 support of RFC3101" + state: "Enabled" diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors.parsed b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors.parsed deleted file mode 100644 index 88bab965e1..0000000000 --- a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors.parsed +++ /dev/null @@ -1,43 +0,0 @@ ---- -parsed_sample: -- neighbor: "R1-PBX" - local_interface: "Gig 1/0/10" - capability: "R S I" - platform: "2811" - neighbor_interface: "Fas 0/0" - -- neighbor: "TS-1" - local_interface: "Gig 1/0/39" - capability: "R" - platform: "2611" - neighbor_interface: "Eth 0/1" - -- neighbor: "Cisco-WAP-N" - local_interface: "Gig 1/0/1" - capability: "T I" - platform: "AIR-AP125" - neighbor_interface: "Gig 0" - -- neighbor: "SEP04FE7F689D33" - local_interface: "Gig 1/0/2" - capability: "H P" - platform: "IP Phone" - neighbor_interface: "Port 1" - -- neighbor: "SEP000DBC50FCD1" - local_interface: "Gig 1/0/4" - capability: "H P" - platform: "IP Phone" - neighbor_interface: "Port 1" - -- neighbor: "SEP00124362C4D2" - local_interface: "Gig 1/0/42" - capability: "H P" - platform: "IP Phone" - neighbor_interface: "Port 1" - - - - - - diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors.yml b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors.yml new file mode 100644 index 0000000000..5b9b268e87 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - neighbor: "R1-PBX" + local_interface: "Gig 1/0/10" + capability: "R S I" + platform: "2811" + neighbor_interface: "Fas 0/0" + - neighbor: "TS-1" + local_interface: "Gig 1/0/39" + capability: "R" + platform: "2611" + neighbor_interface: "Eth 0/1" + - neighbor: "Cisco-WAP-N" + local_interface: "Gig 1/0/1" + capability: "T I" + platform: "AIR-AP125" + neighbor_interface: "Gig 0" + - neighbor: "SEP04FE7F689D33" + local_interface: "Gig 1/0/2" + capability: "H P" + platform: "IP Phone" + neighbor_interface: "Port 1" + - neighbor: "SEP000DBC50FCD1" + local_interface: "Gig 1/0/4" + capability: "H P" + platform: "IP Phone" + neighbor_interface: "Port 1" + - neighbor: "SEP00124362C4D2" + local_interface: "Gig 1/0/42" + capability: "H P" + platform: "IP Phone" + neighbor_interface: "Port 1" diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.parsed b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.parsed deleted file mode 100644 index 4b4fb693d4..0000000000 --- a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.parsed +++ /dev/null @@ -1,59 +0,0 @@ ---- -parsed_sample: - -- capability: R I - local_interface: Ten 1/1/3 - neighbor: asr1002-2.some.example.com - neighbor_interface: Ten 0/1/0 - platform: ASR1002-H -- capability: H - local_interface: Ten 1/0/6 - neighbor: vWAAS3b - neighbor_interface: Virtual 2/0 - platform: OE-VWAAS -- capability: H - local_interface: Ten 1/0/6 - neighbor: vWAAS3b - neighbor_interface: Virtual 1/0 - platform: OE-VWAAS -- capability: H - local_interface: Ten 1/0/7 - neighbor: vWAAS4b - neighbor_interface: Virtual 2/0 - platform: OE-VWAAS -- capability: H - local_interface: Ten 1/0/7 - neighbor: vWAAS4b - neighbor_interface: Virtual 1/0 - platform: OE-VWAAS -- capability: S I - local_interface: Gig 0/0 - neighbor: NEXTGENLABSWT01.some.example.com - neighbor_interface: Gig 0/23 - platform: WS-C3560X -- capability: R B S I - local_interface: Ten 1/0/4 - neighbor: router01.some.example.com - neighbor_interface: Gig 0/0 - platform: CISCO2911 -- capability: R S I - local_interface: Ten 1/1/6 - neighbor: 9300mgig-1.some.example.com - neighbor_interface: Ten 1/1/7 - platform: C9300-24U -- capability: R S I - local_interface: Ten 1/1/7 - neighbor: 9300mgig-1.some.example.com - neighbor_interface: Ten 1/1/6 - platform: C9300-24U -- capability: R S I - local_interface: Ten 1/1/8 - neighbor: 9500-1.some.example.com - neighbor_interface: Ten 2/0/36 - platform: C9500-40X -- capability: R S I - local_interface: Ten 1/1/1 - neighbor: 9300mgig-2.some.example.com - neighbor_interface: Ten 1/1/2 - platform: C9300-24U - diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.yml b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.yml new file mode 100644 index 0000000000..7b14c82688 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_2.yml @@ -0,0 +1,57 @@ +--- +parsed_sample: + - capability: "R I" + local_interface: "Ten 1/1/3" + neighbor: "asr1002-2.some.example.com" + neighbor_interface: "Ten 0/1/0" + platform: "ASR1002-H" + - capability: "H" + local_interface: "Ten 1/0/6" + neighbor: "vWAAS3b" + neighbor_interface: "Virtual 2/0" + platform: "OE-VWAAS" + - capability: "H" + local_interface: "Ten 1/0/6" + neighbor: "vWAAS3b" + neighbor_interface: "Virtual 1/0" + platform: "OE-VWAAS" + - capability: "H" + local_interface: "Ten 1/0/7" + neighbor: "vWAAS4b" + neighbor_interface: "Virtual 2/0" + platform: "OE-VWAAS" + - capability: "H" + local_interface: "Ten 1/0/7" + neighbor: "vWAAS4b" + neighbor_interface: "Virtual 1/0" + platform: "OE-VWAAS" + - capability: "S I" + local_interface: "Gig 0/0" + neighbor: "NEXTGENLABSWT01.some.example.com" + neighbor_interface: "Gig 0/23" + platform: "WS-C3560X" + - capability: "R B S I" + local_interface: "Ten 1/0/4" + neighbor: "router01.some.example.com" + neighbor_interface: "Gig 0/0" + platform: "CISCO2911" + - capability: "R S I" + local_interface: "Ten 1/1/6" + neighbor: "9300mgig-1.some.example.com" + neighbor_interface: "Ten 1/1/7" + platform: "C9300-24U" + - capability: "R S I" + local_interface: "Ten 1/1/7" + neighbor: "9300mgig-1.some.example.com" + neighbor_interface: "Ten 1/1/6" + platform: "C9300-24U" + - capability: "R S I" + local_interface: "Ten 1/1/8" + neighbor: "9500-1.some.example.com" + neighbor_interface: "Ten 2/0/36" + platform: "C9500-40X" + - capability: "R S I" + local_interface: "Ten 1/1/1" + neighbor: "9300mgig-2.some.example.com" + neighbor_interface: "Ten 1/1/2" + platform: "C9300-24U" diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.parsed b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.parsed deleted file mode 100644 index d9a04b89a1..0000000000 --- a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.parsed +++ /dev/null @@ -1,112 +0,0 @@ ---- -parsed_sample: -- capability: H P - local_interface: Gig 1/0/16 - neighbor: SEP000000000000 - neighbor_interface: port 1 - platform: IP Phone -- capability: T B I - local_interface: Gig 1/0/45 - neighbor: AP000000000 - neighbor_interface: Gig 0 - platform: AIR-CAP35 -- capability: T B I - local_interface: Gig 1/0/46 - neighbor: AP000000001 - neighbor_interface: Gig 0 - platform: AIR-CAP35 -- capability: T - local_interface: Gig 1/0/1 - neighbor: WAAS0000000 - neighbor_interface: InlinePort 1/1/lan - platform: OE474 -- capability: H - local_interface: Gig 1/0/40 - neighbor: WAAS0000000 - neighbor_interface: Gig 1/0 - platform: OE474 -- capability: R B S - local_interface: Gig 1/0/1 - neighbor: router.domain.local - neighbor_interface: Gig 0/0 - platform: CISCO2911 -- capability: H P M - local_interface: Gig 1/0/33 - neighbor: SEP000000000001 - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/29 - neighbor: SEP000000000002 - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/30 - neighbor: SEP000000000003 - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/14 - neighbor: SEP000000000004 - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/8 - neighbor: SEP000000000005 - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/13 - neighbor: SEP000000000006 - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P - local_interface: Gig 1/0/15 - neighbor: SEP000000000007 - neighbor_interface: eth0 - platform: CTS-CODEC -- capability: H P M - local_interface: Gig 1/0/37 - neighbor: SEP000000000008 - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/34 - neighbor: SEP000000000009 - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P - local_interface: Gig 1/0/21 - neighbor: SEP00000000000A - neighbor_interface: eth0 - platform: CTS-CODEC -- capability: H P M - local_interface: Gig 1/0/35 - neighbor: SEP00000000000B - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/24 - neighbor: SEP00000000000C - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/9 - neighbor: SEP00000000000D - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/17 - neighbor: SEP00000000000E - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/20 - neighbor: SEP00000000000F - neighbor_interface: Port 1 - platform: IP Phone -- capability: H P M - local_interface: Gig 1/0/36 - neighbor: SEP000000000010 - neighbor_interface: Port 1 - platform: IP Phone diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.yml b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.yml new file mode 100644 index 0000000000..f52706491f --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.yml @@ -0,0 +1,112 @@ +--- +parsed_sample: + - capability: "H P" + local_interface: "Gig 1/0/16" + neighbor: "SEP000000000000" + neighbor_interface: "port 1" + platform: "IP Phone" + - capability: "T B I" + local_interface: "Gig 1/0/45" + neighbor: "AP000000000" + neighbor_interface: "Gig 0" + platform: "AIR-CAP35" + - capability: "T B I" + local_interface: "Gig 1/0/46" + neighbor: "AP000000001" + neighbor_interface: "Gig 0" + platform: "AIR-CAP35" + - capability: "T" + local_interface: "Gig 1/0/1" + neighbor: "WAAS0000000" + neighbor_interface: "InlinePort 1/1/lan" + platform: "OE474" + - capability: "H" + local_interface: "Gig 1/0/40" + neighbor: "WAAS0000000" + neighbor_interface: "Gig 1/0" + platform: "OE474" + - capability: "R B S" + local_interface: "Gig 1/0/1" + neighbor: "router.domain.local" + neighbor_interface: "Gig 0/0" + platform: "CISCO2911" + - capability: "H P M" + local_interface: "Gig 1/0/33" + neighbor: "SEP000000000001" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/29" + neighbor: "SEP000000000002" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/30" + neighbor: "SEP000000000003" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/14" + neighbor: "SEP000000000004" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/8" + neighbor: "SEP000000000005" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/13" + neighbor: "SEP000000000006" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P" + local_interface: "Gig 1/0/15" + neighbor: "SEP000000000007" + neighbor_interface: "eth0" + platform: "CTS-CODEC" + - capability: "H P M" + local_interface: "Gig 1/0/37" + neighbor: "SEP000000000008" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/34" + neighbor: "SEP000000000009" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P" + local_interface: "Gig 1/0/21" + neighbor: "SEP00000000000A" + neighbor_interface: "eth0" + platform: "CTS-CODEC" + - capability: "H P M" + local_interface: "Gig 1/0/35" + neighbor: "SEP00000000000B" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/24" + neighbor: "SEP00000000000C" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/9" + neighbor: "SEP00000000000D" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/17" + neighbor: "SEP00000000000E" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/20" + neighbor: "SEP00000000000F" + neighbor_interface: "Port 1" + platform: "IP Phone" + - capability: "H P M" + local_interface: "Gig 1/0/36" + neighbor: "SEP000000000010" + neighbor_interface: "Port 1" + platform: "IP Phone" diff --git a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed deleted file mode 100644 index a147f08497..0000000000 --- a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.parsed +++ /dev/null @@ -1,33 +0,0 @@ ---- -parsed_sample: -- platform: "cisco WS-C2960-8TC-L" - management_ip: "10.1.1.2" - software_version: "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(55)SE9, RELEASE SOFTWARE (fc1)" - destination_host: "desktop-switch" - remote_port: "GigabitEthernet0/1" - local_port: "GigabitEthernet1/0/16" - capabilities: "Switch IGMP" - -- platform: "Cisco 3825" - management_ip: "10.1.1.1" - software_version: "Cisco IOS Software, 3800 Software (C3825-ADVENTERPRISEK9-M), Version 12.4(24)T1, RELEASE SOFTWARE (fc3)" - destination_host: "ce-router" - remote_port: "GigabitEthernet0/0" - local_port: "GigabitEthernet1/0/22" - capabilities: "Router Switch IGMP" - -- platform: "VMware" - management_ip: "10.1.1.232" - software_version: "Linux 2.6.32-431.20.3.el6.x86_64 #1 SMP Fri Jun 6 18:30:54 EDT 2014 CCM:10.5.2.10000-5.i386" - destination_host: "server" - remote_port: "eth0" - local_port: "GigabitEthernet1/0/19" - capabilities: "Host" - -- platform: "Cisco " - management_ip: "" - software_version: "Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M), Version 15.2(CML_NIGHTLY_20150414)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT BUILD, synced to DSGS_PI5_POSTCOLLAPSE_TEAM_TRACK_CLONE" - destination_host: "vIOS-L2-1" - remote_port: "GigabitEthernet0/3" - local_port: "GigabitEthernet0/3" - capabilities: "Router Switch IGMP" diff --git a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.yml b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.yml new file mode 100644 index 0000000000..d5490d91e6 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - platform: "cisco WS-C2960-8TC-L" + management_ip: "10.1.1.2" + software_version: "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version\ + \ 12.2(55)SE9, RELEASE SOFTWARE (fc1)" + destination_host: "desktop-switch" + remote_port: "GigabitEthernet0/1" + local_port: "GigabitEthernet1/0/16" + capabilities: "Switch IGMP" + - platform: "Cisco 3825" + management_ip: "10.1.1.1" + software_version: "Cisco IOS Software, 3800 Software (C3825-ADVENTERPRISEK9-M),\ + \ Version 12.4(24)T1, RELEASE SOFTWARE (fc3)" + destination_host: "ce-router" + remote_port: "GigabitEthernet0/0" + local_port: "GigabitEthernet1/0/22" + capabilities: "Router Switch IGMP" + - platform: "VMware" + management_ip: "10.1.1.232" + software_version: "Linux 2.6.32-431.20.3.el6.x86_64 #1 SMP Fri Jun 6 18:30:54\ + \ EDT 2014 CCM:10.5.2.10000-5.i386" + destination_host: "server" + remote_port: "eth0" + local_port: "GigabitEthernet1/0/19" + capabilities: "Host" + - platform: "Cisco " + management_ip: "" + software_version: "Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M),\ + \ Version 15.2(CML_NIGHTLY_20150414)FLO_DSGS7, EARLY DEPLOYMENT DEVELOPMENT\ + \ BUILD, synced to DSGS_PI5_POSTCOLLAPSE_TEAM_TRACK_CLONE" + destination_host: "vIOS-L2-1" + remote_port: "GigabitEthernet0/3" + local_port: "GigabitEthernet0/3" + capabilities: "Router Switch IGMP" diff --git a/tests/cisco_ios/show_clock/cisco_ios_show_clock.parsed b/tests/cisco_ios/show_clock/cisco_ios_show_clock.parsed deleted file mode 100644 index 257a90f528..0000000000 --- a/tests/cisco_ios/show_clock/cisco_ios_show_clock.parsed +++ /dev/null @@ -1,10 +0,0 @@ ---- -parsed_sample: - -- time: "18:57:38.347" - timezone: "UTC" - dayweek: "Mon" - month: "Oct" - day: "19" - year: "2015" - diff --git a/tests/cisco_ios/show_clock/cisco_ios_show_clock.yml b/tests/cisco_ios/show_clock/cisco_ios_show_clock.yml new file mode 100644 index 0000000000..eae6a5fb04 --- /dev/null +++ b/tests/cisco_ios/show_clock/cisco_ios_show_clock.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - time: "18:57:38.347" + timezone: "UTC" + dayweek: "Mon" + month: "Oct" + day: "19" + year: "2015" diff --git a/tests/cisco_ios/show_controller_t1/cisco_ios_show_controller_t1.parsed b/tests/cisco_ios/show_controller_t1/cisco_ios_show_controller_t1.parsed deleted file mode 100644 index 0ff73fb8f0..0000000000 --- a/tests/cisco_ios/show_controller_t1/cisco_ios_show_controller_t1.parsed +++ /dev/null @@ -1,119 +0,0 @@ ---- -parsed_sample: - -- ais_state: Clear - clock_source: Line Primary - curr_bursty_err_secs: '0' - curr_degraded_mins: '0' - curr_err_secs: '0' - curr_fr_loss_secs: '0' - curr_interval_elapsed_seconds: '190' - curr_line_code_violations: '0' - curr_line_err_secs: '0' - curr_path_code_violations: '0' - curr_sev_err_secs: '0' - curr_slip_secs: '0' - curr_unavail_secs: '0' - framing: ESF - interface: 0/2/0 - line_code: B8ZS - link_status: up - lof_state: Clear - los_state: Clear - total_bursty_err_secs: '0' - total_degraded_mins: '0' - total_err_secs: '0' - total_fr_loss_secs: '0' - total_line_code_violations: '0' - total_line_err_secs: '0' - total_path_code_violations: '0' - total_sev_err_secs: '0' - total_slip_secs: '0' - total_unavail_secs: '0' -- ais_state: Clear - clock_source: Line - curr_bursty_err_secs: '0' - curr_degraded_mins: '0' - curr_err_secs: '0' - curr_fr_loss_secs: '0' - curr_interval_elapsed_seconds: '189' - curr_line_code_violations: '0' - curr_line_err_secs: '0' - curr_path_code_violations: '0' - curr_sev_err_secs: '0' - curr_slip_secs: '0' - curr_unavail_secs: '0' - framing: ESF - interface: 0/2/1 - line_code: B8ZS - link_status: up - lof_state: Clear - los_state: Clear - total_bursty_err_secs: '0' - total_degraded_mins: '0' - total_err_secs: '0' - total_fr_loss_secs: '0' - total_line_code_violations: '0' - total_line_err_secs: '0' - total_path_code_violations: '0' - total_sev_err_secs: '0' - total_slip_secs: '0' - total_unavail_secs: '0' -- ais_state: Clear - clock_source: Line - curr_bursty_err_secs: '0' - curr_degraded_mins: '0' - curr_err_secs: '0' - curr_fr_loss_secs: '0' - curr_interval_elapsed_seconds: '429' - curr_line_code_violations: '0' - curr_line_err_secs: '0' - curr_path_code_violations: '0' - curr_sev_err_secs: '0' - curr_slip_secs: '0' - curr_unavail_secs: '0' - framing: ESF - interface: 0/3/0 - line_code: B8ZS - link_status: up - lof_state: Clear - los_state: Clear - total_bursty_err_secs: '0' - total_degraded_mins: '0' - total_err_secs: '0' - total_fr_loss_secs: '0' - total_line_code_violations: '0' - total_line_err_secs: '0' - total_path_code_violations: '0' - total_sev_err_secs: '0' - total_slip_secs: '0' - total_unavail_secs: '0' -- ais_state: Clear - clock_source: Line - curr_bursty_err_secs: '0' - curr_degraded_mins: '0' - curr_err_secs: '0' - curr_fr_loss_secs: '0' - curr_interval_elapsed_seconds: '428' - curr_line_code_violations: '0' - curr_line_err_secs: '0' - curr_path_code_violations: '0' - curr_sev_err_secs: '0' - curr_slip_secs: '0' - curr_unavail_secs: '428' - framing: ESF - interface: 0/3/1 - line_code: B8ZS - link_status: down - lof_state: Clear - los_state: Failure - total_bursty_err_secs: '0' - total_degraded_mins: '0' - total_err_secs: '0' - total_fr_loss_secs: '0' - total_line_code_violations: '0' - total_line_err_secs: '0' - total_path_code_violations: '0' - total_sev_err_secs: '0' - total_slip_secs: '0' - total_unavail_secs: '58500' diff --git a/tests/cisco_ios/show_controller_t1/cisco_ios_show_controller_t1.yml b/tests/cisco_ios/show_controller_t1/cisco_ios_show_controller_t1.yml new file mode 100644 index 0000000000..58d7e5f2b0 --- /dev/null +++ b/tests/cisco_ios/show_controller_t1/cisco_ios_show_controller_t1.yml @@ -0,0 +1,118 @@ +--- +parsed_sample: + - ais_state: "Clear" + clock_source: "Line Primary" + curr_bursty_err_secs: "0" + curr_degraded_mins: "0" + curr_err_secs: "0" + curr_fr_loss_secs: "0" + curr_interval_elapsed_seconds: "190" + curr_line_code_violations: "0" + curr_line_err_secs: "0" + curr_path_code_violations: "0" + curr_sev_err_secs: "0" + curr_slip_secs: "0" + curr_unavail_secs: "0" + framing: "ESF" + interface: "0/2/0" + line_code: "B8ZS" + link_status: "up" + lof_state: "Clear" + los_state: "Clear" + total_bursty_err_secs: "0" + total_degraded_mins: "0" + total_err_secs: "0" + total_fr_loss_secs: "0" + total_line_code_violations: "0" + total_line_err_secs: "0" + total_path_code_violations: "0" + total_sev_err_secs: "0" + total_slip_secs: "0" + total_unavail_secs: "0" + - ais_state: "Clear" + clock_source: "Line" + curr_bursty_err_secs: "0" + curr_degraded_mins: "0" + curr_err_secs: "0" + curr_fr_loss_secs: "0" + curr_interval_elapsed_seconds: "189" + curr_line_code_violations: "0" + curr_line_err_secs: "0" + curr_path_code_violations: "0" + curr_sev_err_secs: "0" + curr_slip_secs: "0" + curr_unavail_secs: "0" + framing: "ESF" + interface: "0/2/1" + line_code: "B8ZS" + link_status: "up" + lof_state: "Clear" + los_state: "Clear" + total_bursty_err_secs: "0" + total_degraded_mins: "0" + total_err_secs: "0" + total_fr_loss_secs: "0" + total_line_code_violations: "0" + total_line_err_secs: "0" + total_path_code_violations: "0" + total_sev_err_secs: "0" + total_slip_secs: "0" + total_unavail_secs: "0" + - ais_state: "Clear" + clock_source: "Line" + curr_bursty_err_secs: "0" + curr_degraded_mins: "0" + curr_err_secs: "0" + curr_fr_loss_secs: "0" + curr_interval_elapsed_seconds: "429" + curr_line_code_violations: "0" + curr_line_err_secs: "0" + curr_path_code_violations: "0" + curr_sev_err_secs: "0" + curr_slip_secs: "0" + curr_unavail_secs: "0" + framing: "ESF" + interface: "0/3/0" + line_code: "B8ZS" + link_status: "up" + lof_state: "Clear" + los_state: "Clear" + total_bursty_err_secs: "0" + total_degraded_mins: "0" + total_err_secs: "0" + total_fr_loss_secs: "0" + total_line_code_violations: "0" + total_line_err_secs: "0" + total_path_code_violations: "0" + total_sev_err_secs: "0" + total_slip_secs: "0" + total_unavail_secs: "0" + - ais_state: "Clear" + clock_source: "Line" + curr_bursty_err_secs: "0" + curr_degraded_mins: "0" + curr_err_secs: "0" + curr_fr_loss_secs: "0" + curr_interval_elapsed_seconds: "428" + curr_line_code_violations: "0" + curr_line_err_secs: "0" + curr_path_code_violations: "0" + curr_sev_err_secs: "0" + curr_slip_secs: "0" + curr_unavail_secs: "428" + framing: "ESF" + interface: "0/3/1" + line_code: "B8ZS" + link_status: "down" + lof_state: "Clear" + los_state: "Failure" + total_bursty_err_secs: "0" + total_degraded_mins: "0" + total_err_secs: "0" + total_fr_loss_secs: "0" + total_line_code_violations: "0" + total_line_err_secs: "0" + total_path_code_violations: "0" + total_sev_err_secs: "0" + total_slip_secs: "0" + total_unavail_secs: "58500" diff --git a/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.parsed b/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.parsed deleted file mode 100644 index ce00b06138..0000000000 --- a/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.parsed +++ /dev/null @@ -1,13 +0,0 @@ ---- -parsed_sample: - -- peer_nbma: '10.200.0.3' - peer_tunnel: '10.253.0.1' - state: 'UP' - uptime: '03:19:46' - attribute: 'S' -- peer_nbma: '10.202.0.170' - peer_tunnel: '10.253.0.2' - state: 'NHRP' - uptime: '48w0d' - attribute: 'S' diff --git a/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.yml b/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.yml new file mode 100644 index 0000000000..586a24f48c --- /dev/null +++ b/tests/cisco_ios/show_dmvpn/cisco_ios_show_dmvpn.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - peer_nbma: "10.200.0.3" + peer_tunnel: "10.253.0.1" + state: "UP" + uptime: "03:19:46" + attribute: "S" + - peer_nbma: "10.202.0.170" + peer_tunnel: "10.253.0.2" + state: "NHRP" + uptime: "48w0d" + attribute: "S" diff --git a/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.parsed b/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.parsed deleted file mode 100644 index 0bd2bfbb53..0000000000 --- a/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.parsed +++ /dev/null @@ -1,40 +0,0 @@ ---- -parsed_sample: - -- interface : "Ethernet1/0" - reauthentication : "Disabled" - sysauthcontrol : "Disabled" - servertimeout : "30" - supptimeout : "30" - dot1xversion : "2" - hostmode : "SINGLE_HOST" - critical_recovery_delay : "100" - reauthmax : "2" - quietperiod : "60" - reauthperiod : "3600" - portcontrol : "AUTO" - txperiod : "30" - masreq : "2" - ratelimitperiod : "0" - critical_eapol : "Disabled" - controldirection : "Both" - pae : "AUTHENTICATOR" -- interface : "Ethernet1/2" - reauthentication : "Disabled" - sysauthcontrol : "Disabled" - servertimeout : "30" - supptimeout : "30" - dot1xversion : "2" - hostmode : "SINGLE_HOST" - critical_recovery_delay : "100" - reauthmax : "2" - quietperiod : "60" - reauthperiod : "3600" - portcontrol : "AUTO" - txperiod : "30" - masreq : "2" - ratelimitperiod : "0" - critical_eapol : "Disabled" - controldirection : "Both" - pae : "AUTHENTICATOR" - diff --git a/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.yml b/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.yml new file mode 100644 index 0000000000..aa597e8d13 --- /dev/null +++ b/tests/cisco_ios/show_dot1x_all/cisco_ios_show_dot1x_all.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - interface: "Ethernet1/0" + reauthentication: "Disabled" + sysauthcontrol: "Disabled" + servertimeout: "30" + supptimeout: "30" + dot1xversion: "2" + hostmode: "SINGLE_HOST" + critical_recovery_delay: "100" + reauthmax: "2" + quietperiod: "60" + reauthperiod: "3600" + portcontrol: "AUTO" + txperiod: "30" + masreq: "2" + ratelimitperiod: "0" + critical_eapol: "Disabled" + controldirection: "Both" + pae: "AUTHENTICATOR" + - interface: "Ethernet1/2" + reauthentication: "Disabled" + sysauthcontrol: "Disabled" + servertimeout: "30" + supptimeout: "30" + dot1xversion: "2" + hostmode: "SINGLE_HOST" + critical_recovery_delay: "100" + reauthmax: "2" + quietperiod: "60" + reauthperiod: "3600" + portcontrol: "AUTO" + txperiod: "30" + masreq: "2" + ratelimitperiod: "0" + critical_eapol: "Disabled" + controldirection: "Both" + pae: "AUTHENTICATOR" diff --git a/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all.parsed b/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all.parsed deleted file mode 100644 index 34dce95fbb..0000000000 --- a/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all.parsed +++ /dev/null @@ -1,45 +0,0 @@ ---- -parsed_sample: - -- pid: PWR-C1-1100WAC - poe_pwr: Good - ps_module: 1A - serial: ABC123456AB - status: OK - sys_pwr: Good - watts: '1100' -- pid: PWR-C1-1100WAC - poe_pwr: Good - ps_module: 1B - serial: ABC123456CD - status: OK - sys_pwr: Good - watts: '1100' -- pid: PWR-C1-1100WAC - poe_pwr: Good - ps_module: 2A - serial: ABC123456EF - status: OK - sys_pwr: Good - watts: '1100' -- pid: PWR-C1-1100WAC - poe_pwr: Good - ps_module: 2B - serial: ABC123456GH - status: OK - sys_pwr: Good - watts: '1100' -- pid: Unknown - poe_pwr: Bad - ps_module: 3A - serial: Unknown - status: No Input Power - sys_pwr: Bad - watts: '235' -- pid: PWR-C1-1100WAC - poe_pwr: Good - ps_module: 3B - serial: ABC123456KL - status: OK - sys_pwr: Good - watts: '1100' diff --git a/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all.yml b/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all.yml new file mode 100644 index 0000000000..6b470dd057 --- /dev/null +++ b/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - pid: "PWR-C1-1100WAC" + poe_pwr: "Good" + ps_module: "1A" + serial: "ABC123456AB" + status: "OK" + sys_pwr: "Good" + watts: "1100" + - pid: "PWR-C1-1100WAC" + poe_pwr: "Good" + ps_module: "1B" + serial: "ABC123456CD" + status: "OK" + sys_pwr: "Good" + watts: "1100" + - pid: "PWR-C1-1100WAC" + poe_pwr: "Good" + ps_module: "2A" + serial: "ABC123456EF" + status: "OK" + sys_pwr: "Good" + watts: "1100" + - pid: "PWR-C1-1100WAC" + poe_pwr: "Good" + ps_module: "2B" + serial: "ABC123456GH" + status: "OK" + sys_pwr: "Good" + watts: "1100" + - pid: "Unknown" + poe_pwr: "Bad" + ps_module: "3A" + serial: "Unknown" + status: "No Input Power" + sys_pwr: "Bad" + watts: "235" + - pid: "PWR-C1-1100WAC" + poe_pwr: "Good" + ps_module: "3B" + serial: "ABC123456KL" + status: "OK" + sys_pwr: "Good" + watts: "1100" diff --git a/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all1.parsed b/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all1.parsed deleted file mode 100644 index 47e239ea04..0000000000 --- a/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all1.parsed +++ /dev/null @@ -1,31 +0,0 @@ ---- -parsed_sample: - -- pid: PWR-C1-1100WAC - poe_pwr: Good - ps_module: 1A - serial: DEF123456AB - status: OK - sys_pwr: Good - watts: '1100' -- pid: PWR-C1-1100WAC - poe_pwr: Good - ps_module: 1B - serial: DEF123456CD - status: OK - sys_pwr: Good - watts: '1100' -- pid: PWR-C1-1100WAC - poe_pwr: Good - ps_module: 2A - serial: DEF123456EF - status: OK - sys_pwr: Good - watts: '1100' -- pid: PWR-C1-1100WAC - poe_pwr: Good - ps_module: 2B - serial: DEF123456GH - status: OK - sys_pwr: Good - watts: '1100' diff --git a/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all1.yml b/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all1.yml new file mode 100644 index 0000000000..d45e2b38cf --- /dev/null +++ b/tests/cisco_ios/show_environment_power_all/cisco_ios_show_environment_power_all1.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - pid: "PWR-C1-1100WAC" + poe_pwr: "Good" + ps_module: "1A" + serial: "DEF123456AB" + status: "OK" + sys_pwr: "Good" + watts: "1100" + - pid: "PWR-C1-1100WAC" + poe_pwr: "Good" + ps_module: "1B" + serial: "DEF123456CD" + status: "OK" + sys_pwr: "Good" + watts: "1100" + - pid: "PWR-C1-1100WAC" + poe_pwr: "Good" + ps_module: "2A" + serial: "DEF123456EF" + status: "OK" + sys_pwr: "Good" + watts: "1100" + - pid: "PWR-C1-1100WAC" + poe_pwr: "Good" + ps_module: "2B" + serial: "DEF123456GH" + status: "OK" + sys_pwr: "Good" + watts: "1100" diff --git a/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.parsed b/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.parsed deleted file mode 100644 index 4e3185bae3..0000000000 --- a/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.parsed +++ /dev/null @@ -1,22 +0,0 @@ ---- -parsed_sample: -- hotspot_red_threshold: '125' - hotspot_temperature_state: GREEN - hotspot_temperature_value: '67' - hotspot_yellow_threshold: '105' - inlet_red_threshold: '56' - inlet_temperature_state: GREEN - inlet_temperature_value: '29' - inlet_yellow_threshold: '46' - switch: '1' - switch_temperature: OK -- hotspot_red_threshold: '125' - hotspot_temperature_state: GREEN - hotspot_temperature_value: '69' - hotspot_yellow_threshold: '105' - inlet_red_threshold: '56' - inlet_temperature_state: GREEN - inlet_temperature_value: '28' - inlet_yellow_threshold: '46' - switch: '2' - switch_temperature: OK diff --git a/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.yml b/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.yml new file mode 100644 index 0000000000..46ce0cbb3c --- /dev/null +++ b/tests/cisco_ios/show_environment_temperature/cisco_ios_show_environment_temperature.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - hotspot_red_threshold: "125" + hotspot_temperature_state: "GREEN" + hotspot_temperature_value: "67" + hotspot_yellow_threshold: "105" + inlet_red_threshold: "56" + inlet_temperature_state: "GREEN" + inlet_temperature_value: "29" + inlet_yellow_threshold: "46" + switch: "1" + switch_temperature: "OK" + - hotspot_red_threshold: "125" + hotspot_temperature_state: "GREEN" + hotspot_temperature_value: "69" + hotspot_yellow_threshold: "105" + inlet_red_threshold: "56" + inlet_temperature_state: "GREEN" + inlet_temperature_value: "28" + inlet_yellow_threshold: "46" + switch: "2" + switch_temperature: "OK" diff --git a/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.parsed b/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.parsed deleted file mode 100644 index 39e20ea5c0..0000000000 --- a/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.parsed +++ /dev/null @@ -1,7 +0,0 @@ ---- -parsed_sample: - -- default_domain: 'test.com' - name_servers: '127.0.0.2, 127.0.0.3' - local_cache_entries: '0' - dynamic_cache_entries: '0' diff --git a/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.yml b/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.yml new file mode 100644 index 0000000000..64efd20ddf --- /dev/null +++ b/tests/cisco_ios/show_hosts_summary/cisco_ios_show_hosts_summary.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - default_domain: "test.com" + name_servers: "127.0.0.2, 127.0.0.3" + local_cache_entries: "0" + dynamic_cache_entries: "0" diff --git a/tests/cisco_ios/show_interface_transceiver/cisco_ios_show_interface_transceiver.parsed b/tests/cisco_ios/show_interface_transceiver/cisco_ios_show_interface_transceiver.parsed deleted file mode 100644 index 2f6f8044d1..0000000000 --- a/tests/cisco_ios/show_interface_transceiver/cisco_ios_show_interface_transceiver.parsed +++ /dev/null @@ -1,26 +0,0 @@ ---- -parsed_sample: - -- iface: 'Te1/49' - temperature: '23.1' - voltage: '3.29' - tx_pwr: '-2.2' - rx_pwr: '-3.0' - -- iface: 'Te1/50' - temperature: '23.4' - voltage: '3.31' - tx_pwr: '-2.2' - rx_pwr: '-2.6' - -- iface: 'Te1/51' - temperature: '21.5' - voltage: '3.29' - tx_pwr: '-2.2' - rx_pwr: '-2.1' - -- iface: 'Te1/52' - temperature: '23.5' - voltage: '3.29' - tx_pwr: '-2.4' - rx_pwr: '-2.8' diff --git a/tests/cisco_ios/show_interface_transceiver/cisco_ios_show_interface_transceiver.yml b/tests/cisco_ios/show_interface_transceiver/cisco_ios_show_interface_transceiver.yml new file mode 100644 index 0000000000..34c4648bae --- /dev/null +++ b/tests/cisco_ios/show_interface_transceiver/cisco_ios_show_interface_transceiver.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - iface: "Te1/49" + temperature: "23.1" + voltage: "3.29" + tx_pwr: "-2.2" + rx_pwr: "-3.0" + - iface: "Te1/50" + temperature: "23.4" + voltage: "3.31" + tx_pwr: "-2.2" + rx_pwr: "-2.6" + - iface: "Te1/51" + temperature: "21.5" + voltage: "3.29" + tx_pwr: "-2.2" + rx_pwr: "-2.1" + - iface: "Te1/52" + temperature: "23.5" + voltage: "3.29" + tx_pwr: "-2.4" + rx_pwr: "-2.8" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed deleted file mode 100644 index 4d0a6cb8af..0000000000 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.parsed +++ /dev/null @@ -1,195 +0,0 @@ ---- -parsed_sample: - -- address: fa16.3e57.336f - bandwidth: 1000000 Kbit - bia: fa16.3e57.336f - delay: 10 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_errors: '0' - input_packets: '324' - input_rate: '0' - interface: GigabitEthernet0/0 - ip_address: '' - last_input: 1d21h - last_output: 1d21h - last_output_hang: never - link_status: reset - mtu: '1500' - output_errors: '0' - output_packets: '703' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3e4f.41cc - bandwidth: 1000000 Kbit - bia: fa16.3e4f.41cc - delay: 10 usec - description: to iosvl2-2 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_errors: '0' - input_packets: '83' - input_rate: '0' - interface: GigabitEthernet0/1 - ip_address: '' - last_input: 1d21h - last_output: 00:00:02 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '15513' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3ea3.3e49 - bandwidth: 1000000 Kbit - bia: fa16.3ea3.3e49 - delay: 10 usec - description: to iosvl2-4 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_errors: '0' - input_packets: '8677' - input_rate: '0' - interface: GigabitEthernet0/2 - ip_address: '' - last_input: 00:00:13 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '420798' - output_rate: '1000' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3e31.2c47 - bandwidth: 1000000 Kbit - bia: fa16.3e31.2c47 - delay: 10 usec - description: to iosvl2-3 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_errors: '0' - input_packets: '8638' - input_rate: '0' - interface: GigabitEthernet0/3 - ip_address: '' - last_input: 00:00:28 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '420819' - output_rate: '1000' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3ec8.50ab - bandwidth: 1000000 Kbit - bia: fa16.3ec8.50ab - delay: 10 usec - description: to iosvl2-3 - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: iGbE - input_errors: '0' - input_packets: '8627' - input_rate: '0' - interface: GigabitEthernet1/0 - ip_address: '' - last_input: 00:00:26 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '420790' - output_rate: '2000' - protocol_status: up (connected) - queue_strategy: fifo - speed: Auto-speed -- address: fa16.3e4f.41cc - bandwidth: 100000 Kbit - bia: fa16.3e4f.41cc - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: EtherChannel - input_errors: '0' - input_packets: '85' - input_rate: '0' - interface: Port-channel1 - ip_address: '' - last_input: 1d21h - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: '' - bandwidth: 8000000 Kbit - bia: '' - delay: 5000 usec - description: Loopback - duplex: '' - encapsulation: LOOPBACK - hardware_type: Loopback - input_errors: '' - input_packets: '0' - input_rate: '0' - interface: Loopback0 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: up - mtu: '1514' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: fa16.3e57.8001 - bandwidth: 1000000 Kbit - bia: fa16.3e57.8001 - delay: 10 usec - description: OOB Management - duplex: '' - encapsulation: ARPA - hardware_type: Ethernet SVI - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: Vlan1 - ip_address: 10.255.0.16/16 - last_input: never - last_output: never - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '4' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml new file mode 100644 index 0000000000..94c59902b1 --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml @@ -0,0 +1,194 @@ +--- +parsed_sample: + - address: "fa16.3e57.336f" + bandwidth: "1000000 Kbit" + bia: "fa16.3e57.336f" + delay: "10 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "iGbE" + input_errors: "0" + input_packets: "324" + input_rate: "0" + interface: "GigabitEthernet0/0" + ip_address: "" + last_input: "1d21h" + last_output: "1d21h" + last_output_hang: "never" + link_status: "reset" + mtu: "1500" + output_errors: "0" + output_packets: "703" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "fa16.3e4f.41cc" + bandwidth: "1000000 Kbit" + bia: "fa16.3e4f.41cc" + delay: "10 usec" + description: "to iosvl2-2" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "iGbE" + input_errors: "0" + input_packets: "83" + input_rate: "0" + interface: "GigabitEthernet0/1" + ip_address: "" + last_input: "1d21h" + last_output: "00:00:02" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "15513" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "fa16.3ea3.3e49" + bandwidth: "1000000 Kbit" + bia: "fa16.3ea3.3e49" + delay: "10 usec" + description: "to iosvl2-4" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "iGbE" + input_errors: "0" + input_packets: "8677" + input_rate: "0" + interface: "GigabitEthernet0/2" + ip_address: "" + last_input: "00:00:13" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "420798" + output_rate: "1000" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "fa16.3e31.2c47" + bandwidth: "1000000 Kbit" + bia: "fa16.3e31.2c47" + delay: "10 usec" + description: "to iosvl2-3" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "iGbE" + input_errors: "0" + input_packets: "8638" + input_rate: "0" + interface: "GigabitEthernet0/3" + ip_address: "" + last_input: "00:00:28" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "420819" + output_rate: "1000" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "fa16.3ec8.50ab" + bandwidth: "1000000 Kbit" + bia: "fa16.3ec8.50ab" + delay: "10 usec" + description: "to iosvl2-3" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "iGbE" + input_errors: "0" + input_packets: "8627" + input_rate: "0" + interface: "GigabitEthernet1/0" + ip_address: "" + last_input: "00:00:26" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "420790" + output_rate: "2000" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "fa16.3e4f.41cc" + bandwidth: "100000 Kbit" + bia: "fa16.3e4f.41cc" + delay: "100 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "EtherChannel" + input_errors: "0" + input_packets: "85" + input_rate: "0" + interface: "Port-channel1" + ip_address: "" + last_input: "1d21h" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "" + bandwidth: "8000000 Kbit" + bia: "" + delay: "5000 usec" + description: "Loopback" + duplex: "" + encapsulation: "LOOPBACK" + hardware_type: "Loopback" + input_errors: "" + input_packets: "0" + input_rate: "0" + interface: "Loopback0" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "up" + mtu: "1514" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" + - address: "fa16.3e57.8001" + bandwidth: "1000000 Kbit" + bia: "fa16.3e57.8001" + delay: "10 usec" + description: "OOB Management" + duplex: "" + encapsulation: "ARPA" + hardware_type: "Ethernet SVI" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "Vlan1" + ip_address: "10.255.0.16/16" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "" + output_packets: "4" + output_rate: "0" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed deleted file mode 100644 index 828a8deaff..0000000000 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.parsed +++ /dev/null @@ -1,1347 +0,0 @@ ---- -parsed_sample: - -- address: 0014.1c57.a4c0 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c0 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_errors: '0' - input_packets: '37453340' - input_rate: '0' - interface: Vlan1 - ip_address: '' - last_input: 00:00:00 - last_output: never - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a4c1 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c1 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_errors: '0' - input_packets: '3772' - input_rate: '0' - interface: Vlan50 - ip_address: 10.1.50.1/24 - last_input: 01:04:54 - last_output: 01:04:54 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '3804' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a4c2 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c2 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_errors: '0' - input_packets: '6313297' - input_rate: '2000' - interface: Vlan100 - ip_address: 10.1.100.1/24 - last_input: 00:00:00 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '10453439' - output_rate: '2000' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a4c3 - bandwidth: 1000000 Kbit - bia: 0014.1c57.a4c3 - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_errors: '0' - input_packets: '7881502' - input_rate: '0' - interface: Vlan254 - ip_address: 10.1.254.1/24 - last_input: 00:08:48 - last_output: 00:08:48 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '47843' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: 0014.1c57.a483 - bandwidth: 100000 Kbit - bia: 0014.1c57.a483 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '1' - input_packets: '8647579827' - input_rate: '182000' - interface: FastEthernet1/0/1 - ip_address: '' - last_input: 00:00:01 - last_output: 00:00:06 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '86941746207' - output_rate: '38883000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a484 - bandwidth: 100000 Kbit - bia: 0014.1c57.a484 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '86697408651' - input_rate: '38882000' - interface: FastEthernet1/0/2 - ip_address: '' - last_input: never - last_output: 00:00:01 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '8485702870' - output_rate: '182000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a485 - bandwidth: 100000 Kbit - bia: 0014.1c57.a485 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '233361378' - input_rate: '0' - interface: FastEthernet1/0/3 - ip_address: '' - last_input: never - last_output: 00:00:01 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '246128007' - output_rate: '1000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a486 - bandwidth: 10000 Kbit - bia: 0014.1c57.a486 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/4 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a487 - bandwidth: 10000 Kbit - bia: 0014.1c57.a487 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/5 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a488 - bandwidth: 10000 Kbit - bia: 0014.1c57.a488 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/6 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a489 - bandwidth: 10000 Kbit - bia: 0014.1c57.a489 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/7 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a48a - bandwidth: 10000 Kbit - bia: 0014.1c57.a48a - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/8 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a48b - bandwidth: 100000 Kbit - bia: 0014.1c57.a48b - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '86293954347' - input_rate: '38871000' - interface: FastEthernet1/0/9 - ip_address: '' - last_input: 00:00:27 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '8120676183' - output_rate: '174000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a48c - bandwidth: 100000 Kbit - bia: 0014.1c57.a48c - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '85011546' - input_rate: '0' - interface: FastEthernet1/0/10 - ip_address: '' - last_input: 00:00:27 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '118427887' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a48d - bandwidth: 100000 Kbit - bia: 0014.1c57.a48d - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '13503663' - input_rate: '0' - interface: FastEthernet1/0/11 - ip_address: '' - last_input: 21w5d - last_output: 21w5d - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '96706284' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a48e - bandwidth: 100000 Kbit - bia: 0014.1c57.a48e - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '566684' - input_rate: '0' - interface: FastEthernet1/0/12 - ip_address: '' - last_input: 00:00:27 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '10387099' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a48f - bandwidth: 100000 Kbit - bia: 0014.1c57.a48f - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '5093298' - input_rate: '0' - interface: FastEthernet1/0/13 - ip_address: '' - last_input: 00:00:13 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '35059143' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a490 - bandwidth: 100000 Kbit - bia: 0014.1c57.a490 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '4381776' - input_rate: '0' - interface: FastEthernet1/0/14 - ip_address: '' - last_input: 00:00:13 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '33579140' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a491 - bandwidth: 100000 Kbit - bia: 0014.1c57.a491 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '6095906' - input_rate: '0' - interface: FastEthernet1/0/15 - ip_address: '' - last_input: 36w5d - last_output: 36w5d - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '31933579' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a492 - bandwidth: 100000 Kbit - bia: 0014.1c57.a492 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '3048741' - input_rate: '0' - interface: FastEthernet1/0/16 - ip_address: '' - last_input: 36w5d - last_output: 36w5d - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '23191458' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a493 - bandwidth: 100000 Kbit - bia: 0014.1c57.a493 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '515815' - input_rate: '0' - interface: FastEthernet1/0/17 - ip_address: '' - last_input: 1y28w - last_output: 1y28w - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '3364092' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a494 - bandwidth: 100000 Kbit - bia: 0014.1c57.a494 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '56335' - input_rate: '0' - interface: FastEthernet1/0/18 - ip_address: '' - last_input: 1y29w - last_output: 1y29w - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '2263838' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a495 - bandwidth: 100000 Kbit - bia: 0014.1c57.a495 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '2154038' - input_rate: '0' - interface: FastEthernet1/0/19 - ip_address: '' - last_input: 00:00:13 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '15816478' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a496 - bandwidth: 100000 Kbit - bia: 0014.1c57.a496 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '2238092' - input_rate: '0' - interface: FastEthernet1/0/20 - ip_address: '' - last_input: 00:00:13 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '15877977' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a497 - bandwidth: 100000 Kbit - bia: 0014.1c57.a497 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '1' - input_packets: '4942593' - input_rate: '0' - interface: FastEthernet1/0/21 - ip_address: '' - last_input: 00:00:25 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '43723513' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a498 - bandwidth: 100000 Kbit - bia: 0014.1c57.a498 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '1' - input_packets: '6201152' - input_rate: '0' - interface: FastEthernet1/0/22 - ip_address: '' - last_input: 00:00:00 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '43660027' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a499 - bandwidth: 100000 Kbit - bia: 0014.1c57.a499 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/23 - ip_address: '' - last_input: never - last_output: 25w5d - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '56' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49a - bandwidth: 100000 Kbit - bia: 0014.1c57.a49a - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '2397801' - input_rate: '0' - interface: FastEthernet1/0/24 - ip_address: '' - last_input: 00:00:05 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '45635335' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a49d - bandwidth: 10000 Kbit - bia: 0014.1c57.a49d - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/25 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49e - bandwidth: 10000 Kbit - bia: 0014.1c57.a49e - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/26 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49f - bandwidth: 100000 Kbit - bia: 0014.1c57.a49f - delay: 100 usec - description: '' - duplex: Half-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '288816' - input_rate: '0' - interface: FastEthernet1/0/27 - ip_address: '' - last_input: never - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '55357995' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a0 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a0 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '2' - input_packets: '295313' - input_rate: '0' - interface: FastEthernet1/0/28 - ip_address: '' - last_input: never - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '55364859' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a1 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a1 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '28898' - input_packets: '39214781' - input_rate: '1000' - interface: FastEthernet1/0/29 - ip_address: '' - last_input: never - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '90202230' - output_rate: '2000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a2 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a2 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '4811284' - input_rate: '0' - interface: FastEthernet1/0/30 - ip_address: '' - last_input: never - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '55162378' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a3 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a3 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '2255624' - input_rate: '0' - interface: FastEthernet1/0/31 - ip_address: '' - last_input: 00:00:13 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '15969856' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a4 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a4 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '5743877' - input_rate: '0' - interface: FastEthernet1/0/32 - ip_address: '' - last_input: 00:00:13 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '20133314' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a5 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a5 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '1' - input_packets: '11086568' - input_rate: '0' - interface: FastEthernet1/0/33 - ip_address: '' - last_input: 00:00:13 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '46398900' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a6 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a6 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '1071483' - input_rate: '0' - interface: FastEthernet1/0/34 - ip_address: '' - last_input: 00:00:13 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '11192764' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a7 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a7 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '252774135' - input_rate: '3000' - interface: FastEthernet1/0/35 - ip_address: '' - last_input: 25w5d - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '136849790' - output_rate: '2000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a8 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a8 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '30561744' - input_rate: '0' - interface: FastEthernet1/0/36 - ip_address: '' - last_input: 00:00:00 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '25816556' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4a9 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4a9 - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '23' - input_rate: '0' - interface: FastEthernet1/0/37 - ip_address: '' - last_input: 25w5d - last_output: 25w5d - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '110' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4aa - bandwidth: 10000 Kbit - bia: 0014.1c57.a4aa - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/38 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ab - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ab - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/39 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ac - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ac - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/40 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ad - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ad - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/41 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4ae - bandwidth: 10000 Kbit - bia: 0014.1c57.a4ae - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/42 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4af - bandwidth: 100000 Kbit - bia: 0014.1c57.a4af - delay: 100 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '33944' - input_rate: '0' - interface: FastEthernet1/0/43 - ip_address: '' - last_input: never - last_output: 25w5d - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '52215' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b0 - bandwidth: 10000 Kbit - bia: 0014.1c57.a4b0 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/44 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b1 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4b1 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '1103' - input_rate: '0' - interface: FastEthernet1/0/45 - ip_address: '' - last_input: never - last_output: 00:00:01 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '10099477' - output_rate: '0' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a4b2 - bandwidth: 10000 Kbit - bia: 0014.1c57.a4b2 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/46 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b3 - bandwidth: 10000 Kbit - bia: 0014.1c57.a4b3 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: FastEthernet1/0/47 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a4b4 - bandwidth: 100000 Kbit - bia: 0014.1c57.a4b4 - delay: 100 usec - description: '' - duplex: Full-duplex - encapsulation: ARPA - hardware_type: Fast Ethernet - input_errors: '0' - input_packets: '8407299374' - input_rate: '180000' - interface: FastEthernet1/0/48 - ip_address: '' - last_input: never - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '86731716396' - output_rate: '38881000' - protocol_status: up (connected) - queue_strategy: fifo - speed: 100Mb/s -- address: 0014.1c57.a481 - bandwidth: 10000 Kbit - bia: 0014.1c57.a481 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: GigabitEthernet1/0/1 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a482 - bandwidth: 10000 Kbit - bia: 0014.1c57.a482 - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: GigabitEthernet1/0/2 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49b - bandwidth: 10000 Kbit - bia: 0014.1c57.a49b - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: GigabitEthernet1/0/3 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed -- address: 0014.1c57.a49c - bandwidth: 10000 Kbit - bia: 0014.1c57.a49c - delay: 1000 usec - description: '' - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: Gigabit Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: GigabitEthernet1/0/4 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down (notconnect) - queue_strategy: fifo - speed: Auto-speed diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml new file mode 100644 index 0000000000..66a60a8fee --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml @@ -0,0 +1,1346 @@ +--- +parsed_sample: + - address: "0014.1c57.a4c0" + bandwidth: "1000000 Kbit" + bia: "0014.1c57.a4c0" + delay: "10 usec" + description: "" + duplex: "" + encapsulation: "ARPA" + hardware_type: "EtherSVI" + input_errors: "0" + input_packets: "37453340" + input_rate: "0" + interface: "Vlan1" + ip_address: "" + last_input: "00:00:00" + last_output: "never" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "" + output_packets: "0" + output_rate: "0" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" + - address: "0014.1c57.a4c1" + bandwidth: "1000000 Kbit" + bia: "0014.1c57.a4c1" + delay: "10 usec" + description: "" + duplex: "" + encapsulation: "ARPA" + hardware_type: "EtherSVI" + input_errors: "0" + input_packets: "3772" + input_rate: "0" + interface: "Vlan50" + ip_address: "10.1.50.1/24" + last_input: "01:04:54" + last_output: "01:04:54" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "" + output_packets: "3804" + output_rate: "0" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" + - address: "0014.1c57.a4c2" + bandwidth: "1000000 Kbit" + bia: "0014.1c57.a4c2" + delay: "10 usec" + description: "" + duplex: "" + encapsulation: "ARPA" + hardware_type: "EtherSVI" + input_errors: "0" + input_packets: "6313297" + input_rate: "2000" + interface: "Vlan100" + ip_address: "10.1.100.1/24" + last_input: "00:00:00" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "" + output_packets: "10453439" + output_rate: "2000" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" + - address: "0014.1c57.a4c3" + bandwidth: "1000000 Kbit" + bia: "0014.1c57.a4c3" + delay: "10 usec" + description: "" + duplex: "" + encapsulation: "ARPA" + hardware_type: "EtherSVI" + input_errors: "0" + input_packets: "7881502" + input_rate: "0" + interface: "Vlan254" + ip_address: "10.1.254.1/24" + last_input: "00:08:48" + last_output: "00:08:48" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "" + output_packets: "47843" + output_rate: "0" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" + - address: "0014.1c57.a483" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a483" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "1" + input_packets: "8647579827" + input_rate: "182000" + interface: "FastEthernet1/0/1" + ip_address: "" + last_input: "00:00:01" + last_output: "00:00:06" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "86941746207" + output_rate: "38883000" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a484" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a484" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "86697408651" + input_rate: "38882000" + interface: "FastEthernet1/0/2" + ip_address: "" + last_input: "never" + last_output: "00:00:01" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "8485702870" + output_rate: "182000" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a485" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a485" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "233361378" + input_rate: "0" + interface: "FastEthernet1/0/3" + ip_address: "" + last_input: "never" + last_output: "00:00:01" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "246128007" + output_rate: "1000" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a486" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a486" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/4" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a487" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a487" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/5" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a488" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a488" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/6" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a489" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a489" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/7" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a48a" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a48a" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/8" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a48b" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a48b" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "86293954347" + input_rate: "38871000" + interface: "FastEthernet1/0/9" + ip_address: "" + last_input: "00:00:27" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "8120676183" + output_rate: "174000" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a48c" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a48c" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "85011546" + input_rate: "0" + interface: "FastEthernet1/0/10" + ip_address: "" + last_input: "00:00:27" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "118427887" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a48d" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a48d" + delay: "100 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "13503663" + input_rate: "0" + interface: "FastEthernet1/0/11" + ip_address: "" + last_input: "21w5d" + last_output: "21w5d" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "96706284" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a48e" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a48e" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "566684" + input_rate: "0" + interface: "FastEthernet1/0/12" + ip_address: "" + last_input: "00:00:27" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "10387099" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a48f" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a48f" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "5093298" + input_rate: "0" + interface: "FastEthernet1/0/13" + ip_address: "" + last_input: "00:00:13" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "35059143" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a490" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a490" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "4381776" + input_rate: "0" + interface: "FastEthernet1/0/14" + ip_address: "" + last_input: "00:00:13" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "33579140" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a491" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a491" + delay: "100 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "6095906" + input_rate: "0" + interface: "FastEthernet1/0/15" + ip_address: "" + last_input: "36w5d" + last_output: "36w5d" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "31933579" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a492" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a492" + delay: "100 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "3048741" + input_rate: "0" + interface: "FastEthernet1/0/16" + ip_address: "" + last_input: "36w5d" + last_output: "36w5d" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "23191458" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a493" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a493" + delay: "100 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "515815" + input_rate: "0" + interface: "FastEthernet1/0/17" + ip_address: "" + last_input: "1y28w" + last_output: "1y28w" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "3364092" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a494" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a494" + delay: "100 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "56335" + input_rate: "0" + interface: "FastEthernet1/0/18" + ip_address: "" + last_input: "1y29w" + last_output: "1y29w" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "2263838" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a495" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a495" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "2154038" + input_rate: "0" + interface: "FastEthernet1/0/19" + ip_address: "" + last_input: "00:00:13" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "15816478" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a496" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a496" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "2238092" + input_rate: "0" + interface: "FastEthernet1/0/20" + ip_address: "" + last_input: "00:00:13" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "15877977" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a497" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a497" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "1" + input_packets: "4942593" + input_rate: "0" + interface: "FastEthernet1/0/21" + ip_address: "" + last_input: "00:00:25" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "43723513" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a498" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a498" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "1" + input_packets: "6201152" + input_rate: "0" + interface: "FastEthernet1/0/22" + ip_address: "" + last_input: "00:00:00" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "43660027" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a499" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a499" + delay: "100 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/23" + ip_address: "" + last_input: "never" + last_output: "25w5d" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "56" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a49a" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a49a" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "2397801" + input_rate: "0" + interface: "FastEthernet1/0/24" + ip_address: "" + last_input: "00:00:05" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "45635335" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a49d" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a49d" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/25" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a49e" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a49e" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/26" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a49f" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a49f" + delay: "100 usec" + description: "" + duplex: "Half-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "288816" + input_rate: "0" + interface: "FastEthernet1/0/27" + ip_address: "" + last_input: "never" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "55357995" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4a0" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4a0" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "2" + input_packets: "295313" + input_rate: "0" + interface: "FastEthernet1/0/28" + ip_address: "" + last_input: "never" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "55364859" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4a1" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4a1" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "28898" + input_packets: "39214781" + input_rate: "1000" + interface: "FastEthernet1/0/29" + ip_address: "" + last_input: "never" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "90202230" + output_rate: "2000" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4a2" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4a2" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "4811284" + input_rate: "0" + interface: "FastEthernet1/0/30" + ip_address: "" + last_input: "never" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "55162378" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4a3" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4a3" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "2255624" + input_rate: "0" + interface: "FastEthernet1/0/31" + ip_address: "" + last_input: "00:00:13" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "15969856" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4a4" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4a4" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "5743877" + input_rate: "0" + interface: "FastEthernet1/0/32" + ip_address: "" + last_input: "00:00:13" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "20133314" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4a5" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4a5" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "1" + input_packets: "11086568" + input_rate: "0" + interface: "FastEthernet1/0/33" + ip_address: "" + last_input: "00:00:13" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "46398900" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4a6" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4a6" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "1071483" + input_rate: "0" + interface: "FastEthernet1/0/34" + ip_address: "" + last_input: "00:00:13" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "11192764" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4a7" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4a7" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "252774135" + input_rate: "3000" + interface: "FastEthernet1/0/35" + ip_address: "" + last_input: "25w5d" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "136849790" + output_rate: "2000" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4a8" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4a8" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "30561744" + input_rate: "0" + interface: "FastEthernet1/0/36" + ip_address: "" + last_input: "00:00:00" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "25816556" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4a9" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4a9" + delay: "100 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "23" + input_rate: "0" + interface: "FastEthernet1/0/37" + ip_address: "" + last_input: "25w5d" + last_output: "25w5d" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "110" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a4aa" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a4aa" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/38" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a4ab" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a4ab" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/39" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a4ac" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a4ac" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/40" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a4ad" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a4ad" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/41" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a4ae" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a4ae" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/42" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a4af" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4af" + delay: "100 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "33944" + input_rate: "0" + interface: "FastEthernet1/0/43" + ip_address: "" + last_input: "never" + last_output: "25w5d" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "52215" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a4b0" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a4b0" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/44" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a4b1" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4b1" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "1103" + input_rate: "0" + interface: "FastEthernet1/0/45" + ip_address: "" + last_input: "never" + last_output: "00:00:01" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "10099477" + output_rate: "0" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a4b2" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a4b2" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/46" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a4b3" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a4b3" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "FastEthernet1/0/47" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a4b4" + bandwidth: "100000 Kbit" + bia: "0014.1c57.a4b4" + delay: "100 usec" + description: "" + duplex: "Full-duplex" + encapsulation: "ARPA" + hardware_type: "Fast Ethernet" + input_errors: "0" + input_packets: "8407299374" + input_rate: "180000" + interface: "FastEthernet1/0/48" + ip_address: "" + last_input: "never" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "86731716396" + output_rate: "38881000" + protocol_status: "up (connected)" + queue_strategy: "fifo" + speed: "100Mb/s" + - address: "0014.1c57.a481" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a481" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Gigabit Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "GigabitEthernet1/0/1" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a482" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a482" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Gigabit Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "GigabitEthernet1/0/2" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a49b" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a49b" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Gigabit Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "GigabitEthernet1/0/3" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" + - address: "0014.1c57.a49c" + bandwidth: "10000 Kbit" + bia: "0014.1c57.a49c" + delay: "1000 usec" + description: "" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "Gigabit Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "GigabitEthernet1/0/4" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down (notconnect)" + queue_strategy: "fifo" + speed: "Auto-speed" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed deleted file mode 100644 index 3a3856029c..0000000000 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.parsed +++ /dev/null @@ -1,339 +0,0 @@ ---- -parsed_sample: - -- address: 000f.352d.2381 - bandwidth: 100000 Kbit - bia: 000f.352d.2381 - delay: 100 usec - description: Connects to LAN - duplex: Full Duplex - encapsulation: 802.1Q Virtual LAN - hardware_type: MV96340 Ethernet - input_errors: '0' - input_packets: '338297234' - input_rate: '95000' - interface: GigabitEthernet0/0 - ip_address: '' - last_input: 00:00:24 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '336857668' - output_rate: '90000' - protocol_status: up - queue_strategy: fifo - speed: 100Mbps -- address: 000f.352d.2381 - bandwidth: 100000 Kbit - bia: 000f.352d.2381 - delay: 100 usec - description: LAN - duplex: '' - encapsulation: 802.1Q Virtual LAN - hardware_type: MV96340 Ethernet - input_errors: '' - input_packets: '' - input_rate: '' - interface: GigabitEthernet0/0.6 - ip_address: 192.27.6.129/26 - last_input: '' - last_output: '' - last_output_hang: '' - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - output_rate: '' - protocol_status: up - queue_strategy: '' - speed: '' -- address: 000f.352d.2381 - bandwidth: 100000 Kbit - bia: 000f.352d.2381 - delay: 100 usec - description: Wireless LAN - duplex: '' - encapsulation: 802.1Q Virtual LAN - hardware_type: MV96340 Ethernet - input_errors: '' - input_packets: '' - input_rate: '' - interface: GigabitEthernet0/0.44 - ip_address: 192.22.44.193/26 - last_input: '' - last_output: '' - last_output_hang: '' - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - output_rate: '' - protocol_status: up - queue_strategy: '' - speed: '' -- address: 000f.352d.2381 - bandwidth: 100000 Kbit - bia: 000f.352d.2381 - delay: 100 usec - description: Voice LAN - duplex: '' - encapsulation: 802.1Q Virtual LAN - hardware_type: MV96340 Ethernet - input_errors: '' - input_packets: '' - input_rate: '' - interface: GigabitEthernet0/0.188 - ip_address: 192.24.188.65/26 - last_input: '' - last_output: '' - last_output_hang: '' - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - output_rate: '' - protocol_status: up - queue_strategy: '' - speed: '' -- address: 000f.352d.2381 - bandwidth: 100000 Kbit - bia: 000f.352d.2381 - delay: 100 usec - description: Native Vlan - duplex: '' - encapsulation: 802.1Q Virtual LAN - hardware_type: MV96340 Ethernet - input_errors: '' - input_packets: '' - input_rate: '' - interface: GigabitEthernet0/0.666 - ip_address: '' - last_input: '' - last_output: '' - last_output_hang: '' - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - output_rate: '' - protocol_status: up - queue_strategy: '' - speed: '' -- address: 000f.352d.2382 - bandwidth: 1000000 Kbit - bia: 000f.352d.2382 - delay: 10 usec - description: NOT IN USE - duplex: Auto Duplex - encapsulation: ARPA - hardware_type: MV96340 Ethernet - input_errors: '0' - input_packets: '0' - input_rate: '0' - interface: GigabitEthernet0/1 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: administratively down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down - queue_strategy: fifo - speed: Auto Speed -- address: b838.6148.8780 - bandwidth: 10000 Kbit - bia: b838.6148.8780 - delay: 100 usec - description: connection to Provider - duplex: Full-duplex - encapsulation: 802.1Q Virtual LAN - hardware_type: FastEthernet - input_errors: '0' - input_packets: '' - input_rate: '96000' - interface: FastEthernet0/1/0 - ip_address: '' - last_input: 00:00:00 - last_output: 00:00:00 - last_output_hang: never - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '350115018' - output_rate: '111000' - protocol_status: up - queue_strategy: Class-based queueing - speed: 100Mb/s -- address: b838.6148.8780 - bandwidth: 10000 Kbit - bia: b838.6148.8780 - delay: 100 usec - description: AVPN Circuit - duplex: '' - encapsulation: 802.1Q Virtual LAN - hardware_type: FastEthernet - input_errors: '' - input_packets: '' - input_rate: '' - interface: FastEthernet0/1/0.50 - ip_address: 192.20.194.29/30 - last_input: '' - last_output: '' - last_output_hang: '' - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - output_rate: '' - protocol_status: up - queue_strategy: '' - speed: '' -- address: b838.6148.8781 - bandwidth: 100000 Kbit - bia: b838.6148.8781 - delay: 100 usec - description: NOT IN USE - duplex: Auto-duplex - encapsulation: ARPA - hardware_type: FastEthernet - input_errors: '0' - input_packets: '' - input_rate: '0' - interface: FastEthernet0/1/1 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: administratively down - mtu: '1500' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: down - queue_strategy: fifo - speed: Auto Speed -- address: '' - bandwidth: 8000000 Kbit - bia: '' - delay: 5000 usec - description: Loopback Interface - duplex: '' - encapsulation: LOOPBACK - hardware_type: Loopback - input_errors: '' - input_packets: '2292' - input_rate: '0' - interface: Loopback0 - ip_address: 192.20.0.144/32 - last_input: never - last_output: never - last_output_hang: never - link_status: up - mtu: '1514' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: '' - bandwidth: 100 Kbit - bia: '' - delay: 50000 usec - description: '' - duplex: '' - encapsulation: TUNNEL - hardware_type: Tunnel - input_errors: '' - input_packets: '0' - input_rate: '0' - interface: Tunnel0 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: up - mtu: '17912' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: '' - bandwidth: 100 Kbit - bia: '' - delay: 50000 usec - description: '' - duplex: '' - encapsulation: TUNNEL - hardware_type: Tunnel - input_errors: '' - input_packets: '0' - input_rate: '0' - interface: Tunnel1 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: up - mtu: '17912' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: '' - bandwidth: 100 Kbit - bia: '' - delay: 50000 usec - description: '' - duplex: '' - encapsulation: TUNNEL - hardware_type: Tunnel - input_errors: '' - input_packets: '0' - input_rate: '0' - interface: Tunnel2 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: up - mtu: '17912' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' -- address: '' - bandwidth: 100 Kbit - bia: '' - delay: 50000 usec - description: '' - duplex: '' - encapsulation: TUNNEL - hardware_type: Tunnel - input_errors: '' - input_packets: '0' - input_rate: '0' - interface: Tunnel3 - ip_address: '' - last_input: never - last_output: never - last_output_hang: never - link_status: up - mtu: '17912' - output_errors: '0' - output_packets: '0' - output_rate: '0' - protocol_status: up - queue_strategy: fifo - speed: '' diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml new file mode 100644 index 0000000000..fc7f6469a8 --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml @@ -0,0 +1,338 @@ +--- +parsed_sample: + - address: "000f.352d.2381" + bandwidth: "100000 Kbit" + bia: "000f.352d.2381" + delay: "100 usec" + description: "Connects to LAN" + duplex: "Full Duplex" + encapsulation: "802.1Q Virtual LAN" + hardware_type: "MV96340 Ethernet" + input_errors: "0" + input_packets: "338297234" + input_rate: "95000" + interface: "GigabitEthernet0/0" + ip_address: "" + last_input: "00:00:24" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "336857668" + output_rate: "90000" + protocol_status: "up" + queue_strategy: "fifo" + speed: "100Mbps" + - address: "000f.352d.2381" + bandwidth: "100000 Kbit" + bia: "000f.352d.2381" + delay: "100 usec" + description: "LAN" + duplex: "" + encapsulation: "802.1Q Virtual LAN" + hardware_type: "MV96340 Ethernet" + input_errors: "" + input_packets: "" + input_rate: "" + interface: "GigabitEthernet0/0.6" + ip_address: "192.27.6.129/26" + last_input: "" + last_output: "" + last_output_hang: "" + link_status: "up" + mtu: "1500" + output_errors: "" + output_packets: "" + output_rate: "" + protocol_status: "up" + queue_strategy: "" + speed: "" + - address: "000f.352d.2381" + bandwidth: "100000 Kbit" + bia: "000f.352d.2381" + delay: "100 usec" + description: "Wireless LAN" + duplex: "" + encapsulation: "802.1Q Virtual LAN" + hardware_type: "MV96340 Ethernet" + input_errors: "" + input_packets: "" + input_rate: "" + interface: "GigabitEthernet0/0.44" + ip_address: "192.22.44.193/26" + last_input: "" + last_output: "" + last_output_hang: "" + link_status: "up" + mtu: "1500" + output_errors: "" + output_packets: "" + output_rate: "" + protocol_status: "up" + queue_strategy: "" + speed: "" + - address: "000f.352d.2381" + bandwidth: "100000 Kbit" + bia: "000f.352d.2381" + delay: "100 usec" + description: "Voice LAN" + duplex: "" + encapsulation: "802.1Q Virtual LAN" + hardware_type: "MV96340 Ethernet" + input_errors: "" + input_packets: "" + input_rate: "" + interface: "GigabitEthernet0/0.188" + ip_address: "192.24.188.65/26" + last_input: "" + last_output: "" + last_output_hang: "" + link_status: "up" + mtu: "1500" + output_errors: "" + output_packets: "" + output_rate: "" + protocol_status: "up" + queue_strategy: "" + speed: "" + - address: "000f.352d.2381" + bandwidth: "100000 Kbit" + bia: "000f.352d.2381" + delay: "100 usec" + description: "Native Vlan" + duplex: "" + encapsulation: "802.1Q Virtual LAN" + hardware_type: "MV96340 Ethernet" + input_errors: "" + input_packets: "" + input_rate: "" + interface: "GigabitEthernet0/0.666" + ip_address: "" + last_input: "" + last_output: "" + last_output_hang: "" + link_status: "up" + mtu: "1500" + output_errors: "" + output_packets: "" + output_rate: "" + protocol_status: "up" + queue_strategy: "" + speed: "" + - address: "000f.352d.2382" + bandwidth: "1000000 Kbit" + bia: "000f.352d.2382" + delay: "10 usec" + description: "NOT IN USE" + duplex: "Auto Duplex" + encapsulation: "ARPA" + hardware_type: "MV96340 Ethernet" + input_errors: "0" + input_packets: "0" + input_rate: "0" + interface: "GigabitEthernet0/1" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "administratively down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down" + queue_strategy: "fifo" + speed: "Auto Speed" + - address: "b838.6148.8780" + bandwidth: "10000 Kbit" + bia: "b838.6148.8780" + delay: "100 usec" + description: "connection to Provider" + duplex: "Full-duplex" + encapsulation: "802.1Q Virtual LAN" + hardware_type: "FastEthernet" + input_errors: "0" + input_packets: "" + input_rate: "96000" + interface: "FastEthernet0/1/0" + ip_address: "" + last_input: "00:00:00" + last_output: "00:00:00" + last_output_hang: "never" + link_status: "up" + mtu: "1500" + output_errors: "0" + output_packets: "350115018" + output_rate: "111000" + protocol_status: "up" + queue_strategy: "Class-based queueing" + speed: "100Mb/s" + - address: "b838.6148.8780" + bandwidth: "10000 Kbit" + bia: "b838.6148.8780" + delay: "100 usec" + description: "AVPN Circuit" + duplex: "" + encapsulation: "802.1Q Virtual LAN" + hardware_type: "FastEthernet" + input_errors: "" + input_packets: "" + input_rate: "" + interface: "FastEthernet0/1/0.50" + ip_address: "192.20.194.29/30" + last_input: "" + last_output: "" + last_output_hang: "" + link_status: "up" + mtu: "1500" + output_errors: "" + output_packets: "" + output_rate: "" + protocol_status: "up" + queue_strategy: "" + speed: "" + - address: "b838.6148.8781" + bandwidth: "100000 Kbit" + bia: "b838.6148.8781" + delay: "100 usec" + description: "NOT IN USE" + duplex: "Auto-duplex" + encapsulation: "ARPA" + hardware_type: "FastEthernet" + input_errors: "0" + input_packets: "" + input_rate: "0" + interface: "FastEthernet0/1/1" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "administratively down" + mtu: "1500" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "down" + queue_strategy: "fifo" + speed: "Auto Speed" + - address: "" + bandwidth: "8000000 Kbit" + bia: "" + delay: "5000 usec" + description: "Loopback Interface" + duplex: "" + encapsulation: "LOOPBACK" + hardware_type: "Loopback" + input_errors: "" + input_packets: "2292" + input_rate: "0" + interface: "Loopback0" + ip_address: "192.20.0.144/32" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "up" + mtu: "1514" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" + - address: "" + bandwidth: "100 Kbit" + bia: "" + delay: "50000 usec" + description: "" + duplex: "" + encapsulation: "TUNNEL" + hardware_type: "Tunnel" + input_errors: "" + input_packets: "0" + input_rate: "0" + interface: "Tunnel0" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "up" + mtu: "17912" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" + - address: "" + bandwidth: "100 Kbit" + bia: "" + delay: "50000 usec" + description: "" + duplex: "" + encapsulation: "TUNNEL" + hardware_type: "Tunnel" + input_errors: "" + input_packets: "0" + input_rate: "0" + interface: "Tunnel1" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "up" + mtu: "17912" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" + - address: "" + bandwidth: "100 Kbit" + bia: "" + delay: "50000 usec" + description: "" + duplex: "" + encapsulation: "TUNNEL" + hardware_type: "Tunnel" + input_errors: "" + input_packets: "0" + input_rate: "0" + interface: "Tunnel2" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "up" + mtu: "17912" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" + - address: "" + bandwidth: "100 Kbit" + bia: "" + delay: "50000 usec" + description: "" + duplex: "" + encapsulation: "TUNNEL" + hardware_type: "Tunnel" + input_errors: "" + input_packets: "0" + input_rate: "0" + interface: "Tunnel3" + ip_address: "" + last_input: "never" + last_output: "never" + last_output_hang: "never" + link_status: "up" + mtu: "17912" + output_errors: "0" + output_packets: "0" + output_rate: "0" + protocol_status: "up" + queue_strategy: "fifo" + speed: "" diff --git a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.parsed b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.parsed deleted file mode 100644 index 02db840942..0000000000 --- a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.parsed +++ /dev/null @@ -1,51 +0,0 @@ ---- -parsed_sample: - -- port: Vl1 - status: admin down - protocol: down - descrip: '' -- port: Vl99 - status: up - protocol: up - descrip: 10.20.99.0_Switch_mgmt_VLAN -- port: Gi0/1 - status: down - protocol: down - descrip: D3 USER -- port: Gi0/2 - status: down - protocol: down - descrip: D3 USER -- port: Gi0/3 - status: down - protocol: down - descrip: D3 USER -- port: Gi0/4 - status: down - protocol: down - descrip: D3 USER -- port: Gi0/5 - status: down - protocol: down - descrip: D3 USER -- port: Gi0/6 - status: down - protocol: down - descrip: D3 USER -- port: Gi0/7 - status: down - protocol: down - descrip: D3 USER -- port: Gi0/8 - status: up - protocol: up - descrip: MERAKI TEST AP -- port: Gi0/9 - status: admin down - protocol: down - descrip: '' -- port: Gi0/10 - status: up - protocol: up - descrip: UPLINK TO TULCCD3S01P diff --git a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml new file mode 100644 index 0000000000..63968dd012 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - port: "Vl1" + status: "admin down" + protocol: "down" + descrip: "" + - port: "Vl99" + status: "up" + protocol: "up" + descrip: "10.20.99.0_Switch_mgmt_VLAN" + - port: "Gi0/1" + status: "down" + protocol: "down" + descrip: "D3 USER" + - port: "Gi0/2" + status: "down" + protocol: "down" + descrip: "D3 USER" + - port: "Gi0/3" + status: "down" + protocol: "down" + descrip: "D3 USER" + - port: "Gi0/4" + status: "down" + protocol: "down" + descrip: "D3 USER" + - port: "Gi0/5" + status: "down" + protocol: "down" + descrip: "D3 USER" + - port: "Gi0/6" + status: "down" + protocol: "down" + descrip: "D3 USER" + - port: "Gi0/7" + status: "down" + protocol: "down" + descrip: "D3 USER" + - port: "Gi0/8" + status: "up" + protocol: "up" + descrip: "MERAKI TEST AP" + - port: "Gi0/9" + status: "admin down" + protocol: "down" + descrip: "" + - port: "Gi0/10" + status: "up" + protocol: "up" + descrip: "UPLINK TO TULCCD3S01P" diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.parsed b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.parsed deleted file mode 100644 index a43158d8b6..0000000000 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.parsed +++ /dev/null @@ -1,129 +0,0 @@ ---- -parsed_sample: - -- duplex: auto - name: '' - port: Gi1/0/1 - speed: auto - status: notconnect - type: 10/100/1000BaseTX - vlan: '1' -- duplex: a-full - name: AccessPoint - port: Gi1/0/2 - speed: a-1000 - status: connected - type: 10/100/1000BaseTX - vlan: '8' -- duplex: auto - name: John's Office - port: Gi1/0/3 - speed: auto - status: notconnect - type: 10/100/1000BaseTX - vlan: '1' -- duplex: a-full - name: SingleName - port: Gi1/0/4 - speed: a-100 - status: connected - type: 10/100/1000BaseTX - vlan: '1' -- duplex: a-full - name: Dashed-Name - port: Gi1/0/5 - speed: a-1000 - status: connected - type: 10/100/1000BaseTX - vlan: '1000' -- duplex: a-full - name: Spaced Example - port: Gi1/0/6 - speed: a-100 - status: connected - type: 10/100/1000BaseTX - vlan: '8' -- duplex: a-full - name: Trunk Example - port: Gi1/0/7 - speed: a-1000 - status: connected - type: 1000BaseSX SFP - vlan: trunk -- duplex: auto - name: SFP Not Present - port: Gi1/0/8 - speed: auto - status: notconnect - type: Not Present - vlan: '1' -- duplex: auto - name: SFP Not Present - port: Gi1/0/9 - speed: auto - status: notconnect - type: Not Present - vlan: '1' -- duplex: auto - name: Management - port: Gi1/0/10 - speed: auto - status: notconnect - type: 10/100BaseTX - vlan: routed -- duplex: a-half - name: 2960S Port - port: Gi1/0/11 - speed: auto - status: notconnect - type: 10/100BaseTX - vlan: '16' -- duplex: a-half - name: Half Duplex 2950 - port: Gi1/0/12 - speed: auto - status: notconnect - type: 10/100BaseTX - vlan: '16' -- duplex: a-half - name: Half Duplex 2950-S - port: Gi1/0/13 - speed: auto - status: notconnect - type: 10/100BaseTX - vlan: '16' -- duplex: a-half - name: Half Duplex 2950-S - port: Gi1/0/14 - speed: auto - status: notconnect - type: Not Present - vlan: '16' -- duplex: a-half - name: Multi Space to the - port: Gi1/0/15 - speed: auto - status: notconnect - type: 10/100BaseTX - vlan: '16' -- duplex: a-half - name: Multi Space to the - port: Gi1/0/16 - speed: auto - status: err-disabled - type: 10/100BaseTX - vlan: '16' -- duplex: a-half - name: Multi Space - port: Gi1/0/17 - speed: auto - status: disabled - type: 10/100BaseTX - vlan: '16' -- duplex: a-full - name: ethchl - port: Po1 - speed: a-1000 - status: connected - type: '' - vlan: trunk diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml new file mode 100644 index 0000000000..796c56168c --- /dev/null +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml @@ -0,0 +1,128 @@ +--- +parsed_sample: + - duplex: "auto" + name: "" + port: "Gi1/0/1" + speed: "auto" + status: "notconnect" + type: "10/100/1000BaseTX" + vlan: "1" + - duplex: "a-full" + name: "AccessPoint" + port: "Gi1/0/2" + speed: "a-1000" + status: "connected" + type: "10/100/1000BaseTX" + vlan: "8" + - duplex: "auto" + name: "John's Office" + port: "Gi1/0/3" + speed: "auto" + status: "notconnect" + type: "10/100/1000BaseTX" + vlan: "1" + - duplex: "a-full" + name: "SingleName" + port: "Gi1/0/4" + speed: "a-100" + status: "connected" + type: "10/100/1000BaseTX" + vlan: "1" + - duplex: "a-full" + name: "Dashed-Name" + port: "Gi1/0/5" + speed: "a-1000" + status: "connected" + type: "10/100/1000BaseTX" + vlan: "1000" + - duplex: "a-full" + name: "Spaced Example" + port: "Gi1/0/6" + speed: "a-100" + status: "connected" + type: "10/100/1000BaseTX" + vlan: "8" + - duplex: "a-full" + name: "Trunk Example" + port: "Gi1/0/7" + speed: "a-1000" + status: "connected" + type: "1000BaseSX SFP" + vlan: "trunk" + - duplex: "auto" + name: "SFP Not Present" + port: "Gi1/0/8" + speed: "auto" + status: "notconnect" + type: "Not Present" + vlan: "1" + - duplex: "auto" + name: "SFP Not Present" + port: "Gi1/0/9" + speed: "auto" + status: "notconnect" + type: "Not Present" + vlan: "1" + - duplex: "auto" + name: "Management" + port: "Gi1/0/10" + speed: "auto" + status: "notconnect" + type: "10/100BaseTX" + vlan: "routed" + - duplex: "a-half" + name: "2960S Port" + port: "Gi1/0/11" + speed: "auto" + status: "notconnect" + type: "10/100BaseTX" + vlan: "16" + - duplex: "a-half" + name: "Half Duplex 2950" + port: "Gi1/0/12" + speed: "auto" + status: "notconnect" + type: "10/100BaseTX" + vlan: "16" + - duplex: "a-half" + name: "Half Duplex 2950-S" + port: "Gi1/0/13" + speed: "auto" + status: "notconnect" + type: "10/100BaseTX" + vlan: "16" + - duplex: "a-half" + name: "Half Duplex 2950-S" + port: "Gi1/0/14" + speed: "auto" + status: "notconnect" + type: "Not Present" + vlan: "16" + - duplex: "a-half" + name: "Multi Space to the" + port: "Gi1/0/15" + speed: "auto" + status: "notconnect" + type: "10/100BaseTX" + vlan: "16" + - duplex: "a-half" + name: "Multi Space to the" + port: "Gi1/0/16" + speed: "auto" + status: "err-disabled" + type: "10/100BaseTX" + vlan: "16" + - duplex: "a-half" + name: "Multi Space" + port: "Gi1/0/17" + speed: "auto" + status: "disabled" + type: "10/100BaseTX" + vlan: "16" + - duplex: "a-full" + name: "ethchl" + port: "Po1" + speed: "a-1000" + status: "connected" + type: "" + vlan: "trunk" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed deleted file mode 100644 index 0e126cb944..0000000000 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.parsed +++ /dev/null @@ -1,57 +0,0 @@ ---- -parsed_sample: - -- access_vlan: '1' - interface: Gi0/1 - mode: trunk - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'Off' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL -- access_vlan: '100' - interface: Gi0/2 - mode: static access - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'On' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL -- access_vlan: '101' - interface: Gi0/3 - mode: static access - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'On' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL -- access_vlan: '110' - interface: Gi1/0 - mode: static access - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'On' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL -- access_vlan: '111' - interface: Gi1/1 - mode: static access - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'On' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL -- access_vlan: '1' - interface: Fa0/1 - mode: static access - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'On' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml new file mode 100644 index 0000000000..6a55bb916a --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml @@ -0,0 +1,56 @@ +--- +parsed_sample: + - access_vlan: "1" + interface: "Gi0/1" + mode: "trunk" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "Off" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" + - access_vlan: "100" + interface: "Gi0/2" + mode: "static access" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "On" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" + - access_vlan: "101" + interface: "Gi0/3" + mode: "static access" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "On" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" + - access_vlan: "110" + interface: "Gi1/0" + mode: "static access" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "On" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" + - access_vlan: "111" + interface: "Gi1/1" + mode: "static access" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "On" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" + - access_vlan: "1" + interface: "Fa0/1" + mode: "static access" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "On" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.parsed b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.parsed deleted file mode 100644 index b354b0dc31..0000000000 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.parsed +++ /dev/null @@ -1,48 +0,0 @@ ---- -parsed_sample: - -- access_vlan: '1' - interface: Gi0/1 - mode: trunk - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'Off' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL -- access_vlan: '100' - interface: Gi0/2 - mode: static access - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'On' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL -- access_vlan: '101' - interface: Gi0/3 - mode: static access - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'On' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL -- access_vlan: '110' - interface: Gi1/0 - mode: static access - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'On' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL -- access_vlan: '111' - interface: Gi1/1 - mode: static access - native_vlan: '1' - switchport: Enabled - switchport_negotiation: 'On' - switchport_monitor: '' - voice_vlan: none - trunking_vlans: ALL diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml new file mode 100644 index 0000000000..d3c01c3a71 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml @@ -0,0 +1,47 @@ +--- +parsed_sample: + - access_vlan: "1" + interface: "Gi0/1" + mode: "trunk" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "Off" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" + - access_vlan: "100" + interface: "Gi0/2" + mode: "static access" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "On" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" + - access_vlan: "101" + interface: "Gi0/3" + mode: "static access" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "On" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" + - access_vlan: "110" + interface: "Gi1/0" + mode: "static access" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "On" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" + - access_vlan: "111" + interface: "Gi1/1" + mode: "static access" + native_vlan: "1" + switchport: "Enabled" + switchport_negotiation: "On" + switchport_monitor: "" + voice_vlan: "none" + trunking_vlans: "ALL" diff --git a/tests/cisco_ios/show_inventory/cisco_ios_show_inventory.parsed b/tests/cisco_ios/show_inventory/cisco_ios_show_inventory.parsed deleted file mode 100644 index a00726fc02..0000000000 --- a/tests/cisco_ios/show_inventory/cisco_ios_show_inventory.parsed +++ /dev/null @@ -1,27 +0,0 @@ ---- -parsed_sample: - -- name: "3640 chassis" - descr: "3640 chassis" - pid: "" - vid: "0xFF" - sn: "FF1045C5" - -- name: "One port Fastethernet TX" - descr: "One port Fastethernet TX" - pid: "NM-1FE-TX=" - vid: "1.0" - sn: "7720321" - -- name: "One port Fastethernet TX" - descr: "One port Fastethernet TX" - pid: "NM-1FE-TX=" - vid: "1.0" - sn: "7720321" - -- name: "One port Fastethernet TX" - descr: "One port Fastethernet TX" - pid: "NM-1FE-TX=" - vid: "1.0" - sn: "7720321" - diff --git a/tests/cisco_ios/show_inventory/cisco_ios_show_inventory.yml b/tests/cisco_ios/show_inventory/cisco_ios_show_inventory.yml new file mode 100644 index 0000000000..9b5d8b13ec --- /dev/null +++ b/tests/cisco_ios/show_inventory/cisco_ios_show_inventory.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - name: "3640 chassis" + descr: "3640 chassis" + pid: "" + vid: "0xFF" + sn: "FF1045C5" + - name: "One port Fastethernet TX" + descr: "One port Fastethernet TX" + pid: "NM-1FE-TX=" + vid: "1.0" + sn: "7720321" + - name: "One port Fastethernet TX" + descr: "One port Fastethernet TX" + pid: "NM-1FE-TX=" + vid: "1.0" + sn: "7720321" + - name: "One port Fastethernet TX" + descr: "One port Fastethernet TX" + pid: "NM-1FE-TX=" + vid: "1.0" + sn: "7720321" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed deleted file mode 100644 index 901dd7f128..0000000000 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.parsed +++ /dev/null @@ -1,2350 +0,0 @@ -parsed_sample: -- acl_type: "Standard" - acl_name: "99" - line_num: "" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Standard" - acl_name: "99" - line_num: "10" - action: "permit" - protocol: "" - src_host: "172.16.191.199" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Standard" - acl_name: "99" - line_num: "20" - action: "deny" - protocol: "" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "log" - time: "" - state: "" - matches: "" -- acl_type: "Standard" - acl_name: "99" - line_num: "30" - action: "permit" - protocol: "" - src_host: "" - src_any: "" - src_network: "10.0.10.0" - src_wildcard: "0.255.0.255" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "20" -- acl_type: "Standard" - acl_name: "stdacl" - line_num: "" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Standard" - acl_name: "stdacl" - line_num: "10" - action: "permit" - protocol: "" - src_host: "10.1.1.1" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "test" - line_num: "" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "10" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.1.1" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "www" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "20" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.1.1" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "443" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "log" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "30" - action: "permit" - protocol: "ahp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "log-input" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "40" - action: "permit" - protocol: "ahp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "log-input" - time: "test" - state: "active" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "50" - action: "permit" - protocol: "ip" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.10.11" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "log" - time: "test2" - state: "inactive" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "60" - action: "permit" - protocol: "udp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "range" - src_port: "" - src_port_range_start: "16384" - src_port_range_end: "32767" - dst_host: "" - dst_any: "" - dst_network: "10.1.1.0" - dst_wildcard: "0.0.0.255" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "16384" - dst_port_range_end: "32767" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "70" - action: "permit" - protocol: "udp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "eq" - src_port: "snmp bootpc" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.1.0.0" - dst_wildcard: "0.0.0.255" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "80" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.0.0.0" - src_wildcard: "0.255.255.255" - src_port_match: "eq" - src_port: "telnet ssh http 8080" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.0.0" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "neq" - dst_port: "telnet ssh" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "90" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "match-all" - tcp_flag: "+ack -fin" - log: "log" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "100" - action: "permit" - protocol: "tcp" - src_host: "10.1.1.1" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "established" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "101" - line_num: "110" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.1.1.0" - dst_wildcard: "0.0.255.255" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "established psh" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "10" - action: "permit" - protocol: "tcp" - src_host: "10.10.37.18" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.37.17" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "bgp" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "20" - action: "permit" - protocol: "tcp" - src_host: "10.10.37.18" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "eq" - src_port: "bgp" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.37.17" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "30" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.37.17" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "40" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.37.17" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "50" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "60" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "70" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "80" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "90" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "100" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "110" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "120" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "130" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "140" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "150" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.8.26" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "160" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.8.26" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "170" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.8.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "180" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.8.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "190" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.140.0" - dst_wildcard: "0.0.0.127" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "200" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.140.0" - dst_wildcard: "0.0.0.127" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "210" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.248" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "220" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.248" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "230" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.139.128" - dst_wildcard: "0.0.0.7" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "240" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.139.128" - dst_wildcard: "0.0.0.7" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "250" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4000" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "260" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4010" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "270" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4020" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "280" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4080" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "290" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4300" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "300" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4310" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "310" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4320" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "320" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4380" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "330" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4000" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "340" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4010" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "350" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4020" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "360" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4300" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "370" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4310" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "380" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4320" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "390" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4000" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "400" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4010" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "410" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4020" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "420" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4300" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "430" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4310" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "440" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4320" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "450" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4050" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "460" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4060" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "470" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4350" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "480" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4360" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "490" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4000" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "500" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4010" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "510" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4020" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "520" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4080" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "530" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4300" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "540" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4310" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "550" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4320" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "560" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4380" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "570" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.8.26" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4001" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "580" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.10.8.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4001" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "590" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.140.64" - dst_wildcard: "0.0.0.31" - dst_port_match: "eq" - dst_port: "9815" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "log" - time: "test" - state: "active" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "600" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.140.64" - dst_wildcard: "0.0.0.31" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "9821" - dst_port_range_end: "9823" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "610" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.140.96" - dst_wildcard: "0.0.0.31" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "7400" - dst_port_range_end: "7407" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "620" - action: "permit" - protocol: "udp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.133" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "13001" - dst_port_range_end: "13191" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "630" - action: "permit" - protocol: "udp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.133" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "13001" - dst_port_range_end: "13191" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "640" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.134" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "13001" - dst_port_range_end: "13191" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "650" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.10.37.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.134" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "13001" - dst_port_range_end: "13191" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" -- acl_type: "Extended" - acl_name: "sample" - line_num: "660" - action: "permit" - protocol: "pim" - src_host: "10.10.37.18" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "224.0.0.1" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "test2" - state: "inactive" - matches: "" -- acl_type: "Extended" - acl_name: "test2" - line_num: "" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - flags_match: "" - tcp_flag: "" - log: "" - time: "" - state: "" - matches: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml new file mode 100644 index 0000000000..5d7fe8a168 --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml @@ -0,0 +1,2351 @@ +--- +parsed_sample: + - acl_type: "Standard" + acl_name: "99" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "10" + action: "permit" + protocol: "" + src_host: "172.16.191.199" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "20" + action: "deny" + protocol: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "30" + action: "permit" + protocol: "" + src_host: "" + src_any: "" + src_network: "10.0.10.0" + src_wildcard: "0.255.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "20" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "10" + action: "permit" + protocol: "" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "test" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "443" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "30" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "40" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "50" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.10.11" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "60" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "16384" + src_port_range_end: "32767" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "16384" + dst_port_range_end: "32767" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "70" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "snmp bootpc" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.0.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "80" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.0.0.0" + src_wildcard: "0.255.255.255" + src_port_match: "eq" + src_port: "telnet ssh http 8080" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.0.0" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "neq" + dst_port: "telnet ssh" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "90" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-all" + tcp_flag: "+ack -fin" + log: "log" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "100" + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "110" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established psh" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "bgp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "80" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "90" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "100" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "110" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "120" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "130" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "140" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "150" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "160" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "170" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "180" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "190" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "200" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "210" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "220" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "230" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "240" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "250" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "260" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "270" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "280" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "290" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "300" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "310" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "320" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "330" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "340" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "350" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "360" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "370" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "380" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "390" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "400" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "410" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "420" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "430" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "440" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "450" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4050" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "460" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4060" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "470" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4350" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "480" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4360" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "490" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "500" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "510" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "520" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "530" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "540" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "550" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "560" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "570" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "580" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "590" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "eq" + dst_port: "9815" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "600" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "9821" + dst_port_range_end: "9823" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "610" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.96" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "7400" + dst_port_range_end: "7407" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "620" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "630" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "640" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "650" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "660" + action: "permit" + protocol: "pim" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "224.0.0.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "test2" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" diff --git a/tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.parsed b/tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.parsed deleted file mode 100644 index c34b4fa5bf..0000000000 --- a/tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.parsed +++ /dev/null @@ -1,44 +0,0 @@ ---- -parsed_sample: -- protocol: "Internet" - address: "172.16.233.229" - age: "-" - mac: "0000.0c59.f892" - type: "ARPA" - interface: "Ethernet0/0" -- protocol: "Internet" - address: "172.16.233.218" - age: "-" - mac: "0000.0c07.ac00" - type: "ARPA" - interface: "Ethernet0/0" -- protocol: "Internet" - address: "172.16.233.19" - age: "-" - mac: "0000.0c63.1300" - type: "ARPA" - interface: "Ethernet0/0" -- protocol: "Internet" - address: "172.16.233.209" - age: "-" - mac: "0000.0c36.6965" - type: "ARPA" - interface: "Ethernet0/0" -- protocol: "Internet" - address: "172.16.168.11" - age: "-" - mac: "0000.0c63.1300" - type: "ARPA" - interface: "Ethernet0/0" -- protocol: "Internet" - address: "172.16.168.254" - age: "9" - mac: "0000.0c36.6965" - type: "ARPA" - interface: "Ethernet0/0" -- protocol: "Internet" - address: "10.0.0.0" - age: "-" - mac: "aabb.cc03.8200" - type: "SRP-A" - interface: "" diff --git a/tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.yml b/tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.yml new file mode 100644 index 0000000000..7c7ef8976c --- /dev/null +++ b/tests/cisco_ios/show_ip_arp/cisco_ios_show_ip_arp.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - protocol: "Internet" + address: "172.16.233.229" + age: "-" + mac: "0000.0c59.f892" + type: "ARPA" + interface: "Ethernet0/0" + - protocol: "Internet" + address: "172.16.233.218" + age: "-" + mac: "0000.0c07.ac00" + type: "ARPA" + interface: "Ethernet0/0" + - protocol: "Internet" + address: "172.16.233.19" + age: "-" + mac: "0000.0c63.1300" + type: "ARPA" + interface: "Ethernet0/0" + - protocol: "Internet" + address: "172.16.233.209" + age: "-" + mac: "0000.0c36.6965" + type: "ARPA" + interface: "Ethernet0/0" + - protocol: "Internet" + address: "172.16.168.11" + age: "-" + mac: "0000.0c63.1300" + type: "ARPA" + interface: "Ethernet0/0" + - protocol: "Internet" + address: "172.16.168.254" + age: "9" + mac: "0000.0c36.6965" + type: "ARPA" + interface: "Ethernet0/0" + - protocol: "Internet" + address: "10.0.0.0" + age: "-" + mac: "aabb.cc03.8200" + type: "SRP-A" + interface: "" diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp.parsed b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp.parsed deleted file mode 100644 index 4f1acfc6f1..0000000000 --- a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp.parsed +++ /dev/null @@ -1,123 +0,0 @@ ---- -parsed_sample: - -- as_path: '' - local_pref: '' - metric: '0' - network: 10.1.1.1/32 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '100' - metric: '0' - network: 10.2.2.2/32 - next_hop: 172.16.1.2 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '0' -- as_path: 10 10 - local_pref: '100' - metric: '0' - network: 10.9.9.9/32 - next_hop: 192.168.3.2 - origin: i - path_selection: b - route_source: i - status: '*' - weight: '0' -- as_path: 10 10 - local_pref: '' - metric: '' - network: 10.9.9.9/32 - next_hop: 192.168.1.2 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '0' -- as_path: '' - local_pref: '100' - metric: '0' - network: 172.16.1.0/24 - next_hop: 172.16.1.2 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '0' -- as_path: '' - local_pref: '' - metric: '0' - network: 172.16.1.0/24 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '' - metric: '0' - network: 192.168.1.0 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '100' - metric: '0' - network: 192.168.3.0 - next_hop: 172.16.1.2 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '0' -- as_path: 10 10 - local_pref: '100' - metric: '0' - network: 192.168.9.0 - next_hop: 192.168.3.2 - origin: i - path_selection: b - route_source: i - status: '*' - weight: '0' -- as_path: 10 10 - local_pref: '' - metric: '' - network: 192.168.9.0 - next_hop: 192.168.1.2 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 10 10 - local_pref: '100' - metric: '0' - network: 192.168.13.0 - next_hop: 192.168.3.2 - origin: i - path_selection: b - route_source: i - status: '*' - weight: '0' -- as_path: 10 10 - local_pref: '' - metric: '' - network: 192.168.13.0 - next_hop: 192.168.1.2 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '0' diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp.yml b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp.yml new file mode 100644 index 0000000000..29846047f1 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - as_path: "" + local_pref: "" + metric: "0" + network: "10.1.1.1/32" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "100" + metric: "0" + network: "10.2.2.2/32" + next_hop: "172.16.1.2" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "0" + - as_path: "10 10" + local_pref: "100" + metric: "0" + network: "10.9.9.9/32" + next_hop: "192.168.3.2" + origin: "i" + path_selection: "b" + route_source: "i" + status: "*" + weight: "0" + - as_path: "10 10" + local_pref: "" + metric: "" + network: "10.9.9.9/32" + next_hop: "192.168.1.2" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" + - as_path: "" + local_pref: "100" + metric: "0" + network: "172.16.1.0/24" + next_hop: "172.16.1.2" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "0" + - as_path: "" + local_pref: "" + metric: "0" + network: "172.16.1.0/24" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "" + metric: "0" + network: "192.168.1.0" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "100" + metric: "0" + network: "192.168.3.0" + next_hop: "172.16.1.2" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "0" + - as_path: "10 10" + local_pref: "100" + metric: "0" + network: "192.168.9.0" + next_hop: "192.168.3.2" + origin: "i" + path_selection: "b" + route_source: "i" + status: "*" + weight: "0" + - as_path: "10 10" + local_pref: "" + metric: "" + network: "192.168.9.0" + next_hop: "192.168.1.2" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" + - as_path: "10 10" + local_pref: "100" + metric: "0" + network: "192.168.13.0" + next_hop: "192.168.3.2" + origin: "i" + path_selection: "b" + route_source: "i" + status: "*" + weight: "0" + - as_path: "10 10" + local_pref: "" + metric: "" + network: "192.168.13.0" + next_hop: "192.168.1.2" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp1.parsed b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp1.parsed deleted file mode 100644 index ace09cbef8..0000000000 --- a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp1.parsed +++ /dev/null @@ -1,53 +0,0 @@ ---- -parsed_sample: - -- as_path: '' - local_pref: '' - metric: '0' - network: 10.0.1.0/24 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: 300 200 - local_pref: '' - metric: '' - network: 10.0.2.0/24 - next_hop: 10.0.4.2 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: '200' - local_pref: '' - metric: '0' - network: 10.0.2.0/24 - next_hop: 10.0.4.2 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '0' -- as_path: 200 300 - local_pref: '' - metric: '' - network: 10.0.3.0/24 - next_hop: 10.0.4.3 - origin: i - path_selection: ' ' - route_source: ' ' - status: '*' - weight: '0' -- as_path: '300' - local_pref: '' - metric: '0' - network: 10.0.3.0/24 - next_hop: 10.0.4.3 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '0' diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp1.yml b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp1.yml new file mode 100644 index 0000000000..ecae1f2a35 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp1.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - as_path: "" + local_pref: "" + metric: "0" + network: "10.0.1.0/24" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "300 200" + local_pref: "" + metric: "" + network: "10.0.2.0/24" + next_hop: "10.0.4.2" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "200" + local_pref: "" + metric: "0" + network: "10.0.2.0/24" + next_hop: "10.0.4.2" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" + - as_path: "200 300" + local_pref: "" + metric: "" + network: "10.0.3.0/24" + next_hop: "10.0.4.3" + origin: "i" + path_selection: " " + route_source: " " + status: "*" + weight: "0" + - as_path: "300" + local_pref: "" + metric: "0" + network: "10.0.3.0/24" + next_hop: "10.0.4.3" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp2.parsed b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp2.parsed deleted file mode 100644 index 78d92531b7..0000000000 --- a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp2.parsed +++ /dev/null @@ -1,83 +0,0 @@ ---- -parsed_sample: - -- as_path: '' - local_pref: '' - metric: '0' - network: 10.101.1.0/24 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '' - metric: '0' - network: 10.101.2.0/24 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '' - metric: '0' - network: 10.101.3.0/24 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '' - metric: '0' - network: 10.101.4.0/24 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '102' - local_pref: '' - metric: '0' - network: 10.102.1.0/24 - next_hop: 10.10.10.2 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '0' -- as_path: '102' - local_pref: '' - metric: '0' - network: 10.102.2.0/24 - next_hop: 10.10.10.2 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '0' -- as_path: '102' - local_pref: '' - metric: '0' - network: 10.102.3.0/24 - next_hop: 10.10.10.2 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '0' -- as_path: '102' - local_pref: '' - metric: '0' - network: 10.102.4.0/24 - next_hop: 10.10.10.2 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '0' diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp2.yml b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp2.yml new file mode 100644 index 0000000000..098bad5007 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp2.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - as_path: "" + local_pref: "" + metric: "0" + network: "10.101.1.0/24" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "" + metric: "0" + network: "10.101.2.0/24" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "" + metric: "0" + network: "10.101.3.0/24" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "" + metric: "0" + network: "10.101.4.0/24" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "102" + local_pref: "" + metric: "0" + network: "10.102.1.0/24" + next_hop: "10.10.10.2" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" + - as_path: "102" + local_pref: "" + metric: "0" + network: "10.102.2.0/24" + next_hop: "10.10.10.2" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" + - as_path: "102" + local_pref: "" + metric: "0" + network: "10.102.3.0/24" + next_hop: "10.10.10.2" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" + - as_path: "102" + local_pref: "" + metric: "0" + network: "10.102.4.0/24" + next_hop: "10.10.10.2" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp3.parsed b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp3.parsed deleted file mode 100644 index 11834e54bc..0000000000 --- a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp3.parsed +++ /dev/null @@ -1,583 +0,0 @@ ---- -parsed_sample: - -- as_path: '' - local_pref: '' - metric: '0' - network: 10.16.0.0/20 - next_hop: 200.200.200.234 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: 65005 65026 65008 65000 - local_pref: '100' - metric: '0' - network: 10.20.0.0/16 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65005 65026 65008 65000 - local_pref: '100' - metric: '0' - network: 10.20.0.0/16 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: '65005' - local_pref: '100' - metric: '0' - network: 10.24.0.0/16 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: '65005' - local_pref: '100' - metric: '0' - network: 10.24.0.0/16 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: '' - local_pref: '' - metric: '0' - network: 10.24.6.0/24 - next_hop: 200.200.200.234 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '' - metric: '0' - network: 10.24.6.0/23 - next_hop: 200.200.200.234 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '' - metric: '0' - network: 10.24.8.0/25 - next_hop: 200.200.200.234 - origin: i - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: 65022 65024 - local_pref: '100' - metric: '0' - network: 10.24.41.0/24 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 64985 65024 - local_pref: '100' - metric: '0' - network: 10.24.41.0/24 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65022 65024 - local_pref: '100' - metric: '0' - network: 10.24.42.0/24 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 64985 65024 - local_pref: '100' - metric: '0' - network: 10.24.42.0/24 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 64985 65023 - local_pref: '100' - metric: '0' - network: 10.24.202.0/24 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65022 65023 - local_pref: '100' - metric: '0' - network: 10.24.202.0/24 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65005 65026 64608 64600 - local_pref: '100' - metric: '0' - network: 10.28.0.0/16 - next_hop: 200.200.200.194 - origin: '?' - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65005 65026 64608 64600 - local_pref: '100' - metric: '0' - network: 10.28.0.0/16 - next_hop: 200.200.200.195 - origin: '?' - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65005 65026 65008 65000 - local_pref: '100' - metric: '0' - network: 10.96.0.0/16 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65005 65026 65008 65000 - local_pref: '100' - metric: '0' - network: 10.96.0.0/16 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 65008 65001 65000 - local_pref: '100' - metric: '0' - network: 10.97.0.0/16 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 65008 65001 65000 - local_pref: '100' - metric: '20' - network: 10.97.0.0/16 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 65008 65001 65000 65004 - local_pref: '100' - metric: '0' - network: 10.97.32.0/21 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 65008 65001 65000 65004 - local_pref: '100' - metric: '20' - network: 10.97.32.0/21 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 65008 65001 65000 - local_pref: '100' - metric: '0' - network: 10.98.0.0/16 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 65008 65001 65000 - local_pref: '100' - metric: '20' - network: 10.98.0.0/16 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 65008 65001 65000 65004 - local_pref: '100' - metric: '0' - network: 10.98.32.0/21 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 65008 65001 65000 65004 - local_pref: '100' - metric: '20' - network: 10.98.32.0/21 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 65008 65001 65000 65004 - local_pref: '100' - metric: '0' - network: 10.100.32.0/21 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 65008 65001 65000 65004 - local_pref: '100' - metric: '20' - network: 10.100.32.0/21 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 65008 65001 65000 65004 - local_pref: '100' - metric: '0' - network: 10.101.32.0/21 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 65008 65001 65000 65004 - local_pref: '100' - metric: '20' - network: 10.101.32.0/21 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65005 65026 65008 65007 64786 64785 - local_pref: '100' - metric: '0' - network: 10.104.0.0/18 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65005 65026 65008 65007 64786 64785 - local_pref: '100' - metric: '0' - network: 10.104.0.0/18 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65005 65026 65008 65007 64786 - local_pref: '100' - metric: '0' - network: 10.104.64.0/18 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65005 65026 65008 65007 64786 - local_pref: '100' - metric: '0' - network: 10.104.64.0/18 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65005 65026 64608 64600 64788 - local_pref: '100' - metric: '0' - network: 10.104.128.0/18 - next_hop: 200.200.200.195 - origin: '?' - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65005 65026 64608 64600 64788 - local_pref: '100' - metric: '0' - network: 10.104.128.0/18 - next_hop: 200.200.200.194 - origin: '?' - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 64608 65028 64788 - local_pref: '100' - metric: '20' - network: 10.104.128.80/30 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 64608 65028 64788 - local_pref: '100' - metric: '0' - network: 10.104.128.80/30 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 64608 65028 64788 - local_pref: '100' - metric: '20' - network: 10.104.128.84/30 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 64608 65028 64788 - local_pref: '100' - metric: '0' - network: 10.104.128.84/30 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 64608 65028 64788 - local_pref: '100' - metric: '20' - network: 10.104.128.208/29 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 64608 65028 64788 - local_pref: '100' - metric: '0' - network: 10.104.128.208/29 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 64608 65028 64788 - local_pref: '100' - metric: '20' - network: 10.104.180.0/25 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 64608 65028 64788 - local_pref: '100' - metric: '0' - network: 10.104.180.0/25 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65005 65026 64608 64600 65025 - local_pref: '100' - metric: '0' - network: 10.104.192.0/18 - next_hop: 200.200.200.194 - origin: '?' - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65005 65026 64608 64600 65025 - local_pref: '100' - metric: '0' - network: 10.104.192.0/18 - next_hop: 200.200.200.195 - origin: '?' - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65005 65026 64608 64600 65025 - local_pref: '100' - metric: '0' - network: 10.104.192.64/30 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65005 65026 64608 64600 65025 - local_pref: '100' - metric: '0' - network: 10.104.192.64/30 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 64608 65028 65025 - local_pref: '100' - metric: '0' - network: 10.104.192.80/30 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 64608 65028 65025 - local_pref: '100' - metric: '20' - network: 10.104.192.80/30 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 64608 65028 65025 - local_pref: '100' - metric: '0' - network: 10.104.192.84/30 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 64608 65028 65025 - local_pref: '100' - metric: '20' - network: 10.104.192.84/30 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65005 65026 64608 64600 65025 - local_pref: '100' - metric: '0' - network: 10.104.192.192/28 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65005 65026 64608 64600 65025 - local_pref: '100' - metric: '0' - network: 10.104.192.192/28 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 64608 65028 65025 65027 - local_pref: '100' - metric: '0' - network: 100.205.200.32/28 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 64608 65028 65025 65027 - local_pref: '100' - metric: '20' - network: 100.205.200.32/28 - next_hop: 200.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' -- as_path: 65006 65026 64608 65028 65025 65027 - local_pref: '100' - metric: '0' - network: 100.205.200.48/28 - next_hop: 200.200.200.194 - origin: i - path_selection: '>' - route_source: i - status: '*' - weight: '50000' -- as_path: 65006 65026 64608 65028 65025 65027 - local_pref: '100' - metric: '20' - network: 100.205.200.48/28 - next_hop: 201.200.200.195 - origin: i - path_selection: ' ' - route_source: i - status: '*' - weight: '40000' diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp3.yml b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp3.yml new file mode 100644 index 0000000000..597959d310 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp3.yml @@ -0,0 +1,582 @@ +--- +parsed_sample: + - as_path: "" + local_pref: "" + metric: "0" + network: "10.16.0.0/20" + next_hop: "200.200.200.234" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "65005 65026 65008 65000" + local_pref: "100" + metric: "0" + network: "10.20.0.0/16" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005 65026 65008 65000" + local_pref: "100" + metric: "0" + network: "10.20.0.0/16" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65005" + local_pref: "100" + metric: "0" + network: "10.24.0.0/16" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005" + local_pref: "100" + metric: "0" + network: "10.24.0.0/16" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "" + local_pref: "" + metric: "0" + network: "10.24.6.0/24" + next_hop: "200.200.200.234" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "" + metric: "0" + network: "10.24.6.0/23" + next_hop: "200.200.200.234" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "" + metric: "0" + network: "10.24.8.0/25" + next_hop: "200.200.200.234" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "65022 65024" + local_pref: "100" + metric: "0" + network: "10.24.41.0/24" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "64985 65024" + local_pref: "100" + metric: "0" + network: "10.24.41.0/24" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65022 65024" + local_pref: "100" + metric: "0" + network: "10.24.42.0/24" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "64985 65024" + local_pref: "100" + metric: "0" + network: "10.24.42.0/24" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "64985 65023" + local_pref: "100" + metric: "0" + network: "10.24.202.0/24" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65022 65023" + local_pref: "100" + metric: "0" + network: "10.24.202.0/24" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005 65026 64608 64600" + local_pref: "100" + metric: "0" + network: "10.28.0.0/16" + next_hop: "200.200.200.194" + origin: "?" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005 65026 64608 64600" + local_pref: "100" + metric: "0" + network: "10.28.0.0/16" + next_hop: "200.200.200.195" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65005 65026 65008 65000" + local_pref: "100" + metric: "0" + network: "10.96.0.0/16" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005 65026 65008 65000" + local_pref: "100" + metric: "0" + network: "10.96.0.0/16" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 65008 65001 65000" + local_pref: "100" + metric: "0" + network: "10.97.0.0/16" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 65008 65001 65000" + local_pref: "100" + metric: "20" + network: "10.97.0.0/16" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 65008 65001 65000 65004" + local_pref: "100" + metric: "0" + network: "10.97.32.0/21" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 65008 65001 65000 65004" + local_pref: "100" + metric: "20" + network: "10.97.32.0/21" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 65008 65001 65000" + local_pref: "100" + metric: "0" + network: "10.98.0.0/16" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 65008 65001 65000" + local_pref: "100" + metric: "20" + network: "10.98.0.0/16" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 65008 65001 65000 65004" + local_pref: "100" + metric: "0" + network: "10.98.32.0/21" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 65008 65001 65000 65004" + local_pref: "100" + metric: "20" + network: "10.98.32.0/21" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 65008 65001 65000 65004" + local_pref: "100" + metric: "0" + network: "10.100.32.0/21" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 65008 65001 65000 65004" + local_pref: "100" + metric: "20" + network: "10.100.32.0/21" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 65008 65001 65000 65004" + local_pref: "100" + metric: "0" + network: "10.101.32.0/21" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 65008 65001 65000 65004" + local_pref: "100" + metric: "20" + network: "10.101.32.0/21" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65005 65026 65008 65007 64786 64785" + local_pref: "100" + metric: "0" + network: "10.104.0.0/18" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005 65026 65008 65007 64786 64785" + local_pref: "100" + metric: "0" + network: "10.104.0.0/18" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65005 65026 65008 65007 64786" + local_pref: "100" + metric: "0" + network: "10.104.64.0/18" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005 65026 65008 65007 64786" + local_pref: "100" + metric: "0" + network: "10.104.64.0/18" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65005 65026 64608 64600 64788" + local_pref: "100" + metric: "0" + network: "10.104.128.0/18" + next_hop: "200.200.200.195" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65005 65026 64608 64600 64788" + local_pref: "100" + metric: "0" + network: "10.104.128.0/18" + next_hop: "200.200.200.194" + origin: "?" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 64608 65028 64788" + local_pref: "100" + metric: "20" + network: "10.104.128.80/30" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 64608 65028 64788" + local_pref: "100" + metric: "0" + network: "10.104.128.80/30" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 64608 65028 64788" + local_pref: "100" + metric: "20" + network: "10.104.128.84/30" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 64608 65028 64788" + local_pref: "100" + metric: "0" + network: "10.104.128.84/30" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 64608 65028 64788" + local_pref: "100" + metric: "20" + network: "10.104.128.208/29" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 64608 65028 64788" + local_pref: "100" + metric: "0" + network: "10.104.128.208/29" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 64608 65028 64788" + local_pref: "100" + metric: "20" + network: "10.104.180.0/25" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 64608 65028 64788" + local_pref: "100" + metric: "0" + network: "10.104.180.0/25" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005 65026 64608 64600 65025" + local_pref: "100" + metric: "0" + network: "10.104.192.0/18" + next_hop: "200.200.200.194" + origin: "?" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005 65026 64608 64600 65025" + local_pref: "100" + metric: "0" + network: "10.104.192.0/18" + next_hop: "200.200.200.195" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65005 65026 64608 64600 65025" + local_pref: "100" + metric: "0" + network: "10.104.192.64/30" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005 65026 64608 64600 65025" + local_pref: "100" + metric: "0" + network: "10.104.192.64/30" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 64608 65028 65025" + local_pref: "100" + metric: "0" + network: "10.104.192.80/30" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 64608 65028 65025" + local_pref: "100" + metric: "20" + network: "10.104.192.80/30" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 64608 65028 65025" + local_pref: "100" + metric: "0" + network: "10.104.192.84/30" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 64608 65028 65025" + local_pref: "100" + metric: "20" + network: "10.104.192.84/30" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65005 65026 64608 64600 65025" + local_pref: "100" + metric: "0" + network: "10.104.192.192/28" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65005 65026 64608 64600 65025" + local_pref: "100" + metric: "0" + network: "10.104.192.192/28" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 64608 65028 65025 65027" + local_pref: "100" + metric: "0" + network: "100.205.200.32/28" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 64608 65028 65025 65027" + local_pref: "100" + metric: "20" + network: "100.205.200.32/28" + next_hop: "200.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" + - as_path: "65006 65026 64608 65028 65025 65027" + local_pref: "100" + metric: "0" + network: "100.205.200.48/28" + next_hop: "200.200.200.194" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "50000" + - as_path: "65006 65026 64608 65028 65025 65027" + local_pref: "100" + metric: "20" + network: "100.205.200.48/28" + next_hop: "201.200.200.195" + origin: "i" + path_selection: " " + route_source: "i" + status: "*" + weight: "40000" diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp4.parsed b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp4.parsed deleted file mode 100644 index 9a45bfd38b..0000000000 --- a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp4.parsed +++ /dev/null @@ -1,123 +0,0 @@ ---- -parsed_sample: -- as_path: 11111 99999 65278 - local_pref: '100' - metric: '0' - network: 199.16.104.96/27 - next_hop: 10.66.166.3 - origin: "?" - path_selection: " " - route_source: i - status: "*" - weight: '0' -- as_path: 11111 99999 65278 - local_pref: '100' - metric: '0' - network: 199.16.104.96/27 - next_hop: 10.66.166.4 - origin: "?" - path_selection: " " - route_source: i - status: "*" - weight: '0' -- as_path: 11111 99999 65278 - local_pref: '100' - metric: '0' - network: 199.16.104.96/27 - next_hop: 10.66.166.2 - origin: "?" - path_selection: " " - route_source: i - status: "*" - weight: '0' -- as_path: 11111 99999 65278 - local_pref: '' - metric: '' - network: 199.16.104.96/27 - next_hop: 10.118.160.97 - origin: "?" - path_selection: ">" - route_source: " " - status: "*" - weight: '0' -- as_path: 11111 99999 - local_pref: '100' - metric: '0' - network: 199.16.104.128/27 - next_hop: 10.66.166.3 - origin: "?" - path_selection: " " - route_source: i - status: "*" - weight: '0' -- as_path: 11111 99999 - local_pref: '100' - metric: '0' - network: 199.16.104.128/27 - next_hop: 10.66.166.4 - origin: "?" - path_selection: " " - route_source: i - status: "*" - weight: '0' -- as_path: 11111 99999 - local_pref: '100' - metric: '0' - network: 199.16.104.128/27 - next_hop: 10.66.166.2 - origin: "?" - path_selection: " " - route_source: i - status: "*" - weight: '0' -- as_path: 11111 99999 - local_pref: '' - metric: '' - network: 199.16.104.128/27 - next_hop: 10.118.160.97 - origin: "?" - path_selection: ">" - route_source: " " - status: "*" - weight: '0' -- as_path: 11111 99999 - local_pref: '100' - metric: '0' - network: 199.16.104.160/27 - next_hop: 10.66.166.3 - origin: "?" - path_selection: " " - route_source: i - status: "*" - weight: '0' -- as_path: 11111 99999 - local_pref: '100' - metric: '0' - network: 199.16.104.160/27 - next_hop: 10.66.166.4 - origin: "?" - path_selection: " " - route_source: i - status: "*" - weight: '0' -- as_path: 11111 99999 - local_pref: '100' - metric: '0' - network: 199.16.104.160/27 - next_hop: 10.66.166.2 - origin: "?" - path_selection: " " - route_source: i - status: "*" - weight: '0' -- as_path: 11111 99999 - local_pref: '' - metric: '' - network: 199.16.104.160/27 - next_hop: 10.118.160.97 - origin: "?" - path_selection: ">" - route_source: " " - status: "*" - weight: '0' - diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp4.yml b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp4.yml new file mode 100644 index 0000000000..997a6618e3 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp4.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - as_path: "11111 99999 65278" + local_pref: "100" + metric: "0" + network: "199.16.104.96/27" + next_hop: "10.66.166.3" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "0" + - as_path: "11111 99999 65278" + local_pref: "100" + metric: "0" + network: "199.16.104.96/27" + next_hop: "10.66.166.4" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "0" + - as_path: "11111 99999 65278" + local_pref: "100" + metric: "0" + network: "199.16.104.96/27" + next_hop: "10.66.166.2" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "0" + - as_path: "11111 99999 65278" + local_pref: "" + metric: "" + network: "199.16.104.96/27" + next_hop: "10.118.160.97" + origin: "?" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" + - as_path: "11111 99999" + local_pref: "100" + metric: "0" + network: "199.16.104.128/27" + next_hop: "10.66.166.3" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "0" + - as_path: "11111 99999" + local_pref: "100" + metric: "0" + network: "199.16.104.128/27" + next_hop: "10.66.166.4" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "0" + - as_path: "11111 99999" + local_pref: "100" + metric: "0" + network: "199.16.104.128/27" + next_hop: "10.66.166.2" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "0" + - as_path: "11111 99999" + local_pref: "" + metric: "" + network: "199.16.104.128/27" + next_hop: "10.118.160.97" + origin: "?" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" + - as_path: "11111 99999" + local_pref: "100" + metric: "0" + network: "199.16.104.160/27" + next_hop: "10.66.166.3" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "0" + - as_path: "11111 99999" + local_pref: "100" + metric: "0" + network: "199.16.104.160/27" + next_hop: "10.66.166.4" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "0" + - as_path: "11111 99999" + local_pref: "100" + metric: "0" + network: "199.16.104.160/27" + next_hop: "10.66.166.2" + origin: "?" + path_selection: " " + route_source: "i" + status: "*" + weight: "0" + - as_path: "11111 99999" + local_pref: "" + metric: "" + network: "199.16.104.160/27" + next_hop: "10.118.160.97" + origin: "?" + path_selection: ">" + route_source: " " + status: "*" + weight: "0" diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.parsed b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.parsed deleted file mode 100644 index 3d6c050fca..0000000000 --- a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.parsed +++ /dev/null @@ -1,82 +0,0 @@ ---- -parsed_sample: -- as_path: '' - local_pref: '' - metric: '0' - network: 10.1.0.0/16 - next_hop: 0.0.0.0 - origin: 'i' - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '' - metric: '0' - network: 10.2.0.0/16 - next_hop: 0.0.0.0 - origin: 'i' - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '' - metric: '0' - network: 10.3.0.0/16 - next_hop: 0.0.0.0 - origin: 'i' - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '' - metric: '0' - network: 10.4.0.0/16 - next_hop: 0.0.0.0 - origin: 'i' - path_selection: '>' - route_source: ' ' - status: '*' - weight: '32768' -- as_path: '' - local_pref: '100' - metric: '0' - network: 10.11.0.0/16 - next_hop: 10.0.0.1 - origin: 'i' - path_selection: '>' - route_source: 'i' - status: '*' - weight: '0' -- as_path: '' - local_pref: '100' - metric: '0' - network: 10.12.0.0/16 - next_hop: 10.0.0.1 - origin: 'i' - path_selection: '>' - route_source: 'i' - status: '*' - weight: '0' -- as_path: '' - local_pref: '100' - metric: '0' - network: 10.13.0.0/16 - next_hop: 10.0.0.1 - origin: 'i' - path_selection: '>' - route_source: 'i' - status: '*' - weight: '0' -- as_path: '' - local_pref: '100' - metric: '0' - network: 10.14.0.0/16 - next_hop: 10.0.0.1 - origin: 'i' - path_selection: '>' - route_source: 'i' - status: '*' - weight: '0' diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.yml b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.yml new file mode 100644 index 0000000000..3f9a19d078 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp5.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - as_path: "" + local_pref: "" + metric: "0" + network: "10.1.0.0/16" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "" + metric: "0" + network: "10.2.0.0/16" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "" + metric: "0" + network: "10.3.0.0/16" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "" + metric: "0" + network: "10.4.0.0/16" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: " " + status: "*" + weight: "32768" + - as_path: "" + local_pref: "100" + metric: "0" + network: "10.11.0.0/16" + next_hop: "10.0.0.1" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "0" + - as_path: "" + local_pref: "100" + metric: "0" + network: "10.12.0.0/16" + next_hop: "10.0.0.1" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "0" + - as_path: "" + local_pref: "100" + metric: "0" + network: "10.13.0.0/16" + next_hop: "10.0.0.1" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "0" + - as_path: "" + local_pref: "100" + metric: "0" + network: "10.14.0.0/16" + next_hop: "10.0.0.1" + origin: "i" + path_selection: ">" + route_source: "i" + status: "*" + weight: "0" diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed deleted file mode 100644 index ce4e9a533d..0000000000 --- a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.parsed +++ /dev/null @@ -1,72 +0,0 @@ ---- -parsed_sample: - -- bgp_neigh: '10.0.0.1' - local_as: '65000' - neigh_as: '65000' - router_id: '10.0.0.0' - state_pfxrcd: '558720' - up_down: '3w0d' - -- bgp_neigh: '10.0.0.2' - local_as: '65000' - neigh_as: '65001' - router_id: '10.0.0.0' - state_pfxrcd: '558720' - up_down: '3w0d' - -- bgp_neigh: '10.0.0.3' - local_as: '65000' - neigh_as: '65002' - router_id: '10.0.0.0' - state_pfxrcd: '0' - up_down: '1y10w' - -- bgp_neigh: '10.0.0.4' - local_as: '65000' - neigh_as: '65003' - router_id: '10.0.0.0' - state_pfxrcd: '1351' - up_down: '1y50w' - -- bgp_neigh: '10.0.0.5' - local_as: '65000' - neigh_as: '65004' - router_id: '10.0.0.0' - state_pfxrcd: '558720' - up_down: '19w5d' - -- bgp_neigh: '10.0.0.6' - local_as: '65000' - neigh_as: '65005' - router_id: '10.0.0.0' - state_pfxrcd: '558720' - up_down: '19w5d' - -- bgp_neigh: '10.0.0.7' - local_as: '65000' - neigh_as: '65006' - router_id: '10.0.0.0' - state_pfxrcd: '82' - up_down: '1y10w' - -- bgp_neigh: '10.0.0.8' - local_as: '65000' - neigh_as: '65007' - router_id: '10.0.0.0' - state_pfxrcd: '82' - up_down: '1y10w' - -- bgp_neigh: '10.0.0.9' - local_as: '65000' - neigh_as: '65008' - router_id: '10.0.0.0' - state_pfxrcd: '0' - up_down: '22w0d' - -- bgp_neigh: '10.0.0.10' - local_as: '65000' - neigh_as: '65009' - router_id: '10.0.0.0' - state_pfxrcd: 'Idle (Admin)' - up_down: '1y10w' \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml new file mode 100644 index 0000000000..5a7dc27fd4 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - router_id: "10.0.0.0" + local_as: "65000" + bgp_neigh: "10.0.0.1" + neigh_as: "65000" + up_down: "3w0d" + state_pfxrcd: "558720" + - router_id: "10.0.0.0" + local_as: "65000" + bgp_neigh: "10.0.0.2" + neigh_as: "65001" + up_down: "3w0d" + state_pfxrcd: "558720" + - router_id: "10.0.0.0" + local_as: "65000" + bgp_neigh: "10.0.0.3" + neigh_as: "65002" + up_down: "1y10w" + state_pfxrcd: "0" + - router_id: "10.0.0.0" + local_as: "65000" + bgp_neigh: "10.0.0.4" + neigh_as: "65003" + up_down: "1y50w" + state_pfxrcd: "1351" + - router_id: "10.0.0.0" + local_as: "65000" + bgp_neigh: "10.0.0.5" + neigh_as: "65004" + up_down: "19w5d" + state_pfxrcd: "558720" + - router_id: "10.0.0.0" + local_as: "65000" + bgp_neigh: "10.0.0.6" + neigh_as: "65005" + up_down: "19w5d" + state_pfxrcd: "558720" + - router_id: "10.0.0.0" + local_as: "65000" + bgp_neigh: "10.0.0.7" + neigh_as: "65006" + up_down: "1y10w" + state_pfxrcd: "82" + - router_id: "10.0.0.0" + local_as: "65000" + bgp_neigh: "10.0.0.8" + neigh_as: "65007" + up_down: "1y10w" + state_pfxrcd: "82" + - router_id: "10.0.0.0" + local_as: "65000" + bgp_neigh: "10.0.0.9" + neigh_as: "65008" + up_down: "22w0d" + state_pfxrcd: "0" + - router_id: "10.0.0.0" + local_as: "65000" + bgp_neigh: "10.0.0.10" + neigh_as: "65009" + up_down: "1y10w" + state_pfxrcd: "Idle (Admin)" diff --git a/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed b/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed deleted file mode 100644 index 90a9fe78e7..0000000000 --- a/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.parsed +++ /dev/null @@ -1,25 +0,0 @@ ---- -parsed_sample: -- ip: "192.168.1.104" - mac: "8c12.9011.00e2" - vlan: "1" - interface: "GigabitEthernet1/0/9" - probe_timeout: "30" - state: "ACTIVE" - source: "ARP" - -- ip: "192.168.1.108" - mac: "0065.2da2.5d6e" - vlan: "1" - interface: "GigabitEthernet1/0/1" - probe_timeout: "30" - state: "ACTIVE" - source: "ARP" - -- ip: "192.168.1.110" - mac: "000c.29ed.e090" - vlan: "1" - interface: "GigabitEthernet1/0/1" - probe_timeout: "30" - state: "ACTIVE" - source: "ARP" diff --git a/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.yml b/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.yml new file mode 100644 index 0000000000..57164300fb --- /dev/null +++ b/tests/cisco_ios/show_ip_device_tracking_all/cisco_ios_show_ip_device_tracking_all.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - ip: "192.168.1.104" + mac: "8c12.9011.00e2" + vlan: "1" + interface: "GigabitEthernet1/0/9" + probe_timeout: "30" + state: "ACTIVE" + source: "ARP" + - ip: "192.168.1.108" + mac: "0065.2da2.5d6e" + vlan: "1" + interface: "GigabitEthernet1/0/1" + probe_timeout: "30" + state: "ACTIVE" + source: "ARP" + - ip: "192.168.1.110" + mac: "000c.29ed.e090" + vlan: "1" + interface: "GigabitEthernet1/0/1" + probe_timeout: "30" + state: "ACTIVE" + source: "ARP" diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.parsed b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.parsed deleted file mode 100644 index 2e6dde4177..0000000000 --- a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.parsed +++ /dev/null @@ -1,24 +0,0 @@ ---- - -parsed_sample: - - -- as: "1" - address: "192.168.1.2" - interface: "Gi0/0" - hold: "10" - uptime: "00:12:45" - srtt: "19" - rto: "100" - q_cnt: "0" - seq_num: "11" - -- as: "1" - address: "192.168.2.2" - interface: "Gi0/1" - hold: "12" - uptime: "00:11:24" - srtt: "14" - rto: "100" - q_cnt: "0" - seq_num: "10" diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.yml b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.yml new file mode 100644 index 0000000000..094b8a7cd9 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - as: "1" + address: "192.168.1.2" + interface: "Gi0/0" + hold: "10" + uptime: "00:12:45" + srtt: "19" + rto: "100" + q_cnt: "0" + seq_num: "11" + - as: "1" + address: "192.168.2.2" + interface: "Gi0/1" + hold: "12" + uptime: "00:11:24" + srtt: "14" + rto: "100" + q_cnt: "0" + seq_num: "10" diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.parsed b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.parsed deleted file mode 100644 index 51c191df8b..0000000000 --- a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.parsed +++ /dev/null @@ -1,124 +0,0 @@ ---- - -parsed_sample: - - -- as: '10' - address: '10.1.1.122' - interface: 'Tu15' - hold: '44' - uptime: '1d01h' - srtt: '114' - rto: '684' - q_cnt: '0' - seq_num: '21930' - -- as: '10' - address: '10.1.1.34' - interface: 'Tu117' - hold: '38' - uptime: '1w6d' - srtt: '157' - rto: '942' - q_cnt: '0' - seq_num: '7449' - -- as: '10' - address: '10.1.1.142' - interface: 'Tu12' - hold: '35' - uptime: '2w5d' - srtt: '141' - rto: '846' - q_cnt: '0' - seq_num: '3728' - -- as: '10' - address: '10.1.1.194' - interface: 'Tu11' - hold: '38' - uptime: '4w3d' - srtt: '145' - rto: '870' - q_cnt: '0' - seq_num: '10023' - -- as: '10' - address: '10.1.1.182' - interface: 'Tu13' - hold: '43' - uptime: '13w3d' - srtt: '124' - rto: '744' - q_cnt: '0' - seq_num: '25875' - -- as: '10' - address: '10.1.1.230' - interface: 'Tu14' - hold: '36' - uptime: '14w2d' - srtt: '93' - rto: '558' - q_cnt: '0' - seq_num: '5719' - -- as: '10' - address: '192.168.1.239' - interface: 'Gi0/0/2' - hold: '11' - uptime: '1y17w' - srtt: '1' - rto: '100' - q_cnt: '0' - seq_num: '1915033' - -- as: '10' - address: '192.168.2.239' - interface: 'Gi0/0/1' - hold: '12' - uptime: '1y17w' - srtt: '1' - rto: '100' - q_cnt: '0' - seq_num: '1915035' - -- as: '10' - address: '192.168.2.247' - interface: 'Gi0/0/1' - hold: '12' - uptime: '2y33w' - srtt: '5' - rto: '100' - q_cnt: '0' - seq_num: '1290079' - -- as: '10' - address: '192.168.1.247' - interface: 'Gi0/0/2' - hold: '13' - uptime: '2y33w' - srtt: '4' - rto: '100' - q_cnt: '0' - seq_num: '1290080' - -- as: '10' - address: '192.168.1.248' - interface: 'Gi0/0/2' - hold: '14' - uptime: '3y20w' - srtt: '10' - rto: '100' - q_cnt: '0' - seq_num: '1290726' - -- as: '10' - address: '192.168.2.248' - interface: 'Gi0/0/1' - hold: '12' - uptime: '3y20w' - srtt: '7' - rto: '100' - q_cnt: '0' - seq_num: '1290724' \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.yml b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.yml new file mode 100644 index 0000000000..8ae5dcb514 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors1.yml @@ -0,0 +1,110 @@ +--- +parsed_sample: + - as: "10" + address: "10.1.1.122" + interface: "Tu15" + hold: "44" + uptime: "1d01h" + srtt: "114" + rto: "684" + q_cnt: "0" + seq_num: "21930" + - as: "10" + address: "10.1.1.34" + interface: "Tu117" + hold: "38" + uptime: "1w6d" + srtt: "157" + rto: "942" + q_cnt: "0" + seq_num: "7449" + - as: "10" + address: "10.1.1.142" + interface: "Tu12" + hold: "35" + uptime: "2w5d" + srtt: "141" + rto: "846" + q_cnt: "0" + seq_num: "3728" + - as: "10" + address: "10.1.1.194" + interface: "Tu11" + hold: "38" + uptime: "4w3d" + srtt: "145" + rto: "870" + q_cnt: "0" + seq_num: "10023" + - as: "10" + address: "10.1.1.182" + interface: "Tu13" + hold: "43" + uptime: "13w3d" + srtt: "124" + rto: "744" + q_cnt: "0" + seq_num: "25875" + - as: "10" + address: "10.1.1.230" + interface: "Tu14" + hold: "36" + uptime: "14w2d" + srtt: "93" + rto: "558" + q_cnt: "0" + seq_num: "5719" + - as: "10" + address: "192.168.1.239" + interface: "Gi0/0/2" + hold: "11" + uptime: "1y17w" + srtt: "1" + rto: "100" + q_cnt: "0" + seq_num: "1915033" + - as: "10" + address: "192.168.2.239" + interface: "Gi0/0/1" + hold: "12" + uptime: "1y17w" + srtt: "1" + rto: "100" + q_cnt: "0" + seq_num: "1915035" + - as: "10" + address: "192.168.2.247" + interface: "Gi0/0/1" + hold: "12" + uptime: "2y33w" + srtt: "5" + rto: "100" + q_cnt: "0" + seq_num: "1290079" + - as: "10" + address: "192.168.1.247" + interface: "Gi0/0/2" + hold: "13" + uptime: "2y33w" + srtt: "4" + rto: "100" + q_cnt: "0" + seq_num: "1290080" + - as: "10" + address: "192.168.1.248" + interface: "Gi0/0/2" + hold: "14" + uptime: "3y20w" + srtt: "10" + rto: "100" + q_cnt: "0" + seq_num: "1290726" + - as: "10" + address: "192.168.2.248" + interface: "Gi0/0/1" + hold: "12" + uptime: "3y20w" + srtt: "7" + rto: "100" + q_cnt: "0" + seq_num: "1290724" diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed deleted file mode 100644 index 68bc105a51..0000000000 --- a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.parsed +++ /dev/null @@ -1,86 +0,0 @@ ---- -parsed_sample: - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['TenGigabitEthernet1/1', 'TenGigabitEthernet2/1'] - route: "66.128.208.232" - mask: "32" - adv_router: ['10.254.11.9', '10.254.11.33'] - process_id: "100" - fd: "264448" - tag: "" - successors: "2" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['Port-channel10'] - route: "10.254.6.8" - mask: "30" - adv_router: ['10.254.6.14'] - process_id: "100" - fd: "1024" - tag: "" - successors: "1" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['TenGigabitEthernet1/1', 'TenGigabitEthernet2/1'] - route: "67.230.223.128" - mask: "28" - adv_router: ['10.254.11.9', '10.254.11.33'] - process_id: "100" - fd: "5632" - tag: "53471" - successors: "2" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['GigabitEthernet9/29'] - route: "10.255.10.5" - mask: "32" - adv_router: ['10.254.10.34'] - process_id: "100" - fd: "130816" - tag: "" - successors: "1" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['Port-channel3'] - route: "10.255.1.14" - mask: "32" - adv_router: ['10.254.1.34'] - process_id: "100" - fd: "128768" - tag: "" - successors: "1" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['TenGigabitEthernet3/3'] - route: "10.254.2.12" - mask: "30" - adv_router: ['10.254.2.22'] - process_id: "100" - fd: "768" - tag: "" - successors: "1" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['TenGigabitEthernet1/4', 'TenGigabitEthernet1/6', 'TenGigabitEthernet2/1', 'TenGigabitEthernet1/1', 'TenGigabitEthernet1/5', 'TenGigabitEthernet4/4', 'TenGigabitEthernet4/5', 'TenGigabitEthernet1/3'] - route: "10.255.11.4" - mask: "32" - adv_router: ['10.254.56.6', '10.254.55.6', '10.254.11.33', '10.254.11.9', '10.254.52.6', '10.254.4.10', '10.254.4.14', '10.254.54.6'] - process_id: "100" - fd: "128768" - tag: "" - successors: "4" - source: "" diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml new file mode 100644 index 0000000000..577df7624c --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml @@ -0,0 +1,111 @@ +--- +parsed_sample: + - process_id: "100" + router_id: "10.255.11.6" + code: "P" + route: "66.128.208.232" + mask: "32" + successors: "2" + fd: "264448" + tag: "" + adv_router: + - "10.254.11.9" + - "10.254.11.33" + out_interface: + - "TenGigabitEthernet1/1" + - "TenGigabitEthernet2/1" + source: "" + - process_id: "100" + router_id: "10.255.11.6" + code: "P" + route: "10.254.6.8" + mask: "30" + successors: "1" + fd: "1024" + tag: "" + adv_router: + - "10.254.6.14" + out_interface: + - "Port-channel10" + source: "" + - process_id: "100" + router_id: "10.255.11.6" + code: "P" + route: "67.230.223.128" + mask: "28" + successors: "2" + fd: "5632" + tag: "53471" + adv_router: + - "10.254.11.9" + - "10.254.11.33" + out_interface: + - "TenGigabitEthernet1/1" + - "TenGigabitEthernet2/1" + source: "" + - process_id: "100" + router_id: "10.255.11.6" + code: "P" + route: "10.255.10.5" + mask: "32" + successors: "1" + fd: "130816" + tag: "" + adv_router: + - "10.254.10.34" + out_interface: + - "GigabitEthernet9/29" + source: "" + - process_id: "100" + router_id: "10.255.11.6" + code: "P" + route: "10.255.1.14" + mask: "32" + successors: "1" + fd: "128768" + tag: "" + adv_router: + - "10.254.1.34" + out_interface: + - "Port-channel3" + source: "" + - process_id: "100" + router_id: "10.255.11.6" + code: "P" + route: "10.254.2.12" + mask: "30" + successors: "1" + fd: "768" + tag: "" + adv_router: + - "10.254.2.22" + out_interface: + - "TenGigabitEthernet3/3" + source: "" + - process_id: "100" + router_id: "10.255.11.6" + code: "P" + route: "10.255.11.4" + mask: "32" + successors: "4" + fd: "128768" + tag: "" + adv_router: + - "10.254.56.6" + - "10.254.55.6" + - "10.254.11.33" + - "10.254.11.9" + - "10.254.52.6" + - "10.254.4.10" + - "10.254.4.14" + - "10.254.54.6" + out_interface: + - "TenGigabitEthernet1/4" + - "TenGigabitEthernet1/6" + - "TenGigabitEthernet2/1" + - "TenGigabitEthernet1/1" + - "TenGigabitEthernet1/5" + - "TenGigabitEthernet4/4" + - "TenGigabitEthernet4/5" + - "TenGigabitEthernet1/3" + source: "" diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.parsed b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.parsed deleted file mode 100644 index 4e85d97b81..0000000000 --- a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.parsed +++ /dev/null @@ -1,134 +0,0 @@ ---- -parsed_sample: - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['TenGigabitEthernet1/1', 'TenGigabitEthernet2/1'] - route: "66.128.208.232" - mask: "32" - adv_router: ['10.254.11.9', '10.254.11.33'] - process_id: "100" - fd: "264448" - tag: "" - successors: "2" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['Port-channel10'] - route: "10.254.6.8" - mask: "30" - adv_router: ['10.254.6.14'] - process_id: "100" - fd: "1024" - tag: "" - successors: "1" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['TenGigabitEthernet1/1', 'TenGigabitEthernet2/1'] - route: "67.230.223.128" - mask: "28" - adv_router: ['10.254.11.9', '10.254.11.33'] - process_id: "100" - fd: "5632" - tag: "53471" - successors: "2" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['GigabitEthernet9/29'] - route: "10.255.10.5" - mask: "32" - adv_router: ['10.254.10.34'] - process_id: "100" - fd: "130816" - tag: "" - successors: "1" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['Port-channel3'] - route: "10.255.1.14" - mask: "32" - adv_router: ['10.254.1.34'] - process_id: "100" - fd: "128768" - tag: "" - successors: "1" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['TenGigabitEthernet3/3'] - route: "10.254.2.12" - mask: "30" - adv_router: ['10.254.2.22'] - process_id: "100" - fd: "768" - tag: "" - successors: "1" - source: "" - -- router_id: "10.255.11.6" - code: "P" - out_interface: ['TenGigabitEthernet1/4', 'TenGigabitEthernet1/6', 'TenGigabitEthernet2/1', 'TenGigabitEthernet1/1', 'TenGigabitEthernet1/5', 'TenGigabitEthernet4/4', 'TenGigabitEthernet4/5', 'TenGigabitEthernet1/3'] - route: "10.255.11.4" - mask: "32" - adv_router: ['10.254.56.6', '10.254.55.6', '10.254.11.33', '10.254.11.9', '10.254.52.6', '10.254.4.10', '10.254.4.14', '10.254.54.6'] - process_id: "100" - fd: "128768" - tag: "" - successors: "4" - source: "" - -- router_id: "10.2.0.1" - code: "P" - out_interface: ['GigabitEthernet1/1', 'GigabitEthernet1/2'] - route: "10.50.20.4" - mask: "32" - adv_router: ['10.4.0.1', '10.4.0.2'] - process_id: "65000" - fd: "128039168" - tag: "" - successors: "2" - source: "" - -- router_id: "10.2.0.1" - code: "P" - out_interface: ['GigabitEthernet1/1', 'GigabitEthernet1/2'] - route: "10.50.21.0" - mask: "27" - adv_router: ['10.4.0.1', '10.4.0.2'] - process_id: "65000" - fd: "Inaccessible" - tag: "6508497" - successors: "0" - source: "" - -- router_id: "10.2.0.1" - code: "P" - out_interface: [] - route: "10.50.75.0" - mask: "24" - adv_router: [] - process_id: "65000" - fd: "2816" - tag: "" - successors: "1" - source: "Rstatic" - -- router_id: "10.2.0.1" - code: "P" - out_interface: [] - route: "10.50.23.92" - mask: "30" - adv_router: [] - process_id: "65000" - fd: "3840256" - tag: "5507497" - successors: "1" - source: "Redistributed" \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml new file mode 100644 index 0000000000..e252f0e947 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml @@ -0,0 +1,163 @@ +--- +parsed_sample: + - router_id: "10.255.11.6" + code: "P" + out_interface: + - "TenGigabitEthernet1/1" + - "TenGigabitEthernet2/1" + route: "66.128.208.232" + mask: "32" + adv_router: + - "10.254.11.9" + - "10.254.11.33" + process_id: "100" + fd: "264448" + tag: "" + successors: "2" + source: "" + - router_id: "10.255.11.6" + code: "P" + out_interface: + - "Port-channel10" + route: "10.254.6.8" + mask: "30" + adv_router: + - "10.254.6.14" + process_id: "100" + fd: "1024" + tag: "" + successors: "1" + source: "" + - router_id: "10.255.11.6" + code: "P" + out_interface: + - "TenGigabitEthernet1/1" + - "TenGigabitEthernet2/1" + route: "67.230.223.128" + mask: "28" + adv_router: + - "10.254.11.9" + - "10.254.11.33" + process_id: "100" + fd: "5632" + tag: "53471" + successors: "2" + source: "" + - router_id: "10.255.11.6" + code: "P" + out_interface: + - "GigabitEthernet9/29" + route: "10.255.10.5" + mask: "32" + adv_router: + - "10.254.10.34" + process_id: "100" + fd: "130816" + tag: "" + successors: "1" + source: "" + - router_id: "10.255.11.6" + code: "P" + out_interface: + - "Port-channel3" + route: "10.255.1.14" + mask: "32" + adv_router: + - "10.254.1.34" + process_id: "100" + fd: "128768" + tag: "" + successors: "1" + source: "" + - router_id: "10.255.11.6" + code: "P" + out_interface: + - "TenGigabitEthernet3/3" + route: "10.254.2.12" + mask: "30" + adv_router: + - "10.254.2.22" + process_id: "100" + fd: "768" + tag: "" + successors: "1" + source: "" + - router_id: "10.255.11.6" + code: "P" + out_interface: + - "TenGigabitEthernet1/4" + - "TenGigabitEthernet1/6" + - "TenGigabitEthernet2/1" + - "TenGigabitEthernet1/1" + - "TenGigabitEthernet1/5" + - "TenGigabitEthernet4/4" + - "TenGigabitEthernet4/5" + - "TenGigabitEthernet1/3" + route: "10.255.11.4" + mask: "32" + adv_router: + - "10.254.56.6" + - "10.254.55.6" + - "10.254.11.33" + - "10.254.11.9" + - "10.254.52.6" + - "10.254.4.10" + - "10.254.4.14" + - "10.254.54.6" + process_id: "100" + fd: "128768" + tag: "" + successors: "4" + source: "" + - router_id: "10.2.0.1" + code: "P" + out_interface: + - "GigabitEthernet1/1" + - "GigabitEthernet1/2" + route: "10.50.20.4" + mask: "32" + adv_router: + - "10.4.0.1" + - "10.4.0.2" + process_id: "65000" + fd: "128039168" + tag: "" + successors: "2" + source: "" + - router_id: "10.2.0.1" + code: "P" + out_interface: + - "GigabitEthernet1/1" + - "GigabitEthernet1/2" + route: "10.50.21.0" + mask: "27" + adv_router: + - "10.4.0.1" + - "10.4.0.2" + process_id: "65000" + fd: "Inaccessible" + tag: "6508497" + successors: "0" + source: "" + - router_id: "10.2.0.1" + code: "P" + out_interface: [] + route: "10.50.75.0" + mask: "24" + adv_router: [] + process_id: "65000" + fd: "2816" + tag: "" + successors: "1" + source: "Rstatic" + - router_id: "10.2.0.1" + code: "P" + out_interface: [] + route: "10.50.23.92" + mask: "30" + adv_router: [] + process_id: "65000" + fd: "3840256" + tag: "5507497" + successors: "1" + source: "Redistributed" diff --git a/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.parsed b/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.parsed deleted file mode 100755 index cfe1563670..0000000000 --- a/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.parsed +++ /dev/null @@ -1,20 +0,0 @@ ---- -parsed_sample: - -- src_port: '07C1' - pkt: '414' - proto: '11' - src_intf: 'Gi0/2/0.30' - dst_intf: 'Null' - src_ipaddr: '10.2.100.83' - dst_port: '07C1' - dst_ipaddr: '224.0.0.2' - -- src_port: '07C1' - pkt: '410' - proto: '11' - src_intf: 'Gi0/2/0.40' - dst_intf: 'Null' - src_ipaddr: '10.2.100.99' - dst_port: '07C1' - dst_ipaddr: '224.0.0.2' diff --git a/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.yml b/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.yml new file mode 100755 index 0000000000..6fc8be1bb3 --- /dev/null +++ b/tests/cisco_ios/show_ip_flow_toptalkers/cisco_ios_show_ip_flow_toptalkers.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - src_port: "07C1" + pkt: "414" + proto: "11" + src_intf: "Gi0/2/0.30" + dst_intf: "Null" + src_ipaddr: "10.2.100.83" + dst_port: "07C1" + dst_ipaddr: "224.0.0.2" + - src_port: "07C1" + pkt: "410" + proto: "11" + src_intf: "Gi0/2/0.40" + dst_intf: "Null" + src_ipaddr: "10.2.100.99" + dst_port: "07C1" + dst_ipaddr: "224.0.0.2" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed deleted file mode 100644 index 4093352e54..0000000000 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.parsed +++ /dev/null @@ -1,834 +0,0 @@ ---- - -parsed_sample: - -- intf: 'GigabitEthernet0/0/0' - link_status: 'administratively down' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'GigabitEthernet0/0/1' - link_status: 'administratively down' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'GigabitEthernet0/0/2' - link_status: 'administratively down' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'GigabitEthernet0/0/3' - link_status: 'administratively down' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'GigabitEthernet0/0/4' - link_status: 'administratively down' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'GigabitEthernet0/0/5' - link_status: 'administratively down' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'TenGigabitEthernet0/1/0' - link_status: 'up' - protocol_status: 'up' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'TenGigabitEthernet0/2/0' - link_status: 'up' - protocol_status: 'up' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'TenGigabitEthernet0/3/0' - link_status: 'up' - protocol_status: 'up' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'GigabitEthernet0' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['172.21.2.3'] - mask: ['24'] - vrf: 'Mgmt-intf' - mtu: '1500' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Loopback0' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.255.249'] - mask: ['32'] - vrf: '' - mtu: '1514' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Loopback1' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.255.1'] - mask: ['32'] - vrf: '' - mtu: '1514' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Loopback505' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['192.168.100.100'] - mask: ['32'] - vrf: 'DATA' - mtu: '1514' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Loopback506' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['192.168.200.100'] - mask: ['32'] - vrf: 'SIG' - mtu: '1514' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Loopback1001' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['172.18.0.24'] - mask: ['32'] - vrf: 'MYCOMPANY' - mtu: '1514' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Loopback5999' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['172.22.255.255'] - mask: ['32'] - vrf: 'VRF_WL_SIG' - mtu: '1514' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Loopback12345' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.245.1'] - mask: ['32'] - vrf: '7650C2814C784BACBBE23BB30B47D3A1' - mtu: '1514' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1' - link_status: 'up' - protocol_status: 'up' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.10' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['172.18.16.42'] - mask: ['29'] - vrf: 'MYCOMPANY' - mtu: '9000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.102' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.254.61'] - mask: ['31'] - vrf: '' - mtu: '8000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.105' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['172.20.0.149'] - mask: ['30'] - vrf: 'MYCOMPANY' - mtu: '1500' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.106' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.254.65'] - mask: ['31'] - vrf: '' - mtu: '8000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.107' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['172.20.2.1'] - mask: ['30'] - vrf: 'MYCOMPANY' - mtu: '1500' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.501' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['169.254.0.114'] - mask: ['29'] - vrf: 'C617529B810A48F6AD40FEBCB163B286' - mtu: '9000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.502' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.504' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['169.254.0.1'] - mask: ['30'] - vrf: '7650C2814C784BACBBE23BB30B47D3A1' - mtu: '9000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.523' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.524' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.527' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.528' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.533' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.535' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['169.254.0.1'] - mask: ['30'] - vrf: '6281BBEF467947E4949F989BBC891138' - mtu: '9000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.536' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.537' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.538' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.601' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['169.254.0.50'] - mask: ['29'] - vrf: 'C617529B810A48F6AD40FEBCB163B286' - mtu: '9000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.602' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.614' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.615' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.618' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.619' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.620' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['169.254.0.5'] - mask: ['30'] - vrf: '6281BBEF467947E4949F989BBC891138' - mtu: '9000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.621' - link_status: 'deleted' - protocol_status: 'down' - ipaddr: [] - mask: [] - vrf: '' - mtu: '' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.1012' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.254.103'] - mask: ['31'] - vrf: '' - mtu: '8000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.1013' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.254.94'] - mask: ['31'] - vrf: '' - mtu: '8000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.1014' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.254.17'] - mask: ['31'] - vrf: '' - mtu: '8000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.1087' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.255.53'] - mask: ['31'] - vrf: '' - mtu: '8000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.3201' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.254.0'] - mask: ['31'] - vrf: '' - mtu: '8000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.3202' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.254.2'] - mask: ['31'] - vrf: '' - mtu: '8000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.3204' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.254.4'] - mask: ['31'] - vrf: '' - mtu: '8000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.3251' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['172.19.0.90'] - mask: ['31'] - vrf: 'MYCOMPANY' - mtu: '8000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Port-channel1.3262' - link_status: 'administratively down' - protocol_status: 'down' - ipaddr: ['88.16.234.10'] - mask: ['29'] - vrf: '' - mtu: '9000' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Tunnel5001' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['169.254.64.0'] - mask: ['31'] - vrf: 'MYCOMPANY' - mtu: '1472' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Tunnel5002' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['169.254.64.4'] - mask: ['31'] - vrf: 'MYCOMPANY' - mtu: '1472' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Tunnel5010' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['169.254.64.36'] - mask: ['31'] - vrf: 'MYCOMPANY' - mtu: '1472' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Tunnel6001' - link_status: 'up' - protocol_status: 'down' - ipaddr: ['169.254.64.2'] - mask: ['31'] - vrf: 'MYCOMPANY' - mtu: '1472' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'Tunnel6002' - link_status: 'up' - protocol_status: 'down' - ipaddr: ['169.254.64.6'] - mask: ['31'] - vrf: 'MYCOMPANY' - mtu: '1472' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft1' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.254.10'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft21' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.2'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft22' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.64'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft23' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.102'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft24' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.82'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft25' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.74'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft26' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.130'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft27' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.158'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft28' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.162'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft29' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.174'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft30' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.194'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft31' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.214'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasileft32' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.1.2'] - mask: ['31'] - vrf: '' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright1' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['88.16.254.11'] - mask: ['31'] - vrf: 'MYCOMPANY' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright21' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.3'] - mask: ['31'] - vrf: 'C617529B810A48F6AD40FEBCB163B286' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright22' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.65'] - mask: ['31'] - vrf: '28FBAE630B934EB5AFA7FCE43E52393E' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright23' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.103'] - mask: ['31'] - vrf: '4CB342232A7B4D04ADEF7DE3EC2679EC' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright24' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.83'] - mask: ['31'] - vrf: 'F76D90EAB6474F5BBB433939BA52FB14' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright25' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.75'] - mask: ['31'] - vrf: '6281BBEF467947E4949F989BBC891138' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright26' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.131'] - mask: ['31'] - vrf: '7650C2814C784BACBBE23BB30B47D3A1' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright27' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.159'] - mask: ['31'] - vrf: 'AF1C8AE356D94BBBB377257D047D3D4D' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright28' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.163'] - mask: ['31'] - vrf: '41ECD4DB33314E949FD8D96D98252919' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright29' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.175'] - mask: ['31'] - vrf: 'A1E5B05D1D914A109BE1EE71B7C994B7' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright30' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.195'] - mask: ['31'] - vrf: 'CC462DCE24DD43B28EA8EA9BAD49044E' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright31' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.0.215'] - mask: ['31'] - vrf: 'C5DE7D3B149B4AF7BF398F45F0AD90A6' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' -- intf: 'vasiright32' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['100.66.1.3'] - mask: ['31'] - vrf: '8B3C2CFAD23841D1BC9FA2A178BA5855' - mtu: '9216' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.yml new file mode 100644 index 0000000000..79eac53477 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.yml @@ -0,0 +1,948 @@ +--- +parsed_sample: + - intf: "GigabitEthernet0/0/0" + link_status: "administratively down" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "GigabitEthernet0/0/1" + link_status: "administratively down" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "GigabitEthernet0/0/2" + link_status: "administratively down" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "GigabitEthernet0/0/3" + link_status: "administratively down" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "GigabitEthernet0/0/4" + link_status: "administratively down" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "GigabitEthernet0/0/5" + link_status: "administratively down" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "TenGigabitEthernet0/1/0" + link_status: "up" + protocol_status: "up" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "TenGigabitEthernet0/2/0" + link_status: "up" + protocol_status: "up" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "TenGigabitEthernet0/3/0" + link_status: "up" + protocol_status: "up" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "GigabitEthernet0" + link_status: "up" + protocol_status: "up" + ipaddr: + - "172.21.2.3" + mask: + - "24" + vrf: "Mgmt-intf" + mtu: "1500" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Loopback0" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.255.249" + mask: + - "32" + vrf: "" + mtu: "1514" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Loopback1" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.255.1" + mask: + - "32" + vrf: "" + mtu: "1514" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Loopback505" + link_status: "up" + protocol_status: "up" + ipaddr: + - "192.168.100.100" + mask: + - "32" + vrf: "DATA" + mtu: "1514" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Loopback506" + link_status: "up" + protocol_status: "up" + ipaddr: + - "192.168.200.100" + mask: + - "32" + vrf: "SIG" + mtu: "1514" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Loopback1001" + link_status: "up" + protocol_status: "up" + ipaddr: + - "172.18.0.24" + mask: + - "32" + vrf: "MYCOMPANY" + mtu: "1514" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Loopback5999" + link_status: "up" + protocol_status: "up" + ipaddr: + - "172.22.255.255" + mask: + - "32" + vrf: "VRF_WL_SIG" + mtu: "1514" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Loopback12345" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.245.1" + mask: + - "32" + vrf: "7650C2814C784BACBBE23BB30B47D3A1" + mtu: "1514" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1" + link_status: "up" + protocol_status: "up" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.10" + link_status: "up" + protocol_status: "up" + ipaddr: + - "172.18.16.42" + mask: + - "29" + vrf: "MYCOMPANY" + mtu: "9000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.102" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.254.61" + mask: + - "31" + vrf: "" + mtu: "8000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.105" + link_status: "up" + protocol_status: "up" + ipaddr: + - "172.20.0.149" + mask: + - "30" + vrf: "MYCOMPANY" + mtu: "1500" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.106" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.254.65" + mask: + - "31" + vrf: "" + mtu: "8000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.107" + link_status: "up" + protocol_status: "up" + ipaddr: + - "172.20.2.1" + mask: + - "30" + vrf: "MYCOMPANY" + mtu: "1500" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.501" + link_status: "up" + protocol_status: "up" + ipaddr: + - "169.254.0.114" + mask: + - "29" + vrf: "C617529B810A48F6AD40FEBCB163B286" + mtu: "9000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.502" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.504" + link_status: "up" + protocol_status: "up" + ipaddr: + - "169.254.0.1" + mask: + - "30" + vrf: "7650C2814C784BACBBE23BB30B47D3A1" + mtu: "9000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.523" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.524" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.527" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.528" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.533" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.535" + link_status: "up" + protocol_status: "up" + ipaddr: + - "169.254.0.1" + mask: + - "30" + vrf: "6281BBEF467947E4949F989BBC891138" + mtu: "9000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.536" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.537" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.538" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.601" + link_status: "up" + protocol_status: "up" + ipaddr: + - "169.254.0.50" + mask: + - "29" + vrf: "C617529B810A48F6AD40FEBCB163B286" + mtu: "9000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.602" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.614" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.615" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.618" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.619" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.620" + link_status: "up" + protocol_status: "up" + ipaddr: + - "169.254.0.5" + mask: + - "30" + vrf: "6281BBEF467947E4949F989BBC891138" + mtu: "9000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.621" + link_status: "deleted" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.1012" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.254.103" + mask: + - "31" + vrf: "" + mtu: "8000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.1013" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.254.94" + mask: + - "31" + vrf: "" + mtu: "8000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.1014" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.254.17" + mask: + - "31" + vrf: "" + mtu: "8000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.1087" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.255.53" + mask: + - "31" + vrf: "" + mtu: "8000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.3201" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.254.0" + mask: + - "31" + vrf: "" + mtu: "8000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.3202" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.254.2" + mask: + - "31" + vrf: "" + mtu: "8000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.3204" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.254.4" + mask: + - "31" + vrf: "" + mtu: "8000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.3251" + link_status: "up" + protocol_status: "up" + ipaddr: + - "172.19.0.90" + mask: + - "31" + vrf: "MYCOMPANY" + mtu: "8000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Port-channel1.3262" + link_status: "administratively down" + protocol_status: "down" + ipaddr: + - "88.16.234.10" + mask: + - "29" + vrf: "" + mtu: "9000" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Tunnel5001" + link_status: "up" + protocol_status: "up" + ipaddr: + - "169.254.64.0" + mask: + - "31" + vrf: "MYCOMPANY" + mtu: "1472" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Tunnel5002" + link_status: "up" + protocol_status: "up" + ipaddr: + - "169.254.64.4" + mask: + - "31" + vrf: "MYCOMPANY" + mtu: "1472" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Tunnel5010" + link_status: "up" + protocol_status: "up" + ipaddr: + - "169.254.64.36" + mask: + - "31" + vrf: "MYCOMPANY" + mtu: "1472" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Tunnel6001" + link_status: "up" + protocol_status: "down" + ipaddr: + - "169.254.64.2" + mask: + - "31" + vrf: "MYCOMPANY" + mtu: "1472" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "Tunnel6002" + link_status: "up" + protocol_status: "down" + ipaddr: + - "169.254.64.6" + mask: + - "31" + vrf: "MYCOMPANY" + mtu: "1472" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft1" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.254.10" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft21" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.2" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft22" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.64" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft23" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.102" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft24" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.82" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft25" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.74" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft26" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.130" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft27" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.158" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft28" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.162" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft29" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.174" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft30" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.194" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft31" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.214" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasileft32" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.1.2" + mask: + - "31" + vrf: "" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright1" + link_status: "up" + protocol_status: "up" + ipaddr: + - "88.16.254.11" + mask: + - "31" + vrf: "MYCOMPANY" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright21" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.3" + mask: + - "31" + vrf: "C617529B810A48F6AD40FEBCB163B286" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright22" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.65" + mask: + - "31" + vrf: "28FBAE630B934EB5AFA7FCE43E52393E" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright23" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.103" + mask: + - "31" + vrf: "4CB342232A7B4D04ADEF7DE3EC2679EC" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright24" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.83" + mask: + - "31" + vrf: "F76D90EAB6474F5BBB433939BA52FB14" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright25" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.75" + mask: + - "31" + vrf: "6281BBEF467947E4949F989BBC891138" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright26" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.131" + mask: + - "31" + vrf: "7650C2814C784BACBBE23BB30B47D3A1" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright27" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.159" + mask: + - "31" + vrf: "AF1C8AE356D94BBBB377257D047D3D4D" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright28" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.163" + mask: + - "31" + vrf: "41ECD4DB33314E949FD8D96D98252919" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright29" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.175" + mask: + - "31" + vrf: "A1E5B05D1D914A109BE1EE71B7C994B7" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright30" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.195" + mask: + - "31" + vrf: "CC462DCE24DD43B28EA8EA9BAD49044E" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright31" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.0.215" + mask: + - "31" + vrf: "C5DE7D3B149B4AF7BF398F45F0AD90A6" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" + - intf: "vasiright32" + link_status: "up" + protocol_status: "up" + ipaddr: + - "100.66.1.3" + mask: + - "31" + vrf: "8B3C2CFAD23841D1BC9FA2A178BA5855" + mtu: "9216" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.parsed deleted file mode 100644 index ba6328b899..0000000000 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.parsed +++ /dev/null @@ -1,101 +0,0 @@ ---- -parsed_sample: - -- inbound_acl: "" - intf: "GigabitEthernet2/23" - ipaddr: [] - ip_helper: [] - link_status: "up" - mask: [] - mtu: "" - outgoing_acl: "" - protocol_status: "up" - vrf: "" - -- inbound_acl: "" - intf: "GigabitEthernet2/24" - ipaddr: [] - ip_helper: [] - link_status: "administratively down" - mask: [] - mtu: "" - outgoing_acl: "" - protocol_status: "down" - vrf: "" - -- inbound_acl: "" - intf: "GigabitEthernet2/25" - ipaddr: ["192.168.102.45"] - ip_helper: [] - link_status: "up" - mask: ["30"] - mtu: "1500" - outgoing_acl: "" - protocol_status: "up" - vrf: "" - -- inbound_acl: "" - intf: "Tunnel0" - ipaddr: [] - ip_helper: [] - link_status: "up" - mask: [] - mtu: "1486" - outgoing_acl: "" - protocol_status: "up" - vrf: "" - -- inbound_acl: "" - intf: "Vlan1" - ipaddr: ["192.168.1.1", "192.168.1.3"] - ip_helper: ['192.168.1.27', '192.168.1.88', '10.17.5.255'] - link_status: "up" - mask: ["24", "24"] - mtu: "1500" - outgoing_acl: "" - protocol_status: "up" - vrf: "" - -- inbound_acl: "" - intf: "Vlan2" - ipaddr: ["192.168.2.1"] - ip_helper: ['192.168.1.27', '192.168.1.88'] - link_status: "administratively down" - mask: ["24"] - mtu: "1500" - outgoing_acl: "" - protocol_status: "down" - vrf: "" - -- inbound_acl: "ACL-IN" - intf: "TenGigabitEthernet0/1/0" - ipaddr: ["1.1.1.1"] - ip_helper: [] - link_status: "up" - mask: ["30"] - mtu: "1500" - outgoing_acl: "ACL-OUT" - protocol_status: "up" - vrf: "" - -- inbound_acl: "" - intf: "GigabitEthernet0" - ipaddr: [] - ip_helper: [] - link_status: "administratively down" - mask: [] - mtu: "" - outgoing_acl: "" - protocol_status: "down" - vrf: "" - -- inbound_acl: "" - intf: "Loopback0" - ipaddr: ["10.255.255.1"] - ip_helper: [] - link_status: "up" - mask: ["32"] - mtu: "1514" - outgoing_acl: "" - protocol_status: "up" - vrf: "" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.yml new file mode 100644 index 0000000000..436ef4c0d9 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.yml @@ -0,0 +1,109 @@ +--- +parsed_sample: + - inbound_acl: "" + intf: "GigabitEthernet2/23" + ipaddr: [] + ip_helper: [] + link_status: "up" + mask: [] + mtu: "" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + - inbound_acl: "" + intf: "GigabitEthernet2/24" + ipaddr: [] + ip_helper: [] + link_status: "administratively down" + mask: [] + mtu: "" + outgoing_acl: "" + protocol_status: "down" + vrf: "" + - inbound_acl: "" + intf: "GigabitEthernet2/25" + ipaddr: + - "192.168.102.45" + ip_helper: [] + link_status: "up" + mask: + - "30" + mtu: "1500" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + - inbound_acl: "" + intf: "Tunnel0" + ipaddr: [] + ip_helper: [] + link_status: "up" + mask: [] + mtu: "1486" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + - inbound_acl: "" + intf: "Vlan1" + ipaddr: + - "192.168.1.1" + - "192.168.1.3" + ip_helper: + - "192.168.1.27" + - "192.168.1.88" + - "10.17.5.255" + link_status: "up" + mask: + - "24" + - "24" + mtu: "1500" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + - inbound_acl: "" + intf: "Vlan2" + ipaddr: + - "192.168.2.1" + ip_helper: + - "192.168.1.27" + - "192.168.1.88" + link_status: "administratively down" + mask: + - "24" + mtu: "1500" + outgoing_acl: "" + protocol_status: "down" + vrf: "" + - inbound_acl: "ACL-IN" + intf: "TenGigabitEthernet0/1/0" + ipaddr: + - "1.1.1.1" + ip_helper: [] + link_status: "up" + mask: + - "30" + mtu: "1500" + outgoing_acl: "ACL-OUT" + protocol_status: "up" + vrf: "" + - inbound_acl: "" + intf: "GigabitEthernet0" + ipaddr: [] + ip_helper: [] + link_status: "administratively down" + mask: [] + mtu: "" + outgoing_acl: "" + protocol_status: "down" + vrf: "" + - inbound_acl: "" + intf: "Loopback0" + ipaddr: + - "10.255.255.1" + ip_helper: [] + link_status: "up" + mask: + - "32" + mtu: "1514" + outgoing_acl: "" + protocol_status: "up" + vrf: "" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.parsed deleted file mode 100644 index 6179afc31d..0000000000 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.parsed +++ /dev/null @@ -1,13 +0,0 @@ ---- -parsed_sample: - -- intf: 'Loopback1001' - link_status: 'up' - protocol_status: 'up' - ipaddr: ['10.0.0.0'] - mask: ['32'] - vrf: '' - mtu: '1514' - ip_helper: [] - outgoing_acl: '' - inbound_acl: '' diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.yml new file mode 100644 index 0000000000..e65af5cb58 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - intf: "Loopback1001" + link_status: "up" + protocol_status: "up" + ipaddr: + - "10.0.0.0" + mask: + - "32" + vrf: "" + mtu: "1514" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed deleted file mode 100644 index 40a5bc5ec8..0000000000 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.parsed +++ /dev/null @@ -1,45 +0,0 @@ ---- -parsed_sample: - -- inbound_acl: '' - intf: Loopback0 - ip_helper: [] - ipaddr: - - 10.0.0.0 - link_status: up - mask: - - '32' - mtu: '1514' - outgoing_acl: '' - protocol_status: up - vrf: '' -- inbound_acl: '' - intf: Virtual-Access1 - ip_helper: [] - ipaddr: [] - link_status: up - mask: [] - mtu: '' - outgoing_acl: '' - protocol_status: up - vrf: '' -- inbound_acl: '' - intf: Virtual-Access2 - ip_helper: [] - ipaddr: [] - link_status: up - mask: [] - mtu: '' - outgoing_acl: '' - protocol_status: up - vrf: '' -- inbound_acl: '' - intf: 'Serial0/0/0:0' - ip_helper: [] - ipaddr: ['172.1.1.110'] - link_status: 'up' - mask: ['30'] - mtu: '' - outgoing_acl: '' - protocol_status: 'up' - vrf: '' diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.yml new file mode 100644 index 0000000000..35db263f65 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.yml @@ -0,0 +1,46 @@ +--- +parsed_sample: + - inbound_acl: "" + intf: "Loopback0" + ip_helper: [] + ipaddr: + - "10.0.0.0" + link_status: "up" + mask: + - "32" + mtu: "1514" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + - inbound_acl: "" + intf: "Virtual-Access1" + ip_helper: [] + ipaddr: [] + link_status: "up" + mask: [] + mtu: "" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + - inbound_acl: "" + intf: "Virtual-Access2" + ip_helper: [] + ipaddr: [] + link_status: "up" + mask: [] + mtu: "" + outgoing_acl: "" + protocol_status: "up" + vrf: "" + - inbound_acl: "" + intf: "Serial0/0/0:0" + ip_helper: [] + ipaddr: + - "172.1.1.110" + link_status: "up" + mask: + - "30" + mtu: "" + outgoing_acl: "" + protocol_status: "up" + vrf: "" diff --git a/tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.parsed b/tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.parsed deleted file mode 100644 index 0d21a93b03..0000000000 --- a/tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.parsed +++ /dev/null @@ -1,32 +0,0 @@ ---- -parsed_sample: - -- intf: Ethernet0/0 - ipaddr: unassigned - proto: up - status: up - -- intf: Ethernet0/0.11 - ipaddr: 10.0.1.38 - proto: up - status: up - -- intf: Ethernet0/1 - ipaddr: 1.1.1.1 - proto: up - status: up - -- intf: Ethernet0/2 - ipaddr: unassigned - proto: down - status: administratively down - -- intf: Ethernet0/3 - ipaddr: unassigned - proto: down - status: administratively down - -- intf: Loopback0 - ipaddr: 10.0.1.2 - proto: up - status: up diff --git a/tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.yml b/tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.yml new file mode 100644 index 0000000000..981d762865 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface_brief/cisco_ios_show_ip_interface_brief.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - intf: "Ethernet0/0" + ipaddr: "unassigned" + proto: "up" + status: "up" + - intf: "Ethernet0/0.11" + ipaddr: "10.0.1.38" + proto: "up" + status: "up" + - intf: "Ethernet0/1" + ipaddr: "1.1.1.1" + proto: "up" + status: "up" + - intf: "Ethernet0/2" + ipaddr: "unassigned" + proto: "down" + status: "administratively down" + - intf: "Ethernet0/3" + ipaddr: "unassigned" + proto: "down" + status: "administratively down" + - intf: "Loopback0" + ipaddr: "10.0.1.2" + proto: "up" + status: "up" diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.parsed b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.parsed deleted file mode 100644 index 7e843a41d6..0000000000 --- a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.parsed +++ /dev/null @@ -1,16 +0,0 @@ ---- -parsed_sample: - -- multicast_source_ip: "*" - multicast_group_ip: "224.0.1.40" - up_time: "01:04:48" - expiration_time: "00:02:41" - rendezvous_point: "172.16.1.1" - flags: "SJPCL" - incoming_interface: "FastEthernet0/1" - reverse_path_forwarding_neighbour_ip: "172.16.1.1" - registering: "" - outgoing_interface: [] - forward_mode: [] - outgoing_multicast_up_time: [] - outgoing_multicast_expiration_time: [] diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.yml b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.yml new file mode 100644 index 0000000000..14679a29f6 --- /dev/null +++ b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute1.yml @@ -0,0 +1,15 @@ +--- +parsed_sample: + - multicast_source_ip: "*" + multicast_group_ip: "224.0.1.40" + up_time: "01:04:48" + expiration_time: "00:02:41" + rendezvous_point: "172.16.1.1" + flags: "SJPCL" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.1.1" + registering: "" + outgoing_interface: [] + forward_mode: [] + outgoing_multicast_up_time: [] + outgoing_multicast_expiration_time: [] diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.parsed b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.yml similarity index 100% rename from tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.parsed rename to tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute2.yml diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed deleted file mode 100644 index e17153dbad..0000000000 --- a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.parsed +++ /dev/null @@ -1,86 +0,0 @@ ---- -parsed_sample: - -- multicast_source_ip: "*" - multicast_group_ip: "239.0.0.1" - up_time: "00:00:58" - expiration_time: "00:02:02" - rendezvous_point: "172.16.2.1" - flags: "SJC" - incoming_interface: "FastEthernet0/1" - reverse_path_forwarding_neighbour_ip: "172.16.2.1" - registering: "" - outgoing_interface: ["Vlan1"] - forward_mode: ["Forward/Sparse"] - outgoing_multicast_up_time: ["00:00:58"] - outgoing_multicast_expiration_time: ["00:02:02"] - -- multicast_source_ip: "*" - multicast_group_ip: "239.0.0.2" - up_time: "00:01:02" - expiration_time: "00:01:57" - rendezvous_point: "172.16.2.1" - flags: "SJC" - incoming_interface: "FastEthernet0/1" - reverse_path_forwarding_neighbour_ip: "172.16.2.1" - registering: "" - outgoing_interface: ["Vlan1"] - forward_mode: ["Forward/Sparse"] - outgoing_multicast_up_time: ["00:01:03"] - outgoing_multicast_expiration_time: ["00:01:57"] - -- multicast_source_ip: "*" - multicast_group_ip: "239.0.0.3" - up_time: "00:00:58" - expiration_time: "00:02:57" - rendezvous_point: "172.16.2.1" - flags: "SJC" - incoming_interface: "FastEthernet0/1" - reverse_path_forwarding_neighbour_ip: "172.16.2.1" - registering: "" - outgoing_interface: ["Vlan1", "Vlan2"] - forward_mode: ["Forward/Sparse", "Forward/Sparse"] - outgoing_multicast_up_time: ["00:00:58", "00:00:58"] - outgoing_multicast_expiration_time: ["00:02:57", "00:02:57"] - -- multicast_source_ip: "*" - multicast_group_ip: "239.0.0.4" - up_time: "00:00:04" - expiration_time: "stopped" - rendezvous_point: "172.16.2.1" - flags: "SPF" - incoming_interface: "FastEthernet0/1" - reverse_path_forwarding_neighbour_ip: "172.16.2.1" - registering: "" - outgoing_interface: [] - forward_mode: [] - outgoing_multicast_up_time: [] - outgoing_multicast_expiration_time: [] - -- multicast_source_ip: "192.168.2.44" - multicast_group_ip: "239.0.0.5" - up_time: "00:00:07" - expiration_time: "00:02:58" - rendezvous_point: "" - flags: "FT" - incoming_interface: "Vlan1" - reverse_path_forwarding_neighbour_ip: "0.0.0.0" - registering: "Registering" - outgoing_interface: ["FastEthernet0/1"] - forward_mode: ["Forward/Dense"] - outgoing_multicast_up_time: ["00:00:07"] - outgoing_multicast_expiration_time: ["00:00:00"] - -- multicast_source_ip: "*" - multicast_group_ip: "239.0.0.6" - up_time: "3d:14h" - expiration_time: "00:02:25" - rendezvous_point: "172.16.2.1" - flags: "SJPCL" - incoming_interface: "FastEthernet0/1" - reverse_path_forwarding_neighbour_ip: "172.16.2.1" - registering: "" - outgoing_interface: [] - forward_mode: [] - outgoing_multicast_up_time: [] - outgoing_multicast_expiration_time: [] diff --git a/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.yml b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.yml new file mode 100644 index 0000000000..bca5ae398a --- /dev/null +++ b/tests/cisco_ios/show_ip_mroute/cisco_ios_show_ip_mroute3.yml @@ -0,0 +1,100 @@ +--- +parsed_sample: + - multicast_source_ip: "*" + multicast_group_ip: "239.0.0.1" + up_time: "00:00:58" + expiration_time: "00:02:02" + rendezvous_point: "172.16.2.1" + flags: "SJC" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.2.1" + registering: "" + outgoing_interface: + - "Vlan1" + forward_mode: + - "Forward/Sparse" + outgoing_multicast_up_time: + - "00:00:58" + outgoing_multicast_expiration_time: + - "00:02:02" + - multicast_source_ip: "*" + multicast_group_ip: "239.0.0.2" + up_time: "00:01:02" + expiration_time: "00:01:57" + rendezvous_point: "172.16.2.1" + flags: "SJC" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.2.1" + registering: "" + outgoing_interface: + - "Vlan1" + forward_mode: + - "Forward/Sparse" + outgoing_multicast_up_time: + - "00:01:03" + outgoing_multicast_expiration_time: + - "00:01:57" + - multicast_source_ip: "*" + multicast_group_ip: "239.0.0.3" + up_time: "00:00:58" + expiration_time: "00:02:57" + rendezvous_point: "172.16.2.1" + flags: "SJC" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.2.1" + registering: "" + outgoing_interface: + - "Vlan1" + - "Vlan2" + forward_mode: + - "Forward/Sparse" + - "Forward/Sparse" + outgoing_multicast_up_time: + - "00:00:58" + - "00:00:58" + outgoing_multicast_expiration_time: + - "00:02:57" + - "00:02:57" + - multicast_source_ip: "*" + multicast_group_ip: "239.0.0.4" + up_time: "00:00:04" + expiration_time: "stopped" + rendezvous_point: "172.16.2.1" + flags: "SPF" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.2.1" + registering: "" + outgoing_interface: [] + forward_mode: [] + outgoing_multicast_up_time: [] + outgoing_multicast_expiration_time: [] + - multicast_source_ip: "192.168.2.44" + multicast_group_ip: "239.0.0.5" + up_time: "00:00:07" + expiration_time: "00:02:58" + rendezvous_point: "" + flags: "FT" + incoming_interface: "Vlan1" + reverse_path_forwarding_neighbour_ip: "0.0.0.0" + registering: "Registering" + outgoing_interface: + - "FastEthernet0/1" + forward_mode: + - "Forward/Dense" + outgoing_multicast_up_time: + - "00:00:07" + outgoing_multicast_expiration_time: + - "00:00:00" + - multicast_source_ip: "*" + multicast_group_ip: "239.0.0.6" + up_time: "3d:14h" + expiration_time: "00:02:25" + rendezvous_point: "172.16.2.1" + flags: "SJPCL" + incoming_interface: "FastEthernet0/1" + reverse_path_forwarding_neighbour_ip: "172.16.2.1" + registering: "" + outgoing_interface: [] + forward_mode: [] + outgoing_multicast_up_time: [] + outgoing_multicast_expiration_time: [] diff --git a/tests/cisco_ios/show_ip_ospf_database/cisco_ios_show_ip_ospf_database.parsed b/tests/cisco_ios/show_ip_ospf_database/cisco_ios_show_ip_ospf_database.parsed deleted file mode 100644 index 1ad4ccbd59..0000000000 --- a/tests/cisco_ios/show_ip_ospf_database/cisco_ios_show_ip_ospf_database.parsed +++ /dev/null @@ -1,59 +0,0 @@ ---- -parsed_sample: - -- router_id: '192.168.239.66' - process_id: '300' - area: '0.0.0.0' - link_id: '172.16.21.6' - adv_router: '172.16.21.6' - age: '1731' - link_count: '8' - tag: '' -- router_id: '192.168.239.66' - process_id: '300' - area: '0.0.0.0' - link_id: '172.16.21.5' - adv_router: '172.16.21.5' - age: '1112' - link_count: '5' - tag: '' -- router_id: '192.168.239.66' - process_id: '300' - area: '0.0.0.0' - link_id: '172.16.1.2' - adv_router: '172.16.1.2' - age: '1662' - link_count: '9' - tag: '' -- router_id: '192.168.239.66' - process_id: '300' - area: '0.0.0.0' - link_id: '172.16.1.3' - adv_router: '192.168.239.66' - age: '1245' - link_count: '' - tag: '' -- router_id: '192.168.239.66' - process_id: '300' - area: '0.0.0.0' - link_id: '172.16.240.0' - adv_router: '172.16.241.5' - age: '1152' - link_count: '' - tag: '' -- router_id: '192.168.239.66' - process_id: '300' - area: '1' - link_id: '172.16.240.0' - adv_router: '172.16.241.5' - age: '1152' - link_count: '' - tag: '' -- router_id: '192.168.239.66' - process_id: '300' - area: '1' - link_id: '172.16.241.0' - adv_router: '172.16.241.5' - age: '1152' - link_count: '' - tag: '' diff --git a/tests/cisco_ios/show_ip_ospf_database/cisco_ios_show_ip_ospf_database.yml b/tests/cisco_ios/show_ip_ospf_database/cisco_ios_show_ip_ospf_database.yml new file mode 100644 index 0000000000..52e73851f5 --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database/cisco_ios_show_ip_ospf_database.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - router_id: "192.168.239.66" + process_id: "300" + area: "0.0.0.0" + link_id: "172.16.21.6" + adv_router: "172.16.21.6" + age: "1731" + link_count: "8" + tag: "" + - router_id: "192.168.239.66" + process_id: "300" + area: "0.0.0.0" + link_id: "172.16.21.5" + adv_router: "172.16.21.5" + age: "1112" + link_count: "5" + tag: "" + - router_id: "192.168.239.66" + process_id: "300" + area: "0.0.0.0" + link_id: "172.16.1.2" + adv_router: "172.16.1.2" + age: "1662" + link_count: "9" + tag: "" + - router_id: "192.168.239.66" + process_id: "300" + area: "0.0.0.0" + link_id: "172.16.1.3" + adv_router: "192.168.239.66" + age: "1245" + link_count: "" + tag: "" + - router_id: "192.168.239.66" + process_id: "300" + area: "0.0.0.0" + link_id: "172.16.240.0" + adv_router: "172.16.241.5" + age: "1152" + link_count: "" + tag: "" + - router_id: "192.168.239.66" + process_id: "300" + area: "1" + link_id: "172.16.240.0" + adv_router: "172.16.241.5" + age: "1152" + link_count: "" + tag: "" + - router_id: "192.168.239.66" + process_id: "300" + area: "1" + link_id: "172.16.241.0" + adv_router: "172.16.241.5" + age: "1152" + link_count: "" + tag: "" diff --git a/tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.parsed b/tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.parsed deleted file mode 100644 index 1d790ab38e..0000000000 --- a/tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.parsed +++ /dev/null @@ -1,75 +0,0 @@ ---- -parsed_sample: - -- interface: 'Lo0' - area: '0' - ip_address_mask: '172.16.0.11/32' - cost: '1' - state: 'LOOP' - neighbors_fc: '0/0' -- interface: 'Se0/0/0.100' - area: '0' - ip_address_mask: '172.16.1.1/30' - cost: '50' - state: 'P2P' - neighbors_fc: '1/1' -- interface: 'Fa0/0' - area: '0' - ip_address_mask: '10.0.0.5/24' - cost: '1' - state: 'BDR' - neighbors_fc: '1/1' -- interface: 'Fa0/1' - area: '11' - ip_address_mask: '10.1.2.1/24' - cost: '1' - state: 'DR' - neighbors_fc: '0/0' -- interface: 'Tu1610' - area: '0' - ip_address_mask: '0.0.0.0/0' - cost: '50' - state: 'P2P' - neighbors_fc: '0/0' -- interface: 'Lo5' - area: '0' - ip_address_mask: '10.48.8.5/32' - cost: '1' - state: 'LOOP' - neighbors_fc: '0/0' -- interface: 'Lo4' - area: '0' - ip_address_mask: '10.48.8.4/32' - cost: '1' - state: 'LOOP' - neighbors_fc: '0/0' -- interface: 'Tu1603' - area: '0' - ip_address_mask: '0.0.0.0/0' - cost: '50' - state: 'DOWN' - neighbors_fc: '0/0' -- interface: 'Tu1602' - area: '0' - ip_address_mask: '0.0.0.0/0' - cost: '50' - state: 'P2P' - neighbors_fc: '0/0' -- interface: 'PO4/0' - area: '0' - ip_address_mask: '10.1.232.6/30' - cost: '6' - state: 'P2P' - neighbors_fc: '1/1' -- interface: 'Se3/2:0' - area: '0' - ip_address_mask: '10.1.224.218/30' - cost: '6' - state: 'P2P' - neighbors_fc: '1/1' -- interface: 'Se3/1:0' - area: '0' - ip_address_mask: '10.1.225.150/30' - cost: '6' - state: 'P2P' - neighbors_fc: '1/1' diff --git a/tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.yml b/tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.yml new file mode 100644 index 0000000000..ad02573841 --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_interface_brief/cisco_ios_show_ip_ospf_interface_brief.yml @@ -0,0 +1,74 @@ +--- +parsed_sample: + - interface: "Lo0" + area: "0" + ip_address_mask: "172.16.0.11/32" + cost: "1" + state: "LOOP" + neighbors_fc: "0/0" + - interface: "Se0/0/0.100" + area: "0" + ip_address_mask: "172.16.1.1/30" + cost: "50" + state: "P2P" + neighbors_fc: "1/1" + - interface: "Fa0/0" + area: "0" + ip_address_mask: "10.0.0.5/24" + cost: "1" + state: "BDR" + neighbors_fc: "1/1" + - interface: "Fa0/1" + area: "11" + ip_address_mask: "10.1.2.1/24" + cost: "1" + state: "DR" + neighbors_fc: "0/0" + - interface: "Tu1610" + area: "0" + ip_address_mask: "0.0.0.0/0" + cost: "50" + state: "P2P" + neighbors_fc: "0/0" + - interface: "Lo5" + area: "0" + ip_address_mask: "10.48.8.5/32" + cost: "1" + state: "LOOP" + neighbors_fc: "0/0" + - interface: "Lo4" + area: "0" + ip_address_mask: "10.48.8.4/32" + cost: "1" + state: "LOOP" + neighbors_fc: "0/0" + - interface: "Tu1603" + area: "0" + ip_address_mask: "0.0.0.0/0" + cost: "50" + state: "DOWN" + neighbors_fc: "0/0" + - interface: "Tu1602" + area: "0" + ip_address_mask: "0.0.0.0/0" + cost: "50" + state: "P2P" + neighbors_fc: "0/0" + - interface: "PO4/0" + area: "0" + ip_address_mask: "10.1.232.6/30" + cost: "6" + state: "P2P" + neighbors_fc: "1/1" + - interface: "Se3/2:0" + area: "0" + ip_address_mask: "10.1.224.218/30" + cost: "6" + state: "P2P" + neighbors_fc: "1/1" + - interface: "Se3/1:0" + area: "0" + ip_address_mask: "10.1.225.150/30" + cost: "6" + state: "P2P" + neighbors_fc: "1/1" diff --git a/tests/cisco_ios/show_ip_ospf_neighbor/cisco_ios_show_ip_ospf_neighbor.parsed b/tests/cisco_ios/show_ip_ospf_neighbor/cisco_ios_show_ip_ospf_neighbor.parsed deleted file mode 100644 index 704f3eeea8..0000000000 --- a/tests/cisco_ios/show_ip_ospf_neighbor/cisco_ios_show_ip_ospf_neighbor.parsed +++ /dev/null @@ -1,23 +0,0 @@ ---- -parsed_sample: - -- neighbor_id: '10.0.0.1' - priority: '0' - state: 'FULL/ -' - dead_time: '00:00:32' - address: '10.0.1.1' - interface: 'Port-channel1' - -- neighbor_id: '10.0.0.2' - priority: '0' - state: 'FULL/ -' - dead_time: '00:00:33' - address: '10.0.2.1' - interface: 'Port-channel2' - -- neighbor_id: '10.0.0.3' - priority: '0' - state: 'FULL/ -' - dead_time: '00:00:39' - address: '10.0.3.1' - interface: 'Vlan1000' diff --git a/tests/cisco_ios/show_ip_ospf_neighbor/cisco_ios_show_ip_ospf_neighbor.yml b/tests/cisco_ios/show_ip_ospf_neighbor/cisco_ios_show_ip_ospf_neighbor.yml new file mode 100644 index 0000000000..93db321e81 --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_neighbor/cisco_ios_show_ip_ospf_neighbor.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - neighbor_id: "10.0.0.1" + priority: "0" + state: "FULL/ -" + dead_time: "00:00:32" + address: "10.0.1.1" + interface: "Port-channel1" + - neighbor_id: "10.0.0.2" + priority: "0" + state: "FULL/ -" + dead_time: "00:00:33" + address: "10.0.2.1" + interface: "Port-channel2" + - neighbor_id: "10.0.0.3" + priority: "0" + state: "FULL/ -" + dead_time: "00:00:39" + address: "10.0.3.1" + interface: "Vlan1000" diff --git a/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.parsed b/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.parsed deleted file mode 100644 index f753b5f1cf..0000000000 --- a/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.parsed +++ /dev/null @@ -1,30 +0,0 @@ ---- -parsed_sample: - -- neighbor_id: '10.190.30.2' - priority: '1' - state: 'FULL/BDR' - dead_time: '00:00:04' - address: '10.190.16.11' - interface: 'GigabitEthernet0/2.101' - -- neighbor_id: '10.190.30.3' - priority: '1' - state: 'FULL/DR' - dead_time: '00:00:04' - address: '10.190.16.12' - interface: 'GigabitEthernet0/2.101' - -- neighbor_id: '10.190.30.2' - priority: '1' - state: 'FULL/BDR' - dead_time: '00:00:04' - address: '10.190.16.3' - interface: 'GigabitEthernet0/2.100' - -- neighbor_id: '10.190.30.3' - priority: '1' - state: 'FULL/DR' - dead_time: '00:00:04' - address: '10.190.16.4' - interface: 'GigabitEthernet0/2.100' diff --git a/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.yml b/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.yml new file mode 100644 index 0000000000..a2f50c0b30 --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_neighbor/four_neighbors.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - neighbor_id: "10.190.30.2" + priority: "1" + state: "FULL/BDR" + dead_time: "00:00:04" + address: "10.190.16.11" + interface: "GigabitEthernet0/2.101" + - neighbor_id: "10.190.30.3" + priority: "1" + state: "FULL/DR" + dead_time: "00:00:04" + address: "10.190.16.12" + interface: "GigabitEthernet0/2.101" + - neighbor_id: "10.190.30.2" + priority: "1" + state: "FULL/BDR" + dead_time: "00:00:04" + address: "10.190.16.3" + interface: "GigabitEthernet0/2.100" + - neighbor_id: "10.190.30.3" + priority: "1" + state: "FULL/DR" + dead_time: "00:00:04" + address: "10.190.16.4" + interface: "GigabitEthernet0/2.100" diff --git a/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.parsed b/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.parsed deleted file mode 100644 index 723777906e..0000000000 --- a/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.parsed +++ /dev/null @@ -1,23 +0,0 @@ ---- -parsed_sample: -- name: "OSPF_Redist" - seq: "5" - action: "deny" - network: "10.0.0.0" - netmask: "24" - le: '' - ge: '' -- name: "OSPF_Redist" - seq: "10" - action: "permit" - network: "0.0.0.0" - netmask: "0" - le: '32' - ge: '' -- name: "OSPF_Redist" - seq: "15" - action: "deny" - network: "10.0.0.0" - netmask: "8" - le: '20' - ge: '10' diff --git a/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.yml b/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.yml new file mode 100644 index 0000000000..05ee785aad --- /dev/null +++ b/tests/cisco_ios/show_ip_prefix-list/cisco_ios_show_ip_prefix-list.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - name: "OSPF_Redist" + seq: "5" + action: "deny" + network: "10.0.0.0" + netmask: "24" + le: "" + ge: "" + - name: "OSPF_Redist" + seq: "10" + action: "permit" + network: "0.0.0.0" + netmask: "0" + le: "32" + ge: "" + - name: "OSPF_Redist" + seq: "15" + action: "deny" + network: "10.0.0.0" + netmask: "8" + le: "20" + ge: "10" diff --git a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.parsed b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.parsed deleted file mode 100644 index 4d37c38399..0000000000 --- a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.parsed +++ /dev/null @@ -1,352 +0,0 @@ ---- -parsed_sample: - -- network: 1.1.1.1 - distance: '1' - mask: '32' - metric: '0' - nexthop_if: '' - nexthop_ip: 212.0.0.1 - protocol: S - type: '' - uptime: '' - -- network: 1.1.1.1 - distance: '1' - mask: '32' - metric: '0' - nexthop_if: '' - nexthop_ip: 192.168.0.1 - protocol: S - type: '' - uptime: '' - -- network: 2.2.2.0 - distance: '' - mask: '24' - metric: '' - nexthop_if: FastEthernet0/0.100 - nexthop_ip: '' - protocol: S - type: '' - uptime: '' - -- network: 4.4.0.0 - distance: '110' - mask: '16' - metric: '20' - nexthop_if: FastEthernet0/0.100 - nexthop_ip: 194.0.0.2 - protocol: O - type: E2 - uptime: 1d18h - -- network: 5.5.5.0 - distance: '170' - mask: '24' - metric: '2297856' - nexthop_if: Serial0/0 - nexthop_ip: 10.0.1.2 - protocol: D - type: EX - uptime: 00:12:01 - -- network: 6.6.0.0 - distance: '200' - mask: '16' - metric: '0' - nexthop_if: '' - nexthop_ip: 195.0.0.1 - protocol: B - type: '' - uptime: 00:00:04 - -- network: 172.16.1.0 - distance: '115' - mask: '26' - metric: '10' - nexthop_if: Serial0/0 - nexthop_ip: 10.0.1.2 - protocol: i - type: L2 - uptime: '' - -- network: 172.20.1.1 - distance: '110' - mask: '32' - metric: '11' - nexthop_if: FastEthernet0/0.100 - nexthop_ip: 194.0.0.2 - protocol: O - type: '' - uptime: 00:05:45 - -- network: 172.20.3.1 - distance: '110' - mask: '32' - metric: '11' - nexthop_if: FastEthernet0/0.100 - nexthop_ip: 194.0.0.2 - protocol: O - type: '' - uptime: 00:05:45 - -- network: 172.20.2.1 - distance: '110' - mask: '32' - metric: '11' - nexthop_if: FastEthernet0/0.100 - nexthop_ip: 194.0.0.2 - protocol: O - type: '' - uptime: 00:05:45 - -- network: 10.0.1.0 - distance: '' - mask: '24' - metric: '' - nexthop_if: Serial0/0 - nexthop_ip: '' - protocol: C - type: '' - uptime: '' - -- network: 10.0.5.0 - distance: '90' - mask: '26' - metric: '2297856' - nexthop_if: Serial0/0 - nexthop_ip: 10.0.1.2 - protocol: D - type: '' - uptime: 00:12:03 - -- network: 10.0.5.64 - distance: '90' - mask: '26' - metric: '2297856' - nexthop_if: Serial0/0 - nexthop_ip: 10.0.1.2 - protocol: D - type: '' - uptime: 00:12:03 - -- network: 10.0.5.128 - distance: '90' - mask: '26' - metric: '2297856' - nexthop_if: Serial0/0 - nexthop_ip: 10.0.1.2 - protocol: D - type: '' - uptime: 00:12:03 - -- network: 10.0.5.192 - distance: '90' - mask: '27' - metric: '2297856' - nexthop_if: Serial0/0 - nexthop_ip: 10.0.1.2 - protocol: D - type: '' - uptime: 00:12:03 - -- network: 11.1.0.0 - distance: '200' - mask: '17' - metric: '0' - nexthop_if: Null0 - nexthop_ip: '' - protocol: B - type: '' - uptime: 2w0d - -- network: 12.0.0.0 - distance: '' - mask: '16' - metric: '' - nexthop_if: Null0 - nexthop_ip: '' - protocol: S - type: '' - uptime: '' - -- network: 13.14.128.0 - distance: '' - mask: '17' - metric: '' - nexthop_if: Null0 - nexthop_ip: '' - protocol: O - type: '' - uptime: 7w0d - -- network: 192.168.0.1 - distance: '90' - mask: '32' - metric: '2297856' - nexthop_if: Serial0/0 - nexthop_ip: 10.0.1.2 - protocol: D - type: '' - uptime: 00:12:03 - -- network: 192.168.10.168 - distance: '110' - mask: '29' - metric: '20' - nexthop_if: TenGigabitEthernet7/4 - nexthop_ip: 7.7.7.170 - protocol: O - type: E2 - uptime: '12:54:35' - -- network: 10.63.184.0 - distance: '110' - mask: '23' - metric: '20' - nexthop_if: TenGigabitEthernet1/15 - nexthop_ip: 10.62.4.29 - protocol: O - type: E2 - uptime: '12:55:19' - -- network: 10.63.184.0 - distance: '110' - mask: '23' - metric: '20' - nexthop_if: TenGigabitEthernet1/16 - nexthop_ip: 10.62.3.29 - protocol: O - type: E2 - uptime: '12:55:19' - -- network: 192.168.12.0 - distance: '110' - mask: '27' - metric: '20' - nexthop_if: Port-channel202 - nexthop_ip: 10.64.3.13 - protocol: O - type: E2 - uptime: '12:54:36' - -- network: 192.168.12.0 - distance: '110' - mask: '27' - metric: '20' - nexthop_if: Port-channel201 - nexthop_ip: 10.64.1.9 - protocol: O - type: E2 - uptime: '12:54:36' - -- network: 10.64.4.88 - distance: '' - mask: '30' - metric: '' - nexthop_if: Serial0/0/0:0 - nexthop_ip: '' - protocol: C - type: '' - uptime: '' - -- network: 10.6.234.0 - distance: '110' - mask: '24' - metric: '20' - nexthop_if: Serial0/0/0:0 - nexthop_ip: 10.64.4.90 - protocol: O - type: E2 - uptime: '12:54:53' - -- network: 7.7.7.168 - distance: '' - mask: '30' - metric: '' - nexthop_if: TenGigabitEthernet7/4 - nexthop_ip: '' - protocol: C - type: '' - uptime: '' - -- network: 10.64.3.12 - distance: '' - mask: '30' - metric: '' - nexthop_if: Port-channel202 - nexthop_ip: '' - protocol: C - type: '' - uptime: '' - -- network: 10.64.1.8 - distance: '' - mask: '30' - metric: '' - nexthop_if: Port-channel201 - nexthop_ip: '' - protocol: C - type: '' - uptime: '' - -- network: 10.62.4.28 - distance: '' - mask: '30' - metric: '' - nexthop_if: TenGigabitEthernet1/15 - nexthop_ip: '' - protocol: C - type: '' - uptime: '' - -- network: 10.62.3.28 - distance: '' - mask: '30' - metric: '' - nexthop_if: TenGigabitEthernet1/16 - nexthop_ip: '' - protocol: C - type: '' - uptime: '' - -- network: 195.0.0.0 - distance: '110' - mask: '24' - metric: '11' - nexthop_if: FastEthernet0/0.100 - nexthop_ip: 194.0.0.2 - protocol: O - type: IA - uptime: 00:05:45 - -- network: 0.0.0.0 - distance: '110' - mask: '0' - metric: '1' - nexthop_if: FastEthernet0/0.100 - nexthop_ip: 194.0.0.2 - protocol: O - type: E2 - uptime: 00:05:35 - -- network: 212.0.0.0 - distance: '110' - mask: '8' - metric: '20' - nexthop_if: FastEthernet0/0.100 - nexthop_ip: 194.0.0.2 - protocol: O - type: E2 - uptime: 00:05:35 - -- network: 194.0.0.0 - distance: '' - mask: '16' - metric: '' - nexthop_if: FastEthernet0/0.100 - nexthop_ip: '' - protocol: C - type: '' - uptime: '' diff --git a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml new file mode 100644 index 0000000000..4623a3689c --- /dev/null +++ b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml @@ -0,0 +1,317 @@ +--- +parsed_sample: + - network: "1.1.1.1" + distance: "1" + mask: "32" + metric: "0" + nexthop_if: "" + nexthop_ip: "212.0.0.1" + protocol: "S" + type: "" + uptime: "" + - network: "1.1.1.1" + distance: "1" + mask: "32" + metric: "0" + nexthop_if: "" + nexthop_ip: "192.168.0.1" + protocol: "S" + type: "" + uptime: "" + - network: "2.2.2.0" + distance: "" + mask: "24" + metric: "" + nexthop_if: "FastEthernet0/0.100" + nexthop_ip: "" + protocol: "S" + type: "" + uptime: "" + - network: "4.4.0.0" + distance: "110" + mask: "16" + metric: "20" + nexthop_if: "FastEthernet0/0.100" + nexthop_ip: "194.0.0.2" + protocol: "O" + type: "E2" + uptime: "1d18h" + - network: "5.5.5.0" + distance: "170" + mask: "24" + metric: "2297856" + nexthop_if: "Serial0/0" + nexthop_ip: "10.0.1.2" + protocol: "D" + type: "EX" + uptime: "00:12:01" + - network: "6.6.0.0" + distance: "200" + mask: "16" + metric: "0" + nexthop_if: "" + nexthop_ip: "195.0.0.1" + protocol: "B" + type: "" + uptime: "00:00:04" + - network: "172.16.1.0" + distance: "115" + mask: "26" + metric: "10" + nexthop_if: "Serial0/0" + nexthop_ip: "10.0.1.2" + protocol: "i" + type: "L2" + uptime: "" + - network: "172.20.1.1" + distance: "110" + mask: "32" + metric: "11" + nexthop_if: "FastEthernet0/0.100" + nexthop_ip: "194.0.0.2" + protocol: "O" + type: "" + uptime: "00:05:45" + - network: "172.20.3.1" + distance: "110" + mask: "32" + metric: "11" + nexthop_if: "FastEthernet0/0.100" + nexthop_ip: "194.0.0.2" + protocol: "O" + type: "" + uptime: "00:05:45" + - network: "172.20.2.1" + distance: "110" + mask: "32" + metric: "11" + nexthop_if: "FastEthernet0/0.100" + nexthop_ip: "194.0.0.2" + protocol: "O" + type: "" + uptime: "00:05:45" + - network: "10.0.1.0" + distance: "" + mask: "24" + metric: "" + nexthop_if: "Serial0/0" + nexthop_ip: "" + protocol: "C" + type: "" + uptime: "" + - network: "10.0.5.0" + distance: "90" + mask: "26" + metric: "2297856" + nexthop_if: "Serial0/0" + nexthop_ip: "10.0.1.2" + protocol: "D" + type: "" + uptime: "00:12:03" + - network: "10.0.5.64" + distance: "90" + mask: "26" + metric: "2297856" + nexthop_if: "Serial0/0" + nexthop_ip: "10.0.1.2" + protocol: "D" + type: "" + uptime: "00:12:03" + - network: "10.0.5.128" + distance: "90" + mask: "26" + metric: "2297856" + nexthop_if: "Serial0/0" + nexthop_ip: "10.0.1.2" + protocol: "D" + type: "" + uptime: "00:12:03" + - network: "10.0.5.192" + distance: "90" + mask: "27" + metric: "2297856" + nexthop_if: "Serial0/0" + nexthop_ip: "10.0.1.2" + protocol: "D" + type: "" + uptime: "00:12:03" + - network: "11.1.0.0" + distance: "200" + mask: "17" + metric: "0" + nexthop_if: "Null0" + nexthop_ip: "" + protocol: "B" + type: "" + uptime: "2w0d" + - network: "12.0.0.0" + distance: "" + mask: "16" + metric: "" + nexthop_if: "Null0" + nexthop_ip: "" + protocol: "S" + type: "" + uptime: "" + - network: "13.14.128.0" + distance: "" + mask: "17" + metric: "" + nexthop_if: "Null0" + nexthop_ip: "" + protocol: "O" + type: "" + uptime: "7w0d" + - network: "192.168.0.1" + distance: "90" + mask: "32" + metric: "2297856" + nexthop_if: "Serial0/0" + nexthop_ip: "10.0.1.2" + protocol: "D" + type: "" + uptime: "00:12:03" + - network: "192.168.10.168" + distance: "110" + mask: "29" + metric: "20" + nexthop_if: "TenGigabitEthernet7/4" + nexthop_ip: "7.7.7.170" + protocol: "O" + type: "E2" + uptime: "12:54:35" + - network: "10.63.184.0" + distance: "110" + mask: "23" + metric: "20" + nexthop_if: "TenGigabitEthernet1/15" + nexthop_ip: "10.62.4.29" + protocol: "O" + type: "E2" + uptime: "12:55:19" + - network: "10.63.184.0" + distance: "110" + mask: "23" + metric: "20" + nexthop_if: "TenGigabitEthernet1/16" + nexthop_ip: "10.62.3.29" + protocol: "O" + type: "E2" + uptime: "12:55:19" + - network: "192.168.12.0" + distance: "110" + mask: "27" + metric: "20" + nexthop_if: "Port-channel202" + nexthop_ip: "10.64.3.13" + protocol: "O" + type: "E2" + uptime: "12:54:36" + - network: "192.168.12.0" + distance: "110" + mask: "27" + metric: "20" + nexthop_if: "Port-channel201" + nexthop_ip: "10.64.1.9" + protocol: "O" + type: "E2" + uptime: "12:54:36" + - network: "10.64.4.88" + distance: "" + mask: "30" + metric: "" + nexthop_if: "Serial0/0/0:0" + nexthop_ip: "" + protocol: "C" + type: "" + uptime: "" + - network: "10.6.234.0" + distance: "110" + mask: "24" + metric: "20" + nexthop_if: "Serial0/0/0:0" + nexthop_ip: "10.64.4.90" + protocol: "O" + type: "E2" + uptime: "12:54:53" + - network: "7.7.7.168" + distance: "" + mask: "30" + metric: "" + nexthop_if: "TenGigabitEthernet7/4" + nexthop_ip: "" + protocol: "C" + type: "" + uptime: "" + - network: "10.64.3.12" + distance: "" + mask: "30" + metric: "" + nexthop_if: "Port-channel202" + nexthop_ip: "" + protocol: "C" + type: "" + uptime: "" + - network: "10.64.1.8" + distance: "" + mask: "30" + metric: "" + nexthop_if: "Port-channel201" + nexthop_ip: "" + protocol: "C" + type: "" + uptime: "" + - network: "10.62.4.28" + distance: "" + mask: "30" + metric: "" + nexthop_if: "TenGigabitEthernet1/15" + nexthop_ip: "" + protocol: "C" + type: "" + uptime: "" + - network: "10.62.3.28" + distance: "" + mask: "30" + metric: "" + nexthop_if: "TenGigabitEthernet1/16" + nexthop_ip: "" + protocol: "C" + type: "" + uptime: "" + - network: "195.0.0.0" + distance: "110" + mask: "24" + metric: "11" + nexthop_if: "FastEthernet0/0.100" + nexthop_ip: "194.0.0.2" + protocol: "O" + type: "IA" + uptime: "00:05:45" + - network: "0.0.0.0" + distance: "110" + mask: "0" + metric: "1" + nexthop_if: "FastEthernet0/0.100" + nexthop_ip: "194.0.0.2" + protocol: "O" + type: "E2" + uptime: "00:05:35" + - network: "212.0.0.0" + distance: "110" + mask: "8" + metric: "20" + nexthop_if: "FastEthernet0/0.100" + nexthop_ip: "194.0.0.2" + protocol: "O" + type: "E2" + uptime: "00:05:35" + - network: "194.0.0.0" + distance: "" + mask: "16" + metric: "" + nexthop_if: "FastEthernet0/0.100" + nexthop_ip: "" + protocol: "C" + type: "" + uptime: "" diff --git a/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed b/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed deleted file mode 100644 index 29800434dc..0000000000 --- a/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.parsed +++ /dev/null @@ -1,22 +0,0 @@ ---- -parsed_sample: -- mac: "DC:A9:04:80:02:0F" - ip: "192.168.1.48" - lease: "583720" - type: "dhcp-snooping" - vlan: "1" - interface: "GigabitEthernet1/0/9" - -- mac: "8C:85:90:8E:AC:13" - ip: "192.168.1.66" - lease: "583795" - type: "dhcp-snooping" - vlan: "1" - interface: "GigabitEthernet1/0/9" - -- mac: "9C:A0:B0:16:26:D2" - ip: "192.168.1.104" - lease: "591457" - type: "dhcp-snooping" - vlan: "1" - interface: "GigabitEthernet1/0/9" diff --git a/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.yml b/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.yml new file mode 100644 index 0000000000..949b1ad463 --- /dev/null +++ b/tests/cisco_ios/show_ip_source_binding/cisco_ios_show_ip_source_binding.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - mac: "DC:A9:04:80:02:0F" + ip: "192.168.1.48" + lease: "583720" + type: "dhcp-snooping" + vlan: "1" + interface: "GigabitEthernet1/0/9" + - mac: "8C:85:90:8E:AC:13" + ip: "192.168.1.66" + lease: "583795" + type: "dhcp-snooping" + vlan: "1" + interface: "GigabitEthernet1/0/9" + - mac: "9C:A0:B0:16:26:D2" + ip: "192.168.1.104" + lease: "591457" + type: "dhcp-snooping" + vlan: "1" + interface: "GigabitEthernet1/0/9" diff --git a/tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.parsed b/tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.parsed deleted file mode 100644 index d1b5d0fe16..0000000000 --- a/tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.parsed +++ /dev/null @@ -1,423 +0,0 @@ ---- -parsed_sample: - -- intf: TenGigabitEthernet1/1 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3333::5 - admin: up - protocol: up -- intf: TenGigabitEthernet2/1 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3333::9 - admin: up - protocol: up -- intf: TenGigabitEthernet2/2 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet2/3 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet2/4 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet2/5 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet2/6 - ipaddr: - - unassigned - admin: up - protocol: down -- intf: TenGigabitEthernet3/9 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet3/10 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet3/11 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet3/12 - ipaddr: - - unassigned - admin: down - protocol: down -- intf: TenGigabitEthernet3/13 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet3/14 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet3/15 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet3/16 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet4/1 - ipaddr: - - unassigned - admin: up - protocol: down -- intf: TenGigabitEthernet4/2 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet4/3 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet4/4 - ipaddr: - - unassigned - admin: down - protocol: down -- intf: TenGigabitEthernet4/5 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet4/6 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet4/7 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet4/8 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet4/9 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet4/10 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: TenGigabitEthernet4/11 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet4/12 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet4/13 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet4/14 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet4/15 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet4/16 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: GigabitEthernet5/1 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: GigabitEthernet5/2 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: GigabitEthernet5/3 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet5/4 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet5/5 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: GigabitEthernet6/1 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: GigabitEthernet6/2 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: GigabitEthernet6/3 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet6/4 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: TenGigabitEthernet6/5 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: GigabitEthernet1/1 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: GigabitEthernet1/16 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3333::9A - admin: up - protocol: up -- intf: GigabitEthernet1/17 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3333::9E - admin: up - protocol: up -- intf: GigabitEthernet1/18 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3333::A2 - admin: up - protocol: up -- intf: GigabitEthernet1/48 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: Loopback0 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:5A20:1FFF::13 - admin: up - protocol: up -- intf: Port-channel1 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Port-channel2 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Port-channel3 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Port-channel4 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Port-channel5 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Port-channel6 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Port-channel7 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Port-channel8 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Port-channel9 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Port-channel10 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Port-channel11 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Vlan1 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: Vlan76 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3333:33::1 - - 2A01:3333:3333:33::2 - admin: up - protocol: up -- intf: Vlan77 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Vlan100 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:100::1 - - 2A01:3333:3336:100::2 - admin: up - protocol: up -- intf: Vlan762 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:101::1 - - 2A01:3333:3336:101::2 - admin: up - protocol: up -- intf: Vlan763 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:102::1 - - 2A01:3333:3336:102::2 - admin: up - protocol: up -- intf: Vlan764 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:103::1 - - 2A01:3333:3336:103::2 - admin: up - protocol: up -- intf: Vlan765 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:104::1 - - 2A01:3333:3336:104::2 - admin: up - protocol: up -- intf: Vlan767 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:110::1 - - 2A01:3333:3336:110::2 - admin: up - protocol: up -- intf: Vlan768 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:111::1 - - 2A01:3333:3336:111::2 - admin: up - protocol: up -- intf: Vlan769 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:112::1 - - 2A01:3333:3336:112::2 - admin: up - protocol: up -- intf: Vlan770 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:113::1 - - 2A01:3333:3336:113::2 - admin: up - protocol: up -- intf: Vlan771 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Vlan772 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Vlan773 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: Vlan774 - ipaddr: - - unassigned - admin: administratively down - protocol: down -- intf: Vlan775 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:220::1 - - 2A01:3333:3336:220::2 - admin: up - protocol: up -- intf: Vlan776 - ipaddr: - - unassigned - admin: up - protocol: up -- intf: Vlan777 - ipaddr: - - FE80::333:3333:3333:3333 - - 2A01:3333:3336:225::1 - - 2A01:3333:3336:225::2 - admin: up - protocol: up -- intf: Vlan2300 - ipaddr: - - unassigned - admin: administratively down - protocol: down diff --git a/tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.yml b/tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.yml new file mode 100644 index 0000000000..181c8b411f --- /dev/null +++ b/tests/cisco_ios/show_ipv6_interface_brief/cisco_ios_show_ipv6_interface_brief.yml @@ -0,0 +1,422 @@ +--- +parsed_sample: + - intf: "TenGigabitEthernet1/1" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3333::5" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet2/1" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3333::9" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet2/2" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet2/3" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet2/4" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet2/5" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet2/6" + ipaddr: + - "unassigned" + admin: "up" + protocol: "down" + - intf: "TenGigabitEthernet3/9" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet3/10" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet3/11" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet3/12" + ipaddr: + - "unassigned" + admin: "down" + protocol: "down" + - intf: "TenGigabitEthernet3/13" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet3/14" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet3/15" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet3/16" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet4/1" + ipaddr: + - "unassigned" + admin: "up" + protocol: "down" + - intf: "TenGigabitEthernet4/2" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet4/3" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet4/4" + ipaddr: + - "unassigned" + admin: "down" + protocol: "down" + - intf: "TenGigabitEthernet4/5" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet4/6" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet4/7" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet4/8" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet4/9" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet4/10" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "TenGigabitEthernet4/11" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet4/12" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet4/13" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet4/14" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet4/15" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet4/16" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "GigabitEthernet5/1" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "GigabitEthernet5/2" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "GigabitEthernet5/3" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet5/4" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet5/5" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "GigabitEthernet6/1" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "GigabitEthernet6/2" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "GigabitEthernet6/3" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet6/4" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "TenGigabitEthernet6/5" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "GigabitEthernet1/1" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "GigabitEthernet1/16" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3333::9A" + admin: "up" + protocol: "up" + - intf: "GigabitEthernet1/17" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3333::9E" + admin: "up" + protocol: "up" + - intf: "GigabitEthernet1/18" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3333::A2" + admin: "up" + protocol: "up" + - intf: "GigabitEthernet1/48" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "Loopback0" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:5A20:1FFF::13" + admin: "up" + protocol: "up" + - intf: "Port-channel1" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Port-channel2" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Port-channel3" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Port-channel4" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Port-channel5" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Port-channel6" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Port-channel7" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Port-channel8" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Port-channel9" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Port-channel10" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Port-channel11" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Vlan1" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "Vlan76" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3333:33::1" + - "2A01:3333:3333:33::2" + admin: "up" + protocol: "up" + - intf: "Vlan77" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Vlan100" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:100::1" + - "2A01:3333:3336:100::2" + admin: "up" + protocol: "up" + - intf: "Vlan762" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:101::1" + - "2A01:3333:3336:101::2" + admin: "up" + protocol: "up" + - intf: "Vlan763" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:102::1" + - "2A01:3333:3336:102::2" + admin: "up" + protocol: "up" + - intf: "Vlan764" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:103::1" + - "2A01:3333:3336:103::2" + admin: "up" + protocol: "up" + - intf: "Vlan765" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:104::1" + - "2A01:3333:3336:104::2" + admin: "up" + protocol: "up" + - intf: "Vlan767" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:110::1" + - "2A01:3333:3336:110::2" + admin: "up" + protocol: "up" + - intf: "Vlan768" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:111::1" + - "2A01:3333:3336:111::2" + admin: "up" + protocol: "up" + - intf: "Vlan769" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:112::1" + - "2A01:3333:3336:112::2" + admin: "up" + protocol: "up" + - intf: "Vlan770" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:113::1" + - "2A01:3333:3336:113::2" + admin: "up" + protocol: "up" + - intf: "Vlan771" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Vlan772" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Vlan773" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "Vlan774" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" + - intf: "Vlan775" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:220::1" + - "2A01:3333:3336:220::2" + admin: "up" + protocol: "up" + - intf: "Vlan776" + ipaddr: + - "unassigned" + admin: "up" + protocol: "up" + - intf: "Vlan777" + ipaddr: + - "FE80::333:3333:3333:3333" + - "2A01:3333:3336:225::1" + - "2A01:3333:3336:225::2" + admin: "up" + protocol: "up" + - intf: "Vlan2300" + ipaddr: + - "unassigned" + admin: "administratively down" + protocol: "down" diff --git a/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.parsed b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.parsed deleted file mode 100644 index b4ccc4e4da..0000000000 --- a/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.parsed +++ /dev/null @@ -1,48 +0,0 @@ ---- -parsed_sample: - -- address: 2402:1234:106:100:793A:F08D:5B3A:EF89 - age: '33' - interface: Vl6 - mac: 54e1.addb.200f - type: STALE -- address: 2402:1234:106:100:A193:9153:7CAF:9802 - age: '1' - interface: Vl6 - mac: 54e1.addb.200f - type: STALE -- address: 2402:1234:106:100:B419:F5DF:B315:F3C5 - age: '144' - interface: Vl6 - mac: 0800.2729.8bc1 - type: STALE -- address: 2402:1234:106:100:B8F1:D9D3:A5F1:C1C9 - age: '4' - interface: Vl6 - mac: 507b.9dcd.c2ae - type: STALE -- address: 2402:1234:106:100:CC71:364E:A3E7:62B8 - age: '36' - interface: Vl6 - mac: 507b.9dcd.c2ae - type: STALE -- address: FE80::5AAC:78FF:FEF8:CCCC - age: '23' - interface: Vl6 - mac: 58ac.78f8.cccc - type: STALE -- address: FE80::7A0C:F0FF:FE8E:2FF4 - age: '103' - interface: Vl6 - mac: 780c.f08e.2ff4 - type: STALE -- address: FE80::7EAD:74FF:FE85:B86 - age: '22' - interface: Vl6 - mac: 7cad.7485.0c16 - type: STALE -- address: FE80::208:E3FF:FEFF:FC28 - age: '0' - interface: Vl687 - mac: 0008.e3ff.fc28 - type: REACH diff --git a/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.yml b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.yml new file mode 100644 index 0000000000..eb6e43f2f7 --- /dev/null +++ b/tests/cisco_ios/show_ipv6_neighbors/cisco_ios_show_ipv6_neighbors1.yml @@ -0,0 +1,47 @@ +--- +parsed_sample: + - address: "2402:1234:106:100:793A:F08D:5B3A:EF89" + age: "33" + interface: "Vl6" + mac: "54e1.addb.200f" + type: "STALE" + - address: "2402:1234:106:100:A193:9153:7CAF:9802" + age: "1" + interface: "Vl6" + mac: "54e1.addb.200f" + type: "STALE" + - address: "2402:1234:106:100:B419:F5DF:B315:F3C5" + age: "144" + interface: "Vl6" + mac: "0800.2729.8bc1" + type: "STALE" + - address: "2402:1234:106:100:B8F1:D9D3:A5F1:C1C9" + age: "4" + interface: "Vl6" + mac: "507b.9dcd.c2ae" + type: "STALE" + - address: "2402:1234:106:100:CC71:364E:A3E7:62B8" + age: "36" + interface: "Vl6" + mac: "507b.9dcd.c2ae" + type: "STALE" + - address: "FE80::5AAC:78FF:FEF8:CCCC" + age: "23" + interface: "Vl6" + mac: "58ac.78f8.cccc" + type: "STALE" + - address: "FE80::7A0C:F0FF:FE8E:2FF4" + age: "103" + interface: "Vl6" + mac: "780c.f08e.2ff4" + type: "STALE" + - address: "FE80::7EAD:74FF:FE85:B86" + age: "22" + interface: "Vl6" + mac: "7cad.7485.0c16" + type: "STALE" + - address: "FE80::208:E3FF:FEFF:FC28" + age: "0" + interface: "Vl687" + mac: "0008.e3ff.fc28" + type: "REACH" diff --git a/tests/cisco_ios/show_isdn_status/cisco_ios_show_isdn_status.parsed b/tests/cisco_ios/show_isdn_status/cisco_ios_show_isdn_status.parsed deleted file mode 100644 index 094f3493d6..0000000000 --- a/tests/cisco_ios/show_isdn_status/cisco_ios_show_isdn_status.parsed +++ /dev/null @@ -1,39 +0,0 @@ ---- -parsed_sample: - -- active_dsl_ccbs: '1' - ces: '1' - free_channel_mask: '0x803FFFFF' - interface: Serial0/2/0:23 - isdn_switchtype: primary-ni - l1_status: ACTIVE - l2_discards: '0' - l2_session_id: '10' - l2_state: MULTIPLE_FRAME_ESTABLISHED - l3_active_calls: '1' - sapi: '0' - tei: '0' -- active_dsl_ccbs: '0' - ces: '1' - free_channel_mask: '0x807FFFFF' - interface: Serial0/2/1:23 - isdn_switchtype: primary-ni - l1_status: ACTIVE - l2_discards: '0' - l2_session_id: '6' - l2_state: MULTIPLE_FRAME_ESTABLISHED - l3_active_calls: '0' - sapi: '0' - tei: '0' -- active_dsl_ccbs: '0' - ces: '1' - free_channel_mask: '0x807FFFFF' - interface: Serial0/3/0:23 - isdn_switchtype: primary-ni - l1_status: ACTIVE - l2_discards: '0' - l2_session_id: '1' - l2_state: MULTIPLE_FRAME_ESTABLISHED - l3_active_calls: '0' - sapi: '0' - tei: '0' diff --git a/tests/cisco_ios/show_isdn_status/cisco_ios_show_isdn_status.yml b/tests/cisco_ios/show_isdn_status/cisco_ios_show_isdn_status.yml new file mode 100644 index 0000000000..42351d5d5d --- /dev/null +++ b/tests/cisco_ios/show_isdn_status/cisco_ios_show_isdn_status.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - active_dsl_ccbs: "1" + ces: "1" + free_channel_mask: "0x803FFFFF" + interface: "Serial0/2/0:23" + isdn_switchtype: "primary-ni" + l1_status: "ACTIVE" + l2_discards: "0" + l2_session_id: "10" + l2_state: "MULTIPLE_FRAME_ESTABLISHED" + l3_active_calls: "1" + sapi: "0" + tei: "0" + - active_dsl_ccbs: "0" + ces: "1" + free_channel_mask: "0x807FFFFF" + interface: "Serial0/2/1:23" + isdn_switchtype: "primary-ni" + l1_status: "ACTIVE" + l2_discards: "0" + l2_session_id: "6" + l2_state: "MULTIPLE_FRAME_ESTABLISHED" + l3_active_calls: "0" + sapi: "0" + tei: "0" + - active_dsl_ccbs: "0" + ces: "1" + free_channel_mask: "0x807FFFFF" + interface: "Serial0/3/0:23" + isdn_switchtype: "primary-ni" + l1_status: "ACTIVE" + l2_discards: "0" + l2_session_id: "1" + l2_state: "MULTIPLE_FRAME_ESTABLISHED" + l3_active_calls: "0" + sapi: "0" + tei: "0" diff --git a/tests/cisco_ios/show_isis_neighbors/cisco_ios_show_isis_neighbors.parsed b/tests/cisco_ios/show_isis_neighbors/cisco_ios_show_isis_neighbors.parsed deleted file mode 100644 index 5021dbbd10..0000000000 --- a/tests/cisco_ios/show_isis_neighbors/cisco_ios_show_isis_neighbors.parsed +++ /dev/null @@ -1,42 +0,0 @@ ---- -parsed_sample: - -- system_id: 'vMX1' - type: 'L1' - interface: 'Gi2' - ip_address: '10.1.2.1' - state: 'UP' - hold_time: '19' - circuit_id: 'XRv3.03' - -- system_id: 'vMX1' - type: 'L2' - interface: 'Gi2' - ip_address: '10.1.2.1' - state: 'UP' - hold_time: '24' - circuit_id: 'XRv3.03' - -- system_id: 'XRv3' - type: 'L1' - interface: 'Gi2' - ip_address: '10.1.2.3' - state: 'UP' - hold_time: '8' - circuit_id: 'XRv3.03' - -- system_id: 'XRv3' - type: 'L2' - interface: 'Gi2' - ip_address: '10.1.2.3' - state: 'UP' - hold_time: '7' - circuit_id: 'XRv3.03' - -- system_id: 'vEOS4' - type: 'L2' - interface: 'Gi3' - ip_address: '10.2.4.4' - state: 'UP' - hold_time: '23' - circuit_id: '0F' diff --git a/tests/cisco_ios/show_isis_neighbors/cisco_ios_show_isis_neighbors.yml b/tests/cisco_ios/show_isis_neighbors/cisco_ios_show_isis_neighbors.yml new file mode 100644 index 0000000000..f8f2fe558c --- /dev/null +++ b/tests/cisco_ios/show_isis_neighbors/cisco_ios_show_isis_neighbors.yml @@ -0,0 +1,37 @@ +--- +parsed_sample: + - system_id: "vMX1" + type: "L1" + interface: "Gi2" + ip_address: "10.1.2.1" + state: "UP" + hold_time: "19" + circuit_id: "XRv3.03" + - system_id: "vMX1" + type: "L2" + interface: "Gi2" + ip_address: "10.1.2.1" + state: "UP" + hold_time: "24" + circuit_id: "XRv3.03" + - system_id: "XRv3" + type: "L1" + interface: "Gi2" + ip_address: "10.1.2.3" + state: "UP" + hold_time: "8" + circuit_id: "XRv3.03" + - system_id: "XRv3" + type: "L2" + interface: "Gi2" + ip_address: "10.1.2.3" + state: "UP" + hold_time: "7" + circuit_id: "XRv3.03" + - system_id: "vEOS4" + type: "L2" + interface: "Gi3" + ip_address: "10.2.4.4" + state: "UP" + hold_time: "23" + circuit_id: "0F" diff --git a/tests/cisco_ios/show_license/cisco_ios_show_license.parsed b/tests/cisco_ios/show_license/cisco_ios_show_license.parsed deleted file mode 100644 index 4284526fdc..0000000000 --- a/tests/cisco_ios/show_license/cisco_ios_show_license.parsed +++ /dev/null @@ -1,73 +0,0 @@ ---- -parsed_sample: - -- feature: appxk9 - license_count: Non-Counted - license_priority: Medium - license_state: Active, In Use - license_type: Permanent - period_left: Life time - period_used: '' -- feature: uck9 - license_count: Non-Counted - license_priority: None - license_state: Active, Not in Use, EULA not accepted - license_type: EvalRightToUse - period_left: Not Activated - period_used: 0 minute 0 second -- feature: securityk9 - license_count: Non-Counted - license_priority: Medium - license_state: Active, In Use - license_type: Permanent - period_left: Life time - period_used: '' -- feature: ipbasek9 - license_count: Non-Counted - license_priority: Medium - license_state: Active, In Use - license_type: Permanent - period_left: Life time - period_used: '' -- feature: FoundationSuiteK9 - license_count: Non-Counted - license_priority: None - license_state: Active, Not in Use, EULA not accepted - license_type: EvalRightToUse - period_left: Not Activated - period_used: 0 minute 0 second -- feature: AdvUCSuiteK9 - license_count: Non-Counted - license_priority: None - license_state: Active, Not in Use, EULA not accepted - license_type: EvalRightToUse - period_left: Not Activated - period_used: 0 minute 0 second -- feature: cme-srst - license_count: 0/0 (In-use/Violation) - license_priority: None - license_state: Active, Not in Use, EULA not accepted - license_type: EvalRightToUse - period_left: Not Activated - period_used: 0 minute 0 second -- feature: hseck9 - license_count: Non-Counted - license_priority: Medium - license_state: Active, In Use - license_type: Permanent - period_left: Life time - period_used: '' -- feature: throughput - license_count: Non-Counted - license_priority: None - license_state: Active, Not in Use, EULA not accepted - license_type: EvalRightToUse - period_left: Not Activated - period_used: 0 minute 0 second -- feature: internal_service - license_count: '' - license_priority: '' - license_state: '' - license_type: '' - period_left: '' - period_used: '' diff --git a/tests/cisco_ios/show_license/cisco_ios_show_license.yml b/tests/cisco_ios/show_license/cisco_ios_show_license.yml new file mode 100644 index 0000000000..b19fb2b5f1 --- /dev/null +++ b/tests/cisco_ios/show_license/cisco_ios_show_license.yml @@ -0,0 +1,72 @@ +--- +parsed_sample: + - feature: "appxk9" + license_count: "Non-Counted" + license_priority: "Medium" + license_state: "Active, In Use" + license_type: "Permanent" + period_left: "Life time" + period_used: "" + - feature: "uck9" + license_count: "Non-Counted" + license_priority: "None" + license_state: "Active, Not in Use, EULA not accepted" + license_type: "EvalRightToUse" + period_left: "Not Activated" + period_used: "0 minute 0 second" + - feature: "securityk9" + license_count: "Non-Counted" + license_priority: "Medium" + license_state: "Active, In Use" + license_type: "Permanent" + period_left: "Life time" + period_used: "" + - feature: "ipbasek9" + license_count: "Non-Counted" + license_priority: "Medium" + license_state: "Active, In Use" + license_type: "Permanent" + period_left: "Life time" + period_used: "" + - feature: "FoundationSuiteK9" + license_count: "Non-Counted" + license_priority: "None" + license_state: "Active, Not in Use, EULA not accepted" + license_type: "EvalRightToUse" + period_left: "Not Activated" + period_used: "0 minute 0 second" + - feature: "AdvUCSuiteK9" + license_count: "Non-Counted" + license_priority: "None" + license_state: "Active, Not in Use, EULA not accepted" + license_type: "EvalRightToUse" + period_left: "Not Activated" + period_used: "0 minute 0 second" + - feature: "cme-srst" + license_count: "0/0 (In-use/Violation)" + license_priority: "None" + license_state: "Active, Not in Use, EULA not accepted" + license_type: "EvalRightToUse" + period_left: "Not Activated" + period_used: "0 minute 0 second" + - feature: "hseck9" + license_count: "Non-Counted" + license_priority: "Medium" + license_state: "Active, In Use" + license_type: "Permanent" + period_left: "Life time" + period_used: "" + - feature: "throughput" + license_count: "Non-Counted" + license_priority: "None" + license_state: "Active, Not in Use, EULA not accepted" + license_type: "EvalRightToUse" + period_left: "Not Activated" + period_used: "0 minute 0 second" + - feature: "internal_service" + license_count: "" + license_priority: "" + license_state: "" + license_type: "" + period_left: "" + period_used: "" diff --git a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.parsed b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.parsed deleted file mode 100644 index 1efdf8a7c5..0000000000 --- a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.parsed +++ /dev/null @@ -1,21 +0,0 @@ ---- -parsed_sample: -- neighbor: "S2" - local_interface: "Fa0/13" - neighbor_interface: "Gi0/13" - -- neighbor: "Cisco-switch-1" - local_interface: "Gi1/0/7" - neighbor_interface: "Gi0/1" - -- neighbor: "Juniper-switch1" - local_interface: "Gi2/0/1" - neighbor_interface: "666" - -- neighbor: "Juniper-switch1" - local_interface: "Gi1/0/1" - neighbor_interface: "531" - - - - diff --git a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.yml b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.yml new file mode 100644 index 0000000000..0fffceb1ee --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - neighbor: "S2" + local_interface: "Fa0/13" + neighbor_interface: "Gi0/13" + - neighbor: "Cisco-switch-1" + local_interface: "Gi1/0/7" + neighbor_interface: "Gi0/1" + - neighbor: "Juniper-switch1" + local_interface: "Gi2/0/1" + neighbor_interface: "666" + - neighbor: "Juniper-switch1" + local_interface: "Gi1/0/1" + neighbor_interface: "531" diff --git a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.parsed b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.parsed deleted file mode 100644 index c6cf89712d..0000000000 --- a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.parsed +++ /dev/null @@ -1,5 +0,0 @@ ---- -parsed_sample: -- neighbor: "long_name_swt.josh-v" - local_interface: "Gi0/2" - neighbor_interface: "Gi0/0" diff --git a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.yml b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.yml new file mode 100644 index 0000000000..ca16fa2350 --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.yml @@ -0,0 +1,5 @@ +--- +parsed_sample: + - neighbor: "long_name_swt.josh-v" + local_interface: "Gi0/2" + neighbor_interface: "Gi0/0" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.parsed deleted file mode 100644 index 13acd75e0d..0000000000 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.parsed +++ /dev/null @@ -1,31 +0,0 @@ ---- -parsed_sample: -- local_interface: 'Gi1/0/2' - chassis_id: '7c25.86c9.aaaa' - neighbor_port_id: '502' - neighbor_interface: 'ge-0/0/0.0' - neighbor: '' - system_description: 'Juniper Networks, Inc. ex2200-24t-4g , version 12.3R9.4 Build date: 2015-02-12 11:25:30 UTC' - capabilities: 'B,R' - management_ip: '' - vlan: '1' - -- local_interface: 'Gi1/0/1' - chassis_id: '94f1.2879.5555' - neighbor_port_id: '94f1.2879.5555' - neighbor_interface: '13' - neighbor: 'HpSwitch' - system_description: 'HPE OfficeConnect Switch 1820 48G J9981A, PT.02.01, Linux 3.6.5-79c95a77, U-Boot 2012.10-00116-g3ab515c (Jul 30 2014 - 10:52:01)' - capabilities: 'B' - management_ip: '192.168.1.81' - vlan: '' - -- local_interface: 'Gi1/0/9' - chassis_id: '4448.c1c4.dddd' - neighbor_port_id: '4448.c1c4.dddd' - neighbor_interface: 'eth0' - neighbor: '44:48:c1:c4:dd:dd' - system_description: 'ArubaOS (MODEL: 225), Version 6.4.2.6-4.1.1.6 (50009)' - capabilities: 'W' - management_ip: '192.168.1.40' - vlan: '' diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml new file mode 100644 index 0000000000..e5d0fb4d71 --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml @@ -0,0 +1,31 @@ +--- +parsed_sample: + - local_interface: "Gi1/0/2" + chassis_id: "7c25.86c9.aaaa" + neighbor_port_id: "502" + neighbor_interface: "ge-0/0/0.0" + neighbor: "" + system_description: "Juniper Networks, Inc. ex2200-24t-4g , version 12.3R9.4 Build\ + \ date: 2015-02-12 11:25:30 UTC" + capabilities: "B,R" + management_ip: "" + vlan: "1" + - local_interface: "Gi1/0/1" + chassis_id: "94f1.2879.5555" + neighbor_port_id: "94f1.2879.5555" + neighbor_interface: "13" + neighbor: "HpSwitch" + system_description: "HPE OfficeConnect Switch 1820 48G J9981A, PT.02.01, Linux\ + \ 3.6.5-79c95a77, U-Boot 2012.10-00116-g3ab515c (Jul 30 2014 - 10:52:01)" + capabilities: "B" + management_ip: "192.168.1.81" + vlan: "" + - local_interface: "Gi1/0/9" + chassis_id: "4448.c1c4.dddd" + neighbor_port_id: "4448.c1c4.dddd" + neighbor_interface: "eth0" + neighbor: "44:48:c1:c4:dd:dd" + system_description: "ArubaOS (MODEL: 225), Version 6.4.2.6-4.1.1.6 (50009)" + capabilities: "W" + management_ip: "192.168.1.40" + vlan: "" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed deleted file mode 100644 index 1f68739f40..0000000000 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.parsed +++ /dev/null @@ -1,41 +0,0 @@ ---- -parsed_sample: -- local_interface: '' - chassis_id: 'a000.f00e.300d' - neighbor_port_id: 'Eth1/6' - neighbor_interface: 'PO2631-10Gx2-R261R5' - neighbor: 'USSC-CAMPUS-CORE-GW2' - system_description: 'Cisco NX-OS(tm) n7700, Software (n7700-s2-dk9), Version 6.2(10), RELEASE SOFTWARE Copyright (c) 2002-2013 by Cisco Systems, Inc. Compiled 10/9/2014 12:00:00' - capabilities: 'B,R' - management_ip: '11.11.11.11' - vlan: '1' - -- local_interface: '' - chassis_id: '2222.0642.7333' - neighbor_port_id: 'Eth1/6' - neighbor_interface: 'PO2631-10Gx2-R261R5' - neighbor: 'USSC-CAMPUS-CORE-GW1.acme123.com' - system_description: 'Cisco NX-OS(tm) n7700, Software (n7700-s2-dk9), Version 6.2(10), RELEASE SOFTWARE Copyright (c) 2002-2013 by Cisco Systems, Inc. Compiled 10/9/2014 12:00:00' - capabilities: 'B,R' - management_ip: '33.33.33.3' - vlan: '1' - -- local_interface: '' - chassis_id: '0015.2222.c330' - neighbor_port_id: 'Gi2/0/24' - neighbor_interface: 'GigabitEthernet2/0/24' - neighbor: 'DMZ-SW1' - system_description: 'Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(53)SE2, RELEASE SOFTWARE (fc3)' - capabilities: 'B' - management_ip: '55.55.55.55' - vlan: '' - -- local_interface: '' - chassis_id: '0022.1111.2222' - neighbor_port_id: 'g2' - neighbor_interface: '' - neighbor: '' - system_description: '' - capabilities: '' - management_ip: '' - vlan: '' diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml new file mode 100644 index 0000000000..f78d21c90a --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml @@ -0,0 +1,43 @@ +--- +parsed_sample: + - local_interface: "" + chassis_id: "a000.f00e.300d" + neighbor_port_id: "Eth1/6" + neighbor_interface: "PO2631-10Gx2-R261R5" + neighbor: "USSC-CAMPUS-CORE-GW2" + system_description: "Cisco NX-OS(tm) n7700, Software (n7700-s2-dk9), Version 6.2(10),\ + \ RELEASE SOFTWARE Copyright (c) 2002-2013 by Cisco Systems, Inc. Compiled 10/9/2014\ + \ 12:00:00" + capabilities: "B,R" + management_ip: "11.11.11.11" + vlan: "1" + - local_interface: "" + chassis_id: "2222.0642.7333" + neighbor_port_id: "Eth1/6" + neighbor_interface: "PO2631-10Gx2-R261R5" + neighbor: "USSC-CAMPUS-CORE-GW1.acme123.com" + system_description: "Cisco NX-OS(tm) n7700, Software (n7700-s2-dk9), Version 6.2(10),\ + \ RELEASE SOFTWARE Copyright (c) 2002-2013 by Cisco Systems, Inc. Compiled 10/9/2014\ + \ 12:00:00" + capabilities: "B,R" + management_ip: "33.33.33.3" + vlan: "1" + - local_interface: "" + chassis_id: "0015.2222.c330" + neighbor_port_id: "Gi2/0/24" + neighbor_interface: "GigabitEthernet2/0/24" + neighbor: "DMZ-SW1" + system_description: "Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M),\ + \ Version 12.2(53)SE2, RELEASE SOFTWARE (fc3)" + capabilities: "B" + management_ip: "55.55.55.55" + vlan: "" + - local_interface: "" + chassis_id: "0022.1111.2222" + neighbor_port_id: "g2" + neighbor_interface: "" + neighbor: "" + system_description: "" + capabilities: "" + management_ip: "" + vlan: "" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.parsed deleted file mode 100644 index cc1f159b05..0000000000 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.parsed +++ /dev/null @@ -1,11 +0,0 @@ ---- -parsed_sample: -- local_interface: 'Gi0/1/7' - chassis_id: '10.10.0.1' - neighbor_port_id: 'C8F9F9D61BC2:P1' - neighbor_interface: 'SW PORT' - neighbor: 'SEPC8F9F9D61BC2' - system_description: 'Cisco IP Phone 7962G,V12, SCCP42.9-3-1ES27S' - capabilities: 'B,T' - management_ip: '10.10.0.1' - vlan: '' diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml new file mode 100644 index 0000000000..1dab205250 --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - local_interface: "Gi0/1/7" + chassis_id: "10.10.0.1" + neighbor_port_id: "C8F9F9D61BC2:P1" + neighbor_interface: "SW PORT" + neighbor: "SEPC8F9F9D61BC2" + system_description: "Cisco IP Phone 7962G,V12, SCCP42.9-3-1ES27S" + capabilities: "B,T" + management_ip: "10.10.0.1" + vlan: "" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed deleted file mode 100644 index 307bfc8f02..0000000000 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.parsed +++ /dev/null @@ -1,22 +0,0 @@ ---- -parsed_sample: -- local_interface: 'Gi2/0/13' - chassis_id: '172.16.4.125' - neighbor_port_id: '000b.ea00.16e0' - neighbor_interface: 'WAN PORT' - neighbor: 'ZULTYS IP Phone' - system_description: 'ZULTYS IP Phone' - capabilities: 'T' - management_ip: '' - vlan: '' - -- local_interface: 'Te1/1/1' - chassis_id: '2c33.1100.a6c0' - neighbor_port_id: 'Te1/2/13' - neighbor_interface: 'asw22' - neighbor: 'dsw01' - system_description: 'Cisco IOS Software, s6t64 Software (s6t64-ADVENTERPRISEK9-M), Version 15.4(1)SY3, RELEASE SOFTWARE (fc4)' - capabilities: 'B,R' - management_ip: '172.16.0.10' - vlan: '1' - diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml new file mode 100644 index 0000000000..3a30cf33ca --- /dev/null +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml @@ -0,0 +1,21 @@ +--- +parsed_sample: + - local_interface: "Gi2/0/13" + chassis_id: "172.16.4.125" + neighbor_port_id: "000b.ea00.16e0" + neighbor_interface: "WAN PORT" + neighbor: "ZULTYS IP Phone" + system_description: "ZULTYS IP Phone" + capabilities: "T" + management_ip: "" + vlan: "" + - local_interface: "Te1/1/1" + chassis_id: "2c33.1100.a6c0" + neighbor_port_id: "Te1/2/13" + neighbor_interface: "asw22" + neighbor: "dsw01" + system_description: "Cisco IOS Software, s6t64 Software (s6t64-ADVENTERPRISEK9-M),\ + \ Version 15.4(1)SY3, RELEASE SOFTWARE (fc4)" + capabilities: "B,R" + management_ip: "172.16.0.10" + vlan: "1" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.parsed b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.parsed deleted file mode 100644 index c571566517..0000000000 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.parsed +++ /dev/null @@ -1,47 +0,0 @@ ---- -parsed_sample: - -- destination_address: "0010.0de0.e289" - type: "Dynamic" - vlan: "1" - destination_port: "FastEthernet0/1" - -- destination_address: "0010.7b00.1540" - type: "Dynamic" - vlan: "2" - destination_port: "FastEthernet0/5" - -- destination_address: "0010.7b00.1545" - type: "Dynamic" - vlan: "2" - destination_port: "FastEthernet0/5" - -- destination_address: "0060.5cf4.0076" - type: "Dynamic" - vlan: "1" - destination_port: "FastEthernet0/1" - -- destination_address: "0060.5cf4.0077" - type: "Dynamic" - vlan: "1" - destination_port: "FastEthernet0/1" - -- destination_address: "0060.5cf4.1315" - type: "Dynamic" - vlan: "1" - destination_port: "FastEthernet0/1" - -- destination_address: "0060.70cb.f301" - type: "Dynamic" - vlan: "1" - destination_port: "FastEthernet0/1" - -- destination_address: "00e0.1e42.9978" - type: "Dynamic" - vlan: "1" - destination_port: "FastEthernet0/1" - -- destination_address: "00e0.1e9f.3900" - type: "Dynamic" - vlan: "1" - destination_port: "FastEthernet0/1" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml new file mode 100644 index 0000000000..0ad68037b1 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - destination_address: "0010.0de0.e289" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "0010.7b00.1540" + type: "Dynamic" + vlan: "2" + destination_port: "FastEthernet0/5" + - destination_address: "0010.7b00.1545" + type: "Dynamic" + vlan: "2" + destination_port: "FastEthernet0/5" + - destination_address: "0060.5cf4.0076" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "0060.5cf4.0077" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "0060.5cf4.1315" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "0060.70cb.f301" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "00e0.1e42.9978" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "00e0.1e9f.3900" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed deleted file mode 100644 index 8c825e987a..0000000000 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed +++ /dev/null @@ -1,47 +0,0 @@ ---- -parsed_sample: - -- destination_address: 30a3.30a3.a1c3 - destination_port: Te1/30 - type: dynamic - vlan: '666' - -- destination_address: 30a3.30a3.5ab8 - destination_port: Po3 - type: dynamic - vlan: '666' - -- destination_address: 30a3.30a3.4d54 - destination_port: Te1/21 - type: dynamic - vlan: '60' - -- destination_address: 0000.30a3.0167 - destination_port: Router - type: static - vlan: '777' - -- destination_address: 30a3.30a3.58b5 - destination_port: Po6 - type: dynamic - vlan: '664' - -- destination_address: 30a3.30a3.daf5 - destination_port: Te3/20 - type: dynamic - vlan: '667' - -- destination_address: 30a3.30a3.e401 - destination_port: Po6 - type: dynamic - vlan: '668' - -- destination_address: 30a3.30a3.5a22 - destination_port: Te3/20 - type: dynamic - vlan: '669' - -- destination_address: 30a3.30a3.5a22 - destination_port: Te3/20 - type: dynamic - vlan: '2000' diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml new file mode 100644 index 0000000000..970e0426b7 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - destination_address: "30a3.30a3.a1c3" + type: "dynamic" + vlan: "666" + destination_port: "Te1/30" + - destination_address: "30a3.30a3.5ab8" + type: "dynamic" + vlan: "666" + destination_port: "Po3" + - destination_address: "30a3.30a3.4d54" + type: "dynamic" + vlan: "60" + destination_port: "Te1/21" + - destination_address: "0000.30a3.0167" + type: "static" + vlan: "777" + destination_port: "Router" + - destination_address: "30a3.30a3.58b5" + type: "dynamic" + vlan: "664" + destination_port: "Po6" + - destination_address: "30a3.30a3.daf5" + type: "dynamic" + vlan: "667" + destination_port: "Te3/20" + - destination_address: "30a3.30a3.e401" + type: "dynamic" + vlan: "668" + destination_port: "Po6" + - destination_address: "30a3.30a3.5a22" + type: "dynamic" + vlan: "669" + destination_port: "Te3/20" + - destination_address: "30a3.30a3.5a22" + type: "dynamic" + vlan: "2000" + destination_port: "Te3/20" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.parsed b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.parsed deleted file mode 100644 index ce34901815..0000000000 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.parsed +++ /dev/null @@ -1,48 +0,0 @@ ---- - -parsed_sample: - -- destination_address: 30a3.30a3.a1c3 - destination_port: Port-channel1 - type: dynamic - vlan: '1' - -- destination_address: 30a3.30a3.a1c4 - destination_port: Port-channel1 - type: dynamic - vlan: '99' - -- destination_address: 30a3.30a3.a1c5 - destination_port: Port-channel1 - type: dynamic - vlan: '99' - -- destination_address: 30a3.30a3.a1c6 - destination_port: Port-channel1 - type: dynamic - vlan: '99' - -- destination_address: 30a3.30a3.a1c7 - destination_port: Port-channel1 - type: dynamic - vlan: '99' - -- destination_address: 30a3.30a3.a1c8 - destination_port: Port-channel1 - type: dynamic - vlan: '99' - -- destination_address: 30a3.30a3.a1c9 - destination_port: Port-channel1 - type: dynamic - vlan: '99' - -- destination_address: 30a3.30a3.a1ca - destination_port: Port-channel1 - type: dynamic - vlan: '99' - -- destination_address: 30a3.30a3.a1ca - destination_port: "Port-channel1" - type: dynamic - vlan: '2000' diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml new file mode 100644 index 0000000000..de4198e107 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - destination_address: "30a3.30a3.a1c3" + type: "dynamic" + vlan: "1" + destination_port: "Port-channel1" + - destination_address: "30a3.30a3.a1c4" + type: "dynamic" + vlan: "99" + destination_port: "Port-channel1" + - destination_address: "30a3.30a3.a1c5" + type: "dynamic" + vlan: "99" + destination_port: "Port-channel1" + - destination_address: "30a3.30a3.a1c6" + type: "dynamic" + vlan: "99" + destination_port: "Port-channel1" + - destination_address: "30a3.30a3.a1c7" + type: "dynamic" + vlan: "99" + destination_port: "Port-channel1" + - destination_address: "30a3.30a3.a1c8" + type: "dynamic" + vlan: "99" + destination_port: "Port-channel1" + - destination_address: "30a3.30a3.a1c9" + type: "dynamic" + vlan: "99" + destination_port: "Port-channel1" + - destination_address: "30a3.30a3.a1ca" + type: "dynamic" + vlan: "99" + destination_port: "Port-channel1" + - destination_address: "30a3.30a3.a1ca" + type: "dynamic" + vlan: "2000" + destination_port: "Port-channel1" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.parsed b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.parsed deleted file mode 100644 index 9ef099ba08..0000000000 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.parsed +++ /dev/null @@ -1,89 +0,0 @@ ---- - -parsed_sample: - -- destination_address: 0100.0ccc.cccc - destination_port: CPU - type: STATIC - vlan: All - -- destination_address: 0100.0ccc.cccd - destination_port: CPU - type: STATIC - vlan: All - -- destination_address: 0100.0ccc.ccce - destination_port: CPU - type: STATIC - vlan: All - -- destination_address: 0180.c200.0000 - destination_port: CPU - type: STATIC - vlan: All - -- destination_address: 0180.c200.0001 - destination_port: CPU - type: STATIC - vlan: All - -- destination_address: 30a3.30a3.a1c3 - destination_port: Po1 - type: DYNAMIC - vlan: '1' - -- destination_address: 30a3.30a3.a1c4 - destination_port: Po1 - type: DYNAMIC - vlan: '1' - -- destination_address: 30a3.30a3.a1c5 - destination_port: Po1 - type: DYNAMIC - vlan: '1' - -- destination_address: 30a3.30a3.a1c6 - destination_port: Po1 - type: DYNAMIC - vlan: '1' - -- destination_address: 30a3.30a3.a1c7 - destination_port: Te1/1/3 - type: DYNAMIC - vlan: '1' - -- destination_address: 30a3.30a3.a1c8 - destination_port: Te1/1/3 - type: DYNAMIC - vlan: '99' - -- destination_address: 30a3.30a3.a1c9 - destination_port: Te1/1/3 - type: DYNAMIC - vlan: '99' - -- destination_address: 30a3.30a3.a1ca - destination_port: Te1/1/3 - type: DYNAMIC - vlan: '99' - -- destination_address: 30a3.30a3.a1cb - destination_port: Te1/1/3 - type: DYNAMIC - vlan: '99' - -- destination_address: 30a3.30a3.a1cc - destination_port: Vl99 - type: STATIC - vlan: '99' - -- destination_address: 30a3.30a3.a1cd - destination_port: Po6 - type: DYNAMIC - vlan: '99' - -- destination_address: 30a3.30a3.a1cd - destination_port: Po6 - type: DYNAMIC - vlan: '2000' - \ No newline at end of file diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml new file mode 100644 index 0000000000..141468d8a7 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml @@ -0,0 +1,70 @@ +--- +parsed_sample: + - destination_address: "0100.0ccc.cccc" + type: "STATIC" + vlan: "All" + destination_port: "CPU" + - destination_address: "0100.0ccc.cccd" + type: "STATIC" + vlan: "All" + destination_port: "CPU" + - destination_address: "0100.0ccc.ccce" + type: "STATIC" + vlan: "All" + destination_port: "CPU" + - destination_address: "0180.c200.0000" + type: "STATIC" + vlan: "All" + destination_port: "CPU" + - destination_address: "0180.c200.0001" + type: "STATIC" + vlan: "All" + destination_port: "CPU" + - destination_address: "30a3.30a3.a1c3" + type: "DYNAMIC" + vlan: "1" + destination_port: "Po1" + - destination_address: "30a3.30a3.a1c4" + type: "DYNAMIC" + vlan: "1" + destination_port: "Po1" + - destination_address: "30a3.30a3.a1c5" + type: "DYNAMIC" + vlan: "1" + destination_port: "Po1" + - destination_address: "30a3.30a3.a1c6" + type: "DYNAMIC" + vlan: "1" + destination_port: "Po1" + - destination_address: "30a3.30a3.a1c7" + type: "DYNAMIC" + vlan: "1" + destination_port: "Te1/1/3" + - destination_address: "30a3.30a3.a1c8" + type: "DYNAMIC" + vlan: "99" + destination_port: "Te1/1/3" + - destination_address: "30a3.30a3.a1c9" + type: "DYNAMIC" + vlan: "99" + destination_port: "Te1/1/3" + - destination_address: "30a3.30a3.a1ca" + type: "DYNAMIC" + vlan: "99" + destination_port: "Te1/1/3" + - destination_address: "30a3.30a3.a1cb" + type: "DYNAMIC" + vlan: "99" + destination_port: "Te1/1/3" + - destination_address: "30a3.30a3.a1cc" + type: "STATIC" + vlan: "99" + destination_port: "Vl99" + - destination_address: "30a3.30a3.a1cd" + type: "DYNAMIC" + vlan: "99" + destination_port: "Po6" + - destination_address: "30a3.30a3.a1cd" + type: "DYNAMIC" + vlan: "2000" + destination_port: "Po6" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.parsed b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml similarity index 99% rename from tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.parsed rename to tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml index ffa1cbf9ec..7262f25e55 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.parsed +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml @@ -4,49 +4,39 @@ parsed_sample: type: "dynamic" vlan: "420" destination_port: "Po140" - - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" destination_port: "Po140" - - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" destination_port: "Po140" - - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" destination_port: "Po140" - - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" destination_port: "Po140" - - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" destination_port: "Po140" - - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" destination_port: "Po140" - - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" destination_port: "Po140" - - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" destination_port: "Po140" - - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" destination_port: "Po140" - diff --git a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.parsed b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.parsed deleted file mode 100644 index 8932740f13..0000000000 --- a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.parsed +++ /dev/null @@ -1,75 +0,0 @@ - -parsed_sample: - -- chassis_type: 'ASR1004' - slot_number: 'R0' - module_sku: 'ASR1000-RP1' - state: '' - running_state: 'ok' - internal_state: 'online' - internal_operational_state: 'ok' - insert_time: '00:00:48 (4d22h ago)' - uptime: '00:00:48 (4d22h ago)' - hardware_signal: '' - packet_signal: '' - -- chassis_type: 'ASR1004' - slot_number: 'R0/0' - module_sku: '' - state: '' - running_state: 'ok, active' - internal_state: '' - internal_operational_state: '' - insert_time: '' - uptime: '' - hardware_signal: '' - packet_signal: '' - -- chassis_type: 'ASR1004' - slot_number: 'R0/1' - module_sku: '' - state: '' - running_state: 'ok, standby' - internal_state: '' - internal_operational_state: '' - insert_time: '' - uptime: '' - hardware_signal: '' - packet_signal: '' - -- chassis_type: 'ASR1004' - slot_number: 'F0' - module_sku: 'ASR1000-ESP10' - state: '' - running_state: 'ok, active' - internal_state: 'online' - internal_operational_state: 'ok' - insert_time: '00:00:48 (4d22h ago)' - uptime: '00:01:40 (4d22h ago)' - hardware_signal: '00:00:49 (4d22h ago)' - packet_signal: '00:01:49 (4d22h ago)' - -- chassis_type: 'ASR1004' - slot_number: 'P0' - module_sku: 'ASR1004-PWR-AC' - state: 'ok' - running_state: '' - internal_state: '' - internal_operational_state: '' - insert_time: '00:01:40 (4d22h ago)' - uptime: '' - hardware_signal: '' - packet_signal: '' - -- chassis_type: 'ASR1004' - slot_number: 'P1' - module_sku: 'ASR1004-PWR-AC' - state: 'ok' - running_state: '' - internal_state: '' - internal_operational_state: '' - insert_time: '00:01:40 (4d22h ago)' - uptime: '' - hardware_signal: '' - packet_signal: '' - diff --git a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.yml b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.yml new file mode 100644 index 0000000000..d33b273dfb --- /dev/null +++ b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - chassis_type: "ASR1004" + slot_number: "R0" + module_sku: "ASR1000-RP1" + state: "" + running_state: "ok" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:48 (4d22h ago)" + uptime: "00:00:48 (4d22h ago)" + hardware_signal: "" + packet_signal: "" + - chassis_type: "ASR1004" + slot_number: "R0/0" + module_sku: "" + state: "" + running_state: "ok, active" + internal_state: "" + internal_operational_state: "" + insert_time: "" + uptime: "" + hardware_signal: "" + packet_signal: "" + - chassis_type: "ASR1004" + slot_number: "R0/1" + module_sku: "" + state: "" + running_state: "ok, standby" + internal_state: "" + internal_operational_state: "" + insert_time: "" + uptime: "" + hardware_signal: "" + packet_signal: "" + - chassis_type: "ASR1004" + slot_number: "F0" + module_sku: "ASR1000-ESP10" + state: "" + running_state: "ok, active" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:48 (4d22h ago)" + uptime: "00:01:40 (4d22h ago)" + hardware_signal: "00:00:49 (4d22h ago)" + packet_signal: "00:01:49 (4d22h ago)" + - chassis_type: "ASR1004" + slot_number: "P0" + module_sku: "ASR1004-PWR-AC" + state: "ok" + running_state: "" + internal_state: "" + internal_operational_state: "" + insert_time: "00:01:40 (4d22h ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" + - chassis_type: "ASR1004" + slot_number: "P1" + module_sku: "ASR1004-PWR-AC" + state: "ok" + running_state: "" + internal_state: "" + internal_operational_state: "" + insert_time: "00:01:40 (4d22h ago)" + uptime: "" + hardware_signal: "" + packet_signal: "" diff --git a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.parsed b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.parsed deleted file mode 100644 index 4f9829f9e1..0000000000 --- a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.parsed +++ /dev/null @@ -1,25 +0,0 @@ -parsed_sample: - -- chassis_type: 'CSR1000V' - slot_number: 'R0' - module_sku: 'CSR1000V' - state: '' - running_state: 'ok, active' - internal_state: 'online' - internal_operational_state: 'ok' - insert_time: '00:00:35 (4d16h ago)' - uptime: '00:00:35 (4d16h ago)' - hardware_signal: '' - packet_signal: '' - -- chassis_type: 'CSR1000V' - slot_number: 'F0' - module_sku: 'CSR1000V' - state: '' - running_state: 'ok, active' - internal_state: 'online' - internal_operational_state: 'ok' - insert_time: '00:00:35 (4d16h ago)' - uptime: '00:00:59 (4d16h ago)' - hardware_signal: '00:00:51 (4d16h ago)' - packet_signal: '00:01:06 (4d16h ago)' diff --git a/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.yml b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.yml new file mode 100644 index 0000000000..10b279755f --- /dev/null +++ b/tests/cisco_ios/show_platform_diag/cisco_ios_show_platform_diag_2.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - chassis_type: "CSR1000V" + slot_number: "R0" + module_sku: "CSR1000V" + state: "" + running_state: "ok, active" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:35 (4d16h ago)" + uptime: "00:00:35 (4d16h ago)" + hardware_signal: "" + packet_signal: "" + - chassis_type: "CSR1000V" + slot_number: "F0" + module_sku: "CSR1000V" + state: "" + running_state: "ok, active" + internal_state: "online" + internal_operational_state: "ok" + insert_time: "00:00:35 (4d16h ago)" + uptime: "00:00:59 (4d16h ago)" + hardware_signal: "00:00:51 (4d16h ago)" + packet_signal: "00:01:06 (4d16h ago)" diff --git a/tests/cisco_ios/show_power_available/cisco_ios_show_power_available.parsed b/tests/cisco_ios/show_power_available/cisco_ios_show_power_available.parsed deleted file mode 100644 index dc5a989309..0000000000 --- a/tests/cisco_ios/show_power_available/cisco_ios_show_power_available.parsed +++ /dev/null @@ -1,11 +0,0 @@ ---- -parsed_sample: - -- backplane_avail_watts: '40' - backplane_used_watts: '40' - inline_avail_watts: '3189' - inline_used_watts: '683' - max_avail_watts: '4200' - sys_avail_watts: '1360' - sys_used_watts: '971' - total_used_watts: '1694' diff --git a/tests/cisco_ios/show_power_available/cisco_ios_show_power_available.yml b/tests/cisco_ios/show_power_available/cisco_ios_show_power_available.yml new file mode 100644 index 0000000000..f59b624edb --- /dev/null +++ b/tests/cisco_ios/show_power_available/cisco_ios_show_power_available.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - backplane_avail_watts: "40" + backplane_used_watts: "40" + inline_avail_watts: "3189" + inline_used_watts: "683" + max_avail_watts: "4200" + sys_avail_watts: "1360" + sys_used_watts: "971" + total_used_watts: "1694" diff --git a/tests/cisco_ios/show_power_available/cisco_ios_show_power_available1.parsed b/tests/cisco_ios/show_power_available/cisco_ios_show_power_available1.parsed deleted file mode 100644 index d28c2d7685..0000000000 --- a/tests/cisco_ios/show_power_available/cisco_ios_show_power_available1.parsed +++ /dev/null @@ -1,11 +0,0 @@ ---- -parsed_sample: - -- backplane_avail_watts: '0' - backplane_used_watts: '0' - inline_avail_watts: '0' - inline_used_watts: '0' - max_avail_watts: '750' - sys_avail_watts: '750' - sys_used_watts: '575' - total_used_watts: '575' diff --git a/tests/cisco_ios/show_power_available/cisco_ios_show_power_available1.yml b/tests/cisco_ios/show_power_available/cisco_ios_show_power_available1.yml new file mode 100644 index 0000000000..b62998ae75 --- /dev/null +++ b/tests/cisco_ios/show_power_available/cisco_ios_show_power_available1.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - backplane_avail_watts: "0" + backplane_used_watts: "0" + inline_avail_watts: "0" + inline_used_watts: "0" + max_avail_watts: "750" + sys_avail_watts: "750" + sys_used_watts: "575" + total_used_watts: "575" diff --git a/tests/cisco_ios/show_power_status/cisco_ios_show_power_status.parsed b/tests/cisco_ios/show_power_status/cisco_ios_show_power_status.parsed deleted file mode 100644 index 3eb1cb6ec0..0000000000 --- a/tests/cisco_ios/show_power_status/cisco_ios_show_power_status.parsed +++ /dev/null @@ -1,51 +0,0 @@ ---- -parsed_sample: - -- fan_sensor: good - inline_status: good - input_status: '' - input_type: '' - model: PWR-C45-4200ACV - ps: PS1 - status: good - type: AC 4200W -- fan_sensor: good - inline_status: good - input_status: good - input_type: 220V - model: PWR-C45-4200ACV - ps: PS1-1 - status: '' - type: '' -- fan_sensor: good - inline_status: good - input_status: good - input_type: 220V - model: PWR-C45-4200ACV - ps: PS1-2 - status: '' - type: '' -- fan_sensor: good - inline_status: good - input_status: '' - input_type: '' - model: PWR-C45-4200ACV - ps: PS2 - status: err-disable - type: AC 4200W -- fan_sensor: good - inline_status: good - input_status: 'off' - input_type: '' - model: PWR-C45-4200ACV - ps: PS2-1 - status: '' - type: '' -- fan_sensor: good - inline_status: good - input_status: good - input_type: 220V - model: PWR-C45-4200ACV - ps: PS2-2 - status: '' - type: '' diff --git a/tests/cisco_ios/show_power_status/cisco_ios_show_power_status.yml b/tests/cisco_ios/show_power_status/cisco_ios_show_power_status.yml new file mode 100644 index 0000000000..464d09d66c --- /dev/null +++ b/tests/cisco_ios/show_power_status/cisco_ios_show_power_status.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - fan_sensor: "good" + inline_status: "good" + input_status: "" + input_type: "" + model: "PWR-C45-4200ACV" + ps: "PS1" + status: "good" + type: "AC 4200W" + - fan_sensor: "good" + inline_status: "good" + input_status: "good" + input_type: "220V" + model: "PWR-C45-4200ACV" + ps: "PS1-1" + status: "" + type: "" + - fan_sensor: "good" + inline_status: "good" + input_status: "good" + input_type: "220V" + model: "PWR-C45-4200ACV" + ps: "PS1-2" + status: "" + type: "" + - fan_sensor: "good" + inline_status: "good" + input_status: "" + input_type: "" + model: "PWR-C45-4200ACV" + ps: "PS2" + status: "err-disable" + type: "AC 4200W" + - fan_sensor: "good" + inline_status: "good" + input_status: "off" + input_type: "" + model: "PWR-C45-4200ACV" + ps: "PS2-1" + status: "" + type: "" + - fan_sensor: "good" + inline_status: "good" + input_status: "good" + input_type: "220V" + model: "PWR-C45-4200ACV" + ps: "PS2-2" + status: "" + type: "" diff --git a/tests/cisco_ios/show_power_status/cisco_ios_show_power_status1.parsed b/tests/cisco_ios/show_power_status/cisco_ios_show_power_status1.parsed deleted file mode 100644 index e96bceaabc..0000000000 --- a/tests/cisco_ios/show_power_status/cisco_ios_show_power_status1.parsed +++ /dev/null @@ -1,51 +0,0 @@ ---- -parsed_sample: - -- fan_sensor: good - inline_status: good - input_status: '' - input_type: '' - model: PWR-C45-4200ACV - ps: PS1 - status: good - type: AC 4200W -- fan_sensor: good - inline_status: good - input_status: good - input_type: 220V - model: PWR-C45-4200ACV - ps: PS1-1 - status: '' - type: '' -- fan_sensor: good - inline_status: good - input_status: good - input_type: 220V - model: PWR-C45-4200ACV - ps: PS1-2 - status: '' - type: '' -- fan_sensor: good - inline_status: good - input_status: '' - input_type: '' - model: PWR-C45-4200ACV - ps: PS2 - status: good - type: AC 4200W -- fan_sensor: good - inline_status: good - input_status: good - input_type: 220V - model: PWR-C45-4200ACV - ps: PS2-1 - status: '' - type: '' -- fan_sensor: good - inline_status: good - input_status: good - input_type: 220V - model: PWR-C45-4200ACV - ps: PS2-2 - status: '' - type: '' diff --git a/tests/cisco_ios/show_power_status/cisco_ios_show_power_status1.yml b/tests/cisco_ios/show_power_status/cisco_ios_show_power_status1.yml new file mode 100644 index 0000000000..c0f08eda1d --- /dev/null +++ b/tests/cisco_ios/show_power_status/cisco_ios_show_power_status1.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - fan_sensor: "good" + inline_status: "good" + input_status: "" + input_type: "" + model: "PWR-C45-4200ACV" + ps: "PS1" + status: "good" + type: "AC 4200W" + - fan_sensor: "good" + inline_status: "good" + input_status: "good" + input_type: "220V" + model: "PWR-C45-4200ACV" + ps: "PS1-1" + status: "" + type: "" + - fan_sensor: "good" + inline_status: "good" + input_status: "good" + input_type: "220V" + model: "PWR-C45-4200ACV" + ps: "PS1-2" + status: "" + type: "" + - fan_sensor: "good" + inline_status: "good" + input_status: "" + input_type: "" + model: "PWR-C45-4200ACV" + ps: "PS2" + status: "good" + type: "AC 4200W" + - fan_sensor: "good" + inline_status: "good" + input_status: "good" + input_type: "220V" + model: "PWR-C45-4200ACV" + ps: "PS2-1" + status: "" + type: "" + - fan_sensor: "good" + inline_status: "good" + input_status: "good" + input_type: "220V" + model: "PWR-C45-4200ACV" + ps: "PS2-2" + status: "" + type: "" diff --git a/tests/cisco_ios/show_power_status/cisco_ios_show_power_status2.parsed b/tests/cisco_ios/show_power_status/cisco_ios_show_power_status2.parsed deleted file mode 100644 index 73fe266075..0000000000 --- a/tests/cisco_ios/show_power_status/cisco_ios_show_power_status2.parsed +++ /dev/null @@ -1,19 +0,0 @@ ---- -parsed_sample: - -- fan_sensor: good - inline_status: n.a. - input_status: '' - input_type: '' - model: PWR-C4KX-750AC-R - ps: PS1 - status: good - type: AC 750W -- fan_sensor: good - inline_status: n.a. - input_status: '' - input_type: '' - model: PWR-C4KX-750AC-R - ps: PS2 - status: good - type: AC 750W diff --git a/tests/cisco_ios/show_power_status/cisco_ios_show_power_status2.yml b/tests/cisco_ios/show_power_status/cisco_ios_show_power_status2.yml new file mode 100644 index 0000000000..7ffe78b99b --- /dev/null +++ b/tests/cisco_ios/show_power_status/cisco_ios_show_power_status2.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - fan_sensor: "good" + inline_status: "n.a." + input_status: "" + input_type: "" + model: "PWR-C4KX-750AC-R" + ps: "PS1" + status: "good" + type: "AC 750W" + - fan_sensor: "good" + inline_status: "n.a." + input_status: "" + input_type: "" + model: "PWR-C4KX-750AC-R" + ps: "PS2" + status: "good" + type: "AC 750W" diff --git a/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies.parsed b/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies.parsed deleted file mode 100644 index 5a74805a0e..0000000000 --- a/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies.parsed +++ /dev/null @@ -1,5 +0,0 @@ ---- -parsed_sample: - -- ps_avail: '1' - ps_needed: '1' diff --git a/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies.yml b/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies.yml new file mode 100644 index 0000000000..caeed79d94 --- /dev/null +++ b/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies.yml @@ -0,0 +1,4 @@ +--- +parsed_sample: + - ps_avail: "1" + ps_needed: "1" diff --git a/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies1.parsed b/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies1.parsed deleted file mode 100644 index 995a669840..0000000000 --- a/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies1.parsed +++ /dev/null @@ -1,5 +0,0 @@ ---- -parsed_sample: - -- ps_avail: '2' - ps_needed: '1' diff --git a/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies1.yml b/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies1.yml new file mode 100644 index 0000000000..6a9c931ac0 --- /dev/null +++ b/tests/cisco_ios/show_power_supplies/cisco_ios_show_power_supplies1.yml @@ -0,0 +1,4 @@ +--- +parsed_sample: + - ps_avail: "2" + ps_needed: "1" diff --git a/tests/cisco_ios/show_processes_cpu/cisco_ios_show_processes_cpu.parsed b/tests/cisco_ios/show_processes_cpu/cisco_ios_show_processes_cpu.parsed deleted file mode 100644 index c378ec540f..0000000000 --- a/tests/cisco_ios/show_processes_cpu/cisco_ios_show_processes_cpu.parsed +++ /dev/null @@ -1,7 +0,0 @@ ---- -parsed_sample: - -- cpu_1_min: '6' - cpu_5_min: '5' - cpu_5_sec: '4' - interrupts: '0' diff --git a/tests/cisco_ios/show_processes_cpu/cisco_ios_show_processes_cpu.yml b/tests/cisco_ios/show_processes_cpu/cisco_ios_show_processes_cpu.yml new file mode 100644 index 0000000000..81fe3982cd --- /dev/null +++ b/tests/cisco_ios/show_processes_cpu/cisco_ios_show_processes_cpu.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - cpu_1_min: "6" + cpu_5_min: "5" + cpu_5_sec: "4" + interrupts: "0" diff --git a/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.parsed b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.parsed deleted file mode 100644 index 4643251ab1..0000000000 --- a/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.parsed +++ /dev/null @@ -1,10 +0,0 @@ ---- -parsed_sample: - - memory_total: "919638648" - memory_used: "236752096" - memory_free: "682886552" - process_id: ["0", "78", "0", "365", "1", "382", "165", "0", "4", "366", "338", "480", "10"] - process_allocated: ["209299480", "2569666688", "607956496", "3946896", "1583728", "1510464", "2957736", "0", "525856", "381680", "309184", "167752", "4096314696"] - process_freed: ["13474544", "1554280", "428619384", "5680", "3472", "33704", "12304", "0", "23256", "5680", "1640", "448", "4096430632"] - process_holding: ["178205704", "27061536", "6374592", "3983160", "1613672", "1506704", "1112904", "657856", "458696", "417944", "361488", "221248", "215576"] - process: ["*Init*", "IOSD ipc task", "*Dead*", "EEM ED Syslog", "Chunk Manager", "EEM Server", "CWAN OIR Handler", "*MallocLite*", "RF Slave Main Th", "EEM ED Generic", "Crypto IKEv2", "MRIB Process", "Pool Manager"] diff --git a/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.yml b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.yml new file mode 100644 index 0000000000..0796f67218 --- /dev/null +++ b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.yml @@ -0,0 +1,75 @@ +--- +parsed_sample: + - memory_total: "919638648" + memory_used: "236752096" + memory_free: "682886552" + process_id: + - "0" + - "78" + - "0" + - "365" + - "1" + - "382" + - "165" + - "0" + - "4" + - "366" + - "338" + - "480" + - "10" + process_allocated: + - "209299480" + - "2569666688" + - "607956496" + - "3946896" + - "1583728" + - "1510464" + - "2957736" + - "0" + - "525856" + - "381680" + - "309184" + - "167752" + - "4096314696" + process_freed: + - "13474544" + - "1554280" + - "428619384" + - "5680" + - "3472" + - "33704" + - "12304" + - "0" + - "23256" + - "5680" + - "1640" + - "448" + - "4096430632" + process_holding: + - "178205704" + - "27061536" + - "6374592" + - "3983160" + - "1613672" + - "1506704" + - "1112904" + - "657856" + - "458696" + - "417944" + - "361488" + - "221248" + - "215576" + process: + - "*Init*" + - "IOSD ipc task" + - "*Dead*" + - "EEM ED Syslog" + - "Chunk Manager" + - "EEM Server" + - "CWAN OIR Handler" + - "*MallocLite*" + - "RF Slave Main Th" + - "EEM ED Generic" + - "Crypto IKEv2" + - "MRIB Process" + - "Pool Manager" diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.parsed b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.yml similarity index 100% rename from tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.parsed rename to tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.yml diff --git a/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.parsed b/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.parsed deleted file mode 100644 index d13859c3d4..0000000000 --- a/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.parsed +++ /dev/null @@ -1,12 +0,0 @@ ---- -parsed_sample: - - "name": "equal" - "action": "permit" - "seq": "10" - "match_clauses": ["length 150 200"] - "set_clauses": ["ip next-hop 10.10.11.254"] - - "name": "equal" - "action": "permit" - "seq": "20" - "match_clauses": ["ip address prefix-lists: PFX", "ip address (access-lists): 101"] - "set_clauses": ["ip next-hop 10.10.11.14"] diff --git a/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.yml b/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.yml new file mode 100644 index 0000000000..8a84c5ad06 --- /dev/null +++ b/tests/cisco_ios/show_route-map/cisco_ios_show_route-map.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - name: "equal" + action: "permit" + seq: "10" + match_clauses: + - "length 150 200" + set_clauses: + - "ip next-hop 10.10.11.254" + - name: "equal" + action: "permit" + seq: "20" + match_clauses: + - "ip address prefix-lists: PFX" + - "ip address (access-lists): 101" + set_clauses: + - "ip next-hop 10.10.11.14" diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed deleted file mode 100644 index c5f37e4c6f..0000000000 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.parsed +++ /dev/null @@ -1,2048 +0,0 @@ -parsed_sample: -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows BGP"' - action: "permit" - protocol: "tcp" - src_host: "10.1.6.20" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.98" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "bgp" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "10.1.6.20" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "eq" - src_port: "bgp" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.98" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample to ping"' - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.98" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.98" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample to ping"' - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample to ping"' - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample to ping"' - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample to ping"' - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample to ping"' - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "allows sample to ping" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.8.26" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.8.26" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "allows sample to ping" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.8.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.8.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "permit sample servers to ping" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.14.0" - dst_wildcard: "0.0.0.127" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.14.0" - dst_wildcard: "0.0.0.127" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "allows sample to ping" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.248" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.248" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.139.128" - dst_wildcard: "0.0.0.7" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "icmp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.139.128" - dst_wildcard: "0.0.0.7" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample workstation(s) to connect"' - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4000" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4010" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4020" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4080" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4300" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4310" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4320" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.5.20" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4380" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample workstation(s)"' - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4000" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4010" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4020" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4300" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4310" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.144" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4320" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample workstation(s)"' - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4000" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4010" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4020" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4300" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4310" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.146" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4320" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample workstation(s)"' - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4050" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4060" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4350" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.148" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4360" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: '"allows sample workstation(s)"' - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4000" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4010" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4020" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4080" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4300" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4310" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4320" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.6.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4380" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "permit sample workstation(s)" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.8.26" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4001" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "permit sample workstation(s)" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.8.152" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "4001" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "permit sample to connect" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.14.64" - dst_wildcard: "0.0.0.31" - dst_port_match: "eq" - dst_port: "9815" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.14.64" - dst_wildcard: "0.0.0.31" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "9821" - dst_port_range_end: "9823" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "permit sample to connect" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "10.3.14.96" - dst_wildcard: "0.0.0.31" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "7400" - dst_port_range_end: "7407" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "permit sample UDP access" - action: "permit" - protocol: "udp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.133" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "13001" - dst_port_range_end: "13191" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "udp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.133" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "13001" - dst_port_range_end: "13191" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "permit sample TCP access" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.16" - src_wildcard: "0.0.0.3" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.134" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "13001" - dst_port_range_end: "13191" - log: "log" - time: "test" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.1.6.24" - src_wildcard: "0.0.0.7" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.3.139.134" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "range" - dst_port: "" - dst_port_range_start: "13001" - dst_port_range_end: "13191" - log: "log-input" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "allow sample to send PIM-Join" - action: "permit" - protocol: "pim" - src_host: "10.1.6.20" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "224.0.0.1" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "deny" - protocol: "ip" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "sample" - acl_type: "extended" - comment: "" - action: "permit" - protocol: "ip" - src_host: "" - src_any: "" - src_network: "10.0.0.0" - src_wildcard: "0.255.0.255" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "test" - acl_type: "extended" - comment: "" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "97" - acl_type: "" - comment: "this is a remark" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "97" - acl_type: "" - comment: "" - action: "deny" - protocol: "" - src_host: "" - src_any: "" - src_network: "10.1.0.1" - src_wildcard: "0.0.255.0" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "log" - time: "" -- acl_name: "97" - acl_type: "" - comment: "" - action: "permit" - protocol: "" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "98" - acl_type: "" - comment: "" - action: "permit" - protocol: "" - src_host: "10.16.5.19" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "98" - acl_type: "" - comment: "" - action: "permit" - protocol: "" - src_host: "10.16.5.20" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "99" - acl_type: "" - comment: "" - action: "permit" - protocol: "" - src_host: "10.16.5.19" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "99" - acl_type: "" - comment: "" - action: "permit" - protocol: "" - src_host: "10.16.5.20" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "199" - acl_type: "" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.16.5.19" - src_wildcard: "0.0.0.0" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "80" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "199" - acl_type: "" - comment: "" - action: "permit" - protocol: "udp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "1000" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "101" - acl_type: "" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.1.1" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "www" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "101" - acl_type: "" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "10.1.1.1" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "443" - dst_port_range_start: "" - dst_port_range_end: "" - log: "log" - time: "" -- acl_name: "101" - acl_type: "" - comment: "this is a remark" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "101" - acl_type: "" - comment: "" - action: "permit" - protocol: "ahp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "log-input" - time: "" -- acl_name: "101" - acl_type: "" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "10.1.1.1" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "eq" - src_port: "ftp" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "tacacs" - dst_port_range_start: "" - dst_port_range_end: "" - log: "log" - time: "test" -- acl_name: "stdacl" - acl_type: "standard" - comment: "" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "stdacl" - acl_type: "standard" - comment: "" - action: "permit" - protocol: "" - src_host: "10.1.1.1" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "test2" - acl_type: "extended" - comment: "" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "198" - acl_type: "" - comment: "" - action: "permit" - protocol: "tcp" - src_host: "" - src_any: "" - src_network: "10.16.5.19" - src_wildcard: "0.0.0.0" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "80" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" -- acl_name: "198" - acl_type: "" - comment: "" - action: "permit" - protocol: "udp" - src_host: "" - src_any: "any" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "any" - dst_network: "" - dst_wildcard: "" - dst_port_match: "eq" - dst_port: "1000" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml new file mode 100644 index 0000000000..d09e962af6 --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml @@ -0,0 +1,2049 @@ +--- +parsed_sample: + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows BGP\"" + action: "permit" + protocol: "tcp" + src_host: "10.1.6.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "10.1.6.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "bgp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "allows sample to ping" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "allows sample to ping" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "permit sample servers to ping" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "allows sample to ping" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample workstation(s) to connect\"" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample workstation(s)\"" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample workstation(s)\"" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample workstation(s)\"" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4050" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4060" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4350" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4360" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "\"allows sample workstation(s)\"" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "permit sample workstation(s)" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "permit sample workstation(s)" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "permit sample to connect" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "eq" + dst_port: "9815" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "9821" + dst_port_range_end: "9823" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "permit sample to connect" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.96" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "7400" + dst_port_range_end: "7407" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "permit sample UDP access" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "permit sample TCP access" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + log: "log" + time: "test" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + log: "log-input" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "allow sample to send PIM-Join" + action: "permit" + protocol: "pim" + src_host: "10.1.6.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "224.0.0.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "deny" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: "" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "" + src_network: "10.0.0.0" + src_wildcard: "0.255.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "test" + acl_type: "extended" + comment: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "97" + acl_type: "" + comment: "this is a remark" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "97" + acl_type: "" + comment: "" + action: "deny" + protocol: "" + src_host: "" + src_any: "" + src_network: "10.1.0.1" + src_wildcard: "0.0.255.0" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log" + time: "" + - acl_name: "97" + acl_type: "" + comment: "" + action: "permit" + protocol: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "98" + acl_type: "" + comment: "" + action: "permit" + protocol: "" + src_host: "10.16.5.19" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "98" + acl_type: "" + comment: "" + action: "permit" + protocol: "" + src_host: "10.16.5.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "99" + acl_type: "" + comment: "" + action: "permit" + protocol: "" + src_host: "10.16.5.19" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "99" + acl_type: "" + comment: "" + action: "permit" + protocol: "" + src_host: "10.16.5.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "199" + acl_type: "" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.16.5.19" + src_wildcard: "0.0.0.0" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "80" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "199" + acl_type: "" + comment: "" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "1000" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "101" + acl_type: "" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "101" + acl_type: "" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "443" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log" + time: "" + - acl_name: "101" + acl_type: "" + comment: "this is a remark" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "101" + acl_type: "" + comment: "" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log-input" + time: "" + - acl_name: "101" + acl_type: "" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "ftp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "tacacs" + dst_port_range_start: "" + dst_port_range_end: "" + log: "log" + time: "test" + - acl_name: "stdacl" + acl_type: "standard" + comment: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "stdacl" + acl_type: "standard" + comment: "" + action: "permit" + protocol: "" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "test2" + acl_type: "extended" + comment: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "198" + acl_type: "" + comment: "" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.16.5.19" + src_wildcard: "0.0.0.0" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "80" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" + - acl_name: "198" + acl_type: "" + comment: "" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "1000" + dst_port_range_start: "" + dst_port_range_end: "" + log: "" + time: "" diff --git a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed deleted file mode 100644 index 94ae5a45e0..0000000000 --- a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.parsed +++ /dev/null @@ -1,87 +0,0 @@ ---- -parsed_sample: - -- route_map_name: "RIP_TO_BGP" - sequence: "100" - match_metric_value: "4" - match_prefix_list: "" - match_community_value: "" - set_community_value: "11167:5002" - set_local_pref_value: "" - set_prepend_as_path: "" - -- route_map_name: "RIP_TO_BGP" - sequence: "200" - match_metric_value: "" - match_prefix_list: "" - match_community_value: "" - set_community_value: "" - set_local_pref_value: "" - set_prepend_as_path: "" - -- route_map_name: "CLINK_BGP_IN" - sequence: "100" - match_metric_value: "" - match_prefix_list: "CLINK_BGP_IN" - match_community_value: "" - set_community_value: "" - set_local_pref_value: "200" - set_prepend_as_path: "" - -- route_map_name: "CLINK_BGP_IN" - sequence: "110" - match_metric_value: "" - match_prefix_list: "" - match_community_value: "500" - set_community_value: "no-advertise" - set_local_pref_value: "" - set_prepend_as_path: "" - -- route_map_name: "CLINK_BGP_IN" - sequence: "120" - match_metric_value: "" - match_prefix_list: "" - match_community_value: "11167_4000" - set_community_value: "" - set_local_pref_value: "200" - set_prepend_as_path: "" - -- route_map_name: "BGP_TO_OSPF" - sequence: "100" - match_metric_value: "" - match_prefix_list: "BGP_TO_OSPF" - match_community_value: "" - set_community_value: "" - set_local_pref_value: "" - set_prepend_as_path: "" - -- route_map_name: "BGP_TO_OSPF" - sequence: "110" - match_metric_value: "" - match_prefix_list: "" - match_community_value: "11167_4000" - set_community_value: "" - set_local_pref_value: "" - set_prepend_as_path: "" - -- route_map_name: "CLINK_BGP_OUT" - sequence: "50" - match_metric_value: "" - match_prefix_list: "" - match_community_value: "4" - set_community_value: "11167:5000 additive" - set_local_pref_value: "" - set_prepend_as_path: "65005 65005 65005" - -- route_map_name: "CLINK_BGP_OUT" - sequence: "100" - match_metric_value: "" - match_prefix_list: "CLINK_BGP_OUT" - match_community_value: "" - set_community_value: "11167:5000" - set_local_pref_value: "" - set_prepend_as_path: "65005" - - - - diff --git a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.yml b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.yml new file mode 100644 index 0000000000..26008b00ff --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map.yml @@ -0,0 +1,74 @@ +--- +parsed_sample: + - route_map_name: "RIP_TO_BGP" + sequence: "100" + match_metric_value: "4" + match_prefix_list: "" + match_community_value: "" + set_community_value: "11167:5002" + set_local_pref_value: "" + set_prepend_as_path: "" + - route_map_name: "RIP_TO_BGP" + sequence: "200" + match_metric_value: "" + match_prefix_list: "" + match_community_value: "" + set_community_value: "" + set_local_pref_value: "" + set_prepend_as_path: "" + - route_map_name: "CLINK_BGP_IN" + sequence: "100" + match_metric_value: "" + match_prefix_list: "CLINK_BGP_IN" + match_community_value: "" + set_community_value: "" + set_local_pref_value: "200" + set_prepend_as_path: "" + - route_map_name: "CLINK_BGP_IN" + sequence: "110" + match_metric_value: "" + match_prefix_list: "" + match_community_value: "500" + set_community_value: "no-advertise" + set_local_pref_value: "" + set_prepend_as_path: "" + - route_map_name: "CLINK_BGP_IN" + sequence: "120" + match_metric_value: "" + match_prefix_list: "" + match_community_value: "11167_4000" + set_community_value: "" + set_local_pref_value: "200" + set_prepend_as_path: "" + - route_map_name: "BGP_TO_OSPF" + sequence: "100" + match_metric_value: "" + match_prefix_list: "BGP_TO_OSPF" + match_community_value: "" + set_community_value: "" + set_local_pref_value: "" + set_prepend_as_path: "" + - route_map_name: "BGP_TO_OSPF" + sequence: "110" + match_metric_value: "" + match_prefix_list: "" + match_community_value: "11167_4000" + set_community_value: "" + set_local_pref_value: "" + set_prepend_as_path: "" + - route_map_name: "CLINK_BGP_OUT" + sequence: "50" + match_metric_value: "" + match_prefix_list: "" + match_community_value: "4" + set_community_value: "11167:5000 additive" + set_local_pref_value: "" + set_prepend_as_path: "65005 65005 65005" + - route_map_name: "CLINK_BGP_OUT" + sequence: "100" + match_metric_value: "" + match_prefix_list: "CLINK_BGP_OUT" + match_community_value: "" + set_community_value: "11167:5000" + set_local_pref_value: "" + set_prepend_as_path: "65005" diff --git a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.parsed b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.parsed deleted file mode 100644 index 4af1738281..0000000000 --- a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.parsed +++ /dev/null @@ -1,41 +0,0 @@ -parsed_sample: - - match_community_value: '' - match_metric_value: '' - match_prefix_list: BGP_IN - route_map_name: BGP_IN - sequence: '100' - set_community_value: '' - set_local_pref_value: '200' - set_prepend_as_path: '' - - match_community_value: '500' - match_metric_value: '' - match_prefix_list: '' - route_map_name: BGP_IN - sequence: '110' - set_community_value: no-advertise - set_local_pref_value: '' - set_prepend_as_path: '' - - match_community_value: '11167_4000' - match_metric_value: '' - match_prefix_list: '' - route_map_name: BGP_IN - sequence: '120' - set_community_value: '' - set_local_pref_value: '200' - set_prepend_as_path: '' - - match_community_value: '4' - match_metric_value: '' - match_prefix_list: '' - route_map_name: BGP_OUT - sequence: '50' - set_community_value: 11167:5000 additive - set_local_pref_value: '' - set_prepend_as_path: 65005 65005 65005 - - match_community_value: '' - match_metric_value: '' - match_prefix_list: BGP_OUT - route_map_name: BGP_OUT - sequence: '100' - set_community_value: 11167:5000 - set_local_pref_value: '' - set_prepend_as_path: '' diff --git a/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.yml b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.yml new file mode 100644 index 0000000000..b08ec9a22f --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_route-map/cisco_ios_show_running-config_partition_route-map2.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - match_community_value: "" + match_metric_value: "" + match_prefix_list: "BGP_IN" + route_map_name: "BGP_IN" + sequence: "100" + set_community_value: "" + set_local_pref_value: "200" + set_prepend_as_path: "" + - match_community_value: "500" + match_metric_value: "" + match_prefix_list: "" + route_map_name: "BGP_IN" + sequence: "110" + set_community_value: "no-advertise" + set_local_pref_value: "" + set_prepend_as_path: "" + - match_community_value: "11167_4000" + match_metric_value: "" + match_prefix_list: "" + route_map_name: "BGP_IN" + sequence: "120" + set_community_value: "" + set_local_pref_value: "200" + set_prepend_as_path: "" + - match_community_value: "4" + match_metric_value: "" + match_prefix_list: "" + route_map_name: "BGP_OUT" + sequence: "50" + set_community_value: "11167:5000 additive" + set_local_pref_value: "" + set_prepend_as_path: "65005 65005 65005" + - match_community_value: "" + match_metric_value: "" + match_prefix_list: "BGP_OUT" + route_map_name: "BGP_OUT" + sequence: "100" + set_community_value: "11167:5000" + set_local_pref_value: "" + set_prepend_as_path: "" diff --git a/tests/cisco_ios/show_snmp_community/cisco_ios_show_snmp_community.parsed b/tests/cisco_ios/show_snmp_community/cisco_ios_show_snmp_community.parsed deleted file mode 100644 index e959731051..0000000000 --- a/tests/cisco_ios/show_snmp_community/cisco_ios_show_snmp_community.parsed +++ /dev/null @@ -1,17 +0,0 @@ ---- -parsed_sample: -- name: "ILMI" - index: "cisco0" - security_name: "ILMI" - storage_type: "read-only" - -- name: "public" - index: "cisco1" - security_name: "public" - storage_type: "nonvolatile" - -- name: "private" - index: "cisco2" - security_name: "private" - storage_type: "nonvolatile" - diff --git a/tests/cisco_ios/show_snmp_community/cisco_ios_show_snmp_community.yml b/tests/cisco_ios/show_snmp_community/cisco_ios_show_snmp_community.yml new file mode 100644 index 0000000000..1d07e30bb6 --- /dev/null +++ b/tests/cisco_ios/show_snmp_community/cisco_ios_show_snmp_community.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - name: "ILMI" + index: "cisco0" + security_name: "ILMI" + storage_type: "read-only" + - name: "public" + index: "cisco1" + security_name: "public" + storage_type: "nonvolatile" + - name: "private" + index: "cisco2" + security_name: "private" + storage_type: "nonvolatile" diff --git a/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed deleted file mode 100644 index 087e3df634..0000000000 --- a/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.parsed +++ /dev/null @@ -1,23 +0,0 @@ ---- -parsed_sample: -- access_list: '' - authentication_protocol: SHA - engine_id: 80000009030000451DEC1085 - group_name: managerpriv - privacy_protocol: AES128 - storage_type: nonvolatile - user_name: user_snmp1 -- access_list: '10' - authentication_protocol: SHA - engine_id: 80000009030000451DEC1085 - group_name: managerpriv - privacy_protocol: AES128 - storage_type: nonvolatile - user_name: user_snmp2 -- access_list: '' - authentication_protocol: None - engine_id: 8000000903005E0000010000 - group_name: test-group - privacy_protocol: "-" - storage_type: nonvolatile - user_name: test-user diff --git a/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.yml b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.yml new file mode 100644 index 0000000000..529ecf2e91 --- /dev/null +++ b/tests/cisco_ios/show_snmp_user/cisco_ios_show_snmp_user.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - user_name: "user_snmp1" + engine_id: "80000009030000451DEC1085" + storage_type: "nonvolatile" + access_list: "" + authentication_protocol: "SHA" + privacy_protocol: "AES128" + group_name: "managerpriv" + - user_name: "user_snmp2" + engine_id: "80000009030000451DEC1085" + storage_type: "nonvolatile" + access_list: "10" + authentication_protocol: "SHA" + privacy_protocol: "AES128" + group_name: "managerpriv" + - user_name: "test-user" + engine_id: "8000000903005E0000010000" + storage_type: "nonvolatile" + access_list: "" + authentication_protocol: "None" + privacy_protocol: "-" + group_name: "test-group" diff --git a/tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.parsed b/tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.parsed deleted file mode 100644 index 12ed6d5e64..0000000000 --- a/tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.parsed +++ /dev/null @@ -1,65 +0,0 @@ ---- -parsed_sample: - -- cost: '4' - interface: Gi0/2 - port_id: '3' - port_priority: '128' - role: Desg - status: FWD - type: Shr - vlan_id: '1' - -- cost: '4' - interface: Gi0/3 - port_id: '4' - port_priority: '128' - role: Root - status: FWD - type: Shr - vlan_id: '1' - -- cost: '4' - interface: Gi1/0 - port_id: '5' - port_priority: '128' - role: Altn - status: BLK - type: Shr - vlan_id: '1' - -- cost: '4' - interface: Gi0/3 - port_id: '4' - port_priority: '128' - role: Root - status: FWD - type: Shr - vlan_id: '2' - -- cost: '4' - interface: Gi1/0 - port_id: '5' - port_priority: '128' - role: Altn - status: BLK - type: Shr - vlan_id: '2' - -- cost: '4' - interface: Gi0/3 - port_id: '4' - port_priority: '128' - role: Root - status: FWD - type: Shr - vlan_id: '3' - -- cost: '4' - interface: Gi1/0 - port_id: '5' - port_priority: '128' - role: Altn - status: BLK - type: Shr - vlan_id: '3' diff --git a/tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.yml b/tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.yml new file mode 100644 index 0000000000..809c70ace3 --- /dev/null +++ b/tests/cisco_ios/show_spanning-tree/cisco_ios_show_spanning_tree.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - cost: "4" + interface: "Gi0/2" + port_id: "3" + port_priority: "128" + role: "Desg" + status: "FWD" + type: "Shr" + vlan_id: "1" + - cost: "4" + interface: "Gi0/3" + port_id: "4" + port_priority: "128" + role: "Root" + status: "FWD" + type: "Shr" + vlan_id: "1" + - cost: "4" + interface: "Gi1/0" + port_id: "5" + port_priority: "128" + role: "Altn" + status: "BLK" + type: "Shr" + vlan_id: "1" + - cost: "4" + interface: "Gi0/3" + port_id: "4" + port_priority: "128" + role: "Root" + status: "FWD" + type: "Shr" + vlan_id: "2" + - cost: "4" + interface: "Gi1/0" + port_id: "5" + port_priority: "128" + role: "Altn" + status: "BLK" + type: "Shr" + vlan_id: "2" + - cost: "4" + interface: "Gi0/3" + port_id: "4" + port_priority: "128" + role: "Root" + status: "FWD" + type: "Shr" + vlan_id: "3" + - cost: "4" + interface: "Gi1/0" + port_id: "5" + port_priority: "128" + role: "Altn" + status: "BLK" + type: "Shr" + vlan_id: "3" diff --git a/tests/cisco_ios/show_standby/cisco_ios_show_standby.parsed b/tests/cisco_ios/show_standby/cisco_ios_show_standby.parsed deleted file mode 100644 index a2f1cf032b..0000000000 --- a/tests/cisco_ios/show_standby/cisco_ios_show_standby.parsed +++ /dev/null @@ -1,20 +0,0 @@ ---- -parsed_sample: - -- group: "50" - version: "2" - state: "Standby" - virtual_ip: "10.0.52.161" - active_virtual_mac: "0000.0c9f.f032" - local_virtual_mac: "0000.0c9f.f032" - hello_time: "3" - hold_time: "10" - authentication: "MD5" - preemption: "enabled" - active_router: "10.0.52.163" - active_router_priority: "110" - active_router_mac: "6073.5c43.63b7" - standby_router: "local" - standby_router_priority: "" - priority: "90" - group_name: "hsrp-Vl50-50" diff --git a/tests/cisco_ios/show_standby/cisco_ios_show_standby.yml b/tests/cisco_ios/show_standby/cisco_ios_show_standby.yml new file mode 100644 index 0000000000..23f2ea7d71 --- /dev/null +++ b/tests/cisco_ios/show_standby/cisco_ios_show_standby.yml @@ -0,0 +1,19 @@ +--- +parsed_sample: + - group: "50" + version: "2" + state: "Standby" + virtual_ip: "10.0.52.161" + active_virtual_mac: "0000.0c9f.f032" + local_virtual_mac: "0000.0c9f.f032" + hello_time: "3" + hold_time: "10" + authentication: "MD5" + preemption: "enabled" + active_router: "10.0.52.163" + active_router_priority: "110" + active_router_mac: "6073.5c43.63b7" + standby_router: "local" + standby_router_priority: "" + priority: "90" + group_name: "hsrp-Vl50-50" diff --git a/tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.parsed b/tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.parsed deleted file mode 100644 index f609ababae..0000000000 --- a/tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.parsed +++ /dev/null @@ -1,65 +0,0 @@ ---- -parsed_sample: - -- iface: 'Vl1' - group: '1' - priority: '120' - preempt: 'P' - state: 'Active' - active: 'local' - standby: '10.1.1.3' - virtualip: '10.1.1.1' - -- iface: 'Vl1' - group: '6' - priority: '120' - preempt: 'P' - state: 'Active' - active: 'local' - standby: 'FE80::B' - virtualip: 'FE80::DEF' - -- iface: 'Vl51' - group: '1' - priority: '120' - preempt: 'P' - state: 'Init' - active: 'unknown' - standby: 'unknown' - virtualip: '10.1.51.1' - -- iface: 'Vl51' - group: '6' - priority: '120' - preempt: 'P' - state: 'Init' - active: 'unknown' - standby: 'unknown' - virtualip: 'FE80::DEF' - -- iface: 'Vl500' - group: '1' - priority: '120' - preempt: 'P' - state: 'Active' - active: 'local' - standby: '10.1.5.3' - virtualip: '10.1.5.1' - -- iface: 'Vl500' - group: '6' - priority: '120' - preempt: 'P' - state: 'Active' - active: 'local' - standby: 'FE80::B' - virtualip: 'FE80::DEF' - -- iface: 'Vl4010' - group: '1' - priority: '120' - preempt: 'P' - state: 'Active' - active: 'local' - standby: '10.1.254.3' - virtualip: '10.1.254.1' diff --git a/tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.yml b/tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.yml new file mode 100644 index 0000000000..7ac9b3ceaa --- /dev/null +++ b/tests/cisco_ios/show_standby_brief/cisco_ios_show_standby_brief.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - iface: "Vl1" + group: "1" + priority: "120" + preempt: "P" + state: "Active" + active: "local" + standby: "10.1.1.3" + virtualip: "10.1.1.1" + - iface: "Vl1" + group: "6" + priority: "120" + preempt: "P" + state: "Active" + active: "local" + standby: "FE80::B" + virtualip: "FE80::DEF" + - iface: "Vl51" + group: "1" + priority: "120" + preempt: "P" + state: "Init" + active: "unknown" + standby: "unknown" + virtualip: "10.1.51.1" + - iface: "Vl51" + group: "6" + priority: "120" + preempt: "P" + state: "Init" + active: "unknown" + standby: "unknown" + virtualip: "FE80::DEF" + - iface: "Vl500" + group: "1" + priority: "120" + preempt: "P" + state: "Active" + active: "local" + standby: "10.1.5.3" + virtualip: "10.1.5.1" + - iface: "Vl500" + group: "6" + priority: "120" + preempt: "P" + state: "Active" + active: "local" + standby: "FE80::B" + virtualip: "FE80::DEF" + - iface: "Vl4010" + group: "1" + priority: "120" + preempt: "P" + state: "Active" + active: "local" + standby: "10.1.254.3" + virtualip: "10.1.254.1" diff --git a/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.parsed b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.yml similarity index 99% rename from tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.parsed rename to tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.yml index e4b92072cd..6ed55c78a3 100644 --- a/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.parsed +++ b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail1.yml @@ -1,6 +1,5 @@ --- parsed_sample: - - switch: "1" role: "Master" mac_address: "a0e0.af1d.bb80" diff --git a/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.parsed b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.yml similarity index 99% rename from tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.parsed rename to tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.yml index eaff481b50..f1f080b53a 100644 --- a/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.parsed +++ b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail2.yml @@ -1,6 +1,5 @@ --- parsed_sample: - - switch: "1" role: "Master" mac_address: "4c4e.3573.ac00" diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.parsed b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml similarity index 99% rename from tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.parsed rename to tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml index a1f31c0f2c..42f1c1f970 100644 --- a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.parsed +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml @@ -10,7 +10,6 @@ parsed_sample: failed_connections: "52" packets_sent: "147753" packet_received: "147693" - - tacacs_server: "10.2.1.140" server_port: "49" socket_opens: "2027" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version.parsed b/tests/cisco_ios/show_version/cisco_ios_show_version.parsed deleted file mode 100644 index dbdcd2492a..0000000000 --- a/tests/cisco_ios/show_version/cisco_ios_show_version.parsed +++ /dev/null @@ -1,15 +0,0 @@ ---- -parsed_sample: - -- version: '12.2(54)SG1' - rommon: '12.2(44r)SG9' - hostname: router1 - uptime: '2 years, 31 weeks, 6 days, 9 hours, 55 minutes' - reload_reason: "reload" - running_image: 'cat4500e-entservicesk9-mz.122-54.SG1.bin' - hardware: - - 'WS-C4948E' - serial: - - 'CAT1451S15C' - config_register: '0x2102' - mac: [] diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version.yml b/tests/cisco_ios/show_version/cisco_ios_show_version.yml new file mode 100644 index 0000000000..3a91e0d9c8 --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - version: "12.2(54)SG1" + rommon: "12.2(44r)SG9" + hostname: "router1" + uptime: "2 years, 31 weeks, 6 days, 9 hours, 55 minutes" + reload_reason: "reload" + running_image: "cat4500e-entservicesk9-mz.122-54.SG1.bin" + hardware: + - "WS-C4948E" + serial: + - "CAT1451S15C" + config_register: "0x2102" + mac: [] diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version1.parsed b/tests/cisco_ios/show_version/cisco_ios_show_version1.parsed deleted file mode 100644 index 918943f9fc..0000000000 --- a/tests/cisco_ios/show_version/cisco_ios_show_version1.parsed +++ /dev/null @@ -1,25 +0,0 @@ ---- -parsed_sample: - -- version: '03.06.05E' - rommon: 'IOS-XE' - hostname: 'city-building-4-sw' - uptime: '28 weeks, 1 day, 7 hours, 54 minutes' - reload_reason: 'Reload Command' - running_image: 'packages.conf' - hardware: - - 'WS-C3850-48U' - - 'WS-C3850-48U' - - 'WS-C3850-48U' - - 'WS-C3850-48U' - serial: - - 'FOC11111111' - - 'FCW22222222' - - 'FCW33333333' - - 'FCW44444444' - config_register: '0x102' - mac: - - 'f8:7b:20:11:aa:80' - - 'f8:7b:20:22:bb:80' - - 'f8:b7:e2:33:cc:00' - - 'f8:b7:e2:44:dd:00' diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml new file mode 100644 index 0000000000..a97fbd1dcd --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - version: "03.06.05E" + rommon: "IOS-XE" + hostname: "city-building-4-sw" + uptime: "28 weeks, 1 day, 7 hours, 54 minutes" + reload_reason: "Reload Command" + running_image: "packages.conf" + hardware: + - "WS-C3850-48U" + - "WS-C3850-48U" + - "WS-C3850-48U" + - "WS-C3850-48U" + serial: + - "FOC11111111" + - "FCW22222222" + - "FCW33333333" + - "FCW44444444" + config_register: "0x102" + mac: + - "f8:7b:20:11:aa:80" + - "f8:7b:20:22:bb:80" + - "f8:b7:e2:33:cc:00" + - "f8:b7:e2:44:dd:00" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version2.parsed b/tests/cisco_ios/show_version/cisco_ios_show_version2.parsed deleted file mode 100644 index 44e744b421..0000000000 --- a/tests/cisco_ios/show_version/cisco_ios_show_version2.parsed +++ /dev/null @@ -1,15 +0,0 @@ ---- -parsed_sample: - -- version: '15.3(2)S1' - rommon: 'IOS-XE' - hostname: 'my_device' - uptime: '1 day, 15 hours, 32 minutes' - reload_reason: "LocalSoft" - running_image: 'asr1001-universalk9.03.09.01.S.153-2.S1.bin' - hardware: - - 'ASR1001' - serial: - - 'SSI1289001MH' - config_register: '0x2102' - mac: [] diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml new file mode 100644 index 0000000000..a38f16353f --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - version: "15.3(2)S1" + rommon: "IOS-XE" + hostname: "my_device" + uptime: "1 day, 15 hours, 32 minutes" + reload_reason: "LocalSoft" + running_image: "asr1001-universalk9.03.09.01.S.153-2.S1.bin" + hardware: + - "ASR1001" + serial: + - "SSI1289001MH" + config_register: "0x2102" + mac: [] diff --git a/tests/cisco_ios/show_vlan/cisco_ios_show_vlan.parsed b/tests/cisco_ios/show_vlan/cisco_ios_show_vlan.parsed deleted file mode 100644 index aead08c98c..0000000000 --- a/tests/cisco_ios/show_vlan/cisco_ios_show_vlan.parsed +++ /dev/null @@ -1,42 +0,0 @@ ---- -parsed_sample: - - - vlan_id: '1' - name: 'default' - status: 'active' - interfaces: ['Gi0/1'] - - - vlan_id: '10' - name: 'Management' - status: 'active' - interfaces: [] - - - vlan_id: '50' - name: 'VLan50' - status: 'active' - interfaces: ['Fa0/1', 'Fa0/2', 'Fa0/3', 'Fa0/4', 'Fa0/5', 'Fa0/6', 'Fa0/7', 'Fa0/8', 'Fa0/9', 'Fa0/10', 'Fa0/11', 'Fa0/12'] - - - vlan_id: '60' - name: 'VLan60' - status: 'active' - interfaces: ['Fa0/13', 'Fa0/14', 'Fa0/15', 'Fa0/16', 'Fa0/17', 'Fa0/18', 'Fa0/19', 'Fa0/20', 'Fa0/21', 'Fa0/22', 'Fa0/23', 'Fa0/24'] - - - vlan_id: '1002' - name: 'fddi-default' - status: 'act/unsup' - interfaces: [] - - - vlan_id: '1003' - name: 'token-ring-default' - status: 'act/unsup' - interfaces: [] - - - vlan_id: '1004' - name: 'fddinet-default' - status: 'act/unsup' - interfaces: [] - - - vlan_id: '1005' - name: 'trnet-default' - status: 'act/unsup' - interfaces: [] diff --git a/tests/cisco_ios/show_vlan/cisco_ios_show_vlan.yml b/tests/cisco_ios/show_vlan/cisco_ios_show_vlan.yml new file mode 100644 index 0000000000..bc8733668f --- /dev/null +++ b/tests/cisco_ios/show_vlan/cisco_ios_show_vlan.yml @@ -0,0 +1,59 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "default" + status: "active" + interfaces: + - "Gi0/1" + - vlan_id: "10" + name: "Management" + status: "active" + interfaces: [] + - vlan_id: "50" + name: "VLan50" + status: "active" + interfaces: + - "Fa0/1" + - "Fa0/2" + - "Fa0/3" + - "Fa0/4" + - "Fa0/5" + - "Fa0/6" + - "Fa0/7" + - "Fa0/8" + - "Fa0/9" + - "Fa0/10" + - "Fa0/11" + - "Fa0/12" + - vlan_id: "60" + name: "VLan60" + status: "active" + interfaces: + - "Fa0/13" + - "Fa0/14" + - "Fa0/15" + - "Fa0/16" + - "Fa0/17" + - "Fa0/18" + - "Fa0/19" + - "Fa0/20" + - "Fa0/21" + - "Fa0/22" + - "Fa0/23" + - "Fa0/24" + - vlan_id: "1002" + name: "fddi-default" + status: "act/unsup" + interfaces: [] + - vlan_id: "1003" + name: "token-ring-default" + status: "act/unsup" + interfaces: [] + - vlan_id: "1004" + name: "fddinet-default" + status: "act/unsup" + interfaces: [] + - vlan_id: "1005" + name: "trnet-default" + status: "act/unsup" + interfaces: [] diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf.parsed b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf.parsed deleted file mode 100644 index 71d426ac6b..0000000000 --- a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf.parsed +++ /dev/null @@ -1,227 +0,0 @@ ---- - -parsed_sample: -- default_rd: '65201:13' - interfaces: - - Vl13 - - Vl913 - - Vl953 - name: gy3 - protocols: ipv4 -- default_rd: '65201:31' - interfaces: - - Vl31 - - Vl931 - - Vl971 - name: gy31 - protocols: ipv4 -- default_rd: '65201:39' - interfaces: - - Vl39 - - Vl701 - - Vl939 - - Vl979 - name: ksn1 - protocols: ipv4 -- default_rd: '65201:10' - interfaces: - - Vl10 - - Vl910 - - Vl950 - name: vpn10 - protocols: ipv4 -- default_rd: '65201:11' - interfaces: - - Vl11 - - Vl911 - - Vl951 - name: vpn11 - protocols: ipv4 -- default_rd: '65201:15' - interfaces: - - Vl15 - name: vpn15 - protocols: ipv4 -- default_rd: '65201:16' - interfaces: - - Vl16 - - Vl916 - - Vl956 - name: vpn16 - protocols: ipv4 -- default_rd: '65201:21' - interfaces: - - Vl21 - - Vl921 - - Vl961 - name: vpn21 - protocols: ipv4 -- default_rd: '65201:22' - interfaces: - - Vl22 - - Vl922 - - Vl962 - name: vpn22 - protocols: ipv4 -- default_rd: '65201:25' - interfaces: - - Vl25 - - Vl925 - - Vl965 - name: vpn25 - protocols: ipv4 -- default_rd: '65201:27' - interfaces: - - Vl27 - - Vl927 - - Vl967 - name: vpn27 - protocols: ipv4 -- default_rd: '65201:3' - interfaces: - - Lo3 - - Vl2 - - Vl3 - - Vl51 - - Vl59 - - Vl102 - - Vl103 - - Vl104 - - Vl105 - - Vl106 - - Vl107 - - Vl118 - - Vl150 - - Vl151 - - Vl152 - - Vl153 - - Vl154 - - Vl155 - - Vl156 - - Vl157 - - Vl158 - - Vl159 - - Vl160 - - Vl161 - - Vl162 - - Vl163 - - Vl164 - - Vl165 - - Vl166 - - Vl167 - - Vl168 - - Vl169 - - Vl170 - - Vl171 - - Vl172 - - Vl173 - - Vl174 - - Vl175 - - Vl176 - - Vl177 - - Vl178 - - Vl179 - - Vl180 - - Vl181 - - Vl182 - - Vl183 - - Vl184 - - Vl185 - - Vl186 - - Vl187 - - Vl188 - - Vl189 - - Vl190 - - Vl191 - - Vl192 - - Vl194 - - Vl195 - - Vl196 - - Vl197 - - Vl198 - - Vl199 - - Vl200 - - Vl202 - - Vl203 - - Vl204 - - Vl205 - - Vl206 - - Vl207 - - Vl208 - - Vl209 - - Vl210 - - Vl212 - - Vl213 - - Vl214 - - Vl215 - - Vl216 - - Vl217 - - Vl218 - - Vl219 - - Vl220 - - Vl221 - - Vl222 - - Vl223 - - Vl224 - - Vl225 - - Vl226 - - Vl227 - - Vl228 - - Vl230 - - Vl231 - - Vl232 - - Vl233 - - Vl234 - - Vl235 - - Vl236 - - Vl237 - - Vl238 - - Vl239 - - Vl240 - - Vl245 - - Vl250 - - Vl254 - - Vl256 - - Vl258 - - Vl259 - - Vl260 - - Vl261 - - Vl262 - - Vl263 - - Vl264 - - Vl265 - - Vl266 - - Vl267 - - Vl268 - - Vl269 - - Vl270 - - Vl273 - - Vl274 - - Vl275 - - Vl276 - - Vl300 - - Vl500 - - Vl501 - - Vl502 - - Vl900 - - Vl901 - name: vpn3 - protocols: ipv4 -- default_rd: '65201:5' - interfaces: - - Vl5 - - Vl905 - - Vl945 - name: vpn5 - protocols: ipv4 -- default_rd: '65201:6' - interfaces: - - Lo6 - - Vl6 - - Vl906 - - Vl940 - - Vl941 - - Vl946 - name: vpn6 - protocols: ipv4 - diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf.yml b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf.yml new file mode 100644 index 0000000000..28082d6ec0 --- /dev/null +++ b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf.yml @@ -0,0 +1,225 @@ +--- +parsed_sample: + - default_rd: "65201:13" + interfaces: + - "Vl13" + - "Vl913" + - "Vl953" + name: "gy3" + protocols: "ipv4" + - default_rd: "65201:31" + interfaces: + - "Vl31" + - "Vl931" + - "Vl971" + name: "gy31" + protocols: "ipv4" + - default_rd: "65201:39" + interfaces: + - "Vl39" + - "Vl701" + - "Vl939" + - "Vl979" + name: "ksn1" + protocols: "ipv4" + - default_rd: "65201:10" + interfaces: + - "Vl10" + - "Vl910" + - "Vl950" + name: "vpn10" + protocols: "ipv4" + - default_rd: "65201:11" + interfaces: + - "Vl11" + - "Vl911" + - "Vl951" + name: "vpn11" + protocols: "ipv4" + - default_rd: "65201:15" + interfaces: + - "Vl15" + name: "vpn15" + protocols: "ipv4" + - default_rd: "65201:16" + interfaces: + - "Vl16" + - "Vl916" + - "Vl956" + name: "vpn16" + protocols: "ipv4" + - default_rd: "65201:21" + interfaces: + - "Vl21" + - "Vl921" + - "Vl961" + name: "vpn21" + protocols: "ipv4" + - default_rd: "65201:22" + interfaces: + - "Vl22" + - "Vl922" + - "Vl962" + name: "vpn22" + protocols: "ipv4" + - default_rd: "65201:25" + interfaces: + - "Vl25" + - "Vl925" + - "Vl965" + name: "vpn25" + protocols: "ipv4" + - default_rd: "65201:27" + interfaces: + - "Vl27" + - "Vl927" + - "Vl967" + name: "vpn27" + protocols: "ipv4" + - default_rd: "65201:3" + interfaces: + - "Lo3" + - "Vl2" + - "Vl3" + - "Vl51" + - "Vl59" + - "Vl102" + - "Vl103" + - "Vl104" + - "Vl105" + - "Vl106" + - "Vl107" + - "Vl118" + - "Vl150" + - "Vl151" + - "Vl152" + - "Vl153" + - "Vl154" + - "Vl155" + - "Vl156" + - "Vl157" + - "Vl158" + - "Vl159" + - "Vl160" + - "Vl161" + - "Vl162" + - "Vl163" + - "Vl164" + - "Vl165" + - "Vl166" + - "Vl167" + - "Vl168" + - "Vl169" + - "Vl170" + - "Vl171" + - "Vl172" + - "Vl173" + - "Vl174" + - "Vl175" + - "Vl176" + - "Vl177" + - "Vl178" + - "Vl179" + - "Vl180" + - "Vl181" + - "Vl182" + - "Vl183" + - "Vl184" + - "Vl185" + - "Vl186" + - "Vl187" + - "Vl188" + - "Vl189" + - "Vl190" + - "Vl191" + - "Vl192" + - "Vl194" + - "Vl195" + - "Vl196" + - "Vl197" + - "Vl198" + - "Vl199" + - "Vl200" + - "Vl202" + - "Vl203" + - "Vl204" + - "Vl205" + - "Vl206" + - "Vl207" + - "Vl208" + - "Vl209" + - "Vl210" + - "Vl212" + - "Vl213" + - "Vl214" + - "Vl215" + - "Vl216" + - "Vl217" + - "Vl218" + - "Vl219" + - "Vl220" + - "Vl221" + - "Vl222" + - "Vl223" + - "Vl224" + - "Vl225" + - "Vl226" + - "Vl227" + - "Vl228" + - "Vl230" + - "Vl231" + - "Vl232" + - "Vl233" + - "Vl234" + - "Vl235" + - "Vl236" + - "Vl237" + - "Vl238" + - "Vl239" + - "Vl240" + - "Vl245" + - "Vl250" + - "Vl254" + - "Vl256" + - "Vl258" + - "Vl259" + - "Vl260" + - "Vl261" + - "Vl262" + - "Vl263" + - "Vl264" + - "Vl265" + - "Vl266" + - "Vl267" + - "Vl268" + - "Vl269" + - "Vl270" + - "Vl273" + - "Vl274" + - "Vl275" + - "Vl276" + - "Vl300" + - "Vl500" + - "Vl501" + - "Vl502" + - "Vl900" + - "Vl901" + name: "vpn3" + protocols: "ipv4" + - default_rd: "65201:5" + interfaces: + - "Vl5" + - "Vl905" + - "Vl945" + name: "vpn5" + protocols: "ipv4" + - default_rd: "65201:6" + interfaces: + - "Lo6" + - "Vl6" + - "Vl906" + - "Vl940" + - "Vl941" + - "Vl946" + name: "vpn6" + protocols: "ipv4" diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.parsed b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.parsed deleted file mode 100644 index e1752f9283..0000000000 --- a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.parsed +++ /dev/null @@ -1,10 +0,0 @@ ---- - -parsed_sample: -- default_rd: '127.0.0.1:7' - interfaces: - - Vl5 - - Vl905 - - Vl945 - name: vpn7 - protocols: ipv4 diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.yml b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.yml new file mode 100644 index 0000000000..e175329bbf --- /dev/null +++ b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf2.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - default_rd: "127.0.0.1:7" + interfaces: + - "Vl5" + - "Vl905" + - "Vl945" + name: "vpn7" + protocols: "ipv4" diff --git a/tests/cisco_ios/show_vtp_status/cisco_ios_show_vtp_status.parsed b/tests/cisco_ios/show_vtp_status/cisco_ios_show_vtp_status.parsed deleted file mode 100644 index 29dea7c7cf..0000000000 --- a/tests/cisco_ios/show_vtp_status/cisco_ios_show_vtp_status.parsed +++ /dev/null @@ -1,16 +0,0 @@ ---- -parsed_sample: - -- version: '1' - domain: 'router_vtp' - pruning: 'Disabled' - traps: 'Disabled' - device_id: 'e05f.dead.beef' - last_modified_server: '10.0.0.1' - last_modified_date: '6-12-15 14:06:57' - local_updater_addr: '10.1.1.1' - local_updater_iface: 'Vl1' - mode: 'Server' - max_vlans: '1005' - existing_vlan_count: '20' - revision_number: '38' diff --git a/tests/cisco_ios/show_vtp_status/cisco_ios_show_vtp_status.yml b/tests/cisco_ios/show_vtp_status/cisco_ios_show_vtp_status.yml new file mode 100644 index 0000000000..88a53005af --- /dev/null +++ b/tests/cisco_ios/show_vtp_status/cisco_ios_show_vtp_status.yml @@ -0,0 +1,15 @@ +--- +parsed_sample: + - version: "1" + domain: "router_vtp" + pruning: "Disabled" + traps: "Disabled" + device_id: "e05f.dead.beef" + last_modified_server: "10.0.0.1" + last_modified_date: "6-12-15 14:06:57" + local_updater_addr: "10.1.1.1" + local_updater_iface: "Vl1" + mode: "Server" + max_vlans: "1005" + existing_vlan_count: "20" + revision_number: "38" diff --git a/tests/cisco_nxos/show_access-lists/cisco_nxos_show_access-lists.parsed b/tests/cisco_nxos/show_access-lists/cisco_nxos_show_access-lists.parsed deleted file mode 100644 index 5f1daa8356..0000000000 --- a/tests/cisco_nxos/show_access-lists/cisco_nxos_show_access-lists.parsed +++ /dev/null @@ -1,291 +0,0 @@ ---- -parsed_sample: -- name: "acl-test" - sn: "10" - action: "permit" - protocol: "ip" - source: "1.1.1.1/32" - range: "" - port: "" - destination: "any" - modifier: "" - -- name: "acl-test" - sn: "20" - action: "permit" - protocol: "ip" - source: "1.1.1.1/24" - range: "" - port: "" - destination: "any" - modifier: "ttl 200" - -- name: "acl-test" - sn: "30" - action: "permit" - protocol: "tcp" - source: "any" - range: "" - port: "neq finger" - destination: "any" - modifier: "ack psh rst fin" - -- name: "acl-test" - sn: "40" - action: "permit" - protocol: "tcp" - source: "1.1.1.1/32" - range: "time bgp" - port: "" - destination: "any" - modifier: "" - -- name: "acl-test" - sn: "50" - action: "permit" - protocol: "tcp" - source: "1.1.1.1/32" - range: "" - port: "" - destination: "addrgroup TEST" - modifier: "" - -- name: "acl-test" - sn: "60" - action: "permit" - protocol: "tcp" - source: "addrgroup TEST-START" - range: "" - port: "" - destination: "addrgroup TEST_FINISH" - modifier: "" - -- name: "copp-system-p-acl-eigrp" - sn: "10" - action: "permit" - protocol: "eigrp" - source: "any" - range: "" - port: "" - destination: "any" - modifier: "" - -- name: "copp-system-p-acl-hsrp" - sn: "10" - action: "permit" - protocol: "udp" - source: "any" - range: "" - port: "" - destination: "224.0.0.0/24" - modifier: "eq 1985" - -- name: "copp-system-p-acl-hsrp6" - sn: "10" - action: "permit" - protocol: "udp" - source: "any" - range: "" - port: "" - destination: "ff02::66/128" - modifier: "eq 2029" - -- name: "copp-system-p-acl-icmp6-msgs" - sn: "10" - action: "permit" - protocol: "icmp" - source: "any" - range: "" - port: "" - destination: "any" - modifier: "router-advertisement" - -- name: "copp-system-p-acl-icmp6-msgs" - sn: "20" - action: "permit" - protocol: "icmp" - source: "any" - range: "" - port: "" - destination: "any" - modifier: "router-solicitation" - -- name: "copp-system-p-acl-mac-cdp-udld-vtp" - sn: "10" - action: "permit" - protocol: "" - source: "any" - range: "" - port: "" - destination: "0100.0ccc.cccc 0000.0000.0000" - modifier: "" - -- name: "copp-system-p-acl-mac-cfsoe" - sn: "10" - action: "permit" - protocol: "" - source: "any" - range: "" - port: "" - destination: "0180.c200.000e 0000.0000.0000" - modifier: "0x8843" - -- name: "copp-system-p-acl-mac-l2-tunnel" - sn: "10" - action: "permit" - protocol: "" - source: "any" - range: "" - port: "" - destination: "any" - modifier: "0x8840" - -- name: "copp-system-p-acl-mac-l3-isis" - sn: "10" - action: "permit" - protocol: "" - source: "any" - range: "" - port: "" - destination: "0180.c200.0015 0000.0000.0000" - modifier: "" - -- name: "copp-system-p-acl-mac-l3-isis" - sn: "20" - action: "permit" - protocol: "" - source: "any" - range: "" - port: "" - destination: "0180.c200.0014 0000.0000.0000" - modifier: "" - -- name: "copp-system-p-acl-mac-lacp" - sn: "10" - action: "permit" - protocol: "" - source: "any" - range: "" - port: "" - destination: "0180.c200.0002 0000.0000.0000" - modifier: "0x8809" - -- name: "copp-system-p-acl-mac-lldp" - sn: "10" - action: "permit" - protocol: "" - source: "any" - range: "" - port: "" - destination: "0180.c200.000e 0000.0000.0000" - modifier: "0x88cc" - -- name: "copp-system-p-acl-mac-sdp-srp" - sn: "10" - action: "permit" - protocol: "" - source: "any" - range: "" - port: "" - destination: "0180.c200.000e 0000.0000.0000" - modifier: "0x3401" - -- name: "copp-system-p-acl-pim6" - sn: "10" - action: "permit" - protocol: "pim" - source: "any" - range: "" - port: "" - destination: "ff02::d/128" - modifier: "" - -- name: "copp-system-p-acl-pim6" - sn: "20" - action: "permit" - protocol: "udp" - source: "any" - range: "" - port: "" - destination: "any" - modifier: "eq pim-auto-rp" - -- name: "copp-system-p-acl-pim6-reg" - sn: "10" - action: "permit" - protocol: "pim" - source: "any" - range: "" - port: "" - destination: "any" - modifier: "" - -- name: "copp-system-p-acl-ptp" - sn: "10" - action: "permit" - protocol: "udp" - source: "any" - range: "" - port: "" - destination: "224.0.1.129/32" - modifier: "eq 319" - -- name: "copp-system-p-acl-ptp" - sn: "20" - action: "permit" - protocol: "udp" - source: "any" - range: "" - port: "" - destination: "224.0.1.129/32" - modifier: "eq 320" - -- name: "copp-system-p-acl-radius" - sn: "10" - action: "permit" - protocol: "udp" - source: "any" - range: "" - port: "" - destination: "any" - modifier: "eq 1812" - -- name: "copp-system-p-acl-rip6" - sn: "10" - action: "permit" - protocol: "udp" - source: "any" - range: "" - port: "" - destination: "ff02::9/64" - modifier: "eq 521" - -- name: "copp-system-p-acl-traceroute" - sn: "10" - action: "permit" - protocol: "icmp" - source: "any" - range: "" - port: "" - destination: "any" - modifier: "ttl-exceeded" - -- name: "copp-system-p-acl-vrrp6" - sn: "10" - action: "permit" - protocol: "ipv6" - source: "any" - range: "" - port: "" - destination: "ff02::12/128" - modifier: "" - -- name: "mac_acl_test" - sn: "10" - action: "permit" - protocol: "" - source: "000e.000e.000e 000e.000e.000e" - range: "" - port: "" - destination: "00aa.00aa.00aa 00aa.00ae.00ac" - modifier: "aarp cos 0" diff --git a/tests/cisco_nxos/show_access-lists/cisco_nxos_show_access-lists.yml b/tests/cisco_nxos/show_access-lists/cisco_nxos_show_access-lists.yml new file mode 100644 index 0000000000..13a74c6d90 --- /dev/null +++ b/tests/cisco_nxos/show_access-lists/cisco_nxos_show_access-lists.yml @@ -0,0 +1,263 @@ +--- +parsed_sample: + - name: "acl-test" + sn: "10" + action: "permit" + protocol: "ip" + source: "1.1.1.1/32" + range: "" + port: "" + destination: "any" + modifier: "" + - name: "acl-test" + sn: "20" + action: "permit" + protocol: "ip" + source: "1.1.1.1/24" + range: "" + port: "" + destination: "any" + modifier: "ttl 200" + - name: "acl-test" + sn: "30" + action: "permit" + protocol: "tcp" + source: "any" + range: "" + port: "neq finger" + destination: "any" + modifier: "ack psh rst fin" + - name: "acl-test" + sn: "40" + action: "permit" + protocol: "tcp" + source: "1.1.1.1/32" + range: "time bgp" + port: "" + destination: "any" + modifier: "" + - name: "acl-test" + sn: "50" + action: "permit" + protocol: "tcp" + source: "1.1.1.1/32" + range: "" + port: "" + destination: "addrgroup TEST" + modifier: "" + - name: "acl-test" + sn: "60" + action: "permit" + protocol: "tcp" + source: "addrgroup TEST-START" + range: "" + port: "" + destination: "addrgroup TEST_FINISH" + modifier: "" + - name: "copp-system-p-acl-eigrp" + sn: "10" + action: "permit" + protocol: "eigrp" + source: "any" + range: "" + port: "" + destination: "any" + modifier: "" + - name: "copp-system-p-acl-hsrp" + sn: "10" + action: "permit" + protocol: "udp" + source: "any" + range: "" + port: "" + destination: "224.0.0.0/24" + modifier: "eq 1985" + - name: "copp-system-p-acl-hsrp6" + sn: "10" + action: "permit" + protocol: "udp" + source: "any" + range: "" + port: "" + destination: "ff02::66/128" + modifier: "eq 2029" + - name: "copp-system-p-acl-icmp6-msgs" + sn: "10" + action: "permit" + protocol: "icmp" + source: "any" + range: "" + port: "" + destination: "any" + modifier: "router-advertisement" + - name: "copp-system-p-acl-icmp6-msgs" + sn: "20" + action: "permit" + protocol: "icmp" + source: "any" + range: "" + port: "" + destination: "any" + modifier: "router-solicitation" + - name: "copp-system-p-acl-mac-cdp-udld-vtp" + sn: "10" + action: "permit" + protocol: "" + source: "any" + range: "" + port: "" + destination: "0100.0ccc.cccc 0000.0000.0000" + modifier: "" + - name: "copp-system-p-acl-mac-cfsoe" + sn: "10" + action: "permit" + protocol: "" + source: "any" + range: "" + port: "" + destination: "0180.c200.000e 0000.0000.0000" + modifier: "0x8843" + - name: "copp-system-p-acl-mac-l2-tunnel" + sn: "10" + action: "permit" + protocol: "" + source: "any" + range: "" + port: "" + destination: "any" + modifier: "0x8840" + - name: "copp-system-p-acl-mac-l3-isis" + sn: "10" + action: "permit" + protocol: "" + source: "any" + range: "" + port: "" + destination: "0180.c200.0015 0000.0000.0000" + modifier: "" + - name: "copp-system-p-acl-mac-l3-isis" + sn: "20" + action: "permit" + protocol: "" + source: "any" + range: "" + port: "" + destination: "0180.c200.0014 0000.0000.0000" + modifier: "" + - name: "copp-system-p-acl-mac-lacp" + sn: "10" + action: "permit" + protocol: "" + source: "any" + range: "" + port: "" + destination: "0180.c200.0002 0000.0000.0000" + modifier: "0x8809" + - name: "copp-system-p-acl-mac-lldp" + sn: "10" + action: "permit" + protocol: "" + source: "any" + range: "" + port: "" + destination: "0180.c200.000e 0000.0000.0000" + modifier: "0x88cc" + - name: "copp-system-p-acl-mac-sdp-srp" + sn: "10" + action: "permit" + protocol: "" + source: "any" + range: "" + port: "" + destination: "0180.c200.000e 0000.0000.0000" + modifier: "0x3401" + - name: "copp-system-p-acl-pim6" + sn: "10" + action: "permit" + protocol: "pim" + source: "any" + range: "" + port: "" + destination: "ff02::d/128" + modifier: "" + - name: "copp-system-p-acl-pim6" + sn: "20" + action: "permit" + protocol: "udp" + source: "any" + range: "" + port: "" + destination: "any" + modifier: "eq pim-auto-rp" + - name: "copp-system-p-acl-pim6-reg" + sn: "10" + action: "permit" + protocol: "pim" + source: "any" + range: "" + port: "" + destination: "any" + modifier: "" + - name: "copp-system-p-acl-ptp" + sn: "10" + action: "permit" + protocol: "udp" + source: "any" + range: "" + port: "" + destination: "224.0.1.129/32" + modifier: "eq 319" + - name: "copp-system-p-acl-ptp" + sn: "20" + action: "permit" + protocol: "udp" + source: "any" + range: "" + port: "" + destination: "224.0.1.129/32" + modifier: "eq 320" + - name: "copp-system-p-acl-radius" + sn: "10" + action: "permit" + protocol: "udp" + source: "any" + range: "" + port: "" + destination: "any" + modifier: "eq 1812" + - name: "copp-system-p-acl-rip6" + sn: "10" + action: "permit" + protocol: "udp" + source: "any" + range: "" + port: "" + destination: "ff02::9/64" + modifier: "eq 521" + - name: "copp-system-p-acl-traceroute" + sn: "10" + action: "permit" + protocol: "icmp" + source: "any" + range: "" + port: "" + destination: "any" + modifier: "ttl-exceeded" + - name: "copp-system-p-acl-vrrp6" + sn: "10" + action: "permit" + protocol: "ipv6" + source: "any" + range: "" + port: "" + destination: "ff02::12/128" + modifier: "" + - name: "mac_acl_test" + sn: "10" + action: "permit" + protocol: "" + source: "000e.000e.000e 000e.000e.000e" + range: "" + port: "" + destination: "00aa.00aa.00aa 00aa.00ae.00ac" + modifier: "aarp cos 0" diff --git a/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.parsed b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.parsed deleted file mode 100644 index 1c57049a7b..0000000000 --- a/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.parsed +++ /dev/null @@ -1,50 +0,0 @@ ---- -parsed_sample: -- neighbor: "PERIMETER" - local_interface: "mgmt0" - holdtime: '179' - capability: 'R S I' - platform: 'WS-C3750-48TS' - neighbor_interface: "Fas1/0/9" - -- neighbor: "N9K2_TEST.lab.com(SAL1819S6BE)" - local_interface: "Eth1/1" - holdtime: '133' - capability: 'R S s' - platform: 'N9K-C9396PX' - neighbor_interface: "Eth1/1" - -- neighbor: "N9K2_TEST.lab.com(SAL1819S6BE)" - local_interface: "Eth1/2" - holdtime: '154' - capability: 'R S s' - platform: 'N9K-C9396PX' - neighbor_interface: "Eth1/2" - -- neighbor: "savbu-qa-dist-120" - local_interface: "mgmt1" - holdtime: '177' - capability: 'S I' - platform: 'WS-C3750E-24T' - neighbor_interface: "Gig1/0/13" - -- neighbor: "swor96(SSI13110AAQ)" - local_interface: "Eth1/17" - holdtime: '165' - capability: 'S I s' - platform: 'N5K-C5010P-BF' - neighbor_interface: "Eth1/19" - -- neighbor: "test" - local_interface: "mgmt0" - holdtime: '1' - capability: 'S I S I d' - platform: 'WS-C3750E-24T' - neighbor_interface: "Gig1/0/13" - -- neighbor: "new_test" - local_interface: "Eth1/10" - holdtime: '20' - capability: 'S' - platform: 'N5k' - neighbor_interface: "Eth2/1" diff --git a/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.yml b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.yml new file mode 100644 index 0000000000..9007399b20 --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - neighbor: "PERIMETER" + local_interface: "mgmt0" + holdtime: "179" + capability: "R S I" + platform: "WS-C3750-48TS" + neighbor_interface: "Fas1/0/9" + - neighbor: "N9K2_TEST.lab.com(SAL1819S6BE)" + local_interface: "Eth1/1" + holdtime: "133" + capability: "R S s" + platform: "N9K-C9396PX" + neighbor_interface: "Eth1/1" + - neighbor: "N9K2_TEST.lab.com(SAL1819S6BE)" + local_interface: "Eth1/2" + holdtime: "154" + capability: "R S s" + platform: "N9K-C9396PX" + neighbor_interface: "Eth1/2" + - neighbor: "savbu-qa-dist-120" + local_interface: "mgmt1" + holdtime: "177" + capability: "S I" + platform: "WS-C3750E-24T" + neighbor_interface: "Gig1/0/13" + - neighbor: "swor96(SSI13110AAQ)" + local_interface: "Eth1/17" + holdtime: "165" + capability: "S I s" + platform: "N5K-C5010P-BF" + neighbor_interface: "Eth1/19" + - neighbor: "test" + local_interface: "mgmt0" + holdtime: "1" + capability: "S I S I d" + platform: "WS-C3750E-24T" + neighbor_interface: "Gig1/0/13" + - neighbor: "new_test" + local_interface: "Eth1/10" + holdtime: "20" + capability: "S" + platform: "N5k" + neighbor_interface: "Eth2/1" diff --git a/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.parsed b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.parsed deleted file mode 100644 index 2d7dbc282d..0000000000 --- a/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.parsed +++ /dev/null @@ -1,38 +0,0 @@ ---- -parsed_sample: - - neighbor: 'my-dc1-mgt-sw1(FOC213230KP)' - local_interface: 'mgmt0' - holdtime: '138' - capability: 'R S I s' - platform: 'N3K-C3172PQ-XL' - neighbor_interface: 'Eth1/48' - - neighbor: 'lx-dc1-server01.mynetwork.com' - local_interface: 'Eth1/1/1' - holdtime: '109' - capability: 'H' - platform: 'Linux' - neighbor_interface: 'eth9' - - neighbor: 'lx-dc1-server02.mynetwork.com' - local_interface: 'Eth1/1/2' - holdtime: '106' - capability: 'H' - platform: 'Linux' - neighbor_interface: 'eth9' - - neighbor: 'lx-dc1-server03.mynetwork.com' - local_interface: 'Eth1/1/3' - holdtime: '91' - capability: 'H' - platform: 'Linux' - neighbor_interface: 'eth9' - - neighbor: 'lx-dc1-server04.mynetwork.com' - local_interface: 'Eth1/1/4' - holdtime: '112' - capability: 'H' - platform: 'Linux' - neighbor_interface: 'eth9' - - neighbor: 'lx-dc1-server05.mynetwork.com' - local_interface: 'Eth1/2/1' - holdtime: '100' - capability: 'H' - platform: 'Linux' - neighbor_interface: 'eth9' diff --git a/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.yml b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.yml new file mode 100644 index 0000000000..d4fe3198b5 --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors/cisco_nxos_show_cdp_neighbors2.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - neighbor: "my-dc1-mgt-sw1(FOC213230KP)" + local_interface: "mgmt0" + holdtime: "138" + capability: "R S I s" + platform: "N3K-C3172PQ-XL" + neighbor_interface: "Eth1/48" + - neighbor: "lx-dc1-server01.mynetwork.com" + local_interface: "Eth1/1/1" + holdtime: "109" + capability: "H" + platform: "Linux" + neighbor_interface: "eth9" + - neighbor: "lx-dc1-server02.mynetwork.com" + local_interface: "Eth1/1/2" + holdtime: "106" + capability: "H" + platform: "Linux" + neighbor_interface: "eth9" + - neighbor: "lx-dc1-server03.mynetwork.com" + local_interface: "Eth1/1/3" + holdtime: "91" + capability: "H" + platform: "Linux" + neighbor_interface: "eth9" + - neighbor: "lx-dc1-server04.mynetwork.com" + local_interface: "Eth1/1/4" + holdtime: "112" + capability: "H" + platform: "Linux" + neighbor_interface: "eth9" + - neighbor: "lx-dc1-server05.mynetwork.com" + local_interface: "Eth1/2/1" + holdtime: "100" + capability: "H" + platform: "Linux" + neighbor_interface: "eth9" diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.parsed b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.parsed deleted file mode 100644 index 8aa0baf923..0000000000 --- a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.parsed +++ /dev/null @@ -1,49 +0,0 @@ ---- -parsed_sample: - -- dest_host: PERIMETER - local_port: mgmt0 - mgmt_ip: 10.1.100.1 - platform: cisco WS-C3750-48TS - remote_port: FastEthernet1/0/32 - sysname: '' - version: Cisco IOS Software, C3750 Software (C3750-IPBASEK9-M), Version 12.2(44)SE2, - RELEASE SOFTWARE (fc2) - interface_ip: '10.1.100.1' - capabilities: 'Router Switch IGMP Filtering' -- dest_host: dc-lf03(SAL19069XXX) - local_port: Ethernet1/1 - mgmt_ip: 10.1.100.226 - platform: N9K-C9372TX - remote_port: Ethernet1/1 - sysname: dc-lf03 - version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I5(1) - interface_ip: '10.1.100.226' - capabilities: 'Router Switch IGMP Filtering Supports-STP-Dispute' -- dest_host: dc-lf03(SAL1906XXXX) - local_port: Ethernet1/3 - mgmt_ip: 10.1.100.226 - platform: N9K-C9372TX - remote_port: Ethernet1/3 - sysname: dc-lf03 - version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I5(1) - interface_ip: '10.1.100.226' - capabilities: 'Router Switch IGMP Filtering Supports-STP-Dispute' -- dest_host: dc-sp01(SAL19069XXX) - local_port: Ethernet1/49 - mgmt_ip: 10.1.100.222 - platform: N9K-C9372TX - remote_port: Ethernet1/52 - sysname: dc-sp01 - version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I2(2d) - interface_ip: '10.1.1.1' - capabilities: 'Router Switch IGMP Filtering Supports-STP-Dispute' -- dest_host: dc-sp02(SAL19069XXX) - local_port: Ethernet1/50 - mgmt_ip: 10.1.100.223 - platform: N9K-C9372TX - remote_port: Ethernet1/52 - sysname: dc-sp02 - version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I2(2d) - interface_ip: '10.1.1.9' - capabilities: 'Router Switch IGMP Filtering Supports-STP-Dispute' diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.yml b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.yml new file mode 100644 index 0000000000..0ab9ac3026 --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail.yml @@ -0,0 +1,48 @@ +--- +parsed_sample: + - dest_host: "PERIMETER" + local_port: "mgmt0" + mgmt_ip: "10.1.100.1" + platform: "cisco WS-C3750-48TS" + remote_port: "FastEthernet1/0/32" + sysname: "" + version: "Cisco IOS Software, C3750 Software (C3750-IPBASEK9-M), Version 12.2(44)SE2,\ + \ RELEASE SOFTWARE (fc2)" + interface_ip: "10.1.100.1" + capabilities: "Router Switch IGMP Filtering" + - dest_host: "dc-lf03(SAL19069XXX)" + local_port: "Ethernet1/1" + mgmt_ip: "10.1.100.226" + platform: "N9K-C9372TX" + remote_port: "Ethernet1/1" + sysname: "dc-lf03" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I5(1)" + interface_ip: "10.1.100.226" + capabilities: "Router Switch IGMP Filtering Supports-STP-Dispute" + - dest_host: "dc-lf03(SAL1906XXXX)" + local_port: "Ethernet1/3" + mgmt_ip: "10.1.100.226" + platform: "N9K-C9372TX" + remote_port: "Ethernet1/3" + sysname: "dc-lf03" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I5(1)" + interface_ip: "10.1.100.226" + capabilities: "Router Switch IGMP Filtering Supports-STP-Dispute" + - dest_host: "dc-sp01(SAL19069XXX)" + local_port: "Ethernet1/49" + mgmt_ip: "10.1.100.222" + platform: "N9K-C9372TX" + remote_port: "Ethernet1/52" + sysname: "dc-sp01" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I2(2d)" + interface_ip: "10.1.1.1" + capabilities: "Router Switch IGMP Filtering Supports-STP-Dispute" + - dest_host: "dc-sp02(SAL19069XXX)" + local_port: "Ethernet1/50" + mgmt_ip: "10.1.100.223" + platform: "N9K-C9372TX" + remote_port: "Ethernet1/52" + sysname: "dc-sp02" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I2(2d)" + interface_ip: "10.1.1.9" + capabilities: "Router Switch IGMP Filtering Supports-STP-Dispute" diff --git a/tests/cisco_nxos/show_clock/cisco_nxos_show_clock.parsed b/tests/cisco_nxos/show_clock/cisco_nxos_show_clock.parsed deleted file mode 100644 index 7b80681edd..0000000000 --- a/tests/cisco_nxos/show_clock/cisco_nxos_show_clock.parsed +++ /dev/null @@ -1,9 +0,0 @@ ---- -parsed_sample: - -- time: "18:57:38.347" - timezone: "UTC" - dayweek: "Mon" - month: "Oct" - day: "19" - year: "2015" diff --git a/tests/cisco_nxos/show_clock/cisco_nxos_show_clock.yml b/tests/cisco_nxos/show_clock/cisco_nxos_show_clock.yml new file mode 100644 index 0000000000..eae6a5fb04 --- /dev/null +++ b/tests/cisco_nxos/show_clock/cisco_nxos_show_clock.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - time: "18:57:38.347" + timezone: "UTC" + dayweek: "Mon" + month: "Oct" + day: "19" + year: "2015" diff --git a/tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.parsed b/tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.parsed deleted file mode 100644 index 6e4b8c3bb6..0000000000 --- a/tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.parsed +++ /dev/null @@ -1,9 +0,0 @@ ---- -parsed_sample: -- session_name: ACL-SESSION1 - session_owner: ntc - creation_time: 02:37:14 UTC Oct 28 2017 - -- session_name: ACL-SESS22 - session_owner: ntc - creation_time: 02:37:55 UTC Oct 28 2017 diff --git a/tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.yml b/tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.yml new file mode 100644 index 0000000000..018b3e11c5 --- /dev/null +++ b/tests/cisco_nxos/show_configuration_session_summary/cisco_nxos_show_configuration_session_summary.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - session_name: "ACL-SESSION1" + session_owner: "ntc" + creation_time: "02:37:14 UTC Oct 28 2017" + - session_name: "ACL-SESS22" + session_owner: "ntc" + creation_time: "02:37:55 UTC Oct 28 2017" diff --git a/tests/cisco_nxos/show_cts_interface_all/cisco_nxos_show_cts_interface_all.parsed b/tests/cisco_nxos/show_cts_interface_all/cisco_nxos_show_cts_interface_all.parsed deleted file mode 100644 index 21c29af5ef..0000000000 --- a/tests/cisco_nxos/show_cts_interface_all/cisco_nxos_show_cts_interface_all.parsed +++ /dev/null @@ -1,30 +0,0 @@ ---- - -parsed_sample: -- interface: "Ethernet1/2" - cts_status: "enabled" - cts_mode: "CTS_MODE_MANUAL" - ifc_state: "Unknown" - authentication_status: "CTS_AUTHC_INIT" - peer_identity: "MyDevice2" - peer_is: "Unknown in manual mode" - dot1x_role: "CTS_ROLE_UNKNOWN" - authorization_status: "CTS_AUTHZ_INIT" - peer_sgt: "0" - peer_sgt_assignment: "Not Trusted" - sap_status: "CTS_SAP_INIT" - sgt_propagate: "Enabled" - -- interface: "Ethernet1/3" - cts_status: "enabled" - cts_mode: "CTS_MODE_MANUAL" - ifc_state: "Unknown" - authentication_status: "CTS_AUTHC_INIT" - peer_identity: "" - peer_is: "Unknown in manual mode" - dot1x_role: "CTS_ROLE_UNKNOWN" - authorization_status: "CTS_AUTHZ_SKIPPED_CONFIG" - peer_sgt: "2" - peer_sgt_assignment: "Not Trusted" - sap_status: "CTS_SAP_INIT" - sgt_propagate: "Enabled" \ No newline at end of file diff --git a/tests/cisco_nxos/show_cts_interface_all/cisco_nxos_show_cts_interface_all.yml b/tests/cisco_nxos/show_cts_interface_all/cisco_nxos_show_cts_interface_all.yml new file mode 100644 index 0000000000..a0970802c5 --- /dev/null +++ b/tests/cisco_nxos/show_cts_interface_all/cisco_nxos_show_cts_interface_all.yml @@ -0,0 +1,28 @@ +--- +parsed_sample: + - interface: "Ethernet1/2" + cts_status: "enabled" + cts_mode: "CTS_MODE_MANUAL" + ifc_state: "Unknown" + authentication_status: "CTS_AUTHC_INIT" + peer_identity: "MyDevice2" + peer_is: "Unknown in manual mode" + dot1x_role: "CTS_ROLE_UNKNOWN" + authorization_status: "CTS_AUTHZ_INIT" + peer_sgt: "0" + peer_sgt_assignment: "Not Trusted" + sap_status: "CTS_SAP_INIT" + sgt_propagate: "Enabled" + - interface: "Ethernet1/3" + cts_status: "enabled" + cts_mode: "CTS_MODE_MANUAL" + ifc_state: "Unknown" + authentication_status: "CTS_AUTHC_INIT" + peer_identity: "" + peer_is: "Unknown in manual mode" + dot1x_role: "CTS_ROLE_UNKNOWN" + authorization_status: "CTS_AUTHZ_SKIPPED_CONFIG" + peer_sgt: "2" + peer_sgt_assignment: "Not Trusted" + sap_status: "CTS_SAP_INIT" + sgt_propagate: "Enabled" diff --git a/tests/cisco_nxos/show_cts_interface_brief/cisco_nxos_show_cts_interface_brief.parsed b/tests/cisco_nxos/show_cts_interface_brief/cisco_nxos_show_cts_interface_brief.parsed deleted file mode 100644 index 74a184c700..0000000000 --- a/tests/cisco_nxos/show_cts_interface_brief/cisco_nxos_show_cts_interface_brief.parsed +++ /dev/null @@ -1,8 +0,0 @@ ---- -parsed_sample: - -- interface: "Eth4/1" - mode: "MANUAL" - ifc_state: "OPEN" - sgt_assignment: "0, Not Trusted" - sgt_propagate: "Disabled" \ No newline at end of file diff --git a/tests/cisco_nxos/show_cts_interface_brief/cisco_nxos_show_cts_interface_brief.yml b/tests/cisco_nxos/show_cts_interface_brief/cisco_nxos_show_cts_interface_brief.yml new file mode 100644 index 0000000000..3ba2369961 --- /dev/null +++ b/tests/cisco_nxos/show_cts_interface_brief/cisco_nxos_show_cts_interface_brief.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - interface: "Eth4/1" + mode: "MANUAL" + ifc_state: "OPEN" + sgt_assignment: "0, Not Trusted" + sgt_propagate: "Disabled" diff --git a/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.parsed b/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.parsed deleted file mode 100644 index 18f8d17966..0000000000 --- a/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.parsed +++ /dev/null @@ -1,35 +0,0 @@ ---- - -parsed_sample: - - -- current_value : '52' - major_threshold : '101' - minor_threshold : '95' - status : 'ok' - module : '1' - sensor : 'ASIC' - - -- current_value : '38' - major_threshold : '62' - minor_threshold : '56' - status : 'ok' - module : '1' - sensor : 'Front-Middle(D1)' - - -- current_value : '33' - major_threshold : '52' - minor_threshold : '44' - status : 'ok' - module : '1' - sensor : 'Front-Left (D2)' - - -- current_value : '28' - major_threshold : '48' - minor_threshold : '42' - status : 'ok' - module : '1' - sensor : 'Back (D3)' diff --git a/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.yml b/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.yml new file mode 100644 index 0000000000..6fe0348105 --- /dev/null +++ b/tests/cisco_nxos/show_environment_temperature/cisco_nxos_show_environment_temperature.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - current_value: "52" + major_threshold: "101" + minor_threshold: "95" + status: "ok" + module: "1" + sensor: "ASIC" + - current_value: "38" + major_threshold: "62" + minor_threshold: "56" + status: "ok" + module: "1" + sensor: "Front-Middle(D1)" + - current_value: "33" + major_threshold: "52" + minor_threshold: "44" + status: "ok" + module: "1" + sensor: "Front-Left (D2)" + - current_value: "28" + major_threshold: "48" + minor_threshold: "42" + status: "ok" + module: "1" + sensor: "Back (D3)" diff --git a/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.parsed b/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.parsed deleted file mode 100644 index 89dce7fb8e..0000000000 --- a/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.parsed +++ /dev/null @@ -1,240 +0,0 @@ ---- -parsed_sample: - -- power_supply: '1' - power_supply_model: 'N7K-AC-3KW' - power_supply_output: '407' - power_supply_capacity: '3000' - power_supply_status: 'Ok' - fan: '' - fan_status: '' - temperature_module: '' - temperature_sensor: '' - temperature_major_thresh: '' - temperature_minor_thresh: '' - temperature_current: '' - temperature_status: '' - -- power_supply: '2' - power_supply_model: 'N7K-AC-3KW' - power_supply_output: '370' - power_supply_capacity: '3000' - power_supply_status: 'Ok' - fan: '' - fan_status: '' - temperature_module: '' - temperature_sensor: '' - temperature_major_thresh: '' - temperature_minor_thresh: '' - temperature_current: '' - temperature_status: '' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: 'Fan1(sys_fan1)' - fan_status: Ok - temperature_module: '' - temperature_sensor: '' - temperature_major_thresh: '' - temperature_minor_thresh: '' - temperature_current: '' - temperature_status: '' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: 'Fan_in_PS1' - fan_status: 'Ok' - temperature_module: '' - temperature_sensor: '' - temperature_major_thresh: '' - temperature_minor_thresh: '' - temperature_current: '' - temperature_status: '' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: 'Fan_in_PS2' - fan_status: 'Ok' - temperature_module: '' - temperature_sensor: '' - temperature_major_thresh: '' - temperature_minor_thresh: '' - temperature_current: '' - temperature_status: '' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '1' - temperature_sensor: 'Inlet' - temperature_major_thresh: '60' - temperature_minor_thresh: '42' - temperature_current: '25' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '1' - temperature_sensor: 'PMFPGA' - temperature_major_thresh: '80' - temperature_minor_thresh: '60' - temperature_current: '36' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '1' - temperature_sensor: 'Crossbar' - temperature_major_thresh: '105' - temperature_minor_thresh: '95' - temperature_current: '41' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '2' - temperature_sensor: 'Inlet' - temperature_major_thresh: '60' - temperature_minor_thresh: '42' - temperature_current: '25' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '2' - temperature_sensor: 'PMFPGA' - temperature_major_thresh: '80' - temperature_minor_thresh: '60' - temperature_current: '35' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '2' - temperature_sensor: 'Crossbar' - temperature_major_thresh: '105' - temperature_minor_thresh: '95' - temperature_current: '40' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '3' - temperature_sensor: 'MAC0Sn0' - temperature_major_thresh: '115' - temperature_minor_thresh: '105' - temperature_current: '42' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '3' - temperature_sensor: 'MAC0Sn1' - temperature_major_thresh: '115' - temperature_minor_thresh: '105' - temperature_current: '43' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '3' - temperature_sensor: 'MAC0-Buf0' - temperature_major_thresh: '115' - temperature_minor_thresh: '105' - temperature_current: '35' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '4' - temperature_sensor: 'MAC0Sn0' - temperature_major_thresh: '115' - temperature_minor_thresh: '105' - temperature_current: '35' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '4' - temperature_sensor: 'MAC0Sn1' - temperature_major_thresh: '115' - temperature_minor_thresh: '105' - temperature_current: '36' - temperature_status: 'Ok' - -- power_supply: '' - power_supply_model: '' - power_supply_output: '' - power_supply_capacity: '' - power_supply_status: '' - fan: '' - fan_status: '' - temperature_module: '4' - temperature_sensor: 'MAC0-Buf0' - temperature_major_thresh: '115' - temperature_minor_thresh: '105' - temperature_current: '46' - temperature_status: 'Ok' diff --git a/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.yml b/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.yml new file mode 100644 index 0000000000..545e366070 --- /dev/null +++ b/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.yml @@ -0,0 +1,223 @@ +--- +parsed_sample: + - power_supply: "1" + power_supply_model: "N7K-AC-3KW" + power_supply_output: "407" + power_supply_capacity: "3000" + power_supply_status: "Ok" + fan: "" + fan_status: "" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "2" + power_supply_model: "N7K-AC-3KW" + power_supply_output: "370" + power_supply_capacity: "3000" + power_supply_status: "Ok" + fan: "" + fan_status: "" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan1(sys_fan1)" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan_in_PS1" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan_in_PS2" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "Inlet" + temperature_major_thresh: "60" + temperature_minor_thresh: "42" + temperature_current: "25" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "PMFPGA" + temperature_major_thresh: "80" + temperature_minor_thresh: "60" + temperature_current: "36" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "Crossbar" + temperature_major_thresh: "105" + temperature_minor_thresh: "95" + temperature_current: "41" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "2" + temperature_sensor: "Inlet" + temperature_major_thresh: "60" + temperature_minor_thresh: "42" + temperature_current: "25" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "2" + temperature_sensor: "PMFPGA" + temperature_major_thresh: "80" + temperature_minor_thresh: "60" + temperature_current: "35" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "2" + temperature_sensor: "Crossbar" + temperature_major_thresh: "105" + temperature_minor_thresh: "95" + temperature_current: "40" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "3" + temperature_sensor: "MAC0Sn0" + temperature_major_thresh: "115" + temperature_minor_thresh: "105" + temperature_current: "42" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "3" + temperature_sensor: "MAC0Sn1" + temperature_major_thresh: "115" + temperature_minor_thresh: "105" + temperature_current: "43" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "3" + temperature_sensor: "MAC0-Buf0" + temperature_major_thresh: "115" + temperature_minor_thresh: "105" + temperature_current: "35" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "4" + temperature_sensor: "MAC0Sn0" + temperature_major_thresh: "115" + temperature_minor_thresh: "105" + temperature_current: "35" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "4" + temperature_sensor: "MAC0Sn1" + temperature_major_thresh: "115" + temperature_minor_thresh: "105" + temperature_current: "36" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "4" + temperature_sensor: "MAC0-Buf0" + temperature_major_thresh: "115" + temperature_minor_thresh: "105" + temperature_current: "46" + temperature_status: "Ok" diff --git a/tests/cisco_nxos/show_feature/cisco_nxos_show_feature.parsed b/tests/cisco_nxos/show_feature/cisco_nxos_show_feature.parsed deleted file mode 100644 index b9976edb10..0000000000 --- a/tests/cisco_nxos/show_feature/cisco_nxos_show_feature.parsed +++ /dev/null @@ -1,255 +0,0 @@ ---- -parsed_sample: - -- name: "bash-shell" - instance: "1" - state: "enabled" - -- name: "bfd" - instance: "1" - state: "disabled" - -- name: "bgp" - instance: "1" - state: "disabled" - -- name: "dhcp" - instance: "1" - state: "disabled" - -- name: "eigrp" - instance: "1" - state: "disabled" - -- name: "eigrp" - instance: "2" - state: "disabled" - -- name: "eigrp" - instance: "3" - state: "disabled" - -- name: "eigrp" - instance: "4" - state: "disabled" - -- name: "eigrp" - instance: "5" - state: "disabled" - -- name: "eigrp" - instance: "6" - state: "disabled" - -- name: "eigrp" - instance: "7" - state: "disabled" - -- name: "eigrp" - instance: "8" - state: "disabled" - -- name: "eigrp" - instance: "9" - state: "disabled" - -- name: "eigrp" - instance: "10" - state: "disabled" - -- name: "eigrp" - instance: "11" - state: "disabled" - -- name: "eigrp" - instance: "12" - state: "disabled" - -- name: "eigrp" - instance: "13" - state: "disabled" - -- name: "eigrp" - instance: "14" - state: "disabled" - -- name: "eigrp" - instance: "15" - state: "disabled" - -- name: "eigrp" - instance: "16" - state: "disabled" - -- name: "evmed" - instance: "1" - state: "disabled" - -- name: "fabric_mcast" - instance: "1" - state: "disabled" - -- name: "hmm" - instance: "1" - state: "disabled" - -- name: "hsrp_engine" - instance: "1" - state: "enabled" - -- name: "interface-vlan" - instance: "1" - state: "enabled" - -- name: "isis" - instance: "1" - state: "disabled" - -- name: "isis" - instance: "2" - state: "disabled" - -- name: "isis" - instance: "3" - state: "disabled" - -- name: "isis" - instance: "4" - state: "disabled" - -- name: "isis" - instance: "5" - state: "disabled" - -- name: "isis" - instance: "6" - state: "disabled" - -- name: "isis" - instance: "7" - state: "disabled" - -- name: "isis" - instance: "8" - state: "disabled" - -- name: "isis" - instance: "9" - state: "disabled" - -- name: "isis" - instance: "10" - state: "disabled" - -- name: "isis" - instance: "11" - state: "disabled" - -- name: "isis" - instance: "12" - state: "disabled" - -- name: "isis" - instance: "13" - state: "disabled" - -- name: "isis" - instance: "14" - state: "disabled" - -- name: "isis" - instance: "15" - state: "disabled" - -- name: "isis" - instance: "16" - state: "disabled" - -- name: "itd" - instance: "1" - state: "disabled" - -- name: "lacp" - instance: "1" - state: "enabled" - -- name: "ldap" - instance: "1" - state: "disabled" - -- name: "ldp" - instance: "1" - state: "disabled" - -- name: "lldp" - instance: "1" - state: "enabled" - -- name: "mpls_static" - instance: "1" - state: "disabled" - -- name: "msdp" - instance: "1" - state: "disabled" - -- name: "nat" - instance: "1" - state: "disabled" - -- name: "ospf" - instance: "1" - state: "enabled (not-running)" - -- name: "ospf" - instance: "2" - state: "enabled" - -- name: "ospf" - instance: "3" - state: "enabled" - -- name: "ospf" - instance: "4" - state: "enabled (not-running)" - -- name: "ospf" - instance: "5" - state: "enabled (not-running)" - -- name: "ospf" - instance: "6" - state: "enabled (not-running)" - -- name: "ospf" - instance: "7" - state: "enabled (not-running)" - -- name: "ospf" - instance: "8" - state: "enabled (not-running)" - -- name: "ospf" - instance: "9" - state: "enabled (not-running)" - -- name: "ospf" - instance: "10" - state: "enabled (not-running)" - -- name: "ospf" - instance: "11" - state: "enabled (not-running)" - -- name: "ospf" - instance: "12" - state: "enabled (not-running)" - -- name: "ospf" - instance: "13" - state: "enabled (not-running)" - - - - - diff --git a/tests/cisco_nxos/show_feature/cisco_nxos_show_feature.yml b/tests/cisco_nxos/show_feature/cisco_nxos_show_feature.yml new file mode 100644 index 0000000000..ef42e2d3e6 --- /dev/null +++ b/tests/cisco_nxos/show_feature/cisco_nxos_show_feature.yml @@ -0,0 +1,188 @@ +--- +parsed_sample: + - name: "bash-shell" + instance: "1" + state: "enabled" + - name: "bfd" + instance: "1" + state: "disabled" + - name: "bgp" + instance: "1" + state: "disabled" + - name: "dhcp" + instance: "1" + state: "disabled" + - name: "eigrp" + instance: "1" + state: "disabled" + - name: "eigrp" + instance: "2" + state: "disabled" + - name: "eigrp" + instance: "3" + state: "disabled" + - name: "eigrp" + instance: "4" + state: "disabled" + - name: "eigrp" + instance: "5" + state: "disabled" + - name: "eigrp" + instance: "6" + state: "disabled" + - name: "eigrp" + instance: "7" + state: "disabled" + - name: "eigrp" + instance: "8" + state: "disabled" + - name: "eigrp" + instance: "9" + state: "disabled" + - name: "eigrp" + instance: "10" + state: "disabled" + - name: "eigrp" + instance: "11" + state: "disabled" + - name: "eigrp" + instance: "12" + state: "disabled" + - name: "eigrp" + instance: "13" + state: "disabled" + - name: "eigrp" + instance: "14" + state: "disabled" + - name: "eigrp" + instance: "15" + state: "disabled" + - name: "eigrp" + instance: "16" + state: "disabled" + - name: "evmed" + instance: "1" + state: "disabled" + - name: "fabric_mcast" + instance: "1" + state: "disabled" + - name: "hmm" + instance: "1" + state: "disabled" + - name: "hsrp_engine" + instance: "1" + state: "enabled" + - name: "interface-vlan" + instance: "1" + state: "enabled" + - name: "isis" + instance: "1" + state: "disabled" + - name: "isis" + instance: "2" + state: "disabled" + - name: "isis" + instance: "3" + state: "disabled" + - name: "isis" + instance: "4" + state: "disabled" + - name: "isis" + instance: "5" + state: "disabled" + - name: "isis" + instance: "6" + state: "disabled" + - name: "isis" + instance: "7" + state: "disabled" + - name: "isis" + instance: "8" + state: "disabled" + - name: "isis" + instance: "9" + state: "disabled" + - name: "isis" + instance: "10" + state: "disabled" + - name: "isis" + instance: "11" + state: "disabled" + - name: "isis" + instance: "12" + state: "disabled" + - name: "isis" + instance: "13" + state: "disabled" + - name: "isis" + instance: "14" + state: "disabled" + - name: "isis" + instance: "15" + state: "disabled" + - name: "isis" + instance: "16" + state: "disabled" + - name: "itd" + instance: "1" + state: "disabled" + - name: "lacp" + instance: "1" + state: "enabled" + - name: "ldap" + instance: "1" + state: "disabled" + - name: "ldp" + instance: "1" + state: "disabled" + - name: "lldp" + instance: "1" + state: "enabled" + - name: "mpls_static" + instance: "1" + state: "disabled" + - name: "msdp" + instance: "1" + state: "disabled" + - name: "nat" + instance: "1" + state: "disabled" + - name: "ospf" + instance: "1" + state: "enabled (not-running)" + - name: "ospf" + instance: "2" + state: "enabled" + - name: "ospf" + instance: "3" + state: "enabled" + - name: "ospf" + instance: "4" + state: "enabled (not-running)" + - name: "ospf" + instance: "5" + state: "enabled (not-running)" + - name: "ospf" + instance: "6" + state: "enabled (not-running)" + - name: "ospf" + instance: "7" + state: "enabled (not-running)" + - name: "ospf" + instance: "8" + state: "enabled (not-running)" + - name: "ospf" + instance: "9" + state: "enabled (not-running)" + - name: "ospf" + instance: "10" + state: "enabled (not-running)" + - name: "ospf" + instance: "11" + state: "enabled (not-running)" + - name: "ospf" + instance: "12" + state: "enabled (not-running)" + - name: "ospf" + instance: "13" + state: "enabled (not-running)" diff --git a/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.parsed b/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.parsed deleted file mode 100644 index af2dd6ac0f..0000000000 --- a/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.parsed +++ /dev/null @@ -1,34 +0,0 @@ ---- - -parsed_sample: - - number: '102' - descr: ATL1-AS3P - state: Online - model: N2K-C2248TP-E-1GE - serial: SSI16340AR0 - - number: '103' - descr: ATL1-AS5P - state: Online - model: N2K-C2248TP-E-1GE - serial: SSI16350CPC - - number: '104' - descr: ATL1-AS7P - state: Online - model: N2K-C2248TP-E-1GE - serial: SSI16340AKE - - number: '105' - descr: ATL1-AS9P - state: Online - model: N2K-C2248TP-E-1GE - serial: SSI16350BJ9 - - number: '121' - descr: ATL1-AS1PR2 - state: Online - model: N2K-C2248TP-E-1GE - serial: SSI165102M7 - - number: '122' - descr: ATL1-AS3PR2 - state: Online - model: N2K-C2248TP-E-1GE - serial: SSI16460ARS - diff --git a/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.yml b/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.yml new file mode 100644 index 0000000000..67d156eb82 --- /dev/null +++ b/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - number: "102" + descr: "ATL1-AS3P" + state: "Online" + model: "N2K-C2248TP-E-1GE" + serial: "SSI16340AR0" + - number: "103" + descr: "ATL1-AS5P" + state: "Online" + model: "N2K-C2248TP-E-1GE" + serial: "SSI16350CPC" + - number: "104" + descr: "ATL1-AS7P" + state: "Online" + model: "N2K-C2248TP-E-1GE" + serial: "SSI16340AKE" + - number: "105" + descr: "ATL1-AS9P" + state: "Online" + model: "N2K-C2248TP-E-1GE" + serial: "SSI16350BJ9" + - number: "121" + descr: "ATL1-AS1PR2" + state: "Online" + model: "N2K-C2248TP-E-1GE" + serial: "SSI165102M7" + - number: "122" + descr: "ATL1-AS3PR2" + state: "Online" + model: "N2K-C2248TP-E-1GE" + serial: "SSI16460ARS" diff --git a/tests/cisco_nxos/show_fex_id/cisco_nxos_show_fex_id.parsed b/tests/cisco_nxos/show_fex_id/cisco_nxos_show_fex_id.parsed deleted file mode 100644 index 09f071e5d5..0000000000 --- a/tests/cisco_nxos/show_fex_id/cisco_nxos_show_fex_id.parsed +++ /dev/null @@ -1,20 +0,0 @@ ---- -parsed_sample: - -- fex: "102" - description: "ATL1-AS3P" - state: "Online" - version: "7.2(1)N1(1)" - extender_serial: "SSI16340AR0" - extender_model: "N2K-C2248TP-E-1GE" - part_no: "73-13671-01" - pinning_mode: "static" - max_links: "1" - fabric_port: "Eth1/31" - fcoe_admin: "false" - fcoe_oper: "true" - fcoe_fex_aa_configured: "false" - fabric_interface: ['Po102', 'Eth1/31', 'Eth2/15'] - interface_mode: ['Up', 'Up', 'Up'] - interface_state: ['Active', 'Active', 'Active'] - diff --git a/tests/cisco_nxos/show_fex_id/cisco_nxos_show_fex_id.yml b/tests/cisco_nxos/show_fex_id/cisco_nxos_show_fex_id.yml new file mode 100644 index 0000000000..924cd012b6 --- /dev/null +++ b/tests/cisco_nxos/show_fex_id/cisco_nxos_show_fex_id.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - fex: "102" + description: "ATL1-AS3P" + state: "Online" + version: "7.2(1)N1(1)" + extender_serial: "SSI16340AR0" + extender_model: "N2K-C2248TP-E-1GE" + part_no: "73-13671-01" + pinning_mode: "static" + max_links: "1" + fabric_port: "Eth1/31" + fcoe_admin: "false" + fcoe_oper: "true" + fcoe_fex_aa_configured: "false" + fabric_interface: + - "Po102" + - "Eth1/31" + - "Eth2/15" + interface_mode: + - "Up" + - "Up" + - "Up" + interface_state: + - "Active" + - "Active" + - "Active" diff --git a/tests/cisco_nxos/show_flogi_database/cisco_nxos_show_flogi_database.parsed b/tests/cisco_nxos/show_flogi_database/cisco_nxos_show_flogi_database.parsed deleted file mode 100644 index 9a21a38e69..0000000000 --- a/tests/cisco_nxos/show_flogi_database/cisco_nxos_show_flogi_database.parsed +++ /dev/null @@ -1,149 +0,0 @@ ---- -parsed_sample: - -- fcid: '0x000000' - interface: fc1/33 - node_name: aa:bb:cc:dd:ee:ff:00:00 - port_device_alias: SAN_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:00:11 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/34 - node_name: aa:bb:cc:dd:ee:ff:00:00 - port_device_alias: SAN_PORT_2 - port_name: aa:bb:cc:dd:ee:ff:00:12 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/35 - node_name: aa:bb:cc:dd:ee:ff:00:00 - port_device_alias: SAN_PORT_3 - port_name: aa:bb:cc:dd:ee:ff:00:13 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/36 - node_name: aa:bb:cc:dd:ee:ff:00:00 - port_device_alias: SAN_PORT_4 - port_name: aa:bb:cc:dd:ee:ff:00:14 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/37 - node_name: bb:bb:cc:dd:ee:ff:00:00 - port_device_alias: TAPE_1 - port_name: aa:bb:cc:dd:ee:ff:00:15 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/38 - node_name: a0:bb:cc:dd:ee:ff:00:00 - port_device_alias: TAPE_2 - port_name: aa:bb:cc:dd:ee:ff:00:16 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/41 - node_name: d1:bb:cc:dd:ee:ff:00:00 - port_device_alias: SERVER_A_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:00:17 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/42 - node_name: d1:bb:cc:dd:ee:ff:00:00 - port_device_alias: SERVER_A_PORT_2 - port_name: aa:bb:cc:dd:ee:ff:00:18 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/43 - node_name: 3a:bb:cc:dd:ee:ff:00:00 - port_device_alias: SERVER_B_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:00:19 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/44 - node_name: 3a:bb:cc:dd:ee:ff:00:00 - port_device_alias: SERVER_B_PORT_2 - port_name: aa:bb:cc:dd:ee:ff:00:10 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/45 - node_name: da:bb:cc:dd:ee:ff:00:00 - port_device_alias: '' - port_name: aa:bb:cc:dd:ee:ff:01:10 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/45 - node_name: da:bb:cc:dd:ee:ff:00:01 - port_device_alias: SERVER_C_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:01:11 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/45 - node_name: da:bb:cc:dd:ee:ff:00:a0 - port_device_alias: SERVER_D_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:01:12 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/45 - node_name: da:bb:cc:dd:ee:ff:00:f3 - port_device_alias: SERVER_E_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:01:13 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/45 - node_name: da:bb:cc:dd:ee:ff:00:d7 - port_device_alias: SERVER_F_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:01:14 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/45 - node_name: da:bb:cc:dd:ee:ff:00:a8 - port_device_alias: SERVER_G_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:01:15 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/45 - node_name: da:bb:cc:dd:ee:ff:00:c3 - port_device_alias: SERVER_H_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:01:16 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/45 - node_name: da:bb:cc:dd:ee:ff:00:c8 - port_device_alias: SERVER_I_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:01:17 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/45 - node_name: da:bb:cc:dd:ee:ff:00:e9 - port_device_alias: SERVER_J_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:01:18 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/45 - node_name: da:bb:cc:dd:ee:ff:00:e1 - port_device_alias: SERVER_K_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:01:19 - vsan: '10' - -- fcid: '0x000000' - interface: fc1/46 - node_name: c6:bb:cc:dd:ee:ff:00:11 - port_device_alias: DEV_SERVER_PORT_1 - port_name: aa:bb:cc:dd:ee:ff:02:00 - vsan: '10' diff --git a/tests/cisco_nxos/show_flogi_database/cisco_nxos_show_flogi_database.yml b/tests/cisco_nxos/show_flogi_database/cisco_nxos_show_flogi_database.yml new file mode 100644 index 0000000000..8b35ad16db --- /dev/null +++ b/tests/cisco_nxos/show_flogi_database/cisco_nxos_show_flogi_database.yml @@ -0,0 +1,128 @@ +--- +parsed_sample: + - fcid: "0x000000" + interface: "fc1/33" + node_name: "aa:bb:cc:dd:ee:ff:00:00" + port_device_alias: "SAN_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:00:11" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/34" + node_name: "aa:bb:cc:dd:ee:ff:00:00" + port_device_alias: "SAN_PORT_2" + port_name: "aa:bb:cc:dd:ee:ff:00:12" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/35" + node_name: "aa:bb:cc:dd:ee:ff:00:00" + port_device_alias: "SAN_PORT_3" + port_name: "aa:bb:cc:dd:ee:ff:00:13" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/36" + node_name: "aa:bb:cc:dd:ee:ff:00:00" + port_device_alias: "SAN_PORT_4" + port_name: "aa:bb:cc:dd:ee:ff:00:14" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/37" + node_name: "bb:bb:cc:dd:ee:ff:00:00" + port_device_alias: "TAPE_1" + port_name: "aa:bb:cc:dd:ee:ff:00:15" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/38" + node_name: "a0:bb:cc:dd:ee:ff:00:00" + port_device_alias: "TAPE_2" + port_name: "aa:bb:cc:dd:ee:ff:00:16" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/41" + node_name: "d1:bb:cc:dd:ee:ff:00:00" + port_device_alias: "SERVER_A_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:00:17" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/42" + node_name: "d1:bb:cc:dd:ee:ff:00:00" + port_device_alias: "SERVER_A_PORT_2" + port_name: "aa:bb:cc:dd:ee:ff:00:18" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/43" + node_name: "3a:bb:cc:dd:ee:ff:00:00" + port_device_alias: "SERVER_B_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:00:19" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/44" + node_name: "3a:bb:cc:dd:ee:ff:00:00" + port_device_alias: "SERVER_B_PORT_2" + port_name: "aa:bb:cc:dd:ee:ff:00:10" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/45" + node_name: "da:bb:cc:dd:ee:ff:00:00" + port_device_alias: "" + port_name: "aa:bb:cc:dd:ee:ff:01:10" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/45" + node_name: "da:bb:cc:dd:ee:ff:00:01" + port_device_alias: "SERVER_C_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:01:11" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/45" + node_name: "da:bb:cc:dd:ee:ff:00:a0" + port_device_alias: "SERVER_D_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:01:12" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/45" + node_name: "da:bb:cc:dd:ee:ff:00:f3" + port_device_alias: "SERVER_E_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:01:13" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/45" + node_name: "da:bb:cc:dd:ee:ff:00:d7" + port_device_alias: "SERVER_F_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:01:14" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/45" + node_name: "da:bb:cc:dd:ee:ff:00:a8" + port_device_alias: "SERVER_G_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:01:15" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/45" + node_name: "da:bb:cc:dd:ee:ff:00:c3" + port_device_alias: "SERVER_H_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:01:16" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/45" + node_name: "da:bb:cc:dd:ee:ff:00:c8" + port_device_alias: "SERVER_I_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:01:17" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/45" + node_name: "da:bb:cc:dd:ee:ff:00:e9" + port_device_alias: "SERVER_J_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:01:18" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/45" + node_name: "da:bb:cc:dd:ee:ff:00:e1" + port_device_alias: "SERVER_K_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:01:19" + vsan: "10" + - fcid: "0x000000" + interface: "fc1/46" + node_name: "c6:bb:cc:dd:ee:ff:00:11" + port_device_alias: "DEV_SERVER_PORT_1" + port_name: "aa:bb:cc:dd:ee:ff:02:00" + vsan: "10" diff --git a/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.parsed b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.parsed deleted file mode 100644 index 26a2971db7..0000000000 --- a/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.parsed +++ /dev/null @@ -1,1214 +0,0 @@ ---- -parsed_sample: -- interface: - - Null0 - nexthop: - - Drop - prefix: 0.0.0.0/32 -- interface: - - Null0 - nexthop: - - Drop - prefix: 127.0.0.0/8 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 255.255.255.255/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 0.0.0.0/0 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.1.88.0/24 -- interface: [] - nexthop: - - Attached - prefix: 10.1.90.0/24 -- interface: - - Null0 - nexthop: - - Drop - prefix: 10.1.90.0/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 10.1.90.1/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 10.1.90.101/32 -- interface: - - Vlan1 - nexthop: - - 10.1.90.102 - prefix: 10.1.90.102/32 -- interface: - - Vlan1 - nexthop: - - Attached - prefix: 10.1.90.255/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.5.88.0/24 -- interface: - - Ethernet1/45 - - Ethernet1/43 - nexthop: - - 172.16.90.6 - - 172.16.90.10 - prefix: 10.5.90.0/24 -- interface: - - Ethernet1/46 - nexthop: - - 172.16.90.33 - prefix: 10.5.99.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.5.224.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.5.225.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.5.226.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.9.88.0/24 -- interface: - - Ethernet1/45 - - Ethernet1/43 - nexthop: - - 172.16.90.6 - - 172.16.90.10 - prefix: 10.10.10.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.15.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.22.0/25 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.29.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.38.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.39.0/26 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.39.64/26 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.39.128/26 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.39.192/26 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.10.50.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.10.55.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.10.56.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.10.88.0/24 -- interface: - - Ethernet1/45 - - Ethernet1/43 - nexthop: - - 172.16.90.6 - - 172.16.90.10 - prefix: 10.10.90.0/24 -- interface: - - Ethernet1/46 - nexthop: - - 172.16.90.33 - prefix: 10.10.99.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.192.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.224.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.225.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.226.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.254.1/32 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.254.2/32 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.255.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.255.7/32 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.10.255.8/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.11.88.0/24 -- interface: - - Ethernet1/45 - - Ethernet1/43 - nexthop: - - 172.16.90.6 - - 172.16.90.10 - prefix: 10.11.90.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.15.88.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.17.88.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.18.88.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.20.88.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.30.88.0/24 -- interface: - - Null0 - nexthop: - - Drop - prefix: 10.30.112.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.30.113.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.35.29.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.35.44.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.35.45.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.35.46.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.35.88.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.35.90.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.35.192.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.40.88.0/24 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.77.100.0/28 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.77.100.96/28 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.90.88.0/30 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.100.88.0/24 -- interface: - - Ethernet1/45 - - Ethernet1/43 - nexthop: - - 172.16.90.6 - - 172.16.90.10 - prefix: 10.100.90.0/24 -- interface: - - Ethernet1/46 - nexthop: - - 172.16.90.33 - prefix: 10.100.99.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.100.192.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.100.224.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.100.225.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.100.226.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.119.48.0/27 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.119.48.32/27 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.3.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.4.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.28.0/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.129.88.0/24 -- interface: - - Vlan20 - nexthop: - - Attached - prefix: 10.129.90.0/24 -- interface: - - Null0 - nexthop: - - Drop - prefix: 10.129.90.0/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 10.129.90.1/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.10 - prefix: 10.129.90.10/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.11 - prefix: 10.129.90.11/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.12 - prefix: 10.129.90.12/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.13 - prefix: 10.129.90.13/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.14 - prefix: 10.129.90.14/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.15 - prefix: 10.129.90.15/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.16 - prefix: 10.129.90.16/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.17 - prefix: 10.129.90.17/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.18 - prefix: 10.129.90.18/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.19 - prefix: 10.129.90.19/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.20 - prefix: 10.129.90.20/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.21 - prefix: 10.129.90.21/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.22 - prefix: 10.129.90.22/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.23 - prefix: 10.129.90.23/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.24 - prefix: 10.129.90.24/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.25 - prefix: 10.129.90.25/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.26 - prefix: 10.129.90.26/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.28 - prefix: 10.129.90.28/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.29 - prefix: 10.129.90.29/32 -- interface: - - Vlan20 - nexthop: - - 10.129.90.30 - prefix: 10.129.90.30/32 -- interface: - - Vlan20 - nexthop: - - Attached - prefix: 10.129.90.255/32 -- interface: - - Vlan112 - nexthop: - - 172.16.90.2 - prefix: 10.129.91.0/24 -- interface: - - Ethernet1/45 - - Ethernet1/43 - nexthop: - - 172.16.90.6 - - 172.16.90.10 - prefix: 10.129.92.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.100.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.192.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.200.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.224.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.225.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.226.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.227.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.228.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.229.0/24 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.129.230.0/24 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.150.201.130/31 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.150.202.0/27 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.150.202.64/27 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.150.202.64/28 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.150.202.80/28 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.152.202.16/28 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.200.130.0/29 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.222.48.192/26 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.249.0.8/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.17.0/24 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.18.0/24 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.37.1/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.37.2/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.37.3/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.37.4/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.37.5/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.37.6/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.38.5/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.38.6/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.38.12/30 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.38.13/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.38.14/32 -- interface: - - Ethernet1/1 - nexthop: - - Attached - prefix: 10.249.38.64/30 -- interface: - - Null0 - nexthop: - - Drop - prefix: 10.249.38.64/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.38.65/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 10.249.38.66/32 -- interface: - - Ethernet1/1 - nexthop: - - Attached - prefix: 10.249.38.67/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.38.68/30 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.39.36/30 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.39.50/31 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.40.36/30 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.249.56.192/26 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.250.0/25 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.253.219/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.253.220/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.253.225/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.253.226/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.253.231/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.253.232/32 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.253.251/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.249.254.1/32 -- interface: - - Vlan112 - nexthop: - - 172.16.90.2 - prefix: 10.249.254.64/30 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.254.68/30 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.255.120/29 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.255.240/29 -- interface: - - Ethernet1/1 - nexthop: - - 10.249.38.65 - prefix: 10.249.255.248/29 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.255.28.1/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.255.88.1/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.255.88.253/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 10.255.90.1/32 -- interface: - - Vlan112 - nexthop: - - 172.16.90.2 - prefix: 10.255.90.2/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.255.90.3/32 -- interface: - - Ethernet1/43 - nexthop: - - 172.16.90.10 - prefix: 10.255.90.4/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 10.255.90.110/32 -- interface: - - Ethernet1/46 - nexthop: - - 172.16.90.33 - prefix: 10.255.99.1/32 -- interface: - - Vlan112 - nexthop: - - 172.16.90.2 - prefix: 10.255.99.2/32 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.255.192.1/32 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.255.192.2/32 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.255.255.1/32 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 10.255.255.2/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 68.202.118.148/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 69.203.118.52/24 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 113.117.128.2/32 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 117.120.112.118/26 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 117.121.132.112/26 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 160.44.97.23/32 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 160.45.98.45/32 -- interface: - - Ethernet1/3 - nexthop: - - Attached - prefix: 172.116.129.4/30 -- interface: - - Null0 - nexthop: - - Drop - prefix: 172.116.129.4/32 -- interface: - - Ethernet1/3 - nexthop: - - 172.16.29.5 - prefix: 172.116.129.5/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 172.116.129.6/32 -- interface: - - Ethernet1/3 - nexthop: - - Attached - prefix: 172.116.129.7/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 172.116.188.0/30 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 172.116.188.4/30 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 172.116.188.8/30 -- interface: - - Ethernet1/43 - nexthop: - - 172.16.90.10 - prefix: 172.116.188.16/30 -- interface: [] - nexthop: - - Attached - prefix: 172.116.190.0/30 -- interface: - - Null0 - nexthop: - - Drop - prefix: 172.116.190.0/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 172.116.190.1/32 -- interface: - - Vlan112 - nexthop: - - 172.16.90.2 - prefix: 172.116.190.2/32 -- interface: - - Vlan112 - nexthop: - - Attached - prefix: 172.116.190.3/32 -- interface: - - Ethernet1/45 - nexthop: - - Attached - prefix: 172.116.190.4/30 -- interface: - - Null0 - nexthop: - - Drop - prefix: 172.116.190.4/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 172.116.190.5/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 172.116.190.6/32 -- interface: - - Ethernet1/45 - nexthop: - - Attached - prefix: 172.116.190.7/32 -- interface: - - Ethernet1/43 - nexthop: - - Attached - prefix: 172.116.190.8/30 -- interface: - - Null0 - nexthop: - - Drop - prefix: 172.116.190.8/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 172.116.190.9/32 -- interface: - - Ethernet1/43 - nexthop: - - 172.16.90.10 - prefix: 172.116.190.10/32 -- interface: - - Ethernet1/43 - nexthop: - - Attached - prefix: 172.116.190.11/32 -- interface: - - Vlan112 - nexthop: - - 172.16.90.2 - prefix: 172.116.190.12/30 -- interface: - - Vlan112 - nexthop: - - 172.16.90.2 - prefix: 172.116.190.16/30 -- interface: - - Ethernet1/45 - - Ethernet1/43 - nexthop: - - 172.16.90.6 - - 172.16.90.10 - prefix: 172.116.190.20/30 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 172.120.93.24/30 -- interface: - - Ethernet1/43 - nexthop: - - 172.16.90.10 - prefix: 172.120.93.28/30 -- interface: - - Ethernet1/46 - nexthop: - - Attached - prefix: 172.120.93.32/30 -- interface: - - Null0 - nexthop: - - Drop - prefix: 172.120.93.32/32 -- interface: - - Ethernet1/46 - nexthop: - - 172.16.90.33 - prefix: 172.120.93.33/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 172.120.93.34/32 -- interface: - - Ethernet1/46 - nexthop: - - Attached - prefix: 172.120.93.35/32 -- interface: - - Vlan112 - nexthop: - - 172.16.90.2 - prefix: 172.120.93.36/30 -- interface: - - Ethernet1/46 - nexthop: - - 172.16.90.33 - prefix: 172.120.93.0/30 -- interface: - - Ethernet1/41 - nexthop: - - Attached - prefix: 172.121.135.16/30 -- interface: - - Null0 - nexthop: - - Drop - prefix: 172.121.135.16/32 -- interface: - - Ethernet1/41 - nexthop: - - 172.30.135.17 - prefix: 172.212.135.17/32 -- interface: - - sup-eth1 - nexthop: - - Receive - prefix: 172.213.135.18/32 -- interface: - - Ethernet1/41 - nexthop: - - Attached - prefix: 172.214.135.19/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 172.214.0.0/16 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.48/28 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.48/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.49/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.50/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.51/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.52/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.53/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.54/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.55/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.56/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.57/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.58/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.59/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.60/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.61/32 -- interface: - - Ethernet1/45 - nexthop: - - 172.16.90.6 - prefix: 192.200.54.62/32 -- interface: - - Ethernet1/41 - nexthop: - - 172.30.135.17 - prefix: 203.45.179.33/32 -- interface: - - Ethernet1/41 - nexthop: - - 172.30.135.17 - prefix: 203.46.179.34/32 -- interface: - - Ethernet1/41 - nexthop: - - 172.30.135.17 - prefix: 203.72.179.0/25 -- interface: - - Ethernet1/41 - nexthop: - - 172.30.135.17 - prefix: 203.72.179.128/25 diff --git a/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.yml b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.yml new file mode 100644 index 0000000000..f1c98b4353 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_ipv4_route/cisco_nxos_show_forwarding_ipv4_route.yml @@ -0,0 +1,1214 @@ +--- +parsed_sample: + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "0.0.0.0/32" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "127.0.0.0/8" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "255.255.255.255/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "0.0.0.0/0" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.1.88.0/24" + - interface: [] + nexthop: + - "Attached" + prefix: "10.1.90.0/24" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "10.1.90.0/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "10.1.90.1/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "10.1.90.101/32" + - interface: + - "Vlan1" + nexthop: + - "10.1.90.102" + prefix: "10.1.90.102/32" + - interface: + - "Vlan1" + nexthop: + - "Attached" + prefix: "10.1.90.255/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.5.88.0/24" + - interface: + - "Ethernet1/45" + - "Ethernet1/43" + nexthop: + - "172.16.90.6" + - "172.16.90.10" + prefix: "10.5.90.0/24" + - interface: + - "Ethernet1/46" + nexthop: + - "172.16.90.33" + prefix: "10.5.99.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.5.224.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.5.225.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.5.226.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.9.88.0/24" + - interface: + - "Ethernet1/45" + - "Ethernet1/43" + nexthop: + - "172.16.90.6" + - "172.16.90.10" + prefix: "10.10.10.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.15.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.22.0/25" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.29.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.38.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.39.0/26" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.39.64/26" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.39.128/26" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.39.192/26" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.10.50.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.10.55.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.10.56.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.10.88.0/24" + - interface: + - "Ethernet1/45" + - "Ethernet1/43" + nexthop: + - "172.16.90.6" + - "172.16.90.10" + prefix: "10.10.90.0/24" + - interface: + - "Ethernet1/46" + nexthop: + - "172.16.90.33" + prefix: "10.10.99.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.192.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.224.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.225.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.226.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.254.1/32" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.254.2/32" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.255.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.255.7/32" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.10.255.8/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.11.88.0/24" + - interface: + - "Ethernet1/45" + - "Ethernet1/43" + nexthop: + - "172.16.90.6" + - "172.16.90.10" + prefix: "10.11.90.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.15.88.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.17.88.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.18.88.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.20.88.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.30.88.0/24" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "10.30.112.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.30.113.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.35.29.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.35.44.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.35.45.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.35.46.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.35.88.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.35.90.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.35.192.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.40.88.0/24" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.77.100.0/28" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.77.100.96/28" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.90.88.0/30" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.100.88.0/24" + - interface: + - "Ethernet1/45" + - "Ethernet1/43" + nexthop: + - "172.16.90.6" + - "172.16.90.10" + prefix: "10.100.90.0/24" + - interface: + - "Ethernet1/46" + nexthop: + - "172.16.90.33" + prefix: "10.100.99.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.100.192.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.100.224.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.100.225.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.100.226.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.119.48.0/27" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.119.48.32/27" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.3.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.4.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.28.0/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.129.88.0/24" + - interface: + - "Vlan20" + nexthop: + - "Attached" + prefix: "10.129.90.0/24" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "10.129.90.0/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "10.129.90.1/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.10" + prefix: "10.129.90.10/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.11" + prefix: "10.129.90.11/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.12" + prefix: "10.129.90.12/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.13" + prefix: "10.129.90.13/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.14" + prefix: "10.129.90.14/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.15" + prefix: "10.129.90.15/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.16" + prefix: "10.129.90.16/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.17" + prefix: "10.129.90.17/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.18" + prefix: "10.129.90.18/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.19" + prefix: "10.129.90.19/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.20" + prefix: "10.129.90.20/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.21" + prefix: "10.129.90.21/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.22" + prefix: "10.129.90.22/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.23" + prefix: "10.129.90.23/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.24" + prefix: "10.129.90.24/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.25" + prefix: "10.129.90.25/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.26" + prefix: "10.129.90.26/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.28" + prefix: "10.129.90.28/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.29" + prefix: "10.129.90.29/32" + - interface: + - "Vlan20" + nexthop: + - "10.129.90.30" + prefix: "10.129.90.30/32" + - interface: + - "Vlan20" + nexthop: + - "Attached" + prefix: "10.129.90.255/32" + - interface: + - "Vlan112" + nexthop: + - "172.16.90.2" + prefix: "10.129.91.0/24" + - interface: + - "Ethernet1/45" + - "Ethernet1/43" + nexthop: + - "172.16.90.6" + - "172.16.90.10" + prefix: "10.129.92.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.100.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.192.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.200.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.224.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.225.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.226.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.227.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.228.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.229.0/24" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.129.230.0/24" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.150.201.130/31" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.150.202.0/27" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.150.202.64/27" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.150.202.64/28" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.150.202.80/28" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.152.202.16/28" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.200.130.0/29" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.222.48.192/26" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.249.0.8/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.17.0/24" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.18.0/24" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.37.1/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.37.2/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.37.3/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.37.4/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.37.5/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.37.6/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.38.5/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.38.6/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.38.12/30" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.38.13/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.38.14/32" + - interface: + - "Ethernet1/1" + nexthop: + - "Attached" + prefix: "10.249.38.64/30" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "10.249.38.64/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.38.65/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "10.249.38.66/32" + - interface: + - "Ethernet1/1" + nexthop: + - "Attached" + prefix: "10.249.38.67/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.38.68/30" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.39.36/30" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.39.50/31" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.40.36/30" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.249.56.192/26" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.250.0/25" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.253.219/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.253.220/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.253.225/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.253.226/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.253.231/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.253.232/32" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.253.251/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.249.254.1/32" + - interface: + - "Vlan112" + nexthop: + - "172.16.90.2" + prefix: "10.249.254.64/30" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.254.68/30" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.255.120/29" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.255.240/29" + - interface: + - "Ethernet1/1" + nexthop: + - "10.249.38.65" + prefix: "10.249.255.248/29" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.255.28.1/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.255.88.1/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.255.88.253/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "10.255.90.1/32" + - interface: + - "Vlan112" + nexthop: + - "172.16.90.2" + prefix: "10.255.90.2/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.255.90.3/32" + - interface: + - "Ethernet1/43" + nexthop: + - "172.16.90.10" + prefix: "10.255.90.4/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "10.255.90.110/32" + - interface: + - "Ethernet1/46" + nexthop: + - "172.16.90.33" + prefix: "10.255.99.1/32" + - interface: + - "Vlan112" + nexthop: + - "172.16.90.2" + prefix: "10.255.99.2/32" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.255.192.1/32" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.255.192.2/32" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.255.255.1/32" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "10.255.255.2/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "68.202.118.148/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "69.203.118.52/24" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "113.117.128.2/32" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "117.120.112.118/26" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "117.121.132.112/26" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "160.44.97.23/32" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "160.45.98.45/32" + - interface: + - "Ethernet1/3" + nexthop: + - "Attached" + prefix: "172.116.129.4/30" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "172.116.129.4/32" + - interface: + - "Ethernet1/3" + nexthop: + - "172.16.29.5" + prefix: "172.116.129.5/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "172.116.129.6/32" + - interface: + - "Ethernet1/3" + nexthop: + - "Attached" + prefix: "172.116.129.7/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "172.116.188.0/30" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "172.116.188.4/30" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "172.116.188.8/30" + - interface: + - "Ethernet1/43" + nexthop: + - "172.16.90.10" + prefix: "172.116.188.16/30" + - interface: [] + nexthop: + - "Attached" + prefix: "172.116.190.0/30" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "172.116.190.0/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "172.116.190.1/32" + - interface: + - "Vlan112" + nexthop: + - "172.16.90.2" + prefix: "172.116.190.2/32" + - interface: + - "Vlan112" + nexthop: + - "Attached" + prefix: "172.116.190.3/32" + - interface: + - "Ethernet1/45" + nexthop: + - "Attached" + prefix: "172.116.190.4/30" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "172.116.190.4/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "172.116.190.5/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "172.116.190.6/32" + - interface: + - "Ethernet1/45" + nexthop: + - "Attached" + prefix: "172.116.190.7/32" + - interface: + - "Ethernet1/43" + nexthop: + - "Attached" + prefix: "172.116.190.8/30" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "172.116.190.8/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "172.116.190.9/32" + - interface: + - "Ethernet1/43" + nexthop: + - "172.16.90.10" + prefix: "172.116.190.10/32" + - interface: + - "Ethernet1/43" + nexthop: + - "Attached" + prefix: "172.116.190.11/32" + - interface: + - "Vlan112" + nexthop: + - "172.16.90.2" + prefix: "172.116.190.12/30" + - interface: + - "Vlan112" + nexthop: + - "172.16.90.2" + prefix: "172.116.190.16/30" + - interface: + - "Ethernet1/45" + - "Ethernet1/43" + nexthop: + - "172.16.90.6" + - "172.16.90.10" + prefix: "172.116.190.20/30" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "172.120.93.24/30" + - interface: + - "Ethernet1/43" + nexthop: + - "172.16.90.10" + prefix: "172.120.93.28/30" + - interface: + - "Ethernet1/46" + nexthop: + - "Attached" + prefix: "172.120.93.32/30" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "172.120.93.32/32" + - interface: + - "Ethernet1/46" + nexthop: + - "172.16.90.33" + prefix: "172.120.93.33/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "172.120.93.34/32" + - interface: + - "Ethernet1/46" + nexthop: + - "Attached" + prefix: "172.120.93.35/32" + - interface: + - "Vlan112" + nexthop: + - "172.16.90.2" + prefix: "172.120.93.36/30" + - interface: + - "Ethernet1/46" + nexthop: + - "172.16.90.33" + prefix: "172.120.93.0/30" + - interface: + - "Ethernet1/41" + nexthop: + - "Attached" + prefix: "172.121.135.16/30" + - interface: + - "Null0" + nexthop: + - "Drop" + prefix: "172.121.135.16/32" + - interface: + - "Ethernet1/41" + nexthop: + - "172.30.135.17" + prefix: "172.212.135.17/32" + - interface: + - "sup-eth1" + nexthop: + - "Receive" + prefix: "172.213.135.18/32" + - interface: + - "Ethernet1/41" + nexthop: + - "Attached" + prefix: "172.214.135.19/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "172.214.0.0/16" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.48/28" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.48/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.49/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.50/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.51/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.52/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.53/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.54/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.55/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.56/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.57/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.58/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.59/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.60/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.61/32" + - interface: + - "Ethernet1/45" + nexthop: + - "172.16.90.6" + prefix: "192.200.54.62/32" + - interface: + - "Ethernet1/41" + nexthop: + - "172.30.135.17" + prefix: "203.45.179.33/32" + - interface: + - "Ethernet1/41" + nexthop: + - "172.30.135.17" + prefix: "203.46.179.34/32" + - interface: + - "Ethernet1/41" + nexthop: + - "172.30.135.17" + prefix: "203.72.179.0/25" + - interface: + - "Ethernet1/41" + nexthop: + - "172.30.135.17" + prefix: "203.72.179.128/25" diff --git a/tests/cisco_nxos/show_hostname/cisco_nxos_show_hostname.parsed b/tests/cisco_nxos/show_hostname/cisco_nxos_show_hostname.parsed deleted file mode 100644 index de31b62406..0000000000 --- a/tests/cisco_nxos/show_hostname/cisco_nxos_show_hostname.parsed +++ /dev/null @@ -1,4 +0,0 @@ ---- -parsed_sample: - -- hostname: 'n9k1' diff --git a/tests/cisco_nxos/show_hostname/cisco_nxos_show_hostname.yml b/tests/cisco_nxos/show_hostname/cisco_nxos_show_hostname.yml new file mode 100644 index 0000000000..c577fcdc0a --- /dev/null +++ b/tests/cisco_nxos/show_hostname/cisco_nxos_show_hostname.yml @@ -0,0 +1,3 @@ +--- +parsed_sample: + - hostname: "n9k1" diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed deleted file mode 100644 index de345534df..0000000000 --- a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.parsed +++ /dev/null @@ -1,60 +0,0 @@ ---- -parsed_sample: - -- address: 5087.89a1.d8d5 - admin_state: down - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: ARPA - hardware_type: EtherSVI - input_errors: '' - input_packets: '' - interface: Vlan20 - ip_address: 10.1.20.3/24 - link_status: down (VLAN/BD is down) - mtu: '1500' - output_errors: '' - output_packets: '' - speed: '' - last_link_flapped: '' -- address: 5087.89a1.d8ce - admin_state: up - bandwidth: 100000 Kbit - bia: 5087.89a1.d8ce - delay: 10 usec - description: out of band mgmt interface - duplex: full-duplex - encapsulation: ARPA - hardware_type: GigabitEthernet - input_errors: '' - input_packets: '' - interface: mgmt0 - ip_address: 10.1.100.21/24 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - speed: 100 Mb/s - last_link_flapped: '' -- address: 5087.89a1.d8d6 - admin_state: up - bandwidth: 10000000 Kbit - bia: 5087.89a1.d8d6 - delay: 10 usec - description: '' - duplex: full-duplex - encapsulation: ARPA - hardware_type: 1000/10000 Ethernet - input_errors: '0' - input_packets: '68448' - interface: Ethernet1/1 - ip_address: '' - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '754962' - speed: 10 Gb/s - last_link_flapped: '2week(s) 1day(s)' diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.yml b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.yml new file mode 100644 index 0000000000..d0a632e4e3 --- /dev/null +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.yml @@ -0,0 +1,59 @@ +--- +parsed_sample: + - interface: "Vlan20" + link_status: "down (VLAN/BD is down)" + admin_state: "down" + hardware_type: "EtherSVI" + address: "5087.89a1.d8d5" + bia: "" + description: "" + ip_address: "10.1.20.3/24" + mtu: "1500" + duplex: "" + speed: "" + input_packets: "" + output_packets: "" + input_errors: "" + output_errors: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_link_flapped: "" + - interface: "mgmt0" + link_status: "up" + admin_state: "up" + hardware_type: "GigabitEthernet" + address: "5087.89a1.d8ce" + bia: "5087.89a1.d8ce" + description: "out of band mgmt interface" + ip_address: "10.1.100.21/24" + mtu: "1500" + duplex: "full-duplex" + speed: "100 Mb/s" + input_packets: "" + output_packets: "" + input_errors: "" + output_errors: "" + bandwidth: "100000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_link_flapped: "" + - interface: "Ethernet1/1" + link_status: "up" + admin_state: "up" + hardware_type: "1000/10000 Ethernet" + address: "5087.89a1.d8d6" + bia: "5087.89a1.d8d6" + description: "" + ip_address: "" + mtu: "1500" + duplex: "full-duplex" + speed: "10 Gb/s" + input_packets: "68448" + output_packets: "754962" + input_errors: "0" + output_errors: "0" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_link_flapped: "2week(s) 1day(s)" diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed deleted file mode 100644 index 7893401d14..0000000000 --- a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.parsed +++ /dev/null @@ -1,117 +0,0 @@ ---- -parsed_sample: - -- address: 00de.fb01.c9bc - admin_state: down - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: '' - hardware_type: EtherSVI - input_errors: '' - input_packets: '' - interface: Vlan1 - ip_address: '' - link_status: down (Administratively down) - mtu: '1500' - output_errors: '' - output_packets: '' - speed: '' - last_link_flapped: '' -- address: 00de.fb01.c921 - admin_state: up - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: '' - hardware_type: EtherSVI - input_errors: '' - input_packets: '' - interface: Vlan330 - ip_address: 192.168.1.3/24 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - speed: '' - last_link_flapped: '' -- address: 00de.fb01.c933 - admin_state: up - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: '' - hardware_type: EtherSVI - input_errors: '' - input_packets: '' - interface: Vlan336 - ip_address: 192.168.2.3/24 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - speed: '' - last_link_flapped: '' -- address: 00de.fb01.c9ab - admin_state: up - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: '' - hardware_type: EtherSVI - input_errors: '' - input_packets: '' - interface: Vlan339 - ip_address: 192.168.3.3/24 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - speed: '' - last_link_flapped: '' -- address: 00de.fb01.c9ef - admin_state: up - bandwidth: 1000000 Kbit - bia: '' - delay: 10 usec - description: '' - duplex: '' - encapsulation: '' - hardware_type: EtherSVI - input_errors: '' - input_packets: '' - interface: Vlan300 - ip_address: 192.168.24.1/24 - link_status: up - mtu: '1500' - output_errors: '' - output_packets: '' - speed: '' - last_link_flapped: '' -- address: 0000.d200.0000 - admin_state: '' - bandwidth: 23 Kbit - bia: 0000.d200.0000 - delay: 10 usec - description: '' - duplex: auto-duplex - encapsulation: ARPA - hardware_type: 10/100/1000 Ethernet - input_errors: '0' - input_packets: '887330' - interface: Ethernet106/1/1 - ip_address: '' - link_status: down (Link not connected) - mtu: '1500' - output_errors: '0' - output_packets: '6018158' - speed: auto-speed - last_link_flapped: '14week(s) 5day(s)' diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.yml b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.yml new file mode 100644 index 0000000000..9d42a406c3 --- /dev/null +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.yml @@ -0,0 +1,116 @@ +--- +parsed_sample: + - interface: "Vlan1" + link_status: "down (Administratively down)" + admin_state: "down" + hardware_type: "EtherSVI" + address: "00de.fb01.c9bc" + bia: "" + description: "" + ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + input_packets: "" + output_packets: "" + input_errors: "" + output_errors: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "" + last_link_flapped: "" + - interface: "Vlan330" + link_status: "up" + admin_state: "up" + hardware_type: "EtherSVI" + address: "00de.fb01.c921" + bia: "" + description: "" + ip_address: "192.168.1.3/24" + mtu: "1500" + duplex: "" + speed: "" + input_packets: "" + output_packets: "" + input_errors: "" + output_errors: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "" + last_link_flapped: "" + - interface: "Vlan336" + link_status: "up" + admin_state: "up" + hardware_type: "EtherSVI" + address: "00de.fb01.c933" + bia: "" + description: "" + ip_address: "192.168.2.3/24" + mtu: "1500" + duplex: "" + speed: "" + input_packets: "" + output_packets: "" + input_errors: "" + output_errors: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "" + last_link_flapped: "" + - interface: "Vlan339" + link_status: "up" + admin_state: "up" + hardware_type: "EtherSVI" + address: "00de.fb01.c9ab" + bia: "" + description: "" + ip_address: "192.168.3.3/24" + mtu: "1500" + duplex: "" + speed: "" + input_packets: "" + output_packets: "" + input_errors: "" + output_errors: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "" + last_link_flapped: "" + - interface: "Vlan300" + link_status: "up" + admin_state: "up" + hardware_type: "EtherSVI" + address: "00de.fb01.c9ef" + bia: "" + description: "" + ip_address: "192.168.24.1/24" + mtu: "1500" + duplex: "" + speed: "" + input_packets: "" + output_packets: "" + input_errors: "" + output_errors: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "" + last_link_flapped: "" + - interface: "Ethernet106/1/1" + link_status: "down (Link not connected)" + admin_state: "" + hardware_type: "10/100/1000 Ethernet" + address: "0000.d200.0000" + bia: "0000.d200.0000" + description: "" + ip_address: "" + mtu: "1500" + duplex: "auto-duplex" + speed: "auto-speed" + input_packets: "887330" + output_packets: "6018158" + input_errors: "0" + output_errors: "0" + bandwidth: "23 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_link_flapped: "14week(s) 5day(s)" diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.parsed b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.parsed deleted file mode 100644 index 6e559bd538..0000000000 --- a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.parsed +++ /dev/null @@ -1,60 +0,0 @@ ---- -parsed_sample: - -- address: 8c60.4f4e.93a8 - admin_state: '' - bandwidth: 10000000 Kbit - bia: 8c60.4f4e.93a8 - delay: 10 usec - description: Uplink Fex131 - duplex: full-duplex - encapsulation: ARPA - hardware_type: 1000/10000 Ethernet - input_errors: '0' - input_packets: '1904255804289' - interface: Ethernet1/1 - ip_address: '' - last_link_flapped: 974week(s) 3day(s) - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '1622670682523' - speed: 10 Gb/s -- address: 8c60.4f4e.93a9 - admin_state: '' - bandwidth: 10000000 Kbit - bia: 8c60.4f4e.93a9 - delay: 10 usec - description: Uplink Fex131 - duplex: full-duplex - encapsulation: ARPA - hardware_type: 1000/10000 Ethernet - input_errors: '0' - input_packets: '2550828809539' - interface: Ethernet1/2 - ip_address: '' - last_link_flapped: 974week(s) 3day(s) - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '1772852817915' - speed: 10 Gb/s -- address: 8c60.4f4e.93aa - admin_state: '' - bandwidth: 10000000 Kbit - bia: 8c60.4f4e.93aa - delay: 10 usec - description: Uplink Fex121 - duplex: full-duplex - encapsulation: ARPA - hardware_type: 1000/10000 Ethernet - input_errors: '0' - input_packets: '463908844435' - interface: Ethernet1/3 - ip_address: '' - last_link_flapped: 974week(s) 3day(s) - link_status: up - mtu: '1500' - output_errors: '0' - output_packets: '476279029463' - speed: 10 Gb/s diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.yml b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.yml new file mode 100644 index 0000000000..8f18e0c303 --- /dev/null +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.yml @@ -0,0 +1,59 @@ +--- +parsed_sample: + - interface: "Ethernet1/1" + link_status: "up" + admin_state: "" + hardware_type: "1000/10000 Ethernet" + address: "8c60.4f4e.93a8" + bia: "8c60.4f4e.93a8" + description: "Uplink Fex131" + ip_address: "" + mtu: "1500" + duplex: "full-duplex" + speed: "10 Gb/s" + input_packets: "1904255804289" + output_packets: "1622670682523" + input_errors: "0" + output_errors: "0" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_link_flapped: "974week(s) 3day(s)" + - interface: "Ethernet1/2" + link_status: "up" + admin_state: "" + hardware_type: "1000/10000 Ethernet" + address: "8c60.4f4e.93a9" + bia: "8c60.4f4e.93a9" + description: "Uplink Fex131" + ip_address: "" + mtu: "1500" + duplex: "full-duplex" + speed: "10 Gb/s" + input_packets: "2550828809539" + output_packets: "1772852817915" + input_errors: "0" + output_errors: "0" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_link_flapped: "974week(s) 3day(s)" + - interface: "Ethernet1/3" + link_status: "up" + admin_state: "" + hardware_type: "1000/10000 Ethernet" + address: "8c60.4f4e.93aa" + bia: "8c60.4f4e.93aa" + description: "Uplink Fex121" + ip_address: "" + mtu: "1500" + duplex: "full-duplex" + speed: "10 Gb/s" + input_packets: "463908844435" + output_packets: "476279029463" + input_errors: "0" + output_errors: "0" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_link_flapped: "974week(s) 3day(s)" diff --git a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.parsed b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.parsed deleted file mode 100644 index 9d86da7bf5..0000000000 --- a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.parsed +++ /dev/null @@ -1,662 +0,0 @@ ---- -parsed_sample: -- description: '' - interface: mgmt0 - ip: 10.1.100.220 - mode: '' - mtu: '1500' - portch: '' - reason: '' - speed: '100' - status: up - type: '' - vlan: '' - vrf: -- -- description: '' - interface: Eth1/1 - ip: '' - mode: access - mtu: '' - portch: -- - reason: none - speed: 10G(D) - status: up - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/2 - ip: '' - mode: access - mtu: '' - portch: -- - reason: none - speed: 10G(D) - status: up - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/3 - ip: '' - mode: access - mtu: '' - portch: -- - reason: none - speed: 10G(D) - status: up - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/4 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/5 - ip: '' - mode: routed - mtu: '' - portch: -- - reason: Administratively down - speed: auto(D) - status: down - type: eth - vlan: -- - vrf: '' -- description: '' - interface: Eth1/6 - ip: '' - mode: routed - mtu: '' - portch: -- - reason: Administratively down - speed: auto(D) - status: down - type: eth - vlan: -- - vrf: '' -- description: '' - interface: Eth1/7 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/8 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/9 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/10 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/11 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/12 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/13 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/14 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/15 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/16 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/17 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/18 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/19 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/20 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/21 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/22 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/23 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/24 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/25 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/26 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/27 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/28 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/29 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/30 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/31 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/32 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/33 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/34 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/35 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/36 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/37 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/38 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/39 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/40 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/41 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/42 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/43 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/44 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/45 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/46 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/47 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/48 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/49 - ip: '' - mode: access - mtu: '' - portch: -- - reason: none - speed: 40G(D) - status: up - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/50 - ip: '' - mode: access - mtu: '' - portch: -- - reason: Link not connected - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/51 - ip: '' - mode: access - mtu: '' - portch: -- - reason: XCVR not inserted - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/52 - ip: '' - mode: access - mtu: '' - portch: -- - reason: XCVR not inserted - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/53 - ip: '' - mode: fabric - mtu: '' - portch: -- - reason: XCVR not inserted - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' -- description: '' - interface: Eth1/54 - ip: '' - mode: pvlan - mtu: '' - portch: -- - reason: XCVR not inserted - speed: auto(D) - status: down - type: eth - vlan: '1' - vrf: '' diff --git a/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.yml b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.yml new file mode 100644 index 0000000000..cd3e2b0275 --- /dev/null +++ b/tests/cisco_nxos/show_interface_brief/cisco_nxos_show_interface_brief.yml @@ -0,0 +1,662 @@ +--- +parsed_sample: + - interface: "mgmt0" + vrf: "--" + status: "up" + ip: "10.1.100.220" + speed: "100" + mtu: "1500" + vlan: "" + type: "" + mode: "" + reason: "" + portch: "" + description: "" + - interface: "Eth1/1" + vrf: "" + status: "up" + ip: "" + speed: "10G(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + - interface: "Eth1/2" + vrf: "" + status: "up" + ip: "" + speed: "10G(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + - interface: "Eth1/3" + vrf: "" + status: "up" + ip: "" + speed: "10G(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + - interface: "Eth1/4" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/5" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "--" + type: "eth" + mode: "routed" + reason: "Administratively down" + portch: "--" + description: "" + - interface: "Eth1/6" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "--" + type: "eth" + mode: "routed" + reason: "Administratively down" + portch: "--" + description: "" + - interface: "Eth1/7" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/8" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/9" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/10" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/11" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/12" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/13" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/14" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/15" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/16" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/17" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/18" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/19" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/20" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/21" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/22" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/23" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/24" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/25" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/26" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/27" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/28" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/29" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/30" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/31" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/32" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/33" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/34" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/35" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/36" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/37" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/38" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/39" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/40" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/41" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/42" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/43" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/44" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/45" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/46" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/47" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/48" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/49" + vrf: "" + status: "up" + ip: "" + speed: "40G(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "none" + portch: "--" + description: "" + - interface: "Eth1/50" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "Link not connected" + portch: "--" + description: "" + - interface: "Eth1/51" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "XCVR not inserted" + portch: "--" + description: "" + - interface: "Eth1/52" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "access" + reason: "XCVR not inserted" + portch: "--" + description: "" + - interface: "Eth1/53" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "fabric" + reason: "XCVR not inserted" + portch: "--" + description: "" + - interface: "Eth1/54" + vrf: "" + status: "down" + ip: "" + speed: "auto(D)" + mtu: "" + vlan: "1" + type: "eth" + mode: "pvlan" + reason: "XCVR not inserted" + portch: "--" + description: "" diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.parsed b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.parsed deleted file mode 100644 index 5cc0beda9c..0000000000 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.parsed +++ /dev/null @@ -1,586 +0,0 @@ ---- -parsed_sample: - - - port: "mgmt0" - name: "--" - status: "connected" - vlan: "routed" - duplex: "full" - speed: "100" - type: "--" - - - port: "Eth1/1" - name: "managed by puppet" - status: "disabled" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "SFP-H10GB-CU2M" - - - port: "Eth1/2" - name: "--" - status: "disabled" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "SFP-H10GB-CU2M" - - - port: "Eth1/3" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/4" - name: "--" - status: "xcvrAbsen" - vlan: "trunk" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/5" - name: "--" - status: "xcvrAbsen" - vlan: "trunk" - duplex: "auto" - speed: "auto" - type: -- - - - port: "Eth1/6" - name: "--" - status: "xcvrAbsen" - vlan: "trunk" - duplex: "auto" - speed: "auto" - type: "--" - - - port: Eth1/7 - name: -- - status: xcvrAbsen - vlan: trunk - duplex: auto - speed: auto - type: -- - - - port: "Eth1/8" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/9" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/10" - name: "managed by puppet" - status: "xcvrAbsen" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/11" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/12" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/13" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/14" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/15" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/16" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/17" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/18" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/19" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/20" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/21" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/22" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/23" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/24" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/25" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/26" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/27" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/28" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/29" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/30" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/31" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/32" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/33" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/34" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/35" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/36" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/37" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/38" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/39" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/40" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/41" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/42" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/43" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/44" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/45" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/46" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/47" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth1/48" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth2/1" - name: "--" - status: "notconnec" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "QSFP-40G-SR-BD" - - - port: "Eth2/2" - name: "--" - status: "notconnec" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "QSFP-40G-SR-BD" - - - port: "Eth2/3" - name: "--" - status: "notconnec" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "QSFP-40G-SR-BD" - - - port: "Eth2/4" - name: "--" - status: "notconnec" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "QSFP-40G-SR-BD" - - - port: "Eth2/5" - name: "--" - status: "xcvrAbsen" - vlan: "trunk" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth2/6" - name: "--" - status: "xcvrAbsen" - vlan: "trunk" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth2/7" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth2/8" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth2/9" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth2/10" - name: "--" - status: "xcvrAbsen" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Eth2/11" - name: "--" - status: "disabled" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "QSFP-40G-SR-BD" - - - port: "Eth2/12" - name: "--" - status: "disabled" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "QSFP-40G-SR-BD" - - - port: "Po10" - name: "--" - status: "noOperMem" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Po11" - name: "--" - status: "noOperMem" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Po12" - name: "--" - status: "noOperMem" - vlan: "1" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Lo10" - name: "--" - status: "connected" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Vlan1" - name: "--" - status: "down" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Vlan5" - name: "--" - status: "down" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Vlan10" - name: "--" - status: "down" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Vlan20" - name: "--" - status: "down" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Vlan66" - name: "--" - status: "down" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Vlan77" - name: "--" - status: "down" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "Vlan146" - name: "my vlan 146" - status: "down" - vlan: "routed" - duplex: "auto" - speed: "auto" - type: "--" - - - port: "nve1" - name: "--" - status: "connected" - vlan: "--" - duplex: "auto" - speed: "auto" - type: "--" diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.yml b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.yml new file mode 100644 index 0000000000..d3bfccfec5 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status.yml @@ -0,0 +1,513 @@ +--- +parsed_sample: + - port: "mgmt0" + name: "--" + status: "connected" + vlan: "routed" + duplex: "full" + speed: "100" + type: "--" + - port: "Eth1/1" + name: "managed by puppet" + status: "disabled" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "SFP-H10GB-CU2M" + - port: "Eth1/2" + name: "--" + status: "disabled" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "SFP-H10GB-CU2M" + - port: "Eth1/3" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/4" + name: "--" + status: "xcvrAbsen" + vlan: "trunk" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/5" + name: "--" + status: "xcvrAbsen" + vlan: "trunk" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/6" + name: "--" + status: "xcvrAbsen" + vlan: "trunk" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/7" + name: "--" + status: "xcvrAbsen" + vlan: "trunk" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/8" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/9" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/10" + name: "managed by puppet" + status: "xcvrAbsen" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/11" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/12" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/13" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/14" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/15" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/16" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/17" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/18" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/19" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/20" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/21" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/22" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/23" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/24" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/25" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/26" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/27" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/28" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/29" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/30" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/31" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/32" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/33" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/34" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/35" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/36" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/37" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/38" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/39" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/40" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/41" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/42" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/43" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/44" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/45" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/46" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/47" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/48" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth2/1" + name: "--" + status: "notconnec" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "QSFP-40G-SR-BD" + - port: "Eth2/2" + name: "--" + status: "notconnec" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "QSFP-40G-SR-BD" + - port: "Eth2/3" + name: "--" + status: "notconnec" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "QSFP-40G-SR-BD" + - port: "Eth2/4" + name: "--" + status: "notconnec" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "QSFP-40G-SR-BD" + - port: "Eth2/5" + name: "--" + status: "xcvrAbsen" + vlan: "trunk" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth2/6" + name: "--" + status: "xcvrAbsen" + vlan: "trunk" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth2/7" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth2/8" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth2/9" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth2/10" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth2/11" + name: "--" + status: "disabled" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "QSFP-40G-SR-BD" + - port: "Eth2/12" + name: "--" + status: "disabled" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "QSFP-40G-SR-BD" + - port: "Po10" + name: "--" + status: "noOperMem" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Po11" + name: "--" + status: "noOperMem" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Po12" + name: "--" + status: "noOperMem" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Lo10" + name: "--" + status: "connected" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Vlan1" + name: "--" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Vlan5" + name: "--" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Vlan10" + name: "--" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Vlan20" + name: "--" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Vlan66" + name: "--" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Vlan77" + name: "--" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Vlan146" + name: "my vlan 146" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "nve1" + name: "--" + status: "connected" + vlan: "--" + duplex: "auto" + speed: "auto" + type: "--" diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed deleted file mode 100644 index 36f0f46ff1..0000000000 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.parsed +++ /dev/null @@ -1,66 +0,0 @@ ---- -parsed_sample: - -- duplex: full - name: -- - port: mgmt0 - speed: '1000' - status: connected - type: -- - vlan: routed -- duplex: full - name: interface1 - port: Eth1/1 - speed: 10G - status: connected - type: 10Gbase-SR-S - vlan: trunk -- duplex: full - name: interface2 - port: Eth1/2 - speed: 10G - status: connected - type: 10Gbase-SR-S - vlan: trunk -- duplex: full - name: interface3 - port: Eth1/3 - speed: 10G - status: connected - type: 10Gbase-SR - vlan: trunk -- duplex: full - name: interface4 - port: Eth1/4 - speed: 10G - status: connected - type: 10Gbase-SR - vlan: trunk -- duplex: full - name: interface5 - port: Eth1/5 - speed: 10G - status: connected - type: 10Gbase-SR-S - vlan: trunk -- duplex: full - name: interface6 - port: Eth1/6 - speed: 10G - status: connected - type: 10Gbase-SR-S - vlan: trunk -- duplex: full - name: interface7 - port: Eth1/7 - speed: 10G - status: connected - type: 10Gbase-SR-S - vlan: trunk -- duplex: full - name: interface8 - port: Eth1/8 - speed: 10G - status: connected - type: 10Gbase-SR-S - vlan: trunk diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.yml b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.yml new file mode 100644 index 0000000000..0543c84d82 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status1.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - port: "mgmt0" + name: "--" + status: "connected" + vlan: "routed" + duplex: "full" + speed: "1000" + type: "--" + - port: "Eth1/1" + name: "interface1" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + - port: "Eth1/2" + name: "interface2" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + - port: "Eth1/3" + name: "interface3" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" + - port: "Eth1/4" + name: "interface4" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" + - port: "Eth1/5" + name: "interface5" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + - port: "Eth1/6" + name: "interface6" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + - port: "Eth1/7" + name: "interface7" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" + - port: "Eth1/8" + name: "interface8" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR-S" diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed deleted file mode 100644 index 52c81a4d29..0000000000 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.parsed +++ /dev/null @@ -1,388 +0,0 @@ ---- -parsed_sample: - -- duplex: auto - name: -- - port: mgmt0 - speed: auto - status: notconnec - type: -- - vlan: routed -- duplex: full - name: -- - port: Eth1/1 - speed: '1000' - status: connected - type: 1000base-T - vlan: trunk -- duplex: auto - name: -- - port: Eth1/2 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/3 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/4 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/5 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/6 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/7 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/8 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/9 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/10 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/11 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/12 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/13 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/14 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/15 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/16 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/17 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/18 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/19 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/20 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/21 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/22 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/23 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/24 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/25 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/26 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/27 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/28 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/29 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/30 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/31 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/32 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/33 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/34 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/35 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/36 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/37 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/38 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/39 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/40 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/41 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/42 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/43 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/44 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/45 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/46 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/47 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/48 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/49 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/50 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/51 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: -- - port: Eth1/52 - speed: auto - status: xcvrAbsen - type: -- - vlan: '1' -- duplex: auto - name: VPC-peer-link !kob - port: Eth1/53 - speed: auto - status: xcvrAbsen - type: -- - vlan: trunk -- duplex: auto - name: VPC-peer-link !kob - port: Eth1/54 - speed: auto - status: xcvrAbsen - type: -- - vlan: trunk diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.yml b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.yml new file mode 100644 index 0000000000..bcdb17e9e7 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status2.yml @@ -0,0 +1,387 @@ +--- +parsed_sample: + - duplex: "auto" + name: "--" + port: "mgmt0" + speed: "auto" + status: "notconnec" + type: "--" + vlan: "routed" + - duplex: "full" + name: "--" + port: "Eth1/1" + speed: "1000" + status: "connected" + type: "1000base-T" + vlan: "trunk" + - duplex: "auto" + name: "--" + port: "Eth1/2" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/3" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/4" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/5" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/6" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/7" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/8" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/9" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/10" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/11" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/12" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/13" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/14" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/15" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/16" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/17" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/18" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/19" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/20" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/21" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/22" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/23" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/24" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/25" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/26" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/27" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/28" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/29" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/30" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/31" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/32" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/33" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/34" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/35" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/36" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/37" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/38" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/39" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/40" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/41" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/42" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/43" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/44" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/45" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/46" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/47" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/48" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/49" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/50" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/51" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "--" + port: "Eth1/52" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "1" + - duplex: "auto" + name: "VPC-peer-link !kob" + port: "Eth1/53" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "trunk" + - duplex: "auto" + name: "VPC-peer-link !kob" + port: "Eth1/54" + speed: "auto" + status: "xcvrAbsen" + type: "--" + vlan: "trunk" diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.parsed b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.parsed deleted file mode 100644 index fa55996cb5..0000000000 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.parsed +++ /dev/null @@ -1,94 +0,0 @@ ---- -parsed_sample: - -- duplex: full - name: upk peerLink_XXXX - port: Eth1/1 - speed: 10G - status: connected - type: 10Gbase-SR - vlan: trunk -- duplex: full - name: upk peerLink_XXXX - port: Eth1/2 - speed: 10G - status: connected - type: 10Gbase-SR - vlan: trunk -- duplex: full - name: upk peerLink_XXXX - port: Eth1/3 - speed: 10G - status: connected - type: 10Gbase-SR - vlan: trunk -- duplex: full - name: upk peerLink_XXXX - port: Eth1/4 - speed: 10G - status: connected - type: 10Gbase-SR - vlan: trunk -- duplex: full - name: upk peerLink_XXXX - port: Eth1/5 - speed: 10G - status: connected - type: 10Gbase-SR - vlan: trunk -- duplex: full - name: upk peerLink_XXXX - port: Eth1/6 - speed: 10G - status: connected - type: 10Gbase-SR - vlan: trunk -- duplex: full - name: upk peerLink_XXXX - port: Eth1/7 - speed: 10G - status: connected - type: 10Gbase-SR - vlan: trunk -- duplex: full - name: upk peerLink_XXXX - port: Eth1/8 - speed: 10G - status: connected - type: 10Gbase-SR - vlan: trunk -- duplex: full - name: -- - port: Eth1/9 - speed: 10G - status: channelDo - type: Fabric Exte - vlan: '1' -- duplex: full - name: -- - port: Eth1/10 - speed: 10G - status: channelDo - type: Fabric Exte - vlan: '1' -- duplex: full - name: -- - port: Eth1/11 - speed: 10G - status: channelDo - type: Fabric Exte - vlan: '1' -- duplex: full - name: -- - port: Eth1/12 - speed: 10G - status: channelDo - type: Fabric Exte - vlan: '1' -- duplex: full - name: upk N2232PP-651-10 - port: Eth1/13 - speed: 10G - status: connected - type: Fabric Exte - vlan: '1' diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml new file mode 100644 index 0000000000..8733852232 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml @@ -0,0 +1,93 @@ +--- +parsed_sample: + - duplex: "full" + name: "upk peerLink_XXXX" + port: "Eth1/1" + speed: "10G" + status: "connected" + type: "10Gbase-SR" + vlan: "trunk" + - duplex: "full" + name: "upk peerLink_XXXX" + port: "Eth1/2" + speed: "10G" + status: "connected" + type: "10Gbase-SR" + vlan: "trunk" + - duplex: "full" + name: "upk peerLink_XXXX" + port: "Eth1/3" + speed: "10G" + status: "connected" + type: "10Gbase-SR" + vlan: "trunk" + - duplex: "full" + name: "upk peerLink_XXXX" + port: "Eth1/4" + speed: "10G" + status: "connected" + type: "10Gbase-SR" + vlan: "trunk" + - duplex: "full" + name: "upk peerLink_XXXX" + port: "Eth1/5" + speed: "10G" + status: "connected" + type: "10Gbase-SR" + vlan: "trunk" + - duplex: "full" + name: "upk peerLink_XXXX" + port: "Eth1/6" + speed: "10G" + status: "connected" + type: "10Gbase-SR" + vlan: "trunk" + - duplex: "full" + name: "upk peerLink_XXXX" + port: "Eth1/7" + speed: "10G" + status: "connected" + type: "10Gbase-SR" + vlan: "trunk" + - duplex: "full" + name: "upk peerLink_XXXX" + port: "Eth1/8" + speed: "10G" + status: "connected" + type: "10Gbase-SR" + vlan: "trunk" + - duplex: "full" + name: "--" + port: "Eth1/9" + speed: "10G" + status: "channelDo" + type: "Fabric Exte" + vlan: "1" + - duplex: "full" + name: "--" + port: "Eth1/10" + speed: "10G" + status: "channelDo" + type: "Fabric Exte" + vlan: "1" + - duplex: "full" + name: "--" + port: "Eth1/11" + speed: "10G" + status: "channelDo" + type: "Fabric Exte" + vlan: "1" + - duplex: "full" + name: "--" + port: "Eth1/12" + speed: "10G" + status: "channelDo" + type: "Fabric Exte" + vlan: "1" + - duplex: "full" + name: "upk N2232PP-651-10" + port: "Eth1/13" + speed: "10G" + status: "connected" + type: "Fabric Exte" + vlan: "1" diff --git a/tests/cisco_nxos/show_interface_transceiver_details/cisco_nxos_show_interface_transceiver_details.parsed b/tests/cisco_nxos/show_interface_transceiver_details/cisco_nxos_show_interface_transceiver_details.parsed deleted file mode 100644 index 1b001eea17..0000000000 --- a/tests/cisco_nxos/show_interface_transceiver_details/cisco_nxos_show_interface_transceiver_details.parsed +++ /dev/null @@ -1,171 +0,0 @@ ---- -parsed_sample: - -- interface: 'Ethernet3/1' - lane: '' - temperature_value: '35.66' - temperature_alarm_high: '75.00' - temperature_alarm_low: '-5.00' - temperature_warn_high: '70.00' - temperature_warn_low: '0.00' - voltage_value: '3.29' - voltage_alarm_high: '3.63' - voltage_alarm_low: '2.97' - voltage_warn_high: '3.46' - voltage_warn_low: '3.13' - amps_value: 'N/A' - amps_alarm_high: '11.80' - amps_alarm_low: '4.00' - amps_warn_high: '10.80' - amps_warn_low: '5.00' - rx_value: '-30.45' - rx_alarm_high: '2.00' - rx_alarm_low: '-13.90' - rx_warn_high: '-1.00' - rx_warn_low: '-9.90' - tx_value: '-14.05' - tx_alarm_high: '1.69' - tx_alarm_low: '-11.30' - tx_warn_high: '-1.30' - tx_warn_low: '-7.30' - -- interface: 'Ethernet3/2' - lane: '' - temperature_value: '38.28' - temperature_alarm_high: '75.00' - temperature_alarm_low: '-5.00' - temperature_warn_high: '70.00' - temperature_warn_low: '0.00' - voltage_value: '3.29' - voltage_alarm_high: '3.63' - voltage_alarm_low: '2.97' - voltage_warn_high: '3.46' - voltage_warn_low: '3.13' - amps_value: '0.43' - amps_alarm_high: '11.80' - amps_alarm_low: '4.00' - amps_warn_high: '10.80' - amps_warn_low: '5.00' - rx_value: '-33.97' - rx_alarm_high: '2.00' - rx_alarm_low: '-13.90' - rx_warn_high: '-1.00' - rx_warn_low: '-9.90' - tx_value: '-16.19' - tx_alarm_high: '1.69' - tx_alarm_low: '-11.30' - tx_warn_high: '-1.30' - tx_warn_low: '-7.30' - -- interface: 'Ethernet3/3' - lane: '' - temperature_value: '37.07' - temperature_alarm_high: '75.00' - temperature_alarm_low: '-5.00' - temperature_warn_high: '70.00' - temperature_warn_low: '0.00' - voltage_value: '3.29' - voltage_alarm_high: '3.63' - voltage_alarm_low: '2.97' - voltage_warn_high: '3.46' - voltage_warn_low: '3.13' - amps_value: '0.21' - amps_alarm_high: '11.80' - amps_alarm_low: '4.00' - amps_warn_high: '10.80' - amps_warn_low: '5.00' - rx_value: '-33.97' - rx_alarm_high: '2.00' - rx_alarm_low: '-13.90' - rx_warn_high: '-1.00' - rx_warn_low: '-9.90' - tx_value: 'N/A' - tx_alarm_high: '1.69' - tx_alarm_low: '-11.30' - tx_warn_high: '-1.30' - tx_warn_low: '-7.30' - -- interface: 'Ethernet4/1' - lane: '1' - temperature_value: '40.44' - temperature_alarm_high: '74.00' - temperature_alarm_low: '-4.00' - temperature_warn_high: '70.00' - temperature_warn_low: '0.00' - voltage_value: '3.28' - voltage_alarm_high: '3.66' - voltage_alarm_low: '2.93' - voltage_warn_high: '3.46' - voltage_warn_low: '3.13' - amps_value: '' - amps_alarm_high: '' - amps_alarm_low: '' - amps_warn_high: '' - amps_warn_low: '' - rx_value: '' - rx_alarm_high: '' - rx_alarm_low: '' - rx_warn_high: '' - rx_warn_low: '' - tx_value: '' - tx_alarm_high: '' - tx_alarm_low: '' - tx_warn_high: '' - tx_warn_low: '' - -- interface: 'Ethernet4/1' - lane: '2' - temperature_value: '' - temperature_alarm_high: '' - temperature_alarm_low: '' - temperature_warn_high: '' - temperature_warn_low: '' - voltage_value: '' - voltage_alarm_high: '' - voltage_alarm_low: '' - voltage_warn_high: '' - voltage_warn_low: '' - amps_value: '' - amps_alarm_high: '' - amps_alarm_low: '' - amps_warn_high: '' - amps_warn_low: '' - rx_value: '-1.77' - rx_alarm_high: '7.49' - rx_alarm_low: '-14.60' - rx_warn_high: '4.49' - rx_warn_low: '-10.59' - tx_value: '0.76' - tx_alarm_high: '7.49' - tx_alarm_low: '-8.30' - tx_warn_high: '4.49' - tx_warn_low: '-4.30' - -- interface: 'Ethernet4/1' - lane: '3' - temperature_value: '' - temperature_alarm_high: '' - temperature_alarm_low: '' - temperature_warn_high: '' - temperature_warn_low: '' - voltage_value: '' - voltage_alarm_high: '' - voltage_alarm_low: '' - voltage_warn_high: '' - voltage_warn_low: '' - amps_value: '' - amps_alarm_high: '' - amps_alarm_low: '' - amps_warn_high: '' - amps_warn_low: '' - rx_value: '-1.57' - rx_alarm_high: '7.49' - rx_alarm_low: '-14.60' - rx_warn_high: '4.49' - rx_warn_low: '-10.59' - tx_value: '0.44' - tx_alarm_high: '7.49' - tx_alarm_low: '-8.30' - tx_warn_high: '4.49' - tx_warn_low: '-4.30' - diff --git a/tests/cisco_nxos/show_interface_transceiver_details/cisco_nxos_show_interface_transceiver_details.yml b/tests/cisco_nxos/show_interface_transceiver_details/cisco_nxos_show_interface_transceiver_details.yml new file mode 100644 index 0000000000..6ef488eb77 --- /dev/null +++ b/tests/cisco_nxos/show_interface_transceiver_details/cisco_nxos_show_interface_transceiver_details.yml @@ -0,0 +1,164 @@ +--- +parsed_sample: + - interface: "Ethernet3/1" + lane: "" + temperature_value: "35.66" + temperature_alarm_high: "75.00" + temperature_alarm_low: "-5.00" + temperature_warn_high: "70.00" + temperature_warn_low: "0.00" + voltage_value: "3.29" + voltage_alarm_high: "3.63" + voltage_alarm_low: "2.97" + voltage_warn_high: "3.46" + voltage_warn_low: "3.13" + amps_value: "N/A" + amps_alarm_high: "11.80" + amps_alarm_low: "4.00" + amps_warn_high: "10.80" + amps_warn_low: "5.00" + rx_value: "-30.45" + rx_alarm_high: "2.00" + rx_alarm_low: "-13.90" + rx_warn_high: "-1.00" + rx_warn_low: "-9.90" + tx_value: "-14.05" + tx_alarm_high: "1.69" + tx_alarm_low: "-11.30" + tx_warn_high: "-1.30" + tx_warn_low: "-7.30" + - interface: "Ethernet3/2" + lane: "" + temperature_value: "38.28" + temperature_alarm_high: "75.00" + temperature_alarm_low: "-5.00" + temperature_warn_high: "70.00" + temperature_warn_low: "0.00" + voltage_value: "3.29" + voltage_alarm_high: "3.63" + voltage_alarm_low: "2.97" + voltage_warn_high: "3.46" + voltage_warn_low: "3.13" + amps_value: "0.43" + amps_alarm_high: "11.80" + amps_alarm_low: "4.00" + amps_warn_high: "10.80" + amps_warn_low: "5.00" + rx_value: "-33.97" + rx_alarm_high: "2.00" + rx_alarm_low: "-13.90" + rx_warn_high: "-1.00" + rx_warn_low: "-9.90" + tx_value: "-16.19" + tx_alarm_high: "1.69" + tx_alarm_low: "-11.30" + tx_warn_high: "-1.30" + tx_warn_low: "-7.30" + - interface: "Ethernet3/3" + lane: "" + temperature_value: "37.07" + temperature_alarm_high: "75.00" + temperature_alarm_low: "-5.00" + temperature_warn_high: "70.00" + temperature_warn_low: "0.00" + voltage_value: "3.29" + voltage_alarm_high: "3.63" + voltage_alarm_low: "2.97" + voltage_warn_high: "3.46" + voltage_warn_low: "3.13" + amps_value: "0.21" + amps_alarm_high: "11.80" + amps_alarm_low: "4.00" + amps_warn_high: "10.80" + amps_warn_low: "5.00" + rx_value: "-33.97" + rx_alarm_high: "2.00" + rx_alarm_low: "-13.90" + rx_warn_high: "-1.00" + rx_warn_low: "-9.90" + tx_value: "N/A" + tx_alarm_high: "1.69" + tx_alarm_low: "-11.30" + tx_warn_high: "-1.30" + tx_warn_low: "-7.30" + - interface: "Ethernet4/1" + lane: "1" + temperature_value: "40.44" + temperature_alarm_high: "74.00" + temperature_alarm_low: "-4.00" + temperature_warn_high: "70.00" + temperature_warn_low: "0.00" + voltage_value: "3.28" + voltage_alarm_high: "3.66" + voltage_alarm_low: "2.93" + voltage_warn_high: "3.46" + voltage_warn_low: "3.13" + amps_value: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_value: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_warn_high: "" + rx_warn_low: "" + tx_value: "" + tx_alarm_high: "" + tx_alarm_low: "" + tx_warn_high: "" + tx_warn_low: "" + - interface: "Ethernet4/1" + lane: "2" + temperature_value: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_value: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_value: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_value: "-1.77" + rx_alarm_high: "7.49" + rx_alarm_low: "-14.60" + rx_warn_high: "4.49" + rx_warn_low: "-10.59" + tx_value: "0.76" + tx_alarm_high: "7.49" + tx_alarm_low: "-8.30" + tx_warn_high: "4.49" + tx_warn_low: "-4.30" + - interface: "Ethernet4/1" + lane: "3" + temperature_value: "" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_warn_high: "" + temperature_warn_low: "" + voltage_value: "" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_warn_high: "" + voltage_warn_low: "" + amps_value: "" + amps_alarm_high: "" + amps_alarm_low: "" + amps_warn_high: "" + amps_warn_low: "" + rx_value: "-1.57" + rx_alarm_high: "7.49" + rx_alarm_low: "-14.60" + rx_warn_high: "4.49" + rx_warn_low: "-10.59" + tx_value: "0.44" + tx_alarm_high: "7.49" + tx_alarm_low: "-8.30" + tx_warn_high: "4.49" + tx_warn_low: "-4.30" diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed deleted file mode 100644 index d83636d97b..0000000000 --- a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.parsed +++ /dev/null @@ -1,27 +0,0 @@ ---- -parsed_sample: - - - interface: Ethernet1/1 - switchport: Enabled - switchport_monitor: Not enabled - mode: access - access_vlan: '3' - native_vlan: '1' - trunking_vlans: '1-4094' - voice_vlan: none - - interface: Ethernet1/2 - switchport: Enabled - switchport_monitor: Not enabled - mode: trunk - access_vlan: '1' - native_vlan: '5' - trunking_vlans: '1-4094' - voice_vlan: none - - interface: Ethernet1/3 - switchport: Enabled - switchport_monitor: Not enabled - mode: trunk - access_vlan: '1' - native_vlan: '1' - trunking_vlans: '1-4094' - voice_vlan: none diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.yml b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.yml new file mode 100644 index 0000000000..739ee93e38 --- /dev/null +++ b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - interface: "Ethernet1/1" + switchport: "Enabled" + switchport_monitor: "Not enabled" + mode: "access" + access_vlan: "3" + native_vlan: "1" + trunking_vlans: "1-4094" + voice_vlan: "none" + - interface: "Ethernet1/2" + switchport: "Enabled" + switchport_monitor: "Not enabled" + mode: "trunk" + access_vlan: "1" + native_vlan: "5" + trunking_vlans: "1-4094" + voice_vlan: "none" + - interface: "Ethernet1/3" + switchport: "Enabled" + switchport_monitor: "Not enabled" + mode: "trunk" + access_vlan: "1" + native_vlan: "1" + trunking_vlans: "1-4094" + voice_vlan: "none" diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.parsed b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.parsed deleted file mode 100644 index d83636d97b..0000000000 --- a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.parsed +++ /dev/null @@ -1,27 +0,0 @@ ---- -parsed_sample: - - - interface: Ethernet1/1 - switchport: Enabled - switchport_monitor: Not enabled - mode: access - access_vlan: '3' - native_vlan: '1' - trunking_vlans: '1-4094' - voice_vlan: none - - interface: Ethernet1/2 - switchport: Enabled - switchport_monitor: Not enabled - mode: trunk - access_vlan: '1' - native_vlan: '5' - trunking_vlans: '1-4094' - voice_vlan: none - - interface: Ethernet1/3 - switchport: Enabled - switchport_monitor: Not enabled - mode: trunk - access_vlan: '1' - native_vlan: '1' - trunking_vlans: '1-4094' - voice_vlan: none diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.yml b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.yml new file mode 100644 index 0000000000..739ee93e38 --- /dev/null +++ b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - interface: "Ethernet1/1" + switchport: "Enabled" + switchport_monitor: "Not enabled" + mode: "access" + access_vlan: "3" + native_vlan: "1" + trunking_vlans: "1-4094" + voice_vlan: "none" + - interface: "Ethernet1/2" + switchport: "Enabled" + switchport_monitor: "Not enabled" + mode: "trunk" + access_vlan: "1" + native_vlan: "5" + trunking_vlans: "1-4094" + voice_vlan: "none" + - interface: "Ethernet1/3" + switchport: "Enabled" + switchport_monitor: "Not enabled" + mode: "trunk" + access_vlan: "1" + native_vlan: "1" + trunking_vlans: "1-4094" + voice_vlan: "none" diff --git a/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory.parsed b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory.parsed deleted file mode 100644 index 79b353ca47..0000000000 --- a/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory.parsed +++ /dev/null @@ -1,70 +0,0 @@ ---- -parsed_sample: - -- name: "Chassis" - descr: "Nexus9000 C9396PX Chassis" - pid: "N9K-C9396PX" - vid: "V02" - sn: "SAL1819S6LU" - -- name: "Slot 1" - descr: "1/10G SFP+ Ethernet Module" - pid: "N9K-C9396PX" - vid: "V02" - sn: "SAL1819S6LU" - -- name: "Slot 2" - descr: "40G Ethernet Expansion Module" - pid: "N9K-M12PQ" - vid: "V01" - sn: "SAL1815QCJE" - -- name: "Power Supply 1" - descr: "Nexus9000 C9396PX Chassis Power Supply" - pid: "N9K-PAC-650W" - vid: "V01" - sn: "DCB1809X07E" - -- name: "Power Supply 2" - descr: "Nexus9000 C9396PX Chassis Power Supply" - pid: "N9K-PAC-650W" - vid: "V01" - sn: "DCB1809X07H" - -- name: "Fan 1" - descr: "Nexus9000 C9396PX Chassis Fan Module" - pid: "N9K-C9300-FAN2" - vid: "V01" - sn: "N/A" - -- name: "Fan 2" - descr: "Nexus9000 C9396PX Chassis Fan Module" - pid: "N9K-C9300-FAN2" - vid: "V01" - sn: "N/A" - -- name: "Fan 3" - descr: "Nexus9000 C9396PX Chassis Fan Module" - pid: "N9K-C9300-FAN2" - vid: "V01" - sn: "N/A" - -- name: "Slot 33" - descr: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" - pid: "N7K-AC-6.0KW" - vid: "V01" - sn: "DTM141600XT" - -- name: "Slot 34" - descr: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" - pid: "N7K-AC-6.0KW" - vid: "V01" - sn: "DTM1414007T" - -- name: "Slot 35" - descr: "Nexus7000 C7009 (9 Slot) Chassis Fan Module" - pid: "N7K-C7009-FAN" - vid: "V00" - sn: "JAF1433DDEJ" - - diff --git a/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory.yml b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory.yml new file mode 100644 index 0000000000..b337b9c4a9 --- /dev/null +++ b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory.yml @@ -0,0 +1,57 @@ +--- +parsed_sample: + - name: "Chassis" + descr: "Nexus9000 C9396PX Chassis" + pid: "N9K-C9396PX" + vid: "V02" + sn: "SAL1819S6LU" + - name: "Slot 1" + descr: "1/10G SFP+ Ethernet Module" + pid: "N9K-C9396PX" + vid: "V02" + sn: "SAL1819S6LU" + - name: "Slot 2" + descr: "40G Ethernet Expansion Module" + pid: "N9K-M12PQ" + vid: "V01" + sn: "SAL1815QCJE" + - name: "Power Supply 1" + descr: "Nexus9000 C9396PX Chassis Power Supply" + pid: "N9K-PAC-650W" + vid: "V01" + sn: "DCB1809X07E" + - name: "Power Supply 2" + descr: "Nexus9000 C9396PX Chassis Power Supply" + pid: "N9K-PAC-650W" + vid: "V01" + sn: "DCB1809X07H" + - name: "Fan 1" + descr: "Nexus9000 C9396PX Chassis Fan Module" + pid: "N9K-C9300-FAN2" + vid: "V01" + sn: "N/A" + - name: "Fan 2" + descr: "Nexus9000 C9396PX Chassis Fan Module" + pid: "N9K-C9300-FAN2" + vid: "V01" + sn: "N/A" + - name: "Fan 3" + descr: "Nexus9000 C9396PX Chassis Fan Module" + pid: "N9K-C9300-FAN2" + vid: "V01" + sn: "N/A" + - name: "Slot 33" + descr: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" + pid: "N7K-AC-6.0KW" + vid: "V01" + sn: "DTM141600XT" + - name: "Slot 34" + descr: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" + pid: "N7K-AC-6.0KW" + vid: "V01" + sn: "DTM1414007T" + - name: "Slot 35" + descr: "Nexus7000 C7009 (9 Slot) Chassis Fan Module" + pid: "N7K-C7009-FAN" + vid: "V00" + sn: "JAF1433DDEJ" diff --git a/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed deleted file mode 100644 index 003007bf63..0000000000 --- a/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.parsed +++ /dev/null @@ -1,95 +0,0 @@ ---- -parsed_sample: - -- address: 1.1.1.2 - age: 00:00:57 - interface: Ethernet1/41 - mac: 3c60.f40e.f9c3 -- address: 1.0.11.2 - age: 00:01:02 - interface: Ethernet1/47 - mac: 3c60.f40e.f9c4 -- address: 10.3.1.101 - age: 00:06:06 - interface: mgmt0 - mac: d46d.5031.88b0 -- address: 10.3.1.102 - age: 00:18:18 - interface: mgmt0 - mac: e0ac.b16b.e940 -- address: 10.3.1.104 - age: 00:17:17 - interface: mgmt0 - mac: e5ac.b16c.aac8 -- address: 10.3.1.105 - age: 00:13:08 - interface: mgmt0 - mac: d46d.503c.beb0 -- address: 10.3.0.20 - age: 00:15:11 - interface: mgmt0 - mac: 487b.6bad.7b36 -- address: 10.3.0.250 - age: 00:14:56 - interface: mgmt0 - mac: 0000.0c9f.fa14 -- address: 10.3.0.251 - age: 00:07:08 - interface: mgmt0 - mac: 03c5.a4e8.c342 -- address: 10.3.0.252 - age: 00:14:14 - interface: mgmt0 - mac: 02c5.a4ea.56c2 -- address: 192.168.10.12 - age: 00:00:57 - interface: Vlan10 - mac: 8c60.0012.0012 -- address: 10.45.69.110 - age: 00:09:49 - interface: Ethernet1/1.2151 - mac: 70e4.225a.5e6a -- address: 10.45.69.106 - age: 00:00:05 - interface: Ethernet1/2.2151 - mac: d46d.501e.2a92 -- address: 10.225.19.113 - age: 00:00:57 - interface: Vlan2051 - mac: 8c60.f40e.f9c3 -- address: 10.254.254.113 - age: 00:00:57 - interface: Vlan2003 - mac: 8b60.f40e.f9c3 -- address: 10.225.19.110 - age: 00:09:51 - interface: Ethernet1/1.2051 - mac: 7ee4.225a.5e6a -- address: 10.225.19.106 - age: 00:00:05 - interface: Ethernet1/2.2051 - mac: a16d.501e.2a92 -- address: 10.254.254.106 - age: 00:00:05 - interface: Ethernet1/2.2003 - mac: a16d.501e.2a92 -- address: 10.254.254.110 - age: 00:09:50 - interface: Ethernet1/1.2003 - mac: 1ee4.125a.5e6a -- address: 10.15.154.110 - age: 00:09:50 - interface: Ethernet1/1.2103 - mac: 1ee4.125a.5e6a -- address: 10.15.154.106 - age: 00:00:06 - interface: Ethernet1/2.2103 - mac: d46d.301e.2a92 -- address: 10.215.51.250 - age: '-' - interface: Vlan2515 - mac: 0000.0c9f.f9d3 -- address: 10.5.6.10 - age: 00:00:16 - interface: Vlan1425 - mac: INCOMPLETE \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.yml b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.yml new file mode 100644 index 0000000000..8ec107d5bf --- /dev/null +++ b/tests/cisco_nxos/show_ip_arp/cisco_nxos_show_ip_arp.yml @@ -0,0 +1,94 @@ +--- +parsed_sample: + - address: "1.1.1.2" + age: "00:00:57" + interface: "Ethernet1/41" + mac: "3c60.f40e.f9c3" + - address: "1.0.11.2" + age: "00:01:02" + interface: "Ethernet1/47" + mac: "3c60.f40e.f9c4" + - address: "10.3.1.101" + age: "00:06:06" + interface: "mgmt0" + mac: "d46d.5031.88b0" + - address: "10.3.1.102" + age: "00:18:18" + interface: "mgmt0" + mac: "e0ac.b16b.e940" + - address: "10.3.1.104" + age: "00:17:17" + interface: "mgmt0" + mac: "e5ac.b16c.aac8" + - address: "10.3.1.105" + age: "00:13:08" + interface: "mgmt0" + mac: "d46d.503c.beb0" + - address: "10.3.0.20" + age: "00:15:11" + interface: "mgmt0" + mac: "487b.6bad.7b36" + - address: "10.3.0.250" + age: "00:14:56" + interface: "mgmt0" + mac: "0000.0c9f.fa14" + - address: "10.3.0.251" + age: "00:07:08" + interface: "mgmt0" + mac: "03c5.a4e8.c342" + - address: "10.3.0.252" + age: "00:14:14" + interface: "mgmt0" + mac: "02c5.a4ea.56c2" + - address: "192.168.10.12" + age: "00:00:57" + interface: "Vlan10" + mac: "8c60.0012.0012" + - address: "10.45.69.110" + age: "00:09:49" + interface: "Ethernet1/1.2151" + mac: "70e4.225a.5e6a" + - address: "10.45.69.106" + age: "00:00:05" + interface: "Ethernet1/2.2151" + mac: "d46d.501e.2a92" + - address: "10.225.19.113" + age: "00:00:57" + interface: "Vlan2051" + mac: "8c60.f40e.f9c3" + - address: "10.254.254.113" + age: "00:00:57" + interface: "Vlan2003" + mac: "8b60.f40e.f9c3" + - address: "10.225.19.110" + age: "00:09:51" + interface: "Ethernet1/1.2051" + mac: "7ee4.225a.5e6a" + - address: "10.225.19.106" + age: "00:00:05" + interface: "Ethernet1/2.2051" + mac: "a16d.501e.2a92" + - address: "10.254.254.106" + age: "00:00:05" + interface: "Ethernet1/2.2003" + mac: "a16d.501e.2a92" + - address: "10.254.254.110" + age: "00:09:50" + interface: "Ethernet1/1.2003" + mac: "1ee4.125a.5e6a" + - address: "10.15.154.110" + age: "00:09:50" + interface: "Ethernet1/1.2103" + mac: "1ee4.125a.5e6a" + - address: "10.15.154.106" + age: "00:00:06" + interface: "Ethernet1/2.2103" + mac: "d46d.301e.2a92" + - address: "10.215.51.250" + age: "-" + interface: "Vlan2515" + mac: "0000.0c9f.f9d3" + - address: "10.5.6.10" + age: "00:00:16" + interface: "Vlan1425" + mac: "INCOMPLETE" diff --git a/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail.parsed b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail.parsed deleted file mode 100644 index 2c3eb50a48..0000000000 --- a/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail.parsed +++ /dev/null @@ -1,20 +0,0 @@ ---- -parsed_sample: -- address: "192.168.56.2" - age: "00:17:02" - mac: "5087.89a1.d8d5" - interface: "Ethernet1/2" - physical_interface: "Ethernet1/2" - -- address: "90.10.10.2" - age: "00:02:55" - mac: "000d.ece7.df7c" - interface: "Vlan900" - physical_interface: "Ethernet1/12" - -- address: "90.10.10.4" - age: "-" - mac: "000d.ece7.df7d" - interface: "-" - physical_interface: "-" - diff --git a/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail.yml b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail.yml new file mode 100644 index 0000000000..dd1ab41ccc --- /dev/null +++ b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - address: "192.168.56.2" + age: "00:17:02" + mac: "5087.89a1.d8d5" + interface: "Ethernet1/2" + physical_interface: "Ethernet1/2" + - address: "90.10.10.2" + age: "00:02:55" + mac: "000d.ece7.df7c" + interface: "Vlan900" + physical_interface: "Ethernet1/12" + - address: "90.10.10.4" + age: "-" + mac: "000d.ece7.df7d" + interface: "-" + physical_interface: "-" diff --git a/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp.parsed b/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp.parsed deleted file mode 100644 index f5db5a25ff..0000000000 --- a/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp.parsed +++ /dev/null @@ -1,383 +0,0 @@ ---- -parsed_sample: - -- as_path: '' - local_pref: '100' - metric: '' - network: 10.10.0.1/32 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: l - status: '*' - weight: '32768' -- as_path: 64102 64002 - local_pref: '' - metric: '' - network: 10.10.0.2/32 - next_hop: 10.10.2.1 - origin: i - path_selection: ' ' - route_source: e - status: x - weight: '0' -- as_path: 64101 64002 - local_pref: '' - metric: '' - network: 10.10.0.2/32 - next_hop: 10.10.1.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: '64101' - local_pref: '' - metric: '' - network: 10.10.0.101/32 - next_hop: 10.10.1.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: '64102' - local_pref: '' - metric: '' - network: 10.10.0.102/32 - next_hop: 10.10.2.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: 64102 64201 - local_pref: '' - metric: '' - network: 10.10.0.201/32 - next_hop: 10.10.2.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: 64101 64201 - local_pref: '' - metric: '' - network: 10.10.0.201/32 - next_hop: 10.10.1.1 - origin: i - path_selection: ' ' - route_source: e - status: '*' - weight: '0' -- as_path: 64102 64202 - local_pref: '' - metric: '' - network: 10.10.0.202/32 - next_hop: 10.10.2.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: '' - local_pref: '100' - metric: '' - network: 10.10.1.0/30 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: l - status: '*' - weight: '32768' -- as_path: '64101' - local_pref: '' - metric: '' - network: 10.10.1.0/30 - next_hop: 10.10.1.1 - origin: i - path_selection: ' ' - route_source: e - status: '*' - weight: '0' -- as_path: 64102 64002 - local_pref: '' - metric: '' - network: 10.10.1.4/30 - next_hop: 10.10.2.1 - origin: i - path_selection: ' ' - route_source: e - status: x - weight: '0' -- as_path: '64101' - local_pref: '' - metric: '' - network: 10.10.1.4/30 - next_hop: 10.10.1.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: '' - local_pref: '100' - metric: '' - network: 10.10.2.0/30 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: l - status: '*' - weight: '32768' -- as_path: '64102' - local_pref: '' - metric: '' - network: 10.10.2.0/30 - next_hop: 10.10.2.1 - origin: i - path_selection: ' ' - route_source: e - status: '*' - weight: '0' -- as_path: '64102' - local_pref: '' - metric: '' - network: 10.10.2.4/30 - next_hop: 10.10.2.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: 64101 64002 - local_pref: '' - metric: '' - network: 10.10.2.4/30 - next_hop: 10.10.1.1 - origin: i - path_selection: ' ' - route_source: e - status: '*' - weight: '0' -- as_path: 64102 64201 - local_pref: '' - metric: '' - network: 10.10.101.0/30 - next_hop: 10.10.2.1 - origin: i - path_selection: ' ' - route_source: e - status: '*' - weight: '0' -- as_path: '64101' - local_pref: '' - metric: '' - network: 10.10.101.0/30 - next_hop: 10.10.1.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: '64102' - local_pref: '' - metric: '' - network: 10.10.101.4/30 - next_hop: 10.10.2.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: 64101 64201 - local_pref: '' - metric: '' - network: 10.10.101.4/30 - next_hop: 10.10.1.1 - origin: i - path_selection: ' ' - route_source: e - status: '*' - weight: '0' -- as_path: 64102 64202 - local_pref: '' - metric: '' - network: 10.10.102.0/30 - next_hop: 10.10.2.1 - origin: i - path_selection: ' ' - route_source: e - status: '*' - weight: '0' -- as_path: '64101' - local_pref: '' - metric: '' - network: 10.10.102.0/30 - next_hop: 10.10.1.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: '64102' - local_pref: '' - metric: '' - network: 10.10.102.4/30 - next_hop: 10.10.2.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: '' - local_pref: '100' - metric: '' - network: 10.10.150.0/24 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: l - status: '*' - weight: '32768' -- as_path: '' - local_pref: '100' - metric: '' - network: 10.10.151.0/24 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: l - status: '*' - weight: '32768' -- as_path: '' - local_pref: '100' - metric: '' - network: 10.10.152.0/24 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: l - status: '*' - weight: '32768' -- as_path: 64102 64002 - local_pref: '' - metric: '' - network: 10.10.160.0/24 - next_hop: 10.10.2.1 - origin: i - path_selection: ' ' - route_source: e - status: x - weight: '0' -- as_path: 64101 64002 - local_pref: '' - metric: '' - network: 10.10.160.0/24 - next_hop: 10.10.1.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: 64102 64002 - local_pref: '' - metric: '' - network: 10.10.161.0/24 - next_hop: 10.10.2.1 - origin: i - path_selection: ' ' - route_source: e - status: x - weight: '0' -- as_path: 64101 64002 - local_pref: '' - metric: '' - network: 10.10.161.0/24 - next_hop: 10.10.1.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: 64102 64002 - local_pref: '' - metric: '' - network: 10.10.162.0/24 - next_hop: 10.10.2.1 - origin: i - path_selection: ' ' - route_source: e - status: x - weight: '0' -- as_path: 64101 64002 - local_pref: '' - metric: '' - network: 10.10.162.0/24 - next_hop: 10.10.1.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: 64102 64201 - local_pref: '' - metric: '' - network: 10.10.201.0/30 - next_hop: 10.10.2.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: 64101 64201 - local_pref: '' - metric: '' - network: 10.10.201.0/30 - next_hop: 10.10.1.1 - origin: i - path_selection: ' ' - route_source: e - status: '*' - weight: '0' -- as_path: 64102 64202 - local_pref: '' - metric: '' - network: 10.10.202.0/30 - next_hop: 10.10.2.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' -- as_path: '' - local_pref: '100' - metric: '' - network: 100.100.100.100/30 - next_hop: 0.0.0.0 - origin: i - path_selection: '>' - route_source: l - status: '*' - weight: '32768' -- as_path: 64102 64002 - local_pref: '' - metric: '' - network: 100.100.100.104/30 - next_hop: 10.10.2.1 - origin: i - path_selection: ' ' - route_source: e - status: x - weight: '0' -- as_path: 64101 64002 - local_pref: '' - metric: '' - network: 100.100.100.104/30 - next_hop: 10.10.1.1 - origin: i - path_selection: '>' - route_source: e - status: '*' - weight: '0' diff --git a/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp.yml b/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp.yml new file mode 100644 index 0000000000..36be22e619 --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp/cisco_nxos_show_ip_bgp.yml @@ -0,0 +1,382 @@ +--- +parsed_sample: + - as_path: "" + local_pref: "100" + metric: "" + network: "10.10.0.1/32" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: "l" + status: "*" + weight: "32768" + - as_path: "64102 64002" + local_pref: "" + metric: "" + network: "10.10.0.2/32" + next_hop: "10.10.2.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "x" + weight: "0" + - as_path: "64101 64002" + local_pref: "" + metric: "" + network: "10.10.0.2/32" + next_hop: "10.10.1.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64101" + local_pref: "" + metric: "" + network: "10.10.0.101/32" + next_hop: "10.10.1.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102" + local_pref: "" + metric: "" + network: "10.10.0.102/32" + next_hop: "10.10.2.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102 64201" + local_pref: "" + metric: "" + network: "10.10.0.201/32" + next_hop: "10.10.2.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64101 64201" + local_pref: "" + metric: "" + network: "10.10.0.201/32" + next_hop: "10.10.1.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102 64202" + local_pref: "" + metric: "" + network: "10.10.0.202/32" + next_hop: "10.10.2.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "" + local_pref: "100" + metric: "" + network: "10.10.1.0/30" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: "l" + status: "*" + weight: "32768" + - as_path: "64101" + local_pref: "" + metric: "" + network: "10.10.1.0/30" + next_hop: "10.10.1.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102 64002" + local_pref: "" + metric: "" + network: "10.10.1.4/30" + next_hop: "10.10.2.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "x" + weight: "0" + - as_path: "64101" + local_pref: "" + metric: "" + network: "10.10.1.4/30" + next_hop: "10.10.1.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "" + local_pref: "100" + metric: "" + network: "10.10.2.0/30" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: "l" + status: "*" + weight: "32768" + - as_path: "64102" + local_pref: "" + metric: "" + network: "10.10.2.0/30" + next_hop: "10.10.2.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102" + local_pref: "" + metric: "" + network: "10.10.2.4/30" + next_hop: "10.10.2.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64101 64002" + local_pref: "" + metric: "" + network: "10.10.2.4/30" + next_hop: "10.10.1.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102 64201" + local_pref: "" + metric: "" + network: "10.10.101.0/30" + next_hop: "10.10.2.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "*" + weight: "0" + - as_path: "64101" + local_pref: "" + metric: "" + network: "10.10.101.0/30" + next_hop: "10.10.1.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102" + local_pref: "" + metric: "" + network: "10.10.101.4/30" + next_hop: "10.10.2.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64101 64201" + local_pref: "" + metric: "" + network: "10.10.101.4/30" + next_hop: "10.10.1.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102 64202" + local_pref: "" + metric: "" + network: "10.10.102.0/30" + next_hop: "10.10.2.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "*" + weight: "0" + - as_path: "64101" + local_pref: "" + metric: "" + network: "10.10.102.0/30" + next_hop: "10.10.1.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102" + local_pref: "" + metric: "" + network: "10.10.102.4/30" + next_hop: "10.10.2.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "" + local_pref: "100" + metric: "" + network: "10.10.150.0/24" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: "l" + status: "*" + weight: "32768" + - as_path: "" + local_pref: "100" + metric: "" + network: "10.10.151.0/24" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: "l" + status: "*" + weight: "32768" + - as_path: "" + local_pref: "100" + metric: "" + network: "10.10.152.0/24" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: "l" + status: "*" + weight: "32768" + - as_path: "64102 64002" + local_pref: "" + metric: "" + network: "10.10.160.0/24" + next_hop: "10.10.2.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "x" + weight: "0" + - as_path: "64101 64002" + local_pref: "" + metric: "" + network: "10.10.160.0/24" + next_hop: "10.10.1.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102 64002" + local_pref: "" + metric: "" + network: "10.10.161.0/24" + next_hop: "10.10.2.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "x" + weight: "0" + - as_path: "64101 64002" + local_pref: "" + metric: "" + network: "10.10.161.0/24" + next_hop: "10.10.1.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102 64002" + local_pref: "" + metric: "" + network: "10.10.162.0/24" + next_hop: "10.10.2.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "x" + weight: "0" + - as_path: "64101 64002" + local_pref: "" + metric: "" + network: "10.10.162.0/24" + next_hop: "10.10.1.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102 64201" + local_pref: "" + metric: "" + network: "10.10.201.0/30" + next_hop: "10.10.2.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "64101 64201" + local_pref: "" + metric: "" + network: "10.10.201.0/30" + next_hop: "10.10.1.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "*" + weight: "0" + - as_path: "64102 64202" + local_pref: "" + metric: "" + network: "10.10.202.0/30" + next_hop: "10.10.2.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" + - as_path: "" + local_pref: "100" + metric: "" + network: "100.100.100.100/30" + next_hop: "0.0.0.0" + origin: "i" + path_selection: ">" + route_source: "l" + status: "*" + weight: "32768" + - as_path: "64102 64002" + local_pref: "" + metric: "" + network: "100.100.100.104/30" + next_hop: "10.10.2.1" + origin: "i" + path_selection: " " + route_source: "e" + status: "x" + weight: "0" + - as_path: "64101 64002" + local_pref: "" + metric: "" + network: "100.100.100.104/30" + next_hop: "10.10.1.1" + origin: "i" + path_selection: ">" + route_source: "e" + status: "*" + weight: "0" diff --git a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed deleted file mode 100644 index 5ce26e0aa8..0000000000 --- a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.parsed +++ /dev/null @@ -1,2967 +0,0 @@ ---- -parsed_sample: - -- accepted_paths: '8458' - addr_fam_adv: IPv4 Unicast L2VPN EVPN - addr_fam_rcv: '' - addr_family: [IPv4 Unicast, L2VPN EVPN] - asn: '64826' - bgp_state: Established - capability_count_rcvd: '6' - capability_count_sent: '6' - conn_dropped: '2' - conn_estab: '3' - consumed_mem: '1048792' - description: from boo to donkey - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '162725' - keepalives_count_sent: '192374' - last_peer_reset: 1w1d - last_peer_reset_reason: administratively shutdown - last_reset: 1d10h - last_reset_reason: holdtimer expired error - localhost_ip: 34.83.217.230 - localhost_port: '31643' - nei_table_version: ['10317', '1123760'] - neighbor: 136.170.1.201 - notifications_count_rcvd: '1' - notifications_count_sent: '1' - opens_count_rcvd: '743363' - opens_count_sent: '24' - outbound_routemap: '' - remote_ip: 226.176.223.89 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '13' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '608' - source_iface: loopback0 - stale_time: '300' - table_version: ['10317', '1123760'] - total_bytes_count_rcvd: '85316584' - total_bytes_count_sent: '4570033' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '906098' - total_mess_count_sent: '200932' - updates_count_rcvd: '' - updates_count_sent: '8514' - uptime: 1d01h -- accepted_paths: '8458' - addr_fam_adv: IPv4 Unicast L2VPN EVPN - addr_fam_rcv: '' - addr_family: [IPv4 Unicast, L2VPN EVPN] - asn: '64826' - bgp_state: Established - capability_count_rcvd: '4' - capability_count_sent: '4' - conn_dropped: '1' - conn_estab: '2' - consumed_mem: '1048792' - description: from foo to baz - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '163033' - keepalives_count_sent: '192920' - last_peer_reset: 1w0d - last_peer_reset_reason: administratively shutdown - last_reset: 1w0d - last_reset_reason: session closed - localhost_ip: 29.91.80.176 - localhost_port: '179' - nei_table_version: ['10317', '1123760'] - neighbor: 174.8.181.98 - notifications_count_rcvd: '1' - notifications_count_sent: '0' - opens_count_rcvd: '697776' - opens_count_sent: '10' - outbound_routemap: '' - remote_ip: 127.145.91.46 - remote_port: '52469' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '13' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '608' - source_iface: loopback0 - stale_time: '300' - table_version: ['10317', '1123760'] - total_bytes_count_rcvd: '80515353' - total_bytes_count_sent: '4562658' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '860816' - total_mess_count_sent: '201506' - updates_count_rcvd: '' - updates_count_sent: '8559' - uptime: 1w0d -- accepted_paths: '8458' - addr_fam_adv: IPv4 Unicast L2VPN EVPN - addr_fam_rcv: '' - addr_family: [IPv4 Unicast, L2VPN EVPN] - asn: '64826' - bgp_state: Established - capability_count_rcvd: '4' - capability_count_sent: '4' - conn_dropped: '1' - conn_estab: '2' - consumed_mem: '1048792' - description: from bar to frog - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '162984' - keepalives_count_sent: '192899' - last_peer_reset: 3d23h - last_peer_reset_reason: administratively shutdown - last_reset: 3d21h - last_reset_reason: session closed - localhost_ip: 190.125.83.222 - localhost_port: '179' - nei_table_version: ['10317', '1123760'] - neighbor: 171.143.203.215 - notifications_count_rcvd: '1' - notifications_count_sent: '0' - opens_count_rcvd: '744278' - opens_count_sent: '20' - outbound_routemap: '' - remote_ip: 231.231.113.66 - remote_port: '22132' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '13' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '608' - source_iface: loopback0 - stale_time: '300' - table_version: ['10317', '1123760'] - total_bytes_count_rcvd: '84937258' - total_bytes_count_sent: '4562535' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '907269' - total_mess_count_sent: '201494' - updates_count_rcvd: '' - updates_count_sent: '8558' - uptime: 3d21h -- accepted_paths: '8458' - addr_fam_adv: IPv4 Unicast L2VPN EVPN - addr_fam_rcv: '' - addr_family: [IPv4 Unicast, L2VPN EVPN] - asn: '64826' - bgp_state: Established - capability_count_rcvd: '4' - capability_count_sent: '4' - conn_dropped: '1' - conn_estab: '2' - consumed_mem: '1048792' - description: from baz to monkey - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '162938' - keepalives_count_sent: '192845' - last_peer_reset: 3d18h - last_peer_reset_reason: administratively shutdown - last_reset: 3d15h - last_reset_reason: session closed - localhost_ip: 61.84.112.233 - localhost_port: '179' - nei_table_version: ['10317', '1123760'] - neighbor: 94.210.82.240 - notifications_count_rcvd: '1' - notifications_count_sent: '0' - opens_count_rcvd: '744351' - opens_count_sent: '13' - outbound_routemap: '' - remote_ip: 221.224.143.168 - remote_port: '21548' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '13' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '608' - source_iface: loopback0 - stale_time: '300' - table_version: ['10317', '1123760'] - total_bytes_count_rcvd: '84952999' - total_bytes_count_sent: '4562211' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '907296' - total_mess_count_sent: '201441' - updates_count_rcvd: '' - updates_count_sent: '8566' - uptime: 3d15h -- accepted_paths: '0' - addr_fam_adv: IPv4 Unicast L2VPN EVPN - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64938' - bgp_state: Established - capability_count_rcvd: '3' - capability_count_sent: '3' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '0' - description: from foo to foo - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '5279' - keepalives_count_sent: '5279' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 144.125.246.17 - localhost_port: '36220' - nei_table_version: ['4'] - neighbor: 143.128.128.163 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '1' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 72.193.89.91 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '0' - source_iface: loopback0 - stale_time: '300' - table_version: ['4'] - total_bytes_count_rcvd: '100400' - total_bytes_count_sent: '100396' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '5284' - total_mess_count_sent: '5284' - updates_count_rcvd: '' - updates_count_sent: '1' - uptime: 3d15h -- accepted_paths: '0' - addr_fam_adv: IPv4 Unicast L2VPN EVPN - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64938' - bgp_state: Established - capability_count_rcvd: '3' - capability_count_sent: '3' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '0' - description: from donkey to boo - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '5279' - keepalives_count_sent: '5279' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 210.219.168.143 - localhost_port: '48355' - nei_table_version: ['4'] - neighbor: 12.26.221.3 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '1' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 220.134.183.122 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '0' - source_iface: loopback0 - stale_time: '300' - table_version: ['4'] - total_bytes_count_rcvd: '100400' - total_bytes_count_sent: '100396' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '5284' - total_mess_count_sent: '5284' - updates_count_rcvd: '' - updates_count_sent: '1' - uptime: 3d15h -- accepted_paths: '0' - addr_fam_adv: '' - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64938' - bgp_state: Idle - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '0' - consumed_mem: '0' - description: from donkey to boo - ext_nh_cap: '' - fourbyte_cap: '' - graceful_cap: '' - inbound_routemap: '' - keepalives_count_rcvd: '0' - keepalives_count_sent: '0' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: '' - localhost_port: '' - nei_table_version: ['0'] - neighbor: 202.77.85.157 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '0' - opens_count_sent: '0' - outbound_routemap: '' - remote_ip: '' - remote_port: '' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: '' - rr_old_cap: '' - sent_paths: '0' - source_iface: loopback0 - stale_time: '' - table_version: ['4'] - total_bytes_count_rcvd: '0' - total_bytes_count_sent: '0' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '0' - total_mess_count_sent: '0' - updates_count_rcvd: '' - updates_count_sent: '0' - uptime: 3d16h -- accepted_paths: '0' - addr_fam_adv: '' - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64938' - bgp_state: Idle - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '0' - consumed_mem: '0' - description: from bar to monkey - ext_nh_cap: '' - fourbyte_cap: '' - graceful_cap: '' - inbound_routemap: '' - keepalives_count_rcvd: '0' - keepalives_count_sent: '0' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: '' - localhost_port: '' - nei_table_version: ['0'] - neighbor: 47.48.246.179 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '0' - opens_count_sent: '0' - outbound_routemap: '' - remote_ip: '' - remote_port: '' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: '' - rr_old_cap: '' - sent_paths: '0' - source_iface: loopback0 - stale_time: '' - table_version: ['4'] - total_bytes_count_rcvd: '0' - total_bytes_count_sent: '0' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '0' - total_mess_count_sent: '0' - updates_count_rcvd: '' - updates_count_sent: '0' - uptime: 3d16h -- accepted_paths: '51195' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65003' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '3071700' - description: from bing to bing - ext_nh_cap: advertised - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '348479' - keepalives_count_sent: '474926' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 148.188.153.56 - localhost_port: '24169' - nei_table_version: ['8483941'] - neighbor: 217.90.29.79 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '857498' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 22.15.33.118 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '10303' - source_iface: Ethernet5/24 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '99012794' - total_bytes_count_sent: '116954780' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1205978' - total_mess_count_sent: '1413795' - updates_count_rcvd: '' - updates_count_sent: '938868' - uptime: 13w2d -- accepted_paths: '51195' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65003' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '3071700' - description: from monkey to monkey - ext_nh_cap: advertised - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '347974' - keepalives_count_sent: '474925' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 77.16.23.163 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 167.161.119.185 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '875258' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 228.67.65.167 - remote_port: '28699' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '10303' - source_iface: Ethernet6/24 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '101143596' - total_bytes_count_sent: '116855577' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1223233' - total_mess_count_sent: '1412915' - updates_count_rcvd: '' - updates_count_sent: '937989' - uptime: 13w2d -- accepted_paths: '117' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64991' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '7020' - description: from boo to frog - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540297' - keepalives_count_sent: '462065' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 30.251.237.123 - localhost_port: '29517' - nei_table_version: ['8483941'] - neighbor: 129.33.213.49 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '633313' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 88.181.26.218 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53329' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '71640462' - total_bytes_count_sent: '159499836' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1173611' - total_mess_count_sent: '1996295' - updates_count_rcvd: '' - updates_count_sent: '1534229' - uptime: 13w2d -- accepted_paths: '2' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64563' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '120' - description: from baz to boo - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540290' - keepalives_count_sent: '462062' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 27.27.246.137 - localhost_port: '29341' - nei_table_version: ['8483941'] - neighbor: 134.81.203.129 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '529532' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 121.155.249.169 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53444' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '58482473' - total_bytes_count_sent: '159507685' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1069823' - total_mess_count_sent: '1996406' - updates_count_rcvd: '' - updates_count_sent: '1534343' - uptime: 13w2d -- accepted_paths: '2' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64564' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '120' - description: from monkey to foo - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540294' - keepalives_count_sent: '462062' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 142.198.83.176 - localhost_port: '29565' - nei_table_version: ['8483941'] - neighbor: 87.209.8.85 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '536991' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 72.243.246.239 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53444' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '59253810' - total_bytes_count_sent: '159433865' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1077286' - total_mess_count_sent: '1995741' - updates_count_rcvd: '' - updates_count_sent: '1533678' - uptime: 13w2d -- accepted_paths: '12' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64520' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '720' - description: from frog to bing - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540295' - keepalives_count_sent: '462072' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 83.39.58.145 - localhost_port: '29751' - nei_table_version: ['8483941'] - neighbor: 232.122.144.131 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '653827' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 249.71.59.33 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53434' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '70997495' - total_bytes_count_sent: '159436316' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1194123' - total_mess_count_sent: '1995749' - updates_count_rcvd: '' - updates_count_sent: '1533676' - uptime: 13w2d -- accepted_paths: '9' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64521' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '540' - description: from baz to bar - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540291' - keepalives_count_sent: '462066' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 159.85.223.154 - localhost_port: '30455' - nei_table_version: ['8483941'] - neighbor: 255.6.79.240 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '635238' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 88.87.6.2 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53437' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '71901157' - total_bytes_count_sent: '159402410' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1175530' - total_mess_count_sent: '1995481' - updates_count_rcvd: '' - updates_count_sent: '1533414' - uptime: 13w2d -- accepted_paths: '12' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64522' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '720' - description: from bing to donkey - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540291' - keepalives_count_sent: '462066' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 115.48.39.12 - localhost_port: '29928' - nei_table_version: ['8483941'] - neighbor: 135.138.128.239 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '635285' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 187.84.208.112 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53434' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '71887964' - total_bytes_count_sent: '159405036' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1175577' - total_mess_count_sent: '1995513' - updates_count_rcvd: '' - updates_count_sent: '1533446' - uptime: 13w2d -- accepted_paths: '10' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64523' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '600' - description: from boo to monkey - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '429734' - keepalives_count_sent: '462068' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 121.14.31.73 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 166.177.87.84 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '657289' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 22.41.156.160 - remote_port: '59645' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53436' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '71926991' - total_bytes_count_sent: '159546312' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1087024' - total_mess_count_sent: '1996708' - updates_count_rcvd: '' - updates_count_sent: '1534639' - uptime: 13w2d -- accepted_paths: '3' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64525' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '180' - description: from frog to foo - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540290' - keepalives_count_sent: '462065' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 46.95.207.194 - localhost_port: '30808' - nei_table_version: ['8483941'] - neighbor: 24.218.246.161 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '676579' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 249.173.131.89 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53443' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '76128478' - total_bytes_count_sent: '159325085' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1216870' - total_mess_count_sent: '1994773' - updates_count_rcvd: '' - updates_count_sent: '1532707' - uptime: 13w2d -- accepted_paths: '1' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64524' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '60' - description: from bing to monkey - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540291' - keepalives_count_sent: '462067' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 19.33.193.41 - localhost_port: '30630' - nei_table_version: ['8483941'] - neighbor: 88.158.245.249 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '673811' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 113.114.126.174 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53445' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '75757206' - total_bytes_count_sent: '159330896' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1214103' - total_mess_count_sent: '1994815' - updates_count_rcvd: '' - updates_count_sent: '1532747' - uptime: 13w2d -- accepted_paths: '247' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65150' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '14820' - description: from monkey to foo - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540295' - keepalives_count_sent: '462097' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 79.138.5.173 - localhost_port: '30104' - nei_table_version: ['8483941'] - neighbor: 209.58.188.204 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '645646' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 241.90.87.199 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53199' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '72795532' - total_bytes_count_sent: '159307244' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1185942' - total_mess_count_sent: '1994538' - updates_count_rcvd: '' - updates_count_sent: '1532440' - uptime: 13w2d -- accepted_paths: '61' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65510' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '3660' - description: from monkey to baz - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540295' - keepalives_count_sent: '462080' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 191.131.46.70 - localhost_port: '30959' - nei_table_version: ['8483941'] - neighbor: 168.96.139.211 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '651138' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 224.44.237.104 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53385' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '73439672' - total_bytes_count_sent: '159216507' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1191434' - total_mess_count_sent: '1993836' - updates_count_rcvd: '' - updates_count_sent: '1531755' - uptime: 13w2d -- accepted_paths: '324' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65152' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '19440' - description: from bing to bing - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '538997' - keepalives_count_sent: '462954' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 233.29.157.75 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 131.243.190.190 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '4645' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 116.246.167.246 - remote_port: '27360' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53122' - source_iface: '' - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '10483590' - total_bytes_count_sent: '204149228' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '543643' - total_mess_count_sent: '1992372' - updates_count_rcvd: '' - updates_count_sent: '1529417' - uptime: 13w2d -- accepted_paths: '258' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65533' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '15480' - description: from donkey to baz - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540296' - keepalives_count_sent: '462068' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 159.247.127.30 - localhost_port: '28632' - nei_table_version: ['8483941'] - neighbor: 103.90.75.222 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '634933' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 27.240.178.84 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53236' - source_iface: Ethernet5/2 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '68391959' - total_bytes_count_sent: '159527265' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1175230' - total_mess_count_sent: '1996448' - updates_count_rcvd: '' - updates_count_sent: '1534379' - uptime: 13w2d -- accepted_paths: '265' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65532' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '15900' - description: from monkey to baz - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540293' - keepalives_count_sent: '462070' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 167.143.174.37 - localhost_port: '29025' - nei_table_version: ['8483941'] - neighbor: 122.169.105.222 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '650489' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 133.127.112.13 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53375' - source_iface: Ethernet5/6 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '69981415' - total_bytes_count_sent: '159321595' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1190783' - total_mess_count_sent: '1994786' - updates_count_rcvd: '' - updates_count_sent: '1532715' - uptime: 13w2d -- accepted_paths: '33' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64526' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '1980' - description: from donkey to foo - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540291' - keepalives_count_sent: '462066' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 117.70.157.199 - localhost_port: '30297' - nei_table_version: ['8483941'] - neighbor: 248.253.184.199 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '664426' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 234.33.202.152 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53413' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '74725071' - total_bytes_count_sent: '159313024' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1204718' - total_mess_count_sent: '1994668' - updates_count_rcvd: '' - updates_count_sent: '1532601' - uptime: 13w2d -- accepted_paths: '7' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64517' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '420' - description: from boo to bing - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '404105' - keepalives_count_sent: '462066' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 158.80.154.105 - localhost_port: '30528' - nei_table_version: ['8483941'] - neighbor: 113.9.147.198 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '654504' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 124.68.182.124 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53439' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '71166342' - total_bytes_count_sent: '159354403' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1058610' - total_mess_count_sent: '1995134' - updates_count_rcvd: '' - updates_count_sent: '1533067' - uptime: 13w2d -- accepted_paths: '0' - addr_fam_adv: '' - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64568' - bgp_state: Shut (Admin) - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '0' - consumed_mem: '0' - description: from bar to foo - ext_nh_cap: '' - fourbyte_cap: '' - graceful_cap: '' - inbound_routemap: '' - keepalives_count_rcvd: '0' - keepalives_count_sent: '0' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: '' - localhost_port: '' - nei_table_version: ['0'] - neighbor: 178.51.35.168 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '0' - opens_count_sent: '0' - outbound_routemap: '' - remote_ip: '' - remote_port: '' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: '' - rr_old_cap: '' - sent_paths: '0' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '0' - total_bytes_count_sent: '0' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '0' - total_mess_count_sent: '0' - updates_count_rcvd: '' - updates_count_sent: '0' - uptime: 13w2d -- accepted_paths: '6' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '63000' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '360' - description: from bing to monkey - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540297' - keepalives_count_sent: '462062' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 42.49.226.128 - localhost_port: '30976' - nei_table_version: ['8483941'] - neighbor: 212.164.170.242 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '277837' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 187.198.29.137 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53440' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '37605685' - total_bytes_count_sent: '159180954' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '818135' - total_mess_count_sent: '1993594' - updates_count_rcvd: '' - updates_count_sent: '1531531' - uptime: 13w2d -- accepted_paths: '54' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65205' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '3240' - description: from boo to foo - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540292' - keepalives_count_sent: '462056' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 99.106.129.169 - localhost_port: '29117' - nei_table_version: ['8483941'] - neighbor: 162.55.172.94 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '85' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 130.223.103.98 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53392' - source_iface: Ethernet5/1 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '10269707' - total_bytes_count_sent: '159219708' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '540378' - total_mess_count_sent: '1993712' - updates_count_rcvd: '' - updates_count_sent: '1531655' - uptime: 13w2d -- accepted_paths: '94' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64519' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '5640' - description: from monkey to donkey - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '417850' - keepalives_count_sent: '462089' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 222.163.71.138 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 117.185.189.71 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '618470' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 60.17.163.56 - remote_port: '35869' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53352' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '64469061' - total_bytes_count_sent: '159372385' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1036321' - total_mess_count_sent: '1995243' - updates_count_rcvd: '' - updates_count_sent: '1533153' - uptime: 13w2d -- accepted_paths: '155' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64980' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '9300' - description: from baz to frog - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540291' - keepalives_count_sent: '462073' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 204.196.181.66 - localhost_port: '31129' - nei_table_version: ['8483941'] - neighbor: 11.17.141.125 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '157' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 40.101.222.225 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53292' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '10275086' - total_bytes_count_sent: '159108645' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '540449' - total_mess_count_sent: '1993020' - updates_count_rcvd: '' - updates_count_sent: '1530946' - uptime: 13w2d -- accepted_paths: '358' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65290' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '21480' - description: from foo to bing - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '425522' - keepalives_count_sent: '462428' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 28.224.141.117 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 157.89.123.211 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '675340' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 128.255.228.37 - remote_port: '18524' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53100' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '74252109' - total_bytes_count_sent: '159185878' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1100863' - total_mess_count_sent: '1993261' - updates_count_rcvd: '' - updates_count_sent: '1530832' - uptime: 13w2d -- accepted_paths: '5' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64538' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '300' - description: from bar to frog - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540296' - keepalives_count_sent: '462063' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 29.156.12.176 - localhost_port: '30092' - nei_table_version: ['8483941'] - neighbor: 194.134.175.38 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '643578' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 119.96.208.59 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53441' - source_iface: Ethernet6/11 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '72566814' - total_bytes_count_sent: '159261972' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1183875' - total_mess_count_sent: '1994248' - updates_count_rcvd: '' - updates_count_sent: '1532184' - uptime: 13w2d -- accepted_paths: '3' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64539' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '180' - description: from donkey to boo - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540299' - keepalives_count_sent: '462064' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 26.19.106.90 - localhost_port: '28398' - nei_table_version: ['8483941'] - neighbor: 187.149.19.88 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '645340' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 195.117.50.146 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53443' - source_iface: Ethernet5/4 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '72747379' - total_bytes_count_sent: '159465944' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1185640' - total_mess_count_sent: '1996014' - updates_count_rcvd: '' - updates_count_sent: '1533949' - uptime: 13w2d -- accepted_paths: '5' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64542' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '300' - description: from donkey to donkey - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540287' - keepalives_count_sent: '462067' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 220.226.76.231 - localhost_port: '30862' - nei_table_version: ['8483941'] - neighbor: 16.114.168.33 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '3' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 186.39.56.0 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53441' - source_iface: Ethernet3/31 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '10265638' - total_bytes_count_sent: '159179177' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '540291' - total_mess_count_sent: '1993570' - updates_count_rcvd: '' - updates_count_sent: '1531502' - uptime: 13w2d -- accepted_paths: '5' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64544' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '300' - description: from foo to boo - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540297' - keepalives_count_sent: '462064' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 99.240.42.174 - localhost_port: '28790' - nei_table_version: ['8483941'] - neighbor: 156.0.8.154 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '648401' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 235.228.253.157 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53442' - source_iface: Ethernet5/3 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '69708946' - total_bytes_count_sent: '159385318' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1188699' - total_mess_count_sent: '1995340' - updates_count_rcvd: '' - updates_count_sent: '1533275' - uptime: 13w2d -- accepted_paths: '3' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65155' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '180' - description: from donkey to donkey - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540293' - keepalives_count_sent: '462062' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 49.35.116.26 - localhost_port: '30581' - nei_table_version: ['8483941'] - neighbor: 131.175.74.157 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '2' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 244.157.125.129 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53443' - source_iface: Ethernet6/10 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '10265672' - total_bytes_count_sent: '159161130' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '540296' - total_mess_count_sent: '1993409' - updates_count_rcvd: '' - updates_count_sent: '1531346' - uptime: 13w2d -- accepted_paths: '0' - addr_fam_adv: '' - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65271' - bgp_state: Idle - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '0' - consumed_mem: '0' - description: from monkey to boo - ext_nh_cap: '' - fourbyte_cap: '' - graceful_cap: '' - inbound_routemap: '' - keepalives_count_rcvd: '0' - keepalives_count_sent: '0' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: '' - localhost_port: '' - nei_table_version: ['0'] - neighbor: 48.218.155.56 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '0' - opens_count_sent: '0' - outbound_routemap: '' - remote_ip: '' - remote_port: '' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: '' - rr_old_cap: '' - sent_paths: '0' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '0' - total_bytes_count_sent: '0' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '0' - total_mess_count_sent: '0' - updates_count_rcvd: '' - updates_count_sent: '0' - uptime: 13w2d -- accepted_paths: '21' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65201' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '1260' - description: from monkey to baz - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '540302' - keepalives_count_sent: '539739' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 168.77.208.187 - localhost_port: '28277' - nei_table_version: ['8483941'] - neighbor: 44.153.169.176 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '2' - opens_count_sent: '1' - outbound_routemap: DENY_ALL - remote_ip: 192.204.136.39 - remote_port: '179' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '0' - source_iface: Ethernet3/30 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '10265893' - total_bytes_count_sent: '10255045' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '540305' - total_mess_count_sent: '539741' - updates_count_rcvd: '' - updates_count_sent: '1' - uptime: 13w2d -- accepted_paths: '6' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65160' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '360' - description: from bar to bing - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '526575' - keepalives_count_sent: '462446' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 51.154.104.202 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 255.247.222.27 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '2683' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 49.149.6.165 - remote_port: '18056' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53440' - source_iface: Ethernet6/4 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '10115356' - total_bytes_count_sent: '159358223' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '529259' - total_mess_count_sent: '1994274' - updates_count_rcvd: '' - updates_count_sent: '1531827' - uptime: 13w2d -- accepted_paths: '32' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65180' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '1920' - description: from frog to donkey - ext_nh_cap: '' - fourbyte_cap: advertised - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '527508' - keepalives_count_sent: '462096' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 16.47.100.156 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 220.157.249.83 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '253' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 144.195.50.101 - remote_port: '35983' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53414' - source_iface: Ethernet6/5 - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '10035035' - total_bytes_count_sent: '159391360' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '527762' - total_mess_count_sent: '1995367' - updates_count_rcvd: '' - updates_count_sent: '1533270' - uptime: 13w2d -- accepted_paths: '6' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64546' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '1' - conn_estab: '2' - consumed_mem: '360' - description: from boo to baz - ext_nh_cap: advertised - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '539882' - keepalives_count_sent: '462077' - last_peer_reset: 9w4d - last_peer_reset_reason: duplicate connection request - last_reset: never - last_reset_reason: No error - localhost_ip: 30.246.241.47 - localhost_port: '15942' - nei_table_version: ['8483941'] - neighbor: 244.94.161.162 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '9' - opens_count_sent: '2' - outbound_routemap: '' - remote_ip: 170.229.101.87 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53441' - source_iface: Ethernet6/6 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '10258189' - total_bytes_count_sent: '196954641' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '539893' - total_mess_count_sent: '2011450' - updates_count_rcvd: '' - updates_count_sent: '1549371' - uptime: 9w4d -- accepted_paths: '110' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65105' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '3' - conn_estab: '4' - consumed_mem: '6600' - description: from donkey to monkey - ext_nh_cap: advertised - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '539738' - keepalives_count_sent: '462085' - last_peer_reset: 1d06h - last_peer_reset_reason: duplicate connection request - last_reset: never - last_reset_reason: No error - localhost_ip: 214.144.36.241 - localhost_port: '55353' - nei_table_version: ['8483941'] - neighbor: 132.115.163.171 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '79' - opens_count_sent: '4' - outbound_routemap: '' - remote_ip: 160.215.146.14 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53336' - source_iface: '' - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '10260440' - total_bytes_count_sent: '200776152' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '539821' - total_mess_count_sent: '2040431' - updates_count_rcvd: '' - updates_count_sent: '1578342' - uptime: 1d06h -- accepted_paths: '0' - addr_fam_adv: '' - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65282' - bgp_state: Idle - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '0' - consumed_mem: '0' - description: from bing to bar - ext_nh_cap: '' - fourbyte_cap: '' - graceful_cap: '' - inbound_routemap: '' - keepalives_count_rcvd: '0' - keepalives_count_sent: '0' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: '' - localhost_port: '' - nei_table_version: ['0'] - neighbor: 32.180.174.240 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '0' - opens_count_sent: '0' - outbound_routemap: ALLOW_DEFAULT - remote_ip: '' - remote_port: '' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: '' - rr_old_cap: '' - sent_paths: '0' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '0' - total_bytes_count_sent: '0' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '0' - total_mess_count_sent: '0' - updates_count_rcvd: '' - updates_count_sent: '0' - uptime: 13w2d -- accepted_paths: '55' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64602' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '1' - conn_estab: '2' - consumed_mem: '3300' - description: from donkey to bing - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '539731' - keepalives_count_sent: '462077' - last_peer_reset: 10w5d - last_peer_reset_reason: duplicate connection request - last_reset: never - last_reset_reason: No error - localhost_ip: 238.32.93.158 - localhost_port: '65116' - nei_table_version: ['8483941'] - neighbor: 132.226.58.125 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '223' - opens_count_sent: '2' - outbound_routemap: '' - remote_ip: 206.89.69.2 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53393' - source_iface: Ethernet6/8 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '10273374' - total_bytes_count_sent: '206256974' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '539956' - total_mess_count_sent: '2010003' - updates_count_rcvd: '' - updates_count_sent: '1547924' - uptime: 10w5d -- accepted_paths: '642' - addr_fam_adv: Sent Rcvd - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65010' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '38520' - description: from frog to boo - ext_nh_cap: '' - fourbyte_cap: advertised received - graceful_cap: advertised - inbound_routemap: '' - keepalives_count_rcvd: '525814' - keepalives_count_sent: '463268' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 85.4.162.71 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 58.87.110.23 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '226933' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 112.221.23.57 - remote_port: '37814' - restart_time_adv: '' - restart_time_rcv: '' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '52804' - source_iface: '' - stale_time: '' - table_version: ['8483941'] - total_bytes_count_rcvd: '24196536' - total_bytes_count_sent: '194429206' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '752748' - total_mess_count_sent: '1990872' - updates_count_rcvd: '' - updates_count_sent: '1527603' - uptime: 13w2d -- accepted_paths: '11' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64616' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '660' - description: from foo to frog - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '539905' - keepalives_count_sent: '462076' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 51.185.196.36 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 214.53.165.54 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '3' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 191.20.54.179 - remote_port: '57737' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53435' - source_iface: Ethernet5/14 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '10258358' - total_bytes_count_sent: '204495240' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '539909' - total_mess_count_sent: '1997579' - updates_count_rcvd: '' - updates_count_sent: '1535502' - uptime: 13w2d -- accepted_paths: '1' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64617' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '60' - description: from donkey to frog - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '539885' - keepalives_count_sent: '462075' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 89.132.8.29 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 237.50.68.158 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '2' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 255.186.167.183 - remote_port: '17650' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53445' - source_iface: Ethernet6/14 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '10257892' - total_bytes_count_sent: '204283404' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '539888' - total_mess_count_sent: '1995748' - updates_count_rcvd: '' - updates_count_sent: '1533672' - uptime: 13w2d -- accepted_paths: '26' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64610' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '1560' - description: from foo to baz - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '539976' - keepalives_count_sent: '462078' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 78.199.207.157 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 30.151.70.12 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '18' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 222.28.243.82 - remote_port: '16952' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53420' - source_iface: '' - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '10260620' - total_bytes_count_sent: '204266892' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '539995' - total_mess_count_sent: '1995618' - updates_count_rcvd: '' - updates_count_sent: '1533539' - uptime: 13w2d -- accepted_paths: '4' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64615' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '2' - conn_estab: '3' - consumed_mem: '240' - description: from monkey to bing - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '539740' - keepalives_count_sent: '462080' - last_peer_reset: 10w5d - last_peer_reset_reason: duplicate connection request - last_reset: never - last_reset_reason: No error - localhost_ip: 221.66.123.172 - localhost_port: '64966' - nei_table_version: ['8483941'] - neighbor: 59.112.207.30 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '15' - opens_count_sent: '3' - outbound_routemap: '' - remote_ip: 127.176.93.177 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53442' - source_iface: Ethernet5/15 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '10255802' - total_bytes_count_sent: '208408364' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '539758' - total_mess_count_sent: '2025821' - updates_count_rcvd: '' - updates_count_sent: '1563738' - uptime: 10w5d -- accepted_paths: '5' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64613' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '300' - description: from monkey to bing - ext_nh_cap: advertised - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '578128' - keepalives_count_sent: '462068' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 209.213.88.120 - localhost_port: '27191' - nei_table_version: ['8483941'] - neighbor: 185.174.44.36 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '7' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 166.18.170.15 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53441' - source_iface: Ethernet6/15 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '10984839' - total_bytes_count_sent: '194880652' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '578136' - total_mess_count_sent: '1995615' - updates_count_rcvd: '' - updates_count_sent: '1533546' - uptime: 13w2d -- accepted_paths: '1' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64623' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '60' - description: from boo to donkey - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '539929' - keepalives_count_sent: '462076' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 151.112.219.37 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 73.80.95.69 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '2' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 87.38.121.111 - remote_port: '40066' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53445' - source_iface: Ethernet5/10 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '10258728' - total_bytes_count_sent: '204431633' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '539932' - total_mess_count_sent: '1996998' - updates_count_rcvd: '' - updates_count_sent: '1534921' - uptime: 13w2d -- accepted_paths: '51100' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65002' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '1' - conn_estab: '2' - consumed_mem: '3066000' - description: from frog to monkey - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '465343' - keepalives_count_sent: '478041' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: 12w6d - last_reset_reason: other configuration change - localhost_ip: 246.236.13.106 - localhost_port: '34610' - nei_table_version: ['8483941'] - neighbor: 238.139.143.60 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '1000017' - opens_count_sent: '2' - outbound_routemap: '' - remote_ip: 129.148.50.189 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '46640' - source_iface: Ethernet6/2 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '122214139' - total_bytes_count_sent: '113569741' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1465362' - total_mess_count_sent: '1391904' - updates_count_rcvd: '' - updates_count_sent: '913861' - uptime: 12w6d -- accepted_paths: '51100' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65002' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '6' - conn_estab: '7' - consumed_mem: '3066000' - description: from bing to monkey - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '462580' - keepalives_count_sent: '477387' - last_peer_reset: 11w4d - last_peer_reset_reason: duplicate connection request - last_reset: 11w5d - last_reset_reason: other configuration change - localhost_ip: 247.176.130.61 - localhost_port: '53574' - nei_table_version: ['8483941'] - neighbor: 14.39.170.172 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '1108031' - opens_count_sent: '7' - outbound_routemap: '' - remote_ip: 180.138.38.81 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '46640' - source_iface: Ethernet6/3 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '140481425' - total_bytes_count_sent: '117957629' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1570618' - total_mess_count_sent: '1432408' - updates_count_rcvd: '' - updates_count_sent: '955014' - uptime: 11w4d -- accepted_paths: '52809' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65001' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '8' - conn_estab: '9' - consumed_mem: '3168540' - description: from donkey to bing - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '463215' - keepalives_count_sent: '473697' - last_peer_reset: 11w5d - last_peer_reset_reason: duplicate connection request - last_reset: 11w5d - last_reset_reason: holdtimer expired error - localhost_ip: 183.124.152.216 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 171.175.146.126 - notifications_count_rcvd: '0' - notifications_count_sent: '6' - opens_count_rcvd: '1334218' - opens_count_sent: '9' - outbound_routemap: '' - remote_ip: 188.93.115.206 - remote_port: '3413' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '53204' - source_iface: Ethernet6/1 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '169019249' - total_bytes_count_sent: '165732259' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1797442' - total_mess_count_sent: '1795086' - updates_count_rcvd: '' - updates_count_sent: '1321374' - uptime: 11w5d -- accepted_paths: '12901' - addr_fam_adv: IPv4 Unicast - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '65261' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '0' - conn_estab: '1' - consumed_mem: '774060' - description: from bing to bar - ext_nh_cap: advertised - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '473315' - keepalives_count_sent: '462406' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: never - last_reset_reason: No error - localhost_ip: 31.67.203.133 - localhost_port: '179' - nei_table_version: ['8483941'] - neighbor: 254.145.7.45 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '1067023' - opens_count_sent: '1' - outbound_routemap: '' - remote_ip: 255.45.69.45 - remote_port: '25122' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '0' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '52922' - source_iface: Ethernet5/8 - stale_time: '300' - table_version: ['8483941'] - total_bytes_count_rcvd: '133449716' - total_bytes_count_sent: '191796776' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '1540339' - total_mess_count_sent: '1968468' - updates_count_rcvd: '' - updates_count_sent: '1506061' - uptime: 13w2d -- accepted_paths: '2159' - addr_fam_adv: IPv4 Unicast IPv6 Unicast L2VPN EVPN - addr_fam_rcv: '' - addr_family: [IPv4 Unicast, IPv6 Unicast, L2VPN EVPN] - asn: '65272' - bgp_state: Established - capability_count_rcvd: '9' - capability_count_sent: '9' - conn_dropped: '2' - conn_estab: '3' - consumed_mem: '276352' - description: '' - ext_nh_cap: advertised received - fourbyte_cap: advertised received - graceful_cap: advertised received - inbound_routemap: '' - keepalives_count_rcvd: '35845' - keepalives_count_sent: '38070' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: 3w5d - last_reset_reason: holdtimer expired error - localhost_ip: 187.113.144.52 - localhost_port: '42267' - nei_table_version: ['227160', '4', '139600'] - neighbor: 255.136.173.131 - notifications_count_rcvd: '0' - notifications_count_sent: '2' - opens_count_rcvd: '21260' - opens_count_sent: '3' - outbound_routemap: '' - remote_ip: 87.39.86.252 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '0' - route_refresh_count_sent: '3' - rr_new_cap: advertised received - rr_old_cap: advertised received - sent_paths: '601' - source_iface: loopback0 - stale_time: '300' - table_version: ['227160', '4', '139600'] - total_bytes_count_rcvd: '3818154' - total_bytes_count_sent: '1212655' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '57117' - total_mess_count_sent: '42287' - updates_count_rcvd: '' - updates_count_sent: '4200' - uptime: 3w5d diff --git a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.yml b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.yml new file mode 100644 index 0000000000..745fbdcfdd --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors.yml @@ -0,0 +1,3155 @@ +--- +parsed_sample: + - accepted_paths: "8458" + addr_fam_adv: "IPv4 Unicast L2VPN EVPN" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + - "L2VPN EVPN" + asn: "64826" + bgp_state: "Established" + capability_count_rcvd: "6" + capability_count_sent: "6" + conn_dropped: "2" + conn_estab: "3" + consumed_mem: "1048792" + description: "from boo to donkey" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "162725" + keepalives_count_sent: "192374" + last_peer_reset: "1w1d" + last_peer_reset_reason: "administratively shutdown" + last_reset: "1d10h" + last_reset_reason: "holdtimer expired error" + localhost_ip: "34.83.217.230" + localhost_port: "31643" + nei_table_version: + - "10317" + - "1123760" + neighbor: "136.170.1.201" + notifications_count_rcvd: "1" + notifications_count_sent: "1" + opens_count_rcvd: "743363" + opens_count_sent: "24" + outbound_routemap: "" + remote_ip: "226.176.223.89" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "13" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "608" + source_iface: "loopback0" + stale_time: "300" + table_version: + - "10317" + - "1123760" + total_bytes_count_rcvd: "85316584" + total_bytes_count_sent: "4570033" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "906098" + total_mess_count_sent: "200932" + updates_count_rcvd: "" + updates_count_sent: "8514" + uptime: "1d01h" + - accepted_paths: "8458" + addr_fam_adv: "IPv4 Unicast L2VPN EVPN" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + - "L2VPN EVPN" + asn: "64826" + bgp_state: "Established" + capability_count_rcvd: "4" + capability_count_sent: "4" + conn_dropped: "1" + conn_estab: "2" + consumed_mem: "1048792" + description: "from foo to baz" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "163033" + keepalives_count_sent: "192920" + last_peer_reset: "1w0d" + last_peer_reset_reason: "administratively shutdown" + last_reset: "1w0d" + last_reset_reason: "session closed" + localhost_ip: "29.91.80.176" + localhost_port: "179" + nei_table_version: + - "10317" + - "1123760" + neighbor: "174.8.181.98" + notifications_count_rcvd: "1" + notifications_count_sent: "0" + opens_count_rcvd: "697776" + opens_count_sent: "10" + outbound_routemap: "" + remote_ip: "127.145.91.46" + remote_port: "52469" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "13" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "608" + source_iface: "loopback0" + stale_time: "300" + table_version: + - "10317" + - "1123760" + total_bytes_count_rcvd: "80515353" + total_bytes_count_sent: "4562658" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "860816" + total_mess_count_sent: "201506" + updates_count_rcvd: "" + updates_count_sent: "8559" + uptime: "1w0d" + - accepted_paths: "8458" + addr_fam_adv: "IPv4 Unicast L2VPN EVPN" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + - "L2VPN EVPN" + asn: "64826" + bgp_state: "Established" + capability_count_rcvd: "4" + capability_count_sent: "4" + conn_dropped: "1" + conn_estab: "2" + consumed_mem: "1048792" + description: "from bar to frog" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "162984" + keepalives_count_sent: "192899" + last_peer_reset: "3d23h" + last_peer_reset_reason: "administratively shutdown" + last_reset: "3d21h" + last_reset_reason: "session closed" + localhost_ip: "190.125.83.222" + localhost_port: "179" + nei_table_version: + - "10317" + - "1123760" + neighbor: "171.143.203.215" + notifications_count_rcvd: "1" + notifications_count_sent: "0" + opens_count_rcvd: "744278" + opens_count_sent: "20" + outbound_routemap: "" + remote_ip: "231.231.113.66" + remote_port: "22132" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "13" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "608" + source_iface: "loopback0" + stale_time: "300" + table_version: + - "10317" + - "1123760" + total_bytes_count_rcvd: "84937258" + total_bytes_count_sent: "4562535" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "907269" + total_mess_count_sent: "201494" + updates_count_rcvd: "" + updates_count_sent: "8558" + uptime: "3d21h" + - accepted_paths: "8458" + addr_fam_adv: "IPv4 Unicast L2VPN EVPN" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + - "L2VPN EVPN" + asn: "64826" + bgp_state: "Established" + capability_count_rcvd: "4" + capability_count_sent: "4" + conn_dropped: "1" + conn_estab: "2" + consumed_mem: "1048792" + description: "from baz to monkey" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "162938" + keepalives_count_sent: "192845" + last_peer_reset: "3d18h" + last_peer_reset_reason: "administratively shutdown" + last_reset: "3d15h" + last_reset_reason: "session closed" + localhost_ip: "61.84.112.233" + localhost_port: "179" + nei_table_version: + - "10317" + - "1123760" + neighbor: "94.210.82.240" + notifications_count_rcvd: "1" + notifications_count_sent: "0" + opens_count_rcvd: "744351" + opens_count_sent: "13" + outbound_routemap: "" + remote_ip: "221.224.143.168" + remote_port: "21548" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "13" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "608" + source_iface: "loopback0" + stale_time: "300" + table_version: + - "10317" + - "1123760" + total_bytes_count_rcvd: "84952999" + total_bytes_count_sent: "4562211" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "907296" + total_mess_count_sent: "201441" + updates_count_rcvd: "" + updates_count_sent: "8566" + uptime: "3d15h" + - accepted_paths: "0" + addr_fam_adv: "IPv4 Unicast L2VPN EVPN" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64938" + bgp_state: "Established" + capability_count_rcvd: "3" + capability_count_sent: "3" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "0" + description: "from foo to foo" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "5279" + keepalives_count_sent: "5279" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "144.125.246.17" + localhost_port: "36220" + nei_table_version: + - "4" + neighbor: "143.128.128.163" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "1" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "72.193.89.91" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "0" + source_iface: "loopback0" + stale_time: "300" + table_version: + - "4" + total_bytes_count_rcvd: "100400" + total_bytes_count_sent: "100396" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "5284" + total_mess_count_sent: "5284" + updates_count_rcvd: "" + updates_count_sent: "1" + uptime: "3d15h" + - accepted_paths: "0" + addr_fam_adv: "IPv4 Unicast L2VPN EVPN" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64938" + bgp_state: "Established" + capability_count_rcvd: "3" + capability_count_sent: "3" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "0" + description: "from donkey to boo" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "5279" + keepalives_count_sent: "5279" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "210.219.168.143" + localhost_port: "48355" + nei_table_version: + - "4" + neighbor: "12.26.221.3" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "1" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "220.134.183.122" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "0" + source_iface: "loopback0" + stale_time: "300" + table_version: + - "4" + total_bytes_count_rcvd: "100400" + total_bytes_count_sent: "100396" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "5284" + total_mess_count_sent: "5284" + updates_count_rcvd: "" + updates_count_sent: "1" + uptime: "3d15h" + - accepted_paths: "0" + addr_fam_adv: "" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64938" + bgp_state: "Idle" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "0" + consumed_mem: "0" + description: "from donkey to boo" + ext_nh_cap: "" + fourbyte_cap: "" + graceful_cap: "" + inbound_routemap: "" + keepalives_count_rcvd: "0" + keepalives_count_sent: "0" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "" + localhost_port: "" + nei_table_version: + - "0" + neighbor: "202.77.85.157" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "0" + opens_count_sent: "0" + outbound_routemap: "" + remote_ip: "" + remote_port: "" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "" + rr_old_cap: "" + sent_paths: "0" + source_iface: "loopback0" + stale_time: "" + table_version: + - "4" + total_bytes_count_rcvd: "0" + total_bytes_count_sent: "0" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "0" + total_mess_count_sent: "0" + updates_count_rcvd: "" + updates_count_sent: "0" + uptime: "3d16h" + - accepted_paths: "0" + addr_fam_adv: "" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64938" + bgp_state: "Idle" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "0" + consumed_mem: "0" + description: "from bar to monkey" + ext_nh_cap: "" + fourbyte_cap: "" + graceful_cap: "" + inbound_routemap: "" + keepalives_count_rcvd: "0" + keepalives_count_sent: "0" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "" + localhost_port: "" + nei_table_version: + - "0" + neighbor: "47.48.246.179" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "0" + opens_count_sent: "0" + outbound_routemap: "" + remote_ip: "" + remote_port: "" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "" + rr_old_cap: "" + sent_paths: "0" + source_iface: "loopback0" + stale_time: "" + table_version: + - "4" + total_bytes_count_rcvd: "0" + total_bytes_count_sent: "0" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "0" + total_mess_count_sent: "0" + updates_count_rcvd: "" + updates_count_sent: "0" + uptime: "3d16h" + - accepted_paths: "51195" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65003" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "3071700" + description: "from bing to bing" + ext_nh_cap: "advertised" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "348479" + keepalives_count_sent: "474926" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "148.188.153.56" + localhost_port: "24169" + nei_table_version: + - "8483941" + neighbor: "217.90.29.79" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "857498" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "22.15.33.118" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "10303" + source_iface: "Ethernet5/24" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "99012794" + total_bytes_count_sent: "116954780" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1205978" + total_mess_count_sent: "1413795" + updates_count_rcvd: "" + updates_count_sent: "938868" + uptime: "13w2d" + - accepted_paths: "51195" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65003" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "3071700" + description: "from monkey to monkey" + ext_nh_cap: "advertised" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "347974" + keepalives_count_sent: "474925" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "77.16.23.163" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "167.161.119.185" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "875258" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "228.67.65.167" + remote_port: "28699" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "10303" + source_iface: "Ethernet6/24" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "101143596" + total_bytes_count_sent: "116855577" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1223233" + total_mess_count_sent: "1412915" + updates_count_rcvd: "" + updates_count_sent: "937989" + uptime: "13w2d" + - accepted_paths: "117" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64991" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "7020" + description: "from boo to frog" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540297" + keepalives_count_sent: "462065" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "30.251.237.123" + localhost_port: "29517" + nei_table_version: + - "8483941" + neighbor: "129.33.213.49" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "633313" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "88.181.26.218" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53329" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "71640462" + total_bytes_count_sent: "159499836" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1173611" + total_mess_count_sent: "1996295" + updates_count_rcvd: "" + updates_count_sent: "1534229" + uptime: "13w2d" + - accepted_paths: "2" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64563" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "120" + description: "from baz to boo" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540290" + keepalives_count_sent: "462062" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "27.27.246.137" + localhost_port: "29341" + nei_table_version: + - "8483941" + neighbor: "134.81.203.129" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "529532" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "121.155.249.169" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53444" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "58482473" + total_bytes_count_sent: "159507685" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1069823" + total_mess_count_sent: "1996406" + updates_count_rcvd: "" + updates_count_sent: "1534343" + uptime: "13w2d" + - accepted_paths: "2" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64564" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "120" + description: "from monkey to foo" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540294" + keepalives_count_sent: "462062" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "142.198.83.176" + localhost_port: "29565" + nei_table_version: + - "8483941" + neighbor: "87.209.8.85" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "536991" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "72.243.246.239" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53444" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "59253810" + total_bytes_count_sent: "159433865" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1077286" + total_mess_count_sent: "1995741" + updates_count_rcvd: "" + updates_count_sent: "1533678" + uptime: "13w2d" + - accepted_paths: "12" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64520" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "720" + description: "from frog to bing" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540295" + keepalives_count_sent: "462072" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "83.39.58.145" + localhost_port: "29751" + nei_table_version: + - "8483941" + neighbor: "232.122.144.131" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "653827" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "249.71.59.33" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53434" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "70997495" + total_bytes_count_sent: "159436316" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1194123" + total_mess_count_sent: "1995749" + updates_count_rcvd: "" + updates_count_sent: "1533676" + uptime: "13w2d" + - accepted_paths: "9" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64521" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "540" + description: "from baz to bar" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540291" + keepalives_count_sent: "462066" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "159.85.223.154" + localhost_port: "30455" + nei_table_version: + - "8483941" + neighbor: "255.6.79.240" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "635238" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "88.87.6.2" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53437" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "71901157" + total_bytes_count_sent: "159402410" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1175530" + total_mess_count_sent: "1995481" + updates_count_rcvd: "" + updates_count_sent: "1533414" + uptime: "13w2d" + - accepted_paths: "12" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64522" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "720" + description: "from bing to donkey" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540291" + keepalives_count_sent: "462066" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "115.48.39.12" + localhost_port: "29928" + nei_table_version: + - "8483941" + neighbor: "135.138.128.239" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "635285" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "187.84.208.112" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53434" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "71887964" + total_bytes_count_sent: "159405036" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1175577" + total_mess_count_sent: "1995513" + updates_count_rcvd: "" + updates_count_sent: "1533446" + uptime: "13w2d" + - accepted_paths: "10" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64523" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "600" + description: "from boo to monkey" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "429734" + keepalives_count_sent: "462068" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "121.14.31.73" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "166.177.87.84" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "657289" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "22.41.156.160" + remote_port: "59645" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53436" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "71926991" + total_bytes_count_sent: "159546312" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1087024" + total_mess_count_sent: "1996708" + updates_count_rcvd: "" + updates_count_sent: "1534639" + uptime: "13w2d" + - accepted_paths: "3" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64525" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "180" + description: "from frog to foo" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540290" + keepalives_count_sent: "462065" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "46.95.207.194" + localhost_port: "30808" + nei_table_version: + - "8483941" + neighbor: "24.218.246.161" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "676579" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "249.173.131.89" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53443" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "76128478" + total_bytes_count_sent: "159325085" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1216870" + total_mess_count_sent: "1994773" + updates_count_rcvd: "" + updates_count_sent: "1532707" + uptime: "13w2d" + - accepted_paths: "1" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64524" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "60" + description: "from bing to monkey" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540291" + keepalives_count_sent: "462067" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "19.33.193.41" + localhost_port: "30630" + nei_table_version: + - "8483941" + neighbor: "88.158.245.249" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "673811" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "113.114.126.174" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53445" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "75757206" + total_bytes_count_sent: "159330896" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1214103" + total_mess_count_sent: "1994815" + updates_count_rcvd: "" + updates_count_sent: "1532747" + uptime: "13w2d" + - accepted_paths: "247" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65150" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "14820" + description: "from monkey to foo" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540295" + keepalives_count_sent: "462097" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "79.138.5.173" + localhost_port: "30104" + nei_table_version: + - "8483941" + neighbor: "209.58.188.204" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "645646" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "241.90.87.199" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53199" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "72795532" + total_bytes_count_sent: "159307244" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1185942" + total_mess_count_sent: "1994538" + updates_count_rcvd: "" + updates_count_sent: "1532440" + uptime: "13w2d" + - accepted_paths: "61" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65510" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "3660" + description: "from monkey to baz" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540295" + keepalives_count_sent: "462080" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "191.131.46.70" + localhost_port: "30959" + nei_table_version: + - "8483941" + neighbor: "168.96.139.211" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "651138" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "224.44.237.104" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53385" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "73439672" + total_bytes_count_sent: "159216507" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1191434" + total_mess_count_sent: "1993836" + updates_count_rcvd: "" + updates_count_sent: "1531755" + uptime: "13w2d" + - accepted_paths: "324" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65152" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "19440" + description: "from bing to bing" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "538997" + keepalives_count_sent: "462954" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "233.29.157.75" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "131.243.190.190" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "4645" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "116.246.167.246" + remote_port: "27360" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53122" + source_iface: "" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "10483590" + total_bytes_count_sent: "204149228" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "543643" + total_mess_count_sent: "1992372" + updates_count_rcvd: "" + updates_count_sent: "1529417" + uptime: "13w2d" + - accepted_paths: "258" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65533" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "15480" + description: "from donkey to baz" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540296" + keepalives_count_sent: "462068" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "159.247.127.30" + localhost_port: "28632" + nei_table_version: + - "8483941" + neighbor: "103.90.75.222" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "634933" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "27.240.178.84" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53236" + source_iface: "Ethernet5/2" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "68391959" + total_bytes_count_sent: "159527265" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1175230" + total_mess_count_sent: "1996448" + updates_count_rcvd: "" + updates_count_sent: "1534379" + uptime: "13w2d" + - accepted_paths: "265" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65532" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "15900" + description: "from monkey to baz" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540293" + keepalives_count_sent: "462070" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "167.143.174.37" + localhost_port: "29025" + nei_table_version: + - "8483941" + neighbor: "122.169.105.222" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "650489" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "133.127.112.13" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53375" + source_iface: "Ethernet5/6" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "69981415" + total_bytes_count_sent: "159321595" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1190783" + total_mess_count_sent: "1994786" + updates_count_rcvd: "" + updates_count_sent: "1532715" + uptime: "13w2d" + - accepted_paths: "33" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64526" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "1980" + description: "from donkey to foo" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540291" + keepalives_count_sent: "462066" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "117.70.157.199" + localhost_port: "30297" + nei_table_version: + - "8483941" + neighbor: "248.253.184.199" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "664426" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "234.33.202.152" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53413" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "74725071" + total_bytes_count_sent: "159313024" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1204718" + total_mess_count_sent: "1994668" + updates_count_rcvd: "" + updates_count_sent: "1532601" + uptime: "13w2d" + - accepted_paths: "7" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64517" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "420" + description: "from boo to bing" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "404105" + keepalives_count_sent: "462066" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "158.80.154.105" + localhost_port: "30528" + nei_table_version: + - "8483941" + neighbor: "113.9.147.198" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "654504" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "124.68.182.124" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53439" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "71166342" + total_bytes_count_sent: "159354403" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1058610" + total_mess_count_sent: "1995134" + updates_count_rcvd: "" + updates_count_sent: "1533067" + uptime: "13w2d" + - accepted_paths: "0" + addr_fam_adv: "" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64568" + bgp_state: "Shut (Admin)" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "0" + consumed_mem: "0" + description: "from bar to foo" + ext_nh_cap: "" + fourbyte_cap: "" + graceful_cap: "" + inbound_routemap: "" + keepalives_count_rcvd: "0" + keepalives_count_sent: "0" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "" + localhost_port: "" + nei_table_version: + - "0" + neighbor: "178.51.35.168" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "0" + opens_count_sent: "0" + outbound_routemap: "" + remote_ip: "" + remote_port: "" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "" + rr_old_cap: "" + sent_paths: "0" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "0" + total_bytes_count_sent: "0" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "0" + total_mess_count_sent: "0" + updates_count_rcvd: "" + updates_count_sent: "0" + uptime: "13w2d" + - accepted_paths: "6" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "63000" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "360" + description: "from bing to monkey" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540297" + keepalives_count_sent: "462062" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "42.49.226.128" + localhost_port: "30976" + nei_table_version: + - "8483941" + neighbor: "212.164.170.242" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "277837" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "187.198.29.137" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53440" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "37605685" + total_bytes_count_sent: "159180954" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "818135" + total_mess_count_sent: "1993594" + updates_count_rcvd: "" + updates_count_sent: "1531531" + uptime: "13w2d" + - accepted_paths: "54" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65205" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "3240" + description: "from boo to foo" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540292" + keepalives_count_sent: "462056" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "99.106.129.169" + localhost_port: "29117" + nei_table_version: + - "8483941" + neighbor: "162.55.172.94" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "85" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "130.223.103.98" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53392" + source_iface: "Ethernet5/1" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "10269707" + total_bytes_count_sent: "159219708" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "540378" + total_mess_count_sent: "1993712" + updates_count_rcvd: "" + updates_count_sent: "1531655" + uptime: "13w2d" + - accepted_paths: "94" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64519" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "5640" + description: "from monkey to donkey" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "417850" + keepalives_count_sent: "462089" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "222.163.71.138" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "117.185.189.71" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "618470" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "60.17.163.56" + remote_port: "35869" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53352" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "64469061" + total_bytes_count_sent: "159372385" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1036321" + total_mess_count_sent: "1995243" + updates_count_rcvd: "" + updates_count_sent: "1533153" + uptime: "13w2d" + - accepted_paths: "155" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64980" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "9300" + description: "from baz to frog" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540291" + keepalives_count_sent: "462073" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "204.196.181.66" + localhost_port: "31129" + nei_table_version: + - "8483941" + neighbor: "11.17.141.125" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "157" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "40.101.222.225" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53292" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "10275086" + total_bytes_count_sent: "159108645" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "540449" + total_mess_count_sent: "1993020" + updates_count_rcvd: "" + updates_count_sent: "1530946" + uptime: "13w2d" + - accepted_paths: "358" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65290" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "21480" + description: "from foo to bing" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "425522" + keepalives_count_sent: "462428" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "28.224.141.117" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "157.89.123.211" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "675340" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "128.255.228.37" + remote_port: "18524" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53100" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "74252109" + total_bytes_count_sent: "159185878" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1100863" + total_mess_count_sent: "1993261" + updates_count_rcvd: "" + updates_count_sent: "1530832" + uptime: "13w2d" + - accepted_paths: "5" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64538" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "300" + description: "from bar to frog" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540296" + keepalives_count_sent: "462063" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "29.156.12.176" + localhost_port: "30092" + nei_table_version: + - "8483941" + neighbor: "194.134.175.38" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "643578" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "119.96.208.59" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53441" + source_iface: "Ethernet6/11" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "72566814" + total_bytes_count_sent: "159261972" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1183875" + total_mess_count_sent: "1994248" + updates_count_rcvd: "" + updates_count_sent: "1532184" + uptime: "13w2d" + - accepted_paths: "3" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64539" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "180" + description: "from donkey to boo" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540299" + keepalives_count_sent: "462064" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "26.19.106.90" + localhost_port: "28398" + nei_table_version: + - "8483941" + neighbor: "187.149.19.88" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "645340" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "195.117.50.146" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53443" + source_iface: "Ethernet5/4" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "72747379" + total_bytes_count_sent: "159465944" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1185640" + total_mess_count_sent: "1996014" + updates_count_rcvd: "" + updates_count_sent: "1533949" + uptime: "13w2d" + - accepted_paths: "5" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64542" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "300" + description: "from donkey to donkey" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540287" + keepalives_count_sent: "462067" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "220.226.76.231" + localhost_port: "30862" + nei_table_version: + - "8483941" + neighbor: "16.114.168.33" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "3" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "186.39.56.0" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53441" + source_iface: "Ethernet3/31" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "10265638" + total_bytes_count_sent: "159179177" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "540291" + total_mess_count_sent: "1993570" + updates_count_rcvd: "" + updates_count_sent: "1531502" + uptime: "13w2d" + - accepted_paths: "5" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64544" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "300" + description: "from foo to boo" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540297" + keepalives_count_sent: "462064" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "99.240.42.174" + localhost_port: "28790" + nei_table_version: + - "8483941" + neighbor: "156.0.8.154" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "648401" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "235.228.253.157" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53442" + source_iface: "Ethernet5/3" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "69708946" + total_bytes_count_sent: "159385318" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1188699" + total_mess_count_sent: "1995340" + updates_count_rcvd: "" + updates_count_sent: "1533275" + uptime: "13w2d" + - accepted_paths: "3" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65155" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "180" + description: "from donkey to donkey" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540293" + keepalives_count_sent: "462062" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "49.35.116.26" + localhost_port: "30581" + nei_table_version: + - "8483941" + neighbor: "131.175.74.157" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "2" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "244.157.125.129" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53443" + source_iface: "Ethernet6/10" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "10265672" + total_bytes_count_sent: "159161130" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "540296" + total_mess_count_sent: "1993409" + updates_count_rcvd: "" + updates_count_sent: "1531346" + uptime: "13w2d" + - accepted_paths: "0" + addr_fam_adv: "" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65271" + bgp_state: "Idle" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "0" + consumed_mem: "0" + description: "from monkey to boo" + ext_nh_cap: "" + fourbyte_cap: "" + graceful_cap: "" + inbound_routemap: "" + keepalives_count_rcvd: "0" + keepalives_count_sent: "0" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "" + localhost_port: "" + nei_table_version: + - "0" + neighbor: "48.218.155.56" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "0" + opens_count_sent: "0" + outbound_routemap: "" + remote_ip: "" + remote_port: "" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "" + rr_old_cap: "" + sent_paths: "0" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "0" + total_bytes_count_sent: "0" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "0" + total_mess_count_sent: "0" + updates_count_rcvd: "" + updates_count_sent: "0" + uptime: "13w2d" + - accepted_paths: "21" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65201" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "1260" + description: "from monkey to baz" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "540302" + keepalives_count_sent: "539739" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "168.77.208.187" + localhost_port: "28277" + nei_table_version: + - "8483941" + neighbor: "44.153.169.176" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "2" + opens_count_sent: "1" + outbound_routemap: "DENY_ALL" + remote_ip: "192.204.136.39" + remote_port: "179" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "0" + source_iface: "Ethernet3/30" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "10265893" + total_bytes_count_sent: "10255045" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "540305" + total_mess_count_sent: "539741" + updates_count_rcvd: "" + updates_count_sent: "1" + uptime: "13w2d" + - accepted_paths: "6" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65160" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "360" + description: "from bar to bing" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "526575" + keepalives_count_sent: "462446" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "51.154.104.202" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "255.247.222.27" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "2683" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "49.149.6.165" + remote_port: "18056" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53440" + source_iface: "Ethernet6/4" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "10115356" + total_bytes_count_sent: "159358223" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "529259" + total_mess_count_sent: "1994274" + updates_count_rcvd: "" + updates_count_sent: "1531827" + uptime: "13w2d" + - accepted_paths: "32" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65180" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "1920" + description: "from frog to donkey" + ext_nh_cap: "" + fourbyte_cap: "advertised" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "527508" + keepalives_count_sent: "462096" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "16.47.100.156" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "220.157.249.83" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "253" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "144.195.50.101" + remote_port: "35983" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53414" + source_iface: "Ethernet6/5" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "10035035" + total_bytes_count_sent: "159391360" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "527762" + total_mess_count_sent: "1995367" + updates_count_rcvd: "" + updates_count_sent: "1533270" + uptime: "13w2d" + - accepted_paths: "6" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64546" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "1" + conn_estab: "2" + consumed_mem: "360" + description: "from boo to baz" + ext_nh_cap: "advertised" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "539882" + keepalives_count_sent: "462077" + last_peer_reset: "9w4d" + last_peer_reset_reason: "duplicate connection request" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "30.246.241.47" + localhost_port: "15942" + nei_table_version: + - "8483941" + neighbor: "244.94.161.162" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "9" + opens_count_sent: "2" + outbound_routemap: "" + remote_ip: "170.229.101.87" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53441" + source_iface: "Ethernet6/6" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "10258189" + total_bytes_count_sent: "196954641" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "539893" + total_mess_count_sent: "2011450" + updates_count_rcvd: "" + updates_count_sent: "1549371" + uptime: "9w4d" + - accepted_paths: "110" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65105" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "3" + conn_estab: "4" + consumed_mem: "6600" + description: "from donkey to monkey" + ext_nh_cap: "advertised" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "539738" + keepalives_count_sent: "462085" + last_peer_reset: "1d06h" + last_peer_reset_reason: "duplicate connection request" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "214.144.36.241" + localhost_port: "55353" + nei_table_version: + - "8483941" + neighbor: "132.115.163.171" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "79" + opens_count_sent: "4" + outbound_routemap: "" + remote_ip: "160.215.146.14" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53336" + source_iface: "" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "10260440" + total_bytes_count_sent: "200776152" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "539821" + total_mess_count_sent: "2040431" + updates_count_rcvd: "" + updates_count_sent: "1578342" + uptime: "1d06h" + - accepted_paths: "0" + addr_fam_adv: "" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65282" + bgp_state: "Idle" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "0" + consumed_mem: "0" + description: "from bing to bar" + ext_nh_cap: "" + fourbyte_cap: "" + graceful_cap: "" + inbound_routemap: "" + keepalives_count_rcvd: "0" + keepalives_count_sent: "0" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "" + localhost_port: "" + nei_table_version: + - "0" + neighbor: "32.180.174.240" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "0" + opens_count_sent: "0" + outbound_routemap: "ALLOW_DEFAULT" + remote_ip: "" + remote_port: "" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "" + rr_old_cap: "" + sent_paths: "0" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "0" + total_bytes_count_sent: "0" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "0" + total_mess_count_sent: "0" + updates_count_rcvd: "" + updates_count_sent: "0" + uptime: "13w2d" + - accepted_paths: "55" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64602" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "1" + conn_estab: "2" + consumed_mem: "3300" + description: "from donkey to bing" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "539731" + keepalives_count_sent: "462077" + last_peer_reset: "10w5d" + last_peer_reset_reason: "duplicate connection request" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "238.32.93.158" + localhost_port: "65116" + nei_table_version: + - "8483941" + neighbor: "132.226.58.125" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "223" + opens_count_sent: "2" + outbound_routemap: "" + remote_ip: "206.89.69.2" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53393" + source_iface: "Ethernet6/8" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "10273374" + total_bytes_count_sent: "206256974" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "539956" + total_mess_count_sent: "2010003" + updates_count_rcvd: "" + updates_count_sent: "1547924" + uptime: "10w5d" + - accepted_paths: "642" + addr_fam_adv: "Sent Rcvd" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65010" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "38520" + description: "from frog to boo" + ext_nh_cap: "" + fourbyte_cap: "advertised received" + graceful_cap: "advertised" + inbound_routemap: "" + keepalives_count_rcvd: "525814" + keepalives_count_sent: "463268" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "85.4.162.71" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "58.87.110.23" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "226933" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "112.221.23.57" + remote_port: "37814" + restart_time_adv: "" + restart_time_rcv: "" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "52804" + source_iface: "" + stale_time: "" + table_version: + - "8483941" + total_bytes_count_rcvd: "24196536" + total_bytes_count_sent: "194429206" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "752748" + total_mess_count_sent: "1990872" + updates_count_rcvd: "" + updates_count_sent: "1527603" + uptime: "13w2d" + - accepted_paths: "11" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64616" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "660" + description: "from foo to frog" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "539905" + keepalives_count_sent: "462076" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "51.185.196.36" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "214.53.165.54" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "3" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "191.20.54.179" + remote_port: "57737" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53435" + source_iface: "Ethernet5/14" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "10258358" + total_bytes_count_sent: "204495240" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "539909" + total_mess_count_sent: "1997579" + updates_count_rcvd: "" + updates_count_sent: "1535502" + uptime: "13w2d" + - accepted_paths: "1" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64617" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "60" + description: "from donkey to frog" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "539885" + keepalives_count_sent: "462075" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "89.132.8.29" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "237.50.68.158" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "2" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "255.186.167.183" + remote_port: "17650" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53445" + source_iface: "Ethernet6/14" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "10257892" + total_bytes_count_sent: "204283404" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "539888" + total_mess_count_sent: "1995748" + updates_count_rcvd: "" + updates_count_sent: "1533672" + uptime: "13w2d" + - accepted_paths: "26" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64610" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "1560" + description: "from foo to baz" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "539976" + keepalives_count_sent: "462078" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "78.199.207.157" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "30.151.70.12" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "18" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "222.28.243.82" + remote_port: "16952" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53420" + source_iface: "" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "10260620" + total_bytes_count_sent: "204266892" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "539995" + total_mess_count_sent: "1995618" + updates_count_rcvd: "" + updates_count_sent: "1533539" + uptime: "13w2d" + - accepted_paths: "4" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64615" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "2" + conn_estab: "3" + consumed_mem: "240" + description: "from monkey to bing" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "539740" + keepalives_count_sent: "462080" + last_peer_reset: "10w5d" + last_peer_reset_reason: "duplicate connection request" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "221.66.123.172" + localhost_port: "64966" + nei_table_version: + - "8483941" + neighbor: "59.112.207.30" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "15" + opens_count_sent: "3" + outbound_routemap: "" + remote_ip: "127.176.93.177" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53442" + source_iface: "Ethernet5/15" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "10255802" + total_bytes_count_sent: "208408364" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "539758" + total_mess_count_sent: "2025821" + updates_count_rcvd: "" + updates_count_sent: "1563738" + uptime: "10w5d" + - accepted_paths: "5" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64613" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "300" + description: "from monkey to bing" + ext_nh_cap: "advertised" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "578128" + keepalives_count_sent: "462068" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "209.213.88.120" + localhost_port: "27191" + nei_table_version: + - "8483941" + neighbor: "185.174.44.36" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "7" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "166.18.170.15" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53441" + source_iface: "Ethernet6/15" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "10984839" + total_bytes_count_sent: "194880652" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "578136" + total_mess_count_sent: "1995615" + updates_count_rcvd: "" + updates_count_sent: "1533546" + uptime: "13w2d" + - accepted_paths: "1" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64623" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "60" + description: "from boo to donkey" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "539929" + keepalives_count_sent: "462076" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "151.112.219.37" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "73.80.95.69" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "2" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "87.38.121.111" + remote_port: "40066" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53445" + source_iface: "Ethernet5/10" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "10258728" + total_bytes_count_sent: "204431633" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "539932" + total_mess_count_sent: "1996998" + updates_count_rcvd: "" + updates_count_sent: "1534921" + uptime: "13w2d" + - accepted_paths: "51100" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65002" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "1" + conn_estab: "2" + consumed_mem: "3066000" + description: "from frog to monkey" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "465343" + keepalives_count_sent: "478041" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "12w6d" + last_reset_reason: "other configuration change" + localhost_ip: "246.236.13.106" + localhost_port: "34610" + nei_table_version: + - "8483941" + neighbor: "238.139.143.60" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "1000017" + opens_count_sent: "2" + outbound_routemap: "" + remote_ip: "129.148.50.189" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "46640" + source_iface: "Ethernet6/2" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "122214139" + total_bytes_count_sent: "113569741" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1465362" + total_mess_count_sent: "1391904" + updates_count_rcvd: "" + updates_count_sent: "913861" + uptime: "12w6d" + - accepted_paths: "51100" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65002" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "6" + conn_estab: "7" + consumed_mem: "3066000" + description: "from bing to monkey" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "462580" + keepalives_count_sent: "477387" + last_peer_reset: "11w4d" + last_peer_reset_reason: "duplicate connection request" + last_reset: "11w5d" + last_reset_reason: "other configuration change" + localhost_ip: "247.176.130.61" + localhost_port: "53574" + nei_table_version: + - "8483941" + neighbor: "14.39.170.172" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "1108031" + opens_count_sent: "7" + outbound_routemap: "" + remote_ip: "180.138.38.81" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "46640" + source_iface: "Ethernet6/3" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "140481425" + total_bytes_count_sent: "117957629" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1570618" + total_mess_count_sent: "1432408" + updates_count_rcvd: "" + updates_count_sent: "955014" + uptime: "11w4d" + - accepted_paths: "52809" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65001" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "8" + conn_estab: "9" + consumed_mem: "3168540" + description: "from donkey to bing" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "463215" + keepalives_count_sent: "473697" + last_peer_reset: "11w5d" + last_peer_reset_reason: "duplicate connection request" + last_reset: "11w5d" + last_reset_reason: "holdtimer expired error" + localhost_ip: "183.124.152.216" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "171.175.146.126" + notifications_count_rcvd: "0" + notifications_count_sent: "6" + opens_count_rcvd: "1334218" + opens_count_sent: "9" + outbound_routemap: "" + remote_ip: "188.93.115.206" + remote_port: "3413" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "53204" + source_iface: "Ethernet6/1" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "169019249" + total_bytes_count_sent: "165732259" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1797442" + total_mess_count_sent: "1795086" + updates_count_rcvd: "" + updates_count_sent: "1321374" + uptime: "11w5d" + - accepted_paths: "12901" + addr_fam_adv: "IPv4 Unicast" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "65261" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "0" + conn_estab: "1" + consumed_mem: "774060" + description: "from bing to bar" + ext_nh_cap: "advertised" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "473315" + keepalives_count_sent: "462406" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "never" + last_reset_reason: "No error" + localhost_ip: "31.67.203.133" + localhost_port: "179" + nei_table_version: + - "8483941" + neighbor: "254.145.7.45" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "1067023" + opens_count_sent: "1" + outbound_routemap: "" + remote_ip: "255.45.69.45" + remote_port: "25122" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "52922" + source_iface: "Ethernet5/8" + stale_time: "300" + table_version: + - "8483941" + total_bytes_count_rcvd: "133449716" + total_bytes_count_sent: "191796776" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "1540339" + total_mess_count_sent: "1968468" + updates_count_rcvd: "" + updates_count_sent: "1506061" + uptime: "13w2d" + - accepted_paths: "2159" + addr_fam_adv: "IPv4 Unicast IPv6 Unicast L2VPN EVPN" + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + - "IPv6 Unicast" + - "L2VPN EVPN" + asn: "65272" + bgp_state: "Established" + capability_count_rcvd: "9" + capability_count_sent: "9" + conn_dropped: "2" + conn_estab: "3" + consumed_mem: "276352" + description: "" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received" + graceful_cap: "advertised received" + inbound_routemap: "" + keepalives_count_rcvd: "35845" + keepalives_count_sent: "38070" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "3w5d" + last_reset_reason: "holdtimer expired error" + localhost_ip: "187.113.144.52" + localhost_port: "42267" + nei_table_version: + - "227160" + - "4" + - "139600" + neighbor: "255.136.173.131" + notifications_count_rcvd: "0" + notifications_count_sent: "2" + opens_count_rcvd: "21260" + opens_count_sent: "3" + outbound_routemap: "" + remote_ip: "87.39.86.252" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "0" + route_refresh_count_sent: "3" + rr_new_cap: "advertised received" + rr_old_cap: "advertised received" + sent_paths: "601" + source_iface: "loopback0" + stale_time: "300" + table_version: + - "227160" + - "4" + - "139600" + total_bytes_count_rcvd: "3818154" + total_bytes_count_sent: "1212655" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "57117" + total_mess_count_sent: "42287" + updates_count_rcvd: "" + updates_count_sent: "4200" + uptime: "3w5d" diff --git a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.parsed b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.parsed deleted file mode 100644 index bb64514ff8..0000000000 --- a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.parsed +++ /dev/null @@ -1,53 +0,0 @@ -parsed_sample: -- accepted_paths: '38' - addr_fam_adv: 'IPv4 Unicast ' - addr_fam_rcv: '' - addr_family: [IPv4 Unicast] - asn: '64514' - bgp_state: Established - capability_count_rcvd: '0' - capability_count_sent: '0' - conn_dropped: '12' - conn_estab: '13' - consumed_mem: '2128' - description: '' - ext_nh_cap: advertised received - fourbyte_cap: 'advertised received ' - graceful_cap: advertised received - inbound_routemap: RM-GTT-IN - keepalives_count_rcvd: '653391' - keepalives_count_sent: '653262' - last_peer_reset: never - last_peer_reset_reason: No error - last_reset: 2d00h - last_reset_reason: bfd session down - localhost_ip: 10.20.0.1 - localhost_port: '61055' - nei_table_version: ['9374'] - neighbor: 10.20.0.2 - notifications_count_rcvd: '0' - notifications_count_sent: '0' - opens_count_rcvd: '58' - opens_count_sent: '13' - outbound_routemap: RM-GTT-OUT - remote_ip: 10.20.0.2 - remote_port: '179' - restart_time_adv: '120' - restart_time_rcv: '120' - route_refresh_count_rcvd: '2' - route_refresh_count_sent: '0' - rr_new_cap: 'advertised received ' - rr_old_cap: 'advertised received ' - sent_paths: '59' - source_iface: Ethernet1/6 - stale_time: '300' - table_version: ['9374'] - total_bytes_count_rcvd: '12419276' - total_bytes_count_sent: '12464192' - total_bytes_rcvd_queue: '0' - total_bytes_send_queue: '0' - total_mess_count_rcvd: '653464' - total_mess_count_sent: '653851' - updates_count_rcvd: '' - updates_count_sent: '576' - uptime: 2d00h diff --git a/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.yml b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.yml new file mode 100644 index 0000000000..f99bfb495b --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp_neighbors/cisco_nxos_show_ip_bgp_neighbors_with_policy_names.yml @@ -0,0 +1,57 @@ +--- +parsed_sample: + - accepted_paths: "38" + addr_fam_adv: "IPv4 Unicast " + addr_fam_rcv: "" + addr_family: + - "IPv4 Unicast" + asn: "64514" + bgp_state: "Established" + capability_count_rcvd: "0" + capability_count_sent: "0" + conn_dropped: "12" + conn_estab: "13" + consumed_mem: "2128" + description: "" + ext_nh_cap: "advertised received" + fourbyte_cap: "advertised received " + graceful_cap: "advertised received" + inbound_routemap: "RM-GTT-IN" + keepalives_count_rcvd: "653391" + keepalives_count_sent: "653262" + last_peer_reset: "never" + last_peer_reset_reason: "No error" + last_reset: "2d00h" + last_reset_reason: "bfd session down" + localhost_ip: "10.20.0.1" + localhost_port: "61055" + nei_table_version: + - "9374" + neighbor: "10.20.0.2" + notifications_count_rcvd: "0" + notifications_count_sent: "0" + opens_count_rcvd: "58" + opens_count_sent: "13" + outbound_routemap: "RM-GTT-OUT" + remote_ip: "10.20.0.2" + remote_port: "179" + restart_time_adv: "120" + restart_time_rcv: "120" + route_refresh_count_rcvd: "2" + route_refresh_count_sent: "0" + rr_new_cap: "advertised received " + rr_old_cap: "advertised received " + sent_paths: "59" + source_iface: "Ethernet1/6" + stale_time: "300" + table_version: + - "9374" + total_bytes_count_rcvd: "12419276" + total_bytes_count_sent: "12464192" + total_bytes_rcvd_queue: "0" + total_bytes_send_queue: "0" + total_mess_count_rcvd: "653464" + total_mess_count_sent: "653851" + updates_count_rcvd: "" + updates_count_sent: "576" + uptime: "2d00h" diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.parsed b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml similarity index 99% rename from tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.parsed rename to tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml index 7cd3f1ffd5..f7933948fb 100644 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.parsed +++ b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml @@ -1,5 +1,5 @@ --- -parsed_sample: +parsed_sample: - router_id: "2.2.2.3" local_as: "102" vrf: "default" diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.parsed b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.yml similarity index 100% rename from tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.parsed rename to tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.yml diff --git a/tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.parsed b/tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.yml similarity index 51% rename from tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.parsed rename to tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.yml index ea081cfb27..0285736616 100644 --- a/tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.parsed +++ b/tests/cisco_nxos/show_ip_community-list/cisco_nxos_show_ip_community-list.yml @@ -2,42 +2,54 @@ parsed_sample: - type: "Expanded" name: "ROUTES_CL1" - seq: '1' + seq: "1" action: "permit" - as: ["11111"] - tag: ["10000"] + as: + - "11111" + tag: + - "10000" community: "" - type: "Standard" name: "ROUTES_CL2" - seq: '1' - action: "permit" - as: ["11111"] - tag: ["10000"] + seq: "1" + action: "permit" + as: + - "11111" + tag: + - "10000" community: "" - type: "Standard" name: "ROUTES_CL2" - seq: '2' - action: "permit" - as: ["22222"] - tag: ["10000"] + seq: "2" + action: "permit" + as: + - "22222" + tag: + - "10000" community: "" - type: "Standard" name: "ROUTES_CL2" - seq: '3' - action: "permit" - as: ["33333"] - tag: ["10000"] + seq: "3" + action: "permit" + as: + - "33333" + tag: + - "10000" community: "" - type: "Standard" name: "ROUTES_CL2" - seq: '4' - action: "permit" - as: ["44444", "55555"] - tag: ["10000", "10005"] + seq: "4" + action: "permit" + as: + - "44444" + - "55555" + tag: + - "10000" + - "10005" community: "no-export" - type: "Standard" name: "ROUTES_CL2" - seq: '5' + seq: "5" action: "deny" as: [] tag: [] diff --git a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.parsed b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.parsed deleted file mode 100644 index 26eefce933..0000000000 --- a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.parsed +++ /dev/null @@ -1,14 +0,0 @@ ---- -parsed_sample: -- interface: "Vlan100" - relay_address: "10.40.15.152" - -- interface: "Vlan100" - relay_address: "10.40.10.162" - -- interface: "Vlan200" - relay_address: "10.40.15.152" - -- interface: "Vlan200" - relay_address: "10.40.10.162" - diff --git a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml new file mode 100644 index 0000000000..ae737595c6 --- /dev/null +++ b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - interface: "Vlan100" + relay_address: "10.40.15.152" + - interface: "Vlan100" + relay_address: "10.40.10.162" + - interface: "Vlan200" + relay_address: "10.40.15.152" + - interface: "Vlan200" + relay_address: "10.40.10.162" diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.parsed b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.parsed deleted file mode 100644 index 6eadc83cb3..0000000000 --- a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.parsed +++ /dev/null @@ -1,37 +0,0 @@ ---- -parsed_sample: -- intf: Eth1/1 - ipaddr: 10.1.1.11 - link: link-down - proto: protocol-down - status: admin-up -- intf: Eth1/2 - ipaddr: 10.1.1.12 - link: link-up - proto: protocol-up - status: admin-up -- intf: Eth1/3 - ipaddr: 10.1.1.13 - link: link-up - proto: protocol-up - status: admin-up -- intf: Eth1/4 - ipaddr: 10.1.1.14 - link: link-up - proto: protocol-up - status: admin-up -- intf: Eth1/5 - ipaddr: 10.1.1.15 - link: link-up - proto: protocol-up - status: admin-up -- intf: Eth1/6 - ipaddr: 10.1.1.16 - link: link-down - proto: protocol-down - status: admin-up -- intf: Eth1/7 - ipaddr: 10.1.1.17 - link: link-down - proto: protocol-down - status: admin-up diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml new file mode 100644 index 0000000000..28828300ad --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml @@ -0,0 +1,37 @@ +--- +parsed_sample: + - intf: "Eth1/1" + ipaddr: "10.1.1.11" + link: "link-down" + proto: "protocol-down" + status: "admin-up" + - intf: "Eth1/2" + ipaddr: "10.1.1.12" + link: "link-up" + proto: "protocol-up" + status: "admin-up" + - intf: "Eth1/3" + ipaddr: "10.1.1.13" + link: "link-up" + proto: "protocol-up" + status: "admin-up" + - intf: "Eth1/4" + ipaddr: "10.1.1.14" + link: "link-up" + proto: "protocol-up" + status: "admin-up" + - intf: "Eth1/5" + ipaddr: "10.1.1.15" + link: "link-up" + proto: "protocol-up" + status: "admin-up" + - intf: "Eth1/6" + ipaddr: "10.1.1.16" + link: "link-down" + proto: "protocol-down" + status: "admin-up" + - intf: "Eth1/7" + ipaddr: "10.1.1.17" + link: "link-down" + proto: "protocol-down" + status: "admin-up" diff --git a/tests/cisco_nxos/show_ip_ospf_database/cisco_nxos_show_ip_ospf_database.parsed b/tests/cisco_nxos/show_ip_ospf_database/cisco_nxos_show_ip_ospf_database.parsed deleted file mode 100644 index d7d9ba7c8c..0000000000 --- a/tests/cisco_nxos/show_ip_ospf_database/cisco_nxos_show_ip_ospf_database.parsed +++ /dev/null @@ -1,91 +0,0 @@ ---- -parsed_sample: - -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '40.40.40.40' - adv_router: '40.40.40.40' - age: '930' - link_count: '3' - tag: '' -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '50.50.50.50' - adv_router: '50.50.50.50' - age: '935' - link_count: '1' - tag: '' -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '60.60.60.60' - adv_router: '60.60.60.60' - age: '943' - link_count: '2' - tag: '' -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '209.165.201.3' - adv_router: '60.60.60.60' - age: '944' - link_count: '' - tag: '' -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '192.0.2.1' - adv_router: '50.50.50.50' - age: '935' - link_count: '' - tag: '' -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '209.165.201.1' - adv_router: '40.40.40.40' - age: '929' - link_count: '' - tag: '' -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '209.165.201.1' - adv_router: '50.50.50.50' - age: '928' - link_count: '' - tag: '' -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '209.165.201.1' - adv_router: '60.60.60.60' - age: '1265' - link_count: '' - tag: '' -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '192.0.2.0' - adv_router: '40.40.40.40' - age: '943' - link_count: '' - tag: '' -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '192.0.2.0' - adv_router: '50.50.50.50' - age: '935' - link_count: '' - tag: '' -- router_id: '50.50.50.50' - process_id: 'p1' - area: '0' - link_id: '192.0.2.0' - adv_router: '60.60.60.60' - age: '930' - link_count: '' - tag: '' \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_ospf_database/cisco_nxos_show_ip_ospf_database.yml b/tests/cisco_nxos/show_ip_ospf_database/cisco_nxos_show_ip_ospf_database.yml new file mode 100644 index 0000000000..0665c84348 --- /dev/null +++ b/tests/cisco_nxos/show_ip_ospf_database/cisco_nxos_show_ip_ospf_database.yml @@ -0,0 +1,90 @@ +--- +parsed_sample: + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "40.40.40.40" + adv_router: "40.40.40.40" + age: "930" + link_count: "3" + tag: "" + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "50.50.50.50" + adv_router: "50.50.50.50" + age: "935" + link_count: "1" + tag: "" + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "60.60.60.60" + adv_router: "60.60.60.60" + age: "943" + link_count: "2" + tag: "" + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "209.165.201.3" + adv_router: "60.60.60.60" + age: "944" + link_count: "" + tag: "" + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "192.0.2.1" + adv_router: "50.50.50.50" + age: "935" + link_count: "" + tag: "" + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "209.165.201.1" + adv_router: "40.40.40.40" + age: "929" + link_count: "" + tag: "" + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "209.165.201.1" + adv_router: "50.50.50.50" + age: "928" + link_count: "" + tag: "" + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "209.165.201.1" + adv_router: "60.60.60.60" + age: "1265" + link_count: "" + tag: "" + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "192.0.2.0" + adv_router: "40.40.40.40" + age: "943" + link_count: "" + tag: "" + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "192.0.2.0" + adv_router: "50.50.50.50" + age: "935" + link_count: "" + tag: "" + - router_id: "50.50.50.50" + process_id: "p1" + area: "0" + link_id: "192.0.2.0" + adv_router: "60.60.60.60" + age: "930" + link_count: "" + tag: "" diff --git a/tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.parsed b/tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml similarity index 100% rename from tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.parsed rename to tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed deleted file mode 100644 index 8d86e31bc9..0000000000 --- a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.parsed +++ /dev/null @@ -1,557 +0,0 @@ ---- -parsed_sample: - - vrf: 'default' - distance: '1' - encap: '' - mask: '0' - metric: '0' - network: 0.0.0.0 - nexthop_if: '' - nexthop_ip: 10.1.100.1 - nexthop_vrf: management - protocol: static - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d02h - - vrf: 'default' - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.1 - nexthop_if: Lo1 - nexthop_ip: 1.1.1.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d00h - - vrf: 'default' - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.1 - nexthop_if: Lo1 - nexthop_ip: 1.1.1.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d00h - - vrf: 'default' - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.10 - nexthop_if: Lo10 - nexthop_ip: 1.1.1.10 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1w12h - - vrf: 'default' - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.10 - nexthop_if: Lo10 - nexthop_ip: 1.1.1.10 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1w12h - - vrf: 'default' - distance: '110' - encap: '' - mask: '32' - metric: '3' - network: 2.2.2.2 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - - vrf: 'default' - distance: '110' - encap: '' - mask: '32' - metric: '3' - network: 2.2.2.2 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - - vrf: 'default' - distance: '110' - encap: '' - mask: '32' - metric: '4' - network: 3.3.3.3 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - - vrf: 'default' - distance: '110' - encap: '' - mask: '32' - metric: '4' - network: 3.3.3.3 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - - vrf: 'default' - distance: '110' - encap: '' - mask: '32' - metric: '2' - network: 4.4.4.4 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - - vrf: 'default' - distance: '110' - encap: '' - mask: '32' - metric: '2' - network: 4.4.4.4 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - - vrf: 'default' - distance: '1' - encap: '' - mask: '32' - metric: '0' - network: 7.7.7.7 - nexthop_if: '' - nexthop_ip: 10.10.50.1 - nexthop_vrf: '' - protocol: static - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1d21h - - vrf: 'default' - distance: '1' - encap: '' - mask: '32' - metric: '0' - network: 8.8.8.8 - nexthop_if: Vlan1220 - nexthop_ip: 10.66.120.1 - nexthop_vrf: '' - protocol: static - segid: '' - tag: '100' - tunnelid: '' - type: '' - uptime: 00:00:01 - - vrf: 'default' - distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth1/1 - nexthop_ip: 10.24.1.74 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 4w4d - - vrf: 'default' - distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth1/3 - nexthop_ip: 10.24.2.76 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 4w4d - - vrf: 'default' - distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth2/11 - nexthop_ip: 10.24.2.154 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 3w4d - - vrf: 'default' - distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth1/1 - nexthop_ip: 10.24.1.74 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 4w4d - - vrf: 'default' - distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth1/3 - nexthop_ip: 10.24.2.76 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 4w4d - - vrf: 'default' - distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth2/11 - nexthop_ip: 10.24.2.154 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 3w4d - - vrf: 'default' - distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.10.0 - nexthop_if: Vlan5 - nexthop_ip: 10.10.10.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d18h - - vrf: 'default' - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.10.1 - nexthop_if: Vlan5 - nexthop_ip: 10.10.10.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d18h - - vrf: 'default' - distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.30.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - - vrf: 'default' - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.30.1 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - - vrf: 'default' - distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.40.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - - vrf: 'default' - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.40.1 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - - vrf: 'default' - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.50.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - - vrf: 'default' - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.50.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - - vrf: 'default' - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.60.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - - vrf: 'default' - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.60.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - - vrf: 'default' - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.70.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - - vrf: 'default' - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.70.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - - vrf: 'default' - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.80.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - - vrf: 'default' - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.80.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - - vrf: 'default' - distance: '220' - encap: '' - mask: '21' - metric: '10' - network: 10.71.0.0 - nexthop_if: Null0 - nexthop_ip: '' - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 2y49w - - vrf: 'default' - distance: '150' - encap: VXLAN - mask: '16' - metric: '51712' - network: 10.151.0.0 - nexthop_if: '' - nexthop_ip: 172.24.0.240 - nexthop_vrf: default - protocol: bgp-65004 - segid: '10000' - tag: 65004 (evpn) - tunnelid: '0xac1800f0' - type: internal - uptime: 3d17h - - vrf: 'default' - distance: '110' - encap: '' - mask: '29' - metric: '10' - network: 10.218.139.240 - nexthop_if: Po1 - nexthop_ip: 10.62.2.30 - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '888' - tunnelid: '' - type: type-2 - uptime: '0.000000' - - vrf: 'default' - distance: '110' - encap: '' - mask: '29' - metric: '10' - network: 10.218.139.240 - nexthop_if: Po1 - nexthop_ip: 10.62.2.34 - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '888' - tunnelid: '' - type: type-2 - uptime: '0.000000' diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.yml new file mode 100644 index 0000000000..1fac0d93f9 --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.yml @@ -0,0 +1,557 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "static" + type: "" + network: "0.0.0.0" + mask: "0" + distance: "1" + metric: "0" + nexthop_ip: "10.1.100.1" + nexthop_if: "" + uptime: "6d02h" + nexthop_vrf: "management" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "local" + type: "" + network: "1.1.1.1" + mask: "32" + distance: "0" + metric: "0" + nexthop_ip: "1.1.1.1" + nexthop_if: "Lo1" + uptime: "6d00h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "direct" + type: "" + network: "1.1.1.1" + mask: "32" + distance: "0" + metric: "0" + nexthop_ip: "1.1.1.1" + nexthop_if: "Lo1" + uptime: "6d00h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "local" + type: "" + network: "1.1.1.10" + mask: "32" + distance: "0" + metric: "0" + nexthop_ip: "1.1.1.10" + nexthop_if: "Lo10" + uptime: "1w12h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "direct" + type: "" + network: "1.1.1.10" + mask: "32" + distance: "0" + metric: "0" + nexthop_ip: "1.1.1.10" + nexthop_if: "Lo10" + uptime: "1w12h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "2.2.2.2" + mask: "32" + distance: "110" + metric: "3" + nexthop_ip: "10.10.30.2" + nexthop_if: "Eth2/2" + uptime: "5d18h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "2.2.2.2" + mask: "32" + distance: "110" + metric: "3" + nexthop_ip: "10.10.40.2" + nexthop_if: "Eth2/4" + uptime: "5d18h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "3.3.3.3" + mask: "32" + distance: "110" + metric: "4" + nexthop_ip: "10.10.30.2" + nexthop_if: "Eth2/2" + uptime: "5d18h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "3.3.3.3" + mask: "32" + distance: "110" + metric: "4" + nexthop_ip: "10.10.40.2" + nexthop_if: "Eth2/4" + uptime: "5d18h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "4.4.4.4" + mask: "32" + distance: "110" + metric: "2" + nexthop_ip: "10.10.30.2" + nexthop_if: "Eth2/2" + uptime: "5d23h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "4.4.4.4" + mask: "32" + distance: "110" + metric: "2" + nexthop_ip: "10.10.40.2" + nexthop_if: "Eth2/4" + uptime: "5d23h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "static" + type: "" + network: "7.7.7.7" + mask: "32" + distance: "1" + metric: "0" + nexthop_ip: "10.10.50.1" + nexthop_if: "" + uptime: "1d21h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "static" + type: "" + network: "8.8.8.8" + mask: "32" + distance: "1" + metric: "0" + nexthop_ip: "10.66.120.1" + nexthop_if: "Vlan1220" + uptime: "00:00:01" + nexthop_vrf: "" + tag: "100" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "eigrp-NAMED" + type: "external" + network: "10.0.255.1" + mask: "32" + distance: "170" + metric: "51712" + nexthop_ip: "10.24.1.74" + nexthop_if: "Eth1/1" + uptime: "4w4d" + nexthop_vrf: "" + tag: "65422" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "eigrp-NAMED" + type: "external" + network: "10.0.255.1" + mask: "32" + distance: "170" + metric: "51712" + nexthop_ip: "10.24.2.76" + nexthop_if: "Eth1/3" + uptime: "4w4d" + nexthop_vrf: "" + tag: "65422" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "eigrp-NAMED" + type: "external" + network: "10.0.255.1" + mask: "32" + distance: "170" + metric: "51712" + nexthop_ip: "10.24.2.154" + nexthop_if: "Eth2/11" + uptime: "3w4d" + nexthop_vrf: "" + tag: "65422" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "eigrp-NAMED" + type: "external" + network: "10.1.17.128" + mask: "25" + distance: "170" + metric: "3072" + nexthop_ip: "10.24.1.74" + nexthop_if: "Eth1/1" + uptime: "4w4d" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "eigrp-NAMED" + type: "external" + network: "10.1.17.128" + mask: "25" + distance: "170" + metric: "3072" + nexthop_ip: "10.24.2.76" + nexthop_if: "Eth1/3" + uptime: "4w4d" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "eigrp-NAMED" + type: "external" + network: "10.1.17.128" + mask: "25" + distance: "170" + metric: "3072" + nexthop_ip: "10.24.2.154" + nexthop_if: "Eth2/11" + uptime: "3w4d" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "direct" + type: "" + network: "10.10.10.0" + mask: "24" + distance: "0" + metric: "0" + nexthop_ip: "10.10.10.1" + nexthop_if: "Vlan5" + uptime: "5d18h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "local" + type: "" + network: "10.10.10.1" + mask: "32" + distance: "0" + metric: "0" + nexthop_ip: "10.10.10.1" + nexthop_if: "Vlan5" + uptime: "5d18h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "direct" + type: "" + network: "10.10.30.0" + mask: "24" + distance: "0" + metric: "0" + nexthop_ip: "10.10.30.1" + nexthop_if: "Eth2/2" + uptime: "5d23h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "local" + type: "" + network: "10.10.30.1" + mask: "32" + distance: "0" + metric: "0" + nexthop_ip: "10.10.30.1" + nexthop_if: "Eth2/2" + uptime: "5d23h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "direct" + type: "" + network: "10.10.40.0" + mask: "24" + distance: "0" + metric: "0" + nexthop_ip: "10.10.40.1" + nexthop_if: "Eth2/4" + uptime: "5d23h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "local" + type: "" + network: "10.10.40.1" + mask: "32" + distance: "0" + metric: "0" + nexthop_ip: "10.10.40.1" + nexthop_if: "Eth2/4" + uptime: "5d23h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "10.10.50.0" + mask: "24" + distance: "110" + metric: "3" + nexthop_ip: "10.10.30.2" + nexthop_if: "Eth2/2" + uptime: "5d18h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "10.10.50.0" + mask: "24" + distance: "110" + metric: "3" + nexthop_ip: "10.10.40.2" + nexthop_if: "Eth2/4" + uptime: "5d18h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "10.10.60.0" + mask: "24" + distance: "110" + metric: "3" + nexthop_ip: "10.10.30.2" + nexthop_if: "Eth2/2" + uptime: "5d18h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "10.10.60.0" + mask: "24" + distance: "110" + metric: "3" + nexthop_ip: "10.10.40.2" + nexthop_if: "Eth2/4" + uptime: "5d18h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "10.10.70.0" + mask: "24" + distance: "110" + metric: "2" + nexthop_ip: "10.10.30.2" + nexthop_if: "Eth2/2" + uptime: "5d23h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "10.10.70.0" + mask: "24" + distance: "110" + metric: "2" + nexthop_ip: "10.10.40.2" + nexthop_if: "Eth2/4" + uptime: "5d23h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "10.10.80.0" + mask: "24" + distance: "110" + metric: "2" + nexthop_ip: "10.10.30.2" + nexthop_if: "Eth2/2" + uptime: "5d23h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-10" + type: "intra" + network: "10.10.80.0" + mask: "24" + distance: "110" + metric: "2" + nexthop_ip: "10.10.40.2" + nexthop_if: "Eth2/4" + uptime: "5d23h" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-1" + type: "" + network: "10.71.0.0" + mask: "21" + distance: "220" + metric: "10" + nexthop_ip: "" + nexthop_if: "Null0" + uptime: "2y49w" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "bgp-65004" + type: "internal" + network: "10.151.0.0" + mask: "16" + distance: "150" + metric: "51712" + nexthop_ip: "172.24.0.240" + nexthop_if: "" + uptime: "3d17h" + nexthop_vrf: "default" + tag: "65004 (evpn)" + segid: "10000" + tunnelid: "0xac1800f0" + encap: "VXLAN" + - vrf: "default" + protocol: "ospf-1" + type: "type-2" + network: "10.218.139.240" + mask: "29" + distance: "110" + metric: "10" + nexthop_ip: "10.62.2.30" + nexthop_if: "Po1" + uptime: "0.000000" + nexthop_vrf: "" + tag: "888" + segid: "" + tunnelid: "" + encap: "" + - vrf: "default" + protocol: "ospf-1" + type: "type-2" + network: "10.218.139.240" + mask: "29" + distance: "110" + metric: "10" + nexthop_ip: "10.62.2.34" + nexthop_if: "Po1" + uptime: "0.000000" + nexthop_vrf: "" + tag: "888" + segid: "" + tunnelid: "" + encap: "" diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed deleted file mode 100644 index abf32f57cf..0000000000 --- a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.parsed +++ /dev/null @@ -1,1112 +0,0 @@ ---- -parsed_sample: - - distance: '1' - encap: '' - mask: '0' - metric: '0' - network: 0.0.0.0 - nexthop_if: '' - nexthop_ip: 10.1.100.1 - nexthop_vrf: management - protocol: static - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d02h - vrf: default - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.1 - nexthop_if: Lo1 - nexthop_ip: 1.1.1.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d00h - vrf: default - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.1 - nexthop_if: Lo1 - nexthop_ip: 1.1.1.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d00h - vrf: default - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.10 - nexthop_if: Lo10 - nexthop_ip: 1.1.1.10 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1w12h - vrf: default - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.10 - nexthop_if: Lo10 - nexthop_ip: 1.1.1.10 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1w12h - vrf: default - - distance: '110' - encap: '' - mask: '32' - metric: '3' - network: 2.2.2.2 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: default - - distance: '110' - encap: '' - mask: '32' - metric: '3' - network: 2.2.2.2 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: default - - distance: '110' - encap: '' - mask: '32' - metric: '4' - network: 3.3.3.3 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: default - - distance: '110' - encap: '' - mask: '32' - metric: '4' - network: 3.3.3.3 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: default - - distance: '110' - encap: '' - mask: '32' - metric: '2' - network: 4.4.4.4 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: default - - distance: '110' - encap: '' - mask: '32' - metric: '2' - network: 4.4.4.4 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: default - - distance: '1' - encap: '' - mask: '32' - metric: '0' - network: 7.7.7.7 - nexthop_if: '' - nexthop_ip: 10.10.50.1 - nexthop_vrf: '' - protocol: static - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1d21h - vrf: default - - distance: '1' - encap: '' - mask: '32' - metric: '0' - network: 8.8.8.8 - nexthop_if: Vlan1220 - nexthop_ip: 10.66.120.1 - nexthop_vrf: '' - protocol: static - segid: '' - tag: '100' - tunnelid: '' - type: '' - uptime: 00:00:01 - vrf: default - - distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth1/1 - nexthop_ip: 10.24.1.74 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 4w4d - vrf: default - - distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth1/3 - nexthop_ip: 10.24.2.76 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 4w4d - vrf: default - - distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth2/11 - nexthop_ip: 10.24.2.154 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 3w4d - vrf: default - - distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth1/1 - nexthop_ip: 10.24.1.74 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 4w4d - vrf: default - - distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth1/3 - nexthop_ip: 10.24.2.76 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 4w4d - vrf: default - - distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth2/11 - nexthop_ip: 10.24.2.154 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 3w4d - vrf: default - - distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.10.0 - nexthop_if: Vlan5 - nexthop_ip: 10.10.10.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d18h - vrf: default - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.10.1 - nexthop_if: Vlan5 - nexthop_ip: 10.10.10.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d18h - vrf: default - - distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.30.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - vrf: default - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.30.1 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - vrf: default - - distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.40.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - vrf: default - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.40.1 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - vrf: default - - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.50.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: default - - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.50.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: default - - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.60.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: default - - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.60.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: default - - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.70.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: default - - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.70.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: default - - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.80.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: default - - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.80.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: default - - distance: '220' - encap: '' - mask: '21' - metric: '10' - network: 10.71.0.0 - nexthop_if: Null0 - nexthop_ip: '' - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 2y49w - vrf: default - - distance: '150' - encap: VXLAN - mask: '16' - metric: '51712' - network: 10.151.0.0 - nexthop_if: '' - nexthop_ip: 172.24.0.240 - nexthop_vrf: default - protocol: bgp-65004 - segid: '10000' - tag: 65004 (evpn) - tunnelid: '0xac1800f0' - type: internal - uptime: 3d17h - vrf: default - - distance: '110' - encap: '' - mask: '29' - metric: '10' - network: 10.218.139.240 - nexthop_if: Po1 - nexthop_ip: 10.62.2.30 - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '888' - tunnelid: '' - type: type-2 - uptime: '0.000000' - vrf: default - - distance: '110' - encap: '' - mask: '29' - metric: '10' - network: 10.218.139.240 - nexthop_if: Po1 - nexthop_ip: 10.62.2.34 - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '888' - tunnelid: '' - type: type-2 - uptime: '0.000000' - vrf: default - - distance: '1' - encap: '' - mask: '0' - metric: '0' - network: 0.0.0.0 - nexthop_if: '' - nexthop_ip: 10.1.100.1 - nexthop_vrf: management - protocol: static - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d02h - vrf: RED - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.1 - nexthop_if: Lo1 - nexthop_ip: 1.1.1.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d00h - vrf: RED - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.1 - nexthop_if: Lo1 - nexthop_ip: 1.1.1.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 6d00h - vrf: RED - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.10 - nexthop_if: Lo10 - nexthop_ip: 1.1.1.10 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1w12h - vrf: RED - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 1.1.1.10 - nexthop_if: Lo10 - nexthop_ip: 1.1.1.10 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1w12h - vrf: RED - - distance: '110' - encap: '' - mask: '32' - metric: '3' - network: 2.2.2.2 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: RED - - distance: '110' - encap: '' - mask: '32' - metric: '3' - network: 2.2.2.2 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: RED - - distance: '110' - encap: '' - mask: '32' - metric: '4' - network: 3.3.3.3 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: RED - - distance: '110' - encap: '' - mask: '32' - metric: '4' - network: 3.3.3.3 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: RED - - distance: '110' - encap: '' - mask: '32' - metric: '2' - network: 4.4.4.4 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: RED - - distance: '110' - encap: '' - mask: '32' - metric: '2' - network: 4.4.4.4 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: RED - - distance: '1' - encap: '' - mask: '32' - metric: '0' - network: 7.7.7.7 - nexthop_if: '' - nexthop_ip: 10.10.50.1 - nexthop_vrf: '' - protocol: static - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 1d21h - vrf: RED - - distance: '1' - encap: '' - mask: '32' - metric: '0' - network: 8.8.8.8 - nexthop_if: Vlan1220 - nexthop_ip: 10.66.120.1 - nexthop_vrf: '' - protocol: static - segid: '' - tag: '100' - tunnelid: '' - type: '' - uptime: 00:00:01 - vrf: RED - - distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth1/1 - nexthop_ip: 10.24.1.74 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 4w4d - vrf: RED - - distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth1/3 - nexthop_ip: 10.24.2.76 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 4w4d - vrf: RED - - distance: '170' - encap: '' - mask: '32' - metric: '51712' - network: 10.0.255.1 - nexthop_if: Eth2/11 - nexthop_ip: 10.24.2.154 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '65422' - tunnelid: '' - type: external - uptime: 3w4d - vrf: RED - - distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth1/1 - nexthop_ip: 10.24.1.74 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 4w4d - vrf: RED - - distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth1/3 - nexthop_ip: 10.24.2.76 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 4w4d - vrf: RED - - distance: '170' - encap: '' - mask: '25' - metric: '3072' - network: 10.1.17.128 - nexthop_if: Eth2/11 - nexthop_ip: 10.24.2.154 - nexthop_vrf: '' - protocol: eigrp-NAMED - segid: '' - tag: '' - tunnelid: '' - type: external - uptime: 3w4d - vrf: RED - - distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.10.0 - nexthop_if: Vlan5 - nexthop_ip: 10.10.10.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d18h - vrf: RED - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.10.1 - nexthop_if: Vlan5 - nexthop_ip: 10.10.10.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d18h - vrf: RED - - distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.30.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - vrf: RED - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.30.1 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - vrf: RED - - distance: '0' - encap: '' - mask: '24' - metric: '0' - network: 10.10.40.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.1 - nexthop_vrf: '' - protocol: direct - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - vrf: RED - - distance: '0' - encap: '' - mask: '32' - metric: '0' - network: 10.10.40.1 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.1 - nexthop_vrf: '' - protocol: local - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 5d23h - vrf: RED - - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.50.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: RED - - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.50.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: RED - - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.60.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: RED - - distance: '110' - encap: '' - mask: '24' - metric: '3' - network: 10.10.60.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d18h - vrf: RED - - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.70.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: RED - - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.70.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: RED - - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.80.0 - nexthop_if: Eth2/2 - nexthop_ip: 10.10.30.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: RED - - distance: '110' - encap: '' - mask: '24' - metric: '2' - network: 10.10.80.0 - nexthop_if: Eth2/4 - nexthop_ip: 10.10.40.2 - nexthop_vrf: '' - protocol: ospf-10 - segid: '' - tag: '' - tunnelid: '' - type: intra - uptime: 5d23h - vrf: RED - - distance: '220' - encap: '' - mask: '21' - metric: '10' - network: 10.71.0.0 - nexthop_if: Null0 - nexthop_ip: '' - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '' - tunnelid: '' - type: '' - uptime: 2y49w - vrf: RED - - distance: '150' - encap: VXLAN - mask: '16' - metric: '51712' - network: 10.151.0.0 - nexthop_if: '' - nexthop_ip: 172.24.0.240 - nexthop_vrf: default - protocol: bgp-65004 - segid: '10000' - tag: 65004 (evpn) - tunnelid: '0xac1800f0' - type: internal - uptime: 3d17h - vrf: RED - - distance: '110' - encap: '' - mask: '29' - metric: '10' - network: 10.218.139.240 - nexthop_if: Po1 - nexthop_ip: 10.62.2.30 - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '888' - tunnelid: '' - type: type-2 - uptime: '0.000000' - vrf: RED - - distance: '110' - encap: '' - mask: '29' - metric: '10' - network: 10.218.139.240 - nexthop_if: Po1 - nexthop_ip: 10.62.2.34 - nexthop_vrf: '' - protocol: ospf-1 - segid: '' - tag: '888' - tunnelid: '' - type: type-2 - uptime: '0.000000' - vrf: RED diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.yml new file mode 100644 index 0000000000..54553bf5c1 --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.yml @@ -0,0 +1,1112 @@ +--- +parsed_sample: + - distance: "1" + encap: "" + mask: "0" + metric: "0" + network: "0.0.0.0" + nexthop_if: "" + nexthop_ip: "10.1.100.1" + nexthop_vrf: "management" + protocol: "static" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "6d02h" + vrf: "default" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "1.1.1.1" + nexthop_if: "Lo1" + nexthop_ip: "1.1.1.1" + nexthop_vrf: "" + protocol: "local" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "6d00h" + vrf: "default" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "1.1.1.1" + nexthop_if: "Lo1" + nexthop_ip: "1.1.1.1" + nexthop_vrf: "" + protocol: "direct" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "6d00h" + vrf: "default" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "1.1.1.10" + nexthop_if: "Lo10" + nexthop_ip: "1.1.1.10" + nexthop_vrf: "" + protocol: "local" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "1w12h" + vrf: "default" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "1.1.1.10" + nexthop_if: "Lo10" + nexthop_ip: "1.1.1.10" + nexthop_vrf: "" + protocol: "direct" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "1w12h" + vrf: "default" + - distance: "110" + encap: "" + mask: "32" + metric: "3" + network: "2.2.2.2" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" + mask: "32" + metric: "3" + network: "2.2.2.2" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" + mask: "32" + metric: "4" + network: "3.3.3.3" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" + mask: "32" + metric: "4" + network: "3.3.3.3" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" + mask: "32" + metric: "2" + network: "4.4.4.4" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "default" + - distance: "110" + encap: "" + mask: "32" + metric: "2" + network: "4.4.4.4" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "default" + - distance: "1" + encap: "" + mask: "32" + metric: "0" + network: "7.7.7.7" + nexthop_if: "" + nexthop_ip: "10.10.50.1" + nexthop_vrf: "" + protocol: "static" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "1d21h" + vrf: "default" + - distance: "1" + encap: "" + mask: "32" + metric: "0" + network: "8.8.8.8" + nexthop_if: "Vlan1220" + nexthop_ip: "10.66.120.1" + nexthop_vrf: "" + protocol: "static" + segid: "" + tag: "100" + tunnelid: "" + type: "" + uptime: "00:00:01" + vrf: "default" + - distance: "170" + encap: "" + mask: "32" + metric: "51712" + network: "10.0.255.1" + nexthop_if: "Eth1/1" + nexthop_ip: "10.24.1.74" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "65422" + tunnelid: "" + type: "external" + uptime: "4w4d" + vrf: "default" + - distance: "170" + encap: "" + mask: "32" + metric: "51712" + network: "10.0.255.1" + nexthop_if: "Eth1/3" + nexthop_ip: "10.24.2.76" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "65422" + tunnelid: "" + type: "external" + uptime: "4w4d" + vrf: "default" + - distance: "170" + encap: "" + mask: "32" + metric: "51712" + network: "10.0.255.1" + nexthop_if: "Eth2/11" + nexthop_ip: "10.24.2.154" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "65422" + tunnelid: "" + type: "external" + uptime: "3w4d" + vrf: "default" + - distance: "170" + encap: "" + mask: "25" + metric: "3072" + network: "10.1.17.128" + nexthop_if: "Eth1/1" + nexthop_ip: "10.24.1.74" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "" + tunnelid: "" + type: "external" + uptime: "4w4d" + vrf: "default" + - distance: "170" + encap: "" + mask: "25" + metric: "3072" + network: "10.1.17.128" + nexthop_if: "Eth1/3" + nexthop_ip: "10.24.2.76" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "" + tunnelid: "" + type: "external" + uptime: "4w4d" + vrf: "default" + - distance: "170" + encap: "" + mask: "25" + metric: "3072" + network: "10.1.17.128" + nexthop_if: "Eth2/11" + nexthop_ip: "10.24.2.154" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "" + tunnelid: "" + type: "external" + uptime: "3w4d" + vrf: "default" + - distance: "0" + encap: "" + mask: "24" + metric: "0" + network: "10.10.10.0" + nexthop_if: "Vlan5" + nexthop_ip: "10.10.10.1" + nexthop_vrf: "" + protocol: "direct" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d18h" + vrf: "default" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "10.10.10.1" + nexthop_if: "Vlan5" + nexthop_ip: "10.10.10.1" + nexthop_vrf: "" + protocol: "local" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d18h" + vrf: "default" + - distance: "0" + encap: "" + mask: "24" + metric: "0" + network: "10.10.30.0" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.1" + nexthop_vrf: "" + protocol: "direct" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d23h" + vrf: "default" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "10.10.30.1" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.1" + nexthop_vrf: "" + protocol: "local" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d23h" + vrf: "default" + - distance: "0" + encap: "" + mask: "24" + metric: "0" + network: "10.10.40.0" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.1" + nexthop_vrf: "" + protocol: "direct" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d23h" + vrf: "default" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "10.10.40.1" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.1" + nexthop_vrf: "" + protocol: "local" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d23h" + vrf: "default" + - distance: "110" + encap: "" + mask: "24" + metric: "3" + network: "10.10.50.0" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" + mask: "24" + metric: "3" + network: "10.10.50.0" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" + mask: "24" + metric: "3" + network: "10.10.60.0" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" + mask: "24" + metric: "3" + network: "10.10.60.0" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" + mask: "24" + metric: "2" + network: "10.10.70.0" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "default" + - distance: "110" + encap: "" + mask: "24" + metric: "2" + network: "10.10.70.0" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "default" + - distance: "110" + encap: "" + mask: "24" + metric: "2" + network: "10.10.80.0" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "default" + - distance: "110" + encap: "" + mask: "24" + metric: "2" + network: "10.10.80.0" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "default" + - distance: "220" + encap: "" + mask: "21" + metric: "10" + network: "10.71.0.0" + nexthop_if: "Null0" + nexthop_ip: "" + nexthop_vrf: "" + protocol: "ospf-1" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "2y49w" + vrf: "default" + - distance: "150" + encap: "VXLAN" + mask: "16" + metric: "51712" + network: "10.151.0.0" + nexthop_if: "" + nexthop_ip: "172.24.0.240" + nexthop_vrf: "default" + protocol: "bgp-65004" + segid: "10000" + tag: "65004 (evpn)" + tunnelid: "0xac1800f0" + type: "internal" + uptime: "3d17h" + vrf: "default" + - distance: "110" + encap: "" + mask: "29" + metric: "10" + network: "10.218.139.240" + nexthop_if: "Po1" + nexthop_ip: "10.62.2.30" + nexthop_vrf: "" + protocol: "ospf-1" + segid: "" + tag: "888" + tunnelid: "" + type: "type-2" + uptime: "0.000000" + vrf: "default" + - distance: "110" + encap: "" + mask: "29" + metric: "10" + network: "10.218.139.240" + nexthop_if: "Po1" + nexthop_ip: "10.62.2.34" + nexthop_vrf: "" + protocol: "ospf-1" + segid: "" + tag: "888" + tunnelid: "" + type: "type-2" + uptime: "0.000000" + vrf: "default" + - distance: "1" + encap: "" + mask: "0" + metric: "0" + network: "0.0.0.0" + nexthop_if: "" + nexthop_ip: "10.1.100.1" + nexthop_vrf: "management" + protocol: "static" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "6d02h" + vrf: "RED" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "1.1.1.1" + nexthop_if: "Lo1" + nexthop_ip: "1.1.1.1" + nexthop_vrf: "" + protocol: "local" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "6d00h" + vrf: "RED" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "1.1.1.1" + nexthop_if: "Lo1" + nexthop_ip: "1.1.1.1" + nexthop_vrf: "" + protocol: "direct" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "6d00h" + vrf: "RED" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "1.1.1.10" + nexthop_if: "Lo10" + nexthop_ip: "1.1.1.10" + nexthop_vrf: "" + protocol: "local" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "1w12h" + vrf: "RED" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "1.1.1.10" + nexthop_if: "Lo10" + nexthop_ip: "1.1.1.10" + nexthop_vrf: "" + protocol: "direct" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "1w12h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "32" + metric: "3" + network: "2.2.2.2" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "32" + metric: "3" + network: "2.2.2.2" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "32" + metric: "4" + network: "3.3.3.3" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "32" + metric: "4" + network: "3.3.3.3" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "32" + metric: "2" + network: "4.4.4.4" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "32" + metric: "2" + network: "4.4.4.4" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "RED" + - distance: "1" + encap: "" + mask: "32" + metric: "0" + network: "7.7.7.7" + nexthop_if: "" + nexthop_ip: "10.10.50.1" + nexthop_vrf: "" + protocol: "static" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "1d21h" + vrf: "RED" + - distance: "1" + encap: "" + mask: "32" + metric: "0" + network: "8.8.8.8" + nexthop_if: "Vlan1220" + nexthop_ip: "10.66.120.1" + nexthop_vrf: "" + protocol: "static" + segid: "" + tag: "100" + tunnelid: "" + type: "" + uptime: "00:00:01" + vrf: "RED" + - distance: "170" + encap: "" + mask: "32" + metric: "51712" + network: "10.0.255.1" + nexthop_if: "Eth1/1" + nexthop_ip: "10.24.1.74" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "65422" + tunnelid: "" + type: "external" + uptime: "4w4d" + vrf: "RED" + - distance: "170" + encap: "" + mask: "32" + metric: "51712" + network: "10.0.255.1" + nexthop_if: "Eth1/3" + nexthop_ip: "10.24.2.76" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "65422" + tunnelid: "" + type: "external" + uptime: "4w4d" + vrf: "RED" + - distance: "170" + encap: "" + mask: "32" + metric: "51712" + network: "10.0.255.1" + nexthop_if: "Eth2/11" + nexthop_ip: "10.24.2.154" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "65422" + tunnelid: "" + type: "external" + uptime: "3w4d" + vrf: "RED" + - distance: "170" + encap: "" + mask: "25" + metric: "3072" + network: "10.1.17.128" + nexthop_if: "Eth1/1" + nexthop_ip: "10.24.1.74" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "" + tunnelid: "" + type: "external" + uptime: "4w4d" + vrf: "RED" + - distance: "170" + encap: "" + mask: "25" + metric: "3072" + network: "10.1.17.128" + nexthop_if: "Eth1/3" + nexthop_ip: "10.24.2.76" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "" + tunnelid: "" + type: "external" + uptime: "4w4d" + vrf: "RED" + - distance: "170" + encap: "" + mask: "25" + metric: "3072" + network: "10.1.17.128" + nexthop_if: "Eth2/11" + nexthop_ip: "10.24.2.154" + nexthop_vrf: "" + protocol: "eigrp-NAMED" + segid: "" + tag: "" + tunnelid: "" + type: "external" + uptime: "3w4d" + vrf: "RED" + - distance: "0" + encap: "" + mask: "24" + metric: "0" + network: "10.10.10.0" + nexthop_if: "Vlan5" + nexthop_ip: "10.10.10.1" + nexthop_vrf: "" + protocol: "direct" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d18h" + vrf: "RED" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "10.10.10.1" + nexthop_if: "Vlan5" + nexthop_ip: "10.10.10.1" + nexthop_vrf: "" + protocol: "local" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d18h" + vrf: "RED" + - distance: "0" + encap: "" + mask: "24" + metric: "0" + network: "10.10.30.0" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.1" + nexthop_vrf: "" + protocol: "direct" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d23h" + vrf: "RED" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "10.10.30.1" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.1" + nexthop_vrf: "" + protocol: "local" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d23h" + vrf: "RED" + - distance: "0" + encap: "" + mask: "24" + metric: "0" + network: "10.10.40.0" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.1" + nexthop_vrf: "" + protocol: "direct" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d23h" + vrf: "RED" + - distance: "0" + encap: "" + mask: "32" + metric: "0" + network: "10.10.40.1" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.1" + nexthop_vrf: "" + protocol: "local" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "5d23h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "24" + metric: "3" + network: "10.10.50.0" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "24" + metric: "3" + network: "10.10.50.0" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "24" + metric: "3" + network: "10.10.60.0" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "24" + metric: "3" + network: "10.10.60.0" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d18h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "24" + metric: "2" + network: "10.10.70.0" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "24" + metric: "2" + network: "10.10.70.0" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "24" + metric: "2" + network: "10.10.80.0" + nexthop_if: "Eth2/2" + nexthop_ip: "10.10.30.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "24" + metric: "2" + network: "10.10.80.0" + nexthop_if: "Eth2/4" + nexthop_ip: "10.10.40.2" + nexthop_vrf: "" + protocol: "ospf-10" + segid: "" + tag: "" + tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "RED" + - distance: "220" + encap: "" + mask: "21" + metric: "10" + network: "10.71.0.0" + nexthop_if: "Null0" + nexthop_ip: "" + nexthop_vrf: "" + protocol: "ospf-1" + segid: "" + tag: "" + tunnelid: "" + type: "" + uptime: "2y49w" + vrf: "RED" + - distance: "150" + encap: "VXLAN" + mask: "16" + metric: "51712" + network: "10.151.0.0" + nexthop_if: "" + nexthop_ip: "172.24.0.240" + nexthop_vrf: "default" + protocol: "bgp-65004" + segid: "10000" + tag: "65004 (evpn)" + tunnelid: "0xac1800f0" + type: "internal" + uptime: "3d17h" + vrf: "RED" + - distance: "110" + encap: "" + mask: "29" + metric: "10" + network: "10.218.139.240" + nexthop_if: "Po1" + nexthop_ip: "10.62.2.30" + nexthop_vrf: "" + protocol: "ospf-1" + segid: "" + tag: "888" + tunnelid: "" + type: "type-2" + uptime: "0.000000" + vrf: "RED" + - distance: "110" + encap: "" + mask: "29" + metric: "10" + network: "10.218.139.240" + nexthop_if: "Po1" + nexthop_ip: "10.62.2.34" + nexthop_vrf: "" + protocol: "ospf-1" + segid: "" + tag: "888" + tunnelid: "" + type: "type-2" + uptime: "0.000000" + vrf: "RED" diff --git a/tests/cisco_nxos/show_ipv6_interface_brief/cisco_nxos_show_ipv6_interface_brief.parsed b/tests/cisco_nxos/show_ipv6_interface_brief/cisco_nxos_show_ipv6_interface_brief.parsed deleted file mode 100644 index aaab054c1a..0000000000 --- a/tests/cisco_nxos/show_ipv6_interface_brief/cisco_nxos_show_ipv6_interface_brief.parsed +++ /dev/null @@ -1,39 +0,0 @@ ---- -parsed_sample: - -- intf: Vlan44 - ipaddr: 2a01:3333:1:44::2 - linkipaddr: fe80::333:4444:5555:8888 - status: up/up - proto: up -- intf: Vlan45 - ipaddr: 2a01:3333:1:51::2 - linkipaddr: fe80::333:4444:5555:8888 - status: up/up - proto: up -- intf: Vlan46 - ipaddr: 2a01:3333:1:52::2 - linkipaddr: fe80::333:4444:5555:8888 - status: up/up - proto: up -- intf: Vlan47 - ipaddr: 2a01:3333:1:53::2 - linkipaddr: fe80::333:4444:5555:8888 - status: up/up - proto: up -- intf: Vlan48 - ipaddr: 2a01:3333:1:60::2 - linkipaddr: fe80::333:4444:5555:8888 - status: up/up - proto: up -- intf: Vlan49 - ipaddr: 2a01:3333:1:79::2 - linkipaddr: fe80::333:4444:5555:8888 - status: up/up - proto: up -- intf: Vlan50 - ipaddr: 2a01:3333:1:80::2 - linkipaddr: fe80::333:4444:5555:8888 - status: up/up - proto: up - diff --git a/tests/cisco_nxos/show_ipv6_interface_brief/cisco_nxos_show_ipv6_interface_brief.yml b/tests/cisco_nxos/show_ipv6_interface_brief/cisco_nxos_show_ipv6_interface_brief.yml new file mode 100644 index 0000000000..c76e6015ad --- /dev/null +++ b/tests/cisco_nxos/show_ipv6_interface_brief/cisco_nxos_show_ipv6_interface_brief.yml @@ -0,0 +1,37 @@ +--- +parsed_sample: + - intf: "Vlan44" + ipaddr: "2a01:3333:1:44::2" + linkipaddr: "fe80::333:4444:5555:8888" + status: "up/up" + proto: "up" + - intf: "Vlan45" + ipaddr: "2a01:3333:1:51::2" + linkipaddr: "fe80::333:4444:5555:8888" + status: "up/up" + proto: "up" + - intf: "Vlan46" + ipaddr: "2a01:3333:1:52::2" + linkipaddr: "fe80::333:4444:5555:8888" + status: "up/up" + proto: "up" + - intf: "Vlan47" + ipaddr: "2a01:3333:1:53::2" + linkipaddr: "fe80::333:4444:5555:8888" + status: "up/up" + proto: "up" + - intf: "Vlan48" + ipaddr: "2a01:3333:1:60::2" + linkipaddr: "fe80::333:4444:5555:8888" + status: "up/up" + proto: "up" + - intf: "Vlan49" + ipaddr: "2a01:3333:1:79::2" + linkipaddr: "fe80::333:4444:5555:8888" + status: "up/up" + proto: "up" + - intf: "Vlan50" + ipaddr: "2a01:3333:1:80::2" + linkipaddr: "fe80::333:4444:5555:8888" + status: "up/up" + proto: "up" diff --git a/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.parsed b/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.parsed deleted file mode 100644 index c2648a35f4..0000000000 --- a/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.parsed +++ /dev/null @@ -1,78 +0,0 @@ ---- -parsed_sample: - -- frozen_time: Sat Jan 27 08:46:01.447 UTC - mac: 0050.5699.7898 - topology: '190' -- frozen_time: Sat Jan 27 08:47:39.818 UTC - mac: 0050.5699.8ec0 - topology: '190' -- frozen_time: Sat Jan 27 08:47:49.970 UTC - mac: 0050.5699.d709 - topology: '190' -- frozen_time: Sat Jan 27 08:40:15.482 UTC - mac: 0050.56b5.1419 - topology: '190' -- frozen_time: Sat Jan 27 08:48:00.545 UTC - mac: 0050.56b5.1bca - topology: '190' -- frozen_time: Sat Jan 27 08:42:26.149 UTC - mac: 000c.29d4.ee30 - topology: '192' -- frozen_time: Sat Jan 27 08:57:48.481 UTC - mac: 0012.3fff.e687 - topology: '192' -- frozen_time: Sat Jan 27 08:53:13.686 UTC - mac: 0050.5699.1684 - topology: '192' -- frozen_time: Sat Jan 27 08:37:59.468 UTC - mac: 0050.5699.1b56 - topology: '192' -- frozen_time: Sat Jan 27 08:53:08.098 UTC - mac: 0050.5699.2199 - topology: '192' -- frozen_time: Sat Jan 27 08:52:44.355 UTC - mac: 0050.5699.249d - topology: '192' -- frozen_time: Sat Jan 27 08:45:45.772 UTC - mac: 0050.5699.25bf - topology: '192' -- frozen_time: Sat Jan 27 08:49:48.131 UTC - mac: 0050.5699.27b2 - topology: '192' -- frozen_time: Sat Jan 27 08:49:48.310 UTC - mac: 0050.5699.3c5a - topology: '192' -- frozen_time: Sat Jan 27 08:51:56.147 UTC - mac: 0050.5699.410a - topology: '192' -- frozen_time: Sat Jan 27 08:52:28.534 UTC - mac: 0050.5699.4241 - topology: '192' -- frozen_time: Sat Jan 27 08:52:50.603 UTC - mac: 0050.5699.449f - topology: '192' -- frozen_time: Sat Jan 27 08:55:45.974 UTC - mac: 0050.5699.4826 - topology: '192' -- frozen_time: Sat Jan 27 08:56:50.314 UTC - mac: 0050.5699.4a94 - topology: '192' -- frozen_time: Sat Jan 27 08:48:56.964 UTC - mac: 0050.5699.4dd2 - topology: '192' -- frozen_time: Sat Jan 27 08:55:23.553 UTC - mac: 0050.5699.5044 - topology: '192' -- frozen_time: Sat Jan 27 08:52:46.601 UTC - mac: 0050.5699.50ab - topology: '192' -- frozen_time: Sat Jan 27 08:58:09.431 UTC - mac: 0050.5699.5705 - topology: '192' -- frozen_time: Sat Jan 27 08:51:55.528 UTC - mac: 0050.5699.57ec - topology: '192' -- frozen_time: Sat Jan 27 08:52:46.851 UTC - mac: 0050.5699.6083 - topology: '192' diff --git a/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.yml b/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.yml new file mode 100644 index 0000000000..808ba0a681 --- /dev/null +++ b/tests/cisco_nxos/show_l2rib_internal_permanently-frozen-list/cisco_nxos_show_l2rib_internal_permanently-frozen-list.yml @@ -0,0 +1,77 @@ +--- +parsed_sample: + - frozen_time: "Sat Jan 27 08:46:01.447 UTC" + mac: "0050.5699.7898" + topology: "190" + - frozen_time: "Sat Jan 27 08:47:39.818 UTC" + mac: "0050.5699.8ec0" + topology: "190" + - frozen_time: "Sat Jan 27 08:47:49.970 UTC" + mac: "0050.5699.d709" + topology: "190" + - frozen_time: "Sat Jan 27 08:40:15.482 UTC" + mac: "0050.56b5.1419" + topology: "190" + - frozen_time: "Sat Jan 27 08:48:00.545 UTC" + mac: "0050.56b5.1bca" + topology: "190" + - frozen_time: "Sat Jan 27 08:42:26.149 UTC" + mac: "000c.29d4.ee30" + topology: "192" + - frozen_time: "Sat Jan 27 08:57:48.481 UTC" + mac: "0012.3fff.e687" + topology: "192" + - frozen_time: "Sat Jan 27 08:53:13.686 UTC" + mac: "0050.5699.1684" + topology: "192" + - frozen_time: "Sat Jan 27 08:37:59.468 UTC" + mac: "0050.5699.1b56" + topology: "192" + - frozen_time: "Sat Jan 27 08:53:08.098 UTC" + mac: "0050.5699.2199" + topology: "192" + - frozen_time: "Sat Jan 27 08:52:44.355 UTC" + mac: "0050.5699.249d" + topology: "192" + - frozen_time: "Sat Jan 27 08:45:45.772 UTC" + mac: "0050.5699.25bf" + topology: "192" + - frozen_time: "Sat Jan 27 08:49:48.131 UTC" + mac: "0050.5699.27b2" + topology: "192" + - frozen_time: "Sat Jan 27 08:49:48.310 UTC" + mac: "0050.5699.3c5a" + topology: "192" + - frozen_time: "Sat Jan 27 08:51:56.147 UTC" + mac: "0050.5699.410a" + topology: "192" + - frozen_time: "Sat Jan 27 08:52:28.534 UTC" + mac: "0050.5699.4241" + topology: "192" + - frozen_time: "Sat Jan 27 08:52:50.603 UTC" + mac: "0050.5699.449f" + topology: "192" + - frozen_time: "Sat Jan 27 08:55:45.974 UTC" + mac: "0050.5699.4826" + topology: "192" + - frozen_time: "Sat Jan 27 08:56:50.314 UTC" + mac: "0050.5699.4a94" + topology: "192" + - frozen_time: "Sat Jan 27 08:48:56.964 UTC" + mac: "0050.5699.4dd2" + topology: "192" + - frozen_time: "Sat Jan 27 08:55:23.553 UTC" + mac: "0050.5699.5044" + topology: "192" + - frozen_time: "Sat Jan 27 08:52:46.601 UTC" + mac: "0050.5699.50ab" + topology: "192" + - frozen_time: "Sat Jan 27 08:58:09.431 UTC" + mac: "0050.5699.5705" + topology: "192" + - frozen_time: "Sat Jan 27 08:51:55.528 UTC" + mac: "0050.5699.57ec" + topology: "192" + - frozen_time: "Sat Jan 27 08:52:46.851 UTC" + mac: "0050.5699.6083" + topology: "192" diff --git a/tests/cisco_nxos/show_lldp_neighbors/cisco_nxos_show_lldp_neighbors.parsed b/tests/cisco_nxos/show_lldp_neighbors/cisco_nxos_show_lldp_neighbors.parsed deleted file mode 100644 index 04927c96f2..0000000000 --- a/tests/cisco_nxos/show_lldp_neighbors/cisco_nxos_show_lldp_neighbors.parsed +++ /dev/null @@ -1,15 +0,0 @@ ---- -parsed_sample: -- neighbor: "nx-osv9000-3-long-name.com" - local_interface: "Eth1/1" - neighbor_interface: "Ethernet1/1" - -- neighbor: "nx-osv9000-4-extremely-long-name" - local_interface: "Eth1/2" - neighbor_interface: "Ethernet1/1" - -- neighbor: "nx-osv9000-2" - local_interface: "Eth1/3" - neighbor_interface: "Ethernet1/3" - - diff --git a/tests/cisco_nxos/show_lldp_neighbors/cisco_nxos_show_lldp_neighbors.yml b/tests/cisco_nxos/show_lldp_neighbors/cisco_nxos_show_lldp_neighbors.yml new file mode 100644 index 0000000000..d947831fb5 --- /dev/null +++ b/tests/cisco_nxos/show_lldp_neighbors/cisco_nxos_show_lldp_neighbors.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - neighbor: "nx-osv9000-3-long-name.com" + local_interface: "Eth1/1" + neighbor_interface: "Ethernet1/1" + - neighbor: "nx-osv9000-4-extremely-long-name" + local_interface: "Eth1/2" + neighbor_interface: "Ethernet1/1" + - neighbor: "nx-osv9000-2" + local_interface: "Eth1/3" + neighbor_interface: "Ethernet1/3" diff --git a/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.parsed b/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.parsed deleted file mode 100644 index 1982ec2e33..0000000000 --- a/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.parsed +++ /dev/null @@ -1,35 +0,0 @@ ---- -parsed_sample: - -- neighbor: 'Switch.cisco.com' - local_interface: 'mgmt0' - neighbor_interface: 'Fa1/0/9' - chassis_id: '0014.1c57.a48b' - mgmt_address: '10.30.140.1' - system_description: 'Cisco IOS Software, C3750 Software (C3750-IPBASEK9-M), Version 12.2(44)SE2, RELEASE SOFTWARE (fc2)' - capabilities: 'B, R' - vlan: '100' -- neighbor: 'n9k2.company.com' - local_interface: 'Eth1/1' - neighbor_interface: 'Ethernet1/1' - chassis_id: '5087.89a1.d8d6' - mgmt_address: '10.30.140.21' - system_description: 'Cisco Nexus Operating System (NX-OS) Software 7.0(3)I4(1)' - capabilities: 'B, R' - vlan: '1' -- neighbor: 'n9k2.company.com' - local_interface: 'Eth1/2' - neighbor_interface: 'Ethernet1/2' - chassis_id: '5087.89a1.d8d7' - mgmt_address: '10.30.140.21' - system_description: 'Cisco Nexus Operating System (NX-OS) Software 7.0(3)I4(1)' - capabilities: 'B, R' - vlan: '1' -- neighbor: 'N3K.cisconxapi.com' - local_interface: 'Eth2/2' - neighbor_interface: 'Ethernet1/49' - chassis_id: '547f.eeaf.7818' - mgmt_address: '10.30.140.30' - system_description: 'Cisco Nexus Operating System (NX-OS) Software 6.0(2)U4(1)' - capabilities: 'B, R' - vlan: '1' diff --git a/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.yml b/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.yml new file mode 100644 index 0000000000..b1674d08fc --- /dev/null +++ b/tests/cisco_nxos/show_lldp_neighbors_detail/cisco_nxos_show_lldp_neighbors_detail.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - neighbor: "Switch.cisco.com" + local_interface: "mgmt0" + neighbor_interface: "Fa1/0/9" + chassis_id: "0014.1c57.a48b" + mgmt_address: "10.30.140.1" + system_description: "Cisco IOS Software, C3750 Software (C3750-IPBASEK9-M), Version\ + \ 12.2(44)SE2, RELEASE SOFTWARE (fc2)" + capabilities: "B, R" + vlan: "100" + - neighbor: "n9k2.company.com" + local_interface: "Eth1/1" + neighbor_interface: "Ethernet1/1" + chassis_id: "5087.89a1.d8d6" + mgmt_address: "10.30.140.21" + system_description: "Cisco Nexus Operating System (NX-OS) Software 7.0(3)I4(1)" + capabilities: "B, R" + vlan: "1" + - neighbor: "n9k2.company.com" + local_interface: "Eth1/2" + neighbor_interface: "Ethernet1/2" + chassis_id: "5087.89a1.d8d7" + mgmt_address: "10.30.140.21" + system_description: "Cisco Nexus Operating System (NX-OS) Software 7.0(3)I4(1)" + capabilities: "B, R" + vlan: "1" + - neighbor: "N3K.cisconxapi.com" + local_interface: "Eth2/2" + neighbor_interface: "Ethernet1/49" + chassis_id: "547f.eeaf.7818" + mgmt_address: "10.30.140.30" + system_description: "Cisco Nexus Operating System (NX-OS) Software 6.0(2)U4(1)" + capabilities: "B, R" + vlan: "1" diff --git a/tests/cisco_nxos/show_mac_address-table/cisco_nxos_show_mac_address-table.parsed b/tests/cisco_nxos/show_mac_address-table/cisco_nxos_show_mac_address-table.parsed deleted file mode 100644 index 363b9d6bc8..0000000000 --- a/tests/cisco_nxos/show_mac_address-table/cisco_nxos_show_mac_address-table.parsed +++ /dev/null @@ -1,26 +0,0 @@ ---- -parsed_sample: -- vlan: "100" - mac: "5087.89a1.de75" - type: "static" - age: "-" - secure: "F" - ntfy: "F" - ports: "sup-eth1(R)" - -- vlan: "145" - mac: "000a.000a.000a" - type: "static" - age: "-" - secure: "F" - ntfy: "F" - ports: "Drop" - -- vlan: "145" - mac: "000e.000e.000e" - type: "static" - age: "-" - secure: "F" - ntfy: "F" - ports: "Po10" - diff --git a/tests/cisco_nxos/show_mac_address-table/cisco_nxos_show_mac_address-table.yml b/tests/cisco_nxos/show_mac_address-table/cisco_nxos_show_mac_address-table.yml new file mode 100644 index 0000000000..1dd32645a6 --- /dev/null +++ b/tests/cisco_nxos/show_mac_address-table/cisco_nxos_show_mac_address-table.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - vlan: "100" + mac: "5087.89a1.de75" + type: "static" + age: "-" + secure: "F" + ntfy: "F" + ports: "sup-eth1(R)" + - vlan: "145" + mac: "000a.000a.000a" + type: "static" + age: "-" + secure: "F" + ntfy: "F" + ports: "Drop" + - vlan: "145" + mac: "000e.000e.000e" + type: "static" + age: "-" + secure: "F" + ntfy: "F" + ports: "Po10" diff --git a/tests/cisco_nxos/show_module/cisco_nxos_show_module.parsed b/tests/cisco_nxos/show_module/cisco_nxos_show_module.parsed deleted file mode 100644 index caa1c2634c..0000000000 --- a/tests/cisco_nxos/show_module/cisco_nxos_show_module.parsed +++ /dev/null @@ -1,25 +0,0 @@ ---- -parsed_sample: -- module: "1" - ports: "0" - type: "NX-OSv Supervisor Module" - model: "N7K-SUP1" - status: "active *" - -- module: "2" - ports: "48" - type: "NX-OSv Ethernet Module" - model: "N7K-F248XP-25" - status: "ok" - -- module: "3" - ports: "48" - type: "NX-OSv Ethernet Module" - model: "N7K-F248XP-25" - status: "ok" - -- module: "4" - ports: "48" - type: "NX-OSv Ethernet Module" - model: "N7K-F248XP-25" - status: "ok" diff --git a/tests/cisco_nxos/show_module/cisco_nxos_show_module.yml b/tests/cisco_nxos/show_module/cisco_nxos_show_module.yml new file mode 100644 index 0000000000..0cec3b28e6 --- /dev/null +++ b/tests/cisco_nxos/show_module/cisco_nxos_show_module.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - module: "1" + ports: "0" + type: "NX-OSv Supervisor Module" + model: "N7K-SUP1" + status: "active *" + - module: "2" + ports: "48" + type: "NX-OSv Ethernet Module" + model: "N7K-F248XP-25" + status: "ok" + - module: "3" + ports: "48" + type: "NX-OSv Ethernet Module" + model: "N7K-F248XP-25" + status: "ok" + - module: "4" + ports: "48" + type: "NX-OSv Ethernet Module" + model: "N7K-F248XP-25" + status: "ok" diff --git a/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary.parsed b/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary.parsed deleted file mode 100644 index 409dddc3b2..0000000000 --- a/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary.parsed +++ /dev/null @@ -1,55 +0,0 @@ ---- -parsed_sample: - -- bundle_iface: Po1 - bundle_proto: LACP - bundle_proto_state: (a) - bundle_status: (U) - phys_iface: - - Et3/36/1 - phys_iface_status: - - (PG+) -- bundle_iface: Po25 - bundle_proto: LACP - bundle_proto_state: (a) - bundle_status: (D) - phys_iface: - - Et3/12/1 - phys_iface_status: - - (G-) -- bundle_iface: Po101 - bundle_proto: LACP - bundle_proto_state: (a) - bundle_status: (U) - phys_iface: - - Et3/1/1 - - Et3/1/2 - - Et3/1/3 - - Et3/1/4 - - Et3/3/1 - - Et3/3/2 - - Et3/3/3 - - Et3/3/4 - phys_iface_status: - - (PSG+) - - (PSG+) - - (PSG+) - - (PSG+) - - (PSG+) - - (PSG+) - - (PSG+) - - (PSG+) -- bundle_iface: Po102 - bundle_proto: LACP - bundle_proto_state: (a) - bundle_status: (U) - phys_iface: - - Et3/2/1 - - Et3/2/2 - - Et3/2/3 - - Et3/2/4 - phys_iface_status: - - (PSG+) - - (PSG+) - - (PSG+) - - (PSG+) diff --git a/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary.yml b/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary.yml new file mode 100644 index 0000000000..08a4c21b92 --- /dev/null +++ b/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary.yml @@ -0,0 +1,54 @@ +--- +parsed_sample: + - bundle_iface: "Po1" + bundle_proto: "LACP" + bundle_proto_state: "(a)" + bundle_status: "(U)" + phys_iface: + - "Et3/36/1" + phys_iface_status: + - "(PG+)" + - bundle_iface: "Po25" + bundle_proto: "LACP" + bundle_proto_state: "(a)" + bundle_status: "(D)" + phys_iface: + - "Et3/12/1" + phys_iface_status: + - "(G-)" + - bundle_iface: "Po101" + bundle_proto: "LACP" + bundle_proto_state: "(a)" + bundle_status: "(U)" + phys_iface: + - "Et3/1/1" + - "Et3/1/2" + - "Et3/1/3" + - "Et3/1/4" + - "Et3/3/1" + - "Et3/3/2" + - "Et3/3/3" + - "Et3/3/4" + phys_iface_status: + - "(PSG+)" + - "(PSG+)" + - "(PSG+)" + - "(PSG+)" + - "(PSG+)" + - "(PSG+)" + - "(PSG+)" + - "(PSG+)" + - bundle_iface: "Po102" + bundle_proto: "LACP" + bundle_proto_state: "(a)" + bundle_status: "(U)" + phys_iface: + - "Et3/2/1" + - "Et3/2/2" + - "Et3/2/3" + - "Et3/2/4" + phys_iface_status: + - "(PSG+)" + - "(PSG+)" + - "(PSG+)" + - "(PSG+)" diff --git a/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary2.parsed b/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary2.parsed deleted file mode 100644 index b2577a7b3d..0000000000 --- a/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary2.parsed +++ /dev/null @@ -1,241 +0,0 @@ ---- -parsed_sample: - -- bundle_iface: Po1 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth1/1 - - Eth2/1 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po2 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth1/2 - - Eth2/2 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po3 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth1/3 - - Eth2/3 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po4 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth1/4 - - Eth2/4 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po12 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth1/5 - - Eth2/5 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po13 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth1/6 - - Eth2/6 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po14 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth1/7 - - Eth2/7 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po801 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth5/6 - - Eth6/6 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po802 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth5/7 - - Eth6/7 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po803 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth15/17 - - Eth16/17 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po804 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth15/24 - - Eth16/24 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po811 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth15/8 - - Eth15/28 - - Eth16/8 - - Eth16/28 - phys_iface_status: - - (P) - - (P) - - (P) - - (P) -- bundle_iface: Po812 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth15/36 - - Eth16/36 - - Eth17/8 - - Eth18/8 - phys_iface_status: - - (P) - - (P) - - (P) - - (P) -- bundle_iface: Po813 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth15/15 - - Eth16/15 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po814 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth15/22 - - Eth16/22 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po821 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth15/30 - - Eth16/30 - - Eth17/29 - - Eth18/29 - phys_iface_status: - - (P) - - (P) - - (P) - - (P) -- bundle_iface: Po822 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth15/38 - - Eth16/38 - - Eth17/30 - - Eth18/30 - phys_iface_status: - - (P) - - (P) - - (P) - - (P) -- bundle_iface: Po823 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth3/9 - - Eth4/9 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po824 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth3/10 - - Eth4/10 - phys_iface_status: - - (P) - - (P) -- bundle_iface: Po825 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth3/3 - phys_iface_status: - - (P) -- bundle_iface: Po826 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth4/3 - phys_iface_status: - - (P) -- bundle_iface: Po827 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth5/3 - phys_iface_status: - - (P) -- bundle_iface: Po828 - bundle_proto: LACP - bundle_proto_state: '' - bundle_status: (RU) - phys_iface: - - Eth6/3 - phys_iface_status: - - (P) diff --git a/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary2.yml b/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary2.yml new file mode 100644 index 0000000000..43987deb18 --- /dev/null +++ b/tests/cisco_nxos/show_port-channel_summary/cisco_nxos_show_port-channel_summary2.yml @@ -0,0 +1,240 @@ +--- +parsed_sample: + - bundle_iface: "Po1" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth1/1" + - "Eth2/1" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po2" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth1/2" + - "Eth2/2" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po3" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth1/3" + - "Eth2/3" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po4" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth1/4" + - "Eth2/4" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po12" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth1/5" + - "Eth2/5" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po13" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth1/6" + - "Eth2/6" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po14" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth1/7" + - "Eth2/7" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po801" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth5/6" + - "Eth6/6" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po802" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth5/7" + - "Eth6/7" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po803" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth15/17" + - "Eth16/17" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po804" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth15/24" + - "Eth16/24" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po811" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth15/8" + - "Eth15/28" + - "Eth16/8" + - "Eth16/28" + phys_iface_status: + - "(P)" + - "(P)" + - "(P)" + - "(P)" + - bundle_iface: "Po812" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth15/36" + - "Eth16/36" + - "Eth17/8" + - "Eth18/8" + phys_iface_status: + - "(P)" + - "(P)" + - "(P)" + - "(P)" + - bundle_iface: "Po813" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth15/15" + - "Eth16/15" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po814" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth15/22" + - "Eth16/22" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po821" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth15/30" + - "Eth16/30" + - "Eth17/29" + - "Eth18/29" + phys_iface_status: + - "(P)" + - "(P)" + - "(P)" + - "(P)" + - bundle_iface: "Po822" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth15/38" + - "Eth16/38" + - "Eth17/30" + - "Eth18/30" + phys_iface_status: + - "(P)" + - "(P)" + - "(P)" + - "(P)" + - bundle_iface: "Po823" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth3/9" + - "Eth4/9" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po824" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth3/10" + - "Eth4/10" + phys_iface_status: + - "(P)" + - "(P)" + - bundle_iface: "Po825" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth3/3" + phys_iface_status: + - "(P)" + - bundle_iface: "Po826" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth4/3" + phys_iface_status: + - "(P)" + - bundle_iface: "Po827" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth5/3" + phys_iface_status: + - "(P)" + - bundle_iface: "Po828" + bundle_proto: "LACP" + bundle_proto_state: "" + bundle_status: "(RU)" + phys_iface: + - "Eth6/3" + phys_iface_status: + - "(P)" diff --git a/tests/cisco_nxos/show_processes_cpu/cisco_nxos_show_processes_cpu.parsed b/tests/cisco_nxos/show_processes_cpu/cisco_nxos_show_processes_cpu.parsed deleted file mode 100644 index a65b6e7791..0000000000 --- a/tests/cisco_nxos/show_processes_cpu/cisco_nxos_show_processes_cpu.parsed +++ /dev/null @@ -1,7 +0,0 @@ ---- -parsed_sample: - -- cpu_1_min: '12' - cpu_5_min: '10' - cpu_5_sec: '15' - interrupts: '1' diff --git a/tests/cisco_nxos/show_processes_cpu/cisco_nxos_show_processes_cpu.yml b/tests/cisco_nxos/show_processes_cpu/cisco_nxos_show_processes_cpu.yml new file mode 100644 index 0000000000..3490e03fe9 --- /dev/null +++ b/tests/cisco_nxos/show_processes_cpu/cisco_nxos_show_processes_cpu.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - cpu_1_min: "12" + cpu_5_min: "10" + cpu_5_sec: "15" + interrupts: "1" diff --git a/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.parsed b/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.parsed deleted file mode 100644 index 06cf96db6f..0000000000 --- a/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.parsed +++ /dev/null @@ -1,99 +0,0 @@ ---- -parsed_sample: -- action: permit - match_clauses: - - 'as-path (as-path filter): AS-TEST' - name: RM-TEST-OUT - seq: '10' - set_clauses: [] -- action: deny - match_clauses: - - 'tag: 12345' - name: RM-BGP-TO-OSPF - seq: '10' - set_clauses: [] -- action: permit - match_clauses: [] - name: RM-BGP-TO-OSPF - seq: '20' - set_clauses: [] -- action: permit - match_clauses: [] - name: RM-ISP1-IN - seq: '1000' - set_clauses: - - local-preference 300 -- action: permit - match_clauses: - - 'as-path (as-path filter): AS-ISP2' - name: RM-ISP1-OUT - seq: '1000' - set_clauses: [] -- action: permit - match_clauses: [] - name: RM-ISP1-MAITENANCE - seq: '10' - set_clauses: - - local-preference 50 -- action: permit - match_clauses: [] - name: RM-FW-LP - seq: '10' - set_clauses: - - local-preference 25 -- action: permit - match_clauses: [] - name: RM-FW-MAITENANCE - seq: '10' - set_clauses: [] -- action: permit - match_clauses: - - 'as-path (as-path filter): TEST-AS-FW' - name: RM-FW-OUTBOUND - seq: '10' - set_clauses: [] -- action: permit - match_clauses: - - 'ip address prefix-lists: PF-PATH-X-INTERNAL' - name: RM-X-SIDE-INTERNAL - seq: '10' - set_clauses: [] -- action: permit - match_clauses: - - 'ip address prefix-lists: PF-PATH-Z-INTERNAL' - name: RM-Z-SIDE-INTERNAL - seq: '10' - set_clauses: [] -- action: permit - match_clauses: - - 'ip address prefix-lists: PL-PERMIT-IN' - name: RM-FILTER-IN - seq: '10' - set_clauses: [] -- action: permit - match_clauses: - - 'ip address (access-lists): AL_TEST_TEST' - name: TEST_THIS - seq: '10' - set_clauses: - - ip next-hop 2.2.2.2 -- action: permit - match_clauses: - - 'ip address prefix-lists: PF-N3K1-TO-N3K2' - name: RM-N3K1-TO-N3K2 - seq: '10' - set_clauses: - - extcommunity RT:100:1 -- action: permit - match_clauses: - - 'ip address prefix-lists: PF-N3K2-TO-N3K1' - name: RM-N3K2-TO-N3K1 - seq: '10' - set_clauses: - - extcommunity RT:200:1 -- action: permit - match_clauses: - - 'ip address prefix-lists: PF-A-DEFAULT-ROUTE' - name: RM-PATH-A-DEFAULT-ROUTE - seq: '10' - set_clauses: [] diff --git a/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.yml b/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.yml new file mode 100644 index 0000000000..8ed80ba3ca --- /dev/null +++ b/tests/cisco_nxos/show_route-map/cisco_nxos_show_route-map.yml @@ -0,0 +1,99 @@ +--- +parsed_sample: + - action: "permit" + match_clauses: + - "as-path (as-path filter): AS-TEST" + name: "RM-TEST-OUT" + seq: "10" + set_clauses: [] + - action: "deny" + match_clauses: + - "tag: 12345" + name: "RM-BGP-TO-OSPF" + seq: "10" + set_clauses: [] + - action: "permit" + match_clauses: [] + name: "RM-BGP-TO-OSPF" + seq: "20" + set_clauses: [] + - action: "permit" + match_clauses: [] + name: "RM-ISP1-IN" + seq: "1000" + set_clauses: + - "local-preference 300" + - action: "permit" + match_clauses: + - "as-path (as-path filter): AS-ISP2" + name: "RM-ISP1-OUT" + seq: "1000" + set_clauses: [] + - action: "permit" + match_clauses: [] + name: "RM-ISP1-MAITENANCE" + seq: "10" + set_clauses: + - "local-preference 50" + - action: "permit" + match_clauses: [] + name: "RM-FW-LP" + seq: "10" + set_clauses: + - "local-preference 25" + - action: "permit" + match_clauses: [] + name: "RM-FW-MAITENANCE" + seq: "10" + set_clauses: [] + - action: "permit" + match_clauses: + - "as-path (as-path filter): TEST-AS-FW" + name: "RM-FW-OUTBOUND" + seq: "10" + set_clauses: [] + - action: "permit" + match_clauses: + - "ip address prefix-lists: PF-PATH-X-INTERNAL" + name: "RM-X-SIDE-INTERNAL" + seq: "10" + set_clauses: [] + - action: "permit" + match_clauses: + - "ip address prefix-lists: PF-PATH-Z-INTERNAL" + name: "RM-Z-SIDE-INTERNAL" + seq: "10" + set_clauses: [] + - action: "permit" + match_clauses: + - "ip address prefix-lists: PL-PERMIT-IN" + name: "RM-FILTER-IN" + seq: "10" + set_clauses: [] + - action: "permit" + match_clauses: + - "ip address (access-lists): AL_TEST_TEST" + name: "TEST_THIS" + seq: "10" + set_clauses: + - "ip next-hop 2.2.2.2" + - action: "permit" + match_clauses: + - "ip address prefix-lists: PF-N3K1-TO-N3K2" + name: "RM-N3K1-TO-N3K2" + seq: "10" + set_clauses: + - "extcommunity RT:100:1" + - action: "permit" + match_clauses: + - "ip address prefix-lists: PF-N3K2-TO-N3K1" + name: "RM-N3K2-TO-N3K1" + seq: "10" + set_clauses: + - "extcommunity RT:200:1" + - action: "permit" + match_clauses: + - "ip address prefix-lists: PF-A-DEFAULT-ROUTE" + name: "RM-PATH-A-DEFAULT-ROUTE" + seq: "10" + set_clauses: [] diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version.parsed b/tests/cisco_nxos/show_version/cisco_nxos_show_version.parsed deleted file mode 100644 index 9db6d615a6..0000000000 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version.parsed +++ /dev/null @@ -1,8 +0,0 @@ ---- - -parsed_sample: -- boot_image: bootflash:///n9000-dk9.6.1.2.I3.1.bin - last_reboot_reason: Unknown - os: 6.1(2)I3(1) - platform: C9396PX - uptime: 123 day(s), 5 hour(s), 15 minute(s), 19 second(s) diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml new file mode 100644 index 0000000000..b9bda8631e --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - boot_image: "bootflash:///n9000-dk9.6.1.2.I3.1.bin" + last_reboot_reason: "Unknown" + os: "6.1(2)I3(1)" + platform: "C9396PX" + uptime: "123 day(s), 5 hour(s), 15 minute(s), 19 second(s)" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.parsed b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.parsed deleted file mode 100644 index b426af46f2..0000000000 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.parsed +++ /dev/null @@ -1,8 +0,0 @@ ---- - -parsed_sample: -- boot_image: /bootflash/aci-n9000-dk9.14.0.1h.bin - last_reboot_reason: unknown - os: 14.0(1h) [build 14.0(1h)] - platform: C9396PX - uptime: 11 day(s), 01 hour(s), 57 minute(s), 02 second(s) diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml new file mode 100644 index 0000000000..b59d74e895 --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - boot_image: "/bootflash/aci-n9000-dk9.14.0.1h.bin" + last_reboot_reason: "unknown" + os: "14.0(1h) [build 14.0(1h)]" + platform: "C9396PX" + uptime: "11 day(s), 01 hour(s), 57 minute(s), 02 second(s)" diff --git a/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.parsed b/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.parsed deleted file mode 100755 index 29d51ac24c..0000000000 --- a/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.parsed +++ /dev/null @@ -1,25 +0,0 @@ ---- -parsed_sample: -- name: default - status: active - vlan_id: "1" - -- name: WEB - status: active - vlan_id: "10" - -- name: VLAN0020 - status: active - vlan_id: "20" - -- name: VLAN0030 - status: active - vlan_id: "30" - -- name: VLAN0040 - status: active - vlan_id: "40" - -- name: VLAN0050 - status: active - vlan_id: "50" diff --git a/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.yml b/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.yml new file mode 100755 index 0000000000..8d1a175ee7 --- /dev/null +++ b/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - name: "default" + status: "active" + vlan_id: "1" + - name: "WEB" + status: "active" + vlan_id: "10" + - name: "VLAN0020" + status: "active" + vlan_id: "20" + - name: "VLAN0030" + status: "active" + vlan_id: "30" + - name: "VLAN0040" + status: "active" + vlan_id: "40" + - name: "VLAN0050" + status: "active" + vlan_id: "50" diff --git a/tests/cisco_nxos/show_vpc/cisco_nxos_show_vpc.parsed b/tests/cisco_nxos/show_vpc/cisco_nxos_show_vpc.parsed deleted file mode 100644 index e2ce7ec0b3..0000000000 --- a/tests/cisco_nxos/show_vpc/cisco_nxos_show_vpc.parsed +++ /dev/null @@ -1,11 +0,0 @@ ---- -parsed_sample: - -- id: "1" - port: "Po12" - status: "down" - -- id: "2" - port: "Po13" - status: "up" - diff --git a/tests/cisco_nxos/show_vpc/cisco_nxos_show_vpc.yml b/tests/cisco_nxos/show_vpc/cisco_nxos_show_vpc.yml new file mode 100644 index 0000000000..fdcdc47abd --- /dev/null +++ b/tests/cisco_nxos/show_vpc/cisco_nxos_show_vpc.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - id: "1" + port: "Po12" + status: "down" + - id: "2" + port: "Po13" + status: "up" diff --git a/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.parsed b/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.parsed deleted file mode 100644 index d6434fb930..0000000000 --- a/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.parsed +++ /dev/null @@ -1,35 +0,0 @@ ---- -parsed_sample: - -- id: '3' - name: VPC_KEEPALIVE - reason: -- - state: Up -- id: '1' - name: default - reason: -- - state: Up -- id: '4' - name: VRF1 - reason: -- - state: Up -- id: '7' - name: VRF2 - reason: -- - state: Up -- id: '8' - name: VRF-NAME-3 - reason: -- - state: Up -- id: '5' - name: VRF_NAME_4 - reason: -- - state: Up -- id: '6' - name: VRFNAME5 - reason: -- - state: Up -- id: '2' - name: management - reason: -- - state: Up \ No newline at end of file diff --git a/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.yml b/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.yml new file mode 100644 index 0000000000..eb74b23b0a --- /dev/null +++ b/tests/cisco_nxos/show_vrf/cisco_nxos_show_vrf.yml @@ -0,0 +1,34 @@ +--- +parsed_sample: + - id: "3" + name: "VPC_KEEPALIVE" + reason: "--" + state: "Up" + - id: "1" + name: "default" + reason: "--" + state: "Up" + - id: "4" + name: "VRF1" + reason: "--" + state: "Up" + - id: "7" + name: "VRF2" + reason: "--" + state: "Up" + - id: "8" + name: "VRF-NAME-3" + reason: "--" + state: "Up" + - id: "5" + name: "VRF_NAME_4" + reason: "--" + state: "Up" + - id: "6" + name: "VRFNAME5" + reason: "--" + state: "Up" + - id: "2" + name: "management" + reason: "--" + state: "Up" diff --git a/tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.parsed b/tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.parsed deleted file mode 100644 index 793a344bb7..0000000000 --- a/tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.parsed +++ /dev/null @@ -1,116 +0,0 @@ ---- -parsed_sample: -- beacon_interval: '100' - data_rate: - - 6M - - 9M - - 12M - - 18M - - 24M - - 36M - - 48M - - 54M - data_rate_value: - - Mandatory - - Supported - - Mandatory - - Supported - - Mandatory - - Supported - - Supported - - Supported - edca: default-wmm - max_client: '200' - mcs_rate: - - '0' - - '1' - - '2' - - '3' - - '4' - - '5' - - '6' - - '7' - - '8' - - '9' - - '10' - - '11' - - '12' - - '13' - - '14' - - '15' - - '16' - - '17' - - '18' - - '19' - - '20' - - '21' - - '22' - - '23' - - '24' - - '25' - - '26' - - '27' - - '28' - - '29' - - '30' - - '31' - mcs_rate_value: - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - - Supported - rssi_low_check: Disabled - rssi_thres: '-80' - specs: - - ac - - n - specs_value: - - Enabled - - Enabled - ss_mcs_rate: - - 'Nss=1: MCS 0-9' - - 'Nss=2: MCS 0-9' - - 'Nss=3: MCS 0-9' - - 'Nss=4: MCS 0-7' - ss_mcs_rate_value: - - Supported - - Supported - - Supported - - Supported - status: Disabled - video_amc: Disabled - video_cac_method: Static - video_max_bandwidth: '0' - video_roaming_bandwidth: '0' - voice_amc: Disabled - voice_cac_method: Load-Based - voice_max_bandwidth: '75' - voice_roaming_bandwidth: '6' diff --git a/tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.yml b/tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.yml new file mode 100644 index 0000000000..412f7701c1 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_802.11a/cisco_wlc_ssh_show_802_11ab.yml @@ -0,0 +1,116 @@ +--- +parsed_sample: + - beacon_interval: "100" + data_rate: + - "6M" + - "9M" + - "12M" + - "18M" + - "24M" + - "36M" + - "48M" + - "54M" + data_rate_value: + - "Mandatory" + - "Supported" + - "Mandatory" + - "Supported" + - "Mandatory" + - "Supported" + - "Supported" + - "Supported" + edca: "default-wmm" + max_client: "200" + mcs_rate: + - "0" + - "1" + - "2" + - "3" + - "4" + - "5" + - "6" + - "7" + - "8" + - "9" + - "10" + - "11" + - "12" + - "13" + - "14" + - "15" + - "16" + - "17" + - "18" + - "19" + - "20" + - "21" + - "22" + - "23" + - "24" + - "25" + - "26" + - "27" + - "28" + - "29" + - "30" + - "31" + mcs_rate_value: + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + - "Supported" + rssi_low_check: "Disabled" + rssi_thres: "-80" + specs: + - "ac" + - "n" + specs_value: + - "Enabled" + - "Enabled" + ss_mcs_rate: + - "Nss=1: MCS 0-9" + - "Nss=2: MCS 0-9" + - "Nss=3: MCS 0-9" + - "Nss=4: MCS 0-7" + ss_mcs_rate_value: + - "Supported" + - "Supported" + - "Supported" + - "Supported" + status: "Disabled" + video_amc: "Disabled" + video_cac_method: "Static" + video_max_bandwidth: "0" + video_roaming_bandwidth: "0" + voice_amc: "Disabled" + voice_cac_method: "Load-Based" + voice_max_bandwidth: "75" + voice_roaming_bandwidth: "6" diff --git a/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.parsed b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.parsed deleted file mode 100644 index fef84c26c2..0000000000 --- a/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.parsed +++ /dev/null @@ -1,54 +0,0 @@ ---- -parsed_sample: -- air_quality_alarm: Enabled - air_quality_period: '15' - air_quality_report: Enabled - aq_alarm_thresh: '35' - aq_unclassified_inter: Disabled - aq_unclassified_thresh: '20' - ble_beacon: '' - ble_beacon_alarm: '' - bluetooth_discovery: '' - bluetooth_discovery_alarm: '' - bluetooth_link: '' - bluetooth_link_alarm: '' - canopy: Enabled - canopy_alarm: Disabled - cleanair: Disabled - continuous_transmit: Enabled - continuous_transmit_alarm: Disabled - dect_like_phone: Enabled - dect_like_phone_alarm: Disabled - dot11_fh: '' - dot11_fh_alarm: '' - dot15_4: '' - dot15_4_alarm: '' - ed_rrm_sensitivity: Medium - ed_rrm_state: Disabled - ed_rrm_thresh: '50' - int_device_alarm: Enabled - interfere_device_report: Enabled - jammer: Enabled - jammer_alarm: Enabled - microsoft_device: '' - microsoft_device_alarm: '' - microwave: '' - microwave_alarm: '' - persistant_device_propagation: Disabled - persistant_device_state: Disabled - rogue_contribution: Disabled - rogue_duty_cycle_thresh: '80' - superag: Enabled - superag_alarm: Disabled - tdd_transmit: Enabled - tdd_transmit_alarm: Disabled - video_camera: Enabled - video_camera_alarm: Disabled - wifi_invalid_channel: Enabled - wifi_invalid_channel_alarm: Enabled - wifi_inverted: Enabled - wifi_inverted_alarm: Enabled - wimax_fixed: Enabled - wimax_fixed_alarm: Disabled - wimax_mobile: Enabled - wimax_mobile_alarm: Disabled diff --git a/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.yml b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.yml new file mode 100644 index 0000000000..7a1370f63f --- /dev/null +++ b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config.yml @@ -0,0 +1,54 @@ +--- +parsed_sample: + - air_quality_alarm: "Enabled" + air_quality_period: "15" + air_quality_report: "Enabled" + aq_alarm_thresh: "35" + aq_unclassified_inter: "Disabled" + aq_unclassified_thresh: "20" + ble_beacon: "" + ble_beacon_alarm: "" + bluetooth_discovery: "" + bluetooth_discovery_alarm: "" + bluetooth_link: "" + bluetooth_link_alarm: "" + canopy: "Enabled" + canopy_alarm: "Disabled" + cleanair: "Disabled" + continuous_transmit: "Enabled" + continuous_transmit_alarm: "Disabled" + dect_like_phone: "Enabled" + dect_like_phone_alarm: "Disabled" + dot11_fh: "" + dot11_fh_alarm: "" + dot15_4: "" + dot15_4_alarm: "" + ed_rrm_sensitivity: "Medium" + ed_rrm_state: "Disabled" + ed_rrm_thresh: "50" + int_device_alarm: "Enabled" + interfere_device_report: "Enabled" + jammer: "Enabled" + jammer_alarm: "Enabled" + microsoft_device: "" + microsoft_device_alarm: "" + microwave: "" + microwave_alarm: "" + persistant_device_propagation: "Disabled" + persistant_device_state: "Disabled" + rogue_contribution: "Disabled" + rogue_duty_cycle_thresh: "80" + superag: "Enabled" + superag_alarm: "Disabled" + tdd_transmit: "Enabled" + tdd_transmit_alarm: "Disabled" + video_camera: "Enabled" + video_camera_alarm: "Disabled" + wifi_invalid_channel: "Enabled" + wifi_invalid_channel_alarm: "Enabled" + wifi_inverted: "Enabled" + wifi_inverted_alarm: "Enabled" + wimax_fixed: "Enabled" + wimax_fixed_alarm: "Disabled" + wimax_mobile: "Enabled" + wimax_mobile_alarm: "Disabled" diff --git a/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.parsed b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.parsed deleted file mode 100644 index 428966c049..0000000000 --- a/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.parsed +++ /dev/null @@ -1,54 +0,0 @@ ---- -parsed_sample: -- air_quality_alarm: Enabled - air_quality_period: '15' - air_quality_report: Enabled - aq_alarm_thresh: '35' - aq_unclassified_inter: Disabled - aq_unclassified_thresh: '20' - ble_beacon: Enabled - ble_beacon_alarm: Disabled - bluetooth_discovery: Enabled - bluetooth_discovery_alarm: Disabled - bluetooth_link: Enabled - bluetooth_link_alarm: Disabled - canopy: Enabled - canopy_alarm: Disabled - cleanair: Disabled - continuous_transmit: Enabled - continuous_transmit_alarm: Disabled - dect_like_phone: Enabled - dect_like_phone_alarm: Disabled - dot11_fh: Enabled - dot11_fh_alarm: Disabled - dot15_4: Enabled - dot15_4_alarm: Disabled - ed_rrm_sensitivity: Medium - ed_rrm_state: Disabled - ed_rrm_thresh: '50' - int_device_alarm: Enabled - interfere_device_report: Enabled - jammer: Enabled - jammer_alarm: Enabled - microsoft_device: Enabled - microsoft_device_alarm: Disabled - microwave: Enabled - microwave_alarm: Disabled - persistant_device_propagation: Disabled - persistant_device_state: Disabled - rogue_contribution: Disabled - rogue_duty_cycle_thresh: '80' - superag: Enabled - superag_alarm: Disabled - tdd_transmit: Enabled - tdd_transmit_alarm: Disabled - video_camera: Enabled - video_camera_alarm: Disabled - wifi_invalid_channel: Enabled - wifi_invalid_channel_alarm: Enabled - wifi_inverted: Enabled - wifi_inverted_alarm: Enabled - wimax_fixed: Enabled - wimax_fixed_alarm: Disabled - wimax_mobile: Enabled - wimax_mobile_alarm: Disabled diff --git a/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.yml b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.yml new file mode 100644 index 0000000000..854937290f --- /dev/null +++ b/tests/cisco_wlc_ssh/show_802.11a_cleanair_config/cisco_wlc_ssh_show_802.11ab_cleanair_config_2.yml @@ -0,0 +1,54 @@ +--- +parsed_sample: + - air_quality_alarm: "Enabled" + air_quality_period: "15" + air_quality_report: "Enabled" + aq_alarm_thresh: "35" + aq_unclassified_inter: "Disabled" + aq_unclassified_thresh: "20" + ble_beacon: "Enabled" + ble_beacon_alarm: "Disabled" + bluetooth_discovery: "Enabled" + bluetooth_discovery_alarm: "Disabled" + bluetooth_link: "Enabled" + bluetooth_link_alarm: "Disabled" + canopy: "Enabled" + canopy_alarm: "Disabled" + cleanair: "Disabled" + continuous_transmit: "Enabled" + continuous_transmit_alarm: "Disabled" + dect_like_phone: "Enabled" + dect_like_phone_alarm: "Disabled" + dot11_fh: "Enabled" + dot11_fh_alarm: "Disabled" + dot15_4: "Enabled" + dot15_4_alarm: "Disabled" + ed_rrm_sensitivity: "Medium" + ed_rrm_state: "Disabled" + ed_rrm_thresh: "50" + int_device_alarm: "Enabled" + interfere_device_report: "Enabled" + jammer: "Enabled" + jammer_alarm: "Enabled" + microsoft_device: "Enabled" + microsoft_device_alarm: "Disabled" + microwave: "Enabled" + microwave_alarm: "Disabled" + persistant_device_propagation: "Disabled" + persistant_device_state: "Disabled" + rogue_contribution: "Disabled" + rogue_duty_cycle_thresh: "80" + superag: "Enabled" + superag_alarm: "Disabled" + tdd_transmit: "Enabled" + tdd_transmit_alarm: "Disabled" + video_camera: "Enabled" + video_camera_alarm: "Disabled" + wifi_invalid_channel: "Enabled" + wifi_invalid_channel_alarm: "Enabled" + wifi_inverted: "Enabled" + wifi_inverted_alarm: "Enabled" + wimax_fixed: "Enabled" + wimax_fixed_alarm: "Disabled" + wimax_mobile: "Enabled" + wimax_mobile_alarm: "Disabled" diff --git a/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.parsed b/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.parsed deleted file mode 100644 index d42a16f80c..0000000000 --- a/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.parsed +++ /dev/null @@ -1,21 +0,0 @@ ---- -parsed_sample: -- anchor_time: '0' - assign_mode: 'OFF' - cleanair_driven: Disabled - dca_channels: - - 36,40,44,48,52,56,60,64,100, - - 104,108,112,116,120,124,128, - - 132,136,140,144,149,153,157, - - '161' - dca_min: -95 dBm - dca_sensitivity: MEDIUM (15 dB) - dca_width: 20 MHz - device_aware: Disable - interfer: Enable - leader: Cisco_lab - load: Disable - noise: Enable - unused_dca_channels: - - '165' - update_time: 600 seconds diff --git a/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.yml b/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.yml new file mode 100644 index 0000000000..23c620cf4c --- /dev/null +++ b/tests/cisco_wlc_ssh/show_advanced_802.11a_channel/cisco_wlc_ssh_show_advanced_802.11a_channel.yml @@ -0,0 +1,21 @@ +--- +parsed_sample: + - anchor_time: "0" + assign_mode: "OFF" + cleanair_driven: "Disabled" + dca_channels: + - "36,40,44,48,52,56,60,64,100," + - "104,108,112,116,120,124,128," + - "132,136,140,144,149,153,157," + - "161" + dca_min: "-95 dBm" + dca_sensitivity: "MEDIUM (15 dB)" + dca_width: "20 MHz" + device_aware: "Disable" + interfer: "Enable" + leader: "Cisco_lab" + load: "Disable" + noise: "Enable" + unused_dca_channels: + - "165" + update_time: "600 seconds" diff --git a/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed b/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed deleted file mode 100644 index 3bb9293ec3..0000000000 --- a/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.parsed +++ /dev/null @@ -1,29 +0,0 @@ ---- -parsed_sample: -- administrative_state: ADMIN_ENABLED - ap_group: GROUP_PE - country_code: IT - country: Italy - flexconnect_vlan_mode: Enabled - gateway: 10.1.1.254 - identifier: '111' - image: C2700-K9W8-M - ip: 10.1.1.1 - join_date_time: Wed Jan 17 10:07:12 2018 - join_taken_time: 0 days, 00 h 05 m 36 s - lwapp_uptime: 165 days, 11 h 03 m 33 s - mac: 00:62:ec:01:02:03 - mode: FlexConnect - model: AIR-CAP2702E-E-K9 - name: AP_test_01 - netmask: 255.255.255.0 - operation_state: REGISTERED - primary_switch_ip: 10.2.2.2 - primary_switch_name: WLC - secondary_switch_ip: Not Configured - secondary_switch_name: '' - serial_number: FCEDDCCBBAA - tertiary_switch_ip: Not Configured - tertiary_switch_name: '' - uptime: 248 days, 07 h 09 m 00 s - version: 15.3(3)JC9$ diff --git a/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.yml b/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.yml new file mode 100644 index 0000000000..d470a40c27 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_ap_config_general/cisco_wlc_ssh_show_ap_config_general.yml @@ -0,0 +1,29 @@ +--- +parsed_sample: + - administrative_state: "ADMIN_ENABLED" + ap_group: "GROUP_PE" + country_code: "IT" + country: "Italy" + flexconnect_vlan_mode: "Enabled" + gateway: "10.1.1.254" + identifier: "111" + image: "C2700-K9W8-M" + ip: "10.1.1.1" + join_date_time: "Wed Jan 17 10:07:12 2018" + join_taken_time: "0 days, 00 h 05 m 36 s" + lwapp_uptime: "165 days, 11 h 03 m 33 s" + mac: "00:62:ec:01:02:03" + mode: "FlexConnect" + model: "AIR-CAP2702E-E-K9" + name: "AP_test_01" + netmask: "255.255.255.0" + operation_state: "REGISTERED" + primary_switch_ip: "10.2.2.2" + primary_switch_name: "WLC" + secondary_switch_ip: "Not Configured" + secondary_switch_name: "" + serial_number: "FCEDDCCBBAA" + tertiary_switch_ip: "Not Configured" + tertiary_switch_name: "" + uptime: "248 days, 07 h 09 m 00 s" + version: "15.3(3)JC9$" diff --git a/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.parsed b/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.parsed deleted file mode 100644 index 676162eca4..0000000000 --- a/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.parsed +++ /dev/null @@ -1,20 +0,0 @@ ---- -parsed_sample: -- ap_name: 2800-Default - slot: "3" - ap_model: AIR-AP2802I-E-K9 - mac: c0:ff:ee:c0:ff:ee - location: default location - country: IT - ip: 172.25.81.216 - clients: "0" - dse_location: "[0 ,0 ,0 ]" -- ap_name: 2700-Server - slot: "2" - ap_model: AIR-CAP2702E-E-K9 - mac: ca:fe:ca:fe:ca:fe - location: Server room - country: IT - ip: 172.25.81.221 - clients: "0" - dse_location: "[0 ,0 ,0 ]" diff --git a/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.yml b/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.yml new file mode 100644 index 0000000000..14e5dd6f97 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_ap_summary/cisco_wlc_ssh_show_ap_summary.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - ap_name: "2800-Default" + slot: "3" + ap_model: "AIR-AP2802I-E-K9" + mac: "c0:ff:ee:c0:ff:ee" + location: "default location" + country: "IT" + ip: "172.25.81.216" + clients: "0" + dse_location: "[0 ,0 ,0 ]" + - ap_name: "2700-Server" + slot: "2" + ap_model: "AIR-CAP2702E-E-K9" + mac: "ca:fe:ca:fe:ca:fe" + location: "Server room" + country: "IT" + ip: "172.25.81.221" + clients: "0" + dse_location: "[0 ,0 ,0 ]" diff --git a/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.parsed b/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.parsed deleted file mode 100644 index 33bf925a7b..0000000000 --- a/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.parsed +++ /dev/null @@ -1,25 +0,0 @@ ---- -parsed_sample: -- platform: "N77-C7706" - management_ip: "1.2.3.4" - software_version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(10)" - destination_host: "AAA.pizza.com(FXS1828Q2JH)" - remote_port: "Ethernet1/15" - local_port: "GigabitEthernet0/0/2" - capabilities: "Router Switch IGMP" - -- platform: "cisco WS-C3750G-12S" - management_ip: "172.5.6.7" - software_version: "Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(55)SE11, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Wed 17-Aug-16 13:28 by prod_rel_team" - destination_host: "BBB.beer.com" - remote_port: "GigabitEthernet1/0/11" - local_port: "GigabitEthernet0/0/7" - capabilities: "Router Switch IGMP" - -- platform: "cisco WS-C3750G-12S" - management_ip: "172.9.10.11" - software_version: "Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(55)SE11, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Wed 17-Aug-16 13:28 by prod_rel_team" - destination_host: "CCC.cake.com" - remote_port: "GigabitEthernet1/0/1" - local_port: "GigabitEthernet0/0/8" - capabilities: "Router Switch IGMP" diff --git a/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.yml b/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.yml new file mode 100644 index 0000000000..6b7913a4f7 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_cdp_neighbors_detail/cisco_wlc_ssh_show_cdp_neighbors_detail.yml @@ -0,0 +1,29 @@ +--- +parsed_sample: + - platform: "N77-C7706" + management_ip: "1.2.3.4" + software_version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(10)" + destination_host: "AAA.pizza.com(FXS1828Q2JH)" + remote_port: "Ethernet1/15" + local_port: "GigabitEthernet0/0/2" + capabilities: "Router Switch IGMP" + - platform: "cisco WS-C3750G-12S" + management_ip: "172.5.6.7" + software_version: "Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M),\ + \ Version 12.2(55)SE11, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport\ + \ Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Wed 17-Aug-16 13:28\ + \ by prod_rel_team" + destination_host: "BBB.beer.com" + remote_port: "GigabitEthernet1/0/11" + local_port: "GigabitEthernet0/0/7" + capabilities: "Router Switch IGMP" + - platform: "cisco WS-C3750G-12S" + management_ip: "172.9.10.11" + software_version: "Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M),\ + \ Version 12.2(55)SE11, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport\ + \ Copyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Wed 17-Aug-16 13:28\ + \ by prod_rel_team" + destination_host: "CCC.cake.com" + remote_port: "GigabitEthernet1/0/1" + local_port: "GigabitEthernet0/0/8" + capabilities: "Router Switch IGMP" diff --git a/tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.parsed b/tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.yml similarity index 98% rename from tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.parsed rename to tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.yml index ef5ffe316d..ff8ba27b68 100644 --- a/tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.parsed +++ b/tests/cisco_wlc_ssh/show_client_detail/cisco_wlc_show_client_detail.yml @@ -1,3 +1,4 @@ +--- parsed_sample: - client_username: "N/A" ap_name: "APf-16" diff --git a/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.parsed b/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.parsed deleted file mode 100644 index 7949759520..0000000000 --- a/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.parsed +++ /dev/null @@ -1,10 +0,0 @@ ---- -parsed_sample: -- mac: aa:bb:cc:dd:ee:ff - comment: "bad-guy" -- mac: 00:22:43:cc:ac:2d - comment: "request #6aa493" -- mac: 34:f6:aa:7e:70:3e - comment: "ticket #612333" -- mac: 40:b0:34:99:95:d9 - comment: "Unkown Device" \ No newline at end of file diff --git a/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.yml b/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.yml new file mode 100644 index 0000000000..1897325a73 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_exclusionlist/cisco_wlc_ssh_show_exclusionlist.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - mac: "aa:bb:cc:dd:ee:ff" + comment: "bad-guy" + - mac: "00:22:43:cc:ac:2d" + comment: "request #6aa493" + - mac: "34:f6:aa:7e:70:3e" + comment: "ticket #612333" + - mac: "40:b0:34:99:95:d9" + comment: "Unkown Device" diff --git a/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.parsed b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.parsed deleted file mode 100644 index 9d31d679c7..0000000000 --- a/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.parsed +++ /dev/null @@ -1,26 +0,0 @@ ---- -parsed_sample: -- ap_mgr: 'Yes' - guest: N/A - int_count: '3' - ip_addr: 192.168.1.11 - name: management - port: '1' - type: Static - vlan: untagged -- ap_mgr: 'No' - guest: N/A - int_count: '3' - ip_addr: 11.1.1.1 - name: service-port - port: N/A - type: Static - vlan: N/A -- ap_mgr: 'No' - guest: N/A - int_count: '3' - ip_addr: 1.1.1.1 - name: virtual - port: N/A - type: Static - vlan: N/A \ No newline at end of file diff --git a/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.yml b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.yml new file mode 100644 index 0000000000..fb4ed33279 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - ap_mgr: "Yes" + guest: "N/A" + int_count: "3" + ip_addr: "192.168.1.11" + name: "management" + port: "1" + type: "Static" + vlan: "untagged" + - ap_mgr: "No" + guest: "N/A" + int_count: "3" + ip_addr: "11.1.1.1" + name: "service-port" + port: "N/A" + type: "Static" + vlan: "N/A" + - ap_mgr: "No" + guest: "N/A" + int_count: "3" + ip_addr: "1.1.1.1" + name: "virtual" + port: "N/A" + type: "Static" + vlan: "N/A" diff --git a/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.parsed b/tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.yml similarity index 100% rename from tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.parsed rename to tests/cisco_wlc_ssh/show_inventory/cisco_wlc_ssh_show_inventory.yml diff --git a/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.parsed b/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.parsed deleted file mode 100644 index 0d64a5df5a..0000000000 --- a/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.parsed +++ /dev/null @@ -1,17 +0,0 @@ ---- -parsed_sample: -- applied: 'Yes' - band: 5 GHz - desc: - n_only: disable - profile: VSW_OFFICE -- applied: 'Yes' - band: 5 GHz - desc: - n_only: disable - profile: VSW_OUTDOOR -- applied: 'Yes' - band: 5 GHz - desc: - n_only: disable - profile: VSW_WAREHOUSE diff --git a/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.yml b/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.yml new file mode 100644 index 0000000000..9c074159c4 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_rf-profile_summary/cisco_wlc_ssh_show_rf-profile_summary.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - applied: "Yes" + band: "5 GHz" + desc: "" + n_only: "disable" + profile: "VSW_OFFICE" + - applied: "Yes" + band: "5 GHz" + desc: "" + n_only: "disable" + profile: "VSW_OUTDOOR" + - applied: "Yes" + band: "5 GHz" + desc: "" + n_only: "disable" + profile: "VSW_WAREHOUSE" diff --git a/tests/cisco_wlc_ssh/show_sysinfo/cisco_wlc_ssh_show_sysinfo.parsed b/tests/cisco_wlc_ssh/show_sysinfo/cisco_wlc_ssh_show_sysinfo.parsed deleted file mode 100644 index 9f65e7b8ef..0000000000 --- a/tests/cisco_wlc_ssh/show_sysinfo/cisco_wlc_ssh_show_sysinfo.parsed +++ /dev/null @@ -1,20 +0,0 @@ ---- -parsed_sample: - -- bootloader_version: 1.0.16 - build_type: DATA + WPS - configured_country: AU - Australia - field_recovery_image_version: 1.0.0 - firmware_version: PIC 15.0 - ip_address: 192.0.2.5 - last_reset: Power on reset - mac_address: D0:C2:82:11:22:33 - maximum_aps: '25' - number_active_clients: '20' - number_wlans: '6' - product_version: 7.4.110.0 - system_contact: '' - system_location: '' - system_name: TEST-WLC - system_timezone_location: '' - system_up_time: 109 days 16 hrs 33 mins 12 secs diff --git a/tests/cisco_wlc_ssh/show_sysinfo/cisco_wlc_ssh_show_sysinfo.yml b/tests/cisco_wlc_ssh/show_sysinfo/cisco_wlc_ssh_show_sysinfo.yml new file mode 100644 index 0000000000..6f446b198c --- /dev/null +++ b/tests/cisco_wlc_ssh/show_sysinfo/cisco_wlc_ssh_show_sysinfo.yml @@ -0,0 +1,19 @@ +--- +parsed_sample: + - bootloader_version: "1.0.16" + build_type: "DATA + WPS" + configured_country: "AU - Australia" + field_recovery_image_version: "1.0.0" + firmware_version: "PIC 15.0" + ip_address: "192.0.2.5" + last_reset: "Power on reset" + mac_address: "D0:C2:82:11:22:33" + maximum_aps: "25" + number_active_clients: "20" + number_wlans: "6" + product_version: "7.4.110.0" + system_contact: "" + system_location: "" + system_name: "TEST-WLC" + system_timezone_location: "" + system_up_time: "109 days 16 hrs 33 mins 12 secs" diff --git a/tests/cisco_xr/admin_show_controller_fabric_health/cisco_xr_admin_show_controller_fabric_health.parsed b/tests/cisco_xr/admin_show_controller_fabric_health/cisco_xr_admin_show_controller_fabric_health.parsed deleted file mode 100644 index 16826e9af3..0000000000 --- a/tests/cisco_xr/admin_show_controller_fabric_health/cisco_xr_admin_show_controller_fabric_health.parsed +++ /dev/null @@ -1,85 +0,0 @@ ---- - -parsed_sample: - - -- plane_id_3_sfe_asics_down : '0' - rack_planes_health_down : '1' - rack_fia_asics_health_down : '0' - router_sfe_asics_health_up : '30' - router_planes_health_admin_down : '0' - plane_id_2_admin_state : 'UP' - plane_id_4_plane_state : 'UP' - plane_id_5_fab_id_reachable : '72' - router_rack_health_lcc : '1' - plane_id_3_fab_id_reachable : '72' - plane_id_4_racks_in_issue : '0' - rack_valid_fab_ids : '72' - plane_id_4_sfe_asics_down : '0' - router_planes_health_down : '1' - plane_id_1_admin_state : 'UP' - rack_sfe_asics_health_total : '36' - plane_id_0_sfe_asics_total : '6' - router_fia_asics_health_total : '36' - plane_id_2_plane_state : 'DN' - plane_id_2_fab_id_reachable : '0' - plane_id_4_sfe_asics_total : '6' - plane_id_2_data_drop_err : 'No' - fsdb_status : 'Ok' - plane_id_4_data_drop_err : 'No' - router_sfe_asics_health_total : '36' - rack_sfe_asics_health_up : '30' - plane_id_5_admin_state : 'UP' - router_rack_health_fcc : '0' - plane_id_0_plane_state : 'UP' - router_sfe_asics_health_down : '6' - sfe_status_fc1 : 'Ok' - plane_id_3_admin_state : 'UP' - plane_id_5_data_drop_err : 'No' - plane_id_5_sfe_asics_up : '6' - plane_id_0_racks_in_issue : '0' - plane_id_4_sfe_asics_up : '6' - sfe_status_fc3 : 'Ok' - plane_id_0_fab_id_reachable : '72' - plane_id_3_sfe_asics_total : '6' - plane_id_2_sfe_asics_total : '6' - router_fia_asics_health_down : '0' - rack_fia_asics_health_up : '36' - plane_id_3_racks_in_issue : '0' - rack_sfe_asics_health_down : '6' - plane_id_0_data_drop_err : 'No' - plane_id_0_sfe_asics_down : '0' - plane_id_3_plane_state : 'UP' - plane_id_5_racks_in_issue : '0' - fsdb_aggregator : 'OK' - sfe_status_fc5 : 'Ok' - sfe_status_fc2 : 'Ok' - sfe_status_fc0 : 'Ok' - plane_id_1_plane_state : 'UP' - plane_id_1_sfe_asics_down : '0' - plane_id_1_sfe_asics_up : '6' - plane_id_3_data_drop_err : 'No' - rack_planes_health_up : '5' - router_rack_health_total : '1' - router_planes_health_mcast_down : '0' - plane_id_4_admin_state : 'UP' - plane_id_1_sfe_asics_total : '6' - plane_id_2_racks_in_issue : '1' - plane_id_1_data_drop_err : 'No' - plane_id_5_sfe_asics_total : '6' - plane_id_5_plane_state : 'UP' - plane_id_1_racks_in_issue : '0' - router_planes_health_up : '5' - router_fia_asics_health_up : '36' - sfe_status_fc4 : 'Ok' - plane_id_5_sfe_asics_down : '0' - plane_id_4_fab_id_reachable : '72' - rack_fia_asics_health_total : '36' - plane_id_2_sfe_asics_down : '6' - plane_id_0_sfe_asics_up : '6' - plane_id_3_sfe_asics_up : '6' - plane_id_2_sfe_asics_up : '0' - plane_id_0_admin_state : 'UP' - rack_planes_health_mcast_down : '0' - plane_id_1_fab_id_reachable : '72' - rack_id : '0' \ No newline at end of file diff --git a/tests/cisco_xr/admin_show_controller_fabric_health/cisco_xr_admin_show_controller_fabric_health.yml b/tests/cisco_xr/admin_show_controller_fabric_health/cisco_xr_admin_show_controller_fabric_health.yml new file mode 100644 index 0000000000..66258a366b --- /dev/null +++ b/tests/cisco_xr/admin_show_controller_fabric_health/cisco_xr_admin_show_controller_fabric_health.yml @@ -0,0 +1,82 @@ +--- +parsed_sample: + - plane_id_3_sfe_asics_down: "0" + rack_planes_health_down: "1" + rack_fia_asics_health_down: "0" + router_sfe_asics_health_up: "30" + router_planes_health_admin_down: "0" + plane_id_2_admin_state: "UP" + plane_id_4_plane_state: "UP" + plane_id_5_fab_id_reachable: "72" + router_rack_health_lcc: "1" + plane_id_3_fab_id_reachable: "72" + plane_id_4_racks_in_issue: "0" + rack_valid_fab_ids: "72" + plane_id_4_sfe_asics_down: "0" + router_planes_health_down: "1" + plane_id_1_admin_state: "UP" + rack_sfe_asics_health_total: "36" + plane_id_0_sfe_asics_total: "6" + router_fia_asics_health_total: "36" + plane_id_2_plane_state: "DN" + plane_id_2_fab_id_reachable: "0" + plane_id_4_sfe_asics_total: "6" + plane_id_2_data_drop_err: "No" + fsdb_status: "Ok" + plane_id_4_data_drop_err: "No" + router_sfe_asics_health_total: "36" + rack_sfe_asics_health_up: "30" + plane_id_5_admin_state: "UP" + router_rack_health_fcc: "0" + plane_id_0_plane_state: "UP" + router_sfe_asics_health_down: "6" + sfe_status_fc1: "Ok" + plane_id_3_admin_state: "UP" + plane_id_5_data_drop_err: "No" + plane_id_5_sfe_asics_up: "6" + plane_id_0_racks_in_issue: "0" + plane_id_4_sfe_asics_up: "6" + sfe_status_fc3: "Ok" + plane_id_0_fab_id_reachable: "72" + plane_id_3_sfe_asics_total: "6" + plane_id_2_sfe_asics_total: "6" + router_fia_asics_health_down: "0" + rack_fia_asics_health_up: "36" + plane_id_3_racks_in_issue: "0" + rack_sfe_asics_health_down: "6" + plane_id_0_data_drop_err: "No" + plane_id_0_sfe_asics_down: "0" + plane_id_3_plane_state: "UP" + plane_id_5_racks_in_issue: "0" + fsdb_aggregator: "OK" + sfe_status_fc5: "Ok" + sfe_status_fc2: "Ok" + sfe_status_fc0: "Ok" + plane_id_1_plane_state: "UP" + plane_id_1_sfe_asics_down: "0" + plane_id_1_sfe_asics_up: "6" + plane_id_3_data_drop_err: "No" + rack_planes_health_up: "5" + router_rack_health_total: "1" + router_planes_health_mcast_down: "0" + plane_id_4_admin_state: "UP" + plane_id_1_sfe_asics_total: "6" + plane_id_2_racks_in_issue: "1" + plane_id_1_data_drop_err: "No" + plane_id_5_sfe_asics_total: "6" + plane_id_5_plane_state: "UP" + plane_id_1_racks_in_issue: "0" + router_planes_health_up: "5" + router_fia_asics_health_up: "36" + sfe_status_fc4: "Ok" + plane_id_5_sfe_asics_down: "0" + plane_id_4_fab_id_reachable: "72" + rack_fia_asics_health_total: "36" + plane_id_2_sfe_asics_down: "6" + plane_id_0_sfe_asics_up: "6" + plane_id_3_sfe_asics_up: "6" + plane_id_2_sfe_asics_up: "0" + plane_id_0_admin_state: "UP" + rack_planes_health_mcast_down: "0" + plane_id_1_fab_id_reachable: "72" + rack_id: "0" diff --git a/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.parsed b/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.parsed deleted file mode 100644 index bebd7d9daa..0000000000 --- a/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.parsed +++ /dev/null @@ -1,41 +0,0 @@ ---- -parsed_sample: - - module : '0/FT0' - type : 'NC55-5516-FAN' - fan_speed : ['6192', '3870', '6214', '3859', '6257', '3857', '6420', '4029', '6390', '3938', '6467', '4066'] - - module : '0/FT1' - type : 'NC55-5516-FAN' - fan_speed : ['6360', '3970', '6143', '3824', '6033', '3750', '6279', '3859', '6060', '3721', '6375', '3964'] - - module : '0/FT2' - type : 'NC55-5516-FAN' - fan_speed : ['6545', '4014', '6474', '3994', '6000', '3752', '6375', '4002', '5921', '3698', '6308', '3915'] - - module : '0/PM0' - type : 'NC55-PWR-3KW-AC' - fan_speed : ['8021', '8537'] - - module : '0/PM1' - type : 'NC55-PWR-3KW-AC' - fan_speed : ['8064', '8387'] - - module : '0/PM2' - type : 'NC55-PWR-3KW-AC' - fan_speed : ['8064', '8473'] - - module : '0/PM3' - type : 'NC55-PWR-3KW-AC' - fan_speed : ['7978', '8537'] - - module : '0/PM4' - type : 'NC55-PWR-3KW-AC' - fan_speed : ['8064', '8473'] - - module : '0/PM5' - type : 'NC55-PWR-3KW-AC' - fan_speed : ['8086', '8451'] - - module : '0/PM6' - type : 'NC55-PWR-3KW-AC' - fan_speed : ['8086', '8537'] - - module : '0/PM7' - type : 'NC55-PWR-3KW-AC' - fan_speed : ['7978', '8473'] - - module : '0/PM8' - type : 'NC55-PWR-3KW-AC' - fan_speed : ['8000', '8516'] - - module : '0/PM9' - type : 'NC55-PWR-3KW-AC' - fan_speed : ['8021', '8516'] diff --git a/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.yml b/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.yml new file mode 100644 index 0000000000..8f480bcb98 --- /dev/null +++ b/tests/cisco_xr/admin_show_environment_fan/cisco_xr_admin_show_environment_fan.yml @@ -0,0 +1,97 @@ +--- +parsed_sample: + - module: "0/FT0" + type: "NC55-5516-FAN" + fan_speed: + - "6192" + - "3870" + - "6214" + - "3859" + - "6257" + - "3857" + - "6420" + - "4029" + - "6390" + - "3938" + - "6467" + - "4066" + - module: "0/FT1" + type: "NC55-5516-FAN" + fan_speed: + - "6360" + - "3970" + - "6143" + - "3824" + - "6033" + - "3750" + - "6279" + - "3859" + - "6060" + - "3721" + - "6375" + - "3964" + - module: "0/FT2" + type: "NC55-5516-FAN" + fan_speed: + - "6545" + - "4014" + - "6474" + - "3994" + - "6000" + - "3752" + - "6375" + - "4002" + - "5921" + - "3698" + - "6308" + - "3915" + - module: "0/PM0" + type: "NC55-PWR-3KW-AC" + fan_speed: + - "8021" + - "8537" + - module: "0/PM1" + type: "NC55-PWR-3KW-AC" + fan_speed: + - "8064" + - "8387" + - module: "0/PM2" + type: "NC55-PWR-3KW-AC" + fan_speed: + - "8064" + - "8473" + - module: "0/PM3" + type: "NC55-PWR-3KW-AC" + fan_speed: + - "7978" + - "8537" + - module: "0/PM4" + type: "NC55-PWR-3KW-AC" + fan_speed: + - "8064" + - "8473" + - module: "0/PM5" + type: "NC55-PWR-3KW-AC" + fan_speed: + - "8086" + - "8451" + - module: "0/PM6" + type: "NC55-PWR-3KW-AC" + fan_speed: + - "8086" + - "8537" + - module: "0/PM7" + type: "NC55-PWR-3KW-AC" + fan_speed: + - "7978" + - "8473" + - module: "0/PM8" + type: "NC55-PWR-3KW-AC" + fan_speed: + - "8000" + - "8516" + - module: "0/PM9" + type: "NC55-PWR-3KW-AC" + fan_speed: + - "8021" + - "8516" diff --git a/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.parsed b/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.parsed deleted file mode 100644 index ff45e8f69a..0000000000 --- a/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.parsed +++ /dev/null @@ -1,48 +0,0 @@ ---- -parsed_sample: - -- descr: ASR9K Route Switch Processor with 440G/slot Fabric and 6GB - name: module 0/RSP0/CPU0 - pid: A9K-RSP440-TR - sn: M9YXCZV9QF - vid: V06 -- descr: ASR-9006 Fan Tray V2 - name: fantray 0/FT0/SP - pid: ASR-9006-FAN-V2 - sn: PDANV9GYV8H - vid: V09 -- descr: ASR9K Generic Fan - name: fan0 0/FT0/SP - pid: N/A - sn: '' - vid: N/A -- descr: 160G Modular Linecard, Packet Transport Optimized - name: module 0/1/CPU0 - pid: A9K-MOD160-TR - sn: 94TU4CACM47Y - vid: V05 -- descr: ASR 9000 8-port 10GE Modular Port Adapter - name: module 0/1/0 - pid: A9K-MPA-8X10GE - sn: 2ZZQVPHZCJ5 - vid: V02 -- descr: 10GBASE-LR SFP+ Module for SMF - name: module mau 0/1/0/0 - pid: SFP-10G-LR - sn: QMXQLS9GKS - vid: 'V01 ' -- descr: 10GBASE-LR SFP+ Module for SMF - name: module mau TenGigE0/2/CPU0/0 - pid: SFP-10G-LR - sn: CB7HHMVC - vid: 'V01 ' -- descr: 3kW AC V2 Power Module - name: power-module 0/PS0/M0/SP - pid: PWR-3KW-AC-V2 - sn: ZP7K5XBV9KE - vid: V03 -- descr: ASR 9006 4 Line Card Slot Chassis with V2 AC PEM - name: chassis ASR-9006 - pid: ASR-9006 - sn: JCY98XR393D - vid: V01 diff --git a/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.yml b/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.yml new file mode 100644 index 0000000000..7ee8b350db --- /dev/null +++ b/tests/cisco_xr/admin_show_inventory/cisco_xr_admin_show_inventory.yml @@ -0,0 +1,47 @@ +--- +parsed_sample: + - descr: "ASR9K Route Switch Processor with 440G/slot Fabric and 6GB" + name: "module 0/RSP0/CPU0" + pid: "A9K-RSP440-TR" + sn: "M9YXCZV9QF" + vid: "V06" + - descr: "ASR-9006 Fan Tray V2" + name: "fantray 0/FT0/SP" + pid: "ASR-9006-FAN-V2" + sn: "PDANV9GYV8H" + vid: "V09" + - descr: "ASR9K Generic Fan" + name: "fan0 0/FT0/SP" + pid: "N/A" + sn: "" + vid: "N/A" + - descr: "160G Modular Linecard, Packet Transport Optimized" + name: "module 0/1/CPU0" + pid: "A9K-MOD160-TR" + sn: "94TU4CACM47Y" + vid: "V05" + - descr: "ASR 9000 8-port 10GE Modular Port Adapter" + name: "module 0/1/0" + pid: "A9K-MPA-8X10GE" + sn: "2ZZQVPHZCJ5" + vid: "V02" + - descr: "10GBASE-LR SFP+ Module for SMF" + name: "module mau 0/1/0/0" + pid: "SFP-10G-LR" + sn: "QMXQLS9GKS" + vid: "V01 " + - descr: "10GBASE-LR SFP+ Module for SMF" + name: "module mau TenGigE0/2/CPU0/0" + pid: "SFP-10G-LR" + sn: "CB7HHMVC" + vid: "V01 " + - descr: "3kW AC V2 Power Module" + name: "power-module 0/PS0/M0/SP" + pid: "PWR-3KW-AC-V2" + sn: "ZP7K5XBV9KE" + vid: "V03" + - descr: "ASR 9006 4 Line Card Slot Chassis with V2 AC PEM" + name: "chassis ASR-9006" + pid: "ASR-9006" + sn: "JCY98XR393D" + vid: "V01" diff --git a/tests/cisco_xr/admin_show_platform/cisco_xr_admin_show_platform.parsed b/tests/cisco_xr/admin_show_platform/cisco_xr_admin_show_platform.parsed deleted file mode 100644 index 32bdafcbb9..0000000000 --- a/tests/cisco_xr/admin_show_platform/cisco_xr_admin_show_platform.parsed +++ /dev/null @@ -1,27 +0,0 @@ ---- -parsed_sample: - -- node: "0/RSP0/CPU0" - type: "A9K-RSP440-TR(Active)" - state: "IOS XR RUN" - config_state: "PWR,NSHUT,MON" - -- node: "0/RSP1/CPU0" - type: "A9K-RSP440-TR(Standby)" - state: "IOS XR RUN" - config_state: "PWR,NSHUT,MON" - -- node: "0/FT0/SP" - type: "ASR-9010-FAN-V2" - state: "READY" - config_state: "" - -- node: "0/FT1/SP" - type: "ASR-9010-FAN-V2" - state: "READY" - config_state: "" - -- node: "0/0/0" - type: "A9K-MPA-2X40GE" - state: "OK" - config_state: "PWR,NSHUT,MON" \ No newline at end of file diff --git a/tests/cisco_xr/admin_show_platform/cisco_xr_admin_show_platform.yml b/tests/cisco_xr/admin_show_platform/cisco_xr_admin_show_platform.yml new file mode 100644 index 0000000000..5335753a47 --- /dev/null +++ b/tests/cisco_xr/admin_show_platform/cisco_xr_admin_show_platform.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - node: "0/RSP0/CPU0" + type: "A9K-RSP440-TR(Active)" + state: "IOS XR RUN" + config_state: "PWR,NSHUT,MON" + - node: "0/RSP1/CPU0" + type: "A9K-RSP440-TR(Standby)" + state: "IOS XR RUN" + config_state: "PWR,NSHUT,MON" + - node: "0/FT0/SP" + type: "ASR-9010-FAN-V2" + state: "READY" + config_state: "" + - node: "0/FT1/SP" + type: "ASR-9010-FAN-V2" + state: "READY" + config_state: "" + - node: "0/0/0" + type: "A9K-MPA-2X40GE" + state: "OK" + config_state: "PWR,NSHUT,MON" diff --git a/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.parsed b/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.parsed deleted file mode 100644 index 3d473f16a5..0000000000 --- a/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.parsed +++ /dev/null @@ -1,163 +0,0 @@ ---- - -parsed_sample: - - -- id : 'sysadmin' - location : '0/0' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.4.1' - status : 'running' - - -- id : 'default-sdr' - location : '0/0' - hb_sent : '293478' - hb_recv : '293478' - ip_addr : '192.0.4.3' - status : 'running' - - -- id : 'sysadmin' - location : '0/1' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.8.1' - status : 'running' - - -- id : 'default-sdr' - location : '0/1' - hb_sent : '293478' - hb_recv : '293478' - ip_addr : '192.0.8.3' - status : 'running' - - -- id : 'sysadmin' - location : '0/2' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.12.1' - status : 'running' - - -- id : 'default-sdr' - location : '0/2' - hb_sent : '293478' - hb_recv : '293478' - ip_addr : '192.0.12.3' - status : 'running' - - -- id : 'sysadmin' - location : '0/3' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.16.1' - status : 'running' - - -- id : 'default-sdr' - location : '0/3' - hb_sent : '293478' - hb_recv : '293478' - ip_addr : '192.0.16.3' - status : 'running' - - -- id : 'sysadmin' - location : '0/4' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.20.1' - status : 'running' - - -- id : 'default-sdr' - location : '0/4' - hb_sent : '293478' - hb_recv : '293478' - ip_addr : '192.0.20.3' - status : 'running' - - -- id : 'sysadmin' - location : '0/FC0' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.84.1' - status : 'running' - - -- id : 'sysadmin' - location : '0/FC1' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.88.1' - status : 'running' - - -- id : 'sysadmin' - location : '0/FC2' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.92.1' - status : 'running' - - -- id : 'sysadmin' - location : '0/FC3' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.96.1' - status : 'running' - - -- id : 'sysadmin' - location : '0/FC4' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.100.1' - status : 'running' - - -- id : 'sysadmin' - location : '0/FC5' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.104.1' - status : 'running' - - -- id : 'sysadmin' - location : '0/RP0' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.108.1' - status : 'running' - - -- id : 'default-sdr' - location : '0/RP0' - hb_sent : '5869560' - hb_recv : '5869560' - ip_addr : '192.0.108.4' - status : 'running' - - -- id : 'sysadmin' - location : '0/SC0' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.116.1' - status : 'running' - - -- id : 'sysadmin' - location : '0/SC1' - hb_sent : 'NA' - hb_recv : 'NA' - ip_addr : '192.0.120.1' - status : 'running' \ No newline at end of file diff --git a/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.yml b/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.yml new file mode 100644 index 0000000000..f134e4c214 --- /dev/null +++ b/tests/cisco_xr/admin_show_vm/cisco_xr_admin_show_vm.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - id: "sysadmin" + location: "0/0" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.4.1" + status: "running" + - id: "default-sdr" + location: "0/0" + hb_sent: "293478" + hb_recv: "293478" + ip_addr: "192.0.4.3" + status: "running" + - id: "sysadmin" + location: "0/1" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.8.1" + status: "running" + - id: "default-sdr" + location: "0/1" + hb_sent: "293478" + hb_recv: "293478" + ip_addr: "192.0.8.3" + status: "running" + - id: "sysadmin" + location: "0/2" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.12.1" + status: "running" + - id: "default-sdr" + location: "0/2" + hb_sent: "293478" + hb_recv: "293478" + ip_addr: "192.0.12.3" + status: "running" + - id: "sysadmin" + location: "0/3" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.16.1" + status: "running" + - id: "default-sdr" + location: "0/3" + hb_sent: "293478" + hb_recv: "293478" + ip_addr: "192.0.16.3" + status: "running" + - id: "sysadmin" + location: "0/4" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.20.1" + status: "running" + - id: "default-sdr" + location: "0/4" + hb_sent: "293478" + hb_recv: "293478" + ip_addr: "192.0.20.3" + status: "running" + - id: "sysadmin" + location: "0/FC0" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.84.1" + status: "running" + - id: "sysadmin" + location: "0/FC1" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.88.1" + status: "running" + - id: "sysadmin" + location: "0/FC2" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.92.1" + status: "running" + - id: "sysadmin" + location: "0/FC3" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.96.1" + status: "running" + - id: "sysadmin" + location: "0/FC4" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.100.1" + status: "running" + - id: "sysadmin" + location: "0/FC5" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.104.1" + status: "running" + - id: "sysadmin" + location: "0/RP0" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.108.1" + status: "running" + - id: "default-sdr" + location: "0/RP0" + hb_sent: "5869560" + hb_recv: "5869560" + ip_addr: "192.0.108.4" + status: "running" + - id: "sysadmin" + location: "0/SC0" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.116.1" + status: "running" + - id: "sysadmin" + location: "0/SC1" + hb_sent: "NA" + hb_recv: "NA" + ip_addr: "192.0.120.1" + status: "running" diff --git a/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.parsed b/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.parsed deleted file mode 100644 index ffeeed0c5e..0000000000 --- a/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.parsed +++ /dev/null @@ -1,111 +0,0 @@ ---- -parsed_sample: - -- asic: Fia - crc_error_count: '99999' - generic_error_count: '0' - instance: '0' - mbe_error_count: '44' - number_of_nodes: '22' - parity_error_count: '55' - reset_error_count: '0' - sbe_error_count: '33' -- asic: Fia - crc_error_count: '0' - generic_error_count: '0' - instance: '1' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '23' -- asic: Fia - crc_error_count: '0' - generic_error_count: '0' - instance: '2' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '0' -- asic: Fia - crc_error_count: '0' - generic_error_count: '0' - instance: '3' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '0' -- asic: Prm_np - crc_error_count: '0' - generic_error_count: '0' - instance: '0' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '0' -- asic: Prm_np - crc_error_count: '0' - generic_error_count: '0' - instance: '1' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '0' -- asic: Prm_np - crc_error_count: '0' - generic_error_count: '0' - instance: '2' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '0' -- asic: Prm_np - crc_error_count: '0' - generic_error_count: '0' - instance: '3' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '0' -- asic: Prm_np - crc_error_count: '0' - generic_error_count: '0' - instance: '4' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '0' -- asic: Prm_np - crc_error_count: '0' - generic_error_count: '0' - instance: '5' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '0' -- asic: Prm_np - crc_error_count: '0' - generic_error_count: '0' - instance: '6' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '0' -- asic: Prm_np - crc_error_count: '0' - generic_error_count: '0' - instance: '7' - mbe_error_count: '0' - number_of_nodes: '0' - parity_error_count: '0' - reset_error_count: '0' - sbe_error_count: '0' diff --git a/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.yml b/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.yml new file mode 100644 index 0000000000..39ce82153f --- /dev/null +++ b/tests/cisco_xr/show_asic-errors_all_location/cisco_xr_show_asic-errors_all_location.yml @@ -0,0 +1,110 @@ +--- +parsed_sample: + - asic: "Fia" + crc_error_count: "99999" + generic_error_count: "0" + instance: "0" + mbe_error_count: "44" + number_of_nodes: "22" + parity_error_count: "55" + reset_error_count: "0" + sbe_error_count: "33" + - asic: "Fia" + crc_error_count: "0" + generic_error_count: "0" + instance: "1" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "23" + - asic: "Fia" + crc_error_count: "0" + generic_error_count: "0" + instance: "2" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "0" + - asic: "Fia" + crc_error_count: "0" + generic_error_count: "0" + instance: "3" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "0" + - asic: "Prm_np" + crc_error_count: "0" + generic_error_count: "0" + instance: "0" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "0" + - asic: "Prm_np" + crc_error_count: "0" + generic_error_count: "0" + instance: "1" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "0" + - asic: "Prm_np" + crc_error_count: "0" + generic_error_count: "0" + instance: "2" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "0" + - asic: "Prm_np" + crc_error_count: "0" + generic_error_count: "0" + instance: "3" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "0" + - asic: "Prm_np" + crc_error_count: "0" + generic_error_count: "0" + instance: "4" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "0" + - asic: "Prm_np" + crc_error_count: "0" + generic_error_count: "0" + instance: "5" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "0" + - asic: "Prm_np" + crc_error_count: "0" + generic_error_count: "0" + instance: "6" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "0" + - asic: "Prm_np" + crc_error_count: "0" + generic_error_count: "0" + instance: "7" + mbe_error_count: "0" + number_of_nodes: "0" + parity_error_count: "0" + reset_error_count: "0" + sbe_error_count: "0" diff --git a/tests/cisco_xr/show_bfd_sessions/cisco_xr_show_bfd_sessions.parsed b/tests/cisco_xr/show_bfd_sessions/cisco_xr_show_bfd_sessions.parsed deleted file mode 100644 index 56485196a5..0000000000 --- a/tests/cisco_xr/show_bfd_sessions/cisco_xr_show_bfd_sessions.parsed +++ /dev/null @@ -1,21 +0,0 @@ ---- -parsed_sample: - -- dstaddress: 10.100.100.141 - interface: Fo0/0/1/0 - state: UP -- dstaddress: 10.100.100.19 - interface: Fo0/0/0/0 - state: UP -- dstaddress: 10.100.100.125 - interface: Fo0/0/0/1 - state: UP -- dstaddress: 10.100.100.113 - interface: Fo0/1/0/0 - state: UP -- dstaddress: 10.100.100.145 - interface: Fo0/1/1/0 - state: UP -- dstaddress: 10.100.100.129 - interface: Fo0/2/1/1 - state: UP diff --git a/tests/cisco_xr/show_bfd_sessions/cisco_xr_show_bfd_sessions.yml b/tests/cisco_xr/show_bfd_sessions/cisco_xr_show_bfd_sessions.yml new file mode 100644 index 0000000000..66d58a7b19 --- /dev/null +++ b/tests/cisco_xr/show_bfd_sessions/cisco_xr_show_bfd_sessions.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - dstaddress: "10.100.100.141" + interface: "Fo0/0/1/0" + state: "UP" + - dstaddress: "10.100.100.19" + interface: "Fo0/0/0/0" + state: "UP" + - dstaddress: "10.100.100.125" + interface: "Fo0/0/0/1" + state: "UP" + - dstaddress: "10.100.100.113" + interface: "Fo0/1/0/0" + state: "UP" + - dstaddress: "10.100.100.145" + interface: "Fo0/1/1/0" + state: "UP" + - dstaddress: "10.100.100.129" + interface: "Fo0/2/1/1" + state: "UP" diff --git a/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.parsed b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.parsed deleted file mode 100644 index dbb2c71961..0000000000 --- a/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.parsed +++ /dev/null @@ -1,386 +0,0 @@ ---- -parsed_sample: - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 111.111.111.111 - netmask: '32' - next_hop: 112.112.112.112 - metric: '4294967295' - local_pref: '4294967295' - weight: '65535' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: i - network: 111.111.111.111 - netmask: '32' - next_hop: 113.113.113.113 - metric: '4294967295' - local_pref: '4294967295' - weight: '65535' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 111.111.111.111 - netmask: '32' - next_hop: 114.114.114.114 - metric: '5' - local_pref: '5' - weight: '65535' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: i - network: 111.111.111.111 - netmask: '32' - next_hop: 2.2.2.2 - metric: '4294967295' - local_pref: '4294967295' - weight: '65535' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 111.111.111.111 - netmask: '32' - next_hop: 3.3.3.3 - metric: '' - local_pref: '' - weight: '65535' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 111.111.111.111 - netmask: '32' - next_hop: 4.4.4.4 - metric: '5' - local_pref: '' - weight: '65535' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 111.111.111.111 - netmask: '32' - next_hop: 5.5.5.5 - metric: '' - local_pref: '5' - weight: '65535' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 111.111.111.111 - netmask: '32' - next_hop: 6.6.6.6 - metric: '' - local_pref: '' - weight: '1' - as_path: 5 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 111.111.111.111 - netmask: '32' - next_hop: 7.7.7.7 - metric: '' - local_pref: '' - weight: '1' - as_path: '' - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 113.113.113.113 - netmask: '32' - next_hop: 114.114.114.114 - metric: '5' - local_pref: '5' - weight: '5' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 115.115.115.115 - netmask: '32' - next_hop: 116.116.116.116 - metric: '' - local_pref: '' - weight: '5' - as_path: '1000' - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 117.117.117.117 - netmask: '32' - next_hop: 118.118.118.118 - metric: '' - local_pref: '' - weight: '5' - as_path: '' - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 0.0.0.0 - netmask: '0' - next_hop: 2.2.2.2 - metric: '4294967295' - local_pref: '4294967295' - weight: '65535' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 3.3.3.3 - netmask: '32' - next_hop: 4.4.4.4 - metric: '5' - local_pref: '5' - weight: '5' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 5.5.5.5 - netmask: '32' - next_hop: 6.6.6.6 - metric: '' - local_pref: '' - weight: '5' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 7.7.7.7 - netmask: '32' - next_hop: 8.8.8.8 - metric: '' - local_pref: '' - weight: '5' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 9.9.9.9 - netmask: '32' - next_hop: 0.0.0.0 - metric: '' - local_pref: '' - weight: '5' - as_path: '' - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 9.9.9.9 - netmask: '32' - next_hop: 1.1.1.1 - metric: '4294967295' - local_pref: '4294967295' - weight: '65535' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 9.9.9.9 - netmask: '32' - next_hop: 2.2.2.2 - metric: '5' - local_pref: '5' - weight: '5' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 9.9.9.9 - netmask: '32' - next_hop: 3.3.3.3 - metric: '' - local_pref: '' - weight: '5' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 9.9.9.9 - netmask: '32' - next_hop: 4.4.4.4 - metric: '' - local_pref: '5' - weight: '5' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 9.9.9.9 - netmask: '32' - next_hop: 5.5.5.5 - metric: '5' - local_pref: '' - weight: '5' - as_path: 1000 1000 1000 - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 9.9.9.9 - netmask: '32' - next_hop: 6.6.6.6 - metric: '5' - local_pref: '5' - weight: '5' - as_path: '' - origin: i - - router_id: '84.38.34.56' - local_as: '65444' - nsr: 'enabled' - bgp_state: 'Active' - dampening: '' - status: '*' - path_selection: '>' - route_source: '' - network: 9.9.9.9 - netmask: '32' - next_hop: 7.7.7.7 - metric: '' - local_pref: '' - weight: '5' - as_path: '' - origin: i diff --git a/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.yml b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.yml new file mode 100644 index 0000000000..cd45e8d5bd --- /dev/null +++ b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp.yml @@ -0,0 +1,386 @@ +--- +parsed_sample: + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "111.111.111.111" + netmask: "32" + next_hop: "112.112.112.112" + metric: "4294967295" + local_pref: "4294967295" + weight: "65535" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "i" + network: "111.111.111.111" + netmask: "32" + next_hop: "113.113.113.113" + metric: "4294967295" + local_pref: "4294967295" + weight: "65535" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "111.111.111.111" + netmask: "32" + next_hop: "114.114.114.114" + metric: "5" + local_pref: "5" + weight: "65535" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "i" + network: "111.111.111.111" + netmask: "32" + next_hop: "2.2.2.2" + metric: "4294967295" + local_pref: "4294967295" + weight: "65535" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "111.111.111.111" + netmask: "32" + next_hop: "3.3.3.3" + metric: "" + local_pref: "" + weight: "65535" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "111.111.111.111" + netmask: "32" + next_hop: "4.4.4.4" + metric: "5" + local_pref: "" + weight: "65535" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "111.111.111.111" + netmask: "32" + next_hop: "5.5.5.5" + metric: "" + local_pref: "5" + weight: "65535" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "111.111.111.111" + netmask: "32" + next_hop: "6.6.6.6" + metric: "" + local_pref: "" + weight: "1" + as_path: "5 1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "111.111.111.111" + netmask: "32" + next_hop: "7.7.7.7" + metric: "" + local_pref: "" + weight: "1" + as_path: "" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "113.113.113.113" + netmask: "32" + next_hop: "114.114.114.114" + metric: "5" + local_pref: "5" + weight: "5" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "115.115.115.115" + netmask: "32" + next_hop: "116.116.116.116" + metric: "" + local_pref: "" + weight: "5" + as_path: "1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "117.117.117.117" + netmask: "32" + next_hop: "118.118.118.118" + metric: "" + local_pref: "" + weight: "5" + as_path: "" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "0.0.0.0" + netmask: "0" + next_hop: "2.2.2.2" + metric: "4294967295" + local_pref: "4294967295" + weight: "65535" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "3.3.3.3" + netmask: "32" + next_hop: "4.4.4.4" + metric: "5" + local_pref: "5" + weight: "5" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "5.5.5.5" + netmask: "32" + next_hop: "6.6.6.6" + metric: "" + local_pref: "" + weight: "5" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "7.7.7.7" + netmask: "32" + next_hop: "8.8.8.8" + metric: "" + local_pref: "" + weight: "5" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "9.9.9.9" + netmask: "32" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "5" + as_path: "" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "9.9.9.9" + netmask: "32" + next_hop: "1.1.1.1" + metric: "4294967295" + local_pref: "4294967295" + weight: "65535" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "9.9.9.9" + netmask: "32" + next_hop: "2.2.2.2" + metric: "5" + local_pref: "5" + weight: "5" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "9.9.9.9" + netmask: "32" + next_hop: "3.3.3.3" + metric: "" + local_pref: "" + weight: "5" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "9.9.9.9" + netmask: "32" + next_hop: "4.4.4.4" + metric: "" + local_pref: "5" + weight: "5" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "9.9.9.9" + netmask: "32" + next_hop: "5.5.5.5" + metric: "5" + local_pref: "" + weight: "5" + as_path: "1000 1000 1000" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "9.9.9.9" + netmask: "32" + next_hop: "6.6.6.6" + metric: "5" + local_pref: "5" + weight: "5" + as_path: "" + origin: "i" + - router_id: "84.38.34.56" + local_as: "65444" + nsr: "enabled" + bgp_state: "Active" + dampening: "" + status: "*" + path_selection: ">" + route_source: "" + network: "9.9.9.9" + netmask: "32" + next_hop: "7.7.7.7" + metric: "" + local_pref: "" + weight: "5" + as_path: "" + origin: "i" diff --git a/tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.parsed b/tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.yml similarity index 100% rename from tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.parsed rename to tests/cisco_xr/show_bgp/cisco_xr_show_bgp2.yml diff --git a/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.parsed b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.parsed deleted file mode 100644 index 9c03366fa9..0000000000 --- a/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.parsed +++ /dev/null @@ -1,347 +0,0 @@ ---- -parsed_sample: - - afi: [IPv4 Unicast] - cluster_id: '' - connections_dropped: '1' - connections_established: '2' - default_originate: [] - description: RouteReflector_1 - error_code: '' - gr: '' - holdtime: '90' - keepalive: '30' - last_ack_version: ['56362493'] - last_notification_received: '' - last_notification_sent: '' - last_reset: 2w3d - last_reset_reason: Peer closing down the session - last_synced_ack_version: ['56362493'] - local_address: 10.0.0.1 - local_as: '65001' - local_port: '179' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['75'] - neighbor: 192.168.100.1 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: Remote closed the session (No error) - policy_incoming: [] - policy_outgoing: [] - prefixes_in: ['847583'] - prefixes_in_best: ['794705'] - prefixes_out: ['170'] - prefixes_out_suppressed: ['0'] - prefixes_out_withdrawn: ['19'] - remote_address: 192.168.100.1 - remote_as: '65001' - remote_port: '13617' - remote_router_id: 192.168.100.1 - route_reflector_role: [] - state: Established - type: internal - uptime: 2w3d - version: ['56362493'] - - afi: [IPv4 Unicast] - cluster_id: '' - connections_dropped: '1' - connections_established: '2' - default_originate: [] - description: RouteReflector_2 - error_code: '' - gr: '' - holdtime: '90' - keepalive: '30' - last_ack_version: ['56362493'] - last_notification_received: '' - last_notification_sent: '' - last_reset: 2w3d - last_reset_reason: Peer closing down the session - last_synced_ack_version: ['56362493'] - local_address: 10.0.0.1 - local_as: '65001' - local_port: '179' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['75'] - neighbor: 192.168.100.2 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: Remote closed the session (No error) - policy_incoming: [] - policy_outgoing: [] - prefixes_in: ['847585'] - prefixes_in_best: ['52523'] - prefixes_out: ['170'] - prefixes_out_suppressed: ['0'] - prefixes_out_withdrawn: ['19'] - remote_address: 192.168.100.2 - remote_as: '65001' - remote_port: '15445' - remote_router_id: 192.168.100.2 - route_reflector_role: [] - state: Established - type: internal - uptime: 2w3d - version: ['56362493'] - - afi: [VPNv4 Unicast, VPNv6 Unicast, IPv4 MDT] - cluster_id: '' - connections_dropped: '2' - connections_established: '3' - default_originate: [] - description: VPN_RouteReflector_1 - error_code: peer in wrong AS - gr: '' - holdtime: '90' - keepalive: '30' - last_ack_version: ['1735091', '1', '77'] - last_notification_received: 2w4d - last_notification_sent: 3w2d - last_reset: 2w4d - last_reset_reason: 'BGP Notification received: peer unconfigured' - last_synced_ack_version: ['1735091', '1', '77'] - local_address: 10.0.0.1 - local_as: '65001' - local_port: '45510' - max_hops: '' - max_prefixes: ['2097152', '1048576', '131072'] - max_prefixes_warn_percent: ['75', '75', '75'] - neighbor: 192.168.0.1 - nsr: enabled - nsr_state: Ready - peer_error_code: peer unconfigured - peer_reset_reason: '' - policy_incoming: [] - policy_outgoing: [] - prefixes_in: ['4713', '0', '0'] - prefixes_in_best: ['4443', '0', '0'] - prefixes_out: ['889', '0', '0'] - prefixes_out_suppressed: ['0', '0', '0'] - prefixes_out_withdrawn: ['6', '0', '0'] - remote_address: 192.168.0.1 - remote_as: '65001' - remote_port: '179' - remote_router_id: 192.168.0.1 - route_reflector_role: [] - state: Established - type: internal - uptime: 2w4d - version: ['1735091', '1', '77'] - - afi: [VPNv4 Unicast, VPNv6 Unicast, IPv4 MDT] - cluster_id: '' - connections_dropped: '0' - connections_established: '1' - default_originate: [] - description: VPN_RouteReflector_2 - error_code: peer in wrong AS - gr: '' - holdtime: '90' - keepalive: '30' - last_ack_version: ['1735091', '1', '77'] - last_notification_received: '' - last_notification_sent: 3w2d - last_reset: 3w2d - last_reset_reason: 'BGP Notification sent: peer in wrong AS' - last_synced_ack_version: ['1735091', '1', '77'] - local_address: 10.0.0.1 - local_as: '65001' - local_port: '35134' - max_hops: '' - max_prefixes: ['2097152', '1048576', '131072'] - max_prefixes_warn_percent: ['75', '75', '75'] - neighbor: 192.168.0.2 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [] - policy_outgoing: [] - prefixes_in: ['4710', '0', '0'] - prefixes_in_best: ['66', '0', '0'] - prefixes_out: ['5803', '0', '0'] - prefixes_out_suppressed: ['0', '0', '0'] - prefixes_out_withdrawn: ['9', '0', '0'] - remote_address: 192.168.0.2 - remote_as: '65001' - remote_port: '179' - remote_router_id: 192.168.0.2 - route_reflector_role: [] - state: Established - type: internal - uptime: 3w2d - version: ['1735091', '1', '77'] - - afi: [IPv4 Unicast, IPv6 Unicast] - cluster_id: 10.0.0.1 - connections_dropped: '1' - connections_established: '1' - default_originate: [] - description: iBGP_Neighbor - error_code: hold time expired - gr: '' - holdtime: '180' - keepalive: '60' - last_ack_version: ['0', '0'] - last_notification_received: '' - last_notification_sent: 2w3d - last_reset: 00:00:52 - last_reset_reason: Peer closing down the session - last_synced_ack_version: ['0', '0'] - local_address: 10.0.0.1 - local_as: '65001' - local_port: '59248' - max_hops: '' - max_prefixes: ['1048576', '524288'] - max_prefixes_warn_percent: ['75', '75'] - neighbor: 10.0.0.42 - nsr: enabled - nsr_state: None - peer_error_code: '' - peer_reset_reason: Remote closed the session (Connection timed out) - policy_incoming: [DENY-ALL, DENY-ALL] - policy_outgoing: [PASS-ALL, PASS-ALL] - prefixes_in: ['0', '0'] - prefixes_in_best: ['0', '0'] - prefixes_out: ['0', '0'] - prefixes_out_suppressed: ['0', '0'] - prefixes_out_withdrawn: ['0', '0'] - remote_address: 10.0.0.42 - remote_as: '65001' - remote_port: '179' - remote_router_id: 0.0.0.0 - route_reflector_role: [Client, Client] - state: OpenSent - type: internal - uptime: '' - version: ['0', '0'] - - afi: [IPv4 Unicast] - cluster_id: '' - connections_dropped: '0' - connections_established: '1' - default_originate: [] - description: '' - error_code: administrative reset - gr: '' - holdtime: '180' - keepalive: '60' - last_ack_version: ['56362493'] - last_notification_received: '' - last_notification_sent: 3w1d - last_reset: 3w1d - last_reset_reason: User clear requested (CEASE notification sent - administrative - reset) - last_synced_ack_version: ['56362493'] - local_address: 10.0.0.1 - local_as: '65001' - local_port: '37554' - max_hops: '20' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['75'] - neighbor: 10.0.0.124 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [eBGP-IN] - policy_outgoing: [DENY-ALL] - prefixes_in: ['5836'] - prefixes_in_best: ['5836'] - prefixes_out: ['0'] - prefixes_out_suppressed: ['0'] - prefixes_out_withdrawn: ['0'] - remote_address: 10.0.0.124 - remote_as: '65012' - remote_port: '179' - remote_router_id: 10.1.2.3 - route_reflector_role: [] - state: Established - type: external - uptime: 3w1d - version: ['56362493'] - - afi: [IPv6 Unicast] - cluster_id: '' - connections_dropped: '1' - connections_established: '2' - default_originate: [] - description: rs01.lsan01-ca - error_code: '' - gr: '' - holdtime: '90' - keepalive: '30' - last_ack_version: ['18781601'] - last_notification_received: '' - last_notification_sent: '' - last_reset: 2w3d - last_reset_reason: Peer closing down the session - last_synced_ack_version: ['18781601'] - local_address: 100::42 - local_as: '65001' - local_port: '179' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 1:1:1::1 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: Remote closed the session (No error) - policy_incoming: [] - policy_outgoing: [] - prefixes_in: ['59216'] - prefixes_in_best: ['35229'] - prefixes_out: ['1'] - prefixes_out_suppressed: ['0'] - prefixes_out_withdrawn: ['0'] - remote_address: 1:1:1::1 - remote_as: '65001' - remote_port: '13730' - remote_router_id: 192.168.100.1 - route_reflector_role: [] - state: Established - type: internal - uptime: 2w3d - version: ['18781601'] - - afi: [IPv6 Unicast] - cluster_id: '' - connections_dropped: '1' - connections_established: '2' - default_originate: [] - description: RouteReflector_2 - error_code: '' - gr: '' - holdtime: '90' - keepalive: '30' - last_ack_version: ['18781601'] - last_notification_received: '' - last_notification_sent: '' - last_reset: 2w3d - last_reset_reason: Peer closing down the session - last_synced_ack_version: ['18781601'] - local_address: 100::42 - local_as: '65001' - local_port: '179' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 1:1:34::242 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: Remote closed the session (No error) - policy_incoming: [] - policy_outgoing: [] - prefixes_in: ['59216'] - prefixes_in_best: ['23987'] - prefixes_out: ['1'] - prefixes_out_suppressed: ['0'] - prefixes_out_withdrawn: ['0'] - remote_address: 1:1:34::242 - remote_as: '65001' - remote_port: '44455' - remote_router_id: 192.168.100.2 - route_reflector_role: [] - state: Established - type: internal - uptime: 2w3d - version: ['18781601'] \ No newline at end of file diff --git a/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.yml b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.yml new file mode 100644 index 0000000000..cc42e64cd7 --- /dev/null +++ b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors.yml @@ -0,0 +1,498 @@ +--- +parsed_sample: + - afi: + - "IPv4 Unicast" + cluster_id: "" + connections_dropped: "1" + connections_established: "2" + default_originate: [] + description: "RouteReflector_1" + error_code: "" + gr: "" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "56362493" + last_notification_received: "" + last_notification_sent: "" + last_reset: "2w3d" + last_reset_reason: "Peer closing down the session" + last_synced_ack_version: + - "56362493" + local_address: "10.0.0.1" + local_as: "65001" + local_port: "179" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "75" + neighbor: "192.168.100.1" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "Remote closed the session (No error)" + policy_incoming: [] + policy_outgoing: [] + prefixes_in: + - "847583" + prefixes_in_best: + - "794705" + prefixes_out: + - "170" + prefixes_out_suppressed: + - "0" + prefixes_out_withdrawn: + - "19" + remote_address: "192.168.100.1" + remote_as: "65001" + remote_port: "13617" + remote_router_id: "192.168.100.1" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "2w3d" + version: + - "56362493" + - afi: + - "IPv4 Unicast" + cluster_id: "" + connections_dropped: "1" + connections_established: "2" + default_originate: [] + description: "RouteReflector_2" + error_code: "" + gr: "" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "56362493" + last_notification_received: "" + last_notification_sent: "" + last_reset: "2w3d" + last_reset_reason: "Peer closing down the session" + last_synced_ack_version: + - "56362493" + local_address: "10.0.0.1" + local_as: "65001" + local_port: "179" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "75" + neighbor: "192.168.100.2" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "Remote closed the session (No error)" + policy_incoming: [] + policy_outgoing: [] + prefixes_in: + - "847585" + prefixes_in_best: + - "52523" + prefixes_out: + - "170" + prefixes_out_suppressed: + - "0" + prefixes_out_withdrawn: + - "19" + remote_address: "192.168.100.2" + remote_as: "65001" + remote_port: "15445" + remote_router_id: "192.168.100.2" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "2w3d" + version: + - "56362493" + - afi: + - "VPNv4 Unicast" + - "VPNv6 Unicast" + - "IPv4 MDT" + cluster_id: "" + connections_dropped: "2" + connections_established: "3" + default_originate: [] + description: "VPN_RouteReflector_1" + error_code: "peer in wrong AS" + gr: "" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "1735091" + - "1" + - "77" + last_notification_received: "2w4d" + last_notification_sent: "3w2d" + last_reset: "2w4d" + last_reset_reason: "BGP Notification received: peer unconfigured" + last_synced_ack_version: + - "1735091" + - "1" + - "77" + local_address: "10.0.0.1" + local_as: "65001" + local_port: "45510" + max_hops: "" + max_prefixes: + - "2097152" + - "1048576" + - "131072" + max_prefixes_warn_percent: + - "75" + - "75" + - "75" + neighbor: "192.168.0.1" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "peer unconfigured" + peer_reset_reason: "" + policy_incoming: [] + policy_outgoing: [] + prefixes_in: + - "4713" + - "0" + - "0" + prefixes_in_best: + - "4443" + - "0" + - "0" + prefixes_out: + - "889" + - "0" + - "0" + prefixes_out_suppressed: + - "0" + - "0" + - "0" + prefixes_out_withdrawn: + - "6" + - "0" + - "0" + remote_address: "192.168.0.1" + remote_as: "65001" + remote_port: "179" + remote_router_id: "192.168.0.1" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "2w4d" + version: + - "1735091" + - "1" + - "77" + - afi: + - "VPNv4 Unicast" + - "VPNv6 Unicast" + - "IPv4 MDT" + cluster_id: "" + connections_dropped: "0" + connections_established: "1" + default_originate: [] + description: "VPN_RouteReflector_2" + error_code: "peer in wrong AS" + gr: "" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "1735091" + - "1" + - "77" + last_notification_received: "" + last_notification_sent: "3w2d" + last_reset: "3w2d" + last_reset_reason: "BGP Notification sent: peer in wrong AS" + last_synced_ack_version: + - "1735091" + - "1" + - "77" + local_address: "10.0.0.1" + local_as: "65001" + local_port: "35134" + max_hops: "" + max_prefixes: + - "2097152" + - "1048576" + - "131072" + max_prefixes_warn_percent: + - "75" + - "75" + - "75" + neighbor: "192.168.0.2" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: [] + policy_outgoing: [] + prefixes_in: + - "4710" + - "0" + - "0" + prefixes_in_best: + - "66" + - "0" + - "0" + prefixes_out: + - "5803" + - "0" + - "0" + prefixes_out_suppressed: + - "0" + - "0" + - "0" + prefixes_out_withdrawn: + - "9" + - "0" + - "0" + remote_address: "192.168.0.2" + remote_as: "65001" + remote_port: "179" + remote_router_id: "192.168.0.2" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "3w2d" + version: + - "1735091" + - "1" + - "77" + - afi: + - "IPv4 Unicast" + - "IPv6 Unicast" + cluster_id: "10.0.0.1" + connections_dropped: "1" + connections_established: "1" + default_originate: [] + description: "iBGP_Neighbor" + error_code: "hold time expired" + gr: "" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "0" + - "0" + last_notification_received: "" + last_notification_sent: "2w3d" + last_reset: "00:00:52" + last_reset_reason: "Peer closing down the session" + last_synced_ack_version: + - "0" + - "0" + local_address: "10.0.0.1" + local_as: "65001" + local_port: "59248" + max_hops: "" + max_prefixes: + - "1048576" + - "524288" + max_prefixes_warn_percent: + - "75" + - "75" + neighbor: "10.0.0.42" + nsr: "enabled" + nsr_state: "None" + peer_error_code: "" + peer_reset_reason: "Remote closed the session (Connection timed out)" + policy_incoming: + - "DENY-ALL" + - "DENY-ALL" + policy_outgoing: + - "PASS-ALL" + - "PASS-ALL" + prefixes_in: + - "0" + - "0" + prefixes_in_best: + - "0" + - "0" + prefixes_out: + - "0" + - "0" + prefixes_out_suppressed: + - "0" + - "0" + prefixes_out_withdrawn: + - "0" + - "0" + remote_address: "10.0.0.42" + remote_as: "65001" + remote_port: "179" + remote_router_id: "0.0.0.0" + route_reflector_role: + - "Client" + - "Client" + state: "OpenSent" + type: "internal" + uptime: "" + version: + - "0" + - "0" + - afi: + - "IPv4 Unicast" + cluster_id: "" + connections_dropped: "0" + connections_established: "1" + default_originate: [] + description: "" + error_code: "administrative reset" + gr: "" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "56362493" + last_notification_received: "" + last_notification_sent: "3w1d" + last_reset: "3w1d" + last_reset_reason: "User clear requested (CEASE notification sent - administrative\ + \ reset)" + last_synced_ack_version: + - "56362493" + local_address: "10.0.0.1" + local_as: "65001" + local_port: "37554" + max_hops: "20" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "75" + neighbor: "10.0.0.124" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "eBGP-IN" + policy_outgoing: + - "DENY-ALL" + prefixes_in: + - "5836" + prefixes_in_best: + - "5836" + prefixes_out: + - "0" + prefixes_out_suppressed: + - "0" + prefixes_out_withdrawn: + - "0" + remote_address: "10.0.0.124" + remote_as: "65012" + remote_port: "179" + remote_router_id: "10.1.2.3" + route_reflector_role: [] + state: "Established" + type: "external" + uptime: "3w1d" + version: + - "56362493" + - afi: + - "IPv6 Unicast" + cluster_id: "" + connections_dropped: "1" + connections_established: "2" + default_originate: [] + description: "rs01.lsan01-ca" + error_code: "" + gr: "" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "18781601" + last_notification_received: "" + last_notification_sent: "" + last_reset: "2w3d" + last_reset_reason: "Peer closing down the session" + last_synced_ack_version: + - "18781601" + local_address: "100::42" + local_as: "65001" + local_port: "179" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "1:1:1::1" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "Remote closed the session (No error)" + policy_incoming: [] + policy_outgoing: [] + prefixes_in: + - "59216" + prefixes_in_best: + - "35229" + prefixes_out: + - "1" + prefixes_out_suppressed: + - "0" + prefixes_out_withdrawn: + - "0" + remote_address: "1:1:1::1" + remote_as: "65001" + remote_port: "13730" + remote_router_id: "192.168.100.1" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "2w3d" + version: + - "18781601" + - afi: + - "IPv6 Unicast" + cluster_id: "" + connections_dropped: "1" + connections_established: "2" + default_originate: [] + description: "RouteReflector_2" + error_code: "" + gr: "" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "18781601" + last_notification_received: "" + last_notification_sent: "" + last_reset: "2w3d" + last_reset_reason: "Peer closing down the session" + last_synced_ack_version: + - "18781601" + local_address: "100::42" + local_as: "65001" + local_port: "179" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "1:1:34::242" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "Remote closed the session (No error)" + policy_incoming: [] + policy_outgoing: [] + prefixes_in: + - "59216" + prefixes_in_best: + - "23987" + prefixes_out: + - "1" + prefixes_out_suppressed: + - "0" + prefixes_out_withdrawn: + - "0" + remote_address: "1:1:34::242" + remote_as: "65001" + remote_port: "44455" + remote_router_id: "192.168.100.2" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "2w3d" + version: + - "18781601" diff --git a/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.parsed b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.parsed deleted file mode 100644 index 335947ae53..0000000000 --- a/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.parsed +++ /dev/null @@ -1,863 +0,0 @@ ---- -parsed_sample: - - afi: [IPv4 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '6' - connections_established: '7' - default_originate: [default sent] - description: pe04 - error_code: hold time expired - gr: enabled - holdtime: '90' - keepalive: '30' - last_ack_version: ['3354689149'] - last_notification_received: '' - last_notification_sent: 43w0d - last_reset: 43w0d - last_reset_reason: 'BGP Notification sent: hold time expired' - last_synced_ack_version: ['3354689140'] - local_address: 10.0.2.2 - local_as: '65011' - local_port: '179' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['75'] - neighbor: 10.0.0.1 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [FILTER_ROUTES] - prefixes_in: ['1128'] - prefixes_in_best: ['1123'] - prefixes_out: ['473031161'] - prefixes_out_suppressed: ['4'] - prefixes_out_withdrawn: ['14158306'] - remote_address: 10.0.0.1 - remote_as: '65011' - remote_port: '56817' - remote_router_id: 10.0.0.1 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 43w0d - version: ['3354689176'] - - afi: [IPv4 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '0' - connections_established: '1' - default_originate: [default sent] - description: alb1-core1 - error_code: '' - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['3354689176'] - last_notification_received: '' - last_notification_sent: '' - last_reset: 4y10w - last_reset_reason: None - last_synced_ack_version: ['3354689155'] - local_address: 10.0.2.2 - local_as: '65011' - local_port: '12161' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['75'] - neighbor: 10.0.3.3 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [DEFAULT_ONLY_ROUTE] - prefixes_in: ['2'] - prefixes_in_best: ['0'] - prefixes_out: ['0'] - prefixes_out_suppressed: ['1'] - prefixes_out_withdrawn: ['1'] - remote_address: 10.0.3.3 - remote_as: '65011' - remote_port: '179' - remote_router_id: 10.0.3.3 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 49w6d - version: ['3354689176'] - - afi: [IPv4 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '1' - connections_established: '2' - default_originate: [default sent] - description: pe01 - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['3354689046'] - last_notification_received: '' - last_notification_sent: 4y10w - last_reset: 3y44w - last_reset_reason: RR client configuration changed - last_synced_ack_version: ['3354689046'] - local_address: 10.0.2.2 - local_as: '65011' - local_port: '179' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['75'] - neighbor: 192.168.100.1 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [FILTER_ROUTES] - prefixes_in: ['432'] - prefixes_in_best: ['432'] - prefixes_out: ['520214833'] - prefixes_out_suppressed: ['132'] - prefixes_out_withdrawn: ['21645110'] - remote_address: 192.168.100.1 - remote_as: '65011' - remote_port: '41662' - remote_router_id: 192.168.100.1 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 3y44w - version: ['3354689176'] - - afi: [IPv4 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '1' - connections_established: '2' - default_originate: [default sent] - description: pe02 - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['3354688969'] - last_notification_received: '' - last_notification_sent: 4y10w - last_reset: 3y44w - last_reset_reason: RR client configuration changed - last_synced_ack_version: ['3354688969'] - local_address: 10.0.2.2 - local_as: '65011' - local_port: '30973' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['75'] - neighbor: 10.100.2.44 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [FILTER_ROUTES] - prefixes_in: ['536'] - prefixes_in_best: ['530'] - prefixes_out: ['1324583231'] - prefixes_out_suppressed: ['132'] - prefixes_out_withdrawn: ['41976163'] - remote_address: 10.100.2.44 - remote_as: '65011' - remote_port: '179' - remote_router_id: 10.100.2.44 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 3y44w - version: ['3354689176'] - - afi: [IPv4 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '8' - connections_established: '9' - default_originate: [default sent] - description: ve01 - error_code: hold time expired - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['3354689176'] - last_notification_received: '' - last_notification_sent: 2y10w - last_reset: 2y10w - last_reset_reason: 'BGP Notification sent: hold time expired' - last_synced_ack_version: ['3354689155'] - local_address: 10.0.2.2 - local_as: '65011' - local_port: '179' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['75'] - neighbor: 10.0.12.41 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [DEFAULT_ONLY_ROUTE] - prefixes_in: ['1'] - prefixes_in_best: ['1'] - prefixes_out: ['0'] - prefixes_out_suppressed: ['2'] - prefixes_out_withdrawn: ['2'] - remote_address: 10.0.12.41 - remote_as: '65011' - remote_port: '60837' - remote_router_id: 10.0.12.41 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 2y10w - version: ['3354689176'] - - afi: [IPv4 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '0' - connections_established: '1' - default_originate: [default sent] - description: ve02 - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['3354689176'] - last_notification_received: '' - last_notification_sent: 4y10w - last_reset: 4y10w - last_reset_reason: Admin. shutdown - last_synced_ack_version: ['3354689155'] - local_address: 10.0.2.2 - local_as: '65011' - local_port: '33627' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['75'] - neighbor: 192.168.1.142 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [DEFAULT_ONLY_ROUTE] - prefixes_in: ['1'] - prefixes_in_best: ['0'] - prefixes_out: ['1'] - prefixes_out_suppressed: ['2'] - prefixes_out_withdrawn: ['3'] - remote_address: 192.168.1.142 - remote_as: '65011' - remote_port: '179' - remote_router_id: 192.168.1.142 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 4y10w - version: ['3354689176'] - - afi: [IPv4 Unicast] - cluster_id: '' - connections_dropped: '0' - connections_established: '0' - default_originate: [] - description: Another Router - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['0'] - last_notification_received: '' - last_notification_sent: 25w5d - last_reset: 25w5d - last_reset_reason: Admin. shutdown (CEASE notification sent - administrative shutdown) - last_synced_ack_version: ['0'] - local_address: 0.0.0.0 - local_as: '65011' - local_port: '0' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['80'] - neighbor: 10.100.100.124 - nsr: enabled - nsr_state: None - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [] - policy_outgoing: [] - prefixes_in: ['0'] - prefixes_in_best: ['0'] - prefixes_out: ['0'] - prefixes_out_suppressed: ['0'] - prefixes_out_withdrawn: ['0'] - remote_address: 10.100.100.124 - remote_as: '65011' - remote_port: '0' - remote_router_id: 0.0.0.0 - route_reflector_role: [] - state: Idle (Neighbor is shutdown) - type: internal - uptime: '' - version: ['0'] - - afi: [IPv4 Unicast] - cluster_id: '' - connections_dropped: '4' - connections_established: '5' - default_originate: [] - description: upstream_router1 - error_code: hold time expired - gr: enabled - holdtime: '90' - keepalive: '30' - last_ack_version: ['3354689176'] - last_notification_received: '' - last_notification_sent: 14w5d - last_reset: 14w5d - last_reset_reason: 'BGP Notification sent: hold time expired' - last_synced_ack_version: ['3354689155'] - local_address: 10.0.2.2 - local_as: '65011' - local_port: '179' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['80'] - neighbor: 172.16.105.21 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [] - policy_outgoing: [] - prefixes_in: ['857166'] - prefixes_in_best: ['376049'] - prefixes_out: ['2875'] - prefixes_out_suppressed: ['0'] - prefixes_out_withdrawn: ['2266'] - remote_address: 172.16.105.21 - remote_as: '65011' - remote_port: '60582' - remote_router_id: 172.16.105.21 - route_reflector_role: [] - state: Established - type: internal - uptime: 14w5d - version: ['3354689176'] - - afi: [IPv4 Unicast] - cluster_id: '' - connections_dropped: '4' - connections_established: '5' - default_originate: [] - description: R13 - error_code: hold time expired - gr: enabled - holdtime: '90' - keepalive: '30' - last_ack_version: ['3354689212'] - last_notification_received: 1y14w - last_notification_sent: 48w4d - last_reset: 48w4d - last_reset_reason: 'BGP Notification sent: hold time expired' - last_synced_ack_version: ['3354689155'] - local_address: 10.0.2.2 - local_as: '65011' - local_port: '25686' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['80'] - neighbor: 172.16.21.222 - nsr: enabled - nsr_state: Ready - peer_error_code: connection rejected - peer_reset_reason: '' - policy_incoming: [] - policy_outgoing: [] - prefixes_in: ['857166'] - prefixes_in_best: ['480594'] - prefixes_out: ['10502'] - prefixes_out_suppressed: ['2'] - prefixes_out_withdrawn: ['9155'] - remote_address: 172.16.21.222 - remote_as: '65011' - remote_port: '179' - remote_router_id: 172.16.21.222 - route_reflector_role: [] - state: Established - type: internal - uptime: 48w4d - version: ['3354689212'] - - afi: [IPv4 Unicast] - cluster_id: '' - connections_dropped: '0' - connections_established: '1' - default_originate: [] - description: agr01 - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['3354689212'] - last_notification_received: '' - last_notification_sent: 4y10w - last_reset: 4y10w - last_reset_reason: Admin. shutdown - last_synced_ack_version: ['3354689155'] - local_address: 10.0.2.2 - local_as: '65011' - local_port: '179' - max_hops: '' - max_prefixes: ['1048576'] - max_prefixes_warn_percent: ['75'] - neighbor: 10.0.0.152 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [] - policy_outgoing: [A_ROUTE_FILTER] - prefixes_in: ['2503'] - prefixes_in_best: ['0'] - prefixes_out: ['789753'] - prefixes_out_suppressed: ['2'] - prefixes_out_withdrawn: ['771940'] - remote_address: 10.0.0.152 - remote_as: '65011' - remote_port: '25659' - remote_router_id: 10.0.0.152 - route_reflector_role: [] - state: Established - type: internal - uptime: 4y10w - version: ['3354689212'] - - afi: [IPv6 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '0' - connections_established: '1' - default_originate: [default sent] - description: pe01 - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['1168802950'] - last_notification_received: '' - last_notification_sent: 4y10w - last_reset: 4y10w - last_reset_reason: Admin. shutdown - last_synced_ack_version: ['1168802930'] - local_address: 2001:fec0::1c0 - local_as: '65011' - local_port: '40939' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 2001:e01a:204::1 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [FULL_ROUESv6] - prefixes_in: ['2'] - prefixes_in_best: ['2'] - prefixes_out: ['666059645'] - prefixes_out_suppressed: ['13'] - prefixes_out_withdrawn: ['17306793'] - remote_address: 2001:e01a:204::1 - remote_as: '65011' - remote_port: '179' - remote_router_id: 192.168.100.1 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 4y10w - version: ['1168802957'] - - afi: [IPv6 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '0' - connections_established: '1' - default_originate: [default sent] - description: pe02 - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['1168802822'] - last_notification_received: '' - last_notification_sent: 4y10w - last_reset: 4y10w - last_reset_reason: Admin. shutdown - last_synced_ack_version: ['1168802822'] - local_address: 2001:fec0::1c0 - local_as: '65011' - local_port: '58458' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 2001:fec0::6a - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [FILTER_ROUTESv6] - prefixes_in: ['0'] - prefixes_in_best: ['0'] - prefixes_out: ['167291632'] - prefixes_out_suppressed: ['12'] - prefixes_out_withdrawn: ['3571712'] - remote_address: 2001:fec0::6a - remote_as: '65011' - remote_port: '179' - remote_router_id: 10.100.2.44 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 4y10w - version: ['1168802957'] - - afi: [IPv6 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '0' - connections_established: '1' - default_originate: [default sent] - description: pe03 - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['1168802950'] - last_notification_received: '' - last_notification_sent: 4y10w - last_reset: 4y10w - last_reset_reason: Admin. shutdown - last_synced_ack_version: ['1168802930'] - local_address: 2001:fec0::1c0 - local_as: '65011' - local_port: '18095' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 2001:fec0::6b - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [FULL_ROUESv6] - prefixes_in: ['0'] - prefixes_in_best: ['0'] - prefixes_out: ['666059645'] - prefixes_out_suppressed: ['13'] - prefixes_out_withdrawn: ['17306793'] - remote_address: 2001:fec0::6b - remote_as: '65011' - remote_port: '179' - remote_router_id: 10.0.142.12 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 4y10w - version: ['1168802957'] - - afi: [IPv6 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '7' - connections_established: '8' - default_originate: [default sent] - description: ve01 - error_code: hold time expired - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['1168802957'] - last_notification_received: '' - last_notification_sent: 2y10w - last_reset: 2y10w - last_reset_reason: 'BGP Notification sent: hold time expired' - last_synced_ack_version: ['1168802935'] - local_address: 2001:fec0::1c0 - local_as: '65011' - local_port: '179' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 2001:fec0::6c - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [DEFAULT_ONLY_ROUTEv6] - prefixes_in: ['1'] - prefixes_in_best: ['1'] - prefixes_out: ['0'] - prefixes_out_suppressed: ['12'] - prefixes_out_withdrawn: ['12'] - remote_address: 2001:fec0::6c - remote_as: '65011' - remote_port: '22622' - remote_router_id: 10.0.12.41 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 2y10w - version: ['1168802957'] - - afi: [IPv6 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '0' - connections_established: '1' - default_originate: [default sent] - description: ve02 - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['1168802957'] - last_notification_received: '' - last_notification_sent: 4y10w - last_reset: 4y10w - last_reset_reason: Admin. shutdown - last_synced_ack_version: ['1168802935'] - local_address: 2001:fec0::1c0 - local_as: '65011' - local_port: '32502' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 2001:fec0::6d - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [DEFAULT_ONLY_ROUTEv6] - prefixes_in: ['1'] - prefixes_in_best: ['0'] - prefixes_out: ['0'] - prefixes_out_suppressed: ['12'] - prefixes_out_withdrawn: ['12'] - remote_address: 2001:fec0::6d - remote_as: '65011' - remote_port: '179' - remote_router_id: 192.168.1.142 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 4y10w - version: ['1168802957'] - - afi: [IPv6 Unicast] - cluster_id: '' - connections_dropped: '0' - connections_established: '0' - default_originate: [] - description: shutdown_router - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['0'] - last_notification_received: '' - last_notification_sent: 25w5d - last_reset: 25w5d - last_reset_reason: Admin. shutdown (CEASE notification sent - administrative shutdown) - last_synced_ack_version: ['0'] - local_address: '::' - local_as: '65011' - local_port: '0' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 2001:fec0::7fa - nsr: enabled - nsr_state: None - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [MARTIAN_FILTERv6] - policy_outgoing: [] - prefixes_in: ['0'] - prefixes_in_best: ['0'] - prefixes_out: ['0'] - prefixes_out_suppressed: ['0'] - prefixes_out_withdrawn: ['0'] - remote_address: 2001:fec0::7fa - remote_as: '65011' - remote_port: '0' - remote_router_id: 0.0.0.0 - route_reflector_role: [] - state: Idle (Neighbor is shutdown) - type: internal - uptime: '' - version: ['0'] - - afi: [IPv6 Unicast] - cluster_id: '' - connections_dropped: '0' - connections_established: '0' - default_originate: [] - description: shut_router-2 - error_code: administrative shutdown - gr: enabled - holdtime: '180' - keepalive: '60' - last_ack_version: ['0'] - last_notification_received: '' - last_notification_sent: 25w5d - last_reset: 25w5d - last_reset_reason: Admin. shutdown (CEASE notification sent - administrative shutdown) - last_synced_ack_version: ['0'] - local_address: '::' - local_as: '65011' - local_port: '0' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 2001:fec0::7fb - nsr: enabled - nsr_state: None - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [MARTIAN_FILTERv6] - policy_outgoing: [] - prefixes_in: ['0'] - prefixes_in_best: ['0'] - prefixes_out: ['0'] - prefixes_out_suppressed: ['0'] - prefixes_out_withdrawn: ['0'] - remote_address: 2001:fec0::7fb - remote_as: '65011' - remote_port: '0' - remote_router_id: 0.0.0.0 - route_reflector_role: [] - state: Idle (Neighbor is shutdown) - type: internal - uptime: '' - version: ['0'] - - afi: [IPv6 Unicast] - cluster_id: '' - connections_dropped: '4' - connections_established: '5' - default_originate: [] - description: upstream_router1 - error_code: hold time expired - gr: enabled - holdtime: '90' - keepalive: '30' - last_ack_version: ['1168802957'] - last_notification_received: '' - last_notification_sent: 15w1d - last_reset: 15w1d - last_reset_reason: 'BGP Notification sent: hold time expired' - last_synced_ack_version: ['1168802935'] - local_address: 2001:fec0::1c0 - local_as: '65011' - local_port: '179' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 2001:fec0::987 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [MARTIAN_FILTERv6] - policy_outgoing: [] - prefixes_in: ['62232'] - prefixes_in_best: ['36614'] - prefixes_out: ['15'] - prefixes_out_suppressed: ['0'] - prefixes_out_withdrawn: ['10'] - remote_address: 2001:fec0::987 - remote_as: '65011' - remote_port: '63346' - remote_router_id: 172.16.105.21 - route_reflector_role: [] - state: Established - type: internal - uptime: 15w1d - version: ['1168802957'] - - afi: [IPv6 Unicast] - cluster_id: '' - connections_dropped: '4' - connections_established: '5' - default_originate: [] - description: R12 - error_code: hold time expired - gr: enabled - holdtime: '90' - keepalive: '30' - last_ack_version: ['1168802960'] - last_notification_received: '' - last_notification_sent: 48w4d - last_reset: 48w4d - last_reset_reason: 'BGP Notification sent: hold time expired' - last_synced_ack_version: ['1168802959'] - local_address: 2001:fec0::1c0 - local_as: '65011' - local_port: '179' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 2001:fec0::988 - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [MARTIAN_FILTERv6] - policy_outgoing: [] - prefixes_in: ['62232'] - prefixes_in_best: ['25613'] - prefixes_out: ['40'] - prefixes_out_suppressed: ['12'] - prefixes_out_withdrawn: ['44'] - remote_address: 2001:fec0::988 - remote_as: '65011' - remote_port: '65168' - remote_router_id: 172.16.21.222 - route_reflector_role: [] - state: Established - type: internal - uptime: 48w4d - version: ['1168802960'] - - afi: [IPv6 Unicast] - cluster_id: 10.0.2.2 - connections_dropped: '6' - connections_established: '7' - default_originate: [default sent] - description: pe04 - error_code: hold time expired - gr: enabled - holdtime: '90' - keepalive: '30' - last_ack_version: ['1168802954'] - last_notification_received: '' - last_notification_sent: 43w0d - last_reset: 43w0d - last_reset_reason: 'BGP Notification sent: hold time expired' - last_synced_ack_version: ['1168802954'] - local_address: 2001:fec0::1c0 - local_as: '65011' - local_port: '179' - max_hops: '' - max_prefixes: ['524288'] - max_prefixes_warn_percent: ['75'] - neighbor: 2001:fec0::a0d - nsr: enabled - nsr_state: Ready - peer_error_code: '' - peer_reset_reason: '' - policy_incoming: [TAG_FILTER] - policy_outgoing: [FULL_ROUESv6] - prefixes_in: ['2'] - prefixes_in_best: ['2'] - prefixes_out: ['166060453'] - prefixes_out_suppressed: ['9'] - prefixes_out_withdrawn: ['7918856'] - remote_address: 2001:fec0::a0d - remote_as: '65011' - remote_port: '55754' - remote_router_id: 10.0.0.1 - route_reflector_role: [Client] - state: Established - type: internal - uptime: 43w0d - version: ['1168802960'] - \ No newline at end of file diff --git a/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.yml b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.yml new file mode 100644 index 0000000000..e2a283e190 --- /dev/null +++ b/tests/cisco_xr/show_bgp_neighbors/cisco_xr_show_bgp_neighbors1.yml @@ -0,0 +1,1138 @@ +--- +parsed_sample: + - afi: + - "IPv4 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "6" + connections_established: "7" + default_originate: + - "default sent" + description: "pe04" + error_code: "hold time expired" + gr: "enabled" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "3354689149" + last_notification_received: "" + last_notification_sent: "43w0d" + last_reset: "43w0d" + last_reset_reason: "BGP Notification sent: hold time expired" + last_synced_ack_version: + - "3354689140" + local_address: "10.0.2.2" + local_as: "65011" + local_port: "179" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "75" + neighbor: "10.0.0.1" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "FILTER_ROUTES" + prefixes_in: + - "1128" + prefixes_in_best: + - "1123" + prefixes_out: + - "473031161" + prefixes_out_suppressed: + - "4" + prefixes_out_withdrawn: + - "14158306" + remote_address: "10.0.0.1" + remote_as: "65011" + remote_port: "56817" + remote_router_id: "10.0.0.1" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "43w0d" + version: + - "3354689176" + - afi: + - "IPv4 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "0" + connections_established: "1" + default_originate: + - "default sent" + description: "alb1-core1" + error_code: "" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "3354689176" + last_notification_received: "" + last_notification_sent: "" + last_reset: "4y10w" + last_reset_reason: "None" + last_synced_ack_version: + - "3354689155" + local_address: "10.0.2.2" + local_as: "65011" + local_port: "12161" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "75" + neighbor: "10.0.3.3" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "DEFAULT_ONLY_ROUTE" + prefixes_in: + - "2" + prefixes_in_best: + - "0" + prefixes_out: + - "0" + prefixes_out_suppressed: + - "1" + prefixes_out_withdrawn: + - "1" + remote_address: "10.0.3.3" + remote_as: "65011" + remote_port: "179" + remote_router_id: "10.0.3.3" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "49w6d" + version: + - "3354689176" + - afi: + - "IPv4 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "1" + connections_established: "2" + default_originate: + - "default sent" + description: "pe01" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "3354689046" + last_notification_received: "" + last_notification_sent: "4y10w" + last_reset: "3y44w" + last_reset_reason: "RR client configuration changed" + last_synced_ack_version: + - "3354689046" + local_address: "10.0.2.2" + local_as: "65011" + local_port: "179" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "75" + neighbor: "192.168.100.1" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "FILTER_ROUTES" + prefixes_in: + - "432" + prefixes_in_best: + - "432" + prefixes_out: + - "520214833" + prefixes_out_suppressed: + - "132" + prefixes_out_withdrawn: + - "21645110" + remote_address: "192.168.100.1" + remote_as: "65011" + remote_port: "41662" + remote_router_id: "192.168.100.1" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "3y44w" + version: + - "3354689176" + - afi: + - "IPv4 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "1" + connections_established: "2" + default_originate: + - "default sent" + description: "pe02" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "3354688969" + last_notification_received: "" + last_notification_sent: "4y10w" + last_reset: "3y44w" + last_reset_reason: "RR client configuration changed" + last_synced_ack_version: + - "3354688969" + local_address: "10.0.2.2" + local_as: "65011" + local_port: "30973" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "75" + neighbor: "10.100.2.44" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "FILTER_ROUTES" + prefixes_in: + - "536" + prefixes_in_best: + - "530" + prefixes_out: + - "1324583231" + prefixes_out_suppressed: + - "132" + prefixes_out_withdrawn: + - "41976163" + remote_address: "10.100.2.44" + remote_as: "65011" + remote_port: "179" + remote_router_id: "10.100.2.44" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "3y44w" + version: + - "3354689176" + - afi: + - "IPv4 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "8" + connections_established: "9" + default_originate: + - "default sent" + description: "ve01" + error_code: "hold time expired" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "3354689176" + last_notification_received: "" + last_notification_sent: "2y10w" + last_reset: "2y10w" + last_reset_reason: "BGP Notification sent: hold time expired" + last_synced_ack_version: + - "3354689155" + local_address: "10.0.2.2" + local_as: "65011" + local_port: "179" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "75" + neighbor: "10.0.12.41" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "DEFAULT_ONLY_ROUTE" + prefixes_in: + - "1" + prefixes_in_best: + - "1" + prefixes_out: + - "0" + prefixes_out_suppressed: + - "2" + prefixes_out_withdrawn: + - "2" + remote_address: "10.0.12.41" + remote_as: "65011" + remote_port: "60837" + remote_router_id: "10.0.12.41" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "2y10w" + version: + - "3354689176" + - afi: + - "IPv4 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "0" + connections_established: "1" + default_originate: + - "default sent" + description: "ve02" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "3354689176" + last_notification_received: "" + last_notification_sent: "4y10w" + last_reset: "4y10w" + last_reset_reason: "Admin. shutdown" + last_synced_ack_version: + - "3354689155" + local_address: "10.0.2.2" + local_as: "65011" + local_port: "33627" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "75" + neighbor: "192.168.1.142" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "DEFAULT_ONLY_ROUTE" + prefixes_in: + - "1" + prefixes_in_best: + - "0" + prefixes_out: + - "1" + prefixes_out_suppressed: + - "2" + prefixes_out_withdrawn: + - "3" + remote_address: "192.168.1.142" + remote_as: "65011" + remote_port: "179" + remote_router_id: "192.168.1.142" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "4y10w" + version: + - "3354689176" + - afi: + - "IPv4 Unicast" + cluster_id: "" + connections_dropped: "0" + connections_established: "0" + default_originate: [] + description: "Another Router" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "0" + last_notification_received: "" + last_notification_sent: "25w5d" + last_reset: "25w5d" + last_reset_reason: "Admin. shutdown (CEASE notification sent - administrative\ + \ shutdown)" + last_synced_ack_version: + - "0" + local_address: "0.0.0.0" + local_as: "65011" + local_port: "0" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "80" + neighbor: "10.100.100.124" + nsr: "enabled" + nsr_state: "None" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: [] + policy_outgoing: [] + prefixes_in: + - "0" + prefixes_in_best: + - "0" + prefixes_out: + - "0" + prefixes_out_suppressed: + - "0" + prefixes_out_withdrawn: + - "0" + remote_address: "10.100.100.124" + remote_as: "65011" + remote_port: "0" + remote_router_id: "0.0.0.0" + route_reflector_role: [] + state: "Idle (Neighbor is shutdown)" + type: "internal" + uptime: "" + version: + - "0" + - afi: + - "IPv4 Unicast" + cluster_id: "" + connections_dropped: "4" + connections_established: "5" + default_originate: [] + description: "upstream_router1" + error_code: "hold time expired" + gr: "enabled" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "3354689176" + last_notification_received: "" + last_notification_sent: "14w5d" + last_reset: "14w5d" + last_reset_reason: "BGP Notification sent: hold time expired" + last_synced_ack_version: + - "3354689155" + local_address: "10.0.2.2" + local_as: "65011" + local_port: "179" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "80" + neighbor: "172.16.105.21" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: [] + policy_outgoing: [] + prefixes_in: + - "857166" + prefixes_in_best: + - "376049" + prefixes_out: + - "2875" + prefixes_out_suppressed: + - "0" + prefixes_out_withdrawn: + - "2266" + remote_address: "172.16.105.21" + remote_as: "65011" + remote_port: "60582" + remote_router_id: "172.16.105.21" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "14w5d" + version: + - "3354689176" + - afi: + - "IPv4 Unicast" + cluster_id: "" + connections_dropped: "4" + connections_established: "5" + default_originate: [] + description: "R13" + error_code: "hold time expired" + gr: "enabled" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "3354689212" + last_notification_received: "1y14w" + last_notification_sent: "48w4d" + last_reset: "48w4d" + last_reset_reason: "BGP Notification sent: hold time expired" + last_synced_ack_version: + - "3354689155" + local_address: "10.0.2.2" + local_as: "65011" + local_port: "25686" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "80" + neighbor: "172.16.21.222" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "connection rejected" + peer_reset_reason: "" + policy_incoming: [] + policy_outgoing: [] + prefixes_in: + - "857166" + prefixes_in_best: + - "480594" + prefixes_out: + - "10502" + prefixes_out_suppressed: + - "2" + prefixes_out_withdrawn: + - "9155" + remote_address: "172.16.21.222" + remote_as: "65011" + remote_port: "179" + remote_router_id: "172.16.21.222" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "48w4d" + version: + - "3354689212" + - afi: + - "IPv4 Unicast" + cluster_id: "" + connections_dropped: "0" + connections_established: "1" + default_originate: [] + description: "agr01" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "3354689212" + last_notification_received: "" + last_notification_sent: "4y10w" + last_reset: "4y10w" + last_reset_reason: "Admin. shutdown" + last_synced_ack_version: + - "3354689155" + local_address: "10.0.2.2" + local_as: "65011" + local_port: "179" + max_hops: "" + max_prefixes: + - "1048576" + max_prefixes_warn_percent: + - "75" + neighbor: "10.0.0.152" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: [] + policy_outgoing: + - "A_ROUTE_FILTER" + prefixes_in: + - "2503" + prefixes_in_best: + - "0" + prefixes_out: + - "789753" + prefixes_out_suppressed: + - "2" + prefixes_out_withdrawn: + - "771940" + remote_address: "10.0.0.152" + remote_as: "65011" + remote_port: "25659" + remote_router_id: "10.0.0.152" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "4y10w" + version: + - "3354689212" + - afi: + - "IPv6 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "0" + connections_established: "1" + default_originate: + - "default sent" + description: "pe01" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "1168802950" + last_notification_received: "" + last_notification_sent: "4y10w" + last_reset: "4y10w" + last_reset_reason: "Admin. shutdown" + last_synced_ack_version: + - "1168802930" + local_address: "2001:fec0::1c0" + local_as: "65011" + local_port: "40939" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "2001:e01a:204::1" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "FULL_ROUESv6" + prefixes_in: + - "2" + prefixes_in_best: + - "2" + prefixes_out: + - "666059645" + prefixes_out_suppressed: + - "13" + prefixes_out_withdrawn: + - "17306793" + remote_address: "2001:e01a:204::1" + remote_as: "65011" + remote_port: "179" + remote_router_id: "192.168.100.1" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "4y10w" + version: + - "1168802957" + - afi: + - "IPv6 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "0" + connections_established: "1" + default_originate: + - "default sent" + description: "pe02" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "1168802822" + last_notification_received: "" + last_notification_sent: "4y10w" + last_reset: "4y10w" + last_reset_reason: "Admin. shutdown" + last_synced_ack_version: + - "1168802822" + local_address: "2001:fec0::1c0" + local_as: "65011" + local_port: "58458" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "2001:fec0::6a" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "FILTER_ROUTESv6" + prefixes_in: + - "0" + prefixes_in_best: + - "0" + prefixes_out: + - "167291632" + prefixes_out_suppressed: + - "12" + prefixes_out_withdrawn: + - "3571712" + remote_address: "2001:fec0::6a" + remote_as: "65011" + remote_port: "179" + remote_router_id: "10.100.2.44" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "4y10w" + version: + - "1168802957" + - afi: + - "IPv6 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "0" + connections_established: "1" + default_originate: + - "default sent" + description: "pe03" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "1168802950" + last_notification_received: "" + last_notification_sent: "4y10w" + last_reset: "4y10w" + last_reset_reason: "Admin. shutdown" + last_synced_ack_version: + - "1168802930" + local_address: "2001:fec0::1c0" + local_as: "65011" + local_port: "18095" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "2001:fec0::6b" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "FULL_ROUESv6" + prefixes_in: + - "0" + prefixes_in_best: + - "0" + prefixes_out: + - "666059645" + prefixes_out_suppressed: + - "13" + prefixes_out_withdrawn: + - "17306793" + remote_address: "2001:fec0::6b" + remote_as: "65011" + remote_port: "179" + remote_router_id: "10.0.142.12" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "4y10w" + version: + - "1168802957" + - afi: + - "IPv6 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "7" + connections_established: "8" + default_originate: + - "default sent" + description: "ve01" + error_code: "hold time expired" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "1168802957" + last_notification_received: "" + last_notification_sent: "2y10w" + last_reset: "2y10w" + last_reset_reason: "BGP Notification sent: hold time expired" + last_synced_ack_version: + - "1168802935" + local_address: "2001:fec0::1c0" + local_as: "65011" + local_port: "179" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "2001:fec0::6c" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "DEFAULT_ONLY_ROUTEv6" + prefixes_in: + - "1" + prefixes_in_best: + - "1" + prefixes_out: + - "0" + prefixes_out_suppressed: + - "12" + prefixes_out_withdrawn: + - "12" + remote_address: "2001:fec0::6c" + remote_as: "65011" + remote_port: "22622" + remote_router_id: "10.0.12.41" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "2y10w" + version: + - "1168802957" + - afi: + - "IPv6 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "0" + connections_established: "1" + default_originate: + - "default sent" + description: "ve02" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "1168802957" + last_notification_received: "" + last_notification_sent: "4y10w" + last_reset: "4y10w" + last_reset_reason: "Admin. shutdown" + last_synced_ack_version: + - "1168802935" + local_address: "2001:fec0::1c0" + local_as: "65011" + local_port: "32502" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "2001:fec0::6d" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "DEFAULT_ONLY_ROUTEv6" + prefixes_in: + - "1" + prefixes_in_best: + - "0" + prefixes_out: + - "0" + prefixes_out_suppressed: + - "12" + prefixes_out_withdrawn: + - "12" + remote_address: "2001:fec0::6d" + remote_as: "65011" + remote_port: "179" + remote_router_id: "192.168.1.142" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "4y10w" + version: + - "1168802957" + - afi: + - "IPv6 Unicast" + cluster_id: "" + connections_dropped: "0" + connections_established: "0" + default_originate: [] + description: "shutdown_router" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "0" + last_notification_received: "" + last_notification_sent: "25w5d" + last_reset: "25w5d" + last_reset_reason: "Admin. shutdown (CEASE notification sent - administrative\ + \ shutdown)" + last_synced_ack_version: + - "0" + local_address: "::" + local_as: "65011" + local_port: "0" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "2001:fec0::7fa" + nsr: "enabled" + nsr_state: "None" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "MARTIAN_FILTERv6" + policy_outgoing: [] + prefixes_in: + - "0" + prefixes_in_best: + - "0" + prefixes_out: + - "0" + prefixes_out_suppressed: + - "0" + prefixes_out_withdrawn: + - "0" + remote_address: "2001:fec0::7fa" + remote_as: "65011" + remote_port: "0" + remote_router_id: "0.0.0.0" + route_reflector_role: [] + state: "Idle (Neighbor is shutdown)" + type: "internal" + uptime: "" + version: + - "0" + - afi: + - "IPv6 Unicast" + cluster_id: "" + connections_dropped: "0" + connections_established: "0" + default_originate: [] + description: "shut_router-2" + error_code: "administrative shutdown" + gr: "enabled" + holdtime: "180" + keepalive: "60" + last_ack_version: + - "0" + last_notification_received: "" + last_notification_sent: "25w5d" + last_reset: "25w5d" + last_reset_reason: "Admin. shutdown (CEASE notification sent - administrative\ + \ shutdown)" + last_synced_ack_version: + - "0" + local_address: "::" + local_as: "65011" + local_port: "0" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "2001:fec0::7fb" + nsr: "enabled" + nsr_state: "None" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "MARTIAN_FILTERv6" + policy_outgoing: [] + prefixes_in: + - "0" + prefixes_in_best: + - "0" + prefixes_out: + - "0" + prefixes_out_suppressed: + - "0" + prefixes_out_withdrawn: + - "0" + remote_address: "2001:fec0::7fb" + remote_as: "65011" + remote_port: "0" + remote_router_id: "0.0.0.0" + route_reflector_role: [] + state: "Idle (Neighbor is shutdown)" + type: "internal" + uptime: "" + version: + - "0" + - afi: + - "IPv6 Unicast" + cluster_id: "" + connections_dropped: "4" + connections_established: "5" + default_originate: [] + description: "upstream_router1" + error_code: "hold time expired" + gr: "enabled" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "1168802957" + last_notification_received: "" + last_notification_sent: "15w1d" + last_reset: "15w1d" + last_reset_reason: "BGP Notification sent: hold time expired" + last_synced_ack_version: + - "1168802935" + local_address: "2001:fec0::1c0" + local_as: "65011" + local_port: "179" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "2001:fec0::987" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "MARTIAN_FILTERv6" + policy_outgoing: [] + prefixes_in: + - "62232" + prefixes_in_best: + - "36614" + prefixes_out: + - "15" + prefixes_out_suppressed: + - "0" + prefixes_out_withdrawn: + - "10" + remote_address: "2001:fec0::987" + remote_as: "65011" + remote_port: "63346" + remote_router_id: "172.16.105.21" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "15w1d" + version: + - "1168802957" + - afi: + - "IPv6 Unicast" + cluster_id: "" + connections_dropped: "4" + connections_established: "5" + default_originate: [] + description: "R12" + error_code: "hold time expired" + gr: "enabled" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "1168802960" + last_notification_received: "" + last_notification_sent: "48w4d" + last_reset: "48w4d" + last_reset_reason: "BGP Notification sent: hold time expired" + last_synced_ack_version: + - "1168802959" + local_address: "2001:fec0::1c0" + local_as: "65011" + local_port: "179" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "2001:fec0::988" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "MARTIAN_FILTERv6" + policy_outgoing: [] + prefixes_in: + - "62232" + prefixes_in_best: + - "25613" + prefixes_out: + - "40" + prefixes_out_suppressed: + - "12" + prefixes_out_withdrawn: + - "44" + remote_address: "2001:fec0::988" + remote_as: "65011" + remote_port: "65168" + remote_router_id: "172.16.21.222" + route_reflector_role: [] + state: "Established" + type: "internal" + uptime: "48w4d" + version: + - "1168802960" + - afi: + - "IPv6 Unicast" + cluster_id: "10.0.2.2" + connections_dropped: "6" + connections_established: "7" + default_originate: + - "default sent" + description: "pe04" + error_code: "hold time expired" + gr: "enabled" + holdtime: "90" + keepalive: "30" + last_ack_version: + - "1168802954" + last_notification_received: "" + last_notification_sent: "43w0d" + last_reset: "43w0d" + last_reset_reason: "BGP Notification sent: hold time expired" + last_synced_ack_version: + - "1168802954" + local_address: "2001:fec0::1c0" + local_as: "65011" + local_port: "179" + max_hops: "" + max_prefixes: + - "524288" + max_prefixes_warn_percent: + - "75" + neighbor: "2001:fec0::a0d" + nsr: "enabled" + nsr_state: "Ready" + peer_error_code: "" + peer_reset_reason: "" + policy_incoming: + - "TAG_FILTER" + policy_outgoing: + - "FULL_ROUESv6" + prefixes_in: + - "2" + prefixes_in_best: + - "2" + prefixes_out: + - "166060453" + prefixes_out_suppressed: + - "9" + prefixes_out_withdrawn: + - "7918856" + remote_address: "2001:fec0::a0d" + remote_as: "65011" + remote_port: "55754" + remote_router_id: "10.0.0.1" + route_reflector_role: + - "Client" + state: "Established" + type: "internal" + uptime: "43w0d" + version: + - "1168802960" diff --git a/tests/cisco_xr/show_bgp_vrf_all_ipv4_unicast_summary/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.parsed b/tests/cisco_xr/show_bgp_vrf_all_ipv4_unicast_summary/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.parsed deleted file mode 100644 index 1f9b1a9787..0000000000 --- a/tests/cisco_xr/show_bgp_vrf_all_ipv4_unicast_summary/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.parsed +++ /dev/null @@ -1,18 +0,0 @@ ---- -parsed_sample: - -- vrf: DR - rd: '10.1.1.1:5' - state: Active -- vrf: PROD - rd: '10.1.1.1:3' - state: Active -- vrf: REPL - rd: '10.1.1.1:1' - state: Active -- vrf: EXTRANET - rd: '10.1.1.1:7' - state: Active -- vrf: EXTRANET2 - rd: '10.1.1.1:8' - state: Active diff --git a/tests/cisco_xr/show_bgp_vrf_all_ipv4_unicast_summary/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.yml b/tests/cisco_xr/show_bgp_vrf_all_ipv4_unicast_summary/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.yml new file mode 100644 index 0000000000..ca06abbefd --- /dev/null +++ b/tests/cisco_xr/show_bgp_vrf_all_ipv4_unicast_summary/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - vrf: "DR" + rd: "10.1.1.1:5" + state: "Active" + - vrf: "PROD" + rd: "10.1.1.1:3" + state: "Active" + - vrf: "REPL" + rd: "10.1.1.1:1" + state: "Active" + - vrf: "EXTRANET" + rd: "10.1.1.1:7" + state: "Active" + - vrf: "EXTRANET2" + rd: "10.1.1.1:8" + state: "Active" diff --git a/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed b/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed deleted file mode 100644 index 1cea7eb09f..0000000000 --- a/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.parsed +++ /dev/null @@ -1,199 +0,0 @@ ---- -parsed_sample: - -- dest_host: nyc-dc-dcm005.ntc.com - local_port: MgmtEth0/RSP0/CPU0/0 - mgmt_ip: 10.100.1.54 - platform: cisco WS-C4948E - remote_port: GigabitEthernet1/9 - sysname: '' - version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), - Version 15.0(2)SG10, RELEASE SOFTWARE (fc1) - capabilities: "Router Switch IGMP" -- dest_host: nyc-dc-dcm006.ntc.com - local_port: MgmtEth0/RSP1/CPU0/0 - mgmt_ip: 10.100.1.55 - platform: cisco WS-C4948E - remote_port: GigabitEthernet1/9 - sysname: '' - version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), - Version 15.0(2)SG10, RELEASE SOFTWARE (fc1) - capabilities: "Router Switch IGMP" -- dest_host: nyc-dc-c90.ntc.com - local_port: FortyGigE0/0/1/0 - mgmt_ip: 10.100.100.141 - platform: cisco CRS - remote_port: FortyGigE0/0/0/2 - sysname: nyc-dc-c90.ntc.com - version: Cisco IOS XR Software, Version 5.1.2[Default] - capabilities: "Router Switch IGMP" -- dest_host: nyc-dc-d02.ntc.com(FXS182XXXXX) - local_port: FortyGigE0/0/1/1 - mgmt_ip: 10.100.100.162 - platform: N77-C7706 - remote_port: Ethernet6/1 - sysname: nyc-dc-d02 - version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) - capabilities: "Router Switch" -- dest_host: nyc-dc-c97 - local_port: FortyGigE0/0/0/0 - mgmt_ip: 10.100.100.19 - platform: cisco ASR9K Series - remote_port: FortyGigE0/0/0/0 - sysname: nyc-dc-c97 - version: Cisco IOS XR Software, Version 5.3.4[Default] - capabilities: "Router" -- dest_host: nyc-dc-c91.ntc.com - local_port: FortyGigE0/0/0/1 - mgmt_ip: 10.100.100.125 - platform: cisco CRS - remote_port: FortyGigE0/0/0/2 - sysname: nyc-dc-c91.ntc.com - version: Cisco IOS XR Software, Version 5.1.2[Default] - capabilities: "Router" -- dest_host: nyc-dc-c97 - local_port: FortyGigE0/1/0/0 - mgmt_ip: 10.100.100.113 - platform: cisco ASR9K Series - remote_port: FortyGigE0/1/0/0 - sysname: nyc-dc-c97 - version: Cisco IOS XR Software, Version 5.3.4[Default] - capabilities: "Router" -- dest_host: nyc-dc-d03.ntc.com(FXS182XXXXX) - local_port: FortyGigE0/1/0/1 - mgmt_ip: 10.100.100.190 - platform: N77-C7706 - remote_port: Ethernet6/1 - sysname: nyc-dc-d03 - version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) - capabilities: "Router Switch" -- dest_host: nyc-dc-c90.ntc.com - local_port: FortyGigE0/1/1/0 - mgmt_ip: 10.100.100.145 - platform: cisco CRS - remote_port: FortyGigE0/4/0/2 - sysname: nyc-dc-c90.ntc.com - version: Cisco IOS XR Software, Version 5.1.2[Default] - capabilities: "Router" -- dest_host: nyc-dc-z50a.ntc.com(JAF18XXXXX) - local_port: FortyGigE0/1/1/1 - mgmt_ip: 10.100.100.116 - platform: N77-C7710 - remote_port: Ethernet4/3 - sysname: nyc-dc-z50a - version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) - capabilities: "Router Switch" -- dest_host: nyc-dc-d04.ntc.com(FXS18XXXXXX) - local_port: FortyGigE0/2/1/0 - mgmt_ip: 10.100.100.194 - platform: N77-C7706 - remote_port: Ethernet6/1 - sysname: nyc-dc-d04 - version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) - capabilities: "Router Switch" -- dest_host: nyc-dc-c91.ntc.com - local_port: FortyGigE0/2/1/1 - mgmt_ip: 10.100.100.129 - platform: cisco CRS - remote_port: FortyGigE0/4/0/2 - sysname: nyc-dc-c91.ntc.com - version: Cisco IOS XR Software, Version 5.1.2[Default] - capabilities: "Router" -- dest_host: nyc-dc-d01.ntc.com(FXS182XXXXX) - local_port: FortyGigE0/2/0/0 - mgmt_ip: 10.100.100.158 - platform: N77-C7706 - remote_port: Ethernet6/1 - sysname: nyc-dc-d01 - version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) - capabilities: "Router Switch" -- dest_host: nyc-dc-z50b.ntc.com(JAF181XXXXX) - local_port: FortyGigE0/2/0/1 - mgmt_ip: 10.100.100.111 - platform: N77-C7710 - remote_port: Ethernet4/3 - sysname: nyc-dc-z50b - version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) - capabilities: "Router Switch" -- dest_host: nyc-dc-dcc001.ntc.com - local_port: TenGigE0/3/0/0 - mgmt_ip: 10.100.100.174 - platform: cisco WS-C4510R+E - remote_port: TenGigabitEthernet6/1 - sysname: '' - version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), - Version 15.2(2)E3, RELEASE SOFTWARE (fc3) - capabilities: "Router Switch IGMP" -- dest_host: nyc-dc-d57 - local_port: TenGigE0/3/0/1 - mgmt_ip: 10.100.100.115 - platform: cisco ASR9K Series - remote_port: TenGigE0/2/0/0 - sysname: nyc-dc-d57 - version: Cisco IOS XR Software, Version 4.3.2[Default] - capabilities: "Router" -- dest_host: nyc-dc-d40b.ntc.com(JAF182XXXXX) - local_port: TenGigE0/3/0/2 - mgmt_ip: 10.100.100.114 - platform: N77-C7710 - remote_port: Ethernet4/1 - sysname: nyc-dc-d40b - version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) - capabilities: "Router Switch" -- dest_host: nyc-dc-d80.ntc.com(FOC184XXXXX) - local_port: TenGigE0/3/0/3 - mgmt_ip: 10.100.100.117 - platform: N5K-C56128P - remote_port: Ethernet2/1 - sysname: nyc-dc-d80 - version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(7)N1(1) - capabilities: "Router Switch IGMP" -- dest_host: nyc-dc-dcc002.ntc.com - local_port: TenGigE0/4/0/0 - mgmt_ip: 10.100.100.178 - platform: cisco WS-C4510R+E - remote_port: TenGigabitEthernet6/1 - sysname: '' - version: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), - Version 15.2(2)E3, RELEASE SOFTWARE (fc3) - capabilities: "Router Switch IGMP" -- dest_host: nyc-dc-d57 - local_port: TenGigE0/4/0/1 - mgmt_ip: 10.100.100.115 - platform: cisco ASR9K Series - remote_port: TenGigE1/2/0/0 - sysname: nyc-dc-d57 - version: Cisco IOS XR Software, Version 4.3.2[Default] - capabilities: "Router" -- dest_host: nyc-dc-d40a.ntc.com(JAF182XXXXX) - local_port: TenGigE0/4/0/2 - mgmt_ip: 10.100.100.113 - platform: N77-C7710 - remote_port: Ethernet4/1 - sysname: nyc-dc-d40a - version: Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12) - capabilities: "Router Switch" -- dest_host: nyc-dc-d81.ntc.com(FOC182XXXXX) - local_port: TenGigE0/4/0/3 - mgmt_ip: 10.100.100.118 - platform: N5K-C56128P - remote_port: Ethernet1/1 - sysname: nyc-dc-d81 - version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(7)N1(1) - capabilities: "Router Switch IGMP" -- dest_host: nyc-dc-c97 - local_port: FortyGigE0/6/0/0 - mgmt_ip: 192.168.169.21 - platform: cisco ASR9K Series - remote_port: FortyGigE0/6/0/0 - sysname: nyc-dc-c97 - version: Cisco IOS XR Software, Version 5.3.4[Default] - capabilities: "Router" -- dest_host: nyc-dc-c97 - local_port: FortyGigE0/6/0/0 - mgmt_ip: 192.168.169.21 - platform: cisco ASR9K Series - remote_port: FortyGigE0/7/0/0 - sysname: nyc-dc-c97 - version: Cisco IOS XR Software, Version 5.3.4[Default] - capabilities: "Router" diff --git a/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.yml b/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.yml new file mode 100644 index 0000000000..b8c155cd9a --- /dev/null +++ b/tests/cisco_xr/show_cdp_neighbors_detail/cisco_xr_show_cdp_neighbors_detail.yml @@ -0,0 +1,198 @@ +--- +parsed_sample: + - dest_host: "nyc-dc-dcm005.ntc.com" + local_port: "MgmtEth0/RSP0/CPU0/0" + mgmt_ip: "10.100.1.54" + platform: "cisco WS-C4948E" + remote_port: "GigabitEthernet1/9" + sysname: "" + version: "Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M),\ + \ Version 15.0(2)SG10, RELEASE SOFTWARE (fc1)" + capabilities: "Router Switch IGMP" + - dest_host: "nyc-dc-dcm006.ntc.com" + local_port: "MgmtEth0/RSP1/CPU0/0" + mgmt_ip: "10.100.1.55" + platform: "cisco WS-C4948E" + remote_port: "GigabitEthernet1/9" + sysname: "" + version: "Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M),\ + \ Version 15.0(2)SG10, RELEASE SOFTWARE (fc1)" + capabilities: "Router Switch IGMP" + - dest_host: "nyc-dc-c90.ntc.com" + local_port: "FortyGigE0/0/1/0" + mgmt_ip: "10.100.100.141" + platform: "cisco CRS" + remote_port: "FortyGigE0/0/0/2" + sysname: "nyc-dc-c90.ntc.com" + version: "Cisco IOS XR Software, Version 5.1.2[Default]" + capabilities: "Router Switch IGMP" + - dest_host: "nyc-dc-d02.ntc.com(FXS182XXXXX)" + local_port: "FortyGigE0/0/1/1" + mgmt_ip: "10.100.100.162" + platform: "N77-C7706" + remote_port: "Ethernet6/1" + sysname: "nyc-dc-d02" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12)" + capabilities: "Router Switch" + - dest_host: "nyc-dc-c97" + local_port: "FortyGigE0/0/0/0" + mgmt_ip: "10.100.100.19" + platform: "cisco ASR9K Series" + remote_port: "FortyGigE0/0/0/0" + sysname: "nyc-dc-c97" + version: "Cisco IOS XR Software, Version 5.3.4[Default]" + capabilities: "Router" + - dest_host: "nyc-dc-c91.ntc.com" + local_port: "FortyGigE0/0/0/1" + mgmt_ip: "10.100.100.125" + platform: "cisco CRS" + remote_port: "FortyGigE0/0/0/2" + sysname: "nyc-dc-c91.ntc.com" + version: "Cisco IOS XR Software, Version 5.1.2[Default]" + capabilities: "Router" + - dest_host: "nyc-dc-c97" + local_port: "FortyGigE0/1/0/0" + mgmt_ip: "10.100.100.113" + platform: "cisco ASR9K Series" + remote_port: "FortyGigE0/1/0/0" + sysname: "nyc-dc-c97" + version: "Cisco IOS XR Software, Version 5.3.4[Default]" + capabilities: "Router" + - dest_host: "nyc-dc-d03.ntc.com(FXS182XXXXX)" + local_port: "FortyGigE0/1/0/1" + mgmt_ip: "10.100.100.190" + platform: "N77-C7706" + remote_port: "Ethernet6/1" + sysname: "nyc-dc-d03" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12)" + capabilities: "Router Switch" + - dest_host: "nyc-dc-c90.ntc.com" + local_port: "FortyGigE0/1/1/0" + mgmt_ip: "10.100.100.145" + platform: "cisco CRS" + remote_port: "FortyGigE0/4/0/2" + sysname: "nyc-dc-c90.ntc.com" + version: "Cisco IOS XR Software, Version 5.1.2[Default]" + capabilities: "Router" + - dest_host: "nyc-dc-z50a.ntc.com(JAF18XXXXX)" + local_port: "FortyGigE0/1/1/1" + mgmt_ip: "10.100.100.116" + platform: "N77-C7710" + remote_port: "Ethernet4/3" + sysname: "nyc-dc-z50a" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12)" + capabilities: "Router Switch" + - dest_host: "nyc-dc-d04.ntc.com(FXS18XXXXXX)" + local_port: "FortyGigE0/2/1/0" + mgmt_ip: "10.100.100.194" + platform: "N77-C7706" + remote_port: "Ethernet6/1" + sysname: "nyc-dc-d04" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12)" + capabilities: "Router Switch" + - dest_host: "nyc-dc-c91.ntc.com" + local_port: "FortyGigE0/2/1/1" + mgmt_ip: "10.100.100.129" + platform: "cisco CRS" + remote_port: "FortyGigE0/4/0/2" + sysname: "nyc-dc-c91.ntc.com" + version: "Cisco IOS XR Software, Version 5.1.2[Default]" + capabilities: "Router" + - dest_host: "nyc-dc-d01.ntc.com(FXS182XXXXX)" + local_port: "FortyGigE0/2/0/0" + mgmt_ip: "10.100.100.158" + platform: "N77-C7706" + remote_port: "Ethernet6/1" + sysname: "nyc-dc-d01" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12)" + capabilities: "Router Switch" + - dest_host: "nyc-dc-z50b.ntc.com(JAF181XXXXX)" + local_port: "FortyGigE0/2/0/1" + mgmt_ip: "10.100.100.111" + platform: "N77-C7710" + remote_port: "Ethernet4/3" + sysname: "nyc-dc-z50b" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12)" + capabilities: "Router Switch" + - dest_host: "nyc-dc-dcc001.ntc.com" + local_port: "TenGigE0/3/0/0" + mgmt_ip: "10.100.100.174" + platform: "cisco WS-C4510R+E" + remote_port: "TenGigabitEthernet6/1" + sysname: "" + version: "Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M),\ + \ Version 15.2(2)E3, RELEASE SOFTWARE (fc3)" + capabilities: "Router Switch IGMP" + - dest_host: "nyc-dc-d57" + local_port: "TenGigE0/3/0/1" + mgmt_ip: "10.100.100.115" + platform: "cisco ASR9K Series" + remote_port: "TenGigE0/2/0/0" + sysname: "nyc-dc-d57" + version: "Cisco IOS XR Software, Version 4.3.2[Default]" + capabilities: "Router" + - dest_host: "nyc-dc-d40b.ntc.com(JAF182XXXXX)" + local_port: "TenGigE0/3/0/2" + mgmt_ip: "10.100.100.114" + platform: "N77-C7710" + remote_port: "Ethernet4/1" + sysname: "nyc-dc-d40b" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12)" + capabilities: "Router Switch" + - dest_host: "nyc-dc-d80.ntc.com(FOC184XXXXX)" + local_port: "TenGigE0/3/0/3" + mgmt_ip: "10.100.100.117" + platform: "N5K-C56128P" + remote_port: "Ethernet2/1" + sysname: "nyc-dc-d80" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 7.0(7)N1(1)" + capabilities: "Router Switch IGMP" + - dest_host: "nyc-dc-dcc002.ntc.com" + local_port: "TenGigE0/4/0/0" + mgmt_ip: "10.100.100.178" + platform: "cisco WS-C4510R+E" + remote_port: "TenGigabitEthernet6/1" + sysname: "" + version: "Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M),\ + \ Version 15.2(2)E3, RELEASE SOFTWARE (fc3)" + capabilities: "Router Switch IGMP" + - dest_host: "nyc-dc-d57" + local_port: "TenGigE0/4/0/1" + mgmt_ip: "10.100.100.115" + platform: "cisco ASR9K Series" + remote_port: "TenGigE1/2/0/0" + sysname: "nyc-dc-d57" + version: "Cisco IOS XR Software, Version 4.3.2[Default]" + capabilities: "Router" + - dest_host: "nyc-dc-d40a.ntc.com(JAF182XXXXX)" + local_port: "TenGigE0/4/0/2" + mgmt_ip: "10.100.100.113" + platform: "N77-C7710" + remote_port: "Ethernet4/1" + sysname: "nyc-dc-d40a" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 6.2(12)" + capabilities: "Router Switch" + - dest_host: "nyc-dc-d81.ntc.com(FOC182XXXXX)" + local_port: "TenGigE0/4/0/3" + mgmt_ip: "10.100.100.118" + platform: "N5K-C56128P" + remote_port: "Ethernet1/1" + sysname: "nyc-dc-d81" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 7.0(7)N1(1)" + capabilities: "Router Switch IGMP" + - dest_host: "nyc-dc-c97" + local_port: "FortyGigE0/6/0/0" + mgmt_ip: "192.168.169.21" + platform: "cisco ASR9K Series" + remote_port: "FortyGigE0/6/0/0" + sysname: "nyc-dc-c97" + version: "Cisco IOS XR Software, Version 5.3.4[Default]" + capabilities: "Router" + - dest_host: "nyc-dc-c97" + local_port: "FortyGigE0/6/0/0" + mgmt_ip: "192.168.169.21" + platform: "cisco ASR9K Series" + remote_port: "FortyGigE0/7/0/0" + sysname: "nyc-dc-c97" + version: "Cisco IOS XR Software, Version 5.3.4[Default]" + capabilities: "Router" diff --git a/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.parsed b/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.parsed deleted file mode 100644 index 1a52ba6da2..0000000000 --- a/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.parsed +++ /dev/null @@ -1,67 +0,0 @@ ---- -parsed_sample: - -- checksum_error_drops: '66' - discard_drops: '0' - gre_lookup_drops: '0' - gre_processing_drops: '0' - lisp_decap_err_drops: '0' - lisp_encap_err_drops: '0' - lisp_punt_drops: '999999' - location: 0/RSP0/CPU0 - no_adjacency_drops: '55' - no_route_drops: '44' - null0_drops: '33' - rp_destined_drops: '0' - rpf_drops: '77' - rpf_suppressed_drops: '0' - unresolved_drops: '11' - unsupported_drops: '22' -- checksum_error_drops: '0' - discard_drops: '0' - gre_lookup_drops: '0' - gre_processing_drops: '0' - lisp_decap_err_drops: '0' - lisp_encap_err_drops: '0' - lisp_punt_drops: '0' - location: 0/RSP1/CPU0 - no_adjacency_drops: '0' - no_route_drops: '79' - null0_drops: '0' - rp_destined_drops: '0' - rpf_drops: '0' - rpf_suppressed_drops: '0' - unresolved_drops: '0' - unsupported_drops: '0' -- checksum_error_drops: '0' - discard_drops: '97' - gre_lookup_drops: '0' - gre_processing_drops: '0' - lisp_decap_err_drops: '0' - lisp_encap_err_drops: '0' - lisp_punt_drops: '0' - location: 0/0/CPU0 - no_adjacency_drops: '0' - no_route_drops: '0' - null0_drops: '0' - rp_destined_drops: '0' - rpf_drops: '0' - rpf_suppressed_drops: '0' - unresolved_drops: '0' - unsupported_drops: '0' -- checksum_error_drops: '0' - discard_drops: '106' - gre_lookup_drops: '0' - gre_processing_drops: '0' - lisp_decap_err_drops: '0' - lisp_encap_err_drops: '0' - lisp_punt_drops: '0' - location: 0/7/CPU0 - no_adjacency_drops: '0' - no_route_drops: '9' - null0_drops: '0' - rp_destined_drops: '0' - rpf_drops: '0' - rpf_suppressed_drops: '0' - unresolved_drops: '0' - unsupported_drops: '0' diff --git a/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.yml b/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.yml new file mode 100644 index 0000000000..7a1fb15340 --- /dev/null +++ b/tests/cisco_xr/show_cef_drops_location/cisco_xr_show_cef_drops_location.yml @@ -0,0 +1,66 @@ +--- +parsed_sample: + - checksum_error_drops: "66" + discard_drops: "0" + gre_lookup_drops: "0" + gre_processing_drops: "0" + lisp_decap_err_drops: "0" + lisp_encap_err_drops: "0" + lisp_punt_drops: "999999" + location: "0/RSP0/CPU0" + no_adjacency_drops: "55" + no_route_drops: "44" + null0_drops: "33" + rp_destined_drops: "0" + rpf_drops: "77" + rpf_suppressed_drops: "0" + unresolved_drops: "11" + unsupported_drops: "22" + - checksum_error_drops: "0" + discard_drops: "0" + gre_lookup_drops: "0" + gre_processing_drops: "0" + lisp_decap_err_drops: "0" + lisp_encap_err_drops: "0" + lisp_punt_drops: "0" + location: "0/RSP1/CPU0" + no_adjacency_drops: "0" + no_route_drops: "79" + null0_drops: "0" + rp_destined_drops: "0" + rpf_drops: "0" + rpf_suppressed_drops: "0" + unresolved_drops: "0" + unsupported_drops: "0" + - checksum_error_drops: "0" + discard_drops: "97" + gre_lookup_drops: "0" + gre_processing_drops: "0" + lisp_decap_err_drops: "0" + lisp_encap_err_drops: "0" + lisp_punt_drops: "0" + location: "0/0/CPU0" + no_adjacency_drops: "0" + no_route_drops: "0" + null0_drops: "0" + rp_destined_drops: "0" + rpf_drops: "0" + rpf_suppressed_drops: "0" + unresolved_drops: "0" + unsupported_drops: "0" + - checksum_error_drops: "0" + discard_drops: "106" + gre_lookup_drops: "0" + gre_processing_drops: "0" + lisp_decap_err_drops: "0" + lisp_encap_err_drops: "0" + lisp_punt_drops: "0" + location: "0/7/CPU0" + no_adjacency_drops: "0" + no_route_drops: "9" + null0_drops: "0" + rp_destined_drops: "0" + rpf_drops: "0" + rpf_suppressed_drops: "0" + unresolved_drops: "0" + unsupported_drops: "0" diff --git a/tests/cisco_xr/show_configuration_commit_list/cisco_xr_show_configuration_commit_list.parsed b/tests/cisco_xr/show_configuration_commit_list/cisco_xr_show_configuration_commit_list.parsed deleted file mode 100644 index 2ff9ebd829..0000000000 --- a/tests/cisco_xr/show_configuration_commit_list/cisco_xr_show_configuration_commit_list.parsed +++ /dev/null @@ -1,79 +0,0 @@ ---- -parsed_sample: - -- number: "1" - commit: "1000000093" - user: "fred" - line: "vty0:node0_RSP0_CP" - client: "CLI" - date_time: "Tue Jun 7 14:42:19 2016" - -- number: "2" - commit: "1000000092" - user: "john" - line: "vty0:node0_RSP0_CP" - client: "CLI" - date_time: "Tue Jun 7 14:40:05 2016" - -- number: "3" - commit: "1000000091" - user: "john" - line: "vty0:node0_RSP0_CP" - client: "CLI" - date_time: "Tue Jun 7 14:33:52 2016" - -- number: "4" - commit: "1000000090" - user: "john" - line: "vty0:node0_RSP0_CP" - client: "CLI" - date_time: "Tue Jun 7 14:33:05 2016" - -- number: "5" - commit: "1000000089" - user: "fred" - line: "vty0:node0_RSP0_CP" - client: "CLI" - date_time: "Tue Jun 7 14:31:39 2016" - -- number: "6" - commit: "1000000088" - user: "patrick" - line: "vty1:node0_RSP0_CP" - client: "Rollback" - date_time: "Tue Jun 7 14:29:12 2016" - -- number: "7" - commit: "1000000087" - user: "john" - line: "vty1:node0_RSP0_CP" - client: "CLI" - date_time: "Fri Jun 3 14:33:27 2016" - -- number: "8" - commit: "1000000086" - user: "admin" - line: "vty0:node0_RSP0_CP" - client: "CLI" - date_time: "Wed May 25 13:43:18 2016" - -- number: "9" - commit: "1000000085" - user: "admin" - line: "vty0:node0_RSP0_CP" - client: "CLI" - date_time: "Fri May 20 10:06:01 2016" - -- number: "10" - commit: "1000000084" - user: "admin" - line: "vty0:node0_RSP0_CP" - client: "CLI" - date_time: "Wed May 11 13:32:10 2016" - -- number: "11" - commit: "1000000083" - user: "patrick" - line: "vty0:node0_RSP0_CP" - client: "CLI" - date_time: "Tue May 10 14:18:59 2016" diff --git a/tests/cisco_xr/show_configuration_commit_list/cisco_xr_show_configuration_commit_list.yml b/tests/cisco_xr/show_configuration_commit_list/cisco_xr_show_configuration_commit_list.yml new file mode 100644 index 0000000000..82d167fb40 --- /dev/null +++ b/tests/cisco_xr/show_configuration_commit_list/cisco_xr_show_configuration_commit_list.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - number: "1" + commit: "1000000093" + user: "fred" + line: "vty0:node0_RSP0_CP" + client: "CLI" + date_time: "Tue Jun 7 14:42:19 2016" + - number: "2" + commit: "1000000092" + user: "john" + line: "vty0:node0_RSP0_CP" + client: "CLI" + date_time: "Tue Jun 7 14:40:05 2016" + - number: "3" + commit: "1000000091" + user: "john" + line: "vty0:node0_RSP0_CP" + client: "CLI" + date_time: "Tue Jun 7 14:33:52 2016" + - number: "4" + commit: "1000000090" + user: "john" + line: "vty0:node0_RSP0_CP" + client: "CLI" + date_time: "Tue Jun 7 14:33:05 2016" + - number: "5" + commit: "1000000089" + user: "fred" + line: "vty0:node0_RSP0_CP" + client: "CLI" + date_time: "Tue Jun 7 14:31:39 2016" + - number: "6" + commit: "1000000088" + user: "patrick" + line: "vty1:node0_RSP0_CP" + client: "Rollback" + date_time: "Tue Jun 7 14:29:12 2016" + - number: "7" + commit: "1000000087" + user: "john" + line: "vty1:node0_RSP0_CP" + client: "CLI" + date_time: "Fri Jun 3 14:33:27 2016" + - number: "8" + commit: "1000000086" + user: "admin" + line: "vty0:node0_RSP0_CP" + client: "CLI" + date_time: "Wed May 25 13:43:18 2016" + - number: "9" + commit: "1000000085" + user: "admin" + line: "vty0:node0_RSP0_CP" + client: "CLI" + date_time: "Fri May 20 10:06:01 2016" + - number: "10" + commit: "1000000084" + user: "admin" + line: "vty0:node0_RSP0_CP" + client: "CLI" + date_time: "Wed May 11 13:32:10 2016" + - number: "11" + commit: "1000000083" + user: "patrick" + line: "vty0:node0_RSP0_CP" + client: "CLI" + date_time: "Tue May 10 14:18:59 2016" diff --git a/tests/cisco_xr/show_controller_fabric_plane_all/cisco_xr_show_controller_fabric_plane_all.parsed b/tests/cisco_xr/show_controller_fabric_plane_all/cisco_xr_show_controller_fabric_plane_all.parsed deleted file mode 100644 index f394f9b49f..0000000000 --- a/tests/cisco_xr/show_controller_fabric_plane_all/cisco_xr_show_controller_fabric_plane_all.parsed +++ /dev/null @@ -1,45 +0,0 @@ ---- - -parsed_sample: - - -- plane_state : 'UP' - up_dn_counter : '0' - up_mcast_counter : '0' - admin_state : 'UP' - plane_id : '0' - - -- plane_state : 'UP' - up_dn_counter : '0' - up_mcast_counter : '0' - admin_state : 'UP' - plane_id : '1' - - -- plane_state : 'DN' - up_dn_counter : '0' - up_mcast_counter : '0' - admin_state : 'UP' - plane_id : '2' - - -- plane_state : 'UP' - up_dn_counter : '0' - up_mcast_counter : '0' - admin_state : 'UP' - plane_id : '3' - - -- plane_state : 'UP' - up_dn_counter : '0' - up_mcast_counter : '0' - admin_state : 'UP' - plane_id : '4' - - -- plane_state : 'UP' - up_dn_counter : '0' - up_mcast_counter : '0' - admin_state : 'UP' - plane_id : '5' diff --git a/tests/cisco_xr/show_controller_fabric_plane_all/cisco_xr_show_controller_fabric_plane_all.yml b/tests/cisco_xr/show_controller_fabric_plane_all/cisco_xr_show_controller_fabric_plane_all.yml new file mode 100644 index 0000000000..d93a358aca --- /dev/null +++ b/tests/cisco_xr/show_controller_fabric_plane_all/cisco_xr_show_controller_fabric_plane_all.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - plane_state: "UP" + up_dn_counter: "0" + up_mcast_counter: "0" + admin_state: "UP" + plane_id: "0" + - plane_state: "UP" + up_dn_counter: "0" + up_mcast_counter: "0" + admin_state: "UP" + plane_id: "1" + - plane_state: "DN" + up_dn_counter: "0" + up_mcast_counter: "0" + admin_state: "UP" + plane_id: "2" + - plane_state: "UP" + up_dn_counter: "0" + up_mcast_counter: "0" + admin_state: "UP" + plane_id: "3" + - plane_state: "UP" + up_dn_counter: "0" + up_mcast_counter: "0" + admin_state: "UP" + plane_id: "4" + - plane_state: "UP" + up_dn_counter: "0" + up_mcast_counter: "0" + admin_state: "UP" + plane_id: "5" diff --git a/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.parsed b/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.parsed deleted file mode 100644 index 2a5d30c18c..0000000000 --- a/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.parsed +++ /dev/null @@ -1,34 +0,0 @@ ---- - -parsed_sample: - - -- admin_state : 'enabled' - media_type : 'Active optical cable' - ops_state : 'Up' - lane : ['00','00','00','00'] - tx_value_dbm : ['0.1', '-0.1', '0.3', '-0.3'] - wavelength : ['n/a', 'n/a', 'n/a', 'n/a'] - rx_value_mw : ['0.6627', '0.7788', '0.7626', '0.6213'] - voltage_value : '3.447' - tx_value_mw : ['1.0205', '0.9775', '1.0617', '0.9281'] - temperature_value : '17.070' - led_state : 'Green' - interface : 'HundredGigE0/0/0/0' - rx_value_dbm : ['-1.8', '-1.1', '-1.2', '-2.1'] - laser_bias: ['5.450', '5.240', '5.240', '5.240'] - -- admin_state : 'enabled' - media_type : 'Active optical cable' - ops_state : 'Up' - lane : ['00', '00', '00', '00'] - tx_value_dbm : ['-40.0', '-40.0', '-40.0', '-40.0'] - wavelength : ['n/a', 'n/a', 'n/a', 'n/a'] - rx_value_mw : ['0.8658', '0.8796', '0.8742', '0.8572'] - voltage_value : '3.338' - tx_value_mw : ['0.0001', '0.0001', '0.0001', '0.0001'] - temperature_value : '18.000' - led_state : 'Green' - interface : 'HundredGigE0/0/0/1' - rx_value_dbm : ['-0.6', '-0.6', '-0.6', '-0.7'] - laser_bias: ['5.930', '5.940', '5.932', '5.940'] diff --git a/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.yml b/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.yml new file mode 100644 index 0000000000..93acfba983 --- /dev/null +++ b/tests/cisco_xr/show_controllers_HundredGigabitEthernet/cisco_xr_show_controllers_HundredGigabitEthernet.yml @@ -0,0 +1,86 @@ +--- +parsed_sample: + - admin_state: "enabled" + media_type: "Active optical cable" + ops_state: "Up" + lane: + - "00" + - "00" + - "00" + - "00" + tx_value_dbm: + - "0.1" + - "-0.1" + - "0.3" + - "-0.3" + wavelength: + - "n/a" + - "n/a" + - "n/a" + - "n/a" + rx_value_mw: + - "0.6627" + - "0.7788" + - "0.7626" + - "0.6213" + voltage_value: "3.447" + tx_value_mw: + - "1.0205" + - "0.9775" + - "1.0617" + - "0.9281" + temperature_value: "17.070" + led_state: "Green" + interface: "HundredGigE0/0/0/0" + rx_value_dbm: + - "-1.8" + - "-1.1" + - "-1.2" + - "-2.1" + laser_bias: + - "5.450" + - "5.240" + - "5.240" + - "5.240" + - admin_state: "enabled" + media_type: "Active optical cable" + ops_state: "Up" + lane: + - "00" + - "00" + - "00" + - "00" + tx_value_dbm: + - "-40.0" + - "-40.0" + - "-40.0" + - "-40.0" + wavelength: + - "n/a" + - "n/a" + - "n/a" + - "n/a" + rx_value_mw: + - "0.8658" + - "0.8796" + - "0.8742" + - "0.8572" + voltage_value: "3.338" + tx_value_mw: + - "0.0001" + - "0.0001" + - "0.0001" + - "0.0001" + temperature_value: "18.000" + led_state: "Green" + interface: "HundredGigE0/0/0/1" + rx_value_dbm: + - "-0.6" + - "-0.6" + - "-0.6" + - "-0.7" + laser_bias: + - "5.930" + - "5.940" + - "5.932" + - "5.940" diff --git a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.parsed b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.parsed deleted file mode 100644 index 6c3bc00740..0000000000 --- a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.parsed +++ /dev/null @@ -1,113 +0,0 @@ ---- -parsed_sample: - -- interface: FortyGigE0/1/1/0 - lane: '' - rx_alarm_high: '' - rx_alarm_low: '' - rx_value: '' - rx_warn_high: '' - rx_warn_low: '' - temperature_alarm_high: '+75.000' - temperature_alarm_low: '-5.000' - temperature_value: '+26.535' - temperature_warn_high: '+70.000' - temperature_warn_low: '+0.000' - tx_alarm_high: '' - tx_alarm_low: '' - tx_value: '' - tx_warn_high: '' - tx_warn_low: '' - voltage_alarm_high: '3.630' - voltage_alarm_low: '2.970' - voltage_value: '3.254' - voltage_warn_high: '3.465' - voltage_warn_low: '3.100' -- interface: FortyGigE0/1/1/0 - lane: '0' - rx_alarm_high: '3.39988' - rx_alarm_low: '-13.50665' - rx_value: '-2.33215' - rx_warn_high: '2.40000' - rx_warn_low: '-9.50007' - temperature_alarm_high: '' - temperature_alarm_low: '' - temperature_value: 'N/A' - temperature_warn_high: '' - temperature_warn_low: '' - tx_alarm_high: '1.99974' - tx_alarm_low: '-11.60522' - tx_value: '-2.19179' - tx_warn_high: '-1.00015' - tx_warn_low: '-7.60200' - voltage_alarm_high: '' - voltage_alarm_low: '' - voltage_value: '' - voltage_warn_high: '' - voltage_warn_low: '' -- interface: FortyGigE0/1/1/0 - lane: '1' - rx_alarm_high: '3.39988' - rx_alarm_low: '-13.50665' - rx_value: '-2.87014' - rx_warn_high: '2.40000' - rx_warn_low: '-9.50007' - temperature_alarm_high: '' - temperature_alarm_low: '' - temperature_value: 'N/A' - temperature_warn_high: '' - temperature_warn_low: '' - tx_alarm_high: '1.99974' - tx_alarm_low: '-11.60522' - tx_value: '-2.03426' - tx_warn_high: '-1.00015' - tx_warn_low: '-7.60200' - voltage_alarm_high: '' - voltage_alarm_low: '' - voltage_value: '' - voltage_warn_high: '' - voltage_warn_low: '' -- interface: FortyGigE0/1/1/0 - lane: '2' - rx_alarm_high: '3.39988' - rx_alarm_low: '-13.50665' - rx_value: '-1.58703' - rx_warn_high: '2.40000' - rx_warn_low: '-9.50007' - temperature_alarm_high: '' - temperature_alarm_low: '' - temperature_value: 'N/A' - temperature_warn_high: '' - temperature_warn_low: '' - tx_alarm_high: '1.99974' - tx_alarm_low: '-11.60522' - tx_value: '-2.03703' - tx_warn_high: '-1.00015' - tx_warn_low: '-7.60200' - voltage_alarm_high: '' - voltage_alarm_low: '' - voltage_value: '' - voltage_warn_high: '' - voltage_warn_low: '' -- interface: FortyGigE0/1/1/0 - lane: '3' - rx_alarm_high: '3.39988' - rx_alarm_low: '-13.50665' - rx_value: '-2.27312' - rx_warn_high: '2.40000' - rx_warn_low: '-9.50007' - temperature_alarm_high: '' - temperature_alarm_low: '' - temperature_value: 'N/A' - temperature_warn_high: '' - temperature_warn_low: '' - tx_alarm_high: '1.99974' - tx_alarm_low: '-11.60522' - tx_value: '-1.87755' - tx_warn_high: '-1.00015' - tx_warn_low: '-7.60200' - voltage_alarm_high: '' - voltage_alarm_low: '' - voltage_value: '' - voltage_warn_high: '' - voltage_warn_low: '' diff --git a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.yml b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.yml new file mode 100644 index 0000000000..51edd9bea2 --- /dev/null +++ b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy.yml @@ -0,0 +1,112 @@ +--- +parsed_sample: + - interface: "FortyGigE0/1/1/0" + lane: "" + rx_alarm_high: "" + rx_alarm_low: "" + rx_value: "" + rx_warn_high: "" + rx_warn_low: "" + temperature_alarm_high: "+75.000" + temperature_alarm_low: "-5.000" + temperature_value: "+26.535" + temperature_warn_high: "+70.000" + temperature_warn_low: "+0.000" + tx_alarm_high: "" + tx_alarm_low: "" + tx_value: "" + tx_warn_high: "" + tx_warn_low: "" + voltage_alarm_high: "3.630" + voltage_alarm_low: "2.970" + voltage_value: "3.254" + voltage_warn_high: "3.465" + voltage_warn_low: "3.100" + - interface: "FortyGigE0/1/1/0" + lane: "0" + rx_alarm_high: "3.39988" + rx_alarm_low: "-13.50665" + rx_value: "-2.33215" + rx_warn_high: "2.40000" + rx_warn_low: "-9.50007" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "1.99974" + tx_alarm_low: "-11.60522" + tx_value: "-2.19179" + tx_warn_high: "-1.00015" + tx_warn_low: "-7.60200" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/1/1/0" + lane: "1" + rx_alarm_high: "3.39988" + rx_alarm_low: "-13.50665" + rx_value: "-2.87014" + rx_warn_high: "2.40000" + rx_warn_low: "-9.50007" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "1.99974" + tx_alarm_low: "-11.60522" + tx_value: "-2.03426" + tx_warn_high: "-1.00015" + tx_warn_low: "-7.60200" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/1/1/0" + lane: "2" + rx_alarm_high: "3.39988" + rx_alarm_low: "-13.50665" + rx_value: "-1.58703" + rx_warn_high: "2.40000" + rx_warn_low: "-9.50007" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "1.99974" + tx_alarm_low: "-11.60522" + tx_value: "-2.03703" + tx_warn_high: "-1.00015" + tx_warn_low: "-7.60200" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" + - interface: "FortyGigE0/1/1/0" + lane: "3" + rx_alarm_high: "3.39988" + rx_alarm_low: "-13.50665" + rx_value: "-2.27312" + rx_warn_high: "2.40000" + rx_warn_low: "-9.50007" + temperature_alarm_high: "" + temperature_alarm_low: "" + temperature_value: "N/A" + temperature_warn_high: "" + temperature_warn_low: "" + tx_alarm_high: "1.99974" + tx_alarm_low: "-11.60522" + tx_value: "-1.87755" + tx_warn_high: "-1.00015" + tx_warn_low: "-7.60200" + voltage_alarm_high: "" + voltage_alarm_low: "" + voltage_value: "" + voltage_warn_high: "" + voltage_warn_low: "" diff --git a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.parsed b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.yml similarity index 99% rename from tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.parsed rename to tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.yml index 7be8d592d2..3434a11baf 100644 --- a/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.parsed +++ b/tests/cisco_xr/show_controllers_all_phy/cisco_xr_show_controllers_all_phy2.yml @@ -22,7 +22,6 @@ parsed_sample: tx_alarm_low: "-11.30182" tx_warn_high: "-1.30006" tx_warn_low: "-7.30020" - - interface: "TenGigE0/0/0/1" lane: "" temperature_value: "25.629" @@ -45,7 +44,6 @@ parsed_sample: tx_alarm_low: "-12.19683" tx_warn_high: "0.49993" tx_warn_low: "-8.19874" - - interface: "TenGigE0/0/0/2" lane: "" temperature_value: "36.656" @@ -68,7 +66,6 @@ parsed_sample: tx_alarm_low: "-5.00038" tx_warn_high: "2.99986" tx_warn_low: "-1.00015" - - interface: "TenGigE0/0/0/3" lane: "" temperature_value: "32.988" @@ -91,7 +88,6 @@ parsed_sample: tx_alarm_low: "-11.30182" tx_warn_high: "-1.30006" tx_warn_low: "-7.30020" - - interface: "TenGigE0/0/0/4" lane: "" temperature_value: "32.152" @@ -114,7 +110,6 @@ parsed_sample: tx_alarm_low: "-11.30182" tx_warn_high: "-1.30006" tx_warn_low: "-7.30020" - - interface: "TenGigE0/0/0/5" lane: "" temperature_value: "30.563" @@ -137,7 +132,6 @@ parsed_sample: tx_alarm_low: "-11.30182" tx_warn_high: "-1.30006" tx_warn_low: "-7.30020" - - interface: "TenGigE0/0/0/6" lane: "" temperature_value: "34.293" @@ -160,7 +154,6 @@ parsed_sample: tx_alarm_low: "-11.30182" tx_warn_high: "-1.30006" tx_warn_low: "-7.30020" - - interface: "TenGigE0/0/0/7" lane: "" temperature_value: "34.387" @@ -183,7 +176,6 @@ parsed_sample: tx_alarm_low: "-11.30182" tx_warn_high: "-1.30006" tx_warn_low: "-7.30020" - - interface: "TenGigE0/0/0/8" lane: "" temperature_value: "33.723" diff --git a/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.parsed b/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.parsed deleted file mode 100644 index 3c6aaf78b6..0000000000 --- a/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.parsed +++ /dev/null @@ -1,119 +0,0 @@ ---- -parsed_sample: - -- category: eg_drop-0 - fia: FIA-0 - from_xbar_mc_crc_0: '0' - from_xbar_mc_crc_1: '1' - from_xbar_mc_crc_2: '2' - from_xbar_mc_crc_3: '3' - from_xbar_mc_drp_0: '4' - from_xbar_mc_drp_1: '5' - from_xbar_mc_drp_2: '6' - from_xbar_mc_drp_3: '7' - from_xbar_uc_crc_0: '11' - from_xbar_uc_crc_1: '22' - from_xbar_uc_crc_2: '33' - from_xbar_uc_crc_3: '44' - from_xbar_uc_drp_0: '55' - from_xbar_uc_drp_1: '66' - from_xbar_uc_drp_2: '77' - from_xbar_uc_drp_3: '88' - mc_rf_crc_drp: '0' - mc_vl0_src0_buffer_full_drp: '0' - mc_vl0_src1_buffer_full_drp: '0' - mc_vl1_src0_buffer_full_drp: '0' - mc_vl1_src1_buffer_full_drp: '0' - mc_vl2_src0_buffer_full_drp: '0' - mc_vl2_src1_buffer_full_drp: '0' - mc_vl3_src0_buffer_full_drp: '0' - mc_vl3_src1_buffer_full_drp: '0' - uc_dq_pkt_len_crc_ro_seq_len_error_drp: '8' - uc_eq_pkt_len_crc_lookup_drp: '999999' -- category: eg_drop-1 - fia: FIA-1 - from_xbar_mc_crc_0: '0' - from_xbar_mc_crc_1: '0' - from_xbar_mc_crc_2: '0' - from_xbar_mc_crc_3: '0' - from_xbar_mc_drp_0: '0' - from_xbar_mc_drp_1: '0' - from_xbar_mc_drp_2: '0' - from_xbar_mc_drp_3: '0' - from_xbar_uc_crc_0: '0' - from_xbar_uc_crc_1: '0' - from_xbar_uc_crc_2: '0' - from_xbar_uc_crc_3: '0' - from_xbar_uc_drp_0: '0' - from_xbar_uc_drp_1: '0' - from_xbar_uc_drp_2: '0' - from_xbar_uc_drp_3: '0' - mc_rf_crc_drp: '0' - mc_vl0_src0_buffer_full_drp: '0' - mc_vl0_src1_buffer_full_drp: '0' - mc_vl1_src0_buffer_full_drp: '0' - mc_vl1_src1_buffer_full_drp: '0' - mc_vl2_src0_buffer_full_drp: '0' - mc_vl2_src1_buffer_full_drp: '0' - mc_vl3_src0_buffer_full_drp: '0' - mc_vl3_src1_buffer_full_drp: '0' - uc_dq_pkt_len_crc_ro_seq_len_error_drp: '0' - uc_eq_pkt_len_crc_lookup_drp: '0' -- category: eg_drop-2 - fia: FIA-2 - from_xbar_mc_crc_0: '0' - from_xbar_mc_crc_1: '0' - from_xbar_mc_crc_2: '0' - from_xbar_mc_crc_3: '0' - from_xbar_mc_drp_0: '0' - from_xbar_mc_drp_1: '0' - from_xbar_mc_drp_2: '0' - from_xbar_mc_drp_3: '0' - from_xbar_uc_crc_0: '0' - from_xbar_uc_crc_1: '0' - from_xbar_uc_crc_2: '0' - from_xbar_uc_crc_3: '0' - from_xbar_uc_drp_0: '0' - from_xbar_uc_drp_1: '0' - from_xbar_uc_drp_2: '0' - from_xbar_uc_drp_3: '0' - mc_rf_crc_drp: '0' - mc_vl0_src0_buffer_full_drp: '0' - mc_vl0_src1_buffer_full_drp: '0' - mc_vl1_src0_buffer_full_drp: '0' - mc_vl1_src1_buffer_full_drp: '0' - mc_vl2_src0_buffer_full_drp: '0' - mc_vl2_src1_buffer_full_drp: '0' - mc_vl3_src0_buffer_full_drp: '0' - mc_vl3_src1_buffer_full_drp: '0' - uc_dq_pkt_len_crc_ro_seq_len_error_drp: '0' - uc_eq_pkt_len_crc_lookup_drp: '0' -- category: eg_drop-3 - fia: FIA-3 - from_xbar_mc_crc_0: '0' - from_xbar_mc_crc_1: '0' - from_xbar_mc_crc_2: '0' - from_xbar_mc_crc_3: '0' - from_xbar_mc_drp_0: '0' - from_xbar_mc_drp_1: '0' - from_xbar_mc_drp_2: '0' - from_xbar_mc_drp_3: '0' - from_xbar_uc_crc_0: '0' - from_xbar_uc_crc_1: '0' - from_xbar_uc_crc_2: '0' - from_xbar_uc_crc_3: '0' - from_xbar_uc_drp_0: '0' - from_xbar_uc_drp_1: '0' - from_xbar_uc_drp_2: '0' - from_xbar_uc_drp_3: '0' - mc_rf_crc_drp: '0' - mc_vl0_src0_buffer_full_drp: '0' - mc_vl0_src1_buffer_full_drp: '0' - mc_vl1_src0_buffer_full_drp: '0' - mc_vl1_src1_buffer_full_drp: '0' - mc_vl2_src0_buffer_full_drp: '0' - mc_vl2_src1_buffer_full_drp: '0' - mc_vl3_src0_buffer_full_drp: '0' - mc_vl3_src1_buffer_full_drp: '0' - uc_dq_pkt_len_crc_ro_seq_len_error_drp: '0' - uc_eq_pkt_len_crc_lookup_drp: '0' diff --git a/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.yml b/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.yml new file mode 100644 index 0000000000..bf7d604608 --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_drops_egress_location/cisco_xr_show_controllers_fabric_fia_drops_egress_location.yml @@ -0,0 +1,118 @@ +--- +parsed_sample: + - category: "eg_drop-0" + fia: "FIA-0" + from_xbar_mc_crc_0: "0" + from_xbar_mc_crc_1: "1" + from_xbar_mc_crc_2: "2" + from_xbar_mc_crc_3: "3" + from_xbar_mc_drp_0: "4" + from_xbar_mc_drp_1: "5" + from_xbar_mc_drp_2: "6" + from_xbar_mc_drp_3: "7" + from_xbar_uc_crc_0: "11" + from_xbar_uc_crc_1: "22" + from_xbar_uc_crc_2: "33" + from_xbar_uc_crc_3: "44" + from_xbar_uc_drp_0: "55" + from_xbar_uc_drp_1: "66" + from_xbar_uc_drp_2: "77" + from_xbar_uc_drp_3: "88" + mc_rf_crc_drp: "0" + mc_vl0_src0_buffer_full_drp: "0" + mc_vl0_src1_buffer_full_drp: "0" + mc_vl1_src0_buffer_full_drp: "0" + mc_vl1_src1_buffer_full_drp: "0" + mc_vl2_src0_buffer_full_drp: "0" + mc_vl2_src1_buffer_full_drp: "0" + mc_vl3_src0_buffer_full_drp: "0" + mc_vl3_src1_buffer_full_drp: "0" + uc_dq_pkt_len_crc_ro_seq_len_error_drp: "8" + uc_eq_pkt_len_crc_lookup_drp: "999999" + - category: "eg_drop-1" + fia: "FIA-1" + from_xbar_mc_crc_0: "0" + from_xbar_mc_crc_1: "0" + from_xbar_mc_crc_2: "0" + from_xbar_mc_crc_3: "0" + from_xbar_mc_drp_0: "0" + from_xbar_mc_drp_1: "0" + from_xbar_mc_drp_2: "0" + from_xbar_mc_drp_3: "0" + from_xbar_uc_crc_0: "0" + from_xbar_uc_crc_1: "0" + from_xbar_uc_crc_2: "0" + from_xbar_uc_crc_3: "0" + from_xbar_uc_drp_0: "0" + from_xbar_uc_drp_1: "0" + from_xbar_uc_drp_2: "0" + from_xbar_uc_drp_3: "0" + mc_rf_crc_drp: "0" + mc_vl0_src0_buffer_full_drp: "0" + mc_vl0_src1_buffer_full_drp: "0" + mc_vl1_src0_buffer_full_drp: "0" + mc_vl1_src1_buffer_full_drp: "0" + mc_vl2_src0_buffer_full_drp: "0" + mc_vl2_src1_buffer_full_drp: "0" + mc_vl3_src0_buffer_full_drp: "0" + mc_vl3_src1_buffer_full_drp: "0" + uc_dq_pkt_len_crc_ro_seq_len_error_drp: "0" + uc_eq_pkt_len_crc_lookup_drp: "0" + - category: "eg_drop-2" + fia: "FIA-2" + from_xbar_mc_crc_0: "0" + from_xbar_mc_crc_1: "0" + from_xbar_mc_crc_2: "0" + from_xbar_mc_crc_3: "0" + from_xbar_mc_drp_0: "0" + from_xbar_mc_drp_1: "0" + from_xbar_mc_drp_2: "0" + from_xbar_mc_drp_3: "0" + from_xbar_uc_crc_0: "0" + from_xbar_uc_crc_1: "0" + from_xbar_uc_crc_2: "0" + from_xbar_uc_crc_3: "0" + from_xbar_uc_drp_0: "0" + from_xbar_uc_drp_1: "0" + from_xbar_uc_drp_2: "0" + from_xbar_uc_drp_3: "0" + mc_rf_crc_drp: "0" + mc_vl0_src0_buffer_full_drp: "0" + mc_vl0_src1_buffer_full_drp: "0" + mc_vl1_src0_buffer_full_drp: "0" + mc_vl1_src1_buffer_full_drp: "0" + mc_vl2_src0_buffer_full_drp: "0" + mc_vl2_src1_buffer_full_drp: "0" + mc_vl3_src0_buffer_full_drp: "0" + mc_vl3_src1_buffer_full_drp: "0" + uc_dq_pkt_len_crc_ro_seq_len_error_drp: "0" + uc_eq_pkt_len_crc_lookup_drp: "0" + - category: "eg_drop-3" + fia: "FIA-3" + from_xbar_mc_crc_0: "0" + from_xbar_mc_crc_1: "0" + from_xbar_mc_crc_2: "0" + from_xbar_mc_crc_3: "0" + from_xbar_mc_drp_0: "0" + from_xbar_mc_drp_1: "0" + from_xbar_mc_drp_2: "0" + from_xbar_mc_drp_3: "0" + from_xbar_uc_crc_0: "0" + from_xbar_uc_crc_1: "0" + from_xbar_uc_crc_2: "0" + from_xbar_uc_crc_3: "0" + from_xbar_uc_drp_0: "0" + from_xbar_uc_drp_1: "0" + from_xbar_uc_drp_2: "0" + from_xbar_uc_drp_3: "0" + mc_rf_crc_drp: "0" + mc_vl0_src0_buffer_full_drp: "0" + mc_vl0_src1_buffer_full_drp: "0" + mc_vl1_src0_buffer_full_drp: "0" + mc_vl1_src1_buffer_full_drp: "0" + mc_vl2_src0_buffer_full_drp: "0" + mc_vl2_src1_buffer_full_drp: "0" + mc_vl3_src0_buffer_full_drp: "0" + mc_vl3_src1_buffer_full_drp: "0" + uc_dq_pkt_len_crc_ro_seq_len_error_drp: "0" + uc_eq_pkt_len_crc_lookup_drp: "0" diff --git a/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.parsed b/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.parsed deleted file mode 100644 index 9d68f3d93e..0000000000 --- a/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.parsed +++ /dev/null @@ -1,119 +0,0 @@ ---- -parsed_sample: - -- accpt_tbl_0: '22' - accpt_tbl_1: '88' - category: in_drop-0 - ctl_len_0: '33' - ctl_len_1: '99' - fia: FIA-0 - from_spaui_drop_0: '11' - from_spaui_drop_1: '77' - header_parsing_drp: '2' - max_pkt_len_0: '55' - max_pkt_len_1: '12' - min_pkt_len_0: '66' - min_pkt_len_1: '13' - ni_from_pw_drp: '4' - pw_to_ni_drp: '3' - short_pkt_0: '44' - short_pkt_1: '0' - sp0_align_fail: '3' - sp0_bad_align: '5' - sp0_bad_code: '1' - sp0_crc_err: '12' - sp0_prot_err: '1' - sp1_align_fail: '3' - sp1_bad_align: '0' - sp1_bad_code: '0' - sp1_crc_err: '1' - sp1_prot_err: '0' - tail_drp: '4' - vqi_drp: '1' -- accpt_tbl_0: '0' - accpt_tbl_1: '0' - category: in_drop-1 - ctl_len_0: '0' - ctl_len_1: '0' - fia: FIA-1 - from_spaui_drop_0: '0' - from_spaui_drop_1: '0' - header_parsing_drp: '0' - max_pkt_len_0: '0' - max_pkt_len_1: '0' - min_pkt_len_0: '0' - min_pkt_len_1: '0' - ni_from_pw_drp: '0' - pw_to_ni_drp: '0' - short_pkt_0: '0' - short_pkt_1: '0' - sp0_align_fail: '3' - sp0_bad_align: '0' - sp0_bad_code: '5' - sp0_crc_err: '8' - sp0_prot_err: '1' - sp1_align_fail: '3' - sp1_bad_align: '0' - sp1_bad_code: '8' - sp1_crc_err: '12' - sp1_prot_err: '0' - tail_drp: '0' - vqi_drp: '0' -- accpt_tbl_0: '0' - accpt_tbl_1: '0' - category: in_drop-2 - ctl_len_0: '0' - ctl_len_1: '0' - fia: FIA-2 - from_spaui_drop_0: '0' - from_spaui_drop_1: '0' - header_parsing_drp: '0' - max_pkt_len_0: '0' - max_pkt_len_1: '0' - min_pkt_len_0: '0' - min_pkt_len_1: '0' - ni_from_pw_drp: '0' - pw_to_ni_drp: '0' - short_pkt_0: '0' - short_pkt_1: '0' - sp0_align_fail: '3' - sp0_bad_align: '0' - sp0_bad_code: '6' - sp0_crc_err: '12' - sp0_prot_err: '1' - sp1_align_fail: '3' - sp1_bad_align: '0' - sp1_bad_code: '0' - sp1_crc_err: '1' - sp1_prot_err: '0' - tail_drp: '0' - vqi_drp: '0' -- accpt_tbl_0: '0' - accpt_tbl_1: '0' - category: in_drop-3 - ctl_len_0: '0' - ctl_len_1: '0' - fia: FIA-3 - from_spaui_drop_0: '0' - from_spaui_drop_1: '0' - header_parsing_drp: '0' - max_pkt_len_0: '0' - max_pkt_len_1: '0' - min_pkt_len_0: '0' - min_pkt_len_1: '0' - ni_from_pw_drp: '0' - pw_to_ni_drp: '0' - short_pkt_0: '0' - short_pkt_1: '0' - sp0_align_fail: '3' - sp0_bad_align: '0' - sp0_bad_code: '0' - sp0_crc_err: '2' - sp0_prot_err: '0' - sp1_align_fail: '3' - sp1_bad_align: '0' - sp1_bad_code: '0' - sp1_crc_err: '3' - sp1_prot_err: '0' - tail_drp: '0' - vqi_drp: '0' diff --git a/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.yml b/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.yml new file mode 100644 index 0000000000..b87ea39738 --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_drops_ingress_location/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.yml @@ -0,0 +1,118 @@ +--- +parsed_sample: + - accpt_tbl_0: "22" + accpt_tbl_1: "88" + category: "in_drop-0" + ctl_len_0: "33" + ctl_len_1: "99" + fia: "FIA-0" + from_spaui_drop_0: "11" + from_spaui_drop_1: "77" + header_parsing_drp: "2" + max_pkt_len_0: "55" + max_pkt_len_1: "12" + min_pkt_len_0: "66" + min_pkt_len_1: "13" + ni_from_pw_drp: "4" + pw_to_ni_drp: "3" + short_pkt_0: "44" + short_pkt_1: "0" + sp0_align_fail: "3" + sp0_bad_align: "5" + sp0_bad_code: "1" + sp0_crc_err: "12" + sp0_prot_err: "1" + sp1_align_fail: "3" + sp1_bad_align: "0" + sp1_bad_code: "0" + sp1_crc_err: "1" + sp1_prot_err: "0" + tail_drp: "4" + vqi_drp: "1" + - accpt_tbl_0: "0" + accpt_tbl_1: "0" + category: "in_drop-1" + ctl_len_0: "0" + ctl_len_1: "0" + fia: "FIA-1" + from_spaui_drop_0: "0" + from_spaui_drop_1: "0" + header_parsing_drp: "0" + max_pkt_len_0: "0" + max_pkt_len_1: "0" + min_pkt_len_0: "0" + min_pkt_len_1: "0" + ni_from_pw_drp: "0" + pw_to_ni_drp: "0" + short_pkt_0: "0" + short_pkt_1: "0" + sp0_align_fail: "3" + sp0_bad_align: "0" + sp0_bad_code: "5" + sp0_crc_err: "8" + sp0_prot_err: "1" + sp1_align_fail: "3" + sp1_bad_align: "0" + sp1_bad_code: "8" + sp1_crc_err: "12" + sp1_prot_err: "0" + tail_drp: "0" + vqi_drp: "0" + - accpt_tbl_0: "0" + accpt_tbl_1: "0" + category: "in_drop-2" + ctl_len_0: "0" + ctl_len_1: "0" + fia: "FIA-2" + from_spaui_drop_0: "0" + from_spaui_drop_1: "0" + header_parsing_drp: "0" + max_pkt_len_0: "0" + max_pkt_len_1: "0" + min_pkt_len_0: "0" + min_pkt_len_1: "0" + ni_from_pw_drp: "0" + pw_to_ni_drp: "0" + short_pkt_0: "0" + short_pkt_1: "0" + sp0_align_fail: "3" + sp0_bad_align: "0" + sp0_bad_code: "6" + sp0_crc_err: "12" + sp0_prot_err: "1" + sp1_align_fail: "3" + sp1_bad_align: "0" + sp1_bad_code: "0" + sp1_crc_err: "1" + sp1_prot_err: "0" + tail_drp: "0" + vqi_drp: "0" + - accpt_tbl_0: "0" + accpt_tbl_1: "0" + category: "in_drop-3" + ctl_len_0: "0" + ctl_len_1: "0" + fia: "FIA-3" + from_spaui_drop_0: "0" + from_spaui_drop_1: "0" + header_parsing_drp: "0" + max_pkt_len_0: "0" + max_pkt_len_1: "0" + min_pkt_len_0: "0" + min_pkt_len_1: "0" + ni_from_pw_drp: "0" + pw_to_ni_drp: "0" + short_pkt_0: "0" + short_pkt_1: "0" + sp0_align_fail: "3" + sp0_bad_align: "0" + sp0_bad_code: "0" + sp0_crc_err: "2" + sp0_prot_err: "0" + sp1_align_fail: "3" + sp1_bad_align: "0" + sp1_bad_code: "0" + sp1_crc_err: "3" + sp1_prot_err: "0" + tail_drp: "0" + vqi_drp: "0" diff --git a/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.parsed b/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.parsed deleted file mode 100644 index 9643709f1d..0000000000 --- a/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.parsed +++ /dev/null @@ -1,23 +0,0 @@ ---- -parsed_sample: - -- category: eg_error-0 - fia: FIA-0 - rl_over_under_flow_cnt: '33' - to_spaui_error_0: '1' - to_spaui_error_1: '22' -- category: eg_error-1 - fia: FIA-1 - rl_over_under_flow_cnt: '1' - to_spaui_error_0: '9999' - to_spaui_error_1: '123333' -- category: eg_error-2 - fia: FIA-2 - rl_over_under_flow_cnt: '0' - to_spaui_error_0: '0' - to_spaui_error_1: '0' -- category: eg_error-3 - fia: FIA-3 - rl_over_under_flow_cnt: '0' - to_spaui_error_0: '0' - to_spaui_error_1: '0' diff --git a/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.yml b/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.yml new file mode 100644 index 0000000000..e7acd7febc --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_errors_egress_location/cisco_xr_show_controllers_fabric_fia_errors_egress_location.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - category: "eg_error-0" + fia: "FIA-0" + rl_over_under_flow_cnt: "33" + to_spaui_error_0: "1" + to_spaui_error_1: "22" + - category: "eg_error-1" + fia: "FIA-1" + rl_over_under_flow_cnt: "1" + to_spaui_error_0: "9999" + to_spaui_error_1: "123333" + - category: "eg_error-2" + fia: "FIA-2" + rl_over_under_flow_cnt: "0" + to_spaui_error_0: "0" + to_spaui_error_1: "0" + - category: "eg_error-3" + fia: "FIA-3" + rl_over_under_flow_cnt: "0" + to_spaui_error_0: "0" + to_spaui_error_1: "0" diff --git a/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.parsed b/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.parsed deleted file mode 100644 index 0b075b3e9d..0000000000 --- a/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.parsed +++ /dev/null @@ -1,75 +0,0 @@ ---- -parsed_sample: - -- ab_overflow_req_lost: '0' - category: in_error-0 - fia: FIA-0 - nb_pa_read_data_err: '12334' - ni_bad_crc32: '0' - ni_crc32_corrupt: '0' - pa_crc16_err: '0' - pa_crc32_err: '0' - pa_header_err: '0' - pa_to_tf_err: '99999' - to_xbar_mc_crc_0: '55' - to_xbar_mc_crc_1: '66' - to_xbar_mc_crc_2: '77' - to_xbar_mc_crc_3: '0' - to_xbar_uc_crc_0: '11' - to_xbar_uc_crc_1: '22' - to_xbar_uc_crc_2: '33' - to_xbar_uc_crc_3: '44' -- ab_overflow_req_lost: '0' - category: in_error-1 - fia: FIA-1 - nb_pa_read_data_err: '0' - ni_bad_crc32: '0' - ni_crc32_corrupt: '11111111' - pa_crc16_err: '0' - pa_crc32_err: '0' - pa_header_err: '0' - pa_to_tf_err: '0' - to_xbar_mc_crc_0: '0' - to_xbar_mc_crc_1: '0' - to_xbar_mc_crc_2: '0' - to_xbar_mc_crc_3: '0' - to_xbar_uc_crc_0: '0' - to_xbar_uc_crc_1: '0' - to_xbar_uc_crc_2: '0' - to_xbar_uc_crc_3: '0' -- ab_overflow_req_lost: '0' - category: in_error-2 - fia: FIA-2 - nb_pa_read_data_err: '0' - ni_bad_crc32: '0' - ni_crc32_corrupt: '0' - pa_crc16_err: '0' - pa_crc32_err: '0' - pa_header_err: '0' - pa_to_tf_err: '0' - to_xbar_mc_crc_0: '0' - to_xbar_mc_crc_1: '0' - to_xbar_mc_crc_2: '0' - to_xbar_mc_crc_3: '0' - to_xbar_uc_crc_0: '0' - to_xbar_uc_crc_1: '0' - to_xbar_uc_crc_2: '0' - to_xbar_uc_crc_3: '0' -- ab_overflow_req_lost: '0' - category: in_error-3 - fia: FIA-3 - nb_pa_read_data_err: '0' - ni_bad_crc32: '0' - ni_crc32_corrupt: '0' - pa_crc16_err: '0' - pa_crc32_err: '0' - pa_header_err: '0' - pa_to_tf_err: '0' - to_xbar_mc_crc_0: '0' - to_xbar_mc_crc_1: '0' - to_xbar_mc_crc_2: '0' - to_xbar_mc_crc_3: '0' - to_xbar_uc_crc_0: '0' - to_xbar_uc_crc_1: '0' - to_xbar_uc_crc_2: '0' - to_xbar_uc_crc_3: '0' diff --git a/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.yml b/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.yml new file mode 100644 index 0000000000..b5ff7816d4 --- /dev/null +++ b/tests/cisco_xr/show_controllers_fabric_fia_errors_ingress_location/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.yml @@ -0,0 +1,74 @@ +--- +parsed_sample: + - ab_overflow_req_lost: "0" + category: "in_error-0" + fia: "FIA-0" + nb_pa_read_data_err: "12334" + ni_bad_crc32: "0" + ni_crc32_corrupt: "0" + pa_crc16_err: "0" + pa_crc32_err: "0" + pa_header_err: "0" + pa_to_tf_err: "99999" + to_xbar_mc_crc_0: "55" + to_xbar_mc_crc_1: "66" + to_xbar_mc_crc_2: "77" + to_xbar_mc_crc_3: "0" + to_xbar_uc_crc_0: "11" + to_xbar_uc_crc_1: "22" + to_xbar_uc_crc_2: "33" + to_xbar_uc_crc_3: "44" + - ab_overflow_req_lost: "0" + category: "in_error-1" + fia: "FIA-1" + nb_pa_read_data_err: "0" + ni_bad_crc32: "0" + ni_crc32_corrupt: "11111111" + pa_crc16_err: "0" + pa_crc32_err: "0" + pa_header_err: "0" + pa_to_tf_err: "0" + to_xbar_mc_crc_0: "0" + to_xbar_mc_crc_1: "0" + to_xbar_mc_crc_2: "0" + to_xbar_mc_crc_3: "0" + to_xbar_uc_crc_0: "0" + to_xbar_uc_crc_1: "0" + to_xbar_uc_crc_2: "0" + to_xbar_uc_crc_3: "0" + - ab_overflow_req_lost: "0" + category: "in_error-2" + fia: "FIA-2" + nb_pa_read_data_err: "0" + ni_bad_crc32: "0" + ni_crc32_corrupt: "0" + pa_crc16_err: "0" + pa_crc32_err: "0" + pa_header_err: "0" + pa_to_tf_err: "0" + to_xbar_mc_crc_0: "0" + to_xbar_mc_crc_1: "0" + to_xbar_mc_crc_2: "0" + to_xbar_mc_crc_3: "0" + to_xbar_uc_crc_0: "0" + to_xbar_uc_crc_1: "0" + to_xbar_uc_crc_2: "0" + to_xbar_uc_crc_3: "0" + - ab_overflow_req_lost: "0" + category: "in_error-3" + fia: "FIA-3" + nb_pa_read_data_err: "0" + ni_bad_crc32: "0" + ni_crc32_corrupt: "0" + pa_crc16_err: "0" + pa_crc32_err: "0" + pa_header_err: "0" + pa_to_tf_err: "0" + to_xbar_mc_crc_0: "0" + to_xbar_mc_crc_1: "0" + to_xbar_mc_crc_2: "0" + to_xbar_mc_crc_3: "0" + to_xbar_uc_crc_0: "0" + to_xbar_uc_crc_1: "0" + to_xbar_uc_crc_2: "0" + to_xbar_uc_crc_3: "0" diff --git a/tests/cisco_xr/show_dhcp_ipv4_proxy_binding/cisco_xr_show_dhcp_ipv4_proxy_binding.parsed b/tests/cisco_xr/show_dhcp_ipv4_proxy_binding/cisco_xr_show_dhcp_ipv4_proxy_binding.parsed deleted file mode 100644 index 1f87fdb3a5..0000000000 --- a/tests/cisco_xr/show_dhcp_ipv4_proxy_binding/cisco_xr_show_dhcp_ipv4_proxy_binding.parsed +++ /dev/null @@ -1,66 +0,0 @@ ---- -parsed_sample: - -- mac: "2cb0.5d00.000a" - address: "10.248.159.182" - state: "BOUND" - lease_remaining: "8691" - interface: "BE1.201" - vrf: "default" - sublabel: "0x11664" - -- mac: "20d5.bf00.000b" - address: "10.48.93.39" - state: "BOUND" - lease_remaining: "10315" - interface: "BE1.1530" - vrf: "cust-a" - sublabel: "0x1853b" - -- mac: "a4b1.e900.000c" - address: "10.200.185.166" - state: "BOUND" - lease_remaining: "10617" - interface: "BE1.1502" - vrf: "default" - sublabel: "0x1cf76" - -- mac: "3091.8f00.000d" - address: "10.200.185.165" - state: "DELETING" - lease_remaining: "N/A" - interface: "BE1.1526" - vrf: "default" - sublabel: "0x10606" - -- mac: "0006.1900.000e" - address: "10.184.88.53" - state: "OFFER_SENT" - lease_remaining: "27" - interface: "BE1.1534" - vrf: "cust-b" - sublabel: "0xa98d" - -- mac: "0026.f200.000f" - address: "10.200.185.170" - state: "BOUND" - lease_remaining: "10794" - interface: "BE1.1546" - vrf: "default" - sublabel: "0x1bb34" - -- mac: "0006.1900.0010" - address: "10.184.88.24" - state: "OFFER_SENT" - lease_remaining: "54" - interface: "BE1.1535" - vrf: "cust-b" - sublabel: "0x44d0" - -- mac: "0002.9b00.0011" - address: "10.48.90.0" - state: "BOUND" - lease_remaining: "10796" - interface: "BE1.1543" - vrf: "cust-a" - sublabel: "0x1c5cc" diff --git a/tests/cisco_xr/show_dhcp_ipv4_proxy_binding/cisco_xr_show_dhcp_ipv4_proxy_binding.yml b/tests/cisco_xr/show_dhcp_ipv4_proxy_binding/cisco_xr_show_dhcp_ipv4_proxy_binding.yml new file mode 100644 index 0000000000..5d91d585f8 --- /dev/null +++ b/tests/cisco_xr/show_dhcp_ipv4_proxy_binding/cisco_xr_show_dhcp_ipv4_proxy_binding.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - mac: "2cb0.5d00.000a" + address: "10.248.159.182" + state: "BOUND" + lease_remaining: "8691" + interface: "BE1.201" + vrf: "default" + sublabel: "0x11664" + - mac: "20d5.bf00.000b" + address: "10.48.93.39" + state: "BOUND" + lease_remaining: "10315" + interface: "BE1.1530" + vrf: "cust-a" + sublabel: "0x1853b" + - mac: "a4b1.e900.000c" + address: "10.200.185.166" + state: "BOUND" + lease_remaining: "10617" + interface: "BE1.1502" + vrf: "default" + sublabel: "0x1cf76" + - mac: "3091.8f00.000d" + address: "10.200.185.165" + state: "DELETING" + lease_remaining: "N/A" + interface: "BE1.1526" + vrf: "default" + sublabel: "0x10606" + - mac: "0006.1900.000e" + address: "10.184.88.53" + state: "OFFER_SENT" + lease_remaining: "27" + interface: "BE1.1534" + vrf: "cust-b" + sublabel: "0xa98d" + - mac: "0026.f200.000f" + address: "10.200.185.170" + state: "BOUND" + lease_remaining: "10794" + interface: "BE1.1546" + vrf: "default" + sublabel: "0x1bb34" + - mac: "0006.1900.0010" + address: "10.184.88.24" + state: "OFFER_SENT" + lease_remaining: "54" + interface: "BE1.1535" + vrf: "cust-b" + sublabel: "0x44d0" + - mac: "0002.9b00.0011" + address: "10.48.90.0" + state: "BOUND" + lease_remaining: "10796" + interface: "BE1.1543" + vrf: "cust-a" + sublabel: "0x1c5cc" diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed deleted file mode 100644 index 1ee6849ed0..0000000000 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.parsed +++ /dev/null @@ -1,1219 +0,0 @@ ---- -parsed_sample: - -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '145951854' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '0' - np_section: '' - parse_drop_in_uidb_down: '13' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '84' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '75' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '1' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '1' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '13' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '3' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '1' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '2' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '3' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '4' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '5' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '6' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '7' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '0' - np_section: '' - parse_drop_in_uidb_down: '15' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '88' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '3' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '9' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '949' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '24' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '1' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '2' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '3' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '4' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '5' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '6' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '7' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.yml b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.yml new file mode 100644 index 0000000000..99f4d1f0a7 --- /dev/null +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all.yml @@ -0,0 +1,1218 @@ +--- +parsed_sample: + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "145951854" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "0" + np_section: "" + parse_drop_in_uidb_down: "13" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "84" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "75" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "1" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "1" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "13" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "3" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "1" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "2" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "3" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "4" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "5" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "6" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "7" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "0" + np_section: "" + parse_drop_in_uidb_down: "15" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "88" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "3" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "9" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "949" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "24" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "1" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "2" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "3" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "4" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "5" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "6" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "7" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed deleted file mode 100644 index 7784e6f99d..0000000000 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.parsed +++ /dev/null @@ -1,1219 +0,0 @@ ---- -parsed_sample: - -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '0' - np_section: '' - parse_drop_in_uidb_down: '14' - parse_drop_in_uidb_tcam_miss: '388' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '106' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '4329' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '3' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '34' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '148' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '1' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '384' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '3472' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '2' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '3' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '4' - mpls_ttl_one_punt_excd: '' - np: '4' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '5' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '6' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '7' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '1' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '362' - mdf_rpf_fail_drop: '146019781' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '0' - np_section: '' - parse_drop_in_uidb_down: '27' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '163' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '362' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '1' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '256' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '124' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '36' - rsv_drop_nhindex: '1' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '4' - mpls_ttl_one_punt_excd: '' - np: '1' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '2' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '4' - mpls_ttl_one_punt_excd: '' - np: '3' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '4' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '5' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '4' - mpls_ttl_one_punt_excd: '' - np: '6' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '4' - mpls_ttl_one_punt_excd: '' - np: '7' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.yml b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.yml new file mode 100644 index 0000000000..5fe0963225 --- /dev/null +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all2.yml @@ -0,0 +1,1218 @@ +--- +parsed_sample: + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "0" + np_section: "" + parse_drop_in_uidb_down: "14" + parse_drop_in_uidb_tcam_miss: "388" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "106" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "4329" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "3" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "34" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "148" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "1" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "384" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "3472" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "2" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "3" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "4" + mpls_ttl_one_punt_excd: "" + np: "4" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "5" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "6" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "7" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "1" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "362" + mdf_rpf_fail_drop: "146019781" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "0" + np_section: "" + parse_drop_in_uidb_down: "27" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "163" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "362" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "1" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "256" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "124" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "36" + rsv_drop_nhindex: "1" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "4" + mpls_ttl_one_punt_excd: "" + np: "1" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "2" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "4" + mpls_ttl_one_punt_excd: "" + np: "3" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "4" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "5" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "4" + mpls_ttl_one_punt_excd: "" + np: "6" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "4" + mpls_ttl_one_punt_excd: "" + np: "7" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed deleted file mode 100644 index 674ad019bc..0000000000 --- a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.parsed +++ /dev/null @@ -1,2283 +0,0 @@ ---- -parsed_sample: - -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '' - mpls_ttl_one_punt_excd: '' - np: '0' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '1226' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '10' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '393' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '' - mpls_ttl_one_punt_excd: '' - np: '1' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '' - mpls_ttl_one_punt_excd: '' - np: '2' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '1' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '412' - mdf_rpf_fail_drop: '141' - modify_punt_reason_miss_drop: '' - mpls_ttl_one_punt_excd: '' - np: '3' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '85' - parse_egr_inj_pkt_typ_unknown: '21' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '412' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '779946' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '6' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '393' - unknown_l2_on_l3_discard: '1228075' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '544' - location: 0/0/CPU0 - mdf_punt_police_drop: '71950' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '' - mpls_ttl_one_punt_excd: '' - np: '4' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '1' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '12' - parse_egr_inj_pkt_typ_unknown: '51' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '2439' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '68967' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '' - mpls_ttl_one_punt_excd: '' - np: '5' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '' - mpls_ttl_one_punt_excd: '' - np: '6' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/0/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '' - mpls_ttl_one_punt_excd: '' - np: '7' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '1' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/1/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '0' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '1307' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '372' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '12075529' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '806532' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/1/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '1' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/3/CPU0 - mdf_punt_police_drop: '789' - mdf_rpf_fail_drop: '457084055' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '0' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '13' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '789' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '96' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '47987' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '7' - rsv_drop_mpls_leaf_no_match: '30' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '620' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '1238' - location: 0/3/CPU0 - mdf_punt_police_drop: '1290' - mdf_rpf_fail_drop: '254044' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '1' - np_section: '' - parse_drop_in_uidb_down: '481' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '580' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '52' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '1' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '130' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/3/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '11823176' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '2' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '3' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '2' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '766' - location: 0/3/CPU0 - mdf_punt_police_drop: '766' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '3' - np_section: '' - parse_drop_in_uidb_down: '1' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '1' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '2' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/4/CPU0 - mdf_punt_police_drop: '2715' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '0' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '669' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '2715' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '24' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '32' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '429' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/4/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '1' - np_section: '' - parse_drop_in_uidb_down: '4' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '1' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '5029260' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '173477' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '27550' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/4/CPU0 - mdf_punt_police_drop: '678' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '2' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '678' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '38' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/4/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '3' - np_section: '' - parse_drop_in_uidb_down: '34' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '27' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '52' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '68324' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '52637' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/5/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '0' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '20877' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/5/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '1' - np_section: '' - parse_drop_in_uidb_down: '48' - parse_drop_in_uidb_tcam_miss: '1061' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '394' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '1' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/5/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '2' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '13947' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/5/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '2' - mpls_ttl_one_punt_excd: '' - np: '3' - np_section: '' - parse_drop_in_uidb_down: '46' - parse_drop_in_uidb_tcam_miss: '1068' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '1160' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '7' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '0' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '1' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '4' - mpls_ttl_one_punt_excd: '' - np: '2' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '3' - np_section: '' - parse_drop_in_uidb_down: '3' - parse_drop_in_uidb_tcam_miss: '34' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '9' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '783084' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '110' - location: 0/7/CPU0 - mdf_punt_police_drop: '2471' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '4' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '712' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '2083' - parse_drop_ipv4_length_error: '1' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '2361' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '5' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '4' - mpls_ttl_one_punt_excd: '' - np: '5' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '4' - mpls_ttl_one_punt_excd: '' - np: '6' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' -- bfd_neighbor_drop: '' - bfd_remote_punt_disc_0_drop: '' - drop_frm_crc_err_ilkn0: '' - drop_frm_crc_err_ilkn1: '' - drop_frm_crc_err_ilkn2: '' - drop_frm_crc_err_sgmii0: '' - drop_frm_crc_err_sgmii1: '' - drop_frm_crc_err_sgmii2: '' - drop_frm_crc_err_sgmii3: '' - drop_frm_crc_err_xaui4: '' - drop_frm_crc_err_xaui5: '' - drop_frm_crc_err_xaui6: '' - drop_frm_frm_err_ilkn0: '' - drop_frm_frm_err_ilkn1: '' - drop_frm_frm_err_ilkn2: '' - drop_frm_frm_err_sgmii0: '' - drop_frm_frm_err_sgmii1: '' - drop_frm_frm_err_sgmii2: '' - drop_frm_frm_err_sgmii3: '' - drop_frm_frm_err_xaui4: '' - drop_frm_frm_err_xaui5: '' - drop_frm_frm_err_xaui6: '' - drop_frm_runt: '' - ipv4_bfd_excd: '' - ipv4_frag_needed_punt_excd: '' - ipv4_ttl_error_excd: '' - location: 0/7/CPU0 - mdf_punt_police_drop: '' - mdf_rpf_fail_drop: '' - modify_punt_reason_miss_drop: '3' - mpls_ttl_one_punt_excd: '' - np: '7' - np_section: '' - parse_drop_in_uidb_down: '' - parse_drop_in_uidb_tcam_miss: '' - parse_drop_ipv4_checksum_error: '' - parse_drop_ipv4_disabled: '' - parse_drop_ipv4_length_error: '' - parse_egr_inj_pkt_typ_unknown: '' - parse_fast_discard_low_priority_drop_0: '' - parse_fast_discard_low_priority_drop_0_monitor: '' - parse_fast_discard_low_priority_drop_1: '' - parse_fast_discard_low_priority_drop_1_monitor: '' - parse_l3_tagged_punt_drop: '' - parse_open_network_service_key_action_unknown: '' - parse_unknown_nph_type_drop: '' - punt_adj_excd: '' - punt_ifib_ospf_opt_excd: '' - punt_ipv4_adj_null_rte_excd: '' - punt_no_match_excd: '' - punt_statistics_excd: '' - rsv_drop_egr_lag_no_match: '' - rsv_drop_egr_uidb_down: '' - rsv_drop_egr_uidb_no_match: '' - rsv_drop_ifib_ttl_check: '' - rsv_drop_in_l3_not_mymac: '' - rsv_drop_ing_bfd: '' - rsv_drop_ipm4_egr_filter_drop: '' - rsv_drop_ipm4_egr_rpf_fail_drop: '' - rsv_drop_ipm4_egr_ttl_drop: '' - rsv_drop_ipm4_no_olist: '' - rsv_drop_ipm4_no_olist_rep: '' - rsv_drop_ipv4_drop_null_rte: '' - rsv_drop_ipv4_nrldi_not_local: '' - rsv_drop_ipv4_rxadj_drop: '' - rsv_drop_ipv4_txadj_no_match: '' - rsv_drop_mpls_leaf_no_match: '' - rsv_drop_mpls_leaf_no_match_monitor: '' - rsv_drop_mpls_nrldi_no_match: '' - rsv_drop_mpls_nrldi_not_local: '' - rsv_drop_mpls_rxadj_drop: '' - rsv_drop_mpls_txadj_no_match: '' - rsv_drop_nhindex: '' - rsv_egr_lag_not_local_drop_cnt: '' - rsv_mldp_egr_drop: '' - unknown_l2_on_l3_discard: '' diff --git a/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.yml b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.yml new file mode 100644 index 0000000000..d330e057fd --- /dev/null +++ b/tests/cisco_xr/show_drops_np_all/cisco_xr_show_drops_np_all3.yml @@ -0,0 +1,2282 @@ +--- +parsed_sample: + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "" + mpls_ttl_one_punt_excd: "" + np: "0" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "1226" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "10" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "393" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "" + mpls_ttl_one_punt_excd: "" + np: "1" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "" + mpls_ttl_one_punt_excd: "" + np: "2" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "1" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "412" + mdf_rpf_fail_drop: "141" + modify_punt_reason_miss_drop: "" + mpls_ttl_one_punt_excd: "" + np: "3" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "85" + parse_egr_inj_pkt_typ_unknown: "21" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "412" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "779946" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "6" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "393" + unknown_l2_on_l3_discard: "1228075" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "544" + location: "0/0/CPU0" + mdf_punt_police_drop: "71950" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "" + mpls_ttl_one_punt_excd: "" + np: "4" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "1" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "12" + parse_egr_inj_pkt_typ_unknown: "51" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "2439" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "68967" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "" + mpls_ttl_one_punt_excd: "" + np: "5" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "" + mpls_ttl_one_punt_excd: "" + np: "6" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/0/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "" + mpls_ttl_one_punt_excd: "" + np: "7" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "1" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/1/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "0" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "1307" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "372" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "12075529" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "806532" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/1/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "1" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/3/CPU0" + mdf_punt_police_drop: "789" + mdf_rpf_fail_drop: "457084055" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "0" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "13" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "789" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "96" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "47987" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "7" + rsv_drop_mpls_leaf_no_match: "30" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "620" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "1238" + location: "0/3/CPU0" + mdf_punt_police_drop: "1290" + mdf_rpf_fail_drop: "254044" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "1" + np_section: "" + parse_drop_in_uidb_down: "481" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "580" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "52" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "1" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "130" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/3/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "11823176" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "2" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "3" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "2" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "766" + location: "0/3/CPU0" + mdf_punt_police_drop: "766" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "3" + np_section: "" + parse_drop_in_uidb_down: "1" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "1" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "2" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/4/CPU0" + mdf_punt_police_drop: "2715" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "0" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "669" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "2715" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "24" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "32" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "429" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/4/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "1" + np_section: "" + parse_drop_in_uidb_down: "4" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "1" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "5029260" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "173477" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "27550" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/4/CPU0" + mdf_punt_police_drop: "678" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "2" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "678" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "38" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/4/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "3" + np_section: "" + parse_drop_in_uidb_down: "34" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "27" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "52" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "68324" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "52637" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/5/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "0" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "20877" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/5/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "1" + np_section: "" + parse_drop_in_uidb_down: "48" + parse_drop_in_uidb_tcam_miss: "1061" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "394" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "1" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/5/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "2" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "13947" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/5/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "2" + mpls_ttl_one_punt_excd: "" + np: "3" + np_section: "" + parse_drop_in_uidb_down: "46" + parse_drop_in_uidb_tcam_miss: "1068" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "1160" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "7" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "0" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "1" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "4" + mpls_ttl_one_punt_excd: "" + np: "2" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "3" + np_section: "" + parse_drop_in_uidb_down: "3" + parse_drop_in_uidb_tcam_miss: "34" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "9" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "783084" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "110" + location: "0/7/CPU0" + mdf_punt_police_drop: "2471" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "4" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "712" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "2083" + parse_drop_ipv4_length_error: "1" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "2361" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "5" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "4" + mpls_ttl_one_punt_excd: "" + np: "5" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "4" + mpls_ttl_one_punt_excd: "" + np: "6" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" + - bfd_neighbor_drop: "" + bfd_remote_punt_disc_0_drop: "" + drop_frm_crc_err_ilkn0: "" + drop_frm_crc_err_ilkn1: "" + drop_frm_crc_err_ilkn2: "" + drop_frm_crc_err_sgmii0: "" + drop_frm_crc_err_sgmii1: "" + drop_frm_crc_err_sgmii2: "" + drop_frm_crc_err_sgmii3: "" + drop_frm_crc_err_xaui4: "" + drop_frm_crc_err_xaui5: "" + drop_frm_crc_err_xaui6: "" + drop_frm_frm_err_ilkn0: "" + drop_frm_frm_err_ilkn1: "" + drop_frm_frm_err_ilkn2: "" + drop_frm_frm_err_sgmii0: "" + drop_frm_frm_err_sgmii1: "" + drop_frm_frm_err_sgmii2: "" + drop_frm_frm_err_sgmii3: "" + drop_frm_frm_err_xaui4: "" + drop_frm_frm_err_xaui5: "" + drop_frm_frm_err_xaui6: "" + drop_frm_runt: "" + ipv4_bfd_excd: "" + ipv4_frag_needed_punt_excd: "" + ipv4_ttl_error_excd: "" + location: "0/7/CPU0" + mdf_punt_police_drop: "" + mdf_rpf_fail_drop: "" + modify_punt_reason_miss_drop: "3" + mpls_ttl_one_punt_excd: "" + np: "7" + np_section: "" + parse_drop_in_uidb_down: "" + parse_drop_in_uidb_tcam_miss: "" + parse_drop_ipv4_checksum_error: "" + parse_drop_ipv4_disabled: "" + parse_drop_ipv4_length_error: "" + parse_egr_inj_pkt_typ_unknown: "" + parse_fast_discard_low_priority_drop_0: "" + parse_fast_discard_low_priority_drop_0_monitor: "" + parse_fast_discard_low_priority_drop_1: "" + parse_fast_discard_low_priority_drop_1_monitor: "" + parse_l3_tagged_punt_drop: "" + parse_open_network_service_key_action_unknown: "" + parse_unknown_nph_type_drop: "" + punt_adj_excd: "" + punt_ifib_ospf_opt_excd: "" + punt_ipv4_adj_null_rte_excd: "" + punt_no_match_excd: "" + punt_statistics_excd: "" + rsv_drop_egr_lag_no_match: "" + rsv_drop_egr_uidb_down: "" + rsv_drop_egr_uidb_no_match: "" + rsv_drop_ifib_ttl_check: "" + rsv_drop_in_l3_not_mymac: "" + rsv_drop_ing_bfd: "" + rsv_drop_ipm4_egr_filter_drop: "" + rsv_drop_ipm4_egr_rpf_fail_drop: "" + rsv_drop_ipm4_egr_ttl_drop: "" + rsv_drop_ipm4_no_olist: "" + rsv_drop_ipm4_no_olist_rep: "" + rsv_drop_ipv4_drop_null_rte: "" + rsv_drop_ipv4_nrldi_not_local: "" + rsv_drop_ipv4_rxadj_drop: "" + rsv_drop_ipv4_txadj_no_match: "" + rsv_drop_mpls_leaf_no_match: "" + rsv_drop_mpls_leaf_no_match_monitor: "" + rsv_drop_mpls_nrldi_no_match: "" + rsv_drop_mpls_nrldi_not_local: "" + rsv_drop_mpls_rxadj_drop: "" + rsv_drop_mpls_txadj_no_match: "" + rsv_drop_nhindex: "" + rsv_egr_lag_not_local_drop_cnt: "" + rsv_mldp_egr_drop: "" + unknown_l2_on_l3_discard: "" diff --git a/tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.parsed b/tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.yml similarity index 100% rename from tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.parsed rename to tests/cisco_xr/show_hsrp/cisco_xr_show_hsrp.yml diff --git a/tests/cisco_xr/show_interface_brief/cisco_xr_show_interface_brief.parsed b/tests/cisco_xr/show_interface_brief/cisco_xr_show_interface_brief.parsed deleted file mode 100644 index 6ed9e06b11..0000000000 --- a/tests/cisco_xr/show_interface_brief/cisco_xr_show_interface_brief.parsed +++ /dev/null @@ -1,615 +0,0 @@ ---- -parsed_sample: - -- encap_type: Loopback - int_bw: '0' - interface: Lo5 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: Loopback - int_bw: '0' - interface: Lo10 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: Loopback - int_bw: '0' - interface: Lo20 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: Loopback - int_bw: '0' - interface: Lo21 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: Loopback - int_bw: '0' - interface: Lo30 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: 'Null' - int_bw: '0' - interface: Nu0 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt300 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt301 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt302 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt303 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt304 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt305 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt306 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt307 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt404 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt405 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt406 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt407 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt408 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt409 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt410 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt411 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt412 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt413 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt414 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt415 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt416 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt417 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt418 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: TUNNEL - int_bw: '0' - interface: tt419 - intf_state: up - linep_state: up - mtu: '1500' -- encap_type: ARPA - int_bw: '1000000' - interface: Mg0/RSP0/CPU0/0 - intf_state: up - linep_state: up - mtu: '1514' -- encap_type: ARPA - int_bw: '0' - interface: Mg0/RSP0/CPU0/1 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '1000000' - interface: Mg0/RSP1/CPU0/0 - intf_state: up - linep_state: up - mtu: '1514' -- encap_type: ARPA - int_bw: '0' - interface: Mg0/RSP1/CPU0/1 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/0/0/0 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/0/0/1 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/0/1/0 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/0/1/1 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/1/0/0 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/1/0/1 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/1/1/0 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/1/1/1 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/2/0/0 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/2/0/1 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/2/1/0 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/2/1/1 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/0 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/1 - intf_state: up - linep_state: up - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/2 - intf_state: up - linep_state: up - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/3 - intf_state: up - linep_state: up - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/4 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/5 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/6 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/7 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/8 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/9 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/10 - intf_state: admin-down - linep_state: admin-down - mtu: '9216' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/11 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/12 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/13 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/14 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/15 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/16 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/17 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/18 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/19 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/20 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/21 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/22 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/3/0/23 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/0 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/1 - intf_state: up - linep_state: up - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/2 - intf_state: up - linep_state: up - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/3 - intf_state: up - linep_state: up - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/4 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/5 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/6 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/7 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/8 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/9 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/10 - intf_state: admin-down - linep_state: admin-down - mtu: '9216' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/11 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/12 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/13 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/14 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/15 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/16 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/17 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/18 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/19 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/20 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/21 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/22 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '10000000' - interface: Te0/4/0/23 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/6/0/0 - intf_state: up - linep_state: up - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/6/0/1 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/6/1/0 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/6/1/1 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/7/0/0 - intf_state: down - linep_state: down - mtu: '9216' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/7/0/1 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/7/1/0 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' -- encap_type: ARPA - int_bw: '40000000' - interface: Fo0/7/1/1 - intf_state: admin-down - linep_state: admin-down - mtu: '1514' diff --git a/tests/cisco_xr/show_interface_brief/cisco_xr_show_interface_brief.yml b/tests/cisco_xr/show_interface_brief/cisco_xr_show_interface_brief.yml new file mode 100644 index 0000000000..70100ba5bc --- /dev/null +++ b/tests/cisco_xr/show_interface_brief/cisco_xr_show_interface_brief.yml @@ -0,0 +1,614 @@ +--- +parsed_sample: + - encap_type: "Loopback" + int_bw: "0" + interface: "Lo5" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "Loopback" + int_bw: "0" + interface: "Lo10" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "Loopback" + int_bw: "0" + interface: "Lo20" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "Loopback" + int_bw: "0" + interface: "Lo21" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "Loopback" + int_bw: "0" + interface: "Lo30" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "Null" + int_bw: "0" + interface: "Nu0" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt300" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt301" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt302" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt303" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt304" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt305" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt306" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt307" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt404" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt405" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt406" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt407" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt408" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt409" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt410" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt411" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt412" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt413" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt414" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt415" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt416" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt417" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt418" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "TUNNEL" + int_bw: "0" + interface: "tt419" + intf_state: "up" + linep_state: "up" + mtu: "1500" + - encap_type: "ARPA" + int_bw: "1000000" + interface: "Mg0/RSP0/CPU0/0" + intf_state: "up" + linep_state: "up" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "0" + interface: "Mg0/RSP0/CPU0/1" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "1000000" + interface: "Mg0/RSP1/CPU0/0" + intf_state: "up" + linep_state: "up" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "0" + interface: "Mg0/RSP1/CPU0/1" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/0/0/0" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/0/0/1" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/0/1/0" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/0/1/1" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/1/0/0" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/1/0/1" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/1/1/0" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/1/1/1" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/2/0/0" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/2/0/1" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/2/1/0" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/2/1/1" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/0" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/1" + intf_state: "up" + linep_state: "up" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/2" + intf_state: "up" + linep_state: "up" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/3" + intf_state: "up" + linep_state: "up" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/4" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/5" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/6" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/7" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/8" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/9" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/10" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/11" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/12" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/13" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/14" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/15" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/16" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/17" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/18" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/19" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/20" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/21" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/22" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/3/0/23" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/0" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/1" + intf_state: "up" + linep_state: "up" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/2" + intf_state: "up" + linep_state: "up" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/3" + intf_state: "up" + linep_state: "up" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/4" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/5" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/6" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/7" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/8" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/9" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/10" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/11" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/12" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/13" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/14" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/15" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/16" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/17" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/18" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/19" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/20" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/21" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/22" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "10000000" + interface: "Te0/4/0/23" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/6/0/0" + intf_state: "up" + linep_state: "up" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/6/0/1" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/6/1/0" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/6/1/1" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/7/0/0" + intf_state: "down" + linep_state: "down" + mtu: "9216" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/7/0/1" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/7/1/0" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" + - encap_type: "ARPA" + int_bw: "40000000" + interface: "Fo0/7/1/1" + intf_state: "admin-down" + linep_state: "admin-down" + mtu: "1514" diff --git a/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed b/tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.yml similarity index 100% rename from tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.parsed rename to tests/cisco_xr/show_interfaces/cisco_xr_show_interfaces.yml diff --git a/tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.parsed b/tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.parsed deleted file mode 100644 index 531b9e8454..0000000000 --- a/tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.parsed +++ /dev/null @@ -1,51 +0,0 @@ ---- - -parsed_sample: - - -- state_pfxrcd : 'Idle' - neigh_as : '64924' - local_as : '64200' - out_queue : '0' - msg_sent : '64731' - bgp_neigh : '10.10.17.161' - up_down : '00:00:00' - in_queue : '0' - router_id : '30.67.35.78' - msg_rcvd : '36190' - - -- state_pfxrcd : 'Active' - neigh_as : '64727' - local_as : '64200' - out_queue : '0' - msg_sent : '70941' - bgp_neigh : '10.10.128.240' - up_down : '2d14h' - in_queue : '0' - router_id : '30.67.35.78' - msg_rcvd : '68750' - - -- state_pfxrcd : '82' - neigh_as : '64727' - local_as : '64200' - out_queue : '0' - msg_sent : '76220' - bgp_neigh : '10.10.132.240' - up_down : '7w2d' - in_queue : '0' - router_id : '30.67.35.78' - msg_rcvd : '74112' - - -- state_pfxrcd : '82' - neigh_as : '64727' - local_as : '64200' - out_queue : '0' - msg_sent : '74575' - bgp_neigh : '10.10.140.240' - up_down : '4d10h' - in_queue : '0' - router_id : '30.67.35.78' - msg_rcvd : '72363' diff --git a/tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.yml b/tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.yml new file mode 100644 index 0000000000..03850173c5 --- /dev/null +++ b/tests/cisco_xr/show_ip_bgp_summary/cisco_xr_show_ip_bgp_summary.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - state_pfxrcd: "Idle" + neigh_as: "64924" + local_as: "64200" + out_queue: "0" + msg_sent: "64731" + bgp_neigh: "10.10.17.161" + up_down: "00:00:00" + in_queue: "0" + router_id: "30.67.35.78" + msg_rcvd: "36190" + - state_pfxrcd: "Active" + neigh_as: "64727" + local_as: "64200" + out_queue: "0" + msg_sent: "70941" + bgp_neigh: "10.10.128.240" + up_down: "2d14h" + in_queue: "0" + router_id: "30.67.35.78" + msg_rcvd: "68750" + - state_pfxrcd: "82" + neigh_as: "64727" + local_as: "64200" + out_queue: "0" + msg_sent: "76220" + bgp_neigh: "10.10.132.240" + up_down: "7w2d" + in_queue: "0" + router_id: "30.67.35.78" + msg_rcvd: "74112" + - state_pfxrcd: "82" + neigh_as: "64727" + local_as: "64200" + out_queue: "0" + msg_sent: "74575" + bgp_neigh: "10.10.140.240" + up_down: "4d10h" + in_queue: "0" + router_id: "30.67.35.78" + msg_rcvd: "72363" diff --git a/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.parsed b/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.parsed deleted file mode 100644 index a7db26ca78..0000000000 --- a/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.parsed +++ /dev/null @@ -1,32 +0,0 @@ ---- -parsed_sample: - - intf: 'GigabitEthernet0/0/1/18' - ipaddr: 'unassigned' - status: 'Shutdown' - proto: 'Down' - vrf: 'default' - - intf: 'GigabitEthernet0/0/1/19' - ipaddr: 'unassigned' - status: 'Up' - proto: 'Up' - vrf: 'default' - - intf: 'GigabitEthernet0/0/1/19.2003' - ipaddr: '10.79.255.0' - status: 'Up' - proto: 'Up' - vrf: 'WAG:OOB' - - intf: 'TenGigE0/0/2/0' - ipaddr: 'unassigned' - status: 'Up' - proto: 'Up' - vrf: 'default' - - intf: 'TenGigE0/0/2/0.2396' - ipaddr: '10.79.255.96' - status: 'Up' - proto: 'Up' - vrf: 'WAG:123' - - intf: 'TenGigE0/0/2/0.2397' - ipaddr: '10.79.255.80' - status: 'Up' - proto: 'Up' - vrf: 'WAG:ABC' diff --git a/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.yml b/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.yml new file mode 100644 index 0000000000..280394ef58 --- /dev/null +++ b/tests/cisco_xr/show_ip_interface_brief/cisco_xr_show_ip_interface_brief.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - intf: "GigabitEthernet0/0/1/18" + ipaddr: "unassigned" + status: "Shutdown" + proto: "Down" + vrf: "default" + - intf: "GigabitEthernet0/0/1/19" + ipaddr: "unassigned" + status: "Up" + proto: "Up" + vrf: "default" + - intf: "GigabitEthernet0/0/1/19.2003" + ipaddr: "10.79.255.0" + status: "Up" + proto: "Up" + vrf: "WAG:OOB" + - intf: "TenGigE0/0/2/0" + ipaddr: "unassigned" + status: "Up" + proto: "Up" + vrf: "default" + - intf: "TenGigE0/0/2/0.2396" + ipaddr: "10.79.255.96" + status: "Up" + proto: "Up" + vrf: "WAG:123" + - intf: "TenGigE0/0/2/0.2397" + ipaddr: "10.79.255.80" + status: "Up" + proto: "Up" + vrf: "WAG:ABC" diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed deleted file mode 100644 index 92b489832f..0000000000 --- a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.parsed +++ /dev/null @@ -1,343 +0,0 @@ ---- -parsed_sample: - -- distance: '1' - interface: '' - mask: '0' - metric: '0' - network: 0.0.0.0 - next_hop: 172.16.1.1 - protocol: S* - type: via - uptime: '04:43:54' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '0' - network: 1.1.1.1 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:27' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '9164' - network: 1.1.1.1 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:27' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '0' - network: 1.1.1.3 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:21' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '6564' - network: 1.1.1.3 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:21' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '0' - network: 1.1.2.1 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '9163' - network: 1.1.2.1 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '0' - network: 1.1.2.3 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '6563' - network: 1.1.2.3 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '0' - network: 1.1.2.5 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '639' - network: 1.1.2.5 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '' - interface: Loopback0 - mask: '32' - metric: '' - network: 1.1.2.6 - next_hop: connected - protocol: L - type: directly - uptime: '04:43:54' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.0.0 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '9163' - network: 10.1.0.0 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.0.8 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '6563' - network: 10.1.0.8 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.1.0 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '11762' - network: 10.1.1.0 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '' - interface: GigabitEthernet0/0/0/1 - mask: '30' - metric: '' - network: 10.1.1.4 - next_hop: connected - protocol: C - type: directly - uptime: '04:43:54' - vrf: '' -- distance: '' - interface: GigabitEthernet0/0/0/1 - mask: '32' - metric: '' - network: 10.1.1.6 - next_hop: connected - protocol: L - type: directly - uptime: '04:43:54' - vrf: '' -- distance: '' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '' - network: 10.1.1.8 - next_hop: connected - protocol: C - type: directly - uptime: '04:43:54' - vrf: '' -- distance: '' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '' - network: 10.1.1.10 - next_hop: connected - protocol: L - type: directly - uptime: '04:43:54' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.1.12 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '9162' - network: 10.1.1.12 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.1.20 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:41' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '6562' - network: 10.1.1.20 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:41' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.1.24 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '709' - network: 10.1.1.24 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: '04:43:40' - vrf: '' -- distance: '' - interface: GigabitEthernet0/0/0/2 - mask: '30' - metric: '' - network: 10.1.1.28 - next_hop: connected - protocol: C - type: directly - uptime: '04:43:54' - vrf: '' -- distance: '' - interface: GigabitEthernet0/0/0/2 - mask: '32' - metric: '' - network: 10.1.1.30 - next_hop: connected - protocol: L - type: directly - uptime: '04:43:54' - vrf: '' -- distance: '' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '' - network: 10.1.1.32 - next_hop: connected - protocol: C - type: directly - uptime: '04:43:54' - vrf: '' -- distance: '' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '' - network: 10.1.1.33 - next_hop: connected - protocol: L - type: directly - uptime: '04:43:54' - vrf: '' -- distance: '' - interface: MgmtEth0/0/CPU0/0 - mask: '24' - metric: '' - network: 172.16.1.0 - next_hop: connected - protocol: C - type: directly - uptime: '04:43:54' - vrf: '' -- distance: '' - interface: MgmtEth0/0/CPU0/0 - mask: '32' - metric: '' - network: 172.16.1.120 - next_hop: connected - protocol: L - type: directly - uptime: '04:43:54' - vrf: '' diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.yml b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.yml new file mode 100644 index 0000000000..f7e8b3b8f3 --- /dev/null +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.yml @@ -0,0 +1,342 @@ +--- +parsed_sample: + - vrf: "" + protocol: "S*" + network: "0.0.0.0" + mask: "0" + distance: "1" + metric: "0" + type: "via" + next_hop: "172.16.1.1" + interface: "" + uptime: "04:43:54" + - vrf: "" + protocol: "O" + network: "1.1.1.1" + mask: "32" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:27" + - vrf: "" + protocol: "O" + network: "1.1.1.1" + mask: "32" + distance: "110" + metric: "9164" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:27" + - vrf: "" + protocol: "O" + network: "1.1.1.3" + mask: "32" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:21" + - vrf: "" + protocol: "O" + network: "1.1.1.3" + mask: "32" + distance: "110" + metric: "6564" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:21" + - vrf: "" + protocol: "O" + network: "1.1.2.1" + mask: "32" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "1.1.2.1" + mask: "32" + distance: "110" + metric: "9163" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "1.1.2.3" + mask: "32" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "1.1.2.3" + mask: "32" + distance: "110" + metric: "6563" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "1.1.2.5" + mask: "32" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "1.1.2.5" + mask: "32" + distance: "110" + metric: "639" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:40" + - vrf: "" + protocol: "L" + network: "1.1.2.6" + mask: "32" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "Loopback0" + uptime: "04:43:54" + - vrf: "" + protocol: "O" + network: "10.1.0.0" + mask: "30" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "10.1.0.0" + mask: "30" + distance: "110" + metric: "9163" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "10.1.0.8" + mask: "30" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "10.1.0.8" + mask: "30" + distance: "110" + metric: "6563" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "10.1.1.0" + mask: "30" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "10.1.1.0" + mask: "30" + distance: "110" + metric: "11762" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:40" + - vrf: "" + protocol: "C" + network: "10.1.1.4" + mask: "30" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "GigabitEthernet0/0/0/1" + uptime: "04:43:54" + - vrf: "" + protocol: "L" + network: "10.1.1.6" + mask: "32" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "GigabitEthernet0/0/0/1" + uptime: "04:43:54" + - vrf: "" + protocol: "C" + network: "10.1.1.8" + mask: "30" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:54" + - vrf: "" + protocol: "L" + network: "10.1.1.10" + mask: "32" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:54" + - vrf: "" + protocol: "O" + network: "10.1.1.12" + mask: "30" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "10.1.1.12" + mask: "30" + distance: "110" + metric: "9162" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "10.1.1.20" + mask: "30" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:41" + - vrf: "" + protocol: "O" + network: "10.1.1.20" + mask: "30" + distance: "110" + metric: "6562" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:41" + - vrf: "" + protocol: "O" + network: "10.1.1.24" + mask: "30" + distance: "110" + metric: "0" + type: "via" + next_hop: "10.1.1.9" + interface: "GigabitEthernet0/0/0/0" + uptime: "04:43:40" + - vrf: "" + protocol: "O" + network: "10.1.1.24" + mask: "30" + distance: "110" + metric: "709" + type: "via" + next_hop: "10.1.1.34" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:40" + - vrf: "" + protocol: "C" + network: "10.1.1.28" + mask: "30" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "GigabitEthernet0/0/0/2" + uptime: "04:43:54" + - vrf: "" + protocol: "L" + network: "10.1.1.30" + mask: "32" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "GigabitEthernet0/0/0/2" + uptime: "04:43:54" + - vrf: "" + protocol: "C" + network: "10.1.1.32" + mask: "30" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:54" + - vrf: "" + protocol: "L" + network: "10.1.1.33" + mask: "32" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "GigabitEthernet0/0/0/3" + uptime: "04:43:54" + - vrf: "" + protocol: "C" + network: "172.16.1.0" + mask: "24" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "MgmtEth0/0/CPU0/0" + uptime: "04:43:54" + - vrf: "" + protocol: "L" + network: "172.16.1.120" + mask: "32" + distance: "" + metric: "" + type: "directly" + next_hop: "connected" + interface: "MgmtEth0/0/CPU0/0" + uptime: "04:43:54" diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed deleted file mode 100644 index e36d868145..0000000000 --- a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.parsed +++ /dev/null @@ -1,73 +0,0 @@ ---- -parsed_sample: - -- distance: '1' - interface: '' - mask: '0' - metric: '0' - network: '0.0.0.0' - next_hop: '10.72.0.1' - protocol: 'S*' - type: 'via' - uptime: '4d01h' - vrf: '' -- distance: '20' - interface: '' - mask: '16' - metric: '0' - network: '10.39.0.0' - next_hop: '192.168.50.1' - protocol: 'B' - type: 'via' - uptime: '1w4d' - vrf: '' -- distance: '170' - interface: 'TenGigE0/0/0/1.5' - mask: '16' - metric: '153600' - network: '10.14.0.0' - next_hop: '192.168.150.130' - protocol: 'D EX' - type: 'via' - uptime: '14:56:35' - vrf: '' -- distance: '170' - interface: 'TenGigE0/0/0/2.5' - mask: '16' - metric: '153600' - network: '10.14.0.0' - next_hop: '192.168.150.134' - protocol: 'D EX' - type: 'via' - uptime: '6d21h' - vrf: '' -- distance: '170' - interface: 'TenGigE0/0/0/3.5' - mask: '16' - metric: '153600' - network: '10.14.0.0' - next_hop: '192.168.150.138' - protocol: 'D EX' - type: 'via' - uptime: '6d21h' - vrf: '' -- distance: '170' - interface: 'TenGigE0/0/0/4.5' - mask: '16' - metric: '153600' - network: '10.14.0.0' - next_hop: '192.168.150.142' - protocol: 'D EX' - type: 'via' - uptime: '6d21h' - vrf: '' -- distance: '20' - interface: '' - mask: '16' - metric: '0' - network: '10.15.0.0' - next_hop: '192.168.250.130' - protocol: 'B' - type: 'via' - uptime: '1y03w' - vrf: '' diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.yml b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.yml new file mode 100644 index 0000000000..47d6821c89 --- /dev/null +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.yml @@ -0,0 +1,72 @@ +--- +parsed_sample: + - vrf: "" + protocol: "S*" + network: "0.0.0.0" + mask: "0" + distance: "1" + metric: "0" + type: "via" + next_hop: "10.72.0.1" + interface: "" + uptime: "4d01h" + - vrf: "" + protocol: "B" + network: "10.39.0.0" + mask: "16" + distance: "20" + metric: "0" + type: "via" + next_hop: "192.168.50.1" + interface: "" + uptime: "1w4d" + - vrf: "" + protocol: "D EX" + network: "10.14.0.0" + mask: "16" + distance: "170" + metric: "153600" + type: "via" + next_hop: "192.168.150.130" + interface: "TenGigE0/0/0/1.5" + uptime: "14:56:35" + - vrf: "" + protocol: "D EX" + network: "10.14.0.0" + mask: "16" + distance: "170" + metric: "153600" + type: "via" + next_hop: "192.168.150.134" + interface: "TenGigE0/0/0/2.5" + uptime: "6d21h" + - vrf: "" + protocol: "D EX" + network: "10.14.0.0" + mask: "16" + distance: "170" + metric: "153600" + type: "via" + next_hop: "192.168.150.138" + interface: "TenGigE0/0/0/3.5" + uptime: "6d21h" + - vrf: "" + protocol: "D EX" + network: "10.14.0.0" + mask: "16" + distance: "170" + metric: "153600" + type: "via" + next_hop: "192.168.150.142" + interface: "TenGigE0/0/0/4.5" + uptime: "6d21h" + - vrf: "" + protocol: "B" + network: "10.15.0.0" + mask: "16" + distance: "20" + metric: "0" + type: "via" + next_hop: "192.168.250.130" + interface: "" + uptime: "1y03w" diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.parsed b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.parsed deleted file mode 100644 index 8782d87f19..0000000000 --- a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.parsed +++ /dev/null @@ -1,494 +0,0 @@ ---- -parsed_sample: - -- distance: '1' - interface: '' - mask: '0' - metric: '0' - network: 0.0.0.0 - next_hop: 172.16.1.1 - protocol: S* - type: via - uptime: 04:43:54 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '0' - network: 1.1.1.1 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:27 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '9164' - network: 1.1.1.1 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:27 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '0' - network: 1.1.1.3 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:21 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '6564' - network: 1.1.1.3 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:21 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '0' - network: 1.1.2.1 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '9163' - network: 1.1.2.1 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '0' - network: 1.1.2.3 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '6563' - network: 1.1.2.3 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '0' - network: 1.1.2.5 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '639' - network: 1.1.2.5 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '' - interface: Loopback0 - mask: '32' - metric: '' - network: 1.1.2.6 - next_hop: connected - protocol: L - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.0.0 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '9163' - network: 10.1.0.0 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.0.8 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '6563' - network: 10.1.0.8 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.1.0 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '11762' - network: 10.1.1.0 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '' - interface: GigabitEthernet0/0/0/1 - mask: '30' - metric: '' - network: 10.1.1.4 - next_hop: connected - protocol: C - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '' - interface: GigabitEthernet0/0/0/1 - mask: '32' - metric: '' - network: 10.1.1.6 - next_hop: connected - protocol: L - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '' - network: 10.1.1.8 - next_hop: connected - protocol: C - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '' - network: 10.1.1.10 - next_hop: connected - protocol: L - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.1.12 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '9162' - network: 10.1.1.12 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.1.20 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:41 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '6562' - network: 10.1.1.20 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:41 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '30' - metric: '0' - network: 10.1.1.24 - next_hop: 10.1.1.9 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '110' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '709' - network: 10.1.1.24 - next_hop: 10.1.1.34 - protocol: O - type: via - uptime: 04:43:40 - vrf: example555 -- distance: '' - interface: GigabitEthernet0/0/0/2 - mask: '30' - metric: '' - network: 10.1.1.28 - next_hop: connected - protocol: C - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '' - interface: GigabitEthernet0/0/0/2 - mask: '32' - metric: '' - network: 10.1.1.30 - next_hop: connected - protocol: L - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '' - interface: GigabitEthernet0/0/0/3 - mask: '30' - metric: '' - network: 10.1.1.32 - next_hop: connected - protocol: C - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '' - interface: GigabitEthernet0/0/0/3 - mask: '32' - metric: '' - network: 10.1.1.33 - next_hop: connected - protocol: L - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '' - interface: MgmtEth0/0/CPU0/0 - mask: '24' - metric: '' - network: 172.16.1.0 - next_hop: connected - protocol: C - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '' - interface: MgmtEth0/0/CPU0/0 - mask: '32' - metric: '' - network: 172.16.1.120 - next_hop: connected - protocol: L - type: directly - uptime: 04:43:54 - vrf: example555 -- distance: '' - interface: Loopback44 - mask: '32' - metric: '' - network: 10.1.0.10 - next_hop: connected - protocol: L - type: directly - uptime: 1w1d - vrf: VRF10 -- distance: '200' - interface: vrf default - mask: '32' - metric: '0' - network: 10.1.0.15 - next_hop: 10.1.0.15 - protocol: B - type: via - uptime: 3w1d - vrf: VRF10 -- distance: '200' - interface: vrf default - mask: '32' - metric: '0' - network: 10.1.0.20 - next_hop: 10.1.0.20 - protocol: B - type: via - uptime: 3w1d - vrf: VRF10 -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '29' - metric: '110' - network: 10.7.1.0 - next_hop: 10.2.2.3 - protocol: O - type: via - uptime: 1w5d - vrf: ThirdExample -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '29' - metric: '110' - network: 10.7.1.0 - next_hop: 10.2.2.4 - protocol: O - type: via - uptime: 1w5d - vrf: ThirdExample -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '24' - metric: '110' - network: 10.2.0.0 - next_hop: 10.2.2.3 - protocol: O - type: via - uptime: 1w5d - vrf: ThirdExample -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '24' - metric: '110' - network: 10.2.0.0 - next_hop: 10.2.2.4 - protocol: O - type: via - uptime: 1w5d - vrf: ThirdExample -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '29' - metric: '110' - network: 10.2.1.0 - next_hop: 10.2.2.3 - protocol: O - type: via - uptime: 1w5d - vrf: ThirdExample -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '29' - metric: '110' - network: 10.2.1.0 - next_hop: 10.2.2.4 - protocol: O - type: via - uptime: 1w5d - vrf: ThirdExample -- distance: '' - interface: GigabitEthernet0/0/0/0 - mask: '29' - metric: '' - network: 10.2.2.0 - next_hop: connected - protocol: C - type: directly - uptime: 1w5d - vrf: ThirdExample -- distance: '' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '' - network: 10.2.2.1 - next_hop: connected - protocol: L - type: directly - uptime: 1w5d - vrf: ThirdExample -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '110' - network: 10.2.10.2 - next_hop: 10.2.2.3 - protocol: O E1 - type: via - uptime: 1w5d - vrf: ThirdExample -- distance: '110' - interface: GigabitEthernet0/0/0/0 - mask: '32' - metric: '110' - network: 10.2.10.2 - next_hop: 10.2.2.4 - protocol: O E1 - type: via - uptime: 1w5d - vrf: ThirdExample -- distance: '200' - interface: vrf default - mask: '24' - metric: '110' - network: 10.3.0.0 - next_hop: 10.1.0.25 - protocol: B - type: via - uptime: 1w5d - vrf: ThirdExample -- distance: '200' - interface: vrf default - mask: '29' - metric: '0' - network: 10.3.1.0 - next_hop: 10.1.0.25 - protocol: B - type: via - uptime: 1w5d - vrf: ThirdExample - \ No newline at end of file diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.yml b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.yml new file mode 100644 index 0000000000..81f729ab61 --- /dev/null +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.yml @@ -0,0 +1,492 @@ +--- +parsed_sample: + - distance: "1" + interface: "" + mask: "0" + metric: "0" + network: "0.0.0.0" + next_hop: "172.16.1.1" + protocol: "S*" + type: "via" + uptime: "04:43:54" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "32" + metric: "0" + network: "1.1.1.1" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:27" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "32" + metric: "9164" + network: "1.1.1.1" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:27" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "32" + metric: "0" + network: "1.1.1.3" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:21" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "32" + metric: "6564" + network: "1.1.1.3" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:21" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "32" + metric: "0" + network: "1.1.2.1" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "32" + metric: "9163" + network: "1.1.2.1" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "32" + metric: "0" + network: "1.1.2.3" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "32" + metric: "6563" + network: "1.1.2.3" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "32" + metric: "0" + network: "1.1.2.5" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "32" + metric: "639" + network: "1.1.2.5" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "" + interface: "Loopback0" + mask: "32" + metric: "" + network: "1.1.2.6" + next_hop: "connected" + protocol: "L" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "30" + metric: "0" + network: "10.1.0.0" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "30" + metric: "9163" + network: "10.1.0.0" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "30" + metric: "0" + network: "10.1.0.8" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "30" + metric: "6563" + network: "10.1.0.8" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "30" + metric: "0" + network: "10.1.1.0" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "30" + metric: "11762" + network: "10.1.1.0" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "" + interface: "GigabitEthernet0/0/0/1" + mask: "30" + metric: "" + network: "10.1.1.4" + next_hop: "connected" + protocol: "C" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "" + interface: "GigabitEthernet0/0/0/1" + mask: "32" + metric: "" + network: "10.1.1.6" + next_hop: "connected" + protocol: "L" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "" + interface: "GigabitEthernet0/0/0/0" + mask: "30" + metric: "" + network: "10.1.1.8" + next_hop: "connected" + protocol: "C" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "" + interface: "GigabitEthernet0/0/0/0" + mask: "32" + metric: "" + network: "10.1.1.10" + next_hop: "connected" + protocol: "L" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "30" + metric: "0" + network: "10.1.1.12" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "30" + metric: "9162" + network: "10.1.1.12" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "30" + metric: "0" + network: "10.1.1.20" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:41" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "30" + metric: "6562" + network: "10.1.1.20" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:41" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "30" + metric: "0" + network: "10.1.1.24" + next_hop: "10.1.1.9" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + mask: "30" + metric: "709" + network: "10.1.1.24" + next_hop: "10.1.1.34" + protocol: "O" + type: "via" + uptime: "04:43:40" + vrf: "example555" + - distance: "" + interface: "GigabitEthernet0/0/0/2" + mask: "30" + metric: "" + network: "10.1.1.28" + next_hop: "connected" + protocol: "C" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "" + interface: "GigabitEthernet0/0/0/2" + mask: "32" + metric: "" + network: "10.1.1.30" + next_hop: "connected" + protocol: "L" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "" + interface: "GigabitEthernet0/0/0/3" + mask: "30" + metric: "" + network: "10.1.1.32" + next_hop: "connected" + protocol: "C" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "" + interface: "GigabitEthernet0/0/0/3" + mask: "32" + metric: "" + network: "10.1.1.33" + next_hop: "connected" + protocol: "L" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "" + interface: "MgmtEth0/0/CPU0/0" + mask: "24" + metric: "" + network: "172.16.1.0" + next_hop: "connected" + protocol: "C" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "" + interface: "MgmtEth0/0/CPU0/0" + mask: "32" + metric: "" + network: "172.16.1.120" + next_hop: "connected" + protocol: "L" + type: "directly" + uptime: "04:43:54" + vrf: "example555" + - distance: "" + interface: "Loopback44" + mask: "32" + metric: "" + network: "10.1.0.10" + next_hop: "connected" + protocol: "L" + type: "directly" + uptime: "1w1d" + vrf: "VRF10" + - distance: "200" + interface: "vrf default" + mask: "32" + metric: "0" + network: "10.1.0.15" + next_hop: "10.1.0.15" + protocol: "B" + type: "via" + uptime: "3w1d" + vrf: "VRF10" + - distance: "200" + interface: "vrf default" + mask: "32" + metric: "0" + network: "10.1.0.20" + next_hop: "10.1.0.20" + protocol: "B" + type: "via" + uptime: "3w1d" + vrf: "VRF10" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "29" + metric: "110" + network: "10.7.1.0" + next_hop: "10.2.2.3" + protocol: "O" + type: "via" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "29" + metric: "110" + network: "10.7.1.0" + next_hop: "10.2.2.4" + protocol: "O" + type: "via" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "24" + metric: "110" + network: "10.2.0.0" + next_hop: "10.2.2.3" + protocol: "O" + type: "via" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "24" + metric: "110" + network: "10.2.0.0" + next_hop: "10.2.2.4" + protocol: "O" + type: "via" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "29" + metric: "110" + network: "10.2.1.0" + next_hop: "10.2.2.3" + protocol: "O" + type: "via" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "29" + metric: "110" + network: "10.2.1.0" + next_hop: "10.2.2.4" + protocol: "O" + type: "via" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "" + interface: "GigabitEthernet0/0/0/0" + mask: "29" + metric: "" + network: "10.2.2.0" + next_hop: "connected" + protocol: "C" + type: "directly" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "" + interface: "GigabitEthernet0/0/0/0" + mask: "32" + metric: "" + network: "10.2.2.1" + next_hop: "connected" + protocol: "L" + type: "directly" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "32" + metric: "110" + network: "10.2.10.2" + next_hop: "10.2.2.3" + protocol: "O E1" + type: "via" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + mask: "32" + metric: "110" + network: "10.2.10.2" + next_hop: "10.2.2.4" + protocol: "O E1" + type: "via" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "200" + interface: "vrf default" + mask: "24" + metric: "110" + network: "10.3.0.0" + next_hop: "10.1.0.25" + protocol: "B" + type: "via" + uptime: "1w5d" + vrf: "ThirdExample" + - distance: "200" + interface: "vrf default" + mask: "29" + metric: "0" + network: "10.3.1.0" + next_hop: "10.1.0.25" + protocol: "B" + type: "via" + uptime: "1w5d" + vrf: "ThirdExample" diff --git a/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.parsed b/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.parsed deleted file mode 100644 index 2b46fd6590..0000000000 --- a/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.parsed +++ /dev/null @@ -1,75 +0,0 @@ ---- -parsed_sample: - -- address: 2001:db8:ffff::12:2 - age: '110' - interface: Gi0/0/0/0 - location: 0/0/CPU0 - mac: 0c07.a11a.b801 - state: REACH -- address: fe80::e07:a1ff:fe1a:b801 - age: '99' - interface: Gi0/0/0/0 - location: 0/0/CPU0 - mac: 0c07.a11a.b801 - state: REACH -- address: Mcast adjacency - age: '-' - interface: Gi0/0/0/0 - location: 0/0/CPU0 - mac: 0000.0000.0000 - state: REACH -- address: Mcast adjacency - age: '-' - interface: Gi0/0/0/1 - location: 0/0/CPU0 - mac: 0000.0000.0000 - state: REACH -- address: Mcast adjacency - age: '-' - interface: Gi0/0/0/2 - location: 0/0/CPU0 - mac: 0000.0000.0000 - state: REACH -- address: 2001:db8:1000:beef::1 - age: '105' - interface: Gi0/0/0/3 - location: 0/0/CPU0 - mac: ca01.0ff1.0008 - state: REACH -- address: 2001:db8:1000:beef::2 - age: '108' - interface: Gi0/0/0/3 - location: 0/0/CPU0 - mac: ca02.0fff.0008 - state: REACH -- address: 2001:db8:1000:beef::3 - age: '105' - interface: Gi0/0/0/3 - location: 0/0/CPU0 - mac: ca03.100d.0008 - state: REACH -- address: fe80::c801:fff:fef1:8 - age: '89' - interface: Gi0/0/0/3 - location: 0/0/CPU0 - mac: ca01.0ff1.0008 - state: REACH -- address: fe80::c802:fff:feff:8 - age: '105' - interface: Gi0/0/0/3 - location: 0/0/CPU0 - mac: ca02.0fff.0008 - state: REACH -- address: fe80::c803:10ff:fe0d:8 - age: '91' - interface: Gi0/0/0/3 - location: 0/0/CPU0 - mac: ca03.100d.0008 - state: REACH -- address: Mcast adjacency - age: '-' - interface: Gi0/0/0/3 - location: 0/0/CPU0 - mac: 0000.0000.0000 - state: REACH diff --git a/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.yml b/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.yml new file mode 100644 index 0000000000..c70329f318 --- /dev/null +++ b/tests/cisco_xr/show_ipv6_neighbors/cisco_xr_show_ipv6_neighbors.yml @@ -0,0 +1,74 @@ +--- +parsed_sample: + - address: "2001:db8:ffff::12:2" + age: "110" + interface: "Gi0/0/0/0" + location: "0/0/CPU0" + mac: "0c07.a11a.b801" + state: "REACH" + - address: "fe80::e07:a1ff:fe1a:b801" + age: "99" + interface: "Gi0/0/0/0" + location: "0/0/CPU0" + mac: "0c07.a11a.b801" + state: "REACH" + - address: "Mcast adjacency" + age: "-" + interface: "Gi0/0/0/0" + location: "0/0/CPU0" + mac: "0000.0000.0000" + state: "REACH" + - address: "Mcast adjacency" + age: "-" + interface: "Gi0/0/0/1" + location: "0/0/CPU0" + mac: "0000.0000.0000" + state: "REACH" + - address: "Mcast adjacency" + age: "-" + interface: "Gi0/0/0/2" + location: "0/0/CPU0" + mac: "0000.0000.0000" + state: "REACH" + - address: "2001:db8:1000:beef::1" + age: "105" + interface: "Gi0/0/0/3" + location: "0/0/CPU0" + mac: "ca01.0ff1.0008" + state: "REACH" + - address: "2001:db8:1000:beef::2" + age: "108" + interface: "Gi0/0/0/3" + location: "0/0/CPU0" + mac: "ca02.0fff.0008" + state: "REACH" + - address: "2001:db8:1000:beef::3" + age: "105" + interface: "Gi0/0/0/3" + location: "0/0/CPU0" + mac: "ca03.100d.0008" + state: "REACH" + - address: "fe80::c801:fff:fef1:8" + age: "89" + interface: "Gi0/0/0/3" + location: "0/0/CPU0" + mac: "ca01.0ff1.0008" + state: "REACH" + - address: "fe80::c802:fff:feff:8" + age: "105" + interface: "Gi0/0/0/3" + location: "0/0/CPU0" + mac: "ca02.0fff.0008" + state: "REACH" + - address: "fe80::c803:10ff:fe0d:8" + age: "91" + interface: "Gi0/0/0/3" + location: "0/0/CPU0" + mac: "ca03.100d.0008" + state: "REACH" + - address: "Mcast adjacency" + age: "-" + interface: "Gi0/0/0/3" + location: "0/0/CPU0" + mac: "0000.0000.0000" + state: "REACH" diff --git a/tests/cisco_xr/show_isis_neighbors/cisco_xr_show_isis_neighbors.parsed b/tests/cisco_xr/show_isis_neighbors/cisco_xr_show_isis_neighbors.parsed deleted file mode 100644 index 7db592bc98..0000000000 --- a/tests/cisco_xr/show_isis_neighbors/cisco_xr_show_isis_neighbors.parsed +++ /dev/null @@ -1,34 +0,0 @@ ---- -parsed_sample: - -- system_id: 'CSR2' - interface: 'Gi0/0/0/1' - snpa: '5000.0002.0001' - state: 'Up' - hold_time: '23' - type: 'L1L2' - ietf_nsf: 'Capable' - -- system_id: 'vMX1' - interface: 'Gi0/0/0/1' - snpa: '0005.8671.9202' - state: 'Up' - hold_time: '18' - type: 'L1L2' - ietf_nsf: 'Capable' - -- system_id: 'vMX1' - interface: 'Gi0/0/0/3' - snpa: '*PtoP*' - state: 'Up' - hold_time: '25' - type: 'L1L2' - ietf_nsf: 'Capable' - -- system_id: 'vEOS4' - interface: 'Gi0/0/0/2' - snpa: '5000.0003.3766' - state: 'Up' - hold_time: '8' - type: 'L2' - ietf_nsf: 'Unable' diff --git a/tests/cisco_xr/show_isis_neighbors/cisco_xr_show_isis_neighbors.yml b/tests/cisco_xr/show_isis_neighbors/cisco_xr_show_isis_neighbors.yml new file mode 100644 index 0000000000..7baa8ba591 --- /dev/null +++ b/tests/cisco_xr/show_isis_neighbors/cisco_xr_show_isis_neighbors.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - system_id: "CSR2" + interface: "Gi0/0/0/1" + snpa: "5000.0002.0001" + state: "Up" + hold_time: "23" + type: "L1L2" + ietf_nsf: "Capable" + - system_id: "vMX1" + interface: "Gi0/0/0/1" + snpa: "0005.8671.9202" + state: "Up" + hold_time: "18" + type: "L1L2" + ietf_nsf: "Capable" + - system_id: "vMX1" + interface: "Gi0/0/0/3" + snpa: "*PtoP*" + state: "Up" + hold_time: "25" + type: "L1L2" + ietf_nsf: "Capable" + - system_id: "vEOS4" + interface: "Gi0/0/0/2" + snpa: "5000.0003.3766" + state: "Up" + hold_time: "8" + type: "L2" + ietf_nsf: "Unable" diff --git a/tests/cisco_xr/show_lldp_neighbors/cisco_xr_show_lldp_neighbors.parsed b/tests/cisco_xr/show_lldp_neighbors/cisco_xr_show_lldp_neighbors.parsed deleted file mode 100644 index f9387dba2b..0000000000 --- a/tests/cisco_xr/show_lldp_neighbors/cisco_xr_show_lldp_neighbors.parsed +++ /dev/null @@ -1,9 +0,0 @@ ---- -parsed_sample: - -- local_interface: Gi0/0/0/0 - neighbor: ASR-OCC-P1 - neighbor_interface: Gi0/0/0/2 -- local_interface: Gi0/0/0/3 - neighbor: ASR-LON-P1 - neighbor_interface: Gi0/0/0/2 diff --git a/tests/cisco_xr/show_lldp_neighbors/cisco_xr_show_lldp_neighbors.yml b/tests/cisco_xr/show_lldp_neighbors/cisco_xr_show_lldp_neighbors.yml new file mode 100644 index 0000000000..472fd8e6b2 --- /dev/null +++ b/tests/cisco_xr/show_lldp_neighbors/cisco_xr_show_lldp_neighbors.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - local_interface: "Gi0/0/0/0" + neighbor: "ASR-OCC-P1" + neighbor_interface: "Gi0/0/0/2" + - local_interface: "Gi0/0/0/3" + neighbor: "ASR-LON-P1" + neighbor_interface: "Gi0/0/0/2" diff --git a/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.parsed b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.parsed deleted file mode 100644 index 59954d2ff1..0000000000 --- a/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.parsed +++ /dev/null @@ -1,867 +0,0 @@ ---- -parsed_sample: - -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: unconfigured-default - location: '0/7/CPU0' - policer: '100' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '10000' - def_rate: '10000' - dropped: '0' - flowtype: L2TPv2-fragment - location: '0/7/CPU0' - policer: '185' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: Fragment - location: '0/7/CPU0' - policer: '101' - tos_value: '01234567' - type: Static -- accepted: '111663351' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: OSPF-mc-known - location: '0/7/CPU0' - policer: '102' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: OSPF-mc-default - location: '0/7/CPU0' - policer: '103' - tos_value: '01234567' - type: Static -- accepted: '3618098' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: OSPF-uc-known - location: '0/7/CPU0' - policer: '104' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: OSPF-uc-default - location: '0/7/CPU0' - policer: '105' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: ISIS-known - location: '0/7/CPU0' - policer: '143' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: ISIS-default - location: '0/7/CPU0' - policer: '144' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '9600' - def_rate: '9600' - dropped: '0' - flowtype: BFD-known - location: '0/7/CPU0' - policer: '150' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '45340' - def_rate: '9600' - dropped: '0' - flowtype: BFD-default - location: '0/7/CPU0' - policer: '160' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '11520' - def_rate: '11520' - dropped: '0' - flowtype: BFD-MP-known - location: '0/7/CPU0' - policer: '178' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '128' - def_rate: '128' - dropped: '0' - flowtype: BFD-MP-0 - location: '0/7/CPU0' - policer: '179' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '11520' - def_rate: '11520' - dropped: '0' - flowtype: BFD-BLB-known - location: '0/7/CPU0' - policer: '183' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '128' - def_rate: '128' - dropped: '0' - flowtype: BFD-BLB-0 - location: '0/7/CPU0' - policer: '184' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '512' - def_rate: '512' - dropped: '0' - flowtype: BFD-SP-0 - location: '0/7/CPU0' - policer: '182' - tos_value: '01234567' - type: Static -- accepted: '1203286' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: BGP-known - location: '0/7/CPU0' - policer: '106' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: BGP-cfg-peer - location: '0/7/CPU0' - policer: '107' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: BGP-default - location: '0/7/CPU0' - policer: '108' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: PIM-mcast-default - location: '0/7/CPU0' - policer: '109' - tos_value: '01234567' - type: Static -- accepted: '26046391' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: PIM-mcast-known - location: '0/7/CPU0' - policer: '176' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: PIM-ucast - location: '0/7/CPU0' - policer: '110' - tos_value: '01234567' - type: Static -- accepted: '7944769' - cur_rate: '3000' - def_rate: '3000' - dropped: '0' - flowtype: IGMP - location: '0/7/CPU0' - policer: '111' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: ICMP-local - location: '0/7/CPU0' - policer: '112' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: ICMP-app - location: '0/7/CPU0' - policer: '152' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: ICMP-control - location: '0/7/CPU0' - policer: '140' - tos_value: '01234567' - type: Static -- accepted: '11' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: ICMP-default - location: '0/7/CPU0' - policer: '153' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: ICMP-app-default - location: '0/7/CPU0' - policer: '190' - tos_value: '01234567' - type: Static -- accepted: '1258061' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: LDP-TCP-known - location: '0/7/CPU0' - policer: '113' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: LDP-TCP-cfg-peer - location: '0/7/CPU0' - policer: '114' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: LDP-TCP-default - location: '0/7/CPU0' - policer: '115' - tos_value: '01234567' - type: Static -- accepted: '7282839' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: LDP-UDP - location: '0/7/CPU0' - policer: '116' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: All-routers - location: '0/7/CPU0' - policer: '117' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: LMP-TCP-known - location: '0/7/CPU0' - policer: '168' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: LMP-TCP-cfg-peer - location: '0/7/CPU0' - policer: '169' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: LMP-TCP-default - location: '0/7/CPU0' - policer: '170' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: LMP-UDP - location: '0/7/CPU0' - policer: '171' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: RSVP-UDP - location: '0/7/CPU0' - policer: '118' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '500' - def_rate: '500' - dropped: '0' - flowtype: RSVP-default - location: '0/7/CPU0' - policer: '154' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '7000' - def_rate: '7000' - dropped: '0' - flowtype: RSVP-known - location: '0/7/CPU0' - policer: '177' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: IKE - location: '0/7/CPU0' - policer: '119' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: IPSEC-known - location: '0/7/CPU0' - policer: '120' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '100' - def_rate: '100' - dropped: '0' - flowtype: IPSEC-default - location: '0/7/CPU0' - policer: '121' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '10000' - def_rate: '10000' - dropped: '0' - flowtype: IPSEC-fragment - location: '0/7/CPU0' - policer: '194' - tos_value: '01234567' - type: Static -- accepted: '24233712' - cur_rate: '300' - def_rate: '300' - dropped: '0' - flowtype: MSDP-known - location: '0/7/CPU0' - policer: '122' - tos_value: '01234567' - type: Static -- accepted: '4' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: MSDP-cfg-peer - location: '0/7/CPU0' - policer: '123' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '100' - def_rate: '100' - dropped: '0' - flowtype: MSDP-default - location: '0/7/CPU0' - policer: '124' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '300' - def_rate: '300' - dropped: '0' - flowtype: SNMP - location: '0/7/CPU0' - policer: '125' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '300' - def_rate: '300' - dropped: '0' - flowtype: SSH-known - location: '0/7/CPU0' - policer: '127' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: SSH-default - location: '0/7/CPU0' - policer: '128' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: HTTP-known - location: '0/7/CPU0' - policer: '129' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: HTTP-default - location: '0/7/CPU0' - policer: '130' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: SHTTP-known - location: '0/7/CPU0' - policer: '161' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: IFIB_FT_SHTTP_DEFAULT - location: '0/7/CPU0' - policer: '162' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: TELNET-known - location: '0/7/CPU0' - policer: '131' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: TELNET-default - location: '0/7/CPU0' - policer: '132' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: CSS-known - location: '0/7/CPU0' - policer: '133' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: CSS-default - location: '0/7/CPU0' - policer: '134' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: RSH-known - location: '0/7/CPU0' - policer: '135' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: RSH-default - location: '0/7/CPU0' - policer: '136' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: UDP-known - location: '0/7/CPU0' - policer: '137' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: UDP-listen - location: '0/7/CPU0' - policer: '138' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: UDP-cfg-peer - location: '0/7/CPU0' - policer: '155' - tos_value: '01234567' - type: Static -- accepted: '1' - cur_rate: '3500' - def_rate: '3500' - dropped: '0' - flowtype: UDP-default - location: '0/7/CPU0' - policer: '163' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: TCP-known - location: '0/7/CPU0' - policer: '156' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: TCP-listen - location: '0/7/CPU0' - policer: '157' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: TCP-cfg-peer - location: '0/7/CPU0' - policer: '158' - tos_value: '01234567' - type: Static -- accepted: '123' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: TCP-default - location: '0/7/CPU0' - policer: '164' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: Mcast-known - location: '0/7/CPU0' - policer: '159' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: Mcast-default - location: '0/7/CPU0' - policer: '165' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: Raw-listen - location: '0/7/CPU0' - policer: '166' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: Raw-default - location: '0/7/CPU0' - policer: '167' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: Ip-Sla - location: '0/7/CPU0' - policer: '139' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: EIGRP - location: '0/7/CPU0' - policer: '145' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: RIP - location: '0/7/CPU0' - policer: '146' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: L2TPv3 - location: '0/7/CPU0' - policer: '141' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: PCEP - location: '0/7/CPU0' - policer: '142' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '10000' - def_rate: '10000' - dropped: '0' - flowtype: GRE - location: '0/7/CPU0' - policer: '147' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: VRRP - location: '0/7/CPU0' - policer: '148' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: HSRP - location: '0/7/CPU0' - policer: '149' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '250' - def_rate: '250' - dropped: '0' - flowtype: MPLS-oam - location: '0/7/CPU0' - policer: '151' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: L2TPv2-default - location: '0/7/CPU0' - policer: '172' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: L2TPv2-known - location: '0/7/CPU0' - policer: '181' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: DNS - location: '0/7/CPU0' - policer: '173' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: RADIUS - location: '0/7/CPU0' - policer: '174' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: TACACS - location: '0/7/CPU0' - policer: '175' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: NTP-default - location: '0/7/CPU0' - policer: '126' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: NTP-known - location: '0/7/CPU0' - policer: '180' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '5000' - def_rate: '5000' - dropped: '0' - flowtype: MIPv6 - location: '0/7/CPU0' - policer: '188' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '4000' - def_rate: '4000' - dropped: '0' - flowtype: AMT - location: '0/7/CPU0' - policer: '186' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '5000' - def_rate: '5000' - dropped: '0' - flowtype: SDAC-TCP - location: '0/7/CPU0' - policer: '187' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: RADIUS-COA - location: '0/7/CPU0' - policer: '189' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '50000' - def_rate: '50000' - dropped: '0' - flowtype: REL-UDP - location: '0/7/CPU0' - policer: '191' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '4000' - def_rate: '4000' - dropped: '0' - flowtype: DHCPv4 - location: '0/7/CPU0' - policer: '192' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '4000' - def_rate: '4000' - dropped: '0' - flowtype: DHCPv6 - location: '0/7/CPU0' - policer: '193' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: ONEPK - location: '0/7/CPU0' - policer: '100' - tos_value: '01234567' - type: Static diff --git a/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.yml b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.yml new file mode 100644 index 0000000000..bf803cfa8b --- /dev/null +++ b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location.yml @@ -0,0 +1,866 @@ +--- +parsed_sample: + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "unconfigured-default" + location: "0/7/CPU0" + policer: "100" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "10000" + def_rate: "10000" + dropped: "0" + flowtype: "L2TPv2-fragment" + location: "0/7/CPU0" + policer: "185" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "Fragment" + location: "0/7/CPU0" + policer: "101" + tos_value: "01234567" + type: "Static" + - accepted: "111663351" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "OSPF-mc-known" + location: "0/7/CPU0" + policer: "102" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "OSPF-mc-default" + location: "0/7/CPU0" + policer: "103" + tos_value: "01234567" + type: "Static" + - accepted: "3618098" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "OSPF-uc-known" + location: "0/7/CPU0" + policer: "104" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "OSPF-uc-default" + location: "0/7/CPU0" + policer: "105" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "ISIS-known" + location: "0/7/CPU0" + policer: "143" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "ISIS-default" + location: "0/7/CPU0" + policer: "144" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "9600" + def_rate: "9600" + dropped: "0" + flowtype: "BFD-known" + location: "0/7/CPU0" + policer: "150" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "45340" + def_rate: "9600" + dropped: "0" + flowtype: "BFD-default" + location: "0/7/CPU0" + policer: "160" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "11520" + def_rate: "11520" + dropped: "0" + flowtype: "BFD-MP-known" + location: "0/7/CPU0" + policer: "178" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "128" + def_rate: "128" + dropped: "0" + flowtype: "BFD-MP-0" + location: "0/7/CPU0" + policer: "179" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "11520" + def_rate: "11520" + dropped: "0" + flowtype: "BFD-BLB-known" + location: "0/7/CPU0" + policer: "183" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "128" + def_rate: "128" + dropped: "0" + flowtype: "BFD-BLB-0" + location: "0/7/CPU0" + policer: "184" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "512" + def_rate: "512" + dropped: "0" + flowtype: "BFD-SP-0" + location: "0/7/CPU0" + policer: "182" + tos_value: "01234567" + type: "Static" + - accepted: "1203286" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "BGP-known" + location: "0/7/CPU0" + policer: "106" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "BGP-cfg-peer" + location: "0/7/CPU0" + policer: "107" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "BGP-default" + location: "0/7/CPU0" + policer: "108" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "PIM-mcast-default" + location: "0/7/CPU0" + policer: "109" + tos_value: "01234567" + type: "Static" + - accepted: "26046391" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "PIM-mcast-known" + location: "0/7/CPU0" + policer: "176" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "PIM-ucast" + location: "0/7/CPU0" + policer: "110" + tos_value: "01234567" + type: "Static" + - accepted: "7944769" + cur_rate: "3000" + def_rate: "3000" + dropped: "0" + flowtype: "IGMP" + location: "0/7/CPU0" + policer: "111" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "ICMP-local" + location: "0/7/CPU0" + policer: "112" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "ICMP-app" + location: "0/7/CPU0" + policer: "152" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "ICMP-control" + location: "0/7/CPU0" + policer: "140" + tos_value: "01234567" + type: "Static" + - accepted: "11" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "ICMP-default" + location: "0/7/CPU0" + policer: "153" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "ICMP-app-default" + location: "0/7/CPU0" + policer: "190" + tos_value: "01234567" + type: "Static" + - accepted: "1258061" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "LDP-TCP-known" + location: "0/7/CPU0" + policer: "113" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "LDP-TCP-cfg-peer" + location: "0/7/CPU0" + policer: "114" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "LDP-TCP-default" + location: "0/7/CPU0" + policer: "115" + tos_value: "01234567" + type: "Static" + - accepted: "7282839" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "LDP-UDP" + location: "0/7/CPU0" + policer: "116" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "All-routers" + location: "0/7/CPU0" + policer: "117" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "LMP-TCP-known" + location: "0/7/CPU0" + policer: "168" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "LMP-TCP-cfg-peer" + location: "0/7/CPU0" + policer: "169" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "LMP-TCP-default" + location: "0/7/CPU0" + policer: "170" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "LMP-UDP" + location: "0/7/CPU0" + policer: "171" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "RSVP-UDP" + location: "0/7/CPU0" + policer: "118" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "500" + def_rate: "500" + dropped: "0" + flowtype: "RSVP-default" + location: "0/7/CPU0" + policer: "154" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "7000" + def_rate: "7000" + dropped: "0" + flowtype: "RSVP-known" + location: "0/7/CPU0" + policer: "177" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "IKE" + location: "0/7/CPU0" + policer: "119" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "IPSEC-known" + location: "0/7/CPU0" + policer: "120" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "100" + def_rate: "100" + dropped: "0" + flowtype: "IPSEC-default" + location: "0/7/CPU0" + policer: "121" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "10000" + def_rate: "10000" + dropped: "0" + flowtype: "IPSEC-fragment" + location: "0/7/CPU0" + policer: "194" + tos_value: "01234567" + type: "Static" + - accepted: "24233712" + cur_rate: "300" + def_rate: "300" + dropped: "0" + flowtype: "MSDP-known" + location: "0/7/CPU0" + policer: "122" + tos_value: "01234567" + type: "Static" + - accepted: "4" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "MSDP-cfg-peer" + location: "0/7/CPU0" + policer: "123" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "100" + def_rate: "100" + dropped: "0" + flowtype: "MSDP-default" + location: "0/7/CPU0" + policer: "124" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "300" + def_rate: "300" + dropped: "0" + flowtype: "SNMP" + location: "0/7/CPU0" + policer: "125" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "300" + def_rate: "300" + dropped: "0" + flowtype: "SSH-known" + location: "0/7/CPU0" + policer: "127" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "SSH-default" + location: "0/7/CPU0" + policer: "128" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "HTTP-known" + location: "0/7/CPU0" + policer: "129" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "HTTP-default" + location: "0/7/CPU0" + policer: "130" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "SHTTP-known" + location: "0/7/CPU0" + policer: "161" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "IFIB_FT_SHTTP_DEFAULT" + location: "0/7/CPU0" + policer: "162" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "TELNET-known" + location: "0/7/CPU0" + policer: "131" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "TELNET-default" + location: "0/7/CPU0" + policer: "132" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "CSS-known" + location: "0/7/CPU0" + policer: "133" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "CSS-default" + location: "0/7/CPU0" + policer: "134" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "RSH-known" + location: "0/7/CPU0" + policer: "135" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "RSH-default" + location: "0/7/CPU0" + policer: "136" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "UDP-known" + location: "0/7/CPU0" + policer: "137" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "UDP-listen" + location: "0/7/CPU0" + policer: "138" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "UDP-cfg-peer" + location: "0/7/CPU0" + policer: "155" + tos_value: "01234567" + type: "Static" + - accepted: "1" + cur_rate: "3500" + def_rate: "3500" + dropped: "0" + flowtype: "UDP-default" + location: "0/7/CPU0" + policer: "163" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "TCP-known" + location: "0/7/CPU0" + policer: "156" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "TCP-listen" + location: "0/7/CPU0" + policer: "157" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "TCP-cfg-peer" + location: "0/7/CPU0" + policer: "158" + tos_value: "01234567" + type: "Static" + - accepted: "123" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "TCP-default" + location: "0/7/CPU0" + policer: "164" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "Mcast-known" + location: "0/7/CPU0" + policer: "159" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "Mcast-default" + location: "0/7/CPU0" + policer: "165" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "Raw-listen" + location: "0/7/CPU0" + policer: "166" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "Raw-default" + location: "0/7/CPU0" + policer: "167" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "Ip-Sla" + location: "0/7/CPU0" + policer: "139" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "EIGRP" + location: "0/7/CPU0" + policer: "145" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "RIP" + location: "0/7/CPU0" + policer: "146" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "L2TPv3" + location: "0/7/CPU0" + policer: "141" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "PCEP" + location: "0/7/CPU0" + policer: "142" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "10000" + def_rate: "10000" + dropped: "0" + flowtype: "GRE" + location: "0/7/CPU0" + policer: "147" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "VRRP" + location: "0/7/CPU0" + policer: "148" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "HSRP" + location: "0/7/CPU0" + policer: "149" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "250" + def_rate: "250" + dropped: "0" + flowtype: "MPLS-oam" + location: "0/7/CPU0" + policer: "151" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "L2TPv2-default" + location: "0/7/CPU0" + policer: "172" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "L2TPv2-known" + location: "0/7/CPU0" + policer: "181" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "DNS" + location: "0/7/CPU0" + policer: "173" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "RADIUS" + location: "0/7/CPU0" + policer: "174" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "TACACS" + location: "0/7/CPU0" + policer: "175" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "NTP-default" + location: "0/7/CPU0" + policer: "126" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "NTP-known" + location: "0/7/CPU0" + policer: "180" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "5000" + def_rate: "5000" + dropped: "0" + flowtype: "MIPv6" + location: "0/7/CPU0" + policer: "188" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "4000" + def_rate: "4000" + dropped: "0" + flowtype: "AMT" + location: "0/7/CPU0" + policer: "186" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "5000" + def_rate: "5000" + dropped: "0" + flowtype: "SDAC-TCP" + location: "0/7/CPU0" + policer: "187" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "RADIUS-COA" + location: "0/7/CPU0" + policer: "189" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "50000" + def_rate: "50000" + dropped: "0" + flowtype: "REL-UDP" + location: "0/7/CPU0" + policer: "191" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "4000" + def_rate: "4000" + dropped: "0" + flowtype: "DHCPv4" + location: "0/7/CPU0" + policer: "192" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "4000" + def_rate: "4000" + dropped: "0" + flowtype: "DHCPv6" + location: "0/7/CPU0" + policer: "193" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "ONEPK" + location: "0/7/CPU0" + policer: "100" + tos_value: "01234567" + type: "Static" diff --git a/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.parsed b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.parsed deleted file mode 100644 index 861befce62..0000000000 --- a/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.parsed +++ /dev/null @@ -1,822 +0,0 @@ ---- -parsed_sample: - -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: unconfigured-default - location: '0/3/CPU0' - policer: '100' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '10000' - def_rate: '10000' - dropped: '0' - flowtype: L2TPv2-fragment - location: '0/3/CPU0' - policer: '185' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: Fragment - location: '0/3/CPU0' - policer: '101' - tos_value: '01234567' - type: Static -- accepted: '387624' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: OSPF-mc-known - location: '0/3/CPU0' - policer: '102' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: OSPF-mc-default - location: '0/3/CPU0' - policer: '103' - tos_value: '01234567' - type: Static -- accepted: '20' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: OSPF-uc-known - location: '0/3/CPU0' - policer: '104' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: OSPF-uc-default - location: '0/3/CPU0' - policer: '105' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: ISIS-known - location: '0/3/CPU0' - policer: '143' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: ISIS-default - location: '0/3/CPU0' - policer: '144' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '9600' - def_rate: '9600' - dropped: '0' - flowtype: BFD-known - location: '0/3/CPU0' - policer: '150' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '45340' - def_rate: '9600' - dropped: '0' - flowtype: BFD-default - location: '0/3/CPU0' - policer: '160' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '11520' - def_rate: '11520' - dropped: '0' - flowtype: BFD-MP-known - location: '0/3/CPU0' - policer: '178' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '128' - def_rate: '128' - dropped: '0' - flowtype: BFD-MP-0 - location: '0/3/CPU0' - policer: '179' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '11520' - def_rate: '11520' - dropped: '0' - flowtype: BFD-BLB-known - location: '0/3/CPU0' - policer: '183' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '128' - def_rate: '128' - dropped: '0' - flowtype: BFD-BLB-0 - location: '0/3/CPU0' - policer: '184' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '512' - def_rate: '512' - dropped: '0' - flowtype: BFD-SP-0 - location: '0/3/CPU0' - policer: '182' - tos_value: '01234567' - type: Static -- accepted: '51911' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: BGP-known - location: '0/3/CPU0' - policer: '106' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: BGP-cfg-peer - location: '0/3/CPU0' - policer: '107' - tos_value: '01234567' - type: Static -- accepted: '7' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: BGP-default - location: '0/3/CPU0' - policer: '108' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: PIM-mcast-default - location: '0/3/CPU0' - policer: '109' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: PIM-mcast-known - location: '0/3/CPU0' - policer: '176' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: PIM-ucast - location: '0/3/CPU0' - policer: '110' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '3000' - def_rate: '3000' - dropped: '0' - flowtype: IGMP - location: '0/3/CPU0' - policer: '111' - tos_value: '01234567' - type: Static -- accepted: '19' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: ICMP-local - location: '0/3/CPU0' - policer: '112' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: ICMP-app - location: '0/3/CPU0' - policer: '152' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: ICMP-control - location: '0/3/CPU0' - policer: '140' - tos_value: '01234567' - type: Static -- accepted: '35' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: ICMP-default - location: '0/3/CPU0' - policer: '153' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: ICMP-app-default - location: '0/3/CPU0' - policer: '152' - tos_value: '01234567' - type: Static -- accepted: '127939' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: LDP-TCP-known - location: '0/3/CPU0' - policer: '113' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: LDP-TCP-cfg-peer - location: '0/3/CPU0' - policer: '114' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: LDP-TCP-default - location: '0/3/CPU0' - policer: '115' - tos_value: '01234567' - type: Static -- accepted: '726952' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: LDP-UDP - location: '0/3/CPU0' - policer: '116' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: All-routers - location: '0/3/CPU0' - policer: '117' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: LMP-TCP-known - location: '0/3/CPU0' - policer: '168' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: LMP-TCP-cfg-peer - location: '0/3/CPU0' - policer: '169' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: LMP-TCP-default - location: '0/3/CPU0' - policer: '170' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: LMP-UDP - location: '0/3/CPU0' - policer: '171' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: RSVP-UDP - location: '0/3/CPU0' - policer: '118' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '500' - def_rate: '500' - dropped: '0' - flowtype: RSVP-default - location: '0/3/CPU0' - policer: '154' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '7000' - def_rate: '7000' - dropped: '0' - flowtype: RSVP-known - location: '0/3/CPU0' - policer: '177' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '100' - def_rate: '100' - dropped: '0' - flowtype: IKE - location: '0/3/CPU0' - policer: '119' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: IPSEC-known - location: '0/3/CPU0' - policer: '120' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '100' - def_rate: '100' - dropped: '0' - flowtype: IPSEC-default - location: '0/3/CPU0' - policer: '121' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '300' - def_rate: '300' - dropped: '0' - flowtype: MSDP-known - location: '0/3/CPU0' - policer: '122' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: MSDP-cfg-peer - location: '0/3/CPU0' - policer: '123' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '100' - def_rate: '100' - dropped: '0' - flowtype: MSDP-default - location: '0/3/CPU0' - policer: '124' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '300' - def_rate: '300' - dropped: '0' - flowtype: SNMP - location: '0/3/CPU0' - policer: '125' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '300' - def_rate: '300' - dropped: '0' - flowtype: SSH-known - location: '0/3/CPU0' - policer: '127' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: SSH-default - location: '0/3/CPU0' - policer: '128' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: HTTP-known - location: '0/3/CPU0' - policer: '129' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: HTTP-default - location: '0/3/CPU0' - policer: '130' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: SHTTP-known - location: '0/3/CPU0' - policer: '161' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: IFIB_FT_SHTTP_DEFAULT - location: '0/3/CPU0' - policer: '162' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: TELNET-known - location: '0/3/CPU0' - policer: '131' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: TELNET-default - location: '0/3/CPU0' - policer: '132' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: CSS-known - location: '0/3/CPU0' - policer: '133' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: CSS-default - location: '0/3/CPU0' - policer: '134' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: RSH-known - location: '0/3/CPU0' - policer: '135' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: RSH-default - location: '0/3/CPU0' - policer: '136' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: UDP-known - location: '0/3/CPU0' - policer: '137' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: UDP-listen - location: '0/3/CPU0' - policer: '138' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: UDP-cfg-peer - location: '0/3/CPU0' - policer: '155' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '3500' - def_rate: '3500' - dropped: '0' - flowtype: UDP-default - location: '0/3/CPU0' - policer: '163' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: TCP-known - location: '0/3/CPU0' - policer: '156' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: TCP-listen - location: '0/3/CPU0' - policer: '157' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: TCP-cfg-peer - location: '0/3/CPU0' - policer: '158' - tos_value: '01234567' - type: Static -- accepted: '573' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: TCP-default - location: '0/3/CPU0' - policer: '164' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: Mcast-known - location: '0/3/CPU0' - policer: '159' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: Mcast-default - location: '0/3/CPU0' - policer: '165' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: Raw-listen - location: '0/3/CPU0' - policer: '166' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: Raw-default - location: '0/3/CPU0' - policer: '167' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: Ip-Sla - location: '0/3/CPU0' - policer: '139' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: EIGRP - location: '0/3/CPU0' - policer: '145' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1500' - def_rate: '1500' - dropped: '0' - flowtype: RIP - location: '0/3/CPU0' - policer: '146' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: L2TPv3 - location: '0/3/CPU0' - policer: '141' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: PCEP - location: '0/3/CPU0' - policer: '142' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '10000' - def_rate: '10000' - dropped: '0' - flowtype: GRE - location: '0/3/CPU0' - policer: '147' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '1000' - def_rate: '1000' - dropped: '0' - flowtype: VRRP - location: '0/3/CPU0' - policer: '148' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '400' - def_rate: '400' - dropped: '0' - flowtype: HSRP - location: '0/3/CPU0' - policer: '149' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '250' - def_rate: '250' - dropped: '0' - flowtype: MPLS-oam - location: '0/3/CPU0' - policer: '151' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: L2TPv2-default - location: '0/3/CPU0' - policer: '172' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2500' - def_rate: '2500' - dropped: '0' - flowtype: L2TPv2-known - location: '0/3/CPU0' - policer: '181' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: DNS - location: '0/3/CPU0' - policer: '173' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: RADIUS - location: '0/3/CPU0' - policer: '174' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '2000' - def_rate: '2000' - dropped: '0' - flowtype: TACACS - location: '0/3/CPU0' - policer: '175' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: NTP-default - location: '0/3/CPU0' - policer: '126' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '200' - def_rate: '200' - dropped: '0' - flowtype: NTP-known - location: '0/3/CPU0' - policer: '180' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '4000' - def_rate: '4000' - dropped: '0' - flowtype: AMT - location: '0/3/CPU0' - policer: '186' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '0' - def_rate: '0' - dropped: '0' - flowtype: MIPv6 - location: '0/3/CPU0' - policer: '188' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '5000' - def_rate: '5000' - dropped: '0' - flowtype: SDAC-TCP - location: '0/3/CPU0' - policer: '187' - tos_value: '01234567' - type: Static -- accepted: '0' - cur_rate: '0' - def_rate: '0' - dropped: '0' - flowtype: ONEPK - location: '0/3/CPU0' - policer: '189' - tos_value: '01234567' - type: Static diff --git a/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.yml b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.yml new file mode 100644 index 0000000000..84efb2a84b --- /dev/null +++ b/tests/cisco_xr/show_lpts_pifib_hardware_police_location/cisco_xr_show_lpts_pifib_hardware_police_location2.yml @@ -0,0 +1,821 @@ +--- +parsed_sample: + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "unconfigured-default" + location: "0/3/CPU0" + policer: "100" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "10000" + def_rate: "10000" + dropped: "0" + flowtype: "L2TPv2-fragment" + location: "0/3/CPU0" + policer: "185" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "Fragment" + location: "0/3/CPU0" + policer: "101" + tos_value: "01234567" + type: "Static" + - accepted: "387624" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "OSPF-mc-known" + location: "0/3/CPU0" + policer: "102" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "OSPF-mc-default" + location: "0/3/CPU0" + policer: "103" + tos_value: "01234567" + type: "Static" + - accepted: "20" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "OSPF-uc-known" + location: "0/3/CPU0" + policer: "104" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "OSPF-uc-default" + location: "0/3/CPU0" + policer: "105" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "ISIS-known" + location: "0/3/CPU0" + policer: "143" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "ISIS-default" + location: "0/3/CPU0" + policer: "144" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "9600" + def_rate: "9600" + dropped: "0" + flowtype: "BFD-known" + location: "0/3/CPU0" + policer: "150" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "45340" + def_rate: "9600" + dropped: "0" + flowtype: "BFD-default" + location: "0/3/CPU0" + policer: "160" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "11520" + def_rate: "11520" + dropped: "0" + flowtype: "BFD-MP-known" + location: "0/3/CPU0" + policer: "178" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "128" + def_rate: "128" + dropped: "0" + flowtype: "BFD-MP-0" + location: "0/3/CPU0" + policer: "179" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "11520" + def_rate: "11520" + dropped: "0" + flowtype: "BFD-BLB-known" + location: "0/3/CPU0" + policer: "183" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "128" + def_rate: "128" + dropped: "0" + flowtype: "BFD-BLB-0" + location: "0/3/CPU0" + policer: "184" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "512" + def_rate: "512" + dropped: "0" + flowtype: "BFD-SP-0" + location: "0/3/CPU0" + policer: "182" + tos_value: "01234567" + type: "Static" + - accepted: "51911" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "BGP-known" + location: "0/3/CPU0" + policer: "106" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "BGP-cfg-peer" + location: "0/3/CPU0" + policer: "107" + tos_value: "01234567" + type: "Static" + - accepted: "7" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "BGP-default" + location: "0/3/CPU0" + policer: "108" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "PIM-mcast-default" + location: "0/3/CPU0" + policer: "109" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "PIM-mcast-known" + location: "0/3/CPU0" + policer: "176" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "PIM-ucast" + location: "0/3/CPU0" + policer: "110" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "3000" + def_rate: "3000" + dropped: "0" + flowtype: "IGMP" + location: "0/3/CPU0" + policer: "111" + tos_value: "01234567" + type: "Static" + - accepted: "19" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "ICMP-local" + location: "0/3/CPU0" + policer: "112" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "ICMP-app" + location: "0/3/CPU0" + policer: "152" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "ICMP-control" + location: "0/3/CPU0" + policer: "140" + tos_value: "01234567" + type: "Static" + - accepted: "35" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "ICMP-default" + location: "0/3/CPU0" + policer: "153" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "ICMP-app-default" + location: "0/3/CPU0" + policer: "152" + tos_value: "01234567" + type: "Static" + - accepted: "127939" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "LDP-TCP-known" + location: "0/3/CPU0" + policer: "113" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "LDP-TCP-cfg-peer" + location: "0/3/CPU0" + policer: "114" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "LDP-TCP-default" + location: "0/3/CPU0" + policer: "115" + tos_value: "01234567" + type: "Static" + - accepted: "726952" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "LDP-UDP" + location: "0/3/CPU0" + policer: "116" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "All-routers" + location: "0/3/CPU0" + policer: "117" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "LMP-TCP-known" + location: "0/3/CPU0" + policer: "168" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "LMP-TCP-cfg-peer" + location: "0/3/CPU0" + policer: "169" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "LMP-TCP-default" + location: "0/3/CPU0" + policer: "170" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "LMP-UDP" + location: "0/3/CPU0" + policer: "171" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "RSVP-UDP" + location: "0/3/CPU0" + policer: "118" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "500" + def_rate: "500" + dropped: "0" + flowtype: "RSVP-default" + location: "0/3/CPU0" + policer: "154" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "7000" + def_rate: "7000" + dropped: "0" + flowtype: "RSVP-known" + location: "0/3/CPU0" + policer: "177" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "100" + def_rate: "100" + dropped: "0" + flowtype: "IKE" + location: "0/3/CPU0" + policer: "119" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "IPSEC-known" + location: "0/3/CPU0" + policer: "120" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "100" + def_rate: "100" + dropped: "0" + flowtype: "IPSEC-default" + location: "0/3/CPU0" + policer: "121" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "300" + def_rate: "300" + dropped: "0" + flowtype: "MSDP-known" + location: "0/3/CPU0" + policer: "122" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "MSDP-cfg-peer" + location: "0/3/CPU0" + policer: "123" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "100" + def_rate: "100" + dropped: "0" + flowtype: "MSDP-default" + location: "0/3/CPU0" + policer: "124" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "300" + def_rate: "300" + dropped: "0" + flowtype: "SNMP" + location: "0/3/CPU0" + policer: "125" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "300" + def_rate: "300" + dropped: "0" + flowtype: "SSH-known" + location: "0/3/CPU0" + policer: "127" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "SSH-default" + location: "0/3/CPU0" + policer: "128" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "HTTP-known" + location: "0/3/CPU0" + policer: "129" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "HTTP-default" + location: "0/3/CPU0" + policer: "130" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "SHTTP-known" + location: "0/3/CPU0" + policer: "161" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "IFIB_FT_SHTTP_DEFAULT" + location: "0/3/CPU0" + policer: "162" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "TELNET-known" + location: "0/3/CPU0" + policer: "131" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "TELNET-default" + location: "0/3/CPU0" + policer: "132" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "CSS-known" + location: "0/3/CPU0" + policer: "133" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "CSS-default" + location: "0/3/CPU0" + policer: "134" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "RSH-known" + location: "0/3/CPU0" + policer: "135" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "RSH-default" + location: "0/3/CPU0" + policer: "136" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "UDP-known" + location: "0/3/CPU0" + policer: "137" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "UDP-listen" + location: "0/3/CPU0" + policer: "138" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "UDP-cfg-peer" + location: "0/3/CPU0" + policer: "155" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "3500" + def_rate: "3500" + dropped: "0" + flowtype: "UDP-default" + location: "0/3/CPU0" + policer: "163" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "TCP-known" + location: "0/3/CPU0" + policer: "156" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "TCP-listen" + location: "0/3/CPU0" + policer: "157" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "TCP-cfg-peer" + location: "0/3/CPU0" + policer: "158" + tos_value: "01234567" + type: "Static" + - accepted: "573" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "TCP-default" + location: "0/3/CPU0" + policer: "164" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "Mcast-known" + location: "0/3/CPU0" + policer: "159" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "Mcast-default" + location: "0/3/CPU0" + policer: "165" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "Raw-listen" + location: "0/3/CPU0" + policer: "166" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "Raw-default" + location: "0/3/CPU0" + policer: "167" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "Ip-Sla" + location: "0/3/CPU0" + policer: "139" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "EIGRP" + location: "0/3/CPU0" + policer: "145" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1500" + def_rate: "1500" + dropped: "0" + flowtype: "RIP" + location: "0/3/CPU0" + policer: "146" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "L2TPv3" + location: "0/3/CPU0" + policer: "141" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "PCEP" + location: "0/3/CPU0" + policer: "142" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "10000" + def_rate: "10000" + dropped: "0" + flowtype: "GRE" + location: "0/3/CPU0" + policer: "147" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "1000" + def_rate: "1000" + dropped: "0" + flowtype: "VRRP" + location: "0/3/CPU0" + policer: "148" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "400" + def_rate: "400" + dropped: "0" + flowtype: "HSRP" + location: "0/3/CPU0" + policer: "149" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "250" + def_rate: "250" + dropped: "0" + flowtype: "MPLS-oam" + location: "0/3/CPU0" + policer: "151" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "L2TPv2-default" + location: "0/3/CPU0" + policer: "172" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2500" + def_rate: "2500" + dropped: "0" + flowtype: "L2TPv2-known" + location: "0/3/CPU0" + policer: "181" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "DNS" + location: "0/3/CPU0" + policer: "173" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "RADIUS" + location: "0/3/CPU0" + policer: "174" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "2000" + def_rate: "2000" + dropped: "0" + flowtype: "TACACS" + location: "0/3/CPU0" + policer: "175" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "NTP-default" + location: "0/3/CPU0" + policer: "126" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "200" + def_rate: "200" + dropped: "0" + flowtype: "NTP-known" + location: "0/3/CPU0" + policer: "180" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "4000" + def_rate: "4000" + dropped: "0" + flowtype: "AMT" + location: "0/3/CPU0" + policer: "186" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "0" + def_rate: "0" + dropped: "0" + flowtype: "MIPv6" + location: "0/3/CPU0" + policer: "188" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "5000" + def_rate: "5000" + dropped: "0" + flowtype: "SDAC-TCP" + location: "0/3/CPU0" + policer: "187" + tos_value: "01234567" + type: "Static" + - accepted: "0" + cur_rate: "0" + def_rate: "0" + dropped: "0" + flowtype: "ONEPK" + location: "0/3/CPU0" + policer: "189" + tos_value: "01234567" + type: "Static" diff --git a/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.parsed b/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.parsed deleted file mode 100644 index ccb5e12ebc..0000000000 --- a/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.parsed +++ /dev/null @@ -1,35 +0,0 @@ ---- -parsed_sample: - -- peer: "10.100.100.120:0" - gr: "Y" - nsr: "Y" - uptime: "4w2d" - discovery_ipv4: "3" - discovery_ipv6: "0" - addresses_ipv4: "10" - addresses_ipv6: "0" - labels_ipv4: "56" - labels_ipv6: "0" - -- peer: "10.100.100.119:0" - gr: "Y" - nsr: "Y" - uptime: "4w2d" - discovery_ipv4: "3" - discovery_ipv6: "0" - addresses_ipv4: "10" - addresses_ipv6: "0" - labels_ipv4: "56" - labels_ipv6: "0" - -- peer: "10.100.100.121:0" - gr: "Y" - nsr: "N/A" - uptime: "4w2d" - discovery_ipv4: "3" - discovery_ipv6: "0" - addresses_ipv4: "8" - addresses_ipv6: "0" - labels_ipv4: "57" - labels_ipv6: "0" diff --git a/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.yml b/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.yml new file mode 100644 index 0000000000..b19cb951a9 --- /dev/null +++ b/tests/cisco_xr/show_mpls_ldp_neighbor_brief/cisco_xr_show_mpls_ldp_neighbor_brief.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - peer: "10.100.100.120:0" + gr: "Y" + nsr: "Y" + uptime: "4w2d" + discovery_ipv4: "3" + discovery_ipv6: "0" + addresses_ipv4: "10" + addresses_ipv6: "0" + labels_ipv4: "56" + labels_ipv6: "0" + - peer: "10.100.100.119:0" + gr: "Y" + nsr: "Y" + uptime: "4w2d" + discovery_ipv4: "3" + discovery_ipv6: "0" + addresses_ipv4: "10" + addresses_ipv6: "0" + labels_ipv4: "56" + labels_ipv6: "0" + - peer: "10.100.100.121:0" + gr: "Y" + nsr: "N/A" + uptime: "4w2d" + discovery_ipv4: "3" + discovery_ipv6: "0" + addresses_ipv4: "8" + addresses_ipv6: "0" + labels_ipv4: "57" + labels_ipv6: "0" diff --git a/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.parsed b/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.parsed deleted file mode 100644 index 9cbee65672..0000000000 --- a/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.parsed +++ /dev/null @@ -1,35 +0,0 @@ ---- - -parsed_sample: - -- neighbor_id: "1.1.1.1" - priority: "128" - state: "FULL/DR" - dead_time: "00:00:39" - address: "10.1.2.1" - interface: "GigabitEthernet0/0/0/1" - neighbor_uptime: "01:03:05" - -- neighbor_id: "2.2.2.2" - priority: "1" - state: "FULL/BDR" - dead_time: "00:00:36" - address: "10.1.2.2" - interface: "GigabitEthernet0/0/0/1" - neighbor_uptime: "01:02:57" - -- neighbor_id: "4.4.4.4" - priority: "1" - state: "FULL/DR" - dead_time: "00:00:31" - address: "10.3.4.4" - interface: "GigabitEthernet0/0/0/2" - neighbor_uptime: "01:04:39" - -- neighbor_id: "1.1.1.1" - priority: "128" - state: "FULL/ -" - dead_time: "00:00:31" - address: "10.1.3.1" - interface: "GigabitEthernet0/0/0/3" - neighbor_uptime: "1w2d" diff --git a/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.yml b/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.yml new file mode 100644 index 0000000000..cc02f8e01f --- /dev/null +++ b/tests/cisco_xr/show_ospf_neighbor/cisco_xr_show_ospf_neighbor.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - neighbor_id: "1.1.1.1" + priority: "128" + state: "FULL/DR" + dead_time: "00:00:39" + address: "10.1.2.1" + interface: "GigabitEthernet0/0/0/1" + neighbor_uptime: "01:03:05" + - neighbor_id: "2.2.2.2" + priority: "1" + state: "FULL/BDR" + dead_time: "00:00:36" + address: "10.1.2.2" + interface: "GigabitEthernet0/0/0/1" + neighbor_uptime: "01:02:57" + - neighbor_id: "4.4.4.4" + priority: "1" + state: "FULL/DR" + dead_time: "00:00:31" + address: "10.3.4.4" + interface: "GigabitEthernet0/0/0/2" + neighbor_uptime: "01:04:39" + - neighbor_id: "1.1.1.1" + priority: "128" + state: "FULL/ -" + dead_time: "00:00:31" + address: "10.1.3.1" + interface: "GigabitEthernet0/0/0/3" + neighbor_uptime: "1w2d" diff --git a/tests/cisco_xr/show_pim_neighbor/cisco_xr_show_pim_neighbor.parsed b/tests/cisco_xr/show_pim_neighbor/cisco_xr_show_pim_neighbor.parsed deleted file mode 100644 index 27088e58a5..0000000000 --- a/tests/cisco_xr/show_pim_neighbor/cisco_xr_show_pim_neighbor.parsed +++ /dev/null @@ -1,26 +0,0 @@ ---- -parsed_sample: - -- neighbor: "10.100.100.129" - interface: "FortyGigE0/2/1/1" - uptime: "4w2d" - expires: "00:01:41" - dr: "1" - pri: "" - flags: "B P" - -- neighbor: "10.100.100.130*" - interface: "FortyGigE0/2/1/1" - uptime: "4w2d" - expires: "00:01:25" - dr: "1" - pri: "DR" - flags: "B E" - -- neighbor: "10.100.100.125" - interface: "FortyGigE0/0/0/1" - uptime: "4w2d" - expires: "00:01:27" - dr: "1" - pri: "" - flags: "B P" diff --git a/tests/cisco_xr/show_pim_neighbor/cisco_xr_show_pim_neighbor.yml b/tests/cisco_xr/show_pim_neighbor/cisco_xr_show_pim_neighbor.yml new file mode 100644 index 0000000000..8cc8cec587 --- /dev/null +++ b/tests/cisco_xr/show_pim_neighbor/cisco_xr_show_pim_neighbor.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - neighbor: "10.100.100.129" + interface: "FortyGigE0/2/1/1" + uptime: "4w2d" + expires: "00:01:41" + dr: "1" + pri: "" + flags: "B P" + - neighbor: "10.100.100.130*" + interface: "FortyGigE0/2/1/1" + uptime: "4w2d" + expires: "00:01:25" + dr: "1" + pri: "DR" + flags: "B E" + - neighbor: "10.100.100.125" + interface: "FortyGigE0/0/0/1" + uptime: "4w2d" + expires: "00:01:27" + dr: "1" + pri: "" + flags: "B P" diff --git a/tests/cisco_xr/show_processes_cpu/cisco_xr_show_processes_cpu.parsed b/tests/cisco_xr/show_processes_cpu/cisco_xr_show_processes_cpu.parsed deleted file mode 100644 index 3f3b6df62c..0000000000 --- a/tests/cisco_xr/show_processes_cpu/cisco_xr_show_processes_cpu.parsed +++ /dev/null @@ -1,5 +0,0 @@ ---- -parsed_sample: -- cpu_15_min: '3' - cpu_1_min: '5' - cpu_5_min: '3' diff --git a/tests/cisco_xr/show_processes_cpu/cisco_xr_show_processes_cpu.yml b/tests/cisco_xr/show_processes_cpu/cisco_xr_show_processes_cpu.yml new file mode 100644 index 0000000000..d1e36b72ec --- /dev/null +++ b/tests/cisco_xr/show_processes_cpu/cisco_xr_show_processes_cpu.yml @@ -0,0 +1,5 @@ +--- +parsed_sample: + - cpu_15_min: "3" + cpu_1_min: "5" + cpu_5_min: "3" diff --git a/tests/cisco_xr/show_redundancy_summary/cisco_xr_show_redundancy_summary.parsed b/tests/cisco_xr/show_redundancy_summary/cisco_xr_show_redundancy_summary.parsed deleted file mode 100644 index ceb1c93c28..0000000000 --- a/tests/cisco_xr/show_redundancy_summary/cisco_xr_show_redundancy_summary.parsed +++ /dev/null @@ -1,12 +0,0 @@ ---- -parsed_sample: - -- primary: "0/RSP0/CPU0(A)" - backup: "0/RSP1/CPU0(S)" - status: "Node Ready" - nsr: "Ready" - -- primary: "0/RSP0/CPU0(P)" - backup: "0/RSP1/CPU0(B)" - status: "Proc Group Ready" - nsr: "Ready" \ No newline at end of file diff --git a/tests/cisco_xr/show_redundancy_summary/cisco_xr_show_redundancy_summary.yml b/tests/cisco_xr/show_redundancy_summary/cisco_xr_show_redundancy_summary.yml new file mode 100644 index 0000000000..5cb91c324c --- /dev/null +++ b/tests/cisco_xr/show_redundancy_summary/cisco_xr_show_redundancy_summary.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - primary: "0/RSP0/CPU0(A)" + backup: "0/RSP1/CPU0(S)" + status: "Node Ready" + nsr: "Ready" + - primary: "0/RSP0/CPU0(P)" + backup: "0/RSP1/CPU0(B)" + status: "Proc Group Ready" + nsr: "Ready" diff --git a/tests/cisco_xr/show_rsvp_neighbors/cisco_xr_show_rsvp_neighbors.parsed b/tests/cisco_xr/show_rsvp_neighbors/cisco_xr_show_rsvp_neighbors.parsed deleted file mode 100644 index fea375a25c..0000000000 --- a/tests/cisco_xr/show_rsvp_neighbors/cisco_xr_show_rsvp_neighbors.parsed +++ /dev/null @@ -1,10 +0,0 @@ ---- -parsed_sample: - -- global_neighbor: "10.100.100.120" - interface_neighbor: "10.100.100.141" - interface: "FortyGigE0/0/1/0" - -- global_neighbor: "10.100.100.120" - interface_neighbor: "10.100.100.145" - interface: "FortyGigE0/1/1/0" diff --git a/tests/cisco_xr/show_rsvp_neighbors/cisco_xr_show_rsvp_neighbors.yml b/tests/cisco_xr/show_rsvp_neighbors/cisco_xr_show_rsvp_neighbors.yml new file mode 100644 index 0000000000..e45ceb68f9 --- /dev/null +++ b/tests/cisco_xr/show_rsvp_neighbors/cisco_xr_show_rsvp_neighbors.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - global_neighbor: "10.100.100.120" + interface_neighbor: "10.100.100.141" + interface: "FortyGigE0/0/1/0" + - global_neighbor: "10.100.100.120" + interface_neighbor: "10.100.100.145" + interface: "FortyGigE0/1/1/0" diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version.parsed b/tests/cisco_xr/show_version/cisco_xr_show_version.parsed deleted file mode 100644 index 711d10c3ea..0000000000 --- a/tests/cisco_xr/show_version/cisco_xr_show_version.parsed +++ /dev/null @@ -1,7 +0,0 @@ ---- -parsed_sample: - - version : '6.1.4' - uptime : '4 weeks, 6 days, 1 hour, 42 minutes' - location : '/opt/cisco/XR/packages/' - hardware : 'NCS-5500' - build_host : 'iox-lnx-032' diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version.yml b/tests/cisco_xr/show_version/cisco_xr_show_version.yml new file mode 100644 index 0000000000..74d9d46ddc --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - hardware: "NCS-5500" + uptime: "4 weeks, 6 days, 1 hour, 42 minutes" + version: "6.1.4" + location: "/opt/cisco/XR/packages/" + build_host: "iox-lnx-032" diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version2.parsed b/tests/cisco_xr/show_version/cisco_xr_show_version2.parsed deleted file mode 100644 index 4f223128a9..0000000000 --- a/tests/cisco_xr/show_version/cisco_xr_show_version2.parsed +++ /dev/null @@ -1,7 +0,0 @@ ---- -parsed_sample: - - version : '6.5.1' - uptime : '1 minute' - location : '/opt/cisco/XR/packages/' - hardware : 'IOS-XRv 9000' - build_host : 'iox-ucs-019' diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version2.yml b/tests/cisco_xr/show_version/cisco_xr_show_version2.yml new file mode 100644 index 0000000000..d8c1f36ec9 --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version2.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - version: "6.5.1" + uptime: "1 minute" + location: "/opt/cisco/XR/packages/" + hardware: "IOS-XRv 9000" + build_host: "iox-ucs-019" diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version_crs.parsed b/tests/cisco_xr/show_version/cisco_xr_show_version_crs.parsed deleted file mode 100644 index 9ff54ee13d..0000000000 --- a/tests/cisco_xr/show_version/cisco_xr_show_version_crs.parsed +++ /dev/null @@ -1,7 +0,0 @@ ---- -parsed_sample: - - version : '4.1.0' - uptime : '1 week, 6 days, 4 hours, 22 minutes' - location : '' - hardware : 'CRS-8/S' - build_host : '' diff --git a/tests/cisco_xr/show_version/cisco_xr_show_version_crs.yml b/tests/cisco_xr/show_version/cisco_xr_show_version_crs.yml new file mode 100644 index 0000000000..e85ff168a0 --- /dev/null +++ b/tests/cisco_xr/show_version/cisco_xr_show_version_crs.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - version: "4.1.0" + uptime: "1 week, 6 days, 4 hours, 22 minutes" + location: "" + hardware: "CRS-8/S" + build_host: "" diff --git a/tests/dell_force10/show_arp/dell_force10_show_arp.parsed b/tests/dell_force10/show_arp/dell_force10_show_arp.parsed deleted file mode 100644 index 8aa7ac487e..0000000000 --- a/tests/dell_force10/show_arp/dell_force10_show_arp.parsed +++ /dev/null @@ -1,33 +0,0 @@ ---- - -parsed_sample: - -- ip: "192.168.168.5" - mac: "fc:93:ee:c6:73:b2" - age: "34" - port: "Ma 0/0" - vlan_id: "-" - -- ip: "192.168.168.11" - mac: "e5:97:c1:0e:cb:b7" - age: "0" - port: "Ma 0/0" - vlan_id: "-" - -- ip: "192.168.168.130" - mac: "8a:72:f4:ef:fe:e3" - age: "0" - port: "Ma 0/0" - vlan_id: "-" - -- ip: "192.168.186.99" - mac: "5d:7c:2f:d5:62:57" - age: "6" - port: "Te 0/22" - vlan_id: "10" - -- ip: "192.168.186.254" - mac: "5d:7c:2f:d5:62:58" - age: "-" - port: "-" - vlan_id: "10" diff --git a/tests/dell_force10/show_arp/dell_force10_show_arp.yml b/tests/dell_force10/show_arp/dell_force10_show_arp.yml new file mode 100644 index 0000000000..0221383d3d --- /dev/null +++ b/tests/dell_force10/show_arp/dell_force10_show_arp.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - ip: "192.168.168.5" + mac: "fc:93:ee:c6:73:b2" + age: "34" + port: "Ma 0/0" + vlan_id: "-" + - ip: "192.168.168.11" + mac: "e5:97:c1:0e:cb:b7" + age: "0" + port: "Ma 0/0" + vlan_id: "-" + - ip: "192.168.168.130" + mac: "8a:72:f4:ef:fe:e3" + age: "0" + port: "Ma 0/0" + vlan_id: "-" + - ip: "192.168.186.99" + mac: "5d:7c:2f:d5:62:57" + age: "6" + port: "Te 0/22" + vlan_id: "10" + - ip: "192.168.186.254" + mac: "5d:7c:2f:d5:62:58" + age: "-" + port: "-" + vlan_id: "10" diff --git a/tests/dell_force10/show_version/dell_force10_show_version.parsed b/tests/dell_force10/show_version/dell_force10_show_version.parsed deleted file mode 100644 index 21c1639493..0000000000 --- a/tests/dell_force10/show_version/dell_force10_show_version.parsed +++ /dev/null @@ -1,7 +0,0 @@ ---- - -parsed_sample: - -- os_version: "9.9(0.0)" - uptime: '1 week(s), 2 day(s), 9 hour(s), 5 minute(s)' - device_type: S4820T diff --git a/tests/dell_force10/show_version/dell_force10_show_version.yml b/tests/dell_force10/show_version/dell_force10_show_version.yml new file mode 100644 index 0000000000..7dc9cc1875 --- /dev/null +++ b/tests/dell_force10/show_version/dell_force10_show_version.yml @@ -0,0 +1,5 @@ +--- +parsed_sample: + - os_version: "9.9(0.0)" + uptime: "1 week(s), 2 day(s), 9 hour(s), 5 minute(s)" + device_type: "S4820T" diff --git a/tests/dell_force10/show_vlan/dell_force10_show_vlan.parsed b/tests/dell_force10/show_vlan/dell_force10_show_vlan.parsed deleted file mode 100644 index 29b8f7f369..0000000000 --- a/tests/dell_force10/show_vlan/dell_force10_show_vlan.parsed +++ /dev/null @@ -1,50 +0,0 @@ ---- - -parsed_sample: -- vlan_id: "1" - name: '' - status: Inactive - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "" - ports_t_te: "" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "10" - name: vlan_10_web - status: Inactive - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "0/1" - ports_t_te: "" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "20" - name: '' - status: Inactive - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "" - ports_t_te: "" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "100" - name: "vlan-100-name" - status: Inactive - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "" - ports_t_te: "" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" diff --git a/tests/dell_force10/show_vlan/dell_force10_show_vlan.yml b/tests/dell_force10/show_vlan/dell_force10_show_vlan.yml new file mode 100644 index 0000000000..a72c5b272b --- /dev/null +++ b/tests/dell_force10/show_vlan/dell_force10_show_vlan.yml @@ -0,0 +1,46 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "" + ports_t_te: "" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "10" + name: "vlan_10_web" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "0/1" + ports_t_te: "" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "20" + name: "" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "" + ports_t_te: "" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "100" + name: "vlan-100-name" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "" + ports_t_te: "" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" diff --git a/tests/dell_force10/show_vlan/dell_force10_show_vlan_1.parsed b/tests/dell_force10/show_vlan/dell_force10_show_vlan_1.parsed deleted file mode 100644 index 66d6b549f1..0000000000 --- a/tests/dell_force10/show_vlan/dell_force10_show_vlan_1.parsed +++ /dev/null @@ -1,110 +0,0 @@ ---- - -parsed_sample: -- vlan_id: "1" - name: "" - status: "Inactive" - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "0/42-43" - ports_t_te: "" - ports_u_fo: "0/48,56,60" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "12" - name: "" - status: "Inactive" - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "0/0-9,45-47" - ports_t_te: "" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "13" - name: "myvlan13" - status: "Inactive" - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "" - ports_t_te: "" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "14" - name: "" - status: "Inactive" - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "" - ports_t_te: "" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "100" - name: "pixelrebel is awesome" - status: "Inactive" - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "0/40-41,44" - ports_t_te: "0/30" - ports_u_fo: "0/52" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "200" - name: "" - status: "Inactive" - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "" - ports_t_te: "" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "330" - name: "tagged example" - status: "Inactive" - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "0/31-34,38-39" - ports_t_te: "0/30,35-37" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "351" - name: "dev 351 vlan" - status: "Inactive" - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "0/10-19" - ports_t_te: "" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" - -- vlan_id: "380" - name: "dev-VLAN 380" - status: "Active" - ports_u_gi: "" - ports_t_gi: "" - ports_u_te: "0/20-29" - ports_t_te: "" - ports_u_fo: "" - ports_t_fo: "" - ports_u_ma: "" - ports_t_ma: "" diff --git a/tests/dell_force10/show_vlan/dell_force10_show_vlan_1.yml b/tests/dell_force10/show_vlan/dell_force10_show_vlan_1.yml new file mode 100644 index 0000000000..ba6ce57ab8 --- /dev/null +++ b/tests/dell_force10/show_vlan/dell_force10_show_vlan_1.yml @@ -0,0 +1,101 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "0/42-43" + ports_t_te: "" + ports_u_fo: "0/48,56,60" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "12" + name: "" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "0/0-9,45-47" + ports_t_te: "" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "13" + name: "myvlan13" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "" + ports_t_te: "" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "14" + name: "" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "" + ports_t_te: "" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "100" + name: "pixelrebel is awesome" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "0/40-41,44" + ports_t_te: "0/30" + ports_u_fo: "0/52" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "200" + name: "" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "" + ports_t_te: "" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "330" + name: "tagged example" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "0/31-34,38-39" + ports_t_te: "0/30,35-37" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "351" + name: "dev 351 vlan" + status: "Inactive" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "0/10-19" + ports_t_te: "" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" + - vlan_id: "380" + name: "dev-VLAN 380" + status: "Active" + ports_u_gi: "" + ports_t_gi: "" + ports_u_te: "0/20-29" + ports_t_te: "" + ports_u_fo: "" + ports_t_fo: "" + ports_u_ma: "" + ports_t_ma: "" diff --git a/tests/dell_force10/show_vlan_brief/dell_force10_show_vlan_brief.parsed b/tests/dell_force10/show_vlan_brief/dell_force10_show_vlan_brief.parsed deleted file mode 100644 index 9c0fb34327..0000000000 --- a/tests/dell_force10/show_vlan_brief/dell_force10_show_vlan_brief.parsed +++ /dev/null @@ -1,33 +0,0 @@ ---- - -parsed_sample: -- vlan_id: "1" - name: "" - stg: "0" - mac_aging: "1800" - ip: "unassigned" -- vlan_id: "12" - name: "" - stg: "0" - mac_aging: "1800" - ip: "10.10.10.254/24" -- vlan_id: "13" - name: "thirteen" - stg: "0" - mac_aging: "1800" - ip: "192.168.100.0/22" -- vlan_id: "14" - name: "fourteen" - stg: "0" - mac_aging: "1800" - ip: "unassigned" -- vlan_id: "15" - name: "fifteen" - stg: "0" - mac_aging: "1800" - ip: "unassigned" -- vlan_id: "67" - name: "sixty seven" - stg: "0" - mac_aging: "1800" - ip: "unassigned" diff --git a/tests/dell_force10/show_vlan_brief/dell_force10_show_vlan_brief.yml b/tests/dell_force10/show_vlan_brief/dell_force10_show_vlan_brief.yml new file mode 100644 index 0000000000..536c8a4e1d --- /dev/null +++ b/tests/dell_force10/show_vlan_brief/dell_force10_show_vlan_brief.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "" + stg: "0" + mac_aging: "1800" + ip: "unassigned" + - vlan_id: "12" + name: "" + stg: "0" + mac_aging: "1800" + ip: "10.10.10.254/24" + - vlan_id: "13" + name: "thirteen" + stg: "0" + mac_aging: "1800" + ip: "192.168.100.0/22" + - vlan_id: "14" + name: "fourteen" + stg: "0" + mac_aging: "1800" + ip: "unassigned" + - vlan_id: "15" + name: "fifteen" + stg: "0" + mac_aging: "1800" + ip: "unassigned" + - vlan_id: "67" + name: "sixty seven" + stg: "0" + mac_aging: "1800" + ip: "unassigned" diff --git a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.parsed b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.parsed deleted file mode 100644 index be5e863b47..0000000000 --- a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.parsed +++ /dev/null @@ -1,19 +0,0 @@ ---- -parsed_sample: - -- bgp_neigh: 10.204.35.84 - neigh_as: '65302' - state_pfxrcd: Active - up_down: 09w3d01h -- bgp_neigh: 10.205.35.95 - neigh_as: '65302' - state_pfxrcd: '1' - up_down: 04w5d09h -- bgp_neigh: 169.132.250.17 - neigh_as: '4224' - state_pfxrcd: Idle - up_down: never -- bgp_neigh: 169.132.250.21 - neigh_as: '4224' - state_pfxrcd: Idle - up_down: never \ No newline at end of file diff --git a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml new file mode 100644 index 0000000000..8902f0b206 --- /dev/null +++ b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - bgp_neigh: "10.204.35.84" + neigh_as: "65302" + state_pfxrcd: "Active" + up_down: "09w3d01h" + - bgp_neigh: "10.205.35.95" + neigh_as: "65302" + state_pfxrcd: "1" + up_down: "04w5d09h" + - bgp_neigh: "169.132.250.17" + neigh_as: "4224" + state_pfxrcd: "Idle" + up_down: "never" + - bgp_neigh: "169.132.250.21" + neigh_as: "4224" + state_pfxrcd: "Idle" + up_down: "never" diff --git a/tests/hp_comware/display_arp/hp_comware_display_arp.parsed b/tests/hp_comware/display_arp/hp_comware_display_arp.parsed deleted file mode 100644 index e3f3a458aa..0000000000 --- a/tests/hp_comware/display_arp/hp_comware_display_arp.parsed +++ /dev/null @@ -1,11 +0,0 @@ ---- - -parsed_sample: - -- {aging: '16', interface: M-GE0/0/0, ipaddress: 10.20.10.1, macaddress: 001e-c1dc-fc01, - type: D, vlan: N/A} -- {aging: '16', interface: XGE1/0/47, ipaddress: 10.20.1.254, macaddress: 001e-c1dc-fc01, - type: D, vlan: '1'} -- {aging: '5', interface: XGE1/0/48, ipaddress: 10.20.1.2, macaddress: 2c23-3a40-7e18, - type: D, vlan: '1'} - diff --git a/tests/hp_comware/display_arp/hp_comware_display_arp.yml b/tests/hp_comware/display_arp/hp_comware_display_arp.yml new file mode 100644 index 0000000000..8136f64fc1 --- /dev/null +++ b/tests/hp_comware/display_arp/hp_comware_display_arp.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - aging: "16" + interface: "M-GE0/0/0" + ipaddress: "10.20.10.1" + macaddress: "001e-c1dc-fc01" + type: "D" + vlan: "N/A" + - aging: "16" + interface: "XGE1/0/47" + ipaddress: "10.20.1.254" + macaddress: "001e-c1dc-fc01" + type: "D" + vlan: "1" + - aging: "5" + interface: "XGE1/0/48" + ipaddress: "10.20.1.2" + macaddress: "2c23-3a40-7e18" + type: "D" + vlan: "1" diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock.parsed b/tests/hp_comware/display_clock/hp_comware_display_clock.parsed deleted file mode 100644 index 5380753594..0000000000 --- a/tests/hp_comware/display_clock/hp_comware_display_clock.parsed +++ /dev/null @@ -1,6 +0,0 @@ ---- - -parsed_sample: - - -- {day: '01', dayweek: Sat, month: 08, time: '19:35:31', timezone: UTC, year: '2011'} \ No newline at end of file diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock.yml b/tests/hp_comware/display_clock/hp_comware_display_clock.yml new file mode 100644 index 0000000000..84bfccbd97 --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - day: "01" + dayweek: "Sat" + month: "08" + time: "19:35:31" + timezone: "UTC" + year: "2011" diff --git a/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.parsed b/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.parsed deleted file mode 100644 index 0f17ddb0df..0000000000 --- a/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.parsed +++ /dev/null @@ -1,43 +0,0 @@ ---- -parsed_sample: -- interface: GE1/0/1 - packets_broadcast: '2580' - packets_error: '0' - packets_multicast: '8560' - packets_total: '573422' -- interface: GE1/0/2 - packets_broadcast: '7513' - packets_error: '30' - packets_multicast: '34906' - packets_total: '975121' -- interface: GE6/0/47 - packets_broadcast: '0' - packets_error: '0' - packets_multicast: '0' - packets_total: '0' -- interface: GE6/0/48 - packets_broadcast: '16658' - packets_error: '0' - packets_multicast: '86584' - packets_total: '429854186' -- interface: XGE1/0/49 - packets_broadcast: '12706052' - packets_error: '0' - packets_multicast: '16927885391' - packets_total: '17495987683' -- interface: XGE1/0/50 - packets_broadcast: '13138308' - packets_error: '19' - packets_multicast: '21011041401' - packets_total: '53840866263' -- interface: XGE6/0/51 - packets_broadcast: '0' - packets_error: '0' - packets_multicast: '0' - packets_total: '0' -- interface: XGE6/0/52 - packets_broadcast: '16009' - packets_error: '0' - packets_multicast: '7582' - packets_total: '46490' - diff --git a/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.yml b/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.yml new file mode 100644 index 0000000000..c77c736e33 --- /dev/null +++ b/tests/hp_comware/display_counters_bound_interface/hp_comware_display_counters_bound_interface.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - interface: "GE1/0/1" + packets_broadcast: "2580" + packets_error: "0" + packets_multicast: "8560" + packets_total: "573422" + - interface: "GE1/0/2" + packets_broadcast: "7513" + packets_error: "30" + packets_multicast: "34906" + packets_total: "975121" + - interface: "GE6/0/47" + packets_broadcast: "0" + packets_error: "0" + packets_multicast: "0" + packets_total: "0" + - interface: "GE6/0/48" + packets_broadcast: "16658" + packets_error: "0" + packets_multicast: "86584" + packets_total: "429854186" + - interface: "XGE1/0/49" + packets_broadcast: "12706052" + packets_error: "0" + packets_multicast: "16927885391" + packets_total: "17495987683" + - interface: "XGE1/0/50" + packets_broadcast: "13138308" + packets_error: "19" + packets_multicast: "21011041401" + packets_total: "53840866263" + - interface: "XGE6/0/51" + packets_broadcast: "0" + packets_error: "0" + packets_multicast: "0" + packets_total: "0" + - interface: "XGE6/0/52" + packets_broadcast: "16009" + packets_error: "0" + packets_multicast: "7582" + packets_total: "46490" diff --git a/tests/hp_comware/display_mac-address/hp_comware_display_mac-address.parsed b/tests/hp_comware/display_mac-address/hp_comware_display_mac-address.parsed deleted file mode 100644 index 300561a291..0000000000 --- a/tests/hp_comware/display_mac-address/hp_comware_display_mac-address.parsed +++ /dev/null @@ -1,27 +0,0 @@ ---- - -parsed_sample: - -- macaddress: "0000-1111-2222" - vlan: "1" - state: "Learned" - interface: "Bridge-Aggregation1" - aging: "AGING" - -- macaddress: "fedc-ba09-8765" - vlan: "10" - state: "Learned" - interface: "GigabitEthernet1/0/20" - aging: "NOAGED" - -- macaddress: "aaaa-bbbb-cccc" - vlan: "10" - state: "Learned" - interface: "GigabitEthernet1/0/41" - aging: "AGING" - -- macaddress: "dead-beef-0042" - vlan: "20" - state: "Learned" - interface: "GigabitEthernet1/0/10" - aging: "AGING" diff --git a/tests/hp_comware/display_mac-address/hp_comware_display_mac-address.yml b/tests/hp_comware/display_mac-address/hp_comware_display_mac-address.yml new file mode 100644 index 0000000000..526dc409a2 --- /dev/null +++ b/tests/hp_comware/display_mac-address/hp_comware_display_mac-address.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - macaddress: "0000-1111-2222" + vlan: "1" + state: "Learned" + interface: "Bridge-Aggregation1" + aging: "AGING" + - macaddress: "fedc-ba09-8765" + vlan: "10" + state: "Learned" + interface: "GigabitEthernet1/0/20" + aging: "NOAGED" + - macaddress: "aaaa-bbbb-cccc" + vlan: "10" + state: "Learned" + interface: "GigabitEthernet1/0/41" + aging: "AGING" + - macaddress: "dead-beef-0042" + vlan: "20" + state: "Learned" + interface: "GigabitEthernet1/0/10" + aging: "AGING" diff --git a/tests/hp_comware/display_vlan_brief/hp_comware_display_vlan_brief.parsed b/tests/hp_comware/display_vlan_brief/hp_comware_display_vlan_brief.parsed deleted file mode 100644 index 1c39d0efe4..0000000000 --- a/tests/hp_comware/display_vlan_brief/hp_comware_display_vlan_brief.parsed +++ /dev/null @@ -1,23 +0,0 @@ ---- - -parsed_sample: - -- name: VLAN - vlan_id: "1" - -- name: VLAN - vlan_id: "10" - -- name: VLAN - vlan_id: "20" - -- name: VLAN - vlan_id: "30" - -- name: VLAN - vlan_id: "200" - -- name: VLAN - vlan_id: "500" - - diff --git a/tests/hp_comware/display_vlan_brief/hp_comware_display_vlan_brief.yml b/tests/hp_comware/display_vlan_brief/hp_comware_display_vlan_brief.yml new file mode 100644 index 0000000000..ee9891b3bc --- /dev/null +++ b/tests/hp_comware/display_vlan_brief/hp_comware_display_vlan_brief.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - name: "VLAN" + vlan_id: "1" + - name: "VLAN" + vlan_id: "10" + - name: "VLAN" + vlan_id: "20" + - name: "VLAN" + vlan_id: "30" + - name: "VLAN" + vlan_id: "200" + - name: "VLAN" + vlan_id: "500" diff --git a/tests/hp_procurve/show_arp/hp_procurve_show_arp.parsed b/tests/hp_procurve/show_arp/hp_procurve_show_arp.parsed deleted file mode 100644 index ed2bc5ea7e..0000000000 --- a/tests/hp_procurve/show_arp/hp_procurve_show_arp.parsed +++ /dev/null @@ -1,19 +0,0 @@ ---- - -parsed_sample: - -- ip: "10.11.12.11" - mac: "0015b2-a45078" - type: "dynamic" - port: "2" - -- ip: "10.11.12.12" - mac: "0c15b2-a45d78" - type: "dynamic" - port: "3" - -- ip: "10.11.12.13" - mac: "001eb2-a45f78" - type: "dynamic" - port: "4" - diff --git a/tests/hp_procurve/show_arp/hp_procurve_show_arp.yml b/tests/hp_procurve/show_arp/hp_procurve_show_arp.yml new file mode 100644 index 0000000000..2a96a6c087 --- /dev/null +++ b/tests/hp_procurve/show_arp/hp_procurve_show_arp.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - ip: "10.11.12.11" + mac: "0015b2-a45078" + type: "dynamic" + port: "2" + - ip: "10.11.12.12" + mac: "0c15b2-a45d78" + type: "dynamic" + port: "3" + - ip: "10.11.12.13" + mac: "001eb2-a45f78" + type: "dynamic" + port: "4" diff --git a/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.parsed b/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.parsed deleted file mode 100644 index 06e714b808..0000000000 --- a/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.parsed +++ /dev/null @@ -1,18 +0,0 @@ ---- - -parsed_sample: - -- ip: "10.11.12.11" - mac: "0015b2-a45078" - type: "dynamic" - port: "2" - -- ip: "10.11.12.12" - mac: "0c15b2-a45d78" - type: "dynamic" - port: "3" - -- ip: "10.11.12.13" - mac: "001eb2-a45f78" - type: "dynamic" - port: "Trk1" diff --git a/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.yml b/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.yml new file mode 100644 index 0000000000..b842679560 --- /dev/null +++ b/tests/hp_procurve/show_arp/hp_procurve_show_arp_1.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - ip: "10.11.12.11" + mac: "0015b2-a45078" + type: "dynamic" + port: "2" + - ip: "10.11.12.12" + mac: "0c15b2-a45d78" + type: "dynamic" + port: "3" + - ip: "10.11.12.13" + mac: "001eb2-a45f78" + type: "dynamic" + port: "Trk1" diff --git a/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.parsed b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.parsed deleted file mode 100644 index 863ce43bc7..0000000000 --- a/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.parsed +++ /dev/null @@ -1,15 +0,0 @@ ---- -parsed_sample: - -- mac: '500000-260000' - port: Trk1 - vlan: '17' -- mac: '500000-a80009' - port: Trk1 - vlan: '10' -- mac: '500000-260000' - port: Trk1 - vlan: '50' -- mac: '500000-b70008' - port: '25' - vlan: '50' diff --git a/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.yml b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.yml new file mode 100644 index 0000000000..c135ce59ce --- /dev/null +++ b/tests/hp_procurve/show_mac-address/hp_procurve_show_mac-address.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - mac: "500000-260000" + port: "Trk1" + vlan: "17" + - mac: "500000-a80009" + port: "Trk1" + vlan: "10" + - mac: "500000-260000" + port: "Trk1" + vlan: "50" + - mac: "500000-b70008" + port: "25" + vlan: "50" diff --git a/tests/hp_procurve/show_system/hp_procurve_show_system.parsed b/tests/hp_procurve/show_system/hp_procurve_show_system.yml similarity index 99% rename from tests/hp_procurve/show_system/hp_procurve_show_system.parsed rename to tests/hp_procurve/show_system/hp_procurve_show_system.yml index b504604af8..9c9ce975c9 100644 --- a/tests/hp_procurve/show_system/hp_procurve_show_system.parsed +++ b/tests/hp_procurve/show_system/hp_procurve_show_system.yml @@ -1,7 +1,5 @@ --- - parsed_sample: - - name: "HP_Procurve-01" contact: "John Smith" location: "Downtown DC2" diff --git a/tests/hp_procurve/show_tech_buffers/hp_procurve_show_tech_buffers.parsed b/tests/hp_procurve/show_tech_buffers/hp_procurve_show_tech_buffers.parsed deleted file mode 100644 index 292ed233f8..0000000000 --- a/tests/hp_procurve/show_tech_buffers/hp_procurve_show_tech_buffers.parsed +++ /dev/null @@ -1,11 +0,0 @@ ---- - -parsed_sample: - -- product: "HP J9091A" - name: "HP Switch E8212zl" - date: "Apr 20 2012 12:34:21" - build: "13" - version: "K.15.06.0017" - cpu: "PPC85XX" - diff --git a/tests/hp_procurve/show_tech_buffers/hp_procurve_show_tech_buffers.yml b/tests/hp_procurve/show_tech_buffers/hp_procurve_show_tech_buffers.yml new file mode 100644 index 0000000000..33efefe907 --- /dev/null +++ b/tests/hp_procurve/show_tech_buffers/hp_procurve_show_tech_buffers.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - product: "HP J9091A" + name: "HP Switch E8212zl" + date: "Apr 20 2012 12:34:21" + build: "13" + version: "K.15.06.0017" + cpu: "PPC85XX" diff --git a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans.parsed b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans.yml similarity index 87% rename from tests/hp_procurve/show_vlans/hp_procurve_show_vlans.parsed rename to tests/hp_procurve/show_vlans/hp_procurve_show_vlans.yml index ce19b42d48..dd67b28c4f 100644 --- a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans.parsed +++ b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans.yml @@ -15,9 +15,6 @@ parsed_sample: status: "Port-based" voice: "No" jumbo: "No" - status: "Port-based" - voice: "No" - jumbo: "No" - name: "MANAGEMENT" vlan_id: "996" status: "Port-based" diff --git a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans2.parsed b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans2.parsed deleted file mode 100644 index 878c3e5548..0000000000 --- a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans2.parsed +++ /dev/null @@ -1,21 +0,0 @@ ---- - -parsed_sample: - -- name: "DEFAULT_VLAN" - vlan_id: "1" - status: "Port-based" - voice: "No" - jumbo: "No" - -- name: "Router Vlan" - vlan_id: "10" - status: "Port-based" - voice: "No" - jumbo: "No" - -- name: "Voice" - vlan_id: "50" - status: "Port-based" - voice: "Yes" - jumbo: "No" diff --git a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans2.yml b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans2.yml new file mode 100644 index 0000000000..ac93a543c2 --- /dev/null +++ b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans2.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - name: "DEFAULT_VLAN" + vlan_id: "1" + status: "Port-based" + voice: "No" + jumbo: "No" + - name: "Router Vlan" + vlan_id: "10" + status: "Port-based" + voice: "No" + jumbo: "No" + - name: "Voice" + vlan_id: "50" + status: "Port-based" + voice: "Yes" + jumbo: "No" diff --git a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans3.parsed b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans3.parsed deleted file mode 100644 index 6f96a61425..0000000000 --- a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans3.parsed +++ /dev/null @@ -1,15 +0,0 @@ ---- - -parsed_sample: - -- name: "DEFAULT_VLAN" - jumbo: "" - vlan_id: "1" - status: "Port-based" - voice: "No" - -- name: "VoiceVlan" - jumbo: "" - vlan_id: "100" - status: "Port-based" - voice: "Yes" diff --git a/tests/hp_procurve/show_vlans/hp_procurve_show_vlans3.yml b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans3.yml new file mode 100644 index 0000000000..5f803cacfb --- /dev/null +++ b/tests/hp_procurve/show_vlans/hp_procurve_show_vlans3.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - name: "DEFAULT_VLAN" + jumbo: "" + vlan_id: "1" + status: "Port-based" + voice: "No" + - name: "VoiceVlan" + jumbo: "" + vlan_id: "100" + status: "Port-based" + voice: "Yes" diff --git a/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.parsed b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.parsed deleted file mode 100644 index 94e6fb40b4..0000000000 --- a/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.parsed +++ /dev/null @@ -1,129 +0,0 @@ ---- -parsed_sample: - -- interface: 'Aux0/0/1' - phy: 'down' - protocol: 'down' - inuti: '0%' - oututi: '0%' - inerrors: '0' - outerrors: '0' -- interface: 'Eth-Trunk2' - phy: 'up' - protocol: 'up' - inuti: '0%' - oututi: '0.38%' - inerrors: '0' - outerrors: '0' -- interface: 'GigabitEthernet8/1/16' - phy: 'up' - protocol: 'up' - inuti: '0%' - oututi: '0.04%' - inerrors: '0' - outerrors: '0' -- interface: 'GigabitEthernet8/1/17' - phy: 'up' - protocol: 'up' - inuti: '0%' - oututi: '1.66%' - inerrors: '0' - outerrors: '0' -- interface: 'GigabitEthernet8/1/18' - phy: 'up' - protocol: 'up' - inuti: '0%' - oututi: '0.01%' - inerrors: '0' - outerrors: '0' -- interface: 'GigabitEthernet8/1/19' - phy: 'up' - protocol: 'up' - inuti: '0%' - oututi: '0%' - inerrors: '0' - outerrors: '0' -- interface: 'GigabitEthernet8/1/20' - phy: 'up' - protocol: 'up' - inuti: '0%' - oututi: '0.47%' - inerrors: '0' - outerrors: '0' -- interface: 'Eth-Trunk3' - phy: 'up' - protocol: 'up' - inuti: '0%' - oututi: '0%' - inerrors: '0' - outerrors: '0' -- interface: 'GigabitEthernet8/1/21' - phy: 'up' - protocol: 'up' - inuti: '0%' - oututi: '0%' - inerrors: '0' - outerrors: '0' -- interface: 'GigabitEthernet8/1/22' - phy: 'up' - protocol: 'up' - inuti: '0%' - oututi: '0%' - inerrors: '0' - outerrors: '0' -- interface: 'GigabitEthernet8/1/23' - phy: 'up' - protocol: 'up' - inuti: '0.01%' - oututi: '0.01%' - inerrors: '0' - outerrors: '0' -- interface: 'Eth-Trunk4' - phy: 'up' - protocol: 'down' - inuti: '0.69%' - oututi: '13.57%' - inerrors: '4625' - outerrors: '0' -- interface: 'GigabitEthernet15/1/0(10G)' - phy: 'up' - protocol: 'up' - inuti: '0.69%' - oututi: '14.30%' - inerrors: '0' - outerrors: '0' -- interface: 'GigabitEthernet16/0/1(10G)' - phy: 'up' - protocol: 'up' - inuti: '0.71%' - oututi: '12.84%' - inerrors: '4625' - outerrors: '0' -- interface: 'Eth-Trunk4.10' - phy: 'up' - protocol: 'up' - inuti: '0.69%' - oututi: '13.57%' - inerrors: '0' - outerrors: '0' -- interface: 'Eth-Trunk5' - phy: 'up' - protocol: 'down' - inuti: '0.01%' - oututi: '0%' - inerrors: '0' - outerrors: '0' -- interface: 'GigabitEthernet4/0/4(10G)' - phy: 'up' - protocol: 'up' - inuti: '0.01%' - oututi: '0%' - inerrors: '0' - outerrors: '0' -- interface: 'Eth-Trunk5.100' - phy: 'up' - protocol: 'up' - inuti: '0%' - oututi: '0%' - inerrors: '0' - outerrors: '0' diff --git a/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.yml b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.yml new file mode 100644 index 0000000000..ee12627f02 --- /dev/null +++ b/tests/huawei_vrp/display_interface_brief/huawei_vrp_display_interface_brief.yml @@ -0,0 +1,128 @@ +--- +parsed_sample: + - interface: "Aux0/0/1" + phy: "down" + protocol: "down" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "Eth-Trunk2" + phy: "up" + protocol: "up" + inuti: "0%" + oututi: "0.38%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet8/1/16" + phy: "up" + protocol: "up" + inuti: "0%" + oututi: "0.04%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet8/1/17" + phy: "up" + protocol: "up" + inuti: "0%" + oututi: "1.66%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet8/1/18" + phy: "up" + protocol: "up" + inuti: "0%" + oututi: "0.01%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet8/1/19" + phy: "up" + protocol: "up" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet8/1/20" + phy: "up" + protocol: "up" + inuti: "0%" + oututi: "0.47%" + inerrors: "0" + outerrors: "0" + - interface: "Eth-Trunk3" + phy: "up" + protocol: "up" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet8/1/21" + phy: "up" + protocol: "up" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet8/1/22" + phy: "up" + protocol: "up" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet8/1/23" + phy: "up" + protocol: "up" + inuti: "0.01%" + oututi: "0.01%" + inerrors: "0" + outerrors: "0" + - interface: "Eth-Trunk4" + phy: "up" + protocol: "down" + inuti: "0.69%" + oututi: "13.57%" + inerrors: "4625" + outerrors: "0" + - interface: "GigabitEthernet15/1/0(10G)" + phy: "up" + protocol: "up" + inuti: "0.69%" + oututi: "14.30%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet16/0/1(10G)" + phy: "up" + protocol: "up" + inuti: "0.71%" + oututi: "12.84%" + inerrors: "4625" + outerrors: "0" + - interface: "Eth-Trunk4.10" + phy: "up" + protocol: "up" + inuti: "0.69%" + oututi: "13.57%" + inerrors: "0" + outerrors: "0" + - interface: "Eth-Trunk5" + phy: "up" + protocol: "down" + inuti: "0.01%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "GigabitEthernet4/0/4(10G)" + phy: "up" + protocol: "up" + inuti: "0.01%" + oututi: "0%" + inerrors: "0" + outerrors: "0" + - interface: "Eth-Trunk5.100" + phy: "up" + protocol: "up" + inuti: "0%" + oututi: "0%" + inerrors: "0" + outerrors: "0" diff --git a/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.parsed b/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.parsed deleted file mode 100644 index 7a33495a75..0000000000 --- a/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.parsed +++ /dev/null @@ -1,47 +0,0 @@ ---- -parsed_sample: - -- slotid: "SlotID2" - pcb: "LPUF41A" - status: "NORMAL" - temperature: "38" - -- slotid: "SlotID2" - pcb: "LPUF41A" - status: "NORMAL" - temperature: "36" - -- slotid: "SlotID2" - pcb: "LPUF41A" - status: "NORMAL" - temperature: "28" - -- slotid: "SlotID2" - pcb: "LPUF41A" - status: "NORMAL" - temperature: "55" - -- slotid: "SlotID2" - pcb: "LPUF41A" - status: "NORMAL" - temperature: "37" - -- slotid: "SlotID2" - pcb: "LPUF41A" - status: "NORMAL" - temperature: "41" - -- slotid: "SlotID2" - pcb: "EFGF" - status: "NORMAL" - temperature: "30" - -- slotid: "SlotID2" - pcb: "EFGF" - status: "NORMAL" - temperature: "36" - -- slotid: "SlotID27" - pcb: "FAN" - status: "NORMAL" - temperature: "25" diff --git a/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.yml b/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.yml new file mode 100644 index 0000000000..2f5d3eb383 --- /dev/null +++ b/tests/huawei_vrp/display_temperature/huawei_vrp_display_temperature.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "38" + - slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "36" + - slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "28" + - slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "55" + - slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "37" + - slotid: "SlotID2" + pcb: "LPUF41A" + status: "NORMAL" + temperature: "41" + - slotid: "SlotID2" + pcb: "EFGF" + status: "NORMAL" + temperature: "30" + - slotid: "SlotID2" + pcb: "EFGF" + status: "NORMAL" + temperature: "36" + - slotid: "SlotID27" + pcb: "FAN" + status: "NORMAL" + temperature: "25" diff --git a/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.parsed b/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.parsed deleted file mode 100644 index dd151dbed3..0000000000 --- a/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.parsed +++ /dev/null @@ -1,38 +0,0 @@ ---- -parsed_sample: -- mac: "00:00:00:00:00:04" - ip_address: "10.1.100.130" - interface: "vlan.20" - flags: "none" -- mac: "00:00:00:00:00:05" - ip_address: "10.1.100.132" - interface: "vlan.20" - flags: "none" -- mac: "00:00:00:00:00:08" - ip_address: "10.1.100.72" - interface: "vlan.20" - flags: "none" -- mac: "00:00:00:00:00:09" - ip_address: "10.1.100.73" - interface: "vlan.20" - flags: "none" -- mac: "00:00:00:00:00:0a" - ip_address: "10.1.100.74" - interface: "vlan.20" - flags: "none" -- mac: "00:00:00:00:00:0b" - ip_address: "10.1.100.75" - interface: "vlan.20" - flags: "none" -- mac: "00:00:00:00:00:0c" - ip_address: "10.1.100.76" - interface: "vlan.20" - flags: "none" -- mac: "00:00:00:00:11:11" - ip_address: "10.1.111.11" - interface: "vlan.20" - flags: "none" -- mac: "00:00:00:00:13:13" - ip_address: "10.1.13.13" - interface: "vlan.20" - flags: "none" diff --git a/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.yml b/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.yml new file mode 100644 index 0000000000..51ffa4d012 --- /dev/null +++ b/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - mac: "00:00:00:00:00:04" + ip_address: "10.1.100.130" + interface: "vlan.20" + flags: "none" + - mac: "00:00:00:00:00:05" + ip_address: "10.1.100.132" + interface: "vlan.20" + flags: "none" + - mac: "00:00:00:00:00:08" + ip_address: "10.1.100.72" + interface: "vlan.20" + flags: "none" + - mac: "00:00:00:00:00:09" + ip_address: "10.1.100.73" + interface: "vlan.20" + flags: "none" + - mac: "00:00:00:00:00:0a" + ip_address: "10.1.100.74" + interface: "vlan.20" + flags: "none" + - mac: "00:00:00:00:00:0b" + ip_address: "10.1.100.75" + interface: "vlan.20" + flags: "none" + - mac: "00:00:00:00:00:0c" + ip_address: "10.1.100.76" + interface: "vlan.20" + flags: "none" + - mac: "00:00:00:00:11:11" + ip_address: "10.1.111.11" + interface: "vlan.20" + flags: "none" + - mac: "00:00:00:00:13:13" + ip_address: "10.1.13.13" + interface: "vlan.20" + flags: "none" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed deleted file mode 100644 index b2a8a2ebfd..0000000000 --- a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.parsed +++ /dev/null @@ -1,192 +0,0 @@ ---- -parsed_sample: -- control_link_status: "Up" - fabric_link_status: "" - link_type: "Control" - index: "0" - interface: "em0" - status: "Up" - security: "Disabled" - child_interface: "" - redundancy_group: "" - weight: "" -- control_link_status: "Up" - fabric_link_status: "" - link_type: "Control" - index: "1" - interface: "em1" - status: "Down" - security: "Disabled" - child_interface: "" - redundancy_group: "" - weight: "" -- control_link_status: "" - fabric_link_status: "Up" - link_type: "Fabric" - index: "" - interface: "fab0" - status: "Up / Down" - security: "" - child_interface: "ge-0/1/0" - redundancy_group: "" - weight: "" -- control_link_status: "" - fabric_link_status: "Up" - link_type: "Fabric" - index: "" - interface: "fab1" - status: "Up/Down" - security: "" - child_interface: "ge-6/1/0" - redundancy_group: "" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth0" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "1" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth1" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "2" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth2" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth3" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth4" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth5" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth6" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth7" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth8" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth9" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth10" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth11" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-pseudo-interface" - index: "" - interface: "lo0" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "1" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "" - index: "" - interface: "ge-0/1/9" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "0" - weight: "100" -- control_link_status: "" - fabric_link_status: "" - link_type: "" - index: "" - interface: "ge-0/1/9" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "" - weight: "100" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.yml b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.yml new file mode 100644 index 0000000000..0eb5d7caaf --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces.yml @@ -0,0 +1,192 @@ +--- +parsed_sample: + - control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "em0" + status: "Up" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" + - control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "1" + interface: "em1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" + - control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Up / Down" + security: "" + child_interface: "ge-0/1/0" + redundancy_group: "" + weight: "" + - control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab1" + status: "Up/Down" + security: "" + child_interface: "ge-6/1/0" + redundancy_group: "" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "2" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth5" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth6" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth7" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth8" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth9" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth10" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth11" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "100" + - control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "" + weight: "100" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed deleted file mode 100644 index f8ed5253e4..0000000000 --- a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.parsed +++ /dev/null @@ -1,102 +0,0 @@ ---- -parsed_sample: -- control_link_status: "Down" - fabric_link_status: "" - link_type: "Control" - index: "0" - interface: "fxp1" - status: "Down" - security: "Disabled" - child_interface: "" - redundancy_group: "" - weight: "" -- control_link_status: "" - fabric_link_status: "Down" - link_type: "Fabric" - index: "" - interface: "fab0" - status: "Down / Down" - security: "" - child_interface: "ge-0/0/2" - redundancy_group: "" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth0" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "1" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth1" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "3" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth2" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth3" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth4" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-pseudo-interface" - index: "" - interface: "lo0" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "0" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "" - index: "" - interface: "ge-11/0/0" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "1" - weight: "255" -- control_link_status: "" - fabric_link_status: "" - link_type: "" - index: "" - interface: "ge-2/0/0" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "1" - weight: "255" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.yml b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.yml new file mode 100644 index 0000000000..20859929c8 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces2.yml @@ -0,0 +1,102 @@ +--- +parsed_sample: + - control_link_status: "Down" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "fxp1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" + - control_link_status: "" + fabric_link_status: "Down" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Down / Down" + security: "" + child_interface: "ge-0/0/2" + redundancy_group: "" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "3" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-11/0/0" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" + - control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-2/0/0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed deleted file mode 100644 index 1b9829160b..0000000000 --- a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.parsed +++ /dev/null @@ -1,192 +0,0 @@ ---- -parsed_sample: -- control_link_status: "Up" - fabric_link_status: "" - link_type: "Control" - index: "0" - interface: "em0" - status: "Up" - security: "Disabled" - child_interface: "" - redundancy_group: "" - weight: "" -- control_link_status: "Up" - fabric_link_status: "" - link_type: "Control" - index: "1" - interface: "em1" - status: "Down" - security: "Disabled" - child_interface: "" - redundancy_group: "" - weight: "" -- control_link_status: "" - fabric_link_status: "Up" - link_type: "Fabric" - index: "" - interface: "fab0" - status: "Up" - security: "Disabled" - child_interface: "ge-0/1/0" - redundancy_group: "" - weight: "" -- control_link_status: "" - fabric_link_status: "Up" - link_type: "Fabric" - index: "" - interface: "fab1" - status: "Up" - security: "Disabled" - child_interface: "ge-6/1/0" - redundancy_group: "" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth0" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "1" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth1" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "2" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth2" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth3" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth4" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth5" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth6" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth7" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth8" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth9" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth10" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth11" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-pseudo-interface" - index: "" - interface: "lo0" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "1" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "" - index: "" - interface: "ge-0/1/9" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "0" - weight: "100" -- control_link_status: "" - fabric_link_status: "" - link_type: "" - index: "" - interface: "ge-0/1/9" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "" - weight: "100" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.yml b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.yml new file mode 100644 index 0000000000..13e7665bfd --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces3.yml @@ -0,0 +1,192 @@ +--- +parsed_sample: + - control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "em0" + status: "Up" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" + - control_link_status: "Up" + fabric_link_status: "" + link_type: "Control" + index: "1" + interface: "em1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" + - control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Up" + security: "Disabled" + child_interface: "ge-0/1/0" + redundancy_group: "" + weight: "" + - control_link_status: "" + fabric_link_status: "Up" + link_type: "Fabric" + index: "" + interface: "fab1" + status: "Up" + security: "Disabled" + child_interface: "ge-6/1/0" + redundancy_group: "" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "2" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth5" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth6" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth7" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth8" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth9" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth10" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth11" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "100" + - control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-0/1/9" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "" + weight: "100" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed deleted file mode 100644 index f8ed5253e4..0000000000 --- a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.parsed +++ /dev/null @@ -1,102 +0,0 @@ ---- -parsed_sample: -- control_link_status: "Down" - fabric_link_status: "" - link_type: "Control" - index: "0" - interface: "fxp1" - status: "Down" - security: "Disabled" - child_interface: "" - redundancy_group: "" - weight: "" -- control_link_status: "" - fabric_link_status: "Down" - link_type: "Fabric" - index: "" - interface: "fab0" - status: "Down / Down" - security: "" - child_interface: "ge-0/0/2" - redundancy_group: "" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth0" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "1" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth1" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "3" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth2" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth3" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-ethernet" - index: "" - interface: "reth4" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "Not configured" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "Redundant-pseudo-interface" - index: "" - interface: "lo0" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "0" - weight: "" -- control_link_status: "" - fabric_link_status: "" - link_type: "" - index: "" - interface: "ge-11/0/0" - status: "Down" - security: "" - child_interface: "" - redundancy_group: "1" - weight: "255" -- control_link_status: "" - fabric_link_status: "" - link_type: "" - index: "" - interface: "ge-2/0/0" - status: "Up" - security: "" - child_interface: "" - redundancy_group: "1" - weight: "255" diff --git a/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.yml b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.yml new file mode 100644 index 0000000000..20859929c8 --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_interfaces/juniper_junos_show_chassis_cluster_interfaces4.yml @@ -0,0 +1,102 @@ +--- +parsed_sample: + - control_link_status: "Down" + fabric_link_status: "" + link_type: "Control" + index: "0" + interface: "fxp1" + status: "Down" + security: "Disabled" + child_interface: "" + redundancy_group: "" + weight: "" + - control_link_status: "" + fabric_link_status: "Down" + link_type: "Fabric" + index: "" + interface: "fab0" + status: "Down / Down" + security: "" + child_interface: "ge-0/0/2" + redundancy_group: "" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth1" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "3" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth2" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth3" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-ethernet" + index: "" + interface: "reth4" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "Not configured" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "Redundant-pseudo-interface" + index: "" + interface: "lo0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "0" + weight: "" + - control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-11/0/0" + status: "Down" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" + - control_link_status: "" + fabric_link_status: "" + link_type: "" + index: "" + interface: "ge-2/0/0" + status: "Up" + security: "" + child_interface: "" + redundancy_group: "1" + weight: "255" diff --git a/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.parsed b/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.parsed deleted file mode 100644 index 329a032768..0000000000 --- a/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.parsed +++ /dev/null @@ -1,29 +0,0 @@ ---- -parsed_sample: - - cluster_id: "1" - redundancy_group_id: "0" - failover_count: "1" - node: ["node0", "node1"] - priority: ["100", "0"] - status: ["primary", "lost"] - preempt: ["no", "n/a"] - manual: ["no", "n/a"] - monitor_failures: ["None", "n/a"] - - cluster_id: "1" - redundancy_group_id: "1" - failover_count: "1" - node: ["node0", "node1"] - priority: ["0", "0"] - status: ["primary", "lost"] - preempt: ["no", "n/a"] - manual: ["no", "n/a"] - monitor_failures: ["CS", "n/a"] - - cluster_id: "1" - redundancy_group_id: "3" - failover_count: "1" - node: ["node0", "node1"] - priority: ["0", "0"] - status: ["primary", "lost"] - preempt: ["no", "n/a"] - manual: ["no", "n/a"] - monitor_failures: ["CS", "n/a"] diff --git a/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.yml b/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.yml new file mode 100644 index 0000000000..cef40446bc --- /dev/null +++ b/tests/juniper_junos/show_chassis_cluster_status/juniper_junos_show_chassis_cluster_status.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - cluster_id: "1" + redundancy_group_id: "0" + failover_count: "1" + node: + - "node0" + - "node1" + priority: + - "100" + - "0" + status: + - "primary" + - "lost" + preempt: + - "no" + - "n/a" + manual: + - "no" + - "n/a" + monitor_failures: + - "None" + - "n/a" + - cluster_id: "1" + redundancy_group_id: "1" + failover_count: "1" + node: + - "node0" + - "node1" + priority: + - "0" + - "0" + status: + - "primary" + - "lost" + preempt: + - "no" + - "n/a" + manual: + - "no" + - "n/a" + monitor_failures: + - "CS" + - "n/a" + - cluster_id: "1" + redundancy_group_id: "3" + failover_count: "1" + node: + - "node0" + - "node1" + priority: + - "0" + - "0" + status: + - "primary" + - "lost" + preempt: + - "no" + - "n/a" + manual: + - "no" + - "n/a" + monitor_failures: + - "CS" + - "n/a" diff --git a/tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.parsed b/tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.parsed deleted file mode 100644 index 8a9741f112..0000000000 --- a/tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.parsed +++ /dev/null @@ -1,450 +0,0 @@ ---- -parsed_sample: - -- part: 'FPC' - type: 'ROM' - version: 'PC Bios' -- part: 'FPC' - type: 'O/S' - version: '15.1F4.15' -- part: 'FPC' - type: 'O/S' - version: '15.1X49-D15' -- part: 'FWDD' - type: 'O/S' - version: '15.1X49-D15' -- part: 'Forwarding engine board' - type: 'ROM' - version: '4.1b2' -- part: 'Forwarding engine board' - type: 'O/S' - version: '4.1I1' -- part: 'System switch board' - type: 'ROM' - version: '3.4b26' -- part: 'System switch board' - type: 'O/S' - version: '3.4I16' -- part: 'FPC 1' - type: 'ROM' - version: '3.0b1' -- part: 'FPC 1' - type: 'O/S' - version: '3.4I4' -- part: 'FPC 2' - type: 'ROM' - version: '3.0b1' -- part: 'FPC 2' - type: 'O/S' - version: '3.4I4' -- part: 'System control board' - type: 'ROM' - version: '2.0i126' -- part: 'System control board' - type: 'O/S' - version: '2.0i1' -- part: 'FPC 5' - type: 'ROM' - version: '2.0i49' -- part: 'FPC 5' - type: 'O/S' - version: '2.0i1' -- part: 'FPC 2' - type: 'ROM' - version: '8.0b29' -- part: 'FPC 2' - type: 'O/S' - version: '8.2B1' -- part: 'FPC 3' - type: 'ROM' - version: '8.0b29' -- part: 'FPC 3' - type: 'O/S' - version: '8.2B1' -- part: 'FPC 4' - type: 'ROM' - version: '8.0b29' -- part: 'FPC 4' - type: 'O/S' - version: '8.2B1' -- part: 'FEB 3' - type: 'ROM' - version: '8.0b29' -- part: 'FEB 3' - type: 'O/S' - version: '8.2B1' -- part: 'FEB 4' - type: 'ROM' - version: '8.0b29' -- part: 'FEB 4' - type: 'O/S' - version: '8.2B1' -- part: 'SFM 0' - type: 'ROM' - version: '4.0b2' -- part: 'SFM 0' - type: 'O/S' - version: '4.0I1' -- part: 'SFM 1' - type: 'ROM' - version: '4.0b2' -- part: 'SFM 1' - type: 'O/S' - version: '4.0I1' -- part: 'FPC 0' - type: 'ROM' - version: '4.0b2' -- part: 'FPC 0' - type: 'O/S' - version: '4.0I1' -- part: 'FPC 1' - type: 'ROM' - version: '4.0b2' -- part: 'FPC 1' - type: 'O/S' - version: '4.0I1' -- part: 'FPC 2' - type: 'ROM' - version: '4.0b3' -- part: 'FPC 2' - type: 'O/S' - version: '4.0I1' -- part: 'FPC 0' - type: 'ROM' - version: '13.1b24' -- part: 'FPC 0' - type: 'O/S' - version: '13.2-20130514.1' -- part: 'FPC 1' - type: 'ROM' - version: '13.1b24' -- part: 'FPC 1' - type: 'O/S' - version: '13.2-20130514.1' -- part: 'FPC 2' - type: 'ROM' - version: '13.1b24' -- part: 'FPC 2' - type: 'O/S' - version: '13.2-20130514.1' -- part: 'AFEB' - type: 'ROM' - version: '13.1b24' -- part: 'AFEB' - type: 'O/S' - version: '13.2-20130514.1' -- part: 'FPC 1' - type: 'ROM' - version: '8.3b1' -- part: 'FPC 1' - type: 'O/S' - version: '9.0-20080103.0' -- part: 'FPC 2' - type: 'ROM' - version: '8.3b1' -- part: 'FPC 2' - type: 'O/S' - version: '9.0-20080103.0' -- part: 'FPC 1' - type: 'ROM' - version: '8.3b1' -- part: 'FPC 1' - type: 'O/S' - version: '9.0-20070916.3' -- part: 'FPC 4' - type: 'ROM' - version: '8.0b8' -- part: 'FPC 4' - type: 'O/S' - version: '8.2I59' -- part: 'FPC 7' - type: 'ROM' - version: '8.2b1' -- part: 'FPC 7' - type: 'O/S' - version: '8.2-20061026.1' -- part: 'FPC 0' - type: 'ROM' - version: '12.3b1' -- part: 'FPC 0' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'FPC 1' - type: 'ROM' - version: '10.1b3' -- part: 'FPC 1' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'FPC 2' - type: 'ROM' - version: '10.1b3' -- part: 'FPC 2' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'FPC 3' - type: 'ROM' - version: '10.1b3' -- part: 'FPC 3' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'FPC 4' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 4' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'FPC 5' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 5' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'FPC 6' - type: 'ROM' - version: '10.4b1' -- part: 'FPC 6' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'FPC 7' - type: 'ROM' - version: '10.1b3' -- part: 'FPC 7' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'FPC 8' - type: 'ROM' - version: '10.4b1' -- part: 'FPC 8' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'FPC 9' - type: 'ROM' - version: '10.4b1' -- part: 'FPC 9' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'SPMB 0' - type: 'ROM' - version: '12.1b1' -- part: 'SPMB 0' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'SPMB 1' - type: 'ROM' - version: '12.1b1' -- part: 'SPMB 1' - type: 'O/S' - version: '12.3-20121220.0' -- part: 'FPC 0' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 0' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 1' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 1' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 2' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 2' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 3' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 3' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 4' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 4' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 5' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 5' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 6' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 6' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 7' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 7' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 8' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 8' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 9' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 9' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 10' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 10' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 11' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 11' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 12' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 12' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 13' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 13' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 14' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 14' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 15' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 15' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 16' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 16' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 17' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 17' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 18' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 18' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 19' - type: 'ROM' - version: '10.0b39' -- part: 'FPC 19' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'SPMB 0' - type: 'ROM' - version: '12.1b1' -- part: 'SPMB 0' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'SPMB 1' - type: 'ROM' - version: '12.1b1' -- part: 'SPMB 1' - type: 'O/S' - version: '12.3-20130415.0' -- part: 'FPC 1' - type: 'ROM' - version: '12.1b1' -- part: 'FPC 1' - type: 'O/S' - version: '12.2I21' -- part: 'FPC 0' - type: 'uboot' - version: '- 11:27:42)' -- part: 'FPC 0' - type: 'loader' - version: '2.1' -- part: 'FPC 1' - type: 'uboot' - version: '- 11:27:42)' -- part: 'FPC 1' - type: 'loader' - version: '2.1' -- part: 'FPC 2' - type: 'uboot' - version: '- 11:27:42)' -- part: 'FPC 2' - type: 'loader' - version: '2.1' -- part: 'FPC 0' - type: 'U-Boot' - version: '4.0' -- part: 'FPC 0' - type: 'loader' - version: '2.2' -- part: 'FPC 3' - type: 'U-Boot' - version: '1.0' -- part: 'FPC 3' - type: 'loader' - version: '2.2' -- part: 'FPC 5' - type: 'U-Boot' - version: '4.0' -- part: 'FPC 5' - type: 'loader' - version: '2.2' -- part: 'FPC 7' - type: 'U-Boot' - version: '4.0' -- part: 'FPC 7' - type: 'loader' - version: '2.2' -- part: 'Routing Engine 0' - type: 'U-Boot' - version: '4.0' -- part: 'Routing Engine 0' - type: 'loader' - version: '2.2' -- part: 'Routing Engine 1' - type: 'U-Boot' - version: '4.0' -- part: 'Routing Engine 1' - type: 'loader' - version: '2.2' -- part: 'FPC 1' - type: 'ROM' - version: '6.4b18' -- part: 'FPC 1' - type: 'O/S' - version: '7.0-20040804.0' -- part: 'FPC 2' - type: 'ROM' - version: '6.4b20' -- part: 'FPC 2' - type: 'O/S' - version: '7.0-20040804.0' -- part: 'SPMB 0' - type: 'ROM' - version: '6.4b18' -- part: 'SPMB 0' - type: 'O/S' - version: '7.0-20040804.0' -- part: 'SPMB 0' - type: 'O/S' - version: '7.0-20040804.0' \ No newline at end of file diff --git a/tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.yml b/tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.yml new file mode 100644 index 0000000000..fba667b720 --- /dev/null +++ b/tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.yml @@ -0,0 +1,449 @@ +--- +parsed_sample: + - part: "FPC" + type: "ROM" + version: "PC Bios" + - part: "FPC" + type: "O/S" + version: "15.1F4.15" + - part: "FPC" + type: "O/S" + version: "15.1X49-D15" + - part: "FWDD" + type: "O/S" + version: "15.1X49-D15" + - part: "Forwarding engine board" + type: "ROM" + version: "4.1b2" + - part: "Forwarding engine board" + type: "O/S" + version: "4.1I1" + - part: "System switch board" + type: "ROM" + version: "3.4b26" + - part: "System switch board" + type: "O/S" + version: "3.4I16" + - part: "FPC 1" + type: "ROM" + version: "3.0b1" + - part: "FPC 1" + type: "O/S" + version: "3.4I4" + - part: "FPC 2" + type: "ROM" + version: "3.0b1" + - part: "FPC 2" + type: "O/S" + version: "3.4I4" + - part: "System control board" + type: "ROM" + version: "2.0i126" + - part: "System control board" + type: "O/S" + version: "2.0i1" + - part: "FPC 5" + type: "ROM" + version: "2.0i49" + - part: "FPC 5" + type: "O/S" + version: "2.0i1" + - part: "FPC 2" + type: "ROM" + version: "8.0b29" + - part: "FPC 2" + type: "O/S" + version: "8.2B1" + - part: "FPC 3" + type: "ROM" + version: "8.0b29" + - part: "FPC 3" + type: "O/S" + version: "8.2B1" + - part: "FPC 4" + type: "ROM" + version: "8.0b29" + - part: "FPC 4" + type: "O/S" + version: "8.2B1" + - part: "FEB 3" + type: "ROM" + version: "8.0b29" + - part: "FEB 3" + type: "O/S" + version: "8.2B1" + - part: "FEB 4" + type: "ROM" + version: "8.0b29" + - part: "FEB 4" + type: "O/S" + version: "8.2B1" + - part: "SFM 0" + type: "ROM" + version: "4.0b2" + - part: "SFM 0" + type: "O/S" + version: "4.0I1" + - part: "SFM 1" + type: "ROM" + version: "4.0b2" + - part: "SFM 1" + type: "O/S" + version: "4.0I1" + - part: "FPC 0" + type: "ROM" + version: "4.0b2" + - part: "FPC 0" + type: "O/S" + version: "4.0I1" + - part: "FPC 1" + type: "ROM" + version: "4.0b2" + - part: "FPC 1" + type: "O/S" + version: "4.0I1" + - part: "FPC 2" + type: "ROM" + version: "4.0b3" + - part: "FPC 2" + type: "O/S" + version: "4.0I1" + - part: "FPC 0" + type: "ROM" + version: "13.1b24" + - part: "FPC 0" + type: "O/S" + version: "13.2-20130514.1" + - part: "FPC 1" + type: "ROM" + version: "13.1b24" + - part: "FPC 1" + type: "O/S" + version: "13.2-20130514.1" + - part: "FPC 2" + type: "ROM" + version: "13.1b24" + - part: "FPC 2" + type: "O/S" + version: "13.2-20130514.1" + - part: "AFEB" + type: "ROM" + version: "13.1b24" + - part: "AFEB" + type: "O/S" + version: "13.2-20130514.1" + - part: "FPC 1" + type: "ROM" + version: "8.3b1" + - part: "FPC 1" + type: "O/S" + version: "9.0-20080103.0" + - part: "FPC 2" + type: "ROM" + version: "8.3b1" + - part: "FPC 2" + type: "O/S" + version: "9.0-20080103.0" + - part: "FPC 1" + type: "ROM" + version: "8.3b1" + - part: "FPC 1" + type: "O/S" + version: "9.0-20070916.3" + - part: "FPC 4" + type: "ROM" + version: "8.0b8" + - part: "FPC 4" + type: "O/S" + version: "8.2I59" + - part: "FPC 7" + type: "ROM" + version: "8.2b1" + - part: "FPC 7" + type: "O/S" + version: "8.2-20061026.1" + - part: "FPC 0" + type: "ROM" + version: "12.3b1" + - part: "FPC 0" + type: "O/S" + version: "12.3-20121220.0" + - part: "FPC 1" + type: "ROM" + version: "10.1b3" + - part: "FPC 1" + type: "O/S" + version: "12.3-20121220.0" + - part: "FPC 2" + type: "ROM" + version: "10.1b3" + - part: "FPC 2" + type: "O/S" + version: "12.3-20121220.0" + - part: "FPC 3" + type: "ROM" + version: "10.1b3" + - part: "FPC 3" + type: "O/S" + version: "12.3-20121220.0" + - part: "FPC 4" + type: "ROM" + version: "10.0b39" + - part: "FPC 4" + type: "O/S" + version: "12.3-20121220.0" + - part: "FPC 5" + type: "ROM" + version: "10.0b39" + - part: "FPC 5" + type: "O/S" + version: "12.3-20121220.0" + - part: "FPC 6" + type: "ROM" + version: "10.4b1" + - part: "FPC 6" + type: "O/S" + version: "12.3-20121220.0" + - part: "FPC 7" + type: "ROM" + version: "10.1b3" + - part: "FPC 7" + type: "O/S" + version: "12.3-20121220.0" + - part: "FPC 8" + type: "ROM" + version: "10.4b1" + - part: "FPC 8" + type: "O/S" + version: "12.3-20121220.0" + - part: "FPC 9" + type: "ROM" + version: "10.4b1" + - part: "FPC 9" + type: "O/S" + version: "12.3-20121220.0" + - part: "SPMB 0" + type: "ROM" + version: "12.1b1" + - part: "SPMB 0" + type: "O/S" + version: "12.3-20121220.0" + - part: "SPMB 1" + type: "ROM" + version: "12.1b1" + - part: "SPMB 1" + type: "O/S" + version: "12.3-20121220.0" + - part: "FPC 0" + type: "ROM" + version: "10.0b39" + - part: "FPC 0" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 1" + type: "ROM" + version: "10.0b39" + - part: "FPC 1" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 2" + type: "ROM" + version: "10.0b39" + - part: "FPC 2" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 3" + type: "ROM" + version: "10.0b39" + - part: "FPC 3" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 4" + type: "ROM" + version: "10.0b39" + - part: "FPC 4" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 5" + type: "ROM" + version: "10.0b39" + - part: "FPC 5" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 6" + type: "ROM" + version: "10.0b39" + - part: "FPC 6" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 7" + type: "ROM" + version: "10.0b39" + - part: "FPC 7" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 8" + type: "ROM" + version: "10.0b39" + - part: "FPC 8" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 9" + type: "ROM" + version: "10.0b39" + - part: "FPC 9" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 10" + type: "ROM" + version: "10.0b39" + - part: "FPC 10" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 11" + type: "ROM" + version: "10.0b39" + - part: "FPC 11" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 12" + type: "ROM" + version: "10.0b39" + - part: "FPC 12" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 13" + type: "ROM" + version: "10.0b39" + - part: "FPC 13" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 14" + type: "ROM" + version: "10.0b39" + - part: "FPC 14" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 15" + type: "ROM" + version: "10.0b39" + - part: "FPC 15" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 16" + type: "ROM" + version: "10.0b39" + - part: "FPC 16" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 17" + type: "ROM" + version: "10.0b39" + - part: "FPC 17" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 18" + type: "ROM" + version: "10.0b39" + - part: "FPC 18" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 19" + type: "ROM" + version: "10.0b39" + - part: "FPC 19" + type: "O/S" + version: "12.3-20130415.0" + - part: "SPMB 0" + type: "ROM" + version: "12.1b1" + - part: "SPMB 0" + type: "O/S" + version: "12.3-20130415.0" + - part: "SPMB 1" + type: "ROM" + version: "12.1b1" + - part: "SPMB 1" + type: "O/S" + version: "12.3-20130415.0" + - part: "FPC 1" + type: "ROM" + version: "12.1b1" + - part: "FPC 1" + type: "O/S" + version: "12.2I21" + - part: "FPC 0" + type: "uboot" + version: "- 11:27:42)" + - part: "FPC 0" + type: "loader" + version: "2.1" + - part: "FPC 1" + type: "uboot" + version: "- 11:27:42)" + - part: "FPC 1" + type: "loader" + version: "2.1" + - part: "FPC 2" + type: "uboot" + version: "- 11:27:42)" + - part: "FPC 2" + type: "loader" + version: "2.1" + - part: "FPC 0" + type: "U-Boot" + version: "4.0" + - part: "FPC 0" + type: "loader" + version: "2.2" + - part: "FPC 3" + type: "U-Boot" + version: "1.0" + - part: "FPC 3" + type: "loader" + version: "2.2" + - part: "FPC 5" + type: "U-Boot" + version: "4.0" + - part: "FPC 5" + type: "loader" + version: "2.2" + - part: "FPC 7" + type: "U-Boot" + version: "4.0" + - part: "FPC 7" + type: "loader" + version: "2.2" + - part: "Routing Engine 0" + type: "U-Boot" + version: "4.0" + - part: "Routing Engine 0" + type: "loader" + version: "2.2" + - part: "Routing Engine 1" + type: "U-Boot" + version: "4.0" + - part: "Routing Engine 1" + type: "loader" + version: "2.2" + - part: "FPC 1" + type: "ROM" + version: "6.4b18" + - part: "FPC 1" + type: "O/S" + version: "7.0-20040804.0" + - part: "FPC 2" + type: "ROM" + version: "6.4b20" + - part: "FPC 2" + type: "O/S" + version: "7.0-20040804.0" + - part: "SPMB 0" + type: "ROM" + version: "6.4b18" + - part: "SPMB 0" + type: "O/S" + version: "7.0-20040804.0" + - part: "SPMB 0" + type: "O/S" + version: "7.0-20040804.0" diff --git a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.parsed b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.parsed deleted file mode 100644 index 5434de302c..0000000000 --- a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.parsed +++ /dev/null @@ -1,43 +0,0 @@ ---- -parsed_sample: -- admin_state: "Enabled" - hardware_type: "Ethernet" - interface: "ge-0/0/0" - link_status: "Up" - mtu: "1514" - -- admin_state: "Enabled" - hardware_type: "GRE" - interface: "gr-0/0/0" - link_status: "Up" - mtu: "Unlimited" - -- admin_state: "Enabled" - hardware_type: "IP-over-IP" - interface: "ip-0/0/0" - link_status: "Up" - mtu: "Unlimited" - -- admin_state: "Enabled" - hardware_type: "LinkService" - interface: "lsq-0/0/0" - link_status: "Up" - mtu: "1504" - -- admin_state: "Enabled" - hardware_type: "Logical-tunnel" - interface: "lt-0/0/0" - link_status: "Up" - mtu: "Unlimited" - -- admin_state: "Enabled" - hardware_type: "GRE" - interface: "mt-0/0/0" - link_status: "Up" - mtu: "Unlimited" - -- admin_state: "Enabled" - hardware_type: "Adaptive-Services" - interface: "sp-0/0/0" - link_status: "Up" - mtu: "9192" diff --git a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.yml b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.yml new file mode 100644 index 0000000000..18143872d7 --- /dev/null +++ b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.yml @@ -0,0 +1,37 @@ +--- +parsed_sample: + - admin_state: "Enabled" + hardware_type: "Ethernet" + interface: "ge-0/0/0" + link_status: "Up" + mtu: "1514" + - admin_state: "Enabled" + hardware_type: "GRE" + interface: "gr-0/0/0" + link_status: "Up" + mtu: "Unlimited" + - admin_state: "Enabled" + hardware_type: "IP-over-IP" + interface: "ip-0/0/0" + link_status: "Up" + mtu: "Unlimited" + - admin_state: "Enabled" + hardware_type: "LinkService" + interface: "lsq-0/0/0" + link_status: "Up" + mtu: "1504" + - admin_state: "Enabled" + hardware_type: "Logical-tunnel" + interface: "lt-0/0/0" + link_status: "Up" + mtu: "Unlimited" + - admin_state: "Enabled" + hardware_type: "GRE" + interface: "mt-0/0/0" + link_status: "Up" + mtu: "Unlimited" + - admin_state: "Enabled" + hardware_type: "Adaptive-Services" + interface: "sp-0/0/0" + link_status: "Up" + mtu: "9192" diff --git a/tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.parsed b/tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.parsed deleted file mode 100644 index 455a467b53..0000000000 --- a/tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.parsed +++ /dev/null @@ -1,37 +0,0 @@ ---- -parsed_sample: - -- interface: 'ge-0/0/2.0' - system_id: 'CSR2' - type: '1' - state: 'Up' - hold_time: '22' - snpa: '50:0:0:2:0:1' - -- interface: 'ge-0/0/2.0' - system_id: 'CSR2' - type: '2' - state: 'Up' - hold_time: '25' - snpa: '50:0:0:2:0:1' - -- interface: 'ge-0/0/2.0' - system_id: 'XRv3' - type: '1' - state: 'Up' - hold_time: '8' - snpa: '50:0:0:3:0:2' - -- interface: 'ge-0/0/2.0' - system_id: 'XRv3' - type: '2' - state: 'Up' - hold_time: '8' - snpa: '50:0:0:3:0:2' - -- interface: 'ge-0/0/3.0' - system_id: 'XRv3' - type: '3' - state: 'Up' - hold_time: '25' - snpa: '' diff --git a/tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.yml b/tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.yml new file mode 100644 index 0000000000..f8a227d920 --- /dev/null +++ b/tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - interface: "ge-0/0/2.0" + system_id: "CSR2" + type: "1" + state: "Up" + hold_time: "22" + snpa: "50:0:0:2:0:1" + - interface: "ge-0/0/2.0" + system_id: "CSR2" + type: "2" + state: "Up" + hold_time: "25" + snpa: "50:0:0:2:0:1" + - interface: "ge-0/0/2.0" + system_id: "XRv3" + type: "1" + state: "Up" + hold_time: "8" + snpa: "50:0:0:3:0:2" + - interface: "ge-0/0/2.0" + system_id: "XRv3" + type: "2" + state: "Up" + hold_time: "8" + snpa: "50:0:0:3:0:2" + - interface: "ge-0/0/3.0" + system_id: "XRv3" + type: "3" + state: "Up" + hold_time: "25" + snpa: "" diff --git a/tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.parsed b/tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.parsed deleted file mode 100644 index eb63a905b3..0000000000 --- a/tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.parsed +++ /dev/null @@ -1,17 +0,0 @@ ---- - -parsed_sample: - -- address: "10.1.2.2" - interface: "ge-0/0/2.0" - state: "Full" - neighbor_id: "2.2.2.2" - priority: "1" - dead_time: "37" - -- address: "10.1.3.3" - interface: "ge-0/0/3.0" - state: "Full" - neighbor_id: "3.3.3.3" - priority: "1" - dead_time: "31" diff --git a/tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.yml b/tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.yml new file mode 100644 index 0000000000..ee79e50892 --- /dev/null +++ b/tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - address: "10.1.2.2" + interface: "ge-0/0/2.0" + state: "Full" + neighbor_id: "2.2.2.2" + priority: "1" + dead_time: "37" + - address: "10.1.3.3" + interface: "ge-0/0/3.0" + state: "Full" + neighbor_id: "3.3.3.3" + priority: "1" + dead_time: "31" diff --git a/tests/juniper_junos/show_version/juniper_junos_show_version.parsed b/tests/juniper_junos/show_version/juniper_junos_show_version.parsed deleted file mode 100644 index 03a8389b9d..0000000000 --- a/tests/juniper_junos/show_version/juniper_junos_show_version.parsed +++ /dev/null @@ -1,40 +0,0 @@ ---- -parsed_sample: -- hostname: "lab" - model: "mx240" - junos_version: "13.3R1.4" - base_os_boot: "13.3R1.4" - base_os_software_suite: "13.3R1.4" - kernel_software_suite: "13.3R1.4" - crypto_software_suite: "13.3R1.4" - packet_forwarding_engine_support_m_t_ex_common: "13.3R1.4" - packet_forwarding_engine_support_mx_common: "13.3R1.4" - online_documentation: "113.3R1.4" - services_aacl_container_package: "13.3R1.4" - services_application_level_gateways: "13.3R1.4" - appid_services: "13.3R1.4" - border_gateway_function_package: "13.3R1.4" - services_captive_portal_content_delivery_package: "13.3R1.4" - services_http_content_management_package: "13.3R1.4" - idp_services: "13.3R1.4" - services_jflow_container_package: "13.3R1.4" - services_ll_pdf_container_package: "13.3R1.4" - services_mobilenext_software_package: "13.3R1.4" - services_mobile_subscriber_service_package: "13.3R1.4" - services_nat: "13.3R1.4" - services_ptsp_container_package: "13.3R1.4" - services_rpm: "13.3R1.4" - services_stateful_firewall: "13.3R1.4" - voice_services_container_package: "13.3R1.4" - services_crypto: "13.3R1.4" - services_ssl: "13.3R1.4" - services_ipsec: "13.3R1.4" - platform_software_suite: "13.3R1.4" - runtime_software_suite: "13.3R1.4" - routing_software_suite: "13.3R1.4" - py_base_i386: "13.3R1.4" - lab_package: "7.0" - serial_number: "qfsn-0123456789" - qfabric_system_id: "f158527a-f99e-11e0-9fbd-00e081c57cda" - other_device_properties: [] - other_properties_versions: [] diff --git a/tests/juniper_junos/show_version/juniper_junos_show_version.yml b/tests/juniper_junos/show_version/juniper_junos_show_version.yml new file mode 100644 index 0000000000..12dd9fbcfe --- /dev/null +++ b/tests/juniper_junos/show_version/juniper_junos_show_version.yml @@ -0,0 +1,40 @@ +--- +parsed_sample: + - hostname: "lab" + model: "mx240" + junos_version: "13.3R1.4" + base_os_boot: "13.3R1.4" + base_os_software_suite: "13.3R1.4" + kernel_software_suite: "13.3R1.4" + crypto_software_suite: "13.3R1.4" + packet_forwarding_engine_support_m_t_ex_common: "13.3R1.4" + packet_forwarding_engine_support_mx_common: "13.3R1.4" + online_documentation: "113.3R1.4" + services_aacl_container_package: "13.3R1.4" + services_application_level_gateways: "13.3R1.4" + appid_services: "13.3R1.4" + border_gateway_function_package: "13.3R1.4" + services_captive_portal_content_delivery_package: "13.3R1.4" + services_http_content_management_package: "13.3R1.4" + idp_services: "13.3R1.4" + services_jflow_container_package: "13.3R1.4" + services_ll_pdf_container_package: "13.3R1.4" + services_mobilenext_software_package: "13.3R1.4" + services_mobile_subscriber_service_package: "13.3R1.4" + services_nat: "13.3R1.4" + services_ptsp_container_package: "13.3R1.4" + services_rpm: "13.3R1.4" + services_stateful_firewall: "13.3R1.4" + voice_services_container_package: "13.3R1.4" + services_crypto: "13.3R1.4" + services_ssl: "13.3R1.4" + services_ipsec: "13.3R1.4" + platform_software_suite: "13.3R1.4" + runtime_software_suite: "13.3R1.4" + routing_software_suite: "13.3R1.4" + py_base_i386: "13.3R1.4" + lab_package: "7.0" + serial_number: "qfsn-0123456789" + qfabric_system_id: "f158527a-f99e-11e0-9fbd-00e081c57cda" + other_device_properties: [] + other_properties_versions: [] diff --git a/tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed b/tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed deleted file mode 100644 index b470ef9c77..0000000000 --- a/tests/juniper_screenos/get_route/juniper_screenos_get_route.parsed +++ /dev/null @@ -1,46 +0,0 @@ ---- -parsed_sample: - -- vr: 'trust-vr' - best: '*' - id: '4' - prefix: '1.1.1.2/32' - outinterface: 'eth0/1' - nexthop: '0.0.0.0' - protocol: 'H' - pref: '0' - metric: '0' - vsys: 'Root' - -- vr: 'trust-vr' - best: '*' - id: '2' - prefix: '192.168.1.1/32' - outinterface: 'eth0/0' - nexthop: '0.0.0.0' - protocol: 'H' - pref: '0' - metric: '0' - vsys: 'Root' - -- vr: 'trust-vr' - best: '*' - id: '1' - prefix: '192.168.1.0/24' - outinterface: 'eth0/0' - nexthop: '0.0.0.0' - protocol: 'C' - pref: '0' - metric: '0' - vsys: 'Root' - -- vr: 'trust-vr' - best: '*' - id: '3' - prefix: '1.1.1.0/24' - outinterface: 'eth0/1' - nexthop: '0.0.0.0' - protocol: 'C' - pref: '0' - metric: '0' - vsys: 'Root' diff --git a/tests/juniper_screenos/get_route/juniper_screenos_get_route.yml b/tests/juniper_screenos/get_route/juniper_screenos_get_route.yml new file mode 100644 index 0000000000..24da165db1 --- /dev/null +++ b/tests/juniper_screenos/get_route/juniper_screenos_get_route.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - vr: "trust-vr" + best: "*" + id: "4" + prefix: "1.1.1.2/32" + outinterface: "eth0/1" + nexthop: "0.0.0.0" + protocol: "H" + pref: "0" + metric: "0" + vsys: "Root" + - vr: "trust-vr" + best: "*" + id: "2" + prefix: "192.168.1.1/32" + outinterface: "eth0/0" + nexthop: "0.0.0.0" + protocol: "H" + pref: "0" + metric: "0" + vsys: "Root" + - vr: "trust-vr" + best: "*" + id: "1" + prefix: "192.168.1.0/24" + outinterface: "eth0/0" + nexthop: "0.0.0.0" + protocol: "C" + pref: "0" + metric: "0" + vsys: "Root" + - vr: "trust-vr" + best: "*" + id: "3" + prefix: "1.1.1.0/24" + outinterface: "eth0/1" + nexthop: "0.0.0.0" + protocol: "C" + pref: "0" + metric: "0" + vsys: "Root" diff --git a/tests/mocks/cisco_ios/show_mac-address-table/show_mac1.raw b/tests/mocks/cisco_ios/show_mac-address-table/show_mac1.raw new file mode 100644 index 0000000000..6f66ea9bdd --- /dev/null +++ b/tests/mocks/cisco_ios/show_mac-address-table/show_mac1.raw @@ -0,0 +1,17 @@ +Dynamic Addresses Count: 9 +Secure Addresses (User-defined) Count: 0 +Static Addresses (User-defined) Count: 0 +System Self Addresses Count: 41 +Total MAC addresses: 50 +Non-static Address Table: +Destination Address Address Type VLAN Destination Port +------------------- ------------ ---- -------------------- +0010.0de0.e289 Dynamic 1 FastEthernet0/1 +0010.7b00.1540 Dynamic 2 FastEthernet0/5 +0010.7b00.1545 Dynamic 2 FastEthernet0/5 +0060.5cf4.0076 Dynamic 1 FastEthernet0/1 +0060.5cf4.0077 Dynamic 1 FastEthernet0/1 +0060.5cf4.1315 Dynamic 1 FastEthernet0/1 +0060.70cb.f301 Dynamic 1 FastEthernet0/1 +00e0.1e42.9978 Dynamic 1 FastEthernet0/1 +00e0.1e9f.3900 Dynamic 1 FastEthernet0/1 diff --git a/tests/mocks/cisco_ios/show_mac-address-table/show_mac2.raw b/tests/mocks/cisco_ios/show_mac-address-table/show_mac2.raw new file mode 100644 index 0000000000..6f66ea9bdd --- /dev/null +++ b/tests/mocks/cisco_ios/show_mac-address-table/show_mac2.raw @@ -0,0 +1,17 @@ +Dynamic Addresses Count: 9 +Secure Addresses (User-defined) Count: 0 +Static Addresses (User-defined) Count: 0 +System Self Addresses Count: 41 +Total MAC addresses: 50 +Non-static Address Table: +Destination Address Address Type VLAN Destination Port +------------------- ------------ ---- -------------------- +0010.0de0.e289 Dynamic 1 FastEthernet0/1 +0010.7b00.1540 Dynamic 2 FastEthernet0/5 +0010.7b00.1545 Dynamic 2 FastEthernet0/5 +0060.5cf4.0076 Dynamic 1 FastEthernet0/1 +0060.5cf4.0077 Dynamic 1 FastEthernet0/1 +0060.5cf4.1315 Dynamic 1 FastEthernet0/1 +0060.70cb.f301 Dynamic 1 FastEthernet0/1 +00e0.1e42.9978 Dynamic 1 FastEthernet0/1 +00e0.1e9f.3900 Dynamic 1 FastEthernet0/1 diff --git a/tests/mocks/cisco_ios/show_mac-address-table/show_mac3.raw b/tests/mocks/cisco_ios/show_mac-address-table/show_mac3.raw new file mode 100644 index 0000000000..6f66ea9bdd --- /dev/null +++ b/tests/mocks/cisco_ios/show_mac-address-table/show_mac3.raw @@ -0,0 +1,17 @@ +Dynamic Addresses Count: 9 +Secure Addresses (User-defined) Count: 0 +Static Addresses (User-defined) Count: 0 +System Self Addresses Count: 41 +Total MAC addresses: 50 +Non-static Address Table: +Destination Address Address Type VLAN Destination Port +------------------- ------------ ---- -------------------- +0010.0de0.e289 Dynamic 1 FastEthernet0/1 +0010.7b00.1540 Dynamic 2 FastEthernet0/5 +0010.7b00.1545 Dynamic 2 FastEthernet0/5 +0060.5cf4.0076 Dynamic 1 FastEthernet0/1 +0060.5cf4.0077 Dynamic 1 FastEthernet0/1 +0060.5cf4.1315 Dynamic 1 FastEthernet0/1 +0060.70cb.f301 Dynamic 1 FastEthernet0/1 +00e0.1e42.9978 Dynamic 1 FastEthernet0/1 +00e0.1e9f.3900 Dynamic 1 FastEthernet0/1 diff --git a/tests/mocks/expected/parsed_sample.yml b/tests/mocks/expected/parsed_sample.yml new file mode 100644 index 0000000000..ed560daa84 --- /dev/null +++ b/tests/mocks/expected/parsed_sample.yml @@ -0,0 +1,15 @@ +--- +parsed_sample: + # Sample Data + - version: "12.2(54)SG1" + rommon: "12.2(44r)SG9" + hostname: "router1" + uptime: "2 years, 31 weeks, 6 days, 9 hours, 55 minutes" + reload_reason: "reload" + running_image: "cat4500e-entservicesk9-mz.122-54.SG1.bin" + hardware: + - "4948" + serial: + - "CAT1451S15C" + config_register: "2102" + mac: [] diff --git a/tests/mocks/expected/show_mac.yml b/tests/mocks/expected/show_mac.yml new file mode 100644 index 0000000000..0ad68037b1 --- /dev/null +++ b/tests/mocks/expected/show_mac.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - destination_address: "0010.0de0.e289" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "0010.7b00.1540" + type: "Dynamic" + vlan: "2" + destination_port: "FastEthernet0/5" + - destination_address: "0010.7b00.1545" + type: "Dynamic" + vlan: "2" + destination_port: "FastEthernet0/5" + - destination_address: "0060.5cf4.0076" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "0060.5cf4.0077" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "0060.5cf4.1315" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "0060.70cb.f301" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "00e0.1e42.9978" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" + - destination_address: "00e0.1e9f.3900" + type: "Dynamic" + vlan: "1" + destination_port: "FastEthernet0/1" diff --git a/tests/mocks/expected/yaml_comments.yml b/tests/mocks/expected/yaml_comments.yml new file mode 100644 index 0000000000..48b77b7406 --- /dev/null +++ b/tests/mocks/expected/yaml_comments.yml @@ -0,0 +1,25 @@ +--- +a: 5 # comment 1 +b: 6 # comment 2 +# comment 3 +c: + - 7 # comment 4 +# comment 5 + - 8 +# comment 6 +d: + # comment 7 + e: a # comment 8 + f: + - 9 + # comment 9 + - 10 + - a: + a: 8 + # comment 10 + b: 1 + - b: 1 + - 9 +# comment 11 +# comment 12 +# comment 13 diff --git a/tests/mocks/load/glob/parsed_sample1.yml b/tests/mocks/load/glob/parsed_sample1.yml new file mode 100644 index 0000000000..500b031de9 --- /dev/null +++ b/tests/mocks/load/glob/parsed_sample1.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + #Sample Data + - version: "12.2(54)SG1" + rommon: "12.2(44r)SG9" + hostname: "router1" + uptime: "2 years, 31 weeks, 6 days, 9 hours, 55 minutes" + reload_reason: "reload" + running_image: "cat4500e-entservicesk9-mz.122-54.SG1.bin" + hardware: [4948] + serial: + - "CAT1451S15C" + config_register: 2102 + mac: [] diff --git a/tests/mocks/load/glob/parsed_sample2.yml b/tests/mocks/load/glob/parsed_sample2.yml new file mode 100644 index 0000000000..500b031de9 --- /dev/null +++ b/tests/mocks/load/glob/parsed_sample2.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + #Sample Data + - version: "12.2(54)SG1" + rommon: "12.2(44r)SG9" + hostname: "router1" + uptime: "2 years, 31 weeks, 6 days, 9 hours, 55 minutes" + reload_reason: "reload" + running_image: "cat4500e-entservicesk9-mz.122-54.SG1.bin" + hardware: [4948] + serial: + - "CAT1451S15C" + config_register: 2102 + mac: [] diff --git a/tests/mocks/load/parsed_sample.yml b/tests/mocks/load/parsed_sample.yml new file mode 100644 index 0000000000..500b031de9 --- /dev/null +++ b/tests/mocks/load/parsed_sample.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + #Sample Data + - version: "12.2(54)SG1" + rommon: "12.2(44r)SG9" + hostname: "router1" + uptime: "2 years, 31 weeks, 6 days, 9 hours, 55 minutes" + reload_reason: "reload" + running_image: "cat4500e-entservicesk9-mz.122-54.SG1.bin" + hardware: [4948] + serial: + - "CAT1451S15C" + config_register: 2102 + mac: [] diff --git a/tests/mocks/load/yaml_comments.yml b/tests/mocks/load/yaml_comments.yml new file mode 100644 index 0000000000..c03b2e6031 --- /dev/null +++ b/tests/mocks/load/yaml_comments.yml @@ -0,0 +1,24 @@ +a: 5 # comment 1 +b: 6 #comment 2 +#comment 3 +c: + - 7 #comment 4 +#comment 5 + - 8 +#comment 6 +d: + #comment 7 + e: a #comment 8 + f: + - 9 + #comment 9 + - 10 + - a: + a: 8 + #comment 10 + b: 1 + - b: 1 + - 9 +#comment 11 +# comment 12 +#comment 13 diff --git a/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed deleted file mode 100644 index 5db6288b1a..0000000000 --- a/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.parsed +++ /dev/null @@ -1,27 +0,0 @@ ---- -parsed_sample: - -- interface: ethernet1/1 - ip: 172.25.1.254 - mac: '08:30:6b:26:43:30' - port: ethernet1/1 - status: c - ttl: '627' -- interface: vlan.1 - ip: 172.25.2.195 - mac: '00:50:00:00:07:00' - port: ethernet1/2.110 - status: c - ttl: '1012' -- interface: vlan.1 - ip: 172.25.2.196 - mac: '00:50:00:00:08:00' - port: ethernet1/2.111 - status: c - ttl: '1016' -- interface: vlan.1 - ip: 172.25.2.197 - mac: 'incomplete' - port: ethernet1/2.111 - status: c - ttl: '1016' diff --git a/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.yml b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.yml new file mode 100644 index 0000000000..d7f11b87db --- /dev/null +++ b/tests/paloalto_panos/show_arp_all/paloalto_panos_show_arp_all.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - interface: "ethernet1/1" + ip: "172.25.1.254" + mac: "08:30:6b:26:43:30" + port: "ethernet1/1" + status: "c" + ttl: "627" + - interface: "vlan.1" + ip: "172.25.2.195" + mac: "00:50:00:00:07:00" + port: "ethernet1/2.110" + status: "c" + ttl: "1012" + - interface: "vlan.1" + ip: "172.25.2.196" + mac: "00:50:00:00:08:00" + port: "ethernet1/2.111" + status: "c" + ttl: "1016" + - interface: "vlan.1" + ip: "172.25.2.197" + mac: "incomplete" + port: "ethernet1/2.111" + status: "c" + ttl: "1016" diff --git a/tests/paloalto_panos/show_counter_global/paloalto_panos_show_counter_global.parsed b/tests/paloalto_panos/show_counter_global/paloalto_panos_show_counter_global.parsed deleted file mode 100644 index 3da1e7f6e1..0000000000 --- a/tests/paloalto_panos/show_counter_global/paloalto_panos_show_counter_global.parsed +++ /dev/null @@ -1,64 +0,0 @@ ---- -parsed_sample: - -- name: pkt_recv - value: "29" - rate: "0" - severity: info - category: packet - aspect: pktproc - description: Packets received - -- name: pkt_sent - value: "21" - rate: "0" - severity: info - category: packet - aspect: pktproc - description: Packets transmitted - -- name: pkt_sock_recv - value: "1" - rate: "0" - severity: info - category: packet - aspect: pktproc - description: Packets received at socket level - delayed counter - -- name: pkt_lldp_sent - value: "1" - rate: "0" - severity: info - category: packet - aspect: pktproc - description: LLDP Packets transmitted - -- name: flow_rcv_dot1q_tag_err - value: "1" - rate: "0" - severity: drop - category: flow - aspect: parse - description: 'Packets dropped: 802.1q tag not configured' - -- name: flow_no_interface - value: "1" - rate: "0" - severity: drop - category: flow - aspect: parse - description: 'Packets dropped: invalid interface' - -- name: ssl_hsm_up_down_event_rcv - value: "1" - rate: "0" - severity: info - category: ssl - aspect: pktproc - description: 'The number of HSM up/down events received' - - - - - - diff --git a/tests/paloalto_panos/show_counter_global/paloalto_panos_show_counter_global.yml b/tests/paloalto_panos/show_counter_global/paloalto_panos_show_counter_global.yml new file mode 100644 index 0000000000..8191e0c523 --- /dev/null +++ b/tests/paloalto_panos/show_counter_global/paloalto_panos_show_counter_global.yml @@ -0,0 +1,51 @@ +--- +parsed_sample: + - name: "pkt_recv" + value: "29" + rate: "0" + severity: "info" + category: "packet" + aspect: "pktproc" + description: "Packets received" + - name: "pkt_sent" + value: "21" + rate: "0" + severity: "info" + category: "packet" + aspect: "pktproc" + description: "Packets transmitted" + - name: "pkt_sock_recv" + value: "1" + rate: "0" + severity: "info" + category: "packet" + aspect: "pktproc" + description: "Packets received at socket level - delayed counter" + - name: "pkt_lldp_sent" + value: "1" + rate: "0" + severity: "info" + category: "packet" + aspect: "pktproc" + description: "LLDP Packets transmitted" + - name: "flow_rcv_dot1q_tag_err" + value: "1" + rate: "0" + severity: "drop" + category: "flow" + aspect: "parse" + description: "Packets dropped: 802.1q tag not configured" + - name: "flow_no_interface" + value: "1" + rate: "0" + severity: "drop" + category: "flow" + aspect: "parse" + description: "Packets dropped: invalid interface" + - name: "ssl_hsm_up_down_event_rcv" + value: "1" + rate: "0" + severity: "info" + category: "ssl" + aspect: "pktproc" + description: "The number of HSM up/down events received" diff --git a/tests/paloalto_panos/show_high-availability_all/paloalto_panos_show_high-availability_all.parsed b/tests/paloalto_panos/show_high-availability_all/paloalto_panos_show_high-availability_all.parsed deleted file mode 100644 index 1009b89a59..0000000000 --- a/tests/paloalto_panos/show_high-availability_all/paloalto_panos_show_high-availability_all.parsed +++ /dev/null @@ -1,24 +0,0 @@ ---- -parsed_sample: - -- group: "1" - mode: Active-Passive - state: active - ha1_link_state: Up - ha1_link_setting: 1Gb/s-full - ha2_link_state: Up - ha2_link_setting: 1Gb/s-full - priority: "50" - preemptive: "yes" - sw_version: Match - app_content_compatibility: Match - anti_virus_compatibility: Match - threat_content_compatibility: Match - vpn_client_sw_compatibility: Match - global_protect_client_sw_compatibility: Match - state_sync: Complete - link_monitoring_enabled: "yes" - path_monitoring_enabled: "yes" - config_sync: "yes" - running_configuration: synchronized - diff --git a/tests/paloalto_panos/show_high-availability_all/paloalto_panos_show_high-availability_all.yml b/tests/paloalto_panos/show_high-availability_all/paloalto_panos_show_high-availability_all.yml new file mode 100644 index 0000000000..d261cab3ae --- /dev/null +++ b/tests/paloalto_panos/show_high-availability_all/paloalto_panos_show_high-availability_all.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - group: "1" + mode: "Active-Passive" + state: "active" + ha1_link_state: "Up" + ha1_link_setting: "1Gb/s-full" + ha2_link_state: "Up" + ha2_link_setting: "1Gb/s-full" + priority: "50" + preemptive: "yes" + sw_version: "Match" + app_content_compatibility: "Match" + anti_virus_compatibility: "Match" + threat_content_compatibility: "Match" + vpn_client_sw_compatibility: "Match" + global_protect_client_sw_compatibility: "Match" + state_sync: "Complete" + link_monitoring_enabled: "yes" + path_monitoring_enabled: "yes" + config_sync: "yes" + running_configuration: "synchronized" diff --git a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.parsed b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.parsed deleted file mode 100644 index 986a536853..0000000000 --- a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.parsed +++ /dev/null @@ -1,67 +0,0 @@ ---- - -parsed_sample: -- intf: ethernet1/1 - speed: "1000" - state: up - duplex: full - -- intf: ethernet1/2 - speed: "1000" - state: up - duplex: full - -- intf: ethernet1/3 - speed: "1000" - state: up - duplex: full - -- intf: ethernet1/4 - speed: "1000" - state: up - duplex: full - -- intf: ethernet1/5 - speed: "1000" - state: up - duplex: full - -- intf: ethernet1/6 - speed: "1000" - state: up - duplex: full - -- intf: ethernet1/7 - speed: "1000" - state: up - duplex: full - -- intf: dedicated-ha1 - speed: "1000" - state: up - duplex: full - -- intf: dedicated-ha2 - speed: "1000" - state: up - duplex: full - -- intf: vlan - speed: "[n/a]" - state: up - duplex: "[n/a]" - -- intf: loopback - speed: "[n/a]" - state: up - duplex: "[n/a]" - -- intf: tunnel - speed: "[n/a]" - state: up - duplex: "[n/a]" - - - - - diff --git a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml new file mode 100644 index 0000000000..ab7b1b8dfd --- /dev/null +++ b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - intf: "ethernet1/1" + speed: "1000" + state: "up" + duplex: "full" + - intf: "ethernet1/2" + speed: "1000" + state: "up" + duplex: "full" + - intf: "ethernet1/3" + speed: "1000" + state: "up" + duplex: "full" + - intf: "ethernet1/4" + speed: "1000" + state: "up" + duplex: "full" + - intf: "ethernet1/5" + speed: "1000" + state: "up" + duplex: "full" + - intf: "ethernet1/6" + speed: "1000" + state: "up" + duplex: "full" + - intf: "ethernet1/7" + speed: "1000" + state: "up" + duplex: "full" + - intf: "dedicated-ha1" + speed: "1000" + state: "up" + duplex: "full" + - intf: "dedicated-ha2" + speed: "1000" + state: "up" + duplex: "full" + - intf: "vlan" + speed: "[n/a]" + state: "up" + duplex: "[n/a]" + - intf: "loopback" + speed: "[n/a]" + state: "up" + duplex: "[n/a]" + - intf: "tunnel" + speed: "[n/a]" + state: "up" + duplex: "[n/a]" diff --git a/tests/paloalto_panos/show_interface_logical/paloalto_panos_show_interface_logical.parsed b/tests/paloalto_panos/show_interface_logical/paloalto_panos_show_interface_logical.parsed deleted file mode 100644 index f843315022..0000000000 --- a/tests/paloalto_panos/show_interface_logical/paloalto_panos_show_interface_logical.parsed +++ /dev/null @@ -1,122 +0,0 @@ ---- -parsed_sample: -- intf: ethernet1/1 - vsys: "1" - zone: '' - forwarding: N/A - address: N/A - -- intf: ethernet1/2 - vsys: "1" - zone: '' - forwarding: N/A - address: N/A - -- intf: ethernet1/2.100 - vsys: "1" - zone: ISP1 - forwarding: 'vr:default' - address: 65.5.44.46/30 - -- intf: ethernet1/3 - vsys: "1" - zone: "" - forwarding: N/A - address: N/A - -- intf: ethernet1/3.101 - vsys: "1" - zone: ISP2 - forwarding: 'vr:default' - address: 65.5.26.46/30 - -- intf: ethernet1/4 - vsys: "1" - zone: "" - forwarding: N/A - address: N/A - -- intf: ethernet1/4.102 - vsys: "1" - zone: WAN - forwarding: 'vr:default' - address: 10.10.134.1/24 - -- intf: ethernet1/5 - vsys: "1" - zone: "" - forwarding: N/A - address: N/A - -- intf: ethernet1/5.103 - vsys: "1" - zone: Voice - forwarding: 'vr:default' - address: 10.10.248.49/24 - -- intf: ethernet1/6 - vsys: "1" - zone: "" - forwarding: N/A - address: N/A - -- intf: ethernet1/6.104 - vsys: "1" - zone: Video - forwarding: 'vr:default' - address: 10.10.10.1/24 - -- intf: ethernet1/7 - vsys: "1" - zone: Guest1 - forwarding: N/A - address: N/A - -- intf: ethernet1/7.700 - vsys: "1" - zone: Guest1 - forwarding: 'vr:default' - address: 10.10.100.1/23 - -- intf: dedicated-ha1 - vsys: "1" - zone: '' - forwarding: ha - address: 10.1.1.1/30 - -- intf: dedicated-ha2 - vsys: "1" - zone: '' - forwarding: ha - address: 10.2.2.1/30 - -- intf: vlan - vsys: "1" - zone: "" - forwarding: N/A - address: N/A - -- intf: loopback - vsys: "1" - zone: "" - forwarding: N/A - address: N/A - -- intf: tunnel - vsys: "1" - zone: "" - forwarding: N/A - address: N/A - - - - - - - - - - - - - diff --git a/tests/paloalto_panos/show_interface_logical/paloalto_panos_show_interface_logical.yml b/tests/paloalto_panos/show_interface_logical/paloalto_panos_show_interface_logical.yml new file mode 100644 index 0000000000..3d5c0b2358 --- /dev/null +++ b/tests/paloalto_panos/show_interface_logical/paloalto_panos_show_interface_logical.yml @@ -0,0 +1,92 @@ +--- +parsed_sample: + - intf: "ethernet1/1" + vsys: "1" + zone: "" + forwarding: "N/A" + address: "N/A" + - intf: "ethernet1/2" + vsys: "1" + zone: "" + forwarding: "N/A" + address: "N/A" + - intf: "ethernet1/2.100" + vsys: "1" + zone: "ISP1" + forwarding: "vr:default" + address: "65.5.44.46/30" + - intf: "ethernet1/3" + vsys: "1" + zone: "" + forwarding: "N/A" + address: "N/A" + - intf: "ethernet1/3.101" + vsys: "1" + zone: "ISP2" + forwarding: "vr:default" + address: "65.5.26.46/30" + - intf: "ethernet1/4" + vsys: "1" + zone: "" + forwarding: "N/A" + address: "N/A" + - intf: "ethernet1/4.102" + vsys: "1" + zone: "WAN" + forwarding: "vr:default" + address: "10.10.134.1/24" + - intf: "ethernet1/5" + vsys: "1" + zone: "" + forwarding: "N/A" + address: "N/A" + - intf: "ethernet1/5.103" + vsys: "1" + zone: "Voice" + forwarding: "vr:default" + address: "10.10.248.49/24" + - intf: "ethernet1/6" + vsys: "1" + zone: "" + forwarding: "N/A" + address: "N/A" + - intf: "ethernet1/6.104" + vsys: "1" + zone: "Video" + forwarding: "vr:default" + address: "10.10.10.1/24" + - intf: "ethernet1/7" + vsys: "1" + zone: "Guest1" + forwarding: "N/A" + address: "N/A" + - intf: "ethernet1/7.700" + vsys: "1" + zone: "Guest1" + forwarding: "vr:default" + address: "10.10.100.1/23" + - intf: "dedicated-ha1" + vsys: "1" + zone: "" + forwarding: "ha" + address: "10.1.1.1/30" + - intf: "dedicated-ha2" + vsys: "1" + zone: "" + forwarding: "ha" + address: "10.2.2.1/30" + - intf: "vlan" + vsys: "1" + zone: "" + forwarding: "N/A" + address: "N/A" + - intf: "loopback" + vsys: "1" + zone: "" + forwarding: "N/A" + address: "N/A" + - intf: "tunnel" + vsys: "1" + zone: "" + forwarding: "N/A" + address: "N/A" diff --git a/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all.parsed b/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all.parsed deleted file mode 100644 index b4fe28204e..0000000000 --- a/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all.parsed +++ /dev/null @@ -1,59 +0,0 @@ ---- -parsed_sample: - -- completed: 03:05:41 - dequeued: '' - enqueued: 2016/04/28 03:05:24 - id: '2341' - result: OK - status: FIN - type: FqdnRefresh -- completed: 02:35:22 - dequeued: '' - enqueued: 2016/04/28 02:35:05 - id: '2340' - result: OK - status: FIN - type: FqdnRefresh -- completed: 02:05:21 - dequeued: '' - enqueued: 2016/04/28 02:05:03 - id: '2339' - result: OK - status: FIN - type: FqdnRefresh -- completed: 01:35:01 - dequeued: '' - enqueued: 2016/04/28 01:35:01 - id: '2338' - result: OK - status: FIN - type: FqdnRefresh -- completed: 01:05:00 - dequeued: '' - enqueued: 2016/04/28 01:04:43 - id: '2337' - result: OK - status: FIN - type: FqdnRefresh -- completed: 01:02:26 - dequeued: '' - enqueued: 2016/04/28 01:01:43 - id: '2336' - result: OK - status: FIN - type: Antivirus -- completed: 01:01:43 - dequeued: '' - enqueued: 2016/04/28 01:00:09 - id: '2335' - result: OK - status: FIN - type: Install -- completed: 01:00:08 - dequeued: '' - enqueued: 2016/04/28 01:00:06 - id: '2334' - result: OK - status: FIN - type: Downld diff --git a/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all.yml b/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all.yml new file mode 100644 index 0000000000..d23db89397 --- /dev/null +++ b/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - completed: "03:05:41" + dequeued: "" + enqueued: "2016/04/28 03:05:24" + id: "2341" + result: "OK" + status: "FIN" + type: "FqdnRefresh" + - completed: "02:35:22" + dequeued: "" + enqueued: "2016/04/28 02:35:05" + id: "2340" + result: "OK" + status: "FIN" + type: "FqdnRefresh" + - completed: "02:05:21" + dequeued: "" + enqueued: "2016/04/28 02:05:03" + id: "2339" + result: "OK" + status: "FIN" + type: "FqdnRefresh" + - completed: "01:35:01" + dequeued: "" + enqueued: "2016/04/28 01:35:01" + id: "2338" + result: "OK" + status: "FIN" + type: "FqdnRefresh" + - completed: "01:05:00" + dequeued: "" + enqueued: "2016/04/28 01:04:43" + id: "2337" + result: "OK" + status: "FIN" + type: "FqdnRefresh" + - completed: "01:02:26" + dequeued: "" + enqueued: "2016/04/28 01:01:43" + id: "2336" + result: "OK" + status: "FIN" + type: "Antivirus" + - completed: "01:01:43" + dequeued: "" + enqueued: "2016/04/28 01:00:09" + id: "2335" + result: "OK" + status: "FIN" + type: "Install" + - completed: "01:00:08" + dequeued: "" + enqueued: "2016/04/28 01:00:06" + id: "2334" + result: "OK" + status: "FIN" + type: "Downld" diff --git a/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all2.parsed b/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all2.parsed deleted file mode 100644 index 3399eb7100..0000000000 --- a/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all2.parsed +++ /dev/null @@ -1,52 +0,0 @@ ---- -parsed_sample: - -- completed: '10:20:11' - dequeued: '10:19:48' - enqueued: 2017/02/28 10:19:48 - id: '7' - result: OK - status: FIN - type: FqdnRefresh -- completed: '10:14:21' - dequeued: '10:13:49' - enqueued: 2017/02/28 10:13:49 - id: '6' - result: OK - status: FIN - type: FqdnRefresh -- completed: '10:13:49' - dequeued: '10:13:22' - enqueued: 2017/02/28 10:13:22 - id: '5' - result: OK - status: FIN - type: Commit -- completed: '12:07:18' - dequeued: '12:06:50' - enqueued: 2017/02/27 12:06:50 - id: '4' - result: OK - status: FIN - type: Commit -- completed: '12:03:20' - dequeued: '12:02:54' - enqueued: 2017/02/27 12:02:54 - id: '3' - result: OK - status: FIN - type: Commit -- completed: '11:55:42' - dequeued: '11:55:15' - enqueued: 2017/02/27 11:55:15 - id: '2' - result: OK - status: FIN - type: Commit -- completed: 08:32:06 - dequeued: 08:31:14 - enqueued: 2017/02/23 08:31:14 - id: '1' - result: OK - status: FIN - type: AutoCom diff --git a/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all2.yml b/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all2.yml new file mode 100644 index 0000000000..cf79c39a27 --- /dev/null +++ b/tests/paloalto_panos/show_jobs_all/paloalto_panos_show_jobs_all2.yml @@ -0,0 +1,51 @@ +--- +parsed_sample: + - completed: "10:20:11" + dequeued: "10:19:48" + enqueued: "2017/02/28 10:19:48" + id: "7" + result: "OK" + status: "FIN" + type: "FqdnRefresh" + - completed: "10:14:21" + dequeued: "10:13:49" + enqueued: "2017/02/28 10:13:49" + id: "6" + result: "OK" + status: "FIN" + type: "FqdnRefresh" + - completed: "10:13:49" + dequeued: "10:13:22" + enqueued: "2017/02/28 10:13:22" + id: "5" + result: "OK" + status: "FIN" + type: "Commit" + - completed: "12:07:18" + dequeued: "12:06:50" + enqueued: "2017/02/27 12:06:50" + id: "4" + result: "OK" + status: "FIN" + type: "Commit" + - completed: "12:03:20" + dequeued: "12:02:54" + enqueued: "2017/02/27 12:02:54" + id: "3" + result: "OK" + status: "FIN" + type: "Commit" + - completed: "11:55:42" + dequeued: "11:55:15" + enqueued: "2017/02/27 11:55:15" + id: "2" + result: "OK" + status: "FIN" + type: "Commit" + - completed: "08:32:06" + dequeued: "08:31:14" + enqueued: "2017/02/23 08:31:14" + id: "1" + result: "OK" + status: "FIN" + type: "AutoCom" diff --git a/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.parsed b/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.parsed deleted file mode 100644 index e95b162037..0000000000 --- a/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.parsed +++ /dev/null @@ -1,18 +0,0 @@ ---- -parsed_sample: - -- vlan: Test - mac: '00:50:00:00:07:00' - interface: ethernet1/2.110 - status: c - ttl: '1778' -- vlan: Test - mac: '00:50:00:00:08:00' - interface: ethernet1/2.111 - status: c - ttl: '1796' -- vlan: Test - mac: '50:00:00:02:00:01' - interface: ethernet1/2.110 - status: c - ttl: '704' diff --git a/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.yml b/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.yml new file mode 100644 index 0000000000..7e9b18c878 --- /dev/null +++ b/tests/paloalto_panos/show_mac_all/paloalto_panos_show_mac_all.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - vlan: "Test" + mac: "00:50:00:00:07:00" + interface: "ethernet1/2.110" + status: "c" + ttl: "1778" + - vlan: "Test" + mac: "00:50:00:00:08:00" + interface: "ethernet1/2.111" + status: "c" + ttl: "1796" + - vlan: "Test" + mac: "50:00:00:02:00:01" + interface: "ethernet1/2.110" + status: "c" + ttl: "704" diff --git a/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy.parsed b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy.parsed deleted file mode 100644 index 9886e973f1..0000000000 --- a/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy.parsed +++ /dev/null @@ -1,25 +0,0 @@ ---- -parsed_sample: - -- name: '"NAT default"' - nat_type: ipv4 - from: Trust - source: 10.1.1.0/24 - to: Untrust - to_interface: "" - destination: any - service: any/any/any - translate_to: 'src: ethernet1/1 200.10.10.1 (dynamic-ip-and-port) (pool idx: 2)' - terminal: "no" - -- name: 'Inbound-NAT-to-DMZ-Server1' - nat_type: ipv4 - from: Untrust - source: any - to: Untrust - to_interface: "" - destination: 200.10.10.100 - service: any/any/any - translate_to: 'dst: 10.1.2.10' - terminal: "no" - diff --git a/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy.yml b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy.yml new file mode 100644 index 0000000000..5cef239b8d --- /dev/null +++ b/tests/paloalto_panos/show_running_nat-policy/paloalto_panos_show_running_nat-policy.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - name: "\"NAT default\"" + nat_type: "ipv4" + from: "Trust" + source: "10.1.1.0/24" + to: "Untrust" + to_interface: "" + destination: "any" + service: "any/any/any" + translate_to: "src: ethernet1/1 200.10.10.1 (dynamic-ip-and-port) (pool idx: 2)" + terminal: "no" + - name: "Inbound-NAT-to-DMZ-Server1" + nat_type: "ipv4" + from: "Untrust" + source: "any" + to: "Untrust" + to_interface: "" + destination: "200.10.10.100" + service: "any/any/any" + translate_to: "dst: 10.1.2.10" + terminal: "no" diff --git a/tests/paloalto_panos/show_running_security-policy/paloalto_panos_show_running_security-policy.parsed b/tests/paloalto_panos/show_running_security-policy/paloalto_panos_show_running_security-policy.parsed deleted file mode 100644 index 408cb007f6..0000000000 --- a/tests/paloalto_panos/show_running_security-policy/paloalto_panos_show_running_security-policy.parsed +++ /dev/null @@ -1,110 +0,0 @@ ---- -parsed_sample: - -- name: '"Outside Web Server"' - from: Trust - source: 10.1.1.0/24 - source_region: none - to: Untrust - destination: 200.10.10.10 - destination_region: none - user: any - category: any - application_service: '[ any/tcp/any/8000 any/tcp/any/80 any/tcp/any/8080 ]' - action: allow - icmp_unreachable: "no" - terminal: "yes" - type: "" - -- name: '"ICMP Any"' - from: Trust - source: any - source_region: none - to: Untrust - destination: any - destination_region: none - user: any - category: any - application_service: '[ icmp/icmp/any/any ping/icmp/any/any ]' - action: allow - icmp_unreachable: "no" - terminal: "yes" - type: "" - - -- name: '"DNS Outbound"' - from: Trust - source: 10.1.1.0/24 - source_region: none - to: Untrust - destination: "[ 8.8.8.8 8.8.4.4 ]" - destination_region: none - user: any - category: any - application_service: 'dns/udp/any/53' - action: allow - icmp_unreachable: "no" - terminal: "yes" - type: "" - -- name: '"Inbound to DMZ Web"' - from: Untrust - source: any - source_region: none - to: DMZ - destination: 200.10.10.100 - destination_region: none - user: any - category: any - application_service: '[ any/tcp/any/8000 any/tcp/any/80 any/tcp/any/8080 ]' - action: allow - icmp_unreachable: "no" - terminal: "yes" - type: "" - -- name: '"Inbound to DMZ Deny"' - from: Untrust - source: any - source_region: none - to: DMZ - destination: any - destination_region: none - user: any - category: any - application_service: any/any/any/any - action: deny - icmp_unreachable: "no" - terminal: "no" - type: "" - - -- name: 'intrazone-default' - from: any - source: any - source_region: none - to: any - destination: any - destination_region: none - user: "" - category: any - application_service: any/any/any/any - action: allow - icmp_unreachable: "no" - terminal: "yes" - type: intrazone - -- name: 'interzone-default' - from: any - source: any - source_region: none - to: any - destination: any - destination_region: none - user: "" - category: any - application_service: any/any/any/any - action: deny - icmp_unreachable: "no" - terminal: "yes" - type: interzone - diff --git a/tests/paloalto_panos/show_running_security-policy/paloalto_panos_show_running_security-policy.yml b/tests/paloalto_panos/show_running_security-policy/paloalto_panos_show_running_security-policy.yml new file mode 100644 index 0000000000..ce820fe394 --- /dev/null +++ b/tests/paloalto_panos/show_running_security-policy/paloalto_panos_show_running_security-policy.yml @@ -0,0 +1,100 @@ +--- +parsed_sample: + - name: "\"Outside Web Server\"" + from: "Trust" + source: "10.1.1.0/24" + source_region: "none" + to: "Untrust" + destination: "200.10.10.10" + destination_region: "none" + user: "any" + category: "any" + application_service: "[ any/tcp/any/8000 any/tcp/any/80 any/tcp/any/8080 ]" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" + type: "" + - name: "\"ICMP Any\"" + from: "Trust" + source: "any" + source_region: "none" + to: "Untrust" + destination: "any" + destination_region: "none" + user: "any" + category: "any" + application_service: "[ icmp/icmp/any/any ping/icmp/any/any ]" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" + type: "" + - name: "\"DNS Outbound\"" + from: "Trust" + source: "10.1.1.0/24" + source_region: "none" + to: "Untrust" + destination: "[ 8.8.8.8 8.8.4.4 ]" + destination_region: "none" + user: "any" + category: "any" + application_service: "dns/udp/any/53" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" + type: "" + - name: "\"Inbound to DMZ Web\"" + from: "Untrust" + source: "any" + source_region: "none" + to: "DMZ" + destination: "200.10.10.100" + destination_region: "none" + user: "any" + category: "any" + application_service: "[ any/tcp/any/8000 any/tcp/any/80 any/tcp/any/8080 ]" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" + type: "" + - name: "\"Inbound to DMZ Deny\"" + from: "Untrust" + source: "any" + source_region: "none" + to: "DMZ" + destination: "any" + destination_region: "none" + user: "any" + category: "any" + application_service: "any/any/any/any" + action: "deny" + icmp_unreachable: "no" + terminal: "no" + type: "" + - name: "intrazone-default" + from: "any" + source: "any" + source_region: "none" + to: "any" + destination: "any" + destination_region: "none" + user: "" + category: "any" + application_service: "any/any/any/any" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" + type: "intrazone" + - name: "interzone-default" + from: "any" + source: "any" + source_region: "none" + to: "any" + destination: "any" + destination_region: "none" + user: "" + category: "any" + application_service: "any/any/any/any" + action: "deny" + icmp_unreachable: "no" + terminal: "yes" + type: "interzone" diff --git a/tests/paloalto_panos/show_system_info/paloalto_panos_show_system_info.parsed b/tests/paloalto_panos/show_system_info/paloalto_panos_show_system_info.parsed deleted file mode 100644 index 1135e7e342..0000000000 --- a/tests/paloalto_panos/show_system_info/paloalto_panos_show_system_info.parsed +++ /dev/null @@ -1,19 +0,0 @@ ---- - -parsed_sample: -- hostname: pa1 - ip_address: 10.0.0.90 - netmask: 255.255.255.0 - gateway: 10.0.0.2 - mac: 00:0c:29:6d:c6:7e - uptime: "2 days, 2:38:49" - family: vm - model: PA-VM - serial: unknown - vm_license: "none" - vm_mode: "VMWare ESXi" - os: 7.0.1 - platform_family: vm - vpn_disable_mode: "off" - multi_vsys: "off" - operational_mode: normal diff --git a/tests/paloalto_panos/show_system_info/paloalto_panos_show_system_info.yml b/tests/paloalto_panos/show_system_info/paloalto_panos_show_system_info.yml new file mode 100644 index 0000000000..d47af4a9c9 --- /dev/null +++ b/tests/paloalto_panos/show_system_info/paloalto_panos_show_system_info.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - hostname: "pa1" + ip_address: "10.0.0.90" + netmask: "255.255.255.0" + gateway: "10.0.0.2" + mac: "00:0c:29:6d:c6:7e" + uptime: "2 days, 2:38:49" + family: "vm" + model: "PA-VM" + serial: "unknown" + vm_license: "none" + vm_mode: "VMWare ESXi" + os: "7.0.1" + platform_family: "vm" + vpn_disable_mode: "off" + multi_vsys: "off" + operational_mode: "normal" diff --git a/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.parsed b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.parsed deleted file mode 100644 index 9dcef346d1..0000000000 --- a/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.parsed +++ /dev/null @@ -1,28 +0,0 @@ ---- -parsed_sample: - - - age: '0' - ip_address: 10.103.3.1 - mac_address: 70db.9862.224c - number: '1' - port: 1/2/1 - status: Valid - type: Dynamic - vlan: '1' - - age: '4' - ip_address: 10.103.3.10 - mac_address: c81f.6603.c442 - number: '2' - port: 1/1/8 - status: Valid - type: Dynamic - vlan: '1' - - age: '4' - ip_address: 10.103.3.4 - mac_address: f8bc.1294.dd30 - number: '3' - port: 1/1/6 - status: Valid - type: Dynamic - vlan: '1' - diff --git a/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.yml b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.yml new file mode 100644 index 0000000000..5c579f0df9 --- /dev/null +++ b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - age: "0" + ip_address: "10.103.3.1" + mac_address: "70db.9862.224c" + number: "1" + port: "1/2/1" + status: "Valid" + type: "Dynamic" + vlan: "1" + - age: "4" + ip_address: "10.103.3.10" + mac_address: "c81f.6603.c442" + number: "2" + port: "1/1/8" + status: "Valid" + type: "Dynamic" + vlan: "1" + - age: "4" + ip_address: "10.103.3.4" + mac_address: "f8bc.1294.dd30" + number: "3" + port: "1/1/6" + status: "Valid" + type: "Dynamic" + vlan: "1" diff --git a/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.parsed b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.parsed deleted file mode 100644 index d91f1b6d45..0000000000 --- a/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.parsed +++ /dev/null @@ -1,3548 +0,0 @@ ---- -parsed_sample: - - - age: '0' - ip_address: 10.101.1.27 - mac_address: 0015.5d01.3005 - number: '1' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.33.88 - mac_address: 404e.3620.c919 - number: '2' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.30 - mac_address: 0022.195e.5dec - number: '3' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.31 - mac_address: 0019.b9ea.68a5 - number: '4' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.32 - mac_address: None - number: '5' - port: v1 - status: Pend - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.37 - mac_address: b8ac.6f8a.66ab - number: '6' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.41 - mac_address: 782b.cb5b.0911 - number: '7' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.47 - mac_address: 0015.5d01.300d - number: '8' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.1.48 - mac_address: d4ae.52e6.d351 - number: '9' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.50 - mac_address: 782b.cb29.d613 - number: '10' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.1.59 - mac_address: 0015.5d01.be07 - number: '11' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.75 - mac_address: None - number: '12' - port: v9 - status: Pend - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.61 - mac_address: 0015.5d01.be09 - number: '13' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.62 - mac_address: 0015.5d01.3008 - number: '14' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.63 - mac_address: 0015.5d01.300a - number: '15' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.33.124 - mac_address: 1c23.2c09.3f65 - number: '16' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.1.64 - mac_address: 0015.5d01.be04 - number: '17' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.65 - mac_address: 0015.5d01.be06 - number: '18' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.1.66 - mac_address: 0021.9b93.d7d7 - number: '19' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.68 - mac_address: 0090.a9dd.c7f4 - number: '20' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.33.129 - mac_address: cc66.0a56.478a - number: '21' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.33.130 - mac_address: 68db.ca80.a255 - number: '22' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.72 - mac_address: 0015.5d01.3003 - number: '23' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.1.79 - mac_address: 0020.6b40.20ce - number: '24' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.96 - mac_address: c81f.663e.22f6 - number: '25' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.97 - mac_address: 6c2b.59d6.a0b6 - number: '26' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.98 - mac_address: 509a.4c50.83a2 - number: '27' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.99 - mac_address: f8bc.128e.a214 - number: '28' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.85 - mac_address: None - number: '29' - port: v1 - status: Pend - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.100 - mac_address: 0080.648e.cf43 - number: '30' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.102 - mac_address: 9ceb.e86a.1006 - number: '31' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.9.103 - mac_address: d89e.f32b.15b0 - number: '32' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.105 - mac_address: 54bf.646f.cdfb - number: '33' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.92 - mac_address: 00e0.8615.e11b - number: '34' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.107 - mac_address: 509a.4c5b.8318 - number: '35' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.108 - mac_address: 3005.5c8f.7c1e - number: '36' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.109 - mac_address: 54bf.646f.d11e - number: '37' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.9.112 - mac_address: 54bf.649b.9cdd - number: '38' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.113 - mac_address: f8bc.125b.8447 - number: '39' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.9.114 - mac_address: e454.e84c.cdec - number: '40' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.117 - mac_address: None - number: '41' - port: v9 - status: Pend - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.118 - mac_address: e454.e85f.1c82 - number: '42' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.120 - mac_address: 0015.5d09.6525 - number: '43' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.121 - mac_address: e454.e860.2758 - number: '44' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.122 - mac_address: e4b9.7ad5.0b40 - number: '45' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.9.127 - mac_address: a44c.c8e9.3460 - number: '46' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.9.129 - mac_address: 0080.64c1.89e9 - number: '47' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.134 - mac_address: 1866.da35.3d85 - number: '48' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.135 - mac_address: c81f.662e.e0a3 - number: '49' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.136 - mac_address: 54bf.6496.8603 - number: '50' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.137 - mac_address: f48e.387f.2b5b - number: '51' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.138 - mac_address: d89e.f33d.aa75 - number: '52' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.9.139 - mac_address: 0080.64de.4df4 - number: '53' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.140 - mac_address: f8bc.1261.ae08 - number: '54' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.141 - mac_address: e454.e85f.24dc - number: '55' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.144 - mac_address: 54bf.648a.1acd - number: '56' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.1.130 - mac_address: 0015.5d01.4200 - number: '57' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.147 - mac_address: 2047.47b3.44ad - number: '58' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.9.148 - mac_address: e454.e85d.bf09 - number: '59' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.151 - mac_address: 0080.64f0.7f74 - number: '60' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.138 - mac_address: None - number: '61' - port: v1 - status: Pend - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.152 - mac_address: 0015.5d01.3029 - number: '62' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.1.153 - mac_address: 0010.18b4.26d2 - number: '63' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.3 - mac_address: c0c5.2050.a500 - number: '64' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.11 - mac_address: c471.feb0.aea4 - number: '65' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.221.1.12 - mac_address: d072.dc3b.0b19 - number: '66' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.13 - mac_address: c471.feb0.ae3a - number: '67' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.14 - mac_address: e05f.b9a7.de47 - number: '68' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.221.1.15 - mac_address: 7426.ac5d.0821 - number: '69' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.221.1.16 - mac_address: e05f.b95f.9dfe - number: '70' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.17 - mac_address: e05f.b9a7.dd3d - number: '71' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.18 - mac_address: e05f.b985.b92c - number: '72' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.19 - mac_address: e05f.b9a7.de5c - number: '73' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.221.1.20 - mac_address: e05f.b9d6.ed18 - number: '74' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.21 - mac_address: ccef.48c2.4e6f - number: '75' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.22 - mac_address: c471.fe20.2d30 - number: '76' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.23 - mac_address: 184b.0d20.2260 - number: '77' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.1.190 - mac_address: d4ae.52e9.2b66 - number: '78' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.194 - mac_address: 0015.5d01.be00 - number: '79' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.35 - mac_address: c0c5.2050.a500 - number: '80' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.37 - mac_address: e0e6.2e19.aa0d - number: '81' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.1.208 - mac_address: 0001.f095.0722 - number: '82' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.219 - mac_address: 0021.a140.f8c0 - number: '83' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.221 - mac_address: 1cdf.0fc6.816f - number: '84' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.18.3 - mac_address: c0c5.2050.a500 - number: '85' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.231 - mac_address: 001e.f7ed.adfa - number: '86' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.67 - mac_address: c0c5.2050.a500 - number: '87' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.232 - mac_address: 0021.d837.bae8 - number: '88' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.235 - mac_address: 0002.b39e.7df0 - number: '89' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.236 - mac_address: 0009.b7f7.730d - number: '90' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.73 - mac_address: d861.6231.c94e - number: '91' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.237 - mac_address: 0009.b7f7.730e - number: '92' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.252 - mac_address: 0cd0.f85f.0741 - number: '93' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.9.253 - mac_address: 50f7.22ad.a841 - number: '94' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.74 - mac_address: 0010.20d0.b627 - number: '95' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '45' - ip_address: 10.221.1.75 - mac_address: 0010.40b9.2c4f - number: '96' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.254 - mac_address: 7001.b5a9.79c1 - number: '97' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '92' - ip_address: 10.221.1.76 - mac_address: 0010.40b3.c058 - number: '98' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '150' - ip_address: 10.221.1.77 - mac_address: 0010.4054.6c9f - number: '99' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '9' - ip_address: 10.221.1.78 - mac_address: 0010.40b9.6160 - number: '100' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.221.1.79 - mac_address: 0010.4079.aba8 - number: '101' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.221.1.80 - mac_address: 0010.40a4.4991 - number: '102' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.3 - mac_address: c0c5.2050.a500 - number: '103' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '150' - ip_address: 10.221.1.81 - mac_address: 0010.40b9.2afb - number: '104' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.6 - mac_address: 8890.8d8c.e7c1 - number: '105' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.84 - mac_address: 0010.20d0.b759 - number: '106' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.7 - mac_address: e089.9ddb.bdc1 - number: '107' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.1.248 - mac_address: 0030.4df5.d0ec - number: '108' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '10' - ip_address: 10.221.1.85 - mac_address: 0010.40a4.492d - number: '109' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.8 - mac_address: 50f7.2228.3a41 - number: '110' - port: lg12 - status: Valid - type: Dynamic - vlan: '' - - age: '137' - ip_address: 10.221.1.86 - mac_address: 0010.20d0.afe1 - number: '111' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.250 - mac_address: b8ac.6f99.9586 - number: '112' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.87 - mac_address: 0010.20d0.aff7 - number: '113' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.251 - mac_address: 0021.9b92.e0dc - number: '114' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.88 - mac_address: 0010.20d0.b215 - number: '115' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.89 - mac_address: 0010.20cd.2011 - number: '116' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.92 - mac_address: 0010.4077.4169 - number: '117' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.99 - mac_address: 0010.40ad.039e - number: '118' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.100 - mac_address: 000b.6bb4.cc74 - number: '119' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '36' - ip_address: 10.221.1.101 - mac_address: 0010.40a4.4922 - number: '120' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '86' - ip_address: 10.221.1.102 - mac_address: 0010.4079.abbd - number: '121' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.104 - mac_address: 0010.20d0.b0fd - number: '122' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '16' - ip_address: 10.221.1.106 - mac_address: 0010.40b3.c062 - number: '123' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '7' - ip_address: 10.221.1.107 - mac_address: 0010.40b9.6185 - number: '124' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '127' - ip_address: 10.221.1.108 - mac_address: 0010.20cf.c30b - number: '125' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.109 - mac_address: 0010.20cf.6e23 - number: '126' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.110 - mac_address: 4049.0f62.5bef - number: '127' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '72' - ip_address: 10.221.1.111 - mac_address: 0010.40a4.48e5 - number: '128' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '8' - ip_address: 10.221.1.112 - mac_address: 0010.20cf.c0d7 - number: '129' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '6' - ip_address: 10.221.1.115 - mac_address: 0010.20cf.c0a5 - number: '130' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '27' - ip_address: 10.221.1.116 - mac_address: 0010.40b9.6260 - number: '131' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.126 - mac_address: a0c9.a0de.6989 - number: '132' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.131 - mac_address: c0c5.2050.a500 - number: '133' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '22' - ip_address: 10.221.1.134 - mac_address: 62b6.2cad.ebb1 - number: '134' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.141 - mac_address: 94b8.6d5c.1057 - number: '135' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.143 - mac_address: 6480.994e.4b6c - number: '136' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.73 - mac_address: 3005.5c01.3974 - number: '137' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.151 - mac_address: None - number: '138' - port: v112 - status: Pend - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.75 - mac_address: 3005.5cec.2fdd - number: '139' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.157 - mac_address: 645a.04c4.548e - number: '140' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.92 - mac_address: 90b1.1c5d.abfe - number: '141' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.93 - mac_address: 6c2b.59eb.6fe5 - number: '142' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.95 - mac_address: 5c26.0a7c.e7e3 - number: '143' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.96 - mac_address: d481.d77c.fe0e - number: '144' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.98 - mac_address: 5882.a89a.5371 - number: '145' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.99 - mac_address: a41f.7282.d823 - number: '146' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.100 - mac_address: d067.e524.b242 - number: '147' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.102 - mac_address: 6400.6a1f.f6ce - number: '148' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.107 - mac_address: d481.d729.5120 - number: '149' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.111 - mac_address: f01f.af2f.1020 - number: '150' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '23' - ip_address: 10.221.1.195 - mac_address: 8c85.9073.97b6 - number: '151' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.119 - mac_address: 6400.6a20.16c0 - number: '152' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.221.1.199 - mac_address: 78e1.034d.b7f0 - number: '153' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.122 - mac_address: d89e.f307.ac2a - number: '154' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '36' - ip_address: 10.221.1.200 - mac_address: 62b6.2cad.ebb1 - number: '155' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '19' - ip_address: 10.221.1.202 - mac_address: 78e1.034d.b7f0 - number: '156' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.125 - mac_address: f01f.af30.565c - number: '157' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.128 - mac_address: None - number: '158' - port: v10 - status: Pend - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.206 - mac_address: c83c.85d2.6c11 - number: '159' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '6' - ip_address: 10.221.1.207 - mac_address: e0c7.6704.fe2a - number: '160' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.208 - mac_address: 8863.dfe5.813a - number: '161' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.221.1.208 - mac_address: 8863.dfe5.813a - number: '162' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.209 - mac_address: 58e6.bac2.56b8 - number: '163' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '5' - ip_address: 10.221.1.214 - mac_address: 30d9.d94f.3e44 - number: '164' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.221.1.215 - mac_address: 34e1.2d73.a8b1 - number: '165' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.75.3 - mac_address: c0c5.2050.a500 - number: '166' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.75.4 - mac_address: 00c0.0500.093c - number: '167' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.75.5 - mac_address: 00c0.0500.08ad - number: '168' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.75.6 - mac_address: 00c0.0500.09f6 - number: '169' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.142 - mac_address: 9ceb.e8a1.9e84 - number: '170' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.144 - mac_address: 7845.c41b.eb92 - number: '171' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.145 - mac_address: 1065.30a0.d9df - number: '172' - port: lg13 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.146 - mac_address: 6400.6a20.1c7b - number: '173' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.147 - mac_address: 406c.8f0d.b571 - number: '174' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.148 - mac_address: 54bf.6479.c6f1 - number: '175' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.150 - mac_address: c8f7.5061.86b2 - number: '176' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.153 - mac_address: 001e.4f4e.8ce2 - number: '177' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.154 - mac_address: None - number: '178' - port: v10 - status: Pend - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.10.157 - mac_address: 6400.6a20.1689 - number: '179' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.158 - mac_address: 8cec.4bec.848b - number: '180' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.10.159 - mac_address: d481.d74a.f7bb - number: '181' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.161 - mac_address: None - number: '182' - port: v10 - status: Pend - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.10.162 - mac_address: None - number: '183' - port: v10 - status: Pend - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.35.3 - mac_address: c0c5.2050.a500 - number: '184' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.35.4 - mac_address: 0019.0f04.a575 - number: '185' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.11.3 - mac_address: c0c5.2050.a500 - number: '186' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.66 - mac_address: 0021.b77e.b8de - number: '187' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.11.68 - mac_address: 0021.b7b5.5fcc - number: '188' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.69 - mac_address: 0021.b743.1f83 - number: '189' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.11.70 - mac_address: 0021.b7b9.ea96 - number: '190' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.71 - mac_address: 0020.6b3d.c471 - number: '191' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.11.72 - mac_address: 3c2a.f452.869d - number: '192' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.203.1.34 - mac_address: 6454.2206.7a86 - number: '193' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.203.1.35 - mac_address: 6454.2206.7b97 - number: '194' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.203.1.36 - mac_address: 6454.2205.8f17 - number: '195' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.203.1.37 - mac_address: 6454.2206.7ca3 - number: '196' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.203.1.38 - mac_address: 6454.2206.8bbb - number: '197' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.203.1.39 - mac_address: 6454.2205.1d32 - number: '198' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.203.1.40 - mac_address: 6454.2206.7cc7 - number: '199' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.11.96 - mac_address: f48e.3886.34ce - number: '200' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.203.1.41 - mac_address: 6454.2206.5aa8 - number: '201' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.97 - mac_address: c81f.6603.b673 - number: '202' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.98 - mac_address: d89e.f344.c7cc - number: '203' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.99 - mac_address: 484d.7ed6.091d - number: '204' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.100 - mac_address: a41f.7254.b8c4 - number: '205' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.101 - mac_address: b083.fe80.bb2f - number: '206' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.11.102 - mac_address: ecf4.bb27.383e - number: '207' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.129 - mac_address: 509a.4c3e.94f3 - number: '208' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.131 - mac_address: 484d.7ef5.e459 - number: '209' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.11.133 - mac_address: c81f.6604.7037 - number: '210' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.11.134 - mac_address: 6c2b.59e0.0ff2 - number: '211' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.11.135 - mac_address: f8bc.128f.06cb - number: '212' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.137 - mac_address: 6400.6a11.d615 - number: '213' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.11.139 - mac_address: a44c.c8eb.013a - number: '214' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.52.3 - mac_address: c0c5.2050.a500 - number: '215' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.20.4 - mac_address: 0006.f651.2fc1 - number: '216' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.20.5 - mac_address: c0c5.2050.a500 - number: '217' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.11.251 - mac_address: f078.16de.1141 - number: '218' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.11.253 - mac_address: 0008.3246.0041 - number: '219' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.11.254 - mac_address: 50f7.22ad.a9c1 - number: '220' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.12.2 - mac_address: c062.6b53.0f41 - number: '221' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.12.4 - mac_address: c0c5.2050.a500 - number: '222' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 172.20.0.1 - mac_address: 0000.0c9f.f6a4 - number: '223' - port: 1/1/40 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 172.20.0.2 - mac_address: 502f.a85c.3cd1 - number: '224' - port: 1/1/40 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 172.20.0.3 - mac_address: 502f.a8a7.7aa9 - number: '225' - port: 1/1/40 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.0.3 - mac_address: c0c5.2050.a500 - number: '226' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.12.100 - mac_address: a41f.7254.c298 - number: '227' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.0.33 - mac_address: 6454.2207.2d96 - number: '228' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.12.130 - mac_address: f8bc.128f.b1d0 - number: '229' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.77.3 - mac_address: c0c5.2050.a500 - number: '230' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 172.24.0.3 - mac_address: c0c5.2050.a500 - number: '231' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 172.24.0.4 - mac_address: c08c.6093.09b6 - number: '232' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.12.231 - mac_address: 8843.e1ec.81e6 - number: '233' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.12.232 - mac_address: 8843.e1ec.8196 - number: '234' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.21.3 - mac_address: c0c5.2050.a500 - number: '235' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.2 - mac_address: 0019.aa54.dd41 - number: '236' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.4 - mac_address: c0c5.2050.a500 - number: '237' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.210.0.3 - mac_address: c0c5.2050.a500 - number: '238' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 172.20.0.253 - mac_address: c0c5.2050.a500 - number: '239' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.210.0.11 - mac_address: d4c1.9e5c.b468 - number: '240' - port: lg11 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.13.65 - mac_address: 0023.7d7c.2542 - number: '241' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.210.0.12 - mac_address: d4c1.9e5c.b3f8 - number: '242' - port: lg12 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.210.0.13 - mac_address: d4c1.9e5c.a160 - number: '243' - port: lg13 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.210.0.14 - mac_address: d4c1.9e5c.6928 - number: '244' - port: lg14 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.13.69 - mac_address: 0020.6b3e.8f55 - number: '245' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.210.0.31 - mac_address: d4c1.9e5c.96a8 - number: '246' - port: lg31 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.3 - mac_address: c0c5.2050.a500 - number: '247' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.4 - mac_address: 34e6.d709.82d0 - number: '248' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.5 - mac_address: f8bc.1270.34ad - number: '249' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.6 - mac_address: 6400.6a15.bd50 - number: '250' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.100 - mac_address: f8bc.128f.06d5 - number: '251' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.103.1.7 - mac_address: d89e.f307.af58 - number: '252' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.13.101 - mac_address: c81f.6603.c42c - number: '253' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.103.1.7 - mac_address: d89e.f307.af58 - number: '254' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.13.101 - mac_address: c81f.6603.c42c - number: '255' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.8 - mac_address: b083.fea6.fa5a - number: '256' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.102 - mac_address: f8bc.1270.26c8 - number: '257' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.103 - mac_address: 480f.cfcd.7db9 - number: '258' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.9 - mac_address: b083.feaa.9b23 - number: '259' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.103.1.10 - mac_address: b083.fea2.29ca - number: '260' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.13.104 - mac_address: c81f.6604.6f0a - number: '261' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.11 - mac_address: b083.fea6.3dd2 - number: '262' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.105 - mac_address: f8bc.1265.d061 - number: '263' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.12 - mac_address: b083.fea6.fae4 - number: '264' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.13 - mac_address: b083.feaa.9849 - number: '265' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.13.108 - mac_address: 54bf.646e.6a45 - number: '266' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.109 - mac_address: f48e.3895.c396 - number: '267' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.13.110 - mac_address: f8bc.1261.fb5a - number: '268' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.13.111 - mac_address: 34e6.d72e.51f8 - number: '269' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.21 - mac_address: f8bc.125e.bd90 - number: '270' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.22 - mac_address: 6c2b.59e0.0f92 - number: '271' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.23 - mac_address: 6c2b.59dd.b693 - number: '272' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.24 - mac_address: 6c2b.59df.6cda - number: '273' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.25 - mac_address: 6c2b.59df.24fe - number: '274' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.26 - mac_address: 6c2b.59e0.100d - number: '275' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.27 - mac_address: 6c2b.59df.f57d - number: '276' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.27 - mac_address: 6c2b.59df.f57d - number: '277' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.28 - mac_address: 6c2b.59de.5656 - number: '278' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.30 - mac_address: 6400.6a20.16a2 - number: '279' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.34 - mac_address: 1866.da29.f2c9 - number: '280' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.35 - mac_address: 1866.da35.3d28 - number: '281' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.36 - mac_address: d89e.f32f.3c59 - number: '282' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.37 - mac_address: 54bf.6476.ad35 - number: '283' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.103.1.38 - mac_address: 1866.da13.1eaf - number: '284' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.103.1.39 - mac_address: d89e.f32e.8afc - number: '285' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.103.1.40 - mac_address: 1866.da09.8e0e - number: '286' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.41 - mac_address: 54bf.6475.04c2 - number: '287' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.43 - mac_address: c0c5.2050.a500 - number: '288' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.152 - mac_address: c8f7.50b6.cf55 - number: '289' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.153 - mac_address: f8bc.126f.b359 - number: '290' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.157 - mac_address: 18db.f24e.3341 - number: '291' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.13.158 - mac_address: e4b9.7a94.3cd9 - number: '292' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.67 - mac_address: 0004.a3b0.d256 - number: '293' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.68 - mac_address: f8bc.1270.92fc - number: '294' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.76 - mac_address: 6c2b.59f9.219e - number: '295' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.77 - mac_address: a4ba.dbe3.c901 - number: '296' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.78 - mac_address: 842b.2bb8.a1fe - number: '297' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.79 - mac_address: 842b.2bbb.b2de - number: '298' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.88 - mac_address: 3c2a.f41a.0f4d - number: '299' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.191.3 - mac_address: c0c5.2050.a500 - number: '300' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 172.24.9.2 - mac_address: c0c5.2050.a500 - number: '301' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.3 - mac_address: c0c5.2050.a500 - number: '302' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.30.5 - mac_address: 1cdf.0fc6.816f - number: '303' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.13.231 - mac_address: 8843.e1d1.adac - number: '304' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.13.254 - mac_address: 50f7.22ad.a7c1 - number: '305' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.14.2 - mac_address: 001e.133b.ac41 - number: '306' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.14.3 - mac_address: c0c5.2050.a500 - number: '307' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.14.25 - mac_address: None - number: '308' - port: v14 - status: Pend - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.194 - mac_address: 0080.64b5.4b26 - number: '309' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.195 - mac_address: 6c2b.59f9.95d1 - number: '310' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.196 - mac_address: 0080.6491.4a20 - number: '311' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.103.1.197 - mac_address: 0080.643e.92c1 - number: '312' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.198 - mac_address: 484d.7ed5.5fd9 - number: '313' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.199 - mac_address: 509a.4c42.fa15 - number: '314' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.200 - mac_address: 6c2b.59ef.74f1 - number: '315' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.201 - mac_address: e454.e84c.cd52 - number: '316' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.103.1.202 - mac_address: 6c2b.59ef.285c - number: '317' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.204 - mac_address: c0c5.2050.a500 - number: '318' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.14.48 - mac_address: 0000.aac3.7abf - number: '319' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.14.60 - mac_address: 0020.6bb3.510a - number: '320' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.210.1.11 - mac_address: 245e.be2b.02a4 - number: '321' - port: 1/1/37 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.210.1.12 - mac_address: 245e.be2d.6090 - number: '322' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.97 - mac_address: 485f.9995.9b11 - number: '323' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.98 - mac_address: 9cd2.1e66.2331 - number: '324' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.99 - mac_address: ac7b.a1e0.f0fb - number: '325' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.101 - mac_address: 8019.34a2.7ed9 - number: '326' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.30.103 - mac_address: e4a4.714c.bd73 - number: '327' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.104 - mac_address: f48c.50f9.597a - number: '328' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.105 - mac_address: a4c3.f0b2.d4f0 - number: '329' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.30.107 - mac_address: 2016.b9b0.587e - number: '330' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.108 - mac_address: 54e4.3aef.e4af - number: '331' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.243 - mac_address: c0c5.2050.a500 - number: '332' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.115 - mac_address: 5cea.1d88.9c47 - number: '333' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.116 - mac_address: bc85.5606.34f0 - number: '334' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.30.118 - mac_address: acd1.b879.6a1a - number: '335' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.251 - mac_address: c0c5.2050.a500 - number: '336' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.120 - mac_address: None - number: '337' - port: v501 - status: Pend - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.252 - mac_address: 2037.06af.0e41 - number: '338' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.103.1.253 - mac_address: 6cdd.3030.2a42 - number: '339' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.14.96 - mac_address: 8c04.ba74.6ba8 - number: '340' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.14.97 - mac_address: 54bf.645b.dbb2 - number: '341' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.14.98 - mac_address: a41f.727e.53c8 - number: '342' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.14.100 - mac_address: 6400.6a1f.f8e0 - number: '343' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.14.101 - mac_address: 509a.4c54.55c5 - number: '344' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.14.102 - mac_address: 6c2b.59f9.2092 - number: '345' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.14.102 - mac_address: 6c2b.59f9.2092 - number: '346' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.133 - mac_address: None - number: '347' - port: v501 - status: Pend - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.14.103 - mac_address: 6c2b.59eb.527c - number: '348' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.14.105 - mac_address: d481.d786.39e9 - number: '349' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.14.106 - mac_address: 54bf.6474.a330 - number: '350' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.14.114 - mac_address: None - number: '351' - port: v14 - status: Pend - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.14.128 - mac_address: d481.d78c.0d69 - number: '352' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.14.130 - mac_address: 503f.5601.755e - number: '353' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.14.131 - mac_address: 1065.30e2.f5cb - number: '354' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.14.135 - mac_address: b083.febb.908a - number: '355' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.191.211 - mac_address: 0002.d106.d601 - number: '356' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.14.138 - mac_address: 1065.308f.203b - number: '357' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.191.212 - mac_address: 0002.d106.d5f8 - number: '358' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.191.213 - mac_address: 0002.d106.d5e7 - number: '359' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.191.214 - mac_address: 0002.d106.d5e6 - number: '360' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.191.215 - mac_address: 0002.d106.d5a7 - number: '361' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.191.216 - mac_address: 0002.d113.1d4e - number: '362' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.191.217 - mac_address: 0002.d113.1d4f - number: '363' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.191.218 - mac_address: 0002.d113.1d54 - number: '364' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.30.175 - mac_address: e0aa.964f.4096 - number: '365' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.177 - mac_address: None - number: '366' - port: v501 - status: Pend - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.30.178 - mac_address: dc53.6064.c6a7 - number: '367' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.30.179 - mac_address: 0021.6ae3.f4db - number: '368' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.30.181 - mac_address: 9cb6.d093.7e89 - number: '369' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.30.183 - mac_address: 0454.5311.f0a0 - number: '370' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.184 - mac_address: 009d.6be3.ef4f - number: '371' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.185 - mac_address: 9061.ae52.7533 - number: '372' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.30.186 - mac_address: 181d.ea7a.9522 - number: '373' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.30.187 - mac_address: 50e0.85d6.579f - number: '374' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.188 - mac_address: 0028.f8e5.0c3b - number: '375' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.30.191 - mac_address: 7c76.352e.0018 - number: '376' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.30.197 - mac_address: 3c6a.a7ec.7c3c - number: '377' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.30.199 - mac_address: 9cb6.d0f2.1467 - number: '378' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.30.221 - mac_address: f0d5.bf83.30b5 - number: '379' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.14.226 - mac_address: 001d.e557.fd4c - number: '380' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.14.227 - mac_address: 001f.9e8e.8f96 - number: '381' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.31.2 - mac_address: 1cdf.0fc6.816f - number: '382' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.31.3 - mac_address: c0c5.2050.a500 - number: '383' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.3 - mac_address: c0c5.2050.a500 - number: '384' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.15.60 - mac_address: a042.3f3b.dd1b - number: '385' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.61 - mac_address: 0020.6b3e.156e - number: '386' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.96 - mac_address: 003e.e1bf.d4b1 - number: '387' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.15.97 - mac_address: 003e.e1c0.086e - number: '388' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.98 - mac_address: 003e.e1c0.0974 - number: '389' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.31.129 - mac_address: 0010.20cd.5559 - number: '390' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.102 - mac_address: 003e.e1bf.e49d - number: '391' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.98 - mac_address: 003e.e1c0.0974 - number: '392' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.31.129 - mac_address: 0010.20cd.5559 - number: '393' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.102 - mac_address: 003e.e1bf.e49d - number: '394' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.103 - mac_address: 685b.3588.d8e1 - number: '395' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.225.2 - mac_address: 0015.5d01.3007 - number: '396' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.15.129 - mac_address: 10dd.b1de.a06c - number: '397' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.15.131 - mac_address: 70cd.60f4.149b - number: '398' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.133 - mac_address: c81f.6613.bfb1 - number: '399' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.134 - mac_address: 3c07.545c.4cc6 - number: '400' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.15.135 - mac_address: a44c.c8bc.4af1 - number: '401' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.32.3 - mac_address: c0c5.2050.a500 - number: '402' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.15.254 - mac_address: 0008.3246.08c1 - number: '403' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.16.3 - mac_address: c0c5.2050.a500 - number: '404' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.16.96 - mac_address: a41f.7254.c29e - number: '405' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.16.97 - mac_address: c8f7.508e.5ccb - number: '406' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.16.130 - mac_address: 2047.47e8.7e80 - number: '407' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.16.131 - mac_address: d89e.f32b.f084 - number: '408' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.226.9 - mac_address: 509a.4c50.8792 - number: '409' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.226.10 - mac_address: 0026.b93d.2ab0 - number: '410' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.226.11 - mac_address: 000f.7c14.8226 - number: '411' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.226.12 - mac_address: 000f.7c14.8261 - number: '412' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.226.13 - mac_address: 000f.7c14.2a0d - number: '413' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.226.14 - mac_address: 000f.7c14.29db - number: '414' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.33.3 - mac_address: c0c5.2050.a500 - number: '415' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.33.4 - mac_address: 1cdf.0fc6.816f - number: '416' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.25.3 - mac_address: c0c5.2050.a500 - number: '417' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.25.6 - mac_address: 3442.6272.2ac0 - number: '418' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.25.8 - mac_address: 509a.4c42.c674 - number: '419' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.25.9 - mac_address: 7845.c40e.6fc3 - number: '420' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.25.10 - mac_address: 105b.ad04.82c7 - number: '421' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.17.2 - mac_address: 34e6.d70a.6e24 - number: '422' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.17.4 - mac_address: 7845.c40e.aac0 - number: '423' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.17.5 - mac_address: d4be.d9dd.ffdd - number: '424' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.17.6 - mac_address: c0c5.2050.a500 - number: '425' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.9.3 - mac_address: c0c5.2050.a500 - number: '426' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.33.61 - mac_address: e82a.ea5d.7db6 - number: '427' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.1.2 - mac_address: a80c.0db2.05a0 - number: '428' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.3 - mac_address: 0027.e31e.ebf1 - number: '429' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.1.4 - mac_address: 24e9.b364.6b00 - number: '430' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.1.5 - mac_address: 0000.0c07.ac00 - number: '431' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.6 - mac_address: 0024.9701.b075 - number: '432' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.7 - mac_address: 0024.9701.b073 - number: '433' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '5' - ip_address: 10.101.33.69 - mac_address: 30f7.725a.151c - number: '434' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.9 - mac_address: c0c5.2050.a500 - number: '435' - port: lg1 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.10 - mac_address: 842b.2b56.c449 - number: '436' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.1.11 - mac_address: f866.f2a8.3440 - number: '437' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.13 - mac_address: 0004.a3b7.3156 - number: '438' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '2' - ip_address: 10.101.33.75 - mac_address: 1093.e95d.858a - number: '439' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.1.17 - mac_address: 0015.5d01.be0a - number: '440' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.21 - mac_address: 0014.ee01.475f - number: '441' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - - age: '0' - ip_address: 10.101.1.22 - mac_address: None - number: '442' - port: v1 - status: Pend - type: Dynamic - vlan: '' - - age: '1' - ip_address: 10.101.1.25 - mac_address: 0015.5d01.be02 - number: '443' - port: lg7 - status: Valid - type: Dynamic - vlan: '' - diff --git a/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.yml b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.yml new file mode 100644 index 0000000000..15f4b04285 --- /dev/null +++ b/tests/ruckus_fastiron/show_arp/ruckus_fastiron_show_arp1.yml @@ -0,0 +1,3546 @@ +--- +parsed_sample: + - age: "0" + ip_address: "10.101.1.27" + mac_address: "0015.5d01.3005" + number: "1" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.33.88" + mac_address: "404e.3620.c919" + number: "2" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.30" + mac_address: "0022.195e.5dec" + number: "3" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.31" + mac_address: "0019.b9ea.68a5" + number: "4" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.32" + mac_address: "None" + number: "5" + port: "v1" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.37" + mac_address: "b8ac.6f8a.66ab" + number: "6" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.41" + mac_address: "782b.cb5b.0911" + number: "7" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.47" + mac_address: "0015.5d01.300d" + number: "8" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.1.48" + mac_address: "d4ae.52e6.d351" + number: "9" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.50" + mac_address: "782b.cb29.d613" + number: "10" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.1.59" + mac_address: "0015.5d01.be07" + number: "11" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.75" + mac_address: "None" + number: "12" + port: "v9" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.61" + mac_address: "0015.5d01.be09" + number: "13" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.62" + mac_address: "0015.5d01.3008" + number: "14" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.63" + mac_address: "0015.5d01.300a" + number: "15" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.33.124" + mac_address: "1c23.2c09.3f65" + number: "16" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.1.64" + mac_address: "0015.5d01.be04" + number: "17" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.65" + mac_address: "0015.5d01.be06" + number: "18" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.1.66" + mac_address: "0021.9b93.d7d7" + number: "19" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.68" + mac_address: "0090.a9dd.c7f4" + number: "20" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.33.129" + mac_address: "cc66.0a56.478a" + number: "21" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.33.130" + mac_address: "68db.ca80.a255" + number: "22" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.72" + mac_address: "0015.5d01.3003" + number: "23" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.1.79" + mac_address: "0020.6b40.20ce" + number: "24" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.96" + mac_address: "c81f.663e.22f6" + number: "25" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.97" + mac_address: "6c2b.59d6.a0b6" + number: "26" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.98" + mac_address: "509a.4c50.83a2" + number: "27" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.99" + mac_address: "f8bc.128e.a214" + number: "28" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.85" + mac_address: "None" + number: "29" + port: "v1" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.100" + mac_address: "0080.648e.cf43" + number: "30" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.102" + mac_address: "9ceb.e86a.1006" + number: "31" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.9.103" + mac_address: "d89e.f32b.15b0" + number: "32" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.105" + mac_address: "54bf.646f.cdfb" + number: "33" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.92" + mac_address: "00e0.8615.e11b" + number: "34" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.107" + mac_address: "509a.4c5b.8318" + number: "35" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.108" + mac_address: "3005.5c8f.7c1e" + number: "36" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.109" + mac_address: "54bf.646f.d11e" + number: "37" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.9.112" + mac_address: "54bf.649b.9cdd" + number: "38" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.113" + mac_address: "f8bc.125b.8447" + number: "39" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.9.114" + mac_address: "e454.e84c.cdec" + number: "40" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.117" + mac_address: "None" + number: "41" + port: "v9" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.118" + mac_address: "e454.e85f.1c82" + number: "42" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.120" + mac_address: "0015.5d09.6525" + number: "43" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.121" + mac_address: "e454.e860.2758" + number: "44" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.122" + mac_address: "e4b9.7ad5.0b40" + number: "45" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.9.127" + mac_address: "a44c.c8e9.3460" + number: "46" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.9.129" + mac_address: "0080.64c1.89e9" + number: "47" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.134" + mac_address: "1866.da35.3d85" + number: "48" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.135" + mac_address: "c81f.662e.e0a3" + number: "49" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.136" + mac_address: "54bf.6496.8603" + number: "50" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.137" + mac_address: "f48e.387f.2b5b" + number: "51" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.138" + mac_address: "d89e.f33d.aa75" + number: "52" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.9.139" + mac_address: "0080.64de.4df4" + number: "53" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.140" + mac_address: "f8bc.1261.ae08" + number: "54" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.141" + mac_address: "e454.e85f.24dc" + number: "55" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.144" + mac_address: "54bf.648a.1acd" + number: "56" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.1.130" + mac_address: "0015.5d01.4200" + number: "57" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.147" + mac_address: "2047.47b3.44ad" + number: "58" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.9.148" + mac_address: "e454.e85d.bf09" + number: "59" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.151" + mac_address: "0080.64f0.7f74" + number: "60" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.138" + mac_address: "None" + number: "61" + port: "v1" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.152" + mac_address: "0015.5d01.3029" + number: "62" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.1.153" + mac_address: "0010.18b4.26d2" + number: "63" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.3" + mac_address: "c0c5.2050.a500" + number: "64" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.11" + mac_address: "c471.feb0.aea4" + number: "65" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.221.1.12" + mac_address: "d072.dc3b.0b19" + number: "66" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.13" + mac_address: "c471.feb0.ae3a" + number: "67" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.14" + mac_address: "e05f.b9a7.de47" + number: "68" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.221.1.15" + mac_address: "7426.ac5d.0821" + number: "69" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.221.1.16" + mac_address: "e05f.b95f.9dfe" + number: "70" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.17" + mac_address: "e05f.b9a7.dd3d" + number: "71" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.18" + mac_address: "e05f.b985.b92c" + number: "72" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.19" + mac_address: "e05f.b9a7.de5c" + number: "73" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.221.1.20" + mac_address: "e05f.b9d6.ed18" + number: "74" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.21" + mac_address: "ccef.48c2.4e6f" + number: "75" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.22" + mac_address: "c471.fe20.2d30" + number: "76" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.23" + mac_address: "184b.0d20.2260" + number: "77" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.1.190" + mac_address: "d4ae.52e9.2b66" + number: "78" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.194" + mac_address: "0015.5d01.be00" + number: "79" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.35" + mac_address: "c0c5.2050.a500" + number: "80" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.37" + mac_address: "e0e6.2e19.aa0d" + number: "81" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.1.208" + mac_address: "0001.f095.0722" + number: "82" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.219" + mac_address: "0021.a140.f8c0" + number: "83" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.221" + mac_address: "1cdf.0fc6.816f" + number: "84" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.18.3" + mac_address: "c0c5.2050.a500" + number: "85" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.231" + mac_address: "001e.f7ed.adfa" + number: "86" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.67" + mac_address: "c0c5.2050.a500" + number: "87" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.232" + mac_address: "0021.d837.bae8" + number: "88" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.235" + mac_address: "0002.b39e.7df0" + number: "89" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.236" + mac_address: "0009.b7f7.730d" + number: "90" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.73" + mac_address: "d861.6231.c94e" + number: "91" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.237" + mac_address: "0009.b7f7.730e" + number: "92" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.252" + mac_address: "0cd0.f85f.0741" + number: "93" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.9.253" + mac_address: "50f7.22ad.a841" + number: "94" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.74" + mac_address: "0010.20d0.b627" + number: "95" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "45" + ip_address: "10.221.1.75" + mac_address: "0010.40b9.2c4f" + number: "96" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.254" + mac_address: "7001.b5a9.79c1" + number: "97" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "92" + ip_address: "10.221.1.76" + mac_address: "0010.40b3.c058" + number: "98" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "150" + ip_address: "10.221.1.77" + mac_address: "0010.4054.6c9f" + number: "99" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "9" + ip_address: "10.221.1.78" + mac_address: "0010.40b9.6160" + number: "100" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.221.1.79" + mac_address: "0010.4079.aba8" + number: "101" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.221.1.80" + mac_address: "0010.40a4.4991" + number: "102" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.3" + mac_address: "c0c5.2050.a500" + number: "103" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "150" + ip_address: "10.221.1.81" + mac_address: "0010.40b9.2afb" + number: "104" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.6" + mac_address: "8890.8d8c.e7c1" + number: "105" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.84" + mac_address: "0010.20d0.b759" + number: "106" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.7" + mac_address: "e089.9ddb.bdc1" + number: "107" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.1.248" + mac_address: "0030.4df5.d0ec" + number: "108" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "10" + ip_address: "10.221.1.85" + mac_address: "0010.40a4.492d" + number: "109" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.8" + mac_address: "50f7.2228.3a41" + number: "110" + port: "lg12" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "137" + ip_address: "10.221.1.86" + mac_address: "0010.20d0.afe1" + number: "111" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.250" + mac_address: "b8ac.6f99.9586" + number: "112" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.87" + mac_address: "0010.20d0.aff7" + number: "113" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.251" + mac_address: "0021.9b92.e0dc" + number: "114" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.88" + mac_address: "0010.20d0.b215" + number: "115" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.89" + mac_address: "0010.20cd.2011" + number: "116" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.92" + mac_address: "0010.4077.4169" + number: "117" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.99" + mac_address: "0010.40ad.039e" + number: "118" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.100" + mac_address: "000b.6bb4.cc74" + number: "119" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "36" + ip_address: "10.221.1.101" + mac_address: "0010.40a4.4922" + number: "120" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "86" + ip_address: "10.221.1.102" + mac_address: "0010.4079.abbd" + number: "121" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.104" + mac_address: "0010.20d0.b0fd" + number: "122" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "16" + ip_address: "10.221.1.106" + mac_address: "0010.40b3.c062" + number: "123" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "7" + ip_address: "10.221.1.107" + mac_address: "0010.40b9.6185" + number: "124" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "127" + ip_address: "10.221.1.108" + mac_address: "0010.20cf.c30b" + number: "125" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.109" + mac_address: "0010.20cf.6e23" + number: "126" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.110" + mac_address: "4049.0f62.5bef" + number: "127" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "72" + ip_address: "10.221.1.111" + mac_address: "0010.40a4.48e5" + number: "128" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "8" + ip_address: "10.221.1.112" + mac_address: "0010.20cf.c0d7" + number: "129" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "6" + ip_address: "10.221.1.115" + mac_address: "0010.20cf.c0a5" + number: "130" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "27" + ip_address: "10.221.1.116" + mac_address: "0010.40b9.6260" + number: "131" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.126" + mac_address: "a0c9.a0de.6989" + number: "132" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.131" + mac_address: "c0c5.2050.a500" + number: "133" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "22" + ip_address: "10.221.1.134" + mac_address: "62b6.2cad.ebb1" + number: "134" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.141" + mac_address: "94b8.6d5c.1057" + number: "135" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.143" + mac_address: "6480.994e.4b6c" + number: "136" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.73" + mac_address: "3005.5c01.3974" + number: "137" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.151" + mac_address: "None" + number: "138" + port: "v112" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.75" + mac_address: "3005.5cec.2fdd" + number: "139" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.157" + mac_address: "645a.04c4.548e" + number: "140" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.92" + mac_address: "90b1.1c5d.abfe" + number: "141" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.93" + mac_address: "6c2b.59eb.6fe5" + number: "142" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.95" + mac_address: "5c26.0a7c.e7e3" + number: "143" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.96" + mac_address: "d481.d77c.fe0e" + number: "144" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.98" + mac_address: "5882.a89a.5371" + number: "145" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.99" + mac_address: "a41f.7282.d823" + number: "146" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.100" + mac_address: "d067.e524.b242" + number: "147" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.102" + mac_address: "6400.6a1f.f6ce" + number: "148" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.107" + mac_address: "d481.d729.5120" + number: "149" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.111" + mac_address: "f01f.af2f.1020" + number: "150" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "23" + ip_address: "10.221.1.195" + mac_address: "8c85.9073.97b6" + number: "151" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.119" + mac_address: "6400.6a20.16c0" + number: "152" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.221.1.199" + mac_address: "78e1.034d.b7f0" + number: "153" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.122" + mac_address: "d89e.f307.ac2a" + number: "154" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "36" + ip_address: "10.221.1.200" + mac_address: "62b6.2cad.ebb1" + number: "155" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "19" + ip_address: "10.221.1.202" + mac_address: "78e1.034d.b7f0" + number: "156" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.125" + mac_address: "f01f.af30.565c" + number: "157" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.128" + mac_address: "None" + number: "158" + port: "v10" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.206" + mac_address: "c83c.85d2.6c11" + number: "159" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "6" + ip_address: "10.221.1.207" + mac_address: "e0c7.6704.fe2a" + number: "160" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.208" + mac_address: "8863.dfe5.813a" + number: "161" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.221.1.208" + mac_address: "8863.dfe5.813a" + number: "162" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.209" + mac_address: "58e6.bac2.56b8" + number: "163" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "5" + ip_address: "10.221.1.214" + mac_address: "30d9.d94f.3e44" + number: "164" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.221.1.215" + mac_address: "34e1.2d73.a8b1" + number: "165" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.75.3" + mac_address: "c0c5.2050.a500" + number: "166" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.75.4" + mac_address: "00c0.0500.093c" + number: "167" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.75.5" + mac_address: "00c0.0500.08ad" + number: "168" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.75.6" + mac_address: "00c0.0500.09f6" + number: "169" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.142" + mac_address: "9ceb.e8a1.9e84" + number: "170" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.144" + mac_address: "7845.c41b.eb92" + number: "171" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.145" + mac_address: "1065.30a0.d9df" + number: "172" + port: "lg13" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.146" + mac_address: "6400.6a20.1c7b" + number: "173" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.147" + mac_address: "406c.8f0d.b571" + number: "174" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.148" + mac_address: "54bf.6479.c6f1" + number: "175" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.150" + mac_address: "c8f7.5061.86b2" + number: "176" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.153" + mac_address: "001e.4f4e.8ce2" + number: "177" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.154" + mac_address: "None" + number: "178" + port: "v10" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.10.157" + mac_address: "6400.6a20.1689" + number: "179" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.158" + mac_address: "8cec.4bec.848b" + number: "180" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.10.159" + mac_address: "d481.d74a.f7bb" + number: "181" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.161" + mac_address: "None" + number: "182" + port: "v10" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.10.162" + mac_address: "None" + number: "183" + port: "v10" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.35.3" + mac_address: "c0c5.2050.a500" + number: "184" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.35.4" + mac_address: "0019.0f04.a575" + number: "185" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.11.3" + mac_address: "c0c5.2050.a500" + number: "186" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.66" + mac_address: "0021.b77e.b8de" + number: "187" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.11.68" + mac_address: "0021.b7b5.5fcc" + number: "188" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.69" + mac_address: "0021.b743.1f83" + number: "189" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.11.70" + mac_address: "0021.b7b9.ea96" + number: "190" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.71" + mac_address: "0020.6b3d.c471" + number: "191" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.11.72" + mac_address: "3c2a.f452.869d" + number: "192" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.203.1.34" + mac_address: "6454.2206.7a86" + number: "193" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.203.1.35" + mac_address: "6454.2206.7b97" + number: "194" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.203.1.36" + mac_address: "6454.2205.8f17" + number: "195" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.203.1.37" + mac_address: "6454.2206.7ca3" + number: "196" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.203.1.38" + mac_address: "6454.2206.8bbb" + number: "197" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.203.1.39" + mac_address: "6454.2205.1d32" + number: "198" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.203.1.40" + mac_address: "6454.2206.7cc7" + number: "199" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.11.96" + mac_address: "f48e.3886.34ce" + number: "200" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.203.1.41" + mac_address: "6454.2206.5aa8" + number: "201" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.97" + mac_address: "c81f.6603.b673" + number: "202" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.98" + mac_address: "d89e.f344.c7cc" + number: "203" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.99" + mac_address: "484d.7ed6.091d" + number: "204" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.100" + mac_address: "a41f.7254.b8c4" + number: "205" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.101" + mac_address: "b083.fe80.bb2f" + number: "206" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.11.102" + mac_address: "ecf4.bb27.383e" + number: "207" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.129" + mac_address: "509a.4c3e.94f3" + number: "208" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.131" + mac_address: "484d.7ef5.e459" + number: "209" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.11.133" + mac_address: "c81f.6604.7037" + number: "210" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.11.134" + mac_address: "6c2b.59e0.0ff2" + number: "211" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.11.135" + mac_address: "f8bc.128f.06cb" + number: "212" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.137" + mac_address: "6400.6a11.d615" + number: "213" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.11.139" + mac_address: "a44c.c8eb.013a" + number: "214" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.52.3" + mac_address: "c0c5.2050.a500" + number: "215" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.20.4" + mac_address: "0006.f651.2fc1" + number: "216" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.20.5" + mac_address: "c0c5.2050.a500" + number: "217" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.11.251" + mac_address: "f078.16de.1141" + number: "218" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.11.253" + mac_address: "0008.3246.0041" + number: "219" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.11.254" + mac_address: "50f7.22ad.a9c1" + number: "220" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.12.2" + mac_address: "c062.6b53.0f41" + number: "221" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.12.4" + mac_address: "c0c5.2050.a500" + number: "222" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "172.20.0.1" + mac_address: "0000.0c9f.f6a4" + number: "223" + port: "1/1/40" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "172.20.0.2" + mac_address: "502f.a85c.3cd1" + number: "224" + port: "1/1/40" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "172.20.0.3" + mac_address: "502f.a8a7.7aa9" + number: "225" + port: "1/1/40" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.0.3" + mac_address: "c0c5.2050.a500" + number: "226" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.12.100" + mac_address: "a41f.7254.c298" + number: "227" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.0.33" + mac_address: "6454.2207.2d96" + number: "228" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.12.130" + mac_address: "f8bc.128f.b1d0" + number: "229" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.77.3" + mac_address: "c0c5.2050.a500" + number: "230" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "172.24.0.3" + mac_address: "c0c5.2050.a500" + number: "231" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "172.24.0.4" + mac_address: "c08c.6093.09b6" + number: "232" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.12.231" + mac_address: "8843.e1ec.81e6" + number: "233" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.12.232" + mac_address: "8843.e1ec.8196" + number: "234" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.21.3" + mac_address: "c0c5.2050.a500" + number: "235" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.2" + mac_address: "0019.aa54.dd41" + number: "236" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.4" + mac_address: "c0c5.2050.a500" + number: "237" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.210.0.3" + mac_address: "c0c5.2050.a500" + number: "238" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "172.20.0.253" + mac_address: "c0c5.2050.a500" + number: "239" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.210.0.11" + mac_address: "d4c1.9e5c.b468" + number: "240" + port: "lg11" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.13.65" + mac_address: "0023.7d7c.2542" + number: "241" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.210.0.12" + mac_address: "d4c1.9e5c.b3f8" + number: "242" + port: "lg12" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.210.0.13" + mac_address: "d4c1.9e5c.a160" + number: "243" + port: "lg13" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.210.0.14" + mac_address: "d4c1.9e5c.6928" + number: "244" + port: "lg14" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.13.69" + mac_address: "0020.6b3e.8f55" + number: "245" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.210.0.31" + mac_address: "d4c1.9e5c.96a8" + number: "246" + port: "lg31" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.3" + mac_address: "c0c5.2050.a500" + number: "247" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.4" + mac_address: "34e6.d709.82d0" + number: "248" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.5" + mac_address: "f8bc.1270.34ad" + number: "249" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.6" + mac_address: "6400.6a15.bd50" + number: "250" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.100" + mac_address: "f8bc.128f.06d5" + number: "251" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.103.1.7" + mac_address: "d89e.f307.af58" + number: "252" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.13.101" + mac_address: "c81f.6603.c42c" + number: "253" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.103.1.7" + mac_address: "d89e.f307.af58" + number: "254" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.13.101" + mac_address: "c81f.6603.c42c" + number: "255" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.8" + mac_address: "b083.fea6.fa5a" + number: "256" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.102" + mac_address: "f8bc.1270.26c8" + number: "257" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.103" + mac_address: "480f.cfcd.7db9" + number: "258" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.9" + mac_address: "b083.feaa.9b23" + number: "259" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.103.1.10" + mac_address: "b083.fea2.29ca" + number: "260" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.13.104" + mac_address: "c81f.6604.6f0a" + number: "261" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.11" + mac_address: "b083.fea6.3dd2" + number: "262" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.105" + mac_address: "f8bc.1265.d061" + number: "263" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.12" + mac_address: "b083.fea6.fae4" + number: "264" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.13" + mac_address: "b083.feaa.9849" + number: "265" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.13.108" + mac_address: "54bf.646e.6a45" + number: "266" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.109" + mac_address: "f48e.3895.c396" + number: "267" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.13.110" + mac_address: "f8bc.1261.fb5a" + number: "268" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.13.111" + mac_address: "34e6.d72e.51f8" + number: "269" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.21" + mac_address: "f8bc.125e.bd90" + number: "270" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.22" + mac_address: "6c2b.59e0.0f92" + number: "271" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.23" + mac_address: "6c2b.59dd.b693" + number: "272" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.24" + mac_address: "6c2b.59df.6cda" + number: "273" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.25" + mac_address: "6c2b.59df.24fe" + number: "274" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.26" + mac_address: "6c2b.59e0.100d" + number: "275" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.27" + mac_address: "6c2b.59df.f57d" + number: "276" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.27" + mac_address: "6c2b.59df.f57d" + number: "277" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.28" + mac_address: "6c2b.59de.5656" + number: "278" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.30" + mac_address: "6400.6a20.16a2" + number: "279" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.34" + mac_address: "1866.da29.f2c9" + number: "280" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.35" + mac_address: "1866.da35.3d28" + number: "281" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.36" + mac_address: "d89e.f32f.3c59" + number: "282" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.37" + mac_address: "54bf.6476.ad35" + number: "283" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.103.1.38" + mac_address: "1866.da13.1eaf" + number: "284" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.103.1.39" + mac_address: "d89e.f32e.8afc" + number: "285" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.103.1.40" + mac_address: "1866.da09.8e0e" + number: "286" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.41" + mac_address: "54bf.6475.04c2" + number: "287" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.43" + mac_address: "c0c5.2050.a500" + number: "288" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.152" + mac_address: "c8f7.50b6.cf55" + number: "289" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.153" + mac_address: "f8bc.126f.b359" + number: "290" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.157" + mac_address: "18db.f24e.3341" + number: "291" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.13.158" + mac_address: "e4b9.7a94.3cd9" + number: "292" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.67" + mac_address: "0004.a3b0.d256" + number: "293" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.68" + mac_address: "f8bc.1270.92fc" + number: "294" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.76" + mac_address: "6c2b.59f9.219e" + number: "295" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.77" + mac_address: "a4ba.dbe3.c901" + number: "296" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.78" + mac_address: "842b.2bb8.a1fe" + number: "297" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.79" + mac_address: "842b.2bbb.b2de" + number: "298" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.88" + mac_address: "3c2a.f41a.0f4d" + number: "299" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.191.3" + mac_address: "c0c5.2050.a500" + number: "300" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "172.24.9.2" + mac_address: "c0c5.2050.a500" + number: "301" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.3" + mac_address: "c0c5.2050.a500" + number: "302" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.30.5" + mac_address: "1cdf.0fc6.816f" + number: "303" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.13.231" + mac_address: "8843.e1d1.adac" + number: "304" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.13.254" + mac_address: "50f7.22ad.a7c1" + number: "305" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.14.2" + mac_address: "001e.133b.ac41" + number: "306" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.14.3" + mac_address: "c0c5.2050.a500" + number: "307" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.14.25" + mac_address: "None" + number: "308" + port: "v14" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.194" + mac_address: "0080.64b5.4b26" + number: "309" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.195" + mac_address: "6c2b.59f9.95d1" + number: "310" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.196" + mac_address: "0080.6491.4a20" + number: "311" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.103.1.197" + mac_address: "0080.643e.92c1" + number: "312" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.198" + mac_address: "484d.7ed5.5fd9" + number: "313" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.199" + mac_address: "509a.4c42.fa15" + number: "314" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.200" + mac_address: "6c2b.59ef.74f1" + number: "315" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.201" + mac_address: "e454.e84c.cd52" + number: "316" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.103.1.202" + mac_address: "6c2b.59ef.285c" + number: "317" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.204" + mac_address: "c0c5.2050.a500" + number: "318" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.14.48" + mac_address: "0000.aac3.7abf" + number: "319" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.14.60" + mac_address: "0020.6bb3.510a" + number: "320" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.210.1.11" + mac_address: "245e.be2b.02a4" + number: "321" + port: "1/1/37" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.210.1.12" + mac_address: "245e.be2d.6090" + number: "322" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.97" + mac_address: "485f.9995.9b11" + number: "323" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.98" + mac_address: "9cd2.1e66.2331" + number: "324" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.99" + mac_address: "ac7b.a1e0.f0fb" + number: "325" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.101" + mac_address: "8019.34a2.7ed9" + number: "326" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.30.103" + mac_address: "e4a4.714c.bd73" + number: "327" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.104" + mac_address: "f48c.50f9.597a" + number: "328" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.105" + mac_address: "a4c3.f0b2.d4f0" + number: "329" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.30.107" + mac_address: "2016.b9b0.587e" + number: "330" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.108" + mac_address: "54e4.3aef.e4af" + number: "331" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.243" + mac_address: "c0c5.2050.a500" + number: "332" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.115" + mac_address: "5cea.1d88.9c47" + number: "333" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.116" + mac_address: "bc85.5606.34f0" + number: "334" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.30.118" + mac_address: "acd1.b879.6a1a" + number: "335" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.251" + mac_address: "c0c5.2050.a500" + number: "336" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.120" + mac_address: "None" + number: "337" + port: "v501" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.252" + mac_address: "2037.06af.0e41" + number: "338" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.103.1.253" + mac_address: "6cdd.3030.2a42" + number: "339" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.14.96" + mac_address: "8c04.ba74.6ba8" + number: "340" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.14.97" + mac_address: "54bf.645b.dbb2" + number: "341" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.14.98" + mac_address: "a41f.727e.53c8" + number: "342" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.14.100" + mac_address: "6400.6a1f.f8e0" + number: "343" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.14.101" + mac_address: "509a.4c54.55c5" + number: "344" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.14.102" + mac_address: "6c2b.59f9.2092" + number: "345" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.14.102" + mac_address: "6c2b.59f9.2092" + number: "346" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.133" + mac_address: "None" + number: "347" + port: "v501" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.14.103" + mac_address: "6c2b.59eb.527c" + number: "348" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.14.105" + mac_address: "d481.d786.39e9" + number: "349" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.14.106" + mac_address: "54bf.6474.a330" + number: "350" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.14.114" + mac_address: "None" + number: "351" + port: "v14" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.14.128" + mac_address: "d481.d78c.0d69" + number: "352" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.14.130" + mac_address: "503f.5601.755e" + number: "353" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.14.131" + mac_address: "1065.30e2.f5cb" + number: "354" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.14.135" + mac_address: "b083.febb.908a" + number: "355" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.191.211" + mac_address: "0002.d106.d601" + number: "356" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.14.138" + mac_address: "1065.308f.203b" + number: "357" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.191.212" + mac_address: "0002.d106.d5f8" + number: "358" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.191.213" + mac_address: "0002.d106.d5e7" + number: "359" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.191.214" + mac_address: "0002.d106.d5e6" + number: "360" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.191.215" + mac_address: "0002.d106.d5a7" + number: "361" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.191.216" + mac_address: "0002.d113.1d4e" + number: "362" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.191.217" + mac_address: "0002.d113.1d4f" + number: "363" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.191.218" + mac_address: "0002.d113.1d54" + number: "364" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.30.175" + mac_address: "e0aa.964f.4096" + number: "365" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.177" + mac_address: "None" + number: "366" + port: "v501" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.30.178" + mac_address: "dc53.6064.c6a7" + number: "367" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.30.179" + mac_address: "0021.6ae3.f4db" + number: "368" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.30.181" + mac_address: "9cb6.d093.7e89" + number: "369" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.30.183" + mac_address: "0454.5311.f0a0" + number: "370" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.184" + mac_address: "009d.6be3.ef4f" + number: "371" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.185" + mac_address: "9061.ae52.7533" + number: "372" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.30.186" + mac_address: "181d.ea7a.9522" + number: "373" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.30.187" + mac_address: "50e0.85d6.579f" + number: "374" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.188" + mac_address: "0028.f8e5.0c3b" + number: "375" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.30.191" + mac_address: "7c76.352e.0018" + number: "376" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.30.197" + mac_address: "3c6a.a7ec.7c3c" + number: "377" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.30.199" + mac_address: "9cb6.d0f2.1467" + number: "378" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.30.221" + mac_address: "f0d5.bf83.30b5" + number: "379" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.14.226" + mac_address: "001d.e557.fd4c" + number: "380" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.14.227" + mac_address: "001f.9e8e.8f96" + number: "381" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.31.2" + mac_address: "1cdf.0fc6.816f" + number: "382" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.31.3" + mac_address: "c0c5.2050.a500" + number: "383" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.3" + mac_address: "c0c5.2050.a500" + number: "384" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.15.60" + mac_address: "a042.3f3b.dd1b" + number: "385" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.61" + mac_address: "0020.6b3e.156e" + number: "386" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.96" + mac_address: "003e.e1bf.d4b1" + number: "387" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.15.97" + mac_address: "003e.e1c0.086e" + number: "388" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.98" + mac_address: "003e.e1c0.0974" + number: "389" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.31.129" + mac_address: "0010.20cd.5559" + number: "390" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.102" + mac_address: "003e.e1bf.e49d" + number: "391" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.98" + mac_address: "003e.e1c0.0974" + number: "392" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.31.129" + mac_address: "0010.20cd.5559" + number: "393" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.102" + mac_address: "003e.e1bf.e49d" + number: "394" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.103" + mac_address: "685b.3588.d8e1" + number: "395" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.225.2" + mac_address: "0015.5d01.3007" + number: "396" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.15.129" + mac_address: "10dd.b1de.a06c" + number: "397" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.15.131" + mac_address: "70cd.60f4.149b" + number: "398" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.133" + mac_address: "c81f.6613.bfb1" + number: "399" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.134" + mac_address: "3c07.545c.4cc6" + number: "400" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.15.135" + mac_address: "a44c.c8bc.4af1" + number: "401" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.32.3" + mac_address: "c0c5.2050.a500" + number: "402" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.15.254" + mac_address: "0008.3246.08c1" + number: "403" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.16.3" + mac_address: "c0c5.2050.a500" + number: "404" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.16.96" + mac_address: "a41f.7254.c29e" + number: "405" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.16.97" + mac_address: "c8f7.508e.5ccb" + number: "406" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.16.130" + mac_address: "2047.47e8.7e80" + number: "407" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.16.131" + mac_address: "d89e.f32b.f084" + number: "408" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.226.9" + mac_address: "509a.4c50.8792" + number: "409" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.226.10" + mac_address: "0026.b93d.2ab0" + number: "410" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.226.11" + mac_address: "000f.7c14.8226" + number: "411" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.226.12" + mac_address: "000f.7c14.8261" + number: "412" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.226.13" + mac_address: "000f.7c14.2a0d" + number: "413" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.226.14" + mac_address: "000f.7c14.29db" + number: "414" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.33.3" + mac_address: "c0c5.2050.a500" + number: "415" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.33.4" + mac_address: "1cdf.0fc6.816f" + number: "416" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.25.3" + mac_address: "c0c5.2050.a500" + number: "417" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.25.6" + mac_address: "3442.6272.2ac0" + number: "418" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.25.8" + mac_address: "509a.4c42.c674" + number: "419" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.25.9" + mac_address: "7845.c40e.6fc3" + number: "420" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.25.10" + mac_address: "105b.ad04.82c7" + number: "421" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.17.2" + mac_address: "34e6.d70a.6e24" + number: "422" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.17.4" + mac_address: "7845.c40e.aac0" + number: "423" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.17.5" + mac_address: "d4be.d9dd.ffdd" + number: "424" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.17.6" + mac_address: "c0c5.2050.a500" + number: "425" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.9.3" + mac_address: "c0c5.2050.a500" + number: "426" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.33.61" + mac_address: "e82a.ea5d.7db6" + number: "427" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.1.2" + mac_address: "a80c.0db2.05a0" + number: "428" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.3" + mac_address: "0027.e31e.ebf1" + number: "429" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.1.4" + mac_address: "24e9.b364.6b00" + number: "430" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.1.5" + mac_address: "0000.0c07.ac00" + number: "431" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.6" + mac_address: "0024.9701.b075" + number: "432" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.7" + mac_address: "0024.9701.b073" + number: "433" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "5" + ip_address: "10.101.33.69" + mac_address: "30f7.725a.151c" + number: "434" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.9" + mac_address: "c0c5.2050.a500" + number: "435" + port: "lg1" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.10" + mac_address: "842b.2b56.c449" + number: "436" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.1.11" + mac_address: "f866.f2a8.3440" + number: "437" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.13" + mac_address: "0004.a3b7.3156" + number: "438" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "2" + ip_address: "10.101.33.75" + mac_address: "1093.e95d.858a" + number: "439" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.1.17" + mac_address: "0015.5d01.be0a" + number: "440" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.21" + mac_address: "0014.ee01.475f" + number: "441" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" + - age: "0" + ip_address: "10.101.1.22" + mac_address: "None" + number: "442" + port: "v1" + status: "Pend" + type: "Dynamic" + vlan: "" + - age: "1" + ip_address: "10.101.1.25" + mac_address: "0015.5d01.be02" + number: "443" + port: "lg7" + status: "Valid" + type: "Dynamic" + vlan: "" diff --git a/tests/test_development_scripts.py b/tests/test_development_scripts.py new file mode 100644 index 0000000000..f714f98147 --- /dev/null +++ b/tests/test_development_scripts.py @@ -0,0 +1,155 @@ +import os +import glob +from copy import deepcopy + +import pytest +from ruamel.yaml.compat import StringIO + +import development_scripts + + +@pytest.fixture(scope="module") +def yaml_comments_file(): + with open("tests/mocks/load/yaml_comments.yml", encoding="utf-8") as fh: + return development_scripts.YAML_OBJECT.load(fh) + + +@pytest.fixture +def copy_yaml_comments(yaml_comments_file): + return deepcopy(yaml_comments_file) + + +@pytest.fixture +def teardown_normalize_file(): + filepaths = {} + + def _teardown_normalize_file(filepath): + with open(filepath, encoding="utf-8") as fh: + contents = fh.read() + + filepaths[filepath] = contents + + yield _teardown_normalize_file + + for filepath, contents in filepaths.items(): + with open(filepath, "w", encoding="utf-8") as fh: + fh.write(contents) + + +@pytest.fixture(scope="module") +def expected_file(): + expected_path = "tests/mocks/expected/parsed_sample.yml" + with open(expected_path, encoding="utf-8") as fh: + return fh.read() + + +@pytest.fixture(scope="module") +def expected_mac_file(): + expected_path = "tests/mocks/expected/show_mac.yml" + with open(expected_path, encoding="utf-8") as fh: + return fh.read() + + +@pytest.fixture +def teardown_delete_file(): + filepaths = [] + + def _teardown_delete_file(filepath): + filepaths.append(filepath) + + yield _teardown_delete_file + + for file in filepaths: + os.remove(file) + + +def test_ensure_spacing_for_multiline_comment(): + remark = "comment 11\n# comment 12\n#comment 13\n" + remark_formatted = development_scripts.ensure_spacing_for_multiline_comment(remark) + assert remark_formatted == "comment 11\n# comment 12\n# comment 13" + + +def test_ensure_space_after_octothorpe(copy_yaml_comments): + comment = copy_yaml_comments.ca.items["b"][2] + development_scripts.ensure_space_after_octothorpe(comment) + assert comment.value == "# comment 2\n# comment 3\n" + + +def test_ensure_space_comments(copy_yaml_comments): + comments = copy_yaml_comments.ca.items + comment_values = comments.values() + development_scripts.ensure_space_comments(comment_values) + assert comments["a"][2].value == "# comment 1\n" + assert comments["b"][2].value == "# comment 2\n# comment 3\n" + assert comments["d"][3][0].value == "# comment 7\n" + + +def test_update_yaml_comments(copy_yaml_comments): + development_scripts.update_yaml_comments(copy_yaml_comments) + string_yaml = StringIO() + development_scripts.YAML_OBJECT.dump(copy_yaml_comments, string_yaml) + actual = string_yaml.getvalue() + with open("tests/mocks/expected/yaml_comments.yml", encoding="utf-8") as fh: + expected = fh.read() + assert actual == expected + + +def test_transform_file(teardown_normalize_file, expected_file): + load_file = "tests/mocks/load/parsed_sample.yml" + teardown_normalize_file(load_file) + development_scripts.transform_file(load_file) + with open(load_file, encoding="utf-8") as actual: + assert actual.read() == expected_file + + +def test_transform_glob(teardown_normalize_file, expected_file): + glob_dir = "tests/mocks/load/gl*" + parsed_files = glob.glob(f"{glob_dir}/*.yml") + for file in parsed_files: + teardown_normalize_file(file) + + development_scripts.transform_glob(glob_dir) + for file in parsed_files: + with open(file, encoding="utf-8") as actual: + assert actual.read() == expected_file + + +def test_ensure_yaml_standards(teardown_normalize_file, expected_file): + load_file = "tests/mocks/load/parsed_sample.yml" + teardown_normalize_file(load_file) + with open(load_file, encoding="utf-8") as fh: + load_yaml = development_scripts.YAML_OBJECT.load(fh) + + development_scripts.ensure_yaml_standards(load_yaml, load_file) + with open(load_file, encoding="utf-8") as actual: + assert actual.read() == expected_file + + +def test_parse_test_filepath(): + filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.raw" + platform, command, filename = development_scripts.parse_test_filepath(filepath) + assert platform == "cisco_ios" + assert command == "show version" + assert filename == "cisco_ios_show_version" + + +def test_build_parsed_data_from_output(teardown_delete_file, expected_mac_file): + load_file = "tests/mocks/cisco_ios/show_mac-address-table/show_mac1.raw" + yaml_file = f"{load_file[:-3]}yml" + teardown_delete_file(yaml_file) + development_scripts.build_parsed_data_from_output(load_file, test_dir="tests/mocks") + with open(yaml_file, encoding="utf-8") as actual: + assert actual.read() == expected_mac_file + + +def test_build_parsed_data_from_dir(teardown_delete_file, expected_mac_file): + glob_dir = "tests/mocks/cisco_ios/show_mac-*" + command_files = glob.iglob(f"{glob_dir}/*.raw") + parsed_files = [f"{file[:-3]}yml" for file in command_files] + for file in parsed_files: + teardown_delete_file(file) + + development_scripts.build_parsed_data_from_dir(glob_dir, test_dir="tests/mocks") + for file in parsed_files: + with open(file, encoding="utf-8") as actual: + assert actual.read() == expected_mac_file diff --git a/tests/test_index_order.py b/tests/test_index_order.py index cab9d9e04d..a7f0586e19 100644 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -9,7 +9,9 @@ from tests import load_index_data -def check_order(current_os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd): +def check_order( + current_os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd +): add_os_check = [] if current_os not in used_os and used_os is not None: @@ -20,7 +22,9 @@ def check_order(current_os, prior_os, cmd_len, prior_len, os_choices, used_os, c msg = "OS's are not in alpabetical order, current order: '{0}'".format(used_os) return False, msg elif add_os_check != sorted(add_os_check): - msg = "OS's are not in alpabetical order, current order: '{0}'".format(add_os_check) + msg = "OS's are not in alpabetical order, current order: '{0}'".format( + add_os_check + ) return False, msg if current_os not in os_choices: diff --git a/tests/test_structured_data_against_parsed_reference_files.py b/tests/test_structured_data_against_parsed_reference_files.py index a241b0c219..d618cec6fd 100644 --- a/tests/test_structured_data_against_parsed_reference_files.py +++ b/tests/test_structured_data_against_parsed_reference_files.py @@ -14,7 +14,9 @@ def return_test_files(): platform_dirs = glob.glob("tests/*") platforms = (glob.glob("{0}/*".format(platform)) for platform in platform_dirs) template_dirs = (item for sublist in platforms for item in sublist) - test_commands = (glob.glob("{0}/*.raw".format(template_dir)) for template_dir in template_dirs) + test_commands = ( + glob.glob("{0}/*.raw".format(template_dir)) for template_dir in template_dirs + ) return (item for sublist in test_commands for item in sublist) @@ -27,7 +29,7 @@ def load_template_test(request): def raw_template_test(raw_file): """Return structured data along with reference data.""" - parsed_file = "{0}.parsed".format(raw_file[:-4]) + parsed_file = "{0}.yml".format(raw_file[:-4]) parts = raw_file.split("/") platform = parts[1] command = " ".join(parts[2].split("_")) @@ -83,4 +85,6 @@ def correct_data_in_entries_test(processed, reference): for i in range(len(reference)): for key in reference[i].keys(): - assert processed[i][key] == reference[i][key], "entry #{0}, key: {1}".format(i, key) + assert processed[i][key] == reference[i][key], "entry #{0}, key: {1}".format( + i, key + ) diff --git a/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.parsed b/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.parsed deleted file mode 100644 index 34e145bd23..0000000000 --- a/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.parsed +++ /dev/null @@ -1,22 +0,0 @@ ---- -parsed_sample: -- address: "172.16.216.1" - age: "0h 0m 10s" - interface: "4/1" - mac: "80:2A:A8:F1:D2:46" - type: "Gateway" -- address: "172.16.216.2" - age: "0h 2m 16s" - interface: "4/1" - mac: "E2:91:F5:CC:E8:19" - type: "Dynamic" -- address: "172.16.216.4" - age: "n/a" - interface: "4/1" - mac: "78:8A:20:44:02:7F" - type: "Local" -- address: "172.16.216.33" - age: "0h 0m 5s" - interface: "4/1" - mac: "00:00:00:00:00:00" - type: "Dynamic" diff --git a/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.yml b/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.yml new file mode 100644 index 0000000000..1a05843b84 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_arp/ubiquiti_edgeswitch_show_arp.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - address: "172.16.216.1" + age: "0h 0m 10s" + interface: "4/1" + mac: "80:2A:A8:F1:D2:46" + type: "Gateway" + - address: "172.16.216.2" + age: "0h 2m 16s" + interface: "4/1" + mac: "E2:91:F5:CC:E8:19" + type: "Dynamic" + - address: "172.16.216.4" + age: "n/a" + interface: "4/1" + mac: "78:8A:20:44:02:7F" + type: "Local" + - address: "172.16.216.33" + age: "0h 0m 5s" + interface: "4/1" + mac: "00:00:00:00:00:00" + type: "Dynamic" diff --git a/tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.parsed b/tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.parsed deleted file mode 100644 index 9e1ee72639..0000000000 --- a/tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.parsed +++ /dev/null @@ -1,17 +0,0 @@ ---- -parsed_sample: -- name: "default" - type: "Default" - vlan_id: "1" -- name: "ip tv" - type: "Static" - vlan_id: "101" -- name: "internet" - type: "Static" - vlan_id: "102" -- name: "hjemmenett" - type: "Static" - vlan_id: "216" -- name: "server" - type: "Static" - vlan_id: "217" diff --git a/tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.yml b/tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.yml new file mode 100644 index 0000000000..6ee03e472b --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_vlan/ubiquiti_edgeswitch_show_vlan.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - name: "default" + type: "Default" + vlan_id: "1" + - name: "ip tv" + type: "Static" + vlan_id: "101" + - name: "internet" + type: "Static" + vlan_id: "102" + - name: "hjemmenett" + type: "Static" + vlan_id: "216" + - name: "server" + type: "Static" + vlan_id: "217" diff --git a/tests/vmware_nsxv/show_ip_bgp_neighbors/vmware_nsxv_show_ip_bgp_neighbors.parsed b/tests/vmware_nsxv/show_ip_bgp_neighbors/vmware_nsxv_show_ip_bgp_neighbors.parsed deleted file mode 100644 index a3d460453c..0000000000 --- a/tests/vmware_nsxv/show_ip_bgp_neighbors/vmware_nsxv_show_ip_bgp_neighbors.parsed +++ /dev/null @@ -1,19 +0,0 @@ ---- -parsed_sample: - -- hold_interval: '3' - keepalive_interval: '1' - neighbor_id: 192.0.2.2 - pfx_adv: '0' - pfx_recv: '3' - pfx_sent: '0' - remote_as: '64706' - state: Established, up -- hold_interval: '3' - keepalive_interval: '1' - neighbor_id: 192.0.2.3 - pfx_adv: '0' - pfx_recv: '3' - pfx_sent: '0' - remote_as: '64706' - state: Established, up diff --git a/tests/vmware_nsxv/show_ip_bgp_neighbors/vmware_nsxv_show_ip_bgp_neighbors.yml b/tests/vmware_nsxv/show_ip_bgp_neighbors/vmware_nsxv_show_ip_bgp_neighbors.yml new file mode 100644 index 0000000000..ed46f76679 --- /dev/null +++ b/tests/vmware_nsxv/show_ip_bgp_neighbors/vmware_nsxv_show_ip_bgp_neighbors.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - hold_interval: "3" + keepalive_interval: "1" + neighbor_id: "192.0.2.2" + pfx_adv: "0" + pfx_recv: "3" + pfx_sent: "0" + remote_as: "64706" + state: "Established, up" + - hold_interval: "3" + keepalive_interval: "1" + neighbor_id: "192.0.2.3" + pfx_adv: "0" + pfx_recv: "3" + pfx_sent: "0" + remote_as: "64706" + state: "Established, up" diff --git a/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route.parsed b/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route.parsed deleted file mode 100644 index ee0c42394e..0000000000 --- a/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route.parsed +++ /dev/null @@ -1,39 +0,0 @@ ---- -parsed_sample: - -- distance: '0' - metric: '0' - nexthop: 169.254.1.42 - prefix: 169.254.1.40/30 - protocol: C - type: '' -- distance: '200' - metric: '0' - nexthop: 192.168.143.121 - prefix: 192.168.143.88/29 - protocol: B - type: '' -- distance: '200' - metric: '0' - nexthop: 192.168.143.122 - prefix: 192.168.143.88/29 - protocol: B - type: '' -- distance: '200' - metric: '0' - nexthop: 192.168.143.121 - prefix: 192.168.143.104/29 - protocol: B - type: '' -- distance: '200' - metric: '0' - nexthop: 192.168.143.122 - prefix: 192.168.143.104/29 - protocol: B - type: '' -- distance: '0' - metric: '0' - nexthop: 192.168.143.124 - prefix: 192.168.143.120/29 - protocol: C - type: '' diff --git a/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route.yml b/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route.yml new file mode 100644 index 0000000000..00c811a102 --- /dev/null +++ b/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - distance: "0" + metric: "0" + nexthop: "169.254.1.42" + prefix: "169.254.1.40/30" + protocol: "C" + type: "" + - distance: "200" + metric: "0" + nexthop: "192.168.143.121" + prefix: "192.168.143.88/29" + protocol: "B" + type: "" + - distance: "200" + metric: "0" + nexthop: "192.168.143.122" + prefix: "192.168.143.88/29" + protocol: "B" + type: "" + - distance: "200" + metric: "0" + nexthop: "192.168.143.121" + prefix: "192.168.143.104/29" + protocol: "B" + type: "" + - distance: "200" + metric: "0" + nexthop: "192.168.143.122" + prefix: "192.168.143.104/29" + protocol: "B" + type: "" + - distance: "0" + metric: "0" + nexthop: "192.168.143.124" + prefix: "192.168.143.120/29" + protocol: "C" + type: "" diff --git a/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route1.parsed b/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route1.parsed deleted file mode 100644 index d4c93f968d..0000000000 --- a/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route1.parsed +++ /dev/null @@ -1,27 +0,0 @@ ---- -parsed_sample: - -- distance: '110' - metric: '1' - nexthop: 192.168.143.91 - prefix: 192.0.3.0/24 - protocol: O - type: E2 -- distance: '0' - metric: '0' - nexthop: 192.168.143.90 - prefix: 192.168.143.88/29 - protocol: C - type: '' -- distance: '0' - metric: '0' - nexthop: 192.168.143.106 - prefix: 192.168.143.104/29 - protocol: C - type: '' -- distance: '0' - metric: '0' - nexthop: 192.168.143.121 - prefix: 192.168.143.120/29 - protocol: C - type: '' diff --git a/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route1.yml b/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route1.yml new file mode 100644 index 0000000000..6b3ecf4a89 --- /dev/null +++ b/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route1.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - distance: "110" + metric: "1" + nexthop: "192.168.143.91" + prefix: "192.0.3.0/24" + protocol: "O" + type: "E2" + - distance: "0" + metric: "0" + nexthop: "192.168.143.90" + prefix: "192.168.143.88/29" + protocol: "C" + type: "" + - distance: "0" + metric: "0" + nexthop: "192.168.143.106" + prefix: "192.168.143.104/29" + protocol: "C" + type: "" + - distance: "0" + metric: "0" + nexthop: "192.168.143.121" + prefix: "192.168.143.120/29" + protocol: "C" + type: "" diff --git a/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route2.parsed b/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route2.parsed deleted file mode 100644 index 123f9cfb4d..0000000000 --- a/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route2.parsed +++ /dev/null @@ -1,27 +0,0 @@ ---- -parsed_sample: - -- distance: '1' - metric: '1' - nexthop: 192.168.143.92 - prefix: 192.0.3.0/24 - protocol: S - type: '' -- distance: '0' - metric: '0' - nexthop: 192.168.143.91 - prefix: 192.168.143.88/29 - protocol: C - type: '' -- distance: '0' - metric: '0' - nexthop: 192.168.143.107 - prefix: 192.168.143.104/29 - protocol: C - type: '' -- distance: '0' - metric: '0' - nexthop: 192.168.143.122 - prefix: 192.168.143.120/29 - protocol: C - type: '' diff --git a/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route2.yml b/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route2.yml new file mode 100644 index 0000000000..2e0f28e0dc --- /dev/null +++ b/tests/vmware_nsxv/show_ip_route/vmware_nsxv_show_ip_route2.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - distance: "1" + metric: "1" + nexthop: "192.168.143.92" + prefix: "192.0.3.0/24" + protocol: "S" + type: "" + - distance: "0" + metric: "0" + nexthop: "192.168.143.91" + prefix: "192.168.143.88/29" + protocol: "C" + type: "" + - distance: "0" + metric: "0" + nexthop: "192.168.143.107" + prefix: "192.168.143.104/29" + protocol: "C" + type: "" + - distance: "0" + metric: "0" + nexthop: "192.168.143.122" + prefix: "192.168.143.120/29" + protocol: "C" + type: "" diff --git a/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.parsed b/tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.yml similarity index 100% rename from tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.parsed rename to tests/vyatta_vyos/show_arp/vyatta_vyos_show_arp.yml diff --git a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.parsed b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.parsed deleted file mode 100644 index a92f1e3872..0000000000 --- a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.parsed +++ /dev/null @@ -1,42 +0,0 @@ ---- -parsed_sample: - - description: '' - interface: eth0 - ip_address: ['-'] - status: u/u - - description: 'Utside' - interface: eth0.42 - ip_address: [172.11.100.1/31] - status: u/u - - description: '' - interface: eth1 - ip_address: ['-'] - status: u/u - - description: 'SERVICES-LINK' - interface: eth1.1727 - ip_address: [172.11.100.11/31] - status: u/u - - description: 'DS-LAN' - interface: eth1.1800 - ip_address: [172.11.100.3/31] - status: u/u - - description: 'Link' - interface: eth1.1801 - ip_address: [172.11.100.5/31] - status: u/u - - description: 'TEST-NET' - interface: eth1.1804 - ip_address: [172.11.100.7/31] - status: u/u - - description: '' - interface: eth2 - ip_address: ['-'] - status: u/u - - description: 'SYNC' - interface: eth2.1802 - ip_address: [172.18.254.3/31, 'fe80:3023:1234:d::3/127'] - status: u/u - - description: '' - interface: lo - ip_address: [127.0.0.1/8, 172.18.255.3/32, '::1/128'] - status: u/u diff --git a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.yml b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.yml new file mode 100644 index 0000000000..35bf636ddb --- /dev/null +++ b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.yml @@ -0,0 +1,55 @@ +--- +parsed_sample: + - description: "" + interface: "eth0" + ip_address: + - "-" + status: "u/u" + - description: "Utside" + interface: "eth0.42" + ip_address: + - "172.11.100.1/31" + status: "u/u" + - description: "" + interface: "eth1" + ip_address: + - "-" + status: "u/u" + - description: "SERVICES-LINK" + interface: "eth1.1727" + ip_address: + - "172.11.100.11/31" + status: "u/u" + - description: "DS-LAN" + interface: "eth1.1800" + ip_address: + - "172.11.100.3/31" + status: "u/u" + - description: "Link" + interface: "eth1.1801" + ip_address: + - "172.11.100.5/31" + status: "u/u" + - description: "TEST-NET" + interface: "eth1.1804" + ip_address: + - "172.11.100.7/31" + status: "u/u" + - description: "" + interface: "eth2" + ip_address: + - "-" + status: "u/u" + - description: "SYNC" + interface: "eth2.1802" + ip_address: + - "172.18.254.3/31" + - "fe80:3023:1234:d::3/127" + status: "u/u" + - description: "" + interface: "lo" + ip_address: + - "127.0.0.1/8" + - "172.18.255.3/32" + - "::1/128" + status: "u/u" diff --git a/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.parsed b/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.parsed deleted file mode 100644 index 7b21bd80ea..0000000000 --- a/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.parsed +++ /dev/null @@ -1,21 +0,0 @@ ---- -parsed_sample: - -- interface: vlan1 - ip: 10.0.0.6 - mac: '00:01:02:03:04:c8' -- interface: vlan2 - ip: 10.1.0.10 - mac: '00:01:02:03:04:90' -- interface: vlan3 - ip: 10.2.0.1 - mac: '00:01:02:03:04:6a' -- interface: vlan4 - ip: 10.3.0.8 - mac: 'incomplete' -- interface: vlan5 - ip: 10.4.0.4 - mac: '00:01:02:03:04:ee' -- interface: eth0 - ip: 10.5.0.4 - mac: '00:01:02:03:04:05' diff --git a/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.yml b/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.yml new file mode 100644 index 0000000000..dc2495b235 --- /dev/null +++ b/tests/watchguard_firebox/show_arp/watchguard_firebox_show_arp.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - interface: "vlan1" + ip: "10.0.0.6" + mac: "00:01:02:03:04:c8" + - interface: "vlan2" + ip: "10.1.0.10" + mac: "00:01:02:03:04:90" + - interface: "vlan3" + ip: "10.2.0.1" + mac: "00:01:02:03:04:6a" + - interface: "vlan4" + ip: "10.3.0.8" + mac: "incomplete" + - interface: "vlan5" + ip: "10.4.0.4" + mac: "00:01:02:03:04:ee" + - interface: "eth0" + ip: "10.5.0.4" + mac: "00:01:02:03:04:05" diff --git a/tox.ini b/tox.ini index c739aaffb5..581a507e08 100644 --- a/tox.ini +++ b/tox.ini @@ -2,16 +2,13 @@ envlist = py36 [testenv] -deps = - pytest - PyYAML - black +install_command = pip install .[dev] {opts} {packages} whitelist_externals = git rm commands = - pytest -vv black ./ --diff --check - + yamllint tests/ + pytest -vv From f835e75f9141ac815c18b69e275a4e221db85120 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 26 Nov 2019 07:36:50 -0700 Subject: [PATCH 346/628] Enhancement: Clean up test cases (#551) --- ...cisco_nxos_show_ip_ospf_neighbor.template} | 0 ...isco_xr_show_controllers_all_phy.template} | 0 templates/index | 4 +- tests/__init__.py | 6 +-- ...sco_nxos_show_ip_ospf_neighbor_vrf_all.raw | 0 ...sco_nxos_show_ip_ospf_neighbor_vrf_all.yml | 0 tests/test_testcases_exists.py | 44 ++++++++++--------- 7 files changed, 27 insertions(+), 27 deletions(-) rename templates/{cisco_nxos_show_ip_ospf_neighbor_vrf.template => cisco_nxos_show_ip_ospf_neighbor.template} (100%) rename templates/{cisco_xr_show_controllers.template => cisco_xr_show_controllers_all_phy.template} (100%) rename tests/cisco_nxos/{show_ip_ospf_neighbor_vrf_vrfname => show_ip_ospf_neighbor}/cisco_nxos_show_ip_ospf_neighbor_vrf_all.raw (100%) rename tests/cisco_nxos/{show_ip_ospf_neighbor_vrf_vrfname => show_ip_ospf_neighbor}/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml (100%) diff --git a/templates/cisco_nxos_show_ip_ospf_neighbor_vrf.template b/templates/cisco_nxos_show_ip_ospf_neighbor.template similarity index 100% rename from templates/cisco_nxos_show_ip_ospf_neighbor_vrf.template rename to templates/cisco_nxos_show_ip_ospf_neighbor.template diff --git a/templates/cisco_xr_show_controllers.template b/templates/cisco_xr_show_controllers_all_phy.template similarity index 100% rename from templates/cisco_xr_show_controllers.template rename to templates/cisco_xr_show_controllers_all_phy.template diff --git a/templates/index b/templates/index index c42f43d02f..bdb0a6e0e2 100644 --- a/templates/index +++ b/templates/index @@ -208,7 +208,6 @@ cisco_nxos_show_interfaces_switchport.template, .*, cisco_nxos, sh[[ow]] int[[er cisco_nxos_show_ip_dhcp_relay_address.template, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] cisco_nxos_show_lldp_neighbors_detail.template, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] cisco_nxos_show_cdp_neighbors_detail.template, .*, cisco_nxos, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] -cisco_nxos_show_ip_ospf_neighbor_vrf.template, .*, cisco_nxos, sh[[ow]] ip ospf nei[[ghbor]] vrf (\S+) cisco_nxos_show_ipv6_interface_brief.template, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] cisco_nxos_show_port-channel_summary.template, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.template, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] @@ -219,6 +218,7 @@ cisco_nxos_show_mac_address-table.template, .*, cisco_nxos, sh[[ow]] m[[ac]] add cisco_nxos_show_interface_status.template, .*, cisco_nxos, sh[[ow]] int[[erface]] st[[atus]] cisco_nxos_show_ip_bgp_neighbors.template, .*, cisco_nxos, sh[[ow]] ip bgp nei[[ghbors]] cisco_nxos_show_ip_ospf_database.template, .*, cisco_nxos, sh[[ow]] ip o[[spf]] d[[atabase]] +cisco_nxos_show_ip_ospf_neighbor.template, .*, cisco_nxos, sh[[ow]] ip ospf nei[[ghbor]] cisco_nxos_show_interface_brief.template, .*, cisco_nxos, sh[[ow]] int[[erface]] br[[ief]] cisco_nxos_show_flogi_database.template, .*, cisco_nxos, sh[[ow]] fl[[ogi]] d[[atabase]] cisco_nxos_show_ip_bgp_summary.template, .*, cisco_nxos, sh[[ow]] ip b[[gp]] s[[ummary]] @@ -273,6 +273,7 @@ cisco_xr_show_dhcp_ipv4_proxy_binding.template, .*, cisco_xr, sh[[ow]] dh[[cp]] cisco_xr_show_mpls_ldp_neighbor_brief.template, .*, cisco_xr, sh[[ow]] mp[[ls]] ld[[p]] neigh[[bor]] br[[ief]] cisco_xr_admin_show_environment_fan.template, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] f[[an]] cisco_xr_show_cdp_neighbors_detail.template, .*, cisco_xr, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_xr_show_controllers_all_phy.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] (\S+) ph[[y]] cisco_xr_show_cef_drops_location.template, .*, cisco_xr, sh[[ow]] cef drops loc[[ation]] cisco_xr_show_ip_interface_brief.template, .*, cisco_xr, sh[[ow]] ip int[[erface]] br[[ief]] cisco_xr_show_redundancy_summary.template, .*, cisco_xr, sh[[ow]] redun[[dancy]] summ[[ary]] @@ -290,7 +291,6 @@ cisco_xr_show_processes_cpu.template, .*, cisco_xr, sh[[ow]] proc[[esses]] c[[pu cisco_xr_show_bfd_sessions.template, .*, cisco_xr, sh[[ow]] bf[[d]] sess[[ions]] cisco_xr_show_drops_np_all.template, .*, cisco_xr, sh[[ow]] drops np all cisco_xr_show_pim_neighbor.template, .*, cisco_xr, sh[[ow]] pi[[m]] neigh[[bor]] -cisco_xr_show_controllers.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] (\S+) phy cisco_xr_show_interfaces.template, .*, cisco_xr, sh[[ow]] inte[[rfaces]] cisco_xr_admin_show_vm.template, .*, cisco_xr, adm[[in]] sh[[ow]] vm cisco_xr_show_ip_route.template, .*, cisco_xr, sh[[ow]] (?:ip )?ro[[ute]] diff --git a/tests/__init__.py b/tests/__init__.py index 5a62df4906..8292f8f927 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -8,10 +8,6 @@ def load_index_data(): """Load data from index file.""" - index_data = [] with open("{0}{1}index".format(_get_template_dir(), os.sep)) as indexfs: data = csv.reader(indexfs) - for row in data: - if len(row) > 2 and row[0] != "Template": - index_data.append(row) - return index_data + return [row for row in data if len(row) > 2 and row[0] != "Template"] diff --git a/tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.raw b/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor_vrf_all.raw similarity index 100% rename from tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.raw rename to tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor_vrf_all.raw diff --git a/tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml b/tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml similarity index 100% rename from tests/cisco_nxos/show_ip_ospf_neighbor_vrf_vrfname/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml rename to tests/cisco_nxos/show_ip_ospf_neighbor/cisco_nxos_show_ip_ospf_neighbor_vrf_all.yml diff --git a/tests/test_testcases_exists.py b/tests/test_testcases_exists.py index ae661ca75f..04c47a9f24 100644 --- a/tests/test_testcases_exists.py +++ b/tests/test_testcases_exists.py @@ -2,38 +2,42 @@ import os import glob import re +import pytest from tests import load_index_data -KNOWN_MISSING_TESTS = { - "cisco_ios_show_vlan", - "cisco_nxos_show_interface_brief", - "cisco_nxos_show_ip_ospf_neighbor_vrf", - "cisco_xr_show_controllers", -} +TEST_DIRECTORIES = os.listdir("tests") -def test_verify_parsed_and_reference_data_exists(): - """Verify that at least one test exists for all entries in the index file. - - TODO: - Add test cases for ``KNOWN_MISSING_TESTS`` and remove related conditional. - Remove "_ssh" from ``cisco_wlc_ssh`` and rely on vendor_platform_command syntax - instead of using regex on the directories. +def extract_index_data(): + """Used to parametrize and report each test case with the necessary data. """ index = sorted(load_index_data()) + mock_directories = [] for row in index: + # Trim template name to only parts making up platform and command directories template = row[0].strip() template_short = template.split(".template")[0] + # Get RegEx pattern to strip platform from template name platform = row[2].strip() - for directory in os.listdir("tests"): + # The platform attribute is a RegEx pattern, + # so need to loop through each platform looking to find a match + # in order to accurately derive platform name + for directory in TEST_DIRECTORIES: if re.match(platform, directory): - platform_directory = directory + platform = directory break - cut = len(platform_directory) + 1 + cut = len(platform) + 1 command = template_short[cut:] - if template_short not in KNOWN_MISSING_TESTS: - cases = "tests/{0}/{1}/*.raw".format(platform_directory, command) - test_list = glob.glob(cases) - assert len(test_list) != 0, "Could not find tests for {0}".format(template) + mock_directories.append(f"tests/{platform}/{command}") + return mock_directories + + +@pytest.mark.parametrize("mock_directory", extract_index_data()) +def test_verify_parsed_and_reference_data_exists(mock_directory): + """Verify that at least one test exists for all entries in the index file. + """ + cases = f"{mock_directory}/*.raw" + test_list = glob.glob(cases) + assert len(test_list) != 0, f"Could not find tests for {mock_directory}.template" From 3f781875b6a51143b03749d21ae24989e423592c Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Wed, 27 Nov 2019 11:45:27 -0500 Subject: [PATCH 347/628] Enhancement: Use ".textfsm" extension for IDEs (#543) --- README.md | 18 +- ...template => alcatel_aos_show_vlan.textfsm} | 0 ...late => alcatel_sros_oam_mac-ping.textfsm} | 0 ...s_show_router_bgp_routes_vpn-ipv4.textfsm} | 0 ...alcatel_sros_show_service_id_base.textfsm} | 0 ...template => arista_eos_bash_df_-h.textfsm} | 0 ....template => arista_eos_dir_flash.textfsm} | 0 ...te => arista_eos_show_boot-config.textfsm} | 0 ...template => arista_eos_show_clock.textfsm} | 0 ...ista_eos_show_environment_cooling.textfsm} | 0 ..._eos_show_environment_temperature.textfsm} | 0 ...plate => arista_eos_show_hostname.textfsm} | 0 ...ate => arista_eos_show_interfaces.textfsm} | 0 ...arista_eos_show_interfaces_status.textfsm} | 0 ...a_eos_show_interfaces_transceiver.textfsm} | 0 ...how_interfaces_transceiver_detail.textfsm} | 0 ...late => arista_eos_show_inventory.textfsm} | 0 ...> arista_eos_show_ip_access-lists.textfsm} | 0 ...emplate => arista_eos_show_ip_arp.textfsm} | 0 ...emplate => arista_eos_show_ip_bgp.textfsm} | 0 ...=> arista_eos_show_ip_bgp_summary.textfsm} | 0 ...arista_eos_show_ip_helper-address.textfsm} | 0 ...rista_eos_show_ip_interface_brief.textfsm} | 0 ... arista_eos_show_ip_ospf_database.textfsm} | 0 ... arista_eos_show_ip_ospf_neighbor.textfsm} | 0 ...plate => arista_eos_show_ip_route.textfsm} | 0 ...=> arista_eos_show_isis_neighbors.textfsm} | 0 ...=> arista_eos_show_lldp_neighbors.textfsm} | 0 ...ta_eos_show_lldp_neighbors_detail.textfsm} | 0 ...arista_eos_show_mac_address-table.textfsm} | 0 ...a_eos_show_mac_security_interface.textfsm} | 0 ...os_show_mac_security_mka_counters.textfsm} | 0 ..._mac_security_participants_detail.textfsm} | 0 ....template => arista_eos_show_mlag.textfsm} | 0 ...emplate => arista_eos_show_module.textfsm} | 0 ...e => arista_eos_show_reload_cause.textfsm} | 0 ...=> arista_eos_show_snmp_community.textfsm} | 0 ...mplate => arista_eos_show_version.textfsm} | 0 ....template => arista_eos_show_vlan.textfsm} | 0 ...f.template => arista_eos_show_vrf.textfsm} | 0 ... aruba_os_show_ip_interface_brief.textfsm} | 0 ...ruba_os_show_ipv6_interface_brief.textfsm} | 0 ... => avaya_ers_show_interface_name.textfsm} | 0 ... => avaya_ers_show_logging_config.textfsm} | 0 ... avaya_ers_show_mac-address-table.textfsm} | 0 ...lt.template => avaya_ers_show_mlt.textfsm} | 0 ...=> avaya_ers_show_mlt_all-members.textfsm} | 0 ...mplate => avaya_ers_show_sys-info.textfsm} | 0 ...n.template => avaya_ers_show_vlan.textfsm} | 0 ...mplate => avaya_vsp_show_software.textfsm} | 0 ...late => brocade_fastiron_show_arp.textfsm} | 0 ... brocade_fastiron_show_interfaces.textfsm} | 0 ...de_fastiron_show_interfaces_brief.textfsm} | 0 ...> brocade_fastiron_show_lag_brief.textfsm} | 0 ...cade_fastiron_show_lldp_neighbors.textfsm} | 0 ...stiron_show_lldp_neighbors_detail.textfsm} | 0 ...brocade_fastiron_show_mac-address.textfsm} | 0 ...te => brocade_fastiron_show_metro.textfsm} | 0 ... => brocade_fastiron_show_monitor.textfsm} | 0 ...fastiron_show_running-config_vlan.textfsm} | 0 ...ate => brocade_fastiron_show_span.textfsm} | 0 ...ate => brocade_fastiron_show_topo.textfsm} | 0 ...te => brocade_fastiron_show_trunk.textfsm} | 0 ... => brocade_fastiron_show_version.textfsm} | 0 ...> brocade_netiron_show_interfaces.textfsm} | 0 ...ade_netiron_show_interfaces_brief.textfsm} | 0 ...=> brocade_netiron_show_lag_brief.textfsm} | 0 ...etiron_show_lldp_neighbors_detail.textfsm} | 0 ...ate => brocade_netiron_show_metro.textfsm} | 0 ...ocade_netiron_show_monitor_actual.textfsm} | 0 ...ron_show_running-config_interface.textfsm} | 0 ..._netiron_show_running-config_vlan.textfsm} | 0 ...late => brocade_netiron_show_span.textfsm} | 0 ...late => brocade_netiron_show_topo.textfsm} | 0 ...mplate => checkpoint_gaia_fw_stat.textfsm} | 0 ...=> checkpoint_gaia_show_asset_all.textfsm} | 0 ...plate => checkpoint_gaia_show_dns.textfsm} | 0 ...> checkpoint_gaia_show_domainname.textfsm} | 0 ...eckpoint_gaia_show_interfaces_all.textfsm} | 0 ...> checkpoint_gaia_show_ipv6_route.textfsm} | 0 ...plate => checkpoint_gaia_show_lom.textfsm} | 0 ... checkpoint_gaia_show_ntp_servers.textfsm} | 0 ...ate => checkpoint_gaia_show_route.textfsm} | 0 ... checkpoint_gaia_show_version_all.textfsm} | 0 ...emplate => ciena_6x_software_show.textfsm} | 0 ...asa_dir.template => cisco_asa_dir.textfsm} | 0 ...ate => cisco_asa_show_access-list.textfsm} | 0 ...mplate => cisco_asa_show_asp_drop.textfsm} | 0 ...show_asp_table_vpn-context_detail.textfsm} | 0 ...o_asa_show_crypto_ikev1_sa_detail.textfsm} | 0 ...=> cisco_asa_show_crypto_ipsec_sa.textfsm} | 0 ...mplate => cisco_asa_show_failover.textfsm} | 0 ...plate => cisco_asa_show_interface.textfsm} | 0 ...> cisco_asa_show_interface_detail.textfsm} | 0 ...plate => cisco_asa_show_inventory.textfsm} | 0 ...ate => cisco_asa_show_license_all.textfsm} | 0 ...e.template => cisco_asa_show_name.textfsm} | 0 ...at.template => cisco_asa_show_nat.textfsm} | 0 ...sco_asa_show_object-group_network.textfsm} | 0 ... => cisco_asa_show_resource_usage.textfsm} | 0 ....template => cisco_asa_show_route.textfsm} | 0 ..._show_running-config_crypto_ikev1.textfsm} | 0 ...sa_show_running-config_crypto_map.textfsm} | 0 ...sco_asa_show_running-config_ipsec.textfsm} | 0 ...how_running-config_object_network.textfsm} | 0 ..._show_running-config_tunnel-group.textfsm} | 0 ...emplate => cisco_asa_show_version.textfsm} | 0 ...asa_show_vpn-sessiondb_detail_l2l.textfsm} | 0 ....template => cisco_asa_show_xlate.textfsm} | 0 ...ios_dir.template => cisco_ios_dir.textfsm} | 0 ...ate => cisco_ios_show_access-list.textfsm} | 0 ...emplate => cisco_ios_show_aliases.textfsm} | 0 ...emplate => cisco_ios_show_archive.textfsm} | 0 ..._ios_show_authentication_sessions.textfsm} | 0 ...t.template => cisco_ios_show_boot.textfsm} | 0 ...s_show_capability_feature_routing.textfsm} | 0 ...e => cisco_ios_show_cdp_neighbors.textfsm} | 0 ...sco_ios_show_cdp_neighbors_detail.textfsm} | 0 ....template => cisco_ios_show_clock.textfsm} | 0 ...e => cisco_ios_show_controller_t1.textfsm} | 0 ....template => cisco_ios_show_dmvpn.textfsm} | 0 ...plate => cisco_ios_show_dot1x_all.textfsm} | 0 ...co_ios_show_environment_power_all.textfsm} | 0 ..._ios_show_environment_temperature.textfsm} | 0 ...e => cisco_ios_show_hosts_summary.textfsm} | 0 ...co_ios_show_interface_transceiver.textfsm} | 0 ...late => cisco_ios_show_interfaces.textfsm} | 0 ...o_ios_show_interfaces_description.textfsm} | 0 ... cisco_ios_show_interfaces_status.textfsm} | 0 ...co_ios_show_interfaces_switchport.textfsm} | 0 ...plate => cisco_ios_show_inventory.textfsm} | 0 ...=> cisco_ios_show_ip_access-lists.textfsm} | 0 ...template => cisco_ios_show_ip_arp.textfsm} | 0 ...template => cisco_ios_show_ip_bgp.textfsm} | 0 ... => cisco_ios_show_ip_bgp_summary.textfsm} | 0 ...o_ios_show_ip_device_tracking_all.textfsm} | 0 ...cisco_ios_show_ip_eigrp_neighbors.textfsm} | 0 ... cisco_ios_show_ip_eigrp_topology.textfsm} | 0 ...cisco_ios_show_ip_flow_toptalkers.textfsm} | 0 ...te => cisco_ios_show_ip_interface.textfsm} | 0 ...cisco_ios_show_ip_interface_brief.textfsm} | 0 ...plate => cisco_ios_show_ip_mroute.textfsm} | 0 ...> cisco_ios_show_ip_ospf_database.textfsm} | 0 ..._ios_show_ip_ospf_interface_brief.textfsm} | 0 ...> cisco_ios_show_ip_ospf_neighbor.textfsm} | 0 ... => cisco_ios_show_ip_prefix-list.textfsm} | 0 ...mplate => cisco_ios_show_ip_route.textfsm} | 0 ... cisco_ios_show_ip_source_binding.textfsm} | 0 ...sco_ios_show_ipv6_interface_brief.textfsm} | 0 ... => cisco_ios_show_ipv6_neighbors.textfsm} | 0 ...ate => cisco_ios_show_isdn_status.textfsm} | 0 ... => cisco_ios_show_isis_neighbors.textfsm} | 0 ...emplate => cisco_ios_show_license.textfsm} | 0 ... => cisco_ios_show_lldp_neighbors.textfsm} | 0 ...co_ios_show_lldp_neighbors_detail.textfsm} | 0 ... cisco_ios_show_mac-address-table.textfsm} | 0 ...e => cisco_ios_show_platform_diag.textfsm} | 0 ...=> cisco_ios_show_power_available.textfsm} | 0 ...te => cisco_ios_show_power_status.textfsm} | 0 ... => cisco_ios_show_power_supplies.textfsm} | 0 ...e => cisco_ios_show_processes_cpu.textfsm} | 0 ..._ios_show_processes_memory_sorted.textfsm} | 0 ...late => cisco_ios_show_redundancy.textfsm} | 0 ...plate => cisco_ios_show_route-map.textfsm} | 0 ...ning-config_partition_access-list.textfsm} | 0 ...unning-config_partition_route-map.textfsm} | 0 ... => cisco_ios_show_snmp_community.textfsm} | 0 ...plate => cisco_ios_show_snmp_user.textfsm} | 0 ...e => cisco_ios_show_spanning-tree.textfsm} | 0 ...emplate => cisco_ios_show_standby.textfsm} | 0 ...e => cisco_ios_show_standby_brief.textfsm} | 0 ...e => cisco_ios_show_switch_detail.textfsm} | 0 ...os_show_switch_detail_stack_ports.textfsm} | 0 ...template => cisco_ios_show_tacacs.textfsm} | 0 ...emplate => cisco_ios_show_version.textfsm} | 0 ...n.template => cisco_ios_show_vlan.textfsm} | 0 ...rf.template => cisco_ios_show_vrf.textfsm} | 0 ...late => cisco_ios_show_vtp_status.textfsm} | 0 ...e => cisco_nxos_show_access-lists.textfsm} | 0 ... => cisco_nxos_show_cdp_neighbors.textfsm} | 0 ...co_nxos_show_cdp_neighbors_detail.textfsm} | 0 ...template => cisco_nxos_show_clock.textfsm} | 0 ...how_configuration_session_summary.textfsm} | 0 ...cisco_nxos_show_cts_interface_all.textfsm} | 0 ...sco_nxos_show_cts_interface_brief.textfsm} | 0 ...nxos_show_environment_temperature.textfsm} | 0 ...e => cisco_nxos_show_environments.textfsm} | 0 ...mplate => cisco_nxos_show_feature.textfsm} | 0 ...x.template => cisco_nxos_show_fex.textfsm} | 0 ...emplate => cisco_nxos_show_fex_id.textfsm} | 0 ...=> cisco_nxos_show_flogi_database.textfsm} | 0 ...o_nxos_show_forwarding_ipv4_route.textfsm} | 0 ...plate => cisco_nxos_show_hostname.textfsm} | 0 ...late => cisco_nxos_show_interface.textfsm} | 0 ...> cisco_nxos_show_interface_brief.textfsm} | 0 ... cisco_nxos_show_interface_status.textfsm} | 0 ...how_interface_transceiver_details.textfsm} | 0 ...o_nxos_show_interfaces_switchport.textfsm} | 0 ...late => cisco_nxos_show_inventory.textfsm} | 0 ...emplate => cisco_nxos_show_ip_arp.textfsm} | 0 ... => cisco_nxos_show_ip_arp_detail.textfsm} | 0 ...emplate => cisco_nxos_show_ip_bgp.textfsm} | 0 ... cisco_nxos_show_ip_bgp_neighbors.textfsm} | 0 ...=> cisco_nxos_show_ip_bgp_summary.textfsm} | 0 ...isco_nxos_show_ip_bgp_summary_vrf.textfsm} | 0 ...cisco_nxos_show_ip_community-list.textfsm} | 0 ...o_nxos_show_ip_dhcp_relay_address.textfsm} | 0 ...isco_nxos_show_ip_interface_brief.textfsm} | 0 ... cisco_nxos_show_ip_ospf_database.textfsm} | 0 ... cisco_nxos_show_ip_ospf_neighbor.textfsm} | 0 ...plate => cisco_nxos_show_ip_route.textfsm} | 0 ...co_nxos_show_ipv6_interface_brief.textfsm} | 0 ..._internal_permanently-frozen-list.textfsm} | 0 ...=> cisco_nxos_show_lldp_neighbors.textfsm} | 0 ...o_nxos_show_lldp_neighbors_detail.textfsm} | 0 ...cisco_nxos_show_mac_address-table.textfsm} | 0 ...emplate => cisco_nxos_show_module.textfsm} | 0 ...co_nxos_show_port-channel_summary.textfsm} | 0 ... => cisco_nxos_show_processes_cpu.textfsm} | 0 ...late => cisco_nxos_show_route-map.textfsm} | 0 ...mplate => cisco_nxos_show_version.textfsm} | 0 ....template => cisco_nxos_show_vlan.textfsm} | 0 ...c.template => cisco_nxos_show_vpc.textfsm} | 0 ...f.template => cisco_nxos_show_vrf.textfsm} | 0 ...ate => cisco_wlc_ssh_show_802.11a.textfsm} | 0 ..._ssh_show_802.11a_cleanair_config.textfsm} | 0 ...ssh_show_advanced_802.11a_channel.textfsm} | 0 ...co_wlc_ssh_show_ap_config_general.textfsm} | 0 ... => cisco_wlc_ssh_show_ap_summary.textfsm} | 0 ...wlc_ssh_show_cdp_neighbors_detail.textfsm} | 0 ... cisco_wlc_ssh_show_client_detail.textfsm} | 0 ... cisco_wlc_ssh_show_exclusionlist.textfsm} | 0 ...co_wlc_ssh_show_interface_summary.textfsm} | 0 ...e => cisco_wlc_ssh_show_inventory.textfsm} | 0 ...o_wlc_ssh_show_rf-profile_summary.textfsm} | 0 ...ate => cisco_wlc_ssh_show_sysinfo.textfsm} | 0 ...min_show_controller_fabric_health.textfsm} | 0 ...sco_xr_admin_show_environment_fan.textfsm} | 0 ... => cisco_xr_admin_show_inventory.textfsm} | 0 ...e => cisco_xr_admin_show_platform.textfsm} | 0 ...emplate => cisco_xr_admin_show_vm.textfsm} | 0 ..._xr_show_asic-errors_all_location.textfsm} | 0 ...ate => cisco_xr_show_bfd_sessions.textfsm} | 0 ...bgp.template => cisco_xr_show_bgp.textfsm} | 0 ...te => cisco_xr_show_bgp_neighbors.textfsm} | 0 ..._bgp_vrf_all_ipv4_unicast_summary.textfsm} | 0 ...isco_xr_show_cdp_neighbors_detail.textfsm} | 0 ... cisco_xr_show_cef_drops_location.textfsm} | 0 ...xr_show_configuration_commit_list.textfsm} | 0 ..._show_controller_fabric_plane_all.textfsm} | 0 ...ontrollers_HundredGigabitEthernet.textfsm} | 0 ...cisco_xr_show_controllers_all_phy.textfsm} | 0 ..._fabric_fia_drops_egress_location.textfsm} | 0 ...fabric_fia_drops_ingress_location.textfsm} | 0 ...fabric_fia_errors_egress_location.textfsm} | 0 ...abric_fia_errors_ingress_location.textfsm} | 0 ...o_xr_show_dhcp_ipv4_proxy_binding.textfsm} | 0 ...ate => cisco_xr_show_drops_np_all.textfsm} | 0 ...rp.template => cisco_xr_show_hsrp.textfsm} | 0 ... => cisco_xr_show_interface_brief.textfsm} | 0 ...plate => cisco_xr_show_interfaces.textfsm} | 0 ...e => cisco_xr_show_ip_bgp_summary.textfsm} | 0 ... cisco_xr_show_ip_interface_brief.textfsm} | 0 ...emplate => cisco_xr_show_ip_route.textfsm} | 0 ...e => cisco_xr_show_ipv6_neighbors.textfsm} | 0 ...e => cisco_xr_show_isis_neighbors.textfsm} | 0 ...e => cisco_xr_show_lldp_neighbors.textfsm} | 0 ...ts_pifib_hardware_police_location.textfsm} | 0 ...o_xr_show_mpls_ldp_neighbor_brief.textfsm} | 0 ...te => cisco_xr_show_ospf_neighbor.textfsm} | 0 ...ate => cisco_xr_show_pim_neighbor.textfsm} | 0 ...te => cisco_xr_show_processes_cpu.textfsm} | 0 ... cisco_xr_show_redundancy_summary.textfsm} | 0 ...e => cisco_xr_show_rsvp_neighbors.textfsm} | 0 ...template => cisco_xr_show_version.textfsm} | 0 ...template => dell_force10_show_arp.textfsm} | 0 ...late => dell_force10_show_version.textfsm} | 0 ...emplate => dell_force10_show_vlan.textfsm} | 0 ...e => dell_force10_show_vlan_brief.textfsm} | 0 ...rtios_get_router_info_bgp_summary.textfsm} | 0 ...emplate => hp_comware_display_arp.textfsm} | 0 ...plate => hp_comware_display_clock.textfsm} | 0 ..._display_counters_bound_interface.textfsm} | 0 ...=> hp_comware_display_mac-address.textfsm} | 0 ... => hp_comware_display_vlan_brief.textfsm} | 0 ....template => hp_procurve_show_arp.textfsm} | 0 ...e => hp_procurve_show_mac-address.textfsm} | 0 ...mplate => hp_procurve_show_system.textfsm} | 0 ... => hp_procurve_show_tech_buffers.textfsm} | 0 ...emplate => hp_procurve_show_vlans.textfsm} | 0 ...uawei_vrp_display_interface_brief.textfsm} | 0 ...=> huawei_vrp_display_temperature.textfsm} | 0 templates/index | 632 +++++++++--------- ...juniper_junos_show_arp_no-resolve.textfsm} | 0 ...s_show_chassis_cluster_interfaces.textfsm} | 0 ...junos_show_chassis_cluster_status.textfsm} | 0 ...niper_junos_show_chassis_firmware.textfsm} | 0 ... => juniper_junos_show_interfaces.textfsm} | 0 ...juniper_junos_show_isis_adjacency.textfsm} | 0 ... juniper_junos_show_ospf_neighbor.textfsm} | 0 ...ate => juniper_junos_show_version.textfsm} | 0 ...ate => juniper_screenos_get_route.textfsm} | 0 ...te => paloalto_panos_show_arp_all.textfsm} | 0 ...aloalto_panos_show_counter_global.textfsm} | 0 ..._panos_show_high-availability_all.textfsm} | 0 ...lto_panos_show_interface_hardware.textfsm} | 0 ...alto_panos_show_interface_logical.textfsm} | 0 ...e => paloalto_panos_show_jobs_all.textfsm} | 0 ...te => paloalto_panos_show_mac_all.textfsm} | 0 ...lto_panos_show_running_nat-policy.textfsm} | 0 ...anos_show_running_security-policy.textfsm} | 0 ...> paloalto_panos_show_system_info.textfsm} | 0 ...plate => ruckus_fastiron_show_arp.textfsm} | 0 ...e => ubiquiti_edgeswitch_show_arp.textfsm} | 0 ... => ubiquiti_edgeswitch_show_vlan.textfsm} | 0 ...vmware_nsxv_show_ip_bgp_neighbors.textfsm} | 0 ...late => vmware_nsxv_show_ip_route.textfsm} | 0 ....template => vyatta_vyos_show_arp.textfsm} | 0 ...te => vyatta_vyos_show_interfaces.textfsm} | 0 ...te => watchguard_firebox_show_arp.textfsm} | 0 tests/test_testcases_exists.py | 4 +- 321 files changed, 327 insertions(+), 327 deletions(-) rename templates/{alcatel_aos_show_vlan.template => alcatel_aos_show_vlan.textfsm} (100%) rename templates/{alcatel_sros_oam_mac-ping.template => alcatel_sros_oam_mac-ping.textfsm} (100%) rename templates/{alcatel_sros_show_router_bgp_routes_vpn-ipv4.template => alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm} (100%) rename templates/{alcatel_sros_show_service_id_base.template => alcatel_sros_show_service_id_base.textfsm} (100%) rename templates/{arista_eos_bash_df_-h.template => arista_eos_bash_df_-h.textfsm} (100%) rename templates/{arista_eos_dir_flash.template => arista_eos_dir_flash.textfsm} (100%) rename templates/{arista_eos_show_boot-config.template => arista_eos_show_boot-config.textfsm} (100%) rename templates/{arista_eos_show_clock.template => arista_eos_show_clock.textfsm} (100%) rename templates/{arista_eos_show_environment_cooling.template => arista_eos_show_environment_cooling.textfsm} (100%) rename templates/{arista_eos_show_environment_temperature.template => arista_eos_show_environment_temperature.textfsm} (100%) rename templates/{arista_eos_show_hostname.template => arista_eos_show_hostname.textfsm} (100%) rename templates/{arista_eos_show_interfaces.template => arista_eos_show_interfaces.textfsm} (100%) rename templates/{arista_eos_show_interfaces_status.template => arista_eos_show_interfaces_status.textfsm} (100%) rename templates/{arista_eos_show_interfaces_transceiver.template => arista_eos_show_interfaces_transceiver.textfsm} (100%) rename templates/{arista_eos_show_interfaces_transceiver_detail.template => arista_eos_show_interfaces_transceiver_detail.textfsm} (100%) rename templates/{arista_eos_show_inventory.template => arista_eos_show_inventory.textfsm} (100%) rename templates/{arista_eos_show_ip_access-lists.template => arista_eos_show_ip_access-lists.textfsm} (100%) rename templates/{arista_eos_show_ip_arp.template => arista_eos_show_ip_arp.textfsm} (100%) rename templates/{arista_eos_show_ip_bgp.template => arista_eos_show_ip_bgp.textfsm} (100%) rename templates/{arista_eos_show_ip_bgp_summary.template => arista_eos_show_ip_bgp_summary.textfsm} (100%) rename templates/{arista_eos_show_ip_helper-address.template => arista_eos_show_ip_helper-address.textfsm} (100%) rename templates/{arista_eos_show_ip_interface_brief.template => arista_eos_show_ip_interface_brief.textfsm} (100%) rename templates/{arista_eos_show_ip_ospf_database.template => arista_eos_show_ip_ospf_database.textfsm} (100%) rename templates/{arista_eos_show_ip_ospf_neighbor.template => arista_eos_show_ip_ospf_neighbor.textfsm} (100%) rename templates/{arista_eos_show_ip_route.template => arista_eos_show_ip_route.textfsm} (100%) rename templates/{arista_eos_show_isis_neighbors.template => arista_eos_show_isis_neighbors.textfsm} (100%) rename templates/{arista_eos_show_lldp_neighbors.template => arista_eos_show_lldp_neighbors.textfsm} (100%) rename templates/{arista_eos_show_lldp_neighbors_detail.template => arista_eos_show_lldp_neighbors_detail.textfsm} (100%) rename templates/{arista_eos_show_mac_address-table.template => arista_eos_show_mac_address-table.textfsm} (100%) rename templates/{arista_eos_show_mac_security_interface.template => arista_eos_show_mac_security_interface.textfsm} (100%) rename templates/{arista_eos_show_mac_security_mka_counters.template => arista_eos_show_mac_security_mka_counters.textfsm} (100%) rename templates/{arista_eos_show_mac_security_participants_detail.template => arista_eos_show_mac_security_participants_detail.textfsm} (100%) rename templates/{arista_eos_show_mlag.template => arista_eos_show_mlag.textfsm} (100%) rename templates/{arista_eos_show_module.template => arista_eos_show_module.textfsm} (100%) rename templates/{arista_eos_show_reload_cause.template => arista_eos_show_reload_cause.textfsm} (100%) rename templates/{arista_eos_show_snmp_community.template => arista_eos_show_snmp_community.textfsm} (100%) rename templates/{arista_eos_show_version.template => arista_eos_show_version.textfsm} (100%) rename templates/{arista_eos_show_vlan.template => arista_eos_show_vlan.textfsm} (100%) rename templates/{arista_eos_show_vrf.template => arista_eos_show_vrf.textfsm} (100%) rename templates/{aruba_os_show_ip_interface_brief.template => aruba_os_show_ip_interface_brief.textfsm} (100%) rename templates/{aruba_os_show_ipv6_interface_brief.template => aruba_os_show_ipv6_interface_brief.textfsm} (100%) rename templates/{avaya_ers_show_interface_name.template => avaya_ers_show_interface_name.textfsm} (100%) rename templates/{avaya_ers_show_logging_config.template => avaya_ers_show_logging_config.textfsm} (100%) rename templates/{avaya_ers_show_mac-address-table.template => avaya_ers_show_mac-address-table.textfsm} (100%) rename templates/{avaya_ers_show_mlt.template => avaya_ers_show_mlt.textfsm} (100%) rename templates/{avaya_ers_show_mlt_all-members.template => avaya_ers_show_mlt_all-members.textfsm} (100%) rename templates/{avaya_ers_show_sys-info.template => avaya_ers_show_sys-info.textfsm} (100%) rename templates/{avaya_ers_show_vlan.template => avaya_ers_show_vlan.textfsm} (100%) rename templates/{avaya_vsp_show_software.template => avaya_vsp_show_software.textfsm} (100%) rename templates/{brocade_fastiron_show_arp.template => brocade_fastiron_show_arp.textfsm} (100%) rename templates/{brocade_fastiron_show_interfaces.template => brocade_fastiron_show_interfaces.textfsm} (100%) rename templates/{brocade_fastiron_show_interfaces_brief.template => brocade_fastiron_show_interfaces_brief.textfsm} (100%) rename templates/{brocade_fastiron_show_lag_brief.template => brocade_fastiron_show_lag_brief.textfsm} (100%) rename templates/{brocade_fastiron_show_lldp_neighbors.template => brocade_fastiron_show_lldp_neighbors.textfsm} (100%) rename templates/{brocade_fastiron_show_lldp_neighbors_detail.template => brocade_fastiron_show_lldp_neighbors_detail.textfsm} (100%) rename templates/{brocade_fastiron_show_mac-address.template => brocade_fastiron_show_mac-address.textfsm} (100%) rename templates/{brocade_fastiron_show_metro.template => brocade_fastiron_show_metro.textfsm} (100%) rename templates/{brocade_fastiron_show_monitor.template => brocade_fastiron_show_monitor.textfsm} (100%) rename templates/{brocade_fastiron_show_running-config_vlan.template => brocade_fastiron_show_running-config_vlan.textfsm} (100%) rename templates/{brocade_fastiron_show_span.template => brocade_fastiron_show_span.textfsm} (100%) rename templates/{brocade_fastiron_show_topo.template => brocade_fastiron_show_topo.textfsm} (100%) rename templates/{brocade_fastiron_show_trunk.template => brocade_fastiron_show_trunk.textfsm} (100%) rename templates/{brocade_fastiron_show_version.template => brocade_fastiron_show_version.textfsm} (100%) rename templates/{brocade_netiron_show_interfaces.template => brocade_netiron_show_interfaces.textfsm} (100%) rename templates/{brocade_netiron_show_interfaces_brief.template => brocade_netiron_show_interfaces_brief.textfsm} (100%) rename templates/{brocade_netiron_show_lag_brief.template => brocade_netiron_show_lag_brief.textfsm} (100%) rename templates/{brocade_netiron_show_lldp_neighbors_detail.template => brocade_netiron_show_lldp_neighbors_detail.textfsm} (100%) rename templates/{brocade_netiron_show_metro.template => brocade_netiron_show_metro.textfsm} (100%) rename templates/{brocade_netiron_show_monitor_actual.template => brocade_netiron_show_monitor_actual.textfsm} (100%) rename templates/{brocade_netiron_show_running-config_interface.template => brocade_netiron_show_running-config_interface.textfsm} (100%) rename templates/{brocade_netiron_show_running-config_vlan.template => brocade_netiron_show_running-config_vlan.textfsm} (100%) rename templates/{brocade_netiron_show_span.template => brocade_netiron_show_span.textfsm} (100%) rename templates/{brocade_netiron_show_topo.template => brocade_netiron_show_topo.textfsm} (100%) rename templates/{checkpoint_gaia_fw_stat.template => checkpoint_gaia_fw_stat.textfsm} (100%) rename templates/{checkpoint_gaia_show_asset_all.template => checkpoint_gaia_show_asset_all.textfsm} (100%) rename templates/{checkpoint_gaia_show_dns.template => checkpoint_gaia_show_dns.textfsm} (100%) rename templates/{checkpoint_gaia_show_domainname.template => checkpoint_gaia_show_domainname.textfsm} (100%) rename templates/{checkpoint_gaia_show_interfaces_all.template => checkpoint_gaia_show_interfaces_all.textfsm} (100%) rename templates/{checkpoint_gaia_show_ipv6_route.template => checkpoint_gaia_show_ipv6_route.textfsm} (100%) rename templates/{checkpoint_gaia_show_lom.template => checkpoint_gaia_show_lom.textfsm} (100%) rename templates/{checkpoint_gaia_show_ntp_servers.template => checkpoint_gaia_show_ntp_servers.textfsm} (100%) rename templates/{checkpoint_gaia_show_route.template => checkpoint_gaia_show_route.textfsm} (100%) rename templates/{checkpoint_gaia_show_version_all.template => checkpoint_gaia_show_version_all.textfsm} (100%) rename templates/{ciena_6x_software_show.template => ciena_6x_software_show.textfsm} (100%) rename templates/{cisco_asa_dir.template => cisco_asa_dir.textfsm} (100%) rename templates/{cisco_asa_show_access-list.template => cisco_asa_show_access-list.textfsm} (100%) rename templates/{cisco_asa_show_asp_drop.template => cisco_asa_show_asp_drop.textfsm} (100%) rename templates/{cisco_asa_show_asp_table_vpn-context_detail.template => cisco_asa_show_asp_table_vpn-context_detail.textfsm} (100%) rename templates/{cisco_asa_show_crypto_ikev1_sa_detail.template => cisco_asa_show_crypto_ikev1_sa_detail.textfsm} (100%) rename templates/{cisco_asa_show_crypto_ipsec_sa.template => cisco_asa_show_crypto_ipsec_sa.textfsm} (100%) rename templates/{cisco_asa_show_failover.template => cisco_asa_show_failover.textfsm} (100%) rename templates/{cisco_asa_show_interface.template => cisco_asa_show_interface.textfsm} (100%) rename templates/{cisco_asa_show_interface_detail.template => cisco_asa_show_interface_detail.textfsm} (100%) rename templates/{cisco_asa_show_inventory.template => cisco_asa_show_inventory.textfsm} (100%) rename templates/{cisco_asa_show_license_all.template => cisco_asa_show_license_all.textfsm} (100%) rename templates/{cisco_asa_show_name.template => cisco_asa_show_name.textfsm} (100%) rename templates/{cisco_asa_show_nat.template => cisco_asa_show_nat.textfsm} (100%) rename templates/{cisco_asa_show_object-group_network.template => cisco_asa_show_object-group_network.textfsm} (100%) rename templates/{cisco_asa_show_resource_usage.template => cisco_asa_show_resource_usage.textfsm} (100%) rename templates/{cisco_asa_show_route.template => cisco_asa_show_route.textfsm} (100%) rename templates/{cisco_asa_show_running-config_crypto_ikev1.template => cisco_asa_show_running-config_crypto_ikev1.textfsm} (100%) rename templates/{cisco_asa_show_running-config_crypto_map.template => cisco_asa_show_running-config_crypto_map.textfsm} (100%) rename templates/{cisco_asa_show_running-config_ipsec.template => cisco_asa_show_running-config_ipsec.textfsm} (100%) rename templates/{cisco_asa_show_running-config_object_network.template => cisco_asa_show_running-config_object_network.textfsm} (100%) rename templates/{cisco_asa_show_running-config_tunnel-group.template => cisco_asa_show_running-config_tunnel-group.textfsm} (100%) rename templates/{cisco_asa_show_version.template => cisco_asa_show_version.textfsm} (100%) rename templates/{cisco_asa_show_vpn-sessiondb_detail_l2l.template => cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm} (100%) rename templates/{cisco_asa_show_xlate.template => cisco_asa_show_xlate.textfsm} (100%) rename templates/{cisco_ios_dir.template => cisco_ios_dir.textfsm} (100%) rename templates/{cisco_ios_show_access-list.template => cisco_ios_show_access-list.textfsm} (100%) rename templates/{cisco_ios_show_aliases.template => cisco_ios_show_aliases.textfsm} (100%) rename templates/{cisco_ios_show_archive.template => cisco_ios_show_archive.textfsm} (100%) rename templates/{cisco_ios_show_authentication_sessions.template => cisco_ios_show_authentication_sessions.textfsm} (100%) rename templates/{cisco_ios_show_boot.template => cisco_ios_show_boot.textfsm} (100%) rename templates/{cisco_ios_show_capability_feature_routing.template => cisco_ios_show_capability_feature_routing.textfsm} (100%) rename templates/{cisco_ios_show_cdp_neighbors.template => cisco_ios_show_cdp_neighbors.textfsm} (100%) rename templates/{cisco_ios_show_cdp_neighbors_detail.template => cisco_ios_show_cdp_neighbors_detail.textfsm} (100%) rename templates/{cisco_ios_show_clock.template => cisco_ios_show_clock.textfsm} (100%) rename templates/{cisco_ios_show_controller_t1.template => cisco_ios_show_controller_t1.textfsm} (100%) rename templates/{cisco_ios_show_dmvpn.template => cisco_ios_show_dmvpn.textfsm} (100%) rename templates/{cisco_ios_show_dot1x_all.template => cisco_ios_show_dot1x_all.textfsm} (100%) rename templates/{cisco_ios_show_environment_power_all.template => cisco_ios_show_environment_power_all.textfsm} (100%) rename templates/{cisco_ios_show_environment_temperature.template => cisco_ios_show_environment_temperature.textfsm} (100%) rename templates/{cisco_ios_show_hosts_summary.template => cisco_ios_show_hosts_summary.textfsm} (100%) rename templates/{cisco_ios_show_interface_transceiver.template => cisco_ios_show_interface_transceiver.textfsm} (100%) rename templates/{cisco_ios_show_interfaces.template => cisco_ios_show_interfaces.textfsm} (100%) rename templates/{cisco_ios_show_interfaces_description.template => cisco_ios_show_interfaces_description.textfsm} (100%) rename templates/{cisco_ios_show_interfaces_status.template => cisco_ios_show_interfaces_status.textfsm} (100%) rename templates/{cisco_ios_show_interfaces_switchport.template => cisco_ios_show_interfaces_switchport.textfsm} (100%) rename templates/{cisco_ios_show_inventory.template => cisco_ios_show_inventory.textfsm} (100%) rename templates/{cisco_ios_show_ip_access-lists.template => cisco_ios_show_ip_access-lists.textfsm} (100%) rename templates/{cisco_ios_show_ip_arp.template => cisco_ios_show_ip_arp.textfsm} (100%) rename templates/{cisco_ios_show_ip_bgp.template => cisco_ios_show_ip_bgp.textfsm} (100%) rename templates/{cisco_ios_show_ip_bgp_summary.template => cisco_ios_show_ip_bgp_summary.textfsm} (100%) rename templates/{cisco_ios_show_ip_device_tracking_all.template => cisco_ios_show_ip_device_tracking_all.textfsm} (100%) rename templates/{cisco_ios_show_ip_eigrp_neighbors.template => cisco_ios_show_ip_eigrp_neighbors.textfsm} (100%) rename templates/{cisco_ios_show_ip_eigrp_topology.template => cisco_ios_show_ip_eigrp_topology.textfsm} (100%) rename templates/{cisco_ios_show_ip_flow_toptalkers.template => cisco_ios_show_ip_flow_toptalkers.textfsm} (100%) rename templates/{cisco_ios_show_ip_interface.template => cisco_ios_show_ip_interface.textfsm} (100%) rename templates/{cisco_ios_show_ip_interface_brief.template => cisco_ios_show_ip_interface_brief.textfsm} (100%) rename templates/{cisco_ios_show_ip_mroute.template => cisco_ios_show_ip_mroute.textfsm} (100%) rename templates/{cisco_ios_show_ip_ospf_database.template => cisco_ios_show_ip_ospf_database.textfsm} (100%) rename templates/{cisco_ios_show_ip_ospf_interface_brief.template => cisco_ios_show_ip_ospf_interface_brief.textfsm} (100%) rename templates/{cisco_ios_show_ip_ospf_neighbor.template => cisco_ios_show_ip_ospf_neighbor.textfsm} (100%) rename templates/{cisco_ios_show_ip_prefix-list.template => cisco_ios_show_ip_prefix-list.textfsm} (100%) rename templates/{cisco_ios_show_ip_route.template => cisco_ios_show_ip_route.textfsm} (100%) rename templates/{cisco_ios_show_ip_source_binding.template => cisco_ios_show_ip_source_binding.textfsm} (100%) rename templates/{cisco_ios_show_ipv6_interface_brief.template => cisco_ios_show_ipv6_interface_brief.textfsm} (100%) rename templates/{cisco_ios_show_ipv6_neighbors.template => cisco_ios_show_ipv6_neighbors.textfsm} (100%) rename templates/{cisco_ios_show_isdn_status.template => cisco_ios_show_isdn_status.textfsm} (100%) rename templates/{cisco_ios_show_isis_neighbors.template => cisco_ios_show_isis_neighbors.textfsm} (100%) rename templates/{cisco_ios_show_license.template => cisco_ios_show_license.textfsm} (100%) rename templates/{cisco_ios_show_lldp_neighbors.template => cisco_ios_show_lldp_neighbors.textfsm} (100%) rename templates/{cisco_ios_show_lldp_neighbors_detail.template => cisco_ios_show_lldp_neighbors_detail.textfsm} (100%) rename templates/{cisco_ios_show_mac-address-table.template => cisco_ios_show_mac-address-table.textfsm} (100%) rename templates/{cisco_ios_show_platform_diag.template => cisco_ios_show_platform_diag.textfsm} (100%) rename templates/{cisco_ios_show_power_available.template => cisco_ios_show_power_available.textfsm} (100%) rename templates/{cisco_ios_show_power_status.template => cisco_ios_show_power_status.textfsm} (100%) rename templates/{cisco_ios_show_power_supplies.template => cisco_ios_show_power_supplies.textfsm} (100%) rename templates/{cisco_ios_show_processes_cpu.template => cisco_ios_show_processes_cpu.textfsm} (100%) rename templates/{cisco_ios_show_processes_memory_sorted.template => cisco_ios_show_processes_memory_sorted.textfsm} (100%) rename templates/{cisco_ios_show_redundancy.template => cisco_ios_show_redundancy.textfsm} (100%) rename templates/{cisco_ios_show_route-map.template => cisco_ios_show_route-map.textfsm} (100%) rename templates/{cisco_ios_show_running-config_partition_access-list.template => cisco_ios_show_running-config_partition_access-list.textfsm} (100%) rename templates/{cisco_ios_show_running-config_partition_route-map.template => cisco_ios_show_running-config_partition_route-map.textfsm} (100%) rename templates/{cisco_ios_show_snmp_community.template => cisco_ios_show_snmp_community.textfsm} (100%) rename templates/{cisco_ios_show_snmp_user.template => cisco_ios_show_snmp_user.textfsm} (100%) rename templates/{cisco_ios_show_spanning-tree.template => cisco_ios_show_spanning-tree.textfsm} (100%) rename templates/{cisco_ios_show_standby.template => cisco_ios_show_standby.textfsm} (100%) rename templates/{cisco_ios_show_standby_brief.template => cisco_ios_show_standby_brief.textfsm} (100%) rename templates/{cisco_ios_show_switch_detail.template => cisco_ios_show_switch_detail.textfsm} (100%) rename templates/{cisco_ios_show_switch_detail_stack_ports.template => cisco_ios_show_switch_detail_stack_ports.textfsm} (100%) rename templates/{cisco_ios_show_tacacs.template => cisco_ios_show_tacacs.textfsm} (100%) rename templates/{cisco_ios_show_version.template => cisco_ios_show_version.textfsm} (100%) rename templates/{cisco_ios_show_vlan.template => cisco_ios_show_vlan.textfsm} (100%) rename templates/{cisco_ios_show_vrf.template => cisco_ios_show_vrf.textfsm} (100%) rename templates/{cisco_ios_show_vtp_status.template => cisco_ios_show_vtp_status.textfsm} (100%) rename templates/{cisco_nxos_show_access-lists.template => cisco_nxos_show_access-lists.textfsm} (100%) rename templates/{cisco_nxos_show_cdp_neighbors.template => cisco_nxos_show_cdp_neighbors.textfsm} (100%) rename templates/{cisco_nxos_show_cdp_neighbors_detail.template => cisco_nxos_show_cdp_neighbors_detail.textfsm} (100%) rename templates/{cisco_nxos_show_clock.template => cisco_nxos_show_clock.textfsm} (100%) rename templates/{cisco_nxos_show_configuration_session_summary.template => cisco_nxos_show_configuration_session_summary.textfsm} (100%) rename templates/{cisco_nxos_show_cts_interface_all.template => cisco_nxos_show_cts_interface_all.textfsm} (100%) rename templates/{cisco_nxos_show_cts_interface_brief.template => cisco_nxos_show_cts_interface_brief.textfsm} (100%) rename templates/{cisco_nxos_show_environment_temperature.template => cisco_nxos_show_environment_temperature.textfsm} (100%) rename templates/{cisco_nxos_show_environments.template => cisco_nxos_show_environments.textfsm} (100%) rename templates/{cisco_nxos_show_feature.template => cisco_nxos_show_feature.textfsm} (100%) rename templates/{cisco_nxos_show_fex.template => cisco_nxos_show_fex.textfsm} (100%) rename templates/{cisco_nxos_show_fex_id.template => cisco_nxos_show_fex_id.textfsm} (100%) rename templates/{cisco_nxos_show_flogi_database.template => cisco_nxos_show_flogi_database.textfsm} (100%) rename templates/{cisco_nxos_show_forwarding_ipv4_route.template => cisco_nxos_show_forwarding_ipv4_route.textfsm} (100%) rename templates/{cisco_nxos_show_hostname.template => cisco_nxos_show_hostname.textfsm} (100%) rename templates/{cisco_nxos_show_interface.template => cisco_nxos_show_interface.textfsm} (100%) rename templates/{cisco_nxos_show_interface_brief.template => cisco_nxos_show_interface_brief.textfsm} (100%) rename templates/{cisco_nxos_show_interface_status.template => cisco_nxos_show_interface_status.textfsm} (100%) rename templates/{cisco_nxos_show_interface_transceiver_details.template => cisco_nxos_show_interface_transceiver_details.textfsm} (100%) rename templates/{cisco_nxos_show_interfaces_switchport.template => cisco_nxos_show_interfaces_switchport.textfsm} (100%) rename templates/{cisco_nxos_show_inventory.template => cisco_nxos_show_inventory.textfsm} (100%) rename templates/{cisco_nxos_show_ip_arp.template => cisco_nxos_show_ip_arp.textfsm} (100%) rename templates/{cisco_nxos_show_ip_arp_detail.template => cisco_nxos_show_ip_arp_detail.textfsm} (100%) rename templates/{cisco_nxos_show_ip_bgp.template => cisco_nxos_show_ip_bgp.textfsm} (100%) rename templates/{cisco_nxos_show_ip_bgp_neighbors.template => cisco_nxos_show_ip_bgp_neighbors.textfsm} (100%) rename templates/{cisco_nxos_show_ip_bgp_summary.template => cisco_nxos_show_ip_bgp_summary.textfsm} (100%) rename templates/{cisco_nxos_show_ip_bgp_summary_vrf.template => cisco_nxos_show_ip_bgp_summary_vrf.textfsm} (100%) rename templates/{cisco_nxos_show_ip_community-list.template => cisco_nxos_show_ip_community-list.textfsm} (100%) rename templates/{cisco_nxos_show_ip_dhcp_relay_address.template => cisco_nxos_show_ip_dhcp_relay_address.textfsm} (100%) rename templates/{cisco_nxos_show_ip_interface_brief.template => cisco_nxos_show_ip_interface_brief.textfsm} (100%) rename templates/{cisco_nxos_show_ip_ospf_database.template => cisco_nxos_show_ip_ospf_database.textfsm} (100%) rename templates/{cisco_nxos_show_ip_ospf_neighbor.template => cisco_nxos_show_ip_ospf_neighbor.textfsm} (100%) rename templates/{cisco_nxos_show_ip_route.template => cisco_nxos_show_ip_route.textfsm} (100%) rename templates/{cisco_nxos_show_ipv6_interface_brief.template => cisco_nxos_show_ipv6_interface_brief.textfsm} (100%) rename templates/{cisco_nxos_show_l2rib_internal_permanently-frozen-list.template => cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm} (100%) rename templates/{cisco_nxos_show_lldp_neighbors.template => cisco_nxos_show_lldp_neighbors.textfsm} (100%) rename templates/{cisco_nxos_show_lldp_neighbors_detail.template => cisco_nxos_show_lldp_neighbors_detail.textfsm} (100%) rename templates/{cisco_nxos_show_mac_address-table.template => cisco_nxos_show_mac_address-table.textfsm} (100%) rename templates/{cisco_nxos_show_module.template => cisco_nxos_show_module.textfsm} (100%) rename templates/{cisco_nxos_show_port-channel_summary.template => cisco_nxos_show_port-channel_summary.textfsm} (100%) rename templates/{cisco_nxos_show_processes_cpu.template => cisco_nxos_show_processes_cpu.textfsm} (100%) rename templates/{cisco_nxos_show_route-map.template => cisco_nxos_show_route-map.textfsm} (100%) rename templates/{cisco_nxos_show_version.template => cisco_nxos_show_version.textfsm} (100%) rename templates/{cisco_nxos_show_vlan.template => cisco_nxos_show_vlan.textfsm} (100%) rename templates/{cisco_nxos_show_vpc.template => cisco_nxos_show_vpc.textfsm} (100%) rename templates/{cisco_nxos_show_vrf.template => cisco_nxos_show_vrf.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_802.11a.template => cisco_wlc_ssh_show_802.11a.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_802.11a_cleanair_config.template => cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_advanced_802.11a_channel.template => cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_ap_config_general.template => cisco_wlc_ssh_show_ap_config_general.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_ap_summary.template => cisco_wlc_ssh_show_ap_summary.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_cdp_neighbors_detail.template => cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_client_detail.template => cisco_wlc_ssh_show_client_detail.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_exclusionlist.template => cisco_wlc_ssh_show_exclusionlist.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_interface_summary.template => cisco_wlc_ssh_show_interface_summary.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_inventory.template => cisco_wlc_ssh_show_inventory.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_rf-profile_summary.template => cisco_wlc_ssh_show_rf-profile_summary.textfsm} (100%) rename templates/{cisco_wlc_ssh_show_sysinfo.template => cisco_wlc_ssh_show_sysinfo.textfsm} (100%) rename templates/{cisco_xr_admin_show_controller_fabric_health.template => cisco_xr_admin_show_controller_fabric_health.textfsm} (100%) rename templates/{cisco_xr_admin_show_environment_fan.template => cisco_xr_admin_show_environment_fan.textfsm} (100%) rename templates/{cisco_xr_admin_show_inventory.template => cisco_xr_admin_show_inventory.textfsm} (100%) rename templates/{cisco_xr_admin_show_platform.template => cisco_xr_admin_show_platform.textfsm} (100%) rename templates/{cisco_xr_admin_show_vm.template => cisco_xr_admin_show_vm.textfsm} (100%) rename templates/{cisco_xr_show_asic-errors_all_location.template => cisco_xr_show_asic-errors_all_location.textfsm} (100%) rename templates/{cisco_xr_show_bfd_sessions.template => cisco_xr_show_bfd_sessions.textfsm} (100%) rename templates/{cisco_xr_show_bgp.template => cisco_xr_show_bgp.textfsm} (100%) rename templates/{cisco_xr_show_bgp_neighbors.template => cisco_xr_show_bgp_neighbors.textfsm} (100%) rename templates/{cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template => cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm} (100%) rename templates/{cisco_xr_show_cdp_neighbors_detail.template => cisco_xr_show_cdp_neighbors_detail.textfsm} (100%) rename templates/{cisco_xr_show_cef_drops_location.template => cisco_xr_show_cef_drops_location.textfsm} (100%) rename templates/{cisco_xr_show_configuration_commit_list.template => cisco_xr_show_configuration_commit_list.textfsm} (100%) rename templates/{cisco_xr_show_controller_fabric_plane_all.template => cisco_xr_show_controller_fabric_plane_all.textfsm} (100%) rename templates/{cisco_xr_show_controllers_HundredGigabitEthernet.template => cisco_xr_show_controllers_HundredGigabitEthernet.textfsm} (100%) rename templates/{cisco_xr_show_controllers_all_phy.template => cisco_xr_show_controllers_all_phy.textfsm} (100%) rename templates/{cisco_xr_show_controllers_fabric_fia_drops_egress_location.template => cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm} (100%) rename templates/{cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template => cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm} (100%) rename templates/{cisco_xr_show_controllers_fabric_fia_errors_egress_location.template => cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm} (100%) rename templates/{cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template => cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm} (100%) rename templates/{cisco_xr_show_dhcp_ipv4_proxy_binding.template => cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm} (100%) rename templates/{cisco_xr_show_drops_np_all.template => cisco_xr_show_drops_np_all.textfsm} (100%) rename templates/{cisco_xr_show_hsrp.template => cisco_xr_show_hsrp.textfsm} (100%) rename templates/{cisco_xr_show_interface_brief.template => cisco_xr_show_interface_brief.textfsm} (100%) rename templates/{cisco_xr_show_interfaces.template => cisco_xr_show_interfaces.textfsm} (100%) rename templates/{cisco_xr_show_ip_bgp_summary.template => cisco_xr_show_ip_bgp_summary.textfsm} (100%) rename templates/{cisco_xr_show_ip_interface_brief.template => cisco_xr_show_ip_interface_brief.textfsm} (100%) rename templates/{cisco_xr_show_ip_route.template => cisco_xr_show_ip_route.textfsm} (100%) rename templates/{cisco_xr_show_ipv6_neighbors.template => cisco_xr_show_ipv6_neighbors.textfsm} (100%) rename templates/{cisco_xr_show_isis_neighbors.template => cisco_xr_show_isis_neighbors.textfsm} (100%) rename templates/{cisco_xr_show_lldp_neighbors.template => cisco_xr_show_lldp_neighbors.textfsm} (100%) rename templates/{cisco_xr_show_lpts_pifib_hardware_police_location.template => cisco_xr_show_lpts_pifib_hardware_police_location.textfsm} (100%) rename templates/{cisco_xr_show_mpls_ldp_neighbor_brief.template => cisco_xr_show_mpls_ldp_neighbor_brief.textfsm} (100%) rename templates/{cisco_xr_show_ospf_neighbor.template => cisco_xr_show_ospf_neighbor.textfsm} (100%) rename templates/{cisco_xr_show_pim_neighbor.template => cisco_xr_show_pim_neighbor.textfsm} (100%) rename templates/{cisco_xr_show_processes_cpu.template => cisco_xr_show_processes_cpu.textfsm} (100%) rename templates/{cisco_xr_show_redundancy_summary.template => cisco_xr_show_redundancy_summary.textfsm} (100%) rename templates/{cisco_xr_show_rsvp_neighbors.template => cisco_xr_show_rsvp_neighbors.textfsm} (100%) rename templates/{cisco_xr_show_version.template => cisco_xr_show_version.textfsm} (100%) rename templates/{dell_force10_show_arp.template => dell_force10_show_arp.textfsm} (100%) rename templates/{dell_force10_show_version.template => dell_force10_show_version.textfsm} (100%) rename templates/{dell_force10_show_vlan.template => dell_force10_show_vlan.textfsm} (100%) rename templates/{dell_force10_show_vlan_brief.template => dell_force10_show_vlan_brief.textfsm} (100%) rename templates/{fortinet_fortios_get_router_info_bgp_summary.template => fortinet_fortios_get_router_info_bgp_summary.textfsm} (100%) rename templates/{hp_comware_display_arp.template => hp_comware_display_arp.textfsm} (100%) rename templates/{hp_comware_display_clock.template => hp_comware_display_clock.textfsm} (100%) rename templates/{hp_comware_display_counters_bound_interface.template => hp_comware_display_counters_bound_interface.textfsm} (100%) rename templates/{hp_comware_display_mac-address.template => hp_comware_display_mac-address.textfsm} (100%) rename templates/{hp_comware_display_vlan_brief.template => hp_comware_display_vlan_brief.textfsm} (100%) rename templates/{hp_procurve_show_arp.template => hp_procurve_show_arp.textfsm} (100%) rename templates/{hp_procurve_show_mac-address.template => hp_procurve_show_mac-address.textfsm} (100%) rename templates/{hp_procurve_show_system.template => hp_procurve_show_system.textfsm} (100%) rename templates/{hp_procurve_show_tech_buffers.template => hp_procurve_show_tech_buffers.textfsm} (100%) rename templates/{hp_procurve_show_vlans.template => hp_procurve_show_vlans.textfsm} (100%) rename templates/{huawei_vrp_display_interface_brief.template => huawei_vrp_display_interface_brief.textfsm} (100%) rename templates/{huawei_vrp_display_temperature.template => huawei_vrp_display_temperature.textfsm} (100%) rename templates/{juniper_junos_show_arp_no-resolve.template => juniper_junos_show_arp_no-resolve.textfsm} (100%) rename templates/{juniper_junos_show_chassis_cluster_interfaces.template => juniper_junos_show_chassis_cluster_interfaces.textfsm} (100%) rename templates/{juniper_junos_show_chassis_cluster_status.template => juniper_junos_show_chassis_cluster_status.textfsm} (100%) rename templates/{juniper_junos_show_chassis_firmware.template => juniper_junos_show_chassis_firmware.textfsm} (100%) rename templates/{juniper_junos_show_interfaces.template => juniper_junos_show_interfaces.textfsm} (100%) rename templates/{juniper_junos_show_isis_adjacency.template => juniper_junos_show_isis_adjacency.textfsm} (100%) rename templates/{juniper_junos_show_ospf_neighbor.template => juniper_junos_show_ospf_neighbor.textfsm} (100%) rename templates/{juniper_junos_show_version.template => juniper_junos_show_version.textfsm} (100%) rename templates/{juniper_screenos_get_route.template => juniper_screenos_get_route.textfsm} (100%) rename templates/{paloalto_panos_show_arp_all.template => paloalto_panos_show_arp_all.textfsm} (100%) rename templates/{paloalto_panos_show_counter_global.template => paloalto_panos_show_counter_global.textfsm} (100%) rename templates/{paloalto_panos_show_high-availability_all.template => paloalto_panos_show_high-availability_all.textfsm} (100%) rename templates/{paloalto_panos_show_interface_hardware.template => paloalto_panos_show_interface_hardware.textfsm} (100%) rename templates/{paloalto_panos_show_interface_logical.template => paloalto_panos_show_interface_logical.textfsm} (100%) rename templates/{paloalto_panos_show_jobs_all.template => paloalto_panos_show_jobs_all.textfsm} (100%) rename templates/{paloalto_panos_show_mac_all.template => paloalto_panos_show_mac_all.textfsm} (100%) rename templates/{paloalto_panos_show_running_nat-policy.template => paloalto_panos_show_running_nat-policy.textfsm} (100%) rename templates/{paloalto_panos_show_running_security-policy.template => paloalto_panos_show_running_security-policy.textfsm} (100%) rename templates/{paloalto_panos_show_system_info.template => paloalto_panos_show_system_info.textfsm} (100%) rename templates/{ruckus_fastiron_show_arp.template => ruckus_fastiron_show_arp.textfsm} (100%) rename templates/{ubiquiti_edgeswitch_show_arp.template => ubiquiti_edgeswitch_show_arp.textfsm} (100%) rename templates/{ubiquiti_edgeswitch_show_vlan.template => ubiquiti_edgeswitch_show_vlan.textfsm} (100%) rename templates/{vmware_nsxv_show_ip_bgp_neighbors.template => vmware_nsxv_show_ip_bgp_neighbors.textfsm} (100%) rename templates/{vmware_nsxv_show_ip_route.template => vmware_nsxv_show_ip_route.textfsm} (100%) rename templates/{vyatta_vyos_show_arp.template => vyatta_vyos_show_arp.textfsm} (100%) rename templates/{vyatta_vyos_show_interfaces.template => vyatta_vyos_show_interfaces.textfsm} (100%) rename templates/{watchguard_firebox_show_arp.template => watchguard_firebox_show_arp.textfsm} (100%) diff --git a/README.md b/README.md index c48cc9bace..3bdde64f65 100644 --- a/README.md +++ b/README.md @@ -105,8 +105,8 @@ The TextFSM template name should be in the following format: ##### Naming -The template should be named using: `{{ vendor_os }}_{{ command_with_underscores }}.template` -> Ex: cisco_ios_show_cdp_neighbors.template +The template should be named using: `{{ vendor_os }}_{{ command_with_underscores }}.textfsm` +> Ex: cisco_ios_show_cdp_neighbors.textfsm Note: The vendor name must be valid from the [os_choices](https://github.com/networktocode/ntc-templates/blob/master/tests/test_index_order.py#L59) tests, which is primarily based on [Netmiko](https://github.com/ktbyers/netmiko/tree/master/netmiko) list of supported vendors. New vendors added should adhere to **vendor_os**. > Ex: vmware_nsx @@ -190,16 +190,16 @@ Example: Template, Hostname, Platform, Command # same os, same length, used alphabetical order of command name -arista_eos_show_mlag.template, .*, arista_eos, sh[[ow]] ml[[ag]] -arista_eos_show_vlan.template, .*, arista_eos, sh[[ow]] vl[[an]] +arista_eos_show_mlag.textfsm, .*, arista_eos, sh[[ow]] ml[[ag]] +arista_eos_show_vlan.textfsm, .*, arista_eos, sh[[ow]] vl[[an]] # os in alphabetical order and space between cisco_asa and arista_eos -cisco_asa_dir.template, .*, cisco_asa, dir +cisco_asa_dir.textfsm, .*, cisco_asa, dir # same os, template name length different and space between cisco_asa and cisco_ios -cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] -cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] -cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] +cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] +cisco_ios_show_cdp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] ``` #### Tests @@ -230,7 +230,7 @@ $ The parsed file should match the data that is returned from the `parse_output` function discussed in the beginning. Dictionary keys should be in lowercase. -The parsed text file should be placed in a directory in the `./tests` directory with the same name as the template file but replace `.template` file extension with `.yml`. The raw text file and the parsed text file should be in the same directory. +The parsed text file should be placed in a directory in the `./tests` directory with the same name as the template file but replace `.textfsm` file extension with `.yml`. The raw text file and the parsed text file should be in the same directory. **ex. ./tests/cisco_ios/show_clock/** There are available helpers to create the parsed file in the correct format (See _Development Helper Scripts_ below). diff --git a/templates/alcatel_aos_show_vlan.template b/templates/alcatel_aos_show_vlan.textfsm similarity index 100% rename from templates/alcatel_aos_show_vlan.template rename to templates/alcatel_aos_show_vlan.textfsm diff --git a/templates/alcatel_sros_oam_mac-ping.template b/templates/alcatel_sros_oam_mac-ping.textfsm similarity index 100% rename from templates/alcatel_sros_oam_mac-ping.template rename to templates/alcatel_sros_oam_mac-ping.textfsm diff --git a/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.template b/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.template rename to templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm diff --git a/templates/alcatel_sros_show_service_id_base.template b/templates/alcatel_sros_show_service_id_base.textfsm similarity index 100% rename from templates/alcatel_sros_show_service_id_base.template rename to templates/alcatel_sros_show_service_id_base.textfsm diff --git a/templates/arista_eos_bash_df_-h.template b/templates/arista_eos_bash_df_-h.textfsm similarity index 100% rename from templates/arista_eos_bash_df_-h.template rename to templates/arista_eos_bash_df_-h.textfsm diff --git a/templates/arista_eos_dir_flash.template b/templates/arista_eos_dir_flash.textfsm similarity index 100% rename from templates/arista_eos_dir_flash.template rename to templates/arista_eos_dir_flash.textfsm diff --git a/templates/arista_eos_show_boot-config.template b/templates/arista_eos_show_boot-config.textfsm similarity index 100% rename from templates/arista_eos_show_boot-config.template rename to templates/arista_eos_show_boot-config.textfsm diff --git a/templates/arista_eos_show_clock.template b/templates/arista_eos_show_clock.textfsm similarity index 100% rename from templates/arista_eos_show_clock.template rename to templates/arista_eos_show_clock.textfsm diff --git a/templates/arista_eos_show_environment_cooling.template b/templates/arista_eos_show_environment_cooling.textfsm similarity index 100% rename from templates/arista_eos_show_environment_cooling.template rename to templates/arista_eos_show_environment_cooling.textfsm diff --git a/templates/arista_eos_show_environment_temperature.template b/templates/arista_eos_show_environment_temperature.textfsm similarity index 100% rename from templates/arista_eos_show_environment_temperature.template rename to templates/arista_eos_show_environment_temperature.textfsm diff --git a/templates/arista_eos_show_hostname.template b/templates/arista_eos_show_hostname.textfsm similarity index 100% rename from templates/arista_eos_show_hostname.template rename to templates/arista_eos_show_hostname.textfsm diff --git a/templates/arista_eos_show_interfaces.template b/templates/arista_eos_show_interfaces.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces.template rename to templates/arista_eos_show_interfaces.textfsm diff --git a/templates/arista_eos_show_interfaces_status.template b/templates/arista_eos_show_interfaces_status.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_status.template rename to templates/arista_eos_show_interfaces_status.textfsm diff --git a/templates/arista_eos_show_interfaces_transceiver.template b/templates/arista_eos_show_interfaces_transceiver.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_transceiver.template rename to templates/arista_eos_show_interfaces_transceiver.textfsm diff --git a/templates/arista_eos_show_interfaces_transceiver_detail.template b/templates/arista_eos_show_interfaces_transceiver_detail.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_transceiver_detail.template rename to templates/arista_eos_show_interfaces_transceiver_detail.textfsm diff --git a/templates/arista_eos_show_inventory.template b/templates/arista_eos_show_inventory.textfsm similarity index 100% rename from templates/arista_eos_show_inventory.template rename to templates/arista_eos_show_inventory.textfsm diff --git a/templates/arista_eos_show_ip_access-lists.template b/templates/arista_eos_show_ip_access-lists.textfsm similarity index 100% rename from templates/arista_eos_show_ip_access-lists.template rename to templates/arista_eos_show_ip_access-lists.textfsm diff --git a/templates/arista_eos_show_ip_arp.template b/templates/arista_eos_show_ip_arp.textfsm similarity index 100% rename from templates/arista_eos_show_ip_arp.template rename to templates/arista_eos_show_ip_arp.textfsm diff --git a/templates/arista_eos_show_ip_bgp.template b/templates/arista_eos_show_ip_bgp.textfsm similarity index 100% rename from templates/arista_eos_show_ip_bgp.template rename to templates/arista_eos_show_ip_bgp.textfsm diff --git a/templates/arista_eos_show_ip_bgp_summary.template b/templates/arista_eos_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/arista_eos_show_ip_bgp_summary.template rename to templates/arista_eos_show_ip_bgp_summary.textfsm diff --git a/templates/arista_eos_show_ip_helper-address.template b/templates/arista_eos_show_ip_helper-address.textfsm similarity index 100% rename from templates/arista_eos_show_ip_helper-address.template rename to templates/arista_eos_show_ip_helper-address.textfsm diff --git a/templates/arista_eos_show_ip_interface_brief.template b/templates/arista_eos_show_ip_interface_brief.textfsm similarity index 100% rename from templates/arista_eos_show_ip_interface_brief.template rename to templates/arista_eos_show_ip_interface_brief.textfsm diff --git a/templates/arista_eos_show_ip_ospf_database.template b/templates/arista_eos_show_ip_ospf_database.textfsm similarity index 100% rename from templates/arista_eos_show_ip_ospf_database.template rename to templates/arista_eos_show_ip_ospf_database.textfsm diff --git a/templates/arista_eos_show_ip_ospf_neighbor.template b/templates/arista_eos_show_ip_ospf_neighbor.textfsm similarity index 100% rename from templates/arista_eos_show_ip_ospf_neighbor.template rename to templates/arista_eos_show_ip_ospf_neighbor.textfsm diff --git a/templates/arista_eos_show_ip_route.template b/templates/arista_eos_show_ip_route.textfsm similarity index 100% rename from templates/arista_eos_show_ip_route.template rename to templates/arista_eos_show_ip_route.textfsm diff --git a/templates/arista_eos_show_isis_neighbors.template b/templates/arista_eos_show_isis_neighbors.textfsm similarity index 100% rename from templates/arista_eos_show_isis_neighbors.template rename to templates/arista_eos_show_isis_neighbors.textfsm diff --git a/templates/arista_eos_show_lldp_neighbors.template b/templates/arista_eos_show_lldp_neighbors.textfsm similarity index 100% rename from templates/arista_eos_show_lldp_neighbors.template rename to templates/arista_eos_show_lldp_neighbors.textfsm diff --git a/templates/arista_eos_show_lldp_neighbors_detail.template b/templates/arista_eos_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/arista_eos_show_lldp_neighbors_detail.template rename to templates/arista_eos_show_lldp_neighbors_detail.textfsm diff --git a/templates/arista_eos_show_mac_address-table.template b/templates/arista_eos_show_mac_address-table.textfsm similarity index 100% rename from templates/arista_eos_show_mac_address-table.template rename to templates/arista_eos_show_mac_address-table.textfsm diff --git a/templates/arista_eos_show_mac_security_interface.template b/templates/arista_eos_show_mac_security_interface.textfsm similarity index 100% rename from templates/arista_eos_show_mac_security_interface.template rename to templates/arista_eos_show_mac_security_interface.textfsm diff --git a/templates/arista_eos_show_mac_security_mka_counters.template b/templates/arista_eos_show_mac_security_mka_counters.textfsm similarity index 100% rename from templates/arista_eos_show_mac_security_mka_counters.template rename to templates/arista_eos_show_mac_security_mka_counters.textfsm diff --git a/templates/arista_eos_show_mac_security_participants_detail.template b/templates/arista_eos_show_mac_security_participants_detail.textfsm similarity index 100% rename from templates/arista_eos_show_mac_security_participants_detail.template rename to templates/arista_eos_show_mac_security_participants_detail.textfsm diff --git a/templates/arista_eos_show_mlag.template b/templates/arista_eos_show_mlag.textfsm similarity index 100% rename from templates/arista_eos_show_mlag.template rename to templates/arista_eos_show_mlag.textfsm diff --git a/templates/arista_eos_show_module.template b/templates/arista_eos_show_module.textfsm similarity index 100% rename from templates/arista_eos_show_module.template rename to templates/arista_eos_show_module.textfsm diff --git a/templates/arista_eos_show_reload_cause.template b/templates/arista_eos_show_reload_cause.textfsm similarity index 100% rename from templates/arista_eos_show_reload_cause.template rename to templates/arista_eos_show_reload_cause.textfsm diff --git a/templates/arista_eos_show_snmp_community.template b/templates/arista_eos_show_snmp_community.textfsm similarity index 100% rename from templates/arista_eos_show_snmp_community.template rename to templates/arista_eos_show_snmp_community.textfsm diff --git a/templates/arista_eos_show_version.template b/templates/arista_eos_show_version.textfsm similarity index 100% rename from templates/arista_eos_show_version.template rename to templates/arista_eos_show_version.textfsm diff --git a/templates/arista_eos_show_vlan.template b/templates/arista_eos_show_vlan.textfsm similarity index 100% rename from templates/arista_eos_show_vlan.template rename to templates/arista_eos_show_vlan.textfsm diff --git a/templates/arista_eos_show_vrf.template b/templates/arista_eos_show_vrf.textfsm similarity index 100% rename from templates/arista_eos_show_vrf.template rename to templates/arista_eos_show_vrf.textfsm diff --git a/templates/aruba_os_show_ip_interface_brief.template b/templates/aruba_os_show_ip_interface_brief.textfsm similarity index 100% rename from templates/aruba_os_show_ip_interface_brief.template rename to templates/aruba_os_show_ip_interface_brief.textfsm diff --git a/templates/aruba_os_show_ipv6_interface_brief.template b/templates/aruba_os_show_ipv6_interface_brief.textfsm similarity index 100% rename from templates/aruba_os_show_ipv6_interface_brief.template rename to templates/aruba_os_show_ipv6_interface_brief.textfsm diff --git a/templates/avaya_ers_show_interface_name.template b/templates/avaya_ers_show_interface_name.textfsm similarity index 100% rename from templates/avaya_ers_show_interface_name.template rename to templates/avaya_ers_show_interface_name.textfsm diff --git a/templates/avaya_ers_show_logging_config.template b/templates/avaya_ers_show_logging_config.textfsm similarity index 100% rename from templates/avaya_ers_show_logging_config.template rename to templates/avaya_ers_show_logging_config.textfsm diff --git a/templates/avaya_ers_show_mac-address-table.template b/templates/avaya_ers_show_mac-address-table.textfsm similarity index 100% rename from templates/avaya_ers_show_mac-address-table.template rename to templates/avaya_ers_show_mac-address-table.textfsm diff --git a/templates/avaya_ers_show_mlt.template b/templates/avaya_ers_show_mlt.textfsm similarity index 100% rename from templates/avaya_ers_show_mlt.template rename to templates/avaya_ers_show_mlt.textfsm diff --git a/templates/avaya_ers_show_mlt_all-members.template b/templates/avaya_ers_show_mlt_all-members.textfsm similarity index 100% rename from templates/avaya_ers_show_mlt_all-members.template rename to templates/avaya_ers_show_mlt_all-members.textfsm diff --git a/templates/avaya_ers_show_sys-info.template b/templates/avaya_ers_show_sys-info.textfsm similarity index 100% rename from templates/avaya_ers_show_sys-info.template rename to templates/avaya_ers_show_sys-info.textfsm diff --git a/templates/avaya_ers_show_vlan.template b/templates/avaya_ers_show_vlan.textfsm similarity index 100% rename from templates/avaya_ers_show_vlan.template rename to templates/avaya_ers_show_vlan.textfsm diff --git a/templates/avaya_vsp_show_software.template b/templates/avaya_vsp_show_software.textfsm similarity index 100% rename from templates/avaya_vsp_show_software.template rename to templates/avaya_vsp_show_software.textfsm diff --git a/templates/brocade_fastiron_show_arp.template b/templates/brocade_fastiron_show_arp.textfsm similarity index 100% rename from templates/brocade_fastiron_show_arp.template rename to templates/brocade_fastiron_show_arp.textfsm diff --git a/templates/brocade_fastiron_show_interfaces.template b/templates/brocade_fastiron_show_interfaces.textfsm similarity index 100% rename from templates/brocade_fastiron_show_interfaces.template rename to templates/brocade_fastiron_show_interfaces.textfsm diff --git a/templates/brocade_fastiron_show_interfaces_brief.template b/templates/brocade_fastiron_show_interfaces_brief.textfsm similarity index 100% rename from templates/brocade_fastiron_show_interfaces_brief.template rename to templates/brocade_fastiron_show_interfaces_brief.textfsm diff --git a/templates/brocade_fastiron_show_lag_brief.template b/templates/brocade_fastiron_show_lag_brief.textfsm similarity index 100% rename from templates/brocade_fastiron_show_lag_brief.template rename to templates/brocade_fastiron_show_lag_brief.textfsm diff --git a/templates/brocade_fastiron_show_lldp_neighbors.template b/templates/brocade_fastiron_show_lldp_neighbors.textfsm similarity index 100% rename from templates/brocade_fastiron_show_lldp_neighbors.template rename to templates/brocade_fastiron_show_lldp_neighbors.textfsm diff --git a/templates/brocade_fastiron_show_lldp_neighbors_detail.template b/templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/brocade_fastiron_show_lldp_neighbors_detail.template rename to templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm diff --git a/templates/brocade_fastiron_show_mac-address.template b/templates/brocade_fastiron_show_mac-address.textfsm similarity index 100% rename from templates/brocade_fastiron_show_mac-address.template rename to templates/brocade_fastiron_show_mac-address.textfsm diff --git a/templates/brocade_fastiron_show_metro.template b/templates/brocade_fastiron_show_metro.textfsm similarity index 100% rename from templates/brocade_fastiron_show_metro.template rename to templates/brocade_fastiron_show_metro.textfsm diff --git a/templates/brocade_fastiron_show_monitor.template b/templates/brocade_fastiron_show_monitor.textfsm similarity index 100% rename from templates/brocade_fastiron_show_monitor.template rename to templates/brocade_fastiron_show_monitor.textfsm diff --git a/templates/brocade_fastiron_show_running-config_vlan.template b/templates/brocade_fastiron_show_running-config_vlan.textfsm similarity index 100% rename from templates/brocade_fastiron_show_running-config_vlan.template rename to templates/brocade_fastiron_show_running-config_vlan.textfsm diff --git a/templates/brocade_fastiron_show_span.template b/templates/brocade_fastiron_show_span.textfsm similarity index 100% rename from templates/brocade_fastiron_show_span.template rename to templates/brocade_fastiron_show_span.textfsm diff --git a/templates/brocade_fastiron_show_topo.template b/templates/brocade_fastiron_show_topo.textfsm similarity index 100% rename from templates/brocade_fastiron_show_topo.template rename to templates/brocade_fastiron_show_topo.textfsm diff --git a/templates/brocade_fastiron_show_trunk.template b/templates/brocade_fastiron_show_trunk.textfsm similarity index 100% rename from templates/brocade_fastiron_show_trunk.template rename to templates/brocade_fastiron_show_trunk.textfsm diff --git a/templates/brocade_fastiron_show_version.template b/templates/brocade_fastiron_show_version.textfsm similarity index 100% rename from templates/brocade_fastiron_show_version.template rename to templates/brocade_fastiron_show_version.textfsm diff --git a/templates/brocade_netiron_show_interfaces.template b/templates/brocade_netiron_show_interfaces.textfsm similarity index 100% rename from templates/brocade_netiron_show_interfaces.template rename to templates/brocade_netiron_show_interfaces.textfsm diff --git a/templates/brocade_netiron_show_interfaces_brief.template b/templates/brocade_netiron_show_interfaces_brief.textfsm similarity index 100% rename from templates/brocade_netiron_show_interfaces_brief.template rename to templates/brocade_netiron_show_interfaces_brief.textfsm diff --git a/templates/brocade_netiron_show_lag_brief.template b/templates/brocade_netiron_show_lag_brief.textfsm similarity index 100% rename from templates/brocade_netiron_show_lag_brief.template rename to templates/brocade_netiron_show_lag_brief.textfsm diff --git a/templates/brocade_netiron_show_lldp_neighbors_detail.template b/templates/brocade_netiron_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/brocade_netiron_show_lldp_neighbors_detail.template rename to templates/brocade_netiron_show_lldp_neighbors_detail.textfsm diff --git a/templates/brocade_netiron_show_metro.template b/templates/brocade_netiron_show_metro.textfsm similarity index 100% rename from templates/brocade_netiron_show_metro.template rename to templates/brocade_netiron_show_metro.textfsm diff --git a/templates/brocade_netiron_show_monitor_actual.template b/templates/brocade_netiron_show_monitor_actual.textfsm similarity index 100% rename from templates/brocade_netiron_show_monitor_actual.template rename to templates/brocade_netiron_show_monitor_actual.textfsm diff --git a/templates/brocade_netiron_show_running-config_interface.template b/templates/brocade_netiron_show_running-config_interface.textfsm similarity index 100% rename from templates/brocade_netiron_show_running-config_interface.template rename to templates/brocade_netiron_show_running-config_interface.textfsm diff --git a/templates/brocade_netiron_show_running-config_vlan.template b/templates/brocade_netiron_show_running-config_vlan.textfsm similarity index 100% rename from templates/brocade_netiron_show_running-config_vlan.template rename to templates/brocade_netiron_show_running-config_vlan.textfsm diff --git a/templates/brocade_netiron_show_span.template b/templates/brocade_netiron_show_span.textfsm similarity index 100% rename from templates/brocade_netiron_show_span.template rename to templates/brocade_netiron_show_span.textfsm diff --git a/templates/brocade_netiron_show_topo.template b/templates/brocade_netiron_show_topo.textfsm similarity index 100% rename from templates/brocade_netiron_show_topo.template rename to templates/brocade_netiron_show_topo.textfsm diff --git a/templates/checkpoint_gaia_fw_stat.template b/templates/checkpoint_gaia_fw_stat.textfsm similarity index 100% rename from templates/checkpoint_gaia_fw_stat.template rename to templates/checkpoint_gaia_fw_stat.textfsm diff --git a/templates/checkpoint_gaia_show_asset_all.template b/templates/checkpoint_gaia_show_asset_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_asset_all.template rename to templates/checkpoint_gaia_show_asset_all.textfsm diff --git a/templates/checkpoint_gaia_show_dns.template b/templates/checkpoint_gaia_show_dns.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_dns.template rename to templates/checkpoint_gaia_show_dns.textfsm diff --git a/templates/checkpoint_gaia_show_domainname.template b/templates/checkpoint_gaia_show_domainname.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_domainname.template rename to templates/checkpoint_gaia_show_domainname.textfsm diff --git a/templates/checkpoint_gaia_show_interfaces_all.template b/templates/checkpoint_gaia_show_interfaces_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_interfaces_all.template rename to templates/checkpoint_gaia_show_interfaces_all.textfsm diff --git a/templates/checkpoint_gaia_show_ipv6_route.template b/templates/checkpoint_gaia_show_ipv6_route.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_ipv6_route.template rename to templates/checkpoint_gaia_show_ipv6_route.textfsm diff --git a/templates/checkpoint_gaia_show_lom.template b/templates/checkpoint_gaia_show_lom.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_lom.template rename to templates/checkpoint_gaia_show_lom.textfsm diff --git a/templates/checkpoint_gaia_show_ntp_servers.template b/templates/checkpoint_gaia_show_ntp_servers.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_ntp_servers.template rename to templates/checkpoint_gaia_show_ntp_servers.textfsm diff --git a/templates/checkpoint_gaia_show_route.template b/templates/checkpoint_gaia_show_route.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_route.template rename to templates/checkpoint_gaia_show_route.textfsm diff --git a/templates/checkpoint_gaia_show_version_all.template b/templates/checkpoint_gaia_show_version_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_version_all.template rename to templates/checkpoint_gaia_show_version_all.textfsm diff --git a/templates/ciena_6x_software_show.template b/templates/ciena_6x_software_show.textfsm similarity index 100% rename from templates/ciena_6x_software_show.template rename to templates/ciena_6x_software_show.textfsm diff --git a/templates/cisco_asa_dir.template b/templates/cisco_asa_dir.textfsm similarity index 100% rename from templates/cisco_asa_dir.template rename to templates/cisco_asa_dir.textfsm diff --git a/templates/cisco_asa_show_access-list.template b/templates/cisco_asa_show_access-list.textfsm similarity index 100% rename from templates/cisco_asa_show_access-list.template rename to templates/cisco_asa_show_access-list.textfsm diff --git a/templates/cisco_asa_show_asp_drop.template b/templates/cisco_asa_show_asp_drop.textfsm similarity index 100% rename from templates/cisco_asa_show_asp_drop.template rename to templates/cisco_asa_show_asp_drop.textfsm diff --git a/templates/cisco_asa_show_asp_table_vpn-context_detail.template b/templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm similarity index 100% rename from templates/cisco_asa_show_asp_table_vpn-context_detail.template rename to templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm diff --git a/templates/cisco_asa_show_crypto_ikev1_sa_detail.template b/templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm similarity index 100% rename from templates/cisco_asa_show_crypto_ikev1_sa_detail.template rename to templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm diff --git a/templates/cisco_asa_show_crypto_ipsec_sa.template b/templates/cisco_asa_show_crypto_ipsec_sa.textfsm similarity index 100% rename from templates/cisco_asa_show_crypto_ipsec_sa.template rename to templates/cisco_asa_show_crypto_ipsec_sa.textfsm diff --git a/templates/cisco_asa_show_failover.template b/templates/cisco_asa_show_failover.textfsm similarity index 100% rename from templates/cisco_asa_show_failover.template rename to templates/cisco_asa_show_failover.textfsm diff --git a/templates/cisco_asa_show_interface.template b/templates/cisco_asa_show_interface.textfsm similarity index 100% rename from templates/cisco_asa_show_interface.template rename to templates/cisco_asa_show_interface.textfsm diff --git a/templates/cisco_asa_show_interface_detail.template b/templates/cisco_asa_show_interface_detail.textfsm similarity index 100% rename from templates/cisco_asa_show_interface_detail.template rename to templates/cisco_asa_show_interface_detail.textfsm diff --git a/templates/cisco_asa_show_inventory.template b/templates/cisco_asa_show_inventory.textfsm similarity index 100% rename from templates/cisco_asa_show_inventory.template rename to templates/cisco_asa_show_inventory.textfsm diff --git a/templates/cisco_asa_show_license_all.template b/templates/cisco_asa_show_license_all.textfsm similarity index 100% rename from templates/cisco_asa_show_license_all.template rename to templates/cisco_asa_show_license_all.textfsm diff --git a/templates/cisco_asa_show_name.template b/templates/cisco_asa_show_name.textfsm similarity index 100% rename from templates/cisco_asa_show_name.template rename to templates/cisco_asa_show_name.textfsm diff --git a/templates/cisco_asa_show_nat.template b/templates/cisco_asa_show_nat.textfsm similarity index 100% rename from templates/cisco_asa_show_nat.template rename to templates/cisco_asa_show_nat.textfsm diff --git a/templates/cisco_asa_show_object-group_network.template b/templates/cisco_asa_show_object-group_network.textfsm similarity index 100% rename from templates/cisco_asa_show_object-group_network.template rename to templates/cisco_asa_show_object-group_network.textfsm diff --git a/templates/cisco_asa_show_resource_usage.template b/templates/cisco_asa_show_resource_usage.textfsm similarity index 100% rename from templates/cisco_asa_show_resource_usage.template rename to templates/cisco_asa_show_resource_usage.textfsm diff --git a/templates/cisco_asa_show_route.template b/templates/cisco_asa_show_route.textfsm similarity index 100% rename from templates/cisco_asa_show_route.template rename to templates/cisco_asa_show_route.textfsm diff --git a/templates/cisco_asa_show_running-config_crypto_ikev1.template b/templates/cisco_asa_show_running-config_crypto_ikev1.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_crypto_ikev1.template rename to templates/cisco_asa_show_running-config_crypto_ikev1.textfsm diff --git a/templates/cisco_asa_show_running-config_crypto_map.template b/templates/cisco_asa_show_running-config_crypto_map.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_crypto_map.template rename to templates/cisco_asa_show_running-config_crypto_map.textfsm diff --git a/templates/cisco_asa_show_running-config_ipsec.template b/templates/cisco_asa_show_running-config_ipsec.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_ipsec.template rename to templates/cisco_asa_show_running-config_ipsec.textfsm diff --git a/templates/cisco_asa_show_running-config_object_network.template b/templates/cisco_asa_show_running-config_object_network.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_object_network.template rename to templates/cisco_asa_show_running-config_object_network.textfsm diff --git a/templates/cisco_asa_show_running-config_tunnel-group.template b/templates/cisco_asa_show_running-config_tunnel-group.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_tunnel-group.template rename to templates/cisco_asa_show_running-config_tunnel-group.textfsm diff --git a/templates/cisco_asa_show_version.template b/templates/cisco_asa_show_version.textfsm similarity index 100% rename from templates/cisco_asa_show_version.template rename to templates/cisco_asa_show_version.textfsm diff --git a/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.template b/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm similarity index 100% rename from templates/cisco_asa_show_vpn-sessiondb_detail_l2l.template rename to templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm diff --git a/templates/cisco_asa_show_xlate.template b/templates/cisco_asa_show_xlate.textfsm similarity index 100% rename from templates/cisco_asa_show_xlate.template rename to templates/cisco_asa_show_xlate.textfsm diff --git a/templates/cisco_ios_dir.template b/templates/cisco_ios_dir.textfsm similarity index 100% rename from templates/cisco_ios_dir.template rename to templates/cisco_ios_dir.textfsm diff --git a/templates/cisco_ios_show_access-list.template b/templates/cisco_ios_show_access-list.textfsm similarity index 100% rename from templates/cisco_ios_show_access-list.template rename to templates/cisco_ios_show_access-list.textfsm diff --git a/templates/cisco_ios_show_aliases.template b/templates/cisco_ios_show_aliases.textfsm similarity index 100% rename from templates/cisco_ios_show_aliases.template rename to templates/cisco_ios_show_aliases.textfsm diff --git a/templates/cisco_ios_show_archive.template b/templates/cisco_ios_show_archive.textfsm similarity index 100% rename from templates/cisco_ios_show_archive.template rename to templates/cisco_ios_show_archive.textfsm diff --git a/templates/cisco_ios_show_authentication_sessions.template b/templates/cisco_ios_show_authentication_sessions.textfsm similarity index 100% rename from templates/cisco_ios_show_authentication_sessions.template rename to templates/cisco_ios_show_authentication_sessions.textfsm diff --git a/templates/cisco_ios_show_boot.template b/templates/cisco_ios_show_boot.textfsm similarity index 100% rename from templates/cisco_ios_show_boot.template rename to templates/cisco_ios_show_boot.textfsm diff --git a/templates/cisco_ios_show_capability_feature_routing.template b/templates/cisco_ios_show_capability_feature_routing.textfsm similarity index 100% rename from templates/cisco_ios_show_capability_feature_routing.template rename to templates/cisco_ios_show_capability_feature_routing.textfsm diff --git a/templates/cisco_ios_show_cdp_neighbors.template b/templates/cisco_ios_show_cdp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_cdp_neighbors.template rename to templates/cisco_ios_show_cdp_neighbors.textfsm diff --git a/templates/cisco_ios_show_cdp_neighbors_detail.template b/templates/cisco_ios_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_cdp_neighbors_detail.template rename to templates/cisco_ios_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_ios_show_clock.template b/templates/cisco_ios_show_clock.textfsm similarity index 100% rename from templates/cisco_ios_show_clock.template rename to templates/cisco_ios_show_clock.textfsm diff --git a/templates/cisco_ios_show_controller_t1.template b/templates/cisco_ios_show_controller_t1.textfsm similarity index 100% rename from templates/cisco_ios_show_controller_t1.template rename to templates/cisco_ios_show_controller_t1.textfsm diff --git a/templates/cisco_ios_show_dmvpn.template b/templates/cisco_ios_show_dmvpn.textfsm similarity index 100% rename from templates/cisco_ios_show_dmvpn.template rename to templates/cisco_ios_show_dmvpn.textfsm diff --git a/templates/cisco_ios_show_dot1x_all.template b/templates/cisco_ios_show_dot1x_all.textfsm similarity index 100% rename from templates/cisco_ios_show_dot1x_all.template rename to templates/cisco_ios_show_dot1x_all.textfsm diff --git a/templates/cisco_ios_show_environment_power_all.template b/templates/cisco_ios_show_environment_power_all.textfsm similarity index 100% rename from templates/cisco_ios_show_environment_power_all.template rename to templates/cisco_ios_show_environment_power_all.textfsm diff --git a/templates/cisco_ios_show_environment_temperature.template b/templates/cisco_ios_show_environment_temperature.textfsm similarity index 100% rename from templates/cisco_ios_show_environment_temperature.template rename to templates/cisco_ios_show_environment_temperature.textfsm diff --git a/templates/cisco_ios_show_hosts_summary.template b/templates/cisco_ios_show_hosts_summary.textfsm similarity index 100% rename from templates/cisco_ios_show_hosts_summary.template rename to templates/cisco_ios_show_hosts_summary.textfsm diff --git a/templates/cisco_ios_show_interface_transceiver.template b/templates/cisco_ios_show_interface_transceiver.textfsm similarity index 100% rename from templates/cisco_ios_show_interface_transceiver.template rename to templates/cisco_ios_show_interface_transceiver.textfsm diff --git a/templates/cisco_ios_show_interfaces.template b/templates/cisco_ios_show_interfaces.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces.template rename to templates/cisco_ios_show_interfaces.textfsm diff --git a/templates/cisco_ios_show_interfaces_description.template b/templates/cisco_ios_show_interfaces_description.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces_description.template rename to templates/cisco_ios_show_interfaces_description.textfsm diff --git a/templates/cisco_ios_show_interfaces_status.template b/templates/cisco_ios_show_interfaces_status.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces_status.template rename to templates/cisco_ios_show_interfaces_status.textfsm diff --git a/templates/cisco_ios_show_interfaces_switchport.template b/templates/cisco_ios_show_interfaces_switchport.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces_switchport.template rename to templates/cisco_ios_show_interfaces_switchport.textfsm diff --git a/templates/cisco_ios_show_inventory.template b/templates/cisco_ios_show_inventory.textfsm similarity index 100% rename from templates/cisco_ios_show_inventory.template rename to templates/cisco_ios_show_inventory.textfsm diff --git a/templates/cisco_ios_show_ip_access-lists.template b/templates/cisco_ios_show_ip_access-lists.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_access-lists.template rename to templates/cisco_ios_show_ip_access-lists.textfsm diff --git a/templates/cisco_ios_show_ip_arp.template b/templates/cisco_ios_show_ip_arp.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_arp.template rename to templates/cisco_ios_show_ip_arp.textfsm diff --git a/templates/cisco_ios_show_ip_bgp.template b/templates/cisco_ios_show_ip_bgp.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp.template rename to templates/cisco_ios_show_ip_bgp.textfsm diff --git a/templates/cisco_ios_show_ip_bgp_summary.template b/templates/cisco_ios_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp_summary.template rename to templates/cisco_ios_show_ip_bgp_summary.textfsm diff --git a/templates/cisco_ios_show_ip_device_tracking_all.template b/templates/cisco_ios_show_ip_device_tracking_all.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_device_tracking_all.template rename to templates/cisco_ios_show_ip_device_tracking_all.textfsm diff --git a/templates/cisco_ios_show_ip_eigrp_neighbors.template b/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_eigrp_neighbors.template rename to templates/cisco_ios_show_ip_eigrp_neighbors.textfsm diff --git a/templates/cisco_ios_show_ip_eigrp_topology.template b/templates/cisco_ios_show_ip_eigrp_topology.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_eigrp_topology.template rename to templates/cisco_ios_show_ip_eigrp_topology.textfsm diff --git a/templates/cisco_ios_show_ip_flow_toptalkers.template b/templates/cisco_ios_show_ip_flow_toptalkers.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_flow_toptalkers.template rename to templates/cisco_ios_show_ip_flow_toptalkers.textfsm diff --git a/templates/cisco_ios_show_ip_interface.template b/templates/cisco_ios_show_ip_interface.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_interface.template rename to templates/cisco_ios_show_ip_interface.textfsm diff --git a/templates/cisco_ios_show_ip_interface_brief.template b/templates/cisco_ios_show_ip_interface_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_interface_brief.template rename to templates/cisco_ios_show_ip_interface_brief.textfsm diff --git a/templates/cisco_ios_show_ip_mroute.template b/templates/cisco_ios_show_ip_mroute.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_mroute.template rename to templates/cisco_ios_show_ip_mroute.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_database.template b/templates/cisco_ios_show_ip_ospf_database.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_database.template rename to templates/cisco_ios_show_ip_ospf_database.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_interface_brief.template b/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_interface_brief.template rename to templates/cisco_ios_show_ip_ospf_interface_brief.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_neighbor.template b/templates/cisco_ios_show_ip_ospf_neighbor.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_neighbor.template rename to templates/cisco_ios_show_ip_ospf_neighbor.textfsm diff --git a/templates/cisco_ios_show_ip_prefix-list.template b/templates/cisco_ios_show_ip_prefix-list.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_prefix-list.template rename to templates/cisco_ios_show_ip_prefix-list.textfsm diff --git a/templates/cisco_ios_show_ip_route.template b/templates/cisco_ios_show_ip_route.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_route.template rename to templates/cisco_ios_show_ip_route.textfsm diff --git a/templates/cisco_ios_show_ip_source_binding.template b/templates/cisco_ios_show_ip_source_binding.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_source_binding.template rename to templates/cisco_ios_show_ip_source_binding.textfsm diff --git a/templates/cisco_ios_show_ipv6_interface_brief.template b/templates/cisco_ios_show_ipv6_interface_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_ipv6_interface_brief.template rename to templates/cisco_ios_show_ipv6_interface_brief.textfsm diff --git a/templates/cisco_ios_show_ipv6_neighbors.template b/templates/cisco_ios_show_ipv6_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_ipv6_neighbors.template rename to templates/cisco_ios_show_ipv6_neighbors.textfsm diff --git a/templates/cisco_ios_show_isdn_status.template b/templates/cisco_ios_show_isdn_status.textfsm similarity index 100% rename from templates/cisco_ios_show_isdn_status.template rename to templates/cisco_ios_show_isdn_status.textfsm diff --git a/templates/cisco_ios_show_isis_neighbors.template b/templates/cisco_ios_show_isis_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_isis_neighbors.template rename to templates/cisco_ios_show_isis_neighbors.textfsm diff --git a/templates/cisco_ios_show_license.template b/templates/cisco_ios_show_license.textfsm similarity index 100% rename from templates/cisco_ios_show_license.template rename to templates/cisco_ios_show_license.textfsm diff --git a/templates/cisco_ios_show_lldp_neighbors.template b/templates/cisco_ios_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_lldp_neighbors.template rename to templates/cisco_ios_show_lldp_neighbors.textfsm diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.template b/templates/cisco_ios_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_lldp_neighbors_detail.template rename to templates/cisco_ios_show_lldp_neighbors_detail.textfsm diff --git a/templates/cisco_ios_show_mac-address-table.template b/templates/cisco_ios_show_mac-address-table.textfsm similarity index 100% rename from templates/cisco_ios_show_mac-address-table.template rename to templates/cisco_ios_show_mac-address-table.textfsm diff --git a/templates/cisco_ios_show_platform_diag.template b/templates/cisco_ios_show_platform_diag.textfsm similarity index 100% rename from templates/cisco_ios_show_platform_diag.template rename to templates/cisco_ios_show_platform_diag.textfsm diff --git a/templates/cisco_ios_show_power_available.template b/templates/cisco_ios_show_power_available.textfsm similarity index 100% rename from templates/cisco_ios_show_power_available.template rename to templates/cisco_ios_show_power_available.textfsm diff --git a/templates/cisco_ios_show_power_status.template b/templates/cisco_ios_show_power_status.textfsm similarity index 100% rename from templates/cisco_ios_show_power_status.template rename to templates/cisco_ios_show_power_status.textfsm diff --git a/templates/cisco_ios_show_power_supplies.template b/templates/cisco_ios_show_power_supplies.textfsm similarity index 100% rename from templates/cisco_ios_show_power_supplies.template rename to templates/cisco_ios_show_power_supplies.textfsm diff --git a/templates/cisco_ios_show_processes_cpu.template b/templates/cisco_ios_show_processes_cpu.textfsm similarity index 100% rename from templates/cisco_ios_show_processes_cpu.template rename to templates/cisco_ios_show_processes_cpu.textfsm diff --git a/templates/cisco_ios_show_processes_memory_sorted.template b/templates/cisco_ios_show_processes_memory_sorted.textfsm similarity index 100% rename from templates/cisco_ios_show_processes_memory_sorted.template rename to templates/cisco_ios_show_processes_memory_sorted.textfsm diff --git a/templates/cisco_ios_show_redundancy.template b/templates/cisco_ios_show_redundancy.textfsm similarity index 100% rename from templates/cisco_ios_show_redundancy.template rename to templates/cisco_ios_show_redundancy.textfsm diff --git a/templates/cisco_ios_show_route-map.template b/templates/cisco_ios_show_route-map.textfsm similarity index 100% rename from templates/cisco_ios_show_route-map.template rename to templates/cisco_ios_show_route-map.textfsm diff --git a/templates/cisco_ios_show_running-config_partition_access-list.template b/templates/cisco_ios_show_running-config_partition_access-list.textfsm similarity index 100% rename from templates/cisco_ios_show_running-config_partition_access-list.template rename to templates/cisco_ios_show_running-config_partition_access-list.textfsm diff --git a/templates/cisco_ios_show_running-config_partition_route-map.template b/templates/cisco_ios_show_running-config_partition_route-map.textfsm similarity index 100% rename from templates/cisco_ios_show_running-config_partition_route-map.template rename to templates/cisco_ios_show_running-config_partition_route-map.textfsm diff --git a/templates/cisco_ios_show_snmp_community.template b/templates/cisco_ios_show_snmp_community.textfsm similarity index 100% rename from templates/cisco_ios_show_snmp_community.template rename to templates/cisco_ios_show_snmp_community.textfsm diff --git a/templates/cisco_ios_show_snmp_user.template b/templates/cisco_ios_show_snmp_user.textfsm similarity index 100% rename from templates/cisco_ios_show_snmp_user.template rename to templates/cisco_ios_show_snmp_user.textfsm diff --git a/templates/cisco_ios_show_spanning-tree.template b/templates/cisco_ios_show_spanning-tree.textfsm similarity index 100% rename from templates/cisco_ios_show_spanning-tree.template rename to templates/cisco_ios_show_spanning-tree.textfsm diff --git a/templates/cisco_ios_show_standby.template b/templates/cisco_ios_show_standby.textfsm similarity index 100% rename from templates/cisco_ios_show_standby.template rename to templates/cisco_ios_show_standby.textfsm diff --git a/templates/cisco_ios_show_standby_brief.template b/templates/cisco_ios_show_standby_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_standby_brief.template rename to templates/cisco_ios_show_standby_brief.textfsm diff --git a/templates/cisco_ios_show_switch_detail.template b/templates/cisco_ios_show_switch_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_switch_detail.template rename to templates/cisco_ios_show_switch_detail.textfsm diff --git a/templates/cisco_ios_show_switch_detail_stack_ports.template b/templates/cisco_ios_show_switch_detail_stack_ports.textfsm similarity index 100% rename from templates/cisco_ios_show_switch_detail_stack_ports.template rename to templates/cisco_ios_show_switch_detail_stack_ports.textfsm diff --git a/templates/cisco_ios_show_tacacs.template b/templates/cisco_ios_show_tacacs.textfsm similarity index 100% rename from templates/cisco_ios_show_tacacs.template rename to templates/cisco_ios_show_tacacs.textfsm diff --git a/templates/cisco_ios_show_version.template b/templates/cisco_ios_show_version.textfsm similarity index 100% rename from templates/cisco_ios_show_version.template rename to templates/cisco_ios_show_version.textfsm diff --git a/templates/cisco_ios_show_vlan.template b/templates/cisco_ios_show_vlan.textfsm similarity index 100% rename from templates/cisco_ios_show_vlan.template rename to templates/cisco_ios_show_vlan.textfsm diff --git a/templates/cisco_ios_show_vrf.template b/templates/cisco_ios_show_vrf.textfsm similarity index 100% rename from templates/cisco_ios_show_vrf.template rename to templates/cisco_ios_show_vrf.textfsm diff --git a/templates/cisco_ios_show_vtp_status.template b/templates/cisco_ios_show_vtp_status.textfsm similarity index 100% rename from templates/cisco_ios_show_vtp_status.template rename to templates/cisco_ios_show_vtp_status.textfsm diff --git a/templates/cisco_nxos_show_access-lists.template b/templates/cisco_nxos_show_access-lists.textfsm similarity index 100% rename from templates/cisco_nxos_show_access-lists.template rename to templates/cisco_nxos_show_access-lists.textfsm diff --git a/templates/cisco_nxos_show_cdp_neighbors.template b/templates/cisco_nxos_show_cdp_neighbors.textfsm similarity index 100% rename from templates/cisco_nxos_show_cdp_neighbors.template rename to templates/cisco_nxos_show_cdp_neighbors.textfsm diff --git a/templates/cisco_nxos_show_cdp_neighbors_detail.template b/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_nxos_show_cdp_neighbors_detail.template rename to templates/cisco_nxos_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_nxos_show_clock.template b/templates/cisco_nxos_show_clock.textfsm similarity index 100% rename from templates/cisco_nxos_show_clock.template rename to templates/cisco_nxos_show_clock.textfsm diff --git a/templates/cisco_nxos_show_configuration_session_summary.template b/templates/cisco_nxos_show_configuration_session_summary.textfsm similarity index 100% rename from templates/cisco_nxos_show_configuration_session_summary.template rename to templates/cisco_nxos_show_configuration_session_summary.textfsm diff --git a/templates/cisco_nxos_show_cts_interface_all.template b/templates/cisco_nxos_show_cts_interface_all.textfsm similarity index 100% rename from templates/cisco_nxos_show_cts_interface_all.template rename to templates/cisco_nxos_show_cts_interface_all.textfsm diff --git a/templates/cisco_nxos_show_cts_interface_brief.template b/templates/cisco_nxos_show_cts_interface_brief.textfsm similarity index 100% rename from templates/cisco_nxos_show_cts_interface_brief.template rename to templates/cisco_nxos_show_cts_interface_brief.textfsm diff --git a/templates/cisco_nxos_show_environment_temperature.template b/templates/cisco_nxos_show_environment_temperature.textfsm similarity index 100% rename from templates/cisco_nxos_show_environment_temperature.template rename to templates/cisco_nxos_show_environment_temperature.textfsm diff --git a/templates/cisco_nxos_show_environments.template b/templates/cisco_nxos_show_environments.textfsm similarity index 100% rename from templates/cisco_nxos_show_environments.template rename to templates/cisco_nxos_show_environments.textfsm diff --git a/templates/cisco_nxos_show_feature.template b/templates/cisco_nxos_show_feature.textfsm similarity index 100% rename from templates/cisco_nxos_show_feature.template rename to templates/cisco_nxos_show_feature.textfsm diff --git a/templates/cisco_nxos_show_fex.template b/templates/cisco_nxos_show_fex.textfsm similarity index 100% rename from templates/cisco_nxos_show_fex.template rename to templates/cisco_nxos_show_fex.textfsm diff --git a/templates/cisco_nxos_show_fex_id.template b/templates/cisco_nxos_show_fex_id.textfsm similarity index 100% rename from templates/cisco_nxos_show_fex_id.template rename to templates/cisco_nxos_show_fex_id.textfsm diff --git a/templates/cisco_nxos_show_flogi_database.template b/templates/cisco_nxos_show_flogi_database.textfsm similarity index 100% rename from templates/cisco_nxos_show_flogi_database.template rename to templates/cisco_nxos_show_flogi_database.textfsm diff --git a/templates/cisco_nxos_show_forwarding_ipv4_route.template b/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm similarity index 100% rename from templates/cisco_nxos_show_forwarding_ipv4_route.template rename to templates/cisco_nxos_show_forwarding_ipv4_route.textfsm diff --git a/templates/cisco_nxos_show_hostname.template b/templates/cisco_nxos_show_hostname.textfsm similarity index 100% rename from templates/cisco_nxos_show_hostname.template rename to templates/cisco_nxos_show_hostname.textfsm diff --git a/templates/cisco_nxos_show_interface.template b/templates/cisco_nxos_show_interface.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface.template rename to templates/cisco_nxos_show_interface.textfsm diff --git a/templates/cisco_nxos_show_interface_brief.template b/templates/cisco_nxos_show_interface_brief.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_brief.template rename to templates/cisco_nxos_show_interface_brief.textfsm diff --git a/templates/cisco_nxos_show_interface_status.template b/templates/cisco_nxos_show_interface_status.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_status.template rename to templates/cisco_nxos_show_interface_status.textfsm diff --git a/templates/cisco_nxos_show_interface_transceiver_details.template b/templates/cisco_nxos_show_interface_transceiver_details.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_transceiver_details.template rename to templates/cisco_nxos_show_interface_transceiver_details.textfsm diff --git a/templates/cisco_nxos_show_interfaces_switchport.template b/templates/cisco_nxos_show_interfaces_switchport.textfsm similarity index 100% rename from templates/cisco_nxos_show_interfaces_switchport.template rename to templates/cisco_nxos_show_interfaces_switchport.textfsm diff --git a/templates/cisco_nxos_show_inventory.template b/templates/cisco_nxos_show_inventory.textfsm similarity index 100% rename from templates/cisco_nxos_show_inventory.template rename to templates/cisco_nxos_show_inventory.textfsm diff --git a/templates/cisco_nxos_show_ip_arp.template b/templates/cisco_nxos_show_ip_arp.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_arp.template rename to templates/cisco_nxos_show_ip_arp.textfsm diff --git a/templates/cisco_nxos_show_ip_arp_detail.template b/templates/cisco_nxos_show_ip_arp_detail.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_arp_detail.template rename to templates/cisco_nxos_show_ip_arp_detail.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp.template b/templates/cisco_nxos_show_ip_bgp.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp.template rename to templates/cisco_nxos_show_ip_bgp.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp_neighbors.template b/templates/cisco_nxos_show_ip_bgp_neighbors.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp_neighbors.template rename to templates/cisco_nxos_show_ip_bgp_neighbors.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp_summary.template b/templates/cisco_nxos_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp_summary.template rename to templates/cisco_nxos_show_ip_bgp_summary.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp_summary_vrf.template b/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp_summary_vrf.template rename to templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm diff --git a/templates/cisco_nxos_show_ip_community-list.template b/templates/cisco_nxos_show_ip_community-list.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_community-list.template rename to templates/cisco_nxos_show_ip_community-list.textfsm diff --git a/templates/cisco_nxos_show_ip_dhcp_relay_address.template b/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_dhcp_relay_address.template rename to templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm diff --git a/templates/cisco_nxos_show_ip_interface_brief.template b/templates/cisco_nxos_show_ip_interface_brief.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_interface_brief.template rename to templates/cisco_nxos_show_ip_interface_brief.textfsm diff --git a/templates/cisco_nxos_show_ip_ospf_database.template b/templates/cisco_nxos_show_ip_ospf_database.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_ospf_database.template rename to templates/cisco_nxos_show_ip_ospf_database.textfsm diff --git a/templates/cisco_nxos_show_ip_ospf_neighbor.template b/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_ospf_neighbor.template rename to templates/cisco_nxos_show_ip_ospf_neighbor.textfsm diff --git a/templates/cisco_nxos_show_ip_route.template b/templates/cisco_nxos_show_ip_route.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_route.template rename to templates/cisco_nxos_show_ip_route.textfsm diff --git a/templates/cisco_nxos_show_ipv6_interface_brief.template b/templates/cisco_nxos_show_ipv6_interface_brief.textfsm similarity index 100% rename from templates/cisco_nxos_show_ipv6_interface_brief.template rename to templates/cisco_nxos_show_ipv6_interface_brief.textfsm diff --git a/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.template b/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm similarity index 100% rename from templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.template rename to templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm diff --git a/templates/cisco_nxos_show_lldp_neighbors.template b/templates/cisco_nxos_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_nxos_show_lldp_neighbors.template rename to templates/cisco_nxos_show_lldp_neighbors.textfsm diff --git a/templates/cisco_nxos_show_lldp_neighbors_detail.template b/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_nxos_show_lldp_neighbors_detail.template rename to templates/cisco_nxos_show_lldp_neighbors_detail.textfsm diff --git a/templates/cisco_nxos_show_mac_address-table.template b/templates/cisco_nxos_show_mac_address-table.textfsm similarity index 100% rename from templates/cisco_nxos_show_mac_address-table.template rename to templates/cisco_nxos_show_mac_address-table.textfsm diff --git a/templates/cisco_nxos_show_module.template b/templates/cisco_nxos_show_module.textfsm similarity index 100% rename from templates/cisco_nxos_show_module.template rename to templates/cisco_nxos_show_module.textfsm diff --git a/templates/cisco_nxos_show_port-channel_summary.template b/templates/cisco_nxos_show_port-channel_summary.textfsm similarity index 100% rename from templates/cisco_nxos_show_port-channel_summary.template rename to templates/cisco_nxos_show_port-channel_summary.textfsm diff --git a/templates/cisco_nxos_show_processes_cpu.template b/templates/cisco_nxos_show_processes_cpu.textfsm similarity index 100% rename from templates/cisco_nxos_show_processes_cpu.template rename to templates/cisco_nxos_show_processes_cpu.textfsm diff --git a/templates/cisco_nxos_show_route-map.template b/templates/cisco_nxos_show_route-map.textfsm similarity index 100% rename from templates/cisco_nxos_show_route-map.template rename to templates/cisco_nxos_show_route-map.textfsm diff --git a/templates/cisco_nxos_show_version.template b/templates/cisco_nxos_show_version.textfsm similarity index 100% rename from templates/cisco_nxos_show_version.template rename to templates/cisco_nxos_show_version.textfsm diff --git a/templates/cisco_nxos_show_vlan.template b/templates/cisco_nxos_show_vlan.textfsm similarity index 100% rename from templates/cisco_nxos_show_vlan.template rename to templates/cisco_nxos_show_vlan.textfsm diff --git a/templates/cisco_nxos_show_vpc.template b/templates/cisco_nxos_show_vpc.textfsm similarity index 100% rename from templates/cisco_nxos_show_vpc.template rename to templates/cisco_nxos_show_vpc.textfsm diff --git a/templates/cisco_nxos_show_vrf.template b/templates/cisco_nxos_show_vrf.textfsm similarity index 100% rename from templates/cisco_nxos_show_vrf.template rename to templates/cisco_nxos_show_vrf.textfsm diff --git a/templates/cisco_wlc_ssh_show_802.11a.template b/templates/cisco_wlc_ssh_show_802.11a.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_802.11a.template rename to templates/cisco_wlc_ssh_show_802.11a.textfsm diff --git a/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.template b/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_802.11a_cleanair_config.template rename to templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm diff --git a/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.template b/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_advanced_802.11a_channel.template rename to templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm diff --git a/templates/cisco_wlc_ssh_show_ap_config_general.template b/templates/cisco_wlc_ssh_show_ap_config_general.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_ap_config_general.template rename to templates/cisco_wlc_ssh_show_ap_config_general.textfsm diff --git a/templates/cisco_wlc_ssh_show_ap_summary.template b/templates/cisco_wlc_ssh_show_ap_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_ap_summary.template rename to templates/cisco_wlc_ssh_show_ap_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.template b/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_cdp_neighbors_detail.template rename to templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_wlc_ssh_show_client_detail.template b/templates/cisco_wlc_ssh_show_client_detail.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_client_detail.template rename to templates/cisco_wlc_ssh_show_client_detail.textfsm diff --git a/templates/cisco_wlc_ssh_show_exclusionlist.template b/templates/cisco_wlc_ssh_show_exclusionlist.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_exclusionlist.template rename to templates/cisco_wlc_ssh_show_exclusionlist.textfsm diff --git a/templates/cisco_wlc_ssh_show_interface_summary.template b/templates/cisco_wlc_ssh_show_interface_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_interface_summary.template rename to templates/cisco_wlc_ssh_show_interface_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_inventory.template b/templates/cisco_wlc_ssh_show_inventory.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_inventory.template rename to templates/cisco_wlc_ssh_show_inventory.textfsm diff --git a/templates/cisco_wlc_ssh_show_rf-profile_summary.template b/templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_rf-profile_summary.template rename to templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_sysinfo.template b/templates/cisco_wlc_ssh_show_sysinfo.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_sysinfo.template rename to templates/cisco_wlc_ssh_show_sysinfo.textfsm diff --git a/templates/cisco_xr_admin_show_controller_fabric_health.template b/templates/cisco_xr_admin_show_controller_fabric_health.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_controller_fabric_health.template rename to templates/cisco_xr_admin_show_controller_fabric_health.textfsm diff --git a/templates/cisco_xr_admin_show_environment_fan.template b/templates/cisco_xr_admin_show_environment_fan.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_environment_fan.template rename to templates/cisco_xr_admin_show_environment_fan.textfsm diff --git a/templates/cisco_xr_admin_show_inventory.template b/templates/cisco_xr_admin_show_inventory.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_inventory.template rename to templates/cisco_xr_admin_show_inventory.textfsm diff --git a/templates/cisco_xr_admin_show_platform.template b/templates/cisco_xr_admin_show_platform.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_platform.template rename to templates/cisco_xr_admin_show_platform.textfsm diff --git a/templates/cisco_xr_admin_show_vm.template b/templates/cisco_xr_admin_show_vm.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_vm.template rename to templates/cisco_xr_admin_show_vm.textfsm diff --git a/templates/cisco_xr_show_asic-errors_all_location.template b/templates/cisco_xr_show_asic-errors_all_location.textfsm similarity index 100% rename from templates/cisco_xr_show_asic-errors_all_location.template rename to templates/cisco_xr_show_asic-errors_all_location.textfsm diff --git a/templates/cisco_xr_show_bfd_sessions.template b/templates/cisco_xr_show_bfd_sessions.textfsm similarity index 100% rename from templates/cisco_xr_show_bfd_sessions.template rename to templates/cisco_xr_show_bfd_sessions.textfsm diff --git a/templates/cisco_xr_show_bgp.template b/templates/cisco_xr_show_bgp.textfsm similarity index 100% rename from templates/cisco_xr_show_bgp.template rename to templates/cisco_xr_show_bgp.textfsm diff --git a/templates/cisco_xr_show_bgp_neighbors.template b/templates/cisco_xr_show_bgp_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_bgp_neighbors.template rename to templates/cisco_xr_show_bgp_neighbors.textfsm diff --git a/templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template b/templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template rename to templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm diff --git a/templates/cisco_xr_show_cdp_neighbors_detail.template b/templates/cisco_xr_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_xr_show_cdp_neighbors_detail.template rename to templates/cisco_xr_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_xr_show_cef_drops_location.template b/templates/cisco_xr_show_cef_drops_location.textfsm similarity index 100% rename from templates/cisco_xr_show_cef_drops_location.template rename to templates/cisco_xr_show_cef_drops_location.textfsm diff --git a/templates/cisco_xr_show_configuration_commit_list.template b/templates/cisco_xr_show_configuration_commit_list.textfsm similarity index 100% rename from templates/cisco_xr_show_configuration_commit_list.template rename to templates/cisco_xr_show_configuration_commit_list.textfsm diff --git a/templates/cisco_xr_show_controller_fabric_plane_all.template b/templates/cisco_xr_show_controller_fabric_plane_all.textfsm similarity index 100% rename from templates/cisco_xr_show_controller_fabric_plane_all.template rename to templates/cisco_xr_show_controller_fabric_plane_all.textfsm diff --git a/templates/cisco_xr_show_controllers_HundredGigabitEthernet.template b/templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_HundredGigabitEthernet.template rename to templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm diff --git a/templates/cisco_xr_show_controllers_all_phy.template b/templates/cisco_xr_show_controllers_all_phy.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_all_phy.template rename to templates/cisco_xr_show_controllers_all_phy.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.template b/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.template rename to templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template b/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template rename to templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.template b/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.template rename to templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template b/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template rename to templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm diff --git a/templates/cisco_xr_show_dhcp_ipv4_proxy_binding.template b/templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm similarity index 100% rename from templates/cisco_xr_show_dhcp_ipv4_proxy_binding.template rename to templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm diff --git a/templates/cisco_xr_show_drops_np_all.template b/templates/cisco_xr_show_drops_np_all.textfsm similarity index 100% rename from templates/cisco_xr_show_drops_np_all.template rename to templates/cisco_xr_show_drops_np_all.textfsm diff --git a/templates/cisco_xr_show_hsrp.template b/templates/cisco_xr_show_hsrp.textfsm similarity index 100% rename from templates/cisco_xr_show_hsrp.template rename to templates/cisco_xr_show_hsrp.textfsm diff --git a/templates/cisco_xr_show_interface_brief.template b/templates/cisco_xr_show_interface_brief.textfsm similarity index 100% rename from templates/cisco_xr_show_interface_brief.template rename to templates/cisco_xr_show_interface_brief.textfsm diff --git a/templates/cisco_xr_show_interfaces.template b/templates/cisco_xr_show_interfaces.textfsm similarity index 100% rename from templates/cisco_xr_show_interfaces.template rename to templates/cisco_xr_show_interfaces.textfsm diff --git a/templates/cisco_xr_show_ip_bgp_summary.template b/templates/cisco_xr_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_ip_bgp_summary.template rename to templates/cisco_xr_show_ip_bgp_summary.textfsm diff --git a/templates/cisco_xr_show_ip_interface_brief.template b/templates/cisco_xr_show_ip_interface_brief.textfsm similarity index 100% rename from templates/cisco_xr_show_ip_interface_brief.template rename to templates/cisco_xr_show_ip_interface_brief.textfsm diff --git a/templates/cisco_xr_show_ip_route.template b/templates/cisco_xr_show_ip_route.textfsm similarity index 100% rename from templates/cisco_xr_show_ip_route.template rename to templates/cisco_xr_show_ip_route.textfsm diff --git a/templates/cisco_xr_show_ipv6_neighbors.template b/templates/cisco_xr_show_ipv6_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_ipv6_neighbors.template rename to templates/cisco_xr_show_ipv6_neighbors.textfsm diff --git a/templates/cisco_xr_show_isis_neighbors.template b/templates/cisco_xr_show_isis_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_isis_neighbors.template rename to templates/cisco_xr_show_isis_neighbors.textfsm diff --git a/templates/cisco_xr_show_lldp_neighbors.template b/templates/cisco_xr_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_lldp_neighbors.template rename to templates/cisco_xr_show_lldp_neighbors.textfsm diff --git a/templates/cisco_xr_show_lpts_pifib_hardware_police_location.template b/templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm similarity index 100% rename from templates/cisco_xr_show_lpts_pifib_hardware_police_location.template rename to templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm diff --git a/templates/cisco_xr_show_mpls_ldp_neighbor_brief.template b/templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm similarity index 100% rename from templates/cisco_xr_show_mpls_ldp_neighbor_brief.template rename to templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm diff --git a/templates/cisco_xr_show_ospf_neighbor.template b/templates/cisco_xr_show_ospf_neighbor.textfsm similarity index 100% rename from templates/cisco_xr_show_ospf_neighbor.template rename to templates/cisco_xr_show_ospf_neighbor.textfsm diff --git a/templates/cisco_xr_show_pim_neighbor.template b/templates/cisco_xr_show_pim_neighbor.textfsm similarity index 100% rename from templates/cisco_xr_show_pim_neighbor.template rename to templates/cisco_xr_show_pim_neighbor.textfsm diff --git a/templates/cisco_xr_show_processes_cpu.template b/templates/cisco_xr_show_processes_cpu.textfsm similarity index 100% rename from templates/cisco_xr_show_processes_cpu.template rename to templates/cisco_xr_show_processes_cpu.textfsm diff --git a/templates/cisco_xr_show_redundancy_summary.template b/templates/cisco_xr_show_redundancy_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_redundancy_summary.template rename to templates/cisco_xr_show_redundancy_summary.textfsm diff --git a/templates/cisco_xr_show_rsvp_neighbors.template b/templates/cisco_xr_show_rsvp_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_rsvp_neighbors.template rename to templates/cisco_xr_show_rsvp_neighbors.textfsm diff --git a/templates/cisco_xr_show_version.template b/templates/cisco_xr_show_version.textfsm similarity index 100% rename from templates/cisco_xr_show_version.template rename to templates/cisco_xr_show_version.textfsm diff --git a/templates/dell_force10_show_arp.template b/templates/dell_force10_show_arp.textfsm similarity index 100% rename from templates/dell_force10_show_arp.template rename to templates/dell_force10_show_arp.textfsm diff --git a/templates/dell_force10_show_version.template b/templates/dell_force10_show_version.textfsm similarity index 100% rename from templates/dell_force10_show_version.template rename to templates/dell_force10_show_version.textfsm diff --git a/templates/dell_force10_show_vlan.template b/templates/dell_force10_show_vlan.textfsm similarity index 100% rename from templates/dell_force10_show_vlan.template rename to templates/dell_force10_show_vlan.textfsm diff --git a/templates/dell_force10_show_vlan_brief.template b/templates/dell_force10_show_vlan_brief.textfsm similarity index 100% rename from templates/dell_force10_show_vlan_brief.template rename to templates/dell_force10_show_vlan_brief.textfsm diff --git a/templates/fortinet_fortios_get_router_info_bgp_summary.template b/templates/fortinet_fortios_get_router_info_bgp_summary.textfsm similarity index 100% rename from templates/fortinet_fortios_get_router_info_bgp_summary.template rename to templates/fortinet_fortios_get_router_info_bgp_summary.textfsm diff --git a/templates/hp_comware_display_arp.template b/templates/hp_comware_display_arp.textfsm similarity index 100% rename from templates/hp_comware_display_arp.template rename to templates/hp_comware_display_arp.textfsm diff --git a/templates/hp_comware_display_clock.template b/templates/hp_comware_display_clock.textfsm similarity index 100% rename from templates/hp_comware_display_clock.template rename to templates/hp_comware_display_clock.textfsm diff --git a/templates/hp_comware_display_counters_bound_interface.template b/templates/hp_comware_display_counters_bound_interface.textfsm similarity index 100% rename from templates/hp_comware_display_counters_bound_interface.template rename to templates/hp_comware_display_counters_bound_interface.textfsm diff --git a/templates/hp_comware_display_mac-address.template b/templates/hp_comware_display_mac-address.textfsm similarity index 100% rename from templates/hp_comware_display_mac-address.template rename to templates/hp_comware_display_mac-address.textfsm diff --git a/templates/hp_comware_display_vlan_brief.template b/templates/hp_comware_display_vlan_brief.textfsm similarity index 100% rename from templates/hp_comware_display_vlan_brief.template rename to templates/hp_comware_display_vlan_brief.textfsm diff --git a/templates/hp_procurve_show_arp.template b/templates/hp_procurve_show_arp.textfsm similarity index 100% rename from templates/hp_procurve_show_arp.template rename to templates/hp_procurve_show_arp.textfsm diff --git a/templates/hp_procurve_show_mac-address.template b/templates/hp_procurve_show_mac-address.textfsm similarity index 100% rename from templates/hp_procurve_show_mac-address.template rename to templates/hp_procurve_show_mac-address.textfsm diff --git a/templates/hp_procurve_show_system.template b/templates/hp_procurve_show_system.textfsm similarity index 100% rename from templates/hp_procurve_show_system.template rename to templates/hp_procurve_show_system.textfsm diff --git a/templates/hp_procurve_show_tech_buffers.template b/templates/hp_procurve_show_tech_buffers.textfsm similarity index 100% rename from templates/hp_procurve_show_tech_buffers.template rename to templates/hp_procurve_show_tech_buffers.textfsm diff --git a/templates/hp_procurve_show_vlans.template b/templates/hp_procurve_show_vlans.textfsm similarity index 100% rename from templates/hp_procurve_show_vlans.template rename to templates/hp_procurve_show_vlans.textfsm diff --git a/templates/huawei_vrp_display_interface_brief.template b/templates/huawei_vrp_display_interface_brief.textfsm similarity index 100% rename from templates/huawei_vrp_display_interface_brief.template rename to templates/huawei_vrp_display_interface_brief.textfsm diff --git a/templates/huawei_vrp_display_temperature.template b/templates/huawei_vrp_display_temperature.textfsm similarity index 100% rename from templates/huawei_vrp_display_temperature.template rename to templates/huawei_vrp_display_temperature.textfsm diff --git a/templates/index b/templates/index index bdb0a6e0e2..7ced96feee 100644 --- a/templates/index +++ b/templates/index @@ -11,346 +11,346 @@ # Template, Hostname, Platform, Command -alcatel_aos_show_vlan.template, .*, alcatel_aos, show vlan +alcatel_aos_show_vlan.textfsm, .*, alcatel_aos, show vlan -alcatel_sros_show_router_bgp_routes_vpn-ipv4.template, .*, alcatel_sros, sh[[ow]] router bgp rou[[tes]] vpn-ipv4 -alcatel_sros_show_service_id_base.template, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] -alcatel_sros_oam_mac-ping.template, .*, alcatel_sros, oam mac-pi[[ng]] +alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm, .*, alcatel_sros, sh[[ow]] router bgp rou[[tes]] vpn-ipv4 +alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] +alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] -arista_eos_show_mac_security_participants_detail.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] part[[icipants]] det[[ail]] -arista_eos_show_interfaces_transceiver_detail.template, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] de[[tail]] -arista_eos_show_mac_security_mka_counters.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] mk[[a]] count[[ers]] -arista_eos_show_environment_temperature.template, .*, arista_eos, sh[[ow]] en[[vironment]] t[[emperature]] -arista_eos_show_interfaces_transceiver.template, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] -arista_eos_show_mac_security_interface.template, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] -arista_eos_show_lldp_neighbors_detail.template, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] -arista_eos_show_environment_cooling.template, .*, arista_eos, sh[[ow]] en[[vironment]] c[[ooling]] -arista_eos_show_ip_interface_brief.template, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] -arista_eos_show_interfaces_status.template, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] -arista_eos_show_ip_helper-address.template, .*, arista_eos, sh[[ow]] ip he[[lper-address]] -arista_eos_show_mac_address-table.template, .*, arista_eos, sh[[ow]] m[[ac]] ad[[dress-table]] -arista_eos_show_ip_ospf_database.template, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] data[[base]] -arista_eos_show_ip_ospf_neighbor.template, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] nei[[ghbor]] -arista_eos_show_ip_access-lists.template, .*, arista_eos, sh[[ow]] i[[p]] acce[[ss-lists]] -arista_eos_show_ip_bgp_summary.template, .*, arista_eos, sh[[ow]] (?:i[[p]] bg[[p]]|bg[[p]] ev[[pn]]) su[[mmary]] -arista_eos_show_isis_neighbors.template, .*, arista_eos, sh[[ow]] isis ne[[ighbors]] -arista_eos_show_lldp_neighbors.template, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] -arista_eos_show_snmp_community.template, .*, arista_eos, sh[[ow]] sn[[mp]] com[[munity]] -arista_eos_show_reload_cause.template, .*, arista_eos, sh[[ow]] relo[[ad]] ca[[use]] -arista_eos_show_boot-config.template, .*, arista_eos, sh[[ow]] boot-c[[onfig]] -arista_eos_show_interfaces.template, .*, arista_eos, sh[[ow]] inte[[rfaces]] -arista_eos_show_inventory.template, .*, arista_eos, sh[[ow]] inv[[entory]] -arista_eos_show_hostname.template, .*, arista_eos, sh[[ow]] hostn[[ame]] -arista_eos_show_ip_route.template, .*, arista_eos, sh[[ow]] i[[p]] rou[[te]] -arista_eos_show_version.template, .*, arista_eos, sh[[ow]] ver[[sion]] -arista_eos_show_ip_arp.template, .*, arista_eos, sh[[ow]] i[[p]] ar[[p]] -arista_eos_show_ip_bgp.template, .*, arista_eos, sh[[ow]] i[[p]] bg[[p]] -arista_eos_show_module.template, .*, arista_eos, sh[[ow]] modu[[le]] -arista_eos_bash_df_-h.template, .*, arista_eos, bas[[h]] d[[f]] [[-h]] -arista_eos_show_clock.template, .*, arista_eos, sh[[ow]] clo[[ck]] -arista_eos_dir_flash.template, .*, arista_eos, dir fl[[ash:]] -arista_eos_show_mlag.template, .*, arista_eos, sh[[ow]] ml[[ag]] -arista_eos_show_vlan.template, .*, arista_eos, sh[[ow]] vl[[an]] -arista_eos_show_vrf.template, .*, arista_eos, sh[[ow]] vrf +arista_eos_show_mac_security_participants_detail.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] part[[icipants]] det[[ail]] +arista_eos_show_interfaces_transceiver_detail.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] de[[tail]] +arista_eos_show_mac_security_mka_counters.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] mk[[a]] count[[ers]] +arista_eos_show_environment_temperature.textfsm, .*, arista_eos, sh[[ow]] en[[vironment]] t[[emperature]] +arista_eos_show_interfaces_transceiver.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] +arista_eos_show_mac_security_interface.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] +arista_eos_show_lldp_neighbors_detail.textfsm, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] +arista_eos_show_environment_cooling.textfsm, .*, arista_eos, sh[[ow]] en[[vironment]] c[[ooling]] +arista_eos_show_ip_interface_brief.textfsm, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] +arista_eos_show_interfaces_status.textfsm, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] +arista_eos_show_ip_helper-address.textfsm, .*, arista_eos, sh[[ow]] ip he[[lper-address]] +arista_eos_show_mac_address-table.textfsm, .*, arista_eos, sh[[ow]] m[[ac]] ad[[dress-table]] +arista_eos_show_ip_ospf_database.textfsm, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] data[[base]] +arista_eos_show_ip_ospf_neighbor.textfsm, .*, arista_eos, sh[[ow]] i[[p]] o[[spf]] nei[[ghbor]] +arista_eos_show_ip_access-lists.textfsm, .*, arista_eos, sh[[ow]] i[[p]] acce[[ss-lists]] +arista_eos_show_ip_bgp_summary.textfsm, .*, arista_eos, sh[[ow]] (?:i[[p]] bg[[p]]|bg[[p]] ev[[pn]]) su[[mmary]] +arista_eos_show_isis_neighbors.textfsm, .*, arista_eos, sh[[ow]] isis ne[[ighbors]] +arista_eos_show_lldp_neighbors.textfsm, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] +arista_eos_show_snmp_community.textfsm, .*, arista_eos, sh[[ow]] sn[[mp]] com[[munity]] +arista_eos_show_reload_cause.textfsm, .*, arista_eos, sh[[ow]] relo[[ad]] ca[[use]] +arista_eos_show_boot-config.textfsm, .*, arista_eos, sh[[ow]] boot-c[[onfig]] +arista_eos_show_interfaces.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] +arista_eos_show_inventory.textfsm, .*, arista_eos, sh[[ow]] inv[[entory]] +arista_eos_show_hostname.textfsm, .*, arista_eos, sh[[ow]] hostn[[ame]] +arista_eos_show_ip_route.textfsm, .*, arista_eos, sh[[ow]] i[[p]] rou[[te]] +arista_eos_show_version.textfsm, .*, arista_eos, sh[[ow]] ver[[sion]] +arista_eos_show_ip_arp.textfsm, .*, arista_eos, sh[[ow]] i[[p]] ar[[p]] +arista_eos_show_ip_bgp.textfsm, .*, arista_eos, sh[[ow]] i[[p]] bg[[p]] +arista_eos_show_module.textfsm, .*, arista_eos, sh[[ow]] modu[[le]] +arista_eos_bash_df_-h.textfsm, .*, arista_eos, bas[[h]] d[[f]] [[-h]] +arista_eos_show_clock.textfsm, .*, arista_eos, sh[[ow]] clo[[ck]] +arista_eos_dir_flash.textfsm, .*, arista_eos, dir fl[[ash:]] +arista_eos_show_mlag.textfsm, .*, arista_eos, sh[[ow]] ml[[ag]] +arista_eos_show_vlan.textfsm, .*, arista_eos, sh[[ow]] vl[[an]] +arista_eos_show_vrf.textfsm, .*, arista_eos, sh[[ow]] vrf -aruba_os_show_ipv6_interface_brief.template, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] -aruba_os_show_ip_interface_brief.template, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] +aruba_os_show_ipv6_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] +aruba_os_show_ip_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] -avaya_ers_show_mac-address-table.template, .*, avaya_ers, sh[[ow]] mac-a[[ddress-table]] -avaya_ers_show_mlt_all-members.template, .*, avaya_ers, sh[[ow]] ml[[t]] a[[ll-members]] -avaya_ers_show_interface_name.template, .*, avaya_ers, sh[[ow]] in[[terfaces]] n[[ames]] -avaya_ers_show_logging_config.template, .*, avaya_ers, sh[[ow]] lo[[gging]] co[[nfig]] -avaya_ers_show_sys-info.template, .*, avaya_ers, sh[[ow]] sys-[[info]] -avaya_ers_show_vlan.template, .*, avaya_ers, sh[[ow]] vlan -avaya_ers_show_mlt.template, .*, avaya_ers, sh[[ow]] ml[[t]] +avaya_ers_show_mac-address-table.textfsm, .*, avaya_ers, sh[[ow]] mac-a[[ddress-table]] +avaya_ers_show_mlt_all-members.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] a[[ll-members]] +avaya_ers_show_interface_name.textfsm, .*, avaya_ers, sh[[ow]] in[[terfaces]] n[[ames]] +avaya_ers_show_logging_config.textfsm, .*, avaya_ers, sh[[ow]] lo[[gging]] co[[nfig]] +avaya_ers_show_sys-info.textfsm, .*, avaya_ers, sh[[ow]] sys-[[info]] +avaya_ers_show_vlan.textfsm, .*, avaya_ers, sh[[ow]] vlan +avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] -avaya_vsp_show_software.template, .*, avaya_vsp, sho[[w]] so[[ftware]] +avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] -brocade_fastiron_show_lldp_neighbors_detail.template, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] -brocade_fastiron_show_running-config_vlan.template, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]] -brocade_fastiron_show_interfaces_brief.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] b[[rief]] -brocade_fastiron_show_lldp_neighbors.template, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] -brocade_fastiron_show_mac-address.template, .*, brocade_fastiron, sh[[ow]] ma[[c-address]] -brocade_fastiron_show_interfaces.template, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] -brocade_fastiron_show_lag_brief.template, .*, brocade_fastiron, sh[[ow]] la[[g]] b[[rief]] -brocade_fastiron_show_monitor.template, .*, brocade_fastiron, sh[[ow]] mo[[nitor]] -brocade_fastiron_show_version.template, .*, brocade_fastiron, sh[[ow]] ve[[rsion]] -brocade_fastiron_show_metro.template, .*, brocade_fastiron, sh[[ow]] met[[ro-ring]] -brocade_fastiron_show_trunk.template, .*, brocade_fastiron, sh[[ow]] tru[[nk]] -brocade_fastiron_show_span.template, .*, brocade_fastiron, sh[[ow]] sp[[an]] -brocade_fastiron_show_topo.template, .*, brocade_fastiron, sh[[ow]] to[[pology-group]] -brocade_fastiron_show_arp.template, .*, brocade_fastiron, sh[[ow]] a[[rp]] +brocade_fastiron_show_lldp_neighbors_detail.textfsm, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] +brocade_fastiron_show_running-config_vlan.textfsm, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]] +brocade_fastiron_show_interfaces_brief.textfsm, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] b[[rief]] +brocade_fastiron_show_lldp_neighbors.textfsm, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] +brocade_fastiron_show_mac-address.textfsm, .*, brocade_fastiron, sh[[ow]] ma[[c-address]] +brocade_fastiron_show_interfaces.textfsm, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] +brocade_fastiron_show_lag_brief.textfsm, .*, brocade_fastiron, sh[[ow]] la[[g]] b[[rief]] +brocade_fastiron_show_monitor.textfsm, .*, brocade_fastiron, sh[[ow]] mo[[nitor]] +brocade_fastiron_show_version.textfsm, .*, brocade_fastiron, sh[[ow]] ve[[rsion]] +brocade_fastiron_show_metro.textfsm, .*, brocade_fastiron, sh[[ow]] met[[ro-ring]] +brocade_fastiron_show_trunk.textfsm, .*, brocade_fastiron, sh[[ow]] tru[[nk]] +brocade_fastiron_show_span.textfsm, .*, brocade_fastiron, sh[[ow]] sp[[an]] +brocade_fastiron_show_topo.textfsm, .*, brocade_fastiron, sh[[ow]] to[[pology-group]] +brocade_fastiron_show_arp.textfsm, .*, brocade_fastiron, sh[[ow]] a[[rp]] -brocade_netiron_show_running-config_interface.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] i[[nterface]] -brocade_netiron_show_lldp_neighbors_detail.template, .*, brocade_netiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] -brocade_netiron_show_running-config_vlan.template, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] v[[lan]] -brocade_netiron_show_interfaces_brief.template, .*, brocade_netiron, sh[[ow]] in[[terfaces]] b[[rief]] -brocade_netiron_show_monitor_actual.template, .*, brocade_netiron, sh[[ow]] mon[[itor]] (?:ac|co) -brocade_netiron_show_interfaces.template, .*, brocade_netiron, sh[[ow]] in[[terfaces]] -brocade_netiron_show_lag_brief.template, .*, brocade_netiron, sh[[ow]] lag b[[rief]] -brocade_netiron_show_metro.template, .*, brocade_netiron, sh[[ow]] met[[ro-ring]] -brocade_netiron_show_span.template, .*, brocade_netiron, sh[[ow]] sp[[anning-tree]] -brocade_netiron_show_topo.template, .*, brocade_netiron, sh[[ow]] to[[pology-group]] +brocade_netiron_show_running-config_interface.textfsm, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] i[[nterface]] +brocade_netiron_show_lldp_neighbors_detail.textfsm, .*, brocade_netiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] +brocade_netiron_show_running-config_vlan.textfsm, .*, brocade_netiron, sh[[ow]] ru[[nning-config]] v[[lan]] +brocade_netiron_show_interfaces_brief.textfsm, .*, brocade_netiron, sh[[ow]] in[[terfaces]] b[[rief]] +brocade_netiron_show_monitor_actual.textfsm, .*, brocade_netiron, sh[[ow]] mon[[itor]] (?:ac|co) +brocade_netiron_show_interfaces.textfsm, .*, brocade_netiron, sh[[ow]] in[[terfaces]] +brocade_netiron_show_lag_brief.textfsm, .*, brocade_netiron, sh[[ow]] lag b[[rief]] +brocade_netiron_show_metro.textfsm, .*, brocade_netiron, sh[[ow]] met[[ro-ring]] +brocade_netiron_show_span.textfsm, .*, brocade_netiron, sh[[ow]] sp[[anning-tree]] +brocade_netiron_show_topo.textfsm, .*, brocade_netiron, sh[[ow]] to[[pology-group]] -checkpoint_gaia_show_interfaces_all.template, .*, checkpoint_gaia, show interfaces all -checkpoint_gaia_show_ntp_servers.template, .*, checkpoint_gaia, show ntp servers -checkpoint_gaia_show_version_all.template, .*, checkpoint_gaia, show version all -checkpoint_gaia_show_domainname.template, .*, checkpoint_gaia, show domainname -checkpoint_gaia_show_ipv6_route.template, .*, checkpoint_gaia, show ipv6 route -checkpoint_gaia_show_asset_all.template, .*, checkpoint_gaia, show asset all -checkpoint_gaia_show_route.template, .*, checkpoint_gaia, show route -checkpoint_gaia_show_dns.template, .*, checkpoint_gaia, show dns -checkpoint_gaia_show_lom.template, .*, checkpoint_gaia, show lom -checkpoint_gaia_fw_stat.template, .*, checkpoint_gaia, fw stat +checkpoint_gaia_show_interfaces_all.textfsm, .*, checkpoint_gaia, show interfaces all +checkpoint_gaia_show_ntp_servers.textfsm, .*, checkpoint_gaia, show ntp servers +checkpoint_gaia_show_version_all.textfsm, .*, checkpoint_gaia, show version all +checkpoint_gaia_show_domainname.textfsm, .*, checkpoint_gaia, show domainname +checkpoint_gaia_show_ipv6_route.textfsm, .*, checkpoint_gaia, show ipv6 route +checkpoint_gaia_show_asset_all.textfsm, .*, checkpoint_gaia, show asset all +checkpoint_gaia_show_route.textfsm, .*, checkpoint_gaia, show route +checkpoint_gaia_show_dns.textfsm, .*, checkpoint_gaia, show dns +checkpoint_gaia_show_lom.textfsm, .*, checkpoint_gaia, show lom +checkpoint_gaia_fw_stat.textfsm, .*, checkpoint_gaia, fw stat -ciena_6x_software_show.template, .*, ciena_6x, so[[ftware]] sh[[ow]] +ciena_6x_software_show.textfsm, .*, ciena_6x, so[[ftware]] sh[[ow]] -cisco_asa_show_running-config_object_network.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] o[[bject]] n[[etwork]] -cisco_asa_show_asp_table_vpn-context_detail.template, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]] -cisco_asa_show_running-config_crypto_ikev1.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] ikev1 -cisco_asa_show_running-config_tunnel-group.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] tu[[nnel-group]] -cisco_asa_show_running-config_crypto_map.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] m[[ap]] -cisco_asa_show_vpn-sessiondb_detail_l2l.template, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] d[[etail]] l[[2l]] -cisco_asa_show_crypto_ikev1_sa_detail.template, .*, cisco_asa, sh[[ow]] cry[[pto]] ikev1 sa d[[etail]] -cisco_asa_show_object-group_network.template, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] -cisco_asa_show_running-config_ipsec.template, .*, cisco_asa, sh[[ow]] ru[[nning-config]] ips[[ec]] -cisco_asa_show_interface_detail.template, .*, cisco_asa, sh[[ow]] int[[erface]] d[[etail]] -cisco_asa_show_crypto_ipsec_sa.template, .*, cisco_asa, sh[[ow]] cry[[pto]] ip[[sec]] sa -cisco_asa_show_resource_usage.template, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] -cisco_asa_show_access-list.template, .*, cisco_asa, sh[[ow]] ac[[cess-list]] -cisco_asa_show_license_all.template, .*, cisco_asa, (?:fa[[ilover]]\s+e[[xec]]\s+)?sh[[ow]] lic[[ense]] a[[ll]] -cisco_asa_show_interface.template, .*, cisco_asa, sh[[ow]] int[[erface]] -cisco_asa_show_inventory.template, .*, cisco_asa, sh[[ow]] inven[[tory]] -cisco_asa_show_asp_drop.template, .*, cisco_asa, sh[[ow]] asp d[[rop]] -cisco_asa_show_failover.template, .*, cisco_asa, sh[[ow]] fa[[ilover]] -cisco_asa_show_version.template, .*, cisco_asa, sh[[ow]] ver[[sion]] -cisco_asa_show_route.template, .*, cisco_asa, sh[[ow]] ro[[ute]] -cisco_asa_show_xlate.template, .*, cisco_asa, sh[[ow]] x[[late]] -cisco_asa_show_name.template, .*, cisco_asa, sh[[ow]] nam[[e]] -cisco_asa_show_nat.template, .*, cisco_asa, sh[[ow]] nat -cisco_asa_dir.template, .*, cisco_asa, dir +cisco_asa_show_running-config_object_network.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] o[[bject]] n[[etwork]] +cisco_asa_show_asp_table_vpn-context_detail.textfsm, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]] +cisco_asa_show_running-config_crypto_ikev1.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] ikev1 +cisco_asa_show_running-config_tunnel-group.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] tu[[nnel-group]] +cisco_asa_show_running-config_crypto_map.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] m[[ap]] +cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] d[[etail]] l[[2l]] +cisco_asa_show_crypto_ikev1_sa_detail.textfsm, .*, cisco_asa, sh[[ow]] cry[[pto]] ikev1 sa d[[etail]] +cisco_asa_show_object-group_network.textfsm, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] +cisco_asa_show_running-config_ipsec.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] ips[[ec]] +cisco_asa_show_interface_detail.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] d[[etail]] +cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] cry[[pto]] ip[[sec]] sa +cisco_asa_show_resource_usage.textfsm, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] +cisco_asa_show_access-list.textfsm, .*, cisco_asa, sh[[ow]] ac[[cess-list]] +cisco_asa_show_license_all.textfsm, .*, cisco_asa, (?:fa[[ilover]]\s+e[[xec]]\s+)?sh[[ow]] lic[[ense]] a[[ll]] +cisco_asa_show_interface.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] +cisco_asa_show_inventory.textfsm, .*, cisco_asa, sh[[ow]] inven[[tory]] +cisco_asa_show_asp_drop.textfsm, .*, cisco_asa, sh[[ow]] asp d[[rop]] +cisco_asa_show_failover.textfsm, .*, cisco_asa, sh[[ow]] fa[[ilover]] +cisco_asa_show_version.textfsm, .*, cisco_asa, sh[[ow]] ver[[sion]] +cisco_asa_show_route.textfsm, .*, cisco_asa, sh[[ow]] ro[[ute]] +cisco_asa_show_xlate.textfsm, .*, cisco_asa, sh[[ow]] x[[late]] +cisco_asa_show_name.textfsm, .*, cisco_asa, sh[[ow]] nam[[e]] +cisco_asa_show_nat.textfsm, .*, cisco_asa, sh[[ow]] nat +cisco_asa_dir.textfsm, .*, cisco_asa, dir -cisco_ios_show_switch_detail.template:cisco_ios_show_switch_detail_stack_ports.template, .*, cisco_ios, sh[[ow]] sw[[itch]] d[[etail]] -cisco_ios_show_running-config_partition_access-list.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] -cisco_ios_show_running-config_partition_route-map.template, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] -cisco_ios_show_capability_feature_routing.template, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] -cisco_ios_show_authentication_sessions.template, .*, cisco_ios, show authen[[tication]] ses[[sions]] -cisco_ios_show_environment_temperature.template, .*, cisco_ios, sh[[ow]] envi[[ronment]] t[[emperature]] -cisco_ios_show_ip_ospf_interface_brief.template, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] -cisco_ios_show_processes_memory_sorted.template, .*, cisco_ios, sh[[ow]] pro[[cesses]] mem[[ory]] so[[rted]] -cisco_ios_show_interfaces_description.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] -cisco_ios_show_ip_device_tracking_all.template, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] -cisco_ios_show_environment_power_all.template, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] -cisco_ios_show_interface_transceiver.template, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] -cisco_ios_show_interfaces_switchport.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] sw[[itchport]] -cisco_ios_show_lldp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] det[[ail]] -cisco_ios_show_cdp_neighbors_detail.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] -cisco_ios_show_ipv6_interface_brief.template, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] -cisco_ios_show_ip_eigrp_neighbors.template, .*, cisco_ios, sh[[ow]] ip ei[[grp]] nei[[ghbors]] -cisco_ios_show_ip_flow_toptalkers.template, .*, cisco_ios, sh[[ow]] ip fl[[ow]] top[[-talkers]] -cisco_ios_show_ip_interface_brief.template, .*, cisco_ios, sh[[ow]] ip int[[erface]] br[[ief]] -cisco_ios_show_interfaces_status.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] -cisco_ios_show_ip_eigrp_topology.template, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] -cisco_ios_show_ip_source_binding.template, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] -cisco_ios_show_mac-address-table.template, .*, cisco_ios, sh[[ow]] m[[ac-address-table]] -cisco_ios_show_ip_ospf_database.template, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] -cisco_ios_show_ip_ospf_neighbor.template, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] -cisco_ios_show_ip_access-lists.template, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]] -cisco_ios_show_power_available.template, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] -cisco_ios_show_ip_bgp_summary.template, .*, cisco_ios, sh[[ow]] ip bgp sum[[mary]] -cisco_ios_show_ip_prefix-list.template, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] -cisco_ios_show_ipv6_neighbors.template, .*, cisco_ios, sh[[ow]] ipv[[6]] ne[[ighbors]] -cisco_ios_show_isis_neighbors.template, .*, cisco_ios, sh[[ow]] isis ne[[ighbors]] -cisco_ios_show_lldp_neighbors.template, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] -cisco_ios_show_power_supplies.template, .*, cisco_ios, sh[[ow]] pow[[er]] su[[pplies]] -cisco_ios_show_snmp_community.template, .*, cisco_ios, sh[[ow]] sn[[mp]] com[[munity]] -cisco_ios_show_cdp_neighbors.template, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] -cisco_ios_show_controller_t1.template, .*, cisco_ios, sh[[ow]] cont[[rollers]] t1 -cisco_ios_show_hosts_summary.template, .*, cisco_ios, sh[[ow]] ho[[sts]] summary -cisco_ios_show_platform_diag.template, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ag]] -cisco_ios_show_processes_cpu.template, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] -cisco_ios_show_spanning-tree.template, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] -cisco_ios_show_standby_brief.template, .*, cisco_ios, sh[[ow]] standby(?:\s+\S+)? br[[ief]] -cisco_ios_show_ip_interface.template, .*, cisco_ios, sh[[ow]] ip int[[erface]] -cisco_ios_show_power_status.template, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] -cisco_ios_show_access-list.template, .*, cisco_ios, sh[[ow]] acc[[ess-list]] -cisco_ios_show_isdn_status.template, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] -cisco_ios_show_interfaces.template, .*, cisco_ios, sh[[ow]] int[[erfaces]] -cisco_ios_show_redundancy.template, .*, cisco_ios, sh[[ow]] redu[[ndancy]] -cisco_ios_show_vtp_status.template, .*, cisco_ios, sh[[ow]] vtp stat[[us]] -cisco_ios_show_dot1x_all.template, .*, cisco_ios, sh[[ow]] dot1x a[[ll]] -cisco_ios_show_inventory.template, .*, cisco_ios, sh[[ow]] inven[[tory]] -cisco_ios_show_ip_mroute.template, .*, cisco_ios, sh[[ow]] ip mr[[oute]] -cisco_ios_show_route-map.template, .*, cisco_ios, sh[[ow]] route-m[[ap]] -cisco_ios_show_snmp_user.template, .*, cisco_ios, sh[[ow]] sn[[mp]] u[[ser]] -cisco_ios_show_ip_route.template, .*, cisco_ios, sh[[ow]] ip r[[oute]] -cisco_ios_show_aliases.template, .*, cisco_ios, sh[[ow]] alia[[ses]] -cisco_ios_show_archive.template, .*, cisco_ios, sh[[ow]] arc[[hive]] -cisco_ios_show_license.template, .*, cisco_ios, sh[[ow]] lic[[ense]] -cisco_ios_show_standby.template, .*, cisco_ios, sh[[ow]] sta[[ndby]] -cisco_ios_show_version.template, .*, cisco_ios, sh[[ow]] ver[[sion]] -cisco_ios_show_ip_arp.template, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] -cisco_ios_show_ip_bgp.template, .*, cisco_ios, sh[[ow]] i[[p]] bgp -cisco_ios_show_tacacs.template, .*, cisco_ios, sh[[ow]] tacacs -cisco_ios_show_clock.template, .*, cisco_ios, sh[[ow]] clo[[ck]] -cisco_ios_show_dmvpn.template, .*, cisco_ios, sh[[ow]] dm[[vpn]] -cisco_ios_show_boot.template, .*, cisco_ios, sh[[ow]] boot -cisco_ios_show_vlan.template, .*, cisco_ios, sh[[ow]] vlan -cisco_ios_show_vrf.template, .*, cisco_ios, sh[[ow]] vrf -cisco_ios_dir.template, .*, cisco_ios, dir +cisco_ios_show_switch_detail.textfsm:cisco_ios_show_switch_detail_stack_ports.textfsm, .*, cisco_ios, sh[[ow]] sw[[itch]] d[[etail]] +cisco_ios_show_running-config_partition_access-list.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] +cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] +cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] +cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]] +cisco_ios_show_environment_temperature.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] t[[emperature]] +cisco_ios_show_ip_ospf_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] +cisco_ios_show_processes_memory_sorted.textfsm, .*, cisco_ios, sh[[ow]] pro[[cesses]] mem[[ory]] so[[rted]] +cisco_ios_show_interfaces_description.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] +cisco_ios_show_ip_device_tracking_all.textfsm, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] +cisco_ios_show_environment_power_all.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] +cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] +cisco_ios_show_interfaces_switchport.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] sw[[itchport]] +cisco_ios_show_lldp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] det[[ail]] +cisco_ios_show_cdp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_ios_show_ipv6_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] +cisco_ios_show_ip_eigrp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip ei[[grp]] nei[[ghbors]] +cisco_ios_show_ip_flow_toptalkers.textfsm, .*, cisco_ios, sh[[ow]] ip fl[[ow]] top[[-talkers]] +cisco_ios_show_ip_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip int[[erface]] br[[ief]] +cisco_ios_show_interfaces_status.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] +cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] +cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] +cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] m[[ac-address-table]] +cisco_ios_show_ip_ospf_database.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] +cisco_ios_show_ip_ospf_neighbor.textfsm, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] +cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]] +cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] +cisco_ios_show_ip_bgp_summary.textfsm, .*, cisco_ios, sh[[ow]] ip bgp sum[[mary]] +cisco_ios_show_ip_prefix-list.textfsm, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] +cisco_ios_show_ipv6_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ipv[[6]] ne[[ighbors]] +cisco_ios_show_isis_neighbors.textfsm, .*, cisco_ios, sh[[ow]] isis ne[[ighbors]] +cisco_ios_show_lldp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] +cisco_ios_show_power_supplies.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] su[[pplies]] +cisco_ios_show_snmp_community.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] com[[munity]] +cisco_ios_show_cdp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] +cisco_ios_show_controller_t1.textfsm, .*, cisco_ios, sh[[ow]] cont[[rollers]] t1 +cisco_ios_show_hosts_summary.textfsm, .*, cisco_ios, sh[[ow]] ho[[sts]] summary +cisco_ios_show_platform_diag.textfsm, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ag]] +cisco_ios_show_processes_cpu.textfsm, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] +cisco_ios_show_spanning-tree.textfsm, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] +cisco_ios_show_standby_brief.textfsm, .*, cisco_ios, sh[[ow]] standby(?:\s+\S+)? br[[ief]] +cisco_ios_show_ip_interface.textfsm, .*, cisco_ios, sh[[ow]] ip int[[erface]] +cisco_ios_show_power_status.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] +cisco_ios_show_access-list.textfsm, .*, cisco_ios, sh[[ow]] acc[[ess-list]] +cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] +cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] +cisco_ios_show_redundancy.textfsm, .*, cisco_ios, sh[[ow]] redu[[ndancy]] +cisco_ios_show_vtp_status.textfsm, .*, cisco_ios, sh[[ow]] vtp stat[[us]] +cisco_ios_show_dot1x_all.textfsm, .*, cisco_ios, sh[[ow]] dot1x a[[ll]] +cisco_ios_show_inventory.textfsm, .*, cisco_ios, sh[[ow]] inven[[tory]] +cisco_ios_show_ip_mroute.textfsm, .*, cisco_ios, sh[[ow]] ip mr[[oute]] +cisco_ios_show_route-map.textfsm, .*, cisco_ios, sh[[ow]] route-m[[ap]] +cisco_ios_show_snmp_user.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] u[[ser]] +cisco_ios_show_ip_route.textfsm, .*, cisco_ios, sh[[ow]] ip r[[oute]] +cisco_ios_show_aliases.textfsm, .*, cisco_ios, sh[[ow]] alia[[ses]] +cisco_ios_show_archive.textfsm, .*, cisco_ios, sh[[ow]] arc[[hive]] +cisco_ios_show_license.textfsm, .*, cisco_ios, sh[[ow]] lic[[ense]] +cisco_ios_show_standby.textfsm, .*, cisco_ios, sh[[ow]] sta[[ndby]] +cisco_ios_show_version.textfsm, .*, cisco_ios, sh[[ow]] ver[[sion]] +cisco_ios_show_ip_arp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] +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_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 +cisco_ios_dir.textfsm, .*, cisco_ios, dir -cisco_nxos_show_l2rib_internal_permanently-frozen-list.template, .*, cisco_nxos, sh[[ow]] l2ri[[b]] i[[nternal]] pe[[rmanently-frozen-list]] -cisco_nxos_show_configuration_session_summary.template, .*, cisco_nxos, sh[[ow]] configu[[ration]] s[[ession]] su[[mmary]] -cisco_nxos_show_interface_transceiver_details.template, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] -cisco_nxos_show_environment_temperature.template, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] -cisco_nxos_show_forwarding_ipv4_route.template, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] ipv4 ro[[ute]] -cisco_nxos_show_interfaces_switchport.template, .*, cisco_nxos, sh[[ow]] int[[erfaces]] sw[[itchport]] -cisco_nxos_show_ip_dhcp_relay_address.template, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] -cisco_nxos_show_lldp_neighbors_detail.template, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] -cisco_nxos_show_cdp_neighbors_detail.template, .*, cisco_nxos, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] -cisco_nxos_show_ipv6_interface_brief.template, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] -cisco_nxos_show_port-channel_summary.template, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] -cisco_nxos_show_cts_interface_brief.template, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] -cisco_nxos_show_ip_interface_brief.template, .*, cisco_nxos, sh[[ow]] ip int[[erface]] b[[rief]] -cisco_nxos_show_cts_interface_all.template, .*, cisco_nxos, sh[[ow]] ct[[s]] inter[[face]] al[[l]] -cisco_nxos_show_ip_community-list.template, .*, cisco_nxos, sh[[ow]] ip comm[[unity-list]] -cisco_nxos_show_mac_address-table.template, .*, cisco_nxos, sh[[ow]] m[[ac]] addr[[ess-table]] -cisco_nxos_show_interface_status.template, .*, cisco_nxos, sh[[ow]] int[[erface]] st[[atus]] -cisco_nxos_show_ip_bgp_neighbors.template, .*, cisco_nxos, sh[[ow]] ip bgp nei[[ghbors]] -cisco_nxos_show_ip_ospf_database.template, .*, cisco_nxos, sh[[ow]] ip o[[spf]] d[[atabase]] -cisco_nxos_show_ip_ospf_neighbor.template, .*, cisco_nxos, sh[[ow]] ip ospf nei[[ghbor]] -cisco_nxos_show_interface_brief.template, .*, cisco_nxos, sh[[ow]] int[[erface]] br[[ief]] -cisco_nxos_show_flogi_database.template, .*, cisco_nxos, sh[[ow]] fl[[ogi]] d[[atabase]] -cisco_nxos_show_ip_bgp_summary.template, .*, cisco_nxos, sh[[ow]] ip b[[gp]] s[[ummary]] -cisco_nxos_show_lldp_neighbors.template, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] -cisco_nxos_show_cdp_neighbors.template, .*, cisco_nxos, sh[[ow]] cd[[p]] neig[[hbors]] -cisco_nxos_show_ip_arp_detail.template, .*, cisco_nxos, sh[[ow]] i[[p]] a[[rp]] det[[ail]] -cisco_nxos_show_processes_cpu.template, .*, cisco_nxos, sh[[ow]] proc[[esses]] c[[pu]] -cisco_nxos_show_access-lists.template, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] -cisco_nxos_show_environments.template, .*, cisco_nxos, sh[[ow]] envi[[ronments]] -cisco_nxos_show_interface.template, .*, cisco_nxos, sh[[ow]] inte[[rface]] -cisco_nxos_show_inventory.template, .*, cisco_nxos, sh[[ow]] inv[[entory]] -cisco_nxos_show_route-map.template, .*, cisco_nxos, sh[[ow]] route-m[[ap]] -cisco_nxos_show_hostname.template, .*, cisco_nxos, sh[[ow]] hostn[[ame]] -cisco_nxos_show_ip_route.template, .*, cisco_nxos, sh[[ow]] ip route -cisco_nxos_show_feature.template, .*, cisco_nxos, sh[[ow]] feat[[ure]] -cisco_nxos_show_version.template, .*, cisco_nxos, sh[[ow]] ver[[sion]] -cisco_nxos_show_fex_id.template, .*, cisco_nxos, sh[[ow]] fex (\S+) -cisco_nxos_show_ip_arp.template, .*, cisco_nxos, sh[[ow]] i[[p]] a[[rp]] -cisco_nxos_show_ip_bgp.template, .*, cisco_nxos, sh[[ow]] i[[p]] bgp -cisco_nxos_show_module.template, .*, cisco_nxos, sh[[ow]] mod[[ule]] -cisco_nxos_show_clock.template, .*, cisco_nxos, sh[[ow]] clo[[ck]] -cisco_nxos_show_vlan.template, .*, cisco_nxos, sh[[ow]] vl[[an]] -cisco_nxos_show_fex.template, .*, cisco_nxos, sh[[ow]] fex -cisco_nxos_show_vpc.template, .*, cisco_nxos, sh[[ow]] vpc -cisco_nxos_show_vrf.template, .*, cisco_nxos, sh[[ow]] vrf +cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm, .*, cisco_nxos, sh[[ow]] l2ri[[b]] i[[nternal]] pe[[rmanently-frozen-list]] +cisco_nxos_show_configuration_session_summary.textfsm, .*, cisco_nxos, sh[[ow]] configu[[ration]] s[[ession]] su[[mmary]] +cisco_nxos_show_interface_transceiver_details.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] +cisco_nxos_show_environment_temperature.textfsm, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] +cisco_nxos_show_forwarding_ipv4_route.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] ipv4 ro[[ute]] +cisco_nxos_show_interfaces_switchport.textfsm, .*, cisco_nxos, sh[[ow]] int[[erfaces]] sw[[itchport]] +cisco_nxos_show_ip_dhcp_relay_address.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] +cisco_nxos_show_lldp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] +cisco_nxos_show_cdp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_nxos_show_ipv6_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] +cisco_nxos_show_port-channel_summary.textfsm, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] +cisco_nxos_show_cts_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] +cisco_nxos_show_ip_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] b[[rief]] +cisco_nxos_show_cts_interface_all.textfsm, .*, cisco_nxos, sh[[ow]] ct[[s]] inter[[face]] al[[l]] +cisco_nxos_show_ip_community-list.textfsm, .*, cisco_nxos, sh[[ow]] ip comm[[unity-list]] +cisco_nxos_show_mac_address-table.textfsm, .*, cisco_nxos, sh[[ow]] m[[ac]] addr[[ess-table]] +cisco_nxos_show_interface_status.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] st[[atus]] +cisco_nxos_show_ip_bgp_neighbors.textfsm, .*, cisco_nxos, sh[[ow]] ip bgp nei[[ghbors]] +cisco_nxos_show_ip_ospf_database.textfsm, .*, cisco_nxos, sh[[ow]] ip o[[spf]] d[[atabase]] +cisco_nxos_show_ip_ospf_neighbor.textfsm, .*, cisco_nxos, sh[[ow]] ip ospf nei[[ghbor]] +cisco_nxos_show_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] br[[ief]] +cisco_nxos_show_flogi_database.textfsm, .*, cisco_nxos, sh[[ow]] fl[[ogi]] d[[atabase]] +cisco_nxos_show_ip_bgp_summary.textfsm, .*, cisco_nxos, sh[[ow]] ip b[[gp]] s[[ummary]] +cisco_nxos_show_lldp_neighbors.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] +cisco_nxos_show_cdp_neighbors.textfsm, .*, cisco_nxos, sh[[ow]] cd[[p]] neig[[hbors]] +cisco_nxos_show_ip_arp_detail.textfsm, .*, cisco_nxos, sh[[ow]] i[[p]] a[[rp]] det[[ail]] +cisco_nxos_show_processes_cpu.textfsm, .*, cisco_nxos, sh[[ow]] proc[[esses]] c[[pu]] +cisco_nxos_show_access-lists.textfsm, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] +cisco_nxos_show_environments.textfsm, .*, cisco_nxos, sh[[ow]] envi[[ronments]] +cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] +cisco_nxos_show_inventory.textfsm, .*, cisco_nxos, sh[[ow]] inv[[entory]] +cisco_nxos_show_route-map.textfsm, .*, cisco_nxos, sh[[ow]] route-m[[ap]] +cisco_nxos_show_hostname.textfsm, .*, cisco_nxos, sh[[ow]] hostn[[ame]] +cisco_nxos_show_ip_route.textfsm, .*, cisco_nxos, sh[[ow]] ip route +cisco_nxos_show_feature.textfsm, .*, cisco_nxos, sh[[ow]] feat[[ure]] +cisco_nxos_show_version.textfsm, .*, cisco_nxos, sh[[ow]] ver[[sion]] +cisco_nxos_show_fex_id.textfsm, .*, cisco_nxos, sh[[ow]] fex (\S+) +cisco_nxos_show_ip_arp.textfsm, .*, cisco_nxos, sh[[ow]] i[[p]] a[[rp]] +cisco_nxos_show_ip_bgp.textfsm, .*, cisco_nxos, sh[[ow]] i[[p]] bgp +cisco_nxos_show_module.textfsm, .*, cisco_nxos, sh[[ow]] mod[[ule]] +cisco_nxos_show_clock.textfsm, .*, cisco_nxos, sh[[ow]] clo[[ck]] +cisco_nxos_show_vlan.textfsm, .*, cisco_nxos, sh[[ow]] vl[[an]] +cisco_nxos_show_fex.textfsm, .*, cisco_nxos, sh[[ow]] fex +cisco_nxos_show_vpc.textfsm, .*, cisco_nxos, sh[[ow]] vpc +cisco_nxos_show_vrf.textfsm, .*, cisco_nxos, sh[[ow]] vrf -cisco_wlc_ssh_show_advanced_802.11a_channel.template, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]] -cisco_wlc_ssh_show_802.11a_cleanair_config.template, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]] -cisco_wlc_ssh_show_cdp_neighbors_detail.template, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] -cisco_wlc_ssh_show_rf-profile_summary.template, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] -cisco_wlc_ssh_show_ap_config_general.template, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] -cisco_wlc_ssh_show_interface_summary.template, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] -cisco_wlc_ssh_show_client_detail.template, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] -cisco_wlc_ssh_show_exclusionlist.template, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] -cisco_wlc_ssh_show_ap_summary.template, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] -cisco_wlc_ssh_show_inventory.template, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] -cisco_wlc_ssh_show_802.11a.template, .*, cisco_wlc_ssh, show 802\.11[ab] -cisco_wlc_ssh_show_sysinfo.template, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] +cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]] +cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]] +cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_wlc_ssh_show_rf-profile_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] +cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] +cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] +cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] +cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] +cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] +cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] +cisco_wlc_ssh_show_802.11a.textfsm, .*, cisco_wlc_ssh, show 802\.11[ab] +cisco_wlc_ssh_show_sysinfo.textfsm, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] -cisco_xr_show_controllers_fabric_fia_errors_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] -cisco_xr_show_controllers_fabric_fia_drops_ingress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] in[[gress]] loc[[ation]] -cisco_xr_show_controllers_fabric_fia_errors_egress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] eg[[ress]] loc[[ation]] -cisco_xr_show_controllers_fabric_fia_drops_egress_location.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] eg[[ress]] loc[[ation]] -cisco_xr_show_lpts_pifib_hardware_police_location.template, .*, cisco_xr, sh[[ow]] lpts pifib hardware police loc[[ation]] -cisco_xr_show_controllers_HundredGigabitEthernet.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] -cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.template, .*, cisco_xr, sh[[ow]] bg[[p]] v[[rf]] all ip[[v4]] uni[[cast]] summ[[ary]] -cisco_xr_admin_show_controller_fabric_health.template, .*, cisco_xr, adm[[in]] sh[[ow]] controller fab[[ric]] hea[[lth]] -cisco_xr_show_controller_fabric_plane_all.template, .*, cisco_xr, sh[[ow]] controller fab[[ric]] pla[[ne]] all -cisco_xr_show_configuration_commit_list.template, .*, cisco_xr, sh[[ow]] conf[[iguration]] c[[ommit]] l[[ist]] -cisco_xr_show_asic-errors_all_location.template, .*, cisco_xr, sh[[ow]] asic-er[[rors]] all loc[[ation]] -cisco_xr_show_dhcp_ipv4_proxy_binding.template, .*, cisco_xr, sh[[ow]] dh[[cp]] ipv4 p[[roxy]] b[[inding]] -cisco_xr_show_mpls_ldp_neighbor_brief.template, .*, cisco_xr, sh[[ow]] mp[[ls]] ld[[p]] neigh[[bor]] br[[ief]] -cisco_xr_admin_show_environment_fan.template, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] f[[an]] -cisco_xr_show_cdp_neighbors_detail.template, .*, cisco_xr, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] -cisco_xr_show_controllers_all_phy.template, .*, cisco_xr, sh[[ow]] contr[[ollers]] (\S+) ph[[y]] -cisco_xr_show_cef_drops_location.template, .*, cisco_xr, sh[[ow]] cef drops loc[[ation]] -cisco_xr_show_ip_interface_brief.template, .*, cisco_xr, sh[[ow]] ip int[[erface]] br[[ief]] -cisco_xr_show_redundancy_summary.template, .*, cisco_xr, sh[[ow]] redun[[dancy]] summ[[ary]] -cisco_xr_admin_show_inventory.template, .*, cisco_xr, adm[[in]] sh[[ow]] inven[[tory]] -cisco_xr_show_interface_brief.template, .*, cisco_xr, sh[[ow]] int[[erface]] br[[ief]] -cisco_xr_admin_show_platform.template, .*, cisco_xr, adm[[in]] sh[[ow]] pla[[tform]] -cisco_xr_show_ip_bgp_summary.template, .*, cisco_xr, sh[[ow]] ip b[[gp]] s[[ummary]] -cisco_xr_show_ipv6_neighbors.template, .*, cisco_xr, sh[[ow]] ipv6 ne[[ighbors]] -cisco_xr_show_isis_neighbors.template, .*, cisco_xr, sh[[ow]] isis ne[[ighbors]] -cisco_xr_show_lldp_neighbors.template, .*, cisco_xr, sh[[ow]] lld[[p]] neig[[hbors]] -cisco_xr_show_rsvp_neighbors.template, .*, cisco_xr, sh[[ow]] rs[[vp]] neigh[[bors]] -cisco_xr_show_bgp_neighbors.template, .*, cisco_xr, sh[[ow]] bg[[p]] nei[[ghbors]] -cisco_xr_show_ospf_neighbor.template, .*, cisco_xr, sh[[ow]] ospf nei[[ghbor]] -cisco_xr_show_processes_cpu.template, .*, cisco_xr, sh[[ow]] proc[[esses]] c[[pu]] -cisco_xr_show_bfd_sessions.template, .*, cisco_xr, sh[[ow]] bf[[d]] sess[[ions]] -cisco_xr_show_drops_np_all.template, .*, cisco_xr, sh[[ow]] drops np all -cisco_xr_show_pim_neighbor.template, .*, cisco_xr, sh[[ow]] pi[[m]] neigh[[bor]] -cisco_xr_show_interfaces.template, .*, cisco_xr, sh[[ow]] inte[[rfaces]] -cisco_xr_admin_show_vm.template, .*, cisco_xr, adm[[in]] sh[[ow]] vm -cisco_xr_show_ip_route.template, .*, cisco_xr, sh[[ow]] (?:ip )?ro[[ute]] -cisco_xr_show_version.template, .*, cisco_xr, sh[[ow]] ver[[sion]] -cisco_xr_show_hsrp.template, .*, cisco_xr, sh[[ow]] hs[[rp]] -cisco_xr_show_bgp.template, .*, cisco_xr, sh[[ow]] bg[[p]] +cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] +cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] in[[gress]] loc[[ation]] +cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] eg[[ress]] loc[[ation]] +cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] eg[[ress]] loc[[ation]] +cisco_xr_show_lpts_pifib_hardware_police_location.textfsm, .*, cisco_xr, sh[[ow]] lpts pifib hardware police loc[[ation]] +cisco_xr_show_controllers_HundredGigabitEthernet.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] +cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] v[[rf]] all ip[[v4]] uni[[cast]] summ[[ary]] +cisco_xr_admin_show_controller_fabric_health.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] controller fab[[ric]] hea[[lth]] +cisco_xr_show_controller_fabric_plane_all.textfsm, .*, cisco_xr, sh[[ow]] controller fab[[ric]] pla[[ne]] all +cisco_xr_show_configuration_commit_list.textfsm, .*, cisco_xr, sh[[ow]] conf[[iguration]] c[[ommit]] l[[ist]] +cisco_xr_show_asic-errors_all_location.textfsm, .*, cisco_xr, sh[[ow]] asic-er[[rors]] all loc[[ation]] +cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm, .*, cisco_xr, sh[[ow]] dh[[cp]] ipv4 p[[roxy]] b[[inding]] +cisco_xr_show_mpls_ldp_neighbor_brief.textfsm, .*, cisco_xr, sh[[ow]] mp[[ls]] ld[[p]] neigh[[bor]] br[[ief]] +cisco_xr_admin_show_environment_fan.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] f[[an]] +cisco_xr_show_cdp_neighbors_detail.textfsm, .*, cisco_xr, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_xr_show_controllers_all_phy.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] (\S+) ph[[y]] +cisco_xr_show_cef_drops_location.textfsm, .*, cisco_xr, sh[[ow]] cef drops loc[[ation]] +cisco_xr_show_ip_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] ip int[[erface]] br[[ief]] +cisco_xr_show_redundancy_summary.textfsm, .*, cisco_xr, sh[[ow]] redun[[dancy]] summ[[ary]] +cisco_xr_admin_show_inventory.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] inven[[tory]] +cisco_xr_show_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] int[[erface]] br[[ief]] +cisco_xr_admin_show_platform.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] pla[[tform]] +cisco_xr_show_ip_bgp_summary.textfsm, .*, cisco_xr, sh[[ow]] ip b[[gp]] s[[ummary]] +cisco_xr_show_ipv6_neighbors.textfsm, .*, cisco_xr, sh[[ow]] ipv6 ne[[ighbors]] +cisco_xr_show_isis_neighbors.textfsm, .*, cisco_xr, sh[[ow]] isis ne[[ighbors]] +cisco_xr_show_lldp_neighbors.textfsm, .*, cisco_xr, sh[[ow]] lld[[p]] neig[[hbors]] +cisco_xr_show_rsvp_neighbors.textfsm, .*, cisco_xr, sh[[ow]] rs[[vp]] neigh[[bors]] +cisco_xr_show_bgp_neighbors.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] nei[[ghbors]] +cisco_xr_show_ospf_neighbor.textfsm, .*, cisco_xr, sh[[ow]] ospf nei[[ghbor]] +cisco_xr_show_processes_cpu.textfsm, .*, cisco_xr, sh[[ow]] proc[[esses]] c[[pu]] +cisco_xr_show_bfd_sessions.textfsm, .*, cisco_xr, sh[[ow]] bf[[d]] sess[[ions]] +cisco_xr_show_drops_np_all.textfsm, .*, cisco_xr, sh[[ow]] drops np all +cisco_xr_show_pim_neighbor.textfsm, .*, cisco_xr, sh[[ow]] pi[[m]] neigh[[bor]] +cisco_xr_show_interfaces.textfsm, .*, cisco_xr, sh[[ow]] inte[[rfaces]] +cisco_xr_admin_show_vm.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] vm +cisco_xr_show_ip_route.textfsm, .*, cisco_xr, sh[[ow]] (?:ip )?ro[[ute]] +cisco_xr_show_version.textfsm, .*, cisco_xr, sh[[ow]] ver[[sion]] +cisco_xr_show_hsrp.textfsm, .*, cisco_xr, sh[[ow]] hs[[rp]] +cisco_xr_show_bgp.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] -dell_force10_show_vlan_brief.template, .*, dell_force10, sh[[ow]] vl[[an]] br[[ief]] -dell_force10_show_version.template, .*, dell_force10, sh[[ow]] ver[[sion]] -dell_force10_show_vlan.template, .*, dell_force10, sh[[ow]] vl[[an]] -dell_force10_show_arp.template, .*, dell_force10, sh[[ow]] ar[[p]] +dell_force10_show_vlan_brief.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] br[[ief]] +dell_force10_show_version.textfsm, .*, dell_force10, sh[[ow]] ver[[sion]] +dell_force10_show_vlan.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] +dell_force10_show_arp.textfsm, .*, dell_force10, sh[[ow]] ar[[p]] -fortinet_fortios_get_router_info_bgp_summary.template, .*, fortinet_fortios, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] +fortinet_fortios_get_router_info_bgp_summary.textfsm, .*, fortinet_fortios, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] -hp_comware_display_counters_bound_interface.template, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] -hp_comware_display_mac-address.template, .*, hp_comware, di[[splay]] mac-ad[[dress]] -hp_comware_display_vlan_brief.template, .*, hp_comware, di[[splay]] v[[lan]] b[[rief]] -hp_comware_display_clock.template, .*, hp_comware, di[[splay]] clo[[ck]] -hp_comware_display_arp.template, .*, hp_comware, di[[splay]] a[[rp]] +hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] +hp_comware_display_mac-address.textfsm, .*, hp_comware, di[[splay]] mac-ad[[dress]] +hp_comware_display_vlan_brief.textfsm, .*, hp_comware, di[[splay]] v[[lan]] b[[rief]] +hp_comware_display_clock.textfsm, .*, hp_comware, di[[splay]] clo[[ck]] +hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] -hp_procurve_show_tech_buffers.template, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] -hp_procurve_show_mac-address.template, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] -hp_procurve_show_system.template, .*, hp_procurve, sh[[ow]] syst[[em]] -hp_procurve_show_vlans.template, .*, hp_procurve, sh[[ow]] vl[[ans]] -hp_procurve_show_arp.template, .*, hp_procurve, sh[[ow]] ar[[p]] +hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] +hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] +hp_procurve_show_system.textfsm, .*, hp_procurve, sh[[ow]] syst[[em]] +hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] +hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] -huawei_vrp_display_interface_brief.template, .*, huawei_vrp, disp[[lay]] inter[[face]] br[[ief]] -huawei_vrp_display_temperature.template, .*, huawei_vrp, disp[[lay]] tem[[perature]] +huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, disp[[lay]] inter[[face]] br[[ief]] +huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, disp[[lay]] tem[[perature]] -juniper_junos_show_chassis_cluster_interfaces.template, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] -juniper_junos_show_chassis_cluster_status.template, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] -juniper_junos_show_chassis_firmware.template, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] -juniper_junos_show_arp_no-resolve.template, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] -juniper_junos_show_isis_adjacency.template, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] -juniper_junos_show_ospf_neighbor.template, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] -juniper_junos_show_interfaces.template, .*, juniper_junos, sh[[ow]] inte[[rfaces]] -juniper_junos_show_version.template, .*, juniper_junos, sh[[ow]] ver[[sion]] +juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] +juniper_junos_show_chassis_cluster_status.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] +juniper_junos_show_chassis_firmware.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] +juniper_junos_show_arp_no-resolve.textfsm, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] +juniper_junos_show_isis_adjacency.textfsm, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] +juniper_junos_show_ospf_neighbor.textfsm, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] +juniper_junos_show_interfaces.textfsm, .*, juniper_junos, sh[[ow]] inte[[rfaces]] +juniper_junos_show_version.textfsm, .*, juniper_junos, sh[[ow]] ver[[sion]] -juniper_screenos_get_route.template, .*, juniper_screenos, get route +juniper_screenos_get_route.textfsm, .*, juniper_screenos, get route -paloalto_panos_show_running_security-policy.template, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] -paloalto_panos_show_high-availability_all.template, .*, paloalto_panos, sh[[ow]] high[[-availability]] all -paloalto_panos_show_interface_hardware.template, .*, paloalto_panos, sh[[ow]] int[[erface]] hard[[ware]] -paloalto_panos_show_running_nat-policy.template, .*, paloalto_panos, sh[[ow]] runn[[ing]] nat[[-policy]] -paloalto_panos_show_interface_logical.template, .*, paloalto_panos, sh[[ow]] int[[erface]] logi[[cal]] -paloalto_panos_show_counter_global.template, .*, paloalto_panos, sh[[ow]] coun[[ter]] glo[[bal]] -paloalto_panos_show_system_info.template, .*, paloalto_panos, sh[[ow]] sys[[tem]] in[[fo]] -paloalto_panos_show_jobs_all.template, .*, paloalto_panos, sh[[ow]] jo[[bs]] all -paloalto_panos_show_arp_all.template, .*, paloalto_panos, sh[[ow]] ar[[p]] all -paloalto_panos_show_mac_all.template, .*, paloalto_panos, sh[[ow]] mac all +paloalto_panos_show_running_security-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] +paloalto_panos_show_high-availability_all.textfsm, .*, paloalto_panos, sh[[ow]] high[[-availability]] all +paloalto_panos_show_interface_hardware.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] hard[[ware]] +paloalto_panos_show_running_nat-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] nat[[-policy]] +paloalto_panos_show_interface_logical.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] logi[[cal]] +paloalto_panos_show_counter_global.textfsm, .*, paloalto_panos, sh[[ow]] coun[[ter]] glo[[bal]] +paloalto_panos_show_system_info.textfsm, .*, paloalto_panos, sh[[ow]] sys[[tem]] in[[fo]] +paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all +paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all +paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all -ruckus_fastiron_show_arp.template, .*, ruckus_fastiron, sh[[ow]] ar[[p]] +ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] -ubiquiti_edgeswitch_show_vlan.template, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] -ubiquiti_edgeswitch_show_arp.template, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] +ubiquiti_edgeswitch_show_vlan.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] +ubiquiti_edgeswitch_show_arp.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] -vmware_nsxv_show_ip_bgp_neighbors.template, .*, vmware_nsxv, sh[[ow]] ip b[[gp]] n[[eighbors]] -vmware_nsxv_show_ip_route.template, .*, vmware_nsxv, sh[[ow]] ip r[[oute]] +vmware_nsxv_show_ip_bgp_neighbors.textfsm, .*, vmware_nsxv, sh[[ow]] ip b[[gp]] n[[eighbors]] +vmware_nsxv_show_ip_route.textfsm, .*, vmware_nsxv, sh[[ow]] ip r[[oute]] -vyatta_vyos_show_interfaces.template, .*, .*vyos.*, sh[[ow]] int[[erfaces]] -vyatta_vyos_show_arp.template, .*, .*vyos.*, sh[[ow]] a[[rp]] +vyatta_vyos_show_interfaces.textfsm, .*, .*vyos.*, sh[[ow]] int[[erfaces]] +vyatta_vyos_show_arp.textfsm, .*, .*vyos.*, sh[[ow]] a[[rp]] -watchguard_firebox_show_arp.template, .*, watchguard_firebox, sh[[ow]] arp +watchguard_firebox_show_arp.textfsm, .*, watchguard_firebox, sh[[ow]] arp diff --git a/templates/juniper_junos_show_arp_no-resolve.template b/templates/juniper_junos_show_arp_no-resolve.textfsm similarity index 100% rename from templates/juniper_junos_show_arp_no-resolve.template rename to templates/juniper_junos_show_arp_no-resolve.textfsm diff --git a/templates/juniper_junos_show_chassis_cluster_interfaces.template b/templates/juniper_junos_show_chassis_cluster_interfaces.textfsm similarity index 100% rename from templates/juniper_junos_show_chassis_cluster_interfaces.template rename to templates/juniper_junos_show_chassis_cluster_interfaces.textfsm diff --git a/templates/juniper_junos_show_chassis_cluster_status.template b/templates/juniper_junos_show_chassis_cluster_status.textfsm similarity index 100% rename from templates/juniper_junos_show_chassis_cluster_status.template rename to templates/juniper_junos_show_chassis_cluster_status.textfsm diff --git a/templates/juniper_junos_show_chassis_firmware.template b/templates/juniper_junos_show_chassis_firmware.textfsm similarity index 100% rename from templates/juniper_junos_show_chassis_firmware.template rename to templates/juniper_junos_show_chassis_firmware.textfsm diff --git a/templates/juniper_junos_show_interfaces.template b/templates/juniper_junos_show_interfaces.textfsm similarity index 100% rename from templates/juniper_junos_show_interfaces.template rename to templates/juniper_junos_show_interfaces.textfsm diff --git a/templates/juniper_junos_show_isis_adjacency.template b/templates/juniper_junos_show_isis_adjacency.textfsm similarity index 100% rename from templates/juniper_junos_show_isis_adjacency.template rename to templates/juniper_junos_show_isis_adjacency.textfsm diff --git a/templates/juniper_junos_show_ospf_neighbor.template b/templates/juniper_junos_show_ospf_neighbor.textfsm similarity index 100% rename from templates/juniper_junos_show_ospf_neighbor.template rename to templates/juniper_junos_show_ospf_neighbor.textfsm diff --git a/templates/juniper_junos_show_version.template b/templates/juniper_junos_show_version.textfsm similarity index 100% rename from templates/juniper_junos_show_version.template rename to templates/juniper_junos_show_version.textfsm diff --git a/templates/juniper_screenos_get_route.template b/templates/juniper_screenos_get_route.textfsm similarity index 100% rename from templates/juniper_screenos_get_route.template rename to templates/juniper_screenos_get_route.textfsm diff --git a/templates/paloalto_panos_show_arp_all.template b/templates/paloalto_panos_show_arp_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_arp_all.template rename to templates/paloalto_panos_show_arp_all.textfsm diff --git a/templates/paloalto_panos_show_counter_global.template b/templates/paloalto_panos_show_counter_global.textfsm similarity index 100% rename from templates/paloalto_panos_show_counter_global.template rename to templates/paloalto_panos_show_counter_global.textfsm diff --git a/templates/paloalto_panos_show_high-availability_all.template b/templates/paloalto_panos_show_high-availability_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_high-availability_all.template rename to templates/paloalto_panos_show_high-availability_all.textfsm diff --git a/templates/paloalto_panos_show_interface_hardware.template b/templates/paloalto_panos_show_interface_hardware.textfsm similarity index 100% rename from templates/paloalto_panos_show_interface_hardware.template rename to templates/paloalto_panos_show_interface_hardware.textfsm diff --git a/templates/paloalto_panos_show_interface_logical.template b/templates/paloalto_panos_show_interface_logical.textfsm similarity index 100% rename from templates/paloalto_panos_show_interface_logical.template rename to templates/paloalto_panos_show_interface_logical.textfsm diff --git a/templates/paloalto_panos_show_jobs_all.template b/templates/paloalto_panos_show_jobs_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_jobs_all.template rename to templates/paloalto_panos_show_jobs_all.textfsm diff --git a/templates/paloalto_panos_show_mac_all.template b/templates/paloalto_panos_show_mac_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_mac_all.template rename to templates/paloalto_panos_show_mac_all.textfsm diff --git a/templates/paloalto_panos_show_running_nat-policy.template b/templates/paloalto_panos_show_running_nat-policy.textfsm similarity index 100% rename from templates/paloalto_panos_show_running_nat-policy.template rename to templates/paloalto_panos_show_running_nat-policy.textfsm diff --git a/templates/paloalto_panos_show_running_security-policy.template b/templates/paloalto_panos_show_running_security-policy.textfsm similarity index 100% rename from templates/paloalto_panos_show_running_security-policy.template rename to templates/paloalto_panos_show_running_security-policy.textfsm diff --git a/templates/paloalto_panos_show_system_info.template b/templates/paloalto_panos_show_system_info.textfsm similarity index 100% rename from templates/paloalto_panos_show_system_info.template rename to templates/paloalto_panos_show_system_info.textfsm diff --git a/templates/ruckus_fastiron_show_arp.template b/templates/ruckus_fastiron_show_arp.textfsm similarity index 100% rename from templates/ruckus_fastiron_show_arp.template rename to templates/ruckus_fastiron_show_arp.textfsm diff --git a/templates/ubiquiti_edgeswitch_show_arp.template b/templates/ubiquiti_edgeswitch_show_arp.textfsm similarity index 100% rename from templates/ubiquiti_edgeswitch_show_arp.template rename to templates/ubiquiti_edgeswitch_show_arp.textfsm diff --git a/templates/ubiquiti_edgeswitch_show_vlan.template b/templates/ubiquiti_edgeswitch_show_vlan.textfsm similarity index 100% rename from templates/ubiquiti_edgeswitch_show_vlan.template rename to templates/ubiquiti_edgeswitch_show_vlan.textfsm diff --git a/templates/vmware_nsxv_show_ip_bgp_neighbors.template b/templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm similarity index 100% rename from templates/vmware_nsxv_show_ip_bgp_neighbors.template rename to templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm diff --git a/templates/vmware_nsxv_show_ip_route.template b/templates/vmware_nsxv_show_ip_route.textfsm similarity index 100% rename from templates/vmware_nsxv_show_ip_route.template rename to templates/vmware_nsxv_show_ip_route.textfsm diff --git a/templates/vyatta_vyos_show_arp.template b/templates/vyatta_vyos_show_arp.textfsm similarity index 100% rename from templates/vyatta_vyos_show_arp.template rename to templates/vyatta_vyos_show_arp.textfsm diff --git a/templates/vyatta_vyos_show_interfaces.template b/templates/vyatta_vyos_show_interfaces.textfsm similarity index 100% rename from templates/vyatta_vyos_show_interfaces.template rename to templates/vyatta_vyos_show_interfaces.textfsm diff --git a/templates/watchguard_firebox_show_arp.template b/templates/watchguard_firebox_show_arp.textfsm similarity index 100% rename from templates/watchguard_firebox_show_arp.template rename to templates/watchguard_firebox_show_arp.textfsm diff --git a/tests/test_testcases_exists.py b/tests/test_testcases_exists.py index 04c47a9f24..1bf96e5ff7 100644 --- a/tests/test_testcases_exists.py +++ b/tests/test_testcases_exists.py @@ -18,7 +18,7 @@ def extract_index_data(): for row in index: # Trim template name to only parts making up platform and command directories template = row[0].strip() - template_short = template.split(".template")[0] + template_short = template.split(".textfsm")[0] # Get RegEx pattern to strip platform from template name platform = row[2].strip() # The platform attribute is a RegEx pattern, @@ -40,4 +40,4 @@ def test_verify_parsed_and_reference_data_exists(mock_directory): """ cases = f"{mock_directory}/*.raw" test_list = glob.glob(cases) - assert len(test_list) != 0, f"Could not find tests for {mock_directory}.template" + assert len(test_list) != 0, f"Could not find tests for {mock_directory}.textfsm" From d354a69de40dd38b1123b6282e3b42953d5917cd Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Wed, 4 Dec 2019 12:40:45 -0600 Subject: [PATCH 348/628] BugFix: Added new regex match for additional output data --- .../cisco_ios_show_mac-address-table.textfsm | 1 + .../cisco_ios_show_mac-address-table6.raw | 17 +++++++ .../cisco_ios_show_mac-address-table6.yml | 47 +++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.raw create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml diff --git a/templates/cisco_ios_show_mac-address-table.textfsm b/templates/cisco_ios_show_mac-address-table.textfsm index cd5c757075..71185cad3f 100644 --- a/templates/cisco_ios_show_mac-address-table.textfsm +++ b/templates/cisco_ios_show_mac-address-table.textfsm @@ -42,4 +42,5 @@ TYPE4 ^Displaying\s+entries ^Vlan\s+Mac Address\s+Type\s+Ports ^\s*$$ + ^Total\s+Mac\s+Addresses ^. -> Error diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.raw new file mode 100644 index 0000000000..a82a8f221b --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.raw @@ -0,0 +1,17 @@ + Mac Address Table +------------------------------------------- + +Vlan Mac Address Type Ports +---- ----------- -------- ----- + All 0180.c200.000f STATIC CPU + All 0180.c200.0010 STATIC CPU + All ffff.ffff.ffff STATIC CPU + 2 c869.cd54.1f71 DYNAMIC Gi1/0/7 + 2 d052.a826.5d8d DYNAMIC Gi1/0/3 + 2 e46f.13a9.08e5 DYNAMIC Gi1/0/36 + 2 e8eb.1190.d0ff DYNAMIC Gi1/0/37 + 2 fca1.831b.8ba9 DYNAMIC Gi1/0/41 + 2 fcec.da7a.c955 DYNAMIC Gi1/0/1 + 2 fcec.da80.0a3e DYNAMIC Gi1/0/22 + 2 fcec.da80.0af9 DYNAMIC Gi1/0/41 +Total Mac Addresses for this criterion: 11 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml new file mode 100644 index 0000000000..ad19413721 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml @@ -0,0 +1,47 @@ +--- +parsed_sample: + - destination_address: "0180.c200.000f" + destination_port: "CPU" + type: "STATIC" + vlan: "All" + - destination_address: "0180.c200.0010" + destination_port: "CPU" + type: "STATIC" + vlan: "All" + - destination_address: "ffff.ffff.ffff" + destination_port: "CPU" + type: "STATIC" + vlan: "All" + - destination_address: "c869.cd54.1f71" + destination_port: "Gi1/0/7" + type: "DYNAMIC" + vlan: "2" + - destination_address: "d052.a826.5d8d" + destination_port: "Gi1/0/3" + type: "DYNAMIC" + vlan: "2" + - destination_address: "e46f.13a9.08e5" + destination_port: "Gi1/0/36" + type: "DYNAMIC" + vlan: "2" + - destination_address: "e8eb.1190.d0ff" + destination_port: "Gi1/0/37" + type: "DYNAMIC" + vlan: "2" + - destination_address: "fca1.831b.8ba9" + destination_port: "Gi1/0/41" + type: "DYNAMIC" + vlan: "2" + - destination_address: "fcec.da7a.c955" + destination_port: "Gi1/0/1" + type: "DYNAMIC" + vlan: "2" + - destination_address: "fcec.da80.0a3e" + destination_port: "Gi1/0/22" + type: "DYNAMIC" + vlan: "2" + - destination_address: "fcec.da80.0af9" + destination_port: "Gi1/0/41" + type: "DYNAMIC" + vlan: "2" +... From 1c1bb784e37fe3eb1c6adc6416711ca8e6ad8546 Mon Sep 17 00:00:00 2001 From: Eric Manthei Date: Thu, 5 Dec 2019 16:09:02 -0600 Subject: [PATCH 349/628] Enhancement: IOS lldp neighbors - add capabilities capture group (#553) --- templates/cisco_ios_show_lldp_neighbors.textfsm | 5 +++-- .../cisco_ios_show_lldp_neighbors.yml | 12 ++++++++---- .../cisco_ios_show_lldp_neighbors2.yml | 1 + 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/templates/cisco_ios_show_lldp_neighbors.textfsm b/templates/cisco_ios_show_lldp_neighbors.textfsm index 79a6dd5bb0..f397e703fe 100644 --- a/templates/cisco_ios_show_lldp_neighbors.textfsm +++ b/templates/cisco_ios_show_lldp_neighbors.textfsm @@ -1,5 +1,6 @@ Value Required NEIGHBOR (\S{0,20}) Value Required LOCAL_INTERFACE (\S+) +Value CAPABILITIES (\S*) Value Required NEIGHBOR_INTERFACE (\S+) Start @@ -9,6 +10,6 @@ Start ^Time\s+source\s+is LLDP - ^${NEIGHBOR}\s*${LOCAL_INTERFACE}\s+\d+\s+(\S+)*\s+${NEIGHBOR_INTERFACE} -> Record + ^${NEIGHBOR}\s*${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITIES}\s+${NEIGHBOR_INTERFACE} -> Record ^${NEIGHBOR} - ^\s+${LOCAL_INTERFACE}\s+\d+\s+(\S+)*\s+${NEIGHBOR_INTERFACE} -> Record + ^\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITIES}\s+${NEIGHBOR_INTERFACE} -> Record diff --git a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.yml b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.yml index 0fffceb1ee..8bb36acfeb 100644 --- a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.yml +++ b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors.yml @@ -1,14 +1,18 @@ --- parsed_sample: - - neighbor: "S2" + - capabilities: "B" local_interface: "Fa0/13" + neighbor: "S2" neighbor_interface: "Gi0/13" - - neighbor: "Cisco-switch-1" + - capabilities: "" local_interface: "Gi1/0/7" + neighbor: "Cisco-switch-1" neighbor_interface: "Gi0/1" - - neighbor: "Juniper-switch1" + - capabilities: "B,R" local_interface: "Gi2/0/1" + neighbor: "Juniper-switch1" neighbor_interface: "666" - - neighbor: "Juniper-switch1" + - capabilities: "B,R" local_interface: "Gi1/0/1" + neighbor: "Juniper-switch1" neighbor_interface: "531" diff --git a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.yml b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.yml index ca16fa2350..40e76026e1 100644 --- a/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.yml +++ b/tests/cisco_ios/show_lldp_neighbors/cisco_ios_show_lldp_neighbors2.yml @@ -2,4 +2,5 @@ parsed_sample: - neighbor: "long_name_swt.josh-v" local_interface: "Gi0/2" + capabilities: "R" neighbor_interface: "Gi0/0" From f88beb15519d10f46912e9e8a2a3b31b8aa8ad5c Mon Sep 17 00:00:00 2001 From: afoster213 <37554648+afoster213@users.noreply.github.com> Date: Tue, 10 Dec 2019 19:37:45 -0500 Subject: [PATCH 350/628] New Template: IOS - show logging (#554) --- templates/cisco_ios_show_logging.textfsm | 99 +++++++++++++++++++ templates/index | 3 +- .../show_logging/cisco_ios_show_logging_1.raw | 30 ++++++ .../show_logging/cisco_ios_show_logging_1.yml | 42 ++++++++ .../show_logging/cisco_ios_show_logging_2.raw | 38 +++++++ .../show_logging/cisco_ios_show_logging_2.yml | 32 ++++++ .../show_logging/cisco_ios_show_logging_3.raw | 48 +++++++++ .../show_logging/cisco_ios_show_logging_3.yml | 56 +++++++++++ .../show_logging/cisco_ios_show_logging_4.raw | 42 ++++++++ .../show_logging/cisco_ios_show_logging_4.yml | 32 ++++++ 10 files changed, 421 insertions(+), 1 deletion(-) create mode 100644 templates/cisco_ios_show_logging.textfsm create mode 100644 tests/cisco_ios/show_logging/cisco_ios_show_logging_1.raw create mode 100644 tests/cisco_ios/show_logging/cisco_ios_show_logging_1.yml create mode 100644 tests/cisco_ios/show_logging/cisco_ios_show_logging_2.raw create mode 100644 tests/cisco_ios/show_logging/cisco_ios_show_logging_2.yml create mode 100644 tests/cisco_ios/show_logging/cisco_ios_show_logging_3.raw create mode 100644 tests/cisco_ios/show_logging/cisco_ios_show_logging_3.yml create mode 100644 tests/cisco_ios/show_logging/cisco_ios_show_logging_4.raw create mode 100644 tests/cisco_ios/show_logging/cisco_ios_show_logging_4.yml diff --git a/templates/cisco_ios_show_logging.textfsm b/templates/cisco_ios_show_logging.textfsm new file mode 100644 index 0000000000..a12ab13219 --- /dev/null +++ b/templates/cisco_ios_show_logging.textfsm @@ -0,0 +1,99 @@ +Value NUMBER (\d+) +Value MONTH (\S+) +Value DAY (\d{1,2}) +Value TIME ((\d+:\d+:\d+\.\d+)|(\d+:\d+:\d+)|(\d{1,2}:\d{1,2})) +Value TIMEZONE (\S{3}) +Value FACILITY (\w+) +Value SEVERITY (\d) +Value MNEMONIC (\S+) +Value List MESSAGE (.+) + +Start + ^Log\s+Buffer + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + # 022701: Jun 19 03:02:31: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/3, changed state to down + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + # 000024: Dec 2 12:09:21.207: CEF-HWIDB: EDSP0 LES switching vector set to Null + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + ^${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> DateLogs + # Jan 30 14:11:11.354: %ILPOWER-7-DETECT: Interface Gi4/3: Power Device detected: IEEE PD + ^${MONTH}\s+${DAY}\s+${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> DateLogs + ^${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> DateLogs + ^${MONTH}\s+${DAY}\s+${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> DateLogs + # 7:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/3, changed state to up + ^${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> TimeLogs + ^${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> TimeLogs + + +NumberLogs + ^(\d{6}):\s+(\D\D\D)\s+(\d{1,2})\s+((\d+:\d+:\d+\.\d+)|(\d+:\d+:\d+)) -> Continue.Record + ^(\D\D\D)\s+(\d{1,2})\s+((\d+:\d+:\d+\.\d+)|(\d+:\d+:\d+)) -> Continue.Record + ^\d{1,2}:\d{1,2}: -> Continue.Record + # NUMBER LOGS + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ + # NUMBER LOGS NO SEVERITY + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ + # DATE LOGS + ^${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE} -> DateLogs + ^${MONTH}\s+${DAY}\s+${TIME}:\s%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE} -> DateLogs + # DATE LOGS NO SEVERITY + ^${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE} -> DateLogs + ^${MONTH}\s+${DAY}\s+${TIME}:\s${FACILITY}-${MNEMONIC}:\s+${MESSAGE} -> DateLogs + # TIME LOGS + ^${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> TimeLogs + # TIME LOGS NO SEVERITY + ^${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> TimeLogs + ^${MESSAGE}$$ + ^\s*$$ + ^. -> Error + +DateLogs + ^(\D\D\D)\s+(\d{1,2})\s+((\d+:\d+:\d+\.\d+)|(\d+:\d+:\d+)) -> Continue.Record + ^(\d{6}):\s+(\D\D\D)\s+(\d{1,2})\s+((\d+:\d+:\d+\.\d+)|(\d+:\d+:\d+)) -> Continue.Record + ^\d{1,2}:\d{1,2}: -> Continue.Record + # DATE LOGS + ^${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE} + ^${MONTH}\s+${DAY}\s+${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE} + # DATE LOGS NO SEVERITY + ^${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE} + ^${MONTH}\s+${DAY}\s+${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE} + # NUMBER LOGS + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + # NUMBER LOGS NO SEVERITY + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + # TIME LOGS + ^${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> TimeLogs + # TIME LOGS NO SEVERITY + ^${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> TimeLogs + ^${MESSAGE}$$ + ^\s*$$ + ^. -> Error + +TimeLogs + ^\d{1,2}:\d{1,2}: -> Continue.Record + ^(\D\D\D)\s+(\d{1,2})\s+((\d+:\d+:\d+\.\d+)|(\d+:\d+:\d+)) -> Continue.Record + ^\d+:\s+\S+ -> Continue.Record + # TIME LOGS + ^${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ + # TIME LOGS NO SEVERITY + ^${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ + # DATE LOGS + ^${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE} -> DateLogs + ^${MONTH}\s+${DAY}\s+${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE} -> DateLogs + # DATE LOGS NO SEVERITY + ^${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE} -> DateLogs + ^${MONTH}\s+${DAY}\s+${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE} -> DateLogs + # NUMBER LOGS + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + # NUMBER LOGS NO SEVERITY + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}\s+${TIMEZONE}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + ^${NUMBER}:\s+${MONTH}\s+${DAY}\s+${TIME}:\s+${FACILITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> NumberLogs + ^${MESSAGE}$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 7ced96feee..20d6e8aa75 100644 --- a/templates/index +++ b/templates/index @@ -187,6 +187,7 @@ cisco_ios_show_ip_route.textfsm, .*, cisco_ios, sh[[ow]] ip r[[oute]] cisco_ios_show_aliases.textfsm, .*, cisco_ios, sh[[ow]] alia[[ses]] cisco_ios_show_archive.textfsm, .*, cisco_ios, sh[[ow]] arc[[hive]] cisco_ios_show_license.textfsm, .*, cisco_ios, sh[[ow]] lic[[ense]] +cisco_ios_show_logging.textfsm, .*, cisco_ios, sh[[ow]] log[[ging]] cisco_ios_show_standby.textfsm, .*, cisco_ios, sh[[ow]] sta[[ndby]] cisco_ios_show_version.textfsm, .*, cisco_ios, sh[[ow]] ver[[sion]] cisco_ios_show_ip_arp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] @@ -251,7 +252,7 @@ cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] c[[ cisco_wlc_ssh_show_rf-profile_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] -cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] +cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] diff --git a/tests/cisco_ios/show_logging/cisco_ios_show_logging_1.raw b/tests/cisco_ios/show_logging/cisco_ios_show_logging_1.raw new file mode 100644 index 0000000000..cd45e1aaa7 --- /dev/null +++ b/tests/cisco_ios/show_logging/cisco_ios_show_logging_1.raw @@ -0,0 +1,30 @@ +Syslog logging: enabled (0 messages dropped, 34 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled) + +No Active Message Discriminator. + + + +No Inactive Message Discriminator. + + + Console logging: level debugging, 22827 messages logged, xml disabled, + filtering disabled + Monitor logging: level debugging, 68 messages logged, xml disabled, + filtering disabled + Buffer logging: level debugging, 22860 messages logged, xml disabled, + filtering disabled + Exception Logging: size (4096 bytes) + Count and timestamp logging messages: disabled + File logging: disabled + Persistent logging: disabled + +No active filter modules. + + Trap logging: level informational, 22790 message lines logged + Logging Source-Interface: VRF Name: + +Log Buffer (16384 bytes): +7:04: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/3, changed state to up +022701: Jun 19 03:02:31: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet2/0/3, changed state to down +022702: Jun 19 03:02:32: %LINK-3-UPDOWN: Interface GigabitEthernet2/0/3, changed state to down +022703: Jun 19 03:02:37: %LINK-3-UPDOWN: Interface GigabitEthernet2/0/3, changed state to up diff --git a/tests/cisco_ios/show_logging/cisco_ios_show_logging_1.yml b/tests/cisco_ios/show_logging/cisco_ios_show_logging_1.yml new file mode 100644 index 0000000000..18e7f67acb --- /dev/null +++ b/tests/cisco_ios/show_logging/cisco_ios_show_logging_1.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - number: "" + month: "" + day: "" + time: "7:04" + timezone: "" + facility: "LINEPROTO" + severity: "5" + mnemonic: "UPDOWN" + message: + - "Line protocol on Interface GigabitEthernet2/0/3, changed state to up" + - number: "022701" + month: "Jun" + day: "19" + time: "03:02:31" + timezone: "" + facility: "LINEPROTO" + severity: "5" + mnemonic: "UPDOWN" + message: + - "Line protocol on Interface GigabitEthernet2/0/3, changed state to down" + - number: "022702" + month: "Jun" + day: "19" + time: "03:02:32" + timezone: "" + facility: "LINK" + severity: "3" + mnemonic: "UPDOWN" + message: + - "Interface GigabitEthernet2/0/3, changed state to down" + - number: "022703" + month: "Jun" + day: "19" + time: "03:02:37" + timezone: "" + facility: "LINK" + severity: "3" + mnemonic: "UPDOWN" + message: + - "Interface GigabitEthernet2/0/3, changed state to up" diff --git a/tests/cisco_ios/show_logging/cisco_ios_show_logging_2.raw b/tests/cisco_ios/show_logging/cisco_ios_show_logging_2.raw new file mode 100644 index 0000000000..2f4f2e3acc --- /dev/null +++ b/tests/cisco_ios/show_logging/cisco_ios_show_logging_2.raw @@ -0,0 +1,38 @@ +Syslog logging: enabled (0 messages dropped, 4 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled) + +No Active Message Discriminator. + + + +No Inactive Message Discriminator. + + + Console logging: level alerts, 0 messages logged, xml disabled, + filtering disabled + Monitor logging: level debugging, 0 messages logged, xml disabled, + filtering disabled + Buffer logging: level debugging, 91442 messages logged, xml disabled, + filtering disabled + Exception Logging: size (4096 bytes) + Count and timestamp logging messages: disabled + Persistent logging: disabled + +No active filter modules. + +ESM: 0 messages dropped + + Trap logging: level informational, 142 message lines logged + Logging to 10.5.2.1 (udp port 514, audit disabled, + link up), + 142 message lines logged, + 0 message lines rate-limited, + 0 message lines dropped-by-MD, + xml disabled, sequence number disabled + filtering disabled + Logging Source-Interface: VRF Name: + +Log Buffer (16384 bytes): +IEEE PD +Jan 30 14:11:11.354: %ILPOWER-7-DETECT: Interface Gi4/3: Power Device detected: IEEE PD +Jan 30 14:11:55.762: %SYS-5-CONFIG_I: Configured from console by cisco on vty0 (172.16.5.22) +Jan 30 14:11:32.142: %ILPOWER-7-DETECT: Interface Ten1/1: Power Device detected: IEEE PD diff --git a/tests/cisco_ios/show_logging/cisco_ios_show_logging_2.yml b/tests/cisco_ios/show_logging/cisco_ios_show_logging_2.yml new file mode 100644 index 0000000000..fda38f440c --- /dev/null +++ b/tests/cisco_ios/show_logging/cisco_ios_show_logging_2.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - number: "" + month: "Jan" + day: "30" + time: "14:11:11.354" + timezone: "" + facility: "ILPOWER" + severity: "7" + mnemonic: "DETECT" + message: + - "Interface Gi4/3: Power Device detected: IEEE PD" + - number: "" + month: "Jan" + day: "30" + time: "14:11:55.762" + timezone: "" + facility: "SYS" + severity: "5" + mnemonic: "CONFIG_I" + message: + - "Configured from console by cisco on vty0 (172.16.5.22)" + - number: "" + month: "Jan" + day: "30" + time: "14:11:32.142" + timezone: "" + facility: "ILPOWER" + severity: "7" + mnemonic: "DETECT" + message: + - "Interface Ten1/1: Power Device detected: IEEE PD" diff --git a/tests/cisco_ios/show_logging/cisco_ios_show_logging_3.raw b/tests/cisco_ios/show_logging/cisco_ios_show_logging_3.raw new file mode 100644 index 0000000000..5a6e08d7f5 --- /dev/null +++ b/tests/cisco_ios/show_logging/cisco_ios_show_logging_3.raw @@ -0,0 +1,48 @@ +Syslog logging: enabled (0 messages dropped, 2 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled) + +No Active Message Discriminator. + + + +No Inactive Message Discriminator. + + + Console logging: disabled + Monitor logging: level debugging, 0 messages logged, xml disabled, + filtering disabled + Buffer logging: level debugging, 25903 messages logged, xml disabled, + filtering disabled + Exception Logging: size (4096 bytes) + Count and timestamp logging messages: disabled + Persistent logging: disabled + +No active filter modules. + + Trap logging: level debugging, 25907 message lines logged + Logging to 10.12.55.11 (udp port 514, audit disabled, + link up), + 25907 message lines logged, + 0 message lines rate-limited, + 0 message lines dropped-by-MD, + xml disabled, sequence number disabled + filtering disabled + Logging to 10.12.55.13 (udp port 514, audit disabled, + link up), + 25907 message lines logged, + 0 message lines rate-limited, + 0 message lines dropped-by-MD, + xml disabled, sequence number disabled + filtering disabled + Logging Source-Interface: VRF Name: + +Log Buffer (10000000 bytes): + +Jan 2 12:00:05.047: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = c2900 Next reboot level = ipbasek9 and License = ipbasek9 +000048: Dec 2 12:09:21.207: CEF-HWIDB: EDSP0 LES switching vector set to Null +000049: Dec 2 12:09:23.643: %LINEPROTO-5-UPDOWN: Line protocol on Interface Embedded-Service-Engine0/0, changed state to down +000050: Dec 2 12:09:25.715: %SYS-5-RESTART: System restarted -- +Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.2(1)T1, RELEASE SOFTWARE (fc1) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2011 by Cisco Systems, Inc. +Compiled Mon 19-Sep-11 17:41 by prod_rel_team +000051: Dec 2 12:09:25.719: %SNMP-5-COLDSTART: SNMP agent on host EDGE-2901-Router is undergoing a cold start diff --git a/tests/cisco_ios/show_logging/cisco_ios_show_logging_3.yml b/tests/cisco_ios/show_logging/cisco_ios_show_logging_3.yml new file mode 100644 index 0000000000..8639dc6c2b --- /dev/null +++ b/tests/cisco_ios/show_logging/cisco_ios_show_logging_3.yml @@ -0,0 +1,56 @@ +--- +parsed_sample: + - number: "" + month: "Jan" + day: "2" + time: "12:00:05.047" + timezone: "" + facility: "IOS_LICENSE_IMAGE_APPLICATION" + severity: "6" + mnemonic: "LICENSE_LEVEL" + message: + - "Module name = c2900 Next reboot level = ipbasek9 and License = ipbasek9" + - number: "000048" + month: "Dec" + day: "2" + time: "12:09:21.207" + timezone: "" + facility: "CEF" + severity: "" + mnemonic: "HWIDB" + message: + - "EDSP0 LES switching vector set to Null" + - number: "000049" + month: "Dec" + day: "2" + time: "12:09:23.643" + timezone: "" + facility: "LINEPROTO" + severity: "5" + mnemonic: "UPDOWN" + message: + - "Line protocol on Interface Embedded-Service-Engine0/0, changed state to down" + - number: "000050" + month: "Dec" + day: "2" + time: "12:09:25.715" + timezone: "" + facility: "SYS" + severity: "5" + mnemonic: "RESTART" + message: + - "System restarted --" + - "Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.2(1)T1, RELEASE SOFTWARE (fc1)" + - "Technical Support: http://www.cisco.com/techsupport" + - "Copyright (c) 1986-2011 by Cisco Systems, Inc." + - "Compiled Mon 19-Sep-11 17:41 by prod_rel_team" + - number: "000051" + month: "Dec" + day: "2" + time: "12:09:25.719" + timezone: "" + facility: "SNMP" + severity: "5" + mnemonic: "COLDSTART" + message: + - "SNMP agent on host EDGE-2901-Router is undergoing a cold start" diff --git a/tests/cisco_ios/show_logging/cisco_ios_show_logging_4.raw b/tests/cisco_ios/show_logging/cisco_ios_show_logging_4.raw new file mode 100644 index 0000000000..b08c9e4c0a --- /dev/null +++ b/tests/cisco_ios/show_logging/cisco_ios_show_logging_4.raw @@ -0,0 +1,42 @@ +Syslog logging: enabled (0 messages dropped, 2 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled) + +No Active Message Discriminator. + + + +No Inactive Message Discriminator. + + + Console logging: disabled + Monitor logging: level debugging, 0 messages logged, xml disabled, + filtering disabled + Buffer logging: level debugging, 552121 messages logged, xml disabled, + filtering disabled + Exception Logging: size (4096 bytes) + Count and timestamp logging messages: disabled + Persistent logging: disabled + +No active filter modules. + + Trap logging: level debugging, 25907 message lines logged + Logging to 8.2.1.2 (udp port 514, audit disabled, + link up), + 552124 message lines logged, + 0 message lines rate-limited, + 0 message lines dropped-by-MD, + xml disabled, sequence number disabled + filtering disabled + Logging to 9.8.8.7 (udp port 514, audit disabled, + link up), + 552124 message lines logged, + 0 message lines rate-limited, + 0 message lines dropped-by-MD, + xml disabled, sequence number disabled + filtering disabled + Logging Source-Interface: VRF Name: + +Log Buffer (10000000 bytes): + +065478: Dec 4 11:01:38.694 EST: %MAB-5-SUCCESS: Authentication successful for client (aaaa.bbbb.dddd) on Interface Gi8/39 +065480: Dec 4 11:01:38.702 EST: %AUTHMGR-5-FAIL: Authorization failed for client (aaaa.bbbb.dddd) on Interface Gi8/39 +065483: Dec 4 11:01:52.755 EST: %AUTHMGR-5-START: Starting 'dot1x' for client (aaaa.bbbb.dddd) on Interface Gi8/39 diff --git a/tests/cisco_ios/show_logging/cisco_ios_show_logging_4.yml b/tests/cisco_ios/show_logging/cisco_ios_show_logging_4.yml new file mode 100644 index 0000000000..8dee8c9766 --- /dev/null +++ b/tests/cisco_ios/show_logging/cisco_ios_show_logging_4.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - number: "065478" + month: "Dec" + day: "4" + time: "11:01:38.694" + timezone: "EST" + facility: "MAB" + severity: "5" + mnemonic: "SUCCESS" + message: + - "Authentication successful for client (aaaa.bbbb.dddd) on Interface Gi8/39" + - number: "065480" + month: "Dec" + day: "4" + time: "11:01:38.702" + timezone: "EST" + facility: "AUTHMGR" + severity: "5" + mnemonic: "FAIL" + message: + - "Authorization failed for client (aaaa.bbbb.dddd) on Interface Gi8/39" + - number: "065483" + month: "Dec" + day: "4" + time: "11:01:52.755" + timezone: "EST" + facility: "AUTHMGR" + severity: "5" + mnemonic: "START" + message: + - "Starting 'dot1x' for client (aaaa.bbbb.dddd) on Interface Gi8/39" From 7565931a6b82ecbd28a61b4fc3d524cee039dfae Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Fri, 20 Dec 2019 16:27:44 -0500 Subject: [PATCH 351/628] Enhancement: IOS show int switchport - Add ADMIN_MODE Group (#563) * Captured Administrative Mode, added support for unassigned Access VLAN * Avoid trailing spaces and updated tests Co-authored-by: jmorello12 --- ...sco_ios_show_interfaces_switchport.textfsm | 25 +++---- .../cisco_ios_show_interfaces_switchport.yml | 66 ++++++++++--------- ..._show_interfaces_switchport_voice_vlan.yml | 55 +++++++++------- 3 files changed, 79 insertions(+), 67 deletions(-) diff --git a/templates/cisco_ios_show_interfaces_switchport.textfsm b/templates/cisco_ios_show_interfaces_switchport.textfsm index 2bd64f3ee0..ad84de8974 100644 --- a/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -1,25 +1,26 @@ Value Required INTERFACE (\S+) -Value SWITCHPORT (.+) -Value SWITCHPORT_MONITOR (.+) -Value SWITCHPORT_NEGOTIATION (.+) -Value MODE (.+) -Value ACCESS_VLAN (\d+) +Value SWITCHPORT (.+?) +Value SWITCHPORT_MONITOR (.+?) +Value SWITCHPORT_NEGOTIATION (.+?) +Value MODE (.+?) +Value ADMIN_MODE (.+?) +Value ACCESS_VLAN (\d+|unassigned) Value NATIVE_VLAN (\d+) Value VOICE_VLAN (\S+) -Value TRUNKING_VLANS (.+) +Value TRUNKING_VLANS (.+?) Start ^Name: -> Continue.Record ^Name:\s+${INTERFACE} - ^\s*Switchport:\s+${SWITCHPORT} - ^\s*Switchport\s+Monitor:\s+${SWITCHPORT_MONITOR} - ^\s*Operational\s+Mode:\s+${MODE} - ^\s*Negotiation\s+of\s+Trunking:\s+${SWITCHPORT_NEGOTIATION} + ^\s*Switchport:\s+${SWITCHPORT}$$ + ^\s*Switchport\s+Monitor:\s+${SWITCHPORT_MONITOR}$$ + ^\s*Operational\s+Mode:\s+${MODE}$$ + ^\s*Negotiation\s+of\s+Trunking:\s+${SWITCHPORT_NEGOTIATION}$$ ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} - ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS} - ^\s*Administrative\s+Mode + ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS}$$ + ^\s*Administrative\s+Mode:\s+${ADMIN_MODE}$$ ^\s*(?:Operational|Administrative)\s+(?:Trunking|Native\s+VLAN|private-vlan) ^\s*Voice\s+VLAN: ^\s*Pruning\s+VLANs diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml index 6a55bb916a..eb695543f0 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml @@ -1,56 +1,62 @@ --- parsed_sample: - - access_vlan: "1" - interface: "Gi0/1" - mode: "trunk" - native_vlan: "1" + - interface: "Gi0/1" switchport: "Enabled" - switchport_negotiation: "Off" switchport_monitor: "" + switchport_negotiation: "Off" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" voice_vlan: "none" trunking_vlans: "ALL" - - access_vlan: "100" - interface: "Gi0/2" - mode: "static access" - native_vlan: "1" + - interface: "Gi0/2" switchport: "Enabled" - switchport_negotiation: "On" switchport_monitor: "" - voice_vlan: "none" - trunking_vlans: "ALL" - - access_vlan: "101" - interface: "Gi0/3" + switchport_negotiation: "On" mode: "static access" + admin_mode: "dynamic auto" + access_vlan: "100" native_vlan: "1" - switchport: "Enabled" - switchport_negotiation: "On" - switchport_monitor: "" voice_vlan: "none" trunking_vlans: "ALL" - - access_vlan: "110" - interface: "Gi1/0" - mode: "static access" - native_vlan: "1" + - interface: "Gi0/3" switchport: "Enabled" - switchport_negotiation: "On" switchport_monitor: "" - voice_vlan: "none" - trunking_vlans: "ALL" - - access_vlan: "111" - interface: "Gi1/1" + switchport_negotiation: "On" mode: "static access" + admin_mode: "dynamic auto" + access_vlan: "101" native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0" switchport: "Enabled" - switchport_negotiation: "On" switchport_monitor: "" + switchport_negotiation: "On" + mode: "static access" + admin_mode: "dynamic auto" + access_vlan: "110" + native_vlan: "1" voice_vlan: "none" trunking_vlans: "ALL" - - access_vlan: "1" - interface: "Fa0/1" + - interface: "Gi1/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" mode: "static access" + admin_mode: "dynamic auto" + access_vlan: "111" native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Fa0/1" switchport: "Enabled" - switchport_negotiation: "On" switchport_monitor: "" + switchport_negotiation: "On" + mode: "static access" + admin_mode: "dynamic auto" + access_vlan: "1" + native_vlan: "1" voice_vlan: "none" trunking_vlans: "ALL" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml index d3c01c3a71..34319bcddc 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml @@ -1,47 +1,52 @@ --- parsed_sample: - - access_vlan: "1" - interface: "Gi0/1" - mode: "trunk" - native_vlan: "1" + - interface: "Gi0/1" switchport: "Enabled" - switchport_negotiation: "Off" switchport_monitor: "" + switchport_negotiation: "Off" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" voice_vlan: "none" trunking_vlans: "ALL" - - access_vlan: "100" - interface: "Gi0/2" - mode: "static access" - native_vlan: "1" + - interface: "Gi0/2" switchport: "Enabled" - switchport_negotiation: "On" switchport_monitor: "" - voice_vlan: "none" - trunking_vlans: "ALL" - - access_vlan: "101" - interface: "Gi0/3" + switchport_negotiation: "On" mode: "static access" + admin_mode: "dynamic auto" + access_vlan: "100" native_vlan: "1" - switchport: "Enabled" - switchport_negotiation: "On" - switchport_monitor: "" voice_vlan: "none" trunking_vlans: "ALL" - - access_vlan: "110" - interface: "Gi1/0" - mode: "static access" - native_vlan: "1" + - interface: "Gi0/3" switchport: "Enabled" - switchport_negotiation: "On" switchport_monitor: "" + switchport_negotiation: "On" + mode: "static access" + admin_mode: "dynamic auto" + access_vlan: "101" + native_vlan: "1" voice_vlan: "none" trunking_vlans: "ALL" - - access_vlan: "111" - interface: "Gi1/1" + - interface: "Gi1/0" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" mode: "static access" + admin_mode: "dynamic auto" + access_vlan: "110" native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/1" switchport: "Enabled" - switchport_negotiation: "On" switchport_monitor: "" + switchport_negotiation: "On" + mode: "static access" + admin_mode: "dynamic auto" + access_vlan: "111" + native_vlan: "1" voice_vlan: "none" trunking_vlans: "ALL" From 581b0dc8b14b178c1b4f17df1f0a7dac77eba1f0 Mon Sep 17 00:00:00 2001 From: afoster213 <37554648+afoster213@users.noreply.github.com> Date: Sat, 28 Dec 2019 14:21:29 -0500 Subject: [PATCH 352/628] New Template: ASA - Show Logging (#562) --- templates/cisco_asa_show_logging.textfsm | 49 +++++++++++++++ templates/index | 1 + .../show_logging/cisco_asa_show_logging_1.raw | 23 +++++++ .../show_logging/cisco_asa_show_logging_1.yml | 50 +++++++++++++++ .../show_logging/cisco_asa_show_logging_2.raw | 24 +++++++ .../show_logging/cisco_asa_show_logging_2.yml | 50 +++++++++++++++ .../show_logging/cisco_asa_show_logging_3.raw | 26 ++++++++ .../show_logging/cisco_asa_show_logging_3.yml | 62 +++++++++++++++++++ .../show_logging/cisco_asa_show_logging_4.raw | 24 +++++++ .../show_logging/cisco_asa_show_logging_4.yml | 62 +++++++++++++++++++ 10 files changed, 371 insertions(+) create mode 100644 templates/cisco_asa_show_logging.textfsm create mode 100644 tests/cisco_asa/show_logging/cisco_asa_show_logging_1.raw create mode 100644 tests/cisco_asa/show_logging/cisco_asa_show_logging_1.yml create mode 100644 tests/cisco_asa/show_logging/cisco_asa_show_logging_2.raw create mode 100644 tests/cisco_asa/show_logging/cisco_asa_show_logging_2.yml create mode 100644 tests/cisco_asa/show_logging/cisco_asa_show_logging_3.raw create mode 100644 tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml create mode 100644 tests/cisco_asa/show_logging/cisco_asa_show_logging_4.raw create mode 100644 tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml diff --git a/templates/cisco_asa_show_logging.textfsm b/templates/cisco_asa_show_logging.textfsm new file mode 100644 index 0000000000..e387c5c6ed --- /dev/null +++ b/templates/cisco_asa_show_logging.textfsm @@ -0,0 +1,49 @@ +Value NUMBER (\d+) +Value MONTH (\S+) +Value DAY (\d{1,2}) +Value YEAR (\d{4}) +Value TIME ((\d+:\d+:\d+\.\d+)|(\d+:\d+:\d+)|(\d{1,2}:\d{1,2})) +Value HOSTNAME (\S+) +Value TIMEZONE (\S{3}) +Value FACILITY (\w+) +Value SEVERITY (\d) +Value MNEMONIC (\S+) +Value List MESSAGE (.+) + +Start + ^${MONTH}\s+${DAY}\s+${YEAR}\s+${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> TimestampLogs + # Aug 15 2019 13:44:38: %ASA-6-305011: Built dynamic UDP translation from inside:192.168.1.5/56739 to outside:56.22.114.12/56739 + ^${MONTH}\s+${DAY}\s+${YEAR}\s+${TIME}\s+${HOSTNAME}\s+:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> TimestampLogs + # ASA5585_HQ : %ASA-4-106023: Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group "dmz" [0x0, 0x0] + ^${HOSTNAME}\s+:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> DefaultLogs + # %ASA-4-106023: Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group "dmz" [0x0, 0x0] + ^%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> DefaultLogs + + +TimestampLogs + ^(\D\D\D)\s+(\d{1,2})\s+(\d{4})\s+((\d+:\d+:\d+\.\d+)|(\d+:\d+:\d+)) -> Continue.Record + ^%(\D\D\D)-(\d{1,2}) -> Continue.Record + ^(\S+)\s+:\s+%(\D\D\D)-(\d{1,2}) -> Continue.Record + # TIMESTAMP LOGS + ^${MONTH}\s+${DAY}\s+${YEAR}\s+${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ + ^${MONTH}\s+${DAY}\s+${YEAR}\s+${TIME}\s+${HOSTNAME}\s+:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ + # DEFAULT LOGS + ^${HOSTNAME}\s+:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> DefaultLogs + ^%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> DefaultLogs + ^${MESSAGE}$$ + ^\s*$$ + ^. -> Error + +DefaultLogs + ^%(\D\D\D)-(\d{1,2}) -> Continue.Record + ^(\S+)\s+:\s+%(\D\D\D)-(\d{1,2}) -> Continue.Record + ^(\D\D\D)\s+(\d{1,2})\s+(\d{4})\s+((\d+:\d+:\d+\.\d+)|(\d+:\d+:\d+)) -> Continue.Record + # DEFAULT LOGS + ^${HOSTNAME}\s+:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ + ^%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ + # TIMESTAMP LOGS + ^${MONTH}\s+${DAY}\s+${YEAR}\s+${TIME}:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> TimestampLogs + ^${MONTH}\s+${DAY}\s+${YEAR}\s+${TIME}\s+${HOSTNAME}\s+:\s+%${FACILITY}-${SEVERITY}-${MNEMONIC}:\s+${MESSAGE}$$ -> TimestampLogs + ^${MESSAGE}$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 20d6e8aa75..d06c5fb199 100644 --- a/templates/index +++ b/templates/index @@ -123,6 +123,7 @@ cisco_asa_show_interface.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] cisco_asa_show_inventory.textfsm, .*, cisco_asa, sh[[ow]] inven[[tory]] cisco_asa_show_asp_drop.textfsm, .*, cisco_asa, sh[[ow]] asp d[[rop]] cisco_asa_show_failover.textfsm, .*, cisco_asa, sh[[ow]] fa[[ilover]] +cisco_asa_show_logging.textfsm, .*, cisco_asa, sh[[ow]] log[[ging]] cisco_asa_show_version.textfsm, .*, cisco_asa, sh[[ow]] ver[[sion]] cisco_asa_show_route.textfsm, .*, cisco_asa, sh[[ow]] ro[[ute]] cisco_asa_show_xlate.textfsm, .*, cisco_asa, sh[[ow]] x[[late]] diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_1.raw b/tests/cisco_asa/show_logging/cisco_asa_show_logging_1.raw new file mode 100644 index 0000000000..18eb80b05f --- /dev/null +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_1.raw @@ -0,0 +1,23 @@ +Syslog logging: enabled + Facility: 20 + Timestamp logging: enabled + Hide Username logging: disabled + Standby logging: disabled + Debug-trace logging: disabled + Console logging: enabled + Monitor logging: disabled + Buffer logging: level warnings, 10003 messages logged + Trap logging: level informational, facility 20, 39294 messages logged + Global TCP syslog stats:: + NOT_PUTABLE: 0, ALL_CHANNEL_DOWN: 0 + CHANNEL_FLAP_CNT: 0, SYSLOG_PKT_LOSS: 0 + PARTIAL_REWRITE_CNT: 0 + Permit-hostdown logging: disabled + History logging: enabled + Device ID: disabled + Mail logging: disabled + ASDM logging: level info, 53243234 messages logged +Aug 15 2019 13:44:38: %ASA-6-305011: Built dynamic UDP translation from inside:192.168.1.5/56739 to outside:56.22.114.12/56739 +Aug 15 2019 13:44:38: %ASA-4-434002: SFR requested to drop TCP packet from outside:110.52.22.124/1215 to inside:98.1.33.5/443 +Aug 15 2019 13:44:38: %ASA-6-302021: Teardown ICMP connection for faddr 8.8.8.8/0 gaddr 98.1.33.5/4651 laddr 172.18.99.51/4651 type 8 code 0 +Aug 15 2019 13:44:39: %ASA-6-106015: Deny TCP (no connection) from 84.155.66.45/1215 to 98.1.33.51/443 flags ACK on interface outside diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_1.yml b/tests/cisco_asa/show_logging/cisco_asa_show_logging_1.yml new file mode 100644 index 0000000000..bae2c068f3 --- /dev/null +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_1.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - number: "" + month: "Aug" + day: "15" + year: "2019" + time: "13:44:38" + hostname: "" + timezone: "" + facility: "ASA" + severity: "6" + mnemonic: "305011" + message: + - "Built dynamic UDP translation from inside:192.168.1.5/56739 to outside:56.22.114.12/56739" + - number: "" + month: "Aug" + day: "15" + year: "2019" + time: "13:44:38" + hostname: "" + timezone: "" + facility: "ASA" + severity: "4" + mnemonic: "434002" + message: + - "SFR requested to drop TCP packet from outside:110.52.22.124/1215 to inside:98.1.33.5/443" + - number: "" + month: "Aug" + day: "15" + year: "2019" + time: "13:44:38" + hostname: "" + timezone: "" + facility: "ASA" + severity: "6" + mnemonic: "302021" + message: + - "Teardown ICMP connection for faddr 8.8.8.8/0 gaddr 98.1.33.5/4651 laddr 172.18.99.51/4651 type 8 code 0" + - number: "" + month: "Aug" + day: "15" + year: "2019" + time: "13:44:39" + hostname: "" + timezone: "" + facility: "ASA" + severity: "6" + mnemonic: "106015" + message: + - "Deny TCP (no connection) from 84.155.66.45/1215 to 98.1.33.51/443 flags ACK on interface outside" diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_2.raw b/tests/cisco_asa/show_logging/cisco_asa_show_logging_2.raw new file mode 100644 index 0000000000..65d7905ed2 --- /dev/null +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_2.raw @@ -0,0 +1,24 @@ +Syslog logging: enabled + Facility: 20 + Timestamp logging: enabled + Hide Username logging: disabled + Standby logging: disabled + Debug-trace logging: disabled + Console logging: enabled + Monitor logging: disabled + Buffer logging: level warnings, 4908890 messages logged + Trap logging: level informational, facility 20, 454554 messages logged + Logging to inside 10.67.88.90, UDP TX:323 errors: 0 dropped: 1 + Global TCP syslog stats:: + NOT_PUTABLE: 0, ALL_CHANNEL_DOWN: 0 + CHANNEL_FLAP_CNT: 0, SYSLOG_PKT_LOSS: 0 + PARTIAL_REWRITE_CNT: 0 + Permit-hostdown logging: disabled + History logging: disabled + Device ID: enabled + Mail logging: enabled + ASDM logging: level info, 5553 messages logged +Mar 09 2017 10:25:04 MDF-ASA5515X : %ASA-6-305012: Teardown dynamic TCP translation from inside:10.111.5.124/49578 to outside:168.52.96.121/49578 duration 0:00:00 +Mar 09 2017 10:25:04 MDF-ASA5515X : %ASA-6-302014: Teardown TCP connection 2208441 for outside:69.172.216.111/443 to inside:10.1.103.124/49579 duration 0:00:00 bytes 0 TCP Reset-I +Mar 09 2017 10:25:04 MDF-ASA5515X : %ASA-6-305012: Teardown dynamic TCP translation from inside:10.11.113.124/49579 to outside:19.88.121.11/49579 duration 0:00:00 +Mar 09 2017 10:25:04 MDF-ASA5515X : %ASA-6-305011: Built dynamic TCP translation from inside:10.11.111.124/49580 to outside:192.88.1.11/49580 diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_2.yml b/tests/cisco_asa/show_logging/cisco_asa_show_logging_2.yml new file mode 100644 index 0000000000..945a5e530a --- /dev/null +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_2.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - number: "" + month: "Mar" + day: "09" + year: "2017" + time: "10:25:04" + hostname: "MDF-ASA5515X" + timezone: "" + facility: "ASA" + severity: "6" + mnemonic: "305012" + message: + - "Teardown dynamic TCP translation from inside:10.111.5.124/49578 to outside:168.52.96.121/49578 duration 0:00:00" + - number: "" + month: "Mar" + day: "09" + year: "2017" + time: "10:25:04" + hostname: "MDF-ASA5515X" + timezone: "" + facility: "ASA" + severity: "6" + mnemonic: "302014" + message: + - "Teardown TCP connection 2208441 for outside:69.172.216.111/443 to inside:10.1.103.124/49579 duration 0:00:00 bytes 0 TCP Reset-I" + - number: "" + month: "Mar" + day: "09" + year: "2017" + time: "10:25:04" + hostname: "MDF-ASA5515X" + timezone: "" + facility: "ASA" + severity: "6" + mnemonic: "305012" + message: + - "Teardown dynamic TCP translation from inside:10.11.113.124/49579 to outside:19.88.121.11/49579 duration 0:00:00" + - number: "" + month: "Mar" + day: "09" + year: "2017" + time: "10:25:04" + hostname: "MDF-ASA5515X" + timezone: "" + facility: "ASA" + severity: "6" + mnemonic: "305011" + message: + - "Built dynamic TCP translation from inside:10.11.111.124/49580 to outside:192.88.1.11/49580" diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.raw b/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.raw new file mode 100644 index 0000000000..21db4c3b06 --- /dev/null +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.raw @@ -0,0 +1,26 @@ +Syslog logging: enabled + Facility: 20 + Timestamp logging: disabled + Hide Username logging: disabled + Standby logging: disabled + Debug-trace logging: disabled + Console logging: disabled + Monitor logging: disabled + Buffer logging: level warnings, 4908890 messages logged + Trap logging: level informational, facility 20, 568235255 messages logged + Logging to inside 10.168.1.21, UDP TX:393859 errors: 24 dropped: 45 + Logging to inside 10.45.22.11, UDP TX:393898 errors: 5 dropped: 6 + Global TCP syslog stats:: + NOT_PUTABLE: 0, ALL_CHANNEL_DOWN: 0 + CHANNEL_FLAP_CNT: 0, SYSLOG_PKT_LOSS: 0 + PARTIAL_REWRITE_CNT: 0 + Permit-hostdown logging: disabled + History logging: disabled + Device ID: disabled + Mail logging: disabled + ASDM logging: level warnings, 4908890 messages logged +%ASA-4-106023: Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group "dmz" [0x0, 0x0] +%ASA-4-313005: No matching connection for ICMP error message: icmp src inside:192.168.45.44 dst outside:4.2.2.9 (type 3, code 3) on inside interface. Original IP payload: udp src 4.2.2.9/53 dst 192.168.45.44/50765. +%ASA-3-305006: regular translation creation failed for icmp src inside:172.16.111.2 dst outside:1.1.1.4 (type 3, code 3) +%ASA-4-733100: [ Scanning] drop rate-1 exceeded. Current burst rate is 2 per second, max configured rate is 10; Current average rate is 5 per second, max configured rate is 5; Cumulative total count is 3299 +%ASA-4-313005: No matching connection for ICMP error message: icmp src inside:172.16.111.2 dst outside:75.66.66.22 (type 3, code 3) on inside interface. Original IP payload: udp src 75.66.66.22/53 dst 172.16.111.2/57348. diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml b/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml new file mode 100644 index 0000000000..7b02c26a49 --- /dev/null +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - number: "" + month: "" + day: "" + year: "" + time: "" + hostname: "" + timezone: "" + facility: "ASA" + severity: "4" + mnemonic: "106023" + message: + - 'Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group "dmz" [0x0, 0x0]' + - number: "" + month: "" + day: "" + year: "" + time: "" + hostname: "" + timezone: "" + facility: "ASA" + severity: "4" + mnemonic: "313005" + message: + - "No matching connection for ICMP error message: icmp src inside:192.168.45.44 dst outside:4.2.2.9 (type 3, code 3) on inside interface. Original IP payload: udp src 4.2.2.9/53 dst 192.168.45.44/50765." + - number: "" + month: "" + day: "" + year: "" + time: "" + hostname: "" + timezone: "" + facility: "ASA" + severity: "3" + mnemonic: "305006" + message: + - "regular translation creation failed for icmp src inside:172.16.111.2 dst outside:1.1.1.4 (type 3, code 3)" + - number: "" + month: "" + day: "" + year: "" + time: "" + hostname: "" + timezone: "" + facility: "ASA" + severity: "4" + mnemonic: "733100" + message: + - "[ Scanning] drop rate-1 exceeded. Current burst rate is 2 per second, max configured rate is 10; Current average rate is 5 per second, max configured rate is 5; Cumulative total count is 3299" + - number: "" + month: "" + day: "" + year: "" + time: "" + hostname: "" + timezone: "" + facility: "ASA" + severity: "4" + mnemonic: "313005" + message: + - "No matching connection for ICMP error message: icmp src inside:172.16.111.2 dst outside:75.66.66.22 (type 3, code 3) on inside interface. Original IP payload: udp src 75.66.66.22/53 dst 172.16.111.2/57348." diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.raw b/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.raw new file mode 100644 index 0000000000..ca33fcfb83 --- /dev/null +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.raw @@ -0,0 +1,24 @@ +Syslog logging: enabled + Facility: 20 + Timestamp logging: disabled + Hide Username logging: disabled + Standby logging: disabled + Debug-trace logging: disabled + Console logging: disabled + Monitor logging: disabled + Buffer logging: level warnings, 4908890 messages logged + Trap logging: level informational, facility 20, 0 messages logged + Global TCP syslog stats:: + NOT_PUTABLE: 0, ALL_CHANNEL_DOWN: 0 + CHANNEL_FLAP_CNT: 0, SYSLOG_PKT_LOSS: 0 + PARTIAL_REWRITE_CNT: 0 + Permit-hostdown logging: disabled + History logging: disabled + Device ID: disabled + Mail logging: disabled + ASDM logging: level warnings, 4 messages logged +HQ-ASA5585 : %ASA-4-106023: Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group "dmz" [0x0, 0x0] +HQ-ASA5585 : %ASA-4-313005: No matching connection for ICMP error message: icmp src inside:192.168.45.44 dst outside:4.2.2.9 (type 3, code 3) on inside interface. Original IP payload: udp src 4.2.2.9/53 dst 192.168.45.44/50765. +HQ-ASA5585 : %ASA-3-305006: regular translation creation failed for icmp src inside:172.16.111.2 dst outside:1.1.1.4 (type 3, code 3) +HQ-ASA5585 : %ASA-4-733100: [ Scanning] drop rate-1 exceeded. Current burst rate is 2 per second, max configured rate is 10; Current average rate is 5 per second, max configured rate is 5; Cumulative total count is 3299 +HQ-ASA5585 : %ASA-4-313005: No matching connection for ICMP error message: icmp src inside:172.16.111.2 dst outside:75.66.66.22 (type 3, code 3) on inside interface. Original IP payload: udp src 75.66.66.22/53 dst 172.16.111.2/57348. diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml b/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml new file mode 100644 index 0000000000..10f3520eba --- /dev/null +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - number: "" + month: "" + day: "" + year: "" + time: "" + hostname: "HQ-ASA5585" + timezone: "" + facility: "ASA" + severity: "4" + mnemonic: "106023" + message: + - 'Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group "dmz" [0x0, 0x0]' + - number: "" + month: "" + day: "" + year: "" + time: "" + hostname: "HQ-ASA5585" + timezone: "" + facility: "ASA" + severity: "4" + mnemonic: "313005" + message: + - "No matching connection for ICMP error message: icmp src inside:192.168.45.44 dst outside:4.2.2.9 (type 3, code 3) on inside interface. Original IP payload: udp src 4.2.2.9/53 dst 192.168.45.44/50765." + - number: "" + month: "" + day: "" + year: "" + time: "" + hostname: "HQ-ASA5585" + timezone: "" + facility: "ASA" + severity: "3" + mnemonic: "305006" + message: + - "regular translation creation failed for icmp src inside:172.16.111.2 dst outside:1.1.1.4 (type 3, code 3)" + - number: "" + month: "" + day: "" + year: "" + time: "" + hostname: "HQ-ASA5585" + timezone: "" + facility: "ASA" + severity: "4" + mnemonic: "733100" + message: + - "[ Scanning] drop rate-1 exceeded. Current burst rate is 2 per second, max configured rate is 10; Current average rate is 5 per second, max configured rate is 5; Cumulative total count is 3299" + - number: "" + month: "" + day: "" + year: "" + time: "" + hostname: "HQ-ASA5585" + timezone: "" + facility: "ASA" + severity: "4" + mnemonic: "313005" + message: + - "No matching connection for ICMP error message: icmp src inside:172.16.111.2 dst outside:75.66.66.22 (type 3, code 3) on inside interface. Original IP payload: udp src 75.66.66.22/53 dst 172.16.111.2/57348." From 34cac48268b5996c3c864edad9f1e8db7401a859 Mon Sep 17 00:00:00 2001 From: Damien Garros Date: Mon, 30 Dec 2019 12:29:12 -0500 Subject: [PATCH 353/628] New Template: NXOS - show_interface_transceiver (#564) --- ...co_nxos_show_interface_transceiver.textfsm | 21 ++++++ templates/index | 1 + .../cisco_nxos_show_interface_transceiver.raw | 71 +++++++++++++++++++ .../cisco_nxos_show_interface_transceiver.yml | 27 +++++++ 4 files changed, 120 insertions(+) create mode 100644 templates/cisco_nxos_show_interface_transceiver.textfsm create mode 100644 tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw create mode 100644 tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml diff --git a/templates/cisco_nxos_show_interface_transceiver.textfsm b/templates/cisco_nxos_show_interface_transceiver.textfsm new file mode 100644 index 0000000000..98ef11cebb --- /dev/null +++ b/templates/cisco_nxos_show_interface_transceiver.textfsm @@ -0,0 +1,21 @@ +Value INTERFACE (\S+/\S+) +Value MANUFACTURER (\S+) +Value Required TYPE (.+) +Value SERIAL (\S+) +Value PART_NUMBER (\S+) + +Start + ^\S+/\S+ -> Continue.Record + ^${INTERFACE} + ^\s+type\s+is\s+${TYPE} + ^\s+name\s+is\s+${MANUFACTURER} + ^\s+part\s+number\s+is\s+${PART_NUMBER} + ^\s+serial\s+number\s+is\s+${SERIAL} + ^\s+transceiver\s+ + ^\s+nominal\s+ + ^\s+revision\s+ + ^\s+Link\s+ + ^\s+cisco\s+id + ^\s+cisco\s+extended + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index d06c5fb199..d6a89d030d 100644 --- a/templates/index +++ b/templates/index @@ -206,6 +206,7 @@ cisco_nxos_show_configuration_session_summary.textfsm, .*, cisco_nxos, sh[[ow]] cisco_nxos_show_interface_transceiver_details.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] cisco_nxos_show_environment_temperature.textfsm, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] cisco_nxos_show_forwarding_ipv4_route.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] ipv4 ro[[ute]] +cisco_nxos_show_interface_transceiver.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] cisco_nxos_show_interfaces_switchport.textfsm, .*, cisco_nxos, sh[[ow]] int[[erfaces]] sw[[itchport]] cisco_nxos_show_ip_dhcp_relay_address.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] cisco_nxos_show_lldp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] diff --git a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw new file mode 100644 index 0000000000..bbc21829f5 --- /dev/null +++ b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw @@ -0,0 +1,71 @@ +Ethernet1/6 + transceiver is present + type is Fabric Extender Transceiver + name is CISCO-FINISAR + part number is FTLX1234D3BCL-C2 + revision is A + serial number is FNS123456FP + nominal bitrate is 10300 MBit/sec + Link length supported for 62.5/125um fiber is 10 m + Link length supported for 50/125um OM3 fiber is 100 m + cisco id is -- + cisco extended id number is 4 + +Ethernet1/7 + transceiver is present + type is Fabric Extender Transceiver + name is CISCO-FINISAR + part number is FTLX1234D3BCL-C2 + revision is A + serial number is FNS12345WKC + nominal bitrate is 10300 MBit/sec + Link length supported for 62.5/125um fiber is 10 m + Link length supported for 50/125um OM3 fiber is 100 m + cisco id is -- + cisco extended id number is 4 + +Ethernet1/8 + transceiver is present + type is Fabric Extender Transceiver + name is CISCO-FINISAR + part number is FTLX1234D3BCL-C2 + revision is A + serial number is FNS123456PN + nominal bitrate is 10300 MBit/sec + Link length supported for 62.5/125um fiber is 10 m + Link length supported for 50/125um OM3 fiber is 100 m + cisco id is -- + cisco extended id number is 4 + +Ethernet1/9 + transceiver is not present + +Ethernet1/10 + transceiver is not present + +Ethernet1/43 + transceiver is present + type is 10Gbase-LR + name is CISCO-FINISAR + part number is FTLX9876D3BCL-C3 + revision is A + serial number is FNS87654321 + nominal bitrate is 10300 MBit/sec + Link length supported for 9/125um fiber is 10 km + cisco id is -- + cisco extended id number is 4 + +Ethernet1/44 + transceiver is not present + +Ethernet1/45 + transceiver is present + type is SFP-1000base-LH + name is CISCO-FINISAR + part number is FTLF5432P2BCL-C2 + revision is A + serial number is FNS9876543 + nominal bitrate is 1300 MBit/sec + Link length supported for 9/125um fiber is 10 km + cisco id is -- + cisco extended id number is 4 diff --git a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml new file mode 100644 index 0000000000..6cde7235c1 --- /dev/null +++ b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - interface: "Ethernet1/6" + manufacturer: "CISCO-FINISAR" + type: "Fabric Extender Transceiver" + serial: "FNS123456FP" + part_number: "FTLX1234D3BCL-C2" + - interface: "Ethernet1/7" + manufacturer: "CISCO-FINISAR" + type: "Fabric Extender Transceiver" + serial: "FNS12345WKC" + part_number: "FTLX1234D3BCL-C2" + - interface: "Ethernet1/8" + manufacturer: "CISCO-FINISAR" + type: "Fabric Extender Transceiver" + serial: "FNS123456PN" + part_number: "FTLX1234D3BCL-C2" + - interface: "Ethernet1/43" + manufacturer: "CISCO-FINISAR" + type: "10Gbase-LR" + serial: "FNS87654321" + part_number: "FTLX9876D3BCL-C3" + - interface: "Ethernet1/45" + manufacturer: "CISCO-FINISAR" + type: "SFP-1000base-LH" + serial: "FNS9876543" + part_number: "FTLF5432P2BCL-C2" From bcba5cfaff96d0744e5cb9ea3e922bd475b1ac5d Mon Sep 17 00:00:00 2001 From: Miguel Scapolla Date: Wed, 1 Jan 2020 22:23:12 -0300 Subject: [PATCH 354/628] BugFix: IOS show license - avoid trailing spaces (#565) --- templates/cisco_ios_show_license.textfsm | 3 +-- .../show_license/cisco_ios_show_license.raw | 20 +++++++++---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/templates/cisco_ios_show_license.textfsm b/templates/cisco_ios_show_license.textfsm index bfab42a1a1..73f03dcc5d 100644 --- a/templates/cisco_ios_show_license.textfsm +++ b/templates/cisco_ios_show_license.textfsm @@ -8,7 +8,7 @@ Value LICENSE_PRIORITY (.*) Start ^Index\s+\d+\s+Feature: -> Continue.Record - ^Index\s+\d+\s+Feature:\s+${FEATURE}$$ + ^Index\s+\d+\s+Feature:\s+${FEATURE}\s*$$ ^\s+Period\s+left:\s+${PERIOD_LEFT}$$ ^\s+Period\s+Used:\s+${PERIOD_USED}$$ ^\s+License\s+Type:\s+${LICENSE_TYPE}$$ @@ -17,4 +17,3 @@ Start ^\s+License\s+Priority:\s+${LICENSE_PRIORITY}$$ ^\s*$$ ^. -> Error - diff --git a/tests/cisco_ios/show_license/cisco_ios_show_license.raw b/tests/cisco_ios/show_license/cisco_ios_show_license.raw index e10379806d..25b62f8c4e 100644 --- a/tests/cisco_ios/show_license/cisco_ios_show_license.raw +++ b/tests/cisco_ios/show_license/cisco_ios_show_license.raw @@ -1,60 +1,60 @@ -Index 1 Feature: appxk9 +Index 1 Feature: appxk9 Period left: Life time License Type: Permanent License State: Active, In Use License Count: Non-Counted License Priority: Medium -Index 2 Feature: uck9 +Index 2 Feature: uck9 Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse License State: Active, Not in Use, EULA not accepted License Count: Non-Counted License Priority: None -Index 3 Feature: securityk9 +Index 3 Feature: securityk9 Period left: Life time License Type: Permanent License State: Active, In Use License Count: Non-Counted License Priority: Medium -Index 4 Feature: ipbasek9 +Index 4 Feature: ipbasek9 Period left: Life time License Type: Permanent License State: Active, In Use License Count: Non-Counted License Priority: Medium -Index 5 Feature: FoundationSuiteK9 +Index 5 Feature: FoundationSuiteK9 Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse License State: Active, Not in Use, EULA not accepted License Count: Non-Counted License Priority: None -Index 6 Feature: AdvUCSuiteK9 +Index 6 Feature: AdvUCSuiteK9 Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse License State: Active, Not in Use, EULA not accepted License Count: Non-Counted License Priority: None -Index 7 Feature: cme-srst +Index 7 Feature: cme-srst Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse License State: Active, Not in Use, EULA not accepted License Count: 0/0 (In-use/Violation) License Priority: None -Index 8 Feature: hseck9 +Index 8 Feature: hseck9 Period left: Life time License Type: Permanent License State: Active, In Use License Count: Non-Counted License Priority: Medium -Index 9 Feature: throughput +Index 9 Feature: throughput Period left: Not Activated Period Used: 0 minute 0 second License Type: EvalRightToUse License State: Active, Not in Use, EULA not accepted License Count: Non-Counted License Priority: None -Index 10 Feature: internal_service +Index 10 Feature: internal_service From 086aec7a3deb8f3de74513dc69c7f2f0ad8a9169 Mon Sep 17 00:00:00 2001 From: Miguel Scapolla Date: Sun, 12 Jan 2020 07:16:36 -0300 Subject: [PATCH 355/628] New Template: Cisco XR - show arp (#567) --- templates/cisco_xr_show_arp.textfsm | 17 ++ templates/index | 1 + tests/cisco_xr/show_arp/cisco_xr_show_arp.raw | 46 ++++ tests/cisco_xr/show_arp/cisco_xr_show_arp.yml | 212 ++++++++++++++++++ 4 files changed, 276 insertions(+) create mode 100644 templates/cisco_xr_show_arp.textfsm create mode 100644 tests/cisco_xr/show_arp/cisco_xr_show_arp.raw create mode 100644 tests/cisco_xr/show_arp/cisco_xr_show_arp.yml diff --git a/templates/cisco_xr_show_arp.textfsm b/templates/cisco_xr_show_arp.textfsm new file mode 100644 index 0000000000..374031fa77 --- /dev/null +++ b/templates/cisco_xr_show_arp.textfsm @@ -0,0 +1,17 @@ +Value Required ADDRESS (\d+\.\d+\.\d+\.\d+) +Value Required AGE (\S+) +Value Required MAC (\S+) +Value Required STATE (\S+) +Value Required TYPE (\S+) +Value Required INTERFACE (\S+) +Value Filldown CPU (\d+/\d+/CPU\d+$) + +Start + # Match the timestamp at beginning of command output + ^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\.\d+\s+\S+\s*$$ + ^Address\s+Age\s+Hardware\s+Addr\s+State\s+Type\s+Interface$$ + ^-+ + ^${CPU} + ^\s*$$ + ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${STATE}\s+${TYPE}\s+${INTERFACE}\s*$$ -> Record + ^. -> Error diff --git a/templates/index b/templates/index index d6a89d030d..2af3cc7856 100644 --- a/templates/index +++ b/templates/index @@ -299,6 +299,7 @@ cisco_xr_admin_show_vm.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] vm cisco_xr_show_ip_route.textfsm, .*, cisco_xr, sh[[ow]] (?:ip )?ro[[ute]] cisco_xr_show_version.textfsm, .*, cisco_xr, sh[[ow]] ver[[sion]] cisco_xr_show_hsrp.textfsm, .*, cisco_xr, sh[[ow]] hs[[rp]] +cisco_xr_show_arp.textfsm, .*, cisco_xr, sh[[ow]] arp cisco_xr_show_bgp.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] dell_force10_show_vlan_brief.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] br[[ief]] diff --git a/tests/cisco_xr/show_arp/cisco_xr_show_arp.raw b/tests/cisco_xr/show_arp/cisco_xr_show_arp.raw new file mode 100644 index 0000000000..f904685967 --- /dev/null +++ b/tests/cisco_xr/show_arp/cisco_xr_show_arp.raw @@ -0,0 +1,46 @@ +Wed Jan 1 22:02:56.878 UTC + +------------------------------------------------------------------------------- +0/0/CPU0 +------------------------------------------------------------------------------- +Address Age Hardware Addr State Type Interface +10.10.10.1 - 5254.0001.9002 Interface ARPA GigabitEthernet0/0/0/0 +10.10.10.101 01:25:23 aabb.cc00.6500 Dynamic ARPA GigabitEthernet0/0/0/0 +10.10.10.102 01:25:22 aabb.cc00.6600 Dynamic ARPA GigabitEthernet0/0/0/0 +10.10.10.103 01:25:21 aabb.cc00.6700 Dynamic ARPA GigabitEthernet0/0/0/0 +10.10.10.104 01:25:20 aabb.cc00.6800 Dynamic ARPA GigabitEthernet0/0/0/0 +10.10.10.105 01:25:19 aabb.cc00.6900 Dynamic ARPA GigabitEthernet0/0/0/0 +10.10.10.106 01:25:18 aabb.cc00.6a00 Dynamic ARPA GigabitEthernet0/0/0/0 +10.10.10.107 01:25:17 aabb.cc00.6b00 Dynamic ARPA GigabitEthernet0/0/0/0 +10.10.10.108 01:25:16 aabb.cc00.6c00 Dynamic ARPA GigabitEthernet0/0/0/0 +10.10.10.109 00:00:03 0000.0000.0000 Incomplete ARPA GigabitEthernet0/0/0/0 + +------------------------------------------------------------------------------- +0/1/CPU0 +------------------------------------------------------------------------------- +Address Age Hardware Addr State Type Interface +10.10.20.1 - 5254.0002.9002 Interface ARPA GigabitEthernet0/1/0/0 +10.10.20.101 02:25:23 aacc.cc00.6500 Dynamic ARPA GigabitEthernet0/1/0/0 +10.10.20.102 02:25:22 aacc.cc00.6600 Dynamic ARPA GigabitEthernet0/1/0/0 +10.10.20.103 02:25:21 aacc.cc00.6700 Dynamic ARPA GigabitEthernet0/1/0/0 +10.10.20.104 02:25:20 aacc.cc00.6800 Dynamic ARPA GigabitEthernet0/1/0/0 +10.10.20.105 02:25:19 aacc.cc00.6900 Dynamic ARPA GigabitEthernet0/1/0/0 +10.10.20.106 02:25:18 aacc.cc00.6a00 Dynamic ARPA GigabitEthernet0/1/0/0 +10.10.20.107 02:25:17 aacc.cc00.6b00 Dynamic ARPA GigabitEthernet0/1/0/0 +10.10.20.108 02:25:16 aacc.cc00.6c00 Dynamic ARPA GigabitEthernet0/1/0/0 +10.10.20.109 00:00:03 0000.0000.0000 Incomplete ARPA GigabitEthernet0/1/0/0 + +------------------------------------------------------------------------------- +0/2/CPU0 +------------------------------------------------------------------------------- +Address Age Hardware Addr State Type Interface +10.10.30.1 - 5254.0003.9002 Interface ARPA GigabitEthernet0/2/0/0 +10.10.30.101 03:25:23 aadd.cc00.6500 Dynamic ARPA GigabitEthernet0/2/0/0 +10.10.30.102 03:25:22 aadd.cc00.6600 Dynamic ARPA GigabitEthernet0/2/0/0 +10.10.30.103 03:25:21 aadd.cc00.6700 Dynamic ARPA GigabitEthernet0/2/0/0 +10.10.30.104 03:25:20 aadd.cc00.6800 Dynamic ARPA GigabitEthernet0/2/0/0 +10.10.30.105 03:25:19 aadd.cc00.6900 Dynamic ARPA GigabitEthernet0/2/0/0 +10.10.30.106 03:25:18 aadd.cc00.6a00 Dynamic ARPA GigabitEthernet0/2/0/0 +10.10.30.107 03:25:17 aadd.cc00.6b00 Dynamic ARPA GigabitEthernet0/2/0/0 +10.10.30.108 03:25:16 aadd.cc00.6c00 Dynamic ARPA GigabitEthernet0/2/0/0 +10.10.30.109 00:00:03 0000.0000.0000 Incomplete ARPA GigabitEthernet0/2/0/0 diff --git a/tests/cisco_xr/show_arp/cisco_xr_show_arp.yml b/tests/cisco_xr/show_arp/cisco_xr_show_arp.yml new file mode 100644 index 0000000000..71d4cfc586 --- /dev/null +++ b/tests/cisco_xr/show_arp/cisco_xr_show_arp.yml @@ -0,0 +1,212 @@ +--- +parsed_sample: + - address: "10.10.10.1" + age: "-" + cpu: "0/0/CPU0" + interface: "GigabitEthernet0/0/0/0" + mac: "5254.0001.9002" + state: "Interface" + type: "ARPA" + - address: "10.10.10.101" + age: "01:25:23" + cpu: "0/0/CPU0" + interface: "GigabitEthernet0/0/0/0" + mac: "aabb.cc00.6500" + state: "Dynamic" + type: "ARPA" + - address: "10.10.10.102" + age: "01:25:22" + cpu: "0/0/CPU0" + interface: "GigabitEthernet0/0/0/0" + mac: "aabb.cc00.6600" + state: "Dynamic" + type: "ARPA" + - address: "10.10.10.103" + age: "01:25:21" + cpu: "0/0/CPU0" + interface: "GigabitEthernet0/0/0/0" + mac: "aabb.cc00.6700" + state: "Dynamic" + type: "ARPA" + - address: "10.10.10.104" + age: "01:25:20" + cpu: "0/0/CPU0" + interface: "GigabitEthernet0/0/0/0" + mac: "aabb.cc00.6800" + state: "Dynamic" + type: "ARPA" + - address: "10.10.10.105" + age: "01:25:19" + cpu: "0/0/CPU0" + interface: "GigabitEthernet0/0/0/0" + mac: "aabb.cc00.6900" + state: "Dynamic" + type: "ARPA" + - address: "10.10.10.106" + age: "01:25:18" + cpu: "0/0/CPU0" + interface: "GigabitEthernet0/0/0/0" + mac: "aabb.cc00.6a00" + state: "Dynamic" + type: "ARPA" + - address: "10.10.10.107" + age: "01:25:17" + cpu: "0/0/CPU0" + interface: "GigabitEthernet0/0/0/0" + mac: "aabb.cc00.6b00" + state: "Dynamic" + type: "ARPA" + - address: "10.10.10.108" + age: "01:25:16" + cpu: "0/0/CPU0" + interface: "GigabitEthernet0/0/0/0" + mac: "aabb.cc00.6c00" + state: "Dynamic" + type: "ARPA" + - address: "10.10.10.109" + age: "00:00:03" + cpu: "0/0/CPU0" + interface: "GigabitEthernet0/0/0/0" + mac: "0000.0000.0000" + state: "Incomplete" + type: "ARPA" + - address: "10.10.20.1" + age: "-" + cpu: "0/1/CPU0" + interface: "GigabitEthernet0/1/0/0" + mac: "5254.0002.9002" + state: "Interface" + type: "ARPA" + - address: "10.10.20.101" + age: "02:25:23" + cpu: "0/1/CPU0" + interface: "GigabitEthernet0/1/0/0" + mac: "aacc.cc00.6500" + state: "Dynamic" + type: "ARPA" + - address: "10.10.20.102" + age: "02:25:22" + cpu: "0/1/CPU0" + interface: "GigabitEthernet0/1/0/0" + mac: "aacc.cc00.6600" + state: "Dynamic" + type: "ARPA" + - address: "10.10.20.103" + age: "02:25:21" + cpu: "0/1/CPU0" + interface: "GigabitEthernet0/1/0/0" + mac: "aacc.cc00.6700" + state: "Dynamic" + type: "ARPA" + - address: "10.10.20.104" + age: "02:25:20" + cpu: "0/1/CPU0" + interface: "GigabitEthernet0/1/0/0" + mac: "aacc.cc00.6800" + state: "Dynamic" + type: "ARPA" + - address: "10.10.20.105" + age: "02:25:19" + cpu: "0/1/CPU0" + interface: "GigabitEthernet0/1/0/0" + mac: "aacc.cc00.6900" + state: "Dynamic" + type: "ARPA" + - address: "10.10.20.106" + age: "02:25:18" + cpu: "0/1/CPU0" + interface: "GigabitEthernet0/1/0/0" + mac: "aacc.cc00.6a00" + state: "Dynamic" + type: "ARPA" + - address: "10.10.20.107" + age: "02:25:17" + cpu: "0/1/CPU0" + interface: "GigabitEthernet0/1/0/0" + mac: "aacc.cc00.6b00" + state: "Dynamic" + type: "ARPA" + - address: "10.10.20.108" + age: "02:25:16" + cpu: "0/1/CPU0" + interface: "GigabitEthernet0/1/0/0" + mac: "aacc.cc00.6c00" + state: "Dynamic" + type: "ARPA" + - address: "10.10.20.109" + age: "00:00:03" + cpu: "0/1/CPU0" + interface: "GigabitEthernet0/1/0/0" + mac: "0000.0000.0000" + state: "Incomplete" + type: "ARPA" + - address: "10.10.30.1" + age: "-" + cpu: "0/2/CPU0" + interface: "GigabitEthernet0/2/0/0" + mac: "5254.0003.9002" + state: "Interface" + type: "ARPA" + - address: "10.10.30.101" + age: "03:25:23" + cpu: "0/2/CPU0" + interface: "GigabitEthernet0/2/0/0" + mac: "aadd.cc00.6500" + state: "Dynamic" + type: "ARPA" + - address: "10.10.30.102" + age: "03:25:22" + cpu: "0/2/CPU0" + interface: "GigabitEthernet0/2/0/0" + mac: "aadd.cc00.6600" + state: "Dynamic" + type: "ARPA" + - address: "10.10.30.103" + age: "03:25:21" + cpu: "0/2/CPU0" + interface: "GigabitEthernet0/2/0/0" + mac: "aadd.cc00.6700" + state: "Dynamic" + type: "ARPA" + - address: "10.10.30.104" + age: "03:25:20" + cpu: "0/2/CPU0" + interface: "GigabitEthernet0/2/0/0" + mac: "aadd.cc00.6800" + state: "Dynamic" + type: "ARPA" + - address: "10.10.30.105" + age: "03:25:19" + cpu: "0/2/CPU0" + interface: "GigabitEthernet0/2/0/0" + mac: "aadd.cc00.6900" + state: "Dynamic" + type: "ARPA" + - address: "10.10.30.106" + age: "03:25:18" + cpu: "0/2/CPU0" + interface: "GigabitEthernet0/2/0/0" + mac: "aadd.cc00.6a00" + state: "Dynamic" + type: "ARPA" + - address: "10.10.30.107" + age: "03:25:17" + cpu: "0/2/CPU0" + interface: "GigabitEthernet0/2/0/0" + mac: "aadd.cc00.6b00" + state: "Dynamic" + type: "ARPA" + - address: "10.10.30.108" + age: "03:25:16" + cpu: "0/2/CPU0" + interface: "GigabitEthernet0/2/0/0" + mac: "aadd.cc00.6c00" + state: "Dynamic" + type: "ARPA" + - address: "10.10.30.109" + age: "00:00:03" + cpu: "0/2/CPU0" + interface: "GigabitEthernet0/2/0/0" + mac: "0000.0000.0000" + state: "Incomplete" + type: "ARPA" From 8de43e274a1006609177c6ccb70770d6428a856c Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 17 Jan 2020 09:39:10 -0700 Subject: [PATCH 356/628] Add SERIAL to Cisco IOS LLDP Neighbors Detail (#572) Work done by danielolson13 --- templates/cisco_ios_show_lldp_neighbors_detail.textfsm | 2 ++ .../cisco_ios_show_lldp_neighbors_detail1.yml | 3 +++ .../cisco_ios_show_lldp_neighbors_detail2.yml | 4 ++++ .../cisco_ios_show_lldp_neighbors_detail3.yml | 1 + .../cisco_ios_show_lldp_neighbors_detail4.yml | 2 ++ 5 files changed, 12 insertions(+) diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.textfsm b/templates/cisco_ios_show_lldp_neighbors_detail.textfsm index c9daa7d193..0b56a5a907 100644 --- a/templates/cisco_ios_show_lldp_neighbors_detail.textfsm +++ b/templates/cisco_ios_show_lldp_neighbors_detail.textfsm @@ -7,6 +7,7 @@ Value SYSTEM_DESCRIPTION (.*) Value CAPABILITIES (.*) Value MANAGEMENT_IP (\S+) Value VLAN (\d+) +Value SERIAL (\S+) Start ^.*not advertised @@ -63,6 +64,7 @@ IgnoreDescription ^.* -> Error Med + ^\s+Serial\s+number:\s+${SERIAL} ^\s+\S+ ^\s*$$ ^\s*Total\s+entries\s+displayed -> Record diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml index e5d0fb4d71..7e3ad5fe35 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail1.yml @@ -10,6 +10,7 @@ parsed_sample: capabilities: "B,R" management_ip: "" vlan: "1" + serial: "" - local_interface: "Gi1/0/1" chassis_id: "94f1.2879.5555" neighbor_port_id: "94f1.2879.5555" @@ -20,6 +21,7 @@ parsed_sample: capabilities: "B" management_ip: "192.168.1.81" vlan: "" + serial: "" - local_interface: "Gi1/0/9" chassis_id: "4448.c1c4.dddd" neighbor_port_id: "4448.c1c4.dddd" @@ -29,3 +31,4 @@ parsed_sample: capabilities: "W" management_ip: "192.168.1.40" vlan: "" + serial: "" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml index f78d21c90a..99f86a1771 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail2.yml @@ -11,6 +11,7 @@ parsed_sample: capabilities: "B,R" management_ip: "11.11.11.11" vlan: "1" + serial: "" - local_interface: "" chassis_id: "2222.0642.7333" neighbor_port_id: "Eth1/6" @@ -22,6 +23,7 @@ parsed_sample: capabilities: "B,R" management_ip: "33.33.33.3" vlan: "1" + serial: "" - local_interface: "" chassis_id: "0015.2222.c330" neighbor_port_id: "Gi2/0/24" @@ -32,6 +34,7 @@ parsed_sample: capabilities: "B" management_ip: "55.55.55.55" vlan: "" + serial: "" - local_interface: "" chassis_id: "0022.1111.2222" neighbor_port_id: "g2" @@ -41,3 +44,4 @@ parsed_sample: capabilities: "" management_ip: "" vlan: "" + serial: "" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml index 1dab205250..1c617e515b 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail3.yml @@ -9,3 +9,4 @@ parsed_sample: capabilities: "B,T" management_ip: "10.10.0.1" vlan: "" + serial: "FCH1610A5S5" diff --git a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml index 3a30cf33ca..d329e47c50 100644 --- a/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml +++ b/tests/cisco_ios/show_lldp_neighbors_detail/cisco_ios_show_lldp_neighbors_detail4.yml @@ -9,6 +9,7 @@ parsed_sample: capabilities: "T" management_ip: "" vlan: "" + serial: "000bea0016e0" - local_interface: "Te1/1/1" chassis_id: "2c33.1100.a6c0" neighbor_port_id: "Te1/2/13" @@ -19,3 +20,4 @@ parsed_sample: capabilities: "B,R" management_ip: "172.16.0.10" vlan: "1" + serial: "" From 8f221a59f85f3103dc6a5d8d9678e3aa521e44d6 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 17 Jan 2020 10:03:25 -0700 Subject: [PATCH 357/628] New Template: Show arp - ASA (#573) --- templates/cisco_asa_show_arp.textfsm | 12 ++++++++++ templates/index | 1 + .../cisco_asa/show_arp/cisco_asa_show_arp.raw | 5 +++++ .../cisco_asa/show_arp/cisco_asa_show_arp.yml | 22 +++++++++++++++++++ 4 files changed, 40 insertions(+) create mode 100644 templates/cisco_asa_show_arp.textfsm create mode 100644 tests/cisco_asa/show_arp/cisco_asa_show_arp.raw create mode 100644 tests/cisco_asa/show_arp/cisco_asa_show_arp.yml diff --git a/templates/cisco_asa_show_arp.textfsm b/templates/cisco_asa_show_arp.textfsm new file mode 100644 index 0000000000..9326063f74 --- /dev/null +++ b/templates/cisco_asa_show_arp.textfsm @@ -0,0 +1,12 @@ +Value Required INTERFACE (\S+) +Value Required ADDRESS (\d+\.\d+\.\d+\.\d+) +Value Required AGE (\S+) +Value Required MAC (\S+) + +Start + ^\s*${INTERFACE}\s+${ADDRESS}\s+${MAC}\s+${AGE} -> Record + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 2af3cc7856..26b99b539b 100644 --- a/templates/index +++ b/templates/index @@ -128,6 +128,7 @@ cisco_asa_show_version.textfsm, .*, cisco_asa, sh[[ow]] ver[[sion]] cisco_asa_show_route.textfsm, .*, cisco_asa, sh[[ow]] ro[[ute]] cisco_asa_show_xlate.textfsm, .*, cisco_asa, sh[[ow]] x[[late]] cisco_asa_show_name.textfsm, .*, cisco_asa, sh[[ow]] nam[[e]] +cisco_asa_show_arp.textfsm, .*, cisco_asa, sh[[ow]] arp cisco_asa_show_nat.textfsm, .*, cisco_asa, sh[[ow]] nat cisco_asa_dir.textfsm, .*, cisco_asa, dir diff --git a/tests/cisco_asa/show_arp/cisco_asa_show_arp.raw b/tests/cisco_asa/show_arp/cisco_asa_show_arp.raw new file mode 100644 index 0000000000..553050998a --- /dev/null +++ b/tests/cisco_asa/show_arp/cisco_asa_show_arp.raw @@ -0,0 +1,5 @@ + outside 1.2.3.4 444e.6df8.b97e 15 + DMZ 192.168.10.9 0013.2401.01a3 5054 + DMZ1 172.19.0.5 000c.2911.ebc4 711 + DMZ2 172.19.1.11 000c.293b.d502 8744 + INSIDE 10.0.0.1 2401.c75e.3acb 12074 diff --git a/tests/cisco_asa/show_arp/cisco_asa_show_arp.yml b/tests/cisco_asa/show_arp/cisco_asa_show_arp.yml new file mode 100644 index 0000000000..976500c46c --- /dev/null +++ b/tests/cisco_asa/show_arp/cisco_asa_show_arp.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - interface: "outside" + address: "1.2.3.4" + age: "15" + mac: "444e.6df8.b97e" + - interface: "DMZ" + address: "192.168.10.9" + age: "5054" + mac: "0013.2401.01a3" + - interface: "DMZ1" + address: "172.19.0.5" + age: "711" + mac: "000c.2911.ebc4" + - interface: "DMZ2" + address: "172.19.1.11" + age: "8744" + mac: "000c.293b.d502" + - interface: "INSIDE" + address: "10.0.0.1" + age: "12074" + mac: "2401.c75e.3acb" From bf3365044923d7b3dc9737c757384c50ec261b16 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 17 Jan 2020 11:03:44 -0700 Subject: [PATCH 358/628] BugFix: NXOS show version - Add n5k platform regex (#575) --- templates/cisco_nxos_show_version.textfsm | 4 +- .../show_version/cisco_nxos_show_version2.raw | 47 +++++++++++++++++++ .../show_version/cisco_nxos_show_version2.yml | 7 +++ 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version2.raw create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml diff --git a/templates/cisco_nxos_show_version.textfsm b/templates/cisco_nxos_show_version.textfsm index 2e71c1b4e0..06fb92b559 100755 --- a/templates/cisco_nxos_show_version.textfsm +++ b/templates/cisco_nxos_show_version.textfsm @@ -1,5 +1,5 @@ Value UPTIME ((\d+\s\w+.s.,?\s?){4}) -Value LAST_REBOOT_REASON (\w+) +Value LAST_REBOOT_REASON (.+) Value OS (\d+.\d+(.+)?) Value BOOT_IMAGE (.*) Value PLATFORM (\w+) @@ -9,6 +9,8 @@ Start ^\s+(NXOS|kickstart)\s+image\s+file\s+is:\s+${BOOT_IMAGE}\s*$$ ^\s+cisco\s+${PLATFORM}\s+[cC]hassis ^\s+cisco\s+Nexus\d+\s+${PLATFORM} + # Cisco N5K platform + ^\s+cisco\s+Nexus\s+${PLATFORM}\s+[cC]hassis ^\s+cisco\s+.+-${PLATFORM}\s* ^Kernel\s+uptime\s+is\s+${UPTIME} ^\s+Reason:\s${LAST_REBOOT_REASON} -> Record diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version2.raw b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.raw new file mode 100644 index 0000000000..9e212f0fe6 --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.raw @@ -0,0 +1,47 @@ +Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html +Copyright (c) 2002-2016, Cisco Systems, Inc. All rights reserved. +The copyrights to certain works contained herein are owned by +other third parties and are used and distributed under license. +Some parts of this software are covered under the GNU Public +License. A copy of the license is available at +http://www.gnu.org/licenses/gpl.html. + +Software + BIOS: version 3.6.0 + Power Sequencer Firmware: + Module 1: v7.0 + Module 1: v1.0 + Module 2: v1.0 + Module 3: v1.0 + Microcontroller Firmware: version v1.0.0.2 + QSFP Microcontroller Firmware: + Module not detected + CXP Microcontroller Firmware: + Module not detected + kickstart: version 7.1(4)N1(1) + system: version 7.1(4)N1(1) + BIOS compile time: 05/09/2012 + kickstart image file is: bootflash:///n5000-uk9-kickstart.7.1.4.N1.1.bin + kickstart compile time: 9/2/2016 10:00:00 [09/02/2016 19:37:35] + system image file is: bootflash:///n5000-uk9.7.1.4.N1.1.bin + system compile time: 9/2/2016 10:00:00 [09/02/2016 21:16:21] + + +Hardware + cisco Nexus 5596 Chassis ("O2 48X10GE/Modular Supervisor") + Intel(R) Xeon(R) CPU with 8253848 kB of memory. + Processor Board ID FOC17153X08 + + Device name: IEDP02-N5K-SW01 + bootflash: 2007040 kB + +Kernel uptime is 749 day(s), 15 hour(s), 17 minute(s), 48 second(s) + +Last reset at 958444 usecs after Wed Nov 1 21:20:35 2017 + + Reason: Disruptive upgrade + System version: 7.0(7)N1(1) + Service: + +plugin + Core Plugin, Ethernet Plugin, Fc Plugin diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml new file mode 100644 index 0000000000..58783670d4 --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - uptime: "749 day(s), 15 hour(s), 17 minute(s), 48 second(s)" + last_reboot_reason: "Disruptive upgrade" + os: "7.1(4)N1(1)" + boot_image: "bootflash:///n5000-uk9-kickstart.7.1.4.N1.1.bin" + platform: "5596" From 5a516d069c8f51c64e0149d926839fc88816ff30 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 22 Jan 2020 07:39:14 -0700 Subject: [PATCH 359/628] New Templates: Fortinet get system interface and status (#578) --- ...tinet_fortios_get_system_interface.textfsm | 35 +++++++++ ...fortinet_fortios_get_system_status.textfsm | 71 +++++++++++++++++++ templates/index | 2 + .../fortinet_fortios_get_system_interface.raw | 4 ++ .../fortinet_fortios_get_system_interface.yml | 42 +++++++++++ .../fortinet_fortios_get_system_status.raw | 28 ++++++++ .../fortinet_fortios_get_system_status.yml | 30 ++++++++ 7 files changed, 212 insertions(+) create mode 100644 templates/fortinet_fortios_get_system_interface.textfsm create mode 100644 templates/fortinet_fortios_get_system_status.textfsm create mode 100644 tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.raw create mode 100644 tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.yml create mode 100644 tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.raw create mode 100644 tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.yml diff --git a/templates/fortinet_fortios_get_system_interface.textfsm b/templates/fortinet_fortios_get_system_interface.textfsm new file mode 100644 index 0000000000..77e28367dd --- /dev/null +++ b/templates/fortinet_fortios_get_system_interface.textfsm @@ -0,0 +1,35 @@ +# +# Patrick Marc Preuss +# 2020-01-13 - Initial Version +# +# FG Version: 6.0.7 +# HW : FG1500D +# HA : AP +# VDOMS : ENABLED +Value Required NAME (\S+) +Value MODE (\S+) +Value MANAGEMENT_IP (\d+?\.\d+?\.\d+?\.\d+?) +Value MANAGEMENT_NETMASK (\d+?\.\d+?\.\d+?\.\d+?) +Value IP (\d+?\.\d+?\.\d+?\.\d+?) +Value NETMASK (\d+?\.\d+?\.\d+?\.\d+?) +Value STATUS (\S+) +Value NETBIOS_FORWARD (\S+) +Value TYPE (\S+) +Value NETFLOW_SAMPLER (\S+) +Value SFLOW_SAMPLER (\S+) +Value SCAN_BOTNET_CONNECTIONS (\S+) +Value SRC_CHECK (\S+) +Value EXPLICIT_WEB_PROXY (\S+) +Value EXPLICIT_FTP_PROXY (\S+) +Value PROXY_CAPTIVE_PORTAL (\S+) +Value MTU_OVERRIDE (\S+) +Value WCCP (\S+) +Value DROP_OVERLAPPED_FRAGMENT (\S+) +Value DROP_FRAGMENT (\S+) + +Start + ^==\s+\[\s+\S+\s\]$$ + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s+$$ -> Record + ^\s*$$ + ^. -> Error + diff --git a/templates/fortinet_fortios_get_system_status.textfsm b/templates/fortinet_fortios_get_system_status.textfsm new file mode 100644 index 0000000000..d7c31f97ad --- /dev/null +++ b/templates/fortinet_fortios_get_system_status.textfsm @@ -0,0 +1,71 @@ +# +# Patrick Marc Preuss +# +# 2020-01-13: Inital Version +# +# FG Version: 6.0.7 +# HW : FG1500D +# CLUSTER MODE: AP +# VDOMS : ENABLED +# +Value Required HOSTNAME (\S+) +Value VERSION (.*) +Value VIRUS_DB (.*) +Value EXTENDED_DB (.*) +Value EXTREME_DB (.*) +Value IPS_DB (.*) +Value IPS_ETDB (.*) +Value APP_DB (.*) +Value INDUSTRIAL_DB (.*) +Value SERIAL_NUMBER (\S+) +Value IPS_MALICIOUS_URL_DATABASE (.*) +Value BOTNET_DB (.*) +Value BIOS_VERSION (\S+) +Value SYSTEM_PART_NUMBER (\S+) +Value LOG_HARD_DISK (\S+) +Value OPERATION_MODE (\S+) +Value CURRENT_VIRTUAL_DOMAIN (\S+) +Value MAX_NUMBER_OF_VIRTUAL_DOMAINS (\d+) +Value VIRTUAL_DOMAINS_STATUS (.*) +Value VIRTUAL_DOMAIN_CONFIGURATION (\S+) +Value FIPS_CC_MODE (\S+) +Value CURRENT_HA_MODE (.*) +Value CLUSTER_UPTIME (.*) +Value CLUSTER_STATE_CHANGE_TIME (.*) +Value BRANCH_POINT (\S+) +Value RELEASE_VERSION_INFORMATION (\S+) +Value FORTIOS_X86_64 (\S+) +Value SYSTEM_TIME (.*) + +Start + ^Version:\s+${VERSION} + ^Virus-DB:\s+${VIRUS_DB} + ^Extended\s+DB:\s+${EXTENDED_DB} + ^Extreme\s+DB:\s+${EXTREME_DB} + ^IPS-DB:\s+${IPS_DB} + ^IPS-ETDB:\s+${IPS_ETDB} + ^APP-DB:\s+${APP_DB} + ^INDUSTRIAL-DB:\s+${INDUSTRIAL_DB} + ^Serial-Number:\s+${SERIAL_NUMBER} + ^IPS\s+Malicious\s+URL\s+Database:\s+${IPS_MALICIOUS_URL_DATABASE} + ^Botnet\s+DB:\s+${BOTNET_DB} + ^BIOS\s+version:\s+${BIOS_VERSION} + ^System\s+Part-Number:\s+${SYSTEM_PART_NUMBER} + ^Log\s+hard\s+disk:\s+${LOG_HARD_DISK} + ^Hostname:\s+${HOSTNAME} + ^Operation\s+Mode:\s+${OPERATION_MODE} + ^Current\s+virtual\s+domain:\s+${CURRENT_VIRTUAL_DOMAIN} + ^Max\s+number\s+of\s+virtual\s+domains:\s+${MAX_NUMBER_OF_VIRTUAL_DOMAINS} + ^Virtual\s+domains\s+status:\s+${VIRTUAL_DOMAINS_STATUS} + ^Virtual\s+domain\s+configuration:\s+${VIRTUAL_DOMAIN_CONFIGURATION} + ^FIPS-CC\s+mode:\s+${FIPS_CC_MODE} + ^Current\s+HA\s+mode:\s+${CURRENT_HA_MODE} + ^Cluster\s+uptime:\s+${CLUSTER_UPTIME} + ^Cluster\s+state\s+change\s+time:\s+${CLUSTER_STATE_CHANGE_TIME} + ^Branch\s+point:\s+${BRANCH_POINT} + ^Release\s+Version\s+Information:\s+${RELEASE_VERSION_INFORMATION} + ^FortiOS\s+x86-64:\s+${FORTIOS_X86_64} + ^System\s+time:\s+${SYSTEM_TIME} -> Record + ^\s*$$ + ^. -> Error + diff --git a/templates/index b/templates/index index 26b99b539b..a9ef7213c8 100644 --- a/templates/index +++ b/templates/index @@ -309,6 +309,8 @@ dell_force10_show_vlan.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] dell_force10_show_arp.textfsm, .*, dell_force10, sh[[ow]] ar[[p]] fortinet_fortios_get_router_info_bgp_summary.textfsm, .*, fortinet_fortios, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] +fortinet_fortios_get_system_interface.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[i]]nterface +fortinet_fortios_get_system_status.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[s]]tatus hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] hp_comware_display_mac-address.textfsm, .*, hp_comware, di[[splay]] mac-ad[[dress]] diff --git a/tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.raw b/tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.raw new file mode 100644 index 0000000000..16bea61532 --- /dev/null +++ b/tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.raw @@ -0,0 +1,4 @@ +== [ port1 ] +name: port1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: down netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port2 ] +name: port2 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: down netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable diff --git a/tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.yml b/tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.yml new file mode 100644 index 0000000000..a7ce299713 --- /dev/null +++ b/tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - name: "port1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "down" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port2" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "down" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" diff --git a/tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.raw b/tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.raw new file mode 100644 index 0000000000..94eee19691 --- /dev/null +++ b/tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.raw @@ -0,0 +1,28 @@ +Version: FortiGate-1500D v6.0.7,build0302,191112 (GA) +Virus-DB: 16.00560(2012-10-19 08:31) +Extended DB: 1.00000(2018-04-09 18:07) +Extreme DB: 1.00000(2018-04-09 18:07) +IPS-DB: 6.00741(2015-12-01 02:30) +IPS-ETDB: 15.00748(2019-12-19 04:16) +APP-DB: 15.00756(2020-01-10 02:10) +INDUSTRIAL-DB: 15.00756(2020-01-10 02:10) +Serial-Number: FG1K501234567890 +IPS Malicious URL Database: 2.00521(2020-01-10 04:24) +Botnet DB: 1.00000(2012-05-28 22:51) +BIOS version: 05000006 +System Part-Number: P12917-08 +Log hard disk: Available +Hostname: MYCOOLEFIREWALLNAME +Operation Mode: NAT +Current virtual domain: root +Max number of virtual domains: 10 +Virtual domains status: 7 in NAT mode, 1 in TP mode +Virtual domain configuration: enable +FIPS-CC mode: disable +Current HA mode: a-p, master +Cluster uptime: 102 days, 22 hours, 39 minutes, 22 seconds +Cluster state change time: 2019-12-22 05:24:41 +Branch point: 0302 +Release Version Information: GA +FortiOS x86-64: Yes +System time: Fri Jan 10 23:10:02 2020 diff --git a/tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.yml b/tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.yml new file mode 100644 index 0000000000..5fd5e14ca2 --- /dev/null +++ b/tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - hostname: "MYCOOLEFIREWALLNAME" + version: "FortiGate-1500D v6.0.7,build0302,191112 (GA)" + virus_db: "16.00560(2012-10-19 08:31)" + extended_db: "1.00000(2018-04-09 18:07)" + extreme_db: "1.00000(2018-04-09 18:07)" + ips_db: "6.00741(2015-12-01 02:30)" + ips_etdb: "15.00748(2019-12-19 04:16)" + app_db: "15.00756(2020-01-10 02:10)" + industrial_db: "15.00756(2020-01-10 02:10)" + serial_number: "FG1K501234567890" + ips_malicious_url_database: "2.00521(2020-01-10 04:24)" + botnet_db: "1.00000(2012-05-28 22:51)" + bios_version: "05000006" + system_part_number: "P12917-08" + log_hard_disk: "Available" + operation_mode: "NAT" + current_virtual_domain: "root" + max_number_of_virtual_domains: "10" + virtual_domains_status: "7 in NAT mode, 1 in TP mode" + virtual_domain_configuration: "enable" + fips_cc_mode: "disable" + current_ha_mode: "a-p, master" + cluster_uptime: "102 days, 22 hours, 39 minutes, 22 seconds" + cluster_state_change_time: "2019-12-22 05:24:41" + branch_point: "0302" + release_version_information: "GA" + fortios_x86_64: "Yes" + system_time: "Fri Jan 10 23:10:02 2020" From 199a7c39c2bb161bcfc94bf904a2244c5ac826ef Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 22 Jan 2020 07:51:47 -0700 Subject: [PATCH 360/628] Bug Fix: ASA Show failover - Account for new data (#574) --- templates/cisco_asa_show_failover.textfsm | 4 + .../cisco_asa_show_failover_ips.raw | 67 +++++++++++++++++ .../cisco_asa_show_failover_ips.yml | 75 +++++++++++++++++++ 3 files changed, 146 insertions(+) create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover_ips.raw create mode 100644 tests/cisco_asa/show_failover/cisco_asa_show_failover_ips.yml diff --git a/templates/cisco_asa_show_failover.textfsm b/templates/cisco_asa_show_failover.textfsm index ff1c3a3cac..c71fd69a18 100644 --- a/templates/cisco_asa_show_failover.textfsm +++ b/templates/cisco_asa_show_failover.textfsm @@ -57,6 +57,8 @@ ThisHost ^\s*Other\s+host:.+?-\s+${SERVICE_STATE_MATE}\s*$$ -> OtherHost ^\s*Other\s+host:\s+\S+\s*$$ -> OtherHost ^\s*slot\s+\d+:\s+empty\s*$$ + ^\s+\ + ^\s+IPS ^\s*ASA\s+FirePOWER ^\s*$$ ^. -> Error @@ -69,6 +71,8 @@ OtherHost # Service module has different line ^\s*\S+,\s+\S+,\s+\S+\s*$$ ^\s*slot\s+\d+:\s+empty\s*$$ + ^\s+\ + ^\s+IPS ^\s*ASA\s+FirePOWER ^Stateful\s+Failover\s+Logical\s+Update\s+Statistics\s*$$ -> Stats ^\s*$$ diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover_ips.raw b/tests/cisco_asa/show_failover/cisco_asa_show_failover_ips.raw new file mode 100644 index 0000000000..b5a4c51f05 --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover_ips.raw @@ -0,0 +1,67 @@ +Failover On +Failover unit Secondary +Failover LAN Interface: Failover GigabitEthernet0/7 (up) +Reconnect timeout 0:00:00 +Unit Poll frequency 1 seconds, holdtime 4 seconds +Interface Poll frequency 5 seconds, holdtime 25 seconds +Interface Policy 1 +Monitored Interfaces 7 of 1049 maximum +MAC Address Move Notification Interval not set +failover replication http +Version: Ours 9.6(4)34, Mate 9.6(4)34 +Serial Number: Ours JAD163903TY, Mate JAD163900D6 +Last Failover at: 19:38:08 UTC Nov 4 2019 + This host: Secondary - Active + Active time: 1450749 (sec) + slot 0: ASA5585-SSP-20 hw/sw rev (2.0/9.6(4)34) status (Up Sys) + il2-admin Interface skyscape_admin (1.1.1.1): Normal (Monitored) + fwname Interface skyscape_mgmt (1.1.1.1): Normal (Not-Monitored) + fwname Interface avamar_drac (1.1.1.1): Normal (Monitored) + + slot 1: ASA5585-SSP-IPS20 hw/sw rev (2.0/7.3(5)E4) status (Up/Up) + IPS, 7.3(5)E4, Up, (Monitored) + Other host: Primary - Standby Ready + Active time: 425691 (sec) + slot 0: ASA5585-SSP-20 hw/sw rev (2.0/9.6(4)34) status (Up Sys) + il2-admin Interface skyscape_admin (2.2.2.2): Normal (Monitored) + fwname Interface skyscape_mgmt (2.2.2.2): Normal (Not-Monitored) + fwname Interface avamar_drac (2.2.2.2): Normal (Monitored) + + slot 1: ASA5585-SSP-IPS20 hw/sw rev (2.0/7.3(5)E4) status (Up/Up) + IPS, 7.3(5)E4, Up, (Monitored) + +Stateful Failover Logical Update Statistics + Link : StateFailover GigabitEthernet0/6 (up) + Stateful Obj xmit xerr rcv rerr + General 2455641256 0 628699983 1699 + sys cmd 250128 0 250128 0 + up time 0 0 0 0 + RPC services 0 0 0 0 + TCP conn 1441746676 0 398760885 0 + UDP conn 635150912 0 113869522 1697 + ARP tbl 378487541 0 115817628 0 + Xlate_Timeout 0 0 0 0 + IPv6 ND tbl 5985 0 1729 0 + VPN IKEv1 SA 0 0 0 0 + VPN IKEv1 P2 0 0 0 0 + VPN IKEv2 SA 0 0 0 0 + VPN IKEv2 P2 0 0 0 0 + VPN CTCP upd 0 0 0 0 + VPN SDI upd 0 0 0 0 + VPN DHCP upd 0 0 0 0 + SIP Session 0 0 0 0 + SIP Tx 0 0 0 0 + SIP Pinhole 0 0 0 0 + Route Session 14 0 0 2 + Router ID 0 0 0 0 + User-Identity 0 0 91 0 + CTS SGTNAME 0 0 0 0 + CTS PAC 0 0 0 0 + TrustSec-SXP 0 0 0 0 + IPv6 Route 0 0 0 0 + STS Table 0 0 0 0 + + Logical Update Queue Information + Cur Max Total + Recv Q: 0 140 651732837 + Xmit Q: 0 3 2527845901 diff --git a/tests/cisco_asa/show_failover/cisco_asa_show_failover_ips.yml b/tests/cisco_asa/show_failover/cisco_asa_show_failover_ips.yml new file mode 100644 index 0000000000..26dee1369f --- /dev/null +++ b/tests/cisco_asa/show_failover/cisco_asa_show_failover_ips.yml @@ -0,0 +1,75 @@ +--- +parsed_sample: + - state: "On" + role: "Secondary" + lan_intf_name: "Failover" + lan_intf: "GigabitEthernet0/7" + lan_intf_state: "up" + sw_version: "9.6(4)34" + sw_version_mate: "9.6(4)34" + failover_group: + - "None" + last_failover_time: + - "19:38:08" + last_failover_timezone: + - "UTC" + last_failover_month: + - "Nov" + last_failover_day: + - "4" + last_failover_year: + - "2019" + service_state: + - "Active" + service_state_mate: + - "Standby Ready" + ssp_slot: + - "0" + - "1" + ssp_model: + - "ASA5585-SSP-20" + - "ASA5585-SSP-IPS20" + ssp_status: + - "Up" + - "Up/Up" + ssp_slot_mate: + - "0" + - "1" + ssp_model_mate: + - "ASA5585-SSP-20" + - "ASA5585-SSP-IPS20" + ssp_status_mate: + - "Up" + - "Up/Up" + interfaces_context: + - "il2-admin" + - "fwname" + - "fwname" + interfaces: + - "skyscape_admin" + - "skyscape_mgmt" + - "avamar_drac" + interfaces_status: + - "Normal" + - "Normal" + - "Normal" + interfaces_state: + - "Monitored" + - "Not-Monitored" + - "Monitored" + interfaces_context_mate: + - "il2-admin" + - "fwname" + - "fwname" + interfaces_mate: + - "skyscape_admin" + - "skyscape_mgmt" + - "avamar_drac" + interfaces_status_mate: + - "Normal" + - "Normal" + - "Normal" + interfaces_state_mate: + - "Monitored" + - "Not-Monitored" + - "Monitored" From ed45c4e8813734a6b428f900fac2ff2c0fc2ec61 Mon Sep 17 00:00:00 2001 From: kwrobert Date: Wed, 22 Jan 2020 10:12:29 -0500 Subject: [PATCH 361/628] Bug Fix: cisco ios show mac address-table - skip multicast table (#577) --- .../cisco_ios_show_mac-address-table.textfsm | 4 +++ .../cisco_ios_show_mac-address-table7.raw | 21 +++++++++++++++ .../cisco_ios_show_mac-address-table7.yml | 27 +++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.raw create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml diff --git a/templates/cisco_ios_show_mac-address-table.textfsm b/templates/cisco_ios_show_mac-address-table.textfsm index 71185cad3f..84e2cb0111 100644 --- a/templates/cisco_ios_show_mac-address-table.textfsm +++ b/templates/cisco_ios_show_mac-address-table.textfsm @@ -18,6 +18,7 @@ TYPE1 ^Displaying\s+entries ^Destination\s+Address\s+Address\s+Type\s+VLAN\s+Destination\s+Port ^\s*$$ + ^Multicast\s+Entries -> End ^. -> Error TYPE2 @@ -26,6 +27,7 @@ TYPE2 ^Displaying\s+entries ^\s+vlan\s+mac address\s+type\s+learn\s+age\s+ports ^\s*$$ + ^Multicast\s+Entries -> End ^. -> Error TYPE3 @@ -34,6 +36,7 @@ TYPE3 ^Displaying\s+entries ^\s+vlan\s+mac address\s+type\s+protocols\s+port ^\s*$$ + ^Multicast\s+Entries -> End ^. -> Error TYPE4 @@ -43,4 +46,5 @@ TYPE4 ^Vlan\s+Mac Address\s+Type\s+Ports ^\s*$$ ^Total\s+Mac\s+Addresses + ^MultiCast\s+Entries -> End ^. -> Error diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.raw new file mode 100644 index 0000000000..e8f7fda7d7 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.raw @@ -0,0 +1,21 @@ +Unicast Entries + vlan mac address type protocols port +---------+---------------+--------+---------------------+------------------------- + 46 0000.0c07.ac04 dynamic ip,ipx,assigned,other TenGigabitEthernet5/1 + 46 000c.ab66.1c75 dynamic ip,ipx,assigned,other GigabitEthernet1/15 + 46 ac9b.0acc.ff55 dynamic ip,ipx,assigned,other GigabitEthernet7/13 + 48 002a.101e.e33e dynamic ip,ipx,assigned,other TenGigabitEthernet7/1 + 48 002a.1060.51da dynamic ip,ipx,assigned,other TenGigabitEthernet1/10 + 48 0081.c4ba.d07f static ip,ipx,assigned,other Switch + +Multicast Entries + vlan mac address type ports +---------+---------------+-------+-------------------------------------------- + 1 ffff.ffff.ffff system + 46 ffff.ffff.ffff system Gi1/13,Gi1/14,Gi1/15,Gi1/48,Gi7/13,Gi7/14 + Gi7/15,Te5/1 + 48 ffff.ffff.ffff system Te1/1,Te1/2,Te1/3,Te1/4,Te1/5,Te1/6,Te1/7 + Te1/8,Te1/9,Te1/10,Te7/1,Te7/2,Te7/3,Te7/4 + Te7/5,Te7/6,Te7/7,Te7/8,Te5/1,Switch + 50 ffff.ffff.ffff system Gi7/16,Gi7/18,Te5/1 + 51 ffff.ffff.ffff system Gi3/14,Gi3/37,Gi3/38,Te7/11,Te5/1 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml new file mode 100644 index 0000000000..d431c4eaa6 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - destination_address: "0000.0c07.ac04" + destination_port: "TenGigabitEthernet5/1" + type: "dynamic" + vlan: "46" + - destination_address: "000c.ab66.1c75" + destination_port: "GigabitEthernet1/15" + type: "dynamic" + vlan: "46" + - destination_address: "ac9b.0acc.ff55" + destination_port: "GigabitEthernet7/13" + type: "dynamic" + vlan: "46" + - destination_address: "002a.101e.e33e" + destination_port: "TenGigabitEthernet7/1" + type: "dynamic" + vlan: "48" + - destination_address: "002a.1060.51da" + destination_port: "TenGigabitEthernet1/10" + type: "dynamic" + vlan: "48" + - destination_address: "0081.c4ba.d07f" + destination_port: "Switch" + type: "static" + vlan: "48" +... From a354fb5870f3d86bd2d4b13a1b971d1b913b4240 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 24 Jan 2020 12:12:45 -0700 Subject: [PATCH 362/628] New Template: Huawei display lldp neighbor (#576) --- .../huawei_vrp_display_lldp_neighbor.textfsm | 76 +++++++++ templates/index | 1 + .../huawei_vrp_display_lldp_neighbor.raw | 146 ++++++++++++++++++ .../huawei_vrp_display_lldp_neighbor.yml | 36 +++++ 4 files changed, 259 insertions(+) create mode 100644 templates/huawei_vrp_display_lldp_neighbor.textfsm create mode 100644 tests/huawei_vrp/display_lldp_neighbor/huawei_vrp_display_lldp_neighbor.raw create mode 100644 tests/huawei_vrp/display_lldp_neighbor/huawei_vrp_display_lldp_neighbor.yml diff --git a/templates/huawei_vrp_display_lldp_neighbor.textfsm b/templates/huawei_vrp_display_lldp_neighbor.textfsm new file mode 100644 index 0000000000..d14186eaae --- /dev/null +++ b/templates/huawei_vrp_display_lldp_neighbor.textfsm @@ -0,0 +1,76 @@ +Value Required LOCAL_INTERFACE (\S+) +Value CHASSIS_ID (.+?) +Value MANUFACTURER_NAME (.*?) +Value MODEL_NAME (.*?) +Value NEIGHBOR_PORT_ID (.*?) +Value NEIGHBOR_INTERFACE (.*?) +Value NEIGHBOR (.+?) +Value List SYSTEM_DESCRIPTION (.*) +Value CAPABILITIES (.*?) +Value MANAGEMENT_IP (\S+) +Value VLAN (\d+) +Value SERIAL (\S+) + +Start + ^${LOCAL_INTERFACE}\s+has\s+\d+\s+neighbors:$$ + ^\S+\s+has\s+\d+\s+neighbors + ^Neighbor\s+index + ^Chassis\s+type + ^Chassis\s+ID\s+:${CHASSIS_ID}$$ + ^Port\s+ID\s+type + ^Port\s+ID\s+:${NEIGHBOR_PORT_ID}\s*$$ + ^Port\s+description\s+:${NEIGHBOR_INTERFACE}\s*$$ + ^System\s+name\s+:${NEIGHBOR}\s*$$ + ^System\s+description\s+:${SYSTEM_DESCRIPTION} -> SystemDescription + ^System\s+capabilities\s+supported + ^System\s+capabilities\s+enabled\s+:${CAPABILITIES}\s*$$ + ^Management\s+address\s+type + ^Management\s+address\s*:\s*${MANAGEMENT_IP} + ^Expired\s+time + ^Port\s+VLAN\s+ID\(PVID\)\s+:${VLAN} + ^VLAN\s+name\s+of\s+VLAN + ^Protocol\s+identity + ^Auto-negotiation + ^OperMau + ^Power + ^PSE + ^Port\s+power + ^Link\s+aggregation + ^Aggregation + ^Maximum\s+frame\s+Size + ^MED\s+Device\s+information -> MED + ^\s*$$ + ^. -> Error + +SystemDescription + ^${SYSTEM_DESCRIPTION} -> IgnoreDescription + +IgnoreDescription + ^System\s+capabilities\s+supported -> Start + ^${SYSTEM_DESCRIPTION} + ^\s*$$ + ^.*$$ -> Error + +MED + ^Device\s+class + ^HardwareRev + ^FirmwareRev + ^SoftwareRev + ^SerialNum\s+:${SERIAL} + ^Manufacturer\s+name\s+:${MANUFACTURER_NAME}\s*$$ + ^Model\s+name\s+:${MODEL_NAME}\s*$$ + ^Asset\s+tracking + ^Media\s+policy\s+type + ^Unknown\s+Policy + ^VLAN\s+tagged + ^Media + ^Power + ^PoE + ^Port\s+PSE\s+Priority + ^Port\s+Available\s+power + ^Location\s+format + ^Location\s+information + ^Ca + ^\S+\s+has\s+\d+\s+neighbors -> Record Start + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index a9ef7213c8..1ab3c27f79 100644 --- a/templates/index +++ b/templates/index @@ -325,6 +325,7 @@ hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, disp[[lay]] inter[[face]] br[[ief]] +huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, disp[[lay]] lldp nei[[ghbor]] huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, disp[[lay]] tem[[perature]] juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] diff --git a/tests/huawei_vrp/display_lldp_neighbor/huawei_vrp_display_lldp_neighbor.raw b/tests/huawei_vrp/display_lldp_neighbor/huawei_vrp_display_lldp_neighbor.raw new file mode 100644 index 0000000000..3721c468bb --- /dev/null +++ b/tests/huawei_vrp/display_lldp_neighbor/huawei_vrp_display_lldp_neighbor.raw @@ -0,0 +1,146 @@ +iGigabitEthernet0/0/0 has 0 neighbors + +GigabitEthernet0/0/1 has 1 neighbors: + +Neighbor index : 1 +Chassis type :macAddress +Chassis ID :f55f-c2c5-e180 +Port ID type :interfaceName +Port ID :Gi1/0/1 +Port description :GigabitEthernet1/0/1 +System name :tsa-2960-sw01 +System description :Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 12.2(55)SE7, RELEASE SOFTWARE (fc1) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2013 by Cisco Systems, Inc. +Compiled Mon 28-Jan-13 10:28 by prod_rel_team +System capabilities supported :bridge router +System capabilities enabled :bridge +Management address type :ipV4 +Management address : 192.168.0.240 +Expired time :102s + +Port VLAN ID(PVID) :1 +Protocol identity : + +Auto-negotiation supported :Yes +Auto-negotiation enabled :Yes +OperMau :speed(1000)/duplex(Full) + +Power port class :PD +PSE power supported :No +PSE power enabled :No +PSE pairs control ability:No +Power pairs :Unknown +Port power classification:Unknown + +Link aggregation supported:No +Link aggregation enabled :No +Aggregation port ID :0 +Maximum frame Size :0 + +MED Device information +Device class :Network Connectivity + +HardwareRev :WS-C2960S-48LPS-L (PowerPC):F0 +FirmwareRev :NA +SoftwareRev :12.2(55)SE7 +SerialNum :NA +Manufacturer name :Cisco Systems, Inc. +Model name :WS-C2960S-48LPS-L +Asset tracking identifier :NA + +Media policy type :Voice +Unknown Policy :Unknown +VLAN tagged :No +Media policy VlanID :0 +Media policy L2 priority :0 +Media policy Dscp :0 + +Power Type :PSE +PoE PSE power source :PSE +Port PSE Priority :Low +Port Available power value:0 + +Location format :Civic Address LCI +Location information:what(LLDP-MED Endpoint) country( ) +Ca type Ca value +GigabitEthernet0/0/2 has 0 neighbors + +GigabitEthernet0/0/3 has 0 neighbors + +GigabitEthernet0/0/4 has 0 neighbors + +GigabitEthernet0/0/5 has 0 neighbors + +GigabitEthernet0/0/6 has 0 neighbors + +GigabitEthernet0/0/7 has 0 neighbors + +GigabitEthernet0/0/8 has 1 neighbors: + +Neighbor index : 1 +Chassis type :macAddress +Chassis ID :f41f-c2c5-e180 +Port ID type :interfaceName +Port ID :Gi1/0/2 +Port description :GigabitEthernet1/0/2 +System name :tsa-2960-sw01 +System description :Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 12.2(55)SE7, RELEASE SOFTWARE (fc1) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2013 by Cisco Systems, Inc. +Compiled Mon 28-Jan-13 10:28 by prod_rel_team +System capabilities supported :bridge router +System capabilities enabled :bridge +Management address type :ipV4 +Management address : 192.168.0.241 +Expired time :102s + +Port VLAN ID(PVID) :1 +Protocol identity : + +Auto-negotiation supported :Yes +Auto-negotiation enabled :Yes +OperMau :speed(1000)/duplex(Full) + +Power port class :PD +PSE power supported :No +PSE power enabled :No +PSE pairs control ability:No +Power pairs :Unknown +Port power classification:Unknown + +Link aggregation supported:No +Link aggregation enabled :No +Aggregation port ID :0 +Maximum frame Size :0 + +MED Device information +Device class :Network Connectivity + +HardwareRev :WS-C2960S-48LPS-L (PowerPC):F0 +FirmwareRev :NA +SoftwareRev :12.2(55)SE7 +SerialNum :NA +Manufacturer name :Cisco Systems, Inc. +Model name :WS-C2960S-48LPS-L +Asset tracking identifier :NA + +Media policy type :Voice +Unknown Policy :Unknown +VLAN tagged :No +Media policy VlanID :0 +Media policy L2 priority :0 +Media policy Dscp :0 + +Power Type :PSE +PoE PSE power source :PSE +Port PSE Priority :Low +Port Available power value:0 + +Location format :Civic Address LCI +Location information:what(LLDP-MED Endpoint) country( ) +Ca type Ca value + +GigabitEthernet0/0/9 has 0 neighbors + +GigabitEthernet0/0/10 has 0 neighbors diff --git a/tests/huawei_vrp/display_lldp_neighbor/huawei_vrp_display_lldp_neighbor.yml b/tests/huawei_vrp/display_lldp_neighbor/huawei_vrp_display_lldp_neighbor.yml new file mode 100644 index 0000000000..db45bc2fda --- /dev/null +++ b/tests/huawei_vrp/display_lldp_neighbor/huawei_vrp_display_lldp_neighbor.yml @@ -0,0 +1,36 @@ +--- +parsed_sample: + - local_interface: "GigabitEthernet0/0/1" + chassis_id: "f55f-c2c5-e180" + manufacturer_name: "Cisco Systems, Inc." + model_name: "WS-C2960S-48LPS-L" + neighbor_port_id: "Gi1/0/1" + neighbor_interface: "GigabitEthernet1/0/1" + neighbor: "tsa-2960-sw01" + system_description: + - "Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 12.2(55)SE7,\ + \ RELEASE SOFTWARE (fc1)" + - "Technical Support: http://www.cisco.com/techsupport" + - "Copyright (c) 1986-2013 by Cisco Systems, Inc." + - "Compiled Mon 28-Jan-13 10:28 by prod_rel_team" + capabilities: "bridge" + management_ip: "192.168.0.240" + vlan: "1" + serial: "NA" + - local_interface: "GigabitEthernet0/0/8" + chassis_id: "f41f-c2c5-e180" + manufacturer_name: "Cisco Systems, Inc." + model_name: "WS-C2960S-48LPS-L" + neighbor_port_id: "Gi1/0/2" + neighbor_interface: "GigabitEthernet1/0/2" + neighbor: "tsa-2960-sw01" + system_description: + - "Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 12.2(55)SE7,\ + \ RELEASE SOFTWARE (fc1)" + - "Technical Support: http://www.cisco.com/techsupport" + - "Copyright (c) 1986-2013 by Cisco Systems, Inc." + - "Compiled Mon 28-Jan-13 10:28 by prod_rel_team" + capabilities: "bridge" + management_ip: "192.168.0.241" + vlan: "1" + serial: "NA" From 1b90f05fe3f14544c66f460677e9539afdd94e5c Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 24 Jan 2020 21:33:21 -0700 Subject: [PATCH 363/628] New Template: Cisco WLC show wlan summary (#581) --- templates/cisco_wlc_ssh_show_wlan_sum.textfsm | 16 +++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_wlan_sum.raw | 8 ++++++++ .../cisco_wlc_ssh_show_wlan_sum.yml | 20 +++++++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_wlan_sum.textfsm create mode 100644 tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum.raw create mode 100644 tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum.yml diff --git a/templates/cisco_wlc_ssh_show_wlan_sum.textfsm b/templates/cisco_wlc_ssh_show_wlan_sum.textfsm new file mode 100644 index 0000000000..23810a8059 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_wlan_sum.textfsm @@ -0,0 +1,16 @@ +Value WLANID (\d+) +Value PROFILE (.+?) +Value SSID (.+?) +Value STATUS (Enabled|Disabled) +Value INTERFACE (\w+(.?\w+)+) +Value PMIP_MOBILITY (\S+) + + +Start + ^Number\s+of\s+WLANs + ^WLAN\s+ID\s+WLAN\s+Profile\s+Name\s+\/\s+SSID\s+Status\s+Interface\s+Name\s+PMIPv6\s+Mobility\s*$$ + ^-------\s+ + ^${WLANID}\s+${PROFILE}\s/\s${SSID}\s+${STATUS}\s+${INTERFACE}\s+${PMIP_MOBILITY}\s*$$ -> Record + ^\s*$$ + ^. -> Error + diff --git a/templates/index b/templates/index index 1ab3c27f79..22425efb1d 100644 --- a/templates/index +++ b/templates/index @@ -259,6 +259,7 @@ cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] +cisco_wlc_ssh_show_wlan_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] wl[[an]] s[[ummary]] cisco_wlc_ssh_show_802.11a.textfsm, .*, cisco_wlc_ssh, show 802\.11[ab] cisco_wlc_ssh_show_sysinfo.textfsm, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] diff --git a/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum.raw b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum.raw new file mode 100644 index 0000000000..5474438be5 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum.raw @@ -0,0 +1,8 @@ + +Number of WLANs.................................. 3 + +WLAN ID WLAN Profile Name / SSID Status Interface Name PMIPv6 Mobility +------- ----------------------------------------------------------------------- -------- -------------------- --------------- +17 Test_lab / Test_lab Enabled office_wireless none +18 Public_lab / Public_lab Enabled publicwifi none +19 C_Fabric_test / C_Fabric_test Disabled management none diff --git a/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum.yml b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum.yml new file mode 100644 index 0000000000..929c50f97d --- /dev/null +++ b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - wlanid: "17" + profile: "Test_lab" + ssid: "Test_lab" + status: "Enabled" + interface: "office_wireless" + pmip_mobility: "none" + - wlanid: "18" + profile: "Public_lab" + ssid: "Public_lab" + status: "Enabled" + interface: "publicwifi" + pmip_mobility: "none" + - wlanid: "19" + profile: "C_Fabric_test" + ssid: "C_Fabric_test" + status: "Disabled" + interface: "management" + pmip_mobility: "none" From 7f46977f7b48f7d729b5d069714ccf47af527ef8 Mon Sep 17 00:00:00 2001 From: Heine Melo <41089692+hijm@users.noreply.github.com> Date: Sat, 25 Jan 2020 12:20:59 -0600 Subject: [PATCH 364/628] New Template Pull Request - cisco_xr_show_interfaces_summary (#580) --- .../cisco_xr_show_interfaces_summary.textfsm | 12 ++++++ templates/index | 1 + .../cisco_xr_show_interfaces_summary.raw | 11 ++++++ .../cisco_xr_show_interfaces_summary.yml | 37 +++++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 templates/cisco_xr_show_interfaces_summary.textfsm create mode 100644 tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.raw create mode 100644 tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.yml diff --git a/templates/cisco_xr_show_interfaces_summary.textfsm b/templates/cisco_xr_show_interfaces_summary.textfsm new file mode 100644 index 0000000000..5d7e52b6f7 --- /dev/null +++ b/templates/cisco_xr_show_interfaces_summary.textfsm @@ -0,0 +1,12 @@ +Value INTF_TYPE (ALL TYPES|IFT_ETHERBUNDLE|IFT_HUNDREDGE|IFT_LOOPBACK|IFT_ETHERNET|IFT_NULL|IFT_TENGETHERNET) +Value TOTAL (\d+) +Value UP (\S+) +Value DOWN (\S+) +Value ADMIN_DOWN (\S+) + +Start + ^Interface\s+Type\s+Total\s+UP\s+\Down\s+Admin\s+Down\s*$$ + ^---- + ^${INTF_TYPE}+\s+${TOTAL}\s+${UP}\s+${DOWN}\s+${ADMIN_DOWN} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 22425efb1d..5bbd3f556f 100644 --- a/templates/index +++ b/templates/index @@ -280,6 +280,7 @@ cisco_xr_admin_show_environment_fan.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] en cisco_xr_show_cdp_neighbors_detail.textfsm, .*, cisco_xr, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_xr_show_controllers_all_phy.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] (\S+) ph[[y]] cisco_xr_show_cef_drops_location.textfsm, .*, cisco_xr, sh[[ow]] cef drops loc[[ation]] +cisco_xr_show_interfaces_summary.textfsm, .*, cisco_xr, sh[[ow]] int[[erfaces]] summ[[ary]] cisco_xr_show_ip_interface_brief.textfsm, .*, cisco_xr, sh[[ow]] ip int[[erface]] br[[ief]] cisco_xr_show_redundancy_summary.textfsm, .*, cisco_xr, sh[[ow]] redun[[dancy]] summ[[ary]] cisco_xr_admin_show_inventory.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] inven[[tory]] diff --git a/tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.raw b/tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.raw new file mode 100644 index 0000000000..fb5f80623d --- /dev/null +++ b/tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.raw @@ -0,0 +1,11 @@ +Interface Type Total UP Down Admin Down +-------------- ----- -- ---- ---------- +ALL TYPES 81 51 0 30 +-------------- +IFT_ETHERBUNDLE 11 11 0 0 +IFT_HUNDREDGE 26 2 0 24 +IFT_LOOPBACK 1 1 0 0 +IFT_ETHERNET 2 0 0 2 +IFT_NULL 1 1 0 0 +IFT_TENGETHERNET 40 36 0 4 + diff --git a/tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.yml b/tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.yml new file mode 100644 index 0000000000..10a4d8e437 --- /dev/null +++ b/tests/cisco_xr/show_interfaces_summary/cisco_xr_show_interfaces_summary.yml @@ -0,0 +1,37 @@ +--- +parsed_sample: + - intf_type: "ALL TYPES" + total: "81" + up: "51" + down: "0" + admin_down: "30" + - intf_type: "IFT_ETHERBUNDLE" + total: "11" + up: "11" + down: "0" + admin_down: "0" + - intf_type: "IFT_HUNDREDGE" + total: "26" + up: "2" + down: "0" + admin_down: "24" + - intf_type: "IFT_LOOPBACK" + total: "1" + up: "1" + down: "0" + admin_down: "0" + - intf_type: "IFT_ETHERNET" + total: "2" + up: "0" + down: "0" + admin_down: "2" + - intf_type: "IFT_NULL" + total: "1" + up: "1" + down: "0" + admin_down: "0" + - intf_type: "IFT_TENGETHERNET" + total: "40" + up: "36" + down: "0" + admin_down: "4" From bb570c39a3b1d72b4cabf7074c27593d168b30c9 Mon Sep 17 00:00:00 2001 From: Jeremy Schulman Date: Mon, 27 Jan 2020 00:08:41 -0500 Subject: [PATCH 365/628] BugFix: NXOS show int transciever - remove "type" requirement (#582) --- .../cisco_nxos_show_interface_transceiver.textfsm | 14 +++++++------- .../cisco_nxos_show_interface_transceiver.raw | 15 +++++++++++++++ .../cisco_nxos_show_interface_transceiver.yml | 5 +++++ 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/templates/cisco_nxos_show_interface_transceiver.textfsm b/templates/cisco_nxos_show_interface_transceiver.textfsm index 98ef11cebb..b08ecc2019 100644 --- a/templates/cisco_nxos_show_interface_transceiver.textfsm +++ b/templates/cisco_nxos_show_interface_transceiver.textfsm @@ -1,21 +1,21 @@ Value INTERFACE (\S+/\S+) Value MANUFACTURER (\S+) -Value Required TYPE (.+) +Value TYPE (.+) Value SERIAL (\S+) Value PART_NUMBER (\S+) Start - ^\S+/\S+ -> Continue.Record ^${INTERFACE} - ^\s+type\s+is\s+${TYPE} - ^\s+name\s+is\s+${MANUFACTURER} - ^\s+part\s+number\s+is\s+${PART_NUMBER} - ^\s+serial\s+number\s+is\s+${SERIAL} + ^\s+transceiver is not -> Clear + ^\s+type\s+is(\s+${TYPE})? + ^\s+name\s+is(\s+${MANUFACTURER})? + ^\s+part\s+number\s+is(\s+${PART_NUMBER})? + ^\s+serial\s+number\s+is(\s+${SERIAL})? ^\s+transceiver\s+ ^\s+nominal\s+ ^\s+revision\s+ ^\s+Link\s+ ^\s+cisco\s+id ^\s+cisco\s+extended - ^\s*$$ + ^\s*$$ -> Record ^. -> Error diff --git a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw index bbc21829f5..9ee17a7a94 100644 --- a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw +++ b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw @@ -69,3 +69,18 @@ Ethernet1/45 Link length supported for 9/125um fiber is 10 km cisco id is -- cisco extended id number is 4 + +Ethernet1/46 + transceiver is not applicable + +Ethernet1/47 + transceiver is present + type is + name is Arista Networks + part number is QSFP-40G-LR4-AR + revision is -- + serial number is AROOGAH + nominal bitrate is 10300 MBit/sec + Link length supported for SMF fiber is 10 km + cisco id is -- + cisco extended id number is 196 \ No newline at end of file diff --git a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml index 6cde7235c1..1c16a1dd5a 100644 --- a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml +++ b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml @@ -25,3 +25,8 @@ parsed_sample: type: "SFP-1000base-LH" serial: "FNS9876543" part_number: "FTLF5432P2BCL-C2" + - interface: Ethernet1/47 + type: '' + manufacturer: "Arista" + part_number: "QSFP-40G-LR4-AR" + serial: "AROOGAH" From c8bc3ecabdb0f2dc4029645906570c155ba46872 Mon Sep 17 00:00:00 2001 From: kwrobert Date: Wed, 29 Jan 2020 17:07:53 -0500 Subject: [PATCH 366/628] Bug Fix: Cisco IOS show mac address-table (#585) --- .../cisco_ios_show_mac-address-table.textfsm | 3 +- .../cisco_ios_show_mac-address-table8.raw | 75 +++++++ .../cisco_ios_show_mac-address-table8.yml | 198 ++++++++++++++++++ 3 files changed, 275 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.raw create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml diff --git a/templates/cisco_ios_show_mac-address-table.textfsm b/templates/cisco_ios_show_mac-address-table.textfsm index 84e2cb0111..cd8d8b636e 100644 --- a/templates/cisco_ios_show_mac-address-table.textfsm +++ b/templates/cisco_ios_show_mac-address-table.textfsm @@ -22,7 +22,8 @@ TYPE1 ^. -> Error TYPE2 - ^[\*|\s]\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT} -> Record + # Order of the group in brackets here matters + ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT} -> Record ^-+\+-+ ^Displaying\s+entries ^\s+vlan\s+mac address\s+type\s+learn\s+age\s+ports diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.raw new file mode 100644 index 0000000000..cfd74f3d2f --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.raw @@ -0,0 +1,75 @@ + + +Legend: * - primary entry + age - seconds since last seen + n/a - not available + S - secure entry + R - router's gateway mac address entry + D - Duplicate mac address entry + # - Fabric mac address entry. Clear mac cli doesn't clear this entry + +Displaying entries from active supervisor: Earl [1]: + + vlan mac address type learn age ports +-----+----+---------------+-------+-----+----------+----------------------------- + 40 a099.9b05.ffaf dynamic Yes 280 Te1/8 + R 51 006c.bc1c.a865 static No - Router + 65 701f.5385.b307 dynamic Yes 280 Te1/4 + 53 0050.b68e.1efd dynamic Yes 280 Te1/2 + * 49 70cd.604c.523c dynamic Yes 0 Te1/29 + 65 701f.5385.b318 dynamic Yes 280 Te1/4 + 40 e033.8ebe.f149 dynamic Yes 280 Te1/8 + 64 701f.534c.5bbd dynamic Yes 280 Te1/3 + 53 f80d.609c.cf1c dynamic Yes 280 Te1/2 + 64 701f.534c.5ba0 dynamic Yes 280 Te1/3 + 44 006c.bc1c.6aa7 dynamic Yes 280 Po1 + + +Displaying entries from active supervisor: Earl [2]: + + vlan mac address type learn age ports +-----+----+---------------+-------+-----+----------+----------------------------- + * 40 a099.9b05.ffaf dynamic Yes 0 Te1/8 + * R 51 006c.bc1c.a865 static No - Router + * 65 701f.5385.b307 dynamic Yes 10 Te1/4 + * 53 0050.b68e.1efd dynamic Yes 0 Te1/2 + 49 70cd.604c.523c dynamic Yes 280 Te1/29 + * 65 701f.5385.b318 dynamic Yes 0 Te1/4 + * 40 e033.8ebe.f149 dynamic Yes 20 Te1/8 + * 45 58b1.0f81.4b32 dynamic Yes 130 Te1/8 + * 40 6c96.cfdd.d70f dynamic Yes 0 Te1/8 + * 64 701f.534c.5bd3 dynamic Yes 0 Te1/3 + * 65 701f.5385.b32b dynamic Yes 25 Te1/3 + * 68 701f.534c.5b60 dynamic Yes 15 Te1/6 + * 64 701f.534c.5bbd dynamic Yes 15 Te1/3 + * 53 f80d.609c.cf1c dynamic Yes 5 Te1/2 + * 64 701f.534c.5ba0 dynamic Yes 5 Te1/3 + 44 006c.bc1c.6aa7 dynamic Yes 280 Po1 + * 69 0072.78de.5b2f dynamic Yes 15 Te1/6 + * 63 701f.5385.b259 dynamic Yes 10 Te1/2 + * 40 acbc.32be.0a99 dynamic Yes 0 Te1/8 + * 57 3ce1.a146.fd6e dynamic Yes 0 Te1/5 + + +Displaying entries from active supervisor: Earl [3]: + + vlan mac address type learn age ports +-----+----+---------------+-------+-----+----------+----------------------------- + 40 a099.9b05.ffaf dynamic Yes 280 Te1/8 + R 51 006c.bc1c.a865 static No - Router + 65 701f.5385.b307 dynamic Yes 280 Te1/4 + 53 0050.b68e.1efd dynamic Yes 280 Te1/2 + 49 70cd.604c.523c dynamic Yes 280 Te1/29 + 65 701f.5385.b318 dynamic Yes 280 Te1/4 + 63 701f.534c.5ec1 dynamic Yes 280 Te1/2 + 64 701f.534c.5bb5 dynamic Yes 280 Te1/3 + 68 701f.534c.5b60 dynamic Yes 280 Te1/6 + 64 701f.534c.5bbd dynamic Yes 280 Te1/3 + 53 f80d.609c.cf1c dynamic Yes 280 Te1/2 + 64 701f.534c.5ba0 dynamic Yes 280 Te1/3 + * 44 006c.bc1c.6aa7 dynamic Yes 0 Po1 + 69 0072.78de.5b2f dynamic Yes 280 Te1/6 + 63 701f.5385.b259 dynamic Yes 280 Te1/2 + 40 acbc.32be.0a99 dynamic Yes 280 Te1/8 + 57 3ce1.a146.fd6e dynamic Yes 280 Te1/5 + 67 701f.534c.643e dynamic Yes 280 Te1/5 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml new file mode 100644 index 0000000000..7e1c30fe9f --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml @@ -0,0 +1,198 @@ +--- +parsed_sample: + - destination_address: "a099.9b05.ffaf" + type: "dynamic" + vlan: "40" + destination_port: "Te1/8" + - destination_address: "006c.bc1c.a865" + type: "static" + vlan: "51" + destination_port: "Router" + - destination_address: "701f.5385.b307" + type: "dynamic" + vlan: "65" + destination_port: "Te1/4" + - destination_address: "0050.b68e.1efd" + type: "dynamic" + vlan: "53" + destination_port: "Te1/2" + - destination_address: "70cd.604c.523c" + type: "dynamic" + vlan: "49" + destination_port: "Te1/29" + - destination_address: "701f.5385.b318" + type: "dynamic" + vlan: "65" + destination_port: "Te1/4" + - destination_address: "e033.8ebe.f149" + type: "dynamic" + vlan: "40" + destination_port: "Te1/8" + - destination_address: "701f.534c.5bbd" + type: "dynamic" + vlan: "64" + destination_port: "Te1/3" + - destination_address: "f80d.609c.cf1c" + type: "dynamic" + vlan: "53" + destination_port: "Te1/2" + - destination_address: "701f.534c.5ba0" + type: "dynamic" + vlan: "64" + destination_port: "Te1/3" + - destination_address: "006c.bc1c.6aa7" + type: "dynamic" + vlan: "44" + destination_port: "Po1" + - destination_address: "a099.9b05.ffaf" + type: "dynamic" + vlan: "40" + destination_port: "Te1/8" + - destination_address: "006c.bc1c.a865" + type: "static" + vlan: "51" + destination_port: "Router" + - destination_address: "701f.5385.b307" + type: "dynamic" + vlan: "65" + destination_port: "Te1/4" + - destination_address: "0050.b68e.1efd" + type: "dynamic" + vlan: "53" + destination_port: "Te1/2" + - destination_address: "70cd.604c.523c" + type: "dynamic" + vlan: "49" + destination_port: "Te1/29" + - destination_address: "701f.5385.b318" + type: "dynamic" + vlan: "65" + destination_port: "Te1/4" + - destination_address: "e033.8ebe.f149" + type: "dynamic" + vlan: "40" + destination_port: "Te1/8" + - destination_address: "58b1.0f81.4b32" + type: "dynamic" + vlan: "45" + destination_port: "Te1/8" + - destination_address: "6c96.cfdd.d70f" + type: "dynamic" + vlan: "40" + destination_port: "Te1/8" + - destination_address: "701f.534c.5bd3" + type: "dynamic" + vlan: "64" + destination_port: "Te1/3" + - destination_address: "701f.5385.b32b" + type: "dynamic" + vlan: "65" + destination_port: "Te1/3" + - destination_address: "701f.534c.5b60" + type: "dynamic" + vlan: "68" + destination_port: "Te1/6" + - destination_address: "701f.534c.5bbd" + type: "dynamic" + vlan: "64" + destination_port: "Te1/3" + - destination_address: "f80d.609c.cf1c" + type: "dynamic" + vlan: "53" + destination_port: "Te1/2" + - destination_address: "701f.534c.5ba0" + type: "dynamic" + vlan: "64" + destination_port: "Te1/3" + - destination_address: "006c.bc1c.6aa7" + type: "dynamic" + vlan: "44" + destination_port: "Po1" + - destination_address: "0072.78de.5b2f" + type: "dynamic" + vlan: "69" + destination_port: "Te1/6" + - destination_address: "701f.5385.b259" + type: "dynamic" + vlan: "63" + destination_port: "Te1/2" + - destination_address: "acbc.32be.0a99" + type: "dynamic" + vlan: "40" + destination_port: "Te1/8" + - destination_address: "3ce1.a146.fd6e" + type: "dynamic" + vlan: "57" + destination_port: "Te1/5" + - destination_address: "a099.9b05.ffaf" + type: "dynamic" + vlan: "40" + destination_port: "Te1/8" + - destination_address: "006c.bc1c.a865" + type: "static" + vlan: "51" + destination_port: "Router" + - destination_address: "701f.5385.b307" + type: "dynamic" + vlan: "65" + destination_port: "Te1/4" + - destination_address: "0050.b68e.1efd" + type: "dynamic" + vlan: "53" + destination_port: "Te1/2" + - destination_address: "70cd.604c.523c" + type: "dynamic" + vlan: "49" + destination_port: "Te1/29" + - destination_address: "701f.5385.b318" + type: "dynamic" + vlan: "65" + destination_port: "Te1/4" + - destination_address: "701f.534c.5ec1" + type: "dynamic" + vlan: "63" + destination_port: "Te1/2" + - destination_address: "701f.534c.5bb5" + type: "dynamic" + vlan: "64" + destination_port: "Te1/3" + - destination_address: "701f.534c.5b60" + type: "dynamic" + vlan: "68" + destination_port: "Te1/6" + - destination_address: "701f.534c.5bbd" + type: "dynamic" + vlan: "64" + destination_port: "Te1/3" + - destination_address: "f80d.609c.cf1c" + type: "dynamic" + vlan: "53" + destination_port: "Te1/2" + - destination_address: "701f.534c.5ba0" + type: "dynamic" + vlan: "64" + destination_port: "Te1/3" + - destination_address: "006c.bc1c.6aa7" + type: "dynamic" + vlan: "44" + destination_port: "Po1" + - destination_address: "0072.78de.5b2f" + type: "dynamic" + vlan: "69" + destination_port: "Te1/6" + - destination_address: "701f.5385.b259" + type: "dynamic" + vlan: "63" + destination_port: "Te1/2" + - destination_address: "acbc.32be.0a99" + type: "dynamic" + vlan: "40" + destination_port: "Te1/8" + - destination_address: "3ce1.a146.fd6e" + type: "dynamic" + vlan: "57" + destination_port: "Te1/5" + - destination_address: "701f.534c.643e" + type: "dynamic" + vlan: "67" + destination_port: "Te1/5" From 4e0a8d6dc07ee4586f7c0289c096402cdcfe36a0 Mon Sep 17 00:00:00 2001 From: kwrobert Date: Wed, 29 Jan 2020 17:14:43 -0500 Subject: [PATCH 367/628] Bug Fix: IOS sh int switchport - capture additional output (#587) --- ...sco_ios_show_interfaces_switchport.textfsm | 2 + ...s_show_interfaces_switchport_ethertype.raw | 509 +++++++++++ ...s_show_interfaces_switchport_ethertype.yml | 222 +++++ ...how_interfaces_switchport_vepa_enabled.raw | 844 ++++++++++++++++++ ...how_interfaces_switchport_vepa_enabled.yml | 412 +++++++++ 5 files changed, 1989 insertions(+) create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.raw create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.raw create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml diff --git a/templates/cisco_ios_show_interfaces_switchport.textfsm b/templates/cisco_ios_show_interfaces_switchport.textfsm index ad84de8974..fcde9f252e 100644 --- a/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -27,7 +27,9 @@ Start ^\s*Capture\s+(?:Mode|VLANs) ^\s*Protected ^\s*Unknown\s+(unicast|multicast) + ^\s*Vepa\s+Enabled ^\s*Appliance\s+trust + ^\s*Operational\s+Dot1q\s+Ethertype ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.raw new file mode 100644 index 0000000000..fe9e0aaf2d --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.raw @@ -0,0 +1,509 @@ +Name: Te1/1 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 46-48,50,51,60,61,72,73 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/2 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 46-48,52,53,62,63,72,73 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/3 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 46-49,54,55,64,65,72,73 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/4 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 46-49,55,65,72,232 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/5 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 46,48,56,57,66,67,72,73 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/6 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 46-48,58,59,68,69,72,73 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/7 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: Off +Access Mode VLAN: 64 (7th-flr-voice-East) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/8 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 40,45,48 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/10 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 990 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/17 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 40,48 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/21 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: down (suspended member of bundle Po2) +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 72,99 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/23 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk (member of bundle Po1) +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 40,44,46-69,71-73,90,99,232,990 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/24 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk (member of bundle Po1) +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 40,44,46-69,71-73,90,99,232,990 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/25 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: Off +Access Mode VLAN: 49 (Server) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/26 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 90 (MPLS_WAN) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/27 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: Off +Access Mode VLAN: 49 (Server) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/29 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: Off +Access Mode VLAN: 49 (Server) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/32 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/36 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 99 (inside) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Te1/40 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: down (suspended member of bundle Po2) +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 72,99 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Po1 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Operational Dot1q Ethertype: 0x8100 +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 40,44,46-69,71-73,90,99,232,990 +Pruning VLANs Enabled: 2-1001 + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled + +Name: Po2 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: unassigned +Trunking Native Mode VLAN: 0 (Inactive) +Administrative Native VLAN tagging: enabled +Operational Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Operational private-vlan: none +Trunking VLANs Enabled: 72,99 +Pruning VLANs Enabled: 2-1001 + +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml new file mode 100644 index 0000000000..06a794694e --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml @@ -0,0 +1,222 @@ +--- +parsed_sample: + - interface: "Te1/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "46-48,50,51,60,61,72,73" + - interface: "Te1/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "46-48,52,53,62,63,72,73" + - interface: "Te1/3" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "46-49,54,55,64,65,72,73" + - interface: "Te1/4" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "46-49,55,65,72,232" + - interface: "Te1/5" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "46,48,56,57,66,67,72,73" + - interface: "Te1/6" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "46-48,58,59,68,69,72,73" + - interface: "Te1/7" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "64" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Te1/8" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "40,45,48" + - interface: "Te1/10" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "990" + - interface: "Te1/17" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "down" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "40,48" + - interface: "Te1/21" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "down (suspended member of bundle Po2)" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "72,99" + - interface: "Te1/23" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk (member of bundle Po1)" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "40,44,46-69,71-73,90,99,232,990" + - interface: "Te1/24" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk (member of bundle Po1)" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "40,44,46-69,71-73,90,99,232,990" + - interface: "Te1/25" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "49" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Te1/26" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "90" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Te1/27" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "49" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Te1/29" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "49" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Te1/32" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Te1/36" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "99" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Te1/40" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "down (suspended member of bundle Po2)" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "72,99" + - interface: "Po1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "40,44,46-69,71-73,90,99,232,990" + - interface: "Po2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "down" + admin_mode: "trunk" + access_vlan: "unassigned" + native_vlan: "0" + voice_vlan: "none" + trunking_vlans: "72,99" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.raw new file mode 100644 index 0000000000..0c60ee8b61 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.raw @@ -0,0 +1,844 @@ +Name: Gi1/0/1 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/2 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/3 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/4 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/5 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/6 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/7 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/8 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/9 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/10 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/11 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/12 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/13 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/14 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/15 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/16 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/17 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/18 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/19 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/20 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/21 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/22 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 80 (Security) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/23 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk (member of bundle Po5) +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 57,80 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/0/24 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk (member of bundle Po5) +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 57,80 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none + +Name: Gi1/1/1 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Gi1/1/2 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Gi1/1/3 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Gi1/1/4 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Te1/1/1 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Te1/1/2 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Te1/1/3 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Te1/1/4 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Te1/1/5 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Te1/1/6 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Te1/1/7 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Te1/1/8 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Fo1/1/1 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Fo1/1/2 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Twe1/1/1 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Twe1/1/2 +Switchport: Enabled +Administrative Mode: dynamic auto + + +Name: Po5 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 57,80 +Pruning VLANs Enabled: 2-1001 + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml new file mode 100644 index 0000000000..a3350825a8 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml @@ -0,0 +1,412 @@ +--- +parsed_sample: + - interface: "Gi1/0/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/3" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/4" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/5" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/6" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/7" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/8" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/9" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/10" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/11" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/12" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/13" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/14" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/15" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/16" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/17" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/18" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/19" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/20" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/21" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/22" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "80" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "ALL" + - interface: "Gi1/0/23" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk (member of bundle Po5)" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "57,80" + - interface: "Gi1/0/24" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk (member of bundle Po5)" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "57,80" + - interface: "Gi1/1/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Gi1/1/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Gi1/1/3" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Gi1/1/4" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Te1/1/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Te1/1/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Te1/1/3" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Te1/1/4" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Te1/1/5" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Te1/1/6" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Te1/1/7" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Te1/1/8" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Fo1/1/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Fo1/1/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Twe1/1/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Twe1/1/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "" + mode: "" + admin_mode: "dynamic auto" + access_vlan: "" + native_vlan: "" + voice_vlan: "" + trunking_vlans: "" + - interface: "Po5" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: "57,80" From fda44b3ef1f516ae92f461e598a84a0e96079a26 Mon Sep 17 00:00:00 2001 From: Marc Sommerhalder Date: Thu, 30 Jan 2020 16:55:55 +0100 Subject: [PATCH 368/628] BugFix: Cisco show switch detail with mac persistency wait time (#584) --- .../cisco_ios_show_switch_detail.textfsm | 1 + .../cisco_ios_show_switch_detail3.raw | 19 +++++++++ .../cisco_ios_show_switch_detail3.yml | 42 +++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail3.raw create mode 100644 tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail3.yml diff --git a/templates/cisco_ios_show_switch_detail.textfsm b/templates/cisco_ios_show_switch_detail.textfsm index 4351a55bd0..38d0bfbc9c 100644 --- a/templates/cisco_ios_show_switch_detail.textfsm +++ b/templates/cisco_ios_show_switch_detail.textfsm @@ -7,6 +7,7 @@ Value STATE (.+?) Start ^Switch/Stack + ^Mac\s+persistency\s+wait\s+time ^\s+H/W\s+Current\s*$$ ^Switch#\s+Role\s+Mac\s+Address\s+Priority\s+Version\s+State\s*$$ ^\s*-+ -> Status diff --git a/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail3.raw b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail3.raw new file mode 100644 index 0000000000..af142ecf8e --- /dev/null +++ b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail3.raw @@ -0,0 +1,19 @@ +Switch/Stack Mac Address : cc98.9114.3580 - Local Mac Address +Mac persistency wait time: Indefinite + H/W Current +Switch# Role Mac Address Priority Version State +------------------------------------------------------------------------------------- +*1 Active cc98.9114.3580 15 V01 Ready + 2 Member 706b.b9c8.2380 2 V01 Ready + 3 Member a0f8.4911.c080 3 V01 Ready + 4 Standby cc98.911a.0800 8 V01 Ready + + + + Stack Port Status Neighbors +Switch# Port 1 Port 2 Port 1 Port 2 +-------------------------------------------------------- + 1 OK OK 2 4 + 2 OK OK 3 1 + 3 OK OK 4 2 + 4 OK OK 1 3 diff --git a/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail3.yml b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail3.yml new file mode 100644 index 0000000000..b3a04d683c --- /dev/null +++ b/tests/cisco_ios/show_switch_detail/cisco_ios_show_switch_detail3.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - switch: "1" + role: "Active" + mac_address: "cc98.9114.3580" + priority: "15" + version: "V01" + state: "Ready" + status1: "OK" + status2: "OK" + neighbor1: "2" + neighbor2: "4" + - switch: "2" + role: "Member" + mac_address: "706b.b9c8.2380" + priority: "2" + version: "V01" + state: "Ready" + status1: "OK" + status2: "OK" + neighbor1: "3" + neighbor2: "1" + - switch: "3" + role: "Member" + mac_address: "a0f8.4911.c080" + priority: "3" + version: "V01" + state: "Ready" + status1: "OK" + status2: "OK" + neighbor1: "4" + neighbor2: "2" + - switch: "4" + role: "Standby" + mac_address: "cc98.911a.0800" + priority: "8" + version: "V01" + state: "Ready" + status1: "OK" + status2: "OK" + neighbor1: "1" + neighbor2: "3" From c2837eb08768b711ff6ab0e7b54824caa7a6f782 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 4 Feb 2020 10:41:13 -0700 Subject: [PATCH 369/628] BugFix: arista_eos_show_ip_route: added new vrf format and secondary route catch (#589) --- templates/arista_eos_show_ip_route.textfsm | 6 +- .../arista_eos_show_ip_route2.raw | 11 + .../arista_eos_show_ip_route2.yml | 20 + .../arista_eos_show_ip_route_vrf.yml | 406 +++++++++--------- 4 files changed, 238 insertions(+), 205 deletions(-) create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.raw create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml diff --git a/templates/arista_eos_show_ip_route.textfsm b/templates/arista_eos_show_ip_route.textfsm index e0d2e3ec43..5f868edd52 100644 --- a/templates/arista_eos_show_ip_route.textfsm +++ b/templates/arista_eos_show_ip_route.textfsm @@ -2,14 +2,16 @@ Value Filldown VRF (\S+) Value Filldown PROTOCOL (\S+\s\S+?|\w?) Value Filldown NETWORK (\d+.\d+.\d+.\d+) Value Filldown MASK (\d+) -Value DISTANCE (\d+) -Value METRIC (\d+) +Value Filldown DISTANCE (\d+) +Value Filldown METRIC (\d+) Value DIRECT (directly) Value Required NEXT_HOP (connected|\d+\.\d+\.\d+\.\d+) Value INTERFACE (\S+) Start ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ -> Record + ^\s+via\s+${NEXT_HOP},\s+${INTERFACE} + ^VRF\s+name:\s+${VRF}\s*$$ ^VRF:\s+${VRF}\s*$$ ^Codes: # Match for codes diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.raw b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.raw new file mode 100644 index 0000000000..b0f6dcc5b5 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.raw @@ -0,0 +1,11 @@ +VRF name: default +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP, + R - RIP, I L1 - ISIS level 1, I L2 - ISIS level 2, + O3 - OSPFv3, A B - BGP Aggregate, A O - OSPF Summary, + NG - Nexthop Group Static Route, V - VXLAN Control Service + + B I 74.119.147.148/32 [200/0] via 199.229.255.31, Vlan70 + via 199.229.255.35, Vlan71 diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml new file mode 100644 index 0000000000..c6e6f0442a --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "B I" + network: "74.119.147.148" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "199.229.255.31" + interface: "Vlan70" + - vrf: "default" + protocol: "B I" + network: "74.119.147.148" + mask: "32" + distance: "200" + metric: "0" + direct: "" + next_hop: "199.229.255.35" + interface: "Vlan71" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml index b692772873..d2a03cebc4 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml @@ -1,344 +1,344 @@ --- parsed_sample: - - direct: "" - distance: "200" - interface: "Ethernet18" + - vrf: "default" + protocol: "B E" + network: "10.1.31.100" mask: "32" + distance: "200" metric: "0" - network: "10.1.31.100" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "default" + protocol: "B E" + network: "10.1.31.101" mask: "32" + distance: "200" metric: "0" - network: "10.1.31.101" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "directly" - distance: "" - interface: "Loopback100" + interface: "Ethernet18" + - vrf: "default" + protocol: "C" + network: "10.1.31.102" mask: "32" + distance: "" metric: "" - network: "10.1.31.102" + direct: "directly" next_hop: "connected" + interface: "Loopback100" + - vrf: "default" protocol: "C" - vrf: "default" - - direct: "directly" - distance: "" - interface: "Loopback10" + network: "10.1.31.200" mask: "32" + distance: "" metric: "" - network: "10.1.31.200" + direct: "directly" next_hop: "connected" - protocol: "C" - vrf: "default" - - direct: "" - distance: "200" - interface: "Ethernet18" + interface: "Loopback10" + - vrf: "default" + protocol: "B E" + network: "10.1.31.254" mask: "32" + distance: "200" metric: "0" - network: "10.1.31.254" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "directly" - distance: "" - interface: "Ethernet20" + interface: "Ethernet18" + - vrf: "default" + protocol: "C" + network: "10.63.255.8" mask: "30" + distance: "" metric: "" - network: "10.63.255.8" + direct: "directly" next_hop: "connected" - protocol: "C" - vrf: "default" - - direct: "" - distance: "200" - interface: "Ethernet18" + interface: "Ethernet20" + - vrf: "default" + protocol: "B E" + network: "10.100.22.52" mask: "30" + distance: "200" metric: "0" - network: "10.100.22.52" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "default" + protocol: "B E" + network: "10.100.22.56" mask: "30" + distance: "200" metric: "0" - network: "10.100.22.56" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "default" + protocol: "B E" + network: "10.100.233.11" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.11" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "default" + protocol: "B E" + network: "10.100.233.12" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.12" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "default" + protocol: "B E" + network: "10.100.233.15" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.15" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "directly" - distance: "" - interface: "Loopback0" + interface: "Ethernet18" + - vrf: "default" + protocol: "C" + network: "10.100.233.32" mask: "32" + distance: "" metric: "" - network: "10.100.233.32" + direct: "directly" next_hop: "connected" - protocol: "C" - vrf: "default" - - direct: "" - distance: "200" - interface: "Ethernet21" + interface: "Loopback0" + - vrf: "default" + protocol: "B E" + network: "10.100.233.34" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.34" + direct: "" next_hop: "192.168.38.5" + interface: "Ethernet21" + - vrf: "default" protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" - interface: "Ethernet18" + network: "10.100.233.50" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.50" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "default" + protocol: "B E" + network: "10.100.233.64" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.64" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "default" + protocol: "B E" + network: "10.100.233.66" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.66" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "default" + protocol: "B E" + network: "10.100.233.67" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.67" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "default" + protocol: "B E" + network: "10.100.233.68" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.68" + direct: "" next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "default" protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" - interface: "Ethernet20" + network: "10.100.233.192" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.192" + direct: "" next_hop: "10.63.255.10" + interface: "Ethernet20" + - vrf: "RED" protocol: "B E" - vrf: "default" - - direct: "" - distance: "200" - interface: "Ethernet18" + network: "10.1.31.100" mask: "32" + distance: "200" metric: "0" - network: "10.1.31.100" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "RED" + protocol: "B E" + network: "10.1.31.101" mask: "32" + distance: "200" metric: "0" - network: "10.1.31.101" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "directly" - distance: "" - interface: "Loopback100" + interface: "Ethernet18" + - vrf: "RED" + protocol: "C" + network: "10.1.31.102" mask: "32" + distance: "" metric: "" - network: "10.1.31.102" + direct: "directly" next_hop: "connected" + interface: "Loopback100" + - vrf: "RED" protocol: "C" - vrf: "RED" - - direct: "directly" - distance: "" - interface: "Loopback10" + network: "10.1.31.200" mask: "32" + distance: "" metric: "" - network: "10.1.31.200" + direct: "directly" next_hop: "connected" - protocol: "C" - vrf: "RED" - - direct: "" - distance: "200" - interface: "Ethernet18" + interface: "Loopback10" + - vrf: "RED" + protocol: "B E" + network: "10.1.31.254" mask: "32" + distance: "200" metric: "0" - network: "10.1.31.254" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "directly" - distance: "" - interface: "Ethernet20" + interface: "Ethernet18" + - vrf: "RED" + protocol: "C" + network: "10.63.255.8" mask: "30" + distance: "" metric: "" - network: "10.63.255.8" + direct: "directly" next_hop: "connected" - protocol: "C" - vrf: "RED" - - direct: "" - distance: "200" - interface: "Ethernet18" + interface: "Ethernet20" + - vrf: "RED" + protocol: "B E" + network: "10.100.22.52" mask: "30" + distance: "200" metric: "0" - network: "10.100.22.52" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "RED" + protocol: "B E" + network: "10.100.22.56" mask: "30" + distance: "200" metric: "0" - network: "10.100.22.56" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "RED" + protocol: "B E" + network: "10.100.233.11" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.11" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "RED" + protocol: "B E" + network: "10.100.233.12" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.12" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "RED" + protocol: "B E" + network: "10.100.233.15" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.15" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "directly" - distance: "" - interface: "Loopback0" + interface: "Ethernet18" + - vrf: "RED" + protocol: "C" + network: "10.100.233.32" mask: "32" + distance: "" metric: "" - network: "10.100.233.32" + direct: "directly" next_hop: "connected" - protocol: "C" - vrf: "RED" - - direct: "" - distance: "200" - interface: "Ethernet21" + interface: "Loopback0" + - vrf: "RED" + protocol: "B E" + network: "10.100.233.34" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.34" + direct: "" next_hop: "192.168.38.5" + interface: "Ethernet21" + - vrf: "RED" protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" - interface: "Ethernet18" + network: "10.100.233.50" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.50" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "RED" + protocol: "B E" + network: "10.100.233.64" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.64" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "RED" + protocol: "B E" + network: "10.100.233.66" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.66" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "RED" + protocol: "B E" + network: "10.100.233.67" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.67" + direct: "" next_hop: "192.168.17.5" - protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" interface: "Ethernet18" + - vrf: "RED" + protocol: "B E" + network: "10.100.233.68" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.68" + direct: "" next_hop: "192.168.17.5" + interface: "Ethernet18" + - vrf: "RED" protocol: "B E" - vrf: "RED" - - direct: "" - distance: "200" - interface: "Ethernet20" + network: "10.100.233.192" mask: "32" + distance: "200" metric: "0" - network: "10.100.233.192" + direct: "" next_hop: "10.63.255.10" - protocol: "B E" - vrf: "RED" + interface: "Ethernet20" From 96fec68cd35e3b40930267bde0333d74b90d56c3 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 4 Feb 2020 11:13:48 -0700 Subject: [PATCH 370/628] New Template: cisco_ios_show_ip_bgp_neighbors.textfsm (#590) --- .../cisco_ios_show_ip_bgp_neighbors.textfsm | 35 + templates/index | 1 + .../cisco_ios_show_ip_bgp_neighbors.raw | 97 ++ .../cisco_ios_show_ip_bgp_neighbors.yml | 11 + ...sco_ios_show_ip_bgp_neighbors_multiple.raw | 1226 +++++++++++++++++ ...sco_ios_show_ip_bgp_neighbors_multiple.yml | 110 ++ 6 files changed, 1480 insertions(+) create mode 100644 templates/cisco_ios_show_ip_bgp_neighbors.textfsm create mode 100644 tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.raw create mode 100644 tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml create mode 100644 tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.raw create mode 100644 tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml diff --git a/templates/cisco_ios_show_ip_bgp_neighbors.textfsm b/templates/cisco_ios_show_ip_bgp_neighbors.textfsm new file mode 100644 index 0000000000..92d799b27e --- /dev/null +++ b/templates/cisco_ios_show_ip_bgp_neighbors.textfsm @@ -0,0 +1,35 @@ +Value NEIGHBOR (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value REMOTE_AS (\d+) +Value PEER_GROUP (\S+) +Value REMOTE_ROUTER_ID (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value BGP_STATE (\w+) +Value LOCALHOST_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value LOCALHOST_PORT (\d+) +Value REMOTE_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value REMOTE_PORT (\d+) + +Start + # Capture first line, which shows the BGP neighor and remote AS number + ^BGP\s+neighbor\s+is -> Continue.Record + ^BGP\s+neighbor\s+is\s+${NEIGHBOR},\s+remote\s+AS\s+${REMOTE_AS} + # Capture BGP peer group + # Example: 'Member of peer-group RR_SERVERS for session parameters' + ^\s*Member\s+of\s+peer-group\s+${PEER_GROUP} + # + # Capture remote router ID + # Example: ' BGP state = Established, up for 7w3d' + ^.+remote\s+router\s+ID\s+${REMOTE_ROUTER_ID} + # + # Capture BGP state + # Example: ' BGP state = Established, up for 7w3d' + ^\s+BGP\s+state\s+=\s+${BGP_STATE} + # + # + # Match local host and port + # Example: 'Local host: 10.10.255.13, Local port: 39443' + ^Local\s+host:\s+${LOCALHOST_IP},\s+Local\s+port:\s+${LOCALHOST_PORT} + # + # Match local host and port + # Example: 'Local host: 10.10.255.13, Local port: 39443' + ^Foreign\s+host:\s+${REMOTE_IP},\s+Foreign\s+port:\s+${REMOTE_PORT} + #^.+ -> Error diff --git a/templates/index b/templates/index index 5bbd3f556f..026d9dddb6 100644 --- a/templates/index +++ b/templates/index @@ -155,6 +155,7 @@ cisco_ios_show_interfaces_status.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] m[[ac-address-table]] +cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] cisco_ios_show_ip_ospf_database.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] cisco_ios_show_ip_ospf_neighbor.textfsm, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]] diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.raw b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.raw new file mode 100644 index 0000000000..9c8ed5daa3 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.raw @@ -0,0 +1,97 @@ +BGP neighbor is 20.30.255.14, remote AS 1255, internal link + Member of peer-group RR_SERVERS for session parameters + BGP version 4, remote router ID 20.40.1.1 + BGP state = Established, up for 7w3d + Last read 00:00:24, last write 00:00:22, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Multisession Capability: + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 94 + Keepalives: 83823 84638 + Route Refresh: 0 0 + Total: 83825 84733 + Default minimum time between advertisement runs is 0 seconds + + For address family: IPv4 Unicast + Session: 20.30.255.14 + BGP table version 270, neighbor version 270/0 + Output queue size : 0 + Index 1, Advertise bit 0 + 1 update-group member + RR_SERVERS peer-group member + Inbound soft reconfiguration allowed + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 113 (Consumes 6328 bytes) + Prefixes Total: 0 217 + Implicit Withdraw: 0 52 + Explicit Withdraw: 0 52 + Used as bestpath: n/a 113 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Bestpath from this peer: 217 n/a + Invalid Path: 52 n/a + Total: 269 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + + Address tracking is enabled, the RIB does have a route to 20.30.255.14 + Connections established 1; dropped 0 + Last reset never + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 +Local host: 20.30.255.13, Local port: 39443 +Foreign host: 20.30.255.14, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x1106B0BD8): +Timer Starts Wakeups Next +Retrans 83827 1 0x0 +TimeWait 0 0 0x0 +AckHold 84719 83274 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1 1 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 3730243128 snduna: 3731835842 sndnxt: 3731835842 +irs: 2485586108 rcvnxt: 2487200336 + +sndwnd: 33561 scale: 0 maxrcvwnd: 16384 +rcvwnd: 16099 scale: 0 delrcvwnd: 285 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +Status Flags: active open +Option Flags: nagle, path mtu capable, SACK option permitted +IP Precedence value : 6 + +Datagrams (max data segment is 1460 bytes): +Rcvd: 168543 (out of order: 0), with data: 84718, total data bytes:41614227 +Sent: 168204 (retransmit: 1, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 83825, total data bytes: 1592713 + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml new file mode 100644 index 0000000000..5c3b369d8d --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - neighbor: "20.30.255.14" + remote_as: "1255" + peer_group: "RR_SERVERS" + remote_router_id: "20.40.1.1" + bgp_state: "Established" + localhost_ip: "20.30.255.13" + localhost_port: "39443" + remote_ip: "20.30.255.14" + remote_port: "179" diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.raw b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.raw new file mode 100644 index 0000000000..059193629a --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.raw @@ -0,0 +1,1226 @@ +BGP neighbor is 175.135.172.146, remote AS 65180, internal link + Description: nsxe-core-rtr1 + Member of peer-group HMCO-core for session parameters + BGP version 4, remote router ID 9.229.30.214 + BGP state = Established, up for 38w4d + Last read 00:00:01, last write 00:00:01, hold time is 15, keepalive interval is 5 seconds + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 22459 18491 + Keepalives: 4552728 4553516 + Route Refresh: 0 0 + Total: 4575188 4572008 + Default minimum time between advertisement runs is 0 seconds + + For address family: IPv4 Unicast + Session: 58.146.178.38 + BGP table version 55515, neighbor version 55515/0 + Output queue size : 0 + Index 8, Advertise bit 7 + 8 update-group member + HMCO-core peer-group member + NEXT_HOP is always this router for eBGP paths + Community attribute sent to this neighbor + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 563 169 (Consumes 13520 bytes) + Prefixes Total: 27674 20492 + Implicit Withdraw: 11693 5943 + Explicit Withdraw: 15418 14380 + Used as bestpath: n/a 10 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Bestpath from this peer: 12589 n/a + Total: 12589 0 + Number of NLRIs in the update sent: max 514, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 1 seconds + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 104.22.155.173 + Connections established 1; dropped 0 + Last reset never + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255 +Local host: 47.101.28.250, Local port: 1039 +Foreign host: 90.58.27.224, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x56F2E076A): +Timer Starts Wakeups Next +Retrans 4569450 5 0x0 +TimeWait 0 0 0x0 +AckHold 4566922 4209405 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 38900 38899 0x56F30239C +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 63323904 snduna: 151468819 sndnxt: 151468819 +irs: 1216800858 rcvnxt: 1304621530 + +sndwnd: 15890 scale: 0 maxrcvwnd: 16384 +rcvwnd: 16156 scale: 0 delrcvwnd: 228 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1690 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 830 ms, Receive idletime: 1030 ms +Status Flags: active open +Option Flags: nagle, path mtu capable, md5 +IP Precedence value : 6 + +Datagrams (max data segment is 1460 bytes): +Rcvd: 8852438 (out of order: 0), with data: 4567355, total data bytes: 87820671 +Sent: 8840238 (retransmit: 5, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 4570488, total data bytes: 88144914 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x38C42C38 FREE + +BGP neighbor is 42.116.171.166, remote AS 65182, external link + Description: nsxe-lan-rtr1 + Member of peer-group LAN for session parameters + BGP version 4, remote router ID 62.166.23.23 + BGP state = Established, up for 38w4d + Last read 00:00:00, last write 00:00:01, hold time is 15, keepalive interval is 5 seconds + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 25328 26783 + Keepalives: 4554193 4552827 + Route Refresh: 0 1 + Total: 4579524 4579614 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + Session: 205.156.57.241 + BGP table version 55515, neighbor version 55515/0 + Output queue size : 0 + Index 2, Advertise bit 1 + 2 update-group member + LAN peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: Port-channel3 + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 566 9 (Consumes 720 bytes) + Prefixes Total: 38073 12 + Implicit Withdraw: 25567 0 + Explicit Withdraw: 11940 3 + Used as bestpath: n/a 7 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + AS_PATH loop: n/a 48694 + Bestpath from this peer: 17 n/a + Total: 17 48694 + Number of NLRIs in the update sent: max 514, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 20w2d + Last Sent Refresh End-of-rib: 20w2d + Refresh-Out took 0 seconds + Last Received Refresh Start-of-rib: 38w4d + Last Received Refresh End-of-rib: 38w4d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + Address tracking is enabled, the RIB does have a route to 234.182.178.210 + Connections established 1; dropped 0 + Last reset never + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 39.236.86.64, Local port: 179 +Foreign host: 85.15.185.206, Foreign port: 28912 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x56F2E0788): +Timer Starts Wakeups Next +Retrans 4565119 8 0x0 +TimeWait 0 0 0x0 +AckHold 4567627 4091483 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 0 0 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 1165022199 snduna: 1253344612 sndnxt: 1253344612 +irs: 3669450514 rcvnxt: 3758042091 + +sndwnd: 16194 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15567 scale: 0 delrcvwnd: 817 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1690 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 590 ms, Receive idletime: 790 ms +Status Flags: passive open, gen tcbs +Option Flags: nagle, path mtu capable, md5, Retrans timeout +IP Precedence value : 6 + +Datagrams (max data segment is 1460 bytes): +Rcvd: 8750829 (out of order: 0), with data: 4574238, total data bytes: 88591576 +Sent: 8732984 (retransmit: 8, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 4574502, total data bytes: 88322412 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x3DC1BAEC FREE + +BGP neighbor is 5.233.102.244, remote AS 65181, external link + Description: nsxe-vndr-rtr1 + Member of peer-group Vendor for session parameters + BGP version 4, remote router ID 33.131.26.189 + BGP state = Established, up for 8w1d + Last read 00:00:00, last write 00:00:01, hold time is 15, keepalive interval is 5 seconds + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1135 121 + Keepalives: 965497 965602 + Route Refresh: 0 0 + Total: 966633 965726 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + Session: 252.31.34.152 + BGP table version 55515, neighbor version 55515/0 + Output queue size : 0 + Index 24, Advertise bit 0 + 24 update-group member + Vendor peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_Vendor_in + Route map for outgoing advertisements is BGP_Vendor_out + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 507 56 (Consumes 4480 bytes) + Prefixes Total: 3163 211 + Implicit Withdraw: 1338 69 + Explicit Withdraw: 1318 86 + Used as bestpath: n/a 56 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 380 n/a + Total: 380 0 + Number of NLRIs in the update sent: max 504, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 8w1d + Last Received Refresh End-of-rib: 8w1d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 132.220.214.224 + Connections established 3; dropped 2 + Last reset 8w1d, due to BGP protocol initialization + External BGP neighbor may be up to 2 hops away. + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + TCP session must be opened actively +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 253, Outgoing TTL 255 +Local host: 216.31.37.199, Local port: 10158 +Foreign host: 58.98.25.93, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x56F2E0788): +Timer Starts Wakeups Next +Retrans 965809 0 0x0 +TimeWait 0 0 0x0 +AckHold 965655 913486 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1 1 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 2242315978 snduna: 2260751350 sndnxt: 2260751350 +irs: 1630580063 rcvnxt: 1648939350 + +sndwnd: 15206 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15776 scale: 0 delrcvwnd: 608 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 110 ms, Receive idletime: 310 ms +Status Flags: active open +Option Flags: nagle, path mtu capable, md5 +IP Precedence value : 6 + +Datagrams (max data segment is 1380 bytes): +Rcvd: 1887905 (out of order: 0), with data: 965681, total data bytes: 18359286 +Sent: 1892826 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 966076, total data bytes: 18435371 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x3DD686A8 FREE + +BGP neighbor is 191.113.218.187, remote AS 65181, external link + Description: nsxe-vndr-rtr2 + Member of peer-group Vendor for session parameters + BGP version 4, remote router ID 44.66.10.77 + BGP state = Idle + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 0 active, is not multisession capable (disabled) + Stateful switchover support enabled: NO + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + BGP table version 55515, neighbor version 1/55515 + Output queue size : 0 + Index 0, Advertise bit 0 + Address family unwanted by neighbor + Vendor peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_Vendor_in + Route map for outgoing advertisements is BGP_Vendor_out + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 0 + Prefixes Total: 0 0 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Total: 0 0 + Number of NLRIs in the update sent: max 504, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 198.79.87.139 + Connections established 1; dropped 1 + Last reset 8w1d, due to BGP Notification received, no supported AFI/SAFI + External BGP neighbor may be up to 2 hops away. + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + TCP session must be opened actively + No active TCP connection + +BGP neighbor is 50.231.89.165, remote AS 65183, external link + Description: nsxe-aws-rtr1 + Member of peer-group AWS for session parameters + BGP version 4, remote router ID 103.170.198.79 + BGP state = Established, up for 8w1d + Last read 00:00:02, last write 00:00:04, hold time is 15, keepalive interval is 5 seconds + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 766 348 + Keepalives: 966339 966378 + Route Refresh: 0 0 + Total: 967108 966729 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + Session: 117.218.189.254 + BGP table version 55515, neighbor version 55515/0 + Output queue size : 0 + Index 23, Advertise bit 4 + 23 update-group member + AWS peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_AWS_in + Route map for outgoing advertisements is BGP_AWS_out + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 489 76 (Consumes 6080 bytes) + Prefixes Total: 3604 300 + Implicit Withdraw: 1793 150 + Explicit Withdraw: 1322 74 + Used as bestpath: n/a 22 + Used as multipath: n/a 76 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 615 n/a + Total: 615 0 + Number of NLRIs in the update sent: max 504, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 8w1d + Last Sent Refresh End-of-rib: 8w1d + Refresh-Out took 0 seconds + Last Received Refresh Start-of-rib: 8w1d + Last Received Refresh End-of-rib: 8w1d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + Address tracking is enabled, the RIB does have a route to 164.252.173.140 + Connections established 2; dropped 1 + Last reset 8w1d, due to BGP protocol initialization + External BGP neighbor may be up to 2 hops away. + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + TCP session must be opened actively +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 253, Outgoing TTL 255 +Local host: 87.243.6.230, Local port: 10156 +Foreign host: 211.76.120.22, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x56F2E079C): +Timer Starts Wakeups Next +Retrans 966552 0 0x0 +TimeWait 0 0 0x0 +AckHold 966521 918506 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1 1 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 3081669307 snduna: 3100105984 sndnxt: 3100105984 +irs: 682628929 rcvnxt: 701010163 + +sndwnd: 16023 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15035 scale: 0 delrcvwnd: 1349 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 2470 ms, Receive idletime: 2670 ms +Status Flags: active open +Option Flags: nagle, path mtu capable, md5 +IP Precedence value : 6 + +Datagrams (max data segment is 1380 bytes): +Rcvd: 1896164 (out of order: 0), with data: 966533, total data bytes: 18381233 +Sent: 1898490 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 966721, total data bytes: 18436676 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x3DD68658 FREE + +BGP neighbor is 121.216.88.225, remote AS 65183, external link + Description: nsxe-aws-rtr2 + Member of peer-group AWS for session parameters + BGP version 4, remote router ID 220.111.31.249 + BGP state = Established, up for 8w1d + Last read 00:00:01, last write 00:00:04, hold time is 15, keepalive interval is 5 seconds + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 769 335 + Keepalives: 966340 966371 + Route Refresh: 0 0 + Total: 967110 966707 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + Session: 113.21.95.163 + BGP table version 55515, neighbor version 55515/0 + Output queue size : 0 + Index 23, Advertise bit 4 + 23 update-group member + AWS peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_AWS_in + Route map for outgoing advertisements is BGP_AWS_out + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 489 76 (Consumes 6080 bytes) + Prefixes Total: 3604 280 + Implicit Withdraw: 1793 120 + Explicit Withdraw: 1322 84 + Used as bestpath: n/a 54 + Used as multipath: n/a 76 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 615 n/a + Total: 615 0 + Number of NLRIs in the update sent: max 504, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 126.166.143.50 + Connections established 2; dropped 1 + Last reset 8w1d, due to BGP protocol initialization + External BGP neighbor may be up to 2 hops away. + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + TCP session must be opened actively +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 253, Outgoing TTL 255 +Local host: 69.201.247.212, Local port: 10153 +Foreign host: 201.3.14.224, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x56F2E07A6): +Timer Starts Wakeups Next +Retrans 966551 0 0x0 +TimeWait 0 0 0x0 +AckHold 966516 913881 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1 1 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 3605059539 snduna: 3623496403 sndnxt: 3623496403 +irs: 3608557898 rcvnxt: 3626937928 + +sndwnd: 16023 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15434 scale: 0 delrcvwnd: 950 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 1090 ms, Receive idletime: 1290 ms +Status Flags: active open +Option Flags: nagle, path mtu capable, md5 +IP Precedence value : 6 + +Datagrams (max data segment is 1380 bytes): +Rcvd: 1891283 (out of order: 0), with data: 966532, total data bytes: 18380029 +Sent: 1893869 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 966721, total data bytes: 18436863 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x3DD68748 FREE + +BGP neighbor is 71.163.23.191, remote AS 65184, external link + Description: nsxe-merge-rtr1 + Member of peer-group Merge for session parameters + BGP version 4, remote router ID 252.9.89.15 + BGP state = Idle + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 0 active, is not multisession capable (disabled) + Stateful switchover support enabled: NO + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + BGP table version 55515, neighbor version 1/55515 + Output queue size : 0 + Index 0, Advertise bit 0 + Address family unwanted by neighbor + Merge peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_Merge_in + Route map for outgoing advertisements is BGP_Merge_out + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 0 + Prefixes Total: 0 0 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Total: 0 0 + Number of NLRIs in the update sent: max 514, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 136.152.166.35 + Connections established 2; dropped 2 + Last reset 8w1d, due to BGP Notification received, no supported AFI/SAFI + External BGP neighbor may be up to 2 hops away. + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + TCP session must be opened actively + No active TCP connection + +BGP neighbor is 87.90.154.72, remote AS 65004, external link + Description: nsxe-ent-l3ce1 (CASR1001-ET-01 gm73688) direct + Member of peer-group L3-CE-SEC for session parameters + BGP version 4, remote router ID 245.20.27.53 + BGP state = Idle + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 0 active, is not multisession capable (disabled) + Stateful switchover support enabled: NO + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + BGP table version 55515, neighbor version 1/55515 + Output queue size : 0 + Index 0, Advertise bit 0 + L3-CE-SEC peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP-L3-CE-SEC-in + Route map for outgoing advertisements is BGP-L3-CE-SEC-out + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: GigabitEthernet1/0/13 + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 0 + Prefixes Total: 0 0 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Total: 0 0 + Number of NLRIs in the update sent: max 478, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 173.122.238.227 + Connections established 1; dropped 1 + Last reset 25w2d, due to Interface flap of session 1 + External BGP neighbor not directly connected. + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + No active TCP connection + +BGP neighbor is 35.139.51.35, remote AS 65004, external link + Description: nsxe-ent-l3ce2 (CASR1001-ET-02 gm73690) via riverbed + Member of peer-group L3-CE-PRI for session parameters + BGP version 4, remote router ID 164.86.209.25 + BGP state = Idle + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 0 active, is not multisession capable (disabled) + Stateful switchover support enabled: NO + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + BGP table version 55515, neighbor version 1/55515 + Output queue size : 0 + Index 0, Advertise bit 0 + L3-CE-PRI peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP-L3-CE-PRI-in + Route map for outgoing advertisements is BGP-L3-CE-PRI-out + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: GigabitEthernet1/0/1 + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 0 + Prefixes Total: 0 0 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Total: 0 0 + Number of NLRIs in the update sent: max 478, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 203.247.36.3 + Connections established 2; dropped 2 + Last reset 25w2d, due to Interface flap of session 1 + External BGP neighbor not directly connected. + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + No active TCP connection + +BGP neighbor is 13.167.37.139, remote AS 64514, external link + Description: SDWAN-DIA + Member of peer-group SDWAN-DIA for session parameters + BGP version 4, remote router ID 127.89.47.147 + BGP state = Established, up for 5w6d + Last read 00:00:03, last write 00:00:01, hold time is 15, keepalive interval is 5 seconds + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Address family IPv6 Unicast: received + Enhanced Refresh Capability: advertised + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 504 439 + Keepalives: 701190 825244 + Route Refresh: 0 0 + Total: 701695 825684 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + Session: 186.131.158.4 + BGP table version 55515, neighbor version 55515/0 + Output queue size : 0 + Index 27, Advertise bit 3 + 27 update-group member + SDWAN-DIA peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Incoming update network filter list is 1 + Route map for incoming advertisements is BGP-SDWAN-in + Route map for outgoing advertisements is BGP-SDWAN-out + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: Vlan990 + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 172 401 (Consumes 64160 bytes) + Prefixes Total: 906 710 + Implicit Withdraw: 196 49 + Explicit Withdraw: 538 260 + Used as bestpath: n/a 401 + Used as multipath: n/a 0 + Saved (soft-reconfig): n/a 401 (Consumes 32080 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + AS_PATH loop: n/a 171 + Bestpath from this peer: 696 n/a + Total: 696 171 + Number of NLRIs in the update sent: max 161, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 1 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: never + Last Received Refresh End-of-rib: never + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 0 + Refresh End-of-RIB 0 0 + + Address tracking is enabled, the RIB does have a route to 31.89.40.20 + Connections established 12; dropped 11 + Last reset 5w6d, due to Active open failed + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 203.2.115.150, Local port: 10926 +Foreign host: 152.83.67.150, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x56F2E07BA): +Timer Starts Wakeups Next +Retrans 701373 6 0x0 +TimeWait 0 0 0x0 +AckHold 825469 784292 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 5984 5983 0x56F2F0DAE +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 2944481514 snduna: 2957842032 sndnxt: 2957842032 +irs: 1075563855 rcvnxt: 1091276216 + +sndwnd: 64240 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15928 scale: 0 delrcvwnd: 456 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -704633926 ms, Sent idletime: 1840 ms, Receive idletime: 1840 ms +Status Flags: active open +Option Flags: nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1460 bytes): +Rcvd: 1526890 (out of order: 0), with data: 825473, total data bytes: 15712360 +Sent: 1496482 (retransmit: 6, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 701376, total data bytes: 13360517 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x3DC1B9FC FREE + +BGP neighbor is 72.37.28.119, remote AS 18830, external link + Description: nsxe-int-rtr1 + Member of peer-group Internet for session parameters + BGP version 4, remote router ID 167.184.30.114 + BGP state = Established, up for 8w1d + Last read 00:00:02, last write 00:00:02, hold time is 15, keepalive interval is 5 seconds + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 5 + Keepalives: 965620 965619 + Route Refresh: 0 0 + Total: 965624 965627 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + Session: 225.120.110.131 + BGP table version 55515, neighbor version 55515/0 + Output queue size : 0 + Index 25, Advertise bit 2 + 25 update-group member + Internet peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_Internet_in + Route map for outgoing advertisements is BGP_Internet_out + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 5 (Consumes 400 bytes) + Prefixes Total: 0 5 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 5 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 4069 n/a + Total: 4069 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: 8w1d + Last Sent Refresh End-of-rib: 8w1d + Refresh-Out took 0 seconds + Last Received Refresh Start-of-rib: 8w1d + Last Received Refresh End-of-rib: 8w1d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 1 1 + Refresh End-of-RIB 1 1 + + Address tracking is enabled, the RIB does have a route to 134.194.251.21 + Connections established 3; dropped 2 + Last reset 8w1d, due to BGP protocol initialization + External BGP neighbor may be up to 2 hops away. + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + TCP session must be opened actively +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 253, Outgoing TTL 255 +Local host: 98.13.124.95, Local port: 10160 +Foreign host: 29.194.88.38, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x56F2E07C4): +Timer Starts Wakeups Next +Retrans 965622 0 0x0 +TimeWait 0 0 0x0 +AckHold 965621 906305 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1 1 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 443328812 snduna: 461675719 sndnxt: 461675719 +irs: 358195107 rcvnxt: 376542326 + +sndwnd: 15320 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15016 scale: 0 delrcvwnd: 1368 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 2880 ms, Receive idletime: 2680 ms +Status Flags: active open +Option Flags: nagle, path mtu capable, md5 +IP Precedence value : 6 + +Datagrams (max data segment is 1380 bytes): +Rcvd: 1899964 (out of order: 0), with data: 965622, total data bytes: 18347218 +Sent: 1885160 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 965623, total data bytes: 18346906 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x3DD68568 FREE + +BGP neighbor is 201.93.188.161, remote AS 18830, external link + Description: nsxe-int-rtr2 + Member of peer-group Internet for session parameters + BGP version 4, remote router ID 208.50.107.235 + BGP state = Established, up for 8w1d + Last read 00:00:02, last write 00:00:02, hold time is 15, keepalive interval is 5 seconds + Configured hold time is 15, keepalive interval is 5 seconds + Minimum holdtime from neighbor is 0 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 5 + Keepalives: 965621 965622 + Route Refresh: 0 0 + Total: 965623 965630 + Default minimum time between advertisement runs is 30 seconds + + For address family: IPv4 Unicast + Session: 144.132.205.228 + BGP table version 55515, neighbor version 55515/0 + Output queue size : 0 + Index 25, Advertise bit 2 + 25 update-group member + Internet peer-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_Internet_in + Route map for outgoing advertisements is BGP_Internet_out + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Interface associated: (none) + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 5 (Consumes 400 bytes) + Prefixes Total: 0 5 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 5 + Used as multipath: n/a 5 + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 4069 n/a + Total: 4069 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Minimum time between advertisement runs is 5 seconds + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 8w1d + Last Received Refresh End-of-rib: 8w1d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 39.75.88.112 + Connections established 4; dropped 3 + Last reset 8w1d, due to BGP Notification received of session 1, hold time expired + External BGP neighbor may be up to 2 hops away. + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + TCP session must be opened actively +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 253, Outgoing TTL 255 +Local host: 125.0.195.99, Local port: 10159 +Foreign host: 84.229.16.220, Foreign port: 179 +Connection tableid (VRF): 0 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x56F2E07CE): +Timer Starts Wakeups Next +Retrans 965624 1 0x0 +TimeWait 0 0 0x0 +AckHold 965624 946418 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1 1 0x0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 1700449210 snduna: 1718796090 sndnxt: 1718796090 +irs: 3379899633 rcvnxt: 3398246909 + +sndwnd: 15358 scale: 0 maxrcvwnd: 16384 +rcvwnd: 16346 scale: 0 delrcvwnd: 38 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 0 ms, maxRTT: 1010 ms, ACK hold: 200 ms +uptime: -1 ms, Sent idletime: 2890 ms, Receive idletime: 2690 ms +Status Flags: active open +Option Flags: nagle, path mtu capable, md5 +IP Precedence value : 6 + +Datagrams (max data segment is 1380 bytes): +Rcvd: 1921217 (out of order: 0), with data: 965625, total data bytes: 18347275 +Sent: 1925273 (retransmit: 1, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 965623, total data bytes: 18346879 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x3DD685B8 FREE diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml new file mode 100644 index 0000000000..4d4b68b3e8 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml @@ -0,0 +1,110 @@ +--- +parsed_sample: + - neighbor: "175.135.172.146" + remote_as: "65180" + peer_group: "HMCO-core" + remote_router_id: "9.229.30.214" + bgp_state: "Established" + localhost_ip: "47.101.28.250" + localhost_port: "1039" + remote_ip: "90.58.27.224" + remote_port: "179" + - neighbor: "42.116.171.166" + remote_as: "65182" + peer_group: "LAN" + remote_router_id: "62.166.23.23" + bgp_state: "Established" + localhost_ip: "39.236.86.64" + localhost_port: "179" + remote_ip: "85.15.185.206" + remote_port: "28912" + - neighbor: "5.233.102.244" + remote_as: "65181" + peer_group: "Vendor" + remote_router_id: "33.131.26.189" + bgp_state: "Established" + localhost_ip: "216.31.37.199" + localhost_port: "10158" + remote_ip: "58.98.25.93" + remote_port: "179" + - neighbor: "191.113.218.187" + remote_as: "65181" + peer_group: "Vendor" + remote_router_id: "44.66.10.77" + bgp_state: "Idle" + localhost_ip: "" + localhost_port: "" + remote_ip: "" + remote_port: "" + - neighbor: "50.231.89.165" + remote_as: "65183" + peer_group: "AWS" + remote_router_id: "103.170.198.79" + bgp_state: "Established" + localhost_ip: "87.243.6.230" + localhost_port: "10156" + remote_ip: "211.76.120.22" + remote_port: "179" + - neighbor: "121.216.88.225" + remote_as: "65183" + peer_group: "AWS" + remote_router_id: "220.111.31.249" + bgp_state: "Established" + localhost_ip: "69.201.247.212" + localhost_port: "10153" + remote_ip: "201.3.14.224" + remote_port: "179" + - neighbor: "71.163.23.191" + remote_as: "65184" + peer_group: "Merge" + remote_router_id: "252.9.89.15" + bgp_state: "Idle" + localhost_ip: "" + localhost_port: "" + remote_ip: "" + remote_port: "" + - neighbor: "87.90.154.72" + remote_as: "65004" + peer_group: "L3-CE-SEC" + remote_router_id: "245.20.27.53" + bgp_state: "Idle" + localhost_ip: "" + localhost_port: "" + remote_ip: "" + remote_port: "" + - neighbor: "35.139.51.35" + remote_as: "65004" + peer_group: "L3-CE-PRI" + remote_router_id: "164.86.209.25" + bgp_state: "Idle" + localhost_ip: "" + localhost_port: "" + remote_ip: "" + remote_port: "" + - neighbor: "13.167.37.139" + remote_as: "64514" + peer_group: "SDWAN-DIA" + remote_router_id: "127.89.47.147" + bgp_state: "Established" + localhost_ip: "203.2.115.150" + localhost_port: "10926" + remote_ip: "152.83.67.150" + remote_port: "179" + - neighbor: "72.37.28.119" + remote_as: "18830" + peer_group: "Internet" + remote_router_id: "167.184.30.114" + bgp_state: "Established" + localhost_ip: "98.13.124.95" + localhost_port: "10160" + remote_ip: "29.194.88.38" + remote_port: "179" + - neighbor: "201.93.188.161" + remote_as: "18830" + peer_group: "Internet" + remote_router_id: "208.50.107.235" + bgp_state: "Established" + localhost_ip: "125.0.195.99" + localhost_port: "10159" + remote_ip: "84.229.16.220" + remote_port: "179" From ad20dbcdc67d60c77cafb07b2c5189ade7f28ee9 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 4 Feb 2020 11:23:34 -0700 Subject: [PATCH 371/628] New Template: cisco_nxos_show_vdc.textfsm (#591) --- templates/cisco_nxos_show_vdc.textfsm | 14 +++++++++++++ templates/index | 1 + .../show_vdc/cisco_nxos_show_vdc.raw | 8 ++++++++ .../show_vdc/cisco_nxos_show_vdc.yml | 20 +++++++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 templates/cisco_nxos_show_vdc.textfsm create mode 100644 tests/cisco_nxos/show_vdc/cisco_nxos_show_vdc.raw create mode 100644 tests/cisco_nxos/show_vdc/cisco_nxos_show_vdc.yml diff --git a/templates/cisco_nxos_show_vdc.textfsm b/templates/cisco_nxos_show_vdc.textfsm new file mode 100644 index 0000000000..7187bf5518 --- /dev/null +++ b/templates/cisco_nxos_show_vdc.textfsm @@ -0,0 +1,14 @@ +Value VDC_ID (\d+) +Value VDC_NAME (\S+) +Value STATE (\S+) +Value MAC (\S+) +Value TYPE (\S+) +Value LC (\S+) + +Start + ^[Ss]witchwide\s+mode + ^vdc_id\s+vdc_name\s+state\s+mac\s+type\s+lc\s*$$ + ^-+ + ^\s*${VDC_ID}\s+${VDC_NAME}\s+${STATE}\s+${MAC}\s+${TYPE}\s+${LC} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 026d9dddb6..4eebd317b0 100644 --- a/templates/index +++ b/templates/index @@ -247,6 +247,7 @@ cisco_nxos_show_module.textfsm, .*, cisco_nxos, sh[[ow]] mod[[ule]] cisco_nxos_show_clock.textfsm, .*, cisco_nxos, sh[[ow]] clo[[ck]] cisco_nxos_show_vlan.textfsm, .*, cisco_nxos, sh[[ow]] vl[[an]] cisco_nxos_show_fex.textfsm, .*, cisco_nxos, sh[[ow]] fex +cisco_nxos_show_vdc.textfsm, .*, cisco_nxos, sh[[ow]] vdc cisco_nxos_show_vpc.textfsm, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.textfsm, .*, cisco_nxos, sh[[ow]] vrf diff --git a/tests/cisco_nxos/show_vdc/cisco_nxos_show_vdc.raw b/tests/cisco_nxos/show_vdc/cisco_nxos_show_vdc.raw new file mode 100644 index 0000000000..4f40b3e02e --- /dev/null +++ b/tests/cisco_nxos/show_vdc/cisco_nxos_show_vdc.raw @@ -0,0 +1,8 @@ + +Switchwide mode is m1 f1 m1xl f2 m2xl f2e f3 + +vdc_id vdc_name state mac type lc +------ -------- ----- ---------- --------- ------ +1 not1.barr1 active e4:c7:22:0c:67:c1 Admin None +2 foo1.bar1.bazz1 active e4:c7:22:0c:67:c2 Ethernet f2e +3 foo2.bar2.bazz2 active e4:c7:22:0c:67:c3 Ethernet f2e diff --git a/tests/cisco_nxos/show_vdc/cisco_nxos_show_vdc.yml b/tests/cisco_nxos/show_vdc/cisco_nxos_show_vdc.yml new file mode 100644 index 0000000000..0e04e53359 --- /dev/null +++ b/tests/cisco_nxos/show_vdc/cisco_nxos_show_vdc.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - vdc_id: "1" + vdc_name: "not1.barr1" + state: "active" + mac: "e4:c7:22:0c:67:c1" + type: "Admin" + lc: "None" + - vdc_id: "2" + vdc_name: "foo1.bar1.bazz1" + state: "active" + mac: "e4:c7:22:0c:67:c2" + type: "Ethernet" + lc: "f2e" + - vdc_id: "3" + vdc_name: "foo2.bar2.bazz2" + state: "active" + mac: "e4:c7:22:0c:67:c3" + type: "Ethernet" + lc: "f2e" From ab89436ad5e7b9f66d1c0b5ba43957b71c1c33bd Mon Sep 17 00:00:00 2001 From: ccorvese Date: Sun, 9 Feb 2020 17:04:18 -0500 Subject: [PATCH 372/628] Fixed regex for fortinet bgp template and added new template standards (#592) --- ...tinet_fortios_get_router_info_bgp_summary.textfsm | 12 +++++++++--- .../get_router_info_bgp_summary.raw | 2 +- .../get_router_info_bgp_summary.yml | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/templates/fortinet_fortios_get_router_info_bgp_summary.textfsm b/templates/fortinet_fortios_get_router_info_bgp_summary.textfsm index e84829a2ae..bd3b1020ec 100644 --- a/templates/fortinet_fortios_get_router_info_bgp_summary.textfsm +++ b/templates/fortinet_fortios_get_router_info_bgp_summary.textfsm @@ -1,9 +1,15 @@ Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) Value NEIGH_AS (\d+) -Value UP_DOWN (\w+) +Value UP_DOWN (\S+) Value STATE_PFXRCD (\w+) Start + ^BGP\s+router\s+identifier\s+\d+?\.\d+?\.\d+?\.\d+?,\s+local\s+AS\s+number\s+\d+\s*$$ + ^BGP\s+table\s+version\s+is\s+\d+?$$ + ^\d+\s+BGP\s+AS-PATH\s+entries\s*$$ + ^\d+\s+BGP\s+community\s+entries\s*$$ + ^Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+TblVer\s+InQ\s+OutQ\s+Up\/Down\s+State\/PfxRcd.*$$ ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(?:\s+\S+\s+){5}${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record - -EOF \ No newline at end of file + ^Total number\s+of\s+neighbors\s+\d*\s*$$ + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw index edb39ced2f..873d6d7225 100644 --- a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw +++ b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw @@ -5,7 +5,7 @@ BGP table version is 13 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.204.35.84 4 65302 43173 43182 0 0 0 09w3d01h Active -10.205.35.95 4 65302 107081 107168 12 0 0 04w5d09h 1 +10.205.35.95 4 65302 107081 107168 12 0 0 05:48:47 1 169.132.250.17 4 4224 0 0 0 0 0 never Idle 169.132.250.21 4 4224 0 0 0 0 0 never Idle diff --git a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml index 8902f0b206..fa21ed604b 100644 --- a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml +++ b/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml @@ -7,7 +7,7 @@ parsed_sample: - bgp_neigh: "10.205.35.95" neigh_as: "65302" state_pfxrcd: "1" - up_down: "04w5d09h" + up_down: "05:48:47" - bgp_neigh: "169.132.250.17" neigh_as: "4224" state_pfxrcd: "Idle" From 0f65544ac777da353673835ac1e9913c0711a984 Mon Sep 17 00:00:00 2001 From: dys152 Date: Wed, 19 Feb 2020 15:58:58 +0000 Subject: [PATCH 373/628] NewTemplate: checkpoint_gaia_show_arp_dynamic_all.textfsm (#595) --- .../checkpoint_gaia_show_arp_dynamic_all.textfsm | 9 +++++++++ templates/index | 1 + .../checkpoint_gaia_show_arp_dynamic_all.raw | 9 +++++++++ .../checkpoint_gaia_show_arp_dynamic_all.yml | 14 ++++++++++++++ 4 files changed, 33 insertions(+) create mode 100644 templates/checkpoint_gaia_show_arp_dynamic_all.textfsm create mode 100644 tests/checkpoint_gaia/show_arp_dynamic_all/checkpoint_gaia_show_arp_dynamic_all.raw create mode 100644 tests/checkpoint_gaia/show_arp_dynamic_all/checkpoint_gaia_show_arp_dynamic_all.yml diff --git a/templates/checkpoint_gaia_show_arp_dynamic_all.textfsm b/templates/checkpoint_gaia_show_arp_dynamic_all.textfsm new file mode 100644 index 0000000000..c9a451ef02 --- /dev/null +++ b/templates/checkpoint_gaia_show_arp_dynamic_all.textfsm @@ -0,0 +1,9 @@ +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value MAC (\S+) + +Start + ^Dynamic\sArp\sParameters + ^IP\sAddress\s+Mac\sAddress + ^${ADDRESS}\s+${MAC} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 4eebd317b0..5fe3891922 100644 --- a/templates/index +++ b/templates/index @@ -92,6 +92,7 @@ brocade_netiron_show_metro.textfsm, .*, brocade_netiron, sh[[ow]] met[[ro-ring]] brocade_netiron_show_span.textfsm, .*, brocade_netiron, sh[[ow]] sp[[anning-tree]] brocade_netiron_show_topo.textfsm, .*, brocade_netiron, sh[[ow]] to[[pology-group]] +checkpoint_gaia_show_arp_dynamic_all.textfsm, .*, checkpoint_gaia, show arp dynamic all checkpoint_gaia_show_interfaces_all.textfsm, .*, checkpoint_gaia, show interfaces all checkpoint_gaia_show_ntp_servers.textfsm, .*, checkpoint_gaia, show ntp servers checkpoint_gaia_show_version_all.textfsm, .*, checkpoint_gaia, show version all diff --git a/tests/checkpoint_gaia/show_arp_dynamic_all/checkpoint_gaia_show_arp_dynamic_all.raw b/tests/checkpoint_gaia/show_arp_dynamic_all/checkpoint_gaia_show_arp_dynamic_all.raw new file mode 100644 index 0000000000..92bd5093c1 --- /dev/null +++ b/tests/checkpoint_gaia/show_arp_dynamic_all/checkpoint_gaia_show_arp_dynamic_all.raw @@ -0,0 +1,9 @@ +Dynamic Arp Parameters + +IP Address Mac Address +192.168.13.233 BC:30:5B:B5:76:DB +10.19.252.42 74:8E:F8:A4:59:60 +172.31.254.101 60:9C:9F:3B:7E:40 +172.19.4.144 00:50:56:9A:41:8A +10.200.12.61 A0:D3:C1:FB:61:31 +192.168.13.146 A4:5D:36:2B:58:7C diff --git a/tests/checkpoint_gaia/show_arp_dynamic_all/checkpoint_gaia_show_arp_dynamic_all.yml b/tests/checkpoint_gaia/show_arp_dynamic_all/checkpoint_gaia_show_arp_dynamic_all.yml new file mode 100644 index 0000000000..f85854cb3e --- /dev/null +++ b/tests/checkpoint_gaia/show_arp_dynamic_all/checkpoint_gaia_show_arp_dynamic_all.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - address: "192.168.13.233" + mac: "BC:30:5B:B5:76:DB" + - address: "10.19.252.42" + mac: "74:8E:F8:A4:59:60" + - address: "172.31.254.101" + mac: "60:9C:9F:3B:7E:40" + - address: "172.19.4.144" + mac: "00:50:56:9A:41:8A" + - address: "10.200.12.61" + mac: "A0:D3:C1:FB:61:31" + - address: "192.168.13.146" + mac: "A4:5D:36:2B:58:7C" From 6fa22d7702466698b185a0f82ca7d4ed5077265c Mon Sep 17 00:00:00 2001 From: alekgozali <39581711+alekgozali@users.noreply.github.com> Date: Sun, 23 Feb 2020 02:20:16 +0800 Subject: [PATCH 374/628] New Template - cisco_ios_show_module (#593) --- templates/cisco_ios_show_module.textfsm | 20 ++++ .../cisco_ios_show_module_online_diag.textfsm | 16 +++ .../cisco_ios_show_module_status.textfsm | 21 ++++ .../cisco_ios_show_module_submodule.textfsm | 21 ++++ templates/index | 1 + .../show_module/cisco_ios_show_module1.raw | 37 +++++++ .../show_module/cisco_ios_show_module1.yml | 98 +++++++++++++++++++ 7 files changed, 214 insertions(+) create mode 100644 templates/cisco_ios_show_module.textfsm create mode 100644 templates/cisco_ios_show_module_online_diag.textfsm create mode 100644 templates/cisco_ios_show_module_status.textfsm create mode 100644 templates/cisco_ios_show_module_submodule.textfsm create mode 100644 tests/cisco_ios/show_module/cisco_ios_show_module1.raw create mode 100644 tests/cisco_ios/show_module/cisco_ios_show_module1.yml diff --git a/templates/cisco_ios_show_module.textfsm b/templates/cisco_ios_show_module.textfsm new file mode 100644 index 0000000000..20b3fa4c0a --- /dev/null +++ b/templates/cisco_ios_show_module.textfsm @@ -0,0 +1,20 @@ +Value Key MODULE (\d+) +Value PORT (\d+) +Value CARDTYPE (.+?) +Value MODEL (\S+) +Value SERIAL (\w+) + + +Start + ^Mod\s+Ports\s+Card\s+Type\s+Model\s+Serial -> Status + +Status + ^-+ + ^\s*${MODULE}\s+${PORT}\s+${CARDTYPE}\s+${MODEL}\s+${SERIAL}\s*$$ -> Record + ^Mod\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status -> End + ^Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status -> End + ^Mod\s+Online\s+Diag\s+Status -> End + ^\s*$$ + ^. -> Error + +End diff --git a/templates/cisco_ios_show_module_online_diag.textfsm b/templates/cisco_ios_show_module_online_diag.textfsm new file mode 100644 index 0000000000..5aadd9d890 --- /dev/null +++ b/templates/cisco_ios_show_module_online_diag.textfsm @@ -0,0 +1,16 @@ +Value Key MODULE (\d+) +Value ONLINE_DIAG (\w+) + +Start + ^Mod\s+Online\s+Diag\s+Status -> Diag + +Diag + ^-+ + ^\s*${MODULE}\s+${ONLINE_DIAG} -> Record + ^Mod\s+Ports\s+Card\s+Type\s+Model\s+Serial -> End + ^Mod\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status -> End + ^Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status -> End + ^\s*$$ + ^. -> Error + +End \ No newline at end of file diff --git a/templates/cisco_ios_show_module_status.textfsm b/templates/cisco_ios_show_module_status.textfsm new file mode 100644 index 0000000000..9957a3e719 --- /dev/null +++ b/templates/cisco_ios_show_module_status.textfsm @@ -0,0 +1,21 @@ +Value Key MODULE (\d+) +Value MAC_ADDR (\S+\s+to\s+\S+) +Value MOD_HW (\S+) +Value FW (\S+) +Value SW (\S+) +Value STATUS (\w+) + + +Start + ^\s*Mod\s+MAC\saddresses\s+Hw\s+Fw\s+Sw\s+Status\s*$$ -> ModStatus + +ModStatus + ^-+ + ^\s*${MODULE}\s+${MAC_ADDR}\s+${MOD_HW}\s+${FW}\s+${SW}\s+${STATUS}\s*$$ -> Record + ^Mod\s+Ports\s+Card\s+Type\s+Model\s+Serial -> End + ^\s*Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status\s*$$ -> End + ^Mod\s+Online\s+Diag\s+Status -> End + ^\s*$$ + ^. -> Error + +End \ No newline at end of file diff --git a/templates/cisco_ios_show_module_submodule.textfsm b/templates/cisco_ios_show_module_submodule.textfsm new file mode 100644 index 0000000000..be43ff869d --- /dev/null +++ b/templates/cisco_ios_show_module_submodule.textfsm @@ -0,0 +1,21 @@ +Value Key MODULE (\d+) +Value SUBMODULE (.+?) +Value SUBMODULE_MODEL (\S+) +Value SUBMODULE_SERIAL (\S+) +Value SUBMODULE_HW (\S+) +Value SUBMODULE_STATUS (\w+) + + +Start + ^\s*Mod\s+Sub-Module\s+Model\s+Serial\s+Hw\s+Status\s*$$ -> SubModule + +SubModule + ^-+ + ^\s*${MODULE}\s+${SUBMODULE}\s+${SUBMODULE_MODEL}\s+${SUBMODULE_SERIAL}\s+${SUBMODULE_HW}\s+${SUBMODULE_STATUS}\s*$$ -> Record + ^Mod\s+Ports\s+Card\s+Type\s+Model\s+Serial -> End + ^Mod\s+MAC\s+addresses\s+Hw\s+Fw\s+Sw\s+Status -> End + ^Mod\s+Online\s+Diag\s+Status -> End + ^\s*$$ + ^. -> Error + +End \ No newline at end of file diff --git a/templates/index b/templates/index index 5fe3891922..31a1d7a9fd 100644 --- a/templates/index +++ b/templates/index @@ -133,6 +133,7 @@ cisco_asa_show_arp.textfsm, .*, cisco_asa, sh[[ow]] arp cisco_asa_show_nat.textfsm, .*, cisco_asa, sh[[ow]] nat cisco_asa_dir.textfsm, .*, cisco_asa, dir +cisco_ios_show_module.textfsm:cisco_ios_show_module_status.textfsm:cisco_ios_show_module_submodule.textfsm:cisco_ios_show_module_online_diag.textfsm, .*, cisco_ios, sh[[ow]] mod[[ule]] cisco_ios_show_switch_detail.textfsm:cisco_ios_show_switch_detail_stack_ports.textfsm, .*, cisco_ios, sh[[ow]] sw[[itch]] d[[etail]] cisco_ios_show_running-config_partition_access-list.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module1.raw b/tests/cisco_ios/show_module/cisco_ios_show_module1.raw new file mode 100644 index 0000000000..3023124a70 --- /dev/null +++ b/tests/cisco_ios/show_module/cisco_ios_show_module1.raw @@ -0,0 +1,37 @@ +Mod Ports Card Type Model Serial No. +--- ----- -------------------------------------- ------------------ ----------- + 1 16 CEF720 16 port 10GE WS-X6816-10GE SAL11111111 + 2 24 CEF720 24 port 1000mb SFP WS-X6724-SFP SAL22222222 + 3 48 CEF720 48 port 10/100/1000mb Ethernet WS-X6748-GE-TX SAL33333333 + 4 16 CEF720 16 port 10GE WS-X6816-10GE SAL44444444 + 5 5 Supervisor Engine 2T 10GE w/ CTS (Acti VS-SUP2T-10G SAL55555555 + 6 5 Supervisor Engine 2T 10GE w/ CTS (Hot) VS-SUP2T-10G SAL66666666 + +Mod MAC addresses Hw Fw Sw Status +--- ---------------------------------- ------ ------------ ------------ ------- + 1 aaaa.aaaa.0000 to aaaa.aaaa.ffff 2.1 12.2(18r)S1 15.2(1)SY5 Ok + 2 bbbb.bbbb.0000 to bbbb.bbbb.ffff 2.5 12.2(14r)S5 15.2(1)SY5 Ok + 3 cccc.cccc.0000 to cccc.cccc.ffff 2.5 12.2(14r)S5 15.2(1)SY5 Ok + 4 dddd.dddd.0000 to dddd.dddd.ffff 2.3 12.2(18r)S1 15.2(1)SY5 Ok + 5 eeee.eeee.0000 to eeee.eeee.ffff 1.5 12.2(50r)SYS 15.2(1)SY5 Ok + 6 ffff.ffff.0000 to ffff.ffff.ffff 1.5 12.2(50r)SYS 15.2(1)SY5 Ok + +Mod Sub-Module Model Serial Hw Status +---- --------------------------- ------------------ ----------- ------- ------- + 1 Distributed Forwarding Card WS-F6K-DFC4-E SMD11111111 1.2 Ok + 2 Centralized Forwarding Card WS-F6700-CFC SMD22222222 3.1 Ok + 3 Centralized Forwarding Card WS-F6700-CFC SMD33333333 3.1 Ok + 4 Distributed Forwarding Card WS-F6K-DFC4-E SMD44444444 1.2 Ok + 5 Policy Feature Card 4 VS-F6K-PFC4 SMD55555555 2.1 Ok + 5 CPU Daughterboard VS-F6K-MSFC5 SMD66666666 2.0 Ok + 6 Policy Feature Card 4 VS-F6K-PFC4 SMD77777777 2.1 Ok + 6 CPU Daughterboard VS-F6K-MSFC5 SMD88888888 2.0 Ok + +Mod Online Diag Status +---- ------------------- + 1 Pass + 2 Pass + 3 Pass + 4 Pass + 5 Pass + 6 Pass \ No newline at end of file diff --git a/tests/cisco_ios/show_module/cisco_ios_show_module1.yml b/tests/cisco_ios/show_module/cisco_ios_show_module1.yml new file mode 100644 index 0000000000..d45543ddac --- /dev/null +++ b/tests/cisco_ios/show_module/cisco_ios_show_module1.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - module: "1" + port: "16" + cardtype: "CEF720 16 port 10GE" + model: "WS-X6816-10GE" + serial: "SAL11111111" + mac_addr: "aaaa.aaaa.0000 to aaaa.aaaa.ffff" + mod_hw: "2.1" + fw: "12.2(18r)S1" + sw: "15.2(1)SY5" + status: "Ok" + submodule: "Distributed Forwarding Card" + submodule_model: "WS-F6K-DFC4-E" + submodule_serial: "SMD11111111" + submodule_hw: "1.2" + submodule_status: "Ok" + online_diag: "Pass" + - module: "2" + port: "24" + cardtype: "CEF720 24 port 1000mb SFP" + model: "WS-X6724-SFP" + serial: "SAL22222222" + mac_addr: "bbbb.bbbb.0000 to bbbb.bbbb.ffff" + mod_hw: "2.5" + fw: "12.2(14r)S5" + sw: "15.2(1)SY5" + status: "Ok" + submodule: "Centralized Forwarding Card" + submodule_model: "WS-F6700-CFC" + submodule_serial: "SMD22222222" + submodule_hw: "3.1" + submodule_status: "Ok" + online_diag: "Pass" + - module: "3" + port: "48" + cardtype: "CEF720 48 port 10/100/1000mb Ethernet" + model: "WS-X6748-GE-TX" + serial: "SAL33333333" + mac_addr: "cccc.cccc.0000 to cccc.cccc.ffff" + mod_hw: "2.5" + fw: "12.2(14r)S5" + sw: "15.2(1)SY5" + status: "Ok" + submodule: "Centralized Forwarding Card" + submodule_model: "WS-F6700-CFC" + submodule_serial: "SMD33333333" + submodule_hw: "3.1" + submodule_status: "Ok" + online_diag: "Pass" + - module: "4" + port: "16" + cardtype: "CEF720 16 port 10GE" + model: "WS-X6816-10GE" + serial: "SAL44444444" + mac_addr: "dddd.dddd.0000 to dddd.dddd.ffff" + mod_hw: "2.3" + fw: "12.2(18r)S1" + sw: "15.2(1)SY5" + status: "Ok" + submodule: "Distributed Forwarding Card" + submodule_model: "WS-F6K-DFC4-E" + submodule_serial: "SMD44444444" + submodule_hw: "1.2" + submodule_status: "Ok" + online_diag: "Pass" + - module: "5" + port: "5" + cardtype: "Supervisor Engine 2T 10GE w/ CTS (Acti" + model: "VS-SUP2T-10G" + serial: "SAL55555555" + mac_addr: "eeee.eeee.0000 to eeee.eeee.ffff" + mod_hw: "1.5" + fw: "12.2(50r)SYS" + sw: "15.2(1)SY5" + status: "Ok" + submodule: "Policy Feature Card 4" + submodule_model: "VS-F6K-PFC4" + submodule_serial: "SMD55555555" + submodule_hw: "2.1" + submodule_status: "Ok" + online_diag: "Pass" + - module: "6" + port: "5" + cardtype: "Supervisor Engine 2T 10GE w/ CTS (Hot)" + model: "VS-SUP2T-10G" + serial: "SAL66666666" + mac_addr: "ffff.ffff.0000 to ffff.ffff.ffff" + mod_hw: "1.5" + fw: "12.2(50r)SYS" + sw: "15.2(1)SY5" + status: "Ok" + submodule: "Policy Feature Card 4" + submodule_model: "VS-F6K-PFC4" + submodule_serial: "SMD77777777" + submodule_hw: "2.1" + submodule_status: "Ok" + online_diag: "Pass" From 51bdf61667c7422db116e772d567cb7db60be70a Mon Sep 17 00:00:00 2001 From: Muhammad Lutfi Santoso Date: Tue, 25 Feb 2020 01:09:05 +0700 Subject: [PATCH 375/628] new_template: huawei_vrp_display_version (#597) --- templates/huawei_vrp_display_version.textfsm | 9 ++ templates/index | 1 + .../huawei_vrp_display_version.raw | 102 ++++++++++++++++++ .../huawei_vrp_display_version.yml | 6 ++ .../huawei_vrp_display_version1.raw | 60 +++++++++++ .../huawei_vrp_display_version1.yml | 6 ++ .../huawei_vrp_display_version2.raw | 31 ++++++ .../huawei_vrp_display_version2.yml | 6 ++ 8 files changed, 221 insertions(+) create mode 100644 templates/huawei_vrp_display_version.textfsm create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version.raw create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version.yml create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version1.raw create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version1.yml create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version2.raw create mode 100644 tests/huawei_vrp/display_version/huawei_vrp_display_version2.yml diff --git a/templates/huawei_vrp_display_version.textfsm b/templates/huawei_vrp_display_version.textfsm new file mode 100644 index 0000000000..f704fa9a3f --- /dev/null +++ b/templates/huawei_vrp_display_version.textfsm @@ -0,0 +1,9 @@ +Value VRP_VERSION (\S+) +Value PRODUCT_VERSION (.+) +Value MODEL (.+) +Value UPTIME (.+) + + +Start + ^.*software,\s+Version\s+${VRP_VERSION}\s+\(${PRODUCT_VERSION}\) + ^HUAWEI\s+${MODEL}\s+uptime\s+is\s+${UPTIME}$$ \ No newline at end of file diff --git a/templates/index b/templates/index index 31a1d7a9fd..b9f70a71c9 100644 --- a/templates/index +++ b/templates/index @@ -333,6 +333,7 @@ hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] huawei_vrp_display_interface_brief.textfsm, .*, huawei_vrp, disp[[lay]] inter[[face]] br[[ief]] huawei_vrp_display_lldp_neighbor.textfsm, .*, huawei_vrp, disp[[lay]] lldp nei[[ghbor]] huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, disp[[lay]] tem[[perature]] +huawei_vrp_display_version.textfsm, .*, huawei_vrp, disp[[lay]] ver[[sion]] juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] juniper_junos_show_chassis_cluster_status.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version.raw b/tests/huawei_vrp/display_version/huawei_vrp_display_version.raw new file mode 100644 index 0000000000..9b94d70823 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version.raw @@ -0,0 +1,102 @@ +Huawei Versatile Routing Platform Software +VRP (R) software, Version 8.180 (NE40E V800R011C00SPC200) +Copyright (C) 2012-2018 Huawei Technologies Co., Ltd. +HUAWEI NE40E-X2-M8A uptime is 161 days, 0 hour, 20 minutes + +NE40E-X2-M8A version information: +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +BKP version information: + PCB Version : CX68BKP02D REV A + MPU Slot Quantity : 2 + NPU Slot Quantity : 2 + CARD Slot Quantity : 8 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +MPU version information: + +MPU (Slave) 11 : uptime is 160 days, 22 hours, 1 minute + StartupTime 2019/09/10 03:33:17 + SDRAM Memory Size : 8192 M bytes + FLASH Memory Size : 32 M bytes + NVRAM Memory Size : 512 K bytes + CFCARD Memory Size : 2048 M bytes + MPU CR5D0MPUK170 version information: + PCB Version : CX68MPUK1 REV A + EPLD Version : 111 + FPGA Version : 105 + BootROM Version : 06.14 + BootLoad Version : 06.14 + +MPU (Master) 12 : uptime is 161 days, 0 hour, 18 minutes + StartupTime 2019/09/10 01:16:12 + SDRAM Memory Size : 8192 M bytes + FLASH Memory Size : 32 M bytes + NVRAM Memory Size : 512 K bytes + CFCARD Memory Size : 2048 M bytes + MPU CR5D0MPUK170 version information: + PCB Version : CX68MPUK1 REV A + EPLD Version : 111 + FPGA Version : 105 + BootROM Version : 06.14 + BootLoad Version : 06.14 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +NPU version information: + +NPU 9 : uptime is 160 days, 12 hours, 38 minutes + StartupTime 2019/09/10 12:56:23 + Host processor : + SDRAM Memory Size : 16384 M bytes + Flash Memory Size : 128 M bytes + NPU CR5DNPU48070 version information: + PCB Version : CX68NPU480A REV A + EPLD Version : 103 + FPGA Version : 103 + FPGA2 Version : 111 + NP Version : 100 + TM Version : 110 + BootROM Version : 04.36 + NSE Version : NSE REV A + CMAC Version : 110 + PIC2: CR5D00L4XF72 version information + StartupTime : 2019/09/12 15:05:27 + PCB Version : CX68L4XFD REV A + FPGA Version : 010 + BOM Version : 000 + PIC4: CR5D00L4XF72 version information + StartupTime : 2019/09/12 15:05:54 + PCB Version : CX68L4XFD REV A + FPGA Version : 010 + BOM Version : 000 + PIC6: CR5D00L4XF72 version information + StartupTime : 2019/09/11 14:59:36 + PCB Version : CX68L4XFD REV A + FPGA Version : 010 + BOM Version : 000 + PIC8: CR5D00EAGF70 version information + StartupTime : 2019/09/10 12:56:35 + PCB Version : CX68EAGFD REV A + EPLD Version : 007 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Power version information: + +POWER 13's version information: + PCB Version : CX68PSUC REV C + +POWER 14's version information: + PCB Version : CX68PSUC REV C +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +FAN version information: + +FAN 15's version information: + PCB Version : CX67FCBB REV A +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +CLK version information: + +CLK 16 : uptime is 160 days, 22 hours, 1 minute + StartupTime 2019/09/10 03:33:17 + FPGA Version : 105 + DSP Version : 17060011 + +CLK 17 : uptime is 161 days, 0 hour, 18 minutes + StartupTime 2019/09/10 01:16:12 + FPGA Version : 105 + DSP Version : 17060011 \ No newline at end of file diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version.yml b/tests/huawei_vrp/display_version/huawei_vrp_display_version.yml new file mode 100644 index 0000000000..ec3eaa1c2a --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - vrp_version: "8.180" + product_version: "NE40E V800R011C00SPC200" + model: "NE40E-X2-M8A" + uptime: "161 days, 0 hour, 20 minutes" diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version1.raw b/tests/huawei_vrp/display_version/huawei_vrp_display_version1.raw new file mode 100644 index 0000000000..d55f5e19a3 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version1.raw @@ -0,0 +1,60 @@ +Huawei Versatile Routing Platform Software +VRP (R) software, Version 8.100 (CX600 V800R007C10SPC100) +Copyright (C) 2012-2015 Huawei Technologies Co., Ltd. +HUAWEI CX600-M2E uptime is 266 days, 8 hours, 59 minutes +Patch Version: V800R007SPH019 + +CX600-M2E version information: +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +BKP version information: + PCB Version : CR68BKP01C REV A + IPU Slot Quantity : 1 + CARD Slot Quantity : 3 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +IPU version information: + +IPU (Master) 3 : uptime is 266 days, 8 hours, 58 minutes + StartupTime 2019/05/28 02:26:30 + SDRAM Memory Size : 4096 M bytes + FLASH Memory Size : 32 M bytes + NVRAM Memory Size : 512 K bytes + CFCARD Memory Size : 2048 M bytes + IPU CX6B0BKP0371 version information + CPU PCB Version : CX68L2XEFGFB REV B + EPLD Version : 111 + FPGA Version : 107 + NPU PCB Version : CX68L2XEFGFA REV B + FPGA Version : 107 + NP Version : 100 + TM Version : 110 + NSE Version : NSE REV A + BootROM Version : 06.11 + BootLoad Version : 06.11 + PIC1: CR5D00C4CF71 version information + StartupTime : 2019/05/28 02:27:08 + PCB Version : CX68C4CF REV A + FPGA Version : 004 + FIC2: CR5D00P4CF70 version information + StartupTime : 2019/05/28 02:27:21 + PCB Version : CX67P4CFA REV B + FPGA Version : 014 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +Power version information: + +POWER4's version information: + PCB Version : CX68PSUF REV B + +POWER5's version information: + PCB Version : CX68PSUF REV B +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +FAN version information: + +FAN6's version information: + PCB Version : CX68FCBD REV A +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +CLK version information: + +Slot 7 : uptime is 266 days, 8 hours, 58 minutes + StartupTime 2019/05/28 02:26:30 + 1. FPGA Version : 017 + 2. DSP Version : 17010002 \ No newline at end of file diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version1.yml b/tests/huawei_vrp/display_version/huawei_vrp_display_version1.yml new file mode 100644 index 0000000000..7eaa65efa6 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version1.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - vrp_version: "8.100" + product_version: "CX600 V800R007C10SPC100" + model: "CX600-M2E" + uptime: "266 days, 8 hours, 59 minutes" diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version2.raw b/tests/huawei_vrp/display_version/huawei_vrp_display_version2.raw new file mode 100644 index 0000000000..d5145b5bc2 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version2.raw @@ -0,0 +1,31 @@ +Huawei Versatile Routing Platform Software +VRP (R) software, Version 8.180 (ATN 910C-B V300R003C10SPC500) +Copyright (C) 2012-2018 Huawei Technologies Co., Ltd. +HUAWEI ATN 910C-B uptime is 358 days, 16 hours, 59 minutes + +ATN 910C-B version information: +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +CXP version information: + +CXP (Master) 2 : uptime is 358 days, 16 hours, 58 minutes + StartupTime 2019/02/24 17:20:13 + SDRAM Memory Size : 4096M bytes + FLASH Memory Size : 64M bytes + CFCARD Memory Size : 800M bytes + CFCARD2 Memory Size : 800M bytes + ANGMHSTA0211 version information + PCB Version : ANG1CXPH REV A + EPLD Version : V120 + FPGA1 Version : V110 + PE Version : 000 + BootROM Version : 08.84 + BootLoad Version : 08.84 + Software Version : Version 8.180 RELEASE 0001 +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +PWR version information: + +PWR5's version information: + PCB Version : ES5MPSD17 REV D + +PWR6's version information: + PCB Version : ES5MPSD17 REV D \ No newline at end of file diff --git a/tests/huawei_vrp/display_version/huawei_vrp_display_version2.yml b/tests/huawei_vrp/display_version/huawei_vrp_display_version2.yml new file mode 100644 index 0000000000..ebbc4d2603 --- /dev/null +++ b/tests/huawei_vrp/display_version/huawei_vrp_display_version2.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - vrp_version: "8.180" + product_version: "ATN 910C-B V300R003C10SPC500" + model: "ATN 910C-B" + uptime: "358 days, 16 hours, 59 minutes" From 689f8b31d1692e52308c6c5c3109ef9ba65a6011 Mon Sep 17 00:00:00 2001 From: JoeyG1973 Date: Tue, 25 Feb 2020 14:26:17 -0500 Subject: [PATCH 376/628] New Template: NXOS show vrf interface (#602) --- .gitignore | 4 + .../cisco_nxos_show_vrf_interface.textfsm | 12 +++ templates/index | 1 + .../cisco_nxos_show_vrf_interface.raw | 19 +++++ .../cisco_nxos_show_vrf_interface.yml | 74 +++++++++++++++++++ 5 files changed, 110 insertions(+) create mode 100644 templates/cisco_nxos_show_vrf_interface.textfsm create mode 100644 tests/cisco_nxos/show_vrf_interface/cisco_nxos_show_vrf_interface.raw create mode 100644 tests/cisco_nxos/show_vrf_interface/cisco_nxos_show_vrf_interface.yml diff --git a/.gitignore b/.gitignore index ede28f140f..497b3b114a 100644 --- a/.gitignore +++ b/.gitignore @@ -183,3 +183,7 @@ hosts *.py~ create_ntc-templates_parsed.py + +# Ignore pipenv files +**Pipfile +**Pipfile.lock \ No newline at end of file diff --git a/templates/cisco_nxos_show_vrf_interface.textfsm b/templates/cisco_nxos_show_vrf_interface.textfsm new file mode 100644 index 0000000000..80275b756b --- /dev/null +++ b/templates/cisco_nxos_show_vrf_interface.textfsm @@ -0,0 +1,12 @@ +Value INTERFACE (\S+) +Value NAME (\S+) +Value ID (\S+) +Value ORIGIN (\S+) + +Start + ^Interface\s+VRF-Name\s+VRF-ID\s+Site-of-Origin -> Start_record + +Start_record + ^${INTERFACE}\s+${NAME}\s+${ID}\s+${ORIGIN} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index b9f70a71c9..714e7f1444 100644 --- a/templates/index +++ b/templates/index @@ -233,6 +233,7 @@ cisco_nxos_show_lldp_neighbors.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[g cisco_nxos_show_cdp_neighbors.textfsm, .*, cisco_nxos, sh[[ow]] cd[[p]] neig[[hbors]] cisco_nxos_show_ip_arp_detail.textfsm, .*, cisco_nxos, sh[[ow]] i[[p]] a[[rp]] det[[ail]] cisco_nxos_show_processes_cpu.textfsm, .*, cisco_nxos, sh[[ow]] proc[[esses]] c[[pu]] +cisco_nxos_show_vrf_interface.textfsm, .*, cisco_nxos, sh[[ow]] vrf int[[erface]] cisco_nxos_show_access-lists.textfsm, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] cisco_nxos_show_environments.textfsm, .*, cisco_nxos, sh[[ow]] envi[[ronments]] cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] diff --git a/tests/cisco_nxos/show_vrf_interface/cisco_nxos_show_vrf_interface.raw b/tests/cisco_nxos/show_vrf_interface/cisco_nxos_show_vrf_interface.raw new file mode 100644 index 0000000000..ec39380f93 --- /dev/null +++ b/tests/cisco_nxos/show_vrf_interface/cisco_nxos_show_vrf_interface.raw @@ -0,0 +1,19 @@ +Interface VRF-Name VRF-ID Site-of-Origin +Vlan6001 ADMIN 6 -- +Vlan6700 ADMIN 6 -- +Vlan5302 AXNET 7 -- +Vlan7202 AXNET 7 -- +Vlan6302 AXNET 7 -- +Vlan5301 MARKING 4 -- +Vlan7201 MARKING 4 -- +Vlan6301 MARKING 4 -- +Ethernet1/10 Keepalive 3 -- +Vlan1 default 1 -- +Vlan100 default 1 -- +loopback0 default 1 -- +loopback1 default 1 -- +Ethernet1/25 default 1 -- +Ethernet1/30 default 1 -- +Ethernet1/17 default 1 -- +Ethernet1/42 default 1 -- +mgmt0 management 2 -- diff --git a/tests/cisco_nxos/show_vrf_interface/cisco_nxos_show_vrf_interface.yml b/tests/cisco_nxos/show_vrf_interface/cisco_nxos_show_vrf_interface.yml new file mode 100644 index 0000000000..c9d63f50c2 --- /dev/null +++ b/tests/cisco_nxos/show_vrf_interface/cisco_nxos_show_vrf_interface.yml @@ -0,0 +1,74 @@ +--- +parsed_sample: + - interface: "Vlan6001" + name: "ADMIN" + id: "6" + origin: "--" + - interface: "Vlan6700" + name: "ADMIN" + id: "6" + origin: "--" + - interface: "Vlan5302" + name: "AXNET" + id: "7" + origin: "--" + - interface: "Vlan7202" + name: "AXNET" + id: "7" + origin: "--" + - interface: "Vlan6302" + name: "AXNET" + id: "7" + origin: "--" + - interface: "Vlan5301" + name: "MARKING" + id: "4" + origin: "--" + - interface: "Vlan7201" + name: "MARKING" + id: "4" + origin: "--" + - interface: "Vlan6301" + name: "MARKING" + id: "4" + origin: "--" + - interface: "Ethernet1/10" + name: "Keepalive" + id: "3" + origin: "--" + - interface: "Vlan1" + name: "default" + id: "1" + origin: "--" + - interface: "Vlan100" + name: "default" + id: "1" + origin: "--" + - interface: "loopback0" + name: "default" + id: "1" + origin: "--" + - interface: "loopback1" + name: "default" + id: "1" + origin: "--" + - interface: "Ethernet1/25" + name: "default" + id: "1" + origin: "--" + - interface: "Ethernet1/30" + name: "default" + id: "1" + origin: "--" + - interface: "Ethernet1/17" + name: "default" + id: "1" + origin: "--" + - interface: "Ethernet1/42" + name: "default" + id: "1" + origin: "--" + - interface: "mgmt0" + name: "management" + id: "2" + origin: "--" From b34587d0167d92854e92a094b7801556778e3a97 Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 27 Feb 2020 16:17:11 +0000 Subject: [PATCH 377/628] Enhancements: IOS show run partition access-list (#598) * Add Capture Group `TCP_FLAG` * Convert `COMMENT` to a List * Update `PROTOCOL` to include numbered protocols --- ...nning-config_partition_access-list.textfsm | 15 +- ...w_running-config_partition_access-list.yml | 330 ++- ...ing-config_partition_access-list_fixed.raw | 159 + ...ing-config_partition_access-list_fixed.yml | 2575 +++++++++++++++++ 4 files changed, 2939 insertions(+), 140 deletions(-) create mode 100644 tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw create mode 100644 tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml diff --git a/templates/cisco_ios_show_running-config_partition_access-list.textfsm b/templates/cisco_ios_show_running-config_partition_access-list.textfsm index c847e73b26..e3cc2d621b 100644 --- a/templates/cisco_ios_show_running-config_partition_access-list.textfsm +++ b/templates/cisco_ios_show_running-config_partition_access-list.textfsm @@ -1,15 +1,15 @@ Value Required,Filldown ACL_NAME (\S+) Value Filldown ACL_TYPE (standard|extended) -Value COMMENT (.*) +Value List COMMENT (.*) Value ACTION (permit|deny) -Value PROTOCOL ([a-z]+) +Value PROTOCOL (\S+) Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) Value SRC_PORT_MATCH (eq|range|lt|gt) Value SRC_PORT ((? Record # Record named ACL Extended entry - ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|)(\s+${LOG}|)(\s+time-range\s+${TIME}|) -> Record + ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|\s+${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}|) -> Record # Record named ACL Standard entry ^\s+${ACTION}\s+(${SRC_NETWORK}\s+${SRC_WILDCARD}|${SRC_ANY}|${SRC_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record named ACL Remark ^\s+remark\s+${COMMENT}\s* # Record numbered ACL Extended entry - ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|)(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record + ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|\s+${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record numbered ACL Standard entry ^access-list\s+${ACL_NAME}\s+${ACTION}\s+(${SRC_NETWORK}\s+${SRC_WILDCARD}|${SRC_ANY}|${SRC_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record - # Record numerd ACL Remark - ^access-list\s+${ACL_NAME}\s+remark\s+${COMMENT}\s* -> Record + # Record numbered ACL Remark + ^access-list\s+${ACL_NAME}\s+remark\s+${COMMENT}\s* # Catch all unuseful raw data ^(!\s*|$$|Building configuration.*|Current configuration.*|Configuration.*|end.*) # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml index d09e962af6..283db1bd13 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml @@ -2,7 +2,7 @@ parsed_sample: - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "" protocol: "" src_host: "" @@ -21,11 +21,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows BGP\"" + comment: + - "\"allows BGP\"" action: "permit" protocol: "tcp" src_host: "10.1.6.20" @@ -44,11 +46,12 @@ parsed_sample: dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "10.1.6.20" @@ -67,11 +70,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample to ping\"" + comment: + - "\"allows sample to ping\"" action: "permit" protocol: "icmp" src_host: "" @@ -90,11 +95,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -113,11 +119,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample to ping\"" + comment: + - "\"allows sample to ping\"" action: "permit" protocol: "icmp" src_host: "" @@ -136,11 +144,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -159,11 +168,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample to ping\"" + comment: + - "\"allows sample to ping\"" action: "permit" protocol: "icmp" src_host: "" @@ -182,11 +193,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -205,11 +217,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample to ping\"" + comment: + - "\"allows sample to ping\"" action: "permit" protocol: "icmp" src_host: "" @@ -228,11 +242,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -251,11 +266,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample to ping\"" + comment: + - "\"allows sample to ping\"" action: "permit" protocol: "icmp" src_host: "" @@ -274,11 +291,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -297,11 +315,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample to ping\"" + comment: + - "\"allows sample to ping\"" action: "permit" protocol: "icmp" src_host: "" @@ -320,11 +340,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -343,11 +364,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "allows sample to ping" + comment: + - "allows sample to ping" action: "permit" protocol: "icmp" src_host: "" @@ -366,11 +389,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -389,11 +413,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "allows sample to ping" + comment: + - "allows sample to ping" action: "permit" protocol: "icmp" src_host: "" @@ -412,11 +438,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -435,11 +462,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "permit sample servers to ping" + comment: + - "permit sample servers to ping" action: "permit" protocol: "icmp" src_host: "" @@ -458,11 +487,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -481,11 +511,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "allows sample to ping" + comment: + - "allows sample to ping" action: "permit" protocol: "icmp" src_host: "" @@ -504,11 +536,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -527,11 +560,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -550,11 +584,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "icmp" src_host: "" @@ -573,11 +608,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample workstation(s) to connect\"" + comment: + - "\"allows sample workstation(s) to connect\"" action: "permit" protocol: "tcp" src_host: "" @@ -596,11 +633,12 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -619,11 +657,12 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -642,11 +681,12 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -665,11 +705,12 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -688,11 +729,12 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -711,11 +753,12 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -734,11 +777,12 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -757,11 +801,13 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample workstation(s)\"" + comment: + - "\"allows sample workstation(s)\"" action: "permit" protocol: "tcp" src_host: "" @@ -780,11 +826,12 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -803,11 +850,12 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -826,11 +874,12 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -849,11 +898,12 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -872,11 +922,12 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -895,11 +946,13 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample workstation(s)\"" + comment: + - "\"allows sample workstation(s)\"" action: "permit" protocol: "tcp" src_host: "" @@ -918,11 +971,12 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -941,11 +995,12 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -964,11 +1019,12 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -987,11 +1043,12 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1010,11 +1067,12 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1033,11 +1091,13 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample workstation(s)\"" + comment: + - "\"allows sample workstation(s)\"" action: "permit" protocol: "tcp" src_host: "" @@ -1056,11 +1116,12 @@ parsed_sample: dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1079,11 +1140,12 @@ parsed_sample: dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1102,11 +1164,12 @@ parsed_sample: dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1125,11 +1188,13 @@ parsed_sample: dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "\"allows sample workstation(s)\"" + comment: + - "\"allows sample workstation(s)\"" action: "permit" protocol: "tcp" src_host: "" @@ -1148,11 +1213,12 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1171,11 +1237,12 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1194,11 +1261,12 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1217,11 +1285,12 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1240,11 +1309,12 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1263,11 +1333,12 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1286,11 +1357,12 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1309,11 +1381,13 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "permit sample workstation(s)" + comment: + - "permit sample workstation(s)" action: "permit" protocol: "tcp" src_host: "" @@ -1332,11 +1406,13 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "permit sample workstation(s)" + comment: + - "permit sample workstation(s)" action: "permit" protocol: "tcp" src_host: "" @@ -1355,11 +1431,13 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "permit sample to connect" + comment: + - "permit sample to connect" action: "permit" protocol: "tcp" src_host: "" @@ -1378,11 +1456,12 @@ parsed_sample: dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1401,11 +1480,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "permit sample to connect" + comment: + - "permit sample to connect" action: "permit" protocol: "tcp" src_host: "" @@ -1424,11 +1505,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "permit sample UDP access" + comment: + - "permit sample UDP access" action: "permit" protocol: "udp" src_host: "" @@ -1447,11 +1530,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "udp" src_host: "" @@ -1470,11 +1554,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "permit sample TCP access" + comment: + - "permit sample TCP access" action: "permit" protocol: "tcp" src_host: "" @@ -1493,11 +1579,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + tcp_flag: "" log: "log" time: "test" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1516,11 +1603,13 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + tcp_flag: "" log: "log-input" time: "" - acl_name: "sample" acl_type: "extended" - comment: "allow sample to send PIM-Join" + comment: + - "allow sample to send PIM-Join" action: "permit" protocol: "pim" src_host: "10.1.6.20" @@ -1539,11 +1628,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "deny" protocol: "ip" src_host: "" @@ -1562,11 +1652,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "sample" acl_type: "extended" - comment: "" + comment: [] action: "permit" protocol: "ip" src_host: "" @@ -1585,11 +1676,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "test" acl_type: "extended" - comment: "" + comment: [] action: "" protocol: "" src_host: "" @@ -1608,34 +1700,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "97" acl_type: "" - comment: "this is a remark" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" - - acl_name: "97" - acl_type: "" - comment: "" + comment: [] action: "deny" protocol: "" src_host: "" @@ -1654,11 +1724,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "log" time: "" - acl_name: "97" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "" src_host: "" @@ -1677,11 +1748,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "98" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "" src_host: "10.16.5.19" @@ -1700,11 +1772,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "98" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "" src_host: "10.16.5.20" @@ -1723,11 +1796,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "99" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "" src_host: "10.16.5.19" @@ -1746,11 +1820,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "99" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "" src_host: "10.16.5.20" @@ -1769,11 +1844,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "199" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1792,11 +1868,12 @@ parsed_sample: dst_port: "80" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "199" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "udp" src_host: "" @@ -1815,11 +1892,12 @@ parsed_sample: dst_port: "1000" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "101" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1838,11 +1916,12 @@ parsed_sample: dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "101" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -1861,34 +1940,12 @@ parsed_sample: dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "log" time: "" - acl_name: "101" acl_type: "" - comment: "this is a remark" - action: "" - protocol: "" - src_host: "" - src_any: "" - src_network: "" - src_wildcard: "" - src_port_match: "" - src_port: "" - src_port_range_start: "" - src_port_range_end: "" - dst_host: "" - dst_any: "" - dst_network: "" - dst_wildcard: "" - dst_port_match: "" - dst_port: "" - dst_port_range_start: "" - dst_port_range_end: "" - log: "" - time: "" - - acl_name: "101" - acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "ahp" src_host: "" @@ -1907,11 +1964,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "log-input" time: "" - acl_name: "101" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "10.1.1.1" @@ -1930,11 +1988,12 @@ parsed_sample: dst_port: "tacacs" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "log" time: "test" - acl_name: "stdacl" acl_type: "standard" - comment: "" + comment: [] action: "" protocol: "" src_host: "" @@ -1953,11 +2012,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "stdacl" acl_type: "standard" - comment: "" + comment: [] action: "permit" protocol: "" src_host: "10.1.1.1" @@ -1976,11 +2036,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "test2" acl_type: "extended" - comment: "" + comment: [] action: "" protocol: "" src_host: "" @@ -1999,11 +2060,12 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "198" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "tcp" src_host: "" @@ -2022,11 +2084,12 @@ parsed_sample: dst_port: "80" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" - acl_name: "198" acl_type: "" - comment: "" + comment: [] action: "permit" protocol: "udp" src_host: "" @@ -2045,5 +2108,6 @@ parsed_sample: dst_port: "1000" dst_port_range_start: "" dst_port_range_end: "" + tcp_flag: "" log: "" time: "" diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw new file mode 100644 index 0000000000..f3a165dc05 --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw @@ -0,0 +1,159 @@ +Building configuration... + +Current configuration : 5066 bytes +! +Configuration of Partition - access-list +! +! +! +! +ip access-list extended sample + remark "allows BGP" + permit tcp host 10.1.6.20 host 10.1.6.98 eq bgp + permit tcp host 10.1.6.20 eq bgp host 10.1.6.98 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.6.98 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.6.98 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.5.20 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.5.20 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.6.144 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.6.144 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.6.146 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.6.146 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.6.148 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.6.148 + remark "allows sample to ping" + permit icmp 10.1.6.16 0.0.0.3 host 10.1.6.152 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.6.152 + remark allows sample to ping + permit icmp 10.1.6.16 0.0.0.3 host 10.1.8.26 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.8.26 + remark allows sample to ping + permit icmp 10.1.6.16 0.0.0.3 host 10.1.8.152 + permit icmp 10.1.6.24 0.0.0.7 host 10.1.8.152 + remark permit sample servers to ping + permit icmp 10.1.6.16 0.0.0.3 10.3.14.0 0.0.0.127 + permit icmp 10.1.6.24 0.0.0.7 10.3.14.0 0.0.0.127 + remark allows sample to ping + permit icmp 10.1.6.16 0.0.0.3 host 10.3.139.248 + permit icmp 10.1.6.24 0.0.0.7 host 10.3.139.248 + permit icmp 10.1.6.16 0.0.0.3 10.3.139.128 0.0.0.7 + permit icmp 10.1.6.24 0.0.0.7 10.3.139.128 0.0.0.7 + remark "allows sample workstation(s) to connect" + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4000 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4010 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4020 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4080 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4300 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4310 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4320 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.5.20 eq 4380 + remark "allows sample workstation(s)" + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4000 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4010 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4020 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4300 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4310 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.144 eq 4320 + remark "allows sample workstation(s)" + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4000 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4010 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4020 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4300 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4310 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.146 eq 4320 + remark "allows sample workstation(s)" + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.148 eq 4050 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.148 eq 4060 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.148 eq 4350 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.148 eq 4360 + remark "allows sample workstation(s)" + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4000 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4010 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4020 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4080 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4300 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4310 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4320 + permit tcp 10.1.6.24 0.0.0.7 host 10.1.6.152 eq 4380 + remark permit sample workstation(s) + permit tcp 10.1.6.24 0.0.0.7 host 10.1.8.26 eq 4001 + remark permit sample workstation(s) + permit tcp 10.1.6.24 0.0.0.7 host 10.1.8.152 eq 4001 + remark permit sample to connect + permit tcp 10.1.6.24 0.0.0.7 10.3.14.64 0.0.0.31 eq 9815 + permit tcp 10.1.6.24 0.0.0.7 10.3.14.64 0.0.0.31 range 9821 9823 + remark permit sample to connect + permit tcp 10.1.6.24 0.0.0.7 10.3.14.96 0.0.0.31 range 7400 7407 + remark permit sample UDP access + permit udp 10.1.6.16 0.0.0.3 host 10.3.139.133 range 13001 13191 + permit udp 10.1.6.24 0.0.0.7 host 10.3.139.133 range 13001 13191 + remark permit sample TCP access + permit tcp 10.1.6.16 0.0.0.3 host 10.3.139.134 range 13001 13191 log time-range test + permit tcp 10.1.6.24 0.0.0.7 host 10.3.139.134 range 13001 13191 log-input + remark allow sample to send PIM-Join + permit pim host 10.1.6.20 host 224.0.0.1 + deny ip any any + permit ip 10.0.0.0 0.255.0.255 any +ip access-list extended test +access-list 97 remark this is a remark +access-list 97 deny 10.1.0.1 0.0.255.0 log +access-list 97 permit any +access-list 98 permit 10.16.5.19 +access-list 98 permit 10.16.5.20 +access-list 99 permit 10.16.5.19 +access-list 99 permit 10.16.5.20 +access-list 199 permit tcp 10.16.5.19 0.0.0.0 any eq 80 +access-list 199 permit udp any any eq 1000 +access-list 101 permit tcp any host 10.1.1.1 eq www +access-list 101 permit tcp any host 10.1.1.1 eq 443 log +access-list 101 remark this is a remark +access-list 101 permit ahp any any log-input +access-list 101 permit tcp host 10.1.1.1 eq ftp any eq tacacs log time-range test + +! +ip access-list standard stdacl + permit 10.1.1.1 +ip access-list extended test2 + +access-list 198 permit tcp 10.16.5.19 0.0.0.0 any eq 80 +access-list 198 permit udp any any eq 1000 + +ip access-list extended ios_partition_acl + remark match protocol numbers + deny 53 any any + deny 55 any any + deny pim any any + remark match source port range correctly + remark COMMENTs as a list + permit udp any range 3478 3481 host 172.16.1.1 + permit udp any range 50000 50019 host 172.16.1.1 + permit udp any range 50020 50039 host 172.16.1.1 + permit udp any range 50040 50059 host 172.16.1.1 + remark match TCP flags + remark consecutive COMMENT + permit tcp any host 192.168.100.1 established + remark correct syntax for time-range ace + permit tcp host 10.1.1.1 eq ftp any eq tacacs time-range test log + +access-list 102 remark match protocol numbers +access-list 102 deny 53 any any +access-list 102 deny 55 any any +access-list 102 deny pim any any +access-list 102 remark match source port range correctly +access-list 102 remark COMMENTs as a list +access-list 102 permit udp any range 3478 3481 host 172.16.1.1 +access-list 102 permit udp any range 50000 50019 host 172.16.1.1 +access-list 102 permit udp any range 50020 50039 host 172.16.1.1 +access-list 102 permit udp any range 50040 50059 host 172.16.1.1 +access-list 102 remark match TCP flags +access-list 102 remark consecutive COMMENT +access-list 102 permit tcp any host 192.168.100.1 established +access-list 102 remark correct syntax for time-range ace +access-list 102 permit tcp host 10.1.1.1 eq ftp any eq tacacs time-range test log + +end diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml new file mode 100644 index 0000000000..36e6f8294d --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml @@ -0,0 +1,2575 @@ +--- +parsed_sample: + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows BGP\"" + action: "permit" + protocol: "tcp" + src_host: "10.1.6.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "10.1.6.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "bgp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.98" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample to ping\"" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "allows sample to ping" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "allows sample to ping" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "permit sample servers to ping" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "allows sample to ping" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample workstation(s) to connect\"" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample workstation(s)\"" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample workstation(s)\"" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample workstation(s)\"" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4050" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4060" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4350" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4360" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "\"allows sample workstation(s)\"" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "permit sample workstation(s)" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "permit sample workstation(s)" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "permit sample to connect" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "eq" + dst_port: "9815" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "9821" + dst_port_range_end: "9823" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "permit sample to connect" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.14.96" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "7400" + dst_port_range_end: "7407" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "permit sample UDP access" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "permit sample TCP access" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + tcp_flag: "" + log: "log" + time: "test" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.1.6.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + tcp_flag: "" + log: "log-input" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: + - "allow sample to send PIM-Join" + action: "permit" + protocol: "pim" + src_host: "10.1.6.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "224.0.0.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "deny" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "sample" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "ip" + src_host: "" + src_any: "" + src_network: "10.0.0.0" + src_wildcard: "0.255.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "test" + acl_type: "extended" + comment: [] + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "97" + acl_type: "" + comment: [] + action: "deny" + protocol: "" + src_host: "" + src_any: "" + src_network: "10.1.0.1" + src_wildcard: "0.0.255.0" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "log" + time: "" + - acl_name: "97" + acl_type: "" + comment: [] + action: "permit" + protocol: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "98" + acl_type: "" + comment: [] + action: "permit" + protocol: "" + src_host: "10.16.5.19" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "98" + acl_type: "" + comment: [] + action: "permit" + protocol: "" + src_host: "10.16.5.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "99" + acl_type: "" + comment: [] + action: "permit" + protocol: "" + src_host: "10.16.5.19" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "99" + acl_type: "" + comment: [] + action: "permit" + protocol: "" + src_host: "10.16.5.20" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "199" + acl_type: "" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.16.5.19" + src_wildcard: "0.0.0.0" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "80" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "199" + acl_type: "" + comment: [] + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "1000" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "101" + acl_type: "" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "101" + acl_type: "" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "443" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "log" + time: "" + - acl_name: "101" + acl_type: "" + comment: [] + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "log-input" + time: "" + - acl_name: "101" + acl_type: "" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "ftp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "tacacs" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "log" + time: "test" + - acl_name: "stdacl" + acl_type: "standard" + comment: [] + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "stdacl" + acl_type: "standard" + comment: [] + action: "permit" + protocol: "" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "test2" + acl_type: "extended" + comment: [] + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "198" + acl_type: "" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.16.5.19" + src_wildcard: "0.0.0.0" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "80" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "198" + acl_type: "" + comment: [] + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "1000" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "ios_partition_acl" + acl_type: "extended" + comment: [] + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "ios_partition_acl" + acl_type: "extended" + comment: + - "match protocol numbers" + action: "deny" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "ios_partition_acl" + acl_type: "extended" + comment: [] + action: "deny" + protocol: "55" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "ios_partition_acl" + acl_type: "extended" + comment: [] + action: "deny" + protocol: "pim" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "ios_partition_acl" + acl_type: "extended" + comment: + - "match source port range correctly" + - "COMMENTs as a list" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "3478" + src_port_range_end: "3481" + dst_host: "172.16.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "ios_partition_acl" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "50000" + src_port_range_end: "50019" + dst_host: "172.16.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "ios_partition_acl" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "50020" + src_port_range_end: "50039" + dst_host: "172.16.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "ios_partition_acl" + acl_type: "extended" + comment: [] + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "50040" + src_port_range_end: "50059" + dst_host: "172.16.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "ios_partition_acl" + acl_type: "extended" + comment: + - "match TCP flags" + - "consecutive COMMENT" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "192.168.100.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "established" + log: "" + time: "" + - acl_name: "ios_partition_acl" + acl_type: "extended" + comment: + - "correct syntax for time-range ace" + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "ftp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "tacacs" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "test" + - acl_name: "102" + acl_type: "" + comment: [] + action: "deny" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "102" + acl_type: "" + comment: [] + action: "deny" + protocol: "55" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "102" + acl_type: "" + comment: [] + action: "deny" + protocol: "pim" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "102" + acl_type: "" + comment: [] + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "3478" + src_port_range_end: "3481" + dst_host: "172.16.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "102" + acl_type: "" + comment: [] + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "50000" + src_port_range_end: "50019" + dst_host: "172.16.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "102" + acl_type: "" + comment: [] + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "50020" + src_port_range_end: "50039" + dst_host: "172.16.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "102" + acl_type: "" + comment: [] + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "50040" + src_port_range_end: "50059" + dst_host: "172.16.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "" + - acl_name: "102" + acl_type: "" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "192.168.100.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "established" + log: "" + time: "" + - acl_name: "102" + acl_type: "" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "ftp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "tacacs" + dst_port_range_start: "" + dst_port_range_end: "" + tcp_flag: "" + log: "" + time: "test" From ccf0cd2c0bf4cad90f3477bd2ac238671df021a5 Mon Sep 17 00:00:00 2001 From: Heine Melo <41089692+hijm@users.noreply.github.com> Date: Fri, 28 Feb 2020 06:19:59 -0800 Subject: [PATCH 378/628] Cisco XR - admin show environment power - template (#596) --- ...co_xr_admin_show_environment_power.textfsm | 11 ++++ templates/index | 1 + .../cisco_xr_admin_show_environment_power.raw | 51 +++++++++++++++++++ .../cisco_xr_admin_show_environment_power.yml | 18 +++++++ 4 files changed, 81 insertions(+) create mode 100644 templates/cisco_xr_admin_show_environment_power.textfsm create mode 100644 tests/cisco_xr/admin_show_environment_power/cisco_xr_admin_show_environment_power.raw create mode 100644 tests/cisco_xr/admin_show_environment_power/cisco_xr_admin_show_environment_power.yml diff --git a/templates/cisco_xr_admin_show_environment_power.textfsm b/templates/cisco_xr_admin_show_environment_power.textfsm new file mode 100644 index 0000000000..bf0f33268d --- /dev/null +++ b/templates/cisco_xr_admin_show_environment_power.textfsm @@ -0,0 +1,11 @@ +Value Filldown POWER_GROUP (\d+) +Value Required POWER_MODULE (\d+\/PM\d+) +Value Required SUPPLY_TYPE (\S+) +Value Required STATUS (OK|Failed) + +Start + ^.*\=+ -> Parse + +Parse + ^Power\sGroup+\s+${POWER_GROUP} -> Record + ^\s+${POWER_MODULE}\s+${SUPPLY_TYPE}+\s+\S+\s+\S+\s+\S+\s+\S+\s+\S+\s+${STATUS} -> Record diff --git a/templates/index b/templates/index index 714e7f1444..753f6baa77 100644 --- a/templates/index +++ b/templates/index @@ -279,6 +279,7 @@ cisco_xr_admin_show_controller_fabric_health.textfsm, .*, cisco_xr, adm[[in]] sh cisco_xr_show_controller_fabric_plane_all.textfsm, .*, cisco_xr, sh[[ow]] controller fab[[ric]] pla[[ne]] all cisco_xr_show_configuration_commit_list.textfsm, .*, cisco_xr, sh[[ow]] conf[[iguration]] c[[ommit]] l[[ist]] cisco_xr_show_asic-errors_all_location.textfsm, .*, cisco_xr, sh[[ow]] asic-er[[rors]] all loc[[ation]] +cisco_xr_admin_show_environment_power.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] p[[ower]] cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm, .*, cisco_xr, sh[[ow]] dh[[cp]] ipv4 p[[roxy]] b[[inding]] cisco_xr_show_mpls_ldp_neighbor_brief.textfsm, .*, cisco_xr, sh[[ow]] mp[[ls]] ld[[p]] neigh[[bor]] br[[ief]] cisco_xr_admin_show_environment_fan.textfsm, .*, cisco_xr, adm[[in]] sh[[ow]] env[[ironment]] f[[an]] diff --git a/tests/cisco_xr/admin_show_environment_power/cisco_xr_admin_show_environment_power.raw b/tests/cisco_xr/admin_show_environment_power/cisco_xr_admin_show_environment_power.raw new file mode 100644 index 0000000000..0d8cdfdeaa --- /dev/null +++ b/tests/cisco_xr/admin_show_environment_power/cisco_xr_admin_show_environment_power.raw @@ -0,0 +1,51 @@ +Fri Jan 17 14:45:54.414 EST +================================================================================ +CHASSIS LEVEL POWER INFO: 0 +================================================================================ + Total output power capacity (Group 0 + Group 1) : 6000W + 6000W + Total output power required : 2493W + Total power input : 1334W + Total power output : 1246W + +Power Group 0: +================================================================================ + Power Supply --------Input------- ----Output---- Status + Module Type Volts A/B Amps A/B Volts Amps +================================================================================ + 0/PM0 3kW-DC 54.0/54.0 3.3/ 3.5 12.1 27.0 Failed + 0/PM1 3kW-DC 54.0/54.0 3.0/ 2.9 12.1 25.8 OK + +Total of Power Group 0: 686W/ ( 6.3/ 6.4)A 639W/ 52.8A + +Power Group 1: +================================================================================ + Power Supply --------Input------- ----Output---- Status + Module Type Volts A/B Amps A/B Volts Amps +================================================================================ + 0/PM2 3kW-DC 54.0/54.0 2.7/ 2.9 12.1 23.8 OK + 0/PM3 3kW-DC 54.0/54.0 3.1/ 3.3 12.1 26.4 OK + +Total of Power Group 1: 648W/ ( 5.8/ 6.2)A 607W/ 50.2A + +================================================================================ + Location Card Type Power Power Status + Allocated Used + Watts Watts +================================================================================ + 0/0 NC55-36X100G 902 504 ON + 0/1 - 25 - RESERVED + 0/2 - 25 - RESERVED + 0/3 - 25 - RESERVED + 0/RP0 NC55-RP 90 37 ON + 0/RP1 NC55-RP 90 28 ON + 0/FC0 NC55-5504-FC 124 89 ON + 0/FC1 NC55-5504-FC 124 90 ON + 0/FC2 NC55-5504-FC 124 88 ON + 0/FC3 NC55-5504-FC 124 88 ON + 0/FC4 NC55-5504-FC 124 87 ON + 0/FC5 NC55-5504-FC 124 88 ON + 0/FT0 NC55-5504-FAN 174 20 ON + 0/FT1 NC55-5504-FAN 174 19 ON + 0/FT2 NC55-5504-FAN 174 21 ON + 0/SC0 NC55-SC 35 17 ON + 0/SC1 NC55-SC 35 15 ON diff --git a/tests/cisco_xr/admin_show_environment_power/cisco_xr_admin_show_environment_power.yml b/tests/cisco_xr/admin_show_environment_power/cisco_xr_admin_show_environment_power.yml new file mode 100644 index 0000000000..357364a160 --- /dev/null +++ b/tests/cisco_xr/admin_show_environment_power/cisco_xr_admin_show_environment_power.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - power_group: "0" + power_module: "0/PM0" + supply_type: "3kW-DC" + status: "Failed" + - power_group: "0" + power_module: "0/PM1" + supply_type: "3kW-DC" + status: "OK" + - power_group: "1" + power_module: "0/PM2" + supply_type: "3kW-DC" + status: "OK" + - power_group: "1" + power_module: "0/PM3" + supply_type: "3kW-DC" + status: "OK" From f9d836ebdf4f9d149b7a203982223dc30b7fa847 Mon Sep 17 00:00:00 2001 From: dmwcode <53623429+dmwcode@users.noreply.github.com> Date: Fri, 28 Feb 2020 16:28:41 -0500 Subject: [PATCH 379/628] NewTemplate: aruba_os_show_arp --- templates/aruba_os_show_arp.textfsm | 13 ++++ templates/index | 1 + tests/aruba_os/show_arp/aruba_os_show_arp.raw | 16 +++++ tests/aruba_os/show_arp/aruba_os_show_arp.yml | 62 +++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 templates/aruba_os_show_arp.textfsm create mode 100644 tests/aruba_os/show_arp/aruba_os_show_arp.raw create mode 100644 tests/aruba_os/show_arp/aruba_os_show_arp.yml diff --git a/templates/aruba_os_show_arp.textfsm b/templates/aruba_os_show_arp.textfsm new file mode 100644 index 0000000000..e8b2bcd202 --- /dev/null +++ b/templates/aruba_os_show_arp.textfsm @@ -0,0 +1,13 @@ +Value PROTOCOL (\w+) +Value ADDRESS (\d+.\d+.\d+.\d+) +Value MAC (\S+) +Value INTERFACE (\S+) +Value AGE (\d+) + +Start + ^IPV4\s+ARP\s+Table + ^-+ + ^\s+Protocol\s+IP\s+Address\s+Hardware\s+Address\s+Interface\s+Age + ^\s+${PROTOCOL}\s+${ADDRESS}\s+${MAC}\s+${INTERFACE}\s+${AGE} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 753f6baa77..bf57b2acc8 100644 --- a/templates/index +++ b/templates/index @@ -55,6 +55,7 @@ arista_eos_show_vrf.textfsm, .*, arista_eos, sh[[ow]] vrf aruba_os_show_ipv6_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] aruba_os_show_ip_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] +aruba_os_show_arp.textfsm, .*, aruba_os, sh[[ow]] arp avaya_ers_show_mac-address-table.textfsm, .*, avaya_ers, sh[[ow]] mac-a[[ddress-table]] avaya_ers_show_mlt_all-members.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] a[[ll-members]] diff --git a/tests/aruba_os/show_arp/aruba_os_show_arp.raw b/tests/aruba_os/show_arp/aruba_os_show_arp.raw new file mode 100644 index 0000000000..546cbf8f70 --- /dev/null +++ b/tests/aruba_os/show_arp/aruba_os_show_arp.raw @@ -0,0 +1,16 @@ +IPV4 ARP Table +-------------- + Protocol IP Address Hardware Address Interface Age (min) +---------- ---------- ---------------- --------- --------- + Internet 10.13.68.113 24:be:05:28:10:71 vlan10 78 + Internet 10.13.68.114 b0:5a:da:38:7e:0d vlan10 19 + Internet 10.13.68.117 10:e7:c6:05:d3:22 vlan10 62 + Internet 10.13.68.118 9c:eb:e8:75:0d:89 vlan10 1376 + Internet 10.13.68.119 70:5a:0f:d8:fc:cc vlan10 65 + Internet 10.13.68.120 10:e7:c6:6e:6a:d2 vlan10 25 + Internet 10.13.68.121 80:ce:62:5e:c4:d1 vlan10 63 + Internet 10.13.68.123 10:e7:c6:6e:3a:fe vlan10 12 + Internet 10.13.68.124 50:65:f3:1b:53:67 vlan10 46 + Internet 10.13.68.126 78:ac:c0:82:83:9c vlan10 1376 + Internet 10.13.68.128 d4:95:24:ee:bd:d6 vlan10 1353 + Internet 10.13.68.150 78:f2:9e:90:f1:72 vlan10 1376 diff --git a/tests/aruba_os/show_arp/aruba_os_show_arp.yml b/tests/aruba_os/show_arp/aruba_os_show_arp.yml new file mode 100644 index 0000000000..d9a747ee52 --- /dev/null +++ b/tests/aruba_os/show_arp/aruba_os_show_arp.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - protocol: "Internet" + address: "10.13.68.113" + mac: "24:be:05:28:10:71" + interface: "vlan10" + age: "78" + - protocol: "Internet" + address: "10.13.68.114" + mac: "b0:5a:da:38:7e:0d" + interface: "vlan10" + age: "19" + - protocol: "Internet" + address: "10.13.68.117" + mac: "10:e7:c6:05:d3:22" + interface: "vlan10" + age: "62" + - protocol: "Internet" + address: "10.13.68.118" + mac: "9c:eb:e8:75:0d:89" + interface: "vlan10" + age: "1376" + - protocol: "Internet" + address: "10.13.68.119" + mac: "70:5a:0f:d8:fc:cc" + interface: "vlan10" + age: "65" + - protocol: "Internet" + address: "10.13.68.120" + mac: "10:e7:c6:6e:6a:d2" + interface: "vlan10" + age: "25" + - protocol: "Internet" + address: "10.13.68.121" + mac: "80:ce:62:5e:c4:d1" + interface: "vlan10" + age: "63" + - protocol: "Internet" + address: "10.13.68.123" + mac: "10:e7:c6:6e:3a:fe" + interface: "vlan10" + age: "12" + - protocol: "Internet" + address: "10.13.68.124" + mac: "50:65:f3:1b:53:67" + interface: "vlan10" + age: "46" + - protocol: "Internet" + address: "10.13.68.126" + mac: "78:ac:c0:82:83:9c" + interface: "vlan10" + age: "1376" + - protocol: "Internet" + address: "10.13.68.128" + mac: "d4:95:24:ee:bd:d6" + interface: "vlan10" + age: "1353" + - protocol: "Internet" + address: "10.13.68.150" + mac: "78:f2:9e:90:f1:72" + interface: "vlan10" + age: "1376" From aec16805fca245640a405185b0224b769ddb8395 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 2 Mar 2020 01:50:46 +0000 Subject: [PATCH 380/628] Enhancement: cisco_ios_show_ip_access-list - Numbered procotols and match recording updates --- .../cisco_ios_show_ip_access-lists.textfsm | 4 +- .../cisco_ios_show_ip_access-lists_fixed.raw | 91 + .../cisco_ios_show_ip_access-lists_fixed.yml | 2432 +++++++++++++++++ 3 files changed, 2525 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml diff --git a/templates/cisco_ios_show_ip_access-lists.textfsm b/templates/cisco_ios_show_ip_access-lists.textfsm index 333846803f..e12c044b0b 100644 --- a/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/templates/cisco_ios_show_ip_access-lists.textfsm @@ -2,7 +2,7 @@ Value Required,Filldown ACL_TYPE (Standard|Extended) Value Required,Filldown ACL_NAME (\S+) Value LINE_NUM (\d+) Value ACTION (permit|deny) -Value PROTOCOL ([a-z]+) +Value PROTOCOL (\S+) Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) @@ -29,7 +29,7 @@ Value MATCHES (\d+) Start ^(Standard|Extended) -> Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)\s*$$ -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)\s*$$ -> Record ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw new file mode 100644 index 0000000000..7f2cd2da4b --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw @@ -0,0 +1,91 @@ +Standard IP access list 99 + 10 permit 172.16.191.199 + 20 deny any log + 30 permit 10.0.10.0, wildcard bits 0.255.0.255 (20 matches) +Standard IP access list stdacl + 10 permit 10.1.1.1 +Extended IP access list test +Extended IP access list 101 + 10 permit tcp any host 10.1.1.1 eq www + 20 permit tcp any host 10.1.1.1 eq 443 log + 30 permit ahp any any log-input + 40 permit ahp any any log-input time-range test (active) + 50 permit ip any host 10.1.10.11 log time-range test2 (inactive) + 60 permit udp any range 16384 32767 10.1.1.0 0.0.0.255 range 16384 32767 + 70 permit udp any eq snmp bootpc 10.1.0.0 0.0.0.255 + 80 permit tcp 10.0.0.0 0.255.255.255 eq telnet ssh http 8080 host 10.1.0.0 neq telnet ssh + 90 permit tcp any any match-all +ack -fin log + 100 permit tcp host 10.1.1.1 any established + 110 permit tcp any 10.1.1.0 0.0.255.255 established psh +Extended IP access list sample + 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp + 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 + 30 permit icmp 10.10.37.16 0.0.0.3 host 10.10.37.17 + 40 permit icmp 10.10.37.24 0.0.0.7 host 10.10.37.17 + 50 permit icmp 10.10.37.16 0.0.0.3 host 10.10.5.20 + 60 permit icmp 10.10.37.24 0.0.0.7 host 10.10.5.20 + 70 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.144 + 80 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.144 + 90 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.146 + 100 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.146 + 110 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.148 + 120 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.148 + 130 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.152 + 140 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.152 + 150 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.26 + 160 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.26 + 170 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.152 + 180 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.152 + 190 permit icmp 10.10.37.16 0.0.0.3 10.3.140.0 0.0.0.127 + 200 permit icmp 10.10.37.24 0.0.0.7 10.3.140.0 0.0.0.127 + 210 permit icmp 10.10.37.16 0.0.0.3 host 10.3.139.248 + 220 permit icmp 10.10.37.24 0.0.0.7 host 10.3.139.248 + 230 permit icmp 10.10.37.16 0.0.0.3 10.3.139.128 0.0.0.7 + 240 permit icmp 10.10.37.24 0.0.0.7 10.3.139.128 0.0.0.7 + 250 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4000 + 260 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4010 + 270 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4020 + 280 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4080 + 290 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4300 + 300 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4310 + 310 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4320 + 320 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4380 + 330 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4000 + 340 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4010 + 350 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4020 + 360 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4300 + 370 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4310 + 380 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4320 + 390 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4000 + 400 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4010 + 410 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4020 + 420 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4300 + 430 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4310 + 440 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4320 + 450 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4050 + 460 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4060 + 470 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4350 + 480 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4360 + 490 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4000 + 500 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4010 + 510 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4020 + 520 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4080 + 530 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4300 + 540 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4310 + 550 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4320 + 560 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4380 + 570 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.26 eq 4001 + 580 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.152 eq 4001 + 590 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 eq 9815 log time-range test (active) + 600 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 range 9821 9823 + 610 permit tcp 10.10.37.24 0.0.0.7 10.3.140.96 0.0.0.31 range 7400 7407 + 620 permit udp 10.10.37.16 0.0.0.3 host 10.3.139.133 range 13001 13191 + 630 permit udp 10.10.37.24 0.0.0.7 host 10.3.139.133 range 13001 13191 + 640 permit tcp 10.10.37.16 0.0.0.3 host 10.3.139.134 range 13001 13191 + 650 permit tcp 10.10.37.24 0.0.0.7 host 10.3.139.134 range 13001 13191 + 660 permit pim host 10.10.37.18 host 224.0.0.1 time-range test2 (inactive) +Extended IP access list test2 +Extended IP access list ios_show_ip_acl + 10 permit 53 any any log (123456 matches) + 20 permit ip any any log (23 matches) + diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml new file mode 100644 index 0000000000..ee4d896496 --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml @@ -0,0 +1,2432 @@ +--- +parsed_sample: + - acl_type: "Standard" + acl_name: "99" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "10" + action: "permit" + protocol: "" + src_host: "172.16.191.199" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "20" + action: "deny" + protocol: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "30" + action: "permit" + protocol: "" + src_host: "" + src_any: "" + src_network: "10.0.10.0" + src_wildcard: "0.255.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "20" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "10" + action: "permit" + protocol: "" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "test" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "443" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "30" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "40" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "50" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.10.11" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "60" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "16384" + src_port_range_end: "32767" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "16384" + dst_port_range_end: "32767" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "70" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "snmp bootpc" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.0.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "80" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.0.0.0" + src_wildcard: "0.255.255.255" + src_port_match: "eq" + src_port: "telnet ssh http 8080" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.0.0" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "neq" + dst_port: "telnet ssh" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "90" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-all" + tcp_flag: "+ack -fin" + log: "log" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "100" + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "110" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established psh" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "bgp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "80" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "90" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "100" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "110" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "120" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "130" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "140" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "150" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "160" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "170" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "180" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "190" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "200" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "210" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "220" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "230" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "240" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "250" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "260" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "270" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "280" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "290" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "300" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "310" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "320" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "330" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "340" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "350" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "360" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "370" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "380" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "390" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "400" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "410" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "420" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "430" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "440" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "450" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4050" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "460" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4060" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "470" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4350" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "480" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4360" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "490" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "500" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "510" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "520" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "530" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "540" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "550" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "560" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "570" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "580" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "590" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "eq" + dst_port: "9815" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "600" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "9821" + dst_port_range_end: "9823" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "610" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.96" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "7400" + dst_port_range_end: "7407" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "620" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "630" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "640" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "650" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "660" + action: "permit" + protocol: "pim" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "224.0.0.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "test2" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "10" + action: "permit" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "20" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + time: "" + state: "" + matches: "23" From c6c219efc087795b60bf12d4c71ed3d0aa9bf172 Mon Sep 17 00:00:00 2001 From: Will Dennis Date: Sun, 1 Mar 2020 23:42:50 -0500 Subject: [PATCH 381/628] New Template: cisco_s300_show_version (#605) --- templates/cisco_s300_show_version.textfsm | 21 +++++++++++++++++++ templates/index | 2 ++ .../show_version/cisco_s300_show_version.raw | 3 +++ .../show_version/cisco_s300_show_version.yml | 5 +++++ .../show_version/cisco_s300_show_version2.raw | 10 +++++++++ .../show_version/cisco_s300_show_version2.yml | 5 +++++ 6 files changed, 46 insertions(+) create mode 100644 templates/cisco_s300_show_version.textfsm create mode 100644 tests/cisco_s300/show_version/cisco_s300_show_version.raw create mode 100644 tests/cisco_s300/show_version/cisco_s300_show_version.yml create mode 100644 tests/cisco_s300/show_version/cisco_s300_show_version2.raw create mode 100644 tests/cisco_s300/show_version/cisco_s300_show_version2.yml diff --git a/templates/cisco_s300_show_version.textfsm b/templates/cisco_s300_show_version.textfsm new file mode 100644 index 0000000000..1bf8fa19c2 --- /dev/null +++ b/templates/cisco_s300_show_version.textfsm @@ -0,0 +1,21 @@ +Value SW_VERSION ([1-9]\.[0-9]\.[0-9].[0-9]*) +Value BOOT_VERSION ([1-9]\.[0-9]\.[0-9].[0-9]*) +Value HW_VERSION (V0[1-9]) + +Start + ^SW\s+version\s+${SW_VERSION}\s.* -> FWVER1 + ^Active-image:\s.* -> FWVER2 + +FWVER1 + ^Boot\s+version\s+${BOOT_VERSION}\s.* + ^HW\s+version\s+${HW_VERSION} -> Record + ^\s*$$ + ^. -> Error + +FWVER2 + ^\s+Version:\s${SW_VERSION} -> Record + ^\s+MD5\s.* + ^\s+Date:\s.* + ^\s+Time:\s.* -> End + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index bf57b2acc8..ad4a9af163 100644 --- a/templates/index +++ b/templates/index @@ -255,6 +255,8 @@ cisco_nxos_show_vdc.textfsm, .*, cisco_nxos, sh[[ow]] vdc cisco_nxos_show_vpc.textfsm, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.textfsm, .*, cisco_nxos, sh[[ow]] vrf +cisco_s300_show_version.textfsm, .*, cisco_s300, sh[[ow]] ver[[sion]] + cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]] cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]] cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] diff --git a/tests/cisco_s300/show_version/cisco_s300_show_version.raw b/tests/cisco_s300/show_version/cisco_s300_show_version.raw new file mode 100644 index 0000000000..de18884043 --- /dev/null +++ b/tests/cisco_s300/show_version/cisco_s300_show_version.raw @@ -0,0 +1,3 @@ +SW version 1.3.7.18 ( date 12-Jan-2014 time 18:02:59 ) +Boot version 1.1.0.6 ( date 11-May-2011 time 18:31:00 ) +HW version V02 diff --git a/tests/cisco_s300/show_version/cisco_s300_show_version.yml b/tests/cisco_s300/show_version/cisco_s300_show_version.yml new file mode 100644 index 0000000000..e90614c9c6 --- /dev/null +++ b/tests/cisco_s300/show_version/cisco_s300_show_version.yml @@ -0,0 +1,5 @@ +--- +parsed_sample: + - boot_version: "1.1.0.6" + hw_version: "V02" + sw_version: "1.3.7.18" diff --git a/tests/cisco_s300/show_version/cisco_s300_show_version2.raw b/tests/cisco_s300/show_version/cisco_s300_show_version2.raw new file mode 100644 index 0000000000..2ffa1f6a3d --- /dev/null +++ b/tests/cisco_s300/show_version/cisco_s300_show_version2.raw @@ -0,0 +1,10 @@ +Active-image: flash://system/images/image1.bin + Version: 2.4.0.94 + MD5 Digest: 6f5be217100f34929986f2e93dd2d5e9 + Date: 31-May-2018 + Time: 02:39:58 +Inactive-image: flash://system/images/_image1.bin + Version: 2.4.0.94 + MD5 Digest: 6f5be217100f34929986f2e93dd2d5e9 + Date: 31-May-2018 + Time: 02:39:58 diff --git a/tests/cisco_s300/show_version/cisco_s300_show_version2.yml b/tests/cisco_s300/show_version/cisco_s300_show_version2.yml new file mode 100644 index 0000000000..923b281a51 --- /dev/null +++ b/tests/cisco_s300/show_version/cisco_s300_show_version2.yml @@ -0,0 +1,5 @@ +--- +parsed_sample: + - boot_version: "" + hw_version: "" + sw_version: "2.4.0.94" From 319489e3ee9e920de039a86540e8ac214a06ce07 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 2 Mar 2020 10:36:15 -0700 Subject: [PATCH 382/628] Enhancement: cisco_nxos_show_vlan: Added interfaces (#604) --- templates/cisco_nxos_show_vlan.textfsm | 142 +++++++++++++++++- .../show_vlan/cisco_nxos_show_vlan.yml | 88 +++++++++-- .../show_vlan/cisco_nxos_show_vlan2.raw | 17 +++ .../show_vlan/cisco_nxos_show_vlan2.yml | 9 ++ 4 files changed, 241 insertions(+), 15 deletions(-) create mode 100644 tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan2.raw create mode 100644 tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan2.yml diff --git a/templates/cisco_nxos_show_vlan.textfsm b/templates/cisco_nxos_show_vlan.textfsm index d28ac87767..1a6bb887f6 100644 --- a/templates/cisco_nxos_show_vlan.textfsm +++ b/templates/cisco_nxos_show_vlan.textfsm @@ -1,7 +1,143 @@ -Value VLAN_ID (\d+) +Value Required VLAN_ID (\d+) Value NAME (\S+) Value STATUS (\S+) +Value List INTERFACES ([\w\./]+) Start - ^\d+\s+enet\s+CE - ^${VLAN_ID}\s+${NAME}\s+${STATUS} -> Record + ^VLAN\s+Name\s+Status\s+Ports -> VLANS + ^VLAN\s+Type\s+Vlan-mode + ^Remote\s+SPAN\s+VLANs + ^Primary\s+Secondary\s+Type\s+Ports + +VLANS + ^\d+ -> Continue.Record + ^${VLAN_ID}\s+${NAME}\s+${STATUS}\s*$$ + ^${VLAN_ID}\s+${NAME}\s+${STATUS}\s+${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){3}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){4}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){5}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){6}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){7}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){8}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){9}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){10}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){11}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){12}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){13}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){14}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){15}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){16}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){17}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){18}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){19}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){20}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){21}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){22}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){23}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){24}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){25}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){26}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){27}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){28}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){29}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){30}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){31}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){32}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){33}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){34}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){35}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){36}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){37}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){38}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){39}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){40}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){41}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){42}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){43}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){44}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){45}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){46}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){47}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){48}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){49}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){50}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){51}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){52}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){53}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){54}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){55}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){56}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){57}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){58}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){59}${INTERFACES},* -> Continue + ^\d+\s+(?:\S+\s+){60}${INTERFACES},* -> Continue + ^\s+${INTERFACES},* -> Continue + ^\s+\S+\s+${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){2}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){3}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){4}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){5}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){6}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){7}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){8}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){9}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){10}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){11}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){12}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){13}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){14}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){15}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){16}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){17}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){18}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){19}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){20}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){21}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){22}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){23}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){24}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){25}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){26}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){27}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){28}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){29}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){30}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){31}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){32}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){33}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){34}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){35}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){36}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){37}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){38}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){39}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){40}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){41}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){42}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){43}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){44}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){45}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){46}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){47}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){48}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){49}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){50}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){51}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){52}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){53}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){54}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){55}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){56}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){57}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){58}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){59}${INTERFACES},* -> Continue + ^\s+(?:\S+\s+){60}${INTERFACES},* -> Continue + ^\d+ + ^\s+ + ^-+ + ^\S+\s+[TtYyPpEe]{4} -> Done + ^\s*$$ + ^. -> Error + +Done + ^.* \ No newline at end of file diff --git a/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.yml b/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.yml index 8d1a175ee7..ed9d94e377 100755 --- a/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.yml +++ b/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan.yml @@ -1,20 +1,84 @@ --- parsed_sample: - - name: "default" + - vlan_id: "1" + name: "default" status: "active" - vlan_id: "1" - - name: "WEB" + interfaces: + - "Eth1/2" + - "Eth1/3" + - "Eth1/4" + - "Eth1/5" + - "Eth1/6" + - "Eth1/7" + - "Eth1/8" + - "Eth1/9" + - "Eth1/10" + - "Eth1/11" + - "Eth1/12" + - "Eth1/13" + - "Eth1/14" + - "Eth1/15" + - "Eth1/16" + - "Eth1/17" + - "Eth1/18" + - "Eth1/19" + - "Eth1/20" + - "Eth1/21" + - "Eth1/22" + - "Eth1/23" + - "Eth1/24" + - "Eth1/25" + - "Eth1/26" + - "Eth1/27" + - "Eth1/28" + - "Eth1/29" + - "Eth1/30" + - "Eth1/31" + - "Eth1/32" + - "Eth1/34" + - "Eth1/35" + - "Eth1/36" + - "Eth1/37" + - "Eth1/38" + - "Eth1/39" + - "Eth1/40" + - "Eth1/41" + - "Eth1/42" + - "Eth1/43" + - "Eth1/44" + - "Eth1/45" + - "Eth1/46" + - "Eth1/47" + - "Eth1/48" + - "Eth2/1" + - "Eth2/2" + - "Eth2/3" + - "Eth2/4" + - "Eth2/5" + - "Eth2/6" + - "Eth2/7" + - "Eth2/8" + - "Eth2/9" + - "Eth2/10" + - "Eth2/11" + - vlan_id: "10" + name: "WEB" status: "active" - vlan_id: "10" - - name: "VLAN0020" + interfaces: [] + - vlan_id: "20" + name: "VLAN0020" status: "active" - vlan_id: "20" - - name: "VLAN0030" + interfaces: + - "Eth2/12" + - vlan_id: "30" + name: "VLAN0030" status: "active" - vlan_id: "30" - - name: "VLAN0040" + interfaces: [] + - vlan_id: "40" + name: "VLAN0040" status: "active" - vlan_id: "40" - - name: "VLAN0050" + interfaces: [] + - vlan_id: "50" + name: "VLAN0050" status: "active" - vlan_id: "50" + interfaces: [] diff --git a/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan2.raw b/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan2.raw new file mode 100644 index 0000000000..6a1ac1ffac --- /dev/null +++ b/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan2.raw @@ -0,0 +1,17 @@ + +VLAN Name Status Ports +---- -------------------------------- --------- ------------------------------- +1 default active Po1, Eth1/53, Eth1/54 + +VLAN Type Vlan-mode +---- ----- ---------- +1 enet CE + +Remote SPAN VLANs +------------------------------------------------------------------------------- + +Primary Secondary Type Ports +------- --------- --------------- ------------------------------------------- + + + diff --git a/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan2.yml b/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan2.yml new file mode 100644 index 0000000000..bed5f5f415 --- /dev/null +++ b/tests/cisco_nxos/show_vlan/cisco_nxos_show_vlan2.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "default" + status: "active" + interfaces: + - "Po1" + - "Eth1/53" + - "Eth1/54" From 3b013ce40d539d6f2b28b34bb126ff4b172798e6 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 5 Mar 2020 07:31:19 -0700 Subject: [PATCH 383/628] New Template: cisco_show_mpls_interfaces --- .../cisco_ios_show_mpls_interfaces.textfsm | 13 +++++ templates/index | 3 +- .../cisco_ios_show_mpls_interfaces.raw | 8 +++ .../cisco_ios_show_mpls_interfaces.yml | 51 +++++++++++++++++++ 4 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 templates/cisco_ios_show_mpls_interfaces.textfsm create mode 100644 tests/cisco_ios/show_mpls_interfaces/cisco_ios_show_mpls_interfaces.raw create mode 100644 tests/cisco_ios/show_mpls_interfaces/cisco_ios_show_mpls_interfaces.yml diff --git a/templates/cisco_ios_show_mpls_interfaces.textfsm b/templates/cisco_ios_show_mpls_interfaces.textfsm new file mode 100644 index 0000000000..9f2acdc1b0 --- /dev/null +++ b/templates/cisco_ios_show_mpls_interfaces.textfsm @@ -0,0 +1,13 @@ +Value Required INTERFACE (\S+) +Value MPLS_IP (\w+) +Value PROTOCOL (\w+) +Value TUNNEL (\w+) +Value BGP (\w+) +Value STATIC (\w+) +Value OPERATIONAL (\w+) + +Start + ^Interface\s+IP\s+Tunnel\s+BGP\s+Static\s+Operational$$ + ^${INTERFACE}\s+${MPLS_IP}\s+\(${PROTOCOL}\)\s+${TUNNEL}\s+${BGP}\s+${STATIC}\s+${OPERATIONAL}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index ad4a9af163..b0a5dd7c47 100644 --- a/templates/index +++ b/templates/index @@ -157,11 +157,12 @@ cisco_ios_show_ip_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip int[[erfac cisco_ios_show_interfaces_status.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] -cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] m[[ac-address-table]] +cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] mac[[-address-table]] cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] cisco_ios_show_ip_ospf_database.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] cisco_ios_show_ip_ospf_neighbor.textfsm, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]] +cisco_ios_show_mpls_interfaces.textfsm, .*, cisco_ios, sh[[ow]] mpls interfa[[ces]] cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] cisco_ios_show_ip_bgp_summary.textfsm, .*, cisco_ios, sh[[ow]] ip bgp sum[[mary]] cisco_ios_show_ip_prefix-list.textfsm, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] diff --git a/tests/cisco_ios/show_mpls_interfaces/cisco_ios_show_mpls_interfaces.raw b/tests/cisco_ios/show_mpls_interfaces/cisco_ios_show_mpls_interfaces.raw new file mode 100644 index 0000000000..063a6a7927 --- /dev/null +++ b/tests/cisco_ios/show_mpls_interfaces/cisco_ios_show_mpls_interfaces.raw @@ -0,0 +1,8 @@ +Interface IP Tunnel BGP Static Operational +TenGigabitEthernet1/1 Yes (ldp) No No No Yes +TenGigabitEthernet1/5 Yes (ldp) No No No Yes +TenGigabitEthernet1/9 Yes (ldp) No No No Yes +TenGigabitEthernet1/11 Yes (ldp) No No No Yes +TenGigabitEthernet1/13 Yes (ldp) No No No Yes +TenGigabitEthernet1/15 Yes (ldp) No No No Yes +Vlan101 Yes (ldp) No No No Yes diff --git a/tests/cisco_ios/show_mpls_interfaces/cisco_ios_show_mpls_interfaces.yml b/tests/cisco_ios/show_mpls_interfaces/cisco_ios_show_mpls_interfaces.yml new file mode 100644 index 0000000000..348744b7c5 --- /dev/null +++ b/tests/cisco_ios/show_mpls_interfaces/cisco_ios_show_mpls_interfaces.yml @@ -0,0 +1,51 @@ +--- +parsed_sample: + - "interface": "TenGigabitEthernet1/1" + "mpls_ip": "Yes" + "protocol": "ldp" + "tunnel": "No" + "bgp": "No" + "static": "No" + "operational": "Yes" + - "interface": "TenGigabitEthernet1/5" + "mpls_ip": "Yes" + "protocol": "ldp" + "tunnel": "No" + "bgp": "No" + "static": "No" + "operational": "Yes" + - "interface": "TenGigabitEthernet1/9" + "mpls_ip": "Yes" + "protocol": "ldp" + "tunnel": "No" + "bgp": "No" + "static": "No" + "operational": "Yes" + - "interface": "TenGigabitEthernet1/11" + "mpls_ip": "Yes" + "protocol": "ldp" + "tunnel": "No" + "bgp": "No" + "static": "No" + "operational": "Yes" + - "interface": "TenGigabitEthernet1/13" + "mpls_ip": "Yes" + "protocol": "ldp" + "tunnel": "No" + "bgp": "No" + "static": "No" + "operational": "Yes" + - "interface": "TenGigabitEthernet1/15" + "mpls_ip": "Yes" + "protocol": "ldp" + "tunnel": "No" + "bgp": "No" + "static": "No" + "operational": "Yes" + - "interface": "Vlan101" + "mpls_ip": "Yes" + "protocol": "ldp" + "tunnel": "No" + "bgp": "No" + "static": "No" + "operational": "Yes" From ed076d1313c95b7260171d659aac46dd0aacaf8e Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 5 Mar 2020 07:44:58 -0700 Subject: [PATCH 384/628] New Template : cisco_ios_show_etherchannel_summary --- ...isco_ios_show_etherchannel_summary.textfsm | 29 +++++++++ templates/index | 1 + .../show_etherchannel_summary.raw | 25 ++++++++ .../show_etherchannel_summary.yml | 62 +++++++++++++++++++ 4 files changed, 117 insertions(+) create mode 100644 templates/cisco_ios_show_etherchannel_summary.textfsm create mode 100644 tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary.raw create mode 100644 tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary.yml diff --git a/templates/cisco_ios_show_etherchannel_summary.textfsm b/templates/cisco_ios_show_etherchannel_summary.textfsm new file mode 100644 index 0000000000..dad429577c --- /dev/null +++ b/templates/cisco_ios_show_etherchannel_summary.textfsm @@ -0,0 +1,29 @@ +Value Required GROUP (\d+) +Value PO_NAME (\S+) +Value PO_STATUS (\D+) +Value PROTOCOL (\S+) +Value List INTERFACES ([\w\.\/]+) +Value List INTERFACES_STATUS (\D+) + +Start + ^Group\s+Port-channel\s+Protocol -> PortChannel + ^\s*$$ + + + +PortChannel + ^\d+ -> Continue.Record + ^${GROUP}\s+${PO_NAME}\(${PO_STATUS}\)\s+${PROTOCOL}\s* -> Continue + ^.+(-|LACP|PAgP)\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^.+(-|LACP|PAgP)\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^.+(-|LACP|PAgP)\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^.+(-|LACP|PAgP)\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+[\w\.\/\(\)]+\s+${INTERFACES}\(${INTERFACES_STATUS}\) -> Continue + ^\d+ + ^\s+ + ^-+\++ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index b0a5dd7c47..0192252c96 100644 --- a/templates/index +++ b/templates/index @@ -150,6 +150,7 @@ cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erfac cisco_ios_show_interfaces_switchport.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] sw[[itchport]] cisco_ios_show_lldp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] lld[[p]] neig[[hbors]] det[[ail]] cisco_ios_show_cdp_neighbors_detail.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_ios_show_etherchannel_summary.textfsm, .*, cisco_ios, sh[[ow]] etherchann[[el]] summ[[ary]] cisco_ios_show_ipv6_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ipv[[6]] i[[nterface]] b[[rief]] cisco_ios_show_ip_eigrp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip ei[[grp]] nei[[ghbors]] cisco_ios_show_ip_flow_toptalkers.textfsm, .*, cisco_ios, sh[[ow]] ip fl[[ow]] top[[-talkers]] diff --git a/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary.raw b/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary.raw new file mode 100644 index 0000000000..a68c827c8a --- /dev/null +++ b/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary.raw @@ -0,0 +1,25 @@ +Flags: D - down P - bundled in port-channel + I - stand-alone s - suspended + H - Hot-standby (LACP only) + R - Layer3 S - Layer2 + U - in use N - not in use, no aggregation + f - failed to allocate aggregator + + M - not in use, no aggregation due to minimum links not met + m - not in use, port not aggregated due to minimum links not met + u - unsuitable for bundling + d - default port + + w - waiting to be aggregated +Number of channel-groups in use: 6 +Number of aggregators: 6 + +Group Port-channel Protocol Ports +------+-------------+-----------+----------------------------------------------- +1 Po1(SU) LACP Te6/4(P) Te3/5(P) Te9/4(P) + Te5/5(P) +3 Po3(SU) LACP Te4/2(P) Te2/2(P) +7 Po7(SU) LACP Te3/3(P) Te1/3(P) +13 Po13(SU) LACP Te2/8(P) +14 Po14(SU) LACP Te1/8(P) +51 Po51(SU) LACP Te2/10(P) Te4/10(P) \ No newline at end of file diff --git a/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary.yml b/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary.yml new file mode 100644 index 0000000000..b19cea2013 --- /dev/null +++ b/tests/cisco_ios/show_etherchannel_summary/show_etherchannel_summary.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - "group": "1" + "po_name": "Po1" + "po_status": "SU" + "protocol": "LACP" + "interfaces": + - "Te6/4" + - "Te3/5" + - "Te9/4" + - "Te5/5" + "interfaces_status": + - "P" + - "P" + - "P" + - "P" + - "group": "3" + "po_name": "Po3" + "po_status": "SU" + "protocol": "LACP" + "interfaces": + - "Te4/2" + - "Te2/2" + "interfaces_status": + - "P" + - "P" + - "group": "7" + "po_name": "Po7" + "po_status": "SU" + "protocol": "LACP" + "interfaces": + - "Te3/3" + - "Te1/3" + "interfaces_status": + - "P" + - "P" + - "group": "13" + "po_name": "Po13" + "po_status": "SU" + "protocol": "LACP" + "interfaces": + - "Te2/8" + "interfaces_status": + - "P" + - "group": "14" + "po_name": "Po14" + "po_status": "SU" + "protocol": "LACP" + "interfaces": + - "Te1/8" + "interfaces_status": + - "P" + - "group": "51" + "po_name": "Po51" + "po_status": "SU" + "protocol": "LACP" + "interfaces": + - "Te2/10" + - "Te4/10" + "interfaces_status": + - "P" + - "P" From 0cb4d674d4bd9324aa58c73c671b0ad7e619b1b8 Mon Sep 17 00:00:00 2001 From: dmwcode <53623429+dmwcode@users.noreply.github.com> Date: Thu, 5 Mar 2020 23:03:18 -0500 Subject: [PATCH 385/628] update_tests: update show arp for aruba_os to actual command output headers (#610) --- templates/aruba_os_show_arp.textfsm | 2 ++ tests/aruba_os/show_arp/aruba_os_show_arp.raw | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/templates/aruba_os_show_arp.textfsm b/templates/aruba_os_show_arp.textfsm index e8b2bcd202..9d5bdc97e5 100644 --- a/templates/aruba_os_show_arp.textfsm +++ b/templates/aruba_os_show_arp.textfsm @@ -5,6 +5,8 @@ Value INTERFACE (\S+) Value AGE (\d+) Start + ^Codes:\s+\*\s+-\s+Local\s+Addresses,\s+S\s+-\s+Static,\s+A\s+-\s+Auth + ^Total\s+ARP\s+entries:\s+\d+ ^IPV4\s+ARP\s+Table ^-+ ^\s+Protocol\s+IP\s+Address\s+Hardware\s+Address\s+Interface\s+Age diff --git a/tests/aruba_os/show_arp/aruba_os_show_arp.raw b/tests/aruba_os/show_arp/aruba_os_show_arp.raw index 546cbf8f70..a8bb3448a3 100644 --- a/tests/aruba_os/show_arp/aruba_os_show_arp.raw +++ b/tests/aruba_os/show_arp/aruba_os_show_arp.raw @@ -1,3 +1,8 @@ + +Codes: * - Local Addresses, S - Static, A - Auth + +Total ARP entries: 2 + IPV4 ARP Table -------------- Protocol IP Address Hardware Address Interface Age (min) From bdbaf7e73aff02aaefad5e95a4a231ce885adf38 Mon Sep 17 00:00:00 2001 From: daanvdsanden Date: Fri, 6 Mar 2020 16:10:50 +0100 Subject: [PATCH 386/628] enhancement: cisco_nxos_show_interface: added mode value to be captured --- templates/cisco_nxos_show_interface.textfsm | 2 ++ .../cisco_nxos/show_interface/cisco_nxos_show_interface.yml | 3 +++ .../show_interface/cisco_nxos_show_interface2.yml | 6 ++++++ .../show_interface/cisco_nxos_show_interface3.yml | 3 +++ 4 files changed, 14 insertions(+) diff --git a/templates/cisco_nxos_show_interface.textfsm b/templates/cisco_nxos_show_interface.textfsm index d39a5d8c4f..6195c11856 100644 --- a/templates/cisco_nxos_show_interface.textfsm +++ b/templates/cisco_nxos_show_interface.textfsm @@ -7,6 +7,7 @@ Value BIA ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) Value DESCRIPTION (.*) Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) Value MTU (\d+) +Value MODE (\S+) Value DUPLEX (.+duplex?) Value SPEED (.+?) Value INPUT_PACKETS (\d+) @@ -26,6 +27,7 @@ Start ^\s+Hardware(:|\s+is)\s+${HARDWARE_TYPE},\s+address(:|\s+is)\s+${ADDRESS}(.*bia\s+${BIA})* ^\s+Description:\s+${DESCRIPTION} ^\s+Internet\s+Address\s+is\s+${IP_ADDRESS} + ^\s+Port\s+mode\s+is\s+${MODE} ^\s+${DUPLEX}, ${SPEED}(,|$$) ^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY} ^\s+Encapsulation\s+${ENCAPSULATION} diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.yml b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.yml index d0a632e4e3..85cc6f4a3e 100644 --- a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.yml +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface.yml @@ -9,6 +9,7 @@ parsed_sample: description: "" ip_address: "10.1.20.3/24" mtu: "1500" + mode: "" duplex: "" speed: "" input_packets: "" @@ -28,6 +29,7 @@ parsed_sample: description: "out of band mgmt interface" ip_address: "10.1.100.21/24" mtu: "1500" + mode: "" duplex: "full-duplex" speed: "100 Mb/s" input_packets: "" @@ -47,6 +49,7 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" + mode: "access" duplex: "full-duplex" speed: "10 Gb/s" input_packets: "68448" diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.yml b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.yml index 9d42a406c3..8935f9dd74 100644 --- a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.yml +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface2.yml @@ -9,6 +9,7 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" + mode: "" duplex: "" speed: "" input_packets: "" @@ -28,6 +29,7 @@ parsed_sample: description: "" ip_address: "192.168.1.3/24" mtu: "1500" + mode: "" duplex: "" speed: "" input_packets: "" @@ -47,6 +49,7 @@ parsed_sample: description: "" ip_address: "192.168.2.3/24" mtu: "1500" + mode: "" duplex: "" speed: "" input_packets: "" @@ -66,6 +69,7 @@ parsed_sample: description: "" ip_address: "192.168.3.3/24" mtu: "1500" + mode: "" duplex: "" speed: "" input_packets: "" @@ -85,6 +89,7 @@ parsed_sample: description: "" ip_address: "192.168.24.1/24" mtu: "1500" + mode: "" duplex: "" speed: "" input_packets: "" @@ -104,6 +109,7 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" + mode: "access" duplex: "auto-duplex" speed: "auto-speed" input_packets: "887330" diff --git a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.yml b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.yml index 8f18e0c303..50eb4aadd9 100644 --- a/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.yml +++ b/tests/cisco_nxos/show_interface/cisco_nxos_show_interface3.yml @@ -9,6 +9,7 @@ parsed_sample: description: "Uplink Fex131" ip_address: "" mtu: "1500" + mode: "fex-fabric" duplex: "full-duplex" speed: "10 Gb/s" input_packets: "1904255804289" @@ -28,6 +29,7 @@ parsed_sample: description: "Uplink Fex131" ip_address: "" mtu: "1500" + mode: "fex-fabric" duplex: "full-duplex" speed: "10 Gb/s" input_packets: "2550828809539" @@ -47,6 +49,7 @@ parsed_sample: description: "Uplink Fex121" ip_address: "" mtu: "1500" + mode: "fex-fabric" duplex: "full-duplex" speed: "10 Gb/s" input_packets: "463908844435" From 80f6a2949a06ed482684d68f9359cdfdd9eb8b85 Mon Sep 17 00:00:00 2001 From: daanvdsanden Date: Fri, 6 Mar 2020 16:33:34 +0100 Subject: [PATCH 387/628] enhancement: cisco_nxos_show_interfaces_switchport: Added access_vlan_name and native_vlan_name --- templates/cisco_nxos_show_interfaces_switchport.textfsm | 4 ++++ .../cisco_nxos_show_interfaces_switchport.yml | 6 ++++++ .../cisco_nxos_show_interfaces_switchport_voice_vlan.yml | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/templates/cisco_nxos_show_interfaces_switchport.textfsm b/templates/cisco_nxos_show_interfaces_switchport.textfsm index 7460c85a32..cd92135cab 100644 --- a/templates/cisco_nxos_show_interfaces_switchport.textfsm +++ b/templates/cisco_nxos_show_interfaces_switchport.textfsm @@ -3,7 +3,9 @@ Value SWITCHPORT (.+) Value SWITCHPORT_MONITOR (.+) Value MODE (.+) Value ACCESS_VLAN (\d+) +Value ACCESS_VLAN_NAME (.+) Value NATIVE_VLAN (\d+) +Value NATIVE_VLAN_NAME (.+) Value TRUNKING_VLANS (\S+) Value VOICE_VLAN (\S+) @@ -13,7 +15,9 @@ Start ^\s*Switchport:\s+${SWITCHPORT} ^\s*Switchport\s+Monitor:\s+${SWITCHPORT_MONITOR} ^\s*Operational\s+Mode:\s+${MODE} + ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN}\s+\(${ACCESS_VLAN_NAME}\) ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} + ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN}\s+\(${NATIVE_VLAN_NAME}\) ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} ^\s*Trunking\s+VLANs\s+Allowed:\s+${TRUNKING_VLANS} ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.yml b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.yml index 739ee93e38..8d1c0b6473 100644 --- a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.yml +++ b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport.yml @@ -5,7 +5,9 @@ parsed_sample: switchport_monitor: "Not enabled" mode: "access" access_vlan: "3" + access_vlan_name: "Vlan not created" native_vlan: "1" + native_vlan_name: "default" trunking_vlans: "1-4094" voice_vlan: "none" - interface: "Ethernet1/2" @@ -13,7 +15,9 @@ parsed_sample: switchport_monitor: "Not enabled" mode: "trunk" access_vlan: "1" + access_vlan_name: "default" native_vlan: "5" + native_vlan_name: "Vlan not created" trunking_vlans: "1-4094" voice_vlan: "none" - interface: "Ethernet1/3" @@ -21,6 +25,8 @@ parsed_sample: switchport_monitor: "Not enabled" mode: "trunk" access_vlan: "1" + access_vlan_name: "default" native_vlan: "1" + native_vlan_name: "default" trunking_vlans: "1-4094" voice_vlan: "none" diff --git a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.yml b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.yml index 739ee93e38..8d1c0b6473 100644 --- a/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.yml +++ b/tests/cisco_nxos/show_interfaces_switchport/cisco_nxos_show_interfaces_switchport_voice_vlan.yml @@ -5,7 +5,9 @@ parsed_sample: switchport_monitor: "Not enabled" mode: "access" access_vlan: "3" + access_vlan_name: "Vlan not created" native_vlan: "1" + native_vlan_name: "default" trunking_vlans: "1-4094" voice_vlan: "none" - interface: "Ethernet1/2" @@ -13,7 +15,9 @@ parsed_sample: switchport_monitor: "Not enabled" mode: "trunk" access_vlan: "1" + access_vlan_name: "default" native_vlan: "5" + native_vlan_name: "Vlan not created" trunking_vlans: "1-4094" voice_vlan: "none" - interface: "Ethernet1/3" @@ -21,6 +25,8 @@ parsed_sample: switchport_monitor: "Not enabled" mode: "trunk" access_vlan: "1" + access_vlan_name: "default" native_vlan: "1" + native_vlan_name: "default" trunking_vlans: "1-4094" voice_vlan: "none" From 45d40cd4a5c274b921cc61cd0c43299817d32edf Mon Sep 17 00:00:00 2001 From: sliddjur Date: Sun, 8 Mar 2020 20:01:11 +0100 Subject: [PATCH 388/628] BugFix: Update vyatta_vyos_show_interfaces to match addresses without netmask --- templates/vyatta_vyos_show_interfaces.textfsm | 6 +-- .../vyatta_vyos_show_interfaces.raw | 19 ++++--- .../vyatta_vyos_show_interfaces.yml | 54 +++++++++++-------- 3 files changed, 46 insertions(+), 33 deletions(-) diff --git a/templates/vyatta_vyos_show_interfaces.textfsm b/templates/vyatta_vyos_show_interfaces.textfsm index 2472796232..a752af166b 100644 --- a/templates/vyatta_vyos_show_interfaces.textfsm +++ b/templates/vyatta_vyos_show_interfaces.textfsm @@ -1,11 +1,12 @@ Value INTERFACE (\S+) -Value List IP_ADDRESS ((?:[A-Fa-f0-9:\.]+\/\d+)|-) +Value List IP_ADDRESS (\S+) Value STATUS (\S+) Value DESCRIPTION (.+?) Start ^Codes: - ^Interface\s+IP\s+Address\s+S/L\s+Description\s*$$ -> Interface + ^Interface\s+IP\s+Address\s+S/L\s+Description + ^-+\s+-+\s+-+\s+-+$$ -> Interface ^\s*$$ ^. -> Error @@ -13,6 +14,5 @@ Interface ^\S+\s+ -> Continue.Record ^${INTERFACE}\s+${IP_ADDRESS}\s+${STATUS}\s+(${DESCRIPTION}|)\s*$$ ^\s+${IP_ADDRESS}\s*$$ - ^-+\s+-+\s+-+\s+-+$$ ^\s*$$ ^. -> Error diff --git a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw index 4aa3e026cf..092b9b0ebb 100644 --- a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw +++ b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.raw @@ -2,15 +2,18 @@ Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0 - u/u -eth0.42 172.11.100.1/31 u/u Utside +eth0.40 123.123.120.123/27 u/u OUTSIDE eth1 - u/u -eth1.1727 172.11.100.11/31 u/u SERVICES-LINK -eth1.1800 172.11.100.3/31 u/u DS-LAN -eth1.1801 172.11.100.5/31 u/u Link -eth1.1804 172.11.100.7/31 u/u TEST-NET +eth1.204 123.123.123.81/28 u/u CUST-DS-LAN +eth1.269 172.18.32.14/28 u/u CUST-COM + 123.123.123.123/32 +eth1.437 123.123.116.169/29 u/u CUST-VIDEO +eth1.1753 172.18.161.196/29 u/u SERVICE-LINK eth2 - u/u -eth2.1802 172.18.254.3/31 u/u SYNC - fe80:3023:1234:d::3/127 lo 127.0.0.1/8 u/u - 172.18.255.3/32 + 172.18.255.110/32 ::1/128 +vtun0 192.168.80.2 u/u +vtun1 192.168.80.4 u/u OpenVPN-TUNNEL1 +vtun2 192.168.80.6 u/u + diff --git a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.yml b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.yml index 35bf636ddb..c8d8c789c0 100644 --- a/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.yml +++ b/tests/vyatta_vyos/show_interfaces/vyatta_vyos_show_interfaces.yml @@ -5,51 +5,61 @@ parsed_sample: ip_address: - "-" status: "u/u" - - description: "Utside" - interface: "eth0.42" + - description: "OUTSIDE" + interface: "eth0.40" ip_address: - - "172.11.100.1/31" + - "123.123.120.123/27" status: "u/u" - description: "" interface: "eth1" ip_address: - "-" status: "u/u" - - description: "SERVICES-LINK" - interface: "eth1.1727" + - description: "CUST-DS-LAN" + interface: "eth1.204" ip_address: - - "172.11.100.11/31" + - "123.123.123.81/28" status: "u/u" - - description: "DS-LAN" - interface: "eth1.1800" + - description: "CUST-COM" + interface: "eth1.269" ip_address: - - "172.11.100.3/31" + - "172.18.32.14/28" + - "123.123.123.123/32" status: "u/u" - - description: "Link" - interface: "eth1.1801" + - description: "CUST-VIDEO" + interface: "eth1.437" ip_address: - - "172.11.100.5/31" + - "123.123.116.169/29" status: "u/u" - - description: "TEST-NET" - interface: "eth1.1804" + - description: "SERVICE-LINK" + interface: "eth1.1753" ip_address: - - "172.11.100.7/31" + - "172.18.161.196/29" status: "u/u" - description: "" interface: "eth2" ip_address: - "-" status: "u/u" - - description: "SYNC" - interface: "eth2.1802" - ip_address: - - "172.18.254.3/31" - - "fe80:3023:1234:d::3/127" - status: "u/u" - description: "" interface: "lo" ip_address: - "127.0.0.1/8" - - "172.18.255.3/32" + - "172.18.255.110/32" - "::1/128" status: "u/u" + - description: "" + interface: "vtun0" + ip_address: + - "192.168.80.2" + status: "u/u" + - description: "OpenVPN-TUNNEL1" + interface: "vtun1" + ip_address: + - "192.168.80.4" + status: "u/u" + - description: "" + interface: "vtun2" + ip_address: + - "192.168.80.6" + status: "u/u" From bf331477043c7bcd82dc00f861afa14e144195a0 Mon Sep 17 00:00:00 2001 From: sliddjur Date: Sun, 8 Mar 2020 20:04:01 +0100 Subject: [PATCH 389/628] New Template: hp_comware_display_ip_interface (#609) --- .../hp_comware_display_ip_interface.textfsm | 42 +++++++ templates/index | 1 + .../hp_comware_display_ip_interface.raw | 106 ++++++++++++++++++ .../hp_comware_display_ip_interface.yml | 31 +++++ 4 files changed, 180 insertions(+) create mode 100644 templates/hp_comware_display_ip_interface.textfsm create mode 100644 tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.raw create mode 100644 tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml diff --git a/templates/hp_comware_display_ip_interface.textfsm b/templates/hp_comware_display_ip_interface.textfsm new file mode 100644 index 0000000000..9da45b80bd --- /dev/null +++ b/templates/hp_comware_display_ip_interface.textfsm @@ -0,0 +1,42 @@ +Value INTF (\S+) +Value LINE_STATUS (UP|DOWN|Administratively DOWN) +Value PROTOCOL_STATUS (UP(\(spoofing\))?|DOWN) +Value List IPADDR (\S+) +Value MTU (\d+) + + +Start + ^${INTF}\s+current\s+state:\s+${LINE_STATUS} -> Interface + ^. -> Error + + +Interface + ^\S+\s+current\s+state -> Continue.Record + ^${INTF}\s+current\s+state:\s+${LINE_STATUS} + ^Line\s+protocol\s+current\s+state:\s+${PROTOCOL_STATUS} + ^Internet\s+Address\s+is\s+${IPADDR}\s+Primary + ^Internet\s+Address\s+is\s+${IPADDR}\s+Sub + ^Broadcast\s+address:\s\S+ + ^The\s+Maximum\s+Transmit\s+Unit:\s+${MTU}\s+bytes + ^input\spackets\s:\s\d+,\sbytes\s:\s\d+,\smulticasts\s:\s\d+ + ^output\spackets\s:\s\d+,\sbytes\s:\s\d+,\smulticasts\s:\s\d+ + ^TTL\sinvalid\spacket\snumber:\s+\d+ + ^ICMP\spacket\sinput\snumber:\s+\d+ + ^\s+Echo\sreply:\s+\d+ + ^\s+Unreachable:\s+\d+ + ^\s+Source\squench:\s+\d+ + ^\s+Routing\sredirect:\s+\d+ + ^\s+Echo\srequest:\s+\d+ + ^\s+Router\sadvert:\s+\d+ + ^\s+Router\ssolicit:\s+\d+ + ^\s+Time\sexceed:\s+\d+ + ^\s+IP\sheader\sbad:\s+\d+ + ^\s+Timestamp\srequest:\s+\d+ + ^\s+Timestamp\sreply:\s+\d+ + ^\s+Information\srequest:\s+\d+ + ^\s+Information\sreply:\s+\d+ + ^\s+Netmask\srequest:\s+\d+ + ^\s+Netmask\sreply:\s+\d+ + ^\s+Unknown\stype:\s+\d+ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 0192252c96..353d1a5320 100644 --- a/templates/index +++ b/templates/index @@ -326,6 +326,7 @@ fortinet_fortios_get_system_interface.textfsm, .*, fortinet_fortios, [[g]]et [[s fortinet_fortios_get_system_status.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[s]]tatus hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] +hp_comware_display_ip_interface.textfsm, .*, hp_comware, dis[[play]] ip i[[nterface]] hp_comware_display_mac-address.textfsm, .*, hp_comware, di[[splay]] mac-ad[[dress]] hp_comware_display_vlan_brief.textfsm, .*, hp_comware, di[[splay]] v[[lan]] b[[rief]] hp_comware_display_clock.textfsm, .*, hp_comware, di[[splay]] clo[[ck]] diff --git a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.raw b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.raw new file mode 100644 index 0000000000..f7b8d1f771 --- /dev/null +++ b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.raw @@ -0,0 +1,106 @@ +LoopBack0 current state: UP +Line protocol current state: UP(spoofing) +Internet Address is 172.18.255.63/32 Primary +Broadcast address: 172.18.255.63 +The Maximum Transmit Unit: 1536 bytes +input packets : 0, bytes : 0, multicasts : 0 +output packets : 0, bytes : 0, multicasts : 0 +TTL invalid packet number: 0 +ICMP packet input number: 0 + Echo reply: 0 + Unreachable: 0 + Source quench: 0 + Routing redirect: 0 + Echo request: 0 + Router advert: 0 + Router solicit: 0 + Time exceed: 0 + IP header bad: 0 + Timestamp request: 0 + Timestamp reply: 0 + Information request: 0 + Information reply: 0 + Netmask request: 0 + Netmask reply: 0 + Unknown type: 0 + +M-GigabitEthernet0/0/0 current state: Administratively DOWN +Line protocol current state: DOWN + +Vlan-interface66 current state: UP +Line protocol current state: UP +Internet Address is 172.18.69.101/24 Primary +Broadcast address: 172.18.69.255 +The Maximum Transmit Unit: 1500 bytes +input packets : 65515804, bytes : 1239151236, multicasts : 2635390 +output packets : 67811020, bytes : 1077354863, multicasts : 6419331 +TTL invalid packet number: 0 +ICMP packet input number: 1792875 + Echo reply: 5 + Unreachable: 275831 + Source quench: 0 + Routing redirect: 0 + Echo request: 1517039 + Router advert: 0 + Router solicit: 0 + Time exceed: 0 + IP header bad: 0 + Timestamp request: 0 + Timestamp reply: 0 + Information request: 0 + Information reply: 0 + Netmask request: 0 + Netmask reply: 0 + Unknown type: 0 + +Vlan-interface89 current state: UP +Line protocol current state: UP +Internet Address is 172.18.89.3/24 Primary +Broadcast address: 172.18.89.255 +The Maximum Transmit Unit: 1500 bytes +input packets : 4039131, bytes : 161730660, multicasts : 3837772 +output packets : 26662892, bytes : 958605776, multicasts : 26461590 +TTL invalid packet number: 0 +ICMP packet input number: 0 + Echo reply: 0 + Unreachable: 0 + Source quench: 0 + Routing redirect: 0 + Echo request: 0 + Router advert: 0 + Router solicit: 0 + Time exceed: 0 + IP header bad: 0 + Timestamp request: 0 + Timestamp reply: 0 + Information request: 0 + Information reply: 0 + Netmask request: 0 + Netmask reply: 0 + Unknown type: 0 + +Vlan-interface206 current state: UP +Line protocol current state: UP +Internet Address is 172.18.41.22/24 Primary +Broadcast address: 172.18.41.255 +The Maximum Transmit Unit: 1500 bytes +input packets : 119165288, bytes : 674934354, multicasts : 115953989 +output packets : 54858945, bytes : 3307003635, multicasts : 51601052 +TTL invalid packet number: 3 +ICMP packet input number: 2744265 + Echo reply: 50 + Unreachable: 17 + Source quench: 0 + Routing redirect: 0 + Echo request: 2744198 + Router advert: 0 + Router solicit: 0 + Time exceed: 0 + IP header bad: 0 + Timestamp request: 0 + Timestamp reply: 0 + Information request: 0 + Information reply: 0 + Netmask request: 0 + Netmask reply: 0 + Unknown type: 0 diff --git a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml new file mode 100644 index 0000000000..6fc50a464c --- /dev/null +++ b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml @@ -0,0 +1,31 @@ +--- +parsed_sample: + - intf: "LoopBack0" + ipaddr: + - "172.18.255.63/32" + mtu: "1536" + line_status: "UP" + protocol_status: "UP(spoofing)" + - intf: "M-GigabitEthernet0/0/0" + ipaddr: [] + mtu: '' + line_status: "Administratively DOWN" + protocol_status: "DOWN" + - intf: "Vlan-interface66" + ipaddr: + - "172.18.69.101/24" + mtu: "1500" + line_status: "UP" + protocol_status: "UP" + - intf: "Vlan-interface89" + ipaddr: + - "172.18.89.3/24" + mtu: "1500" + line_status: "UP" + protocol_status: "UP" + - intf: "Vlan-interface206" + ipaddr: + - "172.18.41.22/24" + mtu: "1500" + line_status: "UP" + protocol_status: "UP" From 938255cfed802d6f755383338343061deed35465 Mon Sep 17 00:00:00 2001 From: ChristopherJHart Date: Mon, 9 Mar 2020 09:51:10 +1100 Subject: [PATCH 390/628] New Template: cisco_ios_show_ip_ospf_database_router (#606) --- ...o_ios_show_ip_ospf_database_router.textfsm | 48 ++++ templates/index | 1 + ...cisco_ios_show_ip_ospf_database_router.raw | 130 ++++++++++ ...cisco_ios_show_ip_ospf_database_router.yml | 240 ++++++++++++++++++ 4 files changed, 419 insertions(+) create mode 100644 templates/cisco_ios_show_ip_ospf_database_router.textfsm create mode 100644 tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.raw create mode 100644 tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml diff --git a/templates/cisco_ios_show_ip_ospf_database_router.textfsm b/templates/cisco_ios_show_ip_ospf_database_router.textfsm new file mode 100644 index 0000000000..64be3dc95a --- /dev/null +++ b/templates/cisco_ios_show_ip_ospf_database_router.textfsm @@ -0,0 +1,48 @@ +Value Filldown ROUTER_ID (\d+\.\d+\.\d+\.\d+) +Value Filldown PROCESS_ID (\d+) +Value Filldown AREA (\d+\.\d+\.\d+\.\d+|\d+) +Value Filldown LSA_AGE (\d+) +Value Filldown LSA_OPTIONS (.+) +Value Filldown LSA_TYPE (.+) +Value Filldown LSA_ID (\d+\.\d+\.\d+\.\d+) +Value Filldown LSA_ADV_ROUTER (\d+\.\d+\.\d+\.\d+) +Value Filldown LSA_SEQ_NUMBER (\S+) +Value Filldown LSA_CHECKSUM (\S+) +Value Filldown LSA_LENGTH (\d+) +Value Filldown LSA_NUM_LINKS (\d+) +Value LS_LINK_TYPE (.+?) +Value LS_LINK_ID (\d+\.\d+\.\d+\.\d+) +Value LS_LINK_DATA (\d+\.\d+\.\d+\.\d+) +Value LS_MTID_METRICS (\d+) +Value LS_TOS_0_METRICS (\d+) + +Start + ^\s+OSPF\s+Router\s+with\s+ID\s+\(${ROUTER_ID}\)\s+\(Process\s+ID\s+${PROCESS_ID}\) + ^\s+Router\s+Link\s+States\s+\(Area ${AREA}\) -> LSAInfo + ^\s*$$ + ^. -> Error + +LSAInfo + ^\s+LS\s+age:\s+${LSA_AGE} + ^\s+Options:\s+\(${LSA_OPTIONS}\) + ^\s+LS\s+Type:\s+${LSA_TYPE} + ^\s+Link\s+State\s+ID:\s+${LSA_ID} + ^\s+Advertising Router:\s+${LSA_ADV_ROUTER} + ^\s+LS\s+Seq\s+Number:\s+${LSA_SEQ_NUMBER} + ^\s+Checksum:\s+${LSA_CHECKSUM} + ^\s+Length:\s+${LSA_LENGTH} + ^\s+Number\s+of\s+Links:\s+${LSA_NUM_LINKS} -> LSAs + ^\s*$$ + ^. -> Error + +LSAs + ^\s+Link\s+connected\s+to:\s+${LS_LINK_TYPE}$$ + ^\s+\(Link ID\)\s+((Network\/subnet\s+number)|(Designated\s+Router\s+address)|(Neighboring\s+Router ID)):\s+${LS_LINK_ID} + ^\s+\(Link Data\)\s+((Network\s+Mask)|(Router\s+Interface\s+address)):\s+${LS_LINK_DATA} + ^\s+Number\s+of\s+MTID\s+metrics:\s+${LS_MTID_METRICS} + ^\s+TOS\s+0\s+Metrics:\s+${LS_TOS_0_METRICS} -> Next.Record + ^\s+LS\s+age:\s+${LSA_AGE} -> LSAInfo + ^\s*$$ + ^. -> Error + +EOF diff --git a/templates/index b/templates/index index 353d1a5320..181d884bf1 100644 --- a/templates/index +++ b/templates/index @@ -141,6 +141,7 @@ cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_environment_temperature.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] t[[emperature]] +cisco_ios_show_ip_ospf_database_router.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] r[[outer]] cisco_ios_show_ip_ospf_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip ospf int[[erface]] cisco_ios_show_processes_memory_sorted.textfsm, .*, cisco_ios, sh[[ow]] pro[[cesses]] mem[[ory]] so[[rted]] cisco_ios_show_interfaces_description.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.raw b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.raw new file mode 100644 index 0000000000..88982dc80d --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.raw @@ -0,0 +1,130 @@ + OSPF Router with ID (100.1.1.1) (Process ID 1) + + Router Link States (Area 0) + + LS age: 14 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.1.1.1 + Advertising Router: 100.1.1.1 + LS Seq Number: 80000206 + Checksum: 0x8A21 + Length: 72 + Number of Links: 4 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.1.1.1 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.2.1 + (Link Data) Router Interface address: 192.168.2.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: another Router (point-to-point) + (Link ID) Neighboring Router ID: 100.3.3.3 + (Link Data) Router Interface address: 192.168.1.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 192.168.1.0 + (Link Data) Network Mask: 255.255.255.252 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + LS age: 1694 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.2.2.2 + Advertising Router: 100.2.2.2 + LS Seq Number: 80000202 + Checksum: 0xCA4F + Length: 60 + Number of Links: 3 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.2.2.2 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.3.2 + (Link Data) Router Interface address: 192.168.3.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.2.1 + (Link Data) Router Interface address: 192.168.2.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + LS age: 15 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.3.3.3 + Advertising Router: 100.3.3.3 + LS Seq Number: 800001FD + Checksum: 0x3969 + Length: 72 + Number of Links: 4 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.3.3.3 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.4.2 + (Link Data) Router Interface address: 192.168.4.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: another Router (point-to-point) + (Link ID) Neighboring Router ID: 100.1.1.1 + (Link Data) Router Interface address: 192.168.1.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 192.168.1.0 + (Link Data) Network Mask: 255.255.255.252 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + LS age: 1752 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.4.4.4 + Advertising Router: 100.4.4.4 + LS Seq Number: 800001F7 + Checksum: 0x5CB0 + Length: 60 + Number of Links: 3 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.4.4.4 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.4.2 + (Link Data) Router Interface address: 192.168.4.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.3.2 + (Link Data) Router Interface address: 192.168.3.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml new file mode 100644 index 0000000000..394d48d18a --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml @@ -0,0 +1,240 @@ +--- +parsed_sample: + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "100.1.1.1" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.2.1" + ls_link_data: "192.168.2.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "another Router (point-to-point)" + ls_link_id: "100.3.3.3" + ls_link_data: "192.168.1.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "192.168.1.0" + ls_link_data: "255.255.255.252" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1694" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.2.2.2" + lsa_adv_router: "100.2.2.2" + lsa_seq_number: "80000202" + lsa_checksum: "0xCA4F" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Stub Network" + ls_link_id: "100.2.2.2" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1694" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.2.2.2" + lsa_adv_router: "100.2.2.2" + lsa_seq_number: "80000202" + lsa_checksum: "0xCA4F" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.3.2" + ls_link_data: "192.168.3.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1694" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.2.2.2" + lsa_adv_router: "100.2.2.2" + lsa_seq_number: "80000202" + lsa_checksum: "0xCA4F" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.2.1" + ls_link_data: "192.168.2.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "100.3.3.3" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.4.2" + ls_link_data: "192.168.4.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "another Router (point-to-point)" + ls_link_id: "100.1.1.1" + ls_link_data: "192.168.1.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "192.168.1.0" + ls_link_data: "255.255.255.252" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1752" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.4.4.4" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "800001F7" + lsa_checksum: "0x5CB0" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Stub Network" + ls_link_id: "100.4.4.4" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1752" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.4.4.4" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "800001F7" + lsa_checksum: "0x5CB0" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.4.2" + ls_link_data: "192.168.4.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1752" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.4.4.4" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "800001F7" + lsa_checksum: "0x5CB0" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.3.2" + ls_link_data: "192.168.3.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" From 1c4c37b3f2af8ff49e5a5c75d48af666d87bde32 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Sun, 8 Mar 2020 20:35:45 -0600 Subject: [PATCH 391/628] BugFix: Removed reliance on static spacing for cisco_ios_show_interfaces_status (#614) --- .../cisco_ios_show_interfaces_status.textfsm | 4 +- .../cisco_ios_show_interfaces_status.raw | 1 + .../cisco_ios_show_interfaces_status.yml | 151 +++++++++--------- 3 files changed, 82 insertions(+), 74 deletions(-) diff --git a/templates/cisco_ios_show_interfaces_status.textfsm b/templates/cisco_ios_show_interfaces_status.textfsm index 1e92d87fef..00f2c7e70f 100644 --- a/templates/cisco_ios_show_interfaces_status.textfsm +++ b/templates/cisco_ios_show_interfaces_status.textfsm @@ -13,5 +13,5 @@ Start ^Time\s+source\s+is Begin - ^(?=\s{0,9}${PORT}).{9}\s{20}${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record - ^(?=\s{0,9}${PORT}).{9}\s${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record + ^\s*${PORT}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record + ^\s*${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw index e6cc0468bf..a6f3180abe 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw @@ -16,4 +16,5 @@ Gi1/0/14 Half Duplex 2950-S notconnect 16 a-half auto Not Present Gi1/0/15 Multi Space to the notconnect 16 a-half auto 10/100BaseTX Gi1/0/16 Multi Space to the err-disabled 16 a-half auto 10/100BaseTX Gi1/0/17 Multi Space disabled 16 a-half auto 10/100BaseTX +Fa1/6 test notconnect 1 auto auto 10/100BaseTX Po1 ethchl connected trunk a-full a-1000 diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml index 796c56168c..7a83f3c6aa 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml @@ -1,128 +1,135 @@ --- parsed_sample: - - duplex: "auto" + - port: "Gi1/0/1" name: "" - port: "Gi1/0/1" - speed: "auto" status: "notconnect" - type: "10/100/1000BaseTX" vlan: "1" - - duplex: "a-full" + duplex: "auto" + speed: "auto" + type: "10/100/1000BaseTX" + - port: "Gi1/0/2" name: "AccessPoint" - port: "Gi1/0/2" - speed: "a-1000" status: "connected" - type: "10/100/1000BaseTX" vlan: "8" - - duplex: "auto" + duplex: "a-full" + speed: "a-1000" + type: "10/100/1000BaseTX" + - port: "Gi1/0/3" name: "John's Office" - port: "Gi1/0/3" - speed: "auto" status: "notconnect" - type: "10/100/1000BaseTX" vlan: "1" - - duplex: "a-full" + duplex: "auto" + speed: "auto" + type: "10/100/1000BaseTX" + - port: "Gi1/0/4" name: "SingleName" - port: "Gi1/0/4" - speed: "a-100" status: "connected" - type: "10/100/1000BaseTX" vlan: "1" - - duplex: "a-full" + duplex: "a-full" + speed: "a-100" + type: "10/100/1000BaseTX" + - port: "Gi1/0/5" name: "Dashed-Name" - port: "Gi1/0/5" - speed: "a-1000" status: "connected" - type: "10/100/1000BaseTX" vlan: "1000" - - duplex: "a-full" + duplex: "a-full" + speed: "a-1000" + type: "10/100/1000BaseTX" + - port: "Gi1/0/6" name: "Spaced Example" - port: "Gi1/0/6" - speed: "a-100" status: "connected" - type: "10/100/1000BaseTX" vlan: "8" - - duplex: "a-full" + duplex: "a-full" + speed: "a-100" + type: "10/100/1000BaseTX" + - port: "Gi1/0/7" name: "Trunk Example" - port: "Gi1/0/7" - speed: "a-1000" status: "connected" - type: "1000BaseSX SFP" vlan: "trunk" - - duplex: "auto" + duplex: "a-full" + speed: "a-1000" + type: "1000BaseSX SFP" + - port: "Gi1/0/8" name: "SFP Not Present" - port: "Gi1/0/8" - speed: "auto" status: "notconnect" - type: "Not Present" vlan: "1" - - duplex: "auto" - name: "SFP Not Present" - port: "Gi1/0/9" + duplex: "auto" speed: "auto" - status: "notconnect" type: "Not Present" + - port: "Gi1/0/9" + name: "SFP Not Present" + status: "notconnect" vlan: "1" - - duplex: "auto" - name: "Management" - port: "Gi1/0/10" + duplex: "auto" speed: "auto" + type: "Not Present" + - port: "Gi1/0/10" + name: "Management" status: "notconnect" - type: "10/100BaseTX" vlan: "routed" - - duplex: "a-half" - name: "2960S Port" - port: "Gi1/0/11" + duplex: "auto" speed: "auto" - status: "notconnect" type: "10/100BaseTX" + - port: "Gi1/0/11" + name: "2960S Port" + status: "notconnect" vlan: "16" - - duplex: "a-half" - name: "Half Duplex 2950" - port: "Gi1/0/12" + duplex: "a-half" speed: "auto" - status: "notconnect" type: "10/100BaseTX" + - port: "Gi1/0/12" + name: "Half Duplex 2950" + status: "notconnect" vlan: "16" - - duplex: "a-half" - name: "Half Duplex 2950-S" - port: "Gi1/0/13" + duplex: "a-half" speed: "auto" - status: "notconnect" type: "10/100BaseTX" - vlan: "16" - - duplex: "a-half" + - port: "Gi1/0/13" name: "Half Duplex 2950-S" - port: "Gi1/0/14" - speed: "auto" status: "notconnect" - type: "Not Present" vlan: "16" - - duplex: "a-half" - name: "Multi Space to the" - port: "Gi1/0/15" + duplex: "a-half" speed: "auto" - status: "notconnect" type: "10/100BaseTX" + - port: "Gi1/0/14" + name: "Half Duplex 2950-S" + status: "notconnect" vlan: "16" - - duplex: "a-half" + duplex: "a-half" + speed: "auto" + type: "Not Present" + - port: "Gi1/0/15" name: "Multi Space to the" - port: "Gi1/0/16" + status: "notconnect" + vlan: "16" + duplex: "a-half" speed: "auto" - status: "err-disabled" type: "10/100BaseTX" + - port: "Gi1/0/16" + name: "Multi Space to the" + status: "err-disabled" vlan: "16" - - duplex: "a-half" - name: "Multi Space" - port: "Gi1/0/17" + duplex: "a-half" speed: "auto" - status: "disabled" type: "10/100BaseTX" + - port: "Gi1/0/17" + name: "Multi Space" + status: "disabled" vlan: "16" - - duplex: "a-full" + duplex: "a-half" + speed: "auto" + type: "10/100BaseTX" + - port: "Fa1/6" + name: "test" + status: "notconnect" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "10/100BaseTX" + - port: "Po1" name: "ethchl" - port: "Po1" - speed: "a-1000" status: "connected" - type: "" vlan: "trunk" + duplex: "a-full" + speed: "a-1000" + type: "" From cddb320afd02547ec20db392d6866135be016e2f Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Sun, 8 Mar 2020 21:58:35 -0600 Subject: [PATCH 392/628] Documentation: Update changelog for 1.4.0 release (#615) --- CHANGELOG | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 51 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 67302996d8..bc5438ab31 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,12 +1,58 @@ ## [1.4.0] -### Fixed for any bug fixes -### Added for new features +### Fixed +- [#548] IOS show mac address-table: Account for Total Mac Addresses +- [#565] IOS show license: Avoid trailing spaces for features +- [#575] NXOS show version: Match N5K PLATFORM & LAST_REBOOT captures split words +- [#574] ASA show failover: Account for new output (IPS) +- [#577] IOS show mac address-table: Account for Multicast Entries +- [#582] NXOS show interface transceiver: Remove requirement for TYPE +- [#585] IOS show mac address-table: Fixed ordering for TYPE2 +- [#587] IOS show interfaces switchport: Account for Vepa Enabled and Operational Dot1q Ethertype +- [#584] IOS show switch detail: Account for Mac persistency wait time +- [#589] EOS show ip route: Filldown for DISTANCE and METRIC - Added new data formats for VRF and NEXT_HOP and INTERFACE +- [#592] Fortinet get router info bgp summary: Account for more data, fix UP_DOWN regex from word to non-whitespace +- [#603] IOS show ip access-list: Update PROTOCOL to capture numbered protocols +- [610] Aruba os show arp: Fix tests to have the full output from the command and device +- [#608] Vyatta VyOS show interfaces: Capture IP_ADDRESS with or without netmask +- [#614] IOS show interfaces status: Remove reliance on whitespaces +### Added - [#406] Testing: Add yamllint to test suite - [#407] Testing: Add python black to test suite -### Changed for changes in existing functionality +- [#553] IOS show lldp neighbors: Added CAPABILITIES capture group +- [#554] IOS show logging: New template +- [#563] IOS show interfaces switchport: Added ADMIN_MDOE capture group +- [#562] ASA show logging: New template +- [#564] NXOS show interface transceiver: New template +- [#567] XR show arp: New template +- [#572] IOS show lldp neighbors detail: Added SERIAL capture group +- [#573] ASA show arp: New template +- [#578] Fortinet get system interface: New template +- [#576] Huawei VRP display lldp neighbor: New template +- [#581] Cisco WLC show vlan sum: New template +- [#580] XR show interfaces summary: New template +- [#590] IOS show ip bgp neighbors: New template +- [#591] NXOS show vdc: New template +- [#595] Checkpoint GAIA show arp dynamic all: New template +- [#593] IOS show module: New template +- [#597] Huwai VRP display version: New template +- [#602] NXOS show vrf interface: New template +- [#598] IOS show running-config partition access list: Added TCP_FLAG capture group +- [#598] IOS show running-config partition access list: Convert COMMENT to list +- [#598] IOS show running-config partition access list: Update PROTOCOL to include numbered protocols +- [#596] XR admin show environment power: New template +- [#594] Aruba os show arp: New template +- [#605] SG300 show version: New template +- [#604] NXOS show vlan: Added INTERFACES capture group, Require VLAN_ID +- [#600] IOS show mpls interfaces: New template +- [#599] IOS show etherchannel summary: New template +- [#611] NXOS show interface: Added MODE capture group +- [#612] NXOS show interfaces switchport: Added ACCESS_VLAN_NAME and NATIVE_VLAN_NAME capture groups +- [#609] HP Comware display ip interface: New template +- [#606] IOS show ip ospf database router: New template +### Changed - [#406] Helpers: Added development_helpers cli utility to replace existing helpers -### Deprecated for soon-to-be removed features -### Removed for now removed features +### Deprecated +### Removed ## [1.3.0] ### Fixed From 06375c595e0ce2265bc7fca334feaa38bb26a5a2 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Sun, 8 Mar 2020 22:06:32 -0600 Subject: [PATCH 393/628] Bumping version to 1.4.0 (#616) --- lib/ntc_templates/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index 4981aa2b18..ebb8ca9f67 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.3.0" +__version__ = "1.4.0" From 320c4c80b1917bf3f45a45600003c47ab593e199 Mon Sep 17 00:00:00 2001 From: ChristopherJHart Date: Tue, 10 Mar 2020 01:27:36 +1100 Subject: [PATCH 394/628] BugFix: cisco_ios_show_ip_ospf_database: Replaced static spacing --- templates/cisco_ios_show_ip_ospf_database_router.textfsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cisco_ios_show_ip_ospf_database_router.textfsm b/templates/cisco_ios_show_ip_ospf_database_router.textfsm index 64be3dc95a..fe0b82f241 100644 --- a/templates/cisco_ios_show_ip_ospf_database_router.textfsm +++ b/templates/cisco_ios_show_ip_ospf_database_router.textfsm @@ -27,7 +27,7 @@ LSAInfo ^\s+Options:\s+\(${LSA_OPTIONS}\) ^\s+LS\s+Type:\s+${LSA_TYPE} ^\s+Link\s+State\s+ID:\s+${LSA_ID} - ^\s+Advertising Router:\s+${LSA_ADV_ROUTER} + ^\s+Advertising\s+Router:\s+${LSA_ADV_ROUTER} ^\s+LS\s+Seq\s+Number:\s+${LSA_SEQ_NUMBER} ^\s+Checksum:\s+${LSA_CHECKSUM} ^\s+Length:\s+${LSA_LENGTH} From ec1213e932ec6f86efc7c698ef04184f0ded8e2a Mon Sep 17 00:00:00 2001 From: ChristopherJHart Date: Tue, 10 Mar 2020 01:36:16 +1100 Subject: [PATCH 395/628] New Template: cisco_ios_show_ip_ospf_database_network (#618) --- ..._ios_show_ip_ospf_database_network.textfsm | 40 ++++++++++ templates/index | 1 + ...isco_ios_show_ip_ospf_database_network.raw | 39 +++++++++ ...isco_ios_show_ip_ospf_database_network.yml | 80 +++++++++++++++++++ 4 files changed, 160 insertions(+) create mode 100644 templates/cisco_ios_show_ip_ospf_database_network.textfsm create mode 100644 tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.raw create mode 100644 tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml diff --git a/templates/cisco_ios_show_ip_ospf_database_network.textfsm b/templates/cisco_ios_show_ip_ospf_database_network.textfsm new file mode 100644 index 0000000000..ae6c6ce0c9 --- /dev/null +++ b/templates/cisco_ios_show_ip_ospf_database_network.textfsm @@ -0,0 +1,40 @@ +Value Filldown ROUTER_ID (\d+\.\d+\.\d+\.\d+) +Value Filldown PROCESS_ID (\d+) +Value Filldown AREA (\d+\.\d+\.\d+\.\d+|\d+) +Value Filldown LSA_AGE (\d+) +Value Filldown LSA_OPTIONS (.+) +Value Filldown LSA_TYPE (.+) +Value Filldown LSA_ID (\d+\.\d+\.\d+\.\d+) +Value Filldown LSA_ADV_ROUTER (\d+\.\d+\.\d+\.\d+) +Value Filldown LSA_SEQ_NUMBER (\S+) +Value Filldown LSA_CHECKSUM (\S+) +Value Filldown LSA_LENGTH (\d+) +Value Filldown LSA_NETWORK_MASK (\S+) +Value LS_ATT_ROUTER (\d+\.\d+\.\d+\.\d+) + +Start + ^\s+OSPF\s+Router\s+with\s+ID\s+\(${ROUTER_ID}\)\s+\(Process\s+ID\s+${PROCESS_ID}\) + ^\s+Net\s+Link\s+States\s+\(Area ${AREA}\) -> LSAInfo + ^\s*$$ + ^. -> Error + +LSAInfo + ^\s+LS\s+age:\s+${LSA_AGE} + ^\s+Options:\s+\(${LSA_OPTIONS}\) + ^\s+LS\s+Type:\s+${LSA_TYPE} + ^\s+Link\s+State\s+ID:\s+${LSA_ID} + ^\s+Advertising\s+Router:\s+${LSA_ADV_ROUTER} + ^\s+LS\s+Seq\s+Number:\s+${LSA_SEQ_NUMBER} + ^\s+Checksum:\s+${LSA_CHECKSUM} + ^\s+Length:\s+${LSA_LENGTH} + ^\s+Network\s+Mask:\s+${LSA_NETWORK_MASK} -> LSAs + ^\s*$$ + ^. -> Error + +LSAs + ^\s+Attached\s+Router:\s+${LS_ATT_ROUTER} -> Next.Record + ^\s+LS\s+age:\s+${LSA_AGE} -> LSAInfo + ^\s*$$ + ^. -> Error + +EOF diff --git a/templates/index b/templates/index index 181d884bf1..5529a73b66 100644 --- a/templates/index +++ b/templates/index @@ -139,6 +139,7 @@ cisco_ios_show_switch_detail.textfsm:cisco_ios_show_switch_detail_stack_ports.te cisco_ios_show_running-config_partition_access-list.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] +cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]] cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_environment_temperature.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] t[[emperature]] cisco_ios_show_ip_ospf_database_router.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] r[[outer]] diff --git a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.raw b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.raw new file mode 100644 index 0000000000..a32f399d8a --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.raw @@ -0,0 +1,39 @@ + OSPF Router with ID (100.1.1.1) (Process ID 1) + + Net Link States (Area 0) + + LS age: 500 + Options: (No TOS-capability, DC) + LS Type: Network Links + Link State ID: 192.168.2.1 (address of Designated Router) + Advertising Router: 100.1.1.1 + LS Seq Number: 80000224 + Checksum: 0x4B27 + Length: 32 + Network Mask: /30 + Attached Router: 100.1.1.1 + Attached Router: 100.2.2.2 + + LS age: 872 + Options: (No TOS-capability, DC) + LS Type: Network Links + Link State ID: 192.168.3.2 (address of Designated Router) + Advertising Router: 100.4.4.4 + LS Seq Number: 80000224 + Checksum: 0x4816 + Length: 32 + Network Mask: /30 + Attached Router: 100.4.4.4 + Attached Router: 100.2.2.2 + + LS age: 351 + Options: (No TOS-capability, DC) + LS Type: Network Links + Link State ID: 192.168.4.2 (address of Designated Router) + Advertising Router: 100.4.4.4 + LS Seq Number: 80000226 + Checksum: 0x60F7 + Length: 32 + Network Mask: /30 + Attached Router: 100.4.4.4 + Attached Router: 100.3.3.3 diff --git a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml new file mode 100644 index 0000000000..92d575125c --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml @@ -0,0 +1,80 @@ +--- +parsed_sample: + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "500" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.2.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000224" + lsa_checksum: "0x4B27" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.1.1.1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "500" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.2.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000224" + lsa_checksum: "0x4B27" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.2.2.2" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "872" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.3.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000224" + lsa_checksum: "0x4816" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.4.4.4" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "872" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.3.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000224" + lsa_checksum: "0x4816" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.2.2.2" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "351" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.4.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000226" + lsa_checksum: "0x60F7" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.4.4.4" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "351" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.4.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000226" + lsa_checksum: "0x60F7" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.3.3.3" From 0e69deb8ee6ee6d61c08293d48172156efc31a6b Mon Sep 17 00:00:00 2001 From: daanvdsanden Date: Tue, 10 Mar 2020 06:22:17 +0100 Subject: [PATCH 396/628] BugFix: cisco_nxos_show_fex: allow spaces in fex description (#620) --- templates/cisco_nxos_show_fex.textfsm | 2 +- .../cisco_nxos/show_fex/cisco_nxos_show_fex.raw | 5 ++++- .../cisco_nxos/show_fex/cisco_nxos_show_fex.yml | 17 ++++++++++++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/templates/cisco_nxos_show_fex.textfsm b/templates/cisco_nxos_show_fex.textfsm index c08f8a3b68..bad11a9202 100644 --- a/templates/cisco_nxos_show_fex.textfsm +++ b/templates/cisco_nxos_show_fex.textfsm @@ -1,5 +1,5 @@ Value NUMBER (\d+) -Value DESCR (\S+) +Value DESCR ((\S+)(\s+\S+)*) Value STATE (\S+) Value MODEL (\S+) Value SERIAL (\S+) diff --git a/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.raw b/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.raw index aa7753748a..f16677acb2 100644 --- a/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.raw +++ b/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.raw @@ -7,5 +7,8 @@ Number Description State Model Serial 104 ATL1-AS7P Online N2K-C2248TP-E-1GE SSI16340AKE 105 ATL1-AS9P Online N2K-C2248TP-E-1GE SSI16350BJ9 121 ATL1-AS1PR2 Online N2K-C2248TP-E-1GE SSI165102M7 -122 ATL1-AS3PR2 Online N2K-C2248TP-E-1GE SSI16460ARS +122 ATL1-AS3PR2 test Online N2K-C2248TP-E-1GE SSI16460ARS +123 ATL1-AS3PR2 test test Online N2K-C2248TP-E-1GE SSI16460AR1 +124 ATL1-AS3PR2 Test Online N2K-C2248TP-E-1GE SSI16460AR2 +125 ATL1-AS3PR2 Test test Online N2K-C2248TP-E-1GE SSI16460AR3 diff --git a/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.yml b/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.yml index 67d156eb82..fd1901a143 100644 --- a/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.yml +++ b/tests/cisco_nxos/show_fex/cisco_nxos_show_fex.yml @@ -26,7 +26,22 @@ parsed_sample: model: "N2K-C2248TP-E-1GE" serial: "SSI165102M7" - number: "122" - descr: "ATL1-AS3PR2" + descr: "ATL1-AS3PR2 test" state: "Online" model: "N2K-C2248TP-E-1GE" serial: "SSI16460ARS" + - number: "123" + descr: "ATL1-AS3PR2 test test" + state: "Online" + model: "N2K-C2248TP-E-1GE" + serial: "SSI16460AR1" + - number: "124" + descr: "ATL1-AS3PR2 Test" + state: "Online" + model: "N2K-C2248TP-E-1GE" + serial: "SSI16460AR2" + - number: "125" + descr: "ATL1-AS3PR2 Test test" + state: "Online" + model: "N2K-C2248TP-E-1GE" + serial: "SSI16460AR3" From 3bad2775856396c80d79bec8d9887203daf078dc Mon Sep 17 00:00:00 2001 From: Akira inamori Date: Sat, 14 Mar 2020 08:35:40 +0900 Subject: [PATCH 397/628] BugFix: Account for fpc and master lines on older Junos versions (#622) --- templates/juniper_junos_show_arp_no-resolve.textfsm | 3 ++- templates/juniper_junos_show_chassis_firmware.textfsm | 4 +++- templates/juniper_junos_show_interfaces.textfsm | 2 ++ templates/juniper_junos_show_isis_adjacency.textfsm | 2 ++ templates/juniper_junos_show_ospf_neighbor.textfsm | 2 ++ templates/juniper_junos_show_version.textfsm | 5 ++++- .../juniper_junos_show_arp_no-resolve.raw | 4 +++- .../juniper_junos_show_chassis_firmware.raw | 4 +++- .../show_interfaces/juniper_junos_show_interfaces.raw | 1 + .../juniper_junos_show_isis_adjacency.raw | 2 ++ .../show_ospf_neighbor/juniper_junos_show_ospf_neighbor.raw | 2 ++ .../show_version/juniper_junos_show_version.raw | 6 +++++- 12 files changed, 31 insertions(+), 6 deletions(-) diff --git a/templates/juniper_junos_show_arp_no-resolve.textfsm b/templates/juniper_junos_show_arp_no-resolve.textfsm index d5ccfad7db..ad8ba8896c 100644 --- a/templates/juniper_junos_show_arp_no-resolve.textfsm +++ b/templates/juniper_junos_show_arp_no-resolve.textfsm @@ -8,4 +8,5 @@ Start ^${MAC}\s+${IP_ADDRESS}\s+${INTERFACE}\s+${FLAGS} -> Record ^Total.* ^\s*$$ - ^. -> Error \ No newline at end of file + ^{master:\d+} + ^. -> Error diff --git a/templates/juniper_junos_show_chassis_firmware.textfsm b/templates/juniper_junos_show_chassis_firmware.textfsm index f69b0499c9..7c6e953102 100644 --- a/templates/juniper_junos_show_chassis_firmware.textfsm +++ b/templates/juniper_junos_show_chassis_firmware.textfsm @@ -6,5 +6,7 @@ Start ^[Pp]art ^${PART}\s+${TYPE}?\s+?(.+Version\s+|.+U-Boot\s.+|.+?)${VERSION}(Copy\S+$$|\s+.+$$|$$) -> Record ^\s+${TYPE}\s+?(.+Version\s+|.+U-Boot\s.+|.+?)${VERSION}(Copy\S+$$|\s+.+$$|$$) -> Record + ^\s*$$ + ^{master:\d+} -EOF \ No newline at end of file +EOF diff --git a/templates/juniper_junos_show_interfaces.textfsm b/templates/juniper_junos_show_interfaces.textfsm index 0d74eb53de..a571ab5c2b 100644 --- a/templates/juniper_junos_show_interfaces.textfsm +++ b/templates/juniper_junos_show_interfaces.textfsm @@ -10,5 +10,7 @@ Start ^.*ype:\s+${HARDWARE_TYPE},.*MTU:\s+${MTU}.* -> Record ^.*MTU:\s+${MTU}.* -> Record ^.*[fF]lags -> Record + ^\s*$$ + ^{master:\d+} EOF diff --git a/templates/juniper_junos_show_isis_adjacency.textfsm b/templates/juniper_junos_show_isis_adjacency.textfsm index 2a791331c5..9d7494f9b8 100644 --- a/templates/juniper_junos_show_isis_adjacency.textfsm +++ b/templates/juniper_junos_show_isis_adjacency.textfsm @@ -7,3 +7,5 @@ Value SNPA ((\S+)?) Start ^${INTERFACE}\s+${SYSTEM_ID}\s+${TYPE}\s+${STATE}\s+${HOLD_TIME}(\s+)?${SNPA} -> Record + ^\s*$$ + ^{master:\d+} diff --git a/templates/juniper_junos_show_ospf_neighbor.textfsm b/templates/juniper_junos_show_ospf_neighbor.textfsm index 3d80863faf..b6a3de0764 100644 --- a/templates/juniper_junos_show_ospf_neighbor.textfsm +++ b/templates/juniper_junos_show_ospf_neighbor.textfsm @@ -8,3 +8,5 @@ Value DEAD_TIME (\d+) Start ^${ADDRESS}\s+${INTERFACE}\s+${STATE}\s+${NEIGHBOR_ID}\s+${PRIORITY}\s+${DEAD_TIME} -> Record + ^\s*$$ + ^{master:\d+} diff --git a/templates/juniper_junos_show_version.textfsm b/templates/juniper_junos_show_version.textfsm index 5a2750834e..6e62395a34 100644 --- a/templates/juniper_junos_show_version.textfsm +++ b/templates/juniper_junos_show_version.textfsm @@ -75,4 +75,7 @@ Start ^Serial\s+Number:\s+${SERIAL_NUMBER} ^QFabric\s+System\s+ID:\s+${QFABRIC_SYSTEM_ID} ^JUNOS\s+${OTHER_DEVICE_PROPERTIES}\[${OTHER_PROPERTIES_VERSIONS}\] - ^. -> Error \ No newline at end of file + ^fpc\d+ + ^----- + ^{master:\d+} + ^. -> Error diff --git a/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.raw b/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.raw index 88e2916a83..94d91715d6 100644 --- a/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.raw +++ b/tests/juniper_junos/show_arp_no-resolve/juniper_junos_show_arp_no-resolve.raw @@ -8,4 +8,6 @@ MAC Address Address Interface Flags 00:00:00:00:00:0c 10.1.100.76 vlan.20 none 00:00:00:00:11:11 10.1.111.11 vlan.20 none 00:00:00:00:13:13 10.1.13.13 vlan.20 none -Total entries: 9 \ No newline at end of file +Total entries: 9 + +{master:0} diff --git a/tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.raw b/tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.raw index 14742a6e34..f97c948b42 100644 --- a/tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.raw +++ b/tests/juniper_junos/show_chassis_firmware/juniper_junos_show_chassis_firmware.raw @@ -180,4 +180,6 @@ FPC 2 ROM Juniper ROM Monitor Version 6.4b20 O/S Version 7.0-20040804.0 by builder on 2004-0 SPMB 0 ROM Juniper ROM Monitor Version 6.4b18 O/S Version 7.0-20040804.0 by builder on 2004-0 - O/S Version 7.0-20040804.0 by builder on 2004-0 \ No newline at end of file + O/S Version 7.0-20040804.0 by builder on 2004-0 + +{master:0} diff --git a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw index 2cb6e0bdbc..8beadec804 100644 --- a/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw +++ b/tests/juniper_junos/show_interfaces/juniper_junos_show_interfaces.raw @@ -69,3 +69,4 @@ Physical interface: sp-0/0/0, Enabled, Physical link is Up Device Flags : Present Running Interface flags: Point-To-Point SNMP-Traps Internal: 0x4000 +{master:0} diff --git a/tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.raw b/tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.raw index e2ab4cc1a0..547fa18c65 100644 --- a/tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.raw +++ b/tests/juniper_junos/show_isis_adjacency/juniper_junos_show_isis_adjacency.raw @@ -4,3 +4,5 @@ ge-0/0/2.0 CSR2 2 Up 25 50:0:0:2:0:1 ge-0/0/2.0 XRv3 1 Up 8 50:0:0:3:0:2 ge-0/0/2.0 XRv3 2 Up 8 50:0:0:3:0:2 ge-0/0/3.0 XRv3 3 Up 25 + +{master:0} diff --git a/tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.raw b/tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.raw index c7c3cefa53..f161ac3b11 100644 --- a/tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.raw +++ b/tests/juniper_junos/show_ospf_neighbor/juniper_junos_show_ospf_neighbor.raw @@ -1,3 +1,5 @@ Address Interface State ID Pri Dead 10.1.2.2 ge-0/0/2.0 Full 2.2.2.2 1 37 10.1.3.3 ge-0/0/3.0 Full 3.3.3.3 1 31 + +{master:0} diff --git a/tests/juniper_junos/show_version/juniper_junos_show_version.raw b/tests/juniper_junos/show_version/juniper_junos_show_version.raw index 6d0e773351..9598bbec80 100644 --- a/tests/juniper_junos/show_version/juniper_junos_show_version.raw +++ b/tests/juniper_junos/show_version/juniper_junos_show_version.raw @@ -1,3 +1,5 @@ +fpc0: +------------------------------------------------------------------------- Hostname: lab Model: mx240 Junos: 13.3R1.4 @@ -33,4 +35,6 @@ JUNOS Routing Software Suite [13.3R1.4] JUNOS py-base-i386 [13.3R1.4] labpkg [7.0] Serial Number: qfsn-0123456789 -QFabric System ID: f158527a-f99e-11e0-9fbd-00e081c57cda \ No newline at end of file +QFabric System ID: f158527a-f99e-11e0-9fbd-00e081c57cda + +{master:0} From 7b8ef36e95a08d5fa9246a18e64b04e18b5b9163 Mon Sep 17 00:00:00 2001 From: EricWu Date: Sun, 15 Mar 2020 00:32:39 +0800 Subject: [PATCH 398/628] New Template: hp_comware_display_lldp_neighbor-information_verbose (#619) --- ..._lldp_neighbor-information_verbose.textfsm | 27 ++++ templates/index | 1 + ...play_lldp_neighbor-information_verbose.raw | 143 ++++++++++++++++++ ...play_lldp_neighbor-information_verbose.yml | 30 ++++ 4 files changed, 201 insertions(+) create mode 100644 templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm create mode 100644 tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw create mode 100644 tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml diff --git a/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm b/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm new file mode 100644 index 0000000000..6e1c401a41 --- /dev/null +++ b/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm @@ -0,0 +1,27 @@ +Value Required LOCAL_INTERFACE (\S+) +Value CHASSIS_ID (\S+) +Value NEIGHBOR_PORT_ID (.*) +Value NEIGHBOR_INTERFACE (.*) +Value NEIGHBOR (\S+) +Value MANAGEMENT_IP (\S+) +Value VLAN (\d+) + +Start + ^The\s+LLDP\s+service\s+is\s+not\s+running -> EOF + ^LLDP\s+neighbor-information\s+of\s+port\s+\d+\[${LOCAL_INTERFACE}\] + ^LLDP\s+agent\s+nearest-bridge: + ^\s+LLDP\s+neighbor index\s+:.* + ^\s+Update\s+time\s+:.* + ^\s+Chassis\s+type\s+:.* + ^\s+Chassis\s+ID\s+:\s+${CHASSIS_ID} + ^\s+Port\s+ID\s+type\s+:.* + ^\s+Port\s+ID\s+:\s+${NEIGHBOR_PORT_ID} + ^\s+Time\s+to\s+live\d+:.* + ^\s+Port\s+description\s+:\s+${NEIGHBOR_INTERFACE} + ^\s+System\s+name\s+:\s+${NEIGHBOR} + ^\s+Management\s+address\s+:\s+${MANAGEMENT_IP} + ^\s+Management\s+address\s+interface\s+type + ^\s+Management\s+address\s+interface\s+ID + ^\s+Management\s+address\s+OID + ^\s+Port\s+VLAN\s+ID\(PVID\)\s+:\s+${VLAN} + ^\s+Maximum\s+frame\s+size -> Record Start diff --git a/templates/index b/templates/index index 5529a73b66..978034e026 100644 --- a/templates/index +++ b/templates/index @@ -327,6 +327,7 @@ fortinet_fortios_get_router_info_bgp_summary.textfsm, .*, fortinet_fortios, g[[e fortinet_fortios_get_system_interface.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[i]]nterface fortinet_fortios_get_system_status.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[s]]tatus +hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] hp_comware_display_ip_interface.textfsm, .*, hp_comware, dis[[play]] ip i[[nterface]] hp_comware_display_mac-address.textfsm, .*, hp_comware, di[[splay]] mac-ad[[dress]] diff --git a/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw new file mode 100644 index 0000000000..93b90ea516 --- /dev/null +++ b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.raw @@ -0,0 +1,143 @@ +LLDP neighbor-information of port 1[Ten-GigabitEthernet1/0/0/1]: +LLDP agent nearest-bridge: + LLDP neighbor index : 1 + Update time : 457 days, 22 hours, 1 minutes, 46 seconds + Chassis type : MAC address + Chassis ID : 70f9-6d6b-e800 + Port ID type : Interface name + Port ID : GigabitEthernet0/0/1 + Time to live : 120 + Port description : To_IDC-CORE-HS125X_T1/0/0/1(group40) + System name : IDC-Extranet-HR8808-1 + System description : H3C Comware software. H3C SR8800 Product Version SR8800-C + MW520-R3725P01. Copyright (c) 2004-2014 Hangzhou H3C Tech + . Co., Ltd. All rights reserved. + System capabilities supported : Bridge, Router + System capabilities enabled : Bridge, Router + Link aggregation supported : Yes + Link aggregation enabled : Yes + Aggregation port ID : 71 + Auto-negotiation supported : No + Auto-negotiation enabled : Yes + OperMau : Speed(1000)/Duplex(Full) + Power port class : PD + PSE power supported : No + PSE power enabled : No + PSE pairs control ability : No + Power pairs : Signal + Port power classification : Class 0 + Maximum frame size : 9216 + +LLDP neighbor-information of port 2[Ten-GigabitEthernet1/0/0/2]: +LLDP agent nearest-bridge: + LLDP neighbor index : 1 + Update time : 457 days, 22 hours, 1 minutes, 38 seconds + Chassis type : MAC address + Chassis ID : 70f9-6d17-ad59 + Port ID type : Interface name + Port ID : Ten-GigabitEthernet1/0/0/5 + Time to live : 120 + Port description : To_IDC-CORE_-HS125X_T1/0/0/2(group1) + System name : IDC-Intranet-HS125X + System description : H3C Comware Platform Software, Software Version 7.1.045, + Release 1005P09 + H3C S12510-X + Copyright (c) 2004-2014 Hangzhou H3C Tech. Co., Ltd. All + rights reserved. + System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge + System capabilities enabled : Bridge, Router, Customer Bridge + Management address type : IPv4 + Management address : 172.16.37.18 + Management address interface type : IfIndex + Management address interface ID : 6576 + Management address OID : 0 + Port VLAN ID(PVID) : 1300 + Link aggregation supported : Yes + Link aggregation enabled : Yes + Aggregation port ID : 5 + Auto-negotiation supported : Yes + Auto-negotiation enabled : Yes + OperMau : Speed(10000)/Duplex(Full) + Power port class : PSE + PSE power supported : No + PSE power enabled : No + PSE pairs control ability : No + Power pairs : Signal + Port power classification : Class 0 + Maximum frame size : 9216 + +LLDP neighbor-information of port 3[Ten-GigabitEthernet1/0/0/3]: +LLDP agent nearest-bridge: + LLDP neighbor index : 1 + Update time : 457 days, 22 hours, 1 minutes, 31 seconds + Chassis type : MAC address + Chassis ID : 70f9-6d17-ad59 + Port ID type : Interface name + Port ID : Ten-GigabitEthernet2/0/0/5 + Time to live : 120 + Port description : To_IDC-CORE_-HS125X_T1/0/0/3(group1) + System name : IDC-Intranet-HS125X + System description : H3C Comware Platform Software, Software Version 7.1.045, + Release 1005P09 + H3C S12510-X + Copyright (c) 2004-2014 Hangzhou H3C Tech. Co., Ltd. All + rights reserved. + System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge + System capabilities enabled : Bridge, Router, Customer Bridge + Management address type : IPv4 + Management address : 172.16.37.18 + Management address interface type : IfIndex + Management address interface ID : 6576 + Management address OID : 0 + Port VLAN ID(PVID) : 1300 + Link aggregation supported : Yes + Link aggregation enabled : Yes + Aggregation port ID : 1565 + Auto-negotiation supported : Yes + Auto-negotiation enabled : Yes + OperMau : Speed(10000)/Duplex(Full) + Power port class : PSE + PSE power supported : No + PSE power enabled : No + PSE pairs control ability : No + Power pairs : Signal + Port power classification : Class 0 + Maximum frame size : 9216 + + [H3C-GigabitEthernet0/0]dis lldp neighbor-information verbose +LLDP neighbor-information of port 1[GigabitEthernet0/0]: +LLDP agent nearest-bridge: + LLDP neighbor index : 1 + Update time : 0 days, 0 hours, 3 minutes, 9 seconds + Chassis type : MAC address + Chassis ID : 4c1c-503a-0100 + Port ID type : Interface name + Port ID : GigabitEthernet0/0 + Time to live : 121 + Port description : GigabitEthernet0/0 Interface + System name : Test-Router + System description : H3C Comware Platform Software, Software Version 7.1.075, + Alpha 7571 + H3C MSR36-20 + Copyright (c) 2004-2017 New H3C Technologies Co., Ltd. Al + l rights reserved. + System capabilities supported : Bridge, Router, Customer Bridge, Service Bridge + System capabilities enabled : Bridge, Router, Customer Bridge + Management address type : IPv4 + Management address : 12.1.1.2 + Management address interface type : IfIndex + Management address interface ID : 1 + Management address OID : 0 + Link aggregation supported : Yes + Link aggregation enabled : No + Aggregation port ID : 0 + Auto-negotiation supported : No + Auto-negotiation enabled : No + OperMau : Speed(0)/Duplex(Unknown) + Power port class : PSE + PSE power supported : Yes + PSE power enabled : No + PSE pairs control ability : Yes + Power pairs : Signal + Port power classification : Class 0 + Maximum frame size : 9216 \ No newline at end of file diff --git a/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml new file mode 100644 index 0000000000..1f2e778628 --- /dev/null +++ b/tests/hp_comware/display_lldp_neighbor-information_verbose/hp_comware_display_lldp_neighbor-information_verbose.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - local_interface: "Ten-GigabitEthernet1/0/0/1" + chassis_id: "70f9-6d6b-e800" + neighbor_port_id: "GigabitEthernet0/0/1" + neighbor_interface: "To_IDC-CORE-HS125X_T1/0/0/1(group40)" + neighbor: "IDC-Extranet-HR8808-1" + management_ip: "" + vlan: "" + - local_interface: "Ten-GigabitEthernet1/0/0/2" + chassis_id: "70f9-6d17-ad59" + neighbor_port_id: "Ten-GigabitEthernet1/0/0/5" + neighbor_interface: "To_IDC-CORE_-HS125X_T1/0/0/2(group1)" + neighbor: "IDC-Intranet-HS125X" + management_ip: "172.16.37.18" + vlan: "1300" + - local_interface: "Ten-GigabitEthernet1/0/0/3" + chassis_id: "70f9-6d17-ad59" + neighbor_port_id: "Ten-GigabitEthernet2/0/0/5" + neighbor_interface: "To_IDC-CORE_-HS125X_T1/0/0/3(group1)" + neighbor: "IDC-Intranet-HS125X" + management_ip: "172.16.37.18" + vlan: "1300" + - local_interface: "GigabitEthernet0/0" + chassis_id: "4c1c-503a-0100" + neighbor_port_id: "GigabitEthernet0/0" + neighbor_interface: "GigabitEthernet0/0 Interface" + neighbor: "Test-Router" + management_ip: "12.1.1.2" + vlan: "" From 333e5c6e6a45de1dc657f322b47f98355a6a4528 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Tue, 17 Mar 2020 22:35:47 -0500 Subject: [PATCH 399/628] Adds template for Cisco ASA "show vpn-sessiondb anyconnect" (#625) * Adds template for show vpn-sessiondb anyconnect * Adds presumptive output of a second user output Co-authored-by: Josh VanDeraa --- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 44 ++++++++++++++++ templates/index | 1 + ...isco_asa_show_vpn-sessiondb_anyconnect.raw | 15 ++++++ ...isco_asa_show_vpn-sessiondb_anyconnect.yml | 27 ++++++++++ ...sco_asa_show_vpn-sessiondb_anyconnect1.raw | 33 ++++++++++++ ...sco_asa_show_vpn-sessiondb_anyconnect1.yml | 52 +++++++++++++++++++ 6 files changed, 172 insertions(+) create mode 100644 templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm new file mode 100644 index 0000000000..382891ef56 --- /dev/null +++ b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -0,0 +1,44 @@ +Value Required SESSION_TYPE (\S+) +Value USERNAME (\S+) +Value INDEX (\d+) +Value ASSIGNED_IP (\d+\.\d+\.\d+\.\d+) +Value PUBLIC_IP (\d+\.\d+\.\d+\.\d+) +Value PROTOCOL (.+?) +Value LICENSE (.+?) +Value ENCRYPTION (.+?) +Value HASHING (.+?) +Value BYTES_TX (\d+) +Value BYTES_RX (\d+) +Value GROUP_POLICY (\S+) +Value TUNNEL_GROUP (\S+) +Value LOGIN_TIME (\d+:\d+:\d+) +Value LOGIN_TIME_ZONE (\w+) +Value LOGIN_WEEKDAY (\w+) +Value LOGIN_MONTH (\w+) +Value LOGIN_DAY (\d+) +Value LOGIN_YEAR (\d+) +Value DURATION (.+?) +Value INACTIVITY (.+?) +Value VLAN_MAPPING (\S+) +Value VLAN (.+?) +Value AUDT_SESS_ID (.+?) +Value SECURITY_GRP (.+?) + +Start + ^Session\s+Type:\s+${SESSION_TYPE}$$ + ^\s*Username\s*:\s+${USERNAME}\s+Index\s+:\s*${INDEX}$$ + ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ + ^\s*Protocol\s+:\s+${PROTOCOL}$$ + ^\s*License\s+:\s*${LICENSE}$$ + ^\s*Encryption\s+:\s*${ENCRYPTION}$$ + ^\s*Hashing\s+:\s*${HASHING}$$ + ^\s*Bytes\s+Tx\s+:\s+${BYTES_TX}\s+Bytes\s+Rx\s+:\s+${BYTES_RX}$$ + ^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}\s+Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ + ^\s*Login\s+Time\s+:\s+${LOGIN_TIME}\s+${LOGIN_TIME_ZONE}\s+${LOGIN_WEEKDAY}\s+${LOGIN_MONTH}\s+${LOGIN_DAY}\s+${LOGIN_YEAR}$$ + ^\s*Duration\s+:\s+${DURATION}$$ + ^\s*Inactivity\s+:\s+${INACTIVITY}$$ + ^\s*VLAN\s+Mapping\s+:\s+${VLAN_MAPPING}\s+VLAN\s+:\s+${VLAN}$$ + ^\s*Audt\s+Sess\s+ID\s+:\s+${AUDT_SESS_ID}$$ + ^\s*Security\s+Grp\s+:\s+${SECURITY_GRP}$$ -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 978034e026..74c3469a98 100644 --- a/templates/index +++ b/templates/index @@ -112,6 +112,7 @@ cisco_asa_show_asp_table_vpn-context_detail.textfsm, .*, cisco_asa, sh[[ow]] asp cisco_asa_show_running-config_crypto_ikev1.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] ikev1 cisco_asa_show_running-config_tunnel-group.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] tu[[nnel-group]] cisco_asa_show_running-config_crypto_map.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] m[[ap]] +cisco_asa_show_vpn-sessiondb_anyconnect.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] a[[nyconnect]] cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] d[[etail]] l[[2l]] cisco_asa_show_crypto_ikev1_sa_detail.textfsm, .*, cisco_asa, sh[[ow]] cry[[pto]] ikev1 sa d[[etail]] cisco_asa_show_object-group_network.textfsm, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw new file mode 100644 index 0000000000..46d95729a0 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw @@ -0,0 +1,15 @@ +Session Type: AnyConnect +Username : USER Index : 1018 +Assigned IP : 10.254.254.22 Public IP : 1.2.3.4 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 17186425 Bytes Rx : 7094561 +Group Policy : RAVPN Tunnel Group : RAVPN +Login Time : 14:28:09 CDT Tue Mar 17 2020 +Duration : 2h:21m:21s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : ac1063fe003fa0005e715555 +Security Grp : none \ No newline at end of file diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml new file mode 100644 index 0000000000..1476aa6c9f --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "USER" + index: "1018" + assigned_ip: "10.254.254.22" + public_ip: "1.2.3.4" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" + bytes_tx: "17186425" + bytes_rx: "7094561" + group_policy: "RAVPN" + tunnel_group: "RAVPN" + login_time: "14:28:09" + login_time_zone: "CDT" + login_weekday: "Tue" + login_month: "Mar" + login_day: "17" + login_year: "2020" + duration: "2h:21m:21s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "ac1063fe003fa0005e715555" + security_grp: "none" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw new file mode 100644 index 0000000000..cfc57ea2ae --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw @@ -0,0 +1,33 @@ +Session Type: AnyConnect + +Username : USER Index : 1018 +Assigned IP : 10.254.254.22 Public IP : 1.2.3.4 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 17186425 Bytes Rx : 7094561 +Group Policy : RAVPN Tunnel Group : RAVPN +Login Time : 14:28:09 CDT Tue Mar 17 2020 +Duration : 2h:21m:21s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : ac1063fe003fa0005e715555 +Security Grp : none + +Session Type: AnyConnect + +Username : lee Index : 1 +Assigned IP : 192.168.246.1 Public IP : 10.139.1.2 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : RC4 AES128 +Hashing : SHA1 +Bytes Tx : 11079 Bytes Rx : 4942 +Group Policy : EngPolicy Tunnel Group : EngGroup +Login Time : 15:25:13 EST Fri Jan 28 2011 +Duration : 0h:00m:15s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : a31867c632efaeaad +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml new file mode 100644 index 0000000000..d00bf4134a --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "USER" + index: "1018" + assigned_ip: "10.254.254.22" + public_ip: "1.2.3.4" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" + bytes_tx: "17186425" + bytes_rx: "7094561" + group_policy: "RAVPN" + tunnel_group: "RAVPN" + login_time: "14:28:09" + login_time_zone: "CDT" + login_weekday: "Tue" + login_month: "Mar" + login_day: "17" + login_year: "2020" + duration: "2h:21m:21s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "ac1063fe003fa0005e715555" + security_grp: "none" + - session_type: "AnyConnect" + username: "lee" + index: "1" + assigned_ip: "192.168.246.1" + public_ip: "10.139.1.2" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "RC4 AES128" + hashing: "SHA1" + bytes_tx: "11079" + bytes_rx: "4942" + group_policy: "EngPolicy" + tunnel_group: "EngGroup" + login_time: "15:25:13" + login_time_zone: "EST" + login_weekday: "Fri" + login_month: "Jan" + login_day: "28" + login_year: "2011" + duration: "0h:00m:15s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "a31867c632efaeaad" + security_grp: "none" From a3c49c8242927040a300b35d29885c7b1e0dfe76 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Wed, 18 Mar 2020 10:46:45 -0500 Subject: [PATCH 400/628] BugFix: show vpn-sessiondb anyconnect - INDEX required and fix whitespace capture in security_group (#626) --- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 14 ++-- ...isco_asa_show_vpn-sessiondb_anyconnect.raw | 2 +- ...sco_asa_show_vpn-sessiondb_anyconnect1.raw | 6 +- ...sco_asa_show_vpn-sessiondb_anyconnect2.raw | 46 +++++++++++ ...sco_asa_show_vpn-sessiondb_anyconnect2.yml | 77 +++++++++++++++++++ 5 files changed, 134 insertions(+), 11 deletions(-) create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm index 382891ef56..6a3983b936 100644 --- a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm +++ b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -1,6 +1,6 @@ -Value Required SESSION_TYPE (\S+) +Value Filldown,Required SESSION_TYPE (\S+) Value USERNAME (\S+) -Value INDEX (\d+) +Value Required INDEX (\d+) Value ASSIGNED_IP (\d+\.\d+\.\d+\.\d+) Value PUBLIC_IP (\d+\.\d+\.\d+\.\d+) Value PROTOCOL (.+?) @@ -22,10 +22,12 @@ Value INACTIVITY (.+?) Value VLAN_MAPPING (\S+) Value VLAN (.+?) Value AUDT_SESS_ID (.+?) -Value SECURITY_GRP (.+?) +Value SECURITY_GRP (\S+) Start - ^Session\s+Type:\s+${SESSION_TYPE}$$ + ^Session\s+Type:\s+${SESSION_TYPE}$$ -> Connection + +Connection ^\s*Username\s*:\s+${USERNAME}\s+Index\s+:\s*${INDEX}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ ^\s*Protocol\s+:\s+${PROTOCOL}$$ @@ -33,12 +35,12 @@ Start ^\s*Encryption\s+:\s*${ENCRYPTION}$$ ^\s*Hashing\s+:\s*${HASHING}$$ ^\s*Bytes\s+Tx\s+:\s+${BYTES_TX}\s+Bytes\s+Rx\s+:\s+${BYTES_RX}$$ - ^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}\s+Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ + ^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}\s+Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ ^\s*Login\s+Time\s+:\s+${LOGIN_TIME}\s+${LOGIN_TIME_ZONE}\s+${LOGIN_WEEKDAY}\s+${LOGIN_MONTH}\s+${LOGIN_DAY}\s+${LOGIN_YEAR}$$ ^\s*Duration\s+:\s+${DURATION}$$ ^\s*Inactivity\s+:\s+${INACTIVITY}$$ ^\s*VLAN\s+Mapping\s+:\s+${VLAN_MAPPING}\s+VLAN\s+:\s+${VLAN}$$ ^\s*Audt\s+Sess\s+ID\s+:\s+${AUDT_SESS_ID}$$ - ^\s*Security\s+Grp\s+:\s+${SECURITY_GRP}$$ -> Record + ^\s*Security\s+Grp\s+:\s+${SECURITY_GRP}\s*$$ -> Record ^\s*$$ ^. -> Error \ No newline at end of file diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw index 46d95729a0..3b310052ce 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.raw @@ -12,4 +12,4 @@ Duration : 2h:21m:21s Inactivity : 0h:00m:00s VLAN Mapping : N/A VLAN : none Audt Sess ID : ac1063fe003fa0005e715555 -Security Grp : none \ No newline at end of file +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw index cfc57ea2ae..67d17e2690 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.raw @@ -13,9 +13,7 @@ Duration : 2h:21m:21s Inactivity : 0h:00m:00s VLAN Mapping : N/A VLAN : none Audt Sess ID : ac1063fe003fa0005e715555 -Security Grp : none - -Session Type: AnyConnect +Security Grp : none Username : lee Index : 1 Assigned IP : 192.168.246.1 Public IP : 10.139.1.2 @@ -30,4 +28,4 @@ Duration : 0h:00m:15s Inactivity : 0h:00m:00s VLAN Mapping : N/A VLAN : none Audt Sess ID : a31867c632efaeaad -Security Grp : none +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.raw new file mode 100644 index 0000000000..a9d6981d87 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.raw @@ -0,0 +1,46 @@ +Session Type: AnyConnect + +Username : janedoe Index : 55620 +Assigned IP : 10.15.113.59 Public IP : 8.8.8.8 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 2310124124 Bytes Rx : 241259137 +Group Policy : BORING-GP-NAME-HERE Tunnel Group : BORING-TG-NAME-HERE +Login Time : 09:10:02 PDT Mon Mar 16 2020 +Duration : 1d 12h:33m:07s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0a2e009c0d9440005e6fa4da +Security Grp : none + +Username : johndoe Index : 55861 +Assigned IP : 10.15.112.51 Public IP : 15.25.192.144 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 12215025 Bytes Rx : 1718697 +Group Policy : BORING-GP-NAME-HERE Tunnel Group : BORING-TG-NAME-HERE +Login Time : 21:22:54 PDT Tue Mar 17 2020 +Duration : 0h:20m:15s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0a2e009c0da350005e71a21e +Security Grp : none + +Username : foo_bar Index : 56876 +Assigned IP : 10.15.112.173 Public IP : 123.15.26.19 +Protocol : AnyConnect-Parent +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none +Hashing : AnyConnect-Parent: (1)none +Bytes Tx : 1815344331 Bytes Rx : 331612525 +Group Policy : BORING-GP-NAME-HERE Tunnel Group : BORING-TG-NAME-HERE +Login Time : 09:30:15 PDT Mon Mar 16 2020 +Duration : 1d 12h:12m:54s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0a2e009c0de2c0005e6fa997 +Security Grp : none \ No newline at end of file diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml new file mode 100644 index 0000000000..635272a1c5 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml @@ -0,0 +1,77 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "janedoe" + index: "55620" + assigned_ip: "10.15.113.59" + public_ip: "8.8.8.8" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" + bytes_tx: "2310124124" + bytes_rx: "241259137" + group_policy: "BORING-GP-NAME-HERE" + tunnel_group: "BORING-TG-NAME-HERE" + login_time: "09:10:02" + login_time_zone: "PDT" + login_weekday: "Mon" + login_month: "Mar" + login_day: "16" + login_year: "2020" + duration: "1d 12h:33m:07s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0a2e009c0d9440005e6fa4da" + security_grp: "none" + - session_type: "AnyConnect" + username: "johndoe" + index: "55861" + assigned_ip: "10.15.112.51" + public_ip: "15.25.192.144" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" + bytes_tx: "12215025" + bytes_rx: "1718697" + group_policy: "BORING-GP-NAME-HERE" + tunnel_group: "BORING-TG-NAME-HERE" + login_time: "21:22:54" + login_time_zone: "PDT" + login_weekday: "Tue" + login_month: "Mar" + login_day: "17" + login_year: "2020" + duration: "0h:20m:15s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0a2e009c0da350005e71a21e" + security_grp: "none" + - session_type: "AnyConnect" + username: "foo_bar" + index: "56876" + assigned_ip: "10.15.112.173" + public_ip: "123.15.26.19" + protocol: "AnyConnect-Parent" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none" + hashing: "AnyConnect-Parent: (1)none" + bytes_tx: "1815344331" + bytes_rx: "331612525" + group_policy: "BORING-GP-NAME-HERE" + tunnel_group: "BORING-TG-NAME-HERE" + login_time: "09:30:15" + login_time_zone: "PDT" + login_weekday: "Mon" + login_month: "Mar" + login_day: "16" + login_year: "2020" + duration: "1d 12h:12m:54s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0a2e009c0de2c0005e6fa997" + security_grp: "none" From 119973552b74f441bd08f6edfde1b057366a062c Mon Sep 17 00:00:00 2001 From: timjsmith24 Date: Mon, 23 Mar 2020 11:05:52 -0400 Subject: [PATCH 401/628] New Template: cisco_wlc_ssh_show_mobility_sum (#628) --- .../cisco_wlc_ssh_show_mobility_sum.textfsm | 23 +++++++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_mobility_sum.raw | 14 +++++++++++ .../cisco_wlc_ssh_show_mobility_sum.yml | 12 ++++++++++ 4 files changed, 50 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_mobility_sum.textfsm create mode 100644 tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.raw create mode 100644 tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.yml diff --git a/templates/cisco_wlc_ssh_show_mobility_sum.textfsm b/templates/cisco_wlc_ssh_show_mobility_sum.textfsm new file mode 100644 index 0000000000..f4f746ec12 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_mobility_sum.textfsm @@ -0,0 +1,23 @@ +Value MAC_ADDR (([\d1-9a-f]{2}\:?){6}) +Value IP_ADDR (([\d1-9]+\.?){4}) +Value GROUP_NAME (\S+) +Value MULTICAST_IP (([\d1-9]+\.?){4}) +Value STATUS (.+?) + +Start + ^Mobility\s+Protocol\s+Port + ^Default\s+Mobility\s+Domain + ^Multicast\s+Mode\s+ + ^Mobility\s+Domain\s+ID\s+for\s+802.11r + ^Mobility\s+Keepalive\s+Interval + ^Mobility\s+Keepalive\s+Count + ^Mobility\s+Group\s+Members\s+Configured + ^Mobility\s+Control\s+Message\s+DSCP\s+Value + ^Controllers\s+configured\s+in\s+the\s+Mobility\s+Group + ^\s+MAC\s+Address\s+IP\s+Address\s+Group\s+Name\s+Multicast\s+IP\s+Status -> Mobility_Controllers + + +Mobility_Controllers + ^\s+${MAC_ADDR}\s+${IP_ADDR}\s+${GROUP_NAME}\s+${MULTICAST_IP}\s+${STATUS}s*$$ -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 74c3469a98..b73f7338d7 100644 --- a/templates/index +++ b/templates/index @@ -270,6 +270,7 @@ cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] +cisco_wlc_ssh_show_mobility_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] su[[mmary]] cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] cisco_wlc_ssh_show_wlan_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] wl[[an]] s[[ummary]] diff --git a/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.raw b/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.raw new file mode 100644 index 0000000000..db6eb18d67 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.raw @@ -0,0 +1,14 @@ + +Mobility Protocol Port........................... 16666 +Default Mobility Domain.......................... data +Multicast Mode .................................. Disabled +Mobility Domain ID for 802.11r................... 0xb187 +Mobility Keepalive Interval...................... 10 +Mobility Keepalive Count......................... 3 +Mobility Group Members Configured................ 2 +Mobility Control Message DSCP Value.............. 0 + +Controllers configured in the Mobility Group + MAC Address IP Address Group Name Multicast IP Status + 08:00:27:0a:04:25 192.168.1.12 data 0.0.0.0 Control and Data Path Down + 08:00:27:1d:a4:d4 192.168.1.11 data 0.0.0.0 Up diff --git a/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.yml b/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.yml new file mode 100644 index 0000000000..6b9eb8ecf4 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_mobility_sum/cisco_wlc_ssh_show_mobility_sum.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - mac_addr: "08:00:27:0a:04:25" + ip_addr: "192.168.1.12" + group_name: "data" + multicast_ip: "0.0.0.0" + status: "Control and Data Path Down" + - mac_addr: "08:00:27:1d:a4:d4" + ip_addr: "192.168.1.11" + group_name: "data" + multicast_ip: "0.0.0.0" + status: "Up" From acd2e9f744ef2954d237e10e3cf84c48c70c3d10 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Wed, 25 Mar 2020 11:36:35 -0500 Subject: [PATCH 402/628] Updates: ASA show vpn session - add new data (#631) --- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 4 ++ ...sco_asa_show_vpn-sessiondb_anyconnect3.raw | 33 ++++++++++++ ...sco_asa_show_vpn-sessiondb_anyconnect3.yml | 52 +++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm index 6a3983b936..01ed33874b 100644 --- a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm +++ b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -30,12 +30,16 @@ Start Connection ^\s*Username\s*:\s+${USERNAME}\s+Index\s+:\s*${INDEX}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ + ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}$$ + ^\s*Public\s+IP\s*:\s+${PUBLIC_IP}$$ ^\s*Protocol\s+:\s+${PROTOCOL}$$ ^\s*License\s+:\s*${LICENSE}$$ ^\s*Encryption\s+:\s*${ENCRYPTION}$$ ^\s*Hashing\s+:\s*${HASHING}$$ ^\s*Bytes\s+Tx\s+:\s+${BYTES_TX}\s+Bytes\s+Rx\s+:\s+${BYTES_RX}$$ ^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}\s+Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ + ^\s*Group\s+Policy\s+:\s+${GROUP_POLICY}$$ + ^\s*Tunnel\s+Group\s+:\s+${TUNNEL_GROUP}$$ ^\s*Login\s+Time\s+:\s+${LOGIN_TIME}\s+${LOGIN_TIME_ZONE}\s+${LOGIN_WEEKDAY}\s+${LOGIN_MONTH}\s+${LOGIN_DAY}\s+${LOGIN_YEAR}$$ ^\s*Duration\s+:\s+${DURATION}$$ ^\s*Inactivity\s+:\s+${INACTIVITY}$$ diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.raw new file mode 100644 index 0000000000..15db7806d7 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.raw @@ -0,0 +1,33 @@ +Session Type: AnyConnect + +Username : smithj Index : 57045 +Assigned IP : 10.1.2.3 Public IP : 1.2.3.4 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES256 DTLS-Tunnel: (1)AES256 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA1 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 177836286 Bytes Rx : 12615185 +Group Policy : GroupPolicy_duo-vpn-users +Tunnel Group : duo-vpn-users +Login Time : 10:14:19 EDT Wed Mar 25 2020 +Duration : 0h:23m:58s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0ae60f140ded50005e7b673b +Security Grp : none + +Username : smithj Index : 47520 +Public IP : 1.2.3.4 +Protocol : AnyConnect-Parent +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none +Hashing : AnyConnect-Parent: (1)none +Bytes Tx : 0 Bytes Rx : 0 +Group Policy : GroupPolicy_duo-vpn-users +Tunnel Group : duo-vpn-users +Login Time : 10:13:49 EDT Wed Mar 25 2020 +Duration : 0h:24m:28s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0ae60f140b9a00005e7b671d +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml new file mode 100644 index 0000000000..e13cf5cdc2 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "smithj" + index: "57045" + assigned_ip: "10.1.2.3" + public_ip: "1.2.3.4" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES256 DTLS-Tunnel: (1)AES256" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA1 DTLS-Tunnel: (1)SHA1" + bytes_tx: "177836286" + bytes_rx: "12615185" + group_policy: "GroupPolicy_duo-vpn-users" + tunnel_group: "duo-vpn-users" + login_time: "10:14:19" + login_time_zone: "EDT" + login_weekday: "Wed" + login_month: "Mar" + login_day: "25" + login_year: "2020" + duration: "0h:23m:58s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0ae60f140ded50005e7b673b" + security_grp: "none" + - session_type: "AnyConnect" + username: "smithj" + index: "47520" + assigned_ip: "" + public_ip: "1.2.3.4" + protocol: "AnyConnect-Parent" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none" + hashing: "AnyConnect-Parent: (1)none" + bytes_tx: "0" + bytes_rx: "0" + group_policy: "GroupPolicy_duo-vpn-users" + tunnel_group: "duo-vpn-users" + login_time: "10:13:49" + login_time_zone: "EDT" + login_weekday: "Wed" + login_month: "Mar" + login_day: "25" + login_year: "2020" + duration: "0h:24m:28s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0ae60f140b9a00005e7b671d" + security_grp: "none" From f36516d6ea19da3d1eb0ca5744a07781c8a36a35 Mon Sep 17 00:00:00 2001 From: Joe Wesch <10467633+joewesch@users.noreply.github.com> Date: Wed, 25 Mar 2020 11:39:17 -0500 Subject: [PATCH 403/628] Enhancement: ASA ipsec sa - Adds compatibility for names (#629) Also fixes a typo on ``loacl`` capture group --- .../cisco_asa_show_crypto_ipsec_sa.textfsm | 20 ++++++++----- templates/index | 2 +- .../cisco_asa_show_crypto_ipsec_sa.raw | 6 ++-- .../cisco_asa_show_crypto_ipsec_sa.yml | 29 ++++++++++++++----- 4 files changed, 39 insertions(+), 18 deletions(-) diff --git a/templates/cisco_asa_show_crypto_ipsec_sa.textfsm b/templates/cisco_asa_show_crypto_ipsec_sa.textfsm index eb22f9e77f..bd7fa80529 100644 --- a/templates/cisco_asa_show_crypto_ipsec_sa.textfsm +++ b/templates/cisco_asa_show_crypto_ipsec_sa.textfsm @@ -2,8 +2,9 @@ Value Filldown INTERFACE (\S+) Value Filldown CRYPTO_MAP_TAG (\S+) Value Filldown SEQUENCE_NUMBER (\d+) Value Filldown LOCAL_ADDRESS (\d+\.\d+\.\d+\.\d+) +Value Filldown LOCAL_ADDRESS_NAME (\S+) Value LOCAL_IDENTITY_ADDR (\d+\.\d+\.\d+\.\d+) -Value LOACL_IDENTITY_MASK (\d+\.\d+\.\d+\.\d+) +Value LOCAL_IDENTITY_MASK (\d+\.\d+\.\d+\.\d+) Value LOCAL_IDENTITY_PROTOCOL (\d+) Value LOCAL_IDENTITY_PORT (\d+) Value REMOTE_IDENTITY_ADDR (\d+\.\d+\.\d+\.\d+) @@ -12,6 +13,8 @@ Value REMOTE_IDENTITY_PROTOCOL (\d+) Value REMOTE_IDENTITY_PORT (\d+) Value CURRENT_PEER (\d+\.\d+\.\d+\.\d+) Value DYNAMIC_PEER (\d+\.\d+\.\d+\.\d+) +Value CURRENT_PEER_NAME (\S+) +Value DYNAMIC_PEER_NAME (\S+) Value PACKETS_ENCAPSULATED (\d+) Value PACKETS_ENCRYPTED (\d+) Value PACKETS_DIGESTED (\d+) @@ -33,6 +36,8 @@ Value SEND_ERRORS (\d+) Value RECEIVE_ERRORS (\d+) Value LOCAL_CRYPTO_ENDPOINT (\d+\.\d+\.\d+\.\d+) Value REMOTE_CRYPTO_ENDPOINT (\d+\.\d+\.\d+\.\d+) +Value LOCAL_CRYPTO_ENDPOINT_NAME (\S+) +Value REMOTE_CRYPTO_ENDPOINT_NAME (\S+) Value PATH_MTU (\d+) Value IPSEC_OVERHEAD (\d+) Value MEDIA_MTU (\d+) @@ -65,12 +70,12 @@ Value OUTBOUND_REPLAY_DETECTION (\w+) Start ^interface:\s+${INTERFACE}\s* - ^\s+Crypto map tag:\s+${CRYPTO_MAP_TAG},\s+local addr:\s+${LOCAL_ADDRESS}\s* - ^\s+Crypto map tag:\s+${CRYPTO_MAP_TAG}, seq num:\s+${SEQUENCE_NUMBER},\s+local addr:\s+${LOCAL_ADDRESS}\s* - ^\s+local\s+ident\s+\(addr\/mask\/prot\/port\):\s+\(${LOCAL_IDENTITY_ADDR}\/${LOACL_IDENTITY_MASK}\/${LOCAL_IDENTITY_PROTOCOL}\/${LOCAL_IDENTITY_PORT}\)\s* + ^\s+Crypto map tag:\s+${CRYPTO_MAP_TAG},\s+local addr:\s+(?:${LOCAL_ADDRESS}|${LOCAL_ADDRESS_NAME})\s* + ^\s+Crypto map tag:\s+${CRYPTO_MAP_TAG}, seq num:\s+${SEQUENCE_NUMBER},\s+local addr:\s+(?:${LOCAL_ADDRESS}|${LOCAL_ADDRESS_NAME})\s* + ^\s+local\s+ident\s+\(addr\/mask\/prot\/port\):\s+\(${LOCAL_IDENTITY_ADDR}\/${LOCAL_IDENTITY_MASK}\/${LOCAL_IDENTITY_PROTOCOL}\/${LOCAL_IDENTITY_PORT}\)\s* ^\s+remote\s+ident\s+\(addr/mask/prot/port\):\s+\(${REMOTE_IDENTITY_ADDR}\/${REMOTE_IDENTITY_MASK}\/${REMOTE_IDENTITY_PROTOCOL}\/${REMOTE_IDENTITY_PORT}\)\s* - ^\s+current_peer:\s+${CURRENT_PEER}\s* - ^\s+dynamic\s+allocated\s+peer\s+ip:\s+${DYNAMIC_PEER}\s* + ^\s+current_peer:\s+(?:${CURRENT_PEER}|${CURRENT_PEER_NAME})\s* + ^\s+dynamic\s+allocated\s+peer\s+ip:\s+(?:${DYNAMIC_PEER}|${DYNAMIC_PEER_NAME})\s* ^\s+#pkts\s+encaps:\s+${PACKETS_ENCAPSULATED},\s+#pkts\s+encrypt:\s+${PACKETS_ENCRYPTED},\s+#pkts\s+digest:\s+${PACKETS_DIGESTED}\s* ^\s+#pkts\s+decaps:\s+${PACKETS_DECAPSULATED},\s+#pkts\s+decrypt:\s+${PACKETS_DECRYPTED},\s+#pkts\s+verify:\s+${PACKETS_VERIFIED}\s* ^\s+#pkts\s+compressed:\s+${PACKETS_COMPRESSED},\s+#pkts\s+decompressed:\s+${PACKETS_DECOMPRESSED}\s* @@ -78,7 +83,8 @@ Start ^\s+#pre-frag\s+successes:\s+${PRE_FRAGMENT_SUCCESS},\s+#pre-frag\s+failures:\s+${PRE_FRAGMENT_FAILURES},\s+#fragments\s+created:\s+${FRAGMENTS_CREATED}\s* ^\s+#PMTUs\s+sent:\s+${PMTUS_SENT},\s+#PMTUs\s+rcvd:\s+${PMTUS_RECEIVED},\s+#decapsulated\s+fra?gs\s+needing\s+reassembly:\s+${DECAP_FRAGS_NEEDING_REASSEMBLY}\s* ^\s+#send\s+errors:\s+${SEND_ERRORS},\s+#recv\s+errors:\s+${RECEIVE_ERRORS}\s* - ^\s+local\s+crypto\s+endpt\.:\s+${LOCAL_CRYPTO_ENDPOINT}(\/\d+)?,\s+remote\s+crypto\s+endpt\.:\s+${REMOTE_CRYPTO_ENDPOINT}(\/\d+)?\s* + ^\s+local\s+crypto\s+endpt\.:\s+${LOCAL_CRYPTO_ENDPOINT},\s+remote\s+crypto\s+endpt\.:\s+${REMOTE_CRYPTO_ENDPOINT}\s* + ^\s+local\s+crypto\s+endpt\.:\s+(?:${LOCAL_CRYPTO_ENDPOINT}|${LOCAL_CRYPTO_ENDPOINT_NAME})(\/\d+),\s+remote\s+crypto\s+endpt\.:\s+(?:${REMOTE_CRYPTO_ENDPOINT}|${REMOTE_CRYPTO_ENDPOINT_NAME})(\/\d+)\s* ^\s+path\s+mtu\s+${PATH_MTU},\s+ipsec\s+overhead\s+${IPSEC_OVERHEAD}(\(\d+\))?,\s+media\s+mtu\s+${MEDIA_MTU}\s* ^\s+current\s+outbound\s+spi:\s+${CURRENT_OUTBOUND_SPI}\s* ^\s+current\s+inbound\s+spi\s+:\s+${CURRENT_INBOUND_SPI}\s* diff --git a/templates/index b/templates/index index b73f7338d7..fbb71fa952 100644 --- a/templates/index +++ b/templates/index @@ -118,7 +118,7 @@ cisco_asa_show_crypto_ikev1_sa_detail.textfsm, .*, cisco_asa, sh[[ow]] cry[[pto] cisco_asa_show_object-group_network.textfsm, .*, cisco_asa, sh[[ow]] (?:ru[[nning-config]] object-[[group]]|ob[[ject-group]]) n[[etwork]] cisco_asa_show_running-config_ipsec.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] ips[[ec]] cisco_asa_show_interface_detail.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] d[[etail]] -cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] cry[[pto]] ip[[sec]] sa +cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] (?:cry[[pto]] ip[[sec]]|ipsec) sa cisco_asa_show_resource_usage.textfsm, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] cisco_asa_show_access-list.textfsm, .*, cisco_asa, sh[[ow]] ac[[cess-list]] cisco_asa_show_license_all.textfsm, .*, cisco_asa, (?:fa[[ilover]]\s+e[[xec]]\s+)?sh[[ow]] lic[[ense]] a[[ll]] diff --git a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw index 5c7e27359b..67df11b730 100644 --- a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw +++ b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.raw @@ -80,12 +80,12 @@ interface: COLO Anti replay bitmap: 0x00000000 0x00000001 - Crypto map tag: COLO-MAP, seq num: 3, local addr: 172.20.248.119 + Crypto map tag: COLO-MAP, seq num: 3, local addr: LOCAL-ADDR-172.20.248.119 access-list 200 extended permit ip 172.20.122.32 255.255.255.240 10.160.4.0 255.255.255.0 local ident (addr/mask/prot/port): (172.20.122.32/255.255.255.240/0/0) remote ident (addr/mask/prot/port): (10.160.4.0/255.255.255.0/0/0) - current_peer: 8.8.4.4 + current_peer: REMOTE-PEER-8.8.4.4 #pkts encaps: 0, #pkts encrypt: 0, #pkts digest: 0 @@ -98,7 +98,7 @@ interface: COLO #Valid ICMP Errors rcvd: 0, #Invalid ICMP Errors rcvd: 0 #send errors: 0, #recv errors: 0 - local crypto endpt.: 172.20.248.119/0, remote crypto endpt.: 8.8.4.4/0 + local crypto endpt.: LOCAL-ADDR-172.20.248.119/500, remote crypto endpt.: REMOTE-PEER-8.8.4.4/500 path mtu 1500, ipsec overhead 74(44), media mtu 1500 PMTU time remaining (sec): 0, DF policy: copy-df ICMP error validation: disabled, TFC packets: disabled diff --git a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml index 3358ed0084..7a226d7e89 100644 --- a/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml +++ b/tests/cisco_asa/show_crypto_ipsec_sa/cisco_asa_show_crypto_ipsec_sa.yml @@ -4,8 +4,9 @@ parsed_sample: crypto_map_tag: "def" sequence_number: "" local_address: "10.132.0.17" + local_address_name: "" local_identity_addr: "0.0.0.0" - loacl_identity_mask: "0.0.0.0" + local_identity_mask: "0.0.0.0" local_identity_protocol: "0" local_identity_port: "0" remote_identity_addr: "172.20.0.21" @@ -13,7 +14,9 @@ parsed_sample: remote_identity_protocol: "0" remote_identity_port: "0" current_peer: "172.20.0.21" + current_peer_name: "" dynamic_peer: "10.135.1.5" + dynamic_peer_name: "" packets_encapsulated: "0" packets_encrypted: "0" packets_digested: "0" @@ -34,7 +37,9 @@ parsed_sample: send_errors: "0" receive_errors: "0" local_crypto_endpoint: "10.132.0.17" + local_crypto_endpoint_name: "" remote_crypto_endpoint: "172.20.0.21" + remote_crypto_endpoint_name: "" path_mtu: "1500" ipsec_overhead: "60" media_mtu: "1500" @@ -68,8 +73,9 @@ parsed_sample: crypto_map_tag: "COLO-MAP" sequence_number: "2" local_address: "172.16.248.119" + local_address_name: "" local_identity_addr: "172.16.122.32" - loacl_identity_mask: "255.255.255.240" + local_identity_mask: "255.255.255.240" local_identity_protocol: "0" local_identity_port: "0" remote_identity_addr: "172.30.1.153" @@ -77,7 +83,9 @@ parsed_sample: remote_identity_protocol: "0" remote_identity_port: "0" current_peer: "8.8.8.8" + current_peer_name: "" dynamic_peer: "" + dynamic_peer_name: "" packets_encapsulated: "13915315" packets_encrypted: "13915315" packets_digested: "13915315" @@ -98,7 +106,9 @@ parsed_sample: send_errors: "0" receive_errors: "0" local_crypto_endpoint: "172.16.248.119" + local_crypto_endpoint_name: "" remote_crypto_endpoint: "8.8.8.8" + remote_crypto_endpoint_name: "" path_mtu: "1500" ipsec_overhead: "82" media_mtu: "1500" @@ -131,17 +141,20 @@ parsed_sample: - interface: "COLO" crypto_map_tag: "COLO-MAP" sequence_number: "3" - local_address: "172.20.248.119" + local_address: "" + local_address_name: "LOCAL-ADDR-172.20.248.119" local_identity_addr: "172.20.122.32" - loacl_identity_mask: "255.255.255.240" + local_identity_mask: "255.255.255.240" local_identity_protocol: "0" local_identity_port: "0" remote_identity_addr: "10.160.4.0" remote_identity_mask: "255.255.255.0" remote_identity_protocol: "0" remote_identity_port: "0" - current_peer: "8.8.4.4" + current_peer: "" + current_peer_name: "REMOTE-PEER-8.8.4.4" dynamic_peer: "" + dynamic_peer_name: "" packets_encapsulated: "0" packets_encrypted: "0" packets_digested: "0" @@ -161,8 +174,10 @@ parsed_sample: decap_frags_needing_reassembly: "0" send_errors: "0" receive_errors: "0" - local_crypto_endpoint: "172.20.248.119" - remote_crypto_endpoint: "8.8.4.4" + local_crypto_endpoint: "" + local_crypto_endpoint_name: "LOCAL-ADDR-172.20.248.119" + remote_crypto_endpoint: "" + remote_crypto_endpoint_name: "REMOTE-PEER-8.8.4.4" path_mtu: "1500" ipsec_overhead: "74" media_mtu: "1500" From c67a7f81d69cee7725ee35a9745f94d95e5b769d Mon Sep 17 00:00:00 2001 From: Joe Wesch <10467633+joewesch@users.noreply.github.com> Date: Thu, 26 Mar 2020 15:32:32 -0500 Subject: [PATCH 404/628] Enhancement: ASA show nat - Add support for protocol (#632) --- templates/cisco_asa_show_nat.textfsm | 3 +- .../cisco_asa/show_nat/cisco_asa_show_nat.raw | 4 + .../cisco_asa/show_nat/cisco_asa_show_nat.yml | 110 +++++++++++++++++- 3 files changed, 114 insertions(+), 3 deletions(-) diff --git a/templates/cisco_asa_show_nat.textfsm b/templates/cisco_asa_show_nat.textfsm index 20d580abbf..84f2610946 100644 --- a/templates/cisco_asa_show_nat.textfsm +++ b/templates/cisco_asa_show_nat.textfsm @@ -7,6 +7,7 @@ Value SOURCE_REAL (any|\S+) Value SOURCE_MAPPED (any|interface\s+ipv6|interface|pat-pool\s+interface|pat-pool\s+\S+|\S+) Value DESTINATION_REAL (interface|interface\s+ipv6|\S+) Value DESTINATION_MAPPED (any|\S+) +Value SERVICE_PROTOCOL (tcp|udp|sctp) Value SERVICE_REAL (any|\S+) Value SERVICE_MAPPED (\S+) Value EXTENDED (extended) @@ -28,7 +29,7 @@ Start # Section 2 = Auto NAT # Section 3 = After-auto Manual NAT ^(Manual|Auto) NAT Policies \(Section ${NAT_SECTION_NUMBER}\)\s* - ^${LINE_NUMBER}\s+\(${SOURCE_INTERFACE}\)\s+to\s+\(${DESTINATION_INTERFACE}\)\s+source\s+${SOURCE_TYPE}\s+${SOURCE_REAL}\s+${SOURCE_MAPPED}\s*(destination\s+static\s+${DESTINATION_REAL}\s+${DESTINATION_MAPPED})?\s*(service\s+${SERVICE_REAL}\s+${SERVICE_MAPPED})?\s*${EXTENDED}?\s*${FLAT}?\s*${INCLUDE_RESERVE}?\s*${ROUND_ROBIN}?\s*${NET_TO_NET}?\s*${DNS}?\s*${UNIDIRECTIONAL}?\s*${NO_PROXY_ARP}?\s*${ROUTE_LOOKUP}?\s*${INACTIVE}?\s*(description\s+${DESCRIPTION})? + ^${LINE_NUMBER}\s+\(${SOURCE_INTERFACE}\)\s+to\s+\(${DESTINATION_INTERFACE}\)\s+source\s+${SOURCE_TYPE}\s+${SOURCE_REAL}\s+${SOURCE_MAPPED}\s*(destination\s+static\s+${DESTINATION_REAL}\s+${DESTINATION_MAPPED})?\s*(service\s+${SERVICE_PROTOCOL}?\s*${SERVICE_REAL}\s+${SERVICE_MAPPED})?\s*${EXTENDED}?\s*${FLAT}?\s*${INCLUDE_RESERVE}?\s*${ROUND_ROBIN}?\s*${NET_TO_NET}?\s*${DNS}?\s*${UNIDIRECTIONAL}?\s*${NO_PROXY_ARP}?\s*${ROUTE_LOOKUP}?\s*${INACTIVE}?\s*(description\s+${DESCRIPTION})? ^\s+translate_hits\s+=\s+${TRANSLATE_HITS},\s+untranslate_hits\s+=\s+${UNTRANSLATE_HITS} -> Record ^\s* ^. -> Error diff --git a/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw b/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw index 061a282102..fe1e7c9cb0 100644 --- a/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw +++ b/tests/cisco_asa/show_nat/cisco_asa_show_nat.raw @@ -67,6 +67,10 @@ Auto NAT Policies (Section 2) translate_hits = 383, untranslate_hits = 467 9 (any) to (outside) source dynamic test5 interface dns translate_hits = 795, untranslate_hits = 263 +10 (inside) to (outside) source static test7 test8 service udp https 8443 + translate_hits = 680, untranslate_hits = 7 +11 (inside) to (outside) source static test7 test8 service sctp www 8080 + translate_hits = 680, untranslate_hits = 7 Manual NAT Policies (Section 3) 1 (any) to (outside) source dynamic test11 test12 destination static test13 test14 net-to-net inactive description source dynamic static destination static net-to-net service any pat-pool interface dns unidirectional no-proxy-arp route-lookup ipv6 inactive description <-- THESE ARE ALL PART OF THE DESCRIPTION diff --git a/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml b/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml index 83fe4767d1..06f9cc90d2 100644 --- a/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml +++ b/tests/cisco_asa/show_nat/cisco_asa_show_nat.yml @@ -9,6 +9,7 @@ parsed_sample: source_mapped: "any" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -35,6 +36,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -59,6 +61,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "test-service-1" service_mapped: "test-service-2" extended: "" @@ -83,6 +86,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "any" service_mapped: "test-service-2" extended: "" @@ -107,6 +111,7 @@ parsed_sample: source_mapped: "pat-pool interface" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -131,6 +136,7 @@ parsed_sample: source_mapped: "pat-pool test11" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -155,6 +161,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -179,6 +186,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -203,6 +211,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -228,6 +237,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -252,6 +262,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -276,6 +287,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "test-service-1" service_mapped: "test-service-2" extended: "" @@ -300,6 +312,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "any" service_mapped: "test-service-2" extended: "" @@ -324,6 +337,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test3" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -348,6 +362,7 @@ parsed_sample: source_mapped: "test1" destination_real: "test3" destination_mapped: "test3" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -372,6 +387,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -396,6 +412,7 @@ parsed_sample: source_mapped: "test2" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -420,6 +437,7 @@ parsed_sample: source_mapped: "test2" destination_real: "test3" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -444,6 +462,7 @@ parsed_sample: source_mapped: "test2" destination_real: "interface" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -468,6 +487,7 @@ parsed_sample: source_mapped: "test2" destination_real: "interface" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -492,6 +512,7 @@ parsed_sample: source_mapped: "test7" destination_real: "interface" destination_mapped: "ipv6" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -516,6 +537,7 @@ parsed_sample: source_mapped: "interface ipv6" destination_real: "test8" destination_mapped: "test9" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -540,6 +562,7 @@ parsed_sample: source_mapped: "interface ipv6" destination_real: "test8" destination_mapped: "test9" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -564,6 +587,7 @@ parsed_sample: source_mapped: "interface" destination_real: "test3" destination_mapped: "test4" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -588,6 +612,7 @@ parsed_sample: source_mapped: "169.254.11.11" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -612,6 +637,7 @@ parsed_sample: source_mapped: "interface ipv6" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -636,8 +662,9 @@ parsed_sample: source_mapped: "test8" destination_real: "" destination_mapped: "" - service_real: "tcp" - service_mapped: "ssh" + service_protocol: "tcp" + service_real: "ssh" + service_mapped: "2222" extended: "" flat: "" include_reserve: "" @@ -660,6 +687,7 @@ parsed_sample: source_mapped: "2006::2/128" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -684,6 +712,7 @@ parsed_sample: source_mapped: "169.254.1.1" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -708,6 +737,7 @@ parsed_sample: source_mapped: "test3" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -732,6 +762,7 @@ parsed_sample: source_mapped: "pat-pool test11" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "extended" @@ -756,6 +787,7 @@ parsed_sample: source_mapped: "pat-pool test11" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -780,6 +812,7 @@ parsed_sample: source_mapped: "interface" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -795,6 +828,56 @@ parsed_sample: description: "" translate_hits: "795" untranslate_hits: "263" + - nat_section_number: "2" + line_number: "10" + source_interface: "inside" + destination_interface: "outside" + source_type: "static" + source_real: "test7" + source_mapped: "test8" + destination_real: "" + destination_mapped: "" + service_protocol: "udp" + service_real: "https" + service_mapped: "8443" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "680" + untranslate_hits: "7" + - nat_section_number: "2" + line_number: "11" + source_interface: "inside" + destination_interface: "outside" + source_type: "static" + source_real: "test7" + source_mapped: "test8" + destination_real: "" + destination_mapped: "" + service_protocol: "sctp" + service_real: "www" + service_mapped: "8080" + extended: "" + flat: "" + include_reserve: "" + round_robin: "" + net_to_net: "" + dns: "" + unidirectional: "" + no_proxy_arp: "" + route_lookup: "" + inactive: "" + description: "" + translate_hits: "680" + untranslate_hits: "7" - nat_section_number: "3" line_number: "1" source_interface: "any" @@ -804,6 +887,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -830,6 +914,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "test-service-1" service_mapped: "test-service-2" extended: "" @@ -854,6 +939,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "any" service_mapped: "test-service-2" extended: "" @@ -878,6 +964,7 @@ parsed_sample: source_mapped: "pat-pool interface" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -902,6 +989,7 @@ parsed_sample: source_mapped: "pat-pool test21" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -926,6 +1014,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -950,6 +1039,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -974,6 +1064,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -999,6 +1090,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1023,6 +1115,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1047,6 +1140,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "test-service-1" service_mapped: "test-service-2" extended: "" @@ -1071,6 +1165,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "any" service_mapped: "test-service-2" extended: "" @@ -1095,6 +1190,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test13" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1119,6 +1215,7 @@ parsed_sample: source_mapped: "test11" destination_real: "test13" destination_mapped: "test13" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1143,6 +1240,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1167,6 +1265,7 @@ parsed_sample: source_mapped: "test12" destination_real: "" destination_mapped: "" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1191,6 +1290,7 @@ parsed_sample: source_mapped: "test12" destination_real: "test13" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1215,6 +1315,7 @@ parsed_sample: source_mapped: "test12" destination_real: "interface" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1239,6 +1340,7 @@ parsed_sample: source_mapped: "test12" destination_real: "interface" destination_mapped: "any" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1263,6 +1365,7 @@ parsed_sample: source_mapped: "test17" destination_real: "interface" destination_mapped: "ipv6" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1287,6 +1390,7 @@ parsed_sample: source_mapped: "interface ipv6" destination_real: "test18" destination_mapped: "test19" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1311,6 +1415,7 @@ parsed_sample: source_mapped: "interface ipv6" destination_real: "test18" destination_mapped: "test19" + service_protocol: "" service_real: "" service_mapped: "" extended: "" @@ -1335,6 +1440,7 @@ parsed_sample: source_mapped: "interface" destination_real: "test13" destination_mapped: "test14" + service_protocol: "" service_real: "" service_mapped: "" extended: "" From 1c9fc9e2c42fa90a4a683026789ab14504071742 Mon Sep 17 00:00:00 2001 From: kjoyce77 Date: Tue, 31 Mar 2020 08:32:52 -0500 Subject: [PATCH 405/628] New template: cisco_ios_show_ip_route_summary (#635) --- .../cisco_ios_show_ip_route_summary.textfsm | 34 ++++++++++ templates/index | 1 + .../cisco_ios_show_ip_route_summary.raw | 13 ++++ .../cisco_ios_show_ip_route_summary.yml | 58 +++++++++++++++++ .../cisco_ios_show_ip_route_summary2.raw | 14 ++++ .../cisco_ios_show_ip_route_summary2.yml | 65 +++++++++++++++++++ .../cisco_ios_show_ip_route_summary3.raw | 7 ++ .../cisco_ios_show_ip_route_summary3.yml | 30 +++++++++ 8 files changed, 222 insertions(+) create mode 100644 templates/cisco_ios_show_ip_route_summary.textfsm create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.raw create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.yml create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.raw create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.yml create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.raw create mode 100644 tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.yml diff --git a/templates/cisco_ios_show_ip_route_summary.textfsm b/templates/cisco_ios_show_ip_route_summary.textfsm new file mode 100644 index 0000000000..1036ca5a43 --- /dev/null +++ b/templates/cisco_ios_show_ip_route_summary.textfsm @@ -0,0 +1,34 @@ +Value Required ROUTE_SOURCE ([^\s][\S ]+?) +Value Filldown NAME (.*) +Value NETWORKS (\d*) +Value SUBNETS (\d*) +Value REPLICATES (\d*) +Value OVERHEAD (\d*) +Value MEMORY (\d*) + +Start + # Checking for header + ^IP\s+routing\s+table\s+name\s+is\s+${NAME}\s*$$ + ^IP\s+routing\s+table\s+maximum-paths\s+is\s+\d+\s*$$ + ^Route\s+Source\s+Networks\s+Subnets\s+Overhead\s+Memory\s+\(bytes\)\s*$$ -> RouteData1 + ^Route\s+Source\s+Networks\s+Subnets\s+Replicates\s+Overhead\s+Memory\s+\(bytes\)\s*$$ -> RouteData2 + ^\s*$$ + ^. -> Error + +RouteData1 + ^${ROUTE_SOURCE}\s{2,16}${NETWORKS}\s{1,12}${SUBNETS}\s{1,12}${OVERHEAD}\s{1,12}${MEMORY}\s*$$ -> Record + ^\s+External:\s+\d+\s+Internal:\s+\d+\s+Local:\s+\d+\s*$$ + ^\s+Level\s+1:\s+\d+\s+Level\s+2:\s+\d+\s+Inter-area:\s+\d+\s*$$ + ^\s+Intra-area:\s+\d+\s+Inter-area:\s+\d+\s+External-1:\s+\d+\s+External-2:\s+\d+\s*$$ + ^\s+NSSA\s+External-1:\s+\d+\s+NSSA\s+External-2:\s+\d+\s*$$ + ^\s*$$ + ^. -> Error + +RouteData2 + ^${ROUTE_SOURCE}\s{2,16}${NETWORKS}\s{1,12}${SUBNETS}\s{1,12}${REPLICATES}\s{1,12}${OVERHEAD}\s{1,12}${MEMORY}\s*$$ -> Record + ^\s+External:\s+\d+\s+Internal:\s+\d+\s+Local:\s+\d+\s*$$ + ^\s+Level\s+1:\s+\d+\s+Level\s+2:\s+\d+\s+Inter-area:\s+\d+\s*$$ + ^\s+Intra-area:\s+\d+\s+Inter-area:\s+\d+\s+External-1:\s+\d+\s+External-2:\s+\d+\s*$$ + ^\s+NSSA\s+External-1:\s+\d+\s+NSSA\s+External-2:\s+\d+\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index fbb71fa952..8b05e62c1c 100644 --- a/templates/index +++ b/templates/index @@ -165,6 +165,7 @@ cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] mac[[-address- cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] cisco_ios_show_ip_ospf_database.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] cisco_ios_show_ip_ospf_neighbor.textfsm, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] +cisco_ios_show_ip_route_summary.textfsm, .*, cisco_ios, sh[[ow]] ip ro[[ute]] sum[[mary]] cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]] cisco_ios_show_mpls_interfaces.textfsm, .*, cisco_ios, sh[[ow]] mpls interfa[[ces]] cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.raw b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.raw new file mode 100644 index 0000000000..a514b6b8bb --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.raw @@ -0,0 +1,13 @@ +IP routing table name is default (0x0) +IP routing table maximum-paths is 32 +Route Source Networks Subnets Replicates Overhead Memory (bytes) +connected 0 41 0 3936 11808 +static 0 3 0 288 864 +application 0 0 0 0 0 +nhrp 0 0 0 0 0 +eigrp 65329 3 3013 0 481920 868608 +ospf 20 1 0 0 384 292 + Intra-area: 0 Inter-area: 0 External-1: 0 External-2: 1 + NSSA External-1: 0 NSSA External-2: 0 +internal 24 240672 +Total 28 3057 0 486528 1122244 diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.yml b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.yml new file mode 100644 index 0000000000..cb6ad40018 --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - route_source: "connected" + name: "default (0x0)" + networks: "0" + subnets: "41" + replicates: "0" + overhead: "3936" + memory: "11808" + - route_source: "static" + name: "default (0x0)" + networks: "0" + subnets: "3" + replicates: "0" + overhead: "288" + memory: "864" + - route_source: "application" + name: "default (0x0)" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "nhrp" + name: "default (0x0)" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "eigrp 65329" + name: "default (0x0)" + networks: "3" + subnets: "3013" + replicates: "0" + overhead: "481920" + memory: "868608" + - route_source: "ospf 20" + name: "default (0x0)" + networks: "1" + subnets: "0" + replicates: "0" + overhead: "384" + memory: "292" + - route_source: "internal" + name: "default (0x0)" + networks: "24" + subnets: "" + replicates: "" + overhead: "" + memory: "240672" + - route_source: "Total" + name: "default (0x0)" + networks: "28" + subnets: "3057" + replicates: "0" + overhead: "486528" + memory: "1122244" diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.raw b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.raw new file mode 100644 index 0000000000..19486af76e --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.raw @@ -0,0 +1,14 @@ +Route Source Networks Subnets Replicates Overhead Memory (bytes) +connected 0 6 0 408 1080 +static 0 0 0 0 0 +application 0 0 0 0 0 +eigrp 100 0 0 0 0 0 +bgp 65001 0 0 0 0 0 + External: 0 Internal: 0 Local: 0 +isis test1 0 0 0 0 0 + Level 1: 0 Level 2: 0 Inter-area: 0 +ospf 188 0 0 0 0 0 + Intra-area: 0 Inter-area: 0 External-1: 0 External-2: 0 + NSSA External-1: 0 NSSA External-2: 0 +internal 2 920 +Total 2 6 0 408 2000 diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.yml b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.yml new file mode 100644 index 0000000000..d495fda14e --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary2.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - route_source: "connected" + name: "" + networks: "0" + subnets: "6" + replicates: "0" + overhead: "408" + memory: "1080" + - route_source: "static" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "application" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "eigrp 100" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "bgp 65001" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "isis test1" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "ospf 188" + name: "" + networks: "0" + subnets: "0" + replicates: "0" + overhead: "0" + memory: "0" + - route_source: "internal" + name: "" + networks: "2" + subnets: "" + replicates: "" + overhead: "" + memory: "920" + - route_source: "Total" + name: "" + networks: "2" + subnets: "6" + replicates: "0" + overhead: "408" + memory: "2000" diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.raw b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.raw new file mode 100644 index 0000000000..1953696417 --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.raw @@ -0,0 +1,7 @@ +IP routing table name is Default-IP-Routing-Table(0) +IP routing table maximum-paths is 16 +Route Source Networks Subnets Overhead Memory (bytes) +connected 0 4 288 544 +static 1 2 216 408 +internal 3 3468 +Total 4 6 504 4420 diff --git a/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.yml b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.yml new file mode 100644 index 0000000000..cced7a1b9e --- /dev/null +++ b/tests/cisco_ios/show_ip_route_summary/cisco_ios_show_ip_route_summary3.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - route_source: "connected" + name: "Default-IP-Routing-Table(0)" + networks: "0" + subnets: "4" + replicates: "" + overhead: "288" + memory: "544" + - route_source: "static" + name: "Default-IP-Routing-Table(0)" + networks: "1" + subnets: "2" + replicates: "" + overhead: "216" + memory: "408" + - route_source: "internal" + name: "Default-IP-Routing-Table(0)" + networks: "3" + subnets: "" + replicates: "" + overhead: "" + memory: "3468" + - route_source: "Total" + name: "Default-IP-Routing-Table(0)" + networks: "4" + subnets: "6" + replicates: "" + overhead: "504" + memory: "4420" From 95073f28113701d09c3c8e33a4451220e3faa02a Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Tue, 31 Mar 2020 09:04:06 -0500 Subject: [PATCH 406/628] New template: cisco_asa_show_vpn-sessiondb (#636) --- .../cisco_asa_show_vpn-sessiondb.textfsm | 53 +++++++++++++++++++ templates/index | 1 + .../cisco_asa_show_vpn-sessiondb.raw | 26 +++++++++ .../cisco_asa_show_vpn-sessiondb.yml | 34 ++++++++++++ 4 files changed, 114 insertions(+) create mode 100644 templates/cisco_asa_show_vpn-sessiondb.textfsm create mode 100644 tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb.textfsm b/templates/cisco_asa_show_vpn-sessiondb.textfsm new file mode 100644 index 0000000000..eae4ed2a61 --- /dev/null +++ b/templates/cisco_asa_show_vpn-sessiondb.textfsm @@ -0,0 +1,53 @@ +Value ANYCONNECT_CLIENT_ACTIVE (\d+) +Value ANYCONNECT_CLIENT_CUMULATIVE (\d+) +Value ANYCONNECT_CLIENT_PEAK_CONCURRENT (\d+) +Value ANYCONNECT_CLIENT_INACTIVE (\d+) +Value SSL_TLS_DTLS_ACTIVE (\d+) +Value SSL_TLS_DTLS_CUMULATIVE (\d+) +Value SSL_TLS_DTLS_PEAK_CONCURRENT (\d+) +Value SSL_TLS_DTLS_PEAK_INACTIVE (\d+) +Value CLIENTLESS_VPN_ACTIVE (\d+) +Value CLIENTLESS_VPN_CUMULATIVE (\d+) +Value CLIENTLESS_VPN_PEAK_CONCURRENT (\d+) +Value VPN_BROWSWER_ACTIVE (\d+) +Value VPN_BROWSWER_CUMULATIVE (\d+) +Value VPN_BROWSWER_PEAK_CONCURRENT (\d+) +Value TOTAL_ACTIVE_AND_INACTIVE (\d+) +Value TOTAL_CUMULATIVE (\d+) +Value DEVICE_TOTAL_VPN_CAPACITY (\d+) +Value DEVICE_LOAD_PERCENT (\d+) +Value TUNNELS_SUMMARY_CLIENTLESS_ACTIVE (\d+) +Value TUNNELS_SUMMARY_CLIENTLESS_CUMULATIVE (\d+) +Value TUNNELS_SUMMARY_CLIENTLESS_PEAK_CONCURRENT (\d+) +Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_ACTIVE (\d+) +Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_CUMULATIVE (\d+) +Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_PEAK_CONC (\d+) +Value TUNNELS_SUMMARY_SSLTUNNEL_ACTIVE (\d+) +Value TUNNELS_SUMMARY_SSLTUNNEL_CUMULATIVE (\d+) +Value TUNNELS_SUMMARY_SSLTUNNEL_PEAK_CONCURRENT (\d+) +Value TUNNELS_SUMMARY_DTLSTUNNEL_ACTIVE (\d+) +Value TUNNELS_SUMMARY_DTLSTUNNEL_CUMULATIVE (\d+) +Value TUNNELS_SUMMARY_DTLSTUNNEL_PEAK_CONCURRENT (\d+) +Value TOTALS_ACTIVE (\d+) +Value TOTALS_CUMULATIVE (\d+) + +Start + ^\s*\-+\s*$$ + ^\s*VPN\s+Session\s+Summary\s*$$ + ^\s*Active\s+:\s+Cumulative\s+:\s+Peak\s+Concur\s+:\s+Inactive\s*$$ + ^\s*AnyConnect\s+Client\s+:\s+${ANYCONNECT_CLIENT_ACTIVE}\s+:\s+${ANYCONNECT_CLIENT_CUMULATIVE}\s+:\s+${ANYCONNECT_CLIENT_PEAK_CONCURRENT}\s+:\s+${ANYCONNECT_CLIENT_INACTIVE}\s*$$ + ^\s*SSL/TLS/DTLS\s+:\s+${SSL_TLS_DTLS_ACTIVE}\s+:\s+${SSL_TLS_DTLS_CUMULATIVE}\s+:\s+${SSL_TLS_DTLS_PEAK_CONCURRENT}\s+:\s+${SSL_TLS_DTLS_PEAK_INACTIVE}\s*$$ + ^\s*Clientless\s+VPN\s+:\s+${CLIENTLESS_VPN_ACTIVE}\s+:\s+${CLIENTLESS_VPN_CUMULATIVE}\s+:\s+${CLIENTLESS_VPN_PEAK_CONCURRENT}\s*$$ + ^\s*Browser\s+:\s+${VPN_BROWSWER_ACTIVE}\s+:\s+${VPN_BROWSWER_CUMULATIVE}\s+:\s+${VPN_BROWSWER_PEAK_CONCURRENT}\s*$$ + ^\s*Total\s+Active\s+and\s+Inactive\s+:\s+${TOTAL_ACTIVE_AND_INACTIVE}\s+Total\s+Cumulative\s+:\s+${TOTAL_CUMULATIVE}\s*$$ + ^\s*Device\s+Total\s+VPN\s+Capacity\s+:\s+${DEVICE_TOTAL_VPN_CAPACITY} + ^\s*Device\s+Load\s+:\s+${DEVICE_LOAD_PERCENT}%\s*$$ + ^\s*Tunnels\s+Summary\s* + ^\s*Active\s+:\s+Cumulative\s+:\s+Peak\s+Concurrent\s*$$ + ^\s*Clientless\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_PEAK_CONCURRENT} + ^\s*AnyConnect\-Parent\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_PEAK_CONC}\s*$$ + ^\s*SSL\-Tunnel\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_PEAK_CONCURRENT}\s*$$ + ^\s*DTLS\-Tunnel\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_PEAK_CONCURRENT}\s*$$ + ^\s*Totals\s+:\s+${TOTALS_ACTIVE}\s+:\s+${TOTALS_CUMULATIVE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 8b05e62c1c..9392414d1a 100644 --- a/templates/index +++ b/templates/index @@ -120,6 +120,7 @@ cisco_asa_show_running-config_ipsec.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-c cisco_asa_show_interface_detail.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] d[[etail]] cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] (?:cry[[pto]] ip[[sec]]|ipsec) sa cisco_asa_show_resource_usage.textfsm, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] +cisco_asa_show_vpn-sessiondb.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] cisco_asa_show_access-list.textfsm, .*, cisco_asa, sh[[ow]] ac[[cess-list]] cisco_asa_show_license_all.textfsm, .*, cisco_asa, (?:fa[[ilover]]\s+e[[xec]]\s+)?sh[[ow]] lic[[ense]] a[[ll]] cisco_asa_show_interface.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] diff --git a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.raw b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.raw new file mode 100644 index 0000000000..b94e550fdd --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.raw @@ -0,0 +1,26 @@ +--------------------------------------------------------------------------- +VPN Session Summary +--------------------------------------------------------------------------- + Active : Cumulative : Peak Concur : Inactive + ---------------------------------------------- +AnyConnect Client : 38 : 330351 : 442 : 0 + SSL/TLS/DTLS : 38 : 330351 : 442 : 0 +Clientless VPN : 0 : 1040 : 9 + Browser : 0 : 1040 : 9 +--------------------------------------------------------------------------- +Total Active and Inactive : 38 Total Cumulative : 331391 +Device Total VPN Capacity : 5000 +Device Load : 1% +--------------------------------------------------------------------------- +--------------------------------------------------------------------------- +Tunnels Summary +--------------------------------------------------------------------------- + Active : Cumulative : Peak Concurrent + ---------------------------------------------- +Clientless : 0 : 1040 : 9 +AnyConnect-Parent : 38 : 330351 : 442 +SSL-Tunnel : 38 : 985244 : 392 +DTLS-Tunnel : 37 : 2227003 : 386 +--------------------------------------------------------------------------- +Totals : 113 : 3543638 +--------------------------------------------------------------------------- diff --git a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml new file mode 100644 index 0000000000..aad928457a --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml @@ -0,0 +1,34 @@ +--- +parsed_sample: + - anyconnect_client_active: "38" + anyconnect_client_cumulative: "330351" + anyconnect_client_inactive: "0" + anyconnect_client_peak_concurrent: "442" + ssl_tls_dtls_active: "38" + ssl_tls_dtls_cumulative: "330351" + ssl_tls_dtls_peak_concurrent: "442" + ssl_tls_dtls_peak_inactive: "0" + clientless_vpn_active: "0" + clientless_vpn_cumulative: "1040" + clientless_vpn_peak_concurrent: "9" + vpn_browswer_active: "0" + vpn_browswer_cumulative: "1040" + vpn_browswer_peak_concurrent: "9" + total_active_and_inactive: "38" + total_cumulative: "331391" + device_total_vpn_capacity: "5000" + device_load_percent: "1" + tunnels_summary_clientless_active: "0" + tunnels_summary_clientless_cumulative: "1040" + tunnels_summary_clientless_peak_concurrent: "9" + tunnels_summary_anyconnect_parent_active: "38" + tunnels_summary_anyconnect_parent_cumulative: "330351" + tunnels_summary_anyconnect_parent_peak_conc: "442" + tunnels_summary_ssltunnel_active: "38" + tunnels_summary_ssltunnel_cumulative: "985244" + tunnels_summary_ssltunnel_peak_concurrent: "392" + tunnels_summary_dtlstunnel_active: "37" + tunnels_summary_dtlstunnel_cumulative: "2227003" + tunnels_summary_dtlstunnel_peak_concurrent: "386" + totals_active: "113" + totals_cumulative: "3543638" From 66cdabbf162af03ac1c51f742b9e075c7da6523c Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Thu, 2 Apr 2020 14:36:22 +0200 Subject: [PATCH 407/628] Enhancement: cisco_asa_show_inventory support inventory items w/o SN (#638) --- templates/cisco_asa_show_inventory.textfsm | 1 + .../cisco_asa_show_inventory_empty_sn.raw | 5 +++++ .../cisco_asa_show_inventory_empty_sn.yml | 12 ++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.raw create mode 100644 tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.yml diff --git a/templates/cisco_asa_show_inventory.textfsm b/templates/cisco_asa_show_inventory.textfsm index bd9ff41d9c..45ea920a1b 100644 --- a/templates/cisco_asa_show_inventory.textfsm +++ b/templates/cisco_asa_show_inventory.textfsm @@ -7,6 +7,7 @@ Value SN (\S+) Start ^Name:\s+"${NAME}"\s*,\s+DESCR:\s+"${DESCR}" ^PID:\s+${PID}\s*,\s+VID:\s+${VID}\s*,\s+SN:\s+${SN} -> Record + ^PID:\s+${PID}\s*,\s+VID:\s+${VID}\s*,\s+SN: -> Record ^\s*$$ ^show_inventory_all\s+\S+ -> NoRecord ^.+ -> Error diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.raw b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.raw new file mode 100644 index 0000000000..0ddaca7f70 --- /dev/null +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.raw @@ -0,0 +1,5 @@ +Name: "Chassis", DESCR: "ASA 5506-X with FirePOWER services, 8GE, AC, DES" +PID: ASA5506 , VID: V01 , SN: JMX8318372GB + +Name: "Storage Device 1", DESCR: "ASA 5506-X SSD" +PID: ASA5506-SSD , VID: N/A , SN: \ No newline at end of file diff --git a/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.yml b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.yml new file mode 100644 index 0000000000..51c4462b25 --- /dev/null +++ b/tests/cisco_asa/show_inventory/cisco_asa_show_inventory_empty_sn.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - name: "Chassis" + descr: "ASA 5506-X with FirePOWER services, 8GE, AC, DES" + pid: "ASA5506" + sn: "JMX8318372GB" + vid: "V01" + - name: "Storage Device 1" + descr: "ASA 5506-X SSD" + pid: "ASA5506-SSD" + sn: "" + vid: "N/A" From 5a6253bfbb62e50c46317771813dcc426f762436 Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 14 Apr 2020 20:03:47 -0500 Subject: [PATCH 408/628] BugFix: IOS OSPF DB: Make leading spaces optional (#650) --- ..._ios_show_ip_ospf_database_network.textfsm | 2 +- ...o_ios_show_ip_ospf_database_router.textfsm | 2 +- ...abase_network_leading-spaces-truncated.raw | 39 +++ ...abase_network_leading-spaces-truncated.yml | 80 ++++++ ...tabase_router_leading-spaces-truncated.raw | 130 ++++++++++ ...tabase_router_leading-spaces-truncated.yml | 240 ++++++++++++++++++ 6 files changed, 491 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.raw create mode 100644 tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml create mode 100644 tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.raw create mode 100644 tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml diff --git a/templates/cisco_ios_show_ip_ospf_database_network.textfsm b/templates/cisco_ios_show_ip_ospf_database_network.textfsm index ae6c6ce0c9..1c87bcadca 100644 --- a/templates/cisco_ios_show_ip_ospf_database_network.textfsm +++ b/templates/cisco_ios_show_ip_ospf_database_network.textfsm @@ -13,7 +13,7 @@ Value Filldown LSA_NETWORK_MASK (\S+) Value LS_ATT_ROUTER (\d+\.\d+\.\d+\.\d+) Start - ^\s+OSPF\s+Router\s+with\s+ID\s+\(${ROUTER_ID}\)\s+\(Process\s+ID\s+${PROCESS_ID}\) + ^\s*OSPF\s+Router\s+with\s+ID\s+\(${ROUTER_ID}\)\s+\(Process\s+ID\s+${PROCESS_ID}\) ^\s+Net\s+Link\s+States\s+\(Area ${AREA}\) -> LSAInfo ^\s*$$ ^. -> Error diff --git a/templates/cisco_ios_show_ip_ospf_database_router.textfsm b/templates/cisco_ios_show_ip_ospf_database_router.textfsm index fe0b82f241..7c030113cb 100644 --- a/templates/cisco_ios_show_ip_ospf_database_router.textfsm +++ b/templates/cisco_ios_show_ip_ospf_database_router.textfsm @@ -17,7 +17,7 @@ Value LS_MTID_METRICS (\d+) Value LS_TOS_0_METRICS (\d+) Start - ^\s+OSPF\s+Router\s+with\s+ID\s+\(${ROUTER_ID}\)\s+\(Process\s+ID\s+${PROCESS_ID}\) + ^\s*OSPF\s+Router\s+with\s+ID\s+\(${ROUTER_ID}\)\s+\(Process\s+ID\s+${PROCESS_ID}\) ^\s+Router\s+Link\s+States\s+\(Area ${AREA}\) -> LSAInfo ^\s*$$ ^. -> Error diff --git a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.raw b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.raw new file mode 100644 index 0000000000..b7ed491835 --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.raw @@ -0,0 +1,39 @@ +OSPF Router with ID (100.1.1.1) (Process ID 1) + + Net Link States (Area 0) + + LS age: 500 + Options: (No TOS-capability, DC) + LS Type: Network Links + Link State ID: 192.168.2.1 (address of Designated Router) + Advertising Router: 100.1.1.1 + LS Seq Number: 80000224 + Checksum: 0x4B27 + Length: 32 + Network Mask: /30 + Attached Router: 100.1.1.1 + Attached Router: 100.2.2.2 + + LS age: 872 + Options: (No TOS-capability, DC) + LS Type: Network Links + Link State ID: 192.168.3.2 (address of Designated Router) + Advertising Router: 100.4.4.4 + LS Seq Number: 80000224 + Checksum: 0x4816 + Length: 32 + Network Mask: /30 + Attached Router: 100.4.4.4 + Attached Router: 100.2.2.2 + + LS age: 351 + Options: (No TOS-capability, DC) + LS Type: Network Links + Link State ID: 192.168.4.2 (address of Designated Router) + Advertising Router: 100.4.4.4 + LS Seq Number: 80000226 + Checksum: 0x60F7 + Length: 32 + Network Mask: /30 + Attached Router: 100.4.4.4 + Attached Router: 100.3.3.3 diff --git a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml new file mode 100644 index 0000000000..92d575125c --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml @@ -0,0 +1,80 @@ +--- +parsed_sample: + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "500" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.2.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000224" + lsa_checksum: "0x4B27" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.1.1.1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "500" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.2.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000224" + lsa_checksum: "0x4B27" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.2.2.2" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "872" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.3.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000224" + lsa_checksum: "0x4816" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.4.4.4" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "872" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.3.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000224" + lsa_checksum: "0x4816" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.2.2.2" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "351" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.4.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000226" + lsa_checksum: "0x60F7" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.4.4.4" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "351" + lsa_options: "No TOS-capability, DC" + lsa_type: "Network Links" + lsa_id: "192.168.4.2" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "80000226" + lsa_checksum: "0x60F7" + lsa_length: "32" + lsa_network_mask: "/30" + ls_att_router: "100.3.3.3" diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.raw b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.raw new file mode 100644 index 0000000000..f4ac8d8465 --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.raw @@ -0,0 +1,130 @@ +OSPF Router with ID (100.1.1.1) (Process ID 1) + + Router Link States (Area 0) + + LS age: 14 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.1.1.1 + Advertising Router: 100.1.1.1 + LS Seq Number: 80000206 + Checksum: 0x8A21 + Length: 72 + Number of Links: 4 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.1.1.1 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.2.1 + (Link Data) Router Interface address: 192.168.2.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: another Router (point-to-point) + (Link ID) Neighboring Router ID: 100.3.3.3 + (Link Data) Router Interface address: 192.168.1.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 192.168.1.0 + (Link Data) Network Mask: 255.255.255.252 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + LS age: 1694 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.2.2.2 + Advertising Router: 100.2.2.2 + LS Seq Number: 80000202 + Checksum: 0xCA4F + Length: 60 + Number of Links: 3 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.2.2.2 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.3.2 + (Link Data) Router Interface address: 192.168.3.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.2.1 + (Link Data) Router Interface address: 192.168.2.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + LS age: 15 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.3.3.3 + Advertising Router: 100.3.3.3 + LS Seq Number: 800001FD + Checksum: 0x3969 + Length: 72 + Number of Links: 4 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.3.3.3 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.4.2 + (Link Data) Router Interface address: 192.168.4.1 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: another Router (point-to-point) + (Link ID) Neighboring Router ID: 100.1.1.1 + (Link Data) Router Interface address: 192.168.1.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 192.168.1.0 + (Link Data) Network Mask: 255.255.255.252 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + LS age: 1752 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 100.4.4.4 + Advertising Router: 100.4.4.4 + LS Seq Number: 800001F7 + Checksum: 0x5CB0 + Length: 60 + Number of Links: 3 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 100.4.4.4 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.4.2 + (Link Data) Router Interface address: 192.168.4.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + Link connected to: a Transit Network + (Link ID) Designated Router address: 192.168.3.2 + (Link Data) Router Interface address: 192.168.3.2 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml new file mode 100644 index 0000000000..394d48d18a --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml @@ -0,0 +1,240 @@ +--- +parsed_sample: + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "100.1.1.1" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.2.1" + ls_link_data: "192.168.2.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "another Router (point-to-point)" + ls_link_id: "100.3.3.3" + ls_link_data: "192.168.1.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "14" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.1.1.1" + lsa_adv_router: "100.1.1.1" + lsa_seq_number: "80000206" + lsa_checksum: "0x8A21" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "192.168.1.0" + ls_link_data: "255.255.255.252" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1694" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.2.2.2" + lsa_adv_router: "100.2.2.2" + lsa_seq_number: "80000202" + lsa_checksum: "0xCA4F" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Stub Network" + ls_link_id: "100.2.2.2" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1694" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.2.2.2" + lsa_adv_router: "100.2.2.2" + lsa_seq_number: "80000202" + lsa_checksum: "0xCA4F" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.3.2" + ls_link_data: "192.168.3.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1694" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.2.2.2" + lsa_adv_router: "100.2.2.2" + lsa_seq_number: "80000202" + lsa_checksum: "0xCA4F" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.2.1" + ls_link_data: "192.168.2.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "100.3.3.3" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.4.2" + ls_link_data: "192.168.4.1" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "another Router (point-to-point)" + ls_link_id: "100.1.1.1" + ls_link_data: "192.168.1.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "15" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.3.3.3" + lsa_adv_router: "100.3.3.3" + lsa_seq_number: "800001FD" + lsa_checksum: "0x3969" + lsa_length: "72" + lsa_num_links: "4" + ls_link_type: "a Stub Network" + ls_link_id: "192.168.1.0" + ls_link_data: "255.255.255.252" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1752" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.4.4.4" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "800001F7" + lsa_checksum: "0x5CB0" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Stub Network" + ls_link_id: "100.4.4.4" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1752" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.4.4.4" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "800001F7" + lsa_checksum: "0x5CB0" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.4.2" + ls_link_data: "192.168.4.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "100.1.1.1" + process_id: "1" + area: "0" + lsa_age: "1752" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "100.4.4.4" + lsa_adv_router: "100.4.4.4" + lsa_seq_number: "800001F7" + lsa_checksum: "0x5CB0" + lsa_length: "60" + lsa_num_links: "3" + ls_link_type: "a Transit Network" + ls_link_id: "192.168.3.2" + ls_link_data: "192.168.3.2" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" From 88a88a0a5051593daefe28245516ef86a3ba544e Mon Sep 17 00:00:00 2001 From: John Howard Date: Wed, 15 Apr 2020 03:15:51 +0200 Subject: [PATCH 409/628] Bugfix: cisco_asa_show_route - Capture additional output with just protocol, type, network, mask (#647) --- templates/cisco_asa_show_route.textfsm | 3 + .../cisco_asa_show_route_alt_multiline.raw | 22 ++++ .../cisco_asa_show_route_alt_multiline.yml | 101 ++++++++++++++++++ 3 files changed, 126 insertions(+) create mode 100644 tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.raw create mode 100644 tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.yml diff --git a/templates/cisco_asa_show_route.textfsm b/templates/cisco_asa_show_route.textfsm index 6d09f564db..801a431a04 100644 --- a/templates/cisco_asa_show_route.textfsm +++ b/templates/cisco_asa_show_route.textfsm @@ -19,6 +19,9 @@ ROUTES ^\s+[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}${MASK}\s*$$ -> Clear ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\s\[${DISTANCE}\/${METRIC}\]\svia\s${NEXTHOPIP}(,\s${UPTIME}){0,1}(,\s${NEXTHOPIF}){0,1}\s*$$ -> Record # + # Match multiline route statements + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\s+${MASK}\s*$$ + # # Match load-balanced routes ^\s+\[${DISTANCE}\/${METRIC}\]\s+via\s+${NEXTHOPIP},(?:\s+${UPTIME},)?\s+${NEXTHOPIF}\s*$$ -> Record # diff --git a/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.raw b/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.raw new file mode 100644 index 0000000000..39ae69d92f --- /dev/null +++ b/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.raw @@ -0,0 +1,22 @@ +Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP + D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area + N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 + E1 - OSPF external type 1, E2 - OSPF external type 2 + i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 + ia - IS-IS inter area, * - candidate default, U - per-user static route + o - ODR, P - periodic downloaded static route, + - replicated route +Gateway of last resort is 192.168.1.2 to network 0.0.0.0 + +S* 0.0.0.0 0.0.0.0 [1/0] via 192.168.1.2, outside +O E1 10.15.0.0 255.255.0.0 [110/21] via 192.168.2.1, 3w1d, inside +O E1 172.23.100.0 255.255.254.0 + [110/50] via 192.168.2.1, 3w1d, inside +O E1 172.23.42.0 255.255.254.0 + [110/11] via 172.17.13.52, 2w2d, routing + [110/11] via 172.17.13.51, 7w0d, routing +C 172.17.13.0 255.255.255.0 is directly connected, routing +L 172.17.13.60 255.255.255.255 is directly connected, routing +C 192.168.1.0 255.255.255.0 is directly connected, outside +L 192.168.1.108 255.255.255.255 is directly connected, outside +C 192.168.2.0 255.255.255.0 is directly connected, inside +L 192.168.2.108 255.255.255.255 is directly connected, inside diff --git a/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.yml b/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.yml new file mode 100644 index 0000000000..ff74a8c0b4 --- /dev/null +++ b/tests/cisco_asa/show_route/cisco_asa_show_route_alt_multiline.yml @@ -0,0 +1,101 @@ +--- +parsed_sample: + - protocol: "S" + type: "" + network: "0.0.0.0" + mask: "0.0.0.0" + distance: "1" + metric: "0" + nexthopip: "192.168.1.2" + nexthopif: "outside" + uptime: "" + - protocol: "O" + type: "E1" + network: "10.15.0.0" + mask: "255.255.0.0" + distance: "110" + metric: "21" + nexthopip: "192.168.2.1" + nexthopif: "inside" + uptime: "3w1d" + - protocol: "O" + type: "E1" + network: "172.23.100.0" + mask: "255.255.254.0" + distance: "110" + metric: "50" + nexthopip: "192.168.2.1" + nexthopif: "inside" + uptime: "3w1d" + - protocol: "O" + type: "E1" + network: "172.23.42.0" + mask: "255.255.254.0" + distance: "110" + metric: "11" + nexthopip: "172.17.13.52" + nexthopif: "routing" + uptime: "2w2d" + - protocol: "O" + type: "E1" + network: "172.23.42.0" + mask: "255.255.254.0" + distance: "110" + metric: "11" + nexthopip: "172.17.13.51" + nexthopif: "routing" + uptime: "7w0d" + - protocol: "C" + type: "" + network: "172.17.13.0" + mask: "255.255.255.0" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "routing" + uptime: "" + - protocol: "L" + type: "" + network: "172.17.13.60" + mask: "255.255.255.255" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "routing" + uptime: "" + - protocol: "C" + type: "" + network: "192.168.1.0" + mask: "255.255.255.0" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "outside" + uptime: "" + - protocol: "L" + type: "" + network: "192.168.1.108" + mask: "255.255.255.255" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "outside" + uptime: "" + - protocol: "C" + type: "" + network: "192.168.2.0" + mask: "255.255.255.0" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "inside" + uptime: "" + - protocol: "L" + type: "" + network: "192.168.2.108" + mask: "255.255.255.255" + distance: "" + metric: "" + nexthopip: "" + nexthopif: "inside" + uptime: "" From 7b8955c6572a6450aa6be8fe7c85b4e56089b8ff Mon Sep 17 00:00:00 2001 From: timjsmith24 Date: Wed, 15 Apr 2020 15:10:10 -0400 Subject: [PATCH 410/628] New Template: cisco_wlc_ssh_show_band-select (#637) --- .../cisco_wlc_ssh_show_band-select.textfsm | 19 +++++++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_band-select.raw | 7 +++++++ .../cisco_wlc_ssh_show_band-select.yml | 9 +++++++++ 4 files changed, 36 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_band-select.textfsm create mode 100644 tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.raw create mode 100644 tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.yml diff --git a/templates/cisco_wlc_ssh_show_band-select.textfsm b/templates/cisco_wlc_ssh_show_band-select.textfsm new file mode 100644 index 0000000000..138a8940e1 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_band-select.textfsm @@ -0,0 +1,19 @@ +Value BAND_SELECT_PROBE_RESPONSE (.+?) +Value BAND_SELECT_CYCLE_COUNT (\d+\s+\w+) +Value BAND_SELECT_CYCLE_THRESH (\d+\s+\w+) +Value BAND_SELECT_AGE_SUPPRESS (\d+\s+\w+) +Value BAND_SELECT_AGE_DUAL_BAND (\d+\s+\w+) +Value BAND_SELECT_CLIENT_RSSI (-\d+\s+dBm) +Value BAND_SELECT_CLIENT_MID_RSSI (-\d+\s+dBm) + + +Start + ^Band\s+Select\s+Probe\s+Response\.*\s+${BAND_SELECT_PROBE_RESPONSE}s*$$ + ^\s+Cycle\s+Count\.*\s+${BAND_SELECT_CYCLE_COUNT}s*$$ + ^\s+Cycle\s+Threshold\.*\s+${BAND_SELECT_CYCLE_THRESH}s*$$ + ^\s+Age\s+Out\s+Suppression\.*\s+${BAND_SELECT_AGE_SUPPRESS}s*$$ + ^\s+Age\s+Out\s+Dual\s+Band\.*\s+${BAND_SELECT_AGE_DUAL_BAND}s*$$ + ^\s+Client\s+RSSI\.*\s+${BAND_SELECT_CLIENT_RSSI}s*$$ + ^\s+Client\s+Mid\s+RSSI\.*\s+${BAND_SELECT_CLIENT_MID_RSSI}s*$$ + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 9392414d1a..bdb5fc31aa 100644 --- a/templates/index +++ b/templates/index @@ -273,6 +273,7 @@ cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[e cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_mobility_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] su[[mmary]] +cisco_wlc_ssh_show_band-select.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ba[[nd-select]] cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] cisco_wlc_ssh_show_wlan_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] wl[[an]] s[[ummary]] diff --git a/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.raw b/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.raw new file mode 100644 index 0000000000..f0ebcc89a1 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.raw @@ -0,0 +1,7 @@ +Band Select Probe Response....................... per WLAN enabling + Cycle Count................................... 2 cycles + Cycle Threshold............................... 200 milliseconds + Age Out Suppression........................... 20 seconds + Age Out Dual Band............................. 60 seconds + Client RSSI................................... -80 dBm + Client Mid RSSI............................... -80 dBm diff --git a/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.yml b/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.yml new file mode 100644 index 0000000000..959733dc83 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_band-select/cisco_wlc_ssh_show_band-select.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - band_select_probe_response: "per WLAN enabling" + band_select_cycle_count: "2 cycles" + band_select_cycle_thresh: "200 milliseconds" + band_select_age_suppress: "20 seconds" + band_select_age_dual_band: "60 seconds" + band_select_client_rssi: "-80 dBm" + band_select_client_mid_rssi: "-80 dBm" From 66d5f458685f5f1f371516c8dd2b0e53946d37ff Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 22 Apr 2020 21:27:01 -0600 Subject: [PATCH 411/628] BugFix: cisco_ios_show-mac-address-table: Allows N/A in the VLAN field by changing it from word to non-whitespace (#659) --- .../cisco_ios_show_mac-address-table.textfsm | 4 +- .../cisco_ios_show_mac-address-table6.yml | 23 ++-- .../cisco_ios_show_mac-address-table7.yml | 13 +- .../cisco_ios_show_mac-address-table9.raw | 43 ++++++ .../cisco_ios_show_mac-address-table9.yml | 122 ++++++++++++++++++ 5 files changed, 184 insertions(+), 21 deletions(-) create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml diff --git a/templates/cisco_ios_show_mac-address-table.textfsm b/templates/cisco_ios_show_mac-address-table.textfsm index cd8d8b636e..4d24ad469c 100644 --- a/templates/cisco_ios_show_mac-address-table.textfsm +++ b/templates/cisco_ios_show_mac-address-table.textfsm @@ -1,6 +1,6 @@ Value DESTINATION_ADDRESS ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4}) -Value TYPE (\w+) -Value VLAN (\w+) +Value TYPE (\S+) +Value VLAN (\S+) Value DESTINATION_PORT (\S+) Start diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml index ad19413721..117f7a3f03 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml @@ -1,47 +1,46 @@ --- parsed_sample: - destination_address: "0180.c200.000f" - destination_port: "CPU" type: "STATIC" vlan: "All" - - destination_address: "0180.c200.0010" destination_port: "CPU" + - destination_address: "0180.c200.0010" type: "STATIC" vlan: "All" - - destination_address: "ffff.ffff.ffff" destination_port: "CPU" + - destination_address: "ffff.ffff.ffff" type: "STATIC" vlan: "All" + destination_port: "CPU" - destination_address: "c869.cd54.1f71" - destination_port: "Gi1/0/7" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/7" - destination_address: "d052.a826.5d8d" - destination_port: "Gi1/0/3" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/3" - destination_address: "e46f.13a9.08e5" - destination_port: "Gi1/0/36" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/36" - destination_address: "e8eb.1190.d0ff" - destination_port: "Gi1/0/37" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/37" - destination_address: "fca1.831b.8ba9" - destination_port: "Gi1/0/41" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/41" - destination_address: "fcec.da7a.c955" - destination_port: "Gi1/0/1" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/1" - destination_address: "fcec.da80.0a3e" - destination_port: "Gi1/0/22" type: "DYNAMIC" vlan: "2" + destination_port: "Gi1/0/22" - destination_address: "fcec.da80.0af9" - destination_port: "Gi1/0/41" type: "DYNAMIC" vlan: "2" -... + destination_port: "Gi1/0/41" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml index d431c4eaa6..e99dcd98c6 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml @@ -1,27 +1,26 @@ --- parsed_sample: - destination_address: "0000.0c07.ac04" - destination_port: "TenGigabitEthernet5/1" type: "dynamic" vlan: "46" + destination_port: "TenGigabitEthernet5/1" - destination_address: "000c.ab66.1c75" - destination_port: "GigabitEthernet1/15" type: "dynamic" vlan: "46" + destination_port: "GigabitEthernet1/15" - destination_address: "ac9b.0acc.ff55" - destination_port: "GigabitEthernet7/13" type: "dynamic" vlan: "46" + destination_port: "GigabitEthernet7/13" - destination_address: "002a.101e.e33e" - destination_port: "TenGigabitEthernet7/1" type: "dynamic" vlan: "48" + destination_port: "TenGigabitEthernet7/1" - destination_address: "002a.1060.51da" - destination_port: "TenGigabitEthernet1/10" type: "dynamic" vlan: "48" + destination_port: "TenGigabitEthernet1/10" - destination_address: "0081.c4ba.d07f" - destination_port: "Switch" type: "static" vlan: "48" -... + destination_port: "Switch" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw new file mode 100644 index 0000000000..5a5cc393af --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw @@ -0,0 +1,43 @@ + +Legend: * - primary entry + age - seconds since last seen + n/a - not available + S - secure entry + R - router's gateway mac address entry + D - Duplicate mac address entry + # - Fabric mac address entry. Clear mac cli doesn't clear this entry + +Displaying entries from active supervisor:: + + vlan mac address type learn age ports +-----+----+---------------+-------+-----+----------+----------------------------- + 75 0000.0000.4500 dynamic Yes 0 Te2/5/4 + 402 0000.0000.21de dynamic Yes 0 Po4 + 3 0000.0000.3800 dynamic Yes 0 Te2/5/10 + 24 0000.0000.0f00 dynamic Yes 265 Te1/1/9 + * 10 0000.0100.0000 dynamic Yes 0 Te1/5/13 + R 459 0000.0000.0e00 static No - Router + * 39 0000.0000.0d00 dynamic Yes 0 Te1/5/4 + 174 0000.0000.ace0 dynamic Yes 265 Te1/1/11 + 361 0000.0000.1bea dynamic Yes 265 Po4 + 310 0000.0000.e903 dynamic Yes 105 Te2/1/5 + * 302 0000.0000.0400 dynamic Yes 0 Te1/5/4 + 402 0000.0000.0000 dynamic Yes 265 Te1/1/10 + R 303 0000.0000.0e00 static No - Router + 141 0000.0000.3e00 dynamic Yes 0 Te2/1/9 + 8 0000.0000.3900 dynamic Yes 0 Te2/5/3 + 111 0000.0000.0f00 dynamic Yes 265 Te1/1/9 + R 68 0000.0000.0e00 static No - Router + 60 0000.0000.39c9 dynamic Yes 105 Te2/1/5 + 6 0000.0000.a3ea dynamic Yes 0 Te2/5/8 + 703 0000.0000.4000 dynamic Yes 0 Te2/1/9 + R 62 0000.0000.0e00 static No - Router + * 10 0000.0000.1300 dynamic Yes 0 Te1/5/13 + 200 0000.0000.3cc0 dynamic Yes 20 Te1/1/8 + 82 0000.0000.3900 dynamic Yes 0 Te2/5/4 + R N/A 0000.0000.0e00 static No - Router + 216 0000.0000.4b10 dynamic Yes 265 Te1/1/8 + 361 0000.0000.7565 dynamic Yes 50 Po4 + 361 0000.0000.0ca6 dynamic Yes 105 Po4 + R 451 0000.0000.0e00 static No - Router + 401 0000.0000.1fcb dynamic Yes 5 Po4 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml new file mode 100644 index 0000000000..7c5f61973f --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - destination_address: "0000.0000.4500" + type: "dynamic" + vlan: "75" + destination_port: "Te2/5/4" + - destination_address: "0000.0000.21de" + type: "dynamic" + vlan: "402" + destination_port: "Po4" + - destination_address: "0000.0000.3800" + type: "dynamic" + vlan: "3" + destination_port: "Te2/5/10" + - destination_address: "0000.0000.0f00" + type: "dynamic" + vlan: "24" + destination_port: "Te1/1/9" + - destination_address: "0000.0100.0000" + type: "dynamic" + vlan: "10" + destination_port: "Te1/5/13" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "459" + destination_port: "Router" + - destination_address: "0000.0000.0d00" + type: "dynamic" + vlan: "39" + destination_port: "Te1/5/4" + - destination_address: "0000.0000.ace0" + type: "dynamic" + vlan: "174" + destination_port: "Te1/1/11" + - destination_address: "0000.0000.1bea" + type: "dynamic" + vlan: "361" + destination_port: "Po4" + - destination_address: "0000.0000.e903" + type: "dynamic" + vlan: "310" + destination_port: "Te2/1/5" + - destination_address: "0000.0000.0400" + type: "dynamic" + vlan: "302" + destination_port: "Te1/5/4" + - destination_address: "0000.0000.0000" + type: "dynamic" + vlan: "402" + destination_port: "Te1/1/10" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "303" + destination_port: "Router" + - destination_address: "0000.0000.3e00" + type: "dynamic" + vlan: "141" + destination_port: "Te2/1/9" + - destination_address: "0000.0000.3900" + type: "dynamic" + vlan: "8" + destination_port: "Te2/5/3" + - destination_address: "0000.0000.0f00" + type: "dynamic" + vlan: "111" + destination_port: "Te1/1/9" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "68" + destination_port: "Router" + - destination_address: "0000.0000.39c9" + type: "dynamic" + vlan: "60" + destination_port: "Te2/1/5" + - destination_address: "0000.0000.a3ea" + type: "dynamic" + vlan: "6" + destination_port: "Te2/5/8" + - destination_address: "0000.0000.4000" + type: "dynamic" + vlan: "703" + destination_port: "Te2/1/9" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "62" + destination_port: "Router" + - destination_address: "0000.0000.1300" + type: "dynamic" + vlan: "10" + destination_port: "Te1/5/13" + - destination_address: "0000.0000.3cc0" + type: "dynamic" + vlan: "200" + destination_port: "Te1/1/8" + - destination_address: "0000.0000.3900" + type: "dynamic" + vlan: "82" + destination_port: "Te2/5/4" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "N/A" + destination_port: "Router" + - destination_address: "0000.0000.4b10" + type: "dynamic" + vlan: "216" + destination_port: "Te1/1/8" + - destination_address: "0000.0000.7565" + type: "dynamic" + vlan: "361" + destination_port: "Po4" + - destination_address: "0000.0000.0ca6" + type: "dynamic" + vlan: "361" + destination_port: "Po4" + - destination_address: "0000.0000.0e00" + type: "static" + vlan: "451" + destination_port: "Router" + - destination_address: "0000.0000.1fcb" + type: "dynamic" + vlan: "401" + destination_port: "Po4" From 322bc7328f31c0f379710d1eed7ccd5b8a7fdd1f Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 22 Apr 2020 21:51:42 -0600 Subject: [PATCH 412/628] Added information for all new changes between 1.4.0 and now (#660) --- CHANGELOG | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index bc5438ab31..3883666903 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,26 @@ +## [1.4.1] +### Fixed +- [#617] - IOS show ip ospf database router: Removed reliance on static spacing +- [#620] - NXOS show fex: Allow spaces in descriptions +- [#621] - Juniper show arp, etc.: Account for virtual chassis output (`{master:0}`) +- [#626] - ASA show vpn-sessiondb anyconnect: Require index, capture different format style +- [#650] - IOS show ip ospf database network: Change to allow one or more whitespace at the beginning of the line rather than 1 or more due to different output +- [#647] - ASA show route: Allow multiline route statements +- [#659] - IOS show mac address-table: Allow VLAN to be non-whitespace to allow N/A as an option + +### Added +- [#618] - IOS show ip ospf database network: New template +- [#619] - HP Comware display lldp neighbor information verbose: New template +- [#625] - ASA show vpn-sessiondb anyconnect: New template +- [#628] - Cisco WLC show mobility sum: New template +- [#631] - ASA show vpn-sessiondb anyconnect: Account for new data for assigned/public IP, group policy, and tunnel group +- [#629] - ASA show crypto ipsec sa - Add LOCAL_ADDRESS_NAME, CURRENT_PEER_NAME, DYNAMIC_PEER_NAME, LOCAL_CRYPTO_ENDPOINT_NAME, REMOTE_CRYPTO_ENDPOINT_NAME +- [#632] - ASA show nat: Added SERVICE_PROTOCOL +- [#635] - IOS show ip route summary: New template +- [#636] - ASA show vpn-sessiondb: New template +- [#638] - ASA show inventory: Capture PID and VID withoout serial +- [#637] - Cisco WLC show band select: New template + ## [1.4.0] ### Fixed - [#548] IOS show mac address-table: Account for Total Mac Addresses From 13b5a2d1862e494b854e3b4f9485a2af9fb07b95 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 22 Apr 2020 21:57:35 -0600 Subject: [PATCH 413/628] Forgot to bump version in lib/ntc_templates/__init__.py (#661) --- lib/ntc_templates/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index ebb8ca9f67..f9aebbff9a 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.4.0" +__version__ = "1.4.1" From 3a554d656b0928f10dc366f16abd8d185d8f4028 Mon Sep 17 00:00:00 2001 From: georgesnow Date: Tue, 28 Apr 2020 14:48:58 -0400 Subject: [PATCH 414/628] BugFix: Change Ciena platform to use ciena_saos (#665) Changed Ciena platform name Created templates for: * chassis show temperature * port show * rstp show * vlan show --- ...iena_saos_chassis_show_temperature.textfsm | 18 + templates/ciena_saos_port_show.textfsm | 31 ++ templates/ciena_saos_rstp_show.textfsm | 40 ++ ...xtfsm => ciena_saos_software_show.textfsm} | 0 templates/ciena_saos_vlan_show.textfsm | 26 ++ templates/index | 6 +- .../ciena_saos_chassis_show_temperature.raw | 11 + .../ciena_saos_chassis_show_temperature.yml | 5 + .../port_show/ciena_saos_port_show.raw | 39 ++ .../port_show/ciena_saos_port_show.yml | 299 ++++++++++++ .../rstp_show/ciena_saos_rstp_show.raw | 43 ++ .../rstp_show/ciena_saos_rstp_show.yml | 434 ++++++++++++++++++ .../ciena_saos_software_show.raw} | 0 .../ciena_saos_software_show.yml} | 0 .../vlan_show/ciena_saos_vlan_show.raw | 26 ++ .../vlan_show/ciena_saos_vlan_show.yml | 20 + tests/test_index_order.py | 2 +- tox.ini | 3 +- 18 files changed, 1000 insertions(+), 3 deletions(-) create mode 100644 templates/ciena_saos_chassis_show_temperature.textfsm create mode 100644 templates/ciena_saos_port_show.textfsm create mode 100644 templates/ciena_saos_rstp_show.textfsm rename templates/{ciena_6x_software_show.textfsm => ciena_saos_software_show.textfsm} (100%) create mode 100644 templates/ciena_saos_vlan_show.textfsm create mode 100644 tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.raw create mode 100644 tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml create mode 100644 tests/ciena_saos/port_show/ciena_saos_port_show.raw create mode 100644 tests/ciena_saos/port_show/ciena_saos_port_show.yml create mode 100644 tests/ciena_saos/rstp_show/ciena_saos_rstp_show.raw create mode 100644 tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml rename tests/{ciena_6x/software_show/ciena_6x_software_show.raw => ciena_saos/software_show/ciena_saos_software_show.raw} (100%) rename tests/{ciena_6x/software_show/ciena_6x_software_show.yml => ciena_saos/software_show/ciena_saos_software_show.yml} (100%) create mode 100644 tests/ciena_saos/vlan_show/ciena_saos_vlan_show.raw create mode 100644 tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml mode change 100644 => 100755 tests/test_index_order.py diff --git a/templates/ciena_saos_chassis_show_temperature.textfsm b/templates/ciena_saos_chassis_show_temperature.textfsm new file mode 100644 index 0000000000..fe5bd13c37 --- /dev/null +++ b/templates/ciena_saos_chassis_show_temperature.textfsm @@ -0,0 +1,18 @@ +Value CURRENT (\d+\s*\w+) +Value LOW (\d+\s*\w+) +Value HIGH (\d+\s*\w+) + +Start + ^\+-+\s*TEMPERATURE\s*THRESHOLD\s*-+\+ + ^\|\s*Low\s*\|\s*High\s*\| + ^\+-+\+-+\+ + ^\|\s*-\d+\s*\w+\s*\|\s*\d+\s*\w+\s*\| + ^\+-+\+-+\+ + ^\s*$$ + ^\+-+\s*TEMPERATURE\s*STATUS\s*-+\+ + ^\|\s*Current\s*\|\s*Low\s*\|\s*High\s*\| + ^\+-+\+-+\+-+\+ + ^\|\s*${CURRENT}\s*\|\s*${LOW}\s*\|\s*${HIGH}\s*\| + ^\+-+\+-+\+-+\+ + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/ciena_saos_port_show.textfsm b/templates/ciena_saos_port_show.textfsm new file mode 100644 index 0000000000..ac1fc55d18 --- /dev/null +++ b/templates/ciena_saos_port_show.textfsm @@ -0,0 +1,31 @@ +Value NAME ([0-9A-Za-z\.]+) +Value TYPE (\S*) +Value LINK (Up|Down) +Value DURATION (\w+\s*\wh\s*\w+m\s*\w+) +Value XCVR ((\s*)|(\w+)) +Value STP (\w+) +Value MODE ((\w+\/\w+)|(\s*)) +Value AUTONEG ((\w+)|(\s*)) +Value ADMIN_LINK (\w+) +Value ADMIN_MODE ((\w+\/\w+)|(\s*)) +Value ADMIN_AUTONEG ((\w+)|(\s*)) + + +Start + ^\+-+\s*PORT\s*GLOBAL\s*CONFIGURATION\s*-+\+ + ^\+-+ + ^\|\s*P\w+\s*\|\s*V\w+\s*\| + ^\+-+ + ^\|\s*Rx\s*\w+\s*\s*\w+\s*\w+\s*\w+\s*\w+\s*\|\s*\w+\s*\| + ^\+-+ + ^\+-+ + ^\|\s*Por\w+\s*Table\s*\|\s*Operational\s*Status\s*\|\s*Admin\s*Config\s*\| + ^\|-+ + ^\|\s*Por\w+\s*\|\s*Port\s*\s*\|\s*\|\s*Link\s*\State\s*\|\s*\|\s*\|\s*\|Auto\|\s*\|\s*\|Auto\| + ^\|\s*Name\s*\|\s*Type\s*\|Link\|\s*Duration\s*\|XCVR\|STP\|\s*Mode\s*\|Neg\s*\|Link\|\s*Mode\s*\|Neg\s*\| + ^\|-+ + ^\|\s*${NAME}\s*\|\s*${TYPE}\s*\|\s*${LINK}\s*\|\s*${DURATION}\|\s*${XCVR}\s*\|${STP}\|\s*${MODE}\s*\|\s*${AUTONEG}\s*\|\s*${ADMIN_LINK}\s*\|\s*${ADMIN_MODE}\s*\|\s*${ADMIN_AUTONEG}\s*\| -> Record + ^\+-+ + ^\s*$$ + ^. -> Error + diff --git a/templates/ciena_saos_rstp_show.textfsm b/templates/ciena_saos_rstp_show.textfsm new file mode 100644 index 0000000000..ed4872a092 --- /dev/null +++ b/templates/ciena_saos_rstp_show.textfsm @@ -0,0 +1,40 @@ +Value NAME ([0-9A-Za-z\.]+) +Value PORT_OP (.{2}|\w+) +Value PORT_STP (\w+) +Value PORT_ROLE (\w+) +Value RSTP_ST (\w+) +Value STP_ST (\w+) +Value PR (\w+) +Value PATH_COST_OPER (\w+|.{6}) +Value PATH_COST_D (\w+) +Value EDGEP_AD (\w+) +Value EDGEP_OP (\w+) +Value P2P_MAC_ADM (\w+) +Value P2P_MAC_OP (\w+) +Value DOMAIN_ADM (\w+) +Value DOMAIN_EF (\w+) +Value PORT_UPTIME (.{13}) + + +Start + ^\+---------------------Bridge-------------------\+BridgeTimer\+-------Bridge------\+ + ^\+-.* + ^\|Rst.* + ^\|Adm.* + ^\+-.* + ^\|\s*ENA.* + ^\+-.* + ^\|Rst.* + ^\|Mode.* + ^\+-.* + ^\|\s*RSTP.* + ^\+-.* + ^\+-.* + ^\+-.* + ^\|\s*Port.* + ^\|\s*Name.* + ^\+-.* + ^\|${NAME}\s*\|${PORT_OP}\|${PORT_STP}\|\s*${PORT_ROLE}\|${RSTP_ST}\s*\|\s*${STP_ST}\s*\|\s*${PR}\|\s*${PATH_COST_OPER}\s*\|${PATH_COST_D}\s*\|\s*${EDGEP_AD}\|\s*${EDGEP_OP}\|${P2P_MAC_ADM}\|\s*${P2P_MAC_OP}\s*\|\s*${DOMAIN_ADM}\|\s*${DOMAIN_EF}\|${PORT_UPTIME}\| -> Record + ^\+-.* + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/ciena_6x_software_show.textfsm b/templates/ciena_saos_software_show.textfsm similarity index 100% rename from templates/ciena_6x_software_show.textfsm rename to templates/ciena_saos_software_show.textfsm diff --git a/templates/ciena_saos_vlan_show.textfsm b/templates/ciena_saos_vlan_show.textfsm new file mode 100644 index 0000000000..fcaac57357 --- /dev/null +++ b/templates/ciena_saos_vlan_show.textfsm @@ -0,0 +1,26 @@ +Value VLAN_ID (\d+) +Value VLAN_NAME ([0-9a-zA-Z_#]+) + +Start + ^\+-+\s*VLAN\s*GLOBAL\s*CONFIGURATION\s*-+\+ + ^\+-+ + ^\|\sP\w+\s*\|\s*V\w+\s*\| + ^\+-+ + ^\|\s+In\w+\s*\w+\s*\|\s*\d+\s*\| + ^\+-+ + ^(?=\s+) + ^\+-+ + ^\|VL\w+\|\s*\|\s*\d+\| + ^\|\s*ID\s*\|\s*\w+\s*\w+\s*\w+\s*\|\d+\| + ^\+-+ + ^\|\s*${VLAN_ID}\s*\|\s*${VLAN_NAME}\s*\| -> Record + ^\+-+ + ^(?=\s+) + ^\+-+ + ^\+-+\s*CROSS\s*CONNECTION\s*TABLE\s*-+\+ + ^\|\sOV\w+\s*\|\s*IV\w+\s*\|\s*\w+\-\w+\s*\|\s*\w+\-\w+\s*\| + ^\+-+ + ^\|\s*No\s*Entry\s*Found\s*\| + ^\+-+ + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index bdb5fc31aa..51f70e3ebe 100644 --- a/templates/index +++ b/templates/index @@ -105,7 +105,11 @@ checkpoint_gaia_show_dns.textfsm, .*, checkpoint_gaia, show dns checkpoint_gaia_show_lom.textfsm, .*, checkpoint_gaia, show lom checkpoint_gaia_fw_stat.textfsm, .*, checkpoint_gaia, fw stat -ciena_6x_software_show.textfsm, .*, ciena_6x, so[[ftware]] sh[[ow]] +ciena_saos_chassis_show_temperature.textfsm, .*, ciena_saos, ch[[assis]] sh[[ow]] te[[mperature]] +ciena_saos_software_show.textfsm, .*, ciena_saos, so[[ftware]] sh[[ow]] +ciena_saos_port_show.textfsm, .*, ciena_saos, po[[rt]] sh[[ow]] +ciena_saos_rstp_show.textfsm, .*, ciena_saos, rs[[tp]] sh[[ow]] +ciena_saos_vlan_show.textfsm, .*, ciena_saos, vl[[an]] sh[[ow]] cisco_asa_show_running-config_object_network.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] o[[bject]] n[[etwork]] cisco_asa_show_asp_table_vpn-context_detail.textfsm, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]] diff --git a/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.raw b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.raw new file mode 100644 index 0000000000..12ddd61422 --- /dev/null +++ b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.raw @@ -0,0 +1,11 @@ ++- TEMPERATURE THRESHOLD -+ +| Low | High | ++------------+------------+ +| -40 C | 65 C | ++------------+------------+ + ++--- TEMPERATURE STATUS --+ +| Current | Low | High | ++---------+-------+-------+ +| 19 C | 17 C | 20 C | ++---------+-------+-------+ \ No newline at end of file diff --git a/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml new file mode 100644 index 0000000000..e79f63e6a2 --- /dev/null +++ b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml @@ -0,0 +1,5 @@ +--- +parsed_sample: + - current: '19 C' + low: '17 C' + high: '20 C' diff --git a/tests/ciena_saos/port_show/ciena_saos_port_show.raw b/tests/ciena_saos/port_show/ciena_saos_port_show.raw new file mode 100644 index 0000000000..af8b35ace2 --- /dev/null +++ b/tests/ciena_saos/port_show/ciena_saos_port_show.raw @@ -0,0 +1,39 @@ ++--------------- PORT GLOBAL CONFIGURATION ----------------+ +| Parameter | Value | ++----------------------------------+-----------------------+ +| Rx Low Power Detect Admin State | Disabled | ++----------------------------------+-----------------------+ ++-------------------------------------------------------------------------------+ +| Port Table | Operational Status | Admin Config | +|---------+---------+----+--------------+----+---+-------+----+----+-------+----| +| Port | Port | | Link State | | | |Auto| | |Auto| +| Name | Type |Link| Duration |XCVR|STP| Mode |Neg |Link| Mode |Neg | +|---------+---------+----+--------------+----+---+-------+----+----+-------+----| +| 1.11 |100/G | Up | 30d 2h24m21s|Ena |Dis|1000/FD| On |Ena |Auto/FD| On | +| 2.1 |100G/Gig |Down| 0d 0h 0m 0s|UCTF|Dis| | |Ena |Auto/FD| On | +| 3 |10/100/G | Up | 30d 1h55m12s|Ena |Dis|1000/FD| On |Ena |Auto/FD| On | +| 4 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 5 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 6 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 7 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 8 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 9 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 10 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 11 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 12 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 13 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 14 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 15 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 16 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 17 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 18 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 19 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 20 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 21 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 22 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 23 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| 24 | G/10Gig |Down| 0d 0h 0m 0s| |Dis| | |Ena |Auto/FD| On | +| LAG1 | LAG | Up | 30d 2h24m21s| |FWD| | |Ena | | | +| LAG2 | LAG | Up | 30d 1h55m11s| |FWD| | |Ena | | | +| LATERAL | LAG |Down| 0d 0h 0m 0s| |Dis| | |Ena | | | ++---------+---------+----+--------------+----+---+-------+----+----+-------+----+ \ No newline at end of file diff --git a/tests/ciena_saos/port_show/ciena_saos_port_show.yml b/tests/ciena_saos/port_show/ciena_saos_port_show.yml new file mode 100644 index 0000000000..40a95b438e --- /dev/null +++ b/tests/ciena_saos/port_show/ciena_saos_port_show.yml @@ -0,0 +1,299 @@ +--- +parsed_sample: + - name: '1.11' + type: '100/G' + link: 'Up' + duration: '30d 2h24m21s' + xcvr: 'Ena' + stp: 'Dis' + mode: '1000/FD' + autoneg: 'On' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '2.1' + type: '100G/Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: 'UCTF' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '3' + type: '10/100/G' + link: 'Up' + duration: '30d 1h55m12s' + xcvr: 'Ena' + stp: 'Dis' + mode: '1000/FD' + autoneg: 'On' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '4' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '5' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '6' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '7' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '8' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '9' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '10' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '11' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '12' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '13' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '14' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '15' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '16' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '17' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '18' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '19' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '20' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '21' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '22' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '23' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: '24' + type: 'G/10Gig' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: 'Auto/FD' + admin_autoneg: 'On' + - name: 'LAG1' + type: 'LAG' + link: 'Up' + duration: '30d 2h24m21s' + xcvr: '' + stp: 'FWD' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: '' + admin_autoneg: '' + - name: 'LAG2' + type: 'LAG' + link: 'Up' + duration: '30d 1h55m11s' + xcvr: '' + stp: 'FWD' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: '' + admin_autoneg: '' + - name: 'LATERAL' + type: 'LAG' + link: 'Down' + duration: '0d 0h 0m 0s' + xcvr: '' + stp: 'Dis' + mode: '' + autoneg: '' + admin_link: 'Ena' + admin_mode: '' + admin_autoneg: '' diff --git a/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.raw b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.raw new file mode 100644 index 0000000000..1e8d6cd1af --- /dev/null +++ b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.raw @@ -0,0 +1,43 @@ ++---------------------Bridge-------------------+BridgeTimer+-------Bridge------+ +|Rstp| | | Root | Root |Force|Fwd|Hlo|Max|T Chg| Time | +|Adm |Prio| MacAdd | Cost | Port |Versn|Dly|Tim|Age|Count| Since TC | ++----+----+------------+--------+--------+-----+---+---+---+-----+-------------+ +| ENA|8000|C4836F193CC0| 0| ---- | RSTP| 15| 2| 20| 0|0000D00:00:00| ++----+------------Designated-------------+-----+-RootTimer-+-----Enhancement---+ +|Rstp| Designated Root |Designated Bridge|Hops2|Fwd|Hlo|Max| Standards |Debug | +|Mode|Prio| MacAdd |Prio| MacAdd |RootB|Dly|Tim|Age| Compliance |Events| ++----+----+------------+----+------------+-----+---+---+---+------------+------+ +|RSTP|8000|C4836F193CC0|8000|C4836F193CC0| 0 | 15| 2| 20|CienaEnhance| more| ++----+----+------------+----+------------+-----+---+---+---+------------+------+ ++------------------------------ RSTP Port Info ------------------------------+ +| Port |RSTP| STP| |Path Cost |EdgeP|P2P_Mac|Domain| Port | +| Name |Op|STP|Role| ST | ST |Pr| Oper |D|Ad|Op|Adm |Op|Adm|Ef| UpTime | ++-------+--+---+----+----+----+--+--------+-+--+--+----+--+---+--+-------------+ +|1 |--|Ena| DIS|DISC| DIS| 8| 20000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|2 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|3 |--|Ena| DIS|DISC| DIS| 8| 20000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|4 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|5 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|6 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|7 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|8 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|9 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|10 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|11 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|12 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|13 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|14 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|15 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|16 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|17 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|18 |--|Dis| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|19 |--|Dis| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|20 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|21 |--|Dis| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|22 |--|Dis| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|23 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|24 |--|Ena| DIS|DISC| DIS| 8| 2000|T| F| F|AUTO| F| 0| 0|0000D00:00:00| +|LAG1 |Up|Dis| DIS|FWD |FWD | 8| 20000|T| F| F|AUTO|T | 0| 0|0030D04:51:46| +|LAG2 |Up|Dis| DIS|FWD |FWD | 8| 20000|T| F| F|AUTO|T | 0| 0|0030D04:22:36| +|LATERAL|--|Ena| DIS|DISC| DIS| 8| ------ |T| F| F|AUTO| F| 0| 0|0000D00:00:00| ++-------+--+---+----+----+----+--+--------+-+--+--+----+--+---+--+-------------+ diff --git a/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml new file mode 100644 index 0000000000..1a07bff3bd --- /dev/null +++ b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml @@ -0,0 +1,434 @@ +--- +parsed_sample: + - name: '1' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '20000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '2' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '3' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '20000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '4' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '5' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '6' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '7' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '8' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '9' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '10' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '11' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '12' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '13' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '14' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '15' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '16' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '17' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '18' + port_op: '--' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '19' + port_op: '--' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '20' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '21' + port_op: '--' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '22' + port_op: '--' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '23' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: '24' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '2000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' + - name: 'LAG1' + port_op: 'Up' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'FWD' + stp_st: 'FWD' + pr: '8' + path_cost_oper: '20000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'T' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0030D04:51:46' + - name: 'LAG2' + port_op: 'Up' + port_stp: 'Dis' + port_role: 'DIS' + rstp_st: 'FWD' + stp_st: 'FWD' + pr: '8' + path_cost_oper: '20000' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'T' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0030D04:22:36' + - name: 'LATERAL' + port_op: '--' + port_stp: 'Ena' + port_role: 'DIS' + rstp_st: 'DISC' + stp_st: 'DIS' + pr: '8' + path_cost_oper: '------' + path_cost_d: 'T' + edgep_ad: 'F' + edgep_op: 'F' + p2p_mac_adm: 'AUTO' + p2p_mac_op: 'F' + domain_adm: '0' + domain_ef: '0' + port_uptime: '0000D00:00:00' diff --git a/tests/ciena_6x/software_show/ciena_6x_software_show.raw b/tests/ciena_saos/software_show/ciena_saos_software_show.raw similarity index 100% rename from tests/ciena_6x/software_show/ciena_6x_software_show.raw rename to tests/ciena_saos/software_show/ciena_saos_software_show.raw diff --git a/tests/ciena_6x/software_show/ciena_6x_software_show.yml b/tests/ciena_saos/software_show/ciena_saos_software_show.yml similarity index 100% rename from tests/ciena_6x/software_show/ciena_6x_software_show.yml rename to tests/ciena_saos/software_show/ciena_saos_software_show.yml diff --git a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.raw b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.raw new file mode 100644 index 0000000000..15829531ad --- /dev/null +++ b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.raw @@ -0,0 +1,26 @@ ++----- VLAN GLOBAL CONFIGURATION -----+ +| Parameter | Value | ++-----------------+-------------------+ +| Inner TPID | 8100 | ++-----------------+-------------------+ + ++----+--------------------------------+------------------------+ +|VLAN| | 111111111122222| +| ID | VLAN Name Ports |123456789012345678901234| ++----+--------------------------------+------------------------+ +| 1|Default | xxxx xxxxxxxx x x | +| 2|VLAN#2 | x| +| 4|VLAN#4 | x | +| 5|VLAN#5 | x | +| 7|VLAN#7 | x | +| 8|VLAN#8 | x | +|1401|Mgmt |xxxx x | +|3999|RVID_3999 | | +|4000|VLAN#4000 | | ++----+--------------------------------+------------------------+ + ++----------------------------- CROSS CONNECTION TABLE ------------------------------+ +| OVID | IVID | Port-A | Port-B | ++------+------+----------------------------------+----------------------------------+ +| No Entry Found | ++------+------+----------------------------------+----------------------------------+ \ No newline at end of file diff --git a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml new file mode 100644 index 0000000000..4f63065d39 --- /dev/null +++ b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - vlan_id: '1' + vlan_name: 'Default' + - vlan_id: '2' + vlan_name: 'VLAN#2' + - vlan_id: '4' + vlan_name: 'VLAN#4' + - vlan_id: '5' + vlan_name: 'VLAN#5' + - vlan_id: '7' + vlan_name: 'VLAN#7' + - vlan_id: '8' + vlan_name: 'VLAN#8' + - vlan_id: '1401' + vlan_name: 'Mgmt' + - vlan_id: '3999' + vlan_name: 'RVID_3999' + - vlan_id: '4000' + vlan_name: 'VLAN#4000' diff --git a/tests/test_index_order.py b/tests/test_index_order.py old mode 100644 new mode 100755 index a7f0586e19..8ac187f468 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -75,7 +75,7 @@ def test_index_ordering(): "brocade_vdx", "brocade_vyos", "checkpoint_gaia", - "ciena_6x", + "ciena_saos", "cisco_asa", "cisco_ios", "cisco_nxos", diff --git a/tox.ini b/tox.ini index 581a507e08..d4eeb04a3c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ [tox] -envlist = py36 +envlist = py36,py37,py38 +skip_missing_interpreters = true [testenv] install_command = pip install .[dev] {opts} {packages} From 36ee49393893631151208309dc559a956d209162 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 29 Apr 2020 12:35:09 -0600 Subject: [PATCH 415/628] Enhancement: cisco_ios_show_redundancy - Add New fields (#667) --- templates/cisco_ios_show_redundancy.textfsm | 63 +++++++++++-------- .../cisco_ios_show_redundancy.yml | 9 ++- .../cisco_ios_show_redundancy2.raw | 39 ++++++++++++ .../cisco_ios_show_redundancy2.yml | 42 +++++++++++++ .../cisco_ios_show_redundancy3.raw | 26 ++++++++ .../cisco_ios_show_redundancy3.yml | 42 +++++++++++++ 6 files changed, 193 insertions(+), 28 deletions(-) create mode 100644 tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.raw create mode 100644 tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.yml create mode 100644 tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.raw create mode 100644 tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.yml diff --git a/templates/cisco_ios_show_redundancy.textfsm b/templates/cisco_ios_show_redundancy.textfsm index b80e5b93e3..49e344f1e5 100644 --- a/templates/cisco_ios_show_redundancy.textfsm +++ b/templates/cisco_ios_show_redundancy.textfsm @@ -1,3 +1,5 @@ +Value SYSTEM_UPTIME_YEARS (\d+) +Value SYSTEM_UPTIME_WEEKS (\d+) Value SYSTEM_UPTIME_DAYS (\d+) Value SYSTEM_UPTIME_HOURS (\d+) Value SYSTEM_UPTIME_MINUTES (\d+) @@ -9,8 +11,10 @@ Value CONFIGURED_REDUNDANCY_MODE (.+?) Value OPERATING_REDUNDANCY_MODE (.+?) Value MAINTENANCE_MODE (.+?) Value COMMUNICATION_STATUS (.+?) -Value ACTIVE_SLOT (\d+) +Value ACTIVE_SLOT (\S+) Value ACTIVE_SOFTWARE_STATE (.+?) +Value ACTIVE_UPTIME_YEARS (\d+) +Value ACTIVE_UPTIME_WEEKS (\d+) Value ACTIVE_UPTIME_DAYS (\d+) Value ACTIVE_UPTIME_HOURS (\d+) Value ACTIVE_UPTIME_MINUTES (\d+) @@ -20,8 +24,10 @@ Value ACTIVE_MAINTENANCE_RELEASE (\S+) Value ACTIVE_BOOT_DIRECTORY (\S+) Value ACTIVE_BOOT_FILE (\S+) Value ACTIVE_CONFIG_REGISTER (\S+) -Value STANDBY_SLOT (\d+) +Value STANDBY_SLOT (\S+) Value STANDBY_SOFTWARE_STATE (.+?) +Value STANDBY_UPTIME_YEARS (\d+) +Value STANDBY_UPTIME_WEEKS (\d+) Value STANDBY_UPTIME_DAYS (\d+) Value STANDBY_UPTIME_HOURS (\d+) Value STANDBY_UPTIME_MINUTES (\d+) @@ -31,21 +37,22 @@ Value STANDBY_MAINTENANCE_RELEASE (\S+) Value STANDBY_BOOT_DIRECTORY (\S+) Value STANDBY_BOOT_FILE (\S+) Value STANDBY_CONFIG_REGISTER (\S+) +Value STANDBY_STATUS (.+?) Start ^Redundant\s+System\s+Information ^\s*-+\s*$$ - ^\s+Available\s+system\s+uptime\s*=\s*${SYSTEM_UPTIME_DAYS}\s+days,\s+${SYSTEM_UPTIME_HOURS}\s+hours,\s+${SYSTEM_UPTIME_MINUTES}\s+minutes\s*$$ - ^\s+Switchovers\s+system\s+experienced\s*=\s*${SWITCHOVERS}\s*$$ - ^\s+Standby\s+failures\s*=\s*${STANDBY_FAILURES}\s*$$ - ^\s+Last\s+switchover\s+reason\s*=\s*${LAST_SWITCHOVER_REASON}\s*$$ - ^\s+Hardware\s+Mode\s*=\s*${HARDWARE_MODE}\s*$$ - ^\s+Configured\s+Redundancy\s+Mode\s*=\s*${CONFIGURED_REDUNDANCY_MODE}\s*$$ - ^\s+Operating\s+Redundancy\s+Mode\s*=\s*${OPERATING_REDUNDANCY_MODE}\s*$$ - ^\s+Maintenance\s+Mode\s*=\s*${MAINTENANCE_MODE}\s*$$ - ^\s+Communications\s*=\s*${COMMUNICATION_STATUS}\s*$$ - ^\s+Current\s+Processor -> Current + ^\s*Available\s+system\s+uptime\s*=\s*(${SYSTEM_UPTIME_YEARS}\s*year(s)?,)?\s*(${SYSTEM_UPTIME_WEEKS}\s*week(s)?,)?\s*(${SYSTEM_UPTIME_DAYS}\s*day(s)?,)?\s*(${SYSTEM_UPTIME_HOURS}\s*hour(s)?,)?\s*${SYSTEM_UPTIME_MINUTES}\s*minute(s)?\s*$$ + ^\s*Switchovers\s+system\s+experienced\s*=\s*${SWITCHOVERS}\s*$$ + ^\s*Standby\s+failures\s*=\s*${STANDBY_FAILURES}\s*$$ + ^\s*Last\s+switchover\s+reason\s*=\s*${LAST_SWITCHOVER_REASON}\s*$$ + ^\s*Hardware\s+Mode\s*=\s*${HARDWARE_MODE}\s*$$ + ^\s*Configured\s+Redundancy\s+Mode\s*=\s*${CONFIGURED_REDUNDANCY_MODE}\s*$$ + ^\s*Operating\s+Redundancy\s+Mode\s*=\s*${OPERATING_REDUNDANCY_MODE}\s*$$ + ^\s*Maintenance\s+Mode\s*=\s*${MAINTENANCE_MODE}\s*$$ + ^\s*Communications\s*=\s*${COMMUNICATION_STATUS}\s*$$ + ^\s*Current\s+Processor -> Current # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is @@ -54,29 +61,31 @@ Start Current ^\s*-+\s*$$ - ^\s+Active\s+Location\s*=\s*slot\s+${ACTIVE_SLOT}\s*$$ - ^\s+Current\s+Software\s+state\s*=\s*${ACTIVE_SOFTWARE_STATE}\s*$$ - ^\s+Uptime\s+in\s+current\s+state\s*=\s*${ACTIVE_UPTIME_DAYS}\s+days,\s+${ACTIVE_UPTIME_HOURS}\s+hours,\s+${ACTIVE_UPTIME_MINUTES}\s+minutes\s*$$ - ^\s+Image\s+Version + ^\s*Active\s+Location\s*=\s*slot\s+${ACTIVE_SLOT}\s*$$ + ^\s*Current\s+Software\s+state\s*=\s*${ACTIVE_SOFTWARE_STATE}\s*$$ + ^\s*Uptime\s+in\s+current\s+state\s*=\s*(${ACTIVE_UPTIME_YEARS}\s*year(s)?,)?\s*(${ACTIVE_UPTIME_WEEKS}\s*week(s)?,)?\s*(${ACTIVE_UPTIME_DAYS}\s*day(s)?,)?\s*(${ACTIVE_UPTIME_HOURS}\s*hour(s)?,)?\s*${ACTIVE_UPTIME_MINUTES}\s*minute(s)?\s*$$ + ^\s*Image\s+Version ^.+Version\s+${ACTIVE_MAJOR_RELEASE}\.${ACTIVE_MINOR_RELEASE}\(${ACTIVE_MAINTENANCE_RELEASE}\) ^.+[Cc][Ii][Ss][Cc][Oo] - ^.+(?:Copyright|Compiled) - ^\s+BOOT\s*=\s*${ACTIVE_BOOT_DIRECTORY}:${ACTIVE_BOOT_FILE}\s*$$ - ^\s+Configuration\s+register\s*=\s*${ACTIVE_CONFIG_REGISTER}\s*$$ - ^\s+Peer\s+Processor -> Peer + ^.*(?:Copyright|Compiled|CONFIG_FILE|BOOTLDR) + ^\s*BOOT\s*=\s*${ACTIVE_BOOT_DIRECTORY}:${ACTIVE_BOOT_FILE}\s*$$ + ^\s*Configuration\s+register\s*=\s*${ACTIVE_CONFIG_REGISTER}\s*$$ + ^Peer\s*\(slot:\s*unavailable\)\s*\w*\s*\w*\s*\w*\s*\w*\s*\w\s*\w*\s*\w*\s*\w*\s*\w*\s*\'${STANDBY_STATUS}\'\s*state$$ -> EOF + ^\s*Peer\s+Processor -> Peer ^\s*$$ ^. -> Error Peer ^\s*-+\s*$$ - ^\s+Standby\s+Location\s*=\s*slot\s+${STANDBY_SLOT}\s*$$ - ^\s+Current\s+Software\s+state\s*=\s*${STANDBY_SOFTWARE_STATE}\s*$$ - ^\s+Uptime\s+in\s+current\s+state\s*=\s*${STANDBY_UPTIME_DAYS}\s+days,\s+${STANDBY_UPTIME_HOURS}\s+hours,\s+${STANDBY_UPTIME_MINUTES}\s+minutes\s*$$ - ^\s+Image\s+Version + ^\s*Standby\s+Location\s*=\s*slot\s+${STANDBY_SLOT}\s*$$ + ^\s*Current\s+Software\s+state\s*=\s*${STANDBY_SOFTWARE_STATE}\s*$$ + ^\s*Uptime\s+in\s+current\s+state\s*=\s*(${STANDBY_UPTIME_YEARS}\s*year(s)?,)?\s*(${STANDBY_UPTIME_WEEKS}\s*week(s)?,)?\s*(${STANDBY_UPTIME_DAYS}\s*day(s)?,)?\s*(${STANDBY_UPTIME_HOURS}\s*hour(s)?,)?\s*${STANDBY_UPTIME_MINUTES}\s*minute(s)?\s*$$ + ^\s*Image\s+Version ^.+Version\s+${STANDBY_MAJOR_RELEASE}\.${STANDBY_MINOR_RELEASE}\(${STANDBY_MAINTENANCE_RELEASE}\) ^.+[Cc][Ii][Ss][Cc][Oo] - ^.+(?:Copyright|Compiled) - ^\s+BOOT\s*=\s*${STANDBY_BOOT_DIRECTORY}:${STANDBY_BOOT_FILE}\s*$$ - ^\s+Configuration\s+register\s*=\s*${STANDBY_CONFIG_REGISTER}\s*$$ + ^.*(?:Copyright|Compiled|CONFIG_FILE|BOOTLDR) + ^\s*BOOT\s*=\s*${STANDBY_BOOT_DIRECTORY}:${STANDBY_BOOT_FILE}\s*$$ + ^\s*Configuration\s+register\s*=\s*${STANDBY_CONFIG_REGISTER}\s*$$ ^\s*$$ + ^\s*Compiled\s* ^. -> Error diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.yml b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.yml index 464f2904b0..73f0965000 100644 --- a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.yml +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy.yml @@ -1,6 +1,8 @@ --- parsed_sample: - - system_uptime_days: "2" + - system_uptime_years: "" + system_uptime_weeks: "" + system_uptime_days: "2" system_uptime_hours: "2" system_uptime_minutes: "39" switchovers: "0" @@ -13,6 +15,8 @@ parsed_sample: communication_status: "Up" active_slot: "1" active_software_state: "ACTIVE" + active_uptime_years: "" + active_uptime_weeks: "" active_uptime_days: "2" active_uptime_hours: "2" active_uptime_minutes: "39" @@ -24,6 +28,8 @@ parsed_sample: active_config_register: "0x2002" standby_slot: "2" standby_software_state: "STANDBY HOT" + standby_uptime_years: "" + standby_uptime_weeks: "" standby_uptime_days: "2" standby_uptime_hours: "2" standby_uptime_minutes: "39" @@ -33,3 +39,4 @@ parsed_sample: standby_boot_directory: "bootflash" standby_boot_file: "cat4000-i5s-mz.122_20_EWA_392,1" standby_config_register: "0x2002" + standby_status: "" diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.raw b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.raw new file mode 100644 index 0000000000..a8434d4d09 --- /dev/null +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.raw @@ -0,0 +1,39 @@ +Redundant System Information : +------------------------------ + Available system uptime = 1 hour, 22 minutes +Switchovers system experienced = 0 + Standby failures = 0 + Last switchover reason = none + Hardware Mode = Duplex + Configured Redundancy Mode = sso + Operating Redundancy Mode = sso + Maintenance Mode = Disabled + Communications = Up + +Current Processor Information : +------------------------------- + Active Location = slot 1/5 + Current Software state = ACTIVE + Uptime in current state = 1 hour, 22 minutes + Image Version = Cisco IOS Software, s2t54 Software (s2t54-ADVENTERPRISEK9-M), Version 15.5(1)SY4, RELEASE SOFTWARE (fc4) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2019 by Cisco Systems, Inc. +Compiled Mon 02-Sep-19 07:17 by prod_rel_team + BOOT = bootdisk:s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1; + CONFIG_FILE = + BOOTLDR = + Configuration register = 0x2102 + +Peer Processor Information : +---------------------------- + Standby Location = slot 2/5 + Current Software state = STANDBY HOT + Uptime in current state = 19 minutes + Image Version = Cisco IOS Software, s2t54 Software (s2t54-ADVENTERPRISEK9-M), Version 15.5(1)SY4, RELEASE SOFTWARE (fc4) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2019 by Cisco Systems, Inc. +Compiled Mon 02-Sep-19 07:17 by prod_rel_team + BOOT = bootdisk:s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1; + CONFIG_FILE = + BOOTLDR = + Configuration register = 0x2102 \ No newline at end of file diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.yml b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.yml new file mode 100644 index 0000000000..46bfcb58f3 --- /dev/null +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy2.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - system_uptime_years: "" + system_uptime_weeks: "" + system_uptime_days: "" + system_uptime_hours: "1" + system_uptime_minutes: "22" + switchovers: "0" + standby_failures: "0" + last_switchover_reason: "none" + hardware_mode: "Duplex" + configured_redundancy_mode: "sso" + operating_redundancy_mode: "sso" + maintenance_mode: "Disabled" + communication_status: "Up" + active_slot: "1/5" + active_software_state: "ACTIVE" + active_uptime_years: "" + active_uptime_weeks: "" + active_uptime_days: "" + active_uptime_hours: "1" + active_uptime_minutes: "22" + active_major_release: "" + active_minor_release: "" + active_maintenance_release: "" + active_boot_directory: "bootdisk" + active_boot_file: "s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1;" + active_config_register: "0x2102" + standby_slot: "2/5" + standby_software_state: "STANDBY HOT" + standby_uptime_years: "" + standby_uptime_weeks: "" + standby_uptime_days: "" + standby_uptime_hours: "" + standby_uptime_minutes: "19" + standby_major_release: "" + standby_minor_release: "" + standby_maintenance_release: "" + standby_boot_directory: "bootdisk" + standby_boot_file: "s2t54-adventerprisek9-mz.SPA.155-1.SY4.bin,1;" + standby_config_register: "0x2102" + standby_status: "" diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.raw b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.raw new file mode 100644 index 0000000000..4790dd4cfe --- /dev/null +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.raw @@ -0,0 +1,26 @@ +Redundant System Information : +------------------------------ + Available system uptime = 46 weeks, 4 days, 22 hours, 52 minutes +Switchovers system experienced = 0 + Standby failures = 0 + Last switchover reason = none + + Hardware Mode = Simplex + Configured Redundancy Mode = sso + Operating Redundancy Mode = sso + Maintenance Mode = Disabled + Communications = Down Reason: Failure + +Current Processor Information : +------------------------------- + Active Location = slot 1 + Current Software state = ACTIVE + Uptime in current state = 46 weeks, 4 days, 22 hours, 52 minutes + Image Version = Cisco IOS Software, c6848x Software (c6848x-ADVENTERPRISEK9-M), Version 15.4(1)SY4, RELEASE SOFTWARE (fc3) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2018 by Cisco Systems, Inc. +Compiled Fri 02-Feb-18 02:00 by prod_rel_team + BOOT = bootdisk:/c6848x-adventerprisek9-mz.SPA.154-1.SY4.bin,12; + Configuration register = 0x2102 + +Peer (slot: unavailable) information is not available because it is in 'DISABLED' state \ No newline at end of file diff --git a/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.yml b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.yml new file mode 100644 index 0000000000..28f7ce1dd6 --- /dev/null +++ b/tests/cisco_ios/show_redundancy/cisco_ios_show_redundancy3.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - system_uptime_years: "" + system_uptime_weeks: "46" + system_uptime_days: "4" + system_uptime_hours: "22" + system_uptime_minutes: "52" + switchovers: "0" + standby_failures: "0" + last_switchover_reason: "none" + hardware_mode: "Simplex" + configured_redundancy_mode: "sso" + operating_redundancy_mode: "sso" + maintenance_mode: "Disabled" + communication_status: "Down Reason: Failure" + active_slot: "1" + active_software_state: "ACTIVE" + active_uptime_years: "" + active_uptime_weeks: "46" + active_uptime_days: "4" + active_uptime_hours: "22" + active_uptime_minutes: "52" + active_major_release: "" + active_minor_release: "" + active_maintenance_release: "" + active_boot_directory: "bootdisk" + active_boot_file: "/c6848x-adventerprisek9-mz.SPA.154-1.SY4.bin,12;" + active_config_register: "0x2102" + standby_slot: "" + standby_software_state: "" + standby_uptime_years: "" + standby_uptime_weeks: "" + standby_uptime_days: "" + standby_uptime_hours: "" + standby_uptime_minutes: "" + standby_major_release: "" + standby_minor_release: "" + standby_maintenance_release: "" + standby_boot_directory: "" + standby_boot_file: "" + standby_config_register: "" + standby_status: "DISABLED" From 18da3010cac4727b08defcc5251d8aeb2d28958f Mon Sep 17 00:00:00 2001 From: Micah Culpepper Date: Wed, 29 Apr 2020 14:07:04 -0500 Subject: [PATCH 416/628] New Template: Adds support for Cisco FTD and cisco_asa_ping (#654) --- templates/cisco_asa_ping.textfsm | 19 +++++++++++++++++++ templates/index | 3 ++- tests/cisco_asa/ping/cisco_asa_ping.raw | 4 ++++ tests/cisco_asa/ping/cisco_asa_ping.yml | 12 ++++++++++++ tests/cisco_ftd/ping/cisco_ftd_ping.raw | 4 ++++ tests/cisco_ftd/ping/cisco_ftd_ping.yml | 12 ++++++++++++ tests/test_index_order.py | 1 + 7 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 templates/cisco_asa_ping.textfsm create mode 100644 tests/cisco_asa/ping/cisco_asa_ping.raw create mode 100644 tests/cisco_asa/ping/cisco_asa_ping.yml create mode 100644 tests/cisco_ftd/ping/cisco_ftd_ping.raw create mode 100644 tests/cisco_ftd/ping/cisco_ftd_ping.yml diff --git a/templates/cisco_asa_ping.textfsm b/templates/cisco_asa_ping.textfsm new file mode 100644 index 0000000000..5830166e2f --- /dev/null +++ b/templates/cisco_asa_ping.textfsm @@ -0,0 +1,19 @@ +Value Required SENT_QTY (\d+) +Value Required SENT_TYPE (.*) +Value Required DESTINATION (\S+) +Value Required TIMEOUT (\d+) +Value Required RESPONSE_STREAM ([\.\!]+) +Value Required SUCCESS_PCT (\d+) +Value Required SUCCESS_QTY (\d+) +Value Required RTT_MIN (\d+) +Value Required RTT_AVG (\d+) +Value Required RTT_MAX (\d+) + + +Start + ^Type\s+escape\s+sequence\s+to\s+abort. + ^Sending\s+${SENT_QTY},\s+${SENT_TYPE}\s+to\s+${DESTINATION},\s+timeout\s+is\s+${TIMEOUT}\s+seconds: + ^${RESPONSE_STREAM} + ^Success\s+rate\s+is\s+${SUCCESS_PCT}\s+percent\s+\(${SUCCESS_QTY}/\d+\),\s+round-trip\s+min/avg/max\s+=\s+${RTT_MIN}/${RTT_AVG}/${RTT_MAX}\s+ms + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 51f70e3ebe..b357df9e05 100644 --- a/templates/index +++ b/templates/index @@ -136,8 +136,9 @@ cisco_asa_show_version.textfsm, .*, cisco_asa, sh[[ow]] ver[[sion]] cisco_asa_show_route.textfsm, .*, cisco_asa, sh[[ow]] ro[[ute]] cisco_asa_show_xlate.textfsm, .*, cisco_asa, sh[[ow]] x[[late]] cisco_asa_show_name.textfsm, .*, cisco_asa, sh[[ow]] nam[[e]] -cisco_asa_show_arp.textfsm, .*, cisco_asa, sh[[ow]] arp +cisco_asa_show_arp.textfsm, .*, cisco_(asa|ftd), sh[[ow]] arp cisco_asa_show_nat.textfsm, .*, cisco_asa, sh[[ow]] nat +cisco_asa_ping.textfsm, .*, cisco_(asa|ftd), ping cisco_asa_dir.textfsm, .*, cisco_asa, dir cisco_ios_show_module.textfsm:cisco_ios_show_module_status.textfsm:cisco_ios_show_module_submodule.textfsm:cisco_ios_show_module_online_diag.textfsm, .*, cisco_ios, sh[[ow]] mod[[ule]] diff --git a/tests/cisco_asa/ping/cisco_asa_ping.raw b/tests/cisco_asa/ping/cisco_asa_ping.raw new file mode 100644 index 0000000000..ccc133732d --- /dev/null +++ b/tests/cisco_asa/ping/cisco_asa_ping.raw @@ -0,0 +1,4 @@ +Type escape sequence to abort. +Sending 5, 100-byte ICMP Echos to 192.168.10.45, timeout is 2 seconds: +!!!!! +Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/10 ms diff --git a/tests/cisco_asa/ping/cisco_asa_ping.yml b/tests/cisco_asa/ping/cisco_asa_ping.yml new file mode 100644 index 0000000000..9f44b9337c --- /dev/null +++ b/tests/cisco_asa/ping/cisco_asa_ping.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - sent_qty: "5" + sent_type: "100-byte ICMP Echos" + destination: "192.168.10.45" + timeout: "2" + response_stream: "!!!!!" + success_pct: "100" + success_qty: "5" + rtt_min: "1" + rtt_avg: "2" + rtt_max: "10" diff --git a/tests/cisco_ftd/ping/cisco_ftd_ping.raw b/tests/cisco_ftd/ping/cisco_ftd_ping.raw new file mode 100644 index 0000000000..9f3b7f0768 --- /dev/null +++ b/tests/cisco_ftd/ping/cisco_ftd_ping.raw @@ -0,0 +1,4 @@ +Type escape sequence to abort. +Sending 5, 100-byte ICMP Echos to 10.91.108.200, timeout is 2 seconds: +!!!!! +Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms diff --git a/tests/cisco_ftd/ping/cisco_ftd_ping.yml b/tests/cisco_ftd/ping/cisco_ftd_ping.yml new file mode 100644 index 0000000000..f60516b544 --- /dev/null +++ b/tests/cisco_ftd/ping/cisco_ftd_ping.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - sent_qty: "5" + sent_type: "100-byte ICMP Echos" + destination: "10.91.108.200" + timeout: "2" + response_stream: "!!!!!" + success_pct: "100" + success_qty: "5" + rtt_min: "1" + rtt_avg: "1" + rtt_max: "1" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 8ac187f468..01dda63add 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -77,6 +77,7 @@ def test_index_ordering(): "checkpoint_gaia", "ciena_saos", "cisco_asa", + "cisco_ftd", "cisco_ios", "cisco_nxos", "cisco_s300", From fb640243a403c2a79c1ab18981250f0ba62ad2a3 Mon Sep 17 00:00:00 2001 From: EricWu Date: Thu, 30 Apr 2020 06:03:09 +0800 Subject: [PATCH 417/628] New Template: hp_comware_display_ip_routing-table & hp_comware_display_device_manuinfo (#623) --- ...hp_comware_display_device_manuinfo.textfsm | 22 ++ ...p_comware_display_ip_routing-table.textfsm | 19 ++ templates/index | 2 + .../hp_comware_display_device_manuinfo.raw | 96 ++++++++ .../hp_comware_display_device_manuinfo.yml | 114 +++++++++ .../hp_comware_display_device_manuinfo1.raw | 39 ++++ .../hp_comware_display_device_manuinfo1.yml | 58 +++++ .../hp_comware_display_device_manuinfo2.raw | 66 ++++++ .../hp_comware_display_device_manuinfo2.yml | 122 ++++++++++ .../hp_comware_display_device_manuinfo3.raw | 22 ++ .../hp_comware_display_device_manuinfo3.yml | 26 +++ .../hp_comware_display_ip_routing-table.raw | 36 +++ .../hp_comware_display_ip_routing-table.yml | 219 ++++++++++++++++++ 13 files changed, 841 insertions(+) create mode 100644 templates/hp_comware_display_device_manuinfo.textfsm create mode 100644 templates/hp_comware_display_ip_routing-table.textfsm create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.raw create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.yml create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.raw create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.yml create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.raw create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.yml create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.raw create mode 100644 tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.yml create mode 100644 tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.raw create mode 100644 tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml diff --git a/templates/hp_comware_display_device_manuinfo.textfsm b/templates/hp_comware_display_device_manuinfo.textfsm new file mode 100644 index 0000000000..53c3494893 --- /dev/null +++ b/templates/hp_comware_display_device_manuinfo.textfsm @@ -0,0 +1,22 @@ +Value Filldown CHASSIS_ID (\d+) +Value Required SLOT_TYPE (Slot|Subslot|Fan|Power|Chassis) +Value SLOT_ID (\d+|self) +Value DEVICE_NAME (\S+) +Value DEVICE_SERIAL_NUMBER (\S+) +Value MANUFACTURING_DATE (\S+) +Value VENDOR_NAME (\S+) +Value MAC_ADDRESS (\S+) + + +Start + ^\s*Chassis\s+${CHASSIS_ID} + ^\s*${SLOT_TYPE}\s+${SLOT_ID} + ^\s*DEVICE_ID + ^\s*The\s+operation\s+is\s+not\s+supported\s+ -> Record Start + ^\s*DEVICE_NAME\s*:\s*${DEVICE_NAME} + ^\s*DEVICE_SERIAL_NUMBER\s*:\s*${DEVICE_SERIAL_NUMBER} + ^\s*MAC_ADDRESS\s*:\s*${MAC_ADDRESS} + ^\s*MANUFACTURING_DATE\s*:\s*${MANUFACTURING_DATE} + ^\s*VENDOR_NAME\s*:\s*${VENDOR_NAME} -> Record Start + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/hp_comware_display_ip_routing-table.textfsm b/templates/hp_comware_display_ip_routing-table.textfsm new file mode 100644 index 0000000000..b648cbcb57 --- /dev/null +++ b/templates/hp_comware_display_ip_routing-table.textfsm @@ -0,0 +1,19 @@ +Value Filldown NETWORK (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value Filldown MASK (\d{1,2}) +Value Filldown PROTOCAL (\w+) +Value Filldown DISTANCE (\d{1,3}) +Value Filldown METRIC (\d+) +Value Required NEXTHOP_IP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) +Value NEXTHOP_IF (\S+) + +Start + ^Destination\/Mask -> Routes + +Routes + ^${NETWORK}\/${MASK}\s+${PROTOCAL}\s+${DISTANCE}\s+${METRIC}\s+${NEXTHOP_IP}\s+${NEXTHOP_IF} -> Record + # for comware v7 ecmp + ^\s+${NEXTHOP_IP}\s+${NEXTHOP_IF} -> Record + # for comware v5 ecmp + ^\s+${PROTOCAL}\s+${DISTANCE}\s+${METRIC}\s+${NEXTHOP_IP}\s+${NEXTHOP_IF} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index b357df9e05..3d81e76da1 100644 --- a/templates/index +++ b/templates/index @@ -339,6 +339,8 @@ fortinet_fortios_get_system_status.textfsm, .*, fortinet_fortios, [[g]]et [[s]]y hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] +hp_comware_display_ip_routing-table.textfsm, .*, hp_comware, di[[splay]] ip r[[outing-table]] +hp_comware_display_device_manuinfo.textfsm, .*, hp_comware, di[[splay]] dev[[ice]] m[[anuinfo]] hp_comware_display_ip_interface.textfsm, .*, hp_comware, dis[[play]] ip i[[nterface]] hp_comware_display_mac-address.textfsm, .*, hp_comware, di[[splay]] mac-ad[[dress]] hp_comware_display_vlan_brief.textfsm, .*, hp_comware, di[[splay]] v[[lan]] b[[rief]] diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.raw b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.raw new file mode 100644 index 0000000000..6b879f130c --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.raw @@ -0,0 +1,96 @@ + + Chassis 1 +Chassis self + DEVICE_NAME : LS-12511-X-AC + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-355F + MANUFACTURING_DATE : 2014-06-13 + VENDOR_NAME : H3C + + Slot 0 + DEVICE_NAME : LSXM1TGS24EB1 + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-D46C + MANUFACTURING_DATE : 2014-05-03 + VENDOR_NAME : H3C + + Slot 2 + DEVICE_NAME : LSXM1TGS24EB1 + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-D4FC + MANUFACTURING_DATE : 2014-05-03 + VENDOR_NAME : H3C + +Fan 1 + DEVICE_NAME : LSXM110FAN + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : NONE + MANUFACTURING_DATE : 2014-06-14 + VENDOR_NAME : H3C + +Fan 2 + DEVICE_NAME : LSXM110FAN + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : NONE + MANUFACTURING_DATE : 2014-06-14 + VENDOR_NAME : H3C + +Power 1 + DEVICE_NAME : LSTM2PSRA + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MANUFACTURING_DATE : 2014-06-10 + VENDOR_NAME : H3C + +Power 2 + DEVICE_NAME : LSTM2PSRA + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MANUFACTURING_DATE : 2014-05-23 + VENDOR_NAME : H3C + + Chassis 2 +Chassis self + DEVICE_NAME : LS-12511-X-AC + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-355F + MANUFACTURING_DATE : 2014-06-13 + VENDOR_NAME : H3C + + Slot 0 + DEVICE_NAME : LSXM1TGS24EB1 + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-D46C + MANUFACTURING_DATE : 2014-05-03 + VENDOR_NAME : H3C + + Slot 2 + DEVICE_NAME : LSXM1TGS24EB1 + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : AAAA-AAAA-D4FC + MANUFACTURING_DATE : 2014-05-03 + VENDOR_NAME : H3C + +Fan 1 + DEVICE_NAME : LSXM110FAN + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : NONE + MANUFACTURING_DATE : 2014-06-14 + VENDOR_NAME : H3C + +Fan 2 + DEVICE_NAME : LSXM110FAN + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MAC_ADDRESS : NONE + MANUFACTURING_DATE : 2014-06-14 + VENDOR_NAME : H3C + +Power 1 + DEVICE_NAME : LSTM2PSRA + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MANUFACTURING_DATE : 2014-06-10 + VENDOR_NAME : H3C + +Power 2 + DEVICE_NAME : LSTM2PSRA + DEVICE_SERIAL_NUMBER : 11111111111111110000 + MANUFACTURING_DATE : 2014-05-23 + VENDOR_NAME : H3C \ No newline at end of file diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.yml b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.yml new file mode 100644 index 0000000000..65c777d2f9 --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo.yml @@ -0,0 +1,114 @@ +--- +parsed_sample: + - chassis_id: "1" + slot_type: "Chassis" + slot_id: "self" + device_name: "LS-12511-X-AC" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-13" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-355F" + - chassis_id: "1" + slot_type: "Slot" + slot_id: "0" + device_name: "LSXM1TGS24EB1" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-03" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-D46C" + - chassis_id: "1" + slot_type: "Slot" + slot_id: "2" + device_name: "LSXM1TGS24EB1" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-03" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-D4FC" + - chassis_id: "1" + slot_type: "Fan" + slot_id: "1" + device_name: "LSXM110FAN" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-14" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "1" + slot_type: "Fan" + slot_id: "2" + device_name: "LSXM110FAN" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-14" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "1" + slot_type: "Power" + slot_id: "1" + device_name: "LSTM2PSRA" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-10" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "1" + slot_type: "Power" + slot_id: "2" + device_name: "LSTM2PSRA" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-23" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "2" + slot_type: "Chassis" + slot_id: "self" + device_name: "LS-12511-X-AC" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-13" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-355F" + - chassis_id: "2" + slot_type: "Slot" + slot_id: "0" + device_name: "LSXM1TGS24EB1" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-03" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-D46C" + - chassis_id: "2" + slot_type: "Slot" + slot_id: "2" + device_name: "LSXM1TGS24EB1" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-03" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-D4FC" + - chassis_id: "2" + slot_type: "Fan" + slot_id: "1" + device_name: "LSXM110FAN" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-14" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "2" + slot_type: "Fan" + slot_id: "2" + device_name: "LSXM110FAN" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-14" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "2" + slot_type: "Power" + slot_id: "1" + device_name: "LSTM2PSRA" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-06-10" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "2" + slot_type: "Power" + slot_id: "2" + device_name: "LSTM2PSRA" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-05-23" + vendor_name: "H3C" + mac_address: "" diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.raw b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.raw new file mode 100644 index 0000000000..b2c22fa9fe --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.raw @@ -0,0 +1,39 @@ + +Slot 0: +DEVICE_NAME : SPC-GP48L +DEVICE_SERIAL_NUMBER : 11111111111111110000 +MAC_ADDRESS : NONE +MANUFACTURING_DATE : 2014-01-01 +VENDOR_NAME : H3C + +Slot 1: +DEVICE_NAME : SPC-GT48L +DEVICE_SERIAL_NUMBER : 11111111111111110000 +MAC_ADDRESS : NONE +MANUFACTURING_DATE : 2014-04-10 +VENDOR_NAME : H3C + + +DEVICE_NAME:Simware +DEVICE_SERIAL_NUMBER:DPPMWWB76 +MAC_ADDRESS:54-69-d3-24-04-00 +MANUFACTURING_DATE:2014-7-16 +VENDOR_NAME:H3C +Subslot 1: +The operation is not supported on the specified slot or subslot. +Subslot 2: +The operation is not supported on the specified slot or subslot. +Subslot 3: +DEVICE_NAME:Simware-test-data +DEVICE_SERIAL_NUMBER:DPPMWWB76 +MAC_ADDRESS:54-69-d3-24-04-00 +MANUFACTURING_DATE:2014-7-16 +VENDOR_NAME:H3C +Subslot 4: +The operation is not supported on the specified slot or subslot. +Power 1: +DEVICE_ID:Power ID:1 +DEVICE_NAME:Simware +DEVICE_SERIAL_NUMBER:DPPMWWB76 +MANUFACTURING_DATE:2014-7-16 +VENDOR_NAME:H3C \ No newline at end of file diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.yml b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.yml new file mode 100644 index 0000000000..856dfe5d19 --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo1.yml @@ -0,0 +1,58 @@ +--- +parsed_sample: + - chassis_id: "" + slot_type: "Slot" + slot_id: "0" + device_name: "SPC-GP48L" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-01-01" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "" + slot_type: "Slot" + slot_id: "1" + device_name: "SPC-GT48L" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-04-10" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "" + slot_type: "Subslot" + slot_id: "1" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Subslot" + slot_id: "2" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Subslot" + slot_id: "3" + device_name: "Simware-test-data" + device_serial_number: "DPPMWWB76" + manufacturing_date: "2014-7-16" + vendor_name: "H3C" + mac_address: "54-69-d3-24-04-00" + - chassis_id: "" + slot_type: "Subslot" + slot_id: "4" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "1" + device_name: "Simware" + device_serial_number: "DPPMWWB76" + manufacturing_date: "2014-7-16" + vendor_name: "H3C" + mac_address: "" diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.raw b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.raw new file mode 100644 index 0000000000..e9d8789061 --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.raw @@ -0,0 +1,66 @@ + +Slot 1: +DEVICE_NAME : S5500-52C-EI +DEVICE_SERIAL_NUMBER : 11111111111111111111 +MAC_ADDRESS : AAAA-AAAA-1111 +MANUFACTURING_DATE : 2010-00-00 +VENDOR_NAME : H3C + + + Slot 1 CPU 0: +DEVICE_NAME : S5560-54C-EI +DEVICE_SERIAL_NUMBER : 11111111111111112222 +MAC_ADDRESS : AAAA-AAAA-2222 +MANUFACTURING_DATE : 2018-07-12 +VENDOR_NAME : H3C +Fan 1: +The operation is not supported on the specified fan. +Fan 2: +The operation is not supported on the specified fan. +Power 1: +DEVICE_NAME : LSPM2150A +DEVICE_SERIAL_NUMBER : 11111111111111113333 +MANUFACTURING_DATE : 2018-07-14 +VENDOR_NAME : H3C + + + Slot 1 CPU 0: +DEVICE_NAME : S5560-54C-EI +DEVICE_SERIAL_NUMBER : 11111111111111114444 +MAC_ADDRESS : AAAA-AAAA-222F +MANUFACTURING_DATE : 2017-07-28 +VENDOR_NAME : H3C +Fan 1: +The operation is not supported on the specified fan. +Fan 2: +The operation is not supported on the specified fan. +Power 1: +DEVICE_NAME : LSPM2150A +DEVICE_SERIAL_NUMBER : 11111111111111115555 +MANUFACTURING_DATE : 2016-08-29 +VENDOR_NAME : H3C +Power 2: +DEVICE_NAME : LSPM2150A +DEVICE_SERIAL_NUMBER : 11111111111111117777 +MANUFACTURING_DATE : 2015-05-07 +VENDOR_NAME : H3C + Slot 2 CPU 0: +DEVICE_NAME : S5560-54C-EI +DEVICE_SERIAL_NUMBER : 11111111111111118888 +MAC_ADDRESS : AAAA-AAAA-222C +MANUFACTURING_DATE : 2017-07-25 +VENDOR_NAME : H3C +Fan 1: +The operation is not supported on the specified fan. +Fan 2: +The operation is not supported on the specified fan. +Power 1: +DEVICE_NAME : LSPM2150A +DEVICE_SERIAL_NUMBER : 11111111111111119999 +MANUFACTURING_DATE : 2016-08-29 +VENDOR_NAME : H3C +Power 2: +DEVICE_NAME : LSPM2150A +DEVICE_SERIAL_NUMBER : 11111111111111110000 +MANUFACTURING_DATE : 2015-05-07 +VENDOR_NAME : H3C \ No newline at end of file diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.yml b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.yml new file mode 100644 index 0000000000..6d585e3feb --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo2.yml @@ -0,0 +1,122 @@ +--- +parsed_sample: + - chassis_id: "" + slot_type: "Slot" + slot_id: "1" + device_name: "S5500-52C-EI" + device_serial_number: "11111111111111111111" + manufacturing_date: "2010-00-00" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-1111" + - chassis_id: "" + slot_type: "Slot" + slot_id: "1" + device_name: "S5560-54C-EI" + device_serial_number: "11111111111111112222" + manufacturing_date: "2018-07-12" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-2222" + - chassis_id: "" + slot_type: "Fan" + slot_id: "1" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Fan" + slot_id: "2" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "1" + device_name: "LSPM2150A" + device_serial_number: "11111111111111113333" + manufacturing_date: "2018-07-14" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "" + slot_type: "Slot" + slot_id: "1" + device_name: "S5560-54C-EI" + device_serial_number: "11111111111111114444" + manufacturing_date: "2017-07-28" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-222F" + - chassis_id: "" + slot_type: "Fan" + slot_id: "1" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Fan" + slot_id: "2" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "1" + device_name: "LSPM2150A" + device_serial_number: "11111111111111115555" + manufacturing_date: "2016-08-29" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "2" + device_name: "LSPM2150A" + device_serial_number: "11111111111111117777" + manufacturing_date: "2015-05-07" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "" + slot_type: "Slot" + slot_id: "2" + device_name: "S5560-54C-EI" + device_serial_number: "11111111111111118888" + manufacturing_date: "2017-07-25" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-222C" + - chassis_id: "" + slot_type: "Fan" + slot_id: "1" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Fan" + slot_id: "2" + device_name: "" + device_serial_number: "" + manufacturing_date: "" + vendor_name: "" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "1" + device_name: "LSPM2150A" + device_serial_number: "11111111111111119999" + manufacturing_date: "2016-08-29" + vendor_name: "H3C" + mac_address: "" + - chassis_id: "" + slot_type: "Power" + slot_id: "2" + device_name: "LSPM2150A" + device_serial_number: "11111111111111110000" + manufacturing_date: "2015-05-07" + vendor_name: "H3C" + mac_address: "" diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.raw b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.raw new file mode 100644 index 0000000000..d49c140155 --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.raw @@ -0,0 +1,22 @@ + +Slot 0: +DEVICE_NAME:RT-FIP-240 +DEVICE_SERIAL_NUMBER:11111111111111110000 +MAC_ADDRESS:AAAA-AAAA-7644 +MANUFACTURING_DATE:2015-10-31 +VENDOR_NAME:H3C + +Subslot 1: +DEVICE_NAME:HIM-CL1P +DEVICE_SERIAL_NUMBER:11111111111111110000 +MAC_ADDRESS:NONE +MANUFACTURING_DATE:2014-6-10 +VENDOR_NAME:H3C + + +Slot 2: +DEVICE_NAME:RT-FIP-240 +DEVICE_SERIAL_NUMBER:210231A2MGB15A000075 +MAC_ADDRESS:AAAA-AAAA-766E +MANUFACTURING_DATE:2015-10-31 +VENDOR_NAME:H3C \ No newline at end of file diff --git a/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.yml b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.yml new file mode 100644 index 0000000000..97ffaa17e8 --- /dev/null +++ b/tests/hp_comware/display_device_manuinfo/hp_comware_display_device_manuinfo3.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - chassis_id: "" + slot_type: "Slot" + slot_id: "0" + device_name: "RT-FIP-240" + device_serial_number: "11111111111111110000" + manufacturing_date: "2015-10-31" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-7644" + - chassis_id: "" + slot_type: "Subslot" + slot_id: "1" + device_name: "HIM-CL1P" + device_serial_number: "11111111111111110000" + manufacturing_date: "2014-6-10" + vendor_name: "H3C" + mac_address: "NONE" + - chassis_id: "" + slot_type: "Slot" + slot_id: "2" + device_name: "RT-FIP-240" + device_serial_number: "210231A2MGB15A000075" + manufacturing_date: "2015-10-31" + vendor_name: "H3C" + mac_address: "AAAA-AAAA-766E" diff --git a/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.raw b/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.raw new file mode 100644 index 0000000000..9238f59c39 --- /dev/null +++ b/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.raw @@ -0,0 +1,36 @@ +dis ip routing-table + +Destinations : 17604 Routes : 28601 + +Destination/Mask Proto Pre Cost NextHop Interface +0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 +9.72.47.0/24 OSPF 150 1 172.16.43.2 Vlan1600 + 172.16.43.6 Vlan1601 +10.1.0.0/16 OSPF 10 14 172.16.43.2 Vlan1600 + 172.16.43.6 Vlan1601 +10.1.14.0/24 Static 60 0 172.16.39.2 Vlan1920 +0.0.0.0/0 Static 60 0 192.168.56.1 GE0/1 +1.1.1.0/24 Static 60 0 192.168.56.1 GE0/1 + 192.168.56.2 GE0/2 + 192.168.56.3 GE0/3 +127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0 +127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 +127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0 +127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0 +192.168.56.0/24 Direct 0 0 192.168.56.101 GE0/1 +192.168.56.0/32 Direct 0 0 192.168.56.101 GE0/1 +192.168.56.101/32 Direct 0 0 127.0.0.1 InLoop0 +192.168.56.255/32 Direct 0 0 192.168.56.101 GE0/1 +224.0.0.0/4 Direct 0 0 0.0.0.0 NULL0 +224.0.0.0/24 Direct 0 0 0.0.0.0 NULL0 +255.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0 +9.72.47.0/24 BGP 130 0 172.16.42.221 GE0/0/9 + BGP 130 0 172.16.42.229 GE0/0/10 +10.1.0.0/16 OSPF 10 13 172.16.43.82 GE0/0/45 +10.1.14.0/24 O_ASE 150 1 172.16.43.1 RAGG40 +10.1.208.0/20 O_ASE 150 1 172.16.43.82 GE0/0/45 +10.210.0.0/16 BGP 130 0 10.6.12.106 GE9/1/3.1132 +10.210.4.0/24 BGP 130 0 172.16.42.221 GE0/0/9 + BGP 130 0 172.16.42.229 GE0/0/10 +10.210.4.201/32 O_ASE 150 1 172.16.43.10 RAGG44 +10.211.0.0/16 BGP 130 0 10.6.12.86 GE9/1/1.1114 diff --git a/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml b/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml new file mode 100644 index 0000000000..dfd6a64cb7 --- /dev/null +++ b/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml @@ -0,0 +1,219 @@ +--- +parsed_sample: + - network: "0.0.0.0" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "9.72.47.0" + mask: "24" + protocal: "OSPF" + distance: "150" + metric: "1" + nexthop_ip: "172.16.43.2" + nexthop_if: "Vlan1600" + - network: "9.72.47.0" + mask: "24" + protocal: "OSPF" + distance: "150" + metric: "1" + nexthop_ip: "172.16.43.6" + nexthop_if: "Vlan1601" + - network: "10.1.0.0" + mask: "16" + protocal: "OSPF" + distance: "10" + metric: "14" + nexthop_ip: "172.16.43.2" + nexthop_if: "Vlan1600" + - network: "10.1.0.0" + mask: "16" + protocal: "OSPF" + distance: "10" + metric: "14" + nexthop_ip: "172.16.43.6" + nexthop_if: "Vlan1601" + - network: "10.1.14.0" + mask: "24" + protocal: "Static" + distance: "60" + metric: "0" + nexthop_ip: "172.16.39.2" + nexthop_if: "Vlan1920" + - network: "0.0.0.0" + mask: "0" + protocal: "Static" + distance: "60" + metric: "0" + nexthop_ip: "192.168.56.1" + nexthop_if: "GE0/1" + - network: "1.1.1.0" + mask: "24" + protocal: "Static" + distance: "60" + metric: "0" + nexthop_ip: "192.168.56.1" + nexthop_if: "GE0/1" + - network: "1.1.1.0" + mask: "24" + protocal: "Static" + distance: "60" + metric: "0" + nexthop_ip: "192.168.56.2" + nexthop_if: "GE0/2" + - network: "1.1.1.0" + mask: "24" + protocal: "Static" + distance: "60" + metric: "0" + nexthop_ip: "192.168.56.3" + nexthop_if: "GE0/3" + - network: "127.0.0.0" + mask: "8" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "127.0.0.0" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "127.0.0.1" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "127.255.255.255" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "192.168.56.0" + mask: "24" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "192.168.56.101" + nexthop_if: "GE0/1" + - network: "192.168.56.0" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "192.168.56.101" + nexthop_if: "GE0/1" + - network: "192.168.56.101" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "192.168.56.255" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "192.168.56.101" + nexthop_if: "GE0/1" + - network: "224.0.0.0" + mask: "4" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "0.0.0.0" + nexthop_if: "NULL0" + - network: "224.0.0.0" + mask: "24" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "0.0.0.0" + nexthop_if: "NULL0" + - network: "255.255.255.255" + mask: "32" + protocal: "Direct" + distance: "0" + metric: "0" + nexthop_ip: "127.0.0.1" + nexthop_if: "InLoop0" + - network: "9.72.47.0" + mask: "24" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "172.16.42.221" + nexthop_if: "GE0/0/9" + - network: "9.72.47.0" + mask: "24" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "172.16.42.229" + nexthop_if: "GE0/0/10" + - network: "10.1.0.0" + mask: "16" + protocal: "OSPF" + distance: "10" + metric: "13" + nexthop_ip: "172.16.43.82" + nexthop_if: "GE0/0/45" + - network: "10.1.14.0" + mask: "24" + protocal: "O_ASE" + distance: "150" + metric: "1" + nexthop_ip: "172.16.43.1" + nexthop_if: "RAGG40" + - network: "10.1.208.0" + mask: "20" + protocal: "O_ASE" + distance: "150" + metric: "1" + nexthop_ip: "172.16.43.82" + nexthop_if: "GE0/0/45" + - network: "10.210.0.0" + mask: "16" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "10.6.12.106" + nexthop_if: "GE9/1/3.1132" + - network: "10.210.4.0" + mask: "24" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "172.16.42.221" + nexthop_if: "GE0/0/9" + - network: "10.210.4.0" + mask: "24" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "172.16.42.229" + nexthop_if: "GE0/0/10" + - network: "10.210.4.201" + mask: "32" + protocal: "O_ASE" + distance: "150" + metric: "1" + nexthop_ip: "172.16.43.10" + nexthop_if: "RAGG44" + - network: "10.211.0.0" + mask: "16" + protocal: "BGP" + distance: "130" + metric: "0" + nexthop_ip: "10.6.12.86" + nexthop_if: "GE9/1/1.1114" From 08572906ec5861d89b1211dfbaff2dc82784d594 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 30 Apr 2020 16:45:08 -0600 Subject: [PATCH 418/628] BugFix: cisco_ios_show_ip_interface - Account for Internet address that is negotiated (#670) --- templates/cisco_ios_show_ip_interface.textfsm | 1 + .../cisco_ios_show_ip_interface5.raw | 4 ++++ .../cisco_ios_show_ip_interface5.yml | 12 ++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.raw create mode 100644 tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml diff --git a/templates/cisco_ios_show_ip_interface.textfsm b/templates/cisco_ios_show_ip_interface.textfsm index 31cc37548d..b3bc1803e4 100644 --- a/templates/cisco_ios_show_ip_interface.textfsm +++ b/templates/cisco_ios_show_ip_interface.textfsm @@ -14,6 +14,7 @@ Start ^\S -> Continue.Record ^${INTF}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}\s*$$ ^\s+Internet\s+address\s+is\s+${IPADDR}/?${MASK}\s*$$ + ^\s+Internet\s+address\s+will\s+be\s+negotiated ^\s+Secondary\s+address\s+${IPADDR}/?${MASK}\s*$$ ^.+VPN\s+Routing/Forwarding\s+"${VRF}" ^\s+MTU\s+is\s+${MTU}\s+bytes diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.raw b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.raw new file mode 100644 index 0000000000..2e356fbf49 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.raw @@ -0,0 +1,4 @@ +Tunnel500 is up, line protocol is down + Internet address will be negotiated using IKEv2 Modeconfig + Broadcast address is 255.255.255.255 + MTU is 1456 bytes diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml new file mode 100644 index 0000000000..1b9148aea7 --- /dev/null +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - intf: "Tunnel500" + link_status: "up" + protocol_status: "down" + ipaddr: [] + mask: [] + vrf: "" + mtu: "1456" + ip_helper: [] + outgoing_acl: "" + inbound_acl: "" From 8cb73c51ea54f4615864709cd185409b0045c47c Mon Sep 17 00:00:00 2001 From: Kirk Byers Date: Fri, 1 May 2020 13:38:56 -0700 Subject: [PATCH 419/628] Remove "terminal" dependency (#672) * Eliminate terminal dependency * Fix imports to use only textfsm >=1.1 --- lib/ntc_templates/parse.py | 6 +----- setup.py | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/ntc_templates/parse.py b/lib/ntc_templates/parse.py index b03c524936..33e1466a5b 100644 --- a/lib/ntc_templates/parse.py +++ b/lib/ntc_templates/parse.py @@ -1,10 +1,6 @@ """ntc_templates.parse.""" import os - -try: - from textfsm import clitable -except ImportError: - import clitable +from textfsm import clitable def _get_template_dir(): diff --git a/setup.py b/setup.py index 4625d1d9c3..467382e0df 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ "author": "network.toCode()", "author_email": "info@networktocode.com", "url": "https://github.com/networktocode/ntc-templates", - "install_requires": ["textfsm", "terminal"], + "install_requires": ["textfsm>=1.1.0"], "extras_require": {"dev": ["pytest", "PyYAML", "black", "yamllint", "ruamel.yaml"]}, "classifiers": [ "Development Status :: 4 - Beta", From a6a6528c03bbba3d05b26884368ca517d73fee5c Mon Sep 17 00:00:00 2001 From: Marcus Butler <33135168+mtbutler07@users.noreply.github.com> Date: Fri, 1 May 2020 15:58:39 -0500 Subject: [PATCH 420/628] Enhancement: IOS Show Interface - Add CRC and Abort captures (#673) Thanks @mtbutler07 --- templates/cisco_ios_show_interfaces.textfsm | 5 +- .../cisco_ios_show_interfaces.yml | 18 ++- .../cisco_ios_show_interfaces2.yml | 112 ++++++++++++++++++ .../cisco_ios_show_interfaces3.yml | 38 +++++- 4 files changed, 166 insertions(+), 7 deletions(-) diff --git a/templates/cisco_ios_show_interfaces.textfsm b/templates/cisco_ios_show_interfaces.textfsm index a01f22e8cc..589779913b 100644 --- a/templates/cisco_ios_show_interfaces.textfsm +++ b/templates/cisco_ios_show_interfaces.textfsm @@ -21,6 +21,8 @@ Value OUTPUT_RATE (\d+) Value INPUT_PACKETS (\d+) Value OUTPUT_PACKETS (\d+) Value INPUT_ERRORS (\d+) +Value CRC (\d+) +Value ABORT (\d+) Value OUTPUT_ERRORS (\d+) Start @@ -38,7 +40,8 @@ Start ^.*input\s+rate\s+${INPUT_RATE}.+$$ ^.*output\s+rate\s+${OUTPUT_RATE}.+$$ ^\s+${INPUT_PACKETS}\s+packets\s+input,\s+\d+\s+bytes,\s+\d+\s+no\s+buffer\s*$$ - ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+\d+\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored\s*$$ + ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored\s*$$ + ^\s+${INPUT_ERRORS}\s+input\s+errors,\s+${CRC}\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored,\s+${ABORT}\s+abort\s*$$ ^\s+${OUTPUT_PACKETS}\s+packets\s+output,\s+\d+\s+bytes,\s+\d+\s+underruns\s*$$ ^\s+${OUTPUT_ERRORS}\s+output\s+errors,\s+\d+\s+collisions,\s+\d+\s+interface\s+resets\s*$$ # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml index 94c59902b1..5e9480ecbd 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml @@ -9,6 +9,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "iGbE" input_errors: "0" + abort: "" + crc: "0" input_packets: "324" input_rate: "0" interface: "GigabitEthernet0/0" @@ -33,6 +35,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "iGbE" input_errors: "0" + abort: "" + crc: "0" input_packets: "83" input_rate: "0" interface: "GigabitEthernet0/1" @@ -57,6 +61,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "iGbE" input_errors: "0" + abort: "" + crc: "0" input_packets: "8677" input_rate: "0" interface: "GigabitEthernet0/2" @@ -81,6 +87,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "iGbE" input_errors: "0" + abort: "" + crc: "0" input_packets: "8638" input_rate: "0" interface: "GigabitEthernet0/3" @@ -105,6 +113,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "iGbE" input_errors: "0" + abort: "" + crc: "0" input_packets: "8627" input_rate: "0" interface: "GigabitEthernet1/0" @@ -129,6 +139,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "EtherChannel" input_errors: "0" + abort: "" + crc: "0" input_packets: "85" input_rate: "0" interface: "Port-channel1" @@ -152,7 +164,9 @@ parsed_sample: duplex: "" encapsulation: "LOOPBACK" hardware_type: "Loopback" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "0" input_rate: "0" interface: "Loopback0" @@ -177,6 +191,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Ethernet SVI" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "Vlan1" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml index 66a60a8fee..3d742e1282 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml @@ -9,6 +9,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "EtherSVI" input_errors: "0" + abort: "" + crc: "0" input_packets: "37453340" input_rate: "0" interface: "Vlan1" @@ -33,6 +35,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "EtherSVI" input_errors: "0" + abort: "" + crc: "0" input_packets: "3772" input_rate: "0" interface: "Vlan50" @@ -57,6 +61,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "EtherSVI" input_errors: "0" + abort: "" + crc: "0" input_packets: "6313297" input_rate: "2000" interface: "Vlan100" @@ -81,6 +87,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "EtherSVI" input_errors: "0" + abort: "" + crc: "0" input_packets: "7881502" input_rate: "0" interface: "Vlan254" @@ -105,6 +113,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "1" + abort: "" + crc: "0" input_packets: "8647579827" input_rate: "182000" interface: "FastEthernet1/0/1" @@ -129,6 +139,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "86697408651" input_rate: "38882000" interface: "FastEthernet1/0/2" @@ -153,6 +165,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "233361378" input_rate: "0" interface: "FastEthernet1/0/3" @@ -177,6 +191,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/4" @@ -201,6 +217,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/5" @@ -225,6 +243,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/6" @@ -249,6 +269,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/7" @@ -273,6 +295,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/8" @@ -297,6 +321,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "86293954347" input_rate: "38871000" interface: "FastEthernet1/0/9" @@ -321,6 +347,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "85011546" input_rate: "0" interface: "FastEthernet1/0/10" @@ -345,6 +373,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "13503663" input_rate: "0" interface: "FastEthernet1/0/11" @@ -369,6 +399,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "566684" input_rate: "0" interface: "FastEthernet1/0/12" @@ -393,6 +425,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "5093298" input_rate: "0" interface: "FastEthernet1/0/13" @@ -417,6 +451,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "4381776" input_rate: "0" interface: "FastEthernet1/0/14" @@ -441,6 +477,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "6095906" input_rate: "0" interface: "FastEthernet1/0/15" @@ -465,6 +503,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "3048741" input_rate: "0" interface: "FastEthernet1/0/16" @@ -489,6 +529,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "515815" input_rate: "0" interface: "FastEthernet1/0/17" @@ -513,6 +555,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "56335" input_rate: "0" interface: "FastEthernet1/0/18" @@ -537,6 +581,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "2154038" input_rate: "0" interface: "FastEthernet1/0/19" @@ -561,6 +607,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "2238092" input_rate: "0" interface: "FastEthernet1/0/20" @@ -585,6 +633,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "1" + abort: "" + crc: "0" input_packets: "4942593" input_rate: "0" interface: "FastEthernet1/0/21" @@ -609,6 +659,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "1" + abort: "" + crc: "0" input_packets: "6201152" input_rate: "0" interface: "FastEthernet1/0/22" @@ -633,6 +685,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/23" @@ -657,6 +711,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "2397801" input_rate: "0" interface: "FastEthernet1/0/24" @@ -681,6 +737,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/25" @@ -705,6 +763,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/26" @@ -729,6 +789,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "288816" input_rate: "0" interface: "FastEthernet1/0/27" @@ -753,6 +815,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "2" + abort: "" + crc: "1" input_packets: "295313" input_rate: "0" interface: "FastEthernet1/0/28" @@ -777,6 +841,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "28898" + abort: "" + crc: "14167" input_packets: "39214781" input_rate: "1000" interface: "FastEthernet1/0/29" @@ -801,6 +867,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "4811284" input_rate: "0" interface: "FastEthernet1/0/30" @@ -825,6 +893,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "2255624" input_rate: "0" interface: "FastEthernet1/0/31" @@ -849,6 +919,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "5743877" input_rate: "0" interface: "FastEthernet1/0/32" @@ -873,6 +945,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "1" + abort: "" + crc: "0" input_packets: "11086568" input_rate: "0" interface: "FastEthernet1/0/33" @@ -897,6 +971,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "1071483" input_rate: "0" interface: "FastEthernet1/0/34" @@ -921,6 +997,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "252774135" input_rate: "3000" interface: "FastEthernet1/0/35" @@ -945,6 +1023,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "30561744" input_rate: "0" interface: "FastEthernet1/0/36" @@ -969,6 +1049,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "23" input_rate: "0" interface: "FastEthernet1/0/37" @@ -993,6 +1075,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/38" @@ -1017,6 +1101,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/39" @@ -1041,6 +1127,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/40" @@ -1065,6 +1153,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/41" @@ -1089,6 +1179,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/42" @@ -1113,6 +1205,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "33944" input_rate: "0" interface: "FastEthernet1/0/43" @@ -1137,6 +1231,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/44" @@ -1161,6 +1257,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "1103" input_rate: "0" interface: "FastEthernet1/0/45" @@ -1185,6 +1283,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/46" @@ -1209,6 +1309,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "FastEthernet1/0/47" @@ -1233,6 +1335,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Fast Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "8407299374" input_rate: "180000" interface: "FastEthernet1/0/48" @@ -1257,6 +1361,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Gigabit Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "GigabitEthernet1/0/1" @@ -1281,6 +1387,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Gigabit Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "GigabitEthernet1/0/2" @@ -1305,6 +1413,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Gigabit Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "GigabitEthernet1/0/3" @@ -1329,6 +1439,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "Gigabit Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "GigabitEthernet1/0/4" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml index fc7f6469a8..d06de4f081 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml @@ -9,6 +9,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "MV96340 Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "338297234" input_rate: "95000" interface: "GigabitEthernet0/0" @@ -33,6 +35,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "MV96340 Ethernet" input_errors: "" + abort: "" + crc: "" input_packets: "" input_rate: "" interface: "GigabitEthernet0/0.6" @@ -57,6 +61,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "MV96340 Ethernet" input_errors: "" + abort: "" + crc: "" input_packets: "" input_rate: "" interface: "GigabitEthernet0/0.44" @@ -81,6 +87,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "MV96340 Ethernet" input_errors: "" + abort: "" + crc: "" input_packets: "" input_rate: "" interface: "GigabitEthernet0/0.188" @@ -105,6 +113,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "MV96340 Ethernet" input_errors: "" + abort: "" + crc: "" input_packets: "" input_rate: "" interface: "GigabitEthernet0/0.666" @@ -129,6 +139,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "MV96340 Ethernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "0" input_rate: "0" interface: "GigabitEthernet0/1" @@ -153,6 +165,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "FastEthernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "" input_rate: "96000" interface: "FastEthernet0/1/0" @@ -177,6 +191,8 @@ parsed_sample: encapsulation: "802.1Q Virtual LAN" hardware_type: "FastEthernet" input_errors: "" + abort: "" + crc: "" input_packets: "" input_rate: "" interface: "FastEthernet0/1/0.50" @@ -201,6 +217,8 @@ parsed_sample: encapsulation: "ARPA" hardware_type: "FastEthernet" input_errors: "0" + abort: "" + crc: "0" input_packets: "" input_rate: "0" interface: "FastEthernet0/1/1" @@ -224,7 +242,9 @@ parsed_sample: duplex: "" encapsulation: "LOOPBACK" hardware_type: "Loopback" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "2292" input_rate: "0" interface: "Loopback0" @@ -248,7 +268,9 @@ parsed_sample: duplex: "" encapsulation: "TUNNEL" hardware_type: "Tunnel" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "0" input_rate: "0" interface: "Tunnel0" @@ -272,7 +294,9 @@ parsed_sample: duplex: "" encapsulation: "TUNNEL" hardware_type: "Tunnel" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "0" input_rate: "0" interface: "Tunnel1" @@ -296,7 +320,9 @@ parsed_sample: duplex: "" encapsulation: "TUNNEL" hardware_type: "Tunnel" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "0" input_rate: "0" interface: "Tunnel2" @@ -320,7 +346,9 @@ parsed_sample: duplex: "" encapsulation: "TUNNEL" hardware_type: "Tunnel" - input_errors: "" + input_errors: "0" + abort: "0" + crc: "0" input_packets: "0" input_rate: "0" interface: "Tunnel3" From d89a4300f174860c4bd0164b53326c8311c68b68 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Sun, 3 May 2020 08:18:25 -0600 Subject: [PATCH 421/628] BugFix: arista_eos_show_ip_route: Accounting for new data for WARNING output & capture ecmp routes (#669) --- templates/arista_eos_show_ip_route.textfsm | 4 ++- .../arista_eos_show_ip_route3.raw | 16 ++++++++++ .../arista_eos_show_ip_route3.yml | 29 +++++++++++++++++++ 3 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.raw create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml diff --git a/templates/arista_eos_show_ip_route.textfsm b/templates/arista_eos_show_ip_route.textfsm index 5f868edd52..9123d6f09d 100644 --- a/templates/arista_eos_show_ip_route.textfsm +++ b/templates/arista_eos_show_ip_route.textfsm @@ -10,9 +10,11 @@ Value INTERFACE (\S+) Start ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ -> Record - ^\s+via\s+${NEXT_HOP},\s+${INTERFACE} + ^\s+via\s+${NEXT_HOP},\s+${INTERFACE} -> Record ^VRF\s+name:\s+${VRF}\s*$$ ^VRF:\s+${VRF}\s*$$ + ^WARNING + ^kernel ^Codes: # Match for codes ^\s+\S+\s+-\s+\S+ diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.raw b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.raw new file mode 100644 index 0000000000..b86ffdaca5 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.raw @@ -0,0 +1,16 @@ +VRF name: default +WARNING: Some of the routes are not programmed in +kernel, and they are marked with '%'. +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP, + R - RIP, I L1 - ISIS level 1, I L2 - ISIS level 2, + O3 - OSPFv3, A B - BGP Aggregate, A O - OSPF Summary, + NG - Nexthop Group Static Route, V - VXLAN Control Service + +Gateway of last resort: + O E1 0.0.0.0/0 [110/21] via 172.83.43.48, Vlan55 + via 172.83.43.50, Vlan65 + + S 10.1.26.0/24 [1/0] via 142.54.229.92, Vlan2503 diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml new file mode 100644 index 0000000000..2cda5b6c28 --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml @@ -0,0 +1,29 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "O E1" + network: "0.0.0.0" + mask: "0" + distance: "110" + metric: "21" + direct: "" + next_hop: "172.83.43.48" + interface: "Vlan55" + - vrf: "default" + protocol: "O E1" + network: "0.0.0.0" + mask: "0" + distance: "110" + metric: "21" + direct: "" + next_hop: "172.83.43.50" + interface: "Vlan65" + - vrf: "default" + protocol: "S" + network: "10.1.26.0" + mask: "24" + distance: "1" + metric: "0" + direct: "" + next_hop: "142.54.229.92" + interface: "Vlan2503" From 2645d720ebacc71a2af7f6a65ceeed446dcd1414 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 5 May 2020 07:10:49 -0600 Subject: [PATCH 422/628] BugFix: (IOS) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities (#684) --- ...isco_ios_show_cdp_neighbors_detail.textfsm | 8 ++++--- .../cisco_ios_show_cdp_neighbors_detail2.raw | 23 +++++++++++++++++++ .../cisco_ios_show_cdp_neighbors_detail2.yml | 10 ++++++++ 3 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.raw create mode 100644 tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.yml diff --git a/templates/cisco_ios_show_cdp_neighbors_detail.textfsm b/templates/cisco_ios_show_cdp_neighbors_detail.textfsm index bf4361cb53..95c72275df 100644 --- a/templates/cisco_ios_show_cdp_neighbors_detail.textfsm +++ b/templates/cisco_ios_show_cdp_neighbors_detail.textfsm @@ -4,12 +4,13 @@ Value PLATFORM (.*) Value REMOTE_PORT (.*) Value LOCAL_PORT (.*) Value SOFTWARE_VERSION (.*$) -Value CAPABILITIES (.*) +Value CAPABILITIES (.+?) Start ^Device ID: ${DESTINATION_HOST} ^Entry address\(es\)\s*:\s* -> ParseIP - ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES} + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES}\s+$$ + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES}$$ ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} ^Version : -> GetVersion # Capture time-stamp if vty line has command time-stamping turned on @@ -18,7 +19,8 @@ Start ParseIP ^.*IP address: ${MANAGEMENT_IP} -> Start - ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES} -> Start + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES}\s+$$ -> Start + ^Platform\s*:\s*${PLATFORM}\s*,\s*Capabilities\s*:\s*${CAPABILITIES}$$ -> Start ^.* -> Start GetVersion diff --git a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.raw b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.raw new file mode 100644 index 0000000000..20e1024af8 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.raw @@ -0,0 +1,23 @@ +Device ID: switchxxxxx +Entry address(es): + IP address: 1.1.1.1 +Platform: cisco WS-C3560X-24P, Capabilities: Switch IGMP +Interface: GigabitEthernet0/3, Port ID (outgoing port): GigabitEthernet0/8 +Holdtime : 154 sec + +Version : +Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 12.2(55)SE10, RELEASE SOFTWARE (fc2) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2015 by Cisco Systems, Inc. +Compiled Wed 11-Feb-15 11:28 by prod_rel_team + +advertisement version: 2 +Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF00000000000000C88BC41880FF0000 +VTP Management Domain: '' +Native VLAN: 1 +Duplex: full +Power Available TLV: + + Power request id: 0, Power management id: 1, Power available: 0, Power management level: -1 +Management address(es): + IP address: 1.1.1.1 diff --git a/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.yml b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.yml new file mode 100644 index 0000000000..a41866de2c --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors_detail/cisco_ios_show_cdp_neighbors_detail2.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - destination_host: "switchxxxxx" + management_ip: "1.1.1.1" + platform: "cisco WS-C3560X-24P" + remote_port: "GigabitEthernet0/8" + local_port: "GigabitEthernet0/3" + software_version: "Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M),\ + \ Version 12.2(55)SE10, RELEASE SOFTWARE (fc2)" + capabilities: "Switch IGMP" From d3c26e27582e6379d479aa4241fa68ffd6b74d72 Mon Sep 17 00:00:00 2001 From: sliddjur Date: Tue, 5 May 2020 22:18:00 +0200 Subject: [PATCH 423/628] New Template: hp_procurve_show_lldp_info_remote-device_detail.textfsm --- ...how_lldp_info_remote-device_detail.textfsm | 52 +++++ templates/index | 1 + ...ve_show_lldp_info_remote-device_detail.raw | 183 ++++++++++++++++++ ...ve_show_lldp_info_remote-device_detail.yml | 98 ++++++++++ 4 files changed, 334 insertions(+) create mode 100644 templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm create mode 100644 tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.raw create mode 100644 tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.yml diff --git a/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm b/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm new file mode 100644 index 0000000000..8d9cbe51ec --- /dev/null +++ b/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm @@ -0,0 +1,52 @@ +Value Required LOCAL_PORT (\S+) +Value NEIGHBOR_CHASSIS_TYPE (\S+) +Value NEIGHBOR_CHASSIS_ID ([a-f0-9]{6}-[a-f0-9]{6}|(?:[a-z0-9]{2}\s){5}[a-z0-9]{2}|\S+) +Value PORT_TYPE (\S+) +Value NEIGHBOR_PORTID (.*?) +Value NEIGHBOR_SYSNAME (.*?) +Value SYSTEM_DESCR (.*?) +Value PORT_DESCR (\S+|.*?) +Value PVID (\d+|.*?) +Value SYSTEM_CAPABILITIES_SUPPORTED (.*?) +Value SYSTEM_CAPABILITIES_ENABLED (.*?) +Value REMOTE_MANAGEMENT_ADDRESS (\S+|.*?) + +Start + ^\s*$$ + ^\s*LLDP\sRemote\sDevice\sInformation\sDetail -> LLDP + ^. -> Error + +LLDP + ^\s+Local\sPort\s+:\s${LOCAL_PORT}\s*$$ + ^\s+ChassisType\s+:\s${NEIGHBOR_CHASSIS_TYPE}\s*$$ + ^\s+ChassisId\s+:\s${NEIGHBOR_CHASSIS_ID}\s*$$ + ^\s+PortType\s+:\s${PORT_TYPE}\s*$$ + ^\s+PortId\s+:\s${NEIGHBOR_PORTID}\s*$$ + ^\s+SysName\s+:\s${NEIGHBOR_SYSNAME}\s*$$ + ^\s+System\sDescr\s:\s${SYSTEM_DESCR}\s*$$ + ^\s+PortDescr\s+:\s${PORT_DESCR}\s*$$ + ^\s+Pvid\s+:\s${PVID}\s*$$ + ^\s+System\s+Capabilities\s+Supported\s+:\s${SYSTEM_CAPABILITIES_SUPPORTED}\s*$$ + ^\s+System\s+Capabilities\s+Enabled\s+:\s${SYSTEM_CAPABILITIES_ENABLED}\s*$$ + ^\s+Remote\s+Management\s+Address\s*$$ + ^\s+Type.*$$ + ^\s+Address\s:\s${REMOTE_MANAGEMENT_ADDRESS} + ^\s+Poe\s+Plus\s+Information\s+Detail\s*$$ + ^\s+Poe\s+Device\s+Type.* + ^\s+Power\s+Source.* + ^\s+Power\s+Priority.* + ^\s+PD\s+Request\s+Power\s+Value.* + ^\s+PD\s+Requested\s+Power\s+Value.* + ^\s+Requested\s+Power\s+Value.* + ^\s+Actual\s+Power\s+Value.* + ^\s+PSE\s+Allocated\s+Power\s+Value.* + ^\s+MED\sInformation\sDetail\s*$$ + ^\s+EndpointClass.* + ^\s+Poe\s+Device\s+Type.* + ^\s+Power\s+Requested.* + ^\s+Power\s+Source.* + ^\s+Power\s+Priority.* + ^\s*$$ + ^\S+\#\s*$$ -> Record + ^\s*-*$$ -> Record + ^. -> Error diff --git a/templates/index b/templates/index index 3d81e76da1..12e049e690 100644 --- a/templates/index +++ b/templates/index @@ -347,6 +347,7 @@ hp_comware_display_vlan_brief.textfsm, .*, hp_comware, di[[splay]] v[[lan]] b[[r hp_comware_display_clock.textfsm, .*, hp_comware, di[[splay]] clo[[ck]] hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] +hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] .+ hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_system.textfsm, .*, hp_procurve, sh[[ow]] syst[[em]] diff --git a/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.raw b/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.raw new file mode 100644 index 0000000000..b6030a5ddb --- /dev/null +++ b/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.raw @@ -0,0 +1,183 @@ + + LLDP Remote Device Information Detail + + Local Port : 1 + ChassisType : mac-address + ChassisId : 3821c7-c1cd00 + PortType : local + PortId : 1 + SysName : 65432p-swi006-abcd-srvroom-4asd + System Descr : Aruba JL357A 2540-48G-PoE+-4SFP+ Switch, revision YC.16.0... + PortDescr : 1 + Pvid : 0 + + System Capabilities Supported : bridge, router + System Capabilities Enabled : bridge + + Remote Management Address + Type : ipv4 + Address : 192.168.130.100 + + Poe Plus Information Detail + + Poe Device Type : Type2 PSE + Power Source : Unknown + Power Priority : Unknown + PD Requested Power Value : 0.0 Watts + PSE Allocated Power Value : 0.0 Watts + +------------------------------------------------------------------------------ + Local Port : 3 + ChassisType : mac-address + ChassisId : 3ce1a1-2218f0 + PortType : mac-address + PortId : 3c e1 a1 22 18 f0 + SysName : + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : + System Capabilities Enabled : + + Remote Management Address + + MED Information Detail + EndpointClass :Class1 + +------------------------------------------------------------------------------ + Local Port : 7 + ChassisType : mac-address + ChassisId : bcf310-1f8b40 + PortType : interface-name + PortId : mgt0 + SysName : AH-cust-AP21 + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : bridge, wlan-access-point + System Capabilities Enabled : bridge, wlan-access-point + + Remote Management Address + Type : ipv4 + Address : 192.168.100.55 + + MED Information Detail + EndpointClass :Class1 + Poe Device Type :PD + Power Requested :17.5 W + Power Source :From PSE + Power Priority :Critical + + Poe Plus Information Detail + + Poe Device Type : Type2 PD + Power Source : Unknown + Power Priority : Critical + PD Requested Power Value : 17.5 Watts + PSE Allocated Power Value : 17.5 Watts + +------------------------------------------------------------------------------ + Local Port : 25 + ChassisType : mac-address + ChassisId : d8cb8a-6d303c + PortType : mac-address + PortId : d8 cb 8a 6d 30 3c + SysName : + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : + System Capabilities Enabled : + + Remote Management Address + + MED Information Detail + EndpointClass :Class1 + +------------------------------------------------------------------------------ + Local Port : 29 + ChassisType : mac-address + ChassisId : 484d7e-e66c42 + PortType : mac-address + PortId : 48 4d 7e e6 6c 42 + SysName : + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : + System Capabilities Enabled : + + Remote Management Address + + MED Information Detail + EndpointClass :Class1 + +------------------------------------------------------------------------------ + Local Port : 36 + ChassisType : mac-address + ChassisId : 603197-7aa548 + PortType : local + PortId : 1 + SysName : NAP203 + System Descr : ZLD 6.00(###.8)B1 (cannon) + PortDescr : UPLINK + Pvid : + + System Capabilities Supported : bridge, wlan-access-point, router + System Capabilities Enabled : bridge, wlan-access-point, router + + Remote Management Address + Type : ipv4 + Address : 192.168.100.50 + + Poe Plus Information Detail + + Poe Device Type : Type2 PD + Power Source : Unknown + Power Priority : High + PD Requested Power Value : 16.0 Watts + PSE Allocated Power Value : 16.0 Watts + +------------------------------------------------------------------------------ + Local Port : 37 + ChassisType : mac-address + ChassisId : b00cd1-359a98 + PortType : mac-address + PortId : b0 0c d1 35 9a 98 + SysName : + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : + System Capabilities Enabled : + + Remote Management Address + + MED Information Detail + EndpointClass :Class1 + +------------------------------------------------------------------------------ + Local Port : 42 + ChassisType : mac-address + ChassisId : d8cb8a-894644 + PortType : mac-address + PortId : d8 cb 8a 89 46 44 + SysName : + System Descr : + PortDescr : + Pvid : + + System Capabilities Supported : + System Capabilities Enabled : + + Remote Management Address + + MED Information Detail + EndpointClass :Class1 + + diff --git a/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.yml b/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.yml new file mode 100644 index 0000000000..90ea5ad185 --- /dev/null +++ b/tests/hp_procurve/show_lldp_info_remote-device_detail/hp_procurve_show_lldp_info_remote-device_detail.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - local_port: "1" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "3821c7-c1cd00" + neighbor_portid: "1" + neighbor_sysname: "65432p-swi006-abcd-srvroom-4asd" + port_descr: "1" + port_type: "local" + pvid: "0" + remote_management_address: "192.168.130.100" + system_capabilities_enabled: "bridge" + system_capabilities_supported: "bridge, router" + system_descr: "Aruba JL357A 2540-48G-PoE+-4SFP+ Switch, revision YC.16.0..." + - local_port: "3" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "3ce1a1-2218f0" + neighbor_portid: "3c e1 a1 22 18 f0" + neighbor_sysname: "" + port_descr: "" + port_type: "mac-address" + pvid: "" + remote_management_address: "" + system_capabilities_enabled: "" + system_capabilities_supported: "" + system_descr: "" + - local_port: "7" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "bcf310-1f8b40" + neighbor_portid: "mgt0" + neighbor_sysname: "AH-cust-AP21" + port_descr: "" + port_type: "interface-name" + pvid: "" + remote_management_address: "192.168.100.55" + system_capabilities_enabled: "bridge, wlan-access-point" + system_capabilities_supported: "bridge, wlan-access-point" + system_descr: "" + - local_port: "25" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "d8cb8a-6d303c" + neighbor_portid: "d8 cb 8a 6d 30 3c" + neighbor_sysname: "" + port_descr: "" + port_type: "mac-address" + pvid: "" + remote_management_address: "" + system_capabilities_enabled: "" + system_capabilities_supported: "" + system_descr: "" + - local_port: "29" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "484d7e-e66c42" + neighbor_portid: "48 4d 7e e6 6c 42" + neighbor_sysname: "" + port_descr: "" + port_type: "mac-address" + pvid: "" + remote_management_address: "" + system_capabilities_enabled: "" + system_capabilities_supported: "" + system_descr: "" + - local_port: "36" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "603197-7aa548" + neighbor_portid: "1" + neighbor_sysname: "NAP203" + port_descr: "UPLINK" + port_type: "local" + pvid: "" + remote_management_address: "192.168.100.50" + system_capabilities_enabled: "bridge, wlan-access-point, router" + system_capabilities_supported: "bridge, wlan-access-point, router" + system_descr: "ZLD 6.00(###.8)B1 (cannon)" + - local_port: "37" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "b00cd1-359a98" + neighbor_portid: "b0 0c d1 35 9a 98" + neighbor_sysname: "" + port_descr: "" + port_type: "mac-address" + pvid: "" + remote_management_address: "" + system_capabilities_enabled: "" + system_capabilities_supported: "" + system_descr: "" + - local_port: "42" + neighbor_chassis_type: "mac-address" + neighbor_chassis_id: "d8cb8a-894644" + neighbor_portid: "d8 cb 8a 89 46 44" + neighbor_sysname: "" + port_descr: "" + port_type: "mac-address" + pvid: "" + remote_management_address: "" + system_capabilities_enabled: "" + system_capabilities_supported: "" + system_descr: "" From 434048a53e90dfb63e6ad766de8886a69554ab05 Mon Sep 17 00:00:00 2001 From: sliddjur Date: Wed, 6 May 2020 03:39:18 +0200 Subject: [PATCH 424/628] New Template: hp_procurve_show_lldp_info_remote-device.textfsm --- ...curve_show_lldp_info_remote-device.textfsm | 20 +++++++++ templates/index | 1 + ..._procurve_show_lldp_info_remote-device.raw | 14 +++++++ ..._procurve_show_lldp_info_remote-device.yml | 42 +++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 templates/hp_procurve_show_lldp_info_remote-device.textfsm create mode 100644 tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.raw create mode 100644 tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.yml diff --git a/templates/hp_procurve_show_lldp_info_remote-device.textfsm b/templates/hp_procurve_show_lldp_info_remote-device.textfsm new file mode 100644 index 0000000000..d2c5e956a2 --- /dev/null +++ b/templates/hp_procurve_show_lldp_info_remote-device.textfsm @@ -0,0 +1,20 @@ +Value Required LOCAL_PORT (\S+) +Value NEIGHBOR_CHASSIS_ID ((?:[a-z0-9]{2}\s){5}[a-z0-9]{2}|\S+) +Value NEIGHBOR_PORTID ((?:[a-z0-9]{2}\s){5}[a-z0-9]{2}|\S+) +Value NEIGHBOR_DESCR (\S+|.*?) +Value NEIGHBOR_SYSNAME (\S+) + +Start + ^\s*LLDP\sRemote\sDevices\sInformation\s*$$ + ^\s+LocalPort\s|\sChassisId.*$$ + ^\s+-.* -> LLDP + ^\s*$$ + ^. -> Error + +LLDP + ^\s+${LOCAL_PORT}\s+\|\s${NEIGHBOR_CHASSIS_ID}\s+${NEIGHBOR_PORTID}\s*$$ -> Record + ^\s+${LOCAL_PORT}\s+\|\s${NEIGHBOR_CHASSIS_ID}\s+${NEIGHBOR_PORTID}\s+${NEIGHBOR_SYSNAME}\s*$$ -> Record + ^\s+${LOCAL_PORT}\s+\|\s${NEIGHBOR_CHASSIS_ID}\s+${NEIGHBOR_PORTID}\s+${NEIGHBOR_DESCR}\s+${NEIGHBOR_SYSNAME}\s*$$ -> Record + ^\S+\#\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 12e049e690..dd393994f8 100644 --- a/templates/index +++ b/templates/index @@ -348,6 +348,7 @@ hp_comware_display_clock.textfsm, .*, hp_comware, di[[splay]] clo[[ck]] hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] .+ +hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_system.textfsm, .*, hp_procurve, sh[[ow]] syst[[em]] diff --git a/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.raw b/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.raw new file mode 100644 index 0000000000..e0177c19c3 --- /dev/null +++ b/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.raw @@ -0,0 +1,14 @@ + + LLDP Remote Devices Information + + LocalPort | ChassisId PortId PortDescr SysName + --------- + ------------------ ------------------ --------- ------------------ + 1 | 3821c7-c1cd00 1 1 65432p-swi006-g... + 3 | 3ce1a1-2218f0 3c e1 a1 22 18 f0 + 7 | bcf310-1f8b40 mgt0 AH-cust-AP21 + 25 | d8cb8a-6d303c d8 cb 8a 6d 30 3c + 29 | 484d7e-e66c42 48 4d 7e e6 6c 42 + 36 | 603197-7aa548 1 UPLINK NAP203 + 37 | b00cd1-359a98 b0 0c d1 35 9a 98 + 42 | d8cb8a-894644 d8 cb 8a 89 46 44 + diff --git a/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.yml b/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.yml new file mode 100644 index 0000000000..91ee37824c --- /dev/null +++ b/tests/hp_procurve/show_lldp_info_remote-device/hp_procurve_show_lldp_info_remote-device.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - local_port: "1" + neighbor_chassis_id: "3821c7-c1cd00" + neighbor_descr: "1" + neighbor_portid: "1" + neighbor_sysname: "65432p-swi006-g..." + - local_port: "3" + neighbor_chassis_id: "3ce1a1-2218f0" + neighbor_descr: "" + neighbor_portid: "3c e1 a1 22 18 f0" + neighbor_sysname: "" + - local_port: "7" + neighbor_chassis_id: "bcf310-1f8b40" + neighbor_descr: "" + neighbor_portid: "mgt0" + neighbor_sysname: "AH-cust-AP21" + - local_port: "25" + neighbor_chassis_id: "d8cb8a-6d303c" + neighbor_descr: "" + neighbor_portid: "d8 cb 8a 6d 30 3c" + neighbor_sysname: "" + - local_port: "29" + neighbor_chassis_id: "484d7e-e66c42" + neighbor_descr: "" + neighbor_portid: "48 4d 7e e6 6c 42" + neighbor_sysname: "" + - local_port: "36" + neighbor_chassis_id: "603197-7aa548" + neighbor_descr: "UPLINK" + neighbor_portid: "1" + neighbor_sysname: "NAP203" + - local_port: "37" + neighbor_chassis_id: "b00cd1-359a98" + neighbor_descr: "" + neighbor_portid: "b0 0c d1 35 9a 98" + neighbor_sysname: "" + - local_port: "42" + neighbor_chassis_id: "d8cb8a-894644" + neighbor_descr: "" + neighbor_portid: "d8 cb 8a 89 46 44" + neighbor_sysname: "" From 90205b70310bf33fdf417badee25c9b918e7d090 Mon Sep 17 00:00:00 2001 From: sliddjur Date: Wed, 6 May 2020 03:40:06 +0200 Subject: [PATCH 425/628] New Template: hp_procurve_show_trunks.textfsm --- templates/hp_procurve_show_trunks.textfsm | 18 ++++++++++++++++++ templates/index | 1 + .../show_trunks/hp_procurve_show_trunks.raw | 8 ++++++++ .../show_trunks/hp_procurve_show_trunks.yml | 12 ++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 templates/hp_procurve_show_trunks.textfsm create mode 100644 tests/hp_procurve/show_trunks/hp_procurve_show_trunks.raw create mode 100644 tests/hp_procurve/show_trunks/hp_procurve_show_trunks.yml diff --git a/templates/hp_procurve_show_trunks.textfsm b/templates/hp_procurve_show_trunks.textfsm new file mode 100644 index 0000000000..e984a81be4 --- /dev/null +++ b/templates/hp_procurve_show_trunks.textfsm @@ -0,0 +1,18 @@ +Value Required LOCAL_PORT (\S+) +Value INT_NAME (.*?) +Value INT_TYPE (.*?) +Value TRUNK (\S+) +Value TRUNK_TYPE (\S+) + +Start + ^\s*Load\sBalancing\sMethod.*$$ + ^\s+Port\s+|\s+Name\s+Type\s+|\s+Group\s+Type.*$$ + ^\s+-+\s+\+\s+\-+.* -> TRUNKS + ^\s*$$ + ^. -> Error + +TRUNKS + ^\s+${LOCAL_PORT}\s+\|\s${INT_NAME}\s+ ${INT_TYPE}\s+ \|\s${TRUNK}\s+${TRUNK_TYPE}.*$$ -> Record + ^\S+\#\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index dd393994f8..f928e66d9f 100644 --- a/templates/index +++ b/templates/index @@ -352,6 +352,7 @@ hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[ hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_system.textfsm, .*, hp_procurve, sh[[ow]] syst[[em]] +hp_procurve_show_trunks.textfsm, .*, hp_procurve, sh[[ow]] tr[[unks]] hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] hp_procurve_show_arp.textfsm, .*, hp_procurve, sh[[ow]] ar[[p]] diff --git a/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.raw b/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.raw new file mode 100644 index 0000000000..4aa01317c3 --- /dev/null +++ b/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.raw @@ -0,0 +1,8 @@ + + Load Balancing Method: L3-based (default) + + Port | Name Type | Group Type + ------ + -------------------------------- ---------- + ----- -------- + 49 | Uplink 65432p-swi001 1000LX | Trk2 LACP + 50 | Uplink 65432p-swi001 1000LX | Trk2 LACP + diff --git a/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.yml b/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.yml new file mode 100644 index 0000000000..9111943a22 --- /dev/null +++ b/tests/hp_procurve/show_trunks/hp_procurve_show_trunks.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - int_name: "Uplink 65432p-swi001" + int_type: "1000LX" + local_port: "49" + trunk: "Trk2" + trunk_type: "LACP" + - int_name: "Uplink 65432p-swi001" + int_type: "1000LX" + local_port: "50" + trunk: "Trk2" + trunk_type: "LACP" From a9d811db9ba16c7df9f7747cc7e1c9a119c7cb4c Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 6 May 2020 21:25:46 -0600 Subject: [PATCH 426/628] Bugfix: Accounted for ASBR/ABR in cisco_ios_show_ip_ospf_database_router (#691) --- ..._ios_show_ip_ospf_database_network.textfsm | 5 +++ ...o_ios_show_ip_ospf_database_router.textfsm | 5 +++ ...isco_ios_show_ip_ospf_database_network.yml | 12 ++++++ ...abase_network_leading-spaces-truncated.yml | 12 ++++++ ...cisco_ios_show_ip_ospf_database_router.yml | 28 ++++++++++++ ..._show_ip_ospf_database_router_asbr_abr.raw | 43 +++++++++++++++++++ ..._show_ip_ospf_database_router_asbr_abr.yml | 40 +++++++++++++++++ ...tabase_router_leading-spaces-truncated.yml | 28 ++++++++++++ 8 files changed, 173 insertions(+) create mode 100644 tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.raw create mode 100644 tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.yml diff --git a/templates/cisco_ios_show_ip_ospf_database_network.textfsm b/templates/cisco_ios_show_ip_ospf_database_network.textfsm index 1c87bcadca..a359349632 100644 --- a/templates/cisco_ios_show_ip_ospf_database_network.textfsm +++ b/templates/cisco_ios_show_ip_ospf_database_network.textfsm @@ -10,6 +10,8 @@ Value Filldown LSA_SEQ_NUMBER (\S+) Value Filldown LSA_CHECKSUM (\S+) Value Filldown LSA_LENGTH (\d+) Value Filldown LSA_NETWORK_MASK (\S+) +Value Filldown LSA_ABR (Area\s+Border\s+Router) +Value Filldown LSA_ASBR (AS\s+Boundary\s+Router) Value LS_ATT_ROUTER (\d+\.\d+\.\d+\.\d+) Start @@ -27,6 +29,8 @@ LSAInfo ^\s+LS\s+Seq\s+Number:\s+${LSA_SEQ_NUMBER} ^\s+Checksum:\s+${LSA_CHECKSUM} ^\s+Length:\s+${LSA_LENGTH} + ^\s+${LSA_ABR}$$ + ^\s+${LSA_ASBR}$$ ^\s+Network\s+Mask:\s+${LSA_NETWORK_MASK} -> LSAs ^\s*$$ ^. -> Error @@ -34,6 +38,7 @@ LSAInfo LSAs ^\s+Attached\s+Router:\s+${LS_ATT_ROUTER} -> Next.Record ^\s+LS\s+age:\s+${LSA_AGE} -> LSAInfo + ^\s+Router\s+Link\s+States\s+\(Area ${AREA}\) -> LSAInfo ^\s*$$ ^. -> Error diff --git a/templates/cisco_ios_show_ip_ospf_database_router.textfsm b/templates/cisco_ios_show_ip_ospf_database_router.textfsm index 7c030113cb..956c35ed4e 100644 --- a/templates/cisco_ios_show_ip_ospf_database_router.textfsm +++ b/templates/cisco_ios_show_ip_ospf_database_router.textfsm @@ -10,6 +10,8 @@ Value Filldown LSA_SEQ_NUMBER (\S+) Value Filldown LSA_CHECKSUM (\S+) Value Filldown LSA_LENGTH (\d+) Value Filldown LSA_NUM_LINKS (\d+) +Value Filldown LSA_ABR (Area\s+Border\s+Router) +Value Filldown LSA_ASBR (AS\s+Boundary\s+Router) Value LS_LINK_TYPE (.+?) Value LS_LINK_ID (\d+\.\d+\.\d+\.\d+) Value LS_LINK_DATA (\d+\.\d+\.\d+\.\d+) @@ -31,6 +33,8 @@ LSAInfo ^\s+LS\s+Seq\s+Number:\s+${LSA_SEQ_NUMBER} ^\s+Checksum:\s+${LSA_CHECKSUM} ^\s+Length:\s+${LSA_LENGTH} + ^\s+${LSA_ABR}$$ + ^\s+${LSA_ASBR}$$ ^\s+Number\s+of\s+Links:\s+${LSA_NUM_LINKS} -> LSAs ^\s*$$ ^. -> Error @@ -42,6 +46,7 @@ LSAs ^\s+Number\s+of\s+MTID\s+metrics:\s+${LS_MTID_METRICS} ^\s+TOS\s+0\s+Metrics:\s+${LS_TOS_0_METRICS} -> Next.Record ^\s+LS\s+age:\s+${LSA_AGE} -> LSAInfo + ^\s+Router\s+Link\s+States\s+\(Area ${AREA}\) -> LSAInfo ^\s*$$ ^. -> Error diff --git a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml index 92d575125c..dae9b460c8 100644 --- a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml +++ b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network.yml @@ -12,6 +12,8 @@ parsed_sample: lsa_checksum: "0x4B27" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.1.1.1" - router_id: "100.1.1.1" process_id: "1" @@ -25,6 +27,8 @@ parsed_sample: lsa_checksum: "0x4B27" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.2.2.2" - router_id: "100.1.1.1" process_id: "1" @@ -38,6 +42,8 @@ parsed_sample: lsa_checksum: "0x4816" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.4.4.4" - router_id: "100.1.1.1" process_id: "1" @@ -51,6 +57,8 @@ parsed_sample: lsa_checksum: "0x4816" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.2.2.2" - router_id: "100.1.1.1" process_id: "1" @@ -64,6 +72,8 @@ parsed_sample: lsa_checksum: "0x60F7" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.4.4.4" - router_id: "100.1.1.1" process_id: "1" @@ -77,4 +87,6 @@ parsed_sample: lsa_checksum: "0x60F7" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.3.3.3" diff --git a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml index 92d575125c..dae9b460c8 100644 --- a/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml +++ b/tests/cisco_ios/show_ip_ospf_database_network/cisco_ios_show_ip_ospf_database_network_leading-spaces-truncated.yml @@ -12,6 +12,8 @@ parsed_sample: lsa_checksum: "0x4B27" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.1.1.1" - router_id: "100.1.1.1" process_id: "1" @@ -25,6 +27,8 @@ parsed_sample: lsa_checksum: "0x4B27" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.2.2.2" - router_id: "100.1.1.1" process_id: "1" @@ -38,6 +42,8 @@ parsed_sample: lsa_checksum: "0x4816" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.4.4.4" - router_id: "100.1.1.1" process_id: "1" @@ -51,6 +57,8 @@ parsed_sample: lsa_checksum: "0x4816" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.2.2.2" - router_id: "100.1.1.1" process_id: "1" @@ -64,6 +72,8 @@ parsed_sample: lsa_checksum: "0x60F7" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.4.4.4" - router_id: "100.1.1.1" process_id: "1" @@ -77,4 +87,6 @@ parsed_sample: lsa_checksum: "0x60F7" lsa_length: "32" lsa_network_mask: "/30" + lsa_abr: "" + lsa_asbr: "" ls_att_router: "100.3.3.3" diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml index 394d48d18a..4742c4f57b 100644 --- a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router.yml @@ -12,6 +12,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.1.1.1" ls_link_data: "255.255.255.255" @@ -29,6 +31,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.2.1" ls_link_data: "192.168.2.1" @@ -46,6 +50,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "another Router (point-to-point)" ls_link_id: "100.3.3.3" ls_link_data: "192.168.1.1" @@ -63,6 +69,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "192.168.1.0" ls_link_data: "255.255.255.252" @@ -80,6 +88,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.2.2.2" ls_link_data: "255.255.255.255" @@ -97,6 +107,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.3.2" ls_link_data: "192.168.3.1" @@ -114,6 +126,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.2.1" ls_link_data: "192.168.2.2" @@ -131,6 +145,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.3.3.3" ls_link_data: "255.255.255.255" @@ -148,6 +164,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.4.2" ls_link_data: "192.168.4.1" @@ -165,6 +183,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "another Router (point-to-point)" ls_link_id: "100.1.1.1" ls_link_data: "192.168.1.2" @@ -182,6 +202,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "192.168.1.0" ls_link_data: "255.255.255.252" @@ -199,6 +221,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.4.4.4" ls_link_data: "255.255.255.255" @@ -216,6 +240,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.4.2" ls_link_data: "192.168.4.2" @@ -233,6 +259,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.3.2" ls_link_data: "192.168.3.2" diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.raw b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.raw new file mode 100644 index 0000000000..f1b5d8978c --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.raw @@ -0,0 +1,43 @@ +OSPF Router with ID (10.0.0.1) (Process ID 1) + + Router Link States (Area 0) + + LS age: 4 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 10.0.0.1 + Advertising Router: 10.0.0.1 + LS Seq Number: 80000006 + Checksum: 0x5DAB + Length: 36 + Area Border Router + AS Boundary Router + Number of Links: 1 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 10.0.0.1 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 + + + + Router Link States (Area 1) + + LS age: 4 + Options: (No TOS-capability, DC) + LS Type: Router Links + Link State ID: 10.0.0.2 + Advertising Router: 10.0.0.2 + LS Seq Number: 80000002 + Checksum: 0x7694 + Length: 36 + Area Border Router + AS Boundary Router + Number of Links: 1 + + Link connected to: a Stub Network + (Link ID) Network/subnet number: 10.1.1.1 + (Link Data) Network Mask: 255.255.255.255 + Number of MTID metrics: 0 + TOS 0 Metrics: 1 diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.yml b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.yml new file mode 100644 index 0000000000..48e318dd5f --- /dev/null +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_asbr_abr.yml @@ -0,0 +1,40 @@ +--- +parsed_sample: + - router_id: "10.0.0.1" + process_id: "1" + area: "0" + lsa_age: "4" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "10.0.0.1" + lsa_adv_router: "10.0.0.1" + lsa_seq_number: "80000006" + lsa_checksum: "0x5DAB" + lsa_length: "36" + lsa_num_links: "1" + lsa_abr: "Area Border Router" + lsa_asbr: "AS Boundary Router" + ls_link_type: "a Stub Network" + ls_link_id: "10.0.0.1" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" + - router_id: "10.0.0.1" + process_id: "1" + area: "1" + lsa_age: "4" + lsa_options: "No TOS-capability, DC" + lsa_type: "Router Links" + lsa_id: "10.0.0.2" + lsa_adv_router: "10.0.0.2" + lsa_seq_number: "80000002" + lsa_checksum: "0x7694" + lsa_length: "36" + lsa_num_links: "1" + lsa_abr: "Area Border Router" + lsa_asbr: "AS Boundary Router" + ls_link_type: "a Stub Network" + ls_link_id: "10.1.1.1" + ls_link_data: "255.255.255.255" + ls_mtid_metrics: "0" + ls_tos_0_metrics: "1" diff --git a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml index 394d48d18a..4742c4f57b 100644 --- a/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml +++ b/tests/cisco_ios/show_ip_ospf_database_router/cisco_ios_show_ip_ospf_database_router_leading-spaces-truncated.yml @@ -12,6 +12,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.1.1.1" ls_link_data: "255.255.255.255" @@ -29,6 +31,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.2.1" ls_link_data: "192.168.2.1" @@ -46,6 +50,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "another Router (point-to-point)" ls_link_id: "100.3.3.3" ls_link_data: "192.168.1.1" @@ -63,6 +69,8 @@ parsed_sample: lsa_checksum: "0x8A21" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "192.168.1.0" ls_link_data: "255.255.255.252" @@ -80,6 +88,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.2.2.2" ls_link_data: "255.255.255.255" @@ -97,6 +107,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.3.2" ls_link_data: "192.168.3.1" @@ -114,6 +126,8 @@ parsed_sample: lsa_checksum: "0xCA4F" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.2.1" ls_link_data: "192.168.2.2" @@ -131,6 +145,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.3.3.3" ls_link_data: "255.255.255.255" @@ -148,6 +164,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.4.2" ls_link_data: "192.168.4.1" @@ -165,6 +183,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "another Router (point-to-point)" ls_link_id: "100.1.1.1" ls_link_data: "192.168.1.2" @@ -182,6 +202,8 @@ parsed_sample: lsa_checksum: "0x3969" lsa_length: "72" lsa_num_links: "4" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "192.168.1.0" ls_link_data: "255.255.255.252" @@ -199,6 +221,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Stub Network" ls_link_id: "100.4.4.4" ls_link_data: "255.255.255.255" @@ -216,6 +240,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.4.2" ls_link_data: "192.168.4.2" @@ -233,6 +259,8 @@ parsed_sample: lsa_checksum: "0x5CB0" lsa_length: "60" lsa_num_links: "3" + lsa_abr: "" + lsa_asbr: "" ls_link_type: "a Transit Network" ls_link_id: "192.168.3.2" ls_link_data: "192.168.3.2" From f9398b7667b11edb65787c232f16c9df21cc693e Mon Sep 17 00:00:00 2001 From: Yakuza-UA <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 7 May 2020 16:52:47 +0100 Subject: [PATCH 427/628] New Template: cisco_ios_show_adjacency_detail (#692) --- .../cisco_ios_show_adjacency_detail.textfsm | 38 +++ templates/index | 1 + .../show_adjacency_detail_iosg1.raw | 41 +++ .../show_adjacency_detail_iosg1.yml | 26 ++ .../show_adjacency_detail_iosxe.raw | 240 ++++++++++++++++++ .../show_adjacency_detail_iosxe.yml | 148 +++++++++++ 6 files changed, 494 insertions(+) create mode 100644 templates/cisco_ios_show_adjacency_detail.textfsm create mode 100644 tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw create mode 100644 tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml create mode 100644 tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw create mode 100644 tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml diff --git a/templates/cisco_ios_show_adjacency_detail.textfsm b/templates/cisco_ios_show_adjacency_detail.textfsm new file mode 100644 index 0000000000..586e16bfb2 --- /dev/null +++ b/templates/cisco_ios_show_adjacency_detail.textfsm @@ -0,0 +1,38 @@ +Value Required INTERFACE (\S+) +Value Required ENDPOINT (\S+) +Value List REWRITE_HEADERS ([A-F0-9]+) +Value RECURSIVE_INTERFACE (\S+) +Value RECURSIVE_NEXTHOP (\S+) + +Start + ^Protocol\s+Interface\s+Address\s*$$ -> Entries + +Entries + ^IP.*?\(\d+\).*?$$ -> Continue.Record + ^IP\s+${INTERFACE}\s+${ENDPOINT}\(\d+\).*?$$ + ^\s+connectionid + ^\s+\d+\s+packets,\s+\d+\s+bytes + ^\s+epoch\s+\d+ + ^\s+sourced\s+in\s+sev-epoch + ^\s+punt\s+\(rate-limited\)\s+packets + ^\s+empty\s+encap\s+string + ^\s+P2P-ADJ + ^\s+Encap\s+length\s+\d+ + ^\s+${REWRITE_HEADERS}$$ + ^\s+L2\s+destination\s+address + ^\s+Link-type\s+after\s+encap:\s+ + ^\s+Inject\s+p2mp\s+Multicast + ^\s+ARP + ^\s+Tun\s+endpt + ^\s+Next\s+chain\s+element: -> Chain + ^\s+CEF\s+expires: + ^\s+refresh: + ^\s+Epoch: + ^\s*$$ + ^. -> Error + +Chain + ^\s+IP\sadj\sout\sof\s${RECURSIVE_INTERFACE},\saddr\s${RECURSIVE_NEXTHOP}$$ -> Entries + ^\s+${RECURSIVE_INTERFACE} -> Entries + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index f928e66d9f..1086f1d2a9 100644 --- a/templates/index +++ b/templates/index @@ -168,6 +168,7 @@ cisco_ios_show_interfaces_status.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] mac[[-address-table]] +cisco_ios_show_adjacency_detail.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]](?:\s+\S+)* det[[ail]] cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] cisco_ios_show_ip_ospf_database.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] cisco_ios_show_ip_ospf_neighbor.textfsm, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw new file mode 100644 index 0000000000..a7077922e6 --- /dev/null +++ b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw @@ -0,0 +1,41 @@ +Protocol Interface Address +IP GigabitEthernet0/0/0 10.180.14.15(13) + 11676149172 packets, 4648006265878 bytes + epoch 0 + sourced in sev-epoch 0 + Encap length 14 + 78BC1AF1CA6100A6CA7D06D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP GigabitEthernet0/0/0 227.0.0.0(3) + connectionid 1 + 4289975 packets, 322386841 bytes + epoch 0 + sourced in sev-epoch 0 + Encap length 14 + 01005E00000000A6CA7D06D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + Inject p2mp Multicast +IP Tunnel0 172.17.10.158(13) + 8174797 packets, 3597459493 bytes + epoch 0 + sourced in sev-epoch 8 + Encap length 28 + 4500000000000000FF2FC465C0A88CDB + D150D49120000800000186A0 + Tun endpt + Next chain element: + IP adj out of GigabitEthernet0/0/1, addr 192.168.140.1 +IP Tunnel0 227.0.0.0(3) (incomplete) + connectionid 1 + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 0 + punt (rate-limited) packets + Inject p2mp Multicast + Next chain element: + drop diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml new file mode 100644 index 0000000000..4b83c076ef --- /dev/null +++ b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - interface: "GigabitEthernet0/0/0" + endpoint: "10.180.14.15" + rewrite_headers: + - "78BC1AF1CA6100A6CA7D06D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "GigabitEthernet0/0/0" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E00000000A6CA7D06D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Tunnel0" + endpoint: "172.17.10.158" + rewrite_headers: + - "4500000000000000FF2FC465C0A88CDB" + - "D150D49120000800000186A0" + recursive_interface: "GigabitEthernet0/0/1" + recursive_nexthop: "192.168.140.1" + - interface: "Tunnel0" + endpoint: "227.0.0.0" + rewrite_headers: [] + recursive_interface: "drop" + recursive_nexthop: "" diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw new file mode 100644 index 0000000000..c6f75a726a --- /dev/null +++ b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw @@ -0,0 +1,240 @@ +Protocol Interface Address +IP Vlan10 10.102.10.5(8) + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 0 + Encap length 14 + 000EB65D4EB0C80084D399460800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP Vlan1801 10.180.102.195(8) + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 14 + Encap length 14 + 70695A4F201CC80084D399490800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP BDI445 192.0.2.21(12) + 203564970 packets, 94434660716 bytes + epoch 0 + sourced in sev-epoch 6 + Encap length 14 + 000C29BDD45A2CABEBC01DC30800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP Tunnel10 172.17.10.225(13) + 53350544 packets, 23470143707 bytes + epoch 0 + sourced in sev-epoch 35 + Encap length 28 + 4500000000000000FF2F4C08C0A80067 + 2A20D48B20000800001A456E + Tun endpt + Next chain element: + IP adj out of GigabitEthernet0/0/2, addr 192.168.0.1 +IP Tunnel10 172.17.10.12(15) + 170956956 packets, 68065013365 bytes + epoch 0 + sourced in sev-epoch 6 + Encap length 28 + 4500000000000000FF2F71F12927C88E + 5C41EADA20000800001A456E + Tun endpt + Next chain element: + IP adj out of GigabitEthernet0/0/2, addr 41.39.200.141 +IP GigabitEthernet0/0/2 46.40.201.141(42) + 321323801 packets, 136336825775 bytes + epoch 0 + sourced in sev-epoch 6 + Encap length 14 + 244C07ED1BFE2CABEBC01D420800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP Port-channel1.1 10.255.1.1(11) + 21160969 packets, 9329327344 bytes + epoch 0 + sourced in sev-epoch 433 + Encap length 14 + 40A6E8119FC72CABEB99E6D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP Port-channel1.1 10.255.1.250(8) + 145609 packets, 24959821 bytes + epoch 0 + sourced in sev-epoch 433 + Encap length 14 + 000C2963CBC22CABEB99E6D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP Port-channel1.1 227.0.0.0(3) + connectionid 1 + 1009546 packets, 74708967 bytes + epoch 0 + sourced in sev-epoch 2 + Encap length 14 + 01005E0000002CABEB99E6D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + Inject p2mp Multicast +IP Port-channel1.1835 10.255.0.13(24) + 19028387 packets, 2552719646 bytes + epoch 0 + sourced in sev-epoch 7 + Encap length 18 + E0CBBCBC0C982CABEB99E6D08100072B + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + ARP +IP Port-channel1.1835 227.0.0.0(3) + connectionid 1 + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 7 + Encap length 18 + 01005E0000002CABEB99E6D08100072B + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + Inject p2mp Multicast +IP Tunnel11 point2point(15) + 3777029 packets, 451109462 bytes + epoch 0 + sourced in sev-epoch 433 + empty encap string + P2P-ADJ + Next chain element: + IP adj out of Port-channel1.1835, addr 10.255.0.13 +IP GigabitEthernet0/0/2.200 10.255.200.106(8) + 1564016 packets, 950690451 bytes + epoch 0 + sourced in sev-epoch 398 + Encap length 18 + 00E04C6807772CABEB99E692810000C8 + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + ARP +IP GigabitEthernet0/0/2.200 227.0.0.0(3) + connectionid 1 + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 353 + Encap length 18 + 01005E0000002CABEB99E692810000C8 + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + Inject p2mp Multicast +IP Tunnel12 point2point(11) + 1223710 packets, 70068247 bytes + epoch 0 + sourced in sev-epoch 429 + empty encap string + P2P-ADJ + Next chain element: + IP adj out of Port-channel1.1835, addr 10.255.0.13 +IP Port-channel1.1837 10.255.0.21(12) + 65470 packets, 29854320 bytes + epoch 0 + sourced in sev-epoch 399 + Encap length 18 + E0CBBCBC0C982CABEB99E6D08100072D + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + ARP +IP Port-channel1.1837 227.0.0.0(3) + connectionid 1 + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 399 + Encap length 18 + 01005E0000002CABEB99E6D08100072D + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + Inject p2mp Multicast +IP Port-channel1.1825 10.255.2.1(11) + 202942 packets, 38595865 bytes + epoch 0 + sourced in sev-epoch 399 + Encap length 18 + 40A6E8119FF72CABEB99E6D081000721 + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + ARP +IP Port-channel1.1825 227.0.0.0(3) + connectionid 1 + 363345 packets, 28342885 bytes + epoch 0 + sourced in sev-epoch 399 + Encap length 18 + 01005E0000002CABEB99E6D081000721 + 0800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: dot1Q + Inject p2mp Multicast +IP GigabitEthernet0/0/0 10.180.14.15(13) + 11676149172 packets, 4648006265878 bytes + epoch 0 + sourced in sev-epoch 0 + Encap length 14 + 78BC1AF1CA6100A6CA7D06D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + ARP +IP GigabitEthernet0/0/0 227.0.0.0(3) + connectionid 1 + 4289975 packets, 322386841 bytes + epoch 0 + sourced in sev-epoch 0 + Encap length 14 + 01005E00000000A6CA7D06D00800 + L2 destination address byte offset 0 + L2 destination address byte length 6 + Link-type after encap: ip + Inject p2mp Multicast +IP Tunnel0 172.17.10.158(13) + 8174797 packets, 3597459493 bytes + epoch 0 + sourced in sev-epoch 8 + Encap length 28 + 4500000000000000FF2FC465C0A88CDB + D150D49120000800000186A0 + Tun endpt + Next chain element: + IP adj out of GigabitEthernet0/0/1, addr 192.168.140.1 +IP Tunnel0 227.0.0.0(3) (incomplete) + connectionid 1 + 0 packets, 0 bytes + epoch 0 + sourced in sev-epoch 0 + punt (rate-limited) packets + Inject p2mp Multicast + Next chain element: + drop diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml new file mode 100644 index 0000000000..f4c84db578 --- /dev/null +++ b/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml @@ -0,0 +1,148 @@ +--- +parsed_sample: + - interface: "Vlan10" + endpoint: "10.102.10.5" + rewrite_headers: + - "000EB65D4EB0C80084D399460800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Vlan1801" + endpoint: "10.180.102.195" + rewrite_headers: + - "70695A4F201CC80084D399490800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "BDI445" + endpoint: "192.0.2.21" + rewrite_headers: + - "000C29BDD45A2CABEBC01DC30800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Tunnel10" + endpoint: "172.17.10.225" + rewrite_headers: + - "4500000000000000FF2F4C08C0A80067" + - "2A20D48B20000800001A456E" + recursive_interface: "GigabitEthernet0/0/2" + recursive_nexthop: "192.168.0.1" + - interface: "Tunnel10" + endpoint: "172.17.10.12" + rewrite_headers: + - "4500000000000000FF2F71F12927C88E" + - "5C41EADA20000800001A456E" + recursive_interface: "GigabitEthernet0/0/2" + recursive_nexthop: "41.39.200.141" + - interface: "GigabitEthernet0/0/2" + endpoint: "46.40.201.141" + rewrite_headers: + - "244C07ED1BFE2CABEBC01D420800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1" + endpoint: "10.255.1.1" + rewrite_headers: + - "40A6E8119FC72CABEB99E6D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1" + endpoint: "10.255.1.250" + rewrite_headers: + - "000C2963CBC22CABEB99E6D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E0000002CABEB99E6D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1835" + endpoint: "10.255.0.13" + rewrite_headers: + - "E0CBBCBC0C982CABEB99E6D08100072B" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1835" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E0000002CABEB99E6D08100072B" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Tunnel11" + endpoint: "point2point" + rewrite_headers: [] + recursive_interface: "Port-channel1.1835" + recursive_nexthop: "10.255.0.13" + - interface: "GigabitEthernet0/0/2.200" + endpoint: "10.255.200.106" + rewrite_headers: + - "00E04C6807772CABEB99E692810000C8" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "GigabitEthernet0/0/2.200" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E0000002CABEB99E692810000C8" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Tunnel12" + endpoint: "point2point" + rewrite_headers: [] + recursive_interface: "Port-channel1.1835" + recursive_nexthop: "10.255.0.13" + - interface: "Port-channel1.1837" + endpoint: "10.255.0.21" + rewrite_headers: + - "E0CBBCBC0C982CABEB99E6D08100072D" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1837" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E0000002CABEB99E6D08100072D" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1825" + endpoint: "10.255.2.1" + rewrite_headers: + - "40A6E8119FF72CABEB99E6D081000721" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Port-channel1.1825" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E0000002CABEB99E6D081000721" + - "0800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "GigabitEthernet0/0/0" + endpoint: "10.180.14.15" + rewrite_headers: + - "78BC1AF1CA6100A6CA7D06D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "GigabitEthernet0/0/0" + endpoint: "227.0.0.0" + rewrite_headers: + - "01005E00000000A6CA7D06D00800" + recursive_interface: "" + recursive_nexthop: "" + - interface: "Tunnel0" + endpoint: "172.17.10.158" + rewrite_headers: + - "4500000000000000FF2FC465C0A88CDB" + - "D150D49120000800000186A0" + recursive_interface: "GigabitEthernet0/0/1" + recursive_nexthop: "192.168.140.1" + - interface: "Tunnel0" + endpoint: "227.0.0.0" + rewrite_headers: [] + recursive_interface: "drop" + recursive_nexthop: "" From 6806fc34565ceecb4fc389deee4f92811f170c6c Mon Sep 17 00:00:00 2001 From: georgesnow Date: Fri, 8 May 2020 12:16:39 -0400 Subject: [PATCH 428/628] New Template: ciena_saos_ssh_server_show_key.textfsm (#693) --- templates/ciena_saos_ssh_server_show_key.textfsm | 12 ++++++++++++ templates/index | 1 + .../ciena_saos_ssh_server_show_key.raw | 11 +++++++++++ .../ciena_saos_ssh_server_show_key.yml | 6 ++++++ 4 files changed, 30 insertions(+) create mode 100644 templates/ciena_saos_ssh_server_show_key.textfsm create mode 100644 tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.raw create mode 100644 tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.yml diff --git a/templates/ciena_saos_ssh_server_show_key.textfsm b/templates/ciena_saos_ssh_server_show_key.textfsm new file mode 100644 index 0000000000..12c87c0fb2 --- /dev/null +++ b/templates/ciena_saos_ssh_server_show_key.textfsm @@ -0,0 +1,12 @@ +Value USERNAME (\S+) +Value KEY_STATUS (\S+) + +Start + # Accounts for tabular delineations and table names + ^\+\- + # Account for SSH Server Key block + ^\|\s+[Kk]ey + ^\|\s+[Uu]sername.*[Kk]ey\s+[Ss]tatus + ^\|\s*${USERNAME}\s*\S*\s*\|\s*${KEY_STATUS}\s*\| -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 1086f1d2a9..70e7285b8e 100644 --- a/templates/index +++ b/templates/index @@ -106,6 +106,7 @@ checkpoint_gaia_show_lom.textfsm, .*, checkpoint_gaia, show lom checkpoint_gaia_fw_stat.textfsm, .*, checkpoint_gaia, fw stat ciena_saos_chassis_show_temperature.textfsm, .*, ciena_saos, ch[[assis]] sh[[ow]] te[[mperature]] +ciena_saos_ssh_server_show_key.textfsm, .*, ciena_saos, ssh se[[rver]] sh[[ow]] k[[ey]] ciena_saos_software_show.textfsm, .*, ciena_saos, so[[ftware]] sh[[ow]] ciena_saos_port_show.textfsm, .*, ciena_saos, po[[rt]] sh[[ow]] ciena_saos_rstp_show.textfsm, .*, ciena_saos, rs[[tp]] sh[[ow]] diff --git a/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.raw b/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.raw new file mode 100644 index 0000000000..426a645c7c --- /dev/null +++ b/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.raw @@ -0,0 +1,11 @@ ++---------------------------- SSH SERVER KEY --------------------------------+ +| Key Status | Generated | +| Key Fingerprint [MD5] | 1a:1d:1c:1e:da:11:1d:1d:11:aa:11:11:11:a1:11:1c | ++-------------------------+--------------------------------------------------+ + ++------------------------ SSH PUBLIC KEY AUTHENTICATION USERS ------------------------+ +| Username | Key Status | ++----------------------------------+--------------------------------------------------+ +| abc1 | installed | +| abc2 | installed | ++----------------------------------+--------------------------------------------------+ diff --git a/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.yml b/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.yml new file mode 100644 index 0000000000..27aa37b6f8 --- /dev/null +++ b/tests/ciena_saos/ssh_server_show_key/ciena_saos_ssh_server_show_key.yml @@ -0,0 +1,6 @@ +--- +parsed_sample: + - username: "abc1" + key_status: "installed" + - username: "abc2" + key_status: "installed" From d7cb414c3de6d3189104904bfa899e6f9cf527c2 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sat, 9 May 2020 22:56:48 +0100 Subject: [PATCH 429/628] Add support for 'show ip cef' Initial commit with template, modified index file and tests --- templates/cisco_ios_show_ip_cef.textfsm | 112 ++++++++++++++ templates/index | 1 + .../show_ip_cef/show_ip_cef_c2800_v1.raw | 13 ++ .../show_ip_cef/show_ip_cef_c2800_v1.yml | 97 ++++++++++++ .../show_ip_cef/show_ip_cef_c2800_v2.raw | 14 ++ .../show_ip_cef/show_ip_cef_c2800_v2.yml | 117 ++++++++++++++ .../show_ip_cef/show_ip_cef_c2900_v1.raw | 13 ++ .../show_ip_cef/show_ip_cef_c2900_v1.yml | 87 +++++++++++ .../show_ip_cef/show_ip_cef_c3750.raw | 6 + .../show_ip_cef/show_ip_cef_c3750.yml | 27 ++++ .../show_ip_cef/show_ip_cef_c3850_v1.raw | 13 ++ .../show_ip_cef/show_ip_cef_c3850_v1.yml | 87 +++++++++++ .../show_ip_cef/show_ip_cef_c3850_v2.raw | 9 ++ .../show_ip_cef/show_ip_cef_c3850_v2.yml | 42 +++++ .../show_ip_cef_detail_c2800_v1.raw | 74 +++++++++ .../show_ip_cef_detail_c2800_v1.yml | 101 ++++++++++++ .../show_ip_cef_detail_c2800_v2.raw | 67 ++++++++ .../show_ip_cef_detail_c2800_v2.yml | 145 ++++++++++++++++++ .../show_ip_cef_detail_c2900_v1.raw | 83 ++++++++++ .../show_ip_cef_detail_c2900_v1.yml | 130 ++++++++++++++++ .../show_ip_cef/show_ip_cef_detail_c3750.raw | 47 ++++++ .../show_ip_cef/show_ip_cef_detail_c3750.yml | 80 ++++++++++ .../show_ip_cef_detail_c3850_v1.raw | 51 ++++++ .../show_ip_cef_detail_c3850_v1.yml | 135 ++++++++++++++++ .../show_ip_cef_detail_c3850_v2.raw | 29 ++++ .../show_ip_cef_detail_c3850_v2.yml | 47 ++++++ .../show_ip_cef/show_ip_cef_disabled.raw | 1 + .../show_ip_cef/show_ip_cef_disabled.yml | 2 + 28 files changed, 1630 insertions(+) create mode 100644 templates/cisco_ios_show_ip_cef.textfsm create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.raw create mode 100644 tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.yml diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm new file mode 100644 index 0000000000..74831b65d6 --- /dev/null +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -0,0 +1,112 @@ +Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) +Value List FLAGS ([^,\]\n]+) +Value TYPE ([a-z\s]+) +Value NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value INTERFACE ([A-Za-z0-9\.\/-]+) + +# --- HEAD and DETAILED ENTRIES --- +# e.g. show ip cef detail, show ip cef 10.0.0.1, etc +Start + # Detect errors and/or disabled CEF + ^%IPv4\s+CEF\s+not\s+running$$ -> End + ^\s+Invalid\s+prefix/mask -> End + ^Prefix\s+Next\s+Hop\s+Interface$$ -> Entries + # Ignore JUNK in HEAD + ^IP(?:v4)?\s+CEF + ^VRF|Adjacency + ^\s+\d+\s+(?:routes|instant|leaves|load|prefixes|in-place) + ^\s+(?:Default|Table|Database|Resolution|Non-stop|Switchover) + ^\s+(?:universal|refcounts) + ^.*?CEF\s+resets + # Entry detected, begin analysis + ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record + # + # --- Parse CEF table from Cisco IOS >v15.x + # + # Extract prefix (no flags) + ^${PREFIX},\s+epoch(?:(?!flags).)*$$ + # Extract prefix with Flags + ^${PREFIX}.*?flags -> Continue + # Attempt to extract first Flag (if present) + ^\d.*?flags\s+\[?${FLAGS} -> Continue + # Attempt to extract other Flags (up to 6) + ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){1}${FLAGS} -> Continue + ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){2}${FLAGS} -> Continue + ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){3}${FLAGS} -> Continue + ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){4}${FLAGS} -> Continue + ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){5}${FLAGS} -> Continue + # Stop processing Flags (6+) + ^\d.*?flags.*?$$ + # Extract Type / Nexthop / Interface + # Available Type (IOS >v15.x): + # - attached + # - receive + # - drop + # - no route + # - nexthop + # - multicast + ^\s+${TYPE}(?<=drop)$$ + ^\s+${TYPE}(?<=no route)$$ + ^\s+${TYPE}(?<=receive)$$ + ^\s+${TYPE}(?<=multicast)$$ + ^\s+${TYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} + ^\s+recursive\s+via\s+${NEXTHOP} + ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} + ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} + # + # --- Parse CEF table from Cisco IOS 12.x ISR G1 + # + # Legacy CEF formatting + # Extract Prefix and Flags + ^${PREFIX},\s+version -> Continue + ^.*?epoch\s+\d+,\s+${FLAGS} -> Continue + ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){1}${FLAGS} -> Continue + ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){2}${FLAGS} -> Continue + ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){3}${FLAGS} -> Continue + # Stop processing Flags (max 4) + ^.*?epoch.*?$$ + # Extract extra Flag, such as recursive + ^.*?dependencies,\s+${FLAGS} + ^.*?dependencies + # Extract Nexthop and Interface + ^\s+next\s+hop\s+${NEXTHOP}\s*$$ + ^\s+next\s+hop\s+${NEXTHOP},\s+${INTERFACE} + # Extract Type, where available + # Available Type (IOS v12.x ISR G1): + # - null (same as receive with Null0 interface in IOS v15.x) + # - glean (same as attached in IOS v15.x) + # - cached (same as nexthop in IOS v15.x) + # - drop + # - if type is None, then it's receive (check flags) + ^\s+valid\s+${TYPE}\s+adjacency$$ + # + # Ignore JUNK + # + ^\s+Special\s+source + ^\s+Interface\s+source + ^\s+Adj\s+source + ^\s+DefNet\s+source + ^\s+Covered\s+dependent + ^\s+need\s+deagg + ^\s+notify\s+cover + ^\s+Dependent\s+covered + ^\s+(?:Net)?Flow: + ^\s+Interest\s+List: + ^\s+-\s+ + ^\s+BFD\s+state + ^\s+\d+\s+IPL\s+source + ^\d+\s+packets + # + # End of processing + # + ^\s*$$ + ^. -> Error + +# --- BRIEF ENTRIES +# e.g. show ip cef, or show ip cef vrf +Entries + ^${PREFIX}\s+${TYPE}\s*$$ -> Record + ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ -> Record + ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 70e7285b8e..b5ae769a0f 100644 --- a/templates/index +++ b/templates/index @@ -212,6 +212,7 @@ cisco_ios_show_standby.textfsm, .*, cisco_ios, sh[[ow]] sta[[ndby]] cisco_ios_show_version.textfsm, .*, cisco_ios, sh[[ow]] ver[[sion]] cisco_ios_show_ip_arp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] cisco_ios_show_ip_bgp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] bgp +cisco_ios_show_ip_cef.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] ce[[f]] 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]] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.raw new file mode 100644 index 0000000000..221407720f --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.raw @@ -0,0 +1,13 @@ +Prefix Next Hop Interface +0.0.0.0/0 172.17.40.1 Tunnel0 +0.0.0.0/8 drop +0.0.0.0/32 receive +10.0.0.0/16 172.17.40.1 Tunnel0 +10.0.120.0/24 172.17.40.1 Tunnel0 +10.191.64.0/24 attached GigabitEthernet0/0 +10.191.64.0/32 receive GigabitEthernet0/0 +10.191.64.2/32 attached GigabitEthernet0/0 +224.0.0.0/4 drop +224.0.0.0/24 receive +240.0.0.0/4 drop +255.255.255.255/32 receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml new file mode 100644 index 0000000000..e6bdb3262c --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -0,0 +1,97 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "10.0.120.0/24" + flags: [] + type: "" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "10.189.252.0/24" + flags: [] + type: "" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "10.191.64.0/24" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.0/32" + flags: [] + type: "receive " + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.1/32" + flags: [] + type: "receive " + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.2/32" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.9/32" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "172.17.40.0/24" + flags: [] + type: "attached " + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.0/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.158/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.255/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Tunnel0" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.raw new file mode 100644 index 0000000000..a15a4b87f0 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.raw @@ -0,0 +1,14 @@ +Prefix Next Hop Interface +0.0.0.0/0 192.168.0.181 GigabitEthernet0/1 +0.0.0.0/8 drop +0.0.0.0/32 receive +10.0.0.0/16 192.168.0.181 GigabitEthernet0/1 +10.158.0.0/19 0.0.0.0 Null0 +10.158.0.192/29 10.158.0.209 GigabitEthernet0/0.1821 +10.158.0.208/29 attached GigabitEthernet0/0.1821 +10.158.0.208/32 receive +192.168.0.180/30 attached GigabitEthernet0/1 +224.0.0.0/4 drop +224.0.0.0/24 receive +240.0.0.0/4 drop +255.255.255.255/32 receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml new file mode 100644 index 0000000000..3ea1242ca9 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -0,0 +1,117 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "10.0.120.0/24" + flags: [] + type: "" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "10.158.0.0/19" + flags: [] + type: "" + nexthop: "0.0.0.0" + interface: "Null0" + - prefix: "10.158.0.192/29" + flags: [] + type: "" + nexthop: "10.158.0.209" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.208/29" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.208/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.158.0.209/32" + flags: [] + type: "" + nexthop: "10.158.0.209" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.210/32" + flags: [] + type: "" + nexthop: "10.158.0.210" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.214/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.158.0.215/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.180.30.1/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "199.220.235.180/30" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "199.220.235.180/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "199.220.235.181/32" + flags: [] + type: "" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "199.220.235.182/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "199.220.235.183/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.raw new file mode 100644 index 0000000000..f227fb4ca3 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.raw @@ -0,0 +1,13 @@ +Prefix Next Hop Interface +0.0.0.0/0 10.180.122.153 GigabitEthernet0/1 +0.0.0.0/8 drop +0.0.0.0/32 receive +10.0.0.0/16 10.180.122.153 GigabitEthernet0/1 +10.157.1.0/24 172.17.100.101 Tunnel60701 +10.180.122.7/32 receive Loopback0 +10.180.122.152/29 attached GigabitEthernet0/1 +10.180.122.152/32 receive GigabitEthernet0/1 +224.0.0.0/4 drop +224.0.0.0/24 receive +240.0.0.0/4 drop +255.255.255.255/32 receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml new file mode 100644 index 0000000000..738ffc8977 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -0,0 +1,87 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "" + nexthop: "10.180.140.153" + interface: "GigabitEthernet0/1" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "" + nexthop: "10.180.140.153" + interface: "GigabitEthernet0/1" + - prefix: "10.0.120.0/24" + flags: [] + type: "" + nexthop: "10.180.140.153" + interface: "GigabitEthernet0/1" + - prefix: "10.157.0.0/16" + flags: [] + type: "" + nexthop: "10.180.140.153" + interface: "GigabitEthernet0/1" + - prefix: "10.157.1.0/24" + flags: [] + type: "" + nexthop: "172.17.100.101" + interface: "Tunnel60701" + - prefix: "10.180.140.7/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Loopback0" + - prefix: "10.180.140.152/29" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "10.180.140.152/32" + flags: [] + type: "receive " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "10.180.140.153/32" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "10.180.140.158/32" + flags: [] + type: "receive " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "10.180.140.159/32" + flags: [] + type: "receive " + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.raw new file mode 100644 index 0000000000..7879625418 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.raw @@ -0,0 +1,6 @@ +Prefix Next Hop Interface +0.0.0.0/0 10.158.0.198 Vlan1801 +0.0.0.0/8 drop +0.0.0.0/32 receive +10.0.0.0/16 10.158.0.198 Vlan1801 +10.0.120.0/24 10.158.0.198 Vlan1801 diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml new file mode 100644 index 0000000000..65d83e52f4 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "" + nexthop: "10.158.0.198" + interface: "Vlan1801" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "" + nexthop: "10.158.0.198" + interface: "Vlan1801" + - prefix: "10.0.120.0/24" + flags: [] + type: "" + nexthop: "10.158.0.198" + interface: "Vlan1801" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw new file mode 100644 index 0000000000..0133fd8b5e --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw @@ -0,0 +1,13 @@ +Prefix Next Hop Interface +0.0.0.0/0 10.255.1.1 Vlan1 +0.0.0.0/8 drop +0.0.0.0/32 receive +10.255.1.0/24 attached Vlan1 +10.255.1.0/32 receive Vlan1 +10.255.255.192/30 10.255.2.1 Port-channel1.1825 +10.255.200.0/24 attached GigabitEthernet0/0/2.200 +127.0.0.0/8 drop +224.0.0.0/4 drop +224.0.0.0/24 receive +240.0.0.0/4 drop +255.255.255.255/32 receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml new file mode 100644 index 0000000000..3c3b52f283 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -0,0 +1,87 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "" + nexthop: "10.255.1.1" + interface: "Vlan1" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive " + nexthop: "" + interface: "" + - prefix: "10.255.1.0/24" + flags: [] + type: "attached " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.0/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.1/32" + flags: [] + type: "attached " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.11/32" + flags: [] + type: "attached " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.23/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.250/32" + flags: [] + type: "attached " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.1.255/32" + flags: [] + type: "receive " + nexthop: "" + interface: "Vlan1" + - prefix: "10.255.255.192/30" + flags: [] + type: "" + nexthop: "10.255.2.1" + interface: "Port-channel1.1825" + - prefix: "10.255.200.0/24" + flags: [] + type: "attached " + nexthop: "" + interface: "GigabitEthernet0/0/2.200" + - prefix: "127.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: [] + type: "receive " + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: [] + type: "receive " + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.raw new file mode 100644 index 0000000000..2685344e2a --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.raw @@ -0,0 +1,9 @@ +Prefix Next Hop Interface +0.0.0.0/0 no route +0.0.0.0/8 drop +0.0.0.0/32 receive +127.0.0.0/8 drop +224.0.0.0/4 drop +224.0.0.0/24 receive +240.0.0.0/4 drop +255.255.255.255/32 receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml new file mode 100644 index 0000000000..48b3149cc2 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "no route" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "127.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: [] + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: [] + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw new file mode 100644 index 0000000000..e00ebfc6b2 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw @@ -0,0 +1,74 @@ +IPv4 CEF is enabled and running +VRF Default + 842 prefixes (842/0 fwd/non-fwd) + Table id 0x0 + Database epoch: 0 (842 entries at this epoch) + +0.0.0.0/0, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + nexthop 172.17.40.1 Tunnel0 +0.0.0.0/8, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: drop + drop +0.0.0.0/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive +10.0.0.0/16, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 16 + nexthop 172.17.40.1 Tunnel0 +10.191.64.0/24, epoch 0, flags attached, connected, cover dependents, need deagg + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interest List: + - ipv4fib connected receive + Covered dependent prefixes: 18 + need deagg: 2 + notify cover updated: 16 + attached to GigabitEthernet0/0 +10.191.64.0/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interface source: GigabitEthernet0/0 + Dependent covered prefix type cover need deagg, cover 10.191.64.0/24 + receive for GigabitEthernet0/0 +10.191.64.1/32, epoch 0, flags receive, source eligible + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interface source: GigabitEthernet0/0 + receive for GigabitEthernet0/0 +10.191.64.2/32, epoch 0, flags attached + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Adj source: IP adj out of GigabitEthernet0/0, addr 10.191.64.2 4A8EF620 + Dependent covered prefix type adjfib, cover 10.191.64.0/24 + attached to GigabitEthernet0/0 +172.17.40.0/24, epoch 0, flags attached, connected, cover dependents, need deagg + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interest List: + - ipv4fib connected receive + Covered dependent prefixes: 2 + need deagg: 2 + attached to Tunnel0 +172.17.40.0/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interface source: Tunnel0 + Dependent covered prefix type cover need deagg, cover 172.17.40.0/24 + receive for Tunnel0 +172.17.40.158/32, epoch 0, flags receive, source eligible + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 24 + Interface source: Tunnel0 + receive for Tunnel0 +224.0.0.0/4, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: drop + drop +224.0.0.0/24, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive +240.0.0.0/4, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: drop + drop +255.255.255.255/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml new file mode 100644 index 0000000000..29c13f4fd5 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml @@ -0,0 +1,101 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "nexthop" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "nexthop" + nexthop: "172.17.40.1" + interface: "Tunnel0" + - prefix: "10.191.64.0/24" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.1/32" + flags: + - "receive" + - "source eligible" + type: "receive" + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "10.191.64.2/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "GigabitEthernet0/0" + - prefix: "172.17.40.0/24" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.158/32" + flags: + - "receive" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Tunnel0" + - prefix: "172.17.40.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Tunnel0" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw new file mode 100644 index 0000000000..ee87db7c7a --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw @@ -0,0 +1,67 @@ +IP CEF with switching (Table Version 49101), flags=0x0 + 699 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 694 + 48837 instant recursive resolutions, 0 used background process + 699 leaves, 303 nodes, 421368 bytes, 49035 inserts, 48336 invalidations + 0 load sharing elements, 0 bytes, 0 references + universal per-destination load sharing algorithm, id FCE725EE + 3(0) CEF resets, 38 revisions of existing leaves + Resolution Timer: Exponential (currently 1s, peak 1s) + 75 in-place/0 aborted modifications + refcounts: 80269 leaf, 77824 node + + Table epoch: 0 (699 entries at this epoch) + +Adjacency Table has 3 adjacencies +0.0.0.0/0, version 46142, epoch 0, cached adjacency 199.220.235.181 +0 packets, 0 bytes + Flow: AS 0, mask 0 + via 199.220.235.181, 0 dependencies, recursive + next hop 199.220.235.181, GigabitEthernet0/1 via 199.220.235.181/32 + valid cached adjacency +0.0.0.0/8, version 7, epoch 0 +0 packets, 0 bytes + Flow: AS 0, mask 0 + via 0.0.0.0, 0 dependencies + next hop 0.0.0.0 + valid drop adjacency +0.0.0.0/32, version 1, epoch 0, receive + Flow: AS 0, mask 32 +10.158.0.0/19, version 9608, epoch 0 +0 packets, 0 bytes + Flow: AS 0, mask 19 + via 0.0.0.0, Null0, 0 dependencies + next hop 0.0.0.0, Null0 + valid null adjacency +10.158.0.192/29, version 10598, epoch 0, cached adjacency 10.158.0.209 +0 packets, 0 bytes + Flow: AS 0, mask 29 + via 10.158.0.209, GigabitEthernet0/0.1821, 0 dependencies + next hop 10.158.0.209, GigabitEthernet0/0.1821 + valid cached adjacency +10.158.0.208/32, version 10, epoch 0, receive + Flow: AS 0, mask 29 +10.180.30.1/32, version 4, epoch 0, connected, receive + Flow: AS 0, mask 32 +199.220.235.180/30, version 2163, epoch 0, attached, connected +0 packets, 0 bytes + Flow: AS 0, mask 30 + via GigabitEthernet0/1, 0 dependencies + valid glean adjacency +199.220.235.180/32, version 2161, epoch 0, receive + Flow: AS 0, mask 30 +199.220.235.181/32, version 2164, epoch 0, connected, cached adjacency 199.220.235.181 +0 packets, 0 bytes + Flow: AS 0, mask 30 + via 199.220.235.181, GigabitEthernet0/1, 661 dependencies + next hop 199.220.235.181, GigabitEthernet0/1 + valid cached adjacency +224.0.0.0/24, version 3, epoch 0, receive + Flow: AS 0, mask 24 +240.0.0.0/4, version 6, epoch 0 +0 packets, 0 bytes + Flow: AS 0, mask 0 + via 0.0.0.0, 0 dependencies + next hop 0.0.0.0 + valid drop adjacency +255.255.255.255/32, version 2, epoch 0, receive + Flow: AS 0, mask 32 diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml new file mode 100644 index 0000000000..c6f4108cc3 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml @@ -0,0 +1,145 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: + - "cached adjacency 199.220.235.181" + - "recursive" + type: "cached" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "0.0.0.0" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: + - "cached adjacency 199.220.235.181" + - "recursive" + type: "cached" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "10.0.120.0/24" + flags: + - "cached adjacency 199.220.235.181" + - "recursive" + type: "cached" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "10.158.0.0/19" + flags: [] + type: "null" + nexthop: "0.0.0.0" + interface: "Null0" + - prefix: "10.158.0.192/29" + flags: + - "cached adjacency 10.158.0.209" + type: "cached" + nexthop: "10.158.0.209" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.208/29" + flags: + - "attached" + - "connected" + type: "glean" + nexthop: "" + interface: "" + - prefix: "10.158.0.208/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "10.158.0.209/32" + flags: + - "connected" + - "cached adjacency 10.158.0.209" + type: "cached" + nexthop: "10.158.0.209" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.210/32" + flags: + - "connected" + - "cached adjacency 10.158.0.210" + type: "cached" + nexthop: "10.158.0.210" + interface: "GigabitEthernet0/0.1821" + - prefix: "10.158.0.214/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "10.158.0.215/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "10.180.30.1/32" + flags: + - "connected" + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "199.220.235.180/30" + flags: + - "attached" + - "connected" + type: "glean" + nexthop: "" + interface: "" + - prefix: "199.220.235.180/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "199.220.235.181/32" + flags: + - "connected" + - "cached adjacency 199.220.235.181" + type: "cached" + nexthop: "199.220.235.181" + interface: "GigabitEthernet0/1" + - prefix: "199.220.235.182/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "199.220.235.183/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "0.0.0.0" + interface: "" + - prefix: "224.0.0.0/24" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "0.0.0.0" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw new file mode 100644 index 0000000000..bc5c47513f --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw @@ -0,0 +1,83 @@ +IPv4 CEF is enabled and running +VRF Default + 823 prefixes (823/0 fwd/non-fwd) + Table id 0x0 + Database epoch: 0 (823 entries at this epoch) + +0.0.0.0/0, epoch 0, flags rib only nolabel, rib defined all labels, default route + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + recursive via 10.181.150.18 + attached to GigabitEthernet0/2 +0.0.0.0/8, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: drop + drop +0.0.0.0/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive +10.0.0.0/16, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 16 + nexthop 10.180.150.33 Port-channel1.1822 +10.0.120.0/24, epoch 0, flags rib only nolabel, rib defined all labels + NetFlow: Origin AS 65005, Peer AS 0, Mask Bits 24 + recursive via 10.181.150.18 + attached to GigabitEthernet0/2 +10.180.140.153/32, epoch 0, flags [attached] + Interest List: + - fib bfd tracking + BFD state up, tracking attached BFD session on GigabitEthernet0/1 + Adj source: IP adj out of GigabitEthernet0/1, addr 10.180.140.153 3ED40F00 + Dependent covered prefix type adjfib, cover 10.180.140.152/29 + 1 IPL source [no flags] + attached to GigabitEthernet0/1 +10.180.150.0/26, epoch 0, flags rib only nolabel, rib defined all labels + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 26 + attached to Null0 +10.180.150.5/32, epoch 0, flags attached, connected, receive, local, source eligible + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 32 + Interface source: Loopback180 flags: local, source eligible + receive for Loopback180 +10.180.150.32/29, epoch 0, flags attached, connected, cover dependents, need deagg + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 29 + Covered dependent prefixes: 3 + need deagg: 2 + notify cover updated: 1 + attached to Port-channel1.1822 +10.180.150.32/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 29 + Interface source: Port-channel1.1822 flags: none + Dependent covered prefix type cover need deagg, cover 10.180.150.32/29 + receive for Port-channel1.1822 +10.180.150.33/32, epoch 0, flags attached + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 29 + Adj source: IP adj out of Port-channel1.1822, addr 10.180.150.33 01F3E080 + Dependent covered prefix type adjfib, cover 10.180.150.32/29 + attached to Port-channel1.1822 +10.180.150.38/32, epoch 0, flags receive, local, source eligible + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 29 + Interface source: Port-channel1.1822 flags: local, source eligible + receive for Port-channel1.1822 +10.180.150.192/26, epoch 0, flags rib only nolabel, rib defined all labels + NetFlow: Origin AS 65150, Peer AS 0, Mask Bits 26 + recursive via 10.181.150.18 + attached to GigabitEthernet0/2 +10.181.150.0/26, epoch 0, flags rib only nolabel, rib defined all labels + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 26 + attached to Null0 +224.0.0.0/4, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: multicast + multicast +224.0.0.0/24, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive +240.0.0.0/4, epoch 0 + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: drop + drop +255.255.255.255/32, epoch 0, flags receive + NetFlow: Origin AS 0, Peer AS 0, Mask Bits 0 + Special source: receive + receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml new file mode 100644 index 0000000000..501f8f425c --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml @@ -0,0 +1,130 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: + - "rib only nolabel" + - "rib defined all labels" + - "default route" + type: "attached" + nexthop: "10.181.150.18" + interface: "GigabitEthernet0/2" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "nexthop" + nexthop: "10.180.150.33" + interface: "Port-channel1.1822" + - prefix: "10.0.120.0/24" + flags: + - "rib only nolabel" + - "rib defined all labels" + type: "attached" + nexthop: "10.181.150.18" + interface: "GigabitEthernet0/2" + - prefix: "10.180.140.153/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "GigabitEthernet0/1" + - prefix: "10.180.150.0/26" + flags: + - "rib only nolabel" + - "rib defined all labels" + type: "attached" + nexthop: "" + interface: "Null0" + - prefix: "10.180.150.5/32" + flags: + - "attached" + - "connected" + - "receive" + - "local" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Loopback180" + - prefix: "10.180.150.32/29" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Port-channel1.1822" + - prefix: "10.180.150.32/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Port-channel1.1822" + - prefix: "10.180.150.33/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "Port-channel1.1822" + - prefix: "10.180.150.38/32" + flags: + - "receive" + - "local" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Port-channel1.1822" + - prefix: "10.180.150.192/26" + flags: + - "rib only nolabel" + - "rib defined all labels" + type: "attached" + nexthop: "10.181.150.18" + interface: "GigabitEthernet0/2" + - prefix: "10.181.150.0/26" + flags: + - "rib only nolabel" + - "rib defined all labels" + type: "attached" + nexthop: "" + interface: "Null0" + - prefix: "10.181.150.16/30" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "GigabitEthernet0/2" + - prefix: "224.0.0.0/4" + flags: [] + type: "multicast" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw new file mode 100644 index 0000000000..69f7888914 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw @@ -0,0 +1,47 @@ +IPv4 CEF is enabled for distributed and running +VRF Default: + 1079 prefixes (1079/0 fwd/non-fwd) + Default network 0.0.0.0/0 + Table id 0 + Database epoch: 11 (1079 entries at this epoch) + Non-stop forwarding: + 79 routes at switchover + Switchover in progress (protocols reconverging) + 43 routes available after convergence and purge (20 purged) + +0.0.0.0/0, epoch 11 + DefNet source: 0.0.0.0/0 + nexthop 10.158.0.198 Vlan1801 +0.0.0.0/8, epoch 11 + Special source: drop + drop +0.0.0.0/32, epoch 11, flags receive + Special source: receive + receive +10.0.0.0/16, epoch 11 + nexthop 10.158.0.198 Vlan1801 +10.158.0.192/29, epoch 11, flags attached, connected, cover dependents, need deagg + Covered dependent prefixes: 5 + need deagg: 3 + notify cover updated: 2 + attached to Vlan1801 +10.158.0.192/32, epoch 11, flags receive + Dependent covered prefix type cover need deagg cover 10.158.0.192/29 + Interface source: Vlan1801 + receive for Vlan1801 +10.158.0.195/32, epoch 11, flags attached + Adj source: IP adj out of Vlan1801, addr 10.158.0.195 0637CEA0 + Dependent covered prefix type adjfib cover 10.158.0.192/29 + attached to Vlan1801 +224.0.0.0/4, epoch 11 + Special source: drop + drop +224.0.0.0/24, epoch 11, flags receive + Special source: receive + receive +240.0.0.0/4, epoch 11 + Special source: drop + drop +255.255.255.255/32, epoch 11, flags receive + Special source: receive + receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml new file mode 100644 index 0000000000..19f143a1d1 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml @@ -0,0 +1,80 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: [] + type: "nexthop" + nexthop: "10.158.0.198" + interface: "Vlan1801" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.0.0.0/16" + flags: [] + type: "nexthop" + nexthop: "10.158.0.198" + interface: "Vlan1801" + - prefix: "10.0.120.0/24" + flags: [] + type: "nexthop" + nexthop: "10.158.0.198" + interface: "Vlan1801" + - prefix: "10.158.0.192/29" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Vlan1801" + - prefix: "10.158.0.192/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Vlan1801" + - prefix: "10.158.0.195/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "Vlan1801" + - prefix: "10.158.1.0/24" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Vlan1581" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw new file mode 100644 index 0000000000..e17ff1fc19 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw @@ -0,0 +1,51 @@ +IPv4 CEF is enabled for distributed and running +VRF Default + 39 prefixes (39/0 fwd/non-fwd) + Table id 0x0 + Database epoch: 2 (39 entries at this epoch) + +0.0.0.0/0, epoch 2, flags [default route] + nexthop 10.255.1.1 Port-channel1.1 +0.0.0.0/8, epoch 2 + Special source: drop + drop +0.0.0.0/32, epoch 2, flags [receive] + Special source: receive + receive +10.255.0.0/30, epoch 2 + nexthop 10.255.1.1 Port-channel1.1 +10.255.1.0/24, epoch 2, flags [attached, connected, cover dependents, need deagg] + Covered dependent prefixes: 4 + need deagg: 2 + notify cover spupdated: 2 + attached to Port-channel1.1 +10.255.1.0/32, epoch 2, flags [receive] + Interface source: Port-channel1.1 flags: none flags3: none + Dependent covered prefix type cover need deagg, cover 10.255.1.0/24 + receive for Port-channel1.1 +10.255.1.1/32, epoch 2, flags [attached] + Adj source: IP adj out of Port-channel1.1, addr 10.255.1.1 7F7198983E10 + Dependent covered prefix type adjfib, cover 10.255.1.0/24 + attached to Port-channel1.1 +10.255.1.11/32, epoch 2, flags [receive, local, source eligible] + Interface source: Port-channel1.1 flags: local, source eligible flags3: none + receive for Port-channel1.1 +10.180.163.0/32, epoch 2, flags [attached, connected, receive, local, source eligible] + Interface source: Loopback180 flags: local, source eligible + receive for Loopback180 +10.180.163.129/32, epoch 2, flags [receive, local, source eligible] + Interface source: Vlan1831 flags: local, source eligible + receive for Vlan1831 +10.180.163.133/32, epoch 2, flags [attached] + Adj source: IP adj out of Vlan1831, addr 10.180.163.133 FFB3F95AE0 + Dependent covered prefix type adjfib, cover 10.180.163.128/29 + attached to Vlan1831 +127.0.0.0/8, epoch 2 + Special source: drop + drop +240.0.0.0/4, epoch 2 + Special source: drop + drop +255.255.255.255/32, epoch 2, flags [receive] + Special source: receive + receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml new file mode 100644 index 0000000000..99e3f0036f --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml @@ -0,0 +1,135 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: + - "default route" + type: "nexthop" + nexthop: "10.255.1.1" + interface: "Port-channel1.1" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "10.255.0.0/30" + flags: [] + type: "nexthop" + nexthop: "10.255.1.1" + interface: "Port-channel1.1" + - prefix: "10.255.1.0/24" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.255.1.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.255.1.1/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.255.1.11/32" + flags: + - "receive" + - "local" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.180.163.0/32" + flags: + - "attached" + - "connected" + - "receive" + - "local" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Loopback180" + - prefix: "10.180.163.128/29" + flags: + - "attached" + - "connected" + - "cover dependents" + - "need deagg" + type: "attached" + nexthop: "" + interface: "Vlan1831" + - prefix: "10.180.163.129/32" + flags: + - "receive" + - "local" + - "source eligible" + type: "receive" + nexthop: "" + interface: "Vlan1831" + - prefix: "10.180.163.133/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "Vlan1831" + - prefix: "10.180.163.135/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Vlan1831" + - prefix: "10.255.1.250/32" + flags: + - "attached" + type: "attached" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.255.1.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "Port-channel1.1" + - prefix: "10.255.2.0/30" + flags: [] + type: "nexthop" + nexthop: "10.255.1.1" + interface: "Port-channel1.1" + - prefix: "10.255.32.0/24" + flags: [] + type: "nexthop" + nexthop: "10.255.1.1" + interface: "Port-channel1.1" + - prefix: "127.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "172.31.1.8/29" + flags: [] + type: "nexthop" + nexthop: "10.255.1.1" + interface: "Port-channel1.1" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw new file mode 100644 index 0000000000..0e2d266820 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw @@ -0,0 +1,29 @@ +IPv4 CEF is enabled for distributed and running +VRF Default + 8 prefixes (8/0 fwd/non-fwd) + Table id 0x0 + Database epoch: 3 (8 entries at this epoch) + +0.0.0.0/0, epoch 3, flags [default route handler, default route] + no route +0.0.0.0/8, epoch 3 + Special source: drop + drop +0.0.0.0/32, epoch 3, flags [receive] + Special source: receive + receive +127.0.0.0/8, epoch 3 + Special source: drop + drop +224.0.0.0/4, epoch 3 + Special source: drop + drop +224.0.0.0/24, epoch 3, flags [receive] + Special source: receive + receive +240.0.0.0/4, epoch 3 + Special source: drop + drop +255.255.255.255/32, epoch 3, flags [receive] + Special source: receive + receive diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml new file mode 100644 index 0000000000..cd86c8d226 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml @@ -0,0 +1,47 @@ +--- +parsed_sample: + - prefix: "0.0.0.0/0" + flags: + - "default route handler" + - "default route" + type: "no route" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "0.0.0.0/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "127.0.0.0/8" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "224.0.0.0/24" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" + - prefix: "240.0.0.0/4" + flags: [] + type: "drop" + nexthop: "" + interface: "" + - prefix: "255.255.255.255/32" + flags: + - "receive" + type: "receive" + nexthop: "" + interface: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.raw new file mode 100644 index 0000000000..9244ddbfd5 --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.raw @@ -0,0 +1 @@ +%IPv4 CEF not running \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.yml new file mode 100644 index 0000000000..e77add67ed --- /dev/null +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_disabled.yml @@ -0,0 +1,2 @@ +--- +parsed_sample: [] From ca7fc43fbb8feda9d15e85ad2245a936ef1bdc26 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 10:55:31 +0100 Subject: [PATCH 430/628] Fix #1: ' RR source' --- templates/cisco_ios_show_ip_cef.textfsm | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 74831b65d6..de289b563a 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -90,6 +90,7 @@ Start ^\s+need\s+deagg ^\s+notify\s+cover ^\s+Dependent\s+covered + ^.*?RR\s+source ^\s+(?:Net)?Flow: ^\s+Interest\s+List: ^\s+-\s+ From 07d76397cb55f1bfdee844b193c0f8fff6964660 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 14:21:49 +0100 Subject: [PATCH 431/628] 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 From 5ac16db76577875d3208785b866ba6bf2630fc23 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 17:13:50 +0100 Subject: [PATCH 432/628] Re-run tests to refresh YAML files --- .../show_ip_cef/show_ip_cef_c2800_v1.yml | 35 ---------- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 56 +--------------- .../show_ip_cef/show_ip_cef_c2900_v1.yml | 35 ++-------- .../show_ip_cef/show_ip_cef_c3850_v1.yml | 25 -------- .../show_ip_cef_detail_c2800_v1.yml | 6 -- .../show_ip_cef_detail_c2800_v2.yml | 64 ------------------- .../show_ip_cef_detail_c2900_v1.yml | 9 --- .../show_ip_cef/show_ip_cef_detail_c3750.yml | 14 ---- .../show_ip_cef_detail_c3850_v1.yml | 42 ------------ 9 files changed, 8 insertions(+), 278 deletions(-) diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index e6bdb3262c..49e1d7e1b5 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -25,11 +25,6 @@ parsed_sample: type: "" nexthop: "172.17.40.1" interface: "Tunnel0" - - prefix: "10.189.252.0/24" - flags: [] - type: "" - nexthop: "172.17.40.1" - interface: "Tunnel0" - prefix: "10.191.64.0/24" flags: [] type: "attached " @@ -40,41 +35,11 @@ parsed_sample: type: "receive " nexthop: "" interface: "GigabitEthernet0/0" - - prefix: "10.191.64.1/32" - flags: [] - type: "receive " - nexthop: "" - interface: "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: [] type: "attached " nexthop: "" interface: "GigabitEthernet0/0" - - prefix: "10.191.64.9/32" - flags: [] - type: "attached " - nexthop: "" - interface: "GigabitEthernet0/0" - - prefix: "172.17.40.0/24" - flags: [] - type: "attached " - nexthop: "" - interface: "Tunnel0" - - prefix: "172.17.40.0/32" - flags: [] - type: "receive " - nexthop: "" - interface: "Tunnel0" - - prefix: "172.17.40.158/32" - flags: [] - type: "receive " - nexthop: "" - interface: "Tunnel0" - - prefix: "172.17.40.255/32" - flags: [] - type: "receive " - nexthop: "" - interface: "Tunnel0" - prefix: "224.0.0.0/4" flags: [] type: "drop" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index 3ea1242ca9..6ea75bb3f3 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -3,7 +3,7 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "199.220.235.181" + nexthop: "192.168.0.181" interface: "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] @@ -18,12 +18,7 @@ parsed_sample: - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" - - prefix: "10.0.120.0/24" - flags: [] - type: "" - nexthop: "199.220.235.181" + nexthop: "192.168.0.181" interface: "GigabitEthernet0/1" - prefix: "10.158.0.0/19" flags: [] @@ -45,56 +40,11 @@ parsed_sample: type: "receive" nexthop: "" interface: "" - - prefix: "10.158.0.209/32" - flags: [] - type: "" - nexthop: "10.158.0.209" - interface: "GigabitEthernet0/0.1821" - - prefix: "10.158.0.210/32" - flags: [] - type: "" - nexthop: "10.158.0.210" - interface: "GigabitEthernet0/0.1821" - - prefix: "10.158.0.214/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - - prefix: "10.158.0.215/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - - prefix: "10.180.30.1/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - - prefix: "199.220.235.180/30" + - prefix: "192.168.0.180/30" flags: [] type: "attached " nexthop: "" interface: "GigabitEthernet0/1" - - prefix: "199.220.235.180/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - - prefix: "199.220.235.181/32" - flags: [] - type: "" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" - - prefix: "199.220.235.182/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - - prefix: "199.220.235.183/32" - flags: [] - type: "receive" - nexthop: "" - interface: "" - prefix: "224.0.0.0/4" flags: [] type: "drop" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index 738ffc8977..e9f51cbe14 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -3,7 +3,7 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "10.180.140.153" + nexthop: "10.180.122.153" interface: "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] @@ -18,49 +18,24 @@ parsed_sample: - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "10.180.140.153" - interface: "GigabitEthernet0/1" - - prefix: "10.0.120.0/24" - flags: [] - type: "" - nexthop: "10.180.140.153" - interface: "GigabitEthernet0/1" - - prefix: "10.157.0.0/16" - flags: [] - type: "" - nexthop: "10.180.140.153" + nexthop: "10.180.122.153" interface: "GigabitEthernet0/1" - prefix: "10.157.1.0/24" flags: [] type: "" nexthop: "172.17.100.101" interface: "Tunnel60701" - - prefix: "10.180.140.7/32" + - prefix: "10.180.122.7/32" flags: [] type: "receive " nexthop: "" interface: "Loopback0" - - prefix: "10.180.140.152/29" - flags: [] - type: "attached " - nexthop: "" - interface: "GigabitEthernet0/1" - - prefix: "10.180.140.152/32" - flags: [] - type: "receive " - nexthop: "" - interface: "GigabitEthernet0/1" - - prefix: "10.180.140.153/32" + - prefix: "10.180.122.152/29" flags: [] type: "attached " nexthop: "" interface: "GigabitEthernet0/1" - - prefix: "10.180.140.158/32" - flags: [] - type: "receive " - nexthop: "" - interface: "GigabitEthernet0/1" - - prefix: "10.180.140.159/32" + - prefix: "10.180.122.152/32" flags: [] type: "receive " nexthop: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index 3c3b52f283..40f1dc5105 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -25,31 +25,6 @@ parsed_sample: type: "receive " nexthop: "" interface: "Vlan1" - - prefix: "10.255.1.1/32" - flags: [] - type: "attached " - nexthop: "" - interface: "Vlan1" - - prefix: "10.255.1.11/32" - flags: [] - type: "attached " - nexthop: "" - interface: "Vlan1" - - prefix: "10.255.1.23/32" - flags: [] - type: "receive " - nexthop: "" - interface: "Vlan1" - - prefix: "10.255.1.250/32" - flags: [] - type: "attached " - nexthop: "" - interface: "Vlan1" - - prefix: "10.255.1.255/32" - flags: [] - type: "receive " - nexthop: "" - interface: "Vlan1" - prefix: "10.255.255.192/30" flags: [] type: "" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml index 29c13f4fd5..91244bcf2c 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml @@ -71,12 +71,6 @@ parsed_sample: type: "receive" nexthop: "" interface: "Tunnel0" - - prefix: "172.17.40.255/32" - flags: - - "receive" - type: "receive" - nexthop: "" - interface: "Tunnel0" - prefix: "224.0.0.0/4" flags: [] type: "drop" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml index c6f4108cc3..6a91bc1471 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml @@ -18,20 +18,6 @@ parsed_sample: type: "" nexthop: "" interface: "" - - prefix: "10.0.0.0/16" - flags: - - "cached adjacency 199.220.235.181" - - "recursive" - type: "cached" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" - - prefix: "10.0.120.0/24" - flags: - - "cached adjacency 199.220.235.181" - - "recursive" - type: "cached" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" - prefix: "10.158.0.0/19" flags: [] type: "null" @@ -43,45 +29,12 @@ parsed_sample: type: "cached" nexthop: "10.158.0.209" interface: "GigabitEthernet0/0.1821" - - prefix: "10.158.0.208/29" - flags: - - "attached" - - "connected" - type: "glean" - nexthop: "" - interface: "" - prefix: "10.158.0.208/32" flags: - "receive" type: "" nexthop: "" interface: "" - - prefix: "10.158.0.209/32" - flags: - - "connected" - - "cached adjacency 10.158.0.209" - type: "cached" - nexthop: "10.158.0.209" - interface: "GigabitEthernet0/0.1821" - - prefix: "10.158.0.210/32" - flags: - - "connected" - - "cached adjacency 10.158.0.210" - type: "cached" - nexthop: "10.158.0.210" - interface: "GigabitEthernet0/0.1821" - - prefix: "10.158.0.214/32" - flags: - - "receive" - type: "" - nexthop: "" - interface: "" - - prefix: "10.158.0.215/32" - flags: - - "receive" - type: "" - nexthop: "" - interface: "" - prefix: "10.180.30.1/32" flags: - "connected" @@ -109,23 +62,6 @@ parsed_sample: type: "cached" nexthop: "199.220.235.181" interface: "GigabitEthernet0/1" - - prefix: "199.220.235.182/32" - flags: - - "receive" - type: "" - nexthop: "" - interface: "" - - prefix: "199.220.235.183/32" - flags: - - "receive" - type: "" - nexthop: "" - interface: "" - - prefix: "224.0.0.0/4" - flags: [] - type: "drop" - nexthop: "0.0.0.0" - interface: "" - prefix: "224.0.0.0/24" flags: - "receive" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml index 501f8f425c..28d17d7e6e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml @@ -97,15 +97,6 @@ parsed_sample: type: "attached" nexthop: "" interface: "Null0" - - prefix: "10.181.150.16/30" - flags: - - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: "" - interface: "GigabitEthernet0/2" - prefix: "224.0.0.0/4" flags: [] type: "multicast" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml index 19f143a1d1..f728a1604e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml @@ -21,11 +21,6 @@ parsed_sample: type: "nexthop" nexthop: "10.158.0.198" interface: "Vlan1801" - - prefix: "10.0.120.0/24" - flags: [] - type: "nexthop" - nexthop: "10.158.0.198" - interface: "Vlan1801" - prefix: "10.158.0.192/29" flags: - "attached" @@ -47,15 +42,6 @@ parsed_sample: type: "attached" nexthop: "" interface: "Vlan1801" - - prefix: "10.158.1.0/24" - flags: - - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: "" - interface: "Vlan1581" - prefix: "224.0.0.0/4" flags: [] type: "drop" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml index 99e3f0036f..b5a581cc41 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml @@ -61,15 +61,6 @@ parsed_sample: type: "receive" nexthop: "" interface: "Loopback180" - - prefix: "10.180.163.128/29" - flags: - - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: "" - interface: "Vlan1831" - prefix: "10.180.163.129/32" flags: - "receive" @@ -84,44 +75,11 @@ parsed_sample: type: "attached" nexthop: "" interface: "Vlan1831" - - prefix: "10.180.163.135/32" - flags: - - "receive" - type: "receive" - nexthop: "" - interface: "Vlan1831" - - prefix: "10.255.1.250/32" - flags: - - "attached" - type: "attached" - nexthop: "" - interface: "Port-channel1.1" - - prefix: "10.255.1.255/32" - flags: - - "receive" - type: "receive" - nexthop: "" - interface: "Port-channel1.1" - - prefix: "10.255.2.0/30" - flags: [] - type: "nexthop" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" - - prefix: "10.255.32.0/24" - flags: [] - type: "nexthop" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" - prefix: "127.0.0.0/8" flags: [] type: "drop" nexthop: "" interface: "" - - prefix: "172.31.1.8/29" - flags: [] - type: "nexthop" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" - prefix: "240.0.0.0/4" flags: [] type: "drop" From 068f8e5f37e4ed39ed05b0e037ec93ad2d601363 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 20:07:24 +0100 Subject: [PATCH 433/628] Fix #4: 'TYPE was capturing trailing spaces' --- templates/cisco_ios_show_ip_cef.textfsm | 4 ++-- tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml | 6 +++--- tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml | 4 ++-- tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml | 6 +++--- tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml | 12 ++++++------ 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 6e91970bf2..3a81697d0a 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -1,8 +1,8 @@ Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) Value List FLAGS ([^,\]\n]+) -Value TYPE ([a-z\s]+) +Value TYPE ((?:no\s)?(?:[a-z]+)) Value NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) -Value INTERFACE ([A-Za-z0-9\.\/-]+) +Value INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) # --- HEAD and DETAILED ENTRIES --- # e.g. show ip cef detail, show ip cef 10.0.0.1, etc diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index 49e1d7e1b5..a03914f71c 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -27,17 +27,17 @@ parsed_sample: interface: "Tunnel0" - prefix: "10.191.64.0/24" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/0" - prefix: "224.0.0.0/4" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index 6ea75bb3f3..6dfe691dc3 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -32,7 +32,7 @@ parsed_sample: interface: "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" @@ -42,7 +42,7 @@ parsed_sample: interface: "" - prefix: "192.168.0.180/30" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/1" - prefix: "224.0.0.0/4" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index e9f51cbe14..ab124873de 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -27,17 +27,17 @@ parsed_sample: interface: "Tunnel60701" - prefix: "10.180.122.7/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "Loopback0" - prefix: "10.180.122.152/29" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/1" - prefix: "10.180.122.152/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "GigabitEthernet0/1" - prefix: "224.0.0.0/4" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index 40f1dc5105..f32599eb8f 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -12,17 +12,17 @@ parsed_sample: interface: "" - prefix: "0.0.0.0/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "" - prefix: "10.255.1.0/24" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "Vlan1" - prefix: "10.255.1.0/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "Vlan1" - prefix: "10.255.255.192/30" @@ -32,7 +32,7 @@ parsed_sample: interface: "Port-channel1.1825" - prefix: "10.255.200.0/24" flags: [] - type: "attached " + type: "attached" nexthop: "" interface: "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" @@ -47,7 +47,7 @@ parsed_sample: interface: "" - prefix: "224.0.0.0/24" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "" - prefix: "240.0.0.0/4" @@ -57,6 +57,6 @@ parsed_sample: interface: "" - prefix: "255.255.255.255/32" flags: [] - type: "receive " + type: "receive" nexthop: "" interface: "" From 59c822b21651e652d6b634fe550e17e484c68c7d Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 20:09:02 +0100 Subject: [PATCH 434/628] Fix #5: 'Detect INTERFACE for glean adjacency IOS 12.x' --- templates/cisco_ios_show_ip_cef.textfsm | 5 ++++- tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 3a81697d0a..97389d6209 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -66,7 +66,10 @@ Start # Stop processing Flags (max 4) ^.*?epoch.*?$$ # Extract extra Flag, such as recursive - ^.*?dependenc(?:y|ies),\s+${FLAGS} + ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue + ^\s+via\s+${NEXTHOP},\s+\d+\s+dependenc + ^\s+via\s+${INTERFACE},\s+\d+\s+dependenc + ^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+dependenc ^.*?dependenc(?:y|ies) # Extract Nexthop and Interface ^\s+next\s+hop\s+${NEXTHOP}\s*$$ diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml index 6a91bc1471..c0034b24cc 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml @@ -48,7 +48,7 @@ parsed_sample: - "connected" type: "glean" nexthop: "" - interface: "" + interface: "GigabitEthernet0/1" - prefix: "199.220.235.180/32" flags: - "receive" From 730b2ccd25e8d82820b450527175c8bcc5c91b26 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 21:32:45 +0100 Subject: [PATCH 435/628] Fix #6: 'Improved Detection logic' --- templates/cisco_ios_show_ip_cef.textfsm | 27 ++++++++++--------- .../show_ip_cef_detail_c2800_v1.yml | 2 +- .../show_ip_cef_detail_c2900_v1.yml | 4 +-- .../show_ip_cef/show_ip_cef_detail_c3750.yml | 2 +- .../show_ip_cef_detail_c3850_v1.yml | 4 +-- 5 files changed, 20 insertions(+), 19 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 97389d6209..db17b30936 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -37,22 +37,27 @@ Start ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){5}${FLAGS} -> Continue # Stop processing Flags (6+) ^\d.*?flags.*?$$ - # Extract Type / Nexthop / Interface - # Available Type (IOS >v15.x): + # 1st attempt to extract details via source info + # Supported Type (IOS >v15.x): # - attached # - receive # - drop # - no route # - nexthop # - multicast + ^\s+Adj\s+source:\s+IP\s+adj\s+out\s+of\s+${INTERFACE},\s+addr\s+${NEXTHOP}\s* + ^\s+Special\s+source:\s+${TYPE}$$ + ^\s+Interface\s+source:\s+${INTERFACE} + ^\s+DefNet\s+source + # 2nd attempt to extract details + ^\s+recursive\s+via\s+${NEXTHOP} + ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} + ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} ^\s+${TYPE}(?<=drop)$$ ^\s+${TYPE}(?<=no route)$$ ^\s+${TYPE}(?<=receive)$$ ^\s+${TYPE}(?<=multicast)$$ ^\s+${TYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} - ^\s+recursive\s+via\s+${NEXTHOP} - ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} - ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} # # --- Parse CEF table from Cisco IOS 12.x ISR G1 # @@ -67,10 +72,10 @@ Start ^.*?epoch.*?$$ # Extract extra Flag, such as recursive ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue - ^\s+via\s+${NEXTHOP},\s+\d+\s+dependenc - ^\s+via\s+${INTERFACE},\s+\d+\s+dependenc - ^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+dependenc - ^.*?dependenc(?:y|ies) + ^\s+via\s+${NEXTHOP},\s+\d+\s+depend + ^\s+via\s+${INTERFACE},\s+\d+\s+depend + ^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+depend + ^.*?depend # Extract Nexthop and Interface ^\s+next\s+hop\s+${NEXTHOP}\s*$$ ^\s+next\s+hop\s+${NEXTHOP},\s+${INTERFACE} @@ -86,10 +91,6 @@ Start # Ignore JUNK # ^\s+Q[Oo]S - ^\s+Special\s+source - ^\s+Interface\s+source - ^\s+Adj\s+source - ^\s+DefNet\s+source ^\s+Covered\s+dependent ^\s+need\s+deagg ^\s+notify\s+cover diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml index 91244bcf2c..d34b4eb553 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml @@ -47,7 +47,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.191.64.2" interface: "GigabitEthernet0/0" - prefix: "172.17.40.0/24" flags: diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml index 28d17d7e6e..89d1911567 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml @@ -35,7 +35,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.180.140.153" interface: "GigabitEthernet0/1" - prefix: "10.180.150.0/26" flags: @@ -73,7 +73,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.180.150.33" interface: "Port-channel1.1822" - prefix: "10.180.150.38/32" flags: diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml index f728a1604e..5eeaa0c4cb 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml @@ -40,7 +40,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.158.0.195" interface: "Vlan1801" - prefix: "224.0.0.0/4" flags: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml index b5a581cc41..d0a40e80d4 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml @@ -41,7 +41,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.255.1.1" interface: "Port-channel1.1" - prefix: "10.255.1.11/32" flags: @@ -73,7 +73,7 @@ parsed_sample: flags: - "attached" type: "attached" - nexthop: "" + nexthop: "10.180.163.133" interface: "Vlan1831" - prefix: "127.0.0.0/8" flags: [] From 8f4f7dd740f006ed6f44cfc3bb5eab0931a44a9d Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 21:42:01 +0100 Subject: [PATCH 436/628] Fix #7: 'Legacy IOS lists drop action as 0.0.0.0' --- templates/cisco_ios_show_ip_cef.textfsm | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index db17b30936..c025e8576e 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -112,6 +112,7 @@ Start # e.g. show ip cef, or show ip cef vrf Entries ^${PREFIX}\s+${TYPE}\s*$$ -> Record + ^${PREFIX}\s+${NEXTHOP}\s*$$ -> Record ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ -> Record ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ -> Record ^\s*$$ From d2dee5d53342bc85118bca0fb89db2bbe02088bc Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Sun, 10 May 2020 22:18:07 +0100 Subject: [PATCH 437/628] Fix #8: 'Add support for ECMP' --- templates/cisco_ios_show_ip_cef.textfsm | 29 +++--- .../show_ip_cef/show_ip_cef_c2800_v1.yml | 57 +++++++----- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 62 +++++++------ .../show_ip_cef/show_ip_cef_c2900_v1.yml | 57 +++++++----- .../show_ip_cef/show_ip_cef_c3750.yml | 26 +++--- .../show_ip_cef/show_ip_cef_c3850_v1.raw | 2 + .../show_ip_cef/show_ip_cef_c3850_v1.yml | 64 +++++++++----- .../show_ip_cef/show_ip_cef_c3850_v2.yml | 32 +++---- .../show_ip_cef_detail_c2800_v1.yml | 71 ++++++++------- .../show_ip_cef_detail_c2800_v2.yml | 63 +++++++------ .../show_ip_cef_detail_c2900_v1.yml | 88 +++++++++++-------- .../show_ip_cef/show_ip_cef_detail_c3750.yml | 51 ++++++----- .../show_ip_cef_detail_c3850_v1.raw | 5 +- .../show_ip_cef_detail_c3850_v1.yml | 76 ++++++++++------ .../show_ip_cef_detail_c3850_v2.yml | 32 +++---- 15 files changed, 418 insertions(+), 297 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index c025e8576e..f7623d89eb 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -1,8 +1,8 @@ Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) Value List FLAGS ([^,\]\n]+) Value TYPE ((?:no\s)?(?:[a-z]+)) -Value NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) -Value INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) +Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) # --- HEAD and DETAILED ENTRIES --- # e.g. show ip cef detail, show ip cef 10.0.0.1, etc @@ -37,7 +37,7 @@ Start ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){5}${FLAGS} -> Continue # Stop processing Flags (6+) ^\d.*?flags.*?$$ - # 1st attempt to extract details via source info + # Attempt to extract details via source info # Supported Type (IOS >v15.x): # - attached # - receive @@ -45,11 +45,6 @@ Start # - no route # - nexthop # - multicast - ^\s+Adj\s+source:\s+IP\s+adj\s+out\s+of\s+${INTERFACE},\s+addr\s+${NEXTHOP}\s* - ^\s+Special\s+source:\s+${TYPE}$$ - ^\s+Interface\s+source:\s+${INTERFACE} - ^\s+DefNet\s+source - # 2nd attempt to extract details ^\s+recursive\s+via\s+${NEXTHOP} ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} @@ -72,9 +67,9 @@ Start ^.*?epoch.*?$$ # Extract extra Flag, such as recursive ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue - ^\s+via\s+${NEXTHOP},\s+\d+\s+depend + #^\s+via\s+${NEXTHOP},\s+\d+\s+depend ^\s+via\s+${INTERFACE},\s+\d+\s+depend - ^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+depend + #^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+depend ^.*?depend # Extract Nexthop and Interface ^\s+next\s+hop\s+${NEXTHOP}\s*$$ @@ -90,6 +85,10 @@ Start # # Ignore JUNK # + ^\s+Adj\s+source + ^\s+Special\s+source + ^\s+Interface\s+source + ^\s+DefNet\s+source ^\s+Q[Oo]S ^\s+Covered\s+dependent ^\s+need\s+deagg @@ -111,9 +110,11 @@ Start # --- BRIEF ENTRIES # e.g. show ip cef, or show ip cef vrf Entries - ^${PREFIX}\s+${TYPE}\s*$$ -> Record - ^${PREFIX}\s+${NEXTHOP}\s*$$ -> Record - ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ -> Record - ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ -> Record + ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record + ^${PREFIX}\s+${TYPE}\s*$$ + ^${PREFIX}\s+${NEXTHOP}\s*$$ + ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ + ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ + ^\s+${NEXTHOP}\s+${INTERFACE}$$ ^\s*$$ ^. -> Error \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index a03914f71c..22c3e7f60a 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -3,60 +3,69 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "172.17.40.1" - interface: "Tunnel0" + nexthop: + - "172.17.40.1" + interface: + - "Tunnel0" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "172.17.40.1" - interface: "Tunnel0" + nexthop: + - "172.17.40.1" + interface: + - "Tunnel0" - prefix: "10.0.120.0/24" flags: [] type: "" - nexthop: "172.17.40.1" - interface: "Tunnel0" + nexthop: + - "172.17.40.1" + interface: + - "Tunnel0" - prefix: "10.191.64.0/24" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: [] type: "receive" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index 6dfe691dc3..c4e91ff8d9 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -3,65 +3,75 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "192.168.0.181" - interface: "GigabitEthernet0/1" + nexthop: + - "192.168.0.181" + interface: + - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "192.168.0.181" - interface: "GigabitEthernet0/1" + nexthop: + - "192.168.0.181" + interface: + - "GigabitEthernet0/1" - prefix: "10.158.0.0/19" flags: [] type: "" - nexthop: "0.0.0.0" - interface: "Null0" + nexthop: + - "0.0.0.0" + interface: + - "Null0" - prefix: "10.158.0.192/29" flags: [] type: "" - nexthop: "10.158.0.209" - interface: "GigabitEthernet0/0.1821" + nexthop: + - "10.158.0.209" + interface: + - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/0.1821" + nexthop: [] + interface: + - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "192.168.0.180/30" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/1" + nexthop: [] + interface: + - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index ab124873de..40603ee38e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -3,60 +3,69 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "10.180.122.153" - interface: "GigabitEthernet0/1" + nexthop: + - "10.180.122.153" + interface: + - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "10.180.122.153" - interface: "GigabitEthernet0/1" + nexthop: + - "10.180.122.153" + interface: + - "GigabitEthernet0/1" - prefix: "10.157.1.0/24" flags: [] type: "" - nexthop: "172.17.100.101" - interface: "Tunnel60701" + nexthop: + - "172.17.100.101" + interface: + - "Tunnel60701" - prefix: "10.180.122.7/32" flags: [] type: "receive" - nexthop: "" - interface: "Loopback0" + nexthop: [] + interface: + - "Loopback0" - prefix: "10.180.122.152/29" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/1" + nexthop: [] + interface: + - "GigabitEthernet0/1" - prefix: "10.180.122.152/32" flags: [] type: "receive" - nexthop: "" - interface: "GigabitEthernet0/1" + nexthop: [] + interface: + - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml index 65d83e52f4..ecd9c73cbb 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -3,25 +3,31 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "10.158.0.198" - interface: "Vlan1801" + nexthop: + - "10.158.0.198" + interface: + - "Vlan1801" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "" - nexthop: "10.158.0.198" - interface: "Vlan1801" + nexthop: + - "10.158.0.198" + interface: + - "Vlan1801" - prefix: "10.0.120.0/24" flags: [] type: "" - nexthop: "10.158.0.198" - interface: "Vlan1801" + nexthop: + - "10.158.0.198" + interface: + - "Vlan1801" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw index 0133fd8b5e..00035025db 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.raw @@ -2,6 +2,8 @@ Prefix Next Hop Interface 0.0.0.0/0 10.255.1.1 Vlan1 0.0.0.0/8 drop 0.0.0.0/32 receive +10.180.195.0/32 10.180.101.5 GigabitEthernet1/0/1 + 10.180.101.10 GigabitEthernet1/0/2 10.255.1.0/24 attached Vlan1 10.255.1.0/32 receive Vlan1 10.255.255.192/30 10.255.2.1 Port-channel1.1825 diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index f32599eb8f..e0fc637538 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -3,60 +3,76 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "" - nexthop: "10.255.1.1" - interface: "Vlan1" + nexthop: + - "10.255.1.1" + interface: + - "Vlan1" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] + - prefix: "10.180.195.0/32" + flags: [] + type: "" + nexthop: + - "10.180.101.5" + - "10.180.101.10" + interface: + - "GigabitEthernet1/0/1" + - "GigabitEthernet1/0/2" - prefix: "10.255.1.0/24" flags: [] type: "attached" - nexthop: "" - interface: "Vlan1" + nexthop: [] + interface: + - "Vlan1" - prefix: "10.255.1.0/32" flags: [] type: "receive" - nexthop: "" - interface: "Vlan1" + nexthop: [] + interface: + - "Vlan1" - prefix: "10.255.255.192/30" flags: [] type: "" - nexthop: "10.255.2.1" - interface: "Port-channel1.1825" + nexthop: + - "10.255.2.1" + interface: + - "Port-channel1.1825" - prefix: "10.255.200.0/24" flags: [] type: "attached" - nexthop: "" - interface: "GigabitEthernet0/0/2.200" + nexthop: [] + interface: + - "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml index 48b3149cc2..4b71469b68 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -3,40 +3,40 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "no route" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "127.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: [] type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml index d34b4eb553..8081991696 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml @@ -3,24 +3,28 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "nexthop" - nexthop: "172.17.40.1" - interface: "Tunnel0" + nexthop: + - "172.17.40.1" + interface: + - "Tunnel0" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "nexthop" - nexthop: "172.17.40.1" - interface: "Tunnel0" + nexthop: + - "172.17.40.1" + interface: + - "Tunnel0" - prefix: "10.191.64.0/24" flags: - "attached" @@ -28,27 +32,31 @@ parsed_sample: - "cover dependents" - "need deagg" type: "attached" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "10.191.64.1/32" flags: - "receive" - "source eligible" type: "receive" - nexthop: "" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: - "attached" type: "attached" - nexthop: "10.191.64.2" - interface: "GigabitEthernet0/0" + nexthop: [] + interface: + - "GigabitEthernet0/0" - prefix: "172.17.40.0/24" flags: - "attached" @@ -56,40 +64,43 @@ parsed_sample: - "cover dependents" - "need deagg" type: "attached" - nexthop: "" - interface: "Tunnel0" + nexthop: [] + interface: + - "Tunnel0" - prefix: "172.17.40.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "Tunnel0" + nexthop: [] + interface: + - "Tunnel0" - prefix: "172.17.40.158/32" flags: - "receive" - "source eligible" type: "receive" - nexthop: "" - interface: "Tunnel0" + nexthop: [] + interface: + - "Tunnel0" - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml index c0034b24cc..c967bdcfd6 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml @@ -5,77 +5,88 @@ parsed_sample: - "cached adjacency 199.220.235.181" - "recursive" type: "cached" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" + nexthop: + - "199.220.235.181" + interface: + - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "0.0.0.0" - interface: "" + nexthop: + - "0.0.0.0" + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.158.0.0/19" flags: [] type: "null" - nexthop: "0.0.0.0" - interface: "Null0" + nexthop: + - "0.0.0.0" + interface: + - "Null0" - prefix: "10.158.0.192/29" flags: - "cached adjacency 10.158.0.209" type: "cached" - nexthop: "10.158.0.209" - interface: "GigabitEthernet0/0.1821" + nexthop: + - "10.158.0.209" + interface: + - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" flags: - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.180.30.1/32" flags: - "connected" - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "199.220.235.180/30" flags: - "attached" - "connected" type: "glean" - nexthop: "" - interface: "GigabitEthernet0/1" + nexthop: [] + interface: + - "GigabitEthernet0/1" - prefix: "199.220.235.180/32" flags: - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "199.220.235.181/32" flags: - "connected" - "cached adjacency 199.220.235.181" type: "cached" - nexthop: "199.220.235.181" - interface: "GigabitEthernet0/1" + nexthop: + - "199.220.235.181" + interface: + - "GigabitEthernet0/1" - prefix: "224.0.0.0/24" flags: - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "0.0.0.0" - interface: "" + nexthop: + - "0.0.0.0" + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml index 89d1911567..8d1af45bc7 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml @@ -6,44 +6,52 @@ parsed_sample: - "rib defined all labels" - "default route" type: "attached" - nexthop: "10.181.150.18" - interface: "GigabitEthernet0/2" + nexthop: + - "10.181.150.18" + interface: + - "GigabitEthernet0/2" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "nexthop" - nexthop: "10.180.150.33" - interface: "Port-channel1.1822" + nexthop: + - "10.180.150.33" + interface: + - "Port-channel1.1822" - prefix: "10.0.120.0/24" flags: - "rib only nolabel" - "rib defined all labels" type: "attached" - nexthop: "10.181.150.18" - interface: "GigabitEthernet0/2" + nexthop: + - "10.181.150.18" + interface: + - "GigabitEthernet0/2" - prefix: "10.180.140.153/32" flags: - "attached" type: "attached" - nexthop: "10.180.140.153" - interface: "GigabitEthernet0/1" + nexthop: [] + interface: + - "GigabitEthernet0/1" - prefix: "10.180.150.0/26" flags: - "rib only nolabel" - "rib defined all labels" type: "attached" - nexthop: "" - interface: "Null0" + nexthop: [] + interface: + - "Null0" - prefix: "10.180.150.5/32" flags: - "attached" @@ -52,8 +60,9 @@ parsed_sample: - "local" - "source eligible" type: "receive" - nexthop: "" - interface: "Loopback180" + nexthop: [] + interface: + - "Loopback180" - prefix: "10.180.150.32/29" flags: - "attached" @@ -61,61 +70,68 @@ parsed_sample: - "cover dependents" - "need deagg" type: "attached" - nexthop: "" - interface: "Port-channel1.1822" + nexthop: [] + interface: + - "Port-channel1.1822" - prefix: "10.180.150.32/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "Port-channel1.1822" + nexthop: [] + interface: + - "Port-channel1.1822" - prefix: "10.180.150.33/32" flags: - "attached" type: "attached" - nexthop: "10.180.150.33" - interface: "Port-channel1.1822" + nexthop: [] + interface: + - "Port-channel1.1822" - prefix: "10.180.150.38/32" flags: - "receive" - "local" - "source eligible" type: "receive" - nexthop: "" - interface: "Port-channel1.1822" + nexthop: [] + interface: + - "Port-channel1.1822" - prefix: "10.180.150.192/26" flags: - "rib only nolabel" - "rib defined all labels" type: "attached" - nexthop: "10.181.150.18" - interface: "GigabitEthernet0/2" + nexthop: + - "10.181.150.18" + interface: + - "GigabitEthernet0/2" - prefix: "10.181.150.0/26" flags: - "rib only nolabel" - "rib defined all labels" type: "attached" - nexthop: "" - interface: "Null0" + nexthop: [] + interface: + - "Null0" - prefix: "224.0.0.0/4" flags: [] type: "multicast" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml index 5eeaa0c4cb..c6f39dac30 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml @@ -3,24 +3,28 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] type: "nexthop" - nexthop: "10.158.0.198" - interface: "Vlan1801" + nexthop: + - "10.158.0.198" + interface: + - "Vlan1801" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "10.0.0.0/16" flags: [] type: "nexthop" - nexthop: "10.158.0.198" - interface: "Vlan1801" + nexthop: + - "10.158.0.198" + interface: + - "Vlan1801" - prefix: "10.158.0.192/29" flags: - "attached" @@ -28,39 +32,42 @@ parsed_sample: - "cover dependents" - "need deagg" type: "attached" - nexthop: "" - interface: "Vlan1801" + nexthop: [] + interface: + - "Vlan1801" - prefix: "10.158.0.192/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "Vlan1801" + nexthop: [] + interface: + - "Vlan1801" - prefix: "10.158.0.195/32" flags: - "attached" type: "attached" - nexthop: "10.158.0.195" - interface: "Vlan1801" + nexthop: [] + interface: + - "Vlan1801" - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw index e17ff1fc19..825c6c714a 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw @@ -12,6 +12,9 @@ VRF Default 0.0.0.0/32, epoch 2, flags [receive] Special source: receive receive +10.180.195.0/32, epoch 3, per-destination sharing + nexthop 10.180.101.5 GigabitEthernet1/0/1 + nexthop 10.180.101.10 GigabitEthernet1/0/2 10.255.0.0/30, epoch 2 nexthop 10.255.1.1 Port-channel1.1 10.255.1.0/24, epoch 2, flags [attached, connected, cover dependents, need deagg] @@ -48,4 +51,4 @@ VRF Default drop 255.255.255.255/32, epoch 2, flags [receive] Special source: receive - receive + receive \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml index d0a40e80d4..3f3af0a443 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml @@ -4,24 +4,37 @@ parsed_sample: flags: - "default route" type: "nexthop" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" + nexthop: + - "10.255.1.1" + interface: + - "Port-channel1.1" - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] + - prefix: "10.180.195.0/32" + flags: [] + type: "nexthop" + nexthop: + - "10.180.101.5" + - "10.180.101.10" + interface: + - "GigabitEthernet1/0/1" + - "GigabitEthernet1/0/2" - prefix: "10.255.0.0/30" flags: [] type: "nexthop" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" + nexthop: + - "10.255.1.1" + interface: + - "Port-channel1.1" - prefix: "10.255.1.0/24" flags: - "attached" @@ -29,28 +42,32 @@ parsed_sample: - "cover dependents" - "need deagg" type: "attached" - nexthop: "" - interface: "Port-channel1.1" + nexthop: [] + interface: + - "Port-channel1.1" - prefix: "10.255.1.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "Port-channel1.1" + nexthop: [] + interface: + - "Port-channel1.1" - prefix: "10.255.1.1/32" flags: - "attached" type: "attached" - nexthop: "10.255.1.1" - interface: "Port-channel1.1" + nexthop: [] + interface: + - "Port-channel1.1" - prefix: "10.255.1.11/32" flags: - "receive" - "local" - "source eligible" type: "receive" - nexthop: "" - interface: "Port-channel1.1" + nexthop: [] + interface: + - "Port-channel1.1" - prefix: "10.180.163.0/32" flags: - "attached" @@ -59,35 +76,38 @@ parsed_sample: - "local" - "source eligible" type: "receive" - nexthop: "" - interface: "Loopback180" + nexthop: [] + interface: + - "Loopback180" - prefix: "10.180.163.129/32" flags: - "receive" - "local" - "source eligible" type: "receive" - nexthop: "" - interface: "Vlan1831" + nexthop: [] + interface: + - "Vlan1831" - prefix: "10.180.163.133/32" flags: - "attached" type: "attached" - nexthop: "10.180.163.133" - interface: "Vlan1831" + nexthop: [] + interface: + - "Vlan1831" - prefix: "127.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml index cd86c8d226..65b06cc77f 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml @@ -5,43 +5,43 @@ parsed_sample: - "default route handler" - "default route" type: "no route" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "0.0.0.0/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "127.0.0.0/8" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "224.0.0.0/24" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "240.0.0.0/4" flags: [] type: "drop" - nexthop: "" - interface: "" + nexthop: [] + interface: [] - prefix: "255.255.255.255/32" flags: - "receive" type: "receive" - nexthop: "" - interface: "" + nexthop: [] + interface: [] From c6fbb77ac5063509a73c851068c6142a3d42e520 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Mon, 11 May 2020 00:03:03 +0100 Subject: [PATCH 438/628] Final commit: clean up & all tests re-run --- templates/cisco_ios_show_ip_cef.textfsm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index f7623d89eb..f6abf4e9fe 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -1,6 +1,10 @@ Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) Value List FLAGS ([^,\]\n]+) Value TYPE ((?:no\s)?(?:[a-z]+)) +# Nexthop and Interface are lists to support ECMP +# Usually these will be single item lists +# However, if there are multiple paths available +# these will contain one items per route/path Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) @@ -67,9 +71,7 @@ Start ^.*?epoch.*?$$ # Extract extra Flag, such as recursive ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue - #^\s+via\s+${NEXTHOP},\s+\d+\s+depend ^\s+via\s+${INTERFACE},\s+\d+\s+depend - #^\s+via\s+${NEXTHOP},\s+${INTERFACE},\s+\d+\s+depend ^.*?depend # Extract Nexthop and Interface ^\s+next\s+hop\s+${NEXTHOP}\s*$$ From 6682e053d160ffcaf0afc0313aec91c19c9ed8a6 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Mon, 11 May 2020 15:33:11 +0100 Subject: [PATCH 439/628] Final commit: TYPE var renamed to ETYPE (entry type) --- templates/cisco_ios_show_ip_cef.textfsm | 22 ++++++------ .../show_ip_cef/show_ip_cef_c2800_v1.yml | 24 ++++++------- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 26 +++++++------- .../show_ip_cef/show_ip_cef_c2900_v1.yml | 24 ++++++------- .../show_ip_cef/show_ip_cef_c3750.yml | 10 +++--- .../show_ip_cef/show_ip_cef_c3850_v1.yml | 26 +++++++------- .../show_ip_cef/show_ip_cef_c3850_v2.yml | 16 ++++----- .../show_ip_cef_detail_c2800_v1.yml | 30 ++++++++-------- .../show_ip_cef_detail_c2800_v2.yml | 26 +++++++------- .../show_ip_cef_detail_c2900_v1.yml | 36 +++++++++---------- .../show_ip_cef/show_ip_cef_detail_c3750.yml | 22 ++++++------ .../show_ip_cef_detail_c3850_v1.yml | 30 ++++++++-------- .../show_ip_cef_detail_c3850_v2.yml | 16 ++++----- 13 files changed, 154 insertions(+), 154 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index f6abf4e9fe..04c427ac6a 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -1,6 +1,6 @@ Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) Value List FLAGS ([^,\]\n]+) -Value TYPE ((?:no\s)?(?:[a-z]+)) +Value ETYPE ((?:no\s)?(?:[a-z]+)) # Nexthop and Interface are lists to support ECMP # Usually these will be single item lists # However, if there are multiple paths available @@ -50,13 +50,13 @@ Start # - nexthop # - multicast ^\s+recursive\s+via\s+${NEXTHOP} - ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} - ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} - ^\s+${TYPE}(?<=drop)$$ - ^\s+${TYPE}(?<=no route)$$ - ^\s+${TYPE}(?<=receive)$$ - ^\s+${TYPE}(?<=multicast)$$ - ^\s+${TYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} + ^\s+${ETYPE}(?<=receive)\s+for\s+${INTERFACE} + ^\s+${ETYPE}(?<=attached)\s+to\s+${INTERFACE} + ^\s+${ETYPE}(?<=drop)$$ + ^\s+${ETYPE}(?<=no route)$$ + ^\s+${ETYPE}(?<=receive)$$ + ^\s+${ETYPE}(?<=multicast)$$ + ^\s+${ETYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} # # --- Parse CEF table from Cisco IOS 12.x ISR G1 # @@ -83,7 +83,7 @@ Start # - cached (same as nexthop in IOS v15.x) # - drop # - if type is None, then it's receive (check flags) - ^\s+valid\s+${TYPE}\s+adjacency$$ + ^\s+valid\s+${ETYPE}\s+adjacency$$ # # Ignore JUNK # @@ -113,9 +113,9 @@ Start # e.g. show ip cef, or show ip cef vrf Entries ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record - ^${PREFIX}\s+${TYPE}\s*$$ + ^${PREFIX}\s+${ETYPE}\s*$$ ^${PREFIX}\s+${NEXTHOP}\s*$$ - ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ + ^${PREFIX}\s+${ETYPE}\s+${INTERFACE}$$ ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ ^\s+${NEXTHOP}\s+${INTERFACE}$$ ^\s*$$ diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index 22c3e7f60a..03ed6776ea 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -2,70 +2,70 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "" + etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "" + etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.0.120.0/24" flags: [] - type: "" + etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.191.64.0/24" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index c4e91ff8d9..8098c75199 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -2,76 +2,76 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "" + etype: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "" + etype: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "10.158.0.0/19" flags: [] - type: "" + etype: "" nexthop: - "0.0.0.0" interface: - "Null0" - prefix: "10.158.0.192/29" flags: [] - type: "" + etype: "" nexthop: - "10.158.0.209" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "192.168.0.180/30" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index 40603ee38e..d024ca7b5e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -2,70 +2,70 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "" + etype: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "" + etype: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "10.157.1.0/24" flags: [] - type: "" + etype: "" nexthop: - "172.17.100.101" interface: - "Tunnel60701" - prefix: "10.180.122.7/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: - "Loopback0" - prefix: "10.180.122.152/29" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "10.180.122.152/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml index ecd9c73cbb..6f6c5aac11 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -2,31 +2,31 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "" + etype: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "" + etype: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "10.0.120.0/24" flags: [] - type: "" + etype: "" nexthop: - "10.158.0.198" interface: diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index e0fc637538..d1c29c7d5b 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -2,24 +2,24 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "" + etype: "" nexthop: - "10.255.1.1" interface: - "Vlan1" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.180.195.0/32" flags: [] - type: "" + etype: "" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -28,51 +28,51 @@ parsed_sample: - "GigabitEthernet1/0/2" - prefix: "10.255.1.0/24" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "Vlan1" - prefix: "10.255.1.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: - "Vlan1" - prefix: "10.255.255.192/30" flags: [] - type: "" + etype: "" nexthop: - "10.255.2.1" interface: - "Port-channel1.1825" - prefix: "10.255.200.0/24" flags: [] - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml index 4b71469b68..6abf697360 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -2,41 +2,41 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "no route" + etype: "no route" nexthop: [] interface: [] - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "127.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: [] - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml index 8081991696..adaa170c48 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml @@ -2,25 +2,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "172.17.40.1" interface: @@ -31,14 +31,14 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: - "GigabitEthernet0/0" @@ -46,14 +46,14 @@ parsed_sample: flags: - "receive" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" @@ -63,14 +63,14 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - type: "attached" + etype: "attached" nexthop: [] interface: - "Tunnel0" - prefix: "172.17.40.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: - "Tunnel0" @@ -78,29 +78,29 @@ parsed_sample: flags: - "receive" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Tunnel0" - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml index c967bdcfd6..abb38c5b3b 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml @@ -4,26 +4,26 @@ parsed_sample: flags: - "cached adjacency 199.220.235.181" - "recursive" - type: "cached" + etype: "cached" nexthop: - "199.220.235.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: - "0.0.0.0" interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "" + etype: "" nexthop: [] interface: [] - prefix: "10.158.0.0/19" flags: [] - type: "null" + etype: "null" nexthop: - "0.0.0.0" interface: @@ -31,7 +31,7 @@ parsed_sample: - prefix: "10.158.0.192/29" flags: - "cached adjacency 10.158.0.209" - type: "cached" + etype: "cached" nexthop: - "10.158.0.209" interface: @@ -39,35 +39,35 @@ parsed_sample: - prefix: "10.158.0.208/32" flags: - "receive" - type: "" + etype: "" nexthop: [] interface: [] - prefix: "10.180.30.1/32" flags: - "connected" - "receive" - type: "" + etype: "" nexthop: [] interface: [] - prefix: "199.220.235.180/30" flags: - "attached" - "connected" - type: "glean" + etype: "glean" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "199.220.235.180/32" flags: - "receive" - type: "" + etype: "" nexthop: [] interface: [] - prefix: "199.220.235.181/32" flags: - "connected" - "cached adjacency 199.220.235.181" - type: "cached" + etype: "cached" nexthop: - "199.220.235.181" interface: @@ -75,18 +75,18 @@ parsed_sample: - prefix: "224.0.0.0/24" flags: - "receive" - type: "" + etype: "" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: - "0.0.0.0" interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "" + etype: "" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml index 8d1af45bc7..d0dfb5df1e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml @@ -5,25 +5,25 @@ parsed_sample: - "rib only nolabel" - "rib defined all labels" - "default route" - type: "attached" + etype: "attached" nexthop: - "10.181.150.18" interface: - "GigabitEthernet0/2" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "10.180.150.33" interface: @@ -32,7 +32,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - type: "attached" + etype: "attached" nexthop: - "10.181.150.18" interface: @@ -40,7 +40,7 @@ parsed_sample: - prefix: "10.180.140.153/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "GigabitEthernet0/1" @@ -48,7 +48,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - type: "attached" + etype: "attached" nexthop: [] interface: - "Null0" @@ -59,7 +59,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Loopback180" @@ -69,21 +69,21 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - type: "attached" + etype: "attached" nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.32/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.33/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "Port-channel1.1822" @@ -92,7 +92,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Port-channel1.1822" @@ -100,7 +100,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - type: "attached" + etype: "attached" nexthop: - "10.181.150.18" interface: @@ -109,29 +109,29 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - type: "attached" + etype: "attached" nexthop: [] interface: - "Null0" - prefix: "224.0.0.0/4" flags: [] - type: "multicast" + etype: "multicast" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml index c6f39dac30..4a7ee34243 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml @@ -2,25 +2,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "10.158.0.198" interface: @@ -31,43 +31,43 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - type: "attached" + etype: "attached" nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.192/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.195/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "Vlan1801" - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml index 3f3af0a443..1a8ad67319 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml @@ -3,25 +3,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: - "default route" - type: "nexthop" + etype: "nexthop" nexthop: - "10.255.1.1" interface: - "Port-channel1.1" - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "10.180.195.0/32" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -30,7 +30,7 @@ parsed_sample: - "GigabitEthernet1/0/2" - prefix: "10.255.0.0/30" flags: [] - type: "nexthop" + etype: "nexthop" nexthop: - "10.255.1.1" interface: @@ -41,21 +41,21 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - type: "attached" + etype: "attached" nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.1/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "Port-channel1.1" @@ -64,7 +64,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Port-channel1.1" @@ -75,7 +75,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Loopback180" @@ -84,30 +84,30 @@ parsed_sample: - "receive" - "local" - "source eligible" - type: "receive" + etype: "receive" nexthop: [] interface: - "Vlan1831" - prefix: "10.180.163.133/32" flags: - "attached" - type: "attached" + etype: "attached" nexthop: [] interface: - "Vlan1831" - prefix: "127.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml index 65b06cc77f..85a797a48b 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml @@ -4,44 +4,44 @@ parsed_sample: flags: - "default route handler" - "default route" - type: "no route" + etype: "no route" nexthop: [] interface: [] - prefix: "0.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "127.0.0.0/8" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - type: "drop" + etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - type: "receive" + etype: "receive" nexthop: [] interface: [] From 1baed4f5029fa1341d406731cc4f615f285b9ece Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Wed, 13 May 2020 23:59:10 +0100 Subject: [PATCH 440/628] 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 b4ec2301c181fadd0e7190076fad713474683feb Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Fri, 15 May 2020 23:29:03 +0100 Subject: [PATCH 441/628] 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 b2ad92ca482af34c617bc738cd53fe6a64ccb35d Mon Sep 17 00:00:00 2001 From: Anton Coleman Date: Tue, 19 May 2020 14:17:52 -0500 Subject: [PATCH 442/628] update index to support panos_debug_swm_status and add the template file --- templates/index | 1 + templates/paloalto_panos_debug_swm_status.textfsm | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 templates/paloalto_panos_debug_swm_status.textfsm diff --git a/templates/index b/templates/index index 70e7285b8e..393faeb899 100644 --- a/templates/index +++ b/templates/index @@ -384,6 +384,7 @@ paloalto_panos_show_system_info.textfsm, .*, paloalto_panos, sh[[ow]] sys[[tem]] paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all +paloalto_panos_debug_swm_status.textfsm, .*, paloalto_panos, de[[bug]] s[[wm]] status ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] diff --git a/templates/paloalto_panos_debug_swm_status.textfsm b/templates/paloalto_panos_debug_swm_status.textfsm new file mode 100644 index 0000000000..8de89bc111 --- /dev/null +++ b/templates/paloalto_panos_debug_swm_status.textfsm @@ -0,0 +1,10 @@ +Value PART (\S+) +Value STATE (\S+) +Value VERSION (\S+) + +Start + ^Partition\s+State\s+Version + ^-+$$ + ^${PART}\s+${STATE}\s+${VERSION} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file From c8b130733a2e0603527356a0a001158ed3a6b289 Mon Sep 17 00:00:00 2001 From: Anton Coleman Date: Tue, 19 May 2020 14:19:06 -0500 Subject: [PATCH 443/628] add new line to template file --- templates/paloalto_panos_debug_swm_status.textfsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/paloalto_panos_debug_swm_status.textfsm b/templates/paloalto_panos_debug_swm_status.textfsm index 8de89bc111..d07aade102 100644 --- a/templates/paloalto_panos_debug_swm_status.textfsm +++ b/templates/paloalto_panos_debug_swm_status.textfsm @@ -7,4 +7,4 @@ Start ^-+$$ ^${PART}\s+${STATE}\s+${VERSION} -> Record ^\s*$$ - ^. -> Error \ No newline at end of file + ^. -> Error From 0350453d703f9767b47492771098ff7f78e73cf5 Mon Sep 17 00:00:00 2001 From: Anton Coleman Date: Tue, 19 May 2020 14:47:14 -0500 Subject: [PATCH 444/628] update index order for paloalto_panos_debug_swm_status, add test demo data --- templates/index | 3 ++- .../paloalto_panos_debug_swm_status.raw | 6 ++++++ .../debug_swm_status/paloalto_panos_show_arp_all.yml | 11 +++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.raw create mode 100644 tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml diff --git a/templates/index b/templates/index index 393faeb899..a256067d6b 100644 --- a/templates/index +++ b/templates/index @@ -380,11 +380,12 @@ paloalto_panos_show_interface_hardware.textfsm, .*, paloalto_panos, sh[[ow]] int paloalto_panos_show_running_nat-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] nat[[-policy]] paloalto_panos_show_interface_logical.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] logi[[cal]] paloalto_panos_show_counter_global.textfsm, .*, paloalto_panos, sh[[ow]] coun[[ter]] glo[[bal]] +paloalto_panos_debug_swm_status.textfsm, .*, paloalto_panos, de[[bug]] s[[wm]] status paloalto_panos_show_system_info.textfsm, .*, paloalto_panos, sh[[ow]] sys[[tem]] in[[fo]] paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all -paloalto_panos_debug_swm_status.textfsm, .*, paloalto_panos, de[[bug]] s[[wm]] status + ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] diff --git a/tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.raw b/tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.raw new file mode 100644 index 0000000000..dc6517a766 --- /dev/null +++ b/tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.raw @@ -0,0 +1,6 @@ + +Partition State Version +-------------------------------------------------------------------------------- +sysroot0 RUNNING-ACTIVE 9.0.5.xfr +sysroot1 PENDING-CHANGE 9.1.2 +maint READY 9.1.2 diff --git a/tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml b/tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml new file mode 100644 index 0000000000..9f1e2be64d --- /dev/null +++ b/tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - part: "sysroot0" + state: "RUNNING-ACTIVE" + version: "9.0.5.xfr" + - part: "sysroot1" + state: "PENDING-CHANGE" + version: "9.1.2" + - part: "maint" + state: "READY" + version: "9.1.2" From a6247e77ca4ddc29b0066b9099a48d88562126d2 Mon Sep 17 00:00:00 2001 From: Anton Coleman Date: Tue, 19 May 2020 14:48:43 -0500 Subject: [PATCH 445/628] remove blank line from index --- templates/index | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/index b/templates/index index a256067d6b..564c0dd34d 100644 --- a/templates/index +++ b/templates/index @@ -386,7 +386,6 @@ paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all - ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] ubiquiti_edgeswitch_show_vlan.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] From 361220233d3eab0505d52f19fa94cba3a96ab078 Mon Sep 17 00:00:00 2001 From: Anton Coleman Date: Tue, 19 May 2020 14:53:32 -0500 Subject: [PATCH 446/628] update test yml for paloalto_panos_debug_swm_status with proper filename --- ...panos_show_arp_all.yml => paloalto_panos_debug_swm_status.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/paloalto_panos/debug_swm_status/{paloalto_panos_show_arp_all.yml => paloalto_panos_debug_swm_status.yml} (100%) diff --git a/tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml b/tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.yml similarity index 100% rename from tests/paloalto_panos/debug_swm_status/paloalto_panos_show_arp_all.yml rename to tests/paloalto_panos/debug_swm_status/paloalto_panos_debug_swm_status.yml From 3cb479fb93d663706be49ebadeb5ca19a0d37c10 Mon Sep 17 00:00:00 2001 From: corvese Date: Tue, 19 May 2020 16:43:44 -0400 Subject: [PATCH 447/628] New Template: ASA - show_bgp_summary (#696) --- templates/cisco_asa_show_bgp_summary.textfsm | 25 +++++++++++++++++++ templates/index | 1 + .../show_bgp_summary/show_bgp_summary.raw | 15 +++++++++++ .../show_bgp_summary/show_bgp_summary.yml | 14 +++++++++++ 4 files changed, 55 insertions(+) create mode 100644 templates/cisco_asa_show_bgp_summary.textfsm create mode 100644 tests/cisco_asa/show_bgp_summary/show_bgp_summary.raw create mode 100644 tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml diff --git a/templates/cisco_asa_show_bgp_summary.textfsm b/templates/cisco_asa_show_bgp_summary.textfsm new file mode 100644 index 0000000000..d885dfd2eb --- /dev/null +++ b/templates/cisco_asa_show_bgp_summary.textfsm @@ -0,0 +1,25 @@ +Value Filldown,Required ROUTER_ID ([0-9a-f:\.]+) +Value Filldown LOCAL_AS (\d+) +Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) +Value NEIGH_AS (\d+) +Value UP_DOWN (\S+?) +Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) + +Start + ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+local\s+AS\s+number\s+${LOCAL_AS}\s*$$ + ^BGP\s+table\s+version\s+is\s+\d+,\s+main\s+routing\s+table\s+version\s+\d+\s*$$ + ^\d+\s+network\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+path\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\/\d+\s+BGP\s+path\/bestpath\s+attribute\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+BGP\s+AS-PATH\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+BGP\s+community\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+BGP\s+route-map\s+cache\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^\d+\s+BGP\s+filter-list\s+cache\s+entries\s+using\s+\d+\s+bytes\s+of\s+memory\s*$$ + ^BGP\s+using\s\d+\s+total\s+bytes\s+of\s+memory\s*$$ + ^BGP\s+activity\s+\d+\/\d+\s+prefixes,\s+\d+\/\d+\s+paths,\s+scan\s+interval\s+\d+\s+secs\s*$$ + ^Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+TblVer\s+InQ\s+OutQ\s+Up\/Down\s+State\/PfxRcd + ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + ^\s*$$ + ^. -> Error + +EOF \ No newline at end of file diff --git a/templates/index b/templates/index index 70e7285b8e..941c80cdb7 100644 --- a/templates/index +++ b/templates/index @@ -127,6 +127,7 @@ cisco_asa_show_crypto_ipsec_sa.textfsm, .*, cisco_asa, sh[[ow]] (?:cry[[pto]] ip cisco_asa_show_resource_usage.textfsm, .*, cisco_asa, sh[[ow]] res[[ource]] u[[sage]] cisco_asa_show_vpn-sessiondb.textfsm, .*, cisco_asa, sh[[ow]] vpn-[[sessiondb]] cisco_asa_show_access-list.textfsm, .*, cisco_asa, sh[[ow]] ac[[cess-list]] +cisco_asa_show_bgp_summary.textfsm, .*, cisco_asa, sh[[ow]] bg[[p]] s[[ummary]] cisco_asa_show_license_all.textfsm, .*, cisco_asa, (?:fa[[ilover]]\s+e[[xec]]\s+)?sh[[ow]] lic[[ense]] a[[ll]] cisco_asa_show_interface.textfsm, .*, cisco_asa, sh[[ow]] int[[erface]] cisco_asa_show_inventory.textfsm, .*, cisco_asa, sh[[ow]] inven[[tory]] diff --git a/tests/cisco_asa/show_bgp_summary/show_bgp_summary.raw b/tests/cisco_asa/show_bgp_summary/show_bgp_summary.raw new file mode 100644 index 0000000000..3f2b020ee9 --- /dev/null +++ b/tests/cisco_asa/show_bgp_summary/show_bgp_summary.raw @@ -0,0 +1,15 @@ +BGP router identifier 172.25.40.2, local AS number 65045 +BGP table version is 230, main routing table version 230 +117 network entries using 23400 bytes of memory +117 path entries using 9360 bytes of memory +19/19 BGP path/bestpath attribute entries using 3952 bytes of memory +16 BGP AS-PATH entries using 624 bytes of memory +2 BGP community entries using 48 bytes of memory +0 BGP route-map cache entries using 0 bytes of memory +0 BGP filter-list cache entries using 0 bytes of memory +BGP using 37384 total bytes of memory +BGP activity 161/44 prefixes, 173/56 paths, scan interval 60 secs + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +172.16.243.53 4 186 19905 16353 230 0 0 4d06h 111 +172.16.248.53 4 196 0 0 1 0 0 never Idle \ No newline at end of file diff --git a/tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml b/tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml new file mode 100644 index 0000000000..51600caf9d --- /dev/null +++ b/tests/cisco_asa/show_bgp_summary/show_bgp_summary.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - router_id: "172.25.40.2" + local_as: "65045" + bgp_neigh: "172.16.243.53" + neigh_as: "186" + state_pfxrcd: "111" + up_down: "4d06h" + - router_id: "172.25.40.2" + local_as: "65045" + bgp_neigh: "172.16.248.53" + neigh_as: "196" + state_pfxrcd: "Idle" + up_down: "never" From 55a46be418e893ae88480fc689c8c27ddb3ee4a8 Mon Sep 17 00:00:00 2001 From: anttof <49523975+anttof@users.noreply.github.com> Date: Tue, 19 May 2020 22:47:06 +0200 Subject: [PATCH 448/628] BugFix: ASA - show vpn-sessiondb anyconnect - Index and Username ends up on separate lines when long usernames are used. (#697) --- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 4 ++- ...pn-sessiondb_anyconnect_long_usernames.raw | 16 +++++++++++ ...pn-sessiondb_anyconnect_long_usernames.yml | 27 +++++++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm index 01ed33874b..78c4df071e 100644 --- a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm +++ b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -29,6 +29,8 @@ Start Connection ^\s*Username\s*:\s+${USERNAME}\s+Index\s+:\s*${INDEX}$$ + ^\s*Username\s*:\s+${USERNAME}$$ + ^\s*Index\s*:\s+${INDEX}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}$$ ^\s*Public\s+IP\s*:\s+${PUBLIC_IP}$$ @@ -47,4 +49,4 @@ Connection ^\s*Audt\s+Sess\s+ID\s+:\s+${AUDT_SESS_ID}$$ ^\s*Security\s+Grp\s+:\s+${SECURITY_GRP}\s*$$ -> Record ^\s*$$ - ^. -> Error \ No newline at end of file + ^. -> Error diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.raw new file mode 100644 index 0000000000..6258b4e486 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.raw @@ -0,0 +1,16 @@ +Session Type: AnyConnect +Username : longfirstname.longlastname@example.com +Index : 1018 +Assigned IP : 10.254.254.22 Public IP : 1.2.3.4 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1 +Bytes Tx : 17186425 Bytes Rx : 7094561 +Group Policy : RAVPN Tunnel Group : RAVPN +Login Time : 14:28:09 CDT Tue Mar 17 2020 +Duration : 2h:21m:21s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : ac1063fe003fa0005e715555 +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml new file mode 100644 index 0000000000..f500cfb0c0 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "longfirstname.longlastname@example.com" + index: "1018" + assigned_ip: "10.254.254.22" + public_ip: "1.2.3.4" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" + bytes_tx: "17186425" + bytes_rx: "7094561" + group_policy: "RAVPN" + tunnel_group: "RAVPN" + login_time: "14:28:09" + login_time_zone: "CDT" + login_weekday: "Tue" + login_month: "Mar" + login_day: "17" + login_year: "2020" + duration: "2h:21m:21s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "ac1063fe003fa0005e715555" + security_grp: "none" From 5bb82ba60a2da1e46c1b731319a1104f3fd695d6 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 19 May 2020 14:53:40 -0600 Subject: [PATCH 449/628] BugFix: IOS - show_ip_bgp - Account for VRF info within routing table (#678) --- templates/cisco_ios_show_ip_bgp.textfsm | 2 + .../show_ip_bgp/cisco_ios_show_ip_bgp_vpn.raw | 16 ++++++ .../show_ip_bgp/cisco_ios_show_ip_bgp_vpn.yml | 52 +++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.raw create mode 100644 tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.yml diff --git a/templates/cisco_ios_show_ip_bgp.textfsm b/templates/cisco_ios_show_ip_bgp.textfsm index 2c0c9085c2..2c90dda23a 100644 --- a/templates/cisco_ios_show_ip_bgp.textfsm +++ b/templates/cisco_ios_show_ip_bgp.textfsm @@ -17,6 +17,8 @@ Start ^Time\s+source\s+is Bgp_table + # Account for show ip bgp vpnv4 vrf command + ^Route\s+Distinguisher # # # Match if subnet is 17,18 characters long, creates two lines diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.raw b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.raw new file mode 100644 index 0000000000..41ba1baf3e --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.raw @@ -0,0 +1,16 @@ +BGP table version is 17, local router ID is 1.1.1.1 +Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, + r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, + x best-external, a additional-path, c RIB-compressed, +Origin codes: i - IGP, e - EGP, ? - incomplete +RPKI validation codes: V valid, I invalid, N Not found + + Network Next Hop Metric LocPrf Weight Path +Route Distinguisher: 100:100 (default for vrf part) + *> 11.11.11.11/32 0.0.0.0 0 32768 i + *> 11.11.11.12/32 0.0.0.0 0 32768 i + *> 11.11.11.13/32 0.0.0.0 0 32768 i + *> 11.11.11.14/32 0.0.0.0 0 32768 i + *> 11.11.11.15/32 0.0.0.0 0 32768 i + +Total number of prefixes 5 diff --git a/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.yml b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.yml new file mode 100644 index 0000000000..cf106d8dad --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp/cisco_ios_show_ip_bgp_vpn.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - status: "*" + path_selection: ">" + route_source: " " + network: "11.11.11.11/32" + next_hop: "0.0.0.0" + metric: "0" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.11.11.12/32" + next_hop: "0.0.0.0" + metric: "0" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.11.11.13/32" + next_hop: "0.0.0.0" + metric: "0" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.11.11.14/32" + next_hop: "0.0.0.0" + metric: "0" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "11.11.11.15/32" + next_hop: "0.0.0.0" + metric: "0" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" From 591c23eabdc1dbd3abc95b5ee4127643bec7eff2 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 19 May 2020 14:54:18 -0600 Subject: [PATCH 450/628] BugFix: IOS - show ip bgp summary: Added new field ADDR_FAMILY for any that may have an address family (#679) --- .../cisco_ios_show_ip_bgp_summary.textfsm | 2 ++ .../cisco_ios_show_ip_bgp_summary.yml | 10 ++++++ .../cisco_ios_show_ip_bgp_summary_all.raw | 32 +++++++++++++++++++ .../cisco_ios_show_ip_bgp_summary_all.yml | 23 +++++++++++++ 4 files changed, 67 insertions(+) create mode 100644 tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.raw create mode 100644 tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.yml diff --git a/templates/cisco_ios_show_ip_bgp_summary.textfsm b/templates/cisco_ios_show_ip_bgp_summary.textfsm index 14fc00ba0f..aa6ba8bf64 100644 --- a/templates/cisco_ios_show_ip_bgp_summary.textfsm +++ b/templates/cisco_ios_show_ip_bgp_summary.textfsm @@ -1,11 +1,13 @@ Value Filldown,Required ROUTER_ID ([0-9a-f:\.]+) Value Filldown LOCAL_AS (\d+) +Value Filldown ADDR_FAMILY (.+?) Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) Value NEIGH_AS (\d+) Value UP_DOWN (\S+?) Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) Start + ^For\s+address\s+family:\s+${ADDR_FAMILY}$$ ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+local\s+AS\s+number\s+${LOCAL_AS}\s*$$ ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml index 5a7dc27fd4..be75bb5ae7 100644 --- a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary.yml @@ -2,60 +2,70 @@ parsed_sample: - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.1" neigh_as: "65000" up_down: "3w0d" state_pfxrcd: "558720" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.2" neigh_as: "65001" up_down: "3w0d" state_pfxrcd: "558720" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.3" neigh_as: "65002" up_down: "1y10w" state_pfxrcd: "0" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.4" neigh_as: "65003" up_down: "1y50w" state_pfxrcd: "1351" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.5" neigh_as: "65004" up_down: "19w5d" state_pfxrcd: "558720" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.6" neigh_as: "65005" up_down: "19w5d" state_pfxrcd: "558720" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.7" neigh_as: "65006" up_down: "1y10w" state_pfxrcd: "82" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.8" neigh_as: "65007" up_down: "1y10w" state_pfxrcd: "82" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.9" neigh_as: "65008" up_down: "22w0d" state_pfxrcd: "0" - router_id: "10.0.0.0" local_as: "65000" + addr_family: "" bgp_neigh: "10.0.0.10" neigh_as: "65009" up_down: "1y10w" diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.raw b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.raw new file mode 100644 index 0000000000..2f41f727c9 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.raw @@ -0,0 +1,32 @@ +For address family: IPv4 Unicast +BGP router identifier 1.1.1.1, local AS number 65000 +BGP table version is 9, main routing table version 9 +8 network entries using 1152 bytes of memory +9 path entries using 720 bytes of memory +2/2 BGP path/bestpath attribute entries using 272 bytes of memory +1 BGP AS-PATH entries using 24 bytes of memory +2 BGP extended community entries using 48 bytes of memory +0 BGP route-map cache entries using 0 bytes of memory +0 BGP filter-list cache entries using 0 bytes of memory +BGP using 2216 total bytes of memory +BGP activity 24/0 prefixes, 25/0 paths, scan interval 60 secs + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.0.14.4 4 65001 26 27 9 0 0 00:20:06 7 + +For address family: VPNv4 Unicast +BGP router identifier 2.2.2.2, local AS number 65010 +BGP table version is 17, main routing table version 17 +16 network entries using 2496 bytes of memory +16 path entries using 1280 bytes of memory +4/3 BGP path/bestpath attribute entries using 576 bytes of memory +1 BGP AS-PATH entries using 24 bytes of memory +2 BGP extended community entries using 48 bytes of memory +0 BGP route-map cache entries using 0 bytes of memory +0 BGP filter-list cache entries using 0 bytes of memory +BGP using 4424 total bytes of memory +BGP activity 24/0 prefixes, 25/0 paths, scan interval 60 secs + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.10.13.3 4 65001 48 48 17 0 0 00:40:00 5 +10.10.14.4 4 65001 0 0 1 0 0 never Idle diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.yml b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.yml new file mode 100644 index 0000000000..aaba085b7c --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_all.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - router_id: "1.1.1.1" + local_as: "65000" + addr_family: "IPv4 Unicast" + bgp_neigh: "10.0.14.4" + neigh_as: "65001" + up_down: "00:20:06" + state_pfxrcd: "7" + - router_id: "2.2.2.2" + local_as: "65010" + addr_family: "VPNv4 Unicast" + bgp_neigh: "10.10.13.3" + neigh_as: "65001" + up_down: "00:40:00" + state_pfxrcd: "5" + - router_id: "2.2.2.2" + local_as: "65010" + addr_family: "VPNv4 Unicast" + bgp_neigh: "10.10.14.4" + neigh_as: "65001" + up_down: "never" + state_pfxrcd: "Idle" From a5048ea84aae56daceda0f9c3857eaafcb19da91 Mon Sep 17 00:00:00 2001 From: ichisuke <60389350+ichisuke55@users.noreply.github.com> Date: Wed, 20 May 2020 05:56:34 +0900 Subject: [PATCH 451/628] New Template: juniper_junos_show_ethenet-switching_table.textfsm (#700) --- templates/index | 1 + ...unos_show_ethernet-switching_table.textfsm | 19 +++++++++++++++++++ ...er_junos_show_ethernet-switching_table.raw | 14 ++++++++++++++ ...er_junos_show_ethernet-switching_table.yml | 17 +++++++++++++++++ ...r_junos_show_ethernet-switching_table1.raw | 13 +++++++++++++ ...r_junos_show_ethernet-switching_table1.yml | 12 ++++++++++++ 6 files changed, 76 insertions(+) create mode 100644 templates/juniper_junos_show_ethernet-switching_table.textfsm create mode 100644 tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.raw create mode 100644 tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.yml create mode 100644 tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.raw create mode 100644 tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.yml diff --git a/templates/index b/templates/index index 6a411e7ca6..18b37ad593 100644 --- a/templates/index +++ b/templates/index @@ -365,6 +365,7 @@ huawei_vrp_display_temperature.textfsm, .*, huawei_vrp, disp[[lay]] tem[[peratur huawei_vrp_display_version.textfsm, .*, huawei_vrp, disp[[lay]] ver[[sion]] juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] +juniper_junos_show_ethernet-switching_table.textfsm, .*, juniper_junos, sh[[ow]] et[[hernet-switching]] t[[able]] juniper_junos_show_chassis_cluster_status.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] juniper_junos_show_chassis_firmware.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] juniper_junos_show_arp_no-resolve.textfsm, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] diff --git a/templates/juniper_junos_show_ethernet-switching_table.textfsm b/templates/juniper_junos_show_ethernet-switching_table.textfsm new file mode 100644 index 0000000000..67bcf6685e --- /dev/null +++ b/templates/juniper_junos_show_ethernet-switching_table.textfsm @@ -0,0 +1,19 @@ +Value VLAN (\S+) +Value MAC_ADDRESS (\S+) +Value MAC_FLAG (\S+) +Value AGE (\S+) +Value LOGICAL_INTERFACE (\S+) + +Start + ^MAC\sflags\s\(S\s-\sstatic\sMAC,\sD\s-\sdynamic\sMAC,\sL\s-\slocally\slearned,\sP\s-\sPersistent\sstatic\S*\s*\S*\s*\S*\s*\S*\s*\S*$$ + ^\s+SE\s-\sstatistics\senabled,\sNM\s-\snon\sconfigured\sMAC,\sR\s-\sremote\sPE\sMAC,\sO\s-\sovsdb\sMAC\)$$ + ^Ethernet\sswitching\stable\s:\s\d+\sentries,\s\d+\slearned$$ + ^Routing\sinstance\s:\sdefault-switch$$ + ^\s+Vlan\s+MAC\s+MAC\s+Age\s+Logical\s*\S*\s*\S*\s*$$ + ^\s+name\s+address\s+flags\s+interface\s*\S*\s*\S*\s*$$ + ^\s+Vlan${VLAN}\s+${MAC_ADDRESS}\s+${MAC_FLAG}\s+${AGE}\s+${LOGICAL_INTERFACE}\s*\S*\s*\S* -> Record + ^\s*$$ + ^{master:\d+} + ^. -> Error + +EOF diff --git a/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.raw b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.raw new file mode 100644 index 0000000000..f1e50751e5 --- /dev/null +++ b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.raw @@ -0,0 +1,14 @@ + +MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC + SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) + + +Ethernet switching table : 3 entries, 3 learned +Routing instance : default-switch + Vlan MAC MAC Age Logical NH RTR + name address flags interface Index ID + Vlan2 bc:ac:0a:ca:ca:30 DR - ae3.0 0 0 + Vlan100 2c:5a:0f:bc:a3:cd DL - xe-0/0/51:0.0 0 0 + Vlan1011 ca:fe:ca:fe:00:07 DL - ae100.0 0 0 + +{master:0} diff --git a/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.yml b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.yml new file mode 100644 index 0000000000..ff620a1c3f --- /dev/null +++ b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - vlan: "2" + mac_address: "bc:ac:0a:ca:ca:30" + mac_flag: "DR" + age: "-" + logical_interface: "ae3.0" + - vlan: "100" + mac_address: "2c:5a:0f:bc:a3:cd" + mac_flag: "DL" + age: "-" + logical_interface: "xe-0/0/51:0.0" + - vlan: "1011" + mac_address: "ca:fe:ca:fe:00:07" + mac_flag: "DL" + age: "-" + logical_interface: "ae100.0" diff --git a/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.raw b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.raw new file mode 100644 index 0000000000..e205f2fbd7 --- /dev/null +++ b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.raw @@ -0,0 +1,13 @@ + +MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static + SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC) + + +Ethernet switching table : 2 entries, 2 learned +Routing instance : default-switch + Vlan MAC MAC Age Logical + name address flags interface + Vlan100 2c:5a:0f:bc:a3:cd DL - ae112.0 + Vlan100 ca:fe:ca:fe:00:07 DL - ae112.0 + +{master:0} diff --git a/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.yml b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.yml new file mode 100644 index 0000000000..4afaaa7aa3 --- /dev/null +++ b/tests/juniper_junos/show_ethernet-switching_table/juniper_junos_show_ethernet-switching_table1.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - vlan: "100" + mac_address: "2c:5a:0f:bc:a3:cd" + mac_flag: "DL" + age: "-" + logical_interface: "ae112.0" + - vlan: "100" + mac_address: "ca:fe:ca:fe:00:07" + mac_flag: "DL" + age: "-" + logical_interface: "ae112.0" From 26141588614878a7a75a6d69ab9658dc7223d9d1 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 19 May 2020 14:57:37 -0600 Subject: [PATCH 452/628] New Template: (IOS) show_ip_bgp_neighbors_advertised_routes (#674) --- ...ip_bgp_neighbors_advertised_routes.textfsm | 42 +++++++++++ templates/index | 1 + ...how_ip_bgp_neighbors_advertised_routes.raw | 18 +++++ ...how_ip_bgp_neighbors_advertised_routes.yml | 72 +++++++++++++++++++ 4 files changed, 133 insertions(+) create mode 100644 templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm create mode 100644 tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw create mode 100644 tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml diff --git a/templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm b/templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm new file mode 100644 index 0000000000..ba982be044 --- /dev/null +++ b/templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm @@ -0,0 +1,42 @@ +Value Filldown STATUS ([bdhimrsSx*>]) +Value Filldown PATH_SELECTION ([bdhimrsSx*> ]) +Value Filldown ROUTE_SOURCE ([bdhimrsSx*> ]) +Value Filldown NETWORK (\S{0,18}) +Value Required NEXT_HOP (\S{0,19}) +Value Filldown METRIC (\S{0,6}) +Value LOCAL_PREF (\S{0,6}) +Value WEIGHT (\S{0,6}) +Value AS_PATH (.*?) +Value ORIGIN ([ie\?]) + +Start + # Since using mostly position, play it safe and ensure we see header first + ^\s+Network\s+Next Hop\s+Metric\s+LocPrf\s+Weight\s+Path -> Bgp_table + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + +Bgp_table + # + # + # Match if subnet is 17,18 characters long, creates two lines + # Example: *>i 10.104.192.208/29 + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{17,18}$$ -> Next + # + # + # Compliment to previous, status, path_selection, route_source, network is filldown. + # Example: 200.200.186.194 0 100 50000 64801 64808 64608 64601 64787 i + ^\s{20,25}(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + # + # + # Match first when there is no network, since previous line had it already (compliment and filldown below) + # Example: *> 0.0.0.0 0 32768 i + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}\s{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + # + # + # Full normal example. metric, and as_path might not exist, regex defaults to blank line. + # Example: * i172.16.1.0/24 172.16.1.2 0 100 0 i + ^\s{0,1}${STATUS}${PATH_SELECTION}${ROUTE_SOURCE}\s{0,2}(?=${NETWORK}).{16}\s(?=${NEXT_HOP}).{19}\s(?=\s{0,6}${METRIC}).{6}\s(?=\s{0,6}${LOCAL_PREF}).{6}\s(?=\s{0,6}${WEIGHT}).{6}\s*${AS_PATH}\s*${ORIGIN}$$ -> Record + ^Total\s+number\s+of\s+prefixes + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 18b37ad593..3d5ffc946b 100644 --- a/templates/index +++ b/templates/index @@ -146,6 +146,7 @@ cisco_asa_dir.textfsm, .*, cisco_asa, dir cisco_ios_show_module.textfsm:cisco_ios_show_module_status.textfsm:cisco_ios_show_module_submodule.textfsm:cisco_ios_show_module_online_diag.textfsm, .*, cisco_ios, sh[[ow]] mod[[ule]] cisco_ios_show_switch_detail.textfsm:cisco_ios_show_switch_detail_stack_ports.textfsm, .*, cisco_ios, sh[[ow]] sw[[itch]] d[[etail]] cisco_ios_show_running-config_partition_access-list.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] +cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] adv[[ertised-routes]] cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]] diff --git a/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw b/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw new file mode 100644 index 0000000000..4306c21570 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw @@ -0,0 +1,18 @@ +BGP table version is 143173748, local router ID is 192.168.88.2 +Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, + r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, + x best-external, a additional-path, c RIB-compressed, + t secondary path, +Origin codes: i - IGP, e - EGP, ? - incomplete +RPKI validation codes: V valid, I invalid, N Not found + + Network Next Hop Metric LocPrf Weight Path + *> 113.55.45.0/24 0.0.0.0 32768 i + *> 113.55.48.0/24 0.0.0.0 32768 i + *> 113.55.50.0/24 0.0.0.0 32768 i + *> 113.55.51.0/24 0.0.0.0 32768 i + *> 113.55.53.0/24 0.0.0.0 32768 i + *> 113.55.54.0/24 0.0.0.0 32768 i + *> 113.55.58.0/24 0.0.0.0 32768 i + +Total number of prefixes 7 diff --git a/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml b/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml new file mode 100644 index 0000000000..2f79971867 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml @@ -0,0 +1,72 @@ +--- +parsed_sample: + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.45.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.48.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.50.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.51.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.53.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.54.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" + - status: "*" + path_selection: ">" + route_source: " " + network: "113.55.58.0/24" + next_hop: "0.0.0.0" + metric: "" + local_pref: "" + weight: "32768" + as_path: "" + origin: "i" From dfd460c84ac903c5d7d90139993a116b7c36225a Mon Sep 17 00:00:00 2001 From: itdependsnetworks Date: Wed, 20 May 2020 08:54:32 -0400 Subject: [PATCH 453/628] git mv stopping point --- ...s_show_ip_cef.textfsm => cisco_ios_show_ip_cef_detail.textfsm} | 0 .../show_ip_cef_detail_c2800_v1.raw | 0 .../show_ip_cef_detail_c2800_v1.yml | 0 .../show_ip_cef_detail_c2800_v2.raw | 0 .../show_ip_cef_detail_c2800_v2.yml | 0 .../show_ip_cef_detail_c2900_v1.raw | 0 .../show_ip_cef_detail_c2900_v1.yml | 0 .../show_ip_cef_detail_c3750.raw | 0 .../show_ip_cef_detail_c3750.yml | 0 .../show_ip_cef_detail_c3850_v1.raw | 0 .../show_ip_cef_detail_c3850_v1.yml | 0 .../show_ip_cef_detail_c3850_v2.raw | 0 .../show_ip_cef_detail_c3850_v2.yml | 0 13 files changed, 0 insertions(+), 0 deletions(-) rename templates/{cisco_ios_show_ip_cef.textfsm => cisco_ios_show_ip_cef_detail.textfsm} (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2800_v1.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2800_v1.yml (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2800_v2.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2800_v2.yml (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2900_v1.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c2900_v1.yml (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3750.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3750.yml (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3850_v1.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3850_v1.yml (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3850_v2.raw (100%) rename tests/cisco_ios/{show_ip_cef => show_ip_cef_detail}/show_ip_cef_detail_c3850_v2.yml (100%) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_cef.textfsm rename to templates/cisco_ios_show_ip_cef_detail.textfsm diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v1.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2800_v2.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c2900_v1.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3750.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v1.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.raw similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.raw rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.raw diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml similarity index 100% rename from tests/cisco_ios/show_ip_cef/show_ip_cef_detail_c3850_v2.yml rename to tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml From 3f9b8915f69b07765e7f1fa663dd2fa2af296aa9 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 20 May 2020 07:14:52 -0600 Subject: [PATCH 454/628] BugFix: Ciena Saos: Added more use cases to vlan_show (#707) --- templates/ciena_saos_vlan_show.textfsm | 47 ++++++++++--------- .../vlan_show/ciena_saos_vlan_show.yml | 36 +++++++------- .../vlan_show/ciena_saos_vlan_show2.raw | 26 ++++++++++ .../vlan_show/ciena_saos_vlan_show2.yml | 12 +++++ 4 files changed, 82 insertions(+), 39 deletions(-) create mode 100644 tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.raw create mode 100644 tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.yml diff --git a/templates/ciena_saos_vlan_show.textfsm b/templates/ciena_saos_vlan_show.textfsm index fcaac57357..2b09e9314c 100644 --- a/templates/ciena_saos_vlan_show.textfsm +++ b/templates/ciena_saos_vlan_show.textfsm @@ -1,26 +1,31 @@ Value VLAN_ID (\d+) -Value VLAN_NAME ([0-9a-zA-Z_#]+) +Value NAME ([0-9a-zA-Z_#]+) Start ^\+-+\s*VLAN\s*GLOBAL\s*CONFIGURATION\s*-+\+ - ^\+-+ - ^\|\sP\w+\s*\|\s*V\w+\s*\| - ^\+-+ - ^\|\s+In\w+\s*\w+\s*\|\s*\d+\s*\| - ^\+-+ - ^(?=\s+) - ^\+-+ - ^\|VL\w+\|\s*\|\s*\d+\| - ^\|\s*ID\s*\|\s*\w+\s*\w+\s*\w+\s*\|\d+\| - ^\+-+ - ^\|\s*${VLAN_ID}\s*\|\s*${VLAN_NAME}\s*\| -> Record - ^\+-+ - ^(?=\s+) - ^\+-+ - ^\+-+\s*CROSS\s*CONNECTION\s*TABLE\s*-+\+ - ^\|\sOV\w+\s*\|\s*IV\w+\s*\|\s*\w+\-\w+\s*\|\s*\w+\-\w+\s*\| - ^\+-+ - ^\|\s*No\s*Entry\s*Found\s*\| - ^\+-+ + ^\+-+\+-+.* + ^\|\sParameter\s+|\sValue.* + ^.*Inner TPID State.* + ^\s+\|\s+\|\s+\| + ^\|\s+Field\s+\|\s+Admin\s+\|\s+Oper\s+\| + ^\|\s+Inner TPID.* + ^\|\s+\|\s+\| + ^\|VLAN\|.* + ^\|\s+ID\s+\|\s+VLAN Name* -> VLAN_TABLE + ^\+-+\s+CROSS\s+CONNECTION\s+TABLE -> CROSS_TABLE ^\s*$$ - ^. -> Error \ No newline at end of file + ^. -> Error + +VLAN_TABLE + ^\|\s*${VLAN_ID}\s*\|\s*${NAME}\s*\| -> Record + ^\+-+\+.* + ^\+-+\s+CROSS\s+CONNECTION\s+TABLE -> CROSS_TABLE + ^\s*$$ + ^. -> Error + +CROSS_TABLE + ^\|\s+OVID + ^\+-+\+.* + ^\|\s+No Entry Found + ^\s*$$ + ^. -> Error diff --git a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml index 4f63065d39..1b1f295cd7 100644 --- a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml +++ b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show.yml @@ -1,20 +1,20 @@ --- parsed_sample: - - vlan_id: '1' - vlan_name: 'Default' - - vlan_id: '2' - vlan_name: 'VLAN#2' - - vlan_id: '4' - vlan_name: 'VLAN#4' - - vlan_id: '5' - vlan_name: 'VLAN#5' - - vlan_id: '7' - vlan_name: 'VLAN#7' - - vlan_id: '8' - vlan_name: 'VLAN#8' - - vlan_id: '1401' - vlan_name: 'Mgmt' - - vlan_id: '3999' - vlan_name: 'RVID_3999' - - vlan_id: '4000' - vlan_name: 'VLAN#4000' + - vlan_id: "1" + name: "Default" + - vlan_id: "2" + name: "VLAN#2" + - vlan_id: "4" + name: "VLAN#4" + - vlan_id: "5" + name: "VLAN#5" + - vlan_id: "7" + name: "VLAN#7" + - vlan_id: "8" + name: "VLAN#8" + - vlan_id: "1401" + name: "Mgmt" + - vlan_id: "3999" + name: "RVID_3999" + - vlan_id: "4000" + name: "VLAN#4000" diff --git a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.raw b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.raw new file mode 100644 index 0000000000..482fc7ed36 --- /dev/null +++ b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.raw @@ -0,0 +1,26 @@ ++------------ VLAN GLOBAL CONFIGURATION ------------+ +| Parameter | Value | ++-------------------+---------------+---------------+ +| Inner TPID State | Disabled | +| | | +| Field | Admin | Oper | ++-------------------+---------------+---------------+ +| Inner TPID | 8100 | 8100 | ++-------------------+---------------+---------------+ + ++----+--------------------------------+------------------------+ +|VLAN| | 111111111122222| +| ID | VLAN Name Ports |123456789012345678901234| ++----+--------------------------------+------------------------+ +| 1|Default | x x| +| 127|VLAN#127 |x x| +| 666|Blackhole | xxxxxxxxxx xxxxxxxxxxx | +| 800|Mgmt |x x| +|1001|RVID_1001 |x x| ++----+--------------------------------+------------------------+ + ++----------------------------- CROSS CONNECTION TABLE ------------------------------+ +| OVID | IVID | Port-A | Port-B | ++------+------+----------------------------------+----------------------------------+ +| No Entry Found | ++------+------+----------------------------------+----------------------------------+ \ No newline at end of file diff --git a/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.yml b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.yml new file mode 100644 index 0000000000..75a91c33c2 --- /dev/null +++ b/tests/ciena_saos/vlan_show/ciena_saos_vlan_show2.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "Default" + - vlan_id: "127" + name: "VLAN#127" + - vlan_id: "666" + name: "Blackhole" + - vlan_id: "800" + name: "Mgmt" + - vlan_id: "1001" + name: "RVID_1001" From c47faadbff6976a6720718113afec6458521640f Mon Sep 17 00:00:00 2001 From: itdependsnetworks Date: Wed, 20 May 2020 09:32:44 -0400 Subject: [PATCH 455/628] complete split of commands --- templates/cisco_ios_show_ip_cef.textfsm | 25 +++++++++++++++++++ .../cisco_ios_show_ip_cef_detail.textfsm | 13 ---------- templates/index | 1 + .../show_ip_cef/show_ip_cef_c2800_v1.yml | 12 --------- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 13 ---------- .../show_ip_cef/show_ip_cef_c2900_v1.yml | 12 --------- .../show_ip_cef/show_ip_cef_c3750.yml | 5 ---- .../show_ip_cef/show_ip_cef_c3850_v1.yml | 13 ---------- .../show_ip_cef/show_ip_cef_c3850_v2.yml | 8 ------ 9 files changed, 26 insertions(+), 76 deletions(-) create mode 100644 templates/cisco_ios_show_ip_cef.textfsm diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm new file mode 100644 index 0000000000..255f213368 --- /dev/null +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -0,0 +1,25 @@ +Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) +Value ETYPE ((?:no\s)?(?:[a-z]+)) +# Nexthop and Interface are lists to support ECMP +# Usually these will be single item lists +# However, if there are multiple paths available +# these will contain one items per route/path +Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) + +# --- HEAD and DETAILED ENTRIES --- +# e.g. show ip cef detail, show ip cef 10.0.0.1, etc +Start + ^Prefix\s+Next\s+Hop\s+Interface$$ -> Entries + +# --- BRIEF ENTRIES +# e.g. show ip cef, or show ip cef vrf +Entries + ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record + ^${PREFIX}\s+${ETYPE}\s*$$ + ^${PREFIX}\s+${NEXTHOP}\s*$$ + ^${PREFIX}\s+${ETYPE}\s+${INTERFACE}$$ + ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ + ^\s+${NEXTHOP}\s+${INTERFACE}$$ + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_ios_show_ip_cef_detail.textfsm b/templates/cisco_ios_show_ip_cef_detail.textfsm index 04c427ac6a..0af43ad647 100644 --- a/templates/cisco_ios_show_ip_cef_detail.textfsm +++ b/templates/cisco_ios_show_ip_cef_detail.textfsm @@ -14,7 +14,6 @@ Start # Detect errors and/or disabled CEF ^%IPv4\s+CEF\s+not\s+running$$ -> End ^\s+Invalid\s+prefix/mask -> End - ^Prefix\s+Next\s+Hop\s+Interface$$ -> Entries # Ignore JUNK in HEAD ^IP(?:v4)?\s+CEF ^VRF|Adjacency @@ -108,15 +107,3 @@ Start # ^\s*$$ ^. -> Error - -# --- BRIEF ENTRIES -# e.g. show ip cef, or show ip cef vrf -Entries - ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record - ^${PREFIX}\s+${ETYPE}\s*$$ - ^${PREFIX}\s+${NEXTHOP}\s*$$ - ^${PREFIX}\s+${ETYPE}\s+${INTERFACE}$$ - ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ - ^\s+${NEXTHOP}\s+${INTERFACE}$$ - ^\s*$$ - ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index b5ae769a0f..ce32d3d723 100644 --- a/templates/index +++ b/templates/index @@ -187,6 +187,7 @@ cisco_ios_show_snmp_community.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] com[[mun cisco_ios_show_cdp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] cisco_ios_show_controller_t1.textfsm, .*, cisco_ios, sh[[ow]] cont[[rollers]] t1 cisco_ios_show_hosts_summary.textfsm, .*, cisco_ios, sh[[ow]] ho[[sts]] summary +cisco_ios_show_ip_cef_detail.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] ce[[f]] de[[tail]] cisco_ios_show_platform_diag.textfsm, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ag]] cisco_ios_show_processes_cpu.textfsm, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] cisco_ios_show_spanning-tree.textfsm, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index 03ed6776ea..0349835363 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -1,71 +1,59 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.0.120.0/24" - flags: [] etype: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.191.64.0/24" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" - flags: [] etype: "receive" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "224.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - flags: [] etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index 8098c75199..8d5cb0d9c0 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -1,77 +1,64 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] etype: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "10.158.0.0/19" - flags: [] etype: "" nexthop: - "0.0.0.0" interface: - "Null0" - prefix: "10.158.0.192/29" - flags: [] etype: "" nexthop: - "10.158.0.209" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "192.168.0.180/30" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - flags: [] etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index d024ca7b5e..1e614846d2 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -1,71 +1,59 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] etype: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "10.157.1.0/24" - flags: [] etype: "" nexthop: - "172.17.100.101" interface: - "Tunnel60701" - prefix: "10.180.122.7/32" - flags: [] etype: "receive" nexthop: [] interface: - "Loopback0" - prefix: "10.180.122.152/29" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "10.180.122.152/32" - flags: [] etype: "receive" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - flags: [] etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml index 6f6c5aac11..362163b8eb 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -1,31 +1,26 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] etype: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "10.0.120.0/24" - flags: [] etype: "" nexthop: - "10.158.0.198" diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index d1c29c7d5b..8aac69707d 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -1,24 +1,20 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "" nexthop: - "10.255.1.1" interface: - "Vlan1" - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "10.180.195.0/32" - flags: [] etype: "" nexthop: - "10.180.101.5" @@ -27,52 +23,43 @@ parsed_sample: - "GigabitEthernet1/0/1" - "GigabitEthernet1/0/2" - prefix: "10.255.1.0/24" - flags: [] etype: "attached" nexthop: [] interface: - "Vlan1" - prefix: "10.255.1.0/32" - flags: [] etype: "receive" nexthop: [] interface: - "Vlan1" - prefix: "10.255.255.192/30" - flags: [] etype: "" nexthop: - "10.255.2.1" interface: - "Port-channel1.1825" - prefix: "10.255.200.0/24" - flags: [] etype: "attached" nexthop: [] interface: - "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - flags: [] etype: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml index 6abf697360..a4e66a4e7c 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -1,42 +1,34 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] etype: "no route" nexthop: [] interface: [] - prefix: "0.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "127.0.0.0/8" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - flags: [] etype: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] etype: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - flags: [] etype: "receive" nexthop: [] interface: [] From dbbe8f0d98ee3103c0e3db3b6464b1fd0cc6ecd7 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Wed, 20 May 2020 10:33:30 -0600 Subject: [PATCH 456/628] BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes (#709) * Fixed template to work for cisco ios show ip bgp neighbors x.x.x.x advertised-routes * Adjusted template to proper naming schema, adjusted test directory to match naming scheme, added regex to have ip address as optional for tests to pass --- ...> cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm} | 0 templates/index | 2 +- .../show_ip_bgp_neighbors_advertised_routes.raw | 0 .../show_ip_bgp_neighbors_advertised_routes.yml | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename templates/{cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm => cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm} (100%) rename tests/cisco_ios/{show_ip_bgp_neighbors_advertised_routes => show_ip_bgp_neighbors_advertised-routes}/show_ip_bgp_neighbors_advertised_routes.raw (100%) rename tests/cisco_ios/{show_ip_bgp_neighbors_advertised_routes => show_ip_bgp_neighbors_advertised-routes}/show_ip_bgp_neighbors_advertised_routes.yml (100%) diff --git a/templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm b/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm rename to templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm diff --git a/templates/index b/templates/index index 3d5ffc946b..a23c7fdd9e 100644 --- a/templates/index +++ b/templates/index @@ -146,7 +146,7 @@ cisco_asa_dir.textfsm, .*, cisco_asa, dir cisco_ios_show_module.textfsm:cisco_ios_show_module_status.textfsm:cisco_ios_show_module_submodule.textfsm:cisco_ios_show_module_online_diag.textfsm, .*, cisco_ios, sh[[ow]] mod[[ule]] cisco_ios_show_switch_detail.textfsm:cisco_ios_show_switch_detail_stack_ports.textfsm, .*, cisco_ios, sh[[ow]] sw[[itch]] d[[etail]] cisco_ios_show_running-config_partition_access-list.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] -cisco_ios_show_ip_bgp_neighbors_advertised_routes.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] adv[[ertised-routes]] +cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]](\s+\d+\.\d+\.\d+\.\d+)? adv[[ertised-routes]] cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]] diff --git a/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw b/tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes.raw similarity index 100% rename from tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.raw rename to tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes.raw diff --git a/tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml b/tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes.yml similarity index 100% rename from tests/cisco_ios/show_ip_bgp_neighbors_advertised_routes/show_ip_bgp_neighbors_advertised_routes.yml rename to tests/cisco_ios/show_ip_bgp_neighbors_advertised-routes/show_ip_bgp_neighbors_advertised_routes.yml From 7e4a9a2fc5ed5184ac8b0e709cea9f880c47d1b7 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Thu, 21 May 2020 08:15:20 +0100 Subject: [PATCH 457/628] Proposed changes have been accepted - Added few more comments - Adjusted INDEX file to make sure templates are only used when applicable - Templates are no longer compatible with 'show ip cef 1.1.1.1', or 'show ip cef Vlan100'. Usage of 'detail' keyword is mandatory, such as 'show ip cef 1.1.1.1 detail' --- templates/cisco_ios_show_ip_cef.textfsm | 40 +++++--- .../cisco_ios_show_ip_cef_detail.textfsm | 91 +++++++++++-------- templates/index | 4 +- .../show_ip_cef/show_ip_cef_c2800_v1.yml | 24 ++--- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 26 +++--- .../show_ip_cef/show_ip_cef_c2900_v1.yml | 24 ++--- .../show_ip_cef/show_ip_cef_c3750.yml | 10 +- .../show_ip_cef/show_ip_cef_c3850_v1.yml | 26 +++--- .../show_ip_cef/show_ip_cef_c3850_v2.yml | 16 ++-- .../show_ip_cef_detail_c2800_v1.yml | 30 +++--- .../show_ip_cef_detail_c2800_v2.yml | 26 +++--- .../show_ip_cef_detail_c2900_v1.yml | 36 ++++---- .../show_ip_cef_detail_c3750.yml | 22 ++--- .../show_ip_cef_detail_c3850_v1.yml | 30 +++--- .../show_ip_cef_detail_c3850_v2.yml | 16 ++-- 15 files changed, 228 insertions(+), 193 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 255f213368..a60a46ef6b 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -1,25 +1,43 @@ +# +# This template is only compatible with the following command +# - show ip cef [vrf NAME] +# This is enforced by INDEX file +# Check cisco_ios_show_ip_cef_detail.textfsm for more details +# Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) -Value ETYPE ((?:no\s)?(?:[a-z]+)) -# Nexthop and Interface are lists to support ECMP -# Usually these will be single item lists +Value TYPE ((?:no\s)?(?:[a-z]+)) +# To support ECMP, NEXTHOP and INTERFACE are defined as lists +# When no ECMP is available, these will be single item lists # However, if there are multiple paths available -# these will contain one items per route/path +# then expect to see one item per route/path Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) -# --- HEAD and DETAILED ENTRIES --- -# e.g. show ip cef detail, show ip cef 10.0.0.1, etc Start + # >>> Parse EXCEPTIONS + # CEF is not enabled + ^%IPv4\s+CEF\s+not\s+running$$ -> End + # Invalid prefix + ^\s+Invalid\s+prefix/mask -> End + # + # >>> Parse HEADING ^Prefix\s+Next\s+Hop\s+Interface$$ -> Entries -# --- BRIEF ENTRIES -# e.g. show ip cef, or show ip cef vrf Entries + # >>> Parse CEF ENTRIES + # Entry detected ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record - ^${PREFIX}\s+${ETYPE}\s*$$ + # Parse prefix/type + ^${PREFIX}\s+${TYPE}\s*$$ + # Parse prefix/nexthop ^${PREFIX}\s+${NEXTHOP}\s*$$ - ^${PREFIX}\s+${ETYPE}\s+${INTERFACE}$$ + # Parse prefix, type and interface + ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ + # Parse prefix, nexthop and interface ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ + # Parse nexthop and interface for ECMP prefixes ^\s+${NEXTHOP}\s+${INTERFACE}$$ + # + # >>> Parse SPECIAL ^\s*$$ - ^. -> Error + ^. -> Error \ No newline at end of file diff --git a/templates/cisco_ios_show_ip_cef_detail.textfsm b/templates/cisco_ios_show_ip_cef_detail.textfsm index 0af43ad647..da71cb2c7d 100644 --- a/templates/cisco_ios_show_ip_cef_detail.textfsm +++ b/templates/cisco_ios_show_ip_cef_detail.textfsm @@ -1,91 +1,109 @@ +# Even though this template understands the output from +# - show ip cef [vrf NAME] [PREFIX | INTERFACE] [detail] +# INDEX file forces you to use 'detail' keyword, or there +# will be no match. This is done to simplify INDEX file +# matching logic, otherwise matching regex is too complex. +# +# This template is compatible with IOS v12.x and above, +# including IOS-XE. There are two versions of output +# with significant differences depending on IOS version. +# Template is able to recognize both versions and captures +# same structured data regardless of IOS version. +# Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) Value List FLAGS ([^,\]\n]+) -Value ETYPE ((?:no\s)?(?:[a-z]+)) +Value TYPE ((?:no\s)?(?:[a-z]+)) # Nexthop and Interface are lists to support ECMP # Usually these will be single item lists # However, if there are multiple paths available -# these will contain one items per route/path +# these will contain one item per route/path Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) -# --- HEAD and DETAILED ENTRIES --- -# e.g. show ip cef detail, show ip cef 10.0.0.1, etc Start - # Detect errors and/or disabled CEF + # >>> Parse EXCEPTIONS + # CEF is not enabled ^%IPv4\s+CEF\s+not\s+running$$ -> End + # Invalid prefix ^\s+Invalid\s+prefix/mask -> End - # Ignore JUNK in HEAD + # + # >>> Parse HEADING + # Ignore Junk (irrelevant output) ^IP(?:v4)?\s+CEF ^VRF|Adjacency ^\s+\d+\s+(?:routes|instant|leaves|load|prefixes|in-place) ^\s+(?:Default|Table|Database|Resolution|Non-stop|Switchover) ^\s+(?:universal|refcounts) ^.*?CEF\s+resets + # + # >>> Parse CEF ENTRIES # Entry detected, begin analysis ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record # - # --- Parse CEF table from Cisco IOS >v15.x - # + # >>>>>> Cisco IOS >v15.x # Extract prefix (no flags) ^${PREFIX},\s+epoch(?:(?!flags).)*$$ - # Extract prefix with Flags + # Extract prefix with flags ^${PREFIX}.*?flags -> Continue - # Attempt to extract first Flag (if present) + # Attempt to extract first flag (if present) ^\d.*?flags\s+\[?${FLAGS} -> Continue - # Attempt to extract other Flags (up to 6) + # Attempt to extract other flags (up to 6) ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){1}${FLAGS} -> Continue ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){2}${FLAGS} -> Continue ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){3}${FLAGS} -> Continue ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){4}${FLAGS} -> Continue ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){5}${FLAGS} -> Continue - # Stop processing Flags (6+) + # Stop processing flags (6+) ^\d.*?flags.*?$$ - # Attempt to extract details via source info - # Supported Type (IOS >v15.x): + # Extract nexthop IP address + ^\s+recursive\s+via\s+${NEXTHOP} + # Extract type and interface/nexthop, if available) + # Type values (IOS >v15.x): # - attached # - receive # - drop # - no route # - nexthop # - multicast - ^\s+recursive\s+via\s+${NEXTHOP} - ^\s+${ETYPE}(?<=receive)\s+for\s+${INTERFACE} - ^\s+${ETYPE}(?<=attached)\s+to\s+${INTERFACE} - ^\s+${ETYPE}(?<=drop)$$ - ^\s+${ETYPE}(?<=no route)$$ - ^\s+${ETYPE}(?<=receive)$$ - ^\s+${ETYPE}(?<=multicast)$$ - ^\s+${ETYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} - # - # --- Parse CEF table from Cisco IOS 12.x ISR G1 + ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} + ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} + ^\s+${TYPE}(?<=drop)$$ + ^\s+${TYPE}(?<=no route)$$ + ^\s+${TYPE}(?<=receive)$$ + ^\s+${TYPE}(?<=multicast)$$ + ^\s+${TYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} # - # Legacy CEF formatting - # Extract Prefix and Flags + # >>>>>> Cisco IOS 12.x ISR G1 (legacy CEF formatting) + # Extract prefix ^${PREFIX},\s+version -> Continue + # Extract flags (if available) ^.*?epoch\s+\d+,\s+${FLAGS} -> Continue ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){1}${FLAGS} -> Continue ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){2}${FLAGS} -> Continue ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){3}${FLAGS} -> Continue - # Stop processing Flags (max 4) + # Stop processing flags (max 4) ^.*?epoch.*?$$ - # Extract extra Flag, such as recursive + # Extract extra flag, such as recursive ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue + # Extract interface for glean adjacency (it's the only place) ^\s+via\s+${INTERFACE},\s+\d+\s+depend + # Stop procssing line with 'dependencies' + # Interface and flags are extracted by now ^.*?depend - # Extract Nexthop and Interface + # Extract nexthop IP address ^\s+next\s+hop\s+${NEXTHOP}\s*$$ + # Extract nexthop IP address and interface ^\s+next\s+hop\s+${NEXTHOP},\s+${INTERFACE} - # Extract Type, where available - # Available Type (IOS v12.x ISR G1): + # Extract type, where available + # Type values (IOS v12.x ISR G1): # - null (same as receive with Null0 interface in IOS v15.x) # - glean (same as attached in IOS v15.x) # - cached (same as nexthop in IOS v15.x) # - drop # - if type is None, then it's receive (check flags) - ^\s+valid\s+${ETYPE}\s+adjacency$$ - # - # Ignore JUNK + ^\s+valid\s+${TYPE}\s+adjacency$$ # + # >>> Parse OTHER BODY (irrelevant output) ^\s+Adj\s+source ^\s+Special\s+source ^\s+Interface\s+source @@ -103,7 +121,6 @@ Start ^\s+\d+\s+IPL\s+source ^\d+\s+packets # - # End of processing - # + # >>> Parse SPECIAL ^\s*$$ - ^. -> Error + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index ce32d3d723..8de392a945 100644 --- a/templates/index +++ b/templates/index @@ -187,7 +187,7 @@ cisco_ios_show_snmp_community.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] com[[mun cisco_ios_show_cdp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] c[[dp]] neig[[hbors]] cisco_ios_show_controller_t1.textfsm, .*, cisco_ios, sh[[ow]] cont[[rollers]] t1 cisco_ios_show_hosts_summary.textfsm, .*, cisco_ios, sh[[ow]] ho[[sts]] summary -cisco_ios_show_ip_cef_detail.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] ce[[f]] de[[tail]] +cisco_ios_show_ip_cef_detail.textfsm, .*, cisco_ios, sh[[ow]] ip ce[[f]].+?d[[etail]] cisco_ios_show_platform_diag.textfsm, .*, cisco_ios, sh[[ow]] plat[[form]] di[[ag]] cisco_ios_show_processes_cpu.textfsm, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cpu]] cisco_ios_show_spanning-tree.textfsm, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] @@ -213,7 +213,7 @@ cisco_ios_show_standby.textfsm, .*, cisco_ios, sh[[ow]] sta[[ndby]] cisco_ios_show_version.textfsm, .*, cisco_ios, sh[[ow]] ver[[sion]] cisco_ios_show_ip_arp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] a[[rp]] cisco_ios_show_ip_bgp.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] bgp -cisco_ios_show_ip_cef.textfsm, .*, cisco_ios, sh[[ow]] i[[p]] ce[[f]] +cisco_ios_show_ip_cef.textfsm, .*, cisco_ios, sh[[ow]] ip ce[[f]](?: vrf? \S+)?\s*$ 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]] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index 0349835363..391a04d208 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -1,59 +1,59 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "" + type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - etype: "" + type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.0.120.0/24" - etype: "" + type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.191.64.0/24" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "224.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index 8d5cb0d9c0..dca03eb2fe 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -1,64 +1,64 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "" + type: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - etype: "" + type: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "10.158.0.0/19" - etype: "" + type: "" nexthop: - "0.0.0.0" interface: - "Null0" - prefix: "10.158.0.192/29" - etype: "" + type: "" nexthop: - "10.158.0.209" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "192.168.0.180/30" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index 1e614846d2..5b71d87054 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -1,59 +1,59 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "" + type: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - etype: "" + type: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "10.157.1.0/24" - etype: "" + type: "" nexthop: - "172.17.100.101" interface: - "Tunnel60701" - prefix: "10.180.122.7/32" - etype: "receive" + type: "receive" nexthop: [] interface: - "Loopback0" - prefix: "10.180.122.152/29" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "10.180.122.152/32" - etype: "receive" + type: "receive" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml index 362163b8eb..56ba2f6d13 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -1,27 +1,27 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "" + type: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" - etype: "" + type: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "10.0.120.0/24" - etype: "" + type: "" nexthop: - "10.158.0.198" interface: diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index 8aac69707d..22256f7fd8 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -1,21 +1,21 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "" + type: "" nexthop: - "10.255.1.1" interface: - "Vlan1" - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.180.195.0/32" - etype: "" + type: "" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -23,43 +23,43 @@ parsed_sample: - "GigabitEthernet1/0/1" - "GigabitEthernet1/0/2" - prefix: "10.255.1.0/24" - etype: "attached" + type: "attached" nexthop: [] interface: - "Vlan1" - prefix: "10.255.1.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: - "Vlan1" - prefix: "10.255.255.192/30" - etype: "" + type: "" nexthop: - "10.255.2.1" interface: - "Port-channel1.1825" - prefix: "10.255.200.0/24" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml index a4e66a4e7c..3d7dfbf189 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -1,34 +1,34 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - etype: "no route" + type: "no route" nexthop: [] interface: [] - prefix: "0.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "127.0.0.0/8" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml index adaa170c48..8081991696 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml @@ -2,25 +2,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "172.17.40.1" interface: @@ -31,14 +31,14 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: - "GigabitEthernet0/0" @@ -46,14 +46,14 @@ parsed_sample: flags: - "receive" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/0" @@ -63,14 +63,14 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - etype: "attached" + type: "attached" nexthop: [] interface: - "Tunnel0" - prefix: "172.17.40.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: - "Tunnel0" @@ -78,29 +78,29 @@ parsed_sample: flags: - "receive" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Tunnel0" - prefix: "224.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml index abb38c5b3b..c967bdcfd6 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml @@ -4,26 +4,26 @@ parsed_sample: flags: - "cached adjacency 199.220.235.181" - "recursive" - etype: "cached" + type: "cached" nexthop: - "199.220.235.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: - "0.0.0.0" interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "" + type: "" nexthop: [] interface: [] - prefix: "10.158.0.0/19" flags: [] - etype: "null" + type: "null" nexthop: - "0.0.0.0" interface: @@ -31,7 +31,7 @@ parsed_sample: - prefix: "10.158.0.192/29" flags: - "cached adjacency 10.158.0.209" - etype: "cached" + type: "cached" nexthop: - "10.158.0.209" interface: @@ -39,35 +39,35 @@ parsed_sample: - prefix: "10.158.0.208/32" flags: - "receive" - etype: "" + type: "" nexthop: [] interface: [] - prefix: "10.180.30.1/32" flags: - "connected" - "receive" - etype: "" + type: "" nexthop: [] interface: [] - prefix: "199.220.235.180/30" flags: - "attached" - "connected" - etype: "glean" + type: "glean" nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "199.220.235.180/32" flags: - "receive" - etype: "" + type: "" nexthop: [] interface: [] - prefix: "199.220.235.181/32" flags: - "connected" - "cached adjacency 199.220.235.181" - etype: "cached" + type: "cached" nexthop: - "199.220.235.181" interface: @@ -75,18 +75,18 @@ parsed_sample: - prefix: "224.0.0.0/24" flags: - "receive" - etype: "" + type: "" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: - "0.0.0.0" interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "" + type: "" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml index d0dfb5df1e..8d1af45bc7 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml @@ -5,25 +5,25 @@ parsed_sample: - "rib only nolabel" - "rib defined all labels" - "default route" - etype: "attached" + type: "attached" nexthop: - "10.181.150.18" interface: - "GigabitEthernet0/2" - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "10.180.150.33" interface: @@ -32,7 +32,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - etype: "attached" + type: "attached" nexthop: - "10.181.150.18" interface: @@ -40,7 +40,7 @@ parsed_sample: - prefix: "10.180.140.153/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "GigabitEthernet0/1" @@ -48,7 +48,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - etype: "attached" + type: "attached" nexthop: [] interface: - "Null0" @@ -59,7 +59,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Loopback180" @@ -69,21 +69,21 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - etype: "attached" + type: "attached" nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.32/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.33/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "Port-channel1.1822" @@ -92,7 +92,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Port-channel1.1822" @@ -100,7 +100,7 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - etype: "attached" + type: "attached" nexthop: - "10.181.150.18" interface: @@ -109,29 +109,29 @@ parsed_sample: flags: - "rib only nolabel" - "rib defined all labels" - etype: "attached" + type: "attached" nexthop: [] interface: - "Null0" - prefix: "224.0.0.0/4" flags: [] - etype: "multicast" + type: "multicast" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml index 4a7ee34243..c6f39dac30 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml @@ -2,25 +2,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.0.0.0/16" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "10.158.0.198" interface: @@ -31,43 +31,43 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - etype: "attached" + type: "attached" nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.192/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.195/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "Vlan1801" - prefix: "224.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml index 1a8ad67319..3f3af0a443 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml @@ -3,25 +3,25 @@ parsed_sample: - prefix: "0.0.0.0/0" flags: - "default route" - etype: "nexthop" + type: "nexthop" nexthop: - "10.255.1.1" interface: - "Port-channel1.1" - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "10.180.195.0/32" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -30,7 +30,7 @@ parsed_sample: - "GigabitEthernet1/0/2" - prefix: "10.255.0.0/30" flags: [] - etype: "nexthop" + type: "nexthop" nexthop: - "10.255.1.1" interface: @@ -41,21 +41,21 @@ parsed_sample: - "connected" - "cover dependents" - "need deagg" - etype: "attached" + type: "attached" nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.1/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "Port-channel1.1" @@ -64,7 +64,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Port-channel1.1" @@ -75,7 +75,7 @@ parsed_sample: - "receive" - "local" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Loopback180" @@ -84,30 +84,30 @@ parsed_sample: - "receive" - "local" - "source eligible" - etype: "receive" + type: "receive" nexthop: [] interface: - "Vlan1831" - prefix: "10.180.163.133/32" flags: - "attached" - etype: "attached" + type: "attached" nexthop: [] interface: - "Vlan1831" - prefix: "127.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml index 85a797a48b..65b06cc77f 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml @@ -4,44 +4,44 @@ parsed_sample: flags: - "default route handler" - "default route" - etype: "no route" + type: "no route" nexthop: [] interface: [] - prefix: "0.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "0.0.0.0/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "127.0.0.0/8" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "224.0.0.0/24" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] - prefix: "240.0.0.0/4" flags: [] - etype: "drop" + type: "drop" nexthop: [] interface: [] - prefix: "255.255.255.255/32" flags: - "receive" - etype: "receive" + type: "receive" nexthop: [] interface: [] From 909474198bdf58af0693b1c4a1334fe7d4e828c7 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 21 May 2020 17:56:36 +0100 Subject: [PATCH 458/628] Bugfix: NX-OS - show ip interface brief (VRF support added) (#701) --- ...cisco_nxos_show_ip_interface_brief.textfsm | 5 +++ .../cisco_nxos_show_ip_interface_brief.raw | 4 ++ .../cisco_nxos_show_ip_interface_brief.yml | 39 ++++++++++++------- 3 files changed, 35 insertions(+), 13 deletions(-) diff --git a/templates/cisco_nxos_show_ip_interface_brief.textfsm b/templates/cisco_nxos_show_ip_interface_brief.textfsm index 02b8da7ee4..81584d5bcb 100644 --- a/templates/cisco_nxos_show_ip_interface_brief.textfsm +++ b/templates/cisco_nxos_show_ip_interface_brief.textfsm @@ -1,3 +1,4 @@ +Value Filldown VRF (\S+) Value Required INTF (\S+) Value Required IPADDR ([a-zA-Z0-9./]+) Value STATUS (\S+-\S+) @@ -5,4 +6,8 @@ Value LINK (\S+-\S+) Value PROTO (\S+-\S+) Start + ^IP\s+Interface\s+Status\s+for\s+VRF\s+"${VRF}"\(\d+\) + ^Interface\s+IP\s+Address\s+Interface\s+Status ^${INTF}\s+${IPADDR}\s+${PROTO}/${LINK}/${STATUS} -> Record + ^\s*$$ + ^.*$$ -> Error \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw index 217c77c4c5..9060f7f7b9 100644 --- a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw @@ -7,3 +7,7 @@ Eth1/4 10.1.1.14 protocol-up/link-up/admin-up Eth1/5 10.1.1.15 protocol-up/link-up/admin-up Eth1/6 10.1.1.16 protocol-down/link-down/admin-up Eth1/7 10.1.1.17 protocol-down/link-down/admin-up + +IP Interface Status for VRF "management"(2) +Interface IP Address Interface Status +mgmt0 192.168.149.11 protocol-up/link-up/admin-up diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml index 28828300ad..18316fd6fe 100644 --- a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.yml @@ -1,37 +1,50 @@ --- parsed_sample: - - intf: "Eth1/1" + - vrf: "default" + intf: "Eth1/1" ipaddr: "10.1.1.11" + status: "admin-up" link: "link-down" proto: "protocol-down" - status: "admin-up" - - intf: "Eth1/2" + - vrf: "default" + intf: "Eth1/2" ipaddr: "10.1.1.12" + status: "admin-up" link: "link-up" proto: "protocol-up" - status: "admin-up" - - intf: "Eth1/3" + - vrf: "default" + intf: "Eth1/3" ipaddr: "10.1.1.13" + status: "admin-up" link: "link-up" proto: "protocol-up" - status: "admin-up" - - intf: "Eth1/4" + - vrf: "default" + intf: "Eth1/4" ipaddr: "10.1.1.14" + status: "admin-up" link: "link-up" proto: "protocol-up" - status: "admin-up" - - intf: "Eth1/5" + - vrf: "default" + intf: "Eth1/5" ipaddr: "10.1.1.15" + status: "admin-up" link: "link-up" proto: "protocol-up" - status: "admin-up" - - intf: "Eth1/6" + - vrf: "default" + intf: "Eth1/6" ipaddr: "10.1.1.16" + status: "admin-up" link: "link-down" proto: "protocol-down" - status: "admin-up" - - intf: "Eth1/7" + - vrf: "default" + intf: "Eth1/7" ipaddr: "10.1.1.17" + status: "admin-up" link: "link-down" proto: "protocol-down" + - vrf: "management" + intf: "mgmt0" + ipaddr: "192.168.149.11" status: "admin-up" + link: "link-up" + proto: "protocol-up" From 2fb2710b3f89636a3575fd238cb164becb5bb227 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 21 May 2020 17:59:24 +0100 Subject: [PATCH 459/628] New Template: cisco_ios_show_ip_vrf_interfaces (#702) --- .../cisco_ios_show_ip_vrf_interfaces.textfsm | 18 +++++++++++++ templates/index | 1 + ...cisco_ios_show_ip_vrf_interfaces_empty.raw | 1 + ...cisco_ios_show_ip_vrf_interfaces_empty.yml | 2 ++ ...cisco_ios_show_ip_vrf_interfaces_iosxe.raw | 7 +++++ ...cisco_ios_show_ip_vrf_interfaces_iosxe.yml | 26 +++++++++++++++++++ 6 files changed, 55 insertions(+) create mode 100644 templates/cisco_ios_show_ip_vrf_interfaces.textfsm create mode 100644 tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.raw create mode 100644 tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.yml create mode 100644 tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.raw create mode 100644 tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.yml diff --git a/templates/cisco_ios_show_ip_vrf_interfaces.textfsm b/templates/cisco_ios_show_ip_vrf_interfaces.textfsm new file mode 100644 index 0000000000..7622392bf9 --- /dev/null +++ b/templates/cisco_ios_show_ip_vrf_interfaces.textfsm @@ -0,0 +1,18 @@ +Value Required INTERFACE (\S+) +Value Required IPADDRESS (\S+) +Value Required VRF (\S+) +Value Required PROTO_STATE (\S+) + +# This command returns a list of interfaces which are assigned to +# non-default VRF, including IP address (if available), VRF name, +# interface name and protocol status + +Start + ^Interface\s+IP-Address\s+VRF\s+Protocol -> Entries + ^\s*$$ + ^. -> Error + +Entries + ^${INTERFACE}\s+${IPADDRESS}\s+${VRF}\s+${PROTO_STATE} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index a23c7fdd9e..9138b58cd7 100644 --- a/templates/index +++ b/templates/index @@ -170,6 +170,7 @@ cisco_ios_show_ip_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip int[[erfac cisco_ios_show_interfaces_status.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] st[[atus]] cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ology]] cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] +cisco_ios_show_ip_vrf_interfaces.textfsm, .*, cisco_ios, sh[[ow]] ip vr[[f]] in[[terfaces]] cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] mac[[-address-table]] cisco_ios_show_adjacency_detail.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]](?:\s+\S+)* det[[ail]] cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] diff --git a/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.raw b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.raw new file mode 100644 index 0000000000..7fc1ee97cb --- /dev/null +++ b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.raw @@ -0,0 +1 @@ +Interface IP-Address VRF Protocol \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.yml b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.yml new file mode 100644 index 0000000000..e77add67ed --- /dev/null +++ b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_empty.yml @@ -0,0 +1,2 @@ +--- +parsed_sample: [] diff --git a/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.raw b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.raw new file mode 100644 index 0000000000..84d125450c --- /dev/null +++ b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.raw @@ -0,0 +1,7 @@ +Interface IP-Address VRF Protocol +Vl1100 192.168.100.1 BYOD-Guest up +Vl1200 192.168.200.1 BYOD-Guest up +Vl1832 10.255.0.10 BYOD-Guest up +Gi0/0 unassigned Mgmt-vrf down +Vl520 172.31.2.253 SP-INET up +Vl1836 10.255.0.18 SP-INET up \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.yml b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.yml new file mode 100644 index 0000000000..48693596cd --- /dev/null +++ b/tests/cisco_ios/show_ip_vrf_interfaces/cisco_ios_show_ip_vrf_interfaces_iosxe.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - interface: "Vl1100" + ipaddress: "192.168.100.1" + vrf: "BYOD-Guest" + proto_state: "up" + - interface: "Vl1200" + ipaddress: "192.168.200.1" + vrf: "BYOD-Guest" + proto_state: "up" + - interface: "Vl1832" + ipaddress: "10.255.0.10" + vrf: "BYOD-Guest" + proto_state: "up" + - interface: "Gi0/0" + ipaddress: "unassigned" + vrf: "Mgmt-vrf" + proto_state: "down" + - interface: "Vl520" + ipaddress: "172.31.2.253" + vrf: "SP-INET" + proto_state: "up" + - interface: "Vl1836" + ipaddress: "10.255.0.18" + vrf: "SP-INET" + proto_state: "up" From e6b77094e087a985a8f6307b0501d97b5f31fb43 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 21 May 2020 18:02:55 +0100 Subject: [PATCH 460/628] New Template: cisco_nxos_show_ip_adjacency (#704) --- .../cisco_nxos_show_ip_adjacency.textfsm | 27 ++++++++++ templates/index | 1 + .../cisco_nxos_show_ip_adjacency_n5596.raw | 15 ++++++ .../cisco_nxos_show_ip_adjacency_n5596.yml | 50 +++++++++++++++++++ 4 files changed, 93 insertions(+) create mode 100644 templates/cisco_nxos_show_ip_adjacency.textfsm create mode 100644 tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.raw create mode 100644 tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.yml diff --git a/templates/cisco_nxos_show_ip_adjacency.textfsm b/templates/cisco_nxos_show_ip_adjacency.textfsm new file mode 100644 index 0000000000..22f1c30320 --- /dev/null +++ b/templates/cisco_nxos_show_ip_adjacency.textfsm @@ -0,0 +1,27 @@ +Value Required IPADDRESS (\S+) +Value Required MAC (\S+) +Value Required PREF (\d+) +Value Required SOURCE (\S+) +Value Required INTERFACE (\S+) +# Flags: +# # - Adjacencies Throttled for Glean +# G - Adjacencies of vPC peer with G/W bit +Value FLAGS ([G#]*) + +Start + # Ignore headers + ^.*?-\s+Adjacencies + ^IP\s+Adjacency\s+Table + ^Total\s+number\s+of\s+entries: + # Jump to a list of entries: + ^Address\s+MAC\s+Address\s+Pref\s+Source\s+Interface -> Entries + # Process empty and unknown lines + ^\s*$$ + ^. -> Error + +Entries + # Entry with optional flags + ^${IPADDRESS}\s+${MAC}\s+${PREF}\s+${SOURCE}\s+${INTERFACE}\s*${FLAGS}$$ -> Record + # Process empty and unknown lines + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 9138b58cd7..9d4b697bbd 100644 --- a/templates/index +++ b/templates/index @@ -254,6 +254,7 @@ cisco_nxos_show_processes_cpu.textfsm, .*, cisco_nxos, sh[[ow]] proc[[esses]] c[ cisco_nxos_show_vrf_interface.textfsm, .*, cisco_nxos, sh[[ow]] vrf int[[erface]] cisco_nxos_show_access-lists.textfsm, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] cisco_nxos_show_environments.textfsm, .*, cisco_nxos, sh[[ow]] envi[[ronments]] +cisco_nxos_show_ip_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] ip ad[[jacency]] cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] cisco_nxos_show_inventory.textfsm, .*, cisco_nxos, sh[[ow]] inv[[entory]] cisco_nxos_show_route-map.textfsm, .*, cisco_nxos, sh[[ow]] route-m[[ap]] diff --git a/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.raw b/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.raw new file mode 100644 index 0000000000..5ff670d48a --- /dev/null +++ b/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.raw @@ -0,0 +1,15 @@ + +Flags: # - Adjacencies Throttled for Glean + G - Adjacencies of vPC peer with G/W bit + +IP Adjacency Table for VRF default +Total number of entries: 8 +Address MAC Address Pref Source Interface +10.110.100.142 002a.6a11.62c1 50 arp Vlan1800 G +10.110.100.178 78bc.1af1.ca61 50 arp Vlan1801 +10.110.100.179 002a.6a11.62c1 50 arp Vlan1801 G +10.100.1.22 002a.6a11.62c1 50 arp Vlan10 G +10.100.1.24 0040.9d99.f6f6 50 arp Vlan10 +10.100.150.3 0050.5694.bb20 50 arp Vlan150 +10.100.150.5 002a.6a11.62c1 50 arp Vlan150 G +10.100.150.6 0050.568c.2110 50 arp Vlan150 \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.yml b/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.yml new file mode 100644 index 0000000000..b504717fbc --- /dev/null +++ b/tests/cisco_nxos/show_ip_adjacency/cisco_nxos_show_ip_adjacency_n5596.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - ipaddress: "10.110.100.142" + mac: "002a.6a11.62c1" + pref: "50" + source: "arp" + interface: "Vlan1800" + flags: "G" + - ipaddress: "10.110.100.178" + mac: "78bc.1af1.ca61" + pref: "50" + source: "arp" + interface: "Vlan1801" + flags: "" + - ipaddress: "10.110.100.179" + mac: "002a.6a11.62c1" + pref: "50" + source: "arp" + interface: "Vlan1801" + flags: "G" + - ipaddress: "10.100.1.22" + mac: "002a.6a11.62c1" + pref: "50" + source: "arp" + interface: "Vlan10" + flags: "G" + - ipaddress: "10.100.1.24" + mac: "0040.9d99.f6f6" + pref: "50" + source: "arp" + interface: "Vlan10" + flags: "" + - ipaddress: "10.100.150.3" + mac: "0050.5694.bb20" + pref: "50" + source: "arp" + interface: "Vlan150" + flags: "" + - ipaddress: "10.100.150.5" + mac: "002a.6a11.62c1" + pref: "50" + source: "arp" + interface: "Vlan150" + flags: "G" + - ipaddress: "10.100.150.6" + mac: "0050.568c.2110" + pref: "50" + source: "arp" + interface: "Vlan150" + flags: "" From 863d2f4cec5d3c39bb4ecfbff4d11914401e1d22 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 461/628] 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 From b5c8e5f784bdae3e29da11bc8aead6d142577711 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Thu, 21 May 2020 18:21:50 +0100 Subject: [PATCH 462/628] Added processing of empty and unknown lines --- templates/cisco_ios_show_ip_cef.textfsm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index a60a46ef6b..05b5888d57 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -22,6 +22,10 @@ Start # # >>> Parse HEADING ^Prefix\s+Next\s+Hop\s+Interface$$ -> Entries + # + # >>> Parse SPECIAL + ^\s*$$ + ^. -> Error Entries # >>> Parse CEF ENTRIES From dc95a7e491c9652a4ea70bd848ba562d2310fe3e Mon Sep 17 00:00:00 2001 From: Kirk Byers Date: Thu, 21 May 2020 10:21:57 -0700 Subject: [PATCH 463/628] BugFix: EOS show ip arp - Allow for N/A in age field (#717) --- templates/arista_eos_show_ip_arp.textfsm | 2 +- tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.raw | 9 +++++---- tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml | 4 ++++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/templates/arista_eos_show_ip_arp.textfsm b/templates/arista_eos_show_ip_arp.textfsm index 749e15177c..5f3038f8ef 100644 --- a/templates/arista_eos_show_ip_arp.textfsm +++ b/templates/arista_eos_show_ip_arp.textfsm @@ -1,5 +1,5 @@ Value ADDRESS (\d+\.\d+\.\d+\.\d+) -Value AGE (\d+) +Value AGE ((\d+|N\/A)) Value MAC (\S+) Value INTERFACE (.*) diff --git a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.raw b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.raw index 339b789263..405404d552 100644 --- a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.raw +++ b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.raw @@ -1,4 +1,5 @@ -Address Age (min) Hardware Addr Interface -172.25.0.2 0 004c.6211.021e Vlan101, Port-Channel2 -172.22.0.1 0 004c.6214.3699 Vlan1000, Port-Channel1 -172.22.0.2 0 004c.6219.a0f3 Ethernet1 +Address Age (min) Hardware Addr Interface +172.25.0.2 0 004c.6211.021e Vlan101, Port-Channel2 +172.22.0.1 0 004c.6214.3699 Vlan1000, Port-Channel1 +172.22.0.2 0 004c.6219.a0f3 Ethernet1 +10.10.1.1 N/A 0002.00ff.0001 Vlan1, not learned diff --git a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml index 71ac508167..10afb89cf0 100644 --- a/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml +++ b/tests/arista_eos/show_ip_arp/arista_eos_show_ip_arp.yml @@ -12,3 +12,7 @@ parsed_sample: age: "0" mac: "004c.6219.a0f3" interface: "Ethernet1" + - address: "10.10.1.1" + age: "N/A" + mac: "0002.00ff.0001" + interface: "Vlan1, not learned" From 496d44ed1c3161c8a0b68057eb8a19cd357af011 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Thu, 21 May 2020 18:39:27 +0100 Subject: [PATCH 464/628] Removed TYPE from cisco_ios_show_ip_cef.textfsm --- templates/cisco_ios_show_ip_cef.textfsm | 7 +-- .../show_ip_cef/show_ip_cef_c2800_v1.yml | 39 ++++++++--------- .../show_ip_cef/show_ip_cef_c2800_v2.yml | 40 ++++++++--------- .../show_ip_cef/show_ip_cef_c2900_v1.yml | 39 ++++++++--------- .../show_ip_cef/show_ip_cef_c3750.yml | 11 ++--- .../show_ip_cef/show_ip_cef_c3850_v1.yml | 43 +++++++++---------- .../show_ip_cef/show_ip_cef_c3850_v2.yml | 32 +++++++------- 7 files changed, 95 insertions(+), 116 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/templates/cisco_ios_show_ip_cef.textfsm index 05b5888d57..cf295bdc4d 100644 --- a/templates/cisco_ios_show_ip_cef.textfsm +++ b/templates/cisco_ios_show_ip_cef.textfsm @@ -5,12 +5,11 @@ # Check cisco_ios_show_ip_cef_detail.textfsm for more details # Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) -Value TYPE ((?:no\s)?(?:[a-z]+)) # To support ECMP, NEXTHOP and INTERFACE are defined as lists # When no ECMP is available, these will be single item lists # However, if there are multiple paths available # then expect to see one item per route/path -Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value List NEXTHOP ((?:no\s)?(?:\S+)) Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) Start @@ -31,12 +30,8 @@ Entries # >>> Parse CEF ENTRIES # Entry detected ^(?:\d{1,3}\.){3}\d{1,3}\/\d{1,2} -> Continue.Record - # Parse prefix/type - ^${PREFIX}\s+${TYPE}\s*$$ # Parse prefix/nexthop ^${PREFIX}\s+${NEXTHOP}\s*$$ - # Parse prefix, type and interface - ^${PREFIX}\s+${TYPE}\s+${INTERFACE}$$ # Parse prefix, nexthop and interface ^${PREFIX}\s+${NEXTHOP}\s+${INTERFACE}$$ # Parse nexthop and interface for ECMP prefixes diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml index 391a04d208..2fb3de148e 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v1.yml @@ -1,59 +1,56 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "10.0.0.0/16" - type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.0.120.0/24" - type: "" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.191.64.0/24" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/0" - prefix: "224.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "240.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml index dca03eb2fe..74d40ee747 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2800_v2.yml @@ -1,64 +1,60 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "10.0.0.0/16" - type: "" nexthop: - "192.168.0.181" interface: - "GigabitEthernet0/1" - prefix: "10.158.0.0/19" - type: "" nexthop: - "0.0.0.0" interface: - "Null0" - prefix: "10.158.0.192/29" - type: "" nexthop: - "10.158.0.209" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/29" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "192.168.0.180/30" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "240.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml index 5b71d87054..0b66daa3d1 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c2900_v1.yml @@ -1,59 +1,56 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "10.0.0.0/16" - type: "" nexthop: - "10.180.122.153" interface: - "GigabitEthernet0/1" - prefix: "10.157.1.0/24" - type: "" nexthop: - "172.17.100.101" interface: - "Tunnel60701" - prefix: "10.180.122.7/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: - "Loopback0" - prefix: "10.180.122.152/29" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/1" - prefix: "10.180.122.152/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "240.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml index 56ba2f6d13..7dbee1870c 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3750.yml @@ -1,27 +1,24 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "10.0.0.0/16" - type: "" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "10.0.120.0/24" - type: "" nexthop: - "10.158.0.198" interface: diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml index 22256f7fd8..3fcf446322 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v1.yml @@ -1,21 +1,19 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "" nexthop: - "10.255.1.1" interface: - "Vlan1" - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "10.180.195.0/32" - type: "" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -23,43 +21,42 @@ parsed_sample: - "GigabitEthernet1/0/1" - "GigabitEthernet1/0/2" - prefix: "10.255.1.0/24" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "Vlan1" - prefix: "10.255.1.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: - "Vlan1" - prefix: "10.255.255.192/30" - type: "" nexthop: - "10.255.2.1" interface: - "Port-channel1.1825" - prefix: "10.255.200.0/24" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "GigabitEthernet0/0/2.200" - prefix: "127.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "240.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] diff --git a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml index 3d7dfbf189..fe18ed63b1 100644 --- a/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef/show_ip_cef_c3850_v2.yml @@ -1,34 +1,34 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - type: "no route" - nexthop: [] + nexthop: + - "no route" interface: [] - prefix: "0.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "127.0.0.0/8" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] - prefix: "240.0.0.0/4" - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - type: "receive" - nexthop: [] + nexthop: + - "receive" interface: [] From 43e9b952dc0f13e12a71a61fdb56338f27c795ea Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko Date: Fri, 22 May 2020 00:57:04 +0100 Subject: [PATCH 465/628] cisco_ios_show_ip_cef_detail.textfsm significantly simplified This template produces output similar to cisco_ios_show_ip_cef.textfsm Additional flags are no longer supported (not parsed) Type is no longer supported, this is captured as nexthop Nexthop's value is literally identical to what you get from show ip cef (brief list) Template still mandates the use of 'detail' keyword (due to index file restrictions) --- .../cisco_ios_show_ip_cef_detail.textfsm | 86 +++++++----------- .../show_ip_cef_detail_c2800_v1.yml | 67 ++++---------- .../show_ip_cef_detail_c2800_v2.yml | 51 ++--------- .../show_ip_cef_detail_c2900_v1.yml | 89 ++++--------------- .../show_ip_cef_detail_c3750.yml | 46 +++------- .../show_ip_cef_detail_c3850_v1.yml | 69 ++++---------- .../show_ip_cef_detail_c3850_v2.yml | 39 +++----- 7 files changed, 116 insertions(+), 331 deletions(-) diff --git a/templates/cisco_ios_show_ip_cef_detail.textfsm b/templates/cisco_ios_show_ip_cef_detail.textfsm index da71cb2c7d..08d82601ad 100644 --- a/templates/cisco_ios_show_ip_cef_detail.textfsm +++ b/templates/cisco_ios_show_ip_cef_detail.textfsm @@ -11,13 +11,11 @@ # same structured data regardless of IOS version. # Value Required PREFIX ((?:\d{1,3}\.){3}\d{1,3}\/\d{1,2}) -Value List FLAGS ([^,\]\n]+) -Value TYPE ((?:no\s)?(?:[a-z]+)) # Nexthop and Interface are lists to support ECMP # Usually these will be single item lists # However, if there are multiple paths available # these will contain one item per route/path -Value List NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value List NEXTHOP ((?:no\s)?\S+) Value List INTERFACE ([A-Za-z][A-Za-z0-9\.\/-]+) Start @@ -42,66 +40,40 @@ Start # # >>>>>> Cisco IOS >v15.x # Extract prefix (no flags) - ^${PREFIX},\s+epoch(?:(?!flags).)*$$ - # Extract prefix with flags - ^${PREFIX}.*?flags -> Continue - # Attempt to extract first flag (if present) - ^\d.*?flags\s+\[?${FLAGS} -> Continue - # Attempt to extract other flags (up to 6) - ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){1}${FLAGS} -> Continue - ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){2}${FLAGS} -> Continue - ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){3}${FLAGS} -> Continue - ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){4}${FLAGS} -> Continue - ^\d.*?flags\s+\[?(?:[^\]\n]+?,\s+){5}${FLAGS} -> Continue - # Stop processing flags (6+) - ^\d.*?flags.*?$$ - # Extract nexthop IP address - ^\s+recursive\s+via\s+${NEXTHOP} - # Extract type and interface/nexthop, if available) - # Type values (IOS >v15.x): - # - attached - # - receive - # - drop - # - no route - # - nexthop - # - multicast - ^\s+${TYPE}(?<=receive)\s+for\s+${INTERFACE} - ^\s+${TYPE}(?<=attached)\s+to\s+${INTERFACE} - ^\s+${TYPE}(?<=drop)$$ - ^\s+${TYPE}(?<=no route)$$ - ^\s+${TYPE}(?<=receive)$$ - ^\s+${TYPE}(?<=multicast)$$ - ^\s+${TYPE}(?<=nexthop)\s+${NEXTHOP}\s+${INTERFACE} + ^${PREFIX},\s+epoch + # Extract nexthop for recursive entries + ^\s+recursive\s+via\s+${NEXTHOP} -> Recursive + # Extract nexthop (receive) and interface + ^\s+${NEXTHOP}(?<=receive)\s+for\s+${INTERFACE} + # Extract nexthop (attached) and interface + ^\s+${NEXTHOP}(?<=attached)\s+to\s+${INTERFACE} + # Extract nexthop (drop) + ^\s+${NEXTHOP}(?<=drop)$$ + # Extract nexthop (no route) + ^\s+${NEXTHOP}(?<=no route)$$ + # Extract nexthop (receive) + ^\s+${NEXTHOP}(?<=receive)$$ + # Extract nexthop (multicast) + ^\s+${NEXTHOP}(?<=multicast)$$ + # Extract nexthop and interface + ^\s+nexthop\s+${NEXTHOP}\s+${INTERFACE} # # >>>>>> Cisco IOS 12.x ISR G1 (legacy CEF formatting) # Extract prefix ^${PREFIX},\s+version -> Continue - # Extract flags (if available) - ^.*?epoch\s+\d+,\s+${FLAGS} -> Continue - ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){1}${FLAGS} -> Continue - ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){2}${FLAGS} -> Continue - ^.*?epoch\s+\d+,\s+(?:[^,\n]+,\s+){3}${FLAGS} -> Continue - # Stop processing flags (max 4) + # Extract nexthop (receive and attached) + ^.*?epoch\s+\d+,.+?${NEXTHOP}(?<=receive) + ^.*?epoch\s+\d+,.+?${NEXTHOP}(?<=attached) ^.*?epoch.*?$$ - # Extract extra flag, such as recursive - ^.*?dependenc(?:y|ies),\s+${FLAGS} -> Continue - # Extract interface for glean adjacency (it's the only place) + # Extract interface for glean adjacency (attached) ^\s+via\s+${INTERFACE},\s+\d+\s+depend - # Stop procssing line with 'dependencies' - # Interface and flags are extracted by now ^.*?depend - # Extract nexthop IP address - ^\s+next\s+hop\s+${NEXTHOP}\s*$$ # Extract nexthop IP address and interface ^\s+next\s+hop\s+${NEXTHOP},\s+${INTERFACE} - # Extract type, where available - # Type values (IOS v12.x ISR G1): - # - null (same as receive with Null0 interface in IOS v15.x) - # - glean (same as attached in IOS v15.x) - # - cached (same as nexthop in IOS v15.x) - # - drop - # - if type is None, then it's receive (check flags) - ^\s+valid\s+${TYPE}\s+adjacency$$ + ^\s+next\s+hop + # Extract nexthop (drop) + ^\s+valid\s+${NEXTHOP}(?<=drop)\s+adjacency$$ + ^\s+valid.+adjacency # # >>> Parse OTHER BODY (irrelevant output) ^\s+Adj\s+source @@ -123,4 +95,10 @@ Start # # >>> Parse SPECIAL ^\s*$$ + ^. -> Error + +Recursive + # Extract interface for recursive entries + ^\s+attached\s+to\s+${INTERFACE} -> Start + ^\s*$$ ^. -> Error \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml index 8081991696..881b921b93 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v1.yml @@ -1,106 +1,71 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] - type: "nexthop" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "0.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] - type: "nexthop" nexthop: - "172.17.40.1" interface: - "Tunnel0" - prefix: "10.191.64.0/24" - flags: + nexthop: - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.1/32" - flags: + nexthop: - "receive" - - "source eligible" - type: "receive" - nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "10.191.64.2/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "GigabitEthernet0/0" - prefix: "172.17.40.0/24" - flags: + nexthop: - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: [] interface: - "Tunnel0" - prefix: "172.17.40.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: - "Tunnel0" - prefix: "172.17.40.158/32" - flags: + nexthop: - "receive" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Tunnel0" - prefix: "224.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml index c967bdcfd6..0a54efd43d 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2800_v2.yml @@ -1,92 +1,59 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: - - "cached adjacency 199.220.235.181" - - "recursive" - type: "cached" nexthop: - "199.220.235.181" interface: - "GigabitEthernet0/1" - prefix: "0.0.0.0/8" - flags: [] - type: "drop" nexthop: - - "0.0.0.0" + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "" - nexthop: [] interface: [] - prefix: "10.158.0.0/19" - flags: [] - type: "null" nexthop: - "0.0.0.0" interface: - "Null0" - prefix: "10.158.0.192/29" - flags: - - "cached adjacency 10.158.0.209" - type: "cached" nexthop: - "10.158.0.209" interface: - "GigabitEthernet0/0.1821" - prefix: "10.158.0.208/32" - flags: + nexthop: - "receive" - type: "" - nexthop: [] interface: [] - prefix: "10.180.30.1/32" - flags: - - "connected" + nexthop: - "receive" - type: "" - nexthop: [] interface: [] - prefix: "199.220.235.180/30" - flags: + nexthop: - "attached" - - "connected" - type: "glean" - nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "199.220.235.180/32" - flags: + nexthop: - "receive" - type: "" - nexthop: [] interface: [] - prefix: "199.220.235.181/32" - flags: - - "connected" - - "cached adjacency 199.220.235.181" - type: "cached" nexthop: - "199.220.235.181" interface: - "GigabitEthernet0/1" - prefix: "224.0.0.0/24" - flags: + nexthop: - "receive" - type: "" - nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" nexthop: - - "0.0.0.0" + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "" - nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml index 8d1af45bc7..9a117a2ab0 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c2900_v1.yml @@ -1,137 +1,86 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: - - "rib only nolabel" - - "rib defined all labels" - - "default route" - type: "attached" nexthop: - "10.181.150.18" interface: - "GigabitEthernet0/2" - prefix: "0.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] - type: "nexthop" nexthop: - "10.180.150.33" interface: - "Port-channel1.1822" - prefix: "10.0.120.0/24" - flags: - - "rib only nolabel" - - "rib defined all labels" - type: "attached" nexthop: - "10.181.150.18" interface: - "GigabitEthernet0/2" - prefix: "10.180.140.153/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "GigabitEthernet0/1" - prefix: "10.180.150.0/26" - flags: - - "rib only nolabel" - - "rib defined all labels" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "Null0" - prefix: "10.180.150.5/32" - flags: - - "attached" - - "connected" + nexthop: - "receive" - - "local" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Loopback180" - prefix: "10.180.150.32/29" - flags: + nexthop: - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.32/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.33/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.38/32" - flags: + nexthop: - "receive" - - "local" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Port-channel1.1822" - prefix: "10.180.150.192/26" - flags: - - "rib only nolabel" - - "rib defined all labels" - type: "attached" nexthop: - "10.181.150.18" interface: - "GigabitEthernet0/2" - prefix: "10.181.150.0/26" - flags: - - "rib only nolabel" - - "rib defined all labels" - type: "attached" - nexthop: [] + nexthop: + - "attached" interface: - "Null0" - prefix: "224.0.0.0/4" - flags: [] - type: "multicast" - nexthop: [] + nexthop: + - "multicast" interface: [] - prefix: "224.0.0.0/24" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml index c6f39dac30..bc4ca702e3 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3750.yml @@ -1,73 +1,51 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: [] - type: "nexthop" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "0.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "10.0.0.0/16" - flags: [] - type: "nexthop" nexthop: - "10.158.0.198" interface: - "Vlan1801" - prefix: "10.158.0.192/29" - flags: + nexthop: - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.192/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: - "Vlan1801" - prefix: "10.158.0.195/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "Vlan1801" - prefix: "224.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml index 3f3af0a443..6f6d8df027 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v1.yml @@ -1,27 +1,19 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: - - "default route" - type: "nexthop" nexthop: - "10.255.1.1" interface: - "Port-channel1.1" - prefix: "0.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "10.180.195.0/32" - flags: [] - type: "nexthop" nexthop: - "10.180.101.5" - "10.180.101.10" @@ -29,85 +21,54 @@ parsed_sample: - "GigabitEthernet1/0/1" - "GigabitEthernet1/0/2" - prefix: "10.255.0.0/30" - flags: [] - type: "nexthop" nexthop: - "10.255.1.1" interface: - "Port-channel1.1" - prefix: "10.255.1.0/24" - flags: + nexthop: - "attached" - - "connected" - - "cover dependents" - - "need deagg" - type: "attached" - nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.1/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "Port-channel1.1" - prefix: "10.255.1.11/32" - flags: + nexthop: - "receive" - - "local" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Port-channel1.1" - prefix: "10.180.163.0/32" - flags: - - "attached" - - "connected" + nexthop: - "receive" - - "local" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Loopback180" - prefix: "10.180.163.129/32" - flags: + nexthop: - "receive" - - "local" - - "source eligible" - type: "receive" - nexthop: [] interface: - "Vlan1831" - prefix: "10.180.163.133/32" - flags: + nexthop: - "attached" - type: "attached" - nexthop: [] interface: - "Vlan1831" - prefix: "127.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] diff --git a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml index 65b06cc77f..fe18ed63b1 100644 --- a/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml +++ b/tests/cisco_ios/show_ip_cef_detail/show_ip_cef_detail_c3850_v2.yml @@ -1,47 +1,34 @@ --- parsed_sample: - prefix: "0.0.0.0/0" - flags: - - "default route handler" - - "default route" - type: "no route" - nexthop: [] + nexthop: + - "no route" interface: [] - prefix: "0.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "0.0.0.0/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "127.0.0.0/8" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "224.0.0.0/24" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] - prefix: "240.0.0.0/4" - flags: [] - type: "drop" - nexthop: [] + nexthop: + - "drop" interface: [] - prefix: "255.255.255.255/32" - flags: + nexthop: - "receive" - type: "receive" - nexthop: [] interface: [] From 2f669739bf1664d8f699417d889d0890e295bfcb Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 21 May 2020 20:52:48 -0600 Subject: [PATCH 466/628] New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table (#719) --- .../cisco_s300_show_interfaces_status.textfsm | 21 ++ .../cisco_s300_show_lldp_neighbors.textfsm | 17 ++ .../cisco_s300_show_mac_address-table.textfsm | 17 ++ templates/index | 3 + .../cisco_s300_show_interfaces_status.raw | 43 +++ .../cisco_s300_show_interfaces_status.yml | 254 ++++++++++++++++++ .../cisco_s300_show_lldp_neighbors.raw | 10 + .../cisco_s300_show_lldp_neighbors.yml | 10 + .../cisco_s300_show_mac_address-table.raw | 18 ++ .../cisco_s300_show_mac_address-table.yml | 54 ++++ 10 files changed, 447 insertions(+) create mode 100644 templates/cisco_s300_show_interfaces_status.textfsm create mode 100644 templates/cisco_s300_show_lldp_neighbors.textfsm create mode 100644 templates/cisco_s300_show_mac_address-table.textfsm create mode 100644 tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.raw create mode 100644 tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.yml create mode 100644 tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.raw create mode 100644 tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.yml create mode 100644 tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.raw create mode 100644 tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.yml diff --git a/templates/cisco_s300_show_interfaces_status.textfsm b/templates/cisco_s300_show_interfaces_status.textfsm new file mode 100644 index 0000000000..18f35db6cf --- /dev/null +++ b/templates/cisco_s300_show_interfaces_status.textfsm @@ -0,0 +1,21 @@ +Value PORT (\S+) +Value TYPE (\S+) +Value DUPLEX (Full|Half|--) +Value SPEED (\d+|--) +Value NEG (Enabled|Disabled|--) +Value FLOWCTRL (Off|On|--) +Value LINKSTATE (Up|Down) +Value BACKPRESSURE (Disabled|Enabled|--) +Value MDIXMODE (Off|On|--) + +Start + ^\s+Flow\s+Link\s+Back\s+Mdix + ^Port\s+Type\s+Duplex\s+Speed\s+Neg\s+ctrl\s+State\s+Pressure\s+Mode -> Begin + ^\s*$$ + ^. -> Error + +Begin + ^-+ + ^${PORT}\s+${TYPE}\s+${DUPLEX}\s+${SPEED}\s+${NEG}\s+${FLOWCTRL}\s+${LINKSTATE}\s+${BACKPRESSURE}\s+${MDIXMODE} -> Record + ^\s+Flow\s+Link + ^Ch\s+Type\s+Duplex\s+Speed\s+Neg\s+control\s+State -> End diff --git a/templates/cisco_s300_show_lldp_neighbors.textfsm b/templates/cisco_s300_show_lldp_neighbors.textfsm new file mode 100644 index 0000000000..d163045cfc --- /dev/null +++ b/templates/cisco_s300_show_lldp_neighbors.textfsm @@ -0,0 +1,17 @@ +Value NEIGHBOR (\S+) +Value LOCAL_INTERFACE (\S+) +Value NEIGHBOR_INTERFACE (\S+) +Value DEVICE_ID (([0-9a-f]{2}[:-]){5}([0-9a-f]{2})) + +Start + ^System\s+capability\s+legend + ^\S+\s*- + ^\s*Port\s+Device\s+ID\s+Port\s+ID\s+System\s+Name\s+Capabilities\s+TTL -> Begin + ^\s*$$ + ^. -> Error + +Begin + ^-+ + ^${LOCAL_INTERFACE}\s+${DEVICE_ID}\s+${NEIGHBOR_INTERFACE}\s+${NEIGHBOR}.+ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_s300_show_mac_address-table.textfsm b/templates/cisco_s300_show_mac_address-table.textfsm new file mode 100644 index 0000000000..bfb2eaa3b9 --- /dev/null +++ b/templates/cisco_s300_show_mac_address-table.textfsm @@ -0,0 +1,17 @@ +Value DESTINATION_ADDRESS ((\w\w:){5}\w\w) +Value TYPE (dynamic|self) +Value VLAN (\w+) +Value DESTINATION_PORT (\S+) + +Start + ^Flags + ^Aging + ^\s+Vlan\s+Mac\s+Address\s+Port\s+Type -> Begin + ^\s*$$ + ^. -> Error + +Begin + ^-+ + ^\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${DESTINATION_PORT}\s+${TYPE} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 9af2e8a385..c0d81d6b33 100644 --- a/templates/index +++ b/templates/index @@ -276,6 +276,9 @@ cisco_nxos_show_vdc.textfsm, .*, cisco_nxos, sh[[ow]] vdc cisco_nxos_show_vpc.textfsm, .*, cisco_nxos, sh[[ow]] vpc cisco_nxos_show_vrf.textfsm, .*, cisco_nxos, sh[[ow]] vrf +cisco_s300_show_interfaces_status.textfsm, .*, cisco_s300, sh[[ow]] int[[erfaces]] st[[atus]] +cisco_s300_show_mac_address-table.textfsm, .*, cisco_s300, sh[[ow]] mac address-[[table]] +cisco_s300_show_lldp_neighbors.textfsm, .*, cisco_s300, sh[[ow]] lld[[p]] neig[[hbors]] cisco_s300_show_version.textfsm, .*, cisco_s300, sh[[ow]] ver[[sion]] cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]] diff --git a/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.raw b/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.raw new file mode 100644 index 0000000000..c71815a67d --- /dev/null +++ b/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.raw @@ -0,0 +1,43 @@ + Flow Link Back Mdix +Port Type Duplex Speed Neg ctrl State Pressure Mode +-------- ------------ ------ ----- -------- ---- ----------- -------- ------- +gi1 1G-Copper Full 100 Enabled Off Up Disabled Off +gi2 1G-Copper Full 100 Enabled Off Up Disabled On +gi3 1G-Copper Full 100 Enabled Off Up Disabled Off +gi4 1G-Copper -- -- -- -- Down -- -- +gi5 1G-Copper -- -- -- -- Down -- -- +gi6 1G-Copper -- -- -- -- Down -- -- +gi7 1G-Copper Full 100 Enabled Off Up Disabled On +gi8 1G-Copper Full 100 Enabled Off Up Disabled Off +gi9 1G-Copper Full 100 Enabled Off Up Disabled Off +gi10 1G-Copper -- -- -- -- Down -- -- +gi11 1G-Copper -- -- -- -- Down -- -- +gi12 1G-Copper -- -- -- -- Down -- -- +gi13 1G-Copper -- -- -- -- Down -- -- +gi14 1G-Copper -- -- -- -- Down -- -- +gi15 1G-Copper -- -- -- -- Down -- -- +gi16 1G-Copper -- -- -- -- Down -- -- +gi17 1G-Copper -- -- -- -- Down -- -- +gi18 1G-Copper -- -- -- -- Down -- -- +gi19 1G-Copper -- -- -- -- Down -- -- +gi20 1G-Copper -- -- -- -- Down -- -- +gi21 1G-Copper -- -- -- -- Down -- -- +gi22 1G-Copper -- -- -- -- Down -- -- +gi23 1G-Copper -- -- -- -- Down -- -- +gi24 1G-Copper -- -- -- -- Down -- -- +gi25 1G-Copper -- -- -- -- Down -- -- +gi26 1G-Copper -- -- -- -- Down -- -- +gi27 1G-Combo-F Full 1000 Disabled Off Up Disabled Off +gi28 1G-Combo-F Full 1000 Disabled Off Up Disabled Off + + Flow Link +Ch Type Duplex Speed Neg control State +-------- ------- ------ ----- -------- ------- ----------- +Po1 -- -- -- -- -- Not Present +Po2 -- -- -- -- -- Not Present +Po3 -- -- -- -- -- Not Present +Po4 -- -- -- -- -- Not Present +Po5 -- -- -- -- -- Not Present +Po6 -- -- -- -- -- Not Present +Po7 -- -- -- -- -- Not Present +Po8 -- -- -- -- -- Not Present \ No newline at end of file diff --git a/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.yml b/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.yml new file mode 100644 index 0000000000..e950efc39b --- /dev/null +++ b/tests/cisco_s300/show_interfaces_status/cisco_s300_show_interfaces_status.yml @@ -0,0 +1,254 @@ +--- +parsed_sample: + - port: "gi1" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "gi2" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "gi3" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "gi4" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi5" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi6" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi7" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "gi8" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "gi9" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "gi10" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi11" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi12" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi13" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi14" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi15" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi16" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi17" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi18" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi19" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi20" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi21" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi22" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi23" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi24" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi25" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi26" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "gi27" + type: "1G-Combo-F" + duplex: "Full" + speed: "1000" + neg: "Disabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "gi28" + type: "1G-Combo-F" + duplex: "Full" + speed: "1000" + neg: "Disabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" diff --git a/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.raw b/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.raw new file mode 100644 index 0000000000..1cf79868ea --- /dev/null +++ b/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.raw @@ -0,0 +1,10 @@ + +System capability legend: +B - Bridge; R - Router; W - Wlan Access Point; T - telephone; +D - DOCSIS Cable Device; H - Host; r - Repeater; +TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other + + Port Device ID Port ID System Name Capabilities TTL +--------- ----------------- ------------- ----------------- ------------ ----- +gi27 00:08:32:0f:1e:bd gi27 prsw03freeporil B 99 +gi28 00:08:32:0f:04:cc gi28 prsw01freeportin B 90 diff --git a/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.yml b/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.yml new file mode 100644 index 0000000000..c7f4bc600f --- /dev/null +++ b/tests/cisco_s300/show_lldp_neighbors/cisco_s300_show_lldp_neighbors.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - neighbor: "prsw03freeporil" + local_interface: "gi27" + neighbor_interface: "gi27" + device_id: "00:08:32:0f:1e:bd" + - neighbor: "prsw01freeportin" + local_interface: "gi28" + neighbor_interface: "gi28" + device_id: "00:08:32:0f:04:cc" diff --git a/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.raw b/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.raw new file mode 100644 index 0000000000..ecb1f14ec4 --- /dev/null +++ b/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.raw @@ -0,0 +1,18 @@ +Flags: I - Internal usage VLAN +Aging time is 300 sec + + Vlan Mac Address Port Type +------------ --------------------- ---------- ---------- + 1 00:08:32:0f:00:61 0 self + 300 00:1d:9c:a1:46:86 gi7 dynamic + 300 00:1d:9c:a1:50:0a gi8 dynamic + 300 00:1d:9c:a1:5b:a6 gi9 dynamic + 300 e4:90:69:aa:58:44 gi28 dynamic + 400 00:00:bc:39:be:03 gi1 dynamic + 400 00:0e:f0:4b:30:02 gi2 dynamic + 400 00:0e:f0:4b:30:13 gi2 dynamic + 400 00:0e:f0:5a:19:f1 gi27 dynamic + 400 00:0e:f0:5a:1a:10 gi3 dynamic + 400 00:1d:9c:cd:69:5c gi1 dynamic + 400 f4:54:33:91:ea:3a gi2 dynamic + 400 f4:54:33:a8:f0:0a gi3 dynamic diff --git a/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.yml b/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.yml new file mode 100644 index 0000000000..381ad212e2 --- /dev/null +++ b/tests/cisco_s300/show_mac_address-table/cisco_s300_show_mac_address-table.yml @@ -0,0 +1,54 @@ +--- +parsed_sample: + - destination_address: "00:08:32:0f:00:61" + type: "self" + vlan: "1" + destination_port: "0" + - destination_address: "00:1d:9c:a1:46:86" + type: "dynamic" + vlan: "300" + destination_port: "gi7" + - destination_address: "00:1d:9c:a1:50:0a" + type: "dynamic" + vlan: "300" + destination_port: "gi8" + - destination_address: "00:1d:9c:a1:5b:a6" + type: "dynamic" + vlan: "300" + destination_port: "gi9" + - destination_address: "e4:90:69:aa:58:44" + type: "dynamic" + vlan: "300" + destination_port: "gi28" + - destination_address: "00:00:bc:39:be:03" + type: "dynamic" + vlan: "400" + destination_port: "gi1" + - destination_address: "00:0e:f0:4b:30:02" + type: "dynamic" + vlan: "400" + destination_port: "gi2" + - destination_address: "00:0e:f0:4b:30:13" + type: "dynamic" + vlan: "400" + destination_port: "gi2" + - destination_address: "00:0e:f0:5a:19:f1" + type: "dynamic" + vlan: "400" + destination_port: "gi27" + - destination_address: "00:0e:f0:5a:1a:10" + type: "dynamic" + vlan: "400" + destination_port: "gi3" + - destination_address: "00:1d:9c:cd:69:5c" + type: "dynamic" + vlan: "400" + destination_port: "gi1" + - destination_address: "f4:54:33:91:ea:3a" + type: "dynamic" + vlan: "400" + destination_port: "gi2" + - destination_address: "f4:54:33:a8:f0:0a" + type: "dynamic" + vlan: "400" + destination_port: "gi3" From 8f5b49c58a17cc357b2692fbe85c3535b1e1f896 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 21 May 2020 20:58:19 -0600 Subject: [PATCH 467/628] Bugfix: Panos sh intf hardware - Account for unk and n/a for SPEED/Duplex (#710) --- ...alto_panos_show_interface_hardware.textfsm | 9 +- ...paloalto_panos_show_interface_hardware.yml | 48 ++++-- ...aloalto_panos_show_interface_hardware2.raw | 32 ++++ ...aloalto_panos_show_interface_hardware2.yml | 158 ++++++++++++++++++ 4 files changed, 231 insertions(+), 16 deletions(-) create mode 100644 tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.raw create mode 100644 tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.yml diff --git a/templates/paloalto_panos_show_interface_hardware.textfsm b/templates/paloalto_panos_show_interface_hardware.textfsm index 1fbf382b57..b6d676dfe0 100644 --- a/templates/paloalto_panos_show_interface_hardware.textfsm +++ b/templates/paloalto_panos_show_interface_hardware.textfsm @@ -1,8 +1,9 @@ Value INTF (\S+) -Value SPEED (\d+|\[n\/a\]) -Value DUPLEX (\S+) +Value ID (\S+) +Value SPEED (\[n/a\]|\S+) +Value DUPLEX (\[n/a\]|\S+) Value STATE (\S+) +Value ADDRESS ([a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}) Start - #^${INTF}\s+\d+\s+[n/a]/[n/a]/${STATE}\s+\S+ -> Record - ^${INTF}\s+\d+\s+${SPEED}/${DUPLEX}/${STATE}\s+\S+ -> Record + ^${INTF}\s+${ID}\s+${SPEED}/${DUPLEX}/${STATE}\s+${ADDRESS} -> Record diff --git a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml index ab7b1b8dfd..59d92ab752 100644 --- a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml +++ b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware.yml @@ -1,50 +1,74 @@ --- parsed_sample: - intf: "ethernet1/1" + id: "16" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:10" - intf: "ethernet1/2" + id: "17" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:11" - intf: "ethernet1/3" + id: "18" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:12" - intf: "ethernet1/4" + id: "19" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:13" - intf: "ethernet1/5" + id: "20" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:14" - intf: "ethernet1/6" + id: "21" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:15" - intf: "ethernet1/7" + id: "22" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:1b:17:00:01:16" - intf: "dedicated-ha1" + id: "5" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "00:90:0b:33:3d:53" - intf: "dedicated-ha2" + id: "6" speed: "1000" - state: "up" duplex: "full" + state: "up" + address: "58:49:3b:1e:69:16" - intf: "vlan" + id: "1" speed: "[n/a]" - state: "up" duplex: "[n/a]" + state: "up" + address: "00:1b:17:00:01:01" - intf: "loopback" + id: "3" speed: "[n/a]" - state: "up" duplex: "[n/a]" + state: "up" + address: "00:1b:17:00:01:03" - intf: "tunnel" + id: "4" speed: "[n/a]" - state: "up" duplex: "[n/a]" + state: "up" + address: "00:1b:17:00:01:04" diff --git a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.raw b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.raw new file mode 100644 index 0000000000..adc611c7d8 --- /dev/null +++ b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.raw @@ -0,0 +1,32 @@ +total configured hardware interfaces: 26 + +name id speed/duplex/state mac address +-------------------------------------------------------------------------------- +ethernet1/1 64 1000/full/up c4:24:56:d7:30:40 +ethernet1/2 65 ukn/ukn/down(autoneg) c4:24:56:d7:30:41 +ethernet1/3 66 ukn/ukn/down(autoneg) c4:24:56:d7:30:42 +ethernet1/4 67 ukn/ukn/down(autoneg) c4:24:56:d7:30:43 +ethernet1/5 68 ukn/ukn/down(autoneg) c4:24:56:d7:30:44 +ethernet1/6 69 ukn/ukn/down(autoneg) c4:24:56:d7:30:45 +ethernet1/7 70 ukn/ukn/down(autoneg) c4:24:56:d7:30:46 +ethernet1/8 71 ukn/ukn/down(autoneg) c4:24:56:d7:30:47 +ethernet1/9 72 ukn/ukn/down(autoneg) c4:24:56:d7:30:48 +ethernet1/10 73 ukn/ukn/down(autoneg) c4:24:56:d7:30:49 +ethernet1/11 74 ukn/ukn/down(autoneg) c4:24:56:d7:30:4a +ethernet1/12 75 ukn/ukn/down(autoneg) c4:24:56:d7:30:4b +ethernet1/13 76 ukn/ukn/down(autoneg) c4:24:56:d7:30:4c +ethernet1/14 77 ukn/ukn/down(autoneg) c4:24:56:d7:30:4d +ethernet1/15 78 ukn/ukn/down(autoneg) c4:24:56:d7:30:4e +ethernet1/16 79 ukn/ukn/down(autoneg) c4:24:56:d7:30:4f +ethernet1/17 80 10000/full/up c4:24:56:d7:30:50 +ethernet1/18 81 10000/full/up c4:24:56:d7:30:51 +ethernet1/19 82 ukn/ukn/down(autoneg) c4:24:56:d7:30:52 +ethernet1/20 83 ukn/ukn/down(autoneg) c4:24:56:d7:30:53 +ha1-a 5 ukn/ukn/down(autoneg) 08:66:1f:02:04:a2 +ha1-b 7 ukn/ukn/down(autoneg) c4:24:56:d7:30:07 +vlan 1 [n/a]/[n/a]/up c4:24:56:d7:30:01 +loopback 3 [n/a]/[n/a]/up c4:24:56:d7:30:03 +tunnel 4 [n/a]/[n/a]/up c4:24:56:d7:30:04 +hsci 8 ukn/ukn/down(autoneg) c4:24:56:d7:30:08 + +aggregation groups: 0 \ No newline at end of file diff --git a/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.yml b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.yml new file mode 100644 index 0000000000..bc4584f83d --- /dev/null +++ b/tests/paloalto_panos/show_interface_hardware/paloalto_panos_show_interface_hardware2.yml @@ -0,0 +1,158 @@ +--- +parsed_sample: + - intf: "ethernet1/1" + id: "64" + speed: "1000" + duplex: "full" + state: "up" + address: "c4:24:56:d7:30:40" + - intf: "ethernet1/2" + id: "65" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:41" + - intf: "ethernet1/3" + id: "66" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:42" + - intf: "ethernet1/4" + id: "67" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:43" + - intf: "ethernet1/5" + id: "68" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:44" + - intf: "ethernet1/6" + id: "69" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:45" + - intf: "ethernet1/7" + id: "70" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:46" + - intf: "ethernet1/8" + id: "71" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:47" + - intf: "ethernet1/9" + id: "72" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:48" + - intf: "ethernet1/10" + id: "73" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:49" + - intf: "ethernet1/11" + id: "74" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4a" + - intf: "ethernet1/12" + id: "75" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4b" + - intf: "ethernet1/13" + id: "76" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4c" + - intf: "ethernet1/14" + id: "77" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4d" + - intf: "ethernet1/15" + id: "78" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4e" + - intf: "ethernet1/16" + id: "79" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:4f" + - intf: "ethernet1/17" + id: "80" + speed: "10000" + duplex: "full" + state: "up" + address: "c4:24:56:d7:30:50" + - intf: "ethernet1/18" + id: "81" + speed: "10000" + duplex: "full" + state: "up" + address: "c4:24:56:d7:30:51" + - intf: "ethernet1/19" + id: "82" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:52" + - intf: "ethernet1/20" + id: "83" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:53" + - intf: "ha1-a" + id: "5" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "08:66:1f:02:04:a2" + - intf: "ha1-b" + id: "7" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:07" + - intf: "vlan" + id: "1" + speed: "[n/a]" + duplex: "[n/a]" + state: "up" + address: "c4:24:56:d7:30:01" + - intf: "loopback" + id: "3" + speed: "[n/a]" + duplex: "[n/a]" + state: "up" + address: "c4:24:56:d7:30:03" + - intf: "tunnel" + id: "4" + speed: "[n/a]" + duplex: "[n/a]" + state: "up" + address: "c4:24:56:d7:30:04" + - intf: "hsci" + id: "8" + speed: "ukn" + duplex: "ukn" + state: "down(autoneg)" + address: "c4:24:56:d7:30:08" From e7d6936dc80e0614811c23d71ae0ef9e03c53d6b Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 21 May 2020 20:59:18 -0600 Subject: [PATCH 468/628] Bugfix: EOS - show_interfaces - Added proper link_status capture for admin down (#711) --- templates/arista_eos_show_interfaces.textfsm | 4 +- .../arista_eos_show_interfaces.raw | 20 +++++ .../arista_eos_show_interfaces.yml | 76 +++++++++++-------- 3 files changed, 65 insertions(+), 35 deletions(-) diff --git a/templates/arista_eos_show_interfaces.textfsm b/templates/arista_eos_show_interfaces.textfsm index 5aadc206a8..7e794ea461 100644 --- a/templates/arista_eos_show_interfaces.textfsm +++ b/templates/arista_eos_show_interfaces.textfsm @@ -1,5 +1,5 @@ Value Required INTERFACE (\S+) -Value LINK_STATUS (\w+) +Value LINK_STATUS (.*) Value PROTOCOL_STATUS (.*) Value HARDWARE_TYPE ([\w+-]+) Value ADDRESS ([a-zA-Z0-9]+.[a-zA-Z0-9]+.[a-zA-Z0-9]+) @@ -10,7 +10,7 @@ Value MTU (\d+) Value BANDWIDTH (\d+\s+\w+) Start - ^${INTERFACE}\s+is\s+${LINK_STATUS}.*protocol\s+is\s+${PROTOCOL_STATUS} + ^${INTERFACE}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}$$ ^\s+Hardware\s+is\s+${HARDWARE_TYPE}(.*address\s+is\s+${ADDRESS})*(.*bia\s+${BIA})* ^\s+Description:\s+${DESCRIPTION} ^\s+Internet\s+address\s+is\s+${IP_ADDRESS} diff --git a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.raw b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.raw index 97cb1db1bb..a033573a11 100644 --- a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.raw +++ b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.raw @@ -43,6 +43,26 @@ Ethernet2 is up, line protocol is up (connected) 0 output errors, 0 collisions 0 late collision, 0 deferred, 0 output discards 0 PAUSE output +Ethernet49/1 is administratively down, line protocol is notpresent (disabled) + Hardware is Ethernet, address is fcbd.67e2.b922 (bia fcbd.67e2.b922) + Ethernet MTU 9214 bytes , BW 100000000 kbit + Full-duplex, 100Gb/s, auto negotiation: off, uni-link: n/a + Down 6 days, 11 hours, 16 minutes, 54 seconds + Loopback Mode : None + 1 link status changes since last clear + Last clearing of "show interface" counters 6 days, 11:19:37 ago + 5 minutes input rate 0 bps (0.0% with framing overhead), 0 packets/sec + 5 minutes output rate 0 bps (0.0% with framing overhead), 0 packets/sec + 0 packets input, 0 bytes + Received 0 broadcasts, 0 multicast + 0 runts, 0 giants + 0 input errors, 0 CRC, 0 alignment, 0 symbol, 0 input discards + 0 PAUSE input + 0 packets output, 0 bytes + Sent 0 broadcasts, 0 multicast + 0 output errors, 0 collisions + 0 late collision, 0 deferred, 0 output discards + 0 PAUSE output Loopback0 is up, line protocol is up (connected) Hardware is Loopback Internet address is 1.1.1.1/32 diff --git a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml index dd75e4bd09..0edeb2bcc6 100644 --- a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml +++ b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml @@ -1,62 +1,72 @@ --- parsed_sample: - - address: "0800.27dc.5443" - bandwidth: "10000000 kbit" + - interface: "Ethernet1" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ethernet" + address: "0800.27dc.5443" bia: "" description: "" - hardware_type: "Ethernet" - interface: "Ethernet1" ip_address: "172.16.1.1/24" - link_status: "up" mtu: "1500" - protocol_status: "up (connected)" - - address: "0800.27dc.5443" bandwidth: "10000000 kbit" + - interface: "Ethernet2" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ethernet" + address: "0800.27dc.5443" bia: "" description: "Connects to Ethernet1 on localhost" - hardware_type: "Ethernet" - interface: "Ethernet2" ip_address: "172.16.2.1/24" - link_status: "up" mtu: "1500" + bandwidth: "10000000 kbit" + - interface: "Ethernet49/1" + link_status: "administratively down" + protocol_status: "notpresent (disabled)" + hardware_type: "Ethernet" + address: "fcbd.67e2.b922" + bia: "fcbd.67e2.b922" + description: "" + ip_address: "" + mtu: "9214" + bandwidth: "100000000 kbit" + - interface: "Loopback0" + link_status: "up" protocol_status: "up (connected)" - - address: "" - bandwidth: "" + hardware_type: "Loopback" + address: "" bia: "" description: "" - hardware_type: "Loopback" - interface: "Loopback0" ip_address: "1.1.1.1/32" - link_status: "up" mtu: "65535" - protocol_status: "up (connected)" - - address: "0000.0000.0000" bandwidth: "" + - interface: "Port-Channel1" + link_status: "down" + protocol_status: "lowerlayerdown (notconnect)" + hardware_type: "Port-Channel" + address: "0000.0000.0000" bia: "" description: "" - hardware_type: "Port-Channel" - interface: "Port-Channel1" ip_address: "" - link_status: "down" mtu: "9214" - protocol_status: "lowerlayerdown (notconnect)" - - address: "0800.27a5.02b7" - bandwidth: "1000000 kbit" + bandwidth: "" + - interface: "Management1" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ethernet" + address: "0800.27a5.02b7" bia: "0800.27a5.02b7" description: "" - hardware_type: "Ethernet" - interface: "Management1" ip_address: "" - link_status: "up" mtu: "1500" - protocol_status: "up (connected)" - - address: "0800.27dc.5443" - bandwidth: "" + bandwidth: "1000000 kbit" + - interface: "Vlan10" + link_status: "down" + protocol_status: "lowerlayerdown (notconnect)" + hardware_type: "Vlan" + address: "0800.27dc.5443" bia: "0800.27dc.5443" description: "" - hardware_type: "Vlan" - interface: "Vlan10" ip_address: "10.0.0.1/24" - link_status: "down" mtu: "1500" - protocol_status: "lowerlayerdown (notconnect)" + bandwidth: "" From ac883575059e7c6f1f4b895652ed31fbb96d8750 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 21 May 2020 21:12:44 -0600 Subject: [PATCH 469/628] New Template: paloalto_panos_show_interface_management.textfsm (#712) --- templates/index | 1 + ...to_panos_show_interface_management.textfsm | 35 +++++++++++++++++++ .../show_interface_management1.raw | 32 +++++++++++++++++ .../show_interface_management1.yml | 10 ++++++ 4 files changed, 78 insertions(+) create mode 100644 templates/paloalto_panos_show_interface_management.textfsm create mode 100644 tests/paloalto_panos/show_interface_management/show_interface_management1.raw create mode 100644 tests/paloalto_panos/show_interface_management/show_interface_management1.yml diff --git a/templates/index b/templates/index index c0d81d6b33..9bac341184 100644 --- a/templates/index +++ b/templates/index @@ -387,6 +387,7 @@ juniper_screenos_get_route.textfsm, .*, juniper_screenos, get route paloalto_panos_show_running_security-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] paloalto_panos_show_high-availability_all.textfsm, .*, paloalto_panos, sh[[ow]] high[[-availability]] all +paloalto_panos_show_interface_management.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] man[[agement]] paloalto_panos_show_interface_hardware.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] hard[[ware]] paloalto_panos_show_running_nat-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] nat[[-policy]] paloalto_panos_show_interface_logical.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] logi[[cal]] diff --git a/templates/paloalto_panos_show_interface_management.textfsm b/templates/paloalto_panos_show_interface_management.textfsm new file mode 100644 index 0000000000..cbc396a099 --- /dev/null +++ b/templates/paloalto_panos_show_interface_management.textfsm @@ -0,0 +1,35 @@ +Value NAME (.+) +Value MACADDRESS ([a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}\:[a-fA-F0-9]{2}) +Value IPV4_ADDRESS (\S+) +Value IPV4_NETMASK (\S+) +Value IPV4_GATEWAY (\S+) +Value IPV6_ADDRESS (\S+) +Value IPV6_LINKLOCAL (\S+) +Value IPV6_GATEWAY (\S+) + +Start + ^-+ + ^Name:\s+${NAME}$$ + ^Link\s+status + ^\s+Runtime + ^\s+Configured\s+link + ^MAC\s+address + ^\s+Port\s+MAC\s+address\s+${MACADDRESS} + ^Ip\s+address:\s+${IPV4_ADDRESS} + ^Netmask:\s+${IPV4_NETMASK} + ^Default\s+gateway:\s+${IPV4_GATEWAY} + ^Ipv6\s+address:\s+${IPV6_ADDRESS} + ^Ipv6\s+link\s+local\s+address:\s+${IPV6_LINKLOCAL} + ^Ipv6\s+default\s+gateway:(\s+${IPV6_GATEWAY})? + ^Logical\s+interface\s+counters + ^bytes\s+received + ^bytes\s+transmitted + ^packets\s+received + ^packets\s+transmitted + ^receive\s+errors + ^transmit\s+errors + ^receive\s+packets\s+dropped + ^transmit\s+packets\s+dropped + ^multicast\s+packets\s+received + ^\s*$$ + ^. -> Error diff --git a/tests/paloalto_panos/show_interface_management/show_interface_management1.raw b/tests/paloalto_panos/show_interface_management/show_interface_management1.raw new file mode 100644 index 0000000000..236451a96f --- /dev/null +++ b/tests/paloalto_panos/show_interface_management/show_interface_management1.raw @@ -0,0 +1,32 @@ + + +------------------------------------------------------------------------------- +Name: Management Interface +Link status: + Runtime link speed/duplex/state: 1000/full/up + Configured link speed/duplex/state: auto/auto/auto +MAC address: + Port MAC address 08:66:1f:02:04:a3 + +Ip address: 10.0.1.5 +Netmask: 255.255.255.0 +Default gateway: 10.0.1.1 +Ipv6 address: unknown +Ipv6 link local address: fe80::a66:1fff:fe02:4a3/64 +Ipv6 default gateway: +------------------------------------------------------------------------------- + + +------------------------------------------------------------------------------- +Logical interface counters: +------------------------------------------------------------------------------- +bytes received 264279971 +bytes transmitted 238725455 +packets received 279836 +packets transmitted 291248 +receive errors 0 +transmit errors 0 +receive packets dropped 0 +transmit packets dropped 0 +multicast packets received 0 +------------------------------------------------------------------------------- diff --git a/tests/paloalto_panos/show_interface_management/show_interface_management1.yml b/tests/paloalto_panos/show_interface_management/show_interface_management1.yml new file mode 100644 index 0000000000..4d9b5fca29 --- /dev/null +++ b/tests/paloalto_panos/show_interface_management/show_interface_management1.yml @@ -0,0 +1,10 @@ +--- +parsed_sample: + - name: "Management Interface" + macaddress: "08:66:1f:02:04:a3" + ipv4_address: "10.0.1.5" + ipv4_netmask: "255.255.255.0" + ipv4_gateway: "10.0.1.1" + ipv6_address: "unknown" + ipv6_linklocal: "fe80::a66:1fff:fe02:4a3/64" + ipv6_gateway: "" From 1e384199bb85b18996d2bbd5c7f6617afbdbba97 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Fri, 22 May 2020 22:06:01 +0100 Subject: [PATCH 470/628] Enhance Template for Cisco IOS: show adjacency (#721) --- ...xtfsm => cisco_ios_show_adjacency.textfsm} | 0 templates/index | 2 +- .../show_adjacency_detail_iosg1.raw | 0 .../show_adjacency_detail_iosg1.yml | 0 .../show_adjacency_detail_iosxe.raw | 0 .../show_adjacency_detail_iosxe.yml | 0 .../show_adjacency/show_adjacency_short.raw | 5 +++++ .../show_adjacency/show_adjacency_short.yml | 22 +++++++++++++++++++ 8 files changed, 28 insertions(+), 1 deletion(-) rename templates/{cisco_ios_show_adjacency_detail.textfsm => cisco_ios_show_adjacency.textfsm} (100%) rename tests/cisco_ios/{show_adjacency_detail => show_adjacency}/show_adjacency_detail_iosg1.raw (100%) rename tests/cisco_ios/{show_adjacency_detail => show_adjacency}/show_adjacency_detail_iosg1.yml (100%) rename tests/cisco_ios/{show_adjacency_detail => show_adjacency}/show_adjacency_detail_iosxe.raw (100%) rename tests/cisco_ios/{show_adjacency_detail => show_adjacency}/show_adjacency_detail_iosxe.yml (100%) create mode 100644 tests/cisco_ios/show_adjacency/show_adjacency_short.raw create mode 100644 tests/cisco_ios/show_adjacency/show_adjacency_short.yml diff --git a/templates/cisco_ios_show_adjacency_detail.textfsm b/templates/cisco_ios_show_adjacency.textfsm similarity index 100% rename from templates/cisco_ios_show_adjacency_detail.textfsm rename to templates/cisco_ios_show_adjacency.textfsm diff --git a/templates/index b/templates/index index 9bac341184..610fffdc9d 100644 --- a/templates/index +++ b/templates/index @@ -172,7 +172,6 @@ cisco_ios_show_ip_eigrp_topology.textfsm, .*, cisco_ios, sh[[ow]] ip eigrp top[[ cisco_ios_show_ip_source_binding.textfsm, .*, cisco_ios, sh[[ow]] ip sou[[rce]] b[[inding]] cisco_ios_show_ip_vrf_interfaces.textfsm, .*, cisco_ios, sh[[ow]] ip vr[[f]] in[[terfaces]] cisco_ios_show_mac-address-table.textfsm, .*, cisco_ios, sh[[ow]] mac[[-address-table]] -cisco_ios_show_adjacency_detail.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]](?:\s+\S+)* det[[ail]] cisco_ios_show_ip_bgp_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]] cisco_ios_show_ip_ospf_database.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] cisco_ios_show_ip_ospf_neighbor.textfsm, .*, cisco_ios, sh[[ow]] ip ospf nei[[ghbor]] @@ -202,6 +201,7 @@ cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_redundancy.textfsm, .*, cisco_ios, sh[[ow]] redu[[ndancy]] cisco_ios_show_vtp_status.textfsm, .*, cisco_ios, sh[[ow]] vtp stat[[us]] +cisco_ios_show_adjacency.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]] cisco_ios_show_dot1x_all.textfsm, .*, cisco_ios, sh[[ow]] dot1x a[[ll]] cisco_ios_show_inventory.textfsm, .*, cisco_ios, sh[[ow]] inven[[tory]] cisco_ios_show_ip_mroute.textfsm, .*, cisco_ios, sh[[ow]] ip mr[[oute]] diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw b/tests/cisco_ios/show_adjacency/show_adjacency_detail_iosg1.raw similarity index 100% rename from tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.raw rename to tests/cisco_ios/show_adjacency/show_adjacency_detail_iosg1.raw diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml b/tests/cisco_ios/show_adjacency/show_adjacency_detail_iosg1.yml similarity index 100% rename from tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosg1.yml rename to tests/cisco_ios/show_adjacency/show_adjacency_detail_iosg1.yml diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw b/tests/cisco_ios/show_adjacency/show_adjacency_detail_iosxe.raw similarity index 100% rename from tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.raw rename to tests/cisco_ios/show_adjacency/show_adjacency_detail_iosxe.raw diff --git a/tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml b/tests/cisco_ios/show_adjacency/show_adjacency_detail_iosxe.yml similarity index 100% rename from tests/cisco_ios/show_adjacency_detail/show_adjacency_detail_iosxe.yml rename to tests/cisco_ios/show_adjacency/show_adjacency_detail_iosxe.yml diff --git a/tests/cisco_ios/show_adjacency/show_adjacency_short.raw b/tests/cisco_ios/show_adjacency/show_adjacency_short.raw new file mode 100644 index 0000000000..b34b79d47f --- /dev/null +++ b/tests/cisco_ios/show_adjacency/show_adjacency_short.raw @@ -0,0 +1,5 @@ +Protocol Interface Address +IP Vlan1 10.255.1.1(11) +IP Vlan1 10.255.1.11(8) +IP Vlan1 10.255.1.250(8) +IP Vlan1 227.0.0.0(3) \ No newline at end of file diff --git a/tests/cisco_ios/show_adjacency/show_adjacency_short.yml b/tests/cisco_ios/show_adjacency/show_adjacency_short.yml new file mode 100644 index 0000000000..1919d18cea --- /dev/null +++ b/tests/cisco_ios/show_adjacency/show_adjacency_short.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - interface: "Vlan1" + endpoint: "10.255.1.1" + rewrite_headers: [] + recursive_interface: "" + recursive_nexthop: "" + - interface: "Vlan1" + endpoint: "10.255.1.11" + rewrite_headers: [] + recursive_interface: "" + recursive_nexthop: "" + - interface: "Vlan1" + endpoint: "10.255.1.250" + rewrite_headers: [] + recursive_interface: "" + recursive_nexthop: "" + - interface: "Vlan1" + endpoint: "227.0.0.0" + rewrite_headers: [] + recursive_interface: "" + recursive_nexthop: "" From 1c7e96d4ce5b9459105ccaabaed311e817366b72 Mon Sep 17 00:00:00 2001 From: ichisuke <60389350+ichisuke55@users.noreply.github.com> Date: Sun, 24 May 2020 12:24:37 +0900 Subject: [PATCH 471/628] New Template: juniper_junos_show_lacp_interfaces (#713) --- templates/index | 1 + ...juniper_junos_show_lacp_interfaces.textfsm | 23 +++++++++ .../juniper_junos_show_lacp_interfaces.raw | 38 ++++++++++++++ .../juniper_junos_show_lacp_interfaces.yml | 50 +++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 templates/juniper_junos_show_lacp_interfaces.textfsm create mode 100644 tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.raw create mode 100644 tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.yml diff --git a/templates/index b/templates/index index 610fffdc9d..db1c43d374 100644 --- a/templates/index +++ b/templates/index @@ -377,6 +377,7 @@ juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow juniper_junos_show_ethernet-switching_table.textfsm, .*, juniper_junos, sh[[ow]] et[[hernet-switching]] t[[able]] juniper_junos_show_chassis_cluster_status.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] juniper_junos_show_chassis_firmware.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] +juniper_junos_show_lacp_interfaces.textfsm, .*, juniper_junos, sh[[ow]] la[[cp]] i[[nterfaces]] juniper_junos_show_arp_no-resolve.textfsm, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] juniper_junos_show_isis_adjacency.textfsm, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] juniper_junos_show_ospf_neighbor.textfsm, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] diff --git a/templates/juniper_junos_show_lacp_interfaces.textfsm b/templates/juniper_junos_show_lacp_interfaces.textfsm new file mode 100644 index 0000000000..51051f854c --- /dev/null +++ b/templates/juniper_junos_show_lacp_interfaces.textfsm @@ -0,0 +1,23 @@ +Value Required AGGREGATED_INTERFACE (\S+) +Value List MEMBER_INTERFACE (\S+) +Value List RECEIVE_STATE (\S+\s?\w+) +Value List TRANSMIT_STATE (\S+\s?periodic) +Value List MUX_STATE (\S+\s?\S*) + +Start + ^Aggregated -> Continue.Record + ^Aggregated\sinterface:\s${AGGREGATED_INTERFACE}(\s|$$) + ^\s+LACP\s+state: + ^\s+LACP\sprotocol: -> LACP_PROTO + ^\s+\S+ + ^\s*$$ + ^{master:\d+} + ^. -> Error + +LACP_PROTO + ^\s+${MEMBER_INTERFACE}\s+${RECEIVE_STATE}\s+${TRANSMIT_STATE}\s+${MUX_STATE}(\s|$$) + ^\s*$$ + ^Aggregated -> Continue.Record + ^Aggregated\sinterface:\s${AGGREGATED_INTERFACE}(\s|$$) -> Start + ^{master:\d+} + ^. -> Error diff --git a/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.raw b/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.raw new file mode 100644 index 0000000000..93fe5013ef --- /dev/null +++ b/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.raw @@ -0,0 +1,38 @@ +Aggregated interface: ae33 + LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity + xe-0/0/0:0 Actor No No Yes Yes Yes Yes Fast Active + xe-0/0/0:0 Partner No No Yes Yes Yes Yes Slow Active + LACP protocol: Receive State Transmit State Mux State + xe-0/0/0:0 Current Slow periodic Collecting distributing + +Aggregated interface: ae111 + LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity + et-0/0/32 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/32 Partner No No Yes Yes Yes Yes Fast Active + et-0/0/33 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/33 Partner No No Yes Yes Yes Yes Fast Active + LACP protocol: Receive State Transmit State Mux State + et-0/0/32 Current Fast periodic Collecting distributing + et-0/0/33 Current Fast periodic Collecting distributing + +Aggregated interface: ae112 + LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity + et-0/0/34 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/34 Partner No No Yes Yes Yes Yes Fast Active + et-0/0/35 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/35 Partner No No Yes Yes Yes Yes Fast Active + LACP protocol: Receive State Transmit State Mux State + et-0/0/34 Current Fast periodic Collecting distributing + et-0/0/35 Current Fast periodic Collecting distributing + +Aggregated interface: ae115 + LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity + et-0/0/25 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/25 Partner No No Yes Yes Yes Yes Fast Active + et-0/0/29 Actor No No Yes Yes Yes Yes Fast Active + et-0/0/29 Partner No No Yes Yes Yes Yes Fast Active + LACP protocol: Receive State Transmit State Mux State + et-0/0/25 Current Fast periodic Collecting distributing + et-0/0/29 Current Fast periodic Collecting distributing + +{master:0} diff --git a/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.yml b/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.yml new file mode 100644 index 0000000000..0990686104 --- /dev/null +++ b/tests/juniper_junos/show_lacp_interfaces/juniper_junos_show_lacp_interfaces.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - aggregated_interface: "ae33" + member_interface: + - "xe-0/0/0:0" + receive_state: + - "Current" + transmit_state: + - "Slow periodic" + mux_state: + - "Collecting distributing" + - aggregated_interface: "ae111" + member_interface: + - "et-0/0/32" + - "et-0/0/33" + receive_state: + - "Current" + - "Current" + transmit_state: + - "Fast periodic" + - "Fast periodic" + mux_state: + - "Collecting distributing" + - "Collecting distributing" + - aggregated_interface: "ae112" + member_interface: + - "et-0/0/34" + - "et-0/0/35" + receive_state: + - "Current" + - "Current" + transmit_state: + - "Fast periodic" + - "Fast periodic" + mux_state: + - "Collecting distributing" + - "Collecting distributing" + - aggregated_interface: "ae115" + member_interface: + - "et-0/0/25" + - "et-0/0/29" + receive_state: + - "Current" + - "Current" + transmit_state: + - "Fast periodic" + - "Fast periodic" + mux_state: + - "Collecting distributing" + - "Collecting distributing" From 1b6f26973963166ee8359d2e5fba361deee8b9ea Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sat, 23 May 2020 23:26:21 -0400 Subject: [PATCH 472/628] Bugfix: Added deleted for STATUS - cisco_ios_show_interfaces_description.textfsm (#725) --- templates/cisco_ios_show_interfaces_description.textfsm | 2 +- .../cisco_ios_show_interfaces_description.raw | 2 ++ .../cisco_ios_show_interfaces_description.yml | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/templates/cisco_ios_show_interfaces_description.textfsm b/templates/cisco_ios_show_interfaces_description.textfsm index 6e501ca427..040aa3d013 100644 --- a/templates/cisco_ios_show_interfaces_description.textfsm +++ b/templates/cisco_ios_show_interfaces_description.textfsm @@ -1,5 +1,5 @@ Value PORT (\S+) -Value STATUS (up|down|admin\s+down) +Value STATUS (up|down|deleted|admin\s+down) Value PROTOCOL (up|down) Value DESCRIP (\S.*?) diff --git a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw index 989bc4fef6..45a5dea3f8 100644 --- a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw +++ b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.raw @@ -11,3 +11,5 @@ Gi0/7 down down D3 USER Gi0/8 up up MERAKI TEST AP Gi0/9 admin down down Gi0/10 up up UPLINK TO TULCCD3S01P +Gi0/10.10 deleted down +Gi0/10.20 up up Carrier VLAN diff --git a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml index 63968dd012..8654451669 100644 --- a/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml +++ b/tests/cisco_ios/show_interfaces_description/cisco_ios_show_interfaces_description.yml @@ -48,3 +48,11 @@ parsed_sample: status: "up" protocol: "up" descrip: "UPLINK TO TULCCD3S01P" + - port: "Gi0/10.10" + status: "deleted" + protocol: "down" + descrip: "" + - port: "Gi0/10.20" + status: "up" + protocol: "up" + descrip: "Carrier VLAN" From fb2c7a8aae9be91db181951ab716ac0f5dfb8f7d Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Sun, 24 May 2020 20:20:09 -0400 Subject: [PATCH 473/628] Update Yamllint to enforce double-quote (#724) --- .yamllint | 3 +- .../ciena_saos_chassis_show_temperature.yml | 6 +- .../port_show/ciena_saos_port_show.yml | 594 ++++++------ .../rstp_show/ciena_saos_rstp_show.yml | 864 +++++++++--------- .../show_logging/cisco_asa_show_logging_3.yml | 2 +- .../show_logging/cisco_asa_show_logging_4.yml | 2 +- .../cisco_nxos_show_interface_transceiver.yml | 4 +- .../hp_comware_display_ip_interface.yml | 2 +- 8 files changed, 738 insertions(+), 739 deletions(-) diff --git a/.yamllint b/.yamllint index b5c025606d..4bffe932a6 100644 --- a/.yamllint +++ b/.yamllint @@ -30,8 +30,7 @@ rules: new-line-at-end-of-file: "enable" quoted-strings: quote-type: "double" - level: "warning" trailing-spaces: {} ignore: | - tests/mocks/ \ No newline at end of file + tests/mocks/ diff --git a/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml index e79f63e6a2..5bbbe8452d 100644 --- a/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml +++ b/tests/ciena_saos/chassis_show_temperature/ciena_saos_chassis_show_temperature.yml @@ -1,5 +1,5 @@ --- parsed_sample: - - current: '19 C' - low: '17 C' - high: '20 C' + - current: "19 C" + low: "17 C" + high: "20 C" diff --git a/tests/ciena_saos/port_show/ciena_saos_port_show.yml b/tests/ciena_saos/port_show/ciena_saos_port_show.yml index 40a95b438e..a635420a4b 100644 --- a/tests/ciena_saos/port_show/ciena_saos_port_show.yml +++ b/tests/ciena_saos/port_show/ciena_saos_port_show.yml @@ -1,299 +1,299 @@ --- parsed_sample: - - name: '1.11' - type: '100/G' - link: 'Up' - duration: '30d 2h24m21s' - xcvr: 'Ena' - stp: 'Dis' - mode: '1000/FD' - autoneg: 'On' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '2.1' - type: '100G/Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: 'UCTF' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '3' - type: '10/100/G' - link: 'Up' - duration: '30d 1h55m12s' - xcvr: 'Ena' - stp: 'Dis' - mode: '1000/FD' - autoneg: 'On' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '4' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '5' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '6' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '7' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '8' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '9' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '10' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '11' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '12' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '13' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '14' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '15' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '16' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '17' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '18' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '19' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '20' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '21' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '22' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '23' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: '24' - type: 'G/10Gig' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: 'Auto/FD' - admin_autoneg: 'On' - - name: 'LAG1' - type: 'LAG' - link: 'Up' - duration: '30d 2h24m21s' - xcvr: '' - stp: 'FWD' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: '' - admin_autoneg: '' - - name: 'LAG2' - type: 'LAG' - link: 'Up' - duration: '30d 1h55m11s' - xcvr: '' - stp: 'FWD' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: '' - admin_autoneg: '' - - name: 'LATERAL' - type: 'LAG' - link: 'Down' - duration: '0d 0h 0m 0s' - xcvr: '' - stp: 'Dis' - mode: '' - autoneg: '' - admin_link: 'Ena' - admin_mode: '' - admin_autoneg: '' + - name: "1.11" + type: "100/G" + link: "Up" + duration: "30d 2h24m21s" + xcvr: "Ena" + stp: "Dis" + mode: "1000/FD" + autoneg: "On" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "2.1" + type: "100G/Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "UCTF" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "3" + type: "10/100/G" + link: "Up" + duration: "30d 1h55m12s" + xcvr: "Ena" + stp: "Dis" + mode: "1000/FD" + autoneg: "On" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "4" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "5" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "6" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "7" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "8" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "9" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "10" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "11" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "12" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "13" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "14" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "15" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "16" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "17" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "18" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "19" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "20" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "21" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "22" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "23" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "24" + type: "G/10Gig" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "Auto/FD" + admin_autoneg: "On" + - name: "LAG1" + type: "LAG" + link: "Up" + duration: "30d 2h24m21s" + xcvr: "" + stp: "FWD" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "" + admin_autoneg: "" + - name: "LAG2" + type: "LAG" + link: "Up" + duration: "30d 1h55m11s" + xcvr: "" + stp: "FWD" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "" + admin_autoneg: "" + - name: "LATERAL" + type: "LAG" + link: "Down" + duration: "0d 0h 0m 0s" + xcvr: "" + stp: "Dis" + mode: "" + autoneg: "" + admin_link: "Ena" + admin_mode: "" + admin_autoneg: "" diff --git a/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml index 1a07bff3bd..ee2c092631 100644 --- a/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml +++ b/tests/ciena_saos/rstp_show/ciena_saos_rstp_show.yml @@ -1,434 +1,434 @@ --- parsed_sample: - - name: '1' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '20000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '2' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '3' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '20000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '4' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '5' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '6' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '7' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '8' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '9' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '10' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '11' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '12' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '13' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '14' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '15' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '16' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '17' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '18' - port_op: '--' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '19' - port_op: '--' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '20' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '21' - port_op: '--' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '22' - port_op: '--' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '23' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: '24' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '2000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' - - name: 'LAG1' - port_op: 'Up' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'FWD' - stp_st: 'FWD' - pr: '8' - path_cost_oper: '20000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'T' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0030D04:51:46' - - name: 'LAG2' - port_op: 'Up' - port_stp: 'Dis' - port_role: 'DIS' - rstp_st: 'FWD' - stp_st: 'FWD' - pr: '8' - path_cost_oper: '20000' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'T' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0030D04:22:36' - - name: 'LATERAL' - port_op: '--' - port_stp: 'Ena' - port_role: 'DIS' - rstp_st: 'DISC' - stp_st: 'DIS' - pr: '8' - path_cost_oper: '------' - path_cost_d: 'T' - edgep_ad: 'F' - edgep_op: 'F' - p2p_mac_adm: 'AUTO' - p2p_mac_op: 'F' - domain_adm: '0' - domain_ef: '0' - port_uptime: '0000D00:00:00' + - name: "1" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "20000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "2" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "3" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "20000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "4" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "5" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "6" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "7" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "8" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "9" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "10" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "11" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "12" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "13" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "14" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "15" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "16" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "17" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "18" + port_op: "--" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "19" + port_op: "--" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "20" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "21" + port_op: "--" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "22" + port_op: "--" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "23" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "24" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "2000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" + - name: "LAG1" + port_op: "Up" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "FWD" + stp_st: "FWD" + pr: "8" + path_cost_oper: "20000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "T" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0030D04:51:46" + - name: "LAG2" + port_op: "Up" + port_stp: "Dis" + port_role: "DIS" + rstp_st: "FWD" + stp_st: "FWD" + pr: "8" + path_cost_oper: "20000" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "T" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0030D04:22:36" + - name: "LATERAL" + port_op: "--" + port_stp: "Ena" + port_role: "DIS" + rstp_st: "DISC" + stp_st: "DIS" + pr: "8" + path_cost_oper: "------" + path_cost_d: "T" + edgep_ad: "F" + edgep_op: "F" + p2p_mac_adm: "AUTO" + p2p_mac_op: "F" + domain_adm: "0" + domain_ef: "0" + port_uptime: "0000D00:00:00" diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml b/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml index 7b02c26a49..b9dc4b1e8f 100644 --- a/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_3.yml @@ -11,7 +11,7 @@ parsed_sample: severity: "4" mnemonic: "106023" message: - - 'Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group "dmz" [0x0, 0x0]' + - "Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group \"dmz\" [0x0, 0x0]" - number: "" month: "" day: "" diff --git a/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml b/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml index 10f3520eba..3278b1aa9b 100644 --- a/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml +++ b/tests/cisco_asa/show_logging/cisco_asa_show_logging_4.yml @@ -11,7 +11,7 @@ parsed_sample: severity: "4" mnemonic: "106023" message: - - 'Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group "dmz" [0x0, 0x0]' + - "Deny udp src dmz:10.20.22.121/123 dst outside:123.34.0.90/123 by access-group \"dmz\" [0x0, 0x0]" - number: "" month: "" day: "" diff --git a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml index 1c16a1dd5a..7f2e65619f 100644 --- a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml +++ b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml @@ -25,8 +25,8 @@ parsed_sample: type: "SFP-1000base-LH" serial: "FNS9876543" part_number: "FTLF5432P2BCL-C2" - - interface: Ethernet1/47 - type: '' + - interface: "Ethernet1/47" + type: "" manufacturer: "Arista" part_number: "QSFP-40G-LR4-AR" serial: "AROOGAH" diff --git a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml index 6fc50a464c..7804400d0e 100644 --- a/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml +++ b/tests/hp_comware/display_ip_interface/hp_comware_display_ip_interface.yml @@ -8,7 +8,7 @@ parsed_sample: protocol_status: "UP(spoofing)" - intf: "M-GigabitEthernet0/0/0" ipaddr: [] - mtu: '' + mtu: "" line_status: "Administratively DOWN" protocol_status: "DOWN" - intf: "Vlan-interface66" From 8b8be5ff58689e04cf87169bc72c1f1231b0ea8f Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 26 May 2020 09:05:23 -0600 Subject: [PATCH 474/628] Use github-changelog-generator app to generate the CHANGELOG.md, this will need some more options specified, but should be good for this release, will open issue to build out .github_changelog_generator (#728) --- .github_changelog_generator | 3 + CHANGELOG.md | 243 ++++++++++++++++++++++++++++++++++ lib/ntc_templates/__init__.py | 2 +- 3 files changed, 247 insertions(+), 1 deletion(-) create mode 100644 .github_changelog_generator create mode 100644 CHANGELOG.md diff --git a/.github_changelog_generator b/.github_changelog_generator new file mode 100644 index 0000000000..50b825868c --- /dev/null +++ b/.github_changelog_generator @@ -0,0 +1,3 @@ +unreleased=true +future-release=1.4.2 +since-tag=v1.4.1 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000..bce70c1200 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,243 @@ +# Changelog + +## [1.4.2](https://github.com/networktocode/ntc-templates/tree/1.4.2) (2020-05-25) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...1.4.2) + +**Fixed bugs:** + +- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) +- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) +- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) + +**Closed issues:** + +- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) +- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) +- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) +- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) +- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) +- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) +- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) +- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) +- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) +- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) +- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) +- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) + +**Merged pull requests:** + +- IOS: Allow deleted STATUS in show interfaces description [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) +- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) +- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) +- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) +- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) +- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) +- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) +- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) +- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) +- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) +- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) +- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) +- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) + +## [1.4.1] +### Fixed +- [#617] - IOS show ip ospf database router: Removed reliance on static spacing +- [#620] - NXOS show fex: Allow spaces in descriptions +- [#621] - Juniper show arp, etc.: Account for virtual chassis output (`{master:0}`) +- [#626] - ASA show vpn-sessiondb anyconnect: Require index, capture different format style +- [#650] - IOS show ip ospf database network: Change to allow one or more whitespace at the beginning of the line rather than 1 or more due to different output +- [#647] - ASA show route: Allow multiline route statements +- [#659] - IOS show mac address-table: Allow VLAN to be non-whitespace to allow N/A as an option + +### Added +- [#618] - IOS show ip ospf database network: New template +- [#619] - HP Comware display lldp neighbor information verbose: New template +- [#625] - ASA show vpn-sessiondb anyconnect: New template +- [#628] - Cisco WLC show mobility sum: New template +- [#631] - ASA show vpn-sessiondb anyconnect: Account for new data for assigned/public IP, group policy, and tunnel group +- [#629] - ASA show crypto ipsec sa - Add LOCAL_ADDRESS_NAME, CURRENT_PEER_NAME, DYNAMIC_PEER_NAME, LOCAL_CRYPTO_ENDPOINT_NAME, REMOTE_CRYPTO_ENDPOINT_NAME +- [#632] - ASA show nat: Added SERVICE_PROTOCOL +- [#635] - IOS show ip route summary: New template +- [#636] - ASA show vpn-sessiondb: New template +- [#638] - ASA show inventory: Capture PID and VID withoout serial +- [#637] - Cisco WLC show band select: New template + +## [1.4.0] +### Fixed +- [#548] IOS show mac address-table: Account for Total Mac Addresses +- [#565] IOS show license: Avoid trailing spaces for features +- [#575] NXOS show version: Match N5K PLATFORM & LAST_REBOOT captures split words +- [#574] ASA show failover: Account for new output (IPS) +- [#577] IOS show mac address-table: Account for Multicast Entries +- [#582] NXOS show interface transceiver: Remove requirement for TYPE +- [#585] IOS show mac address-table: Fixed ordering for TYPE2 +- [#587] IOS show interfaces switchport: Account for Vepa Enabled and Operational Dot1q Ethertype +- [#584] IOS show switch detail: Account for Mac persistency wait time +- [#589] EOS show ip route: Filldown for DISTANCE and METRIC - Added new data formats for VRF and NEXT_HOP and INTERFACE +- [#592] Fortinet get router info bgp summary: Account for more data, fix UP_DOWN regex from word to non-whitespace +- [#603] IOS show ip access-list: Update PROTOCOL to capture numbered protocols +- [610] Aruba os show arp: Fix tests to have the full output from the command and device +- [#608] Vyatta VyOS show interfaces: Capture IP_ADDRESS with or without netmask +- [#614] IOS show interfaces status: Remove reliance on whitespaces +### Added +- [#406] Testing: Add yamllint to test suite +- [#407] Testing: Add python black to test suite +- [#553] IOS show lldp neighbors: Added CAPABILITIES capture group +- [#554] IOS show logging: New template +- [#563] IOS show interfaces switchport: Added ADMIN_MDOE capture group +- [#562] ASA show logging: New template +- [#564] NXOS show interface transceiver: New template +- [#567] XR show arp: New template +- [#572] IOS show lldp neighbors detail: Added SERIAL capture group +- [#573] ASA show arp: New template +- [#578] Fortinet get system interface: New template +- [#576] Huawei VRP display lldp neighbor: New template +- [#581] Cisco WLC show vlan sum: New template +- [#580] XR show interfaces summary: New template +- [#590] IOS show ip bgp neighbors: New template +- [#591] NXOS show vdc: New template +- [#595] Checkpoint GAIA show arp dynamic all: New template +- [#593] IOS show module: New template +- [#597] Huwai VRP display version: New template +- [#602] NXOS show vrf interface: New template +- [#598] IOS show running-config partition access list: Added TCP_FLAG capture group +- [#598] IOS show running-config partition access list: Convert COMMENT to list +- [#598] IOS show running-config partition access list: Update PROTOCOL to include numbered protocols +- [#596] XR admin show environment power: New template +- [#594] Aruba os show arp: New template +- [#605] SG300 show version: New template +- [#604] NXOS show vlan: Added INTERFACES capture group, Require VLAN_ID +- [#600] IOS show mpls interfaces: New template +- [#599] IOS show etherchannel summary: New template +- [#611] NXOS show interface: Added MODE capture group +- [#612] NXOS show interfaces switchport: Added ACCESS_VLAN_NAME and NATIVE_VLAN_NAME capture groups +- [#609] HP Comware display ip interface: New template +- [#606] IOS show ip ospf database router: New template +### Changed +- [#406] Helpers: Added development_helpers cli utility to replace existing helpers +### Deprecated +### Removed + +## [1.3.0] +### Fixed +- [#401] ASA show route: Fix `UPTIME` to account for additional output formats +- [#445] IOS show ip eigrp topology: Fix `FD` to allow value to be "Inaccessible" +- [#465] ASA show failover: Add line to match FirePOWER module +- [#466] PAN show arp: Fix `MAC` capture group to account for entries that are "incomplete" +- [#471] Procurve show arp: Fix `IP` capture group to account for IP Adresses that are "Incomplete" +- [#471] Procurve show arp: Fix `PORT` capture group to account for interfaces that contain more than just digits +- [#474] IOS show ip mroute: Fix `Value UP_TIME`, `EXPIRATION_TIME`, `OUTGOING_MULTICAST_UP_TIME (\S+)`, and `OUTGOING_MULTICAST_EXPIRATION_TIME` to account for additional time formats +- [#479] NXOS show interface brief: Fix capturing `MODE` values of "pvlan" and "fabric" +- [#480] IOS show cdp neighbors: Allow for table data to have leading spaces but not require it +- [#485] IOS show mac-address-table: Allow for table data to have leading spaces but not require it (VLAN IDs are left adjusted so VLANs from 1000 on do not have a leading space) +- [#487] IOS show authentication sessions: Add match for lines separating output with a "-" in order to avoid capturing them as part of normal table data +- [#488] EOS show interfaces status: Fix `NAME` and `STATUS` capture groups to support disabled interfaces +- [#494] IOS show ip interface: Add matches for additional output lines +- [#495] IOS show ip interface: Add matches for additional output lines +- [#497] ASA show version: Fix `MAX_INTF` capture group to account for `Unlimited` +- [#497] ASA show version: Fix `HARDWARE` capture group to account for trailing commas +- [#499] ASA show inventory: Add matches for additional output lines +- [#503] IOS show standby: Fix output that spread across two lines +- [#505] NXOS show ip bgp neighbors: Fix matching entries accurately when neighbors are in a "down" state; move to `Continue.Record` to record on new entries instead of "last expected line" of output data +- [#516] IOS show ip interface: Add matches for additional output lines +- [#517] EOS show ip bgp summary: Fix capturing entries with more explicit match line +- [#519] XR show version - Fix `VERSION`, `UPTIME`, and `HARDWARE` to account for CRS syntax +- [#525] IOS: Added matches for vty timestamp lines +- [#532] IOS show snmp user: Fix capture groups to support all non-whitespace characters (e.g. "-" in string values) +- [#538] IOS show interfaces switchport: Added matches for additional output lines +### Added +- [#378] XR show ip route: Added `VRF` capture group +- [#391] WLC show client detail: Added new template +- [#419] ASA dir: Added `TOTAL_PERCENT_FREE` capture group for capturing percentage of bytes free +- [#425] WLC show exclusionlist: Added new template +- [#445] IOS show ip eigrp topology: Added `SOURCE` capture group +- [#446] ASA show asp drop: Added `FLOW_DROP_IPSEC_SELECTOR_FAILURE`, `FLOW_LAST_CLEARED`, `MP_SVC_BAD_LENGTH`, and `SSL_FIRST_RECORD_INVALID` capture groups +- [#464] Comware display counters bound interface: Added new template +- [#468] Firebox show arp: Added new template +- [#476] IOS show ip bgp summary: Added `UP_DOWN` capture group +- [#478] NXOS show ip interface brief: Added new template +- [#481] NXOS show ip bgp neighbor: Added `INBOUND_ROUTEMAP` and `OUTBOUND_ROUTEMAP` capture groups +- [#482] XR admin show inventory: Added new template +- [#486] NXOS show route-map: Added new template +- [#489] NXOS show forwarding ipv4 route: Added new template +- [#491] IOS show switch detail: Added new template +- [#492] XR show ipv6 neighbors: Added new template +- [#493] Fastiron show arp: Added new template +- [#496] EOS show ip helper-address: Added new template +- [#501] WLC show 802.11a|b: Added new template +- [#510] WLC show 802.11 cleanair config: Added new template +- [#512] VRP display interface brief: Added new template +- [#512] VRP display temperature: Added new template +- [#513] WLC show rf profile-summary: Added new template +- [#514] IOS show process memory sorted: Added new template +- [#515] WLC show inventory: Added new template +- [#518] Ciena software show: Added new template +- [#521] IOS show ip route: Added `VRF` capture group +- [#524] EOS show vrf: Added new template +- [#526] WLC show advanced 802.11 channel: Added new template +- [#527] IOS show interfaces switchport: Added `VOICE_VLAN` capture group +- [#527] NXOS show interfaces switchport: Added `VOICE_VLAN` capture group +- [#529] Fortios get router info bgp summary: Added new template +- [#531] NXOS show interface: Added `LAST_LINK_FLAPPED` capture group +- [#533] IOS show license: Added new template +- [#539] WLC show interface summary: Added new template +- [#540] IOS show environment temperature: Added new template +### Changed +- [#378] XR show ip route: Update index to allow syntax of "show ip route" or "show route" +- [#497] ASA show version: Change `SERIAL` to be a list for clusters +- [#503] IOS show standby: Update index to allow syntax including specifying an interface +- [#520] IOS show ip bgp summary: Update template and index to support VRF syntax +- [#520] EOS show ip bgp summary: Update template and index to support VRF syntax +- [#521] IOS show ip route: Add `Error` for unmatched lines to ensure accurate data collection +- [#522] EOS show bgp summary: Update index to allow syntax of "show bgp evpn summary" +- [#523] IOS show mac-address-table: Add `Error` for unmatched lines to ensure accurate data collection +- [#528] IOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data +- [#528] NXOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data +### Deprecated +### Removed + +## [1.2.1] +### Fixed +- Bumped `__version__` in `__init__` file +### Added +### Changed +### Deprecated +### Removed + +## [1.2.0] +### Fixed +- [#389] IOS-XR show interfaces: Fixed matching speed and duplex for bundle-ethernet interfaces +- [#442] IOS-XR show version: Fixed matching `build_host` field that uses both "Build" and "Built" keywords +- [#455][#456] Template files were inaccessable when installing from local directory; now works when using `pip -e` +### Added +- [#470] ASA show version: Add capturing `compiled_date` field + + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index f9aebbff9a..13f56b77ee 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.4.1" +__version__ = "1.4.2" From 52f1e4a3d04d876ae24cb239405645ae08da54d4 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Sun, 31 May 2020 20:20:44 -0500 Subject: [PATCH 475/628] Bugfix: ASA - show_interface - Fixes missing interfaces on down interfaces (#734) --- templates/cisco_asa_show_interface.textfsm | 56 +++++-- .../cisco_asa_show_interface1.raw | 142 +++++++++++++++++ .../cisco_asa_show_interface1.yml | 146 ++++++++++++++++++ 3 files changed, 329 insertions(+), 15 deletions(-) create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface1.raw create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml diff --git a/templates/cisco_asa_show_interface.textfsm b/templates/cisco_asa_show_interface.textfsm index 27a8474275..f7533874f9 100644 --- a/templates/cisco_asa_show_interface.textfsm +++ b/templates/cisco_asa_show_interface.textfsm @@ -1,6 +1,6 @@ Value Required INTERFACE (\S+) Value INTERFACE_ZONE (.+?) -Value LINK_STATUS (\w+) +Value LINK_STATUS (.+?) Value PROTOCOL_STATUS (.*) Value HARDWARE_TYPE ([\w ]+) Value BANDWIDTH (\d+\s+\w+) @@ -24,17 +24,43 @@ Value FIVEMIN_OUT_RATE (\d+) Value FIVEMIN_DROP_RATE (\d+) Start - ^Interface.* -> Continue.Record - ^.*Interface ${INTERFACE} "${INTERFACE_ZONE}", is ${LINK_STATUS}.*protocol is ${PROTOCOL_STATUS} - ^\s+Hardware is ${HARDWARE_TYPE} -> Continue - ^.*BW ${BANDWIDTH}.*DLY ${DELAY} - ^.*\(${DUPLEX}.*Auto-Speed\(${SPEED}\) - ^.*Description: ${DESCRIPTION} - ^.*MAC address ${ADDRESS}.*MTU ${MTU} - ^.*IP address ${IP_ADDRESS}, .*subnet mask ${NET_MASK} - ^.*1 minute input rate ${ONEMIN_IN_PPS} pkts/sec,\s+${ONEMIN_IN_RATE} bytes/sec - ^.*1 minute output rate ${ONEMIN_OUT_PPS} pkts/sec,\s+${ONEMIN_OUT_RATE} bytes/sec - ^.*1 minute drop rate, ${ONEMIN_DROP_RATE} - ^.*5 minute input rate ${FIVEMIN_IN_PPS} pkts/sec,\s+${FIVEMIN_IN_RATE} bytes/sec - ^.*5 minute output rate ${FIVEMIN_OUT_PPS} pkts/sec,\s+${FIVEMIN_OUT_RATE} bytes/sec - ^.*5 minute drop rate, ${FIVEMIN_DROP_RATE} + ^.*Interface\s+ -> Continue.Record + ^.*Interface\s+${INTERFACE}\s+"${INTERFACE_ZONE}",\s+is\s+${LINK_STATUS},.*protocol\s+is\s+${PROTOCOL_STATUS} + ^.*Interface\s+${INTERFACE}.*is\s+${LINK_STATUS},.*protocol\s+is\s+${PROTOCOL_STATUS} + ^\s+Hardware\s+is\s+${HARDWARE_TYPE} -> Continue + ^.*BW\s+${BANDWIDTH},\s+DLY\s+${DELAY} + ^.*\(${DUPLEX}\),\s+Auto-Speed\(${SPEED}\) + ^.*\(${DUPLEX}\),\s+\d+\s+Mbps\(${SPEED}\) + ^.*Description:\s+${DESCRIPTION} + ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+${MTU} + ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+not\s+set + ^.*IP\s+address\s+${IP_ADDRESS},\s+subnet\s+mask\s+${NET_MASK} + ^.*1\s+minute\s+input\s+rate\s+${ONEMIN_IN_PPS}\s+pkts/sec,\s+${ONEMIN_IN_RATE}\s+bytes/sec + ^.*1\s+minute\s+output\s+rate\s+${ONEMIN_OUT_PPS}\s+pkts/sec,\s+${ONEMIN_OUT_RATE}\s+bytes/sec + ^.*1\s+minute\s+drop\s+rate,\s+${ONEMIN_DROP_RATE} + ^.*5\s+minute\s+input\s+rate\s+${FIVEMIN_IN_PPS}\s+pkts/sec,\s+${FIVEMIN_IN_RATE}\s+bytes/sec + ^.*5\s+minute\s+output\s+rate\s+${FIVEMIN_OUT_PPS}\s+pkts/sec,\s+${FIVEMIN_OUT_RATE}\s+bytes/sec + ^.*5\s+minute\s+drop\s+rate,\s+${FIVEMIN_DROP_RATE} + ^.*Input\s+flow\s+control\s+is\s+unsupported,\s+output\s+flow\s+control\s+is\s+off + ^.*\d+\s+packets\s+input,\s+\d+\s+bytes,\s+\d+\s+no\s+buffer + ^.*Received\s+\d+\s+broadcasts,\s+\d+\s+runts,\s+\d+\s+giants + ^.*\d+\s+input\s+errors,\s+\d+\s+CRC,\s+\d+\s+frame,\s+\d+\s+overrun,\s+\d+\s+ignored,\s+\d+\s+abort + ^.*\d+\s+pause\s+input,\s+\d+\s+resume\s+input + ^.*\d+\s+L2\s+decode\s+drops + ^.*\d+\s+packets\s+output,\s+\d+\s+bytes,\s+\d+\s+underruns + ^.*\d+\s+pause\s+output,\s+\d+\s+resume\s+output + ^.*\d+\s+output\s+errors,\s+\d+\s+collisions,\s+\d+\s+interface\s+resets + ^.*\d+\s+late\s+collisions,\s+\d+\s+deferred + ^.*\d+\s+input\s+reset\s+drops,\s+\d+\s+output\s+reset\s+drops + ^.*input\s+queue\s+\(blocks\s+free\s+curr\/low\):\s+hardware\s+\(\d+\/\d+\) + ^.*output\s+queue\s+\(blocks\s+free\s+curr\/low\):\s+hardware\s+\(\d+\/\d+\) + ^.*Traffic\s+Statistics\s+for\s+".+?": + ^.*\d+\s+packets\s+input,\s+\d+\s+bytes + ^.*\d+\s+packets\s+output,\s+\d+\s+bytes + ^.*\d+\s+packets\s+dropped + ^.*Management-only\sinterface\.\s+Blocked\s+\d+\s+through-the-device\s+packets + ^.*Input\s+flow\s+control\s+is\s+unsupported,\s+output\s+flow\s+control\s+is\s+unsupported + ^.*Available\s+but\s+not\s+configured\s+via\s+nameif + ^.*IP\s+address\s+unassigned + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface1.raw b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.raw new file mode 100644 index 0000000000..2eed1f08fe --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.raw @@ -0,0 +1,142 @@ +Interface GigabitEthernet0/0 "outside", is up, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + Description: to iosv-1 + MAC address 5254.000d.da4c, MTU 1500 + IP address 10.99.99.2, subnet mask 255.255.255.0 + 107 packets input, 35506 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 101 L2 decode drops + 6 packets output, 612 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) + Traffic Statistics for "outside": + 6 packets input, 492 bytes + 6 packets output, 456 bytes + 0 packets dropped + 1 minute input rate 0 pkts/sec, 0 bytes/sec + 1 minute output rate 0 pkts/sec, 0 bytes/sec + 1 minute drop rate, 0 pkts/sec + 5 minute input rate 0 pkts/sec, 0 bytes/sec + 5 minute output rate 0 pkts/sec, 0 bytes/sec + 5 minute drop rate, 0 pkts/sec +Interface GigabitEthernet0/1 "inside", is up, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + MAC address 5254.0005.1b55, MTU 1500 + IP address 10.90.90.1, subnet mask 255.255.255.0 + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 1 packets output, 54 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) + Traffic Statistics for "inside": + 0 packets input, 0 bytes + 1 packets output, 28 bytes + 0 packets dropped + 1 minute input rate 0 pkts/sec, 0 bytes/sec + 1 minute output rate 0 pkts/sec, 0 bytes/sec + 1 minute drop rate, 0 pkts/sec + 5 minute input rate 0 pkts/sec, 0 bytes/sec + 5 minute output rate 0 pkts/sec, 0 bytes/sec + 5 minute drop rate, 0 pkts/sec +Interface GigabitEthernet0/2 "", is administratively down, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Full-Duplex(Full-duplex), 1000 Mbps(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + Available but not configured via nameif + MAC address 5254.0017.e9c0, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 0 packets output, 0 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) +Interface GigabitEthernet0/3 "", is administratively down, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + Available but not configured via nameif + MAC address 5254.001c.5b3a, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 0 packets output, 0 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) +Interface GigabitEthernet0/4 "", is administratively down, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + Available but not configured via nameif + MAC address 5254.0008.9da4, MTU not set + IP address unassigned + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 0 packets output, 0 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) +Interface Management0/0 "management", is up, line protocol is up + Hardware is net_virtio, BW 1000 Mbps, DLY 10 usec + Auto-Duplex(Full-duplex), Auto-Speed(1000 Mbps) + Input flow control is unsupported, output flow control is unsupported + MAC address 5254.0006.b468, MTU 1500 + IP address 10.100.100.2, subnet mask 255.255.255.0 + 975 packets input, 106522 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 881 packets output, 108542 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 0 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (0/0) + output queue (blocks free curr/low): hardware (0/0) + Traffic Statistics for "management": + 975 packets input, 92872 bytes + 883 packets output, 85916 bytes + 109 packets dropped + 1 minute input rate 1 pkts/sec, 90 bytes/sec + 1 minute output rate 1 pkts/sec, 95 bytes/sec + 1 minute drop rate, 0 pkts/sec + 5 minute input rate 0 pkts/sec, 17 bytes/sec + 5 minute output rate 0 pkts/sec, 18 bytes/sec + 5 minute drop rate, 0 pkts/sec \ No newline at end of file diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml new file mode 100644 index 0000000000..13e621e620 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface1.yml @@ -0,0 +1,146 @@ +--- +parsed_sample: + - address: "5254.000d.da4c" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "to iosv-1" + duplex: "Full-duplex" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + hardware_type: "net_virtio" + interface: "GigabitEthernet0/0" + interface_zone: "outside" + ip_address: "10.99.99.2" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.0" + onemin_drop_rate: "0" + onemin_in_pps: "0" + onemin_in_rate: "0" + onemin_out_pps: "0" + onemin_out_rate: "0" + protocol_status: "up" + speed: "1000 Mbps" + - address: "5254.0005.1b55" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "" + duplex: "Full-duplex" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + hardware_type: "net_virtio" + interface: "GigabitEthernet0/1" + interface_zone: "inside" + ip_address: "10.90.90.1" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.0" + onemin_drop_rate: "0" + onemin_in_pps: "0" + onemin_in_rate: "0" + onemin_out_pps: "0" + onemin_out_rate: "0" + protocol_status: "up" + speed: "1000 Mbps" + - address: "5254.0017.e9c0" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "" + duplex: "Full-duplex" + fivemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + hardware_type: "net_virtio" + interface: "GigabitEthernet0/2" + interface_zone: "" + ip_address: "" + link_status: "administratively down" + mtu: "" + net_mask: "" + onemin_drop_rate: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + protocol_status: "up" + speed: "1000 Mbps" + - address: "5254.001c.5b3a" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "" + duplex: "Full-duplex" + fivemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + hardware_type: "net_virtio" + interface: "GigabitEthernet0/3" + interface_zone: "" + ip_address: "" + link_status: "administratively down" + mtu: "" + net_mask: "" + onemin_drop_rate: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + protocol_status: "up" + speed: "1000 Mbps" + - address: "5254.0008.9da4" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "" + duplex: "Full-duplex" + fivemin_drop_rate: "" + fivemin_in_pps: "" + fivemin_in_rate: "" + fivemin_out_pps: "" + fivemin_out_rate: "" + hardware_type: "net_virtio" + interface: "GigabitEthernet0/4" + interface_zone: "" + ip_address: "" + link_status: "administratively down" + mtu: "" + net_mask: "" + onemin_drop_rate: "" + onemin_in_pps: "" + onemin_in_rate: "" + onemin_out_pps: "" + onemin_out_rate: "" + protocol_status: "up" + speed: "1000 Mbps" + - address: "5254.0006.b468" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "" + duplex: "Full-duplex" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "17" + fivemin_out_pps: "0" + fivemin_out_rate: "18" + hardware_type: "net_virtio" + interface: "Management0/0" + interface_zone: "management" + ip_address: "10.100.100.2" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.0" + onemin_drop_rate: "0" + onemin_in_pps: "1" + onemin_in_rate: "90" + onemin_out_pps: "1" + onemin_out_rate: "95" + protocol_status: "up" + speed: "1000 Mbps" From 9b96140d7bf8aa15b8bbdcfe1dc327f5613f5e1a Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Mon, 1 Jun 2020 14:22:11 +0100 Subject: [PATCH 476/628] New Template: cisco_nxos_show_forwarding_adjacency (#722) --- ...sco_nxos_show_forwarding_adjacency.textfsm | 42 ++++ templates/index | 1 + ...cisco_nxos_show_forwarding_adjacency_1.raw | 13 + ...cisco_nxos_show_forwarding_adjacency_1.yml | 65 +++++ ...cisco_nxos_show_forwarding_adjacency_2.raw | 13 + ...cisco_nxos_show_forwarding_adjacency_2.yml | 65 +++++ ...cisco_nxos_show_forwarding_adjacency_3.raw | 57 +++++ ...cisco_nxos_show_forwarding_adjacency_3.yml | 226 ++++++++++++++++++ 8 files changed, 482 insertions(+) create mode 100644 templates/cisco_nxos_show_forwarding_adjacency.textfsm create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.raw create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.yml create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.raw create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.yml create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.raw create mode 100644 tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.yml diff --git a/templates/cisco_nxos_show_forwarding_adjacency.textfsm b/templates/cisco_nxos_show_forwarding_adjacency.textfsm new file mode 100644 index 0000000000..bc868b44f9 --- /dev/null +++ b/templates/cisco_nxos_show_forwarding_adjacency.textfsm @@ -0,0 +1,42 @@ +# Nexus 7k have multiple slots +Value Filldown SLOT (\d+) +Value Required NEXTHOP ((?:\d{1,3}\.){3}\d{1,3}) +Value Required REWRITE (\S+) +Value Required INTERFACE (\S+) +Value ORIGIN_AS (\S+) +Value PEER_AS (\S+) +Value NEIGHBOR (\S+) + +Start + # Extract slot #, if available (Nexus 7k) + ^slot\s+${SLOT} + ^==== + # Match headers + ^IPv4\s+adjacency\s+information + ^next-hop\s+rewrite\s+info\s+interface\s*$$ -> Entries + ^next-hop\s+rewrite\s+info\s+interface\s+Origin\s+AS\s+Peer\s+AS\s+Neighbor -> EntriesDetail + # Empty and unknowns lines + ^\s*$$ + ^. -> Error + +Entries + # Ignore delimiter + ^-------- + # Match single adjacency entry (brief view) + ^${NEXTHOP}\s+${REWRITE}\s+${INTERFACE} -> Record + # New slot? + ^slot\s+${SLOT} -> Start + # Empty and unknowns lines + ^\s*$$ + ^. -> Error + +EntriesDetail + # Ignore delimiter + ^-------- + # Match single adjacency entry (detailed view) + ^${NEXTHOP}\s+${REWRITE}\s+${INTERFACE}\s*(?:${ORIGIN_AS}\s+${PEER_AS}\s+${NEIGHBOR})? -> Record + # New slot? + ^slot\s+${SLOT} -> Start + # Empty and unknowns lines + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index db1c43d374..6d55014b88 100644 --- a/templates/index +++ b/templates/index @@ -236,6 +236,7 @@ cisco_nxos_show_interfaces_switchport.textfsm, .*, cisco_nxos, sh[[ow]] int[[erf cisco_nxos_show_ip_dhcp_relay_address.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] cisco_nxos_show_lldp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] cisco_nxos_show_cdp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_nxos_show_forwarding_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] (?:ipv4 )?ad[[jacency]] cisco_nxos_show_ipv6_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] cisco_nxos_show_port-channel_summary.textfsm, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.raw b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.raw new file mode 100644 index 0000000000..19686584f2 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.raw @@ -0,0 +1,13 @@ +IPv4 adjacency information + +next-hop rewrite info interface Origin AS Peer AS Neighbor +-------------- --------------- ------------- ---------- --------- -------------- +10.111.1.3 cc16.7c1f.9852 Vlan10 +10.111.1.4 cc16.7c1f.6900 Vlan10 +10.111.1.5 84b8.025a.f786 Vlan10 +10.111.1.6 a89d.2121.bc7b Vlan10 +10.5.111.213 0050.528c.5b4c Vlan182 +10.5.111.221 002a.6312.6ac1 Vlan182 +10.111.254.6 002a.6312.6ac1 Vlan254 +10.6.140.234 000e.b6b2.ff01 Ethernet1/16 +10.6.140.238 54a2.72da.b651 Ethernet1/16 \ No newline at end of file diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.yml b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.yml new file mode 100644 index 0000000000..4dae3330a7 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_1.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - slot: "" + nexthop: "10.111.1.3" + rewrite: "cc16.7c1f.9852" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.4" + rewrite: "cc16.7c1f.6900" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.5" + rewrite: "84b8.025a.f786" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.6" + rewrite: "a89d.2121.bc7b" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.5.111.213" + rewrite: "0050.528c.5b4c" + interface: "Vlan182" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.5.111.221" + rewrite: "002a.6312.6ac1" + interface: "Vlan182" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.254.6" + rewrite: "002a.6312.6ac1" + interface: "Vlan254" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.6.140.234" + rewrite: "000e.b6b2.ff01" + interface: "Ethernet1/16" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.6.140.238" + rewrite: "54a2.72da.b651" + interface: "Ethernet1/16" + origin_as: "" + peer_as: "" + neighbor: "" diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.raw b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.raw new file mode 100644 index 0000000000..b86bbd38ba --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.raw @@ -0,0 +1,13 @@ +IPv4 adjacency information + +next-hop rewrite info interface +-------------- --------------- ------------- +10.111.1.3 cc16.7c1f.9852 Vlan10 +10.111.1.4 cc16.7c1f.6900 Vlan10 +10.111.1.5 84b8.025a.f786 Vlan10 +10.111.1.6 a89d.2121.bc7b Vlan10 +10.5.111.213 0050.528c.5b4c Vlan182 +10.5.111.221 002a.6312.6ac1 Vlan182 +10.111.254.6 002a.6312.6ac1 Vlan254 +10.6.140.234 000e.b6b2.ff01 Ethernet1/16 +10.6.140.238 54a2.72da.b651 Ethernet1/16 \ No newline at end of file diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.yml b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.yml new file mode 100644 index 0000000000..4dae3330a7 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_2.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - slot: "" + nexthop: "10.111.1.3" + rewrite: "cc16.7c1f.9852" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.4" + rewrite: "cc16.7c1f.6900" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.5" + rewrite: "84b8.025a.f786" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.1.6" + rewrite: "a89d.2121.bc7b" + interface: "Vlan10" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.5.111.213" + rewrite: "0050.528c.5b4c" + interface: "Vlan182" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.5.111.221" + rewrite: "002a.6312.6ac1" + interface: "Vlan182" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.111.254.6" + rewrite: "002a.6312.6ac1" + interface: "Vlan254" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.6.140.234" + rewrite: "000e.b6b2.ff01" + interface: "Ethernet1/16" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "" + nexthop: "10.6.140.238" + rewrite: "54a2.72da.b651" + interface: "Ethernet1/16" + origin_as: "" + peer_as: "" + neighbor: "" diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.raw b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.raw new file mode 100644 index 0000000000..858d24b875 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.raw @@ -0,0 +1,57 @@ + +slot 1 +======= + + +IPv4 adjacency information + +next-hop rewrite info interface Origin AS Peer AS Neighbor +-------------- --------------- ------------- ---------- --------- -------------- +172.17.1.2 001c.b0c9.6b80 Ethernet1/1 +100.120.0.2 00de.fb5a.2c47 Ethernet1/2 +100.64.1.6 00a3.8eb7.6f29 Ethernet1/4 +100.100.59.10 286f.7feb.1947 Ethernet1/7 +100.111.0.2 00de.fb5a.2c46 Ethernet1/11 +100.100.59.2 286f.7feb.1940 Ethernet1/14 +100.89.1.6 b4de.3141.af12 Ethernet1/15 +100.99.1.2 84b2.61d4.357f Ethernet1/22 +100.99.1.10 2cab.eb4f.2f46 Ethernet1/23 +100.100.59.14 00d7.8f7f.edcb Ethernet2/7 +100.100.59.6 00d7.8f7f.edc4 Ethernet2/14 +100.89.1.2 b4de.3141.af10 Ethernet2/15 +100.126.255.2 00a3.d186.4141 Ethernet2/16 +100.99.1.6 84b2.61d4.357f Ethernet2/22 +100.99.1.14 2cab.eb4f.2f48 Ethernet2/23 +100.127.253.1 00de.fb5a.2c45 Ethernet2/24 + +slot 2 +======= + + +IPv4 adjacency information + +next-hop rewrite info interface Origin AS Peer AS Neighbor +-------------- --------------- ------------- ---------- --------- -------------- +172.17.1.2 001c.b0c9.6b80 Ethernet1/1 +100.120.0.2 00de.fb5a.2c47 Ethernet1/2 +100.64.1.6 00a3.8eb7.6f29 Ethernet1/4 +100.100.59.10 286f.7feb.1947 Ethernet1/7 +100.111.0.2 00de.fb5a.2c46 Ethernet1/11 +100.100.59.2 286f.7feb.1940 Ethernet1/14 +100.89.1.6 b4de.3141.af12 Ethernet1/15 +100.99.1.2 84b2.61d4.357f Ethernet1/22 +100.99.1.10 2cab.eb4f.2f46 Ethernet1/23 +100.100.59.14 00d7.8f7f.edcb Ethernet2/7 +100.100.59.6 00d7.8f7f.edc4 Ethernet2/14 +100.89.1.2 b4de.3141.af10 Ethernet2/15 +100.126.255.2 00a3.d186.4141 Ethernet2/16 +100.99.1.6 84b2.61d4.357f Ethernet2/22 +100.99.1.14 2cab.eb4f.2f48 Ethernet2/23 +100.127.253.1 00de.fb5a.2c45 Ethernet2/24 + +slot 5 +======= + + +slot 6 +======= diff --git a/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.yml b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.yml new file mode 100644 index 0000000000..00697b3d71 --- /dev/null +++ b/tests/cisco_nxos/show_forwarding_adjacency/cisco_nxos_show_forwarding_adjacency_3.yml @@ -0,0 +1,226 @@ +--- +parsed_sample: + - slot: "1" + nexthop: "172.17.1.2" + rewrite: "001c.b0c9.6b80" + interface: "Ethernet1/1" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.120.0.2" + rewrite: "00de.fb5a.2c47" + interface: "Ethernet1/2" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.64.1.6" + rewrite: "00a3.8eb7.6f29" + interface: "Ethernet1/4" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.100.59.10" + rewrite: "286f.7feb.1947" + interface: "Ethernet1/7" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.111.0.2" + rewrite: "00de.fb5a.2c46" + interface: "Ethernet1/11" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.100.59.2" + rewrite: "286f.7feb.1940" + interface: "Ethernet1/14" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.89.1.6" + rewrite: "b4de.3141.af12" + interface: "Ethernet1/15" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.99.1.2" + rewrite: "84b2.61d4.357f" + interface: "Ethernet1/22" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.99.1.10" + rewrite: "2cab.eb4f.2f46" + interface: "Ethernet1/23" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.100.59.14" + rewrite: "00d7.8f7f.edcb" + interface: "Ethernet2/7" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.100.59.6" + rewrite: "00d7.8f7f.edc4" + interface: "Ethernet2/14" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.89.1.2" + rewrite: "b4de.3141.af10" + interface: "Ethernet2/15" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.126.255.2" + rewrite: "00a3.d186.4141" + interface: "Ethernet2/16" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.99.1.6" + rewrite: "84b2.61d4.357f" + interface: "Ethernet2/22" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.99.1.14" + rewrite: "2cab.eb4f.2f48" + interface: "Ethernet2/23" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "1" + nexthop: "100.127.253.1" + rewrite: "00de.fb5a.2c45" + interface: "Ethernet2/24" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "172.17.1.2" + rewrite: "001c.b0c9.6b80" + interface: "Ethernet1/1" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.120.0.2" + rewrite: "00de.fb5a.2c47" + interface: "Ethernet1/2" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.64.1.6" + rewrite: "00a3.8eb7.6f29" + interface: "Ethernet1/4" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.100.59.10" + rewrite: "286f.7feb.1947" + interface: "Ethernet1/7" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.111.0.2" + rewrite: "00de.fb5a.2c46" + interface: "Ethernet1/11" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.100.59.2" + rewrite: "286f.7feb.1940" + interface: "Ethernet1/14" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.89.1.6" + rewrite: "b4de.3141.af12" + interface: "Ethernet1/15" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.99.1.2" + rewrite: "84b2.61d4.357f" + interface: "Ethernet1/22" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.99.1.10" + rewrite: "2cab.eb4f.2f46" + interface: "Ethernet1/23" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.100.59.14" + rewrite: "00d7.8f7f.edcb" + interface: "Ethernet2/7" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.100.59.6" + rewrite: "00d7.8f7f.edc4" + interface: "Ethernet2/14" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.89.1.2" + rewrite: "b4de.3141.af10" + interface: "Ethernet2/15" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.126.255.2" + rewrite: "00a3.d186.4141" + interface: "Ethernet2/16" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.99.1.6" + rewrite: "84b2.61d4.357f" + interface: "Ethernet2/22" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.99.1.14" + rewrite: "2cab.eb4f.2f48" + interface: "Ethernet2/23" + origin_as: "" + peer_as: "" + neighbor: "" + - slot: "2" + nexthop: "100.127.253.1" + rewrite: "00de.fb5a.2c45" + interface: "Ethernet2/24" + origin_as: "" + peer_as: "" + neighbor: "" From eaed717861a26a9c6d91276fcf15b06886a18f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=91=D1=80=D0=B0?= =?UTF-8?q?=D1=81=D0=BB=D0=B0=D0=B2=D0=B5=D1=86?= <34039065+saaverdo@users.noreply.github.com> Date: Mon, 1 Jun 2020 17:17:53 +0300 Subject: [PATCH 477/628] New template: ubiquity_edgeswitch_show_version.textfsm (#732) --- templates/index | 1 + .../ubiquiti_edgeswitch_show_version.textfsm | 21 +++++++++++++++++++ .../ubiquiti_edgeswitch_show_version.raw | 12 +++++++++++ .../ubiquiti_edgeswitch_show_version.yml | 8 +++++++ .../ubiquiti_edgeswitch_show_version2.raw | 10 +++++++++ .../ubiquiti_edgeswitch_show_version2.yml | 8 +++++++ 6 files changed, 60 insertions(+) create mode 100644 templates/ubiquiti_edgeswitch_show_version.textfsm create mode 100644 tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.raw create mode 100644 tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.yml create mode 100644 tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.raw create mode 100644 tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.yml diff --git a/templates/index b/templates/index index 6d55014b88..cf8d647909 100644 --- a/templates/index +++ b/templates/index @@ -402,6 +402,7 @@ paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] +ubiquiti_edgeswitch_show_version.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ve[[rsion]] ubiquiti_edgeswitch_show_vlan.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] vl[[an]] ubiquiti_edgeswitch_show_arp.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] diff --git a/templates/ubiquiti_edgeswitch_show_version.textfsm b/templates/ubiquiti_edgeswitch_show_version.textfsm new file mode 100644 index 0000000000..88e63e9bfb --- /dev/null +++ b/templates/ubiquiti_edgeswitch_show_version.textfsm @@ -0,0 +1,21 @@ +Value VERSION (.*) +Value SWITCH_TYPE (\S+\s\S+\s\S+) +Value SWITCH_MODEL (\S+) +Value SERIAL (\S+) +Value MAC (\S+) +Value HW_REVISION (\S+) + +Start + ^Switch:.+ + ^Machine\s+Type\.+\s+${SWITCH_TYPE} + ^Machine\s+Model\.+\s+${SWITCH_MODEL} + ^Serial\s+Number\.+\s+${SERIAL} + ^Burned\s+In\s+MAC\s+Address\.+\s+${MAC} + ^Software\s+Version\.+\s+${VERSION} + ^Hardware\s+Revision\.+\s+${HW_REVISION} + # netmiko's send_command starts command output with the last symbol from command sent + ^\w$$ + ^System\s+Description + ^Part\s+Number + ^\s*$$ + ^. -> Error diff --git a/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.raw b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.raw new file mode 100644 index 0000000000..7aa58972c9 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.raw @@ -0,0 +1,12 @@ +r + +Switch: 1 + +System Description............................. EdgeSwitch 48 500W, 1.9.1, Linux 3.6.5-03329b4a, 0.0.0.0000000 +Machine Type................................... EdgeSwitch 48 500W +Machine Model.................................. ES-48-500W +Serial Number.................................. 18E8292278F5 +Part Number.................................... 13-02072 +Burned In MAC Address.......................... 18:E8:29:22:78:F5 +Software Version............................... 1.9.1 +Hardware Revision.............................. 20 diff --git a/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.yml b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.yml new file mode 100644 index 0000000000..1cfe38c4c6 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - hw_revision: "20" + mac: "18:E8:29:22:78:F5" + serial: "18E8292278F5" + switch_model: "ES-48-500W" + switch_type: "EdgeSwitch 48 500W" + version: "1.9.1" diff --git a/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.raw b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.raw new file mode 100644 index 0000000000..c081a05a84 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.raw @@ -0,0 +1,10 @@ +r + +Switch: 1 + +System Description............................. EdgeSwitch 24-Port 250W, 1.8.0.5106045, Linux 3.6.5-1b505fb7, 0.0.0.0000000 +Machine Type................................... EdgeSwitch 24-Port 250W +Machine Model.................................. ES-24-250W +Serial Number.................................. 788A20BE0E00 +Burned In MAC Address.......................... 78:8A:20:BE:0E:00 +Software Version............................... 1.8.0.5106045 diff --git a/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.yml b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.yml new file mode 100644 index 0000000000..c0824ebaf0 --- /dev/null +++ b/tests/ubiquiti_edgeswitch/show_version/ubiquiti_edgeswitch_show_version2.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - hw_revision: "" + mac: "78:8A:20:BE:0E:00" + serial: "788A20BE0E00" + switch_model: "ES-24-250W" + switch_type: "EdgeSwitch 24-Port 250W" + version: "1.8.0.5106045" From 83a06722a24962dbc7a861b832eb3316c9d1fd65 Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Mon, 1 Jun 2020 19:18:25 -0400 Subject: [PATCH 478/628] New Template/OS: broadcom_icos_show_version.textfsm (#733) --- templates/broadcom_icos_show_version.textfsm | 40 +++++++++++++++++++ templates/index | 2 + .../broadcom_icos_show_version.raw | 23 +++++++++++ .../broadcom_icos_show_version.yml | 26 ++++++++++++ .../broadcom_icos_show_version2.raw | 23 +++++++++++ .../broadcom_icos_show_version2.yml | 27 +++++++++++++ .../broadcom_icos_show_version3.raw | 25 ++++++++++++ .../broadcom_icos_show_version3.yml | 26 ++++++++++++ .../broadcom_icos_show_version4.raw | 24 +++++++++++ .../broadcom_icos_show_version4.yml | 25 ++++++++++++ .../broadcom_icos_show_version5.raw | 25 ++++++++++++ .../broadcom_icos_show_version5.yml | 26 ++++++++++++ tests/test_index_order.py | 1 + 13 files changed, 293 insertions(+) create mode 100644 templates/broadcom_icos_show_version.textfsm create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version.raw create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version.yml create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version2.raw create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version2.yml create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version3.raw create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version3.yml create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version4.raw create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version4.yml create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version5.raw create mode 100644 tests/broadcom_icos/show_version/broadcom_icos_show_version5.yml diff --git a/templates/broadcom_icos_show_version.textfsm b/templates/broadcom_icos_show_version.textfsm new file mode 100644 index 0000000000..4aab2077a7 --- /dev/null +++ b/templates/broadcom_icos_show_version.textfsm @@ -0,0 +1,40 @@ +Value DESCRIPTION (.+) +Value SWITCH_TYPE (.+) +Value SWITCH_MODEL (.+) +Value SERIAL (.+) +Value FRU_NUMBER (.+) +Value PART_NUMBER (.+) +Value MAINTENANCE_LEVEL (.+) +Value MANUFACTURER (.+) +Value MAC (.+) +Value VERSION (.+) +Value OS_VERSION (.+) +Value NETWORK_PROCESSING_DEVICE (.+) +Value CPLD_VERSION (.+) +Value BOARD_REVISION (.+) +Value List ADDITIONAL_PACKAGES (.+) + +Start + # Captures show version for: + # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R + # The following can be an empty value as it doesnt exist in all the models: + # FruNumber, PartNumber, CPLDversion, BoardRevision + ^\s*Switch\s*:\s*\d+\s*$$ + ^\s*$$ + ^\s*System\s*Description\s*\.+\s*${DESCRIPTION}$$ + ^\s*Machine\s*Type\s*\.+\s*${SWITCH_TYPE}$$ + ^\s*Machine\s*Model\s*\.+\s*${SWITCH_MODEL}$$ + ^\s*Serial\s*Number\s*\.+\s*${SERIAL}$$ + ^\s*FRU\s*Number\s*\.+\s*${FRU_NUMBER}$$ + ^\s*Part\s*Number\s*\.+\s*${PART_NUMBER}$$ + ^\s*Maintenance\s*Level\s*\.+\s*${MAINTENANCE_LEVEL}$$ + ^\s*Manufacturer\s*\.+\s*${MANUFACTURER}$$ + ^\s*Burned\s*In\s*MAC\s*Address\s*\.+\s*${MAC}$$ + ^\s*Software\s*Version\s*\.+\s*${VERSION}$$ + ^\s*Operating\s*System\s*\.+\s*${OS_VERSION}$$ + ^\s*Network\s*Processing\s*Device\s*\.+\s*${NETWORK_PROCESSING_DEVICE}$$ + ^\s*CPLD\s*version\s*\.+\s*${CPLD_VERSION}$$ + ^\s*Board\s*Revision\s*\.+\s*${BOARD_REVISION}$$ + ^\s*Additional\s*Packages\s*\.+\s*${ADDITIONAL_PACKAGES}$$ + ^\s+${ADDITIONAL_PACKAGES}$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index cf8d647909..121b3c53ea 100644 --- a/templates/index +++ b/templates/index @@ -67,6 +67,8 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] +broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] + brocade_fastiron_show_lldp_neighbors_detail.textfsm, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] brocade_fastiron_show_running-config_vlan.textfsm, .*, brocade_fastiron, sh[[ow]] ru[[nning-config]] v[[lan]] brocade_fastiron_show_interfaces_brief.textfsm, .*, brocade_fastiron, sh[[ow]] in[[terfaces]] b[[rief]] diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version.raw b/tests/broadcom_icos/show_version/broadcom_icos_show_version.raw new file mode 100644 index 0000000000..79e0f60fde --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version.raw @@ -0,0 +1,23 @@ + +Switch: 1 + +System Description............................. Accton AS4610-54P , 3.2.2.42, Linux 3.6.5, U-Boot 2012.10-gd563f4a (Apr 13 2017 - 12:08:06) - 2012.10.0.5 +Machine Type................................... Accton AS4610-54P +Machine Model.................................. BCM-56643 +Serial Number.................................. EC1726004357 +Maintenance Level.............................. A +Manufacturer................................... 0xbc00 +Burned In MAC Address.......................... A8:2B:B5:55:58:01 +Software Version............................... 3.2.2.42 +Operating System............................... Linux 3.6.5 +Network Processing Device...................... BCM56340_A0 +Additional Packages............................ BGP-4 + QOS + Multicast + IPv6 + Routing + Data Center + OpEN API + Prototype Open API + + diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version.yml b/tests/broadcom_icos/show_version/broadcom_icos_show_version.yml new file mode 100644 index 0000000000..517c7eaf36 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - description: "Accton AS4610-54P , 3.2.2.42, Linux 3.6.5, U-Boot 2012.10-gd563f4a\ + \ (Apr 13 2017 - 12:08:06) - 2012.10.0.5" + switch_type: "Accton AS4610-54P" + switch_model: "BCM-56643" + serial: "EC1726004357" + fru_number: "" + part_number: "" + maintenance_level: "A" + manufacturer: "0xbc00" + mac: "A8:2B:B5:55:58:01" + version: "3.2.2.42" + os_version: "Linux 3.6.5" + network_processing_device: "BCM56340_A0" + cpld_version: "" + board_revision: "" + additional_packages: + - "BGP-4" + - "QOS" + - "Multicast" + - "IPv6" + - "Routing" + - "Data Center" + - "OpEN API" + - "Prototype Open API" diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version2.raw b/tests/broadcom_icos/show_version/broadcom_icos_show_version2.raw new file mode 100644 index 0000000000..34ad97c154 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version2.raw @@ -0,0 +1,23 @@ + +Switch: 1 + +System Description............................. Data Center Switch Software AS5610-52X, 48x10Gb, 4x40Gb, 3.2.2.42, Linux 3.8.13-rt9-4143e257, U-Boot 2013.01.01-gb4d916c (Jun 06 2017 - 10:45:46) - 3.0.3.15 +Machine Type................................... Data Center Switch Software AS5610-52X, 48x10Gb, 4x40Gb +Machine Model.................................. AS5610-52X +Serial Number.................................. 561052X1727264 +Maintenance Level.............................. A +Manufacturer................................... 0xbc00 +Burned In MAC Address.......................... A8:2B:B5:57:CC:8D +Software Version............................... 3.2.2.42 +Operating System............................... Linux 3.8.13-rt9-4143e257 +Network Processing Device...................... BCM56846_A1 +CPLD version................................... 0x2 +Board Revision................................. 0x2 +Additional Packages............................ BGP-4 + QOS + Multicast + IPv6 + Routing + Data Center + OpEN API + Prototype Open API diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version2.yml b/tests/broadcom_icos/show_version/broadcom_icos_show_version2.yml new file mode 100644 index 0000000000..a0dbb3b134 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version2.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - description: "Data Center Switch Software AS5610-52X, 48x10Gb, 4x40Gb, 3.2.2.42,\ + \ Linux 3.8.13-rt9-4143e257, U-Boot 2013.01.01-gb4d916c (Jun 06 2017 - 10:45:46)\ + \ - 3.0.3.15" + switch_type: "Data Center Switch Software AS5610-52X, 48x10Gb, 4x40Gb" + switch_model: "AS5610-52X" + serial: "561052X1727264" + fru_number: "" + part_number: "" + maintenance_level: "A" + manufacturer: "0xbc00" + mac: "A8:2B:B5:57:CC:8D" + version: "3.2.2.42" + os_version: "Linux 3.8.13-rt9-4143e257" + network_processing_device: "BCM56846_A1" + cpld_version: "0x2" + board_revision: "0x2" + additional_packages: + - "BGP-4" + - "QOS" + - "Multicast" + - "IPv6" + - "Routing" + - "Data Center" + - "OpEN API" + - "Prototype Open API" diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version3.raw b/tests/broadcom_icos/show_version/broadcom_icos_show_version3.raw new file mode 100644 index 0000000000..ce3ffc8a95 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version3.raw @@ -0,0 +1,25 @@ + +Switch: 1 + +System Description............................. LY2R - 48 TENGIG, Four 40GbE PORTS, 3.2.2.42, Linux 3.8.13-rt9-4143e257, U-Boot 2010.12 (Feb 10 2015 - 10:01:12) - ONIE 2014.05.03-d +Machine Type................................... LY2R - 48 TENGIG, Four 40GbE PORTS +Machine Model.................................. LY2R +Serial Number.................................. QTFCEA530009C +FRU Number..................................... 1LY2BZZ001A +Maintenance Level.............................. A +Manufacturer................................... 0xbc00 +Burned In MAC Address.......................... 2C:60:0C:C0:6A:0C +Software Version............................... 3.2.2.42 +Operating System............................... Linux 3.8.13-rt9-4143e257 +Network Processing Device...................... BCM56846_A1 +CPLD version................................... 0x1 +Additional Packages............................ BGP-4 + QOS + Multicast + IPv6 + Routing + Data Center + OpEN API + Prototype Open API + + diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version3.yml b/tests/broadcom_icos/show_version/broadcom_icos_show_version3.yml new file mode 100644 index 0000000000..0b3c7e6296 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version3.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - description: "LY2R - 48 TENGIG, Four 40GbE PORTS, 3.2.2.42, Linux 3.8.13-rt9-4143e257,\ + \ U-Boot 2010.12 (Feb 10 2015 - 10:01:12) - ONIE 2014.05.03-d" + switch_type: "LY2R - 48 TENGIG, Four 40GbE PORTS" + switch_model: "LY2R" + serial: "QTFCEA530009C" + fru_number: "1LY2BZZ001A" + part_number: "" + maintenance_level: "A" + manufacturer: "0xbc00" + mac: "2C:60:0C:C0:6A:0C" + version: "3.2.2.42" + os_version: "Linux 3.8.13-rt9-4143e257" + network_processing_device: "BCM56846_A1" + cpld_version: "0x1" + board_revision: "" + additional_packages: + - "BGP-4" + - "QOS" + - "Multicast" + - "IPv6" + - "Routing" + - "Data Center" + - "OpEN API" + - "Prototype Open API" diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version4.raw b/tests/broadcom_icos/show_version/broadcom_icos_show_version4.raw new file mode 100644 index 0000000000..be3b9cd18c --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version4.raw @@ -0,0 +1,24 @@ + +Switch: 1 + +System Description............................. Quanta LB9, 2.3.2.12, Linux 2.6.34.6, U-Boot 1.3.0 (Dec 14 2012 - 10:30:09) +Machine Type................................... Quanta LB9 +Machine Model.................................. LB9 +Serial Number.................................. QTFCA63150162 +FRU Number..................................... 1LB9BZZ0STK +Part Number.................................... BCM56538 +Maintenance Level.............................. A +Manufacturer................................... 0xbc00 +Burned In MAC Address.......................... 08:9E:01:A0:32:FC +Software Version............................... 2.3.2.12 +Operating System............................... Linux 2.6.34.6 +Network Processing Device...................... BCM56538_B0 +Additional Packages............................ BGP-4 + QOS + IPv6 + Routing + Data Center + OpEN API + Prototype Open API + + diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version4.yml b/tests/broadcom_icos/show_version/broadcom_icos_show_version4.yml new file mode 100644 index 0000000000..4368e81a6c --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version4.yml @@ -0,0 +1,25 @@ +--- +parsed_sample: + - description: "Quanta LB9, 2.3.2.12, Linux 2.6.34.6, U-Boot 1.3.0 (Dec 14 2012\ + \ - 10:30:09)" + switch_type: "Quanta LB9" + switch_model: "LB9" + serial: "QTFCA63150162" + fru_number: "1LB9BZZ0STK" + part_number: "BCM56538" + maintenance_level: "A" + manufacturer: "0xbc00" + mac: "08:9E:01:A0:32:FC" + version: "2.3.2.12" + os_version: "Linux 2.6.34.6" + network_processing_device: "BCM56538_B0" + cpld_version: "" + board_revision: "" + additional_packages: + - "BGP-4" + - "QOS" + - "IPv6" + - "Routing" + - "Data Center" + - "OpEN API" + - "Prototype Open API" diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version5.raw b/tests/broadcom_icos/show_version/broadcom_icos_show_version5.raw new file mode 100644 index 0000000000..702fd8818b --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version5.raw @@ -0,0 +1,25 @@ + +Switch: 1 + +System Description............................. DNI-3448P 48x1Gb POE, 2x10G, 2x20G Helix4 L3 System, 3.2.2.42, Linux 3.6.5-c428db7a +Machine Type................................... DNI-3448P 48x1Gb POE, 2x10G, 2x20G Helix4 L3 System +Machine Model.................................. BCM-56340 +Serial Number.................................. 3448BCN1603101 +Maintenance Level.............................. A +Manufacturer................................... 0xbc00 +Burned In MAC Address.......................... 00:30:AB:F2:48:DE +Software Version............................... 3.2.2.42 +Operating System............................... Linux 3.6.5-c428db7a +Network Processing Device...................... BCM56340_A0 +CPLD version................................... 0xd +Board Revision................................. 0x5 +Additional Packages............................ BGP-4 + QOS + Multicast + IPv6 + Routing + Data Center + OpEN API + Prototype Open API + + diff --git a/tests/broadcom_icos/show_version/broadcom_icos_show_version5.yml b/tests/broadcom_icos/show_version/broadcom_icos_show_version5.yml new file mode 100644 index 0000000000..022bcaa700 --- /dev/null +++ b/tests/broadcom_icos/show_version/broadcom_icos_show_version5.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - description: "DNI-3448P 48x1Gb POE, 2x10G, 2x20G Helix4 L3 System, 3.2.2.42, Linux\ + \ 3.6.5-c428db7a" + switch_type: "DNI-3448P 48x1Gb POE, 2x10G, 2x20G Helix4 L3 System" + switch_model: "BCM-56340" + serial: "3448BCN1603101" + fru_number: "" + part_number: "" + maintenance_level: "A" + manufacturer: "0xbc00" + mac: "00:30:AB:F2:48:DE" + version: "3.2.2.42" + os_version: "Linux 3.6.5-c428db7a" + network_processing_device: "BCM56340_A0" + cpld_version: "0xd" + board_revision: "0x5" + additional_packages: + - "BGP-4" + - "QOS" + - "Multicast" + - "IPv6" + - "Routing" + - "Data Center" + - "OpEN API" + - "Prototype Open API" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 01dda63add..84d05b6c0e 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -69,6 +69,7 @@ def test_index_ordering(): "aruba_os", "avaya_ers", "avaya_vsp", + "broadcom_icos", "brocade_fastiron", "brocade_netiron", "brocade_nos", From 670aa8225e2844f58c9b05a26053bfd882f4bf9c Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 1 Jun 2020 17:19:40 -0600 Subject: [PATCH 479/628] BugFix: cisco_ios_show_interfaces_switchport: Made trunking_vlans a list, and changed regex (#671) --- ...sco_ios_show_interfaces_switchport.textfsm | 8 +- .../cisco_ios_show_interfaces_switchport.yml | 18 ++- .../cisco_ios_show_interfaces_switchport2.raw | 31 +++++ .../cisco_ios_show_interfaces_switchport2.yml | 14 +++ ...s_show_interfaces_switchport_ethertype.yml | 66 +++++++---- ...how_interfaces_switchport_vepa_enabled.yml | 107 +++++++++++------- ..._show_interfaces_switchport_voice_vlan.yml | 15 ++- 7 files changed, 184 insertions(+), 75 deletions(-) create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml diff --git a/templates/cisco_ios_show_interfaces_switchport.textfsm b/templates/cisco_ios_show_interfaces_switchport.textfsm index fcde9f252e..9483705ee2 100644 --- a/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -7,7 +7,7 @@ Value ADMIN_MODE (.+?) Value ACCESS_VLAN (\d+|unassigned) Value NATIVE_VLAN (\d+) Value VOICE_VLAN (\S+) -Value TRUNKING_VLANS (.+?) +Value List TRUNKING_VLANS (\S+?) Start ^Name: -> Continue.Record @@ -19,7 +19,9 @@ Start ^\s*Access\s+Mode\s+VLAN:\s+${ACCESS_VLAN} ^\s*Trunking\s+Native\s+Mode\s+VLAN:\s+${NATIVE_VLAN} ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} + ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS},\s*$$ -> Trunk ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS}$$ + ^\s+${TRUNKING_VLANS}$$ ^\s*Administrative\s+Mode:\s+${ADMIN_MODE}$$ ^\s*(?:Operational|Administrative)\s+(?:Trunking|Native\s+VLAN|private-vlan) ^\s*Voice\s+VLAN: @@ -35,3 +37,7 @@ Start ^Load\s+for\s+ ^Time\s+source\s+is ^. -> Error + +Trunk + ^\s+${TRUNKING_VLANS},\s*$$ -> Start + ^\s+${TRUNKING_VLANS}\s*$$ diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml index eb695543f0..9b70ba853c 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml @@ -9,7 +9,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi0/2" switchport: "Enabled" switchport_monitor: "" @@ -19,7 +20,8 @@ parsed_sample: access_vlan: "100" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi0/3" switchport: "Enabled" switchport_monitor: "" @@ -29,7 +31,8 @@ parsed_sample: access_vlan: "101" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0" switchport: "Enabled" switchport_monitor: "" @@ -39,7 +42,8 @@ parsed_sample: access_vlan: "110" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/1" switchport: "Enabled" switchport_monitor: "" @@ -49,7 +53,8 @@ parsed_sample: access_vlan: "111" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Fa0/1" switchport: "Enabled" switchport_monitor: "" @@ -59,4 +64,5 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw new file mode 100644 index 0000000000..df2599fd7c --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw @@ -0,0 +1,31 @@ +Name: Te5/0/1 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604, + 900,910,920,930,940 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml new file mode 100644 index 0000000000..0ec9e9321e --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - interface: "Te5/0/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604" + - "900,910,920,930,940" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml index 06a794694e..172f4e93d3 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_ethertype.yml @@ -9,7 +9,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46-48,50,51,60,61,72,73" + trunking_vlans: + - "46-48,50,51,60,61,72,73" - interface: "Te1/2" switchport: "Enabled" switchport_monitor: "" @@ -19,7 +20,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46-48,52,53,62,63,72,73" + trunking_vlans: + - "46-48,52,53,62,63,72,73" - interface: "Te1/3" switchport: "Enabled" switchport_monitor: "" @@ -29,7 +31,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46-49,54,55,64,65,72,73" + trunking_vlans: + - "46-49,54,55,64,65,72,73" - interface: "Te1/4" switchport: "Enabled" switchport_monitor: "" @@ -39,7 +42,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46-49,55,65,72,232" + trunking_vlans: + - "46-49,55,65,72,232" - interface: "Te1/5" switchport: "Enabled" switchport_monitor: "" @@ -49,7 +53,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46,48,56,57,66,67,72,73" + trunking_vlans: + - "46,48,56,57,66,67,72,73" - interface: "Te1/6" switchport: "Enabled" switchport_monitor: "" @@ -59,7 +64,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "46-48,58,59,68,69,72,73" + trunking_vlans: + - "46-48,58,59,68,69,72,73" - interface: "Te1/7" switchport: "Enabled" switchport_monitor: "" @@ -69,7 +75,8 @@ parsed_sample: access_vlan: "64" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/8" switchport: "Enabled" switchport_monitor: "" @@ -79,7 +86,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "40,45,48" + trunking_vlans: + - "40,45,48" - interface: "Te1/10" switchport: "Enabled" switchport_monitor: "" @@ -89,7 +97,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "990" + trunking_vlans: + - "990" - interface: "Te1/17" switchport: "Enabled" switchport_monitor: "" @@ -99,7 +108,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "40,48" + trunking_vlans: + - "40,48" - interface: "Te1/21" switchport: "Enabled" switchport_monitor: "" @@ -109,7 +119,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "72,99" + trunking_vlans: + - "72,99" - interface: "Te1/23" switchport: "Enabled" switchport_monitor: "" @@ -119,7 +130,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "40,44,46-69,71-73,90,99,232,990" + trunking_vlans: + - "40,44,46-69,71-73,90,99,232,990" - interface: "Te1/24" switchport: "Enabled" switchport_monitor: "" @@ -129,7 +141,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "40,44,46-69,71-73,90,99,232,990" + trunking_vlans: + - "40,44,46-69,71-73,90,99,232,990" - interface: "Te1/25" switchport: "Enabled" switchport_monitor: "" @@ -139,7 +152,8 @@ parsed_sample: access_vlan: "49" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/26" switchport: "Enabled" switchport_monitor: "" @@ -149,7 +163,8 @@ parsed_sample: access_vlan: "90" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/27" switchport: "Enabled" switchport_monitor: "" @@ -159,7 +174,8 @@ parsed_sample: access_vlan: "49" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/29" switchport: "Enabled" switchport_monitor: "" @@ -169,7 +185,8 @@ parsed_sample: access_vlan: "49" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/32" switchport: "Enabled" switchport_monitor: "" @@ -179,7 +196,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/36" switchport: "Enabled" switchport_monitor: "" @@ -189,7 +207,8 @@ parsed_sample: access_vlan: "99" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Te1/40" switchport: "Enabled" switchport_monitor: "" @@ -199,7 +218,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "72,99" + trunking_vlans: + - "72,99" - interface: "Po1" switchport: "Enabled" switchport_monitor: "" @@ -209,7 +229,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "40,44,46-69,71-73,90,99,232,990" + trunking_vlans: + - "40,44,46-69,71-73,90,99,232,990" - interface: "Po2" switchport: "Enabled" switchport_monitor: "" @@ -219,4 +240,5 @@ parsed_sample: access_vlan: "unassigned" native_vlan: "0" voice_vlan: "none" - trunking_vlans: "72,99" + trunking_vlans: + - "72,99" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml index a3350825a8..ba1b64685d 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_vepa_enabled.yml @@ -9,7 +9,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/2" switchport: "Enabled" switchport_monitor: "" @@ -19,7 +20,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/3" switchport: "Enabled" switchport_monitor: "" @@ -29,7 +31,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/4" switchport: "Enabled" switchport_monitor: "" @@ -39,7 +42,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/5" switchport: "Enabled" switchport_monitor: "" @@ -49,7 +53,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/6" switchport: "Enabled" switchport_monitor: "" @@ -59,7 +64,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/7" switchport: "Enabled" switchport_monitor: "" @@ -69,7 +75,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/8" switchport: "Enabled" switchport_monitor: "" @@ -79,7 +86,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/9" switchport: "Enabled" switchport_monitor: "" @@ -89,7 +97,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/10" switchport: "Enabled" switchport_monitor: "" @@ -99,7 +108,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/11" switchport: "Enabled" switchport_monitor: "" @@ -109,7 +119,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/12" switchport: "Enabled" switchport_monitor: "" @@ -119,7 +130,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/13" switchport: "Enabled" switchport_monitor: "" @@ -129,7 +141,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/14" switchport: "Enabled" switchport_monitor: "" @@ -139,7 +152,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/15" switchport: "Enabled" switchport_monitor: "" @@ -149,7 +163,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/16" switchport: "Enabled" switchport_monitor: "" @@ -159,7 +174,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/17" switchport: "Enabled" switchport_monitor: "" @@ -169,7 +185,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/18" switchport: "Enabled" switchport_monitor: "" @@ -179,7 +196,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/19" switchport: "Enabled" switchport_monitor: "" @@ -189,7 +207,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/20" switchport: "Enabled" switchport_monitor: "" @@ -199,7 +218,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/21" switchport: "Enabled" switchport_monitor: "" @@ -209,7 +229,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/22" switchport: "Enabled" switchport_monitor: "" @@ -219,7 +240,8 @@ parsed_sample: access_vlan: "80" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0/23" switchport: "Enabled" switchport_monitor: "" @@ -229,7 +251,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "57,80" + trunking_vlans: + - "57,80" - interface: "Gi1/0/24" switchport: "Enabled" switchport_monitor: "" @@ -239,7 +262,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "57,80" + trunking_vlans: + - "57,80" - interface: "Gi1/1/1" switchport: "Enabled" switchport_monitor: "" @@ -249,7 +273,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Gi1/1/2" switchport: "Enabled" switchport_monitor: "" @@ -259,7 +283,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Gi1/1/3" switchport: "Enabled" switchport_monitor: "" @@ -269,7 +293,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Gi1/1/4" switchport: "Enabled" switchport_monitor: "" @@ -279,7 +303,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/1" switchport: "Enabled" switchport_monitor: "" @@ -289,7 +313,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/2" switchport: "Enabled" switchport_monitor: "" @@ -299,7 +323,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/3" switchport: "Enabled" switchport_monitor: "" @@ -309,7 +333,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/4" switchport: "Enabled" switchport_monitor: "" @@ -319,7 +343,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/5" switchport: "Enabled" switchport_monitor: "" @@ -329,7 +353,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/6" switchport: "Enabled" switchport_monitor: "" @@ -339,7 +363,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/7" switchport: "Enabled" switchport_monitor: "" @@ -349,7 +373,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Te1/1/8" switchport: "Enabled" switchport_monitor: "" @@ -359,7 +383,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Fo1/1/1" switchport: "Enabled" switchport_monitor: "" @@ -369,7 +393,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Fo1/1/2" switchport: "Enabled" switchport_monitor: "" @@ -379,7 +403,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Twe1/1/1" switchport: "Enabled" switchport_monitor: "" @@ -389,7 +413,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Twe1/1/2" switchport: "Enabled" switchport_monitor: "" @@ -399,7 +423,7 @@ parsed_sample: access_vlan: "" native_vlan: "" voice_vlan: "" - trunking_vlans: "" + trunking_vlans: [] - interface: "Po5" switchport: "Enabled" switchport_monitor: "" @@ -409,4 +433,5 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "57,80" + trunking_vlans: + - "57,80" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml index 34319bcddc..6b4fc68743 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_voice_vlan.yml @@ -9,7 +9,8 @@ parsed_sample: access_vlan: "1" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi0/2" switchport: "Enabled" switchport_monitor: "" @@ -19,7 +20,8 @@ parsed_sample: access_vlan: "100" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi0/3" switchport: "Enabled" switchport_monitor: "" @@ -29,7 +31,8 @@ parsed_sample: access_vlan: "101" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/0" switchport: "Enabled" switchport_monitor: "" @@ -39,7 +42,8 @@ parsed_sample: access_vlan: "110" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" - interface: "Gi1/1" switchport: "Enabled" switchport_monitor: "" @@ -49,4 +53,5 @@ parsed_sample: access_vlan: "111" native_vlan: "1" voice_vlan: "none" - trunking_vlans: "ALL" + trunking_vlans: + - "ALL" From c5f79eba44a34d3d00c5ac708b161e5364b89efb Mon Sep 17 00:00:00 2001 From: conorwu1107 <54105584+conorwu1107@users.noreply.github.com> Date: Fri, 5 Jun 2020 01:54:04 +0100 Subject: [PATCH 480/628] New template: cisco_wlc_ssh_sh_ap_image_all.textfsm (#742) --- .../cisco_wlc_ssh_show_ap_image_all.textfsm | 20 +++++++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_ap_image_all.raw | 16 +++++++++++++++ .../cisco_wlc_ssh_show_ap_image_all.yml | 18 +++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_ap_image_all.textfsm create mode 100644 tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.raw create mode 100644 tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.yml diff --git a/templates/cisco_wlc_ssh_show_ap_image_all.textfsm b/templates/cisco_wlc_ssh_show_ap_image_all.textfsm new file mode 100644 index 0000000000..66d1d874fd --- /dev/null +++ b/templates/cisco_wlc_ssh_show_ap_image_all.textfsm @@ -0,0 +1,20 @@ +Value AP_NAME (\S+) +Value PRIMARY_IMAGE ([0-9\.]+) +Value BACKUP_IMAGE ([0-9\.]+) +Value PREDOWNLOAD_STATUS (\S+) +Value PREDOWNLOAD_VERSION (\S+) +Value NEXT_RETRY_TIME (\S+) +Value RETRY_COUNT (\S+) +Value FLEXCON_PREDOWN (\s+) + + +Start + ^${AP_NAME}\s+${PRIMARY_IMAGE}\s+${BACKUP_IMAGE}\s+${PREDOWNLOAD_STATUS}\s+${PREDOWNLOAD_VERSION}\s+${NEXT_RETRY_TIME}\s+${RETRY_COUNT}\s*$$ -> Record + ^Total\s+number\s+of\s+APs + ^Number\s+of\s+APs + ^.+\.+ + ^\s*$$ + ^\s*Predownload\s+Predownload\s+Flexconnect + ^AP\s+Name\s+Primary\s+Image\s+Backup\s+Image\s+Status\s+Version\s+Next\s+Retry\s+Time\s+Retry\s+Count\s+Predownload\s*$$ + ^-+ + ^. -> Error diff --git a/templates/index b/templates/index index 121b3c53ea..84838c8c52 100644 --- a/templates/index +++ b/templates/index @@ -292,6 +292,7 @@ cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] +cisco_wlc_ssh_show_ap_image_all.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap ima[[ge]] a[[ll]] cisco_wlc_ssh_show_mobility_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] su[[mmary]] cisco_wlc_ssh_show_band-select.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ba[[nd-select]] cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] diff --git a/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.raw b/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.raw new file mode 100644 index 0000000000..ded801e472 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.raw @@ -0,0 +1,16 @@ + +Total number of APs.............................. 2 +Number of APs + Initiated....................................... 0 + Downloading..................................... 0 + Predownloading.................................. 0 + Completed predownloading........................ 0 + Not Supported................................... 0 + Failed to Predownload........................... 0 + + Predownload Predownload Flexconnect +AP Name Primary Image Backup Image Status Version Next Retry Time Retry Count Predownload +------------------ -------------- -------------- --------------- -------------- ---------------- ------------ -------------- +ESP1-05-NAP01 8.5.161.0 0.0.0.0 None None NA NA +ESP1-05-NAP02 8.5.161.0 0.0.0.0 None None NA NA + diff --git a/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.yml b/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.yml new file mode 100644 index 0000000000..301f73720a --- /dev/null +++ b/tests/cisco_wlc_ssh/show_ap_image_all/cisco_wlc_ssh_show_ap_image_all.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - ap_name: "ESP1-05-NAP01" + primary_image: "8.5.161.0" + backup_image: "0.0.0.0" + predownload_status: "None" + predownload_version: "None" + next_retry_time: "NA" + retry_count: "NA" + flexcon_predown: "" + - ap_name: "ESP1-05-NAP02" + primary_image: "8.5.161.0" + backup_image: "0.0.0.0" + predownload_status: "None" + predownload_version: "None" + next_retry_time: "NA" + retry_count: "NA" + flexcon_predown: "" From 2dac036fdc1c0c1465dfda1f382c811c463eb0d8 Mon Sep 17 00:00:00 2001 From: brinic Date: Fri, 5 Jun 2020 02:54:49 +0200 Subject: [PATCH 481/628] Bugfix: Update index to handle cisco_ios show_ip_bgp_all_summary (#738) --- templates/index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index b/templates/index index 84838c8c52..15021a1480 100644 --- a/templates/index +++ b/templates/index @@ -181,7 +181,7 @@ cisco_ios_show_ip_route_summary.textfsm, .*, cisco_ios, sh[[ow]] ip ro[[ute]] su cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-lists]] cisco_ios_show_mpls_interfaces.textfsm, .*, cisco_ios, sh[[ow]] mpls interfa[[ces]] cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] -cisco_ios_show_ip_bgp_summary.textfsm, .*, cisco_ios, sh[[ow]] ip bgp sum[[mary]] +cisco_ios_show_ip_bgp_summary.textfsm, .*, cisco_ios, sh[[ow]] ip bgp (?:all\s+)?sum[[mary]] cisco_ios_show_ip_prefix-list.textfsm, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] cisco_ios_show_ipv6_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ipv[[6]] ne[[ighbors]] cisco_ios_show_isis_neighbors.textfsm, .*, cisco_ios, sh[[ow]] isis ne[[ighbors]] From b5b668472b4f67e3debc519c4a8fd9bb871a7c4c Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Fri, 5 Jun 2020 02:09:01 +0100 Subject: [PATCH 482/628] Enhancement: Added MEDIA_TYPE for Cisco IOS show interfaces (#745) --- templates/cisco_ios_show_interfaces.textfsm | 3 +- .../cisco_ios_show_interfaces.yml | 288 +-- .../cisco_ios_show_interfaces2.yml | 2006 +++++++++-------- .../cisco_ios_show_interfaces3.yml | 502 +++-- 4 files changed, 1439 insertions(+), 1360 deletions(-) diff --git a/templates/cisco_ios_show_interfaces.textfsm b/templates/cisco_ios_show_interfaces.textfsm index 589779913b..3e0bedaf00 100644 --- a/templates/cisco_ios_show_interfaces.textfsm +++ b/templates/cisco_ios_show_interfaces.textfsm @@ -9,6 +9,7 @@ Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) Value MTU (\d+) Value DUPLEX (([Ff]ull|[Aa]uto|[Hh]alf|[Aa]-).*?) Value SPEED (.*?) +Value MEDIA_TYPE (\S+) Value BANDWIDTH (\d+\s+\w+) Value DELAY (\d+\s+\S+) Value ENCAPSULATION (.+?) @@ -36,7 +37,7 @@ Start ^\s+Encapsulation\s+${ENCAPSULATION},.+$$ ^\s+Last\s+input\s+${LAST_INPUT},\s+output\s+${LAST_OUTPUT},\s+output\s+hang\s+${LAST_OUTPUT_HANG}\s*$$ ^\s+Queueing\s+strategy:\s+${QUEUE_STRATEGY}\s*$$ - ^\s+${DUPLEX},\s+${SPEED},.+$$ + ^\s+${DUPLEX},\s+${SPEED},.+media\stype\sis\s${MEDIA_TYPE}$$ ^.*input\s+rate\s+${INPUT_RATE}.+$$ ^.*output\s+rate\s+${OUTPUT_RATE}.+$$ ^\s+${INPUT_PACKETS}\s+packets\s+input,\s+\d+\s+bytes,\s+\d+\s+no\s+buffer\s*$$ diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml index 5e9480ecbd..6170a556e6 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces.yml @@ -1,210 +1,218 @@ --- parsed_sample: - - address: "fa16.3e57.336f" - bandwidth: "1000000 Kbit" + - interface: "GigabitEthernet0/0" + link_status: "reset" + protocol_status: "down (notconnect)" + hardware_type: "iGbE" + address: "fa16.3e57.336f" bia: "fa16.3e57.336f" - delay: "10 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "iGbE" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "324" - input_rate: "0" - interface: "GigabitEthernet0/0" - ip_address: "" last_input: "1d21h" last_output: "1d21h" last_output_hang: "never" - link_status: "reset" - mtu: "1500" - output_errors: "0" - output_packets: "703" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "fa16.3e4f.41cc" - bandwidth: "1000000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "324" + output_packets: "703" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet0/1" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "iGbE" + address: "fa16.3e4f.41cc" bia: "fa16.3e4f.41cc" - delay: "10 usec" description: "to iosvl2-2" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "iGbE" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "83" - input_rate: "0" - interface: "GigabitEthernet0/1" - ip_address: "" last_input: "1d21h" last_output: "00:00:02" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "15513" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "83" + output_packets: "15513" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet0/2" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "fa16.3ea3.3e49" - bandwidth: "1000000 Kbit" + hardware_type: "iGbE" + address: "fa16.3ea3.3e49" bia: "fa16.3ea3.3e49" - delay: "10 usec" description: "to iosvl2-4" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "iGbE" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "8677" - input_rate: "0" - interface: "GigabitEthernet0/2" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "420798" + queue_strategy: "fifo" + input_rate: "0" output_rate: "1000" + input_packets: "8677" + output_packets: "420798" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet0/3" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "fa16.3e31.2c47" - bandwidth: "1000000 Kbit" + hardware_type: "iGbE" + address: "fa16.3e31.2c47" bia: "fa16.3e31.2c47" - delay: "10 usec" description: "to iosvl2-3" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "iGbE" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "8638" - input_rate: "0" - interface: "GigabitEthernet0/3" - ip_address: "" last_input: "00:00:28" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "420819" + queue_strategy: "fifo" + input_rate: "0" output_rate: "1000" + input_packets: "8638" + output_packets: "420819" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet1/0" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "fa16.3ec8.50ab" - bandwidth: "1000000 Kbit" + hardware_type: "iGbE" + address: "fa16.3ec8.50ab" bia: "fa16.3ec8.50ab" - delay: "10 usec" description: "to iosvl2-3" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "iGbE" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "8627" - input_rate: "0" - interface: "GigabitEthernet1/0" - ip_address: "" last_input: "00:00:26" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "420790" - output_rate: "2000" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "fa16.3e4f.41cc" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "2000" + input_packets: "8627" + output_packets: "420790" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "Port-channel1" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "EtherChannel" + address: "fa16.3e4f.41cc" bia: "fa16.3e4f.41cc" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "unknown" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "EtherChannel" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "85" - input_rate: "0" - interface: "Port-channel1" - ip_address: "" last_input: "1d21h" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "" - bandwidth: "8000000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "85" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "Loopback0" + link_status: "up" + protocol_status: "up" + hardware_type: "Loopback" + address: "" bia: "" - delay: "5000 usec" description: "Loopback" + ip_address: "" + mtu: "1514" duplex: "" + speed: "" + media_type: "" + bandwidth: "8000000 Kbit" + delay: "5000 usec" encapsulation: "LOOPBACK" - hardware_type: "Loopback" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Loopback0" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "1514" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" + - interface: "Vlan1" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "fa16.3e57.8001" - bandwidth: "1000000 Kbit" + hardware_type: "Ethernet SVI" + address: "fa16.3e57.8001" bia: "fa16.3e57.8001" - delay: "10 usec" description: "OOB Management" + ip_address: "10.255.0.16/16" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "Ethernet SVI" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Vlan1" - ip_address: "10.255.0.16/16" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "4" - output_rate: "0" - protocol_status: "up" queue_strategy: "fifo" - speed: "" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "4" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml index 3d742e1282..7c04499f4e 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml @@ -1,1458 +1,1514 @@ --- parsed_sample: - - address: "0014.1c57.a4c0" - bandwidth: "1000000 Kbit" + - interface: "Vlan1" + link_status: "up" + protocol_status: "up" + hardware_type: "EtherSVI" + address: "0014.1c57.a4c0" bia: "0014.1c57.a4c0" - delay: "10 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "EtherSVI" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "37453340" - input_rate: "0" - interface: "Vlan1" - ip_address: "" last_input: "00:00:00" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "37453340" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "" + - interface: "Vlan50" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "0014.1c57.a4c1" - bandwidth: "1000000 Kbit" + hardware_type: "EtherSVI" + address: "0014.1c57.a4c1" bia: "0014.1c57.a4c1" - delay: "10 usec" description: "" + ip_address: "10.1.50.1/24" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "EtherSVI" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "3772" - input_rate: "0" - interface: "Vlan50" - ip_address: "10.1.50.1/24" last_input: "01:04:54" last_output: "01:04:54" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "3804" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "3772" + output_packets: "3804" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "" + - interface: "Vlan100" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "0014.1c57.a4c2" - bandwidth: "1000000 Kbit" + hardware_type: "EtherSVI" + address: "0014.1c57.a4c2" bia: "0014.1c57.a4c2" - delay: "10 usec" description: "" + ip_address: "10.1.100.1/24" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "EtherSVI" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "6313297" - input_rate: "2000" - interface: "Vlan100" - ip_address: "10.1.100.1/24" last_input: "00:00:00" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "10453439" + queue_strategy: "fifo" + input_rate: "2000" output_rate: "2000" + input_packets: "6313297" + output_packets: "10453439" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "" + - interface: "Vlan254" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "0014.1c57.a4c3" - bandwidth: "1000000 Kbit" + hardware_type: "EtherSVI" + address: "0014.1c57.a4c3" bia: "0014.1c57.a4c3" - delay: "10 usec" description: "" + ip_address: "10.1.254.1/24" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "EtherSVI" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "7881502" - input_rate: "0" - interface: "Vlan254" - ip_address: "10.1.254.1/24" last_input: "00:08:48" last_output: "00:08:48" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "47843" - output_rate: "0" - protocol_status: "up" queue_strategy: "fifo" - speed: "" - - address: "0014.1c57.a483" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "7881502" + output_packets: "47843" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "" + - interface: "FastEthernet1/0/1" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a483" bia: "0014.1c57.a483" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "1" - abort: "" - crc: "0" - input_packets: "8647579827" - input_rate: "182000" - interface: "FastEthernet1/0/1" - ip_address: "" last_input: "00:00:01" last_output: "00:00:06" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "86941746207" + queue_strategy: "fifo" + input_rate: "182000" output_rate: "38883000" + input_packets: "8647579827" + output_packets: "86941746207" + input_errors: "1" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/2" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a484" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a484" bia: "0014.1c57.a484" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "86697408651" - input_rate: "38882000" - interface: "FastEthernet1/0/2" - ip_address: "" last_input: "never" last_output: "00:00:01" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "8485702870" + queue_strategy: "fifo" + input_rate: "38882000" output_rate: "182000" + input_packets: "86697408651" + output_packets: "8485702870" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/3" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a485" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a485" bia: "0014.1c57.a485" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "233361378" - input_rate: "0" - interface: "FastEthernet1/0/3" - ip_address: "" last_input: "never" last_output: "00:00:01" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "246128007" - output_rate: "1000" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a486" - bandwidth: "10000 Kbit" + input_rate: "0" + output_rate: "1000" + input_packets: "233361378" + output_packets: "246128007" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/4" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a486" bia: "0014.1c57.a486" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/4" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/5" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a487" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a487" bia: "0014.1c57.a487" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/5" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/6" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a488" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a488" bia: "0014.1c57.a488" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/6" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/7" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a489" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a489" bia: "0014.1c57.a489" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/7" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/8" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a48a" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48a" bia: "0014.1c57.a48a" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/8" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a48b" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/9" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48b" bia: "0014.1c57.a48b" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "86293954347" - input_rate: "38871000" - interface: "FastEthernet1/0/9" - ip_address: "" last_input: "00:00:27" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "8120676183" + queue_strategy: "fifo" + input_rate: "38871000" output_rate: "174000" + input_packets: "86293954347" + output_packets: "8120676183" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/10" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a48c" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48c" bia: "0014.1c57.a48c" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "85011546" - input_rate: "0" - interface: "FastEthernet1/0/10" - ip_address: "" last_input: "00:00:27" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "118427887" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a48d" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "85011546" + output_packets: "118427887" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/11" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48d" bia: "0014.1c57.a48d" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "13503663" - input_rate: "0" - interface: "FastEthernet1/0/11" - ip_address: "" last_input: "21w5d" last_output: "21w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "96706284" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a48e" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "13503663" + output_packets: "96706284" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/12" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48e" bia: "0014.1c57.a48e" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "566684" - input_rate: "0" - interface: "FastEthernet1/0/12" - ip_address: "" last_input: "00:00:27" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "10387099" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "566684" + output_packets: "10387099" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/13" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a48f" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a48f" bia: "0014.1c57.a48f" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "5093298" - input_rate: "0" - interface: "FastEthernet1/0/13" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "35059143" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a490" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "5093298" + output_packets: "35059143" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/14" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a490" bia: "0014.1c57.a490" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "4381776" - input_rate: "0" - interface: "FastEthernet1/0/14" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "33579140" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a491" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "4381776" + output_packets: "33579140" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/15" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a491" bia: "0014.1c57.a491" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "6095906" - input_rate: "0" - interface: "FastEthernet1/0/15" - ip_address: "" last_input: "36w5d" last_output: "36w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "31933579" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "6095906" + output_packets: "31933579" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/16" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a492" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a492" bia: "0014.1c57.a492" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "3048741" - input_rate: "0" - interface: "FastEthernet1/0/16" - ip_address: "" last_input: "36w5d" last_output: "36w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "23191458" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "3048741" + output_packets: "23191458" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/17" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a493" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a493" bia: "0014.1c57.a493" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "515815" - input_rate: "0" - interface: "FastEthernet1/0/17" - ip_address: "" last_input: "1y28w" last_output: "1y28w" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "3364092" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "515815" + output_packets: "3364092" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/18" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a494" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a494" bia: "0014.1c57.a494" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "56335" - input_rate: "0" - interface: "FastEthernet1/0/18" - ip_address: "" last_input: "1y29w" last_output: "1y29w" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "2263838" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a495" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "56335" + output_packets: "2263838" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/19" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a495" bia: "0014.1c57.a495" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "2154038" - input_rate: "0" - interface: "FastEthernet1/0/19" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "15816478" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "2154038" + output_packets: "15816478" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/20" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a496" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a496" bia: "0014.1c57.a496" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "2238092" - input_rate: "0" - interface: "FastEthernet1/0/20" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "15877977" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "2238092" + output_packets: "15877977" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/21" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a497" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a497" bia: "0014.1c57.a497" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "1" - abort: "" - crc: "0" - input_packets: "4942593" - input_rate: "0" - interface: "FastEthernet1/0/21" - ip_address: "" last_input: "00:00:25" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "43723513" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "4942593" + output_packets: "43723513" + input_errors: "1" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/22" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a498" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a498" bia: "0014.1c57.a498" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "1" - abort: "" - crc: "0" - input_packets: "6201152" - input_rate: "0" - interface: "FastEthernet1/0/22" - ip_address: "" last_input: "00:00:00" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "43660027" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a499" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "6201152" + output_packets: "43660027" + input_errors: "1" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/23" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a499" bia: "0014.1c57.a499" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/23" - ip_address: "" last_input: "never" last_output: "25w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "56" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a49a" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "56" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/24" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a49a" bia: "0014.1c57.a49a" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "2397801" - input_rate: "0" - interface: "FastEthernet1/0/24" - ip_address: "" last_input: "00:00:05" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "45635335" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a49d" - bandwidth: "10000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "2397801" + output_packets: "45635335" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/25" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a49d" bia: "0014.1c57.a49d" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/25" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/26" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a49e" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a49e" bia: "0014.1c57.a49e" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/26" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a49f" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/27" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a49f" bia: "0014.1c57.a49f" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Half-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "288816" - input_rate: "0" - interface: "FastEthernet1/0/27" - ip_address: "" last_input: "never" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "55357995" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "288816" + output_packets: "55357995" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/28" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a0" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a0" bia: "0014.1c57.a4a0" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "2" - abort: "" - crc: "1" - input_packets: "295313" - input_rate: "0" - interface: "FastEthernet1/0/28" - ip_address: "" last_input: "never" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "55364859" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "295313" + output_packets: "55364859" + input_errors: "2" + crc: "1" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/29" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a1" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a1" bia: "0014.1c57.a4a1" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "28898" - abort: "" - crc: "14167" - input_packets: "39214781" - input_rate: "1000" - interface: "FastEthernet1/0/29" - ip_address: "" last_input: "never" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "90202230" + queue_strategy: "fifo" + input_rate: "1000" output_rate: "2000" + input_packets: "39214781" + output_packets: "90202230" + input_errors: "28898" + crc: "14167" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/30" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a2" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a2" bia: "0014.1c57.a4a2" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "4811284" - input_rate: "0" - interface: "FastEthernet1/0/30" - ip_address: "" last_input: "never" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "55162378" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "4811284" + output_packets: "55162378" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/31" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a3" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a3" bia: "0014.1c57.a4a3" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "2255624" - input_rate: "0" - interface: "FastEthernet1/0/31" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "15969856" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "2255624" + output_packets: "15969856" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/32" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a4" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a4" bia: "0014.1c57.a4a4" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "5743877" - input_rate: "0" - interface: "FastEthernet1/0/32" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "20133314" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "5743877" + output_packets: "20133314" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/33" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a5" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a5" bia: "0014.1c57.a4a5" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "1" - abort: "" - crc: "0" - input_packets: "11086568" - input_rate: "0" - interface: "FastEthernet1/0/33" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "46398900" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "11086568" + output_packets: "46398900" + input_errors: "1" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/34" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a6" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a6" bia: "0014.1c57.a4a6" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "1071483" - input_rate: "0" - interface: "FastEthernet1/0/34" - ip_address: "" last_input: "00:00:13" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "11192764" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "1071483" + output_packets: "11192764" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/35" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a7" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a7" bia: "0014.1c57.a4a7" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "252774135" - input_rate: "3000" - interface: "FastEthernet1/0/35" - ip_address: "" last_input: "25w5d" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "136849790" + queue_strategy: "fifo" + input_rate: "3000" output_rate: "2000" + input_packets: "252774135" + output_packets: "136849790" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/36" + link_status: "up" protocol_status: "up (connected)" - queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a8" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a8" bia: "0014.1c57.a4a8" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "30561744" - input_rate: "0" - interface: "FastEthernet1/0/36" - ip_address: "" last_input: "00:00:00" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "25816556" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4a9" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "30561744" + output_packets: "25816556" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/37" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4a9" bia: "0014.1c57.a4a9" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "23" - input_rate: "0" - interface: "FastEthernet1/0/37" - ip_address: "" last_input: "25w5d" last_output: "25w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "110" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "23" + output_packets: "110" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/38" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4aa" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4aa" bia: "0014.1c57.a4aa" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/38" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4ab" - bandwidth: "10000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/39" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4ab" bia: "0014.1c57.a4ab" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/39" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/40" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4ac" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4ac" bia: "0014.1c57.a4ac" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/40" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/41" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4ad" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4ad" bia: "0014.1c57.a4ad" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/41" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/42" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4ae" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4ae" bia: "0014.1c57.a4ae" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/42" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/43" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4af" - bandwidth: "100000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4af" bia: "0014.1c57.a4af" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "33944" - input_rate: "0" - interface: "FastEthernet1/0/43" - ip_address: "" last_input: "never" last_output: "25w5d" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "52215" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "33944" + output_packets: "52215" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/44" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4b0" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4b0" bia: "0014.1c57.a4b0" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/44" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4b1" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/45" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4b1" bia: "0014.1c57.a4b1" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "1103" - input_rate: "0" - interface: "FastEthernet1/0/45" - ip_address: "" last_input: "never" last_output: "00:00:01" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "10099477" - output_rate: "0" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a4b2" - bandwidth: "10000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "1103" + output_packets: "10099477" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/46" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4b2" bia: "0014.1c57.a4b2" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/46" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/47" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4b3" - bandwidth: "10000 Kbit" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4b3" bia: "0014.1c57.a4b3" - delay: "1000 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "10/100BaseTX" + bandwidth: "10000 Kbit" + delay: "1000 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "FastEthernet1/0/47" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a4b4" - bandwidth: "100000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet1/0/48" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Fast Ethernet" + address: "0014.1c57.a4b4" bia: "0014.1c57.a4b4" - delay: "100 usec" description: "" + ip_address: "" + mtu: "1500" duplex: "Full-duplex" + speed: "100Mb/s" + media_type: "10/100BaseTX" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "ARPA" - hardware_type: "Fast Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "8407299374" - input_rate: "180000" - interface: "FastEthernet1/0/48" - ip_address: "" last_input: "never" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "86731716396" - output_rate: "38881000" - protocol_status: "up (connected)" queue_strategy: "fifo" - speed: "100Mb/s" - - address: "0014.1c57.a481" - bandwidth: "10000 Kbit" - bia: "0014.1c57.a481" - delay: "1000 usec" - description: "" - duplex: "Auto-duplex" - encapsulation: "ARPA" - hardware_type: "Gigabit Ethernet" + input_rate: "180000" + output_rate: "38881000" + input_packets: "8407299374" + output_packets: "86731716396" input_errors: "0" - abort: "" crc: "0" - input_packets: "0" - input_rate: "0" - interface: "GigabitEthernet1/0/1" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet1/0/1" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Gigabit Ethernet" + address: "0014.1c57.a481" + bia: "0014.1c57.a481" + description: "" ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "1000 usec" + encapsulation: "ARPA" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet1/0/2" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a482" - bandwidth: "10000 Kbit" + hardware_type: "Gigabit Ethernet" + address: "0014.1c57.a482" bia: "0014.1c57.a482" - delay: "1000 usec" description: "" - duplex: "Auto-duplex" - encapsulation: "ARPA" - hardware_type: "Gigabit Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "GigabitEthernet1/0/2" ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "1000 usec" + encapsulation: "ARPA" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet1/0/3" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a49b" - bandwidth: "10000 Kbit" + hardware_type: "Gigabit Ethernet" + address: "0014.1c57.a49b" bia: "0014.1c57.a49b" - delay: "1000 usec" description: "" - duplex: "Auto-duplex" - encapsulation: "ARPA" - hardware_type: "Gigabit Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "GigabitEthernet1/0/3" ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "1000 usec" + encapsulation: "ARPA" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet1/0/4" + link_status: "down" protocol_status: "down (notconnect)" - queue_strategy: "fifo" - speed: "Auto-speed" - - address: "0014.1c57.a49c" - bandwidth: "10000 Kbit" + hardware_type: "Gigabit Ethernet" + address: "0014.1c57.a49c" bia: "0014.1c57.a49c" - delay: "1000 usec" description: "" - duplex: "Auto-duplex" - encapsulation: "ARPA" - hardware_type: "Gigabit Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "GigabitEthernet1/0/4" ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "1000 usec" + encapsulation: "ARPA" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down (notconnect)" queue_strategy: "fifo" - speed: "Auto-speed" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml index d06de4f081..c17781df21 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces3.yml @@ -1,366 +1,380 @@ --- parsed_sample: - - address: "000f.352d.2381" - bandwidth: "100000 Kbit" + - interface: "GigabitEthernet0/0" + link_status: "up" + protocol_status: "up" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2381" bia: "000f.352d.2381" - delay: "100 usec" description: "Connects to LAN" + ip_address: "" + mtu: "1500" duplex: "Full Duplex" + speed: "100Mbps" + media_type: "T" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "MV96340 Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "338297234" - input_rate: "95000" - interface: "GigabitEthernet0/0" - ip_address: "" last_input: "00:00:24" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "336857668" + queue_strategy: "fifo" + input_rate: "95000" output_rate: "90000" + input_packets: "338297234" + output_packets: "336857668" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "GigabitEthernet0/0.6" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "100Mbps" - - address: "000f.352d.2381" - bandwidth: "100000 Kbit" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2381" bia: "000f.352d.2381" - delay: "100 usec" description: "LAN" + ip_address: "192.27.6.129/26" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "MV96340 Ethernet" - input_errors: "" - abort: "" - crc: "" - input_packets: "" - input_rate: "" - interface: "GigabitEthernet0/0.6" - ip_address: "192.27.6.129/26" last_input: "" last_output: "" last_output_hang: "" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "" + queue_strategy: "" + input_rate: "" output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + - interface: "GigabitEthernet0/0.44" + link_status: "up" protocol_status: "up" - queue_strategy: "" - speed: "" - - address: "000f.352d.2381" - bandwidth: "100000 Kbit" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2381" bia: "000f.352d.2381" - delay: "100 usec" description: "Wireless LAN" + ip_address: "192.22.44.193/26" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "MV96340 Ethernet" - input_errors: "" - abort: "" - crc: "" - input_packets: "" - input_rate: "" - interface: "GigabitEthernet0/0.44" - ip_address: "192.22.44.193/26" last_input: "" last_output: "" last_output_hang: "" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "" + queue_strategy: "" + input_rate: "" output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + - interface: "GigabitEthernet0/0.188" + link_status: "up" protocol_status: "up" - queue_strategy: "" - speed: "" - - address: "000f.352d.2381" - bandwidth: "100000 Kbit" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2381" bia: "000f.352d.2381" - delay: "100 usec" description: "Voice LAN" + ip_address: "192.24.188.65/26" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "MV96340 Ethernet" - input_errors: "" - abort: "" - crc: "" - input_packets: "" - input_rate: "" - interface: "GigabitEthernet0/0.188" - ip_address: "192.24.188.65/26" last_input: "" last_output: "" last_output_hang: "" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "" + queue_strategy: "" + input_rate: "" output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + - interface: "GigabitEthernet0/0.666" + link_status: "up" protocol_status: "up" - queue_strategy: "" - speed: "" - - address: "000f.352d.2381" - bandwidth: "100000 Kbit" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2381" bia: "000f.352d.2381" - delay: "100 usec" description: "Native Vlan" + ip_address: "" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "100000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "MV96340 Ethernet" - input_errors: "" - abort: "" - crc: "" - input_packets: "" - input_rate: "" - interface: "GigabitEthernet0/0.666" - ip_address: "" last_input: "" last_output: "" last_output_hang: "" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "" - output_rate: "" - protocol_status: "up" queue_strategy: "" - speed: "" - - address: "000f.352d.2382" - bandwidth: "1000000 Kbit" + input_rate: "" + output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + - interface: "GigabitEthernet0/1" + link_status: "administratively down" + protocol_status: "down" + hardware_type: "MV96340 Ethernet" + address: "000f.352d.2382" bia: "000f.352d.2382" - delay: "10 usec" description: "NOT IN USE" + ip_address: "" + mtu: "1500" duplex: "Auto Duplex" + speed: "Auto Speed" + media_type: "T" + bandwidth: "1000000 Kbit" + delay: "10 usec" encapsulation: "ARPA" - hardware_type: "MV96340 Ethernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "GigabitEthernet0/1" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "administratively down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down" queue_strategy: "fifo" - speed: "Auto Speed" - - address: "b838.6148.8780" - bandwidth: "10000 Kbit" - bia: "b838.6148.8780" - delay: "100 usec" - description: "connection to Provider" - duplex: "Full-duplex" - encapsulation: "802.1Q Virtual LAN" - hardware_type: "FastEthernet" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" input_errors: "0" - abort: "" crc: "0" - input_packets: "" - input_rate: "96000" - interface: "FastEthernet0/1/0" + abort: "" + output_errors: "0" + - interface: "FastEthernet0/1/0" + link_status: "up" + protocol_status: "up" + hardware_type: "FastEthernet" + address: "b838.6148.8780" + bia: "b838.6148.8780" + description: "connection to Provider" ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "100 usec" + encapsulation: "802.1Q Virtual LAN" last_input: "00:00:00" last_output: "00:00:00" last_output_hang: "never" - link_status: "up" - mtu: "1500" - output_errors: "0" - output_packets: "350115018" + queue_strategy: "Class-based queueing" + input_rate: "96000" output_rate: "111000" + input_packets: "" + output_packets: "350115018" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "FastEthernet0/1/0.50" + link_status: "up" protocol_status: "up" - queue_strategy: "Class-based queueing" - speed: "100Mb/s" - - address: "b838.6148.8780" - bandwidth: "10000 Kbit" + hardware_type: "FastEthernet" + address: "b838.6148.8780" bia: "b838.6148.8780" - delay: "100 usec" description: "AVPN Circuit" + ip_address: "192.20.194.29/30" + mtu: "1500" duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "100 usec" encapsulation: "802.1Q Virtual LAN" - hardware_type: "FastEthernet" - input_errors: "" - abort: "" - crc: "" - input_packets: "" - input_rate: "" - interface: "FastEthernet0/1/0.50" - ip_address: "192.20.194.29/30" last_input: "" last_output: "" last_output_hang: "" - link_status: "up" - mtu: "1500" - output_errors: "" - output_packets: "" - output_rate: "" - protocol_status: "up" queue_strategy: "" + input_rate: "" + output_rate: "" + input_packets: "" + output_packets: "" + input_errors: "" + crc: "" + abort: "" + output_errors: "" + - interface: "FastEthernet0/1/1" + link_status: "administratively down" + protocol_status: "down" + hardware_type: "FastEthernet" + address: "b838.6148.8781" + bia: "b838.6148.8781" + description: "NOT IN USE" + ip_address: "" + mtu: "1500" + duplex: "" speed: "" - - address: "b838.6148.8781" + media_type: "" bandwidth: "100000 Kbit" - bia: "b838.6148.8781" delay: "100 usec" - description: "NOT IN USE" - duplex: "Auto-duplex" encapsulation: "ARPA" - hardware_type: "FastEthernet" - input_errors: "0" - abort: "" - crc: "0" - input_packets: "" - input_rate: "0" - interface: "FastEthernet0/1/1" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "administratively down" - mtu: "1500" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "down" queue_strategy: "fifo" - speed: "Auto Speed" - - address: "" - bandwidth: "8000000 Kbit" + input_rate: "0" + output_rate: "0" + input_packets: "" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "Loopback0" + link_status: "up" + protocol_status: "up" + hardware_type: "Loopback" + address: "" bia: "" - delay: "5000 usec" description: "Loopback Interface" + ip_address: "192.20.0.144/32" + mtu: "1514" duplex: "" + speed: "" + media_type: "" + bandwidth: "8000000 Kbit" + delay: "5000 usec" encapsulation: "LOOPBACK" - hardware_type: "Loopback" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "2292" - input_rate: "0" - interface: "Loopback0" - ip_address: "192.20.0.144/32" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "1514" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "2292" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" + - interface: "Tunnel0" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "" - bandwidth: "100 Kbit" + hardware_type: "Tunnel" + address: "" bia: "" - delay: "50000 usec" description: "" + ip_address: "" + mtu: "17912" duplex: "" + speed: "" + media_type: "" + bandwidth: "100 Kbit" + delay: "50000 usec" encapsulation: "TUNNEL" - hardware_type: "Tunnel" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Tunnel0" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "17912" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" + - interface: "Tunnel1" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "" - bandwidth: "100 Kbit" + hardware_type: "Tunnel" + address: "" bia: "" - delay: "50000 usec" description: "" + ip_address: "" + mtu: "17912" duplex: "" + speed: "" + media_type: "" + bandwidth: "100 Kbit" + delay: "50000 usec" encapsulation: "TUNNEL" - hardware_type: "Tunnel" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Tunnel1" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "17912" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" + - interface: "Tunnel2" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "" - bandwidth: "100 Kbit" + hardware_type: "Tunnel" + address: "" bia: "" - delay: "50000 usec" description: "" + ip_address: "" + mtu: "17912" duplex: "" + speed: "" + media_type: "" + bandwidth: "100 Kbit" + delay: "50000 usec" encapsulation: "TUNNEL" - hardware_type: "Tunnel" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Tunnel2" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "17912" - output_errors: "0" - output_packets: "0" + queue_strategy: "fifo" + input_rate: "0" output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" + - interface: "Tunnel3" + link_status: "up" protocol_status: "up" - queue_strategy: "fifo" - speed: "" - - address: "" - bandwidth: "100 Kbit" + hardware_type: "Tunnel" + address: "" bia: "" - delay: "50000 usec" description: "" + ip_address: "" + mtu: "17912" duplex: "" + speed: "" + media_type: "" + bandwidth: "100 Kbit" + delay: "50000 usec" encapsulation: "TUNNEL" - hardware_type: "Tunnel" - input_errors: "0" - abort: "0" - crc: "0" - input_packets: "0" - input_rate: "0" - interface: "Tunnel3" - ip_address: "" last_input: "never" last_output: "never" last_output_hang: "never" - link_status: "up" - mtu: "17912" - output_errors: "0" - output_packets: "0" - output_rate: "0" - protocol_status: "up" queue_strategy: "fifo" - speed: "" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "0" + output_errors: "0" From 435e5987ae33b7795735de468d66d148466a4f46 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Thu, 4 Jun 2020 21:10:24 -0400 Subject: [PATCH 483/628] BugFix: IOS CDP - Better handling of output (#735) --- templates/cisco_ios_show_cdp_neighbors.textfsm | 10 +++++----- .../cisco_ios_show_cdp_neighbors_3.raw | 3 ++- .../cisco_ios_show_cdp_neighbors_4.raw | 10 ++++++++++ .../cisco_ios_show_cdp_neighbors_4.yml | 7 +++++++ 4 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.raw create mode 100644 tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.yml diff --git a/templates/cisco_ios_show_cdp_neighbors.textfsm b/templates/cisco_ios_show_cdp_neighbors.textfsm index 3cfb60af19..98b3cff9f1 100644 --- a/templates/cisco_ios_show_cdp_neighbors.textfsm +++ b/templates/cisco_ios_show_cdp_neighbors.textfsm @@ -1,8 +1,8 @@ Value Required NEIGHBOR (\S+) Value LOCAL_INTERFACE (\S+(?:\s\S+)?) -Value CAPABILITY ((?:\w\s*?)*?) -Value PLATFORM (\S{2,}\s\S+|\S{2,}) -Value NEIGHBOR_INTERFACE ([a-zA-Z]\S+(?:\s\S+)?) +Value CAPABILITY ((?:\w\s)*\w) +Value PLATFORM ((?:[IiPp]{2}\s)?\S+) +Value NEIGHBOR_INTERFACE (.+?) Start ^Device.*ID -> CDP @@ -12,5 +12,5 @@ Start CDP ^${NEIGHBOR}$$ - ^\s*${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s*${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record - ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s*${PLATFORM}\s+${NEIGHBOR_INTERFACE} -> Record + ^\s*${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record + ^${NEIGHBOR}\s+${LOCAL_INTERFACE}\s+\d+\s+${CAPABILITY}\s+${PLATFORM}\s+${NEIGHBOR_INTERFACE}\s*$$ -> Record diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw index d32b1cc068..7e48573ea3 100644 --- a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_3.raw @@ -25,4 +25,5 @@ SEP00000000000C Gig 1/0/24 164 H P M IP Phone Port 1 SEP00000000000D Gig 1/0/9 176 H P M IP Phone Port 1 SEP00000000000E Gig 1/0/17 131 H P M IP Phone Port 1 SEP00000000000F Gig 1/0/20 136 H P M IP Phone Port 1 -SEP000000000010 Gig 1/0/36 162 H P M IP Phone Port 1 \ No newline at end of file +SEP000000000010 Gig 1/0/36 162 H P M IP Phone Port 1 + diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.raw b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.raw new file mode 100644 index 0000000000..b5761abd8c --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.raw @@ -0,0 +1,10 @@ +Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge + S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, + D - Remote, C - CVTA, M - Two-port Mac Relay + +Device ID Local Intrfce Holdtme Capability Platform Port ID +acc-sw101 + Ten 3/7 175 R AS5610-52 0/47 + +Total cdp entries displayed : 1 + diff --git a/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.yml b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.yml new file mode 100644 index 0000000000..b40ca9cb00 --- /dev/null +++ b/tests/cisco_ios/show_cdp_neighbors/cisco_ios_show_cdp_neighbors_4.yml @@ -0,0 +1,7 @@ +--- +parsed_sample: + - neighbor: "acc-sw101" + local_interface: "Ten 3/7" + capability: "R" + platform: "AS5610-52" + neighbor_interface: "0/47" From f201c353eb0c5939348eea5b568f09c1102efd3b Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Thu, 4 Jun 2020 21:12:50 -0400 Subject: [PATCH 484/628] New template: broadcom_icos_show_mac-address-table (#736) --- ...oadcom_icos_show_mac-address-table.textfsm | 15 +++ templates/index | 1 + .../broadcom_show_mac-address-table.raw | 22 +++++ .../broadcom_show_mac-address-table.yml | 97 +++++++++++++++++++ 4 files changed, 135 insertions(+) create mode 100644 templates/broadcom_icos_show_mac-address-table.textfsm create mode 100644 tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw create mode 100644 tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml diff --git a/templates/broadcom_icos_show_mac-address-table.textfsm b/templates/broadcom_icos_show_mac-address-table.textfsm new file mode 100644 index 0000000000..16028e7316 --- /dev/null +++ b/templates/broadcom_icos_show_mac-address-table.textfsm @@ -0,0 +1,15 @@ +Value VLAN (\S+) +Value MAC (\S+) +Value INTERFACE (\S+) +Value INDEX (\S+) +Value STATUS (\S+) + +Start + # Captures show mac-address-table for: + # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R + # Raw data is the same in the case of all those devices + ^\s*VLAN\s+ID\s+MAC\s+Address\s+Interface\s+IfIndex\s+Status + ^-+ + ^\s*${VLAN}\s+${MAC}\s+${INTERFACE}\s+${INDEX}\s+${STATUS} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 15021a1480..9af34272f3 100644 --- a/templates/index +++ b/templates/index @@ -67,6 +67,7 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] +broadcom_icos_show_mac-address-table.textfsm, .*, broadcom_icos, sh[[ow]] mac[[-adress-table]] broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] brocade_fastiron_show_lldp_neighbors_detail.textfsm, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] diff --git a/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw b/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw new file mode 100644 index 0000000000..7a975e48bf --- /dev/null +++ b/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw @@ -0,0 +1,22 @@ + +VLAN ID MAC Address Interface IfIndex Status +------- ------------------ --------------------- ------- ------------ +1 CC:37:AB:18:5F:01 5/1 55 Management +100 CC:37:AB:18:AF:03 4/100 219 Management +150 00:04:F2:B3:AD:CA 0/4 4 Learned +150 00:30:D1:00:A2:F6 0/5 5 Learned +150 00:30:F1:00:AC:36 0/1 1 Learned +150 1C:C1:FE:24:00:C0 0/47 47 Learned +150 1C:C1:FE:24:F7:C2 0/48 48 Learned +150 40:00:34:25:03:A1 0/20 20 Learned +150 64:06:0F:47:0F:A1 0/31 31 Learned +150 64:16:0F:81:B6:BC 0/18 18 Learned +150 04:16:0F:21:E6:3A 0/17 17 Learned +150 14:16:0F:21:F8:24 0/30 30 Learned +150 24:16:0F:34:57:24 0/10 10 Learned +150 34:16:0F:89:28:4E 0/16 16 Learned +150 44:16:0F:49:28:55 0/19 19 Learned +150 AC:3F:DB:09:0D:8F 0/8 8 Learned +112 00:40:58:0E:A6:36 0/14 14 Learned +112 00:40:58:0E:A8:08 0/6 6 Learned +112 00:00:58:13:E4:67 0/13 13 Learned diff --git a/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml b/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml new file mode 100644 index 0000000000..e2e023c7b0 --- /dev/null +++ b/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml @@ -0,0 +1,97 @@ +--- +parsed_sample: + - vlan: "1" + mac: "CC:37:AB:18:5F:01" + interface: "5/1" + index: "55" + status: "Management" + - vlan: "100" + mac: "CC:37:AB:18:AF:03" + interface: "4/100" + index: "219" + status: "Management" + - vlan: "150" + mac: "00:04:F2:B3:AD:CA" + interface: "0/4" + index: "4" + status: "Learned" + - vlan: "150" + mac: "00:30:D1:00:A2:F6" + interface: "0/5" + index: "5" + status: "Learned" + - vlan: "150" + mac: "00:30:F1:00:AC:36" + interface: "0/1" + index: "1" + status: "Learned" + - vlan: "150" + mac: "1C:C1:FE:24:00:C0" + interface: "0/47" + index: "47" + status: "Learned" + - vlan: "150" + mac: "1C:C1:FE:24:F7:C2" + interface: "0/48" + index: "48" + status: "Learned" + - vlan: "150" + mac: "40:00:34:25:03:A1" + interface: "0/20" + index: "20" + status: "Learned" + - vlan: "150" + mac: "64:06:0F:47:0F:A1" + interface: "0/31" + index: "31" + status: "Learned" + - vlan: "150" + mac: "64:16:0F:81:B6:BC" + interface: "0/18" + index: "18" + status: "Learned" + - vlan: "150" + mac: "04:16:0F:21:E6:3A" + interface: "0/17" + index: "17" + status: "Learned" + - vlan: "150" + mac: "14:16:0F:21:F8:24" + interface: "0/30" + index: "30" + status: "Learned" + - vlan: "150" + mac: "24:16:0F:34:57:24" + interface: "0/10" + index: "10" + status: "Learned" + - vlan: "150" + mac: "34:16:0F:89:28:4E" + interface: "0/16" + index: "16" + status: "Learned" + - vlan: "150" + mac: "44:16:0F:49:28:55" + interface: "0/19" + index: "19" + status: "Learned" + - vlan: "150" + mac: "AC:3F:DB:09:0D:8F" + interface: "0/8" + index: "8" + status: "Learned" + - vlan: "112" + mac: "00:40:58:0E:A6:36" + interface: "0/14" + index: "14" + status: "Learned" + - vlan: "112" + mac: "00:40:58:0E:A8:08" + interface: "0/6" + index: "6" + status: "Learned" + - vlan: "112" + mac: "00:00:58:13:E4:67" + interface: "0/13" + index: "13" + status: "Learned" From 108428dc2750fd458eaecf4d310cd3043c63db3c Mon Sep 17 00:00:00 2001 From: JoeyG1973 Date: Fri, 5 Jun 2020 11:52:30 -0400 Subject: [PATCH 485/628] Enhancement: Added value - interfaces - arista_eos_show_vrf.textfsm (#744) --- templates/arista_eos_show_vrf.textfsm | 97 ++++++++++++++++--- .../show_vrf/arista_eos_show_vrf.raw | 28 +++--- .../show_vrf/arista_eos_show_vrf.yml | 26 +++++ .../show_vrf/arista_eos_show_vrf_2.raw | 8 ++ .../show_vrf/arista_eos_show_vrf_2.yml | 14 +++ 5 files changed, 148 insertions(+), 25 deletions(-) create mode 100644 tests/arista_eos/show_vrf/arista_eos_show_vrf_2.raw create mode 100644 tests/arista_eos/show_vrf/arista_eos_show_vrf_2.yml diff --git a/templates/arista_eos_show_vrf.textfsm b/templates/arista_eos_show_vrf.textfsm index 651f617103..d9f97778bd 100644 --- a/templates/arista_eos_show_vrf.textfsm +++ b/templates/arista_eos_show_vrf.textfsm @@ -1,20 +1,95 @@ Value VRF (\S+) Value RD (\d\S+|<.+>) +Value List INTERFACES (\w+) Start ^\s+Vrf\s+RD\s+Protocols\s+State\s+Interfaces -> VRF ^Maximum ^\s*$$ ^. -> Error - + VRF - ^\s+${VRF}\s+${RD} -> Record - # Match second line with Status e.x. v6:routing - ^\s+\S+:\S+ - # Match multiline interface with last line having a single interface - ^\s+\S+\s*$$ - # Match multilin interface with multiple interfaces on the line - ^(?:\s+\S+?,){1,5}(?:\s+\S+)?\s*$$ - ^\s*-+\s+-+ - ^\s*$$ - ^. -> Error + # match a vrf with interfaces + # key on the first line of a VRF + ^\s+\S+\s+(\d\S+|<.+>)\s+\S+\s+(\S+:?\S+(?:\s\S+)*).*$$ -> Continue.Record + # + ################# First lines of VRF ################### + # + # match first line of vrf, first interface and it is the last interface + ^\s+${VRF}\s+${RD}\s+\S+\s+\S+:\S+(\s\S+)*,?\s+${INTERFACES}\s*$$ -> Continue + # + # match first line of a vrf, first interface and it is not the last interface + ^\s+${VRF}\s+${RD}\s+\S+\s+\S+:\S+(\s\S+)*,\s+${INTERFACES}, -> Continue + # + # match first line of a vrf, second interface and it is the last interface + # two interfaces displayed per line + ^\s+\S+\s+\S+(\s\S+)*\s+\S+\s+\S+:\S+(\s\S+)*,?\s+(?:\S+,\s){1}${INTERFACES}\s*$$ -> Continue + # + # match first line of a vrf, third interface and it is the last interface + # three interfaces displayed per line + ^\s+\S+\s+\S+(\s\S+)*\s+\S+\s+\S+:\S+(\s\S+)*,?\s+(?:\S+,\s){2}${INTERFACES}\s*$$ -> Continue + # + # match first line of a vrf, second interface when there are more than two interfaces + # two or three interfaces displayed per line + ^\s+\S+\s+\S+(\s\S+)*\s+\S+\s+\S+:\S+(\s\S+)*,?\s+(?:\S+,\s){1}${INTERFACES}, -> Continue + # + # match first line of a vrf, third interface when there are more than three Interfaces + # three interfaces displayed per line + ^\s+\S+\s+\S+(\s\S+)*\s+\S+\s+\S+:\S+(\s\S+)*,?\s+(?:\S+,\s){2}${INTERFACES}, -> Continue + # + ############## Lines that contains state ################## + # + # match state only line + ^\s+(\S+:\S+(?:\s\S+)*)\s*$$ + # + # match first interface of the line when it also has a state and it is the last interface + ^\s+(\S+:\S+(?:\s\S+)*)\s+${INTERFACES}?\s*$$ -> Continue + # + # match first interface of the line when it also has a state and it is not the last interface + ^\s+\S+:\S+(\s\S+)*\s+${INTERFACES}, -> Continue + # + # match second interface of the line when it also has a state and it is the last interface + # two interfaces displayed per line + ^\s+\S+:\S+(\s\S+)*\s+(?:\S+,\s){1}${INTERFACES}\s*$$ -> Continue + # + # match third interface of the line when it also has a state and it is the last interface + # three interfaces displayed per line + ^\s+\S+:\S+(\s\S+)*\s+(?:\S+,\s){2}${INTERFACES}\s*$$ -> Continue + # + # match second interface of the line when it also has a state and it is not the last interface + # two or three interfaces displayed per line + ^\s+\S+:\S+(\s\S+)*\s+(?:\S+,\s){1}${INTERFACES}, -> Continue + # + # match third interface of the line when it also has a state and it is not the last interface + # three interfaces displayed per line + ^\s+\S+:\S+(\s\S+)*\s+(?:\S+,\s){2}${INTERFACES}, -> Continue + # + ################# Lines that have whitespace preceding the interface list #################### + # + # + # match first interface of the line when it only has whitespace and it is the last interface + ^\s+${INTERFACES}\s*$$ -> Continue + # + # match first interface of the line when it only has whitespace and it is not the last interface + ^\s+${INTERFACES}, -> Continue + # + # match second interface of the line when it only has whitespace and it is the last interface + # two interfaces displayed per line + ^\s+(?:\S+,\s){1}${INTERFACES}\s*$$ -> Continue + # + # match third interface of the line when it only has whitespace and it is the last interface + # three interfaces displayed per line + ^\s+(?:\S+,\s){2}${INTERFACES}\s*$$ -> Continue + # + # match second interface of the line when it only has whitespace and it is not the last interface + # two or three interfaces displayed per line + ^\s+(?:\S+,\s){1}${INTERFACES}, -> Continue + # + # match third interface of the line when it only has whitespace and it is not the last interface + # three interfaces displayed per line + ^\s+(?:\S+,\s){2}${INTERFACES}, -> Continue + # + ################## For vrfs without interfaces ################### + # + # match vrf line with no interfaces + ^\s+${VRF}\s+${RD}\s+\S+\s+\S+:\S+(\s\S+)*,?\s+$$ \ No newline at end of file diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw b/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw index f28c1e394f..78fffb713f 100644 --- a/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf.raw @@ -1,14 +1,14 @@ - Vrf RD Protocols State Interfaces ---------- -------- --------------- ----------- ---------- - blue 10.125.253.15:1 ipv4,ipv6 v4:routing, Vlan1006, Vlan2230, Vlan2231, - v6:no routing Vlan2232, Vlan2233, Vlan2234, - Vlan2235, Vlan2236, Vlan2237, - Vlan2238, Vlan2239, Vlan2240 - green ipv4,ipv6 v4:routing, Vlan1015, Vlan1016, Vlan1017, - v6:no routing Vlan1018, Vlan1019, Vlan1020, - Vlan1021 - yellow 10.125.253.15:4 ipv4,ipv6 v4:routing, Vlan1009 - v6:no routing - red 10.125.253.15:6 ipv4,ipv6 v4:routing, - v6:no routing - black 999:999 ipv4,ipv6 v4:no routing Management1 + Vrf RD Protocols State Interfaces +------------ -------------------- -------------- ------------------- ----------------------------- + blue 10.125.253.15:1 ipv4,ipv6 v4:no routing, Vlan1006, Vlan2230, Vlan2231, + v6:no routing Vlan2232, Vlan2233, Vlan2234, + Vlan2235, Vlan2236, Vlan2237, + Vlan2238, Vlan2239, Vlan2240 + green ipv4,ipv6 v4:routing, Vlan1015, Vlan1016, Vlan1017, + v6:no routing Vlan1018, Vlan1019, Vlan1020, + Vlan1021 + yellow 10.125.253.15:4 ipv4,ipv6 v4:routing, Vlan1009 + v6:no routing + red 10.125.253.15:6 ipv4,ipv6 v4:routing, + v6:no routing + black 999:999 ipv4,ipv6 v4:no routing Management1 diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf.yml b/tests/arista_eos/show_vrf/arista_eos_show_vrf.yml index 11e7c8c295..efe52a2b68 100644 --- a/tests/arista_eos/show_vrf/arista_eos_show_vrf.yml +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf.yml @@ -2,11 +2,37 @@ parsed_sample: - vrf: "blue" rd: "10.125.253.15:1" + interfaces: + - "Vlan1006" + - "Vlan2230" + - "Vlan2231" + - "Vlan2232" + - "Vlan2233" + - "Vlan2234" + - "Vlan2235" + - "Vlan2236" + - "Vlan2237" + - "Vlan2238" + - "Vlan2240" + - "Vlan2239" - vrf: "green" rd: "" + interfaces: + - "Vlan1015" + - "Vlan1016" + - "Vlan1017" + - "Vlan1018" + - "Vlan1019" + - "Vlan1020" + - "Vlan1021" - vrf: "yellow" rd: "10.125.253.15:4" + interfaces: + - "Vlan1009" - vrf: "red" rd: "10.125.253.15:6" + interfaces: [] - vrf: "black" rd: "999:999" + interfaces: + - "Management1" diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.raw b/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.raw new file mode 100644 index 0000000000..5d6b3dab67 --- /dev/null +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.raw @@ -0,0 +1,8 @@ +Maximum number of vrfs allowed: 4095 + Vrf RD Protocols State Interfaces +--------- ------------ -------------- ------------------- --------------------- + red 100:100 ipv4,ipv6 v4:routing, Ethernet3, Ethernet4, + v6:no routing Ethernet5, Ethernet6, + Ethernet7 + blue 1:1 ipv4,ipv6 v4:no routing, Management1 + v6:no routing diff --git a/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.yml b/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.yml new file mode 100644 index 0000000000..c2a7a5bc4a --- /dev/null +++ b/tests/arista_eos/show_vrf/arista_eos_show_vrf_2.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - vrf: "red" + rd: "100:100" + interfaces: + - "Ethernet3" + - "Ethernet4" + - "Ethernet5" + - "Ethernet6" + - "Ethernet7" + - vrf: "blue" + rd: "1:1" + interfaces: + - "Management1" From e4b83be10efc328b06341b16214899ad609e34d2 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 5 Jun 2020 10:17:18 -0600 Subject: [PATCH 486/628] Bugfix: Account for totals - cisco_ios_show_processes_memory_sorted.textfsm (#747) --- templates/cisco_ios_show_processes_memory_sorted.textfsm | 1 + .../cisco_ios_show_processes_memory_sorted.raw | 2 ++ 2 files changed, 3 insertions(+) diff --git a/templates/cisco_ios_show_processes_memory_sorted.textfsm b/templates/cisco_ios_show_processes_memory_sorted.textfsm index 95afbc06a8..9708b73c71 100644 --- a/templates/cisco_ios_show_processes_memory_sorted.textfsm +++ b/templates/cisco_ios_show_processes_memory_sorted.textfsm @@ -16,5 +16,6 @@ Start Process ^\s*${PROCESS_ID}\s+\d+\s+${PROCESS_ALLOCATED}\s+${PROCESS_FREED}\s+${PROCESS_HOLDING}\s+\d+\s+\d+\s+${PROCESS}\s*$$ + ^\s*\d+\s+Total\s*$$ ^\s*$$ ^. -> Error diff --git a/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw index 7283b898ad..29cfbe7088 100644 --- a/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw +++ b/tests/cisco_ios/show_processes_memory_sorted/cisco_ios_show_processes_memory_sorted.raw @@ -15,3 +15,5 @@ Processor Pool Total: 919638648 Used: 236752096 Free: 682886552 338 0 309184 1640 361488 0 0 Crypto IKEv2 480 0 167752 448 221248 0 0 MRIB Process 10 0 4096314696 4096430632 215576 3914231834 3914277834 Pool Manager + +342936032 Total From 1f842825911bc32a06c0e3cd2dd055009c7069ca Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Sat, 6 Jun 2020 09:45:38 -0400 Subject: [PATCH 487/628] New Template: broadcom_icos_show_isdp_neighbors.textfsm (#748) --- .../broadcom_icos_show_isdp_neighbors.textfsm | 18 +++++ templates/index | 1 + .../broadcom_icos_show_isdp_neighbors.raw | 17 +++++ .../broadcom_icos_show_isdp_neighbors.yml | 68 +++++++++++++++++++ 4 files changed, 104 insertions(+) create mode 100644 templates/broadcom_icos_show_isdp_neighbors.textfsm create mode 100644 tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.raw create mode 100644 tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.yml diff --git a/templates/broadcom_icos_show_isdp_neighbors.textfsm b/templates/broadcom_icos_show_isdp_neighbors.textfsm new file mode 100644 index 0000000000..8c468de32d --- /dev/null +++ b/templates/broadcom_icos_show_isdp_neighbors.textfsm @@ -0,0 +1,18 @@ +Value ID (\S+) +Value INTERFACE (\S+) +Value HOLDTIME (\S+) +Value CAPABILITY ([\w]{1}(?:\s[\w]){0,2}) +Value PLATFORM ((\S+\s\S+)|(\S+)) +Value PORT (.+) + +Start + # Captures show isdp neighbors for: + # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R + # Raw data is the same in the case of all those devices + ^Capability\sCodes: + ^\s+\S+\s+- + ^\s*Device\s+ID\s+Intf\s+Holdtime\s+Capability\s+Platform\s+Port\s+ID$$ + ^-+ + ^\s*${ID}\s+${INTERFACE}\s+${HOLDTIME}\s+${CAPABILITY}\s+${PLATFORM}\s+${PORT} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 9af34272f3..063b0bcd67 100644 --- a/templates/index +++ b/templates/index @@ -68,6 +68,7 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] broadcom_icos_show_mac-address-table.textfsm, .*, broadcom_icos, sh[[ow]] mac[[-adress-table]] +broadcom_icos_show_isdp_neighbors.textfsm, .*, broadcom_icos, sh[[ow]] is[[dp]] n[[eighbors]] broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] brocade_fastiron_show_lldp_neighbors_detail.textfsm, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] diff --git a/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.raw b/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.raw new file mode 100644 index 0000000000..f237c655cd --- /dev/null +++ b/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.raw @@ -0,0 +1,17 @@ + +Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge, + S - Switch, H - Host, I - IGMP, r - Repeater + +Device ID Intf Holdtime Capability Platform Port ID +------------------------ --------- --------- ---------- ---------------- --------- +AP00-1-00001 0/1 173 T B I cisco AIR-CAP270 GigabitEt +AP00-2-00002 0/2 139 T B I cisco AIR-CAP270 GigabitEt +AP00-15-00050D 0/3 127 R T cisco AIR-AP3802 GigabitEt +AP00-1-00115F 0/4 170 R T cisco AIR-AP3802 GigabitEt +AP00-22-01665A 0/5 143 R T cisco AIR-AP3802 GigabitEt +dev1-df-loc-sw000001 0/35 161 R BCM-56340 0/1 +dev2-dd-loc-sw000001 0/37 178 R BCM-56340 0/1 +dev3-ds-loc-sw000001 0/39 157 R BCM-56340 0/1 +dev4-da-loc-sw000001 0/43 179 R BCM-56340 0/1 +dev5-ab-loc-sw0001 0/49 154 R AS5610-52X 0/1 +dev6-aa-loc-sw0002 0/50 158 R AS5610-52X 0/1 diff --git a/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.yml b/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.yml new file mode 100644 index 0000000000..041d1d11dc --- /dev/null +++ b/tests/broadcom_icos/show_isdp_neighbors/broadcom_icos_show_isdp_neighbors.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - id: "AP00-1-00001" + interface: "0/1" + holdtime: "173" + capability: "T B I" + platform: "cisco AIR-CAP270" + port: "GigabitEt" + - id: "AP00-2-00002" + interface: "0/2" + holdtime: "139" + capability: "T B I" + platform: "cisco AIR-CAP270" + port: "GigabitEt" + - id: "AP00-15-00050D" + interface: "0/3" + holdtime: "127" + capability: "R T" + platform: "cisco AIR-AP3802" + port: "GigabitEt" + - id: "AP00-1-00115F" + interface: "0/4" + holdtime: "170" + capability: "R T" + platform: "cisco AIR-AP3802" + port: "GigabitEt" + - id: "AP00-22-01665A" + interface: "0/5" + holdtime: "143" + capability: "R T" + platform: "cisco AIR-AP3802" + port: "GigabitEt" + - id: "dev1-df-loc-sw000001" + interface: "0/35" + holdtime: "161" + capability: "R" + platform: "BCM-56340" + port: "0/1" + - id: "dev2-dd-loc-sw000001" + interface: "0/37" + holdtime: "178" + capability: "R" + platform: "BCM-56340" + port: "0/1" + - id: "dev3-ds-loc-sw000001" + interface: "0/39" + holdtime: "157" + capability: "R" + platform: "BCM-56340" + port: "0/1" + - id: "dev4-da-loc-sw000001" + interface: "0/43" + holdtime: "179" + capability: "R" + platform: "BCM-56340" + port: "0/1" + - id: "dev5-ab-loc-sw0001" + interface: "0/49" + holdtime: "154" + capability: "R" + platform: "AS5610-52X" + port: "0/1" + - id: "dev6-aa-loc-sw0002" + interface: "0/50" + holdtime: "158" + capability: "R" + platform: "AS5610-52X" + port: "0/1" From 99ed80a934c3918e1ec83bc3434143766b17b535 Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Sat, 6 Jun 2020 19:36:54 -0400 Subject: [PATCH 488/628] New Template: broadcom_icos_show_lldp_remote-device_all.textfsm (#749) --- ...m_icos_show_lldp_remote-device_all.textfsm | 19 +++ templates/index | 1 + ...adcom_icos_show_lldp_remote-device_all.raw | 37 +++++ ...adcom_icos_show_lldp_remote-device_all.yml | 157 ++++++++++++++++++ 4 files changed, 214 insertions(+) create mode 100644 templates/broadcom_icos_show_lldp_remote-device_all.textfsm create mode 100644 tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.raw create mode 100644 tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.yml diff --git a/templates/broadcom_icos_show_lldp_remote-device_all.textfsm b/templates/broadcom_icos_show_lldp_remote-device_all.textfsm new file mode 100644 index 0000000000..f4f7283733 --- /dev/null +++ b/templates/broadcom_icos_show_lldp_remote-device_all.textfsm @@ -0,0 +1,19 @@ +Value LOCAL_INTERFACE (\S+) +Value REMOTE_ID (\S+) +Value CHASSIS_ID (\S+) +Value PORT_ID (\S+) +Value SYSTEM_NAME (\S+) + +Start + # Captures show lldp remote-device all for: + # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R + # Raw data is the same in the case of all those devices + ^LLDP + ^Local + ^\s*Interface\s+RemID\s+Chassis\s+ID\s+Port\s+ID\s+System\s+Name$$ + ^-+ + ^\s*${LOCAL_INTERFACE}\s+${REMOTE_ID}\s+${CHASSIS_ID}\s+${PORT_ID}\s+${SYSTEM_NAME} -> Record + # Match records that only include the interface value + ^\s*${LOCAL_INTERFACE} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 063b0bcd67..d22609a1c9 100644 --- a/templates/index +++ b/templates/index @@ -67,6 +67,7 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] +broadcom_icos_show_lldp_remote-device_all.textfsm, .*, broadcom_icos, sh[[ow]] lld[[p]] r[[emote-device]] a[[ll]] broadcom_icos_show_mac-address-table.textfsm, .*, broadcom_icos, sh[[ow]] mac[[-adress-table]] broadcom_icos_show_isdp_neighbors.textfsm, .*, broadcom_icos, sh[[ow]] is[[dp]] n[[eighbors]] broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] diff --git a/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.raw b/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.raw new file mode 100644 index 0000000000..93d303f419 --- /dev/null +++ b/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.raw @@ -0,0 +1,37 @@ + +LLDP Remote Device Summary + +Local +Interface RemID Chassis ID Port ID System Name +--------- ------- -------------------- ------------------ ------------------ +0/1 17 84:3D:C6:00:12:E0 Gi0 abc-1-00001.y ... +0/2 16 00:A6:CA:00:53:C0 Gi0 abc-1-00002.y ... +0/3 18 F4:DB:E6:00:9F:46 0 abc-1-00003M +0/4 19 F4:DB:E6:00:44:9E 0 abc-1-00004M +0/5 20 F4:DB:E6:00:AC:FE Te2/1 abc-1-00005M +0/25 +0/26 +0/27 +0/28 +0/29 +0/30 +0/31 +0/32 +0/33 +0/34 +0/35 8 6C:00:C5:4D:86:3A 6C:00:C5:4D:86:3B abc-aa-acc-sw ... +0/36 +0/37 7 6C:00:C5:49:E7:40 6C:00:C5:49:E7:41 abc-bb-acc-sw ... +0/38 +0/39 29 6C:00:C5:49:08:8A 6C:00:C5:49:08:8B abc-cc-acc-sw ... +0/40 +0/41 +0/42 26 00:00:64:4D:00:68 00:00:64:4D:6E:68 u0030644d6e685 ... +0/43 9 6C:00:C5:49:8D:DE 6C:00:C5:49:8D:DF abc-dd-acc-sw ... +0/44 +0/45 24 00:00:64:4D:D7:F0 00:00:64:4D:D7:F0 u0030644dd7f05 ... +0/46 +0/47 4 00:00:64:4D:72:8A 00:00:64:4D:72:8A u0030644d728a5 ... +0/48 +0/49 1 A8:00:B5:57:CC:8D A8:00:B5:57:CC:8E abc-ee-abc-sw0101 +0/50 2 A8:00:B5:57:CB:01 A8:00:B5:57:CB:02 abc-ff-abc-sw0102 diff --git a/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.yml b/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.yml new file mode 100644 index 0000000000..eb01c84ed4 --- /dev/null +++ b/tests/broadcom_icos/show_lldp_remote-device_all/broadcom_icos_show_lldp_remote-device_all.yml @@ -0,0 +1,157 @@ +--- +parsed_sample: + - local_interface: "0/1" + remote_id: "17" + chassis_id: "84:3D:C6:00:12:E0" + port_id: "Gi0" + system_name: "abc-1-00001.y" + - local_interface: "0/2" + remote_id: "16" + chassis_id: "00:A6:CA:00:53:C0" + port_id: "Gi0" + system_name: "abc-1-00002.y" + - local_interface: "0/3" + remote_id: "18" + chassis_id: "F4:DB:E6:00:9F:46" + port_id: "0" + system_name: "abc-1-00003M" + - local_interface: "0/4" + remote_id: "19" + chassis_id: "F4:DB:E6:00:44:9E" + port_id: "0" + system_name: "abc-1-00004M" + - local_interface: "0/5" + remote_id: "20" + chassis_id: "F4:DB:E6:00:AC:FE" + port_id: "Te2/1" + system_name: "abc-1-00005M" + - local_interface: "0/25" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/26" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/27" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/28" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/29" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/30" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/31" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/32" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/33" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/34" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/35" + remote_id: "8" + chassis_id: "6C:00:C5:4D:86:3A" + port_id: "6C:00:C5:4D:86:3B" + system_name: "abc-aa-acc-sw" + - local_interface: "0/36" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/37" + remote_id: "7" + chassis_id: "6C:00:C5:49:E7:40" + port_id: "6C:00:C5:49:E7:41" + system_name: "abc-bb-acc-sw" + - local_interface: "0/38" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/39" + remote_id: "29" + chassis_id: "6C:00:C5:49:08:8A" + port_id: "6C:00:C5:49:08:8B" + system_name: "abc-cc-acc-sw" + - local_interface: "0/40" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/41" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/42" + remote_id: "26" + chassis_id: "00:00:64:4D:00:68" + port_id: "00:00:64:4D:6E:68" + system_name: "u0030644d6e685" + - local_interface: "0/43" + remote_id: "9" + chassis_id: "6C:00:C5:49:8D:DE" + port_id: "6C:00:C5:49:8D:DF" + system_name: "abc-dd-acc-sw" + - local_interface: "0/44" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/45" + remote_id: "24" + chassis_id: "00:00:64:4D:D7:F0" + port_id: "00:00:64:4D:D7:F0" + system_name: "u0030644dd7f05" + - local_interface: "0/46" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/47" + remote_id: "4" + chassis_id: "00:00:64:4D:72:8A" + port_id: "00:00:64:4D:72:8A" + system_name: "u0030644d728a5" + - local_interface: "0/48" + remote_id: "" + chassis_id: "" + port_id: "" + system_name: "" + - local_interface: "0/49" + remote_id: "1" + chassis_id: "A8:00:B5:57:CC:8D" + port_id: "A8:00:B5:57:CC:8E" + system_name: "abc-ee-abc-sw0101" + - local_interface: "0/50" + remote_id: "2" + chassis_id: "A8:00:B5:57:CB:01" + port_id: "A8:00:B5:57:CB:02" + system_name: "abc-ff-abc-sw0102" From f240ca9ed209c60b068a563d3bb4762db6762112 Mon Sep 17 00:00:00 2001 From: itdependsnetworks Date: Sun, 7 Jun 2020 20:03:43 -0400 Subject: [PATCH 489/628] add faq --- .github/ISSUE_TEMPLATE.md | 9 +++- README.md | 88 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 868c0a54a0..a27afeedb0 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,3 +1,11 @@ + + + - Bug Report - Feature Idea - - Template Creation Help - Documentation Report ##### TEMPLATE USING diff --git a/README.md b/README.md index 3bdde64f65..912e2540c4 100644 --- a/README.md +++ b/README.md @@ -335,3 +335,91 @@ Questions For any questions or comments, please feel free to swing by the [networktocode slack channel](https://networktocode.slack.com). Sign up [here](http://slack.networktocode.com/) + + +FAQ +--- + +From an outsiders view, some design choices, requirements, and testing procedures can seem arbitrary. The following list of FAQ is intended to +help provide context and better guide users and contributors of ntc-templates. + +_Why is there a requirement to use `Error` in every template?_ + +Ensuring that the textfsm template can account for every line is the only method to ensure that data was not accidentally missed. Take the following example. Initially we account for status to be: + +`Value STATUS (up|down)` + +Given the result of: +``` +Interface Status Protocol Description +Gi0/0/1 admin down down +Gi0/0/2 up up ISP Connection +Gi0/0/3 down down +``` + +The output would miss the G0/0/1 interface, since the `STATUS` of `admin down` not known. If this was a low percentage use case, it can go +undetected, and result in incorrect information being returned. Instead, by ensuring that we fail fast, an `Error` is raised and hopefully +GitHub Issue is put in. + +_Then why isn't `Error` used in all templates?_ + +Initially the controls were not as strong, so many templates were put in until issues like the previous became an issue. + +_Does the project support requests for additional templates or additional data in an existing template?_ + +We are no longer considering additional template requests at this time. The project has existed for over 5 years (initially within ntc-ansible) +and nearly 200 template at this point any additional requests are essentially edge use cases. Meaning, for five years of usage, no one else +has asked for this feature. There is a limited maintainers who primarily use their free time to maintain the project. + +_Are you open to adding maintainers to the project?_ + +Yes, we would consider giving a proven member of the project and community maintainer rights. Please inquiry emailing info@networktocode.com. + +_I simply want to add my template to the project, I do not want to add all of these tests and controls, can I just do so?_ + +Short answer no, from an outsiders point of view the contributor requirements may seem overly complex, however features added by engineers +rarely come back to support them. The burden of support is on the maintainers and a certain level of quality assurance is required for that to +happen. That includes updating the index file appropriately and adding proper raw and expected value files. + +_Why don't you grab all of the data in the template?_ + +There is no intention for ntc-templates to become feature complete, some of the data is less interesting, or can be better understood from +other commands. This is actually an area where the project choose to be loose, as we do not want to over-burden the contributor. If you feel +that the additional data should be added, you are welcome to add the feature, but it would not be considered a bug, and thus not supported by +the maintainers of the this project. + +_Why does the index order matter?_ + +The "greediness" of the template match ensures that there longest matches first. For example, if `show ip ospf` was above `show ip ospf database`, the `show ip ospf` template would be used in both cases. The additional steps are because of general programmatic hygiene. + +_Will you accept my template if I create it?_ + +In most cases, yes. However, there are a few edge cases. For example if requesting to add a `show cdp neighbors` when there is already a `show cdp neighbors details` template created. That is additional complexity added to the project with little value. + +_Why was my issue closed?_ + +The most likely reasons are: + +* Did not follow the Issue creation template. +* Did not provide the data required to act upon the request. +* A prolonged time with no response. + +_What is meant that the is a parsing project, not a data modeling project?_ + +The project intends to parse, meaning post processing is assumed in order to normalize the data. This project does not intend to solve that +problem set. This is often noted in keys being different between the same command on multiple OS's. This was not intentional as at first there was not strict enforcement. That being said, there is no intention to retrofit this use case for the above stated reasons. This use case is +best handled in post processing. + +_I have never submitted a Pull Request before, how do I do so?_ + +This is outside the scope of this project, but this [video](https://www.youtube.com/watch?v=rgbCcBNZcdQ) should provide the instructions on +how to do so. + +_Does this work on windows?_ + +Based on this [PR](https://github.com/networktocode/ntc-templates/pull/672) it should, however this is not a supported option. We are willing +to take in qualified Pull Requests to have the feature, but have no intention of actively supporting. + +_Can you provide general guidance?_ + +This is best handled via real time communication. Feel free to join our slack community (sign up information above) and reach out on the #networktocode channel. Please be aware of timezones, downtimes, and help is performed based on goodwill and timing, and not guaranteed. \ No newline at end of file From 51187bfcf004dc235829f456013fc9b4fe5ef08e Mon Sep 17 00:00:00 2001 From: Steve Feldman Date: Sun, 7 Jun 2020 20:18:08 -0700 Subject: [PATCH 490/628] Bugfix: ASA - IPv6 support - cisco_asa_show_vpn-sessiondb anyconnect' (#752) --- ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 4 ++- ...isco_asa_show_vpn-sessiondb_anyconnect.yml | 4 ++- ...sco_asa_show_vpn-sessiondb_anyconnect1.yml | 5 +++- ...sco_asa_show_vpn-sessiondb_anyconnect2.yml | 9 ++++-- ...sco_asa_show_vpn-sessiondb_anyconnect3.yml | 2 ++ ...asa_show_vpn-sessiondb_anyconnect_ipv6.raw | 16 ++++++++++ ...asa_show_vpn-sessiondb_anyconnect_ipv6.yml | 29 +++++++++++++++++++ ...pn-sessiondb_anyconnect_long_usernames.yml | 4 ++- 8 files changed, 67 insertions(+), 6 deletions(-) create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm index 78c4df071e..826c7e7cf3 100644 --- a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm +++ b/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm @@ -2,7 +2,8 @@ Value Filldown,Required SESSION_TYPE (\S+) Value USERNAME (\S+) Value Required INDEX (\d+) Value ASSIGNED_IP (\d+\.\d+\.\d+\.\d+) -Value PUBLIC_IP (\d+\.\d+\.\d+\.\d+) +Value PUBLIC_IP (\S+) +Value ASSIGNED_IPV6 (\S+) Value PROTOCOL (.+?) Value LICENSE (.+?) Value ENCRYPTION (.+?) @@ -33,6 +34,7 @@ Connection ^\s*Index\s*:\s+${INDEX}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}\s+Public\s*IP\s*:\s*${PUBLIC_IP}$$ ^\s*Assigned\s+IP\s*:\s+${ASSIGNED_IP}$$ + ^\s*Assigned\s+IPv6\s*:\s+${ASSIGNED_IPV6}$$ ^\s*Public\s+IP\s*:\s+${PUBLIC_IP}$$ ^\s*Protocol\s+:\s+${PROTOCOL}$$ ^\s*License\s+:\s*${LICENSE}$$ diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml index 1476aa6c9f..bf75c2ca9e 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect.yml @@ -5,9 +5,11 @@ parsed_sample: index: "1018" assigned_ip: "10.254.254.22" public_ip: "1.2.3.4" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" - encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES128" hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" bytes_tx: "17186425" bytes_rx: "7094561" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml index d00bf4134a..621b5ee842 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect1.yml @@ -5,9 +5,11 @@ parsed_sample: index: "1018" assigned_ip: "10.254.254.22" public_ip: "1.2.3.4" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" - encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES128" hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" bytes_tx: "17186425" bytes_rx: "7094561" @@ -30,6 +32,7 @@ parsed_sample: index: "1" assigned_ip: "192.168.246.1" public_ip: "10.139.1.2" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" encryption: "RC4 AES128" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml index 635272a1c5..017c5109f0 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect2.yml @@ -5,9 +5,11 @@ parsed_sample: index: "55620" assigned_ip: "10.15.113.59" public_ip: "8.8.8.8" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" - encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES256" hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" bytes_tx: "2310124124" bytes_rx: "241259137" @@ -30,9 +32,11 @@ parsed_sample: index: "55861" assigned_ip: "10.15.112.51" public_ip: "15.25.192.144" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" - encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES256" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES256" hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" bytes_tx: "12215025" bytes_rx: "1718697" @@ -55,6 +59,7 @@ parsed_sample: index: "56876" assigned_ip: "10.15.112.173" public_ip: "123.15.26.19" + assigned_ipv6: "" protocol: "AnyConnect-Parent" license: "AnyConnect Premium" encryption: "AnyConnect-Parent: (1)none" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml index e13cf5cdc2..680a60ba1c 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect3.yml @@ -5,6 +5,7 @@ parsed_sample: index: "57045" assigned_ip: "10.1.2.3" public_ip: "1.2.3.4" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES256 DTLS-Tunnel: (1)AES256" @@ -30,6 +31,7 @@ parsed_sample: index: "47520" assigned_ip: "" public_ip: "1.2.3.4" + assigned_ipv6: "" protocol: "AnyConnect-Parent" license: "AnyConnect Premium" encryption: "AnyConnect-Parent: (1)none" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.raw b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.raw new file mode 100644 index 0000000000..d797233817 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.raw @@ -0,0 +1,16 @@ +Session Type: AnyConnect +Username : johndoe12 Index : 38847 +Assigned IP : 10.10.123.123 Public IP : 2001:db8:91::7 +Assigned IPv6: 2001:DB8:1234:1::5678 +Protocol : AnyConnect-Parent SSL-Tunnel DTLS-Tunnel +License : AnyConnect Premium +Encryption : AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES-GCM-256 +Hashing : AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA384 +Bytes Tx : 3145031268 Bytes Rx : 58022385 +Group Policy : RAVPN Tunnel Group : RAVPN +Login Time : 01:13:32 UTC Fri Jun 5 2020 +Duration : 4h:55m:35s +Inactivity : 0h:00m:00s +VLAN Mapping : N/A VLAN : none +Audt Sess ID : 0a0edc05097bf0005ed99c3c +Security Grp : none diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.yml new file mode 100644 index 0000000000..6f47d86446 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_ipv6.yml @@ -0,0 +1,29 @@ +--- +parsed_sample: + - session_type: "AnyConnect" + username: "johndoe12" + index: "38847" + assigned_ip: "10.10.123.123" + public_ip: "2001:db8:91::7" + assigned_ipv6: "2001:DB8:1234:1::5678" + protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" + license: "AnyConnect Premium" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES-GCM-256" + hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA384" + bytes_tx: "3145031268" + bytes_rx: "58022385" + group_policy: "RAVPN" + tunnel_group: "RAVPN" + login_time: "01:13:32" + login_time_zone: "UTC" + login_weekday: "Fri" + login_month: "Jun" + login_day: "5" + login_year: "2020" + duration: "4h:55m:35s" + inactivity: "0h:00m:00s" + vlan_mapping: "N/A" + vlan: "none" + audt_sess_id: "0a0edc05097bf0005ed99c3c" + security_grp: "none" diff --git a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml index f500cfb0c0..b3df4e61cb 100644 --- a/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml +++ b/tests/cisco_asa/show_vpn-sessiondb_anyconnect/cisco_asa_show_vpn-sessiondb_anyconnect_long_usernames.yml @@ -5,9 +5,11 @@ parsed_sample: index: "1018" assigned_ip: "10.254.254.22" public_ip: "1.2.3.4" + assigned_ipv6: "" protocol: "AnyConnect-Parent SSL-Tunnel DTLS-Tunnel" license: "AnyConnect Premium" - encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel: (1)AES128" + encryption: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)AES-GCM-256 DTLS-Tunnel:\ + \ (1)AES128" hashing: "AnyConnect-Parent: (1)none SSL-Tunnel: (1)SHA384 DTLS-Tunnel: (1)SHA1" bytes_tx: "17186425" bytes_rx: "7094561" From 3752ee18d2fe8c6868e7c4d45e3ea2d63d37ba6b Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Mon, 8 Jun 2020 09:54:58 -0400 Subject: [PATCH 491/628] New Template: broadcom_icos_show_vlan_brief.textfsm (#750) --- .../broadcom_icos_show_vlan_brief.textfsm | 14 +++++ templates/index | 1 + .../broadcom_icos_show_vlan_brief.raw | 23 +++++++ .../broadcom_icos_show_vlan_brief.yml | 62 +++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 templates/broadcom_icos_show_vlan_brief.textfsm create mode 100644 tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.raw create mode 100644 tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.yml diff --git a/templates/broadcom_icos_show_vlan_brief.textfsm b/templates/broadcom_icos_show_vlan_brief.textfsm new file mode 100644 index 0000000000..c2f80f52ab --- /dev/null +++ b/templates/broadcom_icos_show_vlan_brief.textfsm @@ -0,0 +1,14 @@ +Value VLAN_ID (\d+) +Value NAME (\S+) +Value TYPE (\S+) + + +Start + # Captures show vlan brief for: + # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R + # Raw data is the same in the case of all those devices + ^\s*VLAN\s+ID\s+VLAN\s+Name\s+VLAN\s+Type$$ + ^-+ + ^\s*${VLAN_ID}\s+${NAME}\s+${TYPE} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index d22609a1c9..d091d4fe7c 100644 --- a/templates/index +++ b/templates/index @@ -70,6 +70,7 @@ avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] broadcom_icos_show_lldp_remote-device_all.textfsm, .*, broadcom_icos, sh[[ow]] lld[[p]] r[[emote-device]] a[[ll]] broadcom_icos_show_mac-address-table.textfsm, .*, broadcom_icos, sh[[ow]] mac[[-adress-table]] broadcom_icos_show_isdp_neighbors.textfsm, .*, broadcom_icos, sh[[ow]] is[[dp]] n[[eighbors]] +broadcom_icos_show_vlan_brief.textfsm, .*, broadcom_icos, sh[[ow]] vl[[an]] b[[rief]] broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] brocade_fastiron_show_lldp_neighbors_detail.textfsm, .*, brocade_fastiron, sh[[ow]] ll[[dp]] n[[eighbors]] d[[etail]] diff --git a/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.raw b/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.raw new file mode 100644 index 0000000000..b4640dc031 --- /dev/null +++ b/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.raw @@ -0,0 +1,23 @@ + +VLAN ID VLAN Name VLAN Type +------- -------------------------------- ------------------- +1 default Default +1 VLAN0001 Static +2 VLAN0002 Static +3 VLAN0003 Static +4 VLAN0004 Static +5 VLAN0005 Static +6 VLAN0006 Static +7 VLAN0007 Static +8 VLAN0008 Static +9 VLAN0009 Static +10 VLAN0010 Static +100 VLAN0100 Static +200 VLAN0200 Static +300 VLAN0300 Static +400 VLAN0400 Static +500 VLAN0500 Static +600 VLAN0600 Static +700 VLAN0700 Static +800 VLAN0800 Static +999 VLAN0999 Static diff --git a/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.yml b/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.yml new file mode 100644 index 0000000000..55d10b6faa --- /dev/null +++ b/tests/broadcom_icos/show_vlan_brief/broadcom_icos_show_vlan_brief.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - vlan_id: "1" + name: "default" + type: "Default" + - vlan_id: "1" + name: "VLAN0001" + type: "Static" + - vlan_id: "2" + name: "VLAN0002" + type: "Static" + - vlan_id: "3" + name: "VLAN0003" + type: "Static" + - vlan_id: "4" + name: "VLAN0004" + type: "Static" + - vlan_id: "5" + name: "VLAN0005" + type: "Static" + - vlan_id: "6" + name: "VLAN0006" + type: "Static" + - vlan_id: "7" + name: "VLAN0007" + type: "Static" + - vlan_id: "8" + name: "VLAN0008" + type: "Static" + - vlan_id: "9" + name: "VLAN0009" + type: "Static" + - vlan_id: "10" + name: "VLAN0010" + type: "Static" + - vlan_id: "100" + name: "VLAN0100" + type: "Static" + - vlan_id: "200" + name: "VLAN0200" + type: "Static" + - vlan_id: "300" + name: "VLAN0300" + type: "Static" + - vlan_id: "400" + name: "VLAN0400" + type: "Static" + - vlan_id: "500" + name: "VLAN0500" + type: "Static" + - vlan_id: "600" + name: "VLAN0600" + type: "Static" + - vlan_id: "700" + name: "VLAN0700" + type: "Static" + - vlan_id: "800" + name: "VLAN0800" + type: "Static" + - vlan_id: "999" + name: "VLAN0999" + type: "Static" From 8750a5b908edb1858e029cf1641981216a973399 Mon Sep 17 00:00:00 2001 From: Alejandro Suarez Date: Mon, 8 Jun 2020 13:41:46 -0400 Subject: [PATCH 492/628] Bugfix: show_mac-address-table to show_mac-addr-table (#754) --- ...-table.textfsm => broadcom_icos_show_mac-addr-table.textfsm} | 0 templates/index | 2 +- .../broadcom_show_mac-addr-table.raw} | 0 .../broadcom_show_mac-addr-table.yml} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename templates/{broadcom_icos_show_mac-address-table.textfsm => broadcom_icos_show_mac-addr-table.textfsm} (100%) rename tests/broadcom_icos/{show_mac-address-table/broadcom_show_mac-address-table.raw => show_mac-addr-table/broadcom_show_mac-addr-table.raw} (100%) rename tests/broadcom_icos/{show_mac-address-table/broadcom_show_mac-address-table.yml => show_mac-addr-table/broadcom_show_mac-addr-table.yml} (100%) diff --git a/templates/broadcom_icos_show_mac-address-table.textfsm b/templates/broadcom_icos_show_mac-addr-table.textfsm similarity index 100% rename from templates/broadcom_icos_show_mac-address-table.textfsm rename to templates/broadcom_icos_show_mac-addr-table.textfsm diff --git a/templates/index b/templates/index index d091d4fe7c..2417fb92e1 100644 --- a/templates/index +++ b/templates/index @@ -68,8 +68,8 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] broadcom_icos_show_lldp_remote-device_all.textfsm, .*, broadcom_icos, sh[[ow]] lld[[p]] r[[emote-device]] a[[ll]] -broadcom_icos_show_mac-address-table.textfsm, .*, broadcom_icos, sh[[ow]] mac[[-adress-table]] broadcom_icos_show_isdp_neighbors.textfsm, .*, broadcom_icos, sh[[ow]] is[[dp]] n[[eighbors]] +broadcom_icos_show_mac-addr-table.textfsm, .*, broadcom_icos, sh[[ow]] mac-addr-[[table]] broadcom_icos_show_vlan_brief.textfsm, .*, broadcom_icos, sh[[ow]] vl[[an]] b[[rief]] broadcom_icos_show_version.textfsm, .*, broadcom_icos, sh[[ow]] ver[[sion]] diff --git a/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw b/tests/broadcom_icos/show_mac-addr-table/broadcom_show_mac-addr-table.raw similarity index 100% rename from tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.raw rename to tests/broadcom_icos/show_mac-addr-table/broadcom_show_mac-addr-table.raw diff --git a/tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml b/tests/broadcom_icos/show_mac-addr-table/broadcom_show_mac-addr-table.yml similarity index 100% rename from tests/broadcom_icos/show_mac-address-table/broadcom_show_mac-address-table.yml rename to tests/broadcom_icos/show_mac-addr-table/broadcom_show_mac-addr-table.yml From c3c9e15ea4f6addda1c43f0f12d77676a83b1ecb Mon Sep 17 00:00:00 2001 From: JoeyG1973 Date: Fri, 12 Jun 2020 09:32:57 -0400 Subject: [PATCH 493/628] Bugfix: DESTINATION to list and account for Eth1/1 format - arista_eos_show_mac_address-table.textfsm (#756) --- .../arista_eos_show_mac_address-table.textfsm | 44 +++++++-- .../arista_eos_show_mac_address-table.raw | 5 +- .../arista_eos_show_mac_address-table.yml | 89 ++++++++++++++----- 3 files changed, 109 insertions(+), 29 deletions(-) diff --git a/templates/arista_eos_show_mac_address-table.textfsm b/templates/arista_eos_show_mac_address-table.textfsm index 097b1e75ad..8ede40a789 100644 --- a/templates/arista_eos_show_mac_address-table.textfsm +++ b/templates/arista_eos_show_mac_address-table.textfsm @@ -1,10 +1,40 @@ -Value MAC_ADDRESS (\w+?\.\w+?\.\w+?|\w+?\:\w+?\:\w+?\:\w+?\:\w+?\:\w+?) -Value TYPE (\w+?) -Value VLAN (\d+?) -Value DESTINATION_PORT (\w+\s\w+\s\w+\s\w+|\w+\s\w+\s\w+|\w+\s\w+|\w+?) -Value MOVES (\d+?) +Value MAC_ADDRESS (\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+) +Value TYPE (\w+) +Value VLAN (\d+) +Value List DESTINATION_PORT ((\w+\/\w+)|\w+) +Value MOVES (\d+) Value LAST_MOVE (.+) Start - ^\s*${VLAN}\s+?${MAC_ADDRESS}\s+?${TYPE}\s+?${DESTINATION_PORT}\s+?${MOVES}\s+${LAST_MOVE}\sago$$ -> Record - ^\s*${VLAN}\s+?${MAC_ADDRESS}\s+?${TYPE}\s+?${DESTINATION_PORT}$$ -> Record \ No newline at end of file + ^\s*Vlan\s+(M|m)ac\sAddress\s+Type\s+Ports\s+Moves\s+Last\sMove\s*$$ -> MAT + ^\s*Vlan\s+(M|m)ac\sAddress\s+Type\s+Ports\s*$$ -> MMAT + ^\s*$$ + ^\s*(M|m)ac\sAddress\sTable\s*$$ + ^\s*Multicast\s(M|m)ac\sAddress\sTable\s*$$ + ^-*$$ + # ^(-*\s*)*$$ + ^. -> Error + +MAT + # capture the mac address table + ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}\s*$$ -> Record + ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}\s+${MOVES}\s+${LAST_MOVE}\sago$$ -> Record + ^\s*Total\s+mac -> Start + ^\s*-+\s+.*-*$$ + ^\s*$$ + ^. -> Error + +MMAT + # capture the multicast mac address table + # key on the record + ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s*.*$$ -> Continue.Record + # match the record with one to five destination ports more. + ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}$$ -> Record + ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}\s -> Continue + ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){1}${DESTINATION_PORT}\s* -> Continue + ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){2}${DESTINATION_PORT}\s* -> Continue + ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){3}${DESTINATION_PORT}\s* -> Continue + ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){4}${DESTINATION_PORT}$$ -> Continue + ^\s*Total\s+mac -> Start + ^\s*-+\s+.*-*$$ + ^\s*$$ \ No newline at end of file diff --git a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.raw b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.raw index fd52c5e147..684f3e1f4d 100644 --- a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.raw +++ b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.raw @@ -29,5 +29,8 @@ Total mac Addresses for this criterion: 24 Vlan mac Address Type Ports ---- ----------- ---- ----- - 4 0112.3057.8423 STATIC Po10 Po12 + 4 c867.3057.8423 STATIC Po10 Po123 + 42 5309.3057.8423 STATIC Po135 Po12 po5 + 200 jenn.3057.8423 STATIC Po66 + 47 4242.3057.8423 STATIC Po135 Po12 po5 eth1/1 Total mac Addresses for this criterion: 1 \ No newline at end of file diff --git a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml index 5abb6add2e..d9b9f88e7a 100644 --- a/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml +++ b/tests/arista_eos/show_mac_address-table/arista_eos_show_mac_address-table.yml @@ -3,120 +3,167 @@ parsed_sample: - mac_address: "0012.3694.03ec" type: "STATIC" vlan: "3" - destination_port: "Et7" + destination_port: + - "Et7" moves: "" last_move: "" - mac_address: "001c.7313.a3de" type: "DYNAMIC" vlan: "55" - destination_port: "Et32" + destination_port: + - "Et32" moves: "1" last_move: "0:08:16" - mac_address: "001c.8224.36d7" type: "DYNAMIC" vlan: "101" - destination_port: "Po2" + destination_port: + - "Po2" moves: "1" last_move: "9 days, 15:57:28" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "102" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.8229.a0f3" type: "DYNAMIC" vlan: "102" - destination_port: "Po1" + destination_port: + - "Po1" moves: "1" last_move: "0:05:05" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "661" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.822f.6b22" type: "DYNAMIC" vlan: "661" - destination_port: "Po7" + destination_port: + - "Po7" moves: "1" last_move: "0:20:10" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "3000" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "0050.56a8.0016" type: "DYNAMIC" vlan: "3000" - destination_port: "Po1" + destination_port: + - "Po1" moves: "1" last_move: "0:07:38" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "3909" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.822f.6a80" type: "DYNAMIC" vlan: "3909" - destination_port: "Po1" + destination_port: + - "Po1" moves: "1" last_move: "0:07:08" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "3911" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.8220.40fa" type: "DYNAMIC" vlan: "3911" - destination_port: "Po8" + destination_port: + - "Po8" moves: "1" last_move: "1:19:58" - mac_address: "001c.822b.033e" type: "DYNAMIC" vlan: "3912" - destination_port: "Et11" + destination_port: + - "Et11" moves: "1" last_move: "9 days, 15:57:23" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "3913" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.822b.033e" type: "DYNAMIC" vlan: "3913" - destination_port: "Po1" + destination_port: + - "Po1" moves: "1" last_move: "0:04:35" - mac_address: "001c.8220.178f" type: "DYNAMIC" vlan: "3984" - destination_port: "Et8" + destination_port: + - "Et8" moves: "1" last_move: "4 days, 15:07:29" - mac_address: "001c.8220.1319" type: "STATIC" vlan: "3992" - destination_port: "Po1" + destination_port: + - "Po1" moves: "" last_move: "" - mac_address: "001c.8221.07b9" type: "DYNAMIC" vlan: "3992" - destination_port: "Po6" + destination_port: + - "Po6" moves: "1" last_move: "4 days, 15:13:15" - - mac_address: "0112.3057.8423" + - mac_address: "c867.3057.8423" type: "STATIC" vlan: "4" - destination_port: "Po10 Po12" + destination_port: + - "Po10" + - "Po123" + moves: "" + last_move: "" + - mac_address: "5309.3057.8423" + type: "STATIC" + vlan: "42" + destination_port: + - "Po135" + - "Po12" + - "po5" + moves: "" + last_move: "" + - mac_address: "jenn.3057.8423" + type: "STATIC" + vlan: "200" + destination_port: + - "Po66" + moves: "" + last_move: "" + - mac_address: "4242.3057.8423" + type: "STATIC" + vlan: "47" + destination_port: + - "Po135" + - "Po12" + - "po5" + - "eth1/1" moves: "" last_move: "" From 39d88d4f1f643b601e48925052ee8b243c29705e Mon Sep 17 00:00:00 2001 From: JoeyG1973 Date: Fri, 12 Jun 2020 09:34:32 -0400 Subject: [PATCH 494/628] New template: arista_eos_show_port-channel_summary.textfsm (#757) --- ...ista_eos_show_port-channel_summary.textfsm | 32 ++ templates/index | 2 + .../arista_eos_show_port-channel_summary.raw | 55 +++ .../arista_eos_show_port-channel_summary.yml | 330 ++++++++++++++++++ 4 files changed, 419 insertions(+) create mode 100644 templates/arista_eos_show_port-channel_summary.textfsm create mode 100644 tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.raw create mode 100644 tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.yml diff --git a/templates/arista_eos_show_port-channel_summary.textfsm b/templates/arista_eos_show_port-channel_summary.textfsm new file mode 100644 index 0000000000..71f011a60d --- /dev/null +++ b/templates/arista_eos_show_port-channel_summary.textfsm @@ -0,0 +1,32 @@ +Value PORT_CHANNEL (Po\d+) +Value PORT_CHANNEL_STATUS (\S+) +Value PROTOCOL (\w+) +Value PROTOCOL_STATE (\S+) +Value List PHYS_IFACE (Et\S+) +Value List PHYS_IFACE_STATUS (\S+) + + +Start + ^\s*Flags + ^-+ + ^\s+\S\s+- + ^Number + ^\s+Port-Channel\s+Protocol\s+Ports\s+$$ -> PCS + ^\s*$$ + ^. -> Error + + + +PCS + ^\s*Po\d+ -> Continue.Record + ^\s*${PORT_CHANNEL}\(${PORT_CHANNEL_STATUS}\)\s+${PROTOCOL}\(${PROTOCOL_STATE}\)\s+${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s*Po\d+.+(Et.+?\(.+?\)\s){1}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s*Po\d+.+(Et.+?\(.+?\)\s){2}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s*Po\d+.+(Et.+?\(.+?\)\s){3}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s*Po\d+.+(Et.+?\(.+?\)\s){4}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s+${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s+(Et.+?\(.+?\)\s){1}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s+(Et.+?\(.+?\)\s){2}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s+(Et.+?\(.+?\)\s){3}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + ^\s+(Et.+?\(.+?\)\s){4}${PHYS_IFACE}\(${PHYS_IFACE_STATUS}\)(\s|$$) -> Continue + diff --git a/templates/index b/templates/index index 2417fb92e1..f8ba99af8e 100644 --- a/templates/index +++ b/templates/index @@ -24,6 +24,7 @@ arista_eos_show_environment_temperature.textfsm, .*, arista_eos, sh[[ow]] en[[vi arista_eos_show_interfaces_transceiver.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] arista_eos_show_mac_security_interface.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] arista_eos_show_lldp_neighbors_detail.textfsm, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] +arista_eos_show_port-channel_summary.textfsm, .*, arista_eos, sh[[ow]] port-c[[hannel]] s[[ummary]] arista_eos_show_environment_cooling.textfsm, .*, arista_eos, sh[[ow]] en[[vironment]] c[[ooling]] arista_eos_show_ip_interface_brief.textfsm, .*, arista_eos, sh[[ow]] i[[p]] int[[erface]] br[[ief]] arista_eos_show_interfaces_status.textfsm, .*, arista_eos, sh[[ow]] int[[erfaces]] st[[atus]] @@ -53,6 +54,7 @@ arista_eos_show_mlag.textfsm, .*, arista_eos, sh[[ow]] ml[[ag]] arista_eos_show_vlan.textfsm, .*, arista_eos, sh[[ow]] vl[[an]] arista_eos_show_vrf.textfsm, .*, arista_eos, sh[[ow]] vrf + aruba_os_show_ipv6_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] aruba_os_show_ip_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] aruba_os_show_arp.textfsm, .*, aruba_os, sh[[ow]] arp diff --git a/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.raw b/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.raw new file mode 100644 index 0000000000..ce4d3a1697 --- /dev/null +++ b/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.raw @@ -0,0 +1,55 @@ +Flags +-------------------------- ----------------------------- ------------------------- + a - LACP Active p - LACP Passive * - static fallback + F - Fallback enabled f - Fallback configured ^ - individual fallback + U - In Use D - Down + + - In-Sync - - Out-of-Sync i - incompatible with agg + P - bundled in Po s - suspended G - Aggregable + I - Individual S - ShortTimeout w - wait for agg + +Number of channels in use: 1 +Number of aggregators: 1 + + Port-Channel Protocol Ports +------------------ --------------- -------------------------------- + Po105(D) LACP(aF*) Et5(D) + Po106(D) LACP(aF*) Et6(D) + Po107(D) LACP(aF*) Et7(D) + Po108(D) LACP(aF*) Et8(D) + Po109(D) LACP(aF*) Et9(D) + Po110(D) LACP(aF*) Et10(D) + Po111(D) LACP(aF*) Et11(D) + Po112(D) LACP(aF*) Et12(D) + Po113(D) LACP(aF*) Et13(D) + Po114(D) LACP(aF*) Et14(D) + Po115(D) LACP(aF*) Et15(D) + Po116(D) LACP(aF*) Et16(D) + Po117(D) LACP(aF*) Et17(D) + Po118(D) LACP(aF*) Et18(D) + Po119(D) LACP(aF*) Et19(D) + Po120(D) LACP(aF*) Et20(D) + Po121(D) LACP(aF*) Et21(D) + Po122(D) LACP(aF*) Et22(D) + Po123(D) LACP(aF*) Et23(D) + Po124(D) LACP(aF*) Et24(D) + Po125(D) LACP(aF*) Et25(D) + Po126(D) LACP(aF*) Et26(D) + Po127(D) LACP(aF*) Et27(D) + Po128(D) LACP(aF*) Et28(D) + Po129(D) LACP(aF*) Et29(D) + Po130(D) LACP(aF*) Et30(D) + Po131(D) LACP(aF*) Et31(D) + Po132(D) LACP(aF*) Et32(D) + Po133(D) LACP(aF*) Et33(D) + Po134(D) LACP(aF*) Et34(D) + Po135(D) LACP(aF*) Et35(D) + Po136(D) LACP(aF*) Et36(D) + Po137(D) LACP(aF*) Et37(D) + Po138(D) LACP(aF*) Et38(D) + Po139(D) LACP(aF*) Et39(D) + Po140(D) LACP(aF*) Et40(D) + Po141(D) LACP(aF*) Et41(D) + Po142(D) LACP(aF*) Et42(D) + Po146(D) LACP(aF*) Et43(D) Et44(D) Et45(D) Et46(D) + Et47(D) + Po2000(U) LACP(a) Et54/1(PG+) \ No newline at end of file diff --git a/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.yml b/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.yml new file mode 100644 index 0000000000..d70a8de216 --- /dev/null +++ b/tests/arista_eos/show_port-channel_summary/arista_eos_show_port-channel_summary.yml @@ -0,0 +1,330 @@ +--- +parsed_sample: + - port_channel: "Po105" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et5" + phys_iface_status: + - "D" + - port_channel: "Po106" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et6" + phys_iface_status: + - "D" + - port_channel: "Po107" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et7" + phys_iface_status: + - "D" + - port_channel: "Po108" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et8" + phys_iface_status: + - "D" + - port_channel: "Po109" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et9" + phys_iface_status: + - "D" + - port_channel: "Po110" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et10" + phys_iface_status: + - "D" + - port_channel: "Po111" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et11" + phys_iface_status: + - "D" + - port_channel: "Po112" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et12" + phys_iface_status: + - "D" + - port_channel: "Po113" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et13" + phys_iface_status: + - "D" + - port_channel: "Po114" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et14" + phys_iface_status: + - "D" + - port_channel: "Po115" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et15" + phys_iface_status: + - "D" + - port_channel: "Po116" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et16" + phys_iface_status: + - "D" + - port_channel: "Po117" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et17" + phys_iface_status: + - "D" + - port_channel: "Po118" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et18" + phys_iface_status: + - "D" + - port_channel: "Po119" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et19" + phys_iface_status: + - "D" + - port_channel: "Po120" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et20" + phys_iface_status: + - "D" + - port_channel: "Po121" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et21" + phys_iface_status: + - "D" + - port_channel: "Po122" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et22" + phys_iface_status: + - "D" + - port_channel: "Po123" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et23" + phys_iface_status: + - "D" + - port_channel: "Po124" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et24" + phys_iface_status: + - "D" + - port_channel: "Po125" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et25" + phys_iface_status: + - "D" + - port_channel: "Po126" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et26" + phys_iface_status: + - "D" + - port_channel: "Po127" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et27" + phys_iface_status: + - "D" + - port_channel: "Po128" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et28" + phys_iface_status: + - "D" + - port_channel: "Po129" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et29" + phys_iface_status: + - "D" + - port_channel: "Po130" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et30" + phys_iface_status: + - "D" + - port_channel: "Po131" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et31" + phys_iface_status: + - "D" + - port_channel: "Po132" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et32" + phys_iface_status: + - "D" + - port_channel: "Po133" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et33" + phys_iface_status: + - "D" + - port_channel: "Po134" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et34" + phys_iface_status: + - "D" + - port_channel: "Po135" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et35" + phys_iface_status: + - "D" + - port_channel: "Po136" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et36" + phys_iface_status: + - "D" + - port_channel: "Po137" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et37" + phys_iface_status: + - "D" + - port_channel: "Po138" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et38" + phys_iface_status: + - "D" + - port_channel: "Po139" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et39" + phys_iface_status: + - "D" + - port_channel: "Po140" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et40" + phys_iface_status: + - "D" + - port_channel: "Po141" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et41" + phys_iface_status: + - "D" + - port_channel: "Po142" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et42" + phys_iface_status: + - "D" + - port_channel: "Po146" + port_channel_status: "D" + protocol: "LACP" + protocol_state: "aF*" + phys_iface: + - "Et43" + - "Et46" + - "Et46" + - "Et46" + - "Et47" + phys_iface_status: + - "D" + - "D" + - "D" + - "D" + - "D" + - port_channel: "Po2000" + port_channel_status: "U" + protocol: "LACP" + protocol_state: "a" + phys_iface: + - "Et54/1" + phys_iface_status: + - "PG+" From a64c811810f1010080c9f5edb192aa783c6ad83a Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Sun, 14 Jun 2020 21:11:33 -0600 Subject: [PATCH 495/628] Bumping to version 1.5.0 (#763) --- .github_changelog_generator | 4 +- CHANGELOG | 116 ++++++++++++++++ CHANGELOG.md | 243 ---------------------------------- lib/ntc_templates/__init__.py | 2 +- 4 files changed, 119 insertions(+), 246 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/.github_changelog_generator b/.github_changelog_generator index 50b825868c..1d3e2cee60 100644 --- a/.github_changelog_generator +++ b/.github_changelog_generator @@ -1,3 +1,3 @@ unreleased=true -future-release=1.4.2 -since-tag=v1.4.1 +future-release=1.5.0 +since-tag=v1.4.2 diff --git a/CHANGELOG b/CHANGELOG index 3883666903..22a5468967 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,119 @@ +# Changelog + +## [1.5.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2020-06-14) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.2...1.5.0) + +**Implemented enhancements:** + +- Broadcom ICOS/Fastpath Support? [\#726](https://github.com/networktocode/ntc-templates/issues/726) + +**Fixed bugs:** + +- Cisco IOS show cdp neighbors issue [\#727](https://github.com/networktocode/ntc-templates/issues/727) +- Cisco IOS Show Interface Switchport does not parse multi-line VLAN Trunks [\#642](https://github.com/networktocode/ntc-templates/issues/642) +- Cisco ASA Show interface does not catch unnamed interfaces [\#627](https://github.com/networktocode/ntc-templates/issues/627) +- Fixes missing interfaces on down interfaces [\#734](https://github.com/networktocode/ntc-templates/pull/734) ([jvanderaa](https://github.com/jvanderaa)) + +**Closed issues:** + +- Cisco ASA "show vpn-sessiondb anyconnect" parser doesn't support IPv6 addresses [\#751](https://github.com/networktocode/ntc-templates/issues/751) +- failing testsuite [\#743](https://github.com/networktocode/ntc-templates/issues/743) +- I would like to contribute the PR for adding new cisco\_wlc\_ssh\_show\_ap\_image\_all [\#739](https://github.com/networktocode/ntc-templates/issues/739) +- Template help for multiple states [\#737](https://github.com/networktocode/ntc-templates/issues/737) +- textfsm.parser.TextFSMError: State Error raised. Rule Line: 15. Input Line: show ip arp [\#686](https://github.com/networktocode/ntc-templates/issues/686) +- Arista eos - sh ip bgp summ vrf all and sh ip route vrf all template [\#666](https://github.com/networktocode/ntc-templates/issues/666) +- Template Creation Help: cisco\_xr\_admin\_show\_environment\_power to get power supply, voltage and current [\#648](https://github.com/networktocode/ntc-templates/issues/648) +- New template: hp\_comware\_display\_interface\_textFSM [\#634](https://github.com/networktocode/ntc-templates/issues/634) +- cisco\_asa\_show\_failover\_state [\#546](https://github.com/networktocode/ntc-templates/issues/546) + +**Merged pull requests:** + +- Arista eos show port channel summary [\#757](https://github.com/networktocode/ntc-templates/pull/757) ([JoeyG1973](https://github.com/JoeyG1973)) +- Arista eos show mac address table [\#756](https://github.com/networktocode/ntc-templates/pull/756) ([JoeyG1973](https://github.com/JoeyG1973)) +- Template correction for broadcom\_icos\_show\_mac-address-table [\#754](https://github.com/networktocode/ntc-templates/pull/754) ([alepodj](https://github.com/alepodj)) +- Fixes \#751 - IPv6 support for Cisco ASA 'show vpn-sessiondb anyconnect' [\#752](https://github.com/networktocode/ntc-templates/pull/752) ([smfeldman](https://github.com/smfeldman)) +- New Template added support for broadcom\_icos\_show\_vlan\_brief [\#750](https://github.com/networktocode/ntc-templates/pull/750) ([alepodj](https://github.com/alepodj)) +- New Template added support for broadcom\_icos\_show\_lldp\_remote-device\_all [\#749](https://github.com/networktocode/ntc-templates/pull/749) ([alepodj](https://github.com/alepodj)) +- New Template added support for broadcom\_icos\_show\_isdp\_neighbors [\#748](https://github.com/networktocode/ntc-templates/pull/748) ([alepodj](https://github.com/alepodj)) +- Bugfix: Account for totals - cisco\_ios\_show\_processes\_memory\_sorted.textfsm [\#747](https://github.com/networktocode/ntc-templates/pull/747) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement for Cisco IOS show interfaces [\#745](https://github.com/networktocode/ntc-templates/pull/745) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Added interfaces to arista\_eos\_show\_vrf template [\#744](https://github.com/networktocode/ntc-templates/pull/744) ([JoeyG1973](https://github.com/JoeyG1973)) +- Add new template for cisco\_wlc\_ssh\_sh\_ap\_image\_all [\#742](https://github.com/networktocode/ntc-templates/pull/742) ([conorwu1107](https://github.com/conorwu1107)) +- Update index to handle cisco\_ios show\_ip\_bgp\_all\_summary [\#738](https://github.com/networktocode/ntc-templates/pull/738) ([Niclnx](https://github.com/Niclnx)) +- Added support for broadcom\_icos command show\_mac-address-table [\#736](https://github.com/networktocode/ntc-templates/pull/736) ([alepodj](https://github.com/alepodj)) +- BugFix: IOS CDP - Better handling of output [\#735](https://github.com/networktocode/ntc-templates/pull/735) ([jmcgill298](https://github.com/jmcgill298)) +- New Template support for broadcom\_icos as a new OS and added show\_version command [\#733](https://github.com/networktocode/ntc-templates/pull/733) ([alepodj](https://github.com/alepodj)) +- New template for ubiquity edgeswitch: show version [\#732](https://github.com/networktocode/ntc-templates/pull/732) ([saaverdo](https://github.com/saaverdo)) +- New Template for Cisco NX-OS: show forwarding adjacency [\#722](https://github.com/networktocode/ntc-templates/pull/722) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- BugFix: cisco\_ios\_show\_interfaces\_switchport: Made trunking\_vlans a list, and changed regex [\#671](https://github.com/networktocode/ntc-templates/pull/671) ([FragmentedPacket](https://github.com/FragmentedPacket)) + +## [1.4.2](https://github.com/networktocode/ntc-templates/tree/1.4.2) (2020-05-25) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...1.4.2) + +**Fixed bugs:** + +- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) +- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) +- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) + +**Closed issues:** + +- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) +- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) +- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) +- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) +- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) +- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) +- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) +- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) +- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) +- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) +- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) +- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) + +**Merged pull requests:** + +- IOS: Allow deleted STATUS in show interfaces description [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) +- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) +- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) +- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) +- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) +- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) +- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) +- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) +- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) +- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) +- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) +- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) +- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) + ## [1.4.1] ### Fixed - [#617] - IOS show ip ospf database router: Removed reliance on static spacing diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index bce70c1200..0000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,243 +0,0 @@ -# Changelog - -## [1.4.2](https://github.com/networktocode/ntc-templates/tree/1.4.2) (2020-05-25) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...1.4.2) - -**Fixed bugs:** - -- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) -- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) -- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) - -**Closed issues:** - -- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) -- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) -- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) -- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) -- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) -- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) -- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) -- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) -- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) -- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) -- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) -- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) - -**Merged pull requests:** - -- IOS: Allow deleted STATUS in show interfaces description [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) -- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) -- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) -- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) -- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) -- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) -- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) -- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) -- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) -- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) -- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) -- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) -- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) -- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) -- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) - -## [1.4.1] -### Fixed -- [#617] - IOS show ip ospf database router: Removed reliance on static spacing -- [#620] - NXOS show fex: Allow spaces in descriptions -- [#621] - Juniper show arp, etc.: Account for virtual chassis output (`{master:0}`) -- [#626] - ASA show vpn-sessiondb anyconnect: Require index, capture different format style -- [#650] - IOS show ip ospf database network: Change to allow one or more whitespace at the beginning of the line rather than 1 or more due to different output -- [#647] - ASA show route: Allow multiline route statements -- [#659] - IOS show mac address-table: Allow VLAN to be non-whitespace to allow N/A as an option - -### Added -- [#618] - IOS show ip ospf database network: New template -- [#619] - HP Comware display lldp neighbor information verbose: New template -- [#625] - ASA show vpn-sessiondb anyconnect: New template -- [#628] - Cisco WLC show mobility sum: New template -- [#631] - ASA show vpn-sessiondb anyconnect: Account for new data for assigned/public IP, group policy, and tunnel group -- [#629] - ASA show crypto ipsec sa - Add LOCAL_ADDRESS_NAME, CURRENT_PEER_NAME, DYNAMIC_PEER_NAME, LOCAL_CRYPTO_ENDPOINT_NAME, REMOTE_CRYPTO_ENDPOINT_NAME -- [#632] - ASA show nat: Added SERVICE_PROTOCOL -- [#635] - IOS show ip route summary: New template -- [#636] - ASA show vpn-sessiondb: New template -- [#638] - ASA show inventory: Capture PID and VID withoout serial -- [#637] - Cisco WLC show band select: New template - -## [1.4.0] -### Fixed -- [#548] IOS show mac address-table: Account for Total Mac Addresses -- [#565] IOS show license: Avoid trailing spaces for features -- [#575] NXOS show version: Match N5K PLATFORM & LAST_REBOOT captures split words -- [#574] ASA show failover: Account for new output (IPS) -- [#577] IOS show mac address-table: Account for Multicast Entries -- [#582] NXOS show interface transceiver: Remove requirement for TYPE -- [#585] IOS show mac address-table: Fixed ordering for TYPE2 -- [#587] IOS show interfaces switchport: Account for Vepa Enabled and Operational Dot1q Ethertype -- [#584] IOS show switch detail: Account for Mac persistency wait time -- [#589] EOS show ip route: Filldown for DISTANCE and METRIC - Added new data formats for VRF and NEXT_HOP and INTERFACE -- [#592] Fortinet get router info bgp summary: Account for more data, fix UP_DOWN regex from word to non-whitespace -- [#603] IOS show ip access-list: Update PROTOCOL to capture numbered protocols -- [610] Aruba os show arp: Fix tests to have the full output from the command and device -- [#608] Vyatta VyOS show interfaces: Capture IP_ADDRESS with or without netmask -- [#614] IOS show interfaces status: Remove reliance on whitespaces -### Added -- [#406] Testing: Add yamllint to test suite -- [#407] Testing: Add python black to test suite -- [#553] IOS show lldp neighbors: Added CAPABILITIES capture group -- [#554] IOS show logging: New template -- [#563] IOS show interfaces switchport: Added ADMIN_MDOE capture group -- [#562] ASA show logging: New template -- [#564] NXOS show interface transceiver: New template -- [#567] XR show arp: New template -- [#572] IOS show lldp neighbors detail: Added SERIAL capture group -- [#573] ASA show arp: New template -- [#578] Fortinet get system interface: New template -- [#576] Huawei VRP display lldp neighbor: New template -- [#581] Cisco WLC show vlan sum: New template -- [#580] XR show interfaces summary: New template -- [#590] IOS show ip bgp neighbors: New template -- [#591] NXOS show vdc: New template -- [#595] Checkpoint GAIA show arp dynamic all: New template -- [#593] IOS show module: New template -- [#597] Huwai VRP display version: New template -- [#602] NXOS show vrf interface: New template -- [#598] IOS show running-config partition access list: Added TCP_FLAG capture group -- [#598] IOS show running-config partition access list: Convert COMMENT to list -- [#598] IOS show running-config partition access list: Update PROTOCOL to include numbered protocols -- [#596] XR admin show environment power: New template -- [#594] Aruba os show arp: New template -- [#605] SG300 show version: New template -- [#604] NXOS show vlan: Added INTERFACES capture group, Require VLAN_ID -- [#600] IOS show mpls interfaces: New template -- [#599] IOS show etherchannel summary: New template -- [#611] NXOS show interface: Added MODE capture group -- [#612] NXOS show interfaces switchport: Added ACCESS_VLAN_NAME and NATIVE_VLAN_NAME capture groups -- [#609] HP Comware display ip interface: New template -- [#606] IOS show ip ospf database router: New template -### Changed -- [#406] Helpers: Added development_helpers cli utility to replace existing helpers -### Deprecated -### Removed - -## [1.3.0] -### Fixed -- [#401] ASA show route: Fix `UPTIME` to account for additional output formats -- [#445] IOS show ip eigrp topology: Fix `FD` to allow value to be "Inaccessible" -- [#465] ASA show failover: Add line to match FirePOWER module -- [#466] PAN show arp: Fix `MAC` capture group to account for entries that are "incomplete" -- [#471] Procurve show arp: Fix `IP` capture group to account for IP Adresses that are "Incomplete" -- [#471] Procurve show arp: Fix `PORT` capture group to account for interfaces that contain more than just digits -- [#474] IOS show ip mroute: Fix `Value UP_TIME`, `EXPIRATION_TIME`, `OUTGOING_MULTICAST_UP_TIME (\S+)`, and `OUTGOING_MULTICAST_EXPIRATION_TIME` to account for additional time formats -- [#479] NXOS show interface brief: Fix capturing `MODE` values of "pvlan" and "fabric" -- [#480] IOS show cdp neighbors: Allow for table data to have leading spaces but not require it -- [#485] IOS show mac-address-table: Allow for table data to have leading spaces but not require it (VLAN IDs are left adjusted so VLANs from 1000 on do not have a leading space) -- [#487] IOS show authentication sessions: Add match for lines separating output with a "-" in order to avoid capturing them as part of normal table data -- [#488] EOS show interfaces status: Fix `NAME` and `STATUS` capture groups to support disabled interfaces -- [#494] IOS show ip interface: Add matches for additional output lines -- [#495] IOS show ip interface: Add matches for additional output lines -- [#497] ASA show version: Fix `MAX_INTF` capture group to account for `Unlimited` -- [#497] ASA show version: Fix `HARDWARE` capture group to account for trailing commas -- [#499] ASA show inventory: Add matches for additional output lines -- [#503] IOS show standby: Fix output that spread across two lines -- [#505] NXOS show ip bgp neighbors: Fix matching entries accurately when neighbors are in a "down" state; move to `Continue.Record` to record on new entries instead of "last expected line" of output data -- [#516] IOS show ip interface: Add matches for additional output lines -- [#517] EOS show ip bgp summary: Fix capturing entries with more explicit match line -- [#519] XR show version - Fix `VERSION`, `UPTIME`, and `HARDWARE` to account for CRS syntax -- [#525] IOS: Added matches for vty timestamp lines -- [#532] IOS show snmp user: Fix capture groups to support all non-whitespace characters (e.g. "-" in string values) -- [#538] IOS show interfaces switchport: Added matches for additional output lines -### Added -- [#378] XR show ip route: Added `VRF` capture group -- [#391] WLC show client detail: Added new template -- [#419] ASA dir: Added `TOTAL_PERCENT_FREE` capture group for capturing percentage of bytes free -- [#425] WLC show exclusionlist: Added new template -- [#445] IOS show ip eigrp topology: Added `SOURCE` capture group -- [#446] ASA show asp drop: Added `FLOW_DROP_IPSEC_SELECTOR_FAILURE`, `FLOW_LAST_CLEARED`, `MP_SVC_BAD_LENGTH`, and `SSL_FIRST_RECORD_INVALID` capture groups -- [#464] Comware display counters bound interface: Added new template -- [#468] Firebox show arp: Added new template -- [#476] IOS show ip bgp summary: Added `UP_DOWN` capture group -- [#478] NXOS show ip interface brief: Added new template -- [#481] NXOS show ip bgp neighbor: Added `INBOUND_ROUTEMAP` and `OUTBOUND_ROUTEMAP` capture groups -- [#482] XR admin show inventory: Added new template -- [#486] NXOS show route-map: Added new template -- [#489] NXOS show forwarding ipv4 route: Added new template -- [#491] IOS show switch detail: Added new template -- [#492] XR show ipv6 neighbors: Added new template -- [#493] Fastiron show arp: Added new template -- [#496] EOS show ip helper-address: Added new template -- [#501] WLC show 802.11a|b: Added new template -- [#510] WLC show 802.11 cleanair config: Added new template -- [#512] VRP display interface brief: Added new template -- [#512] VRP display temperature: Added new template -- [#513] WLC show rf profile-summary: Added new template -- [#514] IOS show process memory sorted: Added new template -- [#515] WLC show inventory: Added new template -- [#518] Ciena software show: Added new template -- [#521] IOS show ip route: Added `VRF` capture group -- [#524] EOS show vrf: Added new template -- [#526] WLC show advanced 802.11 channel: Added new template -- [#527] IOS show interfaces switchport: Added `VOICE_VLAN` capture group -- [#527] NXOS show interfaces switchport: Added `VOICE_VLAN` capture group -- [#529] Fortios get router info bgp summary: Added new template -- [#531] NXOS show interface: Added `LAST_LINK_FLAPPED` capture group -- [#533] IOS show license: Added new template -- [#539] WLC show interface summary: Added new template -- [#540] IOS show environment temperature: Added new template -### Changed -- [#378] XR show ip route: Update index to allow syntax of "show ip route" or "show route" -- [#497] ASA show version: Change `SERIAL` to be a list for clusters -- [#503] IOS show standby: Update index to allow syntax including specifying an interface -- [#520] IOS show ip bgp summary: Update template and index to support VRF syntax -- [#520] EOS show ip bgp summary: Update template and index to support VRF syntax -- [#521] IOS show ip route: Add `Error` for unmatched lines to ensure accurate data collection -- [#522] EOS show bgp summary: Update index to allow syntax of "show bgp evpn summary" -- [#523] IOS show mac-address-table: Add `Error` for unmatched lines to ensure accurate data collection -- [#528] IOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data -- [#528] NXOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data -### Deprecated -### Removed - -## [1.2.1] -### Fixed -- Bumped `__version__` in `__init__` file -### Added -### Changed -### Deprecated -### Removed - -## [1.2.0] -### Fixed -- [#389] IOS-XR show interfaces: Fixed matching speed and duplex for bundle-ethernet interfaces -- [#442] IOS-XR show version: Fixed matching `build_host` field that uses both "Build" and "Built" keywords -- [#455][#456] Template files were inaccessable when installing from local directory; now works when using `pip -e` -### Added -- [#470] ASA show version: Add capturing `compiled_date` field - - -\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index 13f56b77ee..e5ed6d99ee 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.4.2" +__version__ = "1.5.0" From 96e31097168ad00ebcffbfd17d04e2f05ebbe144 Mon Sep 17 00:00:00 2001 From: David P <60117841+network-dave@users.noreply.github.com> Date: Sat, 20 Jun 2020 00:02:21 +0200 Subject: [PATCH 496/628] New Template: cisco_nxos_show_interface_description.textfsm (#758) --- ...co_nxos_show_interface_description.textfsm | 16 + templates/index | 1 + .../cisco_nxos_show_interface_description.raw | 131 +++++ .../cisco_nxos_show_interface_description.yml | 446 ++++++++++++++++++ 4 files changed, 594 insertions(+) create mode 100644 templates/cisco_nxos_show_interface_description.textfsm create mode 100644 tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.raw create mode 100644 tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.yml diff --git a/templates/cisco_nxos_show_interface_description.textfsm b/templates/cisco_nxos_show_interface_description.textfsm new file mode 100644 index 0000000000..74aae50935 --- /dev/null +++ b/templates/cisco_nxos_show_interface_description.textfsm @@ -0,0 +1,16 @@ +Value PORT (\S+) +Value TYPE (\S+) +Value SPEED (\d+G?) +Value DESCRIPTION (\S.*?) + +Start + ^Interface\s+Description\s*$$ -> Begin + +Begin + ^-+ + ^Port\s+Type\s+Speed\s+Description\s*$$ + ^Interface\s+Description\s*$$ + ^${PORT}\s+${TYPE}\s+${SPEED}(?:\s+${DESCRIPTION})?\s*$$ -> Record + ^${PORT}\s+(?:\s+${DESCRIPTION})?\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index f8ba99af8e..8a4e212907 100644 --- a/templates/index +++ b/templates/index @@ -239,6 +239,7 @@ cisco_nxos_show_configuration_session_summary.textfsm, .*, cisco_nxos, sh[[ow]] cisco_nxos_show_interface_transceiver_details.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]] cisco_nxos_show_environment_temperature.textfsm, .*, cisco_nxos, sh[[ow]] env[[ironment]] t[[emperature]] cisco_nxos_show_forwarding_ipv4_route.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] ipv4 ro[[ute]] +cisco_nxos_show_interface_description.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] desc[[ription]] cisco_nxos_show_interface_transceiver.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] cisco_nxos_show_interfaces_switchport.textfsm, .*, cisco_nxos, sh[[ow]] int[[erfaces]] sw[[itchport]] cisco_nxos_show_ip_dhcp_relay_address.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] r[[elay]] a[[ddress]] diff --git a/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.raw b/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.raw new file mode 100644 index 0000000000..7f38fb71ee --- /dev/null +++ b/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.raw @@ -0,0 +1,131 @@ + +------------------------------------------------------------------------------- +Interface Description +------------------------------------------------------------------------------- +mgmt0 -- + +------------------------------------------------------------------------------- +Port Type Speed Description +------------------------------------------------------------------------------- +Eth4/1 eth 10G -- +Eth4/2 eth 1000 -- +Eth4/3 eth 10G This is a test description +Eth4/4 eth 10G This is a test description +Eth4/5 eth 10G This is a test description +Eth4/6 eth 1000 This is a test description +Eth4/7 eth 10G This is a test description +Eth4/8 eth 1000 This is a test description +Eth4/9 eth 10G This is a test description +Eth4/10 eth 10G This is a test description +Eth4/11 eth 10G This is a test description +Eth4/12 eth 10G This is a test description +Eth4/13 eth 1000 This is a test description +Eth4/14 eth 10G -- +Eth4/15 eth 10G This is a test description +Eth4/16 eth 10G This is a test description +Eth4/17 eth 1000 This is a test description +Eth4/18 eth 10G This is a test description +Eth4/19 eth 1000 This is a test description +Eth4/20 eth 10G This is a test description +Eth4/21 eth 10G This is a test description +Eth4/22 eth 10G This is a test description +Eth4/23 eth 10G This is a test description +Eth4/24 eth 10G This is a test description +Eth6/1 eth 10G This is a description on line card 6 +Eth6/2 eth 10G This is a description on line card 6 +Eth6/3 eth 1000 This is a description on line card 6 +Eth6/4 eth 1000 This is a description on line card 6 +Eth6/5 eth 10G This is a description on line card 6 +Eth6/6 eth 1000 This is a description on line card 6 +Eth6/7 eth 10G This is a description on line card 6 +Eth6/8 eth 10G This is a description on line card 6 +Eth6/9 eth 10G This is a description on line card 6 +Eth6/10 eth 10G This is a description on line card 6 +Eth6/11 eth 10G This is a description on line card 6 +Eth6/12 eth 10G This is a description on line card 6 +Eth6/13 eth 10G This is a description on line card 6 +Eth6/14 eth 10G This is a description on line card 6 +Eth6/15 eth 10G This is a description on line card 6 +Eth6/16 eth 1000 This is a description on line card 6 +Eth6/17 eth 10G This is a description on line card 6 +Eth6/18 eth 1000 This is a description on line card 6 +Eth6/19 eth 10G This is a description on line card 6 +Eth6/20 eth 10G This is a description on line card 6 +Eth6/21 eth 10G This is a description on line card 6 +Eth6/22 eth 10G This is a description on line card 6 +Eth6/23 eth 10G This is a description on line card 6 +Eth6/24 eth 10G This is a description on line card 6 +Eth6/25 eth 1000 This is a description on line card 6 +Eth6/26 eth 1000 This is a description on line card 6 +Eth6/27 eth 10G This is a description on line card 6 +Eth6/28 eth 1000 This is a description on line card 6 +Eth6/29 eth 10G This is a description on line card 6 +Eth6/30 eth 10G This is a description on line card 6 +Eth6/31 eth 10G This is a description on line card 6 +Eth6/32 eth 10G This is a description on line card 6 +Eth6/33 eth 10G This is a description on line card 6 +Eth6/34 eth 1000 This is a description on line card 6 +Eth6/35 eth 10G This is a description on line card 6 +Eth6/36 eth 1000 This is a description on line card 6 +Eth6/37 eth 10G This is a description on line card 6 +Eth6/38 eth 10G This is a description on line card 6 +Eth6/39 eth 1000 This is a description on line card 6 +Eth6/40 eth 10G This is a description on line card 6 +Eth6/41 eth 10G This is a description on line card 6 +Eth6/42 eth 10G This is a description on line card 6 +Eth6/43 eth 10G This is a description on line card 6 +Eth6/44 eth 10G This is a description on line card 6 +Eth6/45 eth 10G This is a description on line card 6 +Eth6/46 eth 10G This is a description on line card 6 +Eth6/47 eth 10G This is a description on line card 6 +Eth6/48 eth 10G This is a description on line card 6 + +------------------------------------------------------------------------------- +Interface Description +------------------------------------------------------------------------------- +Po10 This is a portchannel +Po20 This is a portchannel +Po25 This is a portchannel +Po300 This is a portchannel + +------------------------------------------------------------------------------- +Interface Description +------------------------------------------------------------------------------- +Lo0 This is a loopback +Lo1 This is a loopback +Lo2 This is a loopback +Lo20 -- +Lo30 -- +Vlan1 -- +Vlan9 Nice little VLAN interface here +Vlan10 Nice little VLAN interface here +Vlan20 Nice little VLAN interface here +Vlan30 Nice little VLAN interface here + +------------------------------------------------------------------------------- +Port Type Speed Description +------------------------------------------------------------------------------- +Eth100/1/1 eth 1000 This is another description +Eth100/1/2 eth 1000 This is another description +Eth100/1/3 eth 1000 This is another description +Eth100/1/4 eth 1000 This is another description +Eth100/1/5 eth 1000 This is another description +Eth100/1/6 eth 1000 This is another description +Eth100/1/7 eth 1000 This is another description +Eth100/1/8 eth 1000 This is another description +Eth100/1/9 eth 1000 This is another description +Eth100/1/10 eth 1000 This is another description +Eth100/1/11 eth 1000 This is another description +Eth100/1/12 eth 1000 This is another description +Eth100/1/13 eth 1000 This is another description +Eth100/1/14 eth 1000 This is another description +Eth100/1/15 eth 1000 This is another description +Eth100/1/16 eth 1000 This is another description +Eth100/1/17 eth 1000 This is another description +Eth100/1/18 eth 1000 This is another description +Eth100/1/19 eth 1000 This is another description +Eth100/1/20 eth 1000 This is another description +Eth100/1/21 eth 1000 This is another description +Eth100/1/22 eth 1000 This is another description +Eth100/1/23 eth 1000 This is another description +Eth100/1/24 eth 1000 This is another description diff --git a/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.yml b/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.yml new file mode 100644 index 0000000000..a7eeae4783 --- /dev/null +++ b/tests/cisco_nxos/show_interface_description/cisco_nxos_show_interface_description.yml @@ -0,0 +1,446 @@ +--- +parsed_sample: + - port: "mgmt0" + type: "" + speed: "" + description: "--" + - port: "Eth4/1" + type: "eth" + speed: "10G" + description: "--" + - port: "Eth4/2" + type: "eth" + speed: "1000" + description: "--" + - port: "Eth4/3" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/4" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/5" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/6" + type: "eth" + speed: "1000" + description: "This is a test description" + - port: "Eth4/7" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/8" + type: "eth" + speed: "1000" + description: "This is a test description" + - port: "Eth4/9" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/10" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/11" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/12" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/13" + type: "eth" + speed: "1000" + description: "This is a test description" + - port: "Eth4/14" + type: "eth" + speed: "10G" + description: "--" + - port: "Eth4/15" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/16" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/17" + type: "eth" + speed: "1000" + description: "This is a test description" + - port: "Eth4/18" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/19" + type: "eth" + speed: "1000" + description: "This is a test description" + - port: "Eth4/20" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/21" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/22" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/23" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth4/24" + type: "eth" + speed: "10G" + description: "This is a test description" + - port: "Eth6/1" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/2" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/3" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/4" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/5" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/6" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/7" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/8" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/9" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/10" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/11" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/12" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/13" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/14" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/15" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/16" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/17" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/18" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/19" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/20" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/21" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/22" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/23" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/24" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/25" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/26" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/27" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/28" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/29" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/30" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/31" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/32" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/33" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/34" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/35" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/36" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/37" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/38" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/39" + type: "eth" + speed: "1000" + description: "This is a description on line card 6" + - port: "Eth6/40" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/41" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/42" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/43" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/44" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/45" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/46" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/47" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Eth6/48" + type: "eth" + speed: "10G" + description: "This is a description on line card 6" + - port: "Po10" + type: "" + speed: "" + description: "This is a portchannel" + - port: "Po20" + type: "" + speed: "" + description: "This is a portchannel" + - port: "Po25" + type: "" + speed: "" + description: "This is a portchannel" + - port: "Po300" + type: "" + speed: "" + description: "This is a portchannel" + - port: "Lo0" + type: "" + speed: "" + description: "This is a loopback" + - port: "Lo1" + type: "" + speed: "" + description: "This is a loopback" + - port: "Lo2" + type: "" + speed: "" + description: "This is a loopback" + - port: "Lo20" + type: "" + speed: "" + description: "--" + - port: "Lo30" + type: "" + speed: "" + description: "--" + - port: "Vlan1" + type: "" + speed: "" + description: "--" + - port: "Vlan9" + type: "" + speed: "" + description: "Nice little VLAN interface here" + - port: "Vlan10" + type: "" + speed: "" + description: "Nice little VLAN interface here" + - port: "Vlan20" + type: "" + speed: "" + description: "Nice little VLAN interface here" + - port: "Vlan30" + type: "" + speed: "" + description: "Nice little VLAN interface here" + - port: "Eth100/1/1" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/2" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/3" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/4" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/5" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/6" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/7" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/8" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/9" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/10" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/11" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/12" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/13" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/14" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/15" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/16" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/17" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/18" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/19" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/20" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/21" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/22" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/23" + type: "eth" + speed: "1000" + description: "This is another description" + - port: "Eth100/1/24" + type: "eth" + speed: "1000" + description: "This is another description" From c0313c87cb230aee9f92daca32ed25c5338724df Mon Sep 17 00:00:00 2001 From: David P <60117841+network-dave@users.noreply.github.com> Date: Sat, 20 Jun 2020 00:13:13 +0200 Subject: [PATCH 497/628] New Template: cisco_nxos_show_ip_interface.textfsm (#761) --- .../cisco_nxos_show_ip_interface.textfsm | 106 ++++ templates/index | 1 + .../cisco_nxos_show_ip_interface.raw | 244 ++++++++ .../cisco_nxos_show_ip_interface.yml | 548 ++++++++++++++++++ 4 files changed, 899 insertions(+) create mode 100644 templates/cisco_nxos_show_ip_interface.textfsm create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.raw create mode 100644 tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml diff --git a/templates/cisco_nxos_show_ip_interface.textfsm b/templates/cisco_nxos_show_ip_interface.textfsm new file mode 100644 index 0000000000..3c681015a5 --- /dev/null +++ b/templates/cisco_nxos_show_ip_interface.textfsm @@ -0,0 +1,106 @@ +Value Filldown VRF_NAME (\S+) +Value Required INTERFACE (\S+) +Value PROTOCOL_STATUS (\w+) +Value LINK_STATUS (\w+) +Value ADMIN_STATUS (\w+) +Value PRIMARY_IP_ADDRESS (\S+) +Value PRIMARY_IP_SUBNET (\S+) +Value PRIMARY_BROADCAST_ADDRESS (\S+) +Value List SECONDARY_IP_ADDRESS (\S+) +Value List SECONDARY_IP_SUBNET (\S+) +Value MULTICAST_GROUPS (224\..*?) +Value MTU (\d+) +Value ROUTE_PREFERENCE (\d+) +Value ROUTE_PREFERENCE_TAG (\d+) +Value PROXY_ARP (\S+) +Value LOCAL_PROXY_ARP (\S+) +Value MULTICAST_ROUTING (\S+) +Value ICMP_REDIRECTS (\S+) +Value DIRECTED_BROADCAST (\S+) +Value IP_FORWARDING (\S+) +Value ICMP_UNREACHABLES (\S+) +Value ICMP_PORT_UNREACHABLE (\S+) +Value URPF (\S+) +Value LOAD_SHARING (\S+) +Value LAST_RESET (\S+) +Value UNICAST_PACKETS_SENT (\d+) +Value UNICAST_PACKETS_RECEIVED (\d+) +Value UNICAST_PACKETS_FORWARDED (\d+) +Value UNICAST_PACKETS_ORIGINATED (\d+) +Value UNICAST_PACKETS_CONSUMED (\d+) +Value UNICAST_BYTES_SENT (\d+) +Value UNICAST_BYTES_RECEIVED (\d+) +Value UNICAST_BYTES_FORWARDED (\d+) +Value UNICAST_BYTES_ORIGINATED (\d+) +Value UNICAST_BYTES_CONSUMED (\d+) +Value MULTICAST_PACKETS_SENT (\d+) +Value MULTICAST_PACKETS_RECEIVED (\d+) +Value MULTICAST_PACKETS_FORWARDED (\d+) +Value MULTICAST_PACKETS_ORIGINATED (\d+) +Value MULTICAST_PACKETS_CONSUMED (\d+) +Value MULTICAST_BYTES_SENT (\d+) +Value MULTICAST_BYTES_RECEIVED (\d+) +Value MULTICAST_BYTES_FORWARDED (\d+) +Value MULTICAST_BYTES_ORIGINATED (\d+) +Value MULTICAST_BYTES_CONSUMED (\d+) +Value BROADCAST_PACKETS_SENT (\d+) +Value BROADCAST_PACKETS_RECEIVED (\d+) +Value BROADCAST_PACKETS_FORWARDED (\d+) +Value BROADCAST_PACKETS_ORIGINATED (\d+) +Value BROADCAST_PACKETS_CONSUMED (\d+) +Value BROADCAST_BYTES_SENT (\d+) +Value BROADCAST_BYTES_RECEIVED (\d+) +Value BROADCAST_BYTES_FORWARDED (\d+) +Value BROADCAST_BYTES_ORIGINATED (\d+) +Value BROADCAST_BYTES_CONSUMED (\d+) +Value LABELED_PACKETS_SENT (\d+) +Value LABELED_PACKETS_RECEIVED (\d+) +Value LABELED_PACKETS_FORWARDED (\d+) +Value LABELED_PACKETS_ORIGINATED (\d+) +Value LABELED_PACKETS_CONSUMED (\d+) +Value LABELED_BYTES_SENT (\d+) +Value LABELED_BYTES_RECEIVED (\d+) +Value LABELED_BYTES_FORWARDED (\d+) +Value LABELED_BYTES_ORIGINATED (\d+) +Value LABELED_BYTES_CONSUMED (\d+) +Value WCCP_REDIRECT_OUTBOUND (\S+) +Value WCCP_REDIRECT_INBOUND (\S+) +Value WCCP_REDIRECT_EXCLUDE (\S+) + +Start + ^IP\s+Interface\s+Status\s+for\s+VRF\s+\"${VRF_NAME}\"\s*$$ + ^${INTERFACE},.*protocol-${PROTOCOL_STATUS}\/link-${LINK_STATUS}\/admin-${ADMIN_STATUS},.*$$ + ^\s+IP\s+address:\s+${PRIMARY_IP_ADDRESS},\s+IP\s+subnet:\s+${PRIMARY_IP_SUBNET}\s*$$ + # Secondary IP addresses are stored as a list + ^\s+IP\s+address:\s+${SECONDARY_IP_ADDRESS},\s+IP\s+subnet:\s+${SECONDARY_IP_SUBNET}\s+secondary\s*$$ + ^\s+IP\s+broadcast\s+address:\s+${PRIMARY_BROADCAST_ADDRESS}\s*$$ + ^\s+IP\s+multicast\s+groups\s+locally\s+joined:.*$$ + # Multiple multicast groups are on the same line so we can't make a list out of those + ^\s+${MULTICAST_GROUPS}\s*$$ + ^\s+IP\s+MTU:\s+${MTU}.*$$ + ^\s+IP\s+primary\s+address\s+route-preference:\s+${ROUTE_PREFERENCE}, tag:\s+${ROUTE_PREFERENCE_TAG}\s*$$ + ^\s+IP\s+proxy\s+ARP\s*:\s+${PROXY_ARP}\s*$$ + ^\s+IP\s+Local\s+Proxy\s+ARP\s*:\s+${LOCAL_PROXY_ARP}\s*$$ + ^\s+IP\s+multicast\s+routing:\s+${MULTICAST_ROUTING}\s*$$ + ^\s+IP\s+icmp\s+redirects:\s+${ICMP_REDIRECTS}\s*$$ + ^\s+IP\s+directed-broadcast:\s+${DIRECTED_BROADCAST}(,.*|\s*)$$ + ^\s+IP\s+Forwarding:\s+${IP_FORWARDING}(,.*|\s*)$$ + ^\s+IP\s+icmp\s+unreachables \(except port\):\s+${ICMP_UNREACHABLES}\s*$$ + ^\s+IP\s+icmp\s+port-unreachable:\s+${ICMP_PORT_UNREACHABLE}\s*$$ + ^\s+IP\s+unicast\s+reverse\s+path\s+forwarding:\s+${URPF}\s*$$ + ^\s+IP\s+load\s+sharing:\s+${LOAD_SHARING}\s*$$ + ^\s+IP\s+interface\s+statistics\s+last\s+reset:\s+${LAST_RESET}\s*$$ + ^\s+IP\s+interface\s+software\s+stats:.*$$ + ^\s+Unicast\s+packets\s+:\s+${UNICAST_PACKETS_SENT}\/${UNICAST_PACKETS_RECEIVED}\/${UNICAST_PACKETS_FORWARDED}\/${UNICAST_PACKETS_ORIGINATED}\/${UNICAST_PACKETS_CONSUMED}\s*$$ + ^\s+Unicast\s+bytes\s+:\s+${UNICAST_BYTES_SENT}\/${UNICAST_BYTES_RECEIVED}\/${UNICAST_BYTES_FORWARDED}\/${UNICAST_BYTES_ORIGINATED}\/${UNICAST_BYTES_CONSUMED}\s*$$ + ^\s+Multicast\s+packets\s+:\s+${MULTICAST_PACKETS_SENT}\/${MULTICAST_PACKETS_RECEIVED}\/${MULTICAST_PACKETS_FORWARDED}\/${MULTICAST_PACKETS_ORIGINATED}\/${MULTICAST_PACKETS_CONSUMED}\s*$$ + ^\s+Multicast\s+bytes\s+:\s+${MULTICAST_BYTES_SENT}\/${MULTICAST_BYTES_RECEIVED}\/${MULTICAST_BYTES_FORWARDED}\/${MULTICAST_BYTES_ORIGINATED}\/${MULTICAST_BYTES_CONSUMED}\s*$$ + ^\s+Broadcast\s+packets\s+:\s+${BROADCAST_PACKETS_SENT}\/${BROADCAST_PACKETS_RECEIVED}\/${BROADCAST_PACKETS_FORWARDED}\/${BROADCAST_PACKETS_ORIGINATED}\/${BROADCAST_PACKETS_CONSUMED}\s*$$ + ^\s+Broadcast\s+bytes\s+:\s+${BROADCAST_BYTES_SENT}\/${BROADCAST_BYTES_RECEIVED}\/${BROADCAST_BYTES_FORWARDED}\/${BROADCAST_BYTES_ORIGINATED}\/${BROADCAST_BYTES_CONSUMED}\s*$$ + ^\s+Labeled\s+packets\s+:\s+${LABELED_PACKETS_SENT}\/${LABELED_PACKETS_RECEIVED}\/${LABELED_PACKETS_FORWARDED}\/${LABELED_PACKETS_ORIGINATED}\/${LABELED_PACKETS_CONSUMED}\s*$$ + ^\s+Labeled\s+bytes\s+:\s+${LABELED_BYTES_SENT}\/${LABELED_BYTES_RECEIVED}\/${LABELED_BYTES_FORWARDED}\/${LABELED_BYTES_ORIGINATED}\/${LABELED_BYTES_CONSUMED}\s*$$ + ^\s+WCCP\s+Redirect\s+outbound:\s+${WCCP_REDIRECT_OUTBOUND}\s*$$ + ^\s+WCCP\s+Redirect\s+inbound:\s+${WCCP_REDIRECT_INBOUND}\s*$$ + ^\s+WCCP\s+Redirect\s+exclude:\s+${WCCP_REDIRECT_EXCLUDE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 8a4e212907..bd7c0d934e 100644 --- a/templates/index +++ b/templates/index @@ -268,6 +268,7 @@ cisco_nxos_show_vrf_interface.textfsm, .*, cisco_nxos, sh[[ow]] vrf int[[erface] cisco_nxos_show_access-lists.textfsm, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] cisco_nxos_show_environments.textfsm, .*, cisco_nxos, sh[[ow]] envi[[ronments]] cisco_nxos_show_ip_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] ip ad[[jacency]] +cisco_nxos_show_ip_interface.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] cisco_nxos_show_inventory.textfsm, .*, cisco_nxos, sh[[ow]] inv[[entory]] cisco_nxos_show_route-map.textfsm, .*, cisco_nxos, sh[[ow]] route-m[[ap]] diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.raw b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.raw new file mode 100644 index 0000000000..7109239bda --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.raw @@ -0,0 +1,244 @@ +IP Interface Status for VRF "default" +Vlan10, Interface status: protocol-up/link-up/admin-up, iod: 92, + IP address: 172.20.254.36, IP subnet: 172.20.254.32/27 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.100 + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 5356711/10702083/0/5356711/10701967 + Unicast bytes : 1467196398/1513796078/0/1467196398/1513730150 + Multicast packets : 0/74606257/0/0/63270503 + Multicast bytes : 0/6893838000/0/0/6327050300 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +Vlan100, Interface status: protocol-up/link-up/admin-up, iod: 276, + IP address: 172.16.100.69, IP subnet: 172.16.100.0/25 + IP address: 172.16.69.209, IP subnet: 172.16.69.192/26 secondary + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.100 + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 363766868/434448766/1840111/361926757/435257628 + Unicast bytes : 60618126417/60180339215/197780979/60420345438/60178592743 + Multicast packets : 0/89412234/0/0/60216211 + Multicast bytes : 0/7526994055/0/0/6021621100 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +loopback10, Interface status: protocol-up/link-up/admin-up, iod: 137, + IP address: 10.255.255.4, IP subnet: 10.255.255.4/32 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1 + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 0/0/0/0/13367169 + Unicast bytes : 0/0/0/0/3595682011 + Multicast packets : 7398420/0/0/7398420/0 + Multicast bytes : 344137656/0/0/344137656/0 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +port-channel10, Interface status: protocol-up/link-up/admin-up, iod: 134, + IP address: 172.20.200.14, IP subnet: 172.20.200.12/30 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.22 224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1 + IP MTU: 9216 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 1756/605867934/0/1756/611444114 + Unicast bytes : 102167/33930088347/0/102167/35555680505 + Multicast packets : 72332825/171053548/0/72332825/171053548 + Multicast bytes : 4984881481/8466822983/0/4984881481/8275579923 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +Ethernet1/1, Interface status: protocol-up/link-up/admin-up, iod: 190, + IP address: 172.20.200.30, IP subnet: 172.20.200.28/30 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1 + IP MTU: 9216 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 401266/4198994/3316/397950/3943939 + Unicast bytes : 27457805/1414570071/831793/26626012/1462629148 + Multicast packets : 48587852/50519381/0/48587852/50519381 + Multicast bytes : 5099368774/4444320435/0/5099368774/4424267143 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled +Ethernet1/2, Interface status: protocol-up/link-up/admin-up, iod: 194, + IP address: 172.20.200.46, IP subnet: 172.20.200.44/30 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: + 224.0.0.20 224.0.0.10 224.0.0.2 224.0.0.1 + IP MTU: 9216 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: enabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 113285373/23742404/556/113284817/5044435 + Unicast bytes : 50997929593/7277400421/176910/50997752683/1994162729 + Multicast packets : 54591467/48609377/0/54591467/48609377 + Multicast bytes : 7951012097/3087773014/0/7951012097/3085864982 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled + +IP Interface Status for VRF "management" +mgmt0, Interface status: protocol-up/link-up/admin-up, iod: 127, + IP address: 10.46.16.122, IP subnet: 10.46.16.0/24 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: none + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: disabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 578811674/517277696/0/578811674/517277696 + Unicast bytes : 369383530677/201158028122/0/369383530677/201141114223 + Multicast packets : 0/0/0/0/0 + Multicast bytes : 0/0/0/0/0 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled + +IP Interface Status for VRF "TEST" +Ethernet2/1, Interface status: protocol-up/link-up/admin-up, iod: 144, + IP address: 172.20.1.94, IP subnet: 172.20.1.0/24 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: none + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 169393306/169195583/0/169393306/169195583 + Unicast bytes : 13890251052/10828517312/0/13890251052/10828517312 + Multicast packets : 0/0/0/0/0 + Multicast bytes : 0/0/0/0/0 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled diff --git a/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml new file mode 100644 index 0000000000..1b2acdd7a6 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface/cisco_nxos_show_ip_interface.yml @@ -0,0 +1,548 @@ +--- +parsed_sample: + - vrf_name: "default" + interface: "Vlan10" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.20.254.36" + primary_ip_subnet: "172.20.254.32/27" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.100" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "5356711" + unicast_packets_received: "10702083" + unicast_packets_forwarded: "0" + unicast_packets_originated: "5356711" + unicast_packets_consumed: "10701967" + unicast_bytes_sent: "1467196398" + unicast_bytes_received: "1513796078" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "1467196398" + unicast_bytes_consumed: "1513730150" + multicast_packets_sent: "0" + multicast_packets_received: "74606257" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "63270503" + multicast_bytes_sent: "0" + multicast_bytes_received: "6893838000" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "6327050300" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "default" + interface: "Vlan100" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.16.100.69" + primary_ip_subnet: "172.16.100.0/25" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: + - "172.16.69.209" + secondary_ip_subnet: + - "172.16.69.192/26" + multicast_groups: "224.0.0.100" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "363766868" + unicast_packets_received: "434448766" + unicast_packets_forwarded: "1840111" + unicast_packets_originated: "361926757" + unicast_packets_consumed: "435257628" + unicast_bytes_sent: "60618126417" + unicast_bytes_received: "60180339215" + unicast_bytes_forwarded: "197780979" + unicast_bytes_originated: "60420345438" + unicast_bytes_consumed: "60178592743" + multicast_packets_sent: "0" + multicast_packets_received: "89412234" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "60216211" + multicast_bytes_sent: "0" + multicast_bytes_received: "7526994055" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "6021621100" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "default" + interface: "loopback10" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "10.255.255.4" + primary_ip_subnet: "10.255.255.4/32" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "enabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "0" + unicast_packets_received: "0" + unicast_packets_forwarded: "0" + unicast_packets_originated: "0" + unicast_packets_consumed: "13367169" + unicast_bytes_sent: "0" + unicast_bytes_received: "0" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "0" + unicast_bytes_consumed: "3595682011" + multicast_packets_sent: "7398420" + multicast_packets_received: "0" + multicast_packets_forwarded: "0" + multicast_packets_originated: "7398420" + multicast_packets_consumed: "0" + multicast_bytes_sent: "344137656" + multicast_bytes_received: "0" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "344137656" + multicast_bytes_consumed: "0" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "default" + interface: "port-channel10" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.20.200.14" + primary_ip_subnet: "172.20.200.12/30" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.22 224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1" + mtu: "9216" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "1756" + unicast_packets_received: "605867934" + unicast_packets_forwarded: "0" + unicast_packets_originated: "1756" + unicast_packets_consumed: "611444114" + unicast_bytes_sent: "102167" + unicast_bytes_received: "33930088347" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "102167" + unicast_bytes_consumed: "35555680505" + multicast_packets_sent: "72332825" + multicast_packets_received: "171053548" + multicast_packets_forwarded: "0" + multicast_packets_originated: "72332825" + multicast_packets_consumed: "171053548" + multicast_bytes_sent: "4984881481" + multicast_bytes_received: "8466822983" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "4984881481" + multicast_bytes_consumed: "8275579923" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "default" + interface: "Ethernet1/1" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.20.200.30" + primary_ip_subnet: "172.20.200.28/30" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.13 224.0.0.10 224.0.0.2 224.0.0.1" + mtu: "9216" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "401266" + unicast_packets_received: "4198994" + unicast_packets_forwarded: "3316" + unicast_packets_originated: "397950" + unicast_packets_consumed: "3943939" + unicast_bytes_sent: "27457805" + unicast_bytes_received: "1414570071" + unicast_bytes_forwarded: "831793" + unicast_bytes_originated: "26626012" + unicast_bytes_consumed: "1462629148" + multicast_packets_sent: "48587852" + multicast_packets_received: "50519381" + multicast_packets_forwarded: "0" + multicast_packets_originated: "48587852" + multicast_packets_consumed: "50519381" + multicast_bytes_sent: "5099368774" + multicast_bytes_received: "4444320435" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "5099368774" + multicast_bytes_consumed: "4424267143" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "default" + interface: "Ethernet1/2" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.20.200.46" + primary_ip_subnet: "172.20.200.44/30" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "224.0.0.20 224.0.0.10 224.0.0.2 224.0.0.1" + mtu: "9216" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "enabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "113285373" + unicast_packets_received: "23742404" + unicast_packets_forwarded: "556" + unicast_packets_originated: "113284817" + unicast_packets_consumed: "5044435" + unicast_bytes_sent: "50997929593" + unicast_bytes_received: "7277400421" + unicast_bytes_forwarded: "176910" + unicast_bytes_originated: "50997752683" + unicast_bytes_consumed: "1994162729" + multicast_packets_sent: "54591467" + multicast_packets_received: "48609377" + multicast_packets_forwarded: "0" + multicast_packets_originated: "54591467" + multicast_packets_consumed: "48609377" + multicast_bytes_sent: "7951012097" + multicast_bytes_received: "3087773014" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "7951012097" + multicast_bytes_consumed: "3085864982" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "management" + interface: "mgmt0" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "10.46.16.122" + primary_ip_subnet: "10.46.16.0/24" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "disabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "578811674" + unicast_packets_received: "517277696" + unicast_packets_forwarded: "0" + unicast_packets_originated: "578811674" + unicast_packets_consumed: "517277696" + unicast_bytes_sent: "369383530677" + unicast_bytes_received: "201158028122" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "369383530677" + unicast_bytes_consumed: "201141114223" + multicast_packets_sent: "0" + multicast_packets_received: "0" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "0" + multicast_bytes_sent: "0" + multicast_bytes_received: "0" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "0" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf_name: "TEST" + interface: "Ethernet2/1" + protocol_status: "up" + link_status: "up" + admin_status: "up" + primary_ip_address: "172.20.1.94" + primary_ip_subnet: "172.20.1.0/24" + primary_broadcast_address: "255.255.255.255" + secondary_ip_address: [] + secondary_ip_subnet: [] + multicast_groups: "" + mtu: "1500" + route_preference: "0" + route_preference_tag: "0" + proxy_arp: "disabled" + local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "enabled" + directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachable: "enabled" + urpf: "none" + load_sharing: "none" + last_reset: "never" + unicast_packets_sent: "169393306" + unicast_packets_received: "169195583" + unicast_packets_forwarded: "0" + unicast_packets_originated: "169393306" + unicast_packets_consumed: "169195583" + unicast_bytes_sent: "13890251052" + unicast_bytes_received: "10828517312" + unicast_bytes_forwarded: "0" + unicast_bytes_originated: "13890251052" + unicast_bytes_consumed: "10828517312" + multicast_packets_sent: "0" + multicast_packets_received: "0" + multicast_packets_forwarded: "0" + multicast_packets_originated: "0" + multicast_packets_consumed: "0" + multicast_bytes_sent: "0" + multicast_bytes_received: "0" + multicast_bytes_forwarded: "0" + multicast_bytes_originated: "0" + multicast_bytes_consumed: "0" + broadcast_packets_sent: "0" + broadcast_packets_received: "0" + broadcast_packets_forwarded: "0" + broadcast_packets_originated: "0" + broadcast_packets_consumed: "0" + broadcast_bytes_sent: "0" + broadcast_bytes_received: "0" + broadcast_bytes_forwarded: "0" + broadcast_bytes_originated: "0" + broadcast_bytes_consumed: "0" + labeled_packets_sent: "0" + labeled_packets_received: "0" + labeled_packets_forwarded: "0" + labeled_packets_originated: "0" + labeled_packets_consumed: "0" + labeled_bytes_sent: "0" + labeled_bytes_received: "0" + labeled_bytes_forwarded: "0" + labeled_bytes_originated: "0" + labeled_bytes_consumed: "0" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" From 70dfeafa7ded79de6ddc32a5eb26bd7ed154b2dc Mon Sep 17 00:00:00 2001 From: David P <60117841+network-dave@users.noreply.github.com> Date: Tue, 23 Jun 2020 15:44:46 +0200 Subject: [PATCH 498/628] New Template: cisco_nxos_show_license_usage.textfsm (#759) --- .../cisco_nxos_show_license_usage.textfsm | 18 +++++ templates/index | 1 + .../cisco_nxos_show_license_usage.raw | 16 +++++ .../cisco_nxos_show_license_usage.yml | 68 +++++++++++++++++++ 4 files changed, 103 insertions(+) create mode 100644 templates/cisco_nxos_show_license_usage.textfsm create mode 100644 tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.raw create mode 100644 tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.yml diff --git a/templates/cisco_nxos_show_license_usage.textfsm b/templates/cisco_nxos_show_license_usage.textfsm new file mode 100644 index 0000000000..5507da711a --- /dev/null +++ b/templates/cisco_nxos_show_license_usage.textfsm @@ -0,0 +1,18 @@ +Value FEATURE (\S+) +Value INSTALLED (Yes|No) +Value LICENSE_COUNT (\d+|-) +Value STATUS (Unused|In\s+use) +Value EXPIRY_DATE (\S+|\s*?) +Value COMMENTS (.+) + +Start + ^Feature\s+Ins\s+Lic\s+Status\s+Expiry\s+Date\s+Comments -> Begin + ^\s*$$ + ^. -> Error + +Begin + ^\s+Count + ^${FEATURE}\s+${INSTALLED}\s+${LICENSE_COUNT}\s+${STATUS}\s+?${EXPIRY_DATE}\s+${COMMENTS}\s*$$ -> Record + ^-+\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index bd7c0d934e..3a309e642b 100644 --- a/templates/index +++ b/templates/index @@ -263,6 +263,7 @@ cisco_nxos_show_ip_bgp_summary.textfsm, .*, cisco_nxos, sh[[ow]] ip b[[gp]] s[[u cisco_nxos_show_lldp_neighbors.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] cisco_nxos_show_cdp_neighbors.textfsm, .*, cisco_nxos, sh[[ow]] cd[[p]] neig[[hbors]] cisco_nxos_show_ip_arp_detail.textfsm, .*, cisco_nxos, sh[[ow]] i[[p]] a[[rp]] det[[ail]] +cisco_nxos_show_license_usage.textfsm, .*, cisco_nxos, sh[[ow]] lic[[ense]] us[[age]] cisco_nxos_show_processes_cpu.textfsm, .*, cisco_nxos, sh[[ow]] proc[[esses]] c[[pu]] cisco_nxos_show_vrf_interface.textfsm, .*, cisco_nxos, sh[[ow]] vrf int[[erface]] cisco_nxos_show_access-lists.textfsm, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] diff --git a/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.raw b/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.raw new file mode 100644 index 0000000000..8a3f6cfb17 --- /dev/null +++ b/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.raw @@ -0,0 +1,16 @@ + +Feature Ins Lic Status Expiry Date Comments + Count +-------------------------------------------------------------------------------- +MPLS_PKG No - Unused Grace 10D 1H +STORAGE-ENT No - Unused Grace 20D 6H +VDC_LICENSES No 0 Unused - +ENTERPRISE_PKG No - Unused - +FCOE-N7K-F132XP No 0 Unused - +FCOE-N7K-F248XP No 0 Unused - +ENHANCED_LAYER2_PKG No - Unused Grace 20D 6H +SCALABLE_SERVICES_PKG No - Unused - +TRANSPORT_SERVICES_PKG Yes - Unused Never - +LAN_ADVANCED_SERVICES_PKG Yes - Unused Never - +LAN_ENTERPRISE_SERVICES_PKG Yes - In use Never - +-------------------------------------------------------------------------------- diff --git a/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.yml b/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.yml new file mode 100644 index 0000000000..110c7b6a70 --- /dev/null +++ b/tests/cisco_nxos/show_license_usage/cisco_nxos_show_license_usage.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - feature: "MPLS_PKG" + installed: "No" + license_count: "-" + status: "Unused" + expiry_date: "" + comments: "Grace 10D 1H" + - feature: "STORAGE-ENT" + installed: "No" + license_count: "-" + status: "Unused" + expiry_date: "" + comments: "Grace 20D 6H" + - feature: "VDC_LICENSES" + installed: "No" + license_count: "0" + status: "Unused" + expiry_date: "" + comments: "-" + - feature: "ENTERPRISE_PKG" + installed: "No" + license_count: "-" + status: "Unused" + expiry_date: "" + comments: "-" + - feature: "FCOE-N7K-F132XP" + installed: "No" + license_count: "0" + status: "Unused" + expiry_date: "" + comments: "-" + - feature: "FCOE-N7K-F248XP" + installed: "No" + license_count: "0" + status: "Unused" + expiry_date: "" + comments: "-" + - feature: "ENHANCED_LAYER2_PKG" + installed: "No" + license_count: "-" + status: "Unused" + expiry_date: "" + comments: "Grace 20D 6H" + - feature: "SCALABLE_SERVICES_PKG" + installed: "No" + license_count: "-" + status: "Unused" + expiry_date: "" + comments: "-" + - feature: "TRANSPORT_SERVICES_PKG" + installed: "Yes" + license_count: "-" + status: "Unused" + expiry_date: "Never" + comments: "-" + - feature: "LAN_ADVANCED_SERVICES_PKG" + installed: "Yes" + license_count: "-" + status: "Unused" + expiry_date: "Never" + comments: "-" + - feature: "LAN_ENTERPRISE_SERVICES_PKG" + installed: "Yes" + license_count: "-" + status: "In use" + expiry_date: "Never" + comments: "-" From fdeea454fef43063f9cf30e81aae5689bddf192f Mon Sep 17 00:00:00 2001 From: David P <60117841+network-dave@users.noreply.github.com> Date: Tue, 23 Jun 2020 15:45:28 +0200 Subject: [PATCH 499/628] New Template: cisco_nxos_show_hsrp_all.textfsm (#760) --- templates/cisco_nxos_show_hsrp_all.textfsm | 55 +++ templates/index | 1 + .../cisco_nxos_show_hsrp_all.raw | 184 +++++++++ .../cisco_nxos_show_hsrp_all.yml | 353 ++++++++++++++++++ 4 files changed, 593 insertions(+) create mode 100644 templates/cisco_nxos_show_hsrp_all.textfsm create mode 100644 tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.raw create mode 100644 tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.yml diff --git a/templates/cisco_nxos_show_hsrp_all.textfsm b/templates/cisco_nxos_show_hsrp_all.textfsm new file mode 100644 index 0000000000..a4948fda43 --- /dev/null +++ b/templates/cisco_nxos_show_hsrp_all.textfsm @@ -0,0 +1,55 @@ +# Object names are based on pyATS/Genie parser (boolean values are left out) +Value INTERFACE (\S+) +Value VERSION (\d+) +Value GROUP_NUMBER (\d+) +Value PRIORITY (\d+) +Value HSRP_ROUTER_STATE (\S+) +Value CONFIGURED_PRIORITY (\d+) +Value PREEMPT (.*) +Value LOWER_FWD_TRESHOLD (\d+) +Value UPPER_FWD_TRESHOLD (\d+) +# Value TIMERS_HELLO_MSEC_FLAG +# Value TIMERS_HOLD_MSEC_FLAG +Value TIMERS_HELLO_SEC (\d+) +Value TIMERS_HOLD_SEC (\d+) +Value PRIMARY_IPV4_ADDRESS (\S+) +# Value VIRTUAL_IP_LEARN +Value SECONDARY_IPV4_ADDRESS (\S+) +Value ACTIVE_ROUTER (\S+) +Value ACTIVE_EXPIRE (\d+\.\d+) +Value ACTIVE_IP_ADDRESS (\S+) +Value ACTIVE_PRIORITY (\d+) +Value STANDBY_ROUTER (\S+) +Value STANDBY_EXPIRE (\d+\.\d+) +Value STANDBY_IP_ADDRESS (\S+) +Value STANDBY_PRIORITY (\d+) +Value AUTHENTICATION (\S+) +Value VIRTUAL_MAC_ADDRESS (\S+) +Value VIRTUAL_MAC_ADDRESS_STATUS (.*) +Value NUM_STATE_CHANGES (\d+) +Value LAST_STATE_CHANGE (\S+) +Value SESSION_NAME (\S+) + +Start + ^${INTERFACE}\s+-\s+Group\s${GROUP_NUMBER}\s+\(HSRP-V${VERSION}\)\s\(IPv[46]\)\s*$$ + ^\s+Local\s+state\s+is\s+${HSRP_ROUTER_STATE},\s+priority\s+${PRIORITY}\s+\(Cfged\s+${CONFIGURED_PRIORITY}\),\s+${PREEMPT}\s*$$ + ^\s+.*lower:\s+${LOWER_FWD_TRESHOLD}\s+upper:\s+${UPPER_FWD_TRESHOLD}\s*$$ + ^\s+Preemption\s+Delay.*$$ + ^\s+Hellotime\s+${TIMERS_HELLO_SEC}.*holdtime\s+${TIMERS_HOLD_SEC}.*$$ + ^\s+Next\s+hello\s+sent.*$$ + ^\s+Virtual\s+IP\s+address\s+is\s+${PRIMARY_IPV4_ADDRESS}\s+.*$$ + ^\s+Secondary\s+Virtual\s+IP\s+address\s+is\s+${SECONDARY_IPV4_ADDRESS}\s*$$ + ^\s+Active\s+router\s+is\s+${ACTIVE_ROUTER}\s*$$ + ^\s+Active\s+router\s+is\s+${ACTIVE_IP_ADDRESS}\s?,\s+priority\s+${ACTIVE_PRIORITY}\s+expires\s+in\s+${ACTIVE_EXPIRE}.*$$ + ^\s+Standby\s+router\s+is\s+${STANDBY_ROUTER}\s*$$ + ^\s+Standby\s+router\s+is\s+${STANDBY_IP_ADDRESS}\s?,\s+priority\s+${STANDBY_PRIORITY}\s+expires\s+in\s+${STANDBY_EXPIRE}.*$$ + ^\s+Authentication\s+${AUTHENTICATION},.*$$ + ^\s+Virtual\s+mac\s+address\s+is\s+${VIRTUAL_MAC_ADDRESS} \(${VIRTUAL_MAC_ADDRESS_STATUS}\)\s*$$ + ^\s+${NUM_STATE_CHANGES}\s+state\s+changes,\s+last\s+state\s+change\s+${LAST_STATE_CHANGE}\s*$$ + ^\s+IP\s+redundancy\s+name\s+is\s+${SESSION_NAME}\s.*$$ + ^\s+Secondary VIP.*$$ + # Catch secondary VIPs: + ^\s+\d+\.\d+\.\d+\.\d+$$ + # Record data when empty line is found + ^\s*$$ -> Record + ^. -> Error diff --git a/templates/index b/templates/index index 3a309e642b..3fbd516504 100644 --- a/templates/index +++ b/templates/index @@ -274,6 +274,7 @@ cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] cisco_nxos_show_inventory.textfsm, .*, cisco_nxos, sh[[ow]] inv[[entory]] cisco_nxos_show_route-map.textfsm, .*, cisco_nxos, sh[[ow]] route-m[[ap]] cisco_nxos_show_hostname.textfsm, .*, cisco_nxos, sh[[ow]] hostn[[ame]] +cisco_nxos_show_hsrp_all.textfsm, .*, cisco_nxos, sh[[ow]] hsrp all cisco_nxos_show_ip_route.textfsm, .*, cisco_nxos, sh[[ow]] ip route cisco_nxos_show_feature.textfsm, .*, cisco_nxos, sh[[ow]] feat[[ure]] cisco_nxos_show_version.textfsm, .*, cisco_nxos, sh[[ow]] ver[[sion]] diff --git a/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.raw b/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.raw new file mode 100644 index 0000000000..1721fd9651 --- /dev/null +++ b/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.raw @@ -0,0 +1,184 @@ +Vlan100 - Group 100 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 3 sec, holdtime 10 sec + Next hello sent in 2.676000 sec(s) + Virtual IP address is 192.168.100.1 (Cfged) + Secondary Virtual IP address is 192.168.100.193 + Active router is local + Standby router is 192.168.100.69 , priority 200 expires in 10.174000 sec(s) + Authentication MD5, key-string "dr-hsrp" + Virtual mac address is 0000.0c9f.f384 (Default MAC) + 2 state changes, last state change 1y27w + IP redundancy name is hsrp-Vlan100-100 (default) + Secondary VIP(s): + 192.168.100.193 + +Vlan200 - Group 200 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.448000 sec(s) + Virtual IP address is 172.11.4.254 (Cfged) + Active router is local + Standby router is 172.11.4.253 , priority 200 expires in 2.551000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fd48 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan200-200 (default) + +Vlan201 - Group 201 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.484000 sec(s) + Virtual IP address is 172.11.5.30 (Cfged) + Active router is local + Standby router is 172.11.5.29 , priority 200 expires in 2.551000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fd49 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan201-201 (default) + +Vlan210 - Group 210 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.420000 sec(s) + Virtual IP address is 172.12.9.254 (Cfged) + Active router is local + Standby router is 172.12.9.253 , priority 200 expires in 2.873000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fdb6 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan210-210 (default) + +Vlan211 - Group 211 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.695000 sec(s) + Virtual IP address is 172.12.10.62 (Cfged) + Active router is local + Standby router is 172.12.10.61 , priority 200 expires in 2.873000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fdb7 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan211-211 (default) + +Vlan220 - Group 220 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.484000 sec(s) + Virtual IP address is 172.13.12.254 (Cfged) + Active router is local + Standby router is 172.13.12.253 , priority 200 expires in 2.281000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fe24 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan220-220 (default) + +Vlan221 - Group 221 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.614000 sec(s) + Virtual IP address is 172.13.13.30 (Cfged) + Active router is local + Standby router is 172.13.13.29 , priority 200 expires in 2.281000 sec(s) + Authentication MD5, key-string "hq-hsrp" + Virtual mac address is 0000.0c9f.fe25 (Default MAC) + 2 state changes, last state change 1y0w + IP redundancy name is hsrp-Vlan221-221 (default) + +Vlan300 - Group 300 (HSRP-V2) (IPv4) + Local state is Active, priority 250 (Cfged 250), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 250 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.448000 sec(s) + Virtual IP address is 172.16.0.254 (Cfged) + Active router is local + Standby router is 172.16.0.253 , priority 200 expires in 2.551000 sec(s) + Authentication MD5, key-string "dr-hsrp" + Virtual mac address is 0000.0c9f.fed8 (Default MAC) + 14 state changes, last state change 1y2w + IP redundancy name is hsrp-Vlan300-300 (default) + +Vlan416 - Group 416 (HSRP-V2) (IPv4) + Local state is Standby, priority 130 (Cfged 130), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 130 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.231000 sec(s) + Virtual IP address is 172.17.1.1 (Cfged) + Active router is 172.17.1.2, priority 150 expires in 0.661000 sec(s) + Standby router is local + Authentication MD5, key-string "core-hsrp" + Virtual mac address is 0000.0c9f.ff4c (Default MAC) + 105 state changes, last state change 21w5d + IP redundancy name is hsrp-Vlan416-416 (default) + +Vlan417 - Group 417 (HSRP-V2) (IPv4) + Local state is Standby, priority 130 (Cfged 130), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 130 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.610000 sec(s) + Virtual IP address is 172.17.1.17 (Cfged) + Active router is 172.17.1.18, priority 150 expires in 1.531000 sec(s) + Standby router is local + Authentication MD5, key-string "core-hsrp" + Virtual mac address is 0000.0c9f.ff4d (Default MAC) + 418 state changes, last state change 21w5d + IP redundancy name is hsrp-Vlan417-417 (default) + +Vlan418 - Group 418 (HSRP-V2) (IPv4) + Local state is Standby, priority 130 (Cfged 130), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 130 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.422000 sec(s) + Virtual IP address is 172.17.1.33 (Cfged) + Active router is 172.17.1.2, priority 150 expires in 0.081000 sec(s) + Standby router is local + Authentication MD5, key-string "core-hsrp" + Virtual mac address is 0000.0c9f.ff4e (Default MAC) + 102 state changes, last state change 21w5d + IP redundancy name is hsrp-Vlan418-418 (default) + +Vlan419 - Group 419 (HSRP-V2) (IPv4) + Local state is Standby, priority 130 (Cfged 130), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 130 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.886000 sec(s) + Virtual IP address is 172.17.1.49 (Cfged) + Active router is 172.17.1.50, priority 150 expires in 2.281000 sec(s) + Standby router is local + Authentication MD5, key-string "core-hsrp" + Virtual mac address is 0000.0c9f.ff4f (Default MAC) + 448 state changes, last state change 21w5d + IP redundancy name is hsrp-Vlan419-419 (default) + +Vlan420 - Group 420 (HSRP-V2) (IPv4) + Local state is Standby, priority 130 (Cfged 130), may preempt + Forwarding threshold(for vPC), lower: 1 upper: 130 + Preemption Delay (Seconds) Reload:120 Minimum:60 Sync:60 + Hellotime 1 sec, holdtime 3 sec + Next hello sent in 0.301000 sec(s) + Virtual IP address is 172.17.1.65 (Cfged) + Active router is 172.17.1.66, priority 150 expires in 0.081000 sec(s) + Standby router is local + Authentication MD5, key-string "core-hsrp" + Virtual mac address is 0000.0c9f.ff50 (Default MAC) + 103 state changes, last state change 21w5d + IP redundancy name is hsrp-Vlan420-420 (default) diff --git a/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.yml b/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.yml new file mode 100644 index 0000000000..843ad3d81f --- /dev/null +++ b/tests/cisco_nxos/show_hsrp_all/cisco_nxos_show_hsrp_all.yml @@ -0,0 +1,353 @@ +--- +parsed_sample: + - interface: "Vlan100" + version: "2" + group_number: "100" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "3" + timers_hold_sec: "10" + primary_ipv4_address: "192.168.100.1" + secondary_ipv4_address: "192.168.100.193" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "10.174000" + standby_ip_address: "192.168.100.69" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.f384" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y27w" + session_name: "hsrp-Vlan100-100" + - interface: "Vlan200" + version: "2" + group_number: "200" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.11.4.254" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.551000" + standby_ip_address: "172.11.4.253" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fd48" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan200-200" + - interface: "Vlan201" + version: "2" + group_number: "201" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.11.5.30" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.551000" + standby_ip_address: "172.11.5.29" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fd49" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan201-201" + - interface: "Vlan210" + version: "2" + group_number: "210" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.12.9.254" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.873000" + standby_ip_address: "172.12.9.253" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fdb6" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan210-210" + - interface: "Vlan211" + version: "2" + group_number: "211" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.12.10.62" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.873000" + standby_ip_address: "172.12.10.61" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fdb7" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan211-211" + - interface: "Vlan220" + version: "2" + group_number: "220" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.13.12.254" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.281000" + standby_ip_address: "172.13.12.253" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fe24" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan220-220" + - interface: "Vlan221" + version: "2" + group_number: "221" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.13.13.30" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.281000" + standby_ip_address: "172.13.13.29" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fe25" + virtual_mac_address_status: "Default MAC" + num_state_changes: "2" + last_state_change: "1y0w" + session_name: "hsrp-Vlan221-221" + - interface: "Vlan300" + version: "2" + group_number: "300" + priority: "250" + hsrp_router_state: "Active" + configured_priority: "250" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "250" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.16.0.254" + secondary_ipv4_address: "" + active_router: "local" + active_expire: "" + active_ip_address: "" + active_priority: "" + standby_router: "" + standby_expire: "2.551000" + standby_ip_address: "172.16.0.253" + standby_priority: "200" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.fed8" + virtual_mac_address_status: "Default MAC" + num_state_changes: "14" + last_state_change: "1y2w" + session_name: "hsrp-Vlan300-300" + - interface: "Vlan416" + version: "2" + group_number: "416" + priority: "130" + hsrp_router_state: "Standby" + configured_priority: "130" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "130" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.17.1.1" + secondary_ipv4_address: "" + active_router: "" + active_expire: "0.661000" + active_ip_address: "172.17.1.2" + active_priority: "150" + standby_router: "local" + standby_expire: "" + standby_ip_address: "" + standby_priority: "" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.ff4c" + virtual_mac_address_status: "Default MAC" + num_state_changes: "105" + last_state_change: "21w5d" + session_name: "hsrp-Vlan416-416" + - interface: "Vlan417" + version: "2" + group_number: "417" + priority: "130" + hsrp_router_state: "Standby" + configured_priority: "130" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "130" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.17.1.17" + secondary_ipv4_address: "" + active_router: "" + active_expire: "1.531000" + active_ip_address: "172.17.1.18" + active_priority: "150" + standby_router: "local" + standby_expire: "" + standby_ip_address: "" + standby_priority: "" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.ff4d" + virtual_mac_address_status: "Default MAC" + num_state_changes: "418" + last_state_change: "21w5d" + session_name: "hsrp-Vlan417-417" + - interface: "Vlan418" + version: "2" + group_number: "418" + priority: "130" + hsrp_router_state: "Standby" + configured_priority: "130" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "130" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.17.1.33" + secondary_ipv4_address: "" + active_router: "" + active_expire: "0.081000" + active_ip_address: "172.17.1.2" + active_priority: "150" + standby_router: "local" + standby_expire: "" + standby_ip_address: "" + standby_priority: "" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.ff4e" + virtual_mac_address_status: "Default MAC" + num_state_changes: "102" + last_state_change: "21w5d" + session_name: "hsrp-Vlan418-418" + - interface: "Vlan419" + version: "2" + group_number: "419" + priority: "130" + hsrp_router_state: "Standby" + configured_priority: "130" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "130" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.17.1.49" + secondary_ipv4_address: "" + active_router: "" + active_expire: "2.281000" + active_ip_address: "172.17.1.50" + active_priority: "150" + standby_router: "local" + standby_expire: "" + standby_ip_address: "" + standby_priority: "" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.ff4f" + virtual_mac_address_status: "Default MAC" + num_state_changes: "448" + last_state_change: "21w5d" + session_name: "hsrp-Vlan419-419" + - interface: "Vlan420" + version: "2" + group_number: "420" + priority: "130" + hsrp_router_state: "Standby" + configured_priority: "130" + preempt: "may preempt" + lower_fwd_treshold: "1" + upper_fwd_treshold: "130" + timers_hello_sec: "1" + timers_hold_sec: "3" + primary_ipv4_address: "172.17.1.65" + secondary_ipv4_address: "" + active_router: "" + active_expire: "0.081000" + active_ip_address: "172.17.1.66" + active_priority: "150" + standby_router: "local" + standby_expire: "" + standby_ip_address: "" + standby_priority: "" + authentication: "MD5" + virtual_mac_address: "0000.0c9f.ff50" + virtual_mac_address_status: "Default MAC" + num_state_changes: "103" + last_state_change: "21w5d" + session_name: "hsrp-Vlan420-420" From 0f390a493ef9b1021ee4f2d7c07c62070efbac27 Mon Sep 17 00:00:00 2001 From: JoeyG1973 Date: Sun, 28 Jun 2020 21:15:37 -0400 Subject: [PATCH 500/628] Bugfix: Account for capitalization - Total [M|m]ac - arista_eos_show_mac_address-table (#765) --- templates/arista_eos_show_mac_address-table.textfsm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/arista_eos_show_mac_address-table.textfsm b/templates/arista_eos_show_mac_address-table.textfsm index 8ede40a789..7b47aac9c4 100644 --- a/templates/arista_eos_show_mac_address-table.textfsm +++ b/templates/arista_eos_show_mac_address-table.textfsm @@ -19,7 +19,7 @@ MAT # capture the mac address table ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}\s*$$ -> Record ^\s*${VLAN}\s+${MAC_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}\s+${MOVES}\s+${LAST_MOVE}\sago$$ -> Record - ^\s*Total\s+mac -> Start + ^\s*Total\s+[M|m]ac -> Start ^\s*-+\s+.*-*$$ ^\s*$$ ^. -> Error @@ -35,6 +35,6 @@ MMAT ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){2}${DESTINATION_PORT}\s* -> Continue ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){3}${DESTINATION_PORT}\s* -> Continue ^\s*\d+\s+(\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+)\s+\w+\s+((\w+\/\w+|\w+)\s){4}${DESTINATION_PORT}$$ -> Continue - ^\s*Total\s+mac -> Start + ^\s*Total\s+[M|m]ac -> Start ^\s*-+\s+.*-*$$ ^\s*$$ \ No newline at end of file From 82547752508fc093b43884c1ff22de134bb25579 Mon Sep 17 00:00:00 2001 From: Marcus Butler <33135168+mtbutler07@users.noreply.github.com> Date: Fri, 3 Jul 2020 06:03:33 -0500 Subject: [PATCH 501/628] Bugfix: Account for powered-dn - nxos_show_module --- templates/cisco_nxos_show_module.textfsm | 3 +- .../show_module/cisco_nxos_show_module1.raw | 41 +++++++++++++++++++ .../show_module/cisco_nxos_show_module1.yml | 27 ++++++++++++ 3 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_nxos/show_module/cisco_nxos_show_module1.raw create mode 100644 tests/cisco_nxos/show_module/cisco_nxos_show_module1.yml diff --git a/templates/cisco_nxos_show_module.textfsm b/templates/cisco_nxos_show_module.textfsm index fe464cbc34..677b240794 100644 --- a/templates/cisco_nxos_show_module.textfsm +++ b/templates/cisco_nxos_show_module.textfsm @@ -2,11 +2,12 @@ Value MODULE (\d+) Value PORTS (\d+) Value TYPE (\S+(\s+\S+)+) Value MODEL (\S+) -Value STATUS (ok|active \*|ha-standby|powered-dn) +Value STATUS (ok|active \*|ha-standby|powered-dn|powered-up) Start ^Xbar\s+Ports\s+Module-Type\s+Model\s+Status -> Fail ^${MODULE}\s+${PORTS}\s+${TYPE}\s+${MODEL}\s+${STATUS} -> Record + ^${MODULE}\s+${PORTS}\s+${TYPE}\s+${STATUS} -> Record Fail ^.* -> NoRecord diff --git a/tests/cisco_nxos/show_module/cisco_nxos_show_module1.raw b/tests/cisco_nxos/show_module/cisco_nxos_show_module1.raw new file mode 100644 index 0000000000..477a307f82 --- /dev/null +++ b/tests/cisco_nxos/show_module/cisco_nxos_show_module1.raw @@ -0,0 +1,41 @@ +Mod Ports Module-Type Model Status +--- ----- -------------------------------- ------------------ ------------ +1 48 1000 Mbps Optical Ethernet Modul N7K-M148GS-11 ok +3 0 Supervisor Module-2 powered-up +4 0 Supervisor Module-2 N7K-SUP1 powered-dn +5 0 Supervisor Module-2 N7K-SUP1 active * +6 0 Supervisor Module-2 N7K-SUP1 ha-standby + + +Mod Power-Status Reason +--- ------------ --------------------------- +4 powered-dn Configured Power down + +Mod Sw Hw +--- -------------- ------ +3 4.1(3) 0.202 +4 4.1(3) 0.805 + +Mod MAC-Address(es) Serial-Num +--- -------------------------------------- ---------- +3 00-1b-54-c2-ed-d0 to 00-1b-54-c2-ee-04 JAF1219AGFE +4 00-1b-54-c0-ff-10 to 00-1b-54-c0-ff-18 JAB114000BV + +Mod Online Diag Status +--- ------------------ +3 Pass +4 Pass + +Xbar Ports Module-Type Model Status +--- ----- -------------------------------- ------------------ ------------ +1 0 Fabric Module 1 N7K-C7018-FAB-1 ok + +Xbar Sw Hw +--- -------------- ------ +1 NA 0.101 + +Xbar MAC-Address(es) Serial-Num +--- -------------------------------------- ---------- +1 NA JAF1225AGHJ + +* this terminal session diff --git a/tests/cisco_nxos/show_module/cisco_nxos_show_module1.yml b/tests/cisco_nxos/show_module/cisco_nxos_show_module1.yml new file mode 100644 index 0000000000..2abf48f118 --- /dev/null +++ b/tests/cisco_nxos/show_module/cisco_nxos_show_module1.yml @@ -0,0 +1,27 @@ +--- +parsed_sample: + - module: "1" + ports: "48" + type: "1000 Mbps Optical Ethernet Modul" + model: "N7K-M148GS-11" + status: "ok" + - module: "3" + ports: "0" + type: "Supervisor Module-2" + model: "" + status: "powered-up" + - module: "4" + ports: "0" + type: "Supervisor Module-2" + model: "N7K-SUP1" + status: "powered-dn" + - module: "5" + ports: "0" + type: "Supervisor Module-2" + model: "N7K-SUP1" + status: "active *" + - module: "6" + ports: "0" + type: "Supervisor Module-2" + model: "N7K-SUP1" + status: "ha-standby" From a3e4b945e8e62d5ed0140e42b782f81e999d5a63 Mon Sep 17 00:00:00 2001 From: rtkennedy Date: Fri, 3 Jul 2020 05:06:55 -0600 Subject: [PATCH 502/628] Bugfix: Dual line support - cisco_nxos_show_ip_bgp_summary (#772) Co-authored-by: Robert Kennedy --- templates/cisco_nxos_show_ip_bgp_summary.textfsm | 2 ++ .../cisco_nxos_show_ip_bgp_summary.raw | 2 ++ .../cisco_nxos_show_ip_bgp_summary.yml | 11 +++++++++++ 3 files changed, 15 insertions(+) diff --git a/templates/cisco_nxos_show_ip_bgp_summary.textfsm b/templates/cisco_nxos_show_ip_bgp_summary.textfsm index e32e9ce4da..b5873c3139 100644 --- a/templates/cisco_nxos_show_ip_bgp_summary.textfsm +++ b/templates/cisco_nxos_show_ip_bgp_summary.textfsm @@ -15,6 +15,8 @@ Start ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+[Ll]ocal\s+[Aa][Ss]\s+number\s+${LOCAL_AS} ^Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+TblVer\s+InQ\s+OutQ\s+Up/Down\s+State/PfxRcd\s*$$ ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + ^${BGP_NEIGH}\s+\d+\s+${NEIGH_AS} + ^\s+${MSG_RCVD}\s+${MSG_SENT}\s+\d+\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record ^BGP\s+table\s+version ^\d+\s+network\s+entries ^BGP attribute entries diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw index 94729aad66..1968fd7b51 100644 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw +++ b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.raw @@ -17,3 +17,5 @@ Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 10.0.0.8 4 65007 12250936 9181571 512185203 0 0 1y10w 82 10.0.0.9 4 65008 222146 14368489 512185203 0 0 22w0d 0 10.0.0.10 4 65009 26930508 942614 512185203 0 0 1y10w Idle (Admin) +10.0.0.11 4 65010 + 2655204 14931352 512185206 0 0 1w5d 4452 diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml index f7933948fb..f522cb7bac 100644 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml +++ b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary.yml @@ -132,3 +132,14 @@ parsed_sample: out_queue: "0" up_down: "1y10w" state_pfxrcd: "Idle (Admin)" + - router_id: "2.2.2.3" + local_as: "102" + vrf: "default" + bgp_neigh: "10.0.0.11" + neigh_as: "65010" + msg_rcvd: "2655204" + msg_sent: "14931352" + in_queue: "0" + out_queue: "0" + up_down: "1w5d" + state_pfxrcd: "4452" From 26a41833ff362b806ac18283bd0b191e9d3df142 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Mon, 20 Jul 2020 07:21:42 -0500 Subject: [PATCH 503/628] Bugfix: IOS show version - Remove requirement for numerics in hardware (#781) --- templates/cisco_ios_show_version.textfsm | 12 +++--- .../show_version/cisco_ios_show_version3.raw | 43 +++++++++++++++++++ .../show_version/cisco_ios_show_version3.yml | 14 ++++++ 3 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version3.raw create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version3.yml diff --git a/templates/cisco_ios_show_version.textfsm b/templates/cisco_ios_show_version.textfsm index 19129e6d7b..5ea3b0a4be 100644 --- a/templates/cisco_ios_show_version.textfsm +++ b/templates/cisco_ios_show_version.textfsm @@ -4,29 +4,29 @@ Value HOSTNAME (\S+) Value UPTIME (.+) Value RELOAD_REASON (.+?) Value RUNNING_IMAGE (\S+) -Value List HARDWARE (\S+\d\S+) +Value List HARDWARE (\S+|\S+\d\S+) Value List SERIAL (\S+) Value CONFIG_REGISTER (\S+) Value List MAC ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}) Start ^.*Software\s.+\),\sVersion\s${VERSION},*\s+RELEASE.* - ^ROM: ${ROMMON} + ^ROM:\s+${ROMMON} ^\s*${HOSTNAME}\s+uptime\s+is\s+${UPTIME} ^[sS]ystem\s+image\s+file\s+is\s+"(.*?):${RUNNING_IMAGE}" ^(?:[lL]ast\s+reload\s+reason:|System\s+returned\s+to\s+ROM\s+by)\s+${RELOAD_REASON}\s*$$ ^[Pp]rocessor\s+board\s+ID\s+${SERIAL} - ^[Cc]isco\s+${HARDWARE}.+ + ^[Cc]isco\s+${HARDWARE}\s+\(.+\).+ ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} - ^Base [Ee]thernet MAC [Aa]ddress\s+:\s+${MAC} - ^Switch Port -> Stack + ^Base\s+[Ee]thernet\s+MAC\s+[Aa]ddress\s+:\s+${MAC} + ^Switch\s+Port -> Stack # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is Stack - ^[Ss]ystem [Ss]erial [Nn]umber\s+:\s+${SERIAL} + ^[Ss]ystem\s+[Ss]erial\s+[Nn]umber\s+:\s+${SERIAL} ^[Mm]odel\s+[Nn]umber\s+:\s+${HARDWARE}\s* ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} ^Base [Ee]thernet MAC [Aa]ddress\s+:\s+${MAC} diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version3.raw b/tests/cisco_ios/show_version/cisco_ios_show_version3.raw new file mode 100644 index 0000000000..5001c597a5 --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version3.raw @@ -0,0 +1,43 @@ +Cisco IOS Software, IOSv Software (VIOS-ADVENTERPRISEK9-M), Version 15.8(3)M2, RELEASE SOFTWARE (fc2) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2019 by Cisco Systems, Inc. +Compiled Thu 28-Mar-19 14:06 by prod_rel_team + + +ROM: Bootstrap program is IOSv + +rtr-01 uptime is 1 week, 3 days, 16 hours, 11 minutes +System returned to ROM by reload +System image file is "flash0:/vios-adventerprisek9-m" +Last reload reason: Unknown reason + + + +This product contains cryptographic features and is subject to United +States and local country laws governing import, export, transfer and +use. Delivery of Cisco cryptographic products does not imply +third-party authority to import, export, distribute or use encryption. +Importers, exporters, distributors and users are responsible for +compliance with U.S. and local country laws. By using this product you +agree to comply with applicable laws and regulations. If you are unable +to comply with U.S. and local laws, return this product immediately. + +A summary of U.S. laws governing Cisco cryptographic products may be found at: +http://www.cisco.com/wwl/export/crypto/tool/stqrg.html + +If you require further assistance please contact us by sending email to +export@cisco.com. + +Cisco IOSv (revision 1.0) with with 460137K/62464K bytes of memory. +Processor board ID 991UCMIHG4UAJ1J010CQG +4 Gigabit Ethernet interfaces +DRAM configuration is 72 bits wide with parity disabled. +256K bytes of non-volatile configuration memory. +2097152K bytes of ATA System CompactFlash 0 (Read/Write) +0K bytes of ATA CompactFlash 1 (Read/Write) +11217K bytes of ATA CompactFlash 2 (Read/Write) +0K bytes of ATA CompactFlash 3 (Read/Write) + + + +Configuration register is 0x0 \ No newline at end of file diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml new file mode 100644 index 0000000000..1510b62ace --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - version: "15.8(3)M2" + rommon: "Bootstrap" + hostname: "rtr-01" + uptime: "1 week, 3 days, 16 hours, 11 minutes" + reload_reason: "Unknown reason" + running_image: "/vios-adventerprisek9-m" + hardware: + - "IOSv" + serial: + - "991UCMIHG4UAJ1J010CQG" + config_register: "0x0" + mac: [] From 3d410b4882904a9fb6f2ef1c080c8406044479f2 Mon Sep 17 00:00:00 2001 From: Ryan Erickson Date: Wed, 2 Sep 2020 20:37:47 -0700 Subject: [PATCH 504/628] Documentation: Fix typos in README.md (#792) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 912e2540c4..777595455e 100644 --- a/README.md +++ b/README.md @@ -384,7 +384,7 @@ happen. That includes updating the index file appropriately and adding proper ra _Why don't you grab all of the data in the template?_ There is no intention for ntc-templates to become feature complete, some of the data is less interesting, or can be better understood from -other commands. This is actually an area where the project choose to be loose, as we do not want to over-burden the contributor. If you feel +other commands. This is actually an area where the project chose to be loose, as we do not want to over-burden the contributor. If you feel that the additional data should be added, you are welcome to add the feature, but it would not be considered a bug, and thus not supported by the maintainers of the this project. @@ -404,7 +404,7 @@ The most likely reasons are: * Did not provide the data required to act upon the request. * A prolonged time with no response. -_What is meant that the is a parsing project, not a data modeling project?_ +_What is meant that this is a parsing project, not a data modeling project?_ The project intends to parse, meaning post processing is assumed in order to normalize the data. This project does not intend to solve that problem set. This is often noted in keys being different between the same command on multiple OS's. This was not intentional as at first there was not strict enforcement. That being said, there is no intention to retrofit this use case for the above stated reasons. This use case is @@ -422,4 +422,4 @@ to take in qualified Pull Requests to have the feature, but have no intention of _Can you provide general guidance?_ -This is best handled via real time communication. Feel free to join our slack community (sign up information above) and reach out on the #networktocode channel. Please be aware of timezones, downtimes, and help is performed based on goodwill and timing, and not guaranteed. \ No newline at end of file +This is best handled via real time communication. Feel free to join our slack community (sign up information above) and reach out on the #networktocode channel. Please be aware of timezones, downtimes, and help is performed based on goodwill and timing, and not guaranteed. From aa0740e4d41ea740be3aff516b0b33802b24d478 Mon Sep 17 00:00:00 2001 From: Tymofii Dmytrenko <39663752+Yakuza-UA@users.noreply.github.com> Date: Thu, 3 Sep 2020 05:15:25 +0100 Subject: [PATCH 505/628] Enhancement: Cisco NXOS - Added Hostname Value (#789) --- templates/cisco_nxos_show_version.textfsm | 2 ++ tests/cisco_nxos/show_version/cisco_nxos_show_version.yml | 5 +++-- tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml | 5 +++-- tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml | 1 + 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/templates/cisco_nxos_show_version.textfsm b/templates/cisco_nxos_show_version.textfsm index 06fb92b559..cb7bf0749c 100755 --- a/templates/cisco_nxos_show_version.textfsm +++ b/templates/cisco_nxos_show_version.textfsm @@ -3,6 +3,7 @@ Value LAST_REBOOT_REASON (.+) Value OS (\d+.\d+(.+)?) Value BOOT_IMAGE (.*) Value PLATFORM (\w+) +Value HOSTNAME (.*) Start ^\s+(NXOS: version|system:\s+version)\s+${OS}\s*$$ @@ -11,6 +12,7 @@ Start ^\s+cisco\s+Nexus\d+\s+${PLATFORM} # Cisco N5K platform ^\s+cisco\s+Nexus\s+${PLATFORM}\s+[cC]hassis + ^\s+Device\s+name:\s+${HOSTNAME}$$ ^\s+cisco\s+.+-${PLATFORM}\s* ^Kernel\s+uptime\s+is\s+${UPTIME} ^\s+Reason:\s${LAST_REBOOT_REASON} -> Record diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml index b9bda8631e..5b0509266f 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml @@ -1,7 +1,8 @@ --- parsed_sample: - - boot_image: "bootflash:///n9000-dk9.6.1.2.I3.1.bin" + - uptime: "123 day(s), 5 hour(s), 15 minute(s), 19 second(s)" last_reboot_reason: "Unknown" os: "6.1(2)I3(1)" + boot_image: "bootflash:///n9000-dk9.6.1.2.I3.1.bin" platform: "C9396PX" - uptime: "123 day(s), 5 hour(s), 15 minute(s), 19 second(s)" + hostname: "N9K1" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml index b59d74e895..26ccb1b5d2 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml @@ -1,7 +1,8 @@ --- parsed_sample: - - boot_image: "/bootflash/aci-n9000-dk9.14.0.1h.bin" + - uptime: "11 day(s), 01 hour(s), 57 minute(s), 02 second(s)" last_reboot_reason: "unknown" os: "14.0(1h) [build 14.0(1h)]" + boot_image: "/bootflash/aci-n9000-dk9.14.0.1h.bin" platform: "C9396PX" - uptime: "11 day(s), 01 hour(s), 57 minute(s), 02 second(s)" + hostname: "Leaf-101" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml index 58783670d4..e6e6aa8667 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml @@ -5,3 +5,4 @@ parsed_sample: os: "7.1(4)N1(1)" boot_image: "bootflash:///n5000-uk9-kickstart.7.1.4.N1.1.bin" platform: "5596" + hostname: "IEDP02-N5K-SW01" From 3852b1a9ad855e8ed314f5868bbd99210a084ff0 Mon Sep 17 00:00:00 2001 From: Markus Juenemann Date: Thu, 10 Sep 2020 04:14:48 +1000 Subject: [PATCH 506/628] Bugfix: Re-formatted development_scripts.py and tests/test_testcases_exists.py with black-20.b1 (#795) --- development_scripts.py | 10 +++++----- tests/test_testcases_exists.py | 6 ++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/development_scripts.py b/development_scripts.py index 8f2ed60553..c51ba8d880 100755 --- a/development_scripts.py +++ b/development_scripts.py @@ -289,7 +289,7 @@ def transform_file(filepath): Example: >>> filepath = "tests/cisco_ios/show_version/cisco_ios_show_version.yml" >>> transform_parsed(filepath) - >>> + >>> """ with open(filepath, encoding="utf-8") as parsed_file: parsed_object = YAML_OBJECT.load(parsed_file) @@ -315,7 +315,7 @@ def transform_glob(dirpath): >>> dirpath = "tests/*/*" >>> transform_parsed(dirpath) # Each filename is printed to the terminal - >>> + >>> """ # This commented out code was used for mass renaming of files; # it is probably not needed anymore @@ -375,7 +375,7 @@ def parse_test_filepath(filepath): show version >>> print(filename) cisco_ios_show_version - >>> + >>> """ command_dir, filename = os.path.split(filepath) platform_dir, command = os.path.split(command_dir) @@ -412,7 +412,7 @@ def build_parsed_data_from_output(filepath, test_dir=TEST_DIR): >>> build_parsed_data_from_output(filepath) >>> os.listdir(root_dir) ['cisco_ios_show_version.raw', 'cisco_ios_show_version.yml'] - >>> + >>> """ platform, command, filename = parse_test_filepath(filepath) with open(filepath, encoding="utf-8") as output_file: @@ -445,7 +445,7 @@ def build_parsed_data_from_dir(dirpath, test_dir=TEST_DIR): >>> dirpath = "tests/cisco_ios/show_mac-address-table" >>> build_parsed_data_from_dir(dirpath) # Each filename is printed to the terminal - >>> + >>> """ for file in glob.iglob("{0}/*.raw".format(dirpath)): print(file) diff --git a/tests/test_testcases_exists.py b/tests/test_testcases_exists.py index 1bf96e5ff7..589edbe70f 100644 --- a/tests/test_testcases_exists.py +++ b/tests/test_testcases_exists.py @@ -11,8 +11,7 @@ def extract_index_data(): - """Used to parametrize and report each test case with the necessary data. - """ + """Used to parametrize and report each test case with the necessary data.""" index = sorted(load_index_data()) mock_directories = [] for row in index: @@ -36,8 +35,7 @@ def extract_index_data(): @pytest.mark.parametrize("mock_directory", extract_index_data()) def test_verify_parsed_and_reference_data_exists(mock_directory): - """Verify that at least one test exists for all entries in the index file. - """ + """Verify that at least one test exists for all entries in the index file.""" cases = f"{mock_directory}/*.raw" test_list = glob.glob(cases) assert len(test_list) != 0, f"Could not find tests for {mock_directory}.textfsm" From 95e76590501926a778fbe89c83358e34a12c7a77 Mon Sep 17 00:00:00 2001 From: Kirk Byers Date: Tue, 15 Sep 2020 10:49:24 -0700 Subject: [PATCH 507/628] Change TextFSM Windows failure to a runtime failure (instead of an import failure) (#803) --- lib/ntc_templates/parse.py | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/lib/ntc_templates/parse.py b/lib/ntc_templates/parse.py index 33e1466a5b..624a6cf179 100644 --- a/lib/ntc_templates/parse.py +++ b/lib/ntc_templates/parse.py @@ -1,6 +1,14 @@ """ntc_templates.parse.""" import os -from textfsm import clitable + +# Due to TextFSM library issues on Windows, it is better to not fail on import +# Instead fail at runtime (i.e. if method is actually used). +try: + from textfsm import clitable + + HAS_CLITABLE = True +except ImportError: + HAS_CLITABLE = False def _get_template_dir(): @@ -27,6 +35,18 @@ def _clitable_to_dict(cli_table): def parse_output(platform=None, command=None, data=None): """Return the structured data based on the output from a network device.""" + + if not HAS_CLITABLE: + msg = """ +The TextFSM library is not currently supported on Windows. If you are NOT using Windows +you should be able to 'pip install textfsm' to fix this issue. If you are using Windows +then you will need to install the patch referenced here: + +https://github.com/google/textfsm/pull/82 + +""" + raise ImportError(msg) + template_dir = _get_template_dir() cli_table = clitable.CliTable("index", template_dir) From 2bb9d7e57e87a17861a141d5d05f01a4492e006f Mon Sep 17 00:00:00 2001 From: Adam Byczkowski <38091261+qduk@users.noreply.github.com> Date: Sun, 27 Sep 2020 17:54:47 -0500 Subject: [PATCH 508/628] New Template: juniper_junos_show_lldp_neighbors (#797) --- development_scripts.py | 0 templates/index | 1 + templates/juniper_junos_show_lldp_neighbors.textfsm | 11 +++++++++++ .../juniper_junos_show_lldp_neighbors.raw | 3 +++ .../juniper_junos_show_lldp_neighbors.yml | 12 ++++++++++++ 5 files changed, 27 insertions(+) mode change 100755 => 100644 development_scripts.py create mode 100644 templates/juniper_junos_show_lldp_neighbors.textfsm create mode 100644 tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.raw create mode 100644 tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.yml diff --git a/development_scripts.py b/development_scripts.py old mode 100755 new mode 100644 diff --git a/templates/index b/templates/index index 3fbd516504..e8d0038387 100644 --- a/templates/index +++ b/templates/index @@ -394,6 +394,7 @@ juniper_junos_show_chassis_firmware.textfsm, .*, juniper_junos, sh[[ow]] ch[[ass juniper_junos_show_lacp_interfaces.textfsm, .*, juniper_junos, sh[[ow]] la[[cp]] i[[nterfaces]] juniper_junos_show_arp_no-resolve.textfsm, .*, juniper_junos, sh[[ow]] a[[rp]] n[[o-resolve]] juniper_junos_show_isis_adjacency.textfsm, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] +juniper_junos_show_lldp_neighbors.textfsm, .*, juniper_junos, sh[[ow]] ll[[dp]] n[[eighbors]] juniper_junos_show_ospf_neighbor.textfsm, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] juniper_junos_show_interfaces.textfsm, .*, juniper_junos, sh[[ow]] inte[[rfaces]] juniper_junos_show_version.textfsm, .*, juniper_junos, sh[[ow]] ver[[sion]] diff --git a/templates/juniper_junos_show_lldp_neighbors.textfsm b/templates/juniper_junos_show_lldp_neighbors.textfsm new file mode 100644 index 0000000000..4a1e32d48b --- /dev/null +++ b/templates/juniper_junos_show_lldp_neighbors.textfsm @@ -0,0 +1,11 @@ +Value Required LOCAL_INTERFACE (\S+) +Value Required PARENT_INTERFACE (\S+) +Value Required CHASSIS_ID (\S+) +Value Required PORT_INFO (\S+) +Value Required SYSTEM_NAME (\S+) + +Start + ^Local\s+Interface\s+Parent\s+Interface\s+Chassis\s+Id\s+Port\s+info\s+System\s+Name + ^${LOCAL_INTERFACE}\s*${PARENT_INTERFACE}\s+${CHASSIS_ID}\s+${PORT_INFO}\s+${SYSTEM_NAME} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.raw b/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.raw new file mode 100644 index 0000000000..be28d59c2e --- /dev/null +++ b/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.raw @@ -0,0 +1,3 @@ +Local Interface Parent Interface Chassis Id Port info System Name +ge-0/0/1 - 2c:6b:f5:a1:c2:c0 ge-0/0/1 vmx2 +ge-0/0/0 - 2c:6b:f5:a2:08:c0 ge-0/0/0 vmx3 \ No newline at end of file diff --git a/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.yml b/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.yml new file mode 100644 index 0000000000..e5a1ce9b16 --- /dev/null +++ b/tests/juniper_junos/show_lldp_neighbors/juniper_junos_show_lldp_neighbors.yml @@ -0,0 +1,12 @@ +--- +parsed_sample: + - local_interface: "ge-0/0/1" + parent_interface: "-" + chassis_id: "2c:6b:f5:a1:c2:c0" + port_info: "ge-0/0/1" + system_name: "vmx2" + - local_interface: "ge-0/0/0" + parent_interface: "-" + chassis_id: "2c:6b:f5:a2:08:c0" + port_info: "ge-0/0/0" + system_name: "vmx3" From 297ea57e669cfc5cf2821846abc0c5c6befe390b Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Fri, 2 Oct 2020 14:35:38 -0400 Subject: [PATCH 509/628] change tests to use local import (#806) --- tests/test_structured_data_against_parsed_reference_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_structured_data_against_parsed_reference_files.py b/tests/test_structured_data_against_parsed_reference_files.py index d618cec6fd..e2e4451b75 100644 --- a/tests/test_structured_data_against_parsed_reference_files.py +++ b/tests/test_structured_data_against_parsed_reference_files.py @@ -6,7 +6,7 @@ import pytest import yaml -from ntc_templates.parse import parse_output +from lib.ntc_templates.parse import parse_output def return_test_files(): From 7784dd7fcb1734f30001d966e2275e335a6874bc Mon Sep 17 00:00:00 2001 From: yshu95 <33629257+yshu95@users.noreply.github.com> Date: Sat, 3 Oct 2020 03:37:29 +0900 Subject: [PATCH 510/628] BugFix: NXOS - Update based on additional mock data (#804) --- templates/cisco_nxos_show_inventory.textfsm | 3 +- .../cisco_nxos_show_inventory1.raw | 41 +++++++++++ .../cisco_nxos_show_inventory1.yml | 72 +++++++++++++++++++ 3 files changed, 115 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.raw create mode 100644 tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.yml diff --git a/templates/cisco_nxos_show_inventory.textfsm b/templates/cisco_nxos_show_inventory.textfsm index b3d315634b..e36f449f44 100644 --- a/templates/cisco_nxos_show_inventory.textfsm +++ b/templates/cisco_nxos_show_inventory.textfsm @@ -1,11 +1,12 @@ Value NAME (.*) Value DESCR (.*) Value PID ([^,]\S+) -Value VID (V\d+) +Value VID ([\d+\w-]+) Value SN ([\d+\w+/]+) Start ^NAME:\s+"${NAME}",\s+DESCR:\s+"${DESCR}" + ^NAME:\s+${NAME},\s+DESCR:\s+${DESCR} ^PID:\s+${PID}.*,.*VID:\s+${VID}.*SN:\s+${SN} -> Record ^PID:\s+,.*VID:\s+${VID}.*SN: -> Record ^PID:\s+${PID}.*,.*VID:\s+${VID}.*SN: -> Record diff --git a/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.raw b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.raw new file mode 100644 index 0000000000..b440abc872 --- /dev/null +++ b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.raw @@ -0,0 +1,41 @@ +NAME: "Chassis", DESCR: "Nexus9000 C9396PX Chassis" +PID: N9K-C9396PX , VID: V02 , SN: SAL1819S6LU + +NAME: "Slot 1", DESCR: "1/10G SFP+ Ethernet Module" +PID: N9K-C9396PX , VID: V02 , SN: SAL1819S6LU + +NAME: "Slot 2", DESCR: "40G Ethernet Expansion Module" +PID: N9K-M12PQ , VID: V01 , SN: SAL1815QCJE + +NAME: "Power Supply 1", DESCR: "Nexus9000 C9396PX Chassis Power Supply" +PID: N9K-PAC-650W , VID: V01 , SN: DCB1809X07E + +NAME: "Power Supply 2", DESCR: "Nexus9000 C9396PX Chassis Power Supply" +PID: N9K-PAC-650W , VID: V01 , SN: DCB1809X07H + +NAME: "Fan 1", DESCR: "Nexus9000 C9396PX Chassis Fan Module" +PID: N9K-C9300-FAN2 , VID: V01 , SN: N/A + +NAME: "Fan 2", DESCR: "Nexus9000 C9396PX Chassis Fan Module" +PID: N9K-C9300-FAN2 , VID: V01 , SN: N/A + +NAME: "Fan 3", DESCR: "Nexus9000 C9396PX Chassis Fan Module" +PID: N9K-C9300-FAN2 , VID: V01 , SN: N/A + +NAME: "Slot 33", DESCR: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" +PID: N7K-AC-6.0KW, VID: V01, SN: DTM141600XT + +NAME: "Slot 34", DESCR: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" +PID: N7K-AC-6.0KW, VID: V01, SN: DTM1414007T + +NAME: "Slot 35", DESCR: "Nexus7000 C7009 (9 Slot) Chassis Fan Module" +PID: N7K-C7009-FAN, VID: V00, SN: JAF1433DDEJ + +NAME: Ethernet1/46, DESCR: CISCO-AVAGO +PID: 10Gbase-SR , VID: SFBR-709SMZ-CS1, SN: AVD42309ABD + +NAME: Ethernet1/47, DESCR: CISCO +PID: 1000base-LH , VID: RTXM191-404-C88, SN: ACW315000AD + +NAME: Ethernet1/48, DESCR: CISCO-AVAGO +PID: 10Gbase-LR , VID: SFCT-739SMZ, SN: AVD2219K9AO diff --git a/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.yml b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.yml new file mode 100644 index 0000000000..70867cb260 --- /dev/null +++ b/tests/cisco_nxos/show_inventory/cisco_nxos_show_inventory1.yml @@ -0,0 +1,72 @@ +--- +parsed_sample: + - name: "Chassis" + descr: "Nexus9000 C9396PX Chassis" + pid: "N9K-C9396PX" + vid: "V02" + sn: "SAL1819S6LU" + - name: "Slot 1" + descr: "1/10G SFP+ Ethernet Module" + pid: "N9K-C9396PX" + vid: "V02" + sn: "SAL1819S6LU" + - name: "Slot 2" + descr: "40G Ethernet Expansion Module" + pid: "N9K-M12PQ" + vid: "V01" + sn: "SAL1815QCJE" + - name: "Power Supply 1" + descr: "Nexus9000 C9396PX Chassis Power Supply" + pid: "N9K-PAC-650W" + vid: "V01" + sn: "DCB1809X07E" + - name: "Power Supply 2" + descr: "Nexus9000 C9396PX Chassis Power Supply" + pid: "N9K-PAC-650W" + vid: "V01" + sn: "DCB1809X07H" + - name: "Fan 1" + descr: "Nexus9000 C9396PX Chassis Fan Module" + pid: "N9K-C9300-FAN2" + vid: "V01" + sn: "N/A" + - name: "Fan 2" + descr: "Nexus9000 C9396PX Chassis Fan Module" + pid: "N9K-C9300-FAN2" + vid: "V01" + sn: "N/A" + - name: "Fan 3" + descr: "Nexus9000 C9396PX Chassis Fan Module" + pid: "N9K-C9300-FAN2" + vid: "V01" + sn: "N/A" + - name: "Slot 33" + descr: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" + pid: "N7K-AC-6.0KW" + vid: "V01" + sn: "DTM141600XT" + - name: "Slot 34" + descr: "Nexus7000 C7009 (9 Slot) Chassis Power Supply" + pid: "N7K-AC-6.0KW" + vid: "V01" + sn: "DTM1414007T" + - name: "Slot 35" + descr: "Nexus7000 C7009 (9 Slot) Chassis Fan Module" + pid: "N7K-C7009-FAN" + vid: "V00" + sn: "JAF1433DDEJ" + - name: "Ethernet1/46" + descr: "CISCO-AVAGO" + pid: "10Gbase-SR" + vid: "SFBR-709SMZ-CS1" + sn: "AVD42309ABD" + - name: "Ethernet1/47" + descr: "CISCO" + pid: "1000base-LH" + vid: "RTXM191-404-C88" + sn: "ACW315000AD" + - name: "Ethernet1/48" + descr: "CISCO-AVAGO" + pid: "10Gbase-LR" + vid: "SFCT-739SMZ" + sn: "AVD2219K9AO" From a8428ca51b772c4152e5fc30669eefabbe8b15c3 Mon Sep 17 00:00:00 2001 From: Hideo Yukutake Date: Sat, 3 Oct 2020 05:24:39 +0900 Subject: [PATCH 511/628] BugFix: ASA - show access-list update with additional mock data --- templates/cisco_asa_show_access-list.textfsm | 15 +- .../cisco_asa_show_access-list_update.raw | 78 + .../cisco_asa_show_access-list_update.yml | 4682 +++++++++++++++++ 3 files changed, 4768 insertions(+), 7 deletions(-) create mode 100644 tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.raw create mode 100644 tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.yml diff --git a/templates/cisco_asa_show_access-list.textfsm b/templates/cisco_asa_show_access-list.textfsm index 05e95d9cf3..0d577675bd 100644 --- a/templates/cisco_asa_show_access-list.textfsm +++ b/templates/cisco_asa_show_access-list.textfsm @@ -48,9 +48,9 @@ Value ENTRY_DST_NETWORK (\d+\.\d+\.\d+\.\d+) Value ENTRY_DST_MASK (\d+\.\d+\.\d+\.\d+) Value ENTRY_DST_ANY (any[46]{0,1}) Value ENTRY_DST_FQDN_STATE (unresolved) -Value ENTRY_ICMP_TYPE (\S+) -Value ENTRY_ICMP_CODE (\S+) -Value ENTRY_PORT ([a-z\-]+\s+\d+|\w+) +Value ENTRY_ICMP_TYPE (echo-reply|unreachable|echo|time-exceeded) +Value ENTRY_ICMP_CODE (\d+) +Value ENTRY_PORT ([a-z\-]+\s+\d+|[\w\-]+) Value ENTRY_PORT_LESS_THAN ([a-z\-]+\s+\d+|\w+) Value ENTRY_PORT_GREATER_THAN ([a-z\-]+\s+\d+|\w+) Value ENTRY_PORT_RANGE_START ([a-z\-]+\s+\d+|\w+) @@ -62,9 +62,10 @@ Value ENTRY_HASH (0x\w+) Start ^access\-list\s+${ACL_NAME};\s+${ACL_TOT_ELEM}\s+elements;\s+name\s+hash:\s+${ACL_NAME_HASH}\s* -> Record ^access-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+remark\s+${REMARK}\s*$$ -> Record - ^access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+${TYPE}\s+${ACTION}\s+(object\-group\s+${SVC_OBJECT_GRP}|object\s+${SVC_OBJECT}|${PROTOCOL})\s+(interface\s+${SRC_INTFC}|object\-group\s+${SRC_OBJECT_GRP}|object\s+${SRC_OBJECT}|host\s+${SRC_HOST}|${SRC_NETWORK}\s+${SRC_MASK}|${SRC_ANY})\s+(interface\s+${DST_INTFC}|object\-group\s+${DST_OBJECT_GRP}|object\s+${DST_OBJECT}|host\s+${DST_HOST}|${DST_NETWORK}\s+${DST_MASK}|${DST_ANY})\s+((eq\s+${DST_PORT}|object\-group\s+${DST_PORT_GRP}|object\s+${DST_PORT_OBJECT})\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}((log\s+${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL})\s+){0,1}(${STATE}\s+){0,1}\(hitcnt=${HIT_COUNT}\)\s+(\(inactive\)\s+){0,1}${LINE_HASH}\s* -> Record - ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL_ICMP}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}(log\s+${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL}\s+){0,1}\((hitcnt=${ENTRY_HIT_COUNT}|${ENTRY_STATE})\)\s+${ENTRY_HASH}\s* -> Record - ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}((eq\s+${ENTRY_PORT}|lt\s+${ENTRY_PORT_LESS_THAN}|gt\s+${ENTRY_PORT_GREATER_THAN}|range\s+${ENTRY_PORT_RANGE_START}\s+${ENTRY_PORT_RANGE_END})\s+){0,1}(log\s+[a-z0-9]+\s+interval\s+\d+\s+){0,1}\((hitcnt=${ENTRY_HIT_COUNT}|${ENTRY_STATE})\)\s+${ENTRY_HASH}\s* -> Record + ^access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+${TYPE}\s+${ACTION}\s+(object\-group\s+${SVC_OBJECT_GRP}|object\s+${SVC_OBJECT}|${PROTOCOL})\s+(interface\s+${SRC_INTFC}|object\-group\s+${SRC_OBJECT_GRP}|object\s+${SRC_OBJECT}|host\s+${SRC_HOST}|${SRC_NETWORK}\s+${SRC_MASK}|${SRC_ANY})\s+(interface\s+${DST_INTFC}|object\-group\s+${DST_OBJECT_GRP}|object\s+${DST_OBJECT}|host\s+${DST_HOST}|${DST_NETWORK}\s+${DST_MASK}|${DST_ANY})\s+((eq\s+${DST_PORT}|object\-group\s+${DST_PORT_GRP}|object\s+${DST_PORT_OBJECT})\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}((log\s+(${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL}|disable|default))\s+){0,1}(${STATE}\s+){0,1}\(hitcnt=${HIT_COUNT}\)\s+(\(inactive\)\s+){0,1}${LINE_HASH}\s* -> Record + ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+${ENTRY_PROTOCOL_ICMP}\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}(fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}(${ENTRY_ICMP_TYPE}(\s+${ENTRY_ICMP_CODE}){0,1}\s+){0,1}(log\s+(${LOG_LEVEL}\s+interval\s+${LOG_INTERVAL}|disable|default)\s+){0,1}(inactive){0,1}\s*(\(hitcnt=${ENTRY_HIT_COUNT}\)){0,1}\s*(\(${ENTRY_STATE}\)){0,1}\s+${ENTRY_HASH}\s* -> Record + ^\s+access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+(${ENTRY_PROTOCOL}\s+){0,1}(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+(\(${ENTRY_SRC_FQDN_STATE}\)\s+){0,1}((fqdn\s+${ENTRY_DST_FQDN}|range\s+${ENTRY_DST_RANGE_START}\s+${ENTRY_DST_RANGE_END}|host\s+${ENTRY_DST_HOST}|${ENTRY_DST_NETWORK}\s+${ENTRY_DST_MASK}|${ENTRY_DST_ANY})\s+){0,1}(\(${ENTRY_DST_FQDN_STATE}\)\s+){0,1}((eq\s+${ENTRY_PORT}|lt\s+${ENTRY_PORT_LESS_THAN}|gt\s+${ENTRY_PORT_GREATER_THAN}|range\s+${ENTRY_PORT_RANGE_START}\s+${ENTRY_PORT_RANGE_END})\s+){0,1}(log\s+([a-z0-9]+\s+interval\s+\d+|disable|default)\s+){0,1}(inactive){0,1}\s*(\(hitcnt=${ENTRY_HIT_COUNT}\)){0,1}\s*(\(${ENTRY_STATE}\)){0,1}\s+${ENTRY_HASH}\s* -> Record + ^access\-list\s+${ACL_NAME}\s+line\s+${LINE_NUM}\s+(standard|extended)\s+(permit|deny)\s+(fqdn\s+${ENTRY_SRC_FQDN}|range\s+${ENTRY_SRC_RANGE_START}\s+${ENTRY_SRC_RANGE_END}|host\s+${ENTRY_SRC_HOST}|${ENTRY_SRC_NETWORK}\s+${ENTRY_SRC_MASK}|${ENTRY_SRC_ANY})\s+\((hitcnt=${ENTRY_HIT_COUNT})\)\s+${ENTRY_HASH}\s* -> Record ^.* -> Error "Did not match any rules" -EOF \ No newline at end of file +EOF diff --git a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.raw b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.raw new file mode 100644 index 0000000000..d794b6bea7 --- /dev/null +++ b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.raw @@ -0,0 +1,78 @@ +access-list test; 51 elements; name hash: 0xcb4257a3 +access-list test line 1 extended permit ah any4 interface outside log informational interval 300 inactive (hitcnt=0) (inactive) 0x20db5032 +access-list test line 2 extended deny udp host 10.10.10.11 host 10.10.12.12 eq dnsix (hitcnt=0) 0xfe42d16f +access-list test line 3 extended permit object svc1 object test1 object test2 log informational interval 300 (hitcnt=0) 0xb18beb2d + access-list test line 3 extended permit icmp fqdn test.com (unresolved) host 10.1.1.2 echo-reply 4 log informational interval 300 (inactive) 0x0397cac0 +access-list test line 4 extended permit tcp object-group grptest1 10.10.10.0 255.255.255.128 (hitcnt=0) 0x26e50070 + access-list test line 4 extended permit tcp host 10.1.1.10 10.10.10.0 255.255.255.128 (hitcnt=0) 0x44aceee4 + access-list test line 4 extended permit tcp fqdn test.com (unresolved) 10.10.10.0 255.255.255.128 (inactive) 0x27806b87 + access-list test line 4 extended permit tcp 10.1.1.8 255.255.255.248 10.10.10.0 255.255.255.128 (hitcnt=0) 0xb65d6d2a +access-list test line 5 extended permit object-group svcgrp1 object test2 object test3 (hitcnt=0) 0xffc8818e + access-list test line 5 extended permit tcp host 10.1.1.2 range 10.1.1.3 10.1.1.8 eq 60 (hitcnt=0) 0x09fd553e + access-list test line 5 extended permit tcp host 10.1.1.2 range 10.1.1.3 10.1.1.8 eq www (hitcnt=0) 0xc366785c + access-list test line 5 extended permit tcp host 10.1.1.2 range 10.1.1.3 10.1.1.8 gt 100 (hitcnt=0) 0xc7a44ae8 + access-list test line 5 extended permit tcp host 10.1.1.2 range 10.1.1.3 10.1.1.8 range gopher 71 (hitcnt=0) 0x4db36dd4 +access-list test line 6 extended permit ip object-group grptest2 any4 (hitcnt=0) 0x1b9c9328 + access-list test line 6 extended permit ip host 10.1.1.10 any4 (hitcnt=0) 0x9d5931ab + access-list test line 6 extended permit ip fqdn test.com (unresolved) any4 (inactive) 0x0268299f + access-list test line 6 extended permit ip 10.1.1.8 255.255.255.248 any4 (hitcnt=0) 0xa6f62ec7 + access-list test line 6 extended permit ip host 10.10.10.10 any4 (hitcnt=0) 0xac0ce8e7 +access-list test line 7 extended permit object-group svcgrp4 object test3 object test2 (hitcnt=0) 0x866dbeab + access-list test line 7 extended permit tcp range 10.1.1.3 10.1.1.8 host 10.1.1.2 eq domain (hitcnt=0) 0xbef61d61 + access-list test line 7 extended permit udp range 10.1.1.3 10.1.1.8 host 10.1.1.2 eq domain (hitcnt=0) 0x3f9b81a1 + access-list test line 7 extended permit tcp range 10.1.1.3 10.1.1.8 host 10.1.1.2 eq 55 (hitcnt=0) 0x99a487f5 + access-list test line 7 extended permit udp range 10.1.1.3 10.1.1.8 host 10.1.1.2 eq 55 (hitcnt=0) 0xcd700fb1 +access-list test line 8 extended permit tcp object test1 object test1 object-group svcgrp6 (hitcnt=0) 0xd76472ac + access-list test line 8 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq aol (inactive) 0x64af6768 + access-list test line 8 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq www (inactive) 0x29864b9c + access-list test line 8 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq 84 (inactive) 0x1f80e564 +access-list test line 9 extended permit object-group prtgrp1 any4 any4 (hitcnt=0) 0x0d8479f0 + access-list test line 9 extended permit esp any4 any4 (hitcnt=0) 0x79a30bff +access-list test line 10 extended permit tcp object-group grptest1 object test1 object-group svcgrp8 (hitcnt=0) 0x0ca66136 + access-list test line 10 extended permit tcp host 10.1.1.10 fqdn test.com (unresolved) eq aol (inactive) 0xd93c8317 + access-list test line 10 extended permit tcp host 10.1.1.10 fqdn test.com (unresolved) eq www (inactive) 0x98d3e56f + access-list test line 10 extended permit tcp host 10.1.1.10 fqdn test.com (unresolved) eq 84 (inactive) 0x45e3cb59 + access-list test line 10 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq aol (inactive) 0x64af6768 + access-list test line 10 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq www (inactive) 0x29864b9c + access-list test line 10 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq 84 (inactive) 0x1f80e564 + access-list test line 10 extended permit tcp 10.1.1.8 255.255.255.248 fqdn test.com (unresolved) eq aol (inactive) 0xddad57f9 + access-list test line 10 extended permit tcp 10.1.1.8 255.255.255.248 fqdn test.com (unresolved) eq www (inactive) 0x38389426 + access-list test line 10 extended permit tcp 10.1.1.8 255.255.255.248 fqdn test.com (unresolved) eq 84 (inactive) 0x883a126a +access-list test line 11 extended permit tcp object-group grptest1 object test1 object-group svcgrp7 (hitcnt=0) 0xb396512b + access-list test line 11 extended permit tcp host 10.1.1.10 fqdn test.com (unresolved) eq domain (inactive) 0x5637d648 + access-list test line 11 extended permit tcp fqdn test.com (unresolved) fqdn test.com (unresolved) eq domain (inactive) 0x3cd20161 + access-list test line 11 extended permit tcp 10.1.1.8 255.255.255.248 fqdn test.com (unresolved) eq domain (inactive) 0x69655129 +access-list test line 12 extended permit tcp 10.20.30.0 255.255.255.0 10.50.12.0 255.255.255.224 eq www (hitcnt=0) 0x3f0331e6 +access-list test line 13 extended permit object svc10 host 10.21.10.5 host 10.50.20.10 (hitcnt=0) 0xc766bdc7 + access-list test line 13 extended permit tcp host 10.21.10.5 host 10.50.20.10 range www 88 (hitcnt=0) 0xc766bdc7 +access-list test line 14 extended permit tcp host 10.20.30.22 10.50.12.0 255.255.255.224 eq www (hitcnt=0) 0x3f0331e6 +access-list test line 15 remark explicit-deny +access-list test line 16 extended deny ip any4 any (hitcnt=0) 0x60edeab9 +access-list test line 17 remark ************ Allow ICMP ************* +access-list test line 18 extended permit icmp any any time-exceeded log informational interval 300 (hitcnt=31778) 0x6c633843 +access-list test line 19 extended permit icmp any4 any4 time-exceeded log informational interval 300 (hitcnt=0) 0x19b0643c +access-list test line 20 extended permit icmp any4 any4 unreachable log informational interval 300 (hitcnt=1902659) 0x5e72d761 +access-list test line 21 extended permit icmp any4 any4 echo log informational interval 300 (hitcnt=0) 0x2405f42c +access-list test line 22 extended permit icmp any4 any4 echo-reply log informational interval 300 (hitcnt=572136) 0x95dca5e7 +access-list test line 23 extended permit icmp any4 169.254.148.0 255.255.0.0 echo (hitcnt=0) 0x735d2ad8 +access-list test line 24 extended permit icmp any4 169.254.148.0 255.255.0.0 echo-reply (hitcnt=0) 0x4b1cc532 +access-list test line 25 extended permit icmp any4 169.254.148.0 255.255.0.0 unreachable (hitcnt=0) 0x3111e9c0 +access-list test line 26 extended permit icmp any4 169.254.148.0 255.255.0.0 time-exceeded (hitcnt=0) 0x7a963265 +access-list test line 27 extended permit icmp any4 169.254.147.0 255.255.0.0 echo-reply (hitcnt=0) 0x07bfbf99 +access-list test line 28 extended permit icmp any4 169.254.147.0 255.255.0.0 echo (hitcnt=0) 0x99e30c47 +access-list test line 29 extended permit icmp any4 169.254.147.0 255.255.0.0 unreachable (hitcnt=0) 0x91a15afa +access-list test line 30 extended permit icmp any4 169.254.151.0 255.255.0.0 echo-reply (hitcnt=0) 0xfb31202c +access-list test line 31 extended permit icmp any4 169.254.147.0 255.255.0.0 time-exceeded (hitcnt=0) 0x2bc95316 +access-list test line 32 extended permit icmp any4 169.254.151.0 255.255.0.0 echo (hitcnt=0) 0x0f3edcdd +access-list test line 33 extended permit icmp any4 169.254.151.0 255.255.0.0 unreachable (hitcnt=0) 0x7887741b +access-list test line 34 extended permit icmp any4 169.254.151.0 255.255.0.0 time-exceeded (hitcnt=0) 0x480bef5c +access-list test line 35 extended deny icmp any any (hitcnt=3) 0xff7fd0ca +access-list test line 36 extended permit tcp object-group test_gr object-group test_gr_02 eq ftp-data (hitcnt=0) 0x05e8add7 + access-list test line 36 extended permit tcp host 212.179.71.34 host 10.2.74.35 eq ftp-data (hitcnt=0) 0x9fb86c39 +access-list test line 37 extended permit tcp object network-172.16.0.0 object aps03-aps04_gaibu_vip eq ssh inactive (hitcnt=0) (inactive) 0xcc9741b2 + access-list test line 37 extended permit tcp 172.16.0.0 255.240.0.0 host 10.2.66.237 eq ssh inactive (hitcnt=0) (inactive) 0xcc9741b2 +access-list test line 38 extended permit tcp object ClientPC object-group NETWORK_100 inactive (hitcnt=0) (inactive) 0xc47bdfe9 + access-list test line 38 extended permit tcp host 172.31.168.7 host 10.2.88.104 inactive (hitcnt=0) (inactive) 0x7e7a99ef + access-list test line 38 extended permit tcp host 172.31.168.7 host 10.2.88.100 inactive (hitcnt=0) (inactive) 0x4094da11 +access-list test line 39 extended permit tcp object-group NETWORK_88 object aps0506_VIP_10.2.66.53 eq 6991 log disable (hitcnt=55) 0xe547ccd6 + access-list test line 39 extended permit tcp 10.0.247.0 255.255.255.0 host 10.2.66.53 eq 6991 log disable (hitcnt=40) 0xea52300b diff --git a/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.yml b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.yml new file mode 100644 index 0000000000..54aee7f0de --- /dev/null +++ b/tests/cisco_asa/show_access-list/cisco_asa_show_access-list_update.yml @@ -0,0 +1,4682 @@ +--- +parsed_sample: + - acl_name: "test" + acl_tot_elem: "51" + acl_name_hash: "0xcb4257a3" + type: "" + line_num: "" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "1" + remark: "" + action: "permit" + protocol: "ah" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "outside" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "inactive" + hit_count: "0" + line_hash: "0x20db5032" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "2" + remark: "" + action: "deny" + protocol: "udp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "10.10.10.11" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "10.10.12.12" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "dnsix" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xfe42d16f" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "3" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "" + svc_object: "svc1" + src_intfc: "" + src_object_grp: "" + src_object: "test1" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test2" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "0" + line_hash: "0xb18beb2d" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "3" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "icmp" + entry_protocol: "" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "4" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x0397cac0" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "4" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest1" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "10.10.10.0" + dst_mask: "255.255.255.128" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x26e50070" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "4" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "10.10.10.0" + entry_dst_mask: "255.255.255.128" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x44aceee4" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "4" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "10.10.10.0" + entry_dst_mask: "255.255.255.128" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x27806b87" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "4" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "10.10.10.0" + entry_dst_mask: "255.255.255.128" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xb65d6d2a" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "5" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "svcgrp1" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "test2" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test3" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xffc8818e" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "60" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x09fd553e" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xc366785c" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "100" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xc7a44ae8" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "5" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.2" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "10.1.1.3" + entry_dst_range_end: "10.1.1.8" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "gopher" + entry_port_range_end: "71" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x4db36dd4" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "6" + remark: "" + action: "permit" + protocol: "ip" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest2" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x1b9c9328" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x9d5931ab" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x0268299f" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xa6f62ec7" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "6" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "ip" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.10.10.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xac0ce8e7" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "7" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "svcgrp4" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "test3" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test2" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x866dbeab" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xbef61d61" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "udp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x3f9b81a1" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "55" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x99a487f5" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "7" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "udp" + entry_src_fqdn: "" + entry_src_range_start: "10.1.1.3" + entry_src_range_end: "10.1.1.8" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.1.1.2" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "55" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xcd700fb1" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "8" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "test1" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test1" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "svcgrp6" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xd76472ac" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "8" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x64af6768" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "8" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x29864b9c" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "8" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x1f80e564" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "9" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "prtgrp1" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x0d8479f0" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "9" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "esp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "any4" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "any4" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x79a30bff" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "10" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest1" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test1" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "svcgrp8" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x0ca66136" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0xd93c8317" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x98d3e56f" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x45e3cb59" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x64af6768" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x29864b9c" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x1f80e564" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "aol" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0xddad57f9" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "www" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x38389426" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "10" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "84" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x883a126a" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "11" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "grptest1" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "test1" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "svcgrp7" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xb396512b" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "11" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.1.1.10" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x5637d648" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "11" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "test.com" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "unresolved" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x3cd20161" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "11" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.1.1.8" + entry_src_mask: "255.255.255.248" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "test.com" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "unresolved" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "domain" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "inactive" + entry_hash: "0x69655129" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "12" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "10.20.30.0" + src_mask: "255.255.255.0" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "10.50.12.0" + dst_mask: "255.255.255.224" + dst_any: "" + dst_port: "www" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x3f0331e6" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "13" + remark: "" + action: "permit" + protocol: "" + svc_object_grp: "" + svc_object: "svc10" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "10.21.10.5" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "10.50.20.10" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xc766bdc7" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "13" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "10.21.10.5" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.50.20.10" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "www" + entry_port_range_end: "88" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0xc766bdc7" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "14" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "10.20.30.22" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "10.50.12.0" + dst_mask: "255.255.255.224" + dst_any: "" + dst_port: "www" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x3f0331e6" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "15" + remark: "explicit-deny" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "16" + remark: "" + action: "deny" + protocol: "ip" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x60edeab9" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "17" + remark: "************ Allow ICMP *************" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "18" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "31778" + line_hash: "0x6c633843" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "19" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "0" + line_hash: "0x19b0643c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "20" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "1902659" + line_hash: "0x5e72d761" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "21" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "0" + line_hash: "0x2405f42c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "22" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any4" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "informational" + log_interval: "300" + state: "" + hit_count: "572136" + line_hash: "0x95dca5e7" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "23" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x735d2ad8" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "24" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x4b1cc532" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "25" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x3111e9c0" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "26" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.148.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x7a963265" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "27" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x07bfbf99" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "28" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x99e30c47" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "29" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x91a15afa" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "30" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0xfb31202c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo-reply" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "31" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.147.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x2bc95316" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "32" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x0f3edcdd" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "echo" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "33" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x7887741b" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "unreachable" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "34" + remark: "" + action: "permit" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any4" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "169.254.151.0" + dst_mask: "255.255.0.0" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x480bef5c" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "time-exceeded" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "35" + remark: "" + action: "deny" + protocol: "icmp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "any" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "any" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "3" + line_hash: "0xff7fd0ca" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "36" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "test_gr" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "test_gr_02" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "ftp-data" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "0" + line_hash: "0x05e8add7" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "36" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "212.179.71.34" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.2.74.35" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "ftp-data" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "" + entry_hash: "0x9fb86c39" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "37" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "network-172.16.0.0" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "aps03-aps04_gaibu_vip" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "ssh" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "inactive" + hit_count: "0" + line_hash: "0xcc9741b2" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "37" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "172.16.0.0" + entry_src_mask: "255.240.0.0" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.2.66.237" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "ssh" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "inactive" + entry_hash: "0xcc9741b2" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "38" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "ClientPC" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "NETWORK_100" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "inactive" + hit_count: "0" + line_hash: "0xc47bdfe9" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "38" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "172.31.168.7" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.2.88.104" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "inactive" + entry_hash: "0x7e7a99ef" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "38" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "172.31.168.7" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.2.88.100" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "0" + entry_state: "inactive" + entry_hash: "0x4094da11" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "extended" + line_num: "39" + remark: "" + action: "permit" + protocol: "tcp" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "NETWORK_88" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "aps0506_VIP_10.2.66.53" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "6991" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "55" + line_hash: "0xe547ccd6" + entry_protocol_icmp: "" + entry_protocol: "" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "" + entry_src_mask: "" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "" + entry_state: "" + entry_hash: "" + - acl_name: "test" + acl_tot_elem: "" + acl_name_hash: "" + type: "" + line_num: "39" + remark: "" + action: "" + protocol: "" + svc_object_grp: "" + svc_object: "" + src_intfc: "" + src_object_grp: "" + src_object: "" + src_host: "" + src_network: "" + src_mask: "" + src_any: "" + dst_intfc: "" + dst_object_grp: "" + dst_object: "" + dst_host: "" + dst_network: "" + dst_mask: "" + dst_any: "" + dst_port: "" + dst_port_grp: "" + dst_port_object: "" + log_level: "" + log_interval: "" + state: "" + hit_count: "" + line_hash: "" + entry_protocol_icmp: "" + entry_protocol: "tcp" + entry_src_fqdn: "" + entry_src_range_start: "" + entry_src_range_end: "" + entry_src_host: "" + entry_src_network: "10.0.247.0" + entry_src_mask: "255.255.255.0" + entry_src_any: "" + entry_src_fqdn_state: "" + entry_dst_fqdn: "" + entry_dst_range_start: "" + entry_dst_range_end: "" + entry_dst_host: "10.2.66.53" + entry_dst_network: "" + entry_dst_mask: "" + entry_dst_any: "" + entry_dst_fqdn_state: "" + entry_icmp_type: "" + entry_icmp_code: "" + entry_port: "6991" + entry_port_less_than: "" + entry_port_greater_than: "" + entry_port_range_start: "" + entry_port_range_end: "" + entry_hit_count: "40" + entry_state: "" + entry_hash: "0xea52300b" From 2e031a2112a2915e55d7370b1342bf1b9a4e8bfa Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Thu, 8 Oct 2020 02:48:21 +0200 Subject: [PATCH 512/628] Bugfix: cisco_wlc_ssh_show_interface_summary - Allow space or no space on Number of Interfaces line (#810) --- ...sco_wlc_ssh_show_interface_summary.textfsm | 2 +- .../cisco_wlc_ssh_show_interface_summary2.raw | 10 +++++++ .../cisco_wlc_ssh_show_interface_summary2.yml | 26 +++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.raw create mode 100644 tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.yml diff --git a/templates/cisco_wlc_ssh_show_interface_summary.textfsm b/templates/cisco_wlc_ssh_show_interface_summary.textfsm index def2fddefd..912446f4e4 100644 --- a/templates/cisco_wlc_ssh_show_interface_summary.textfsm +++ b/templates/cisco_wlc_ssh_show_interface_summary.textfsm @@ -8,7 +8,7 @@ Value AP_MGR (\S+) Value GUEST (\S+) Start - ^\s+Number\sof\sInterfaces\.*\s${INT_COUNT}s*$$ + ^\s*Number\sof\sInterfaces\.*\s${INT_COUNT}s*$$ ^Interface\s+Name\s+Port\s+Vlan\s+Id\s+IP\s+Address\s+Type\s+Ap\s+Mgr\s+Guest -> Type_One ^\s*$$ ^. -> Error diff --git a/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.raw b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.raw new file mode 100644 index 0000000000..faf9bc80b0 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.raw @@ -0,0 +1,10 @@ + + + +Number of Interfaces.......................... 3 + +Interface Name Port Vlan Id IP Address Type Ap Mgr Guest +-------------------------------- ---- -------- --------------- ------- ------ ----- +management 1 untagged 192.168.1.11 Static Yes N/A +service-port N/A N/A 11.1.1.1 Static No N/A +virtual N/A N/A 1.1.1.1 Static No N/A diff --git a/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.yml b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.yml new file mode 100644 index 0000000000..fb4ed33279 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_summary/cisco_wlc_ssh_show_interface_summary2.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - ap_mgr: "Yes" + guest: "N/A" + int_count: "3" + ip_addr: "192.168.1.11" + name: "management" + port: "1" + type: "Static" + vlan: "untagged" + - ap_mgr: "No" + guest: "N/A" + int_count: "3" + ip_addr: "11.1.1.1" + name: "service-port" + port: "N/A" + type: "Static" + vlan: "N/A" + - ap_mgr: "No" + guest: "N/A" + int_count: "3" + ip_addr: "1.1.1.1" + name: "virtual" + port: "N/A" + type: "Static" + vlan: "N/A" From d2c23723b7eddd902794636698996e6e5babbe81 Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Thu, 8 Oct 2020 19:54:44 +0200 Subject: [PATCH 513/628] New Template: cisco_wlc_ssh_show_interface_detailed (#812) --- ...wlc_ssh_show_interface_detailed_id.textfsm | 41 +++++++++++++++++++ templates/index | 1 + ...sco_wlc_ssh_show_interface_detailed_id.raw | 35 ++++++++++++++++ ...sco_wlc_ssh_show_interface_detailed_id.yml | 9 ++++ 4 files changed, 86 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.raw create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.yml diff --git a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm new file mode 100644 index 0000000000..85b5743cef --- /dev/null +++ b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm @@ -0,0 +1,41 @@ +Value INTERFACE_NAME (\S+) +Value MAC_ADDRESS (\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+) +Value IP_ADDRESS (\d+.\d+.\d+.\d+) +Value IP_NETMASK (\d+.\d+.\d+.\d+) +Value IP_GATEWAY (\d+.\d+.\d+.\d+) +Value PRIMARY_DHCP_SERVER (\d+.\d+.\d+.\d+) +Value SECONDARY_DHCP_SERVER (\d+.\d+.\d+.\d+) + +Start + ^\s*Interface\s+Name\.+\s+${INTERFACE_NAME}\s*$$ + ^\s*MAC\s+Address\.+\s+${MAC_ADDRESS}\s*$$ + ^\s*IP\s+Address\.+\s+${IP_ADDRESS}\s*$$ + ^\s*IP\s+Netmask\.+\s+${IP_NETMASK}\s*$$ + ^\s*IP\s+Gateway\.+\s+${IP_GATEWAY}\s*$$ + ^\s*Primary\s+DHCP\s+Server\.+\s+${PRIMARY_DHCP_SERVER}\s*$$ + ^\s*Secondary\s+DHCP\s+Server\.+\s+${SECONDARY_DHCP_SERVER}\s*$$ -> Record + ^\s*External\s+NAT\s+IP\s+State.*$$ + ^\s*External\s+NAT\s+IP\s+Address.*$$ + ^\s*Link\s+Local\s+IPv6\s+Address.*$$ + ^\s*STATE.*$$ + ^\s*IPv6\s+Address.*$$ + ^\s*IPv6\s+Gateway.*$$ + ^\s*IPv6\s+Gateway\s+Mac\s+Address.*$$ + ^\s*VLAN.*$$ + ^\s*Quarantine-vlan.*$$ + ^\s*NAS-Identifier.*$$ + ^\s*Active\s+Physical\s+Port.*$$ + ^\s*Primary\s+Physical\s+Port.*$$ + ^\s*Backup\s+Physical\s+Port.*$$ + ^\s*DHCP\s+Proxy\s+Mode.*$$ + ^\s*DHCP\s+Option\s+82.*$$ + ^\s*DHCP\s+Option\s+82\s+bridge\s+mode\s+insertion.*$$ + ^\s*DHCP\s+Option\s+6\s+Opendns\s+Override.*$$ + ^\s*IPv4\s+ACL.*$$ + ^\s*mDNS\s+Profile\s+Name.*$$ + ^\s*AP\s+Manager.*$$ + ^\s*Guest\s+Interface.*$$ + ^\s*3G\s+VLAN.*$$ + ^\s*L2\s+Multicast.*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index e8d0038387..9bb76f0e90 100644 --- a/templates/index +++ b/templates/index @@ -296,6 +296,7 @@ cisco_s300_show_version.textfsm, .*, cisco_s300, sh[[ow]] ver[[sion]] cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ad[[vanced]] 802\.11[ab] ch[[annel]] cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]] +cisco_wlc_ssh_show_interface_detailed_id.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] d[[etailed]] (\S+) cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_rf-profile_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.raw b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.raw new file mode 100644 index 0000000000..e8ff9ffea4 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.raw @@ -0,0 +1,35 @@ + + +Interface Name................................... my-interface +MAC Address...................................... c0:12:43:56:78:90 +IP Address....................................... 8.8.8.8 +IP Netmask....................................... 255.255.254.0 +IP Gateway....................................... 8.8.8.1 +External NAT IP State............................ Disabled +External NAT IP Address.......................... 0.0.0.0 +Link Local IPv6 Address.......................... fe80::c012:4356:7890:5643/64 +STATE ........................................... NONE +IPv6 Address..................................... ::/128 +STATE ........................................... NONE +IPv6 Gateway..................................... :: +IPv6 Gateway Mac Address......................... 00:00:00:00:00:00 +STATE ........................................... NONE +VLAN............................................. 300 +Quarantine-vlan.................................. 0 +NAS-Identifier................................... none +Active Physical Port............................. LAG (13) +Primary Physical Port............................ LAG (13) +Backup Physical Port............................. Unconfigured +DHCP Proxy Mode.................................. Global +Primary DHCP Server.............................. 1.1.1.1 +Secondary DHCP Server............................ 1.1.1.2 +DHCP Option 82................................... Disabled +DHCP Option 82 bridge mode insertion............. Disabled +DHCP Option 6 Opendns Override................... Disabled +IPv4 ACL......................................... Unconfigured +mDNS Profile Name................................ Unconfigured +AP Manager....................................... No +Guest Interface.................................. No +3G VLAN.......................................... Disabled +L2 Multicast..................................... Enabled + diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.yml b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.yml new file mode 100644 index 0000000000..d30caf78bb --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - interface_name: "my-interface" + mac_address: "c0:12:43:56:78:90" + ip_address: "8.8.8.8" + ip_netmask: "255.255.254.0" + ip_gateway: "8.8.8.1" + primary_dhcp_server: "1.1.1.1" + secondary_dhcp_server: "1.1.1.2" From 32b632c3e6487cbe0156229ac994a57c1dfac6bf Mon Sep 17 00:00:00 2001 From: yshu95 <33629257+yshu95@users.noreply.github.com> Date: Wed, 21 Oct 2020 07:08:46 +0900 Subject: [PATCH 514/628] BugFix: EOS show inventory - modify regex based on additional output (#791) --- templates/arista_eos_show_inventory.textfsm | 12 ++-- .../arista_eos_show_inventory1.raw | 31 +++++++++ .../arista_eos_show_inventory1.yml | 67 +++++++++++++++++++ 3 files changed, 104 insertions(+), 6 deletions(-) create mode 100644 tests/arista_eos/show_inventory/arista_eos_show_inventory1.raw create mode 100644 tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml diff --git a/templates/arista_eos_show_inventory.textfsm b/templates/arista_eos_show_inventory.textfsm index e306ec7c4e..d618959074 100644 --- a/templates/arista_eos_show_inventory.textfsm +++ b/templates/arista_eos_show_inventory.textfsm @@ -11,7 +11,7 @@ Chassis ^\s+Model ^\s+- ^\s+HW - ^\s+${VID}\s+${SN}\s+\d+-\d+-\d+$$ -> Record + ^\s+${VID}\s+${SN}\s+\d+-\d+-\d+ -> Record ^\s+${NAME}?\s+${DESCR}$$ ^\s*System.+(power supply|power-supply) -> Power_Supply @@ -19,18 +19,18 @@ Chassis Power_Supply ^\s+Slot ^\s+- - ^\s+${PORT}\s+${NAME}\s+${SN}$$ -> Record + ^\s+${PORT}\s+${NAME}\s+${SN} -> Record ^\s*System.+(fan) -> Fan - + Fan ^\s+Module ^\s+- - ^\s+${PORT}?\s+\d+?\s+${NAME}?\s+${SN}$$ -> Record + ^\s+${PORT}?\s+\d+?\s+${NAME}?\s+${SN} -> Record ^\s*System.+ports -> Ports Ports - ^\s+${DESCR}\s+${PORT}$$ -> Record + ^\s+${DESCR}\s+${PORT} -> Record ^\s*System.+transceiver -> Transceiver Transceiver - ^\s+${PORT}\s+${DESCR}\s+${NAME}\s+${SN}\s+${VID}$$ -> Record \ No newline at end of file + ^\s+${PORT}\s+${DESCR}\s+${NAME}\s+${SN}\s+${VID} -> Record \ No newline at end of file diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory1.raw b/tests/arista_eos/show_inventory/arista_eos_show_inventory1.raw new file mode 100644 index 0000000000..085408c734 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory1.raw @@ -0,0 +1,31 @@ +System information + Model Description + ------------------------ ---------------------------------------------------- + DCS-7150S-52-CL 52-port SFP+ 10GigE 1RU + Clock + HW Version Serial Number Mfg Date Epoch + ----------- -------------- ---------- ----- + 02.00 JPE13120702 2013-03-27 01.00 +System has 2 power supply slots + Slot Model Serial Number + ---- ---------------- ---------------- + 1 PWR-460AC-F K192KU00241CZ + 2 PWR-460AC-F K192L200751CZ +System has 4 fan modules + Module Number of Fans Model Serial Number + ------- --------------- ---------------- ---------------- + 1 1 FAN-7000-F N/A + 2 1 FAN-7000-F N/A + 3 1 FAN-7000-F N/A + 4 1 FAN-7000-F N/A +System has 53 ports + Type Count + ---------------- ---- + Management 1 + Switched 52 +System has 52 transceiver slots + Port Manufacturer Model Serial Number Rev + ---- ---------------- ---------------- ---------------- ---- + 1 Arista Networks SFP-10G-SR XCW1225FD753 0002 + 2 Arista Networks SFP-10G-SR XCW1225FD753 0002 + 51 Arista Networks SFP-10G-SR XCW1225FD753 0002 + 52 Arista Networks SFP-10G-SR XCW1225FD753 0002 \ No newline at end of file diff --git a/tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml b/tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml new file mode 100644 index 0000000000..4c8a4a1f58 --- /dev/null +++ b/tests/arista_eos/show_inventory/arista_eos_show_inventory1.yml @@ -0,0 +1,67 @@ +--- +parsed_sample: + - port: "" + name: "DCS-7150S-52-CL" + sn: "JPE13120702" + descr: "52-port SFP+ 10GigE 1RU + Clock " + vid: "02.00" + - port: "1" + name: "PWR-460AC-F" + sn: "K192KU00241CZ" + descr: "" + vid: "" + - port: "2" + name: "PWR-460AC-F" + sn: "K192L200751CZ" + descr: "" + vid: "" + - port: "1" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "2" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "3" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "4" + name: "FAN-7000-F" + sn: "N/A" + descr: "" + vid: "" + - port: "1" + name: "" + sn: "" + descr: "Management" + vid: "" + - port: "52" + name: "" + sn: "" + descr: "Switched" + vid: "" + - port: "1" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" + - port: "2" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" + - port: "51" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" + - port: "52" + name: "SFP-10G-SR" + sn: "XCW1225FD753" + descr: "Arista Networks" + vid: "0002" From 7be4e473b79d3765c2d963ed3b48ca1d1ffd4e80 Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Wed, 21 Oct 2020 23:07:25 +0100 Subject: [PATCH 515/628] New Template: Procurve show interfaces (#796) --- templates/hp_procurve_show_interfaces.textfsm | 19 ++ templates/index | 1 + .../hp_procurve_show_interfaces.raw | 29 +++ .../hp_procurve_show_interfaces.yml | 170 ++++++++++++++++++ 4 files changed, 219 insertions(+) create mode 100644 templates/hp_procurve_show_interfaces.textfsm create mode 100644 tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.raw create mode 100644 tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.yml diff --git a/templates/hp_procurve_show_interfaces.textfsm b/templates/hp_procurve_show_interfaces.textfsm new file mode 100644 index 0000000000..f5665444d2 --- /dev/null +++ b/templates/hp_procurve_show_interfaces.textfsm @@ -0,0 +1,19 @@ +Value PORT (\S+) +Value TOTAL_BYTES (\S+) +Value TOTAL_FRAMES (\S+) +Value ERRORS_RX (\S+) +Value DROPS_TX (\S+) +Value FLOW_CTRL (off|on) +Value BCAST_LIMIT (\d+) + +Start + ^\s+Status.*Counters\s* + ^\s*$$ + ^\s+Flow\s+Bcast\s* + ^\s+Port.*Limit\s* + ^\s+-+\s+-+\s+-+\s+-+\s+-+\s+-+\s-+\s*$$ -> ShowInterfaces + +ShowInterfaces + ^\s+${PORT}\s+${TOTAL_BYTES}\s+${TOTAL_FRAMES}\s+${ERRORS_RX}\s+${DROPS_TX}\s+${FLOW_CTRL}\s+${BCAST_LIMIT}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 9bb76f0e90..49661f748b 100644 --- a/templates/index +++ b/templates/index @@ -378,6 +378,7 @@ hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] +hp_procurve_show_interfaces.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] hp_procurve_show_system.textfsm, .*, hp_procurve, sh[[ow]] syst[[em]] hp_procurve_show_trunks.textfsm, .*, hp_procurve, sh[[ow]] tr[[unks]] hp_procurve_show_vlans.textfsm, .*, hp_procurve, sh[[ow]] vl[[ans]] diff --git a/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.raw b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.raw new file mode 100644 index 0000000000..5beaac1b02 --- /dev/null +++ b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.raw @@ -0,0 +1,29 @@ + Status and Counters - Port Counters + + Flow Bcast + Port Total Bytes Total Frames Errors Rx Drops Tx Ctrl Limit + ------------ -------------- -------------- --------- --------- ---- ----- + 1 98,581 869 0 0 on 0 + 2 0 0 0 0 off 0 + 3 0 0 0 0 off 0 + 4 0 0 67,00 0 off 0 + 5 0 0 0 0 off 0 + 6 0 0 0 0 off 0 + 7 0 0 0 0 off 0 + 8 0 0 0 0 off 0 + 9 0 0 0 0 off 0 + 10 0 0 0 0 on 50 + 11 0 0 0 0 off 0 + 12 0 0 0 0 off 0 + 13 0 0 0 0 off 0 + 14 0 0 0 0 off 0 + 15 0 0 0 0 off 0 + 16 0 0 0 0 off 0 + 17 0 0 0 0 off 0 + 18 0 0 0 0 off 0 + 19 0 0 0 0 off 0 + 20 0 0 0 0 off 0 + 21 0 0 0 0 off 0 + 22 0 0 0 0 off 0 + 23 0 0 0 0 off 0 + 24 0 0 0 0 off 0 diff --git a/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.yml b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.yml new file mode 100644 index 0000000000..8d5d30e119 --- /dev/null +++ b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces.yml @@ -0,0 +1,170 @@ +--- +parsed_sample: + - port: "1" + total_bytes: "98,581" + total_frames: "869" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "on" + bcast_limit: "0" + - port: "2" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "3" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "4" + total_bytes: "0" + total_frames: "0" + errors_rx: "67,00" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "5" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "6" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "7" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "8" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "9" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "10" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "on" + bcast_limit: "50" + - port: "11" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "12" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "13" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "14" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "15" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "16" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "17" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "18" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "19" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "20" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "21" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "22" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "23" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" + - port: "24" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "0" From d322c773d346514b2eb47fa12283cdcbe7738011 Mon Sep 17 00:00:00 2001 From: jifox Date: Thu, 22 Oct 2020 16:07:18 +0200 Subject: [PATCH 516/628] New Template: Linux - arp -a (#814) --- templates/index | 2 + templates/linux_arp_-a.textfsm | 11 +++ tests/linux/arp_-a/linux_arp_a.raw | 9 +++ tests/linux/arp_-a/linux_arp_a.yml | 48 +++++++++++++ tests/test_index_order.py | 110 +++++++++++++++-------------- 5 files changed, 126 insertions(+), 54 deletions(-) create mode 100644 templates/linux_arp_-a.textfsm create mode 100644 tests/linux/arp_-a/linux_arp_a.raw create mode 100644 tests/linux/arp_-a/linux_arp_a.yml diff --git a/templates/index b/templates/index index 49661f748b..8870dec78d 100644 --- a/templates/index +++ b/templates/index @@ -403,6 +403,8 @@ juniper_junos_show_version.textfsm, .*, juniper_junos, sh[[ow]] ver[[sion]] juniper_screenos_get_route.textfsm, .*, juniper_screenos, get route +linux_arp_-a.textfsm, .*, linux, arp -a + paloalto_panos_show_running_security-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] paloalto_panos_show_high-availability_all.textfsm, .*, paloalto_panos, sh[[ow]] high[[-availability]] all paloalto_panos_show_interface_management.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] man[[agement]] diff --git a/templates/linux_arp_-a.textfsm b/templates/linux_arp_-a.textfsm new file mode 100644 index 0000000000..8f058a453f --- /dev/null +++ b/templates/linux_arp_-a.textfsm @@ -0,0 +1,11 @@ +Value REV_DNS (\S+) +Value IP_ADDRESS (\S+) +Value MAC_ADDRESS (\S+) +Value HW_TYPE (\S+) +Value INTERFACE (\S+) + +Start + ^${REV_DNS}\s+\(${IP_ADDRESS}\)\s+\S+\s+${MAC_ADDRESS}\s+\[${HW_TYPE}\]\s+\S+\s+${INTERFACE}$$ -> Record + ^${REV_DNS}\s+\(${IP_ADDRESS}\)\s+\S+\s+<${MAC_ADDRESS}>\s+\S+\s+${INTERFACE}$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/tests/linux/arp_-a/linux_arp_a.raw b/tests/linux/arp_-a/linux_arp_a.raw new file mode 100644 index 0000000000..b222c25435 --- /dev/null +++ b/tests/linux/arp_-a/linux_arp_a.raw @@ -0,0 +1,9 @@ +? (192.168.13.197) at 00:04:4b:cc:9c:ba [ether] on eth1.100 +? (192.168.10.100) at on eth1.10 +? (192.168.13.252) at 5c:e2:8c:fc:a4:74 [ether] on eth1.100 +esxi (192.168.13.5) at 00:e0:67:05:9d:5a [ether] on eth1.100 +? (192.168.13.253) at dc:f7:19:cd:d6:c4 [ether] on eth1.100 +? (192.168.123.199) at 00:0f:c9:0e:c8:ec [ether] on eth0.21 +? (192.168.10.52) at on eth1.10 +? (192.168.10.7) at 00:0c:29:02:3b:93 [ether] on eth1.10 +? (192.168.10.249) at 00:0c:29:bb:5f:a2 [ether] on eth1.10 diff --git a/tests/linux/arp_-a/linux_arp_a.yml b/tests/linux/arp_-a/linux_arp_a.yml new file mode 100644 index 0000000000..793442a5a7 --- /dev/null +++ b/tests/linux/arp_-a/linux_arp_a.yml @@ -0,0 +1,48 @@ +--- + +parsed_sample: + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.197" + mac_address: "00:04:4b:cc:9c:ba" + rev_dns: "?" + - hw_type: "" + interface: "eth1.10" + ip_address: "192.168.10.100" + mac_address: "incomplete" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.252" + mac_address: "5c:e2:8c:fc:a4:74" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.5" + mac_address: "00:e0:67:05:9d:5a" + rev_dns: "esxi" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.253" + mac_address: "dc:f7:19:cd:d6:c4" + rev_dns: "?" + - hw_type: "ether" + interface: "eth0.21" + ip_address: "192.168.123.199" + mac_address: "00:0f:c9:0e:c8:ec" + rev_dns: "?" + - hw_type: "" + interface: "eth1.10" + ip_address: "192.168.10.52" + mac_address: "incomplete" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.10" + ip_address: "192.168.10.7" + mac_address: "00:0c:29:02:3b:93" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.10" + ip_address: "192.168.10.249" + mac_address: "00:0c:29:bb:5f:a2" + rev_dns: "?" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 84d05b6c0e..a6e378991b 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -1,14 +1,63 @@ #!/usr/bin/env python - -import pytest -import csv import os -import glob +import re import csv +import glob + +import pytest from tests import load_index_data +OS_CHOICES = [ + "a10", + "alcatel_aos", + "alcatel_sros", + "arista_eos", + "aruba_os", + "avaya_ers", + "avaya_vsp", + "broadcom_icos", + "brocade_fastiron", + "brocade_netiron", + "brocade_nos", + "brocade_vdx", + "brocade_vyos", + "checkpoint_gaia", + "ciena_saos", + "cisco_asa", + "cisco_ftd", + "cisco_ios", + "cisco_nxos", + "cisco_s300", + "cisco_wlc", + "cisco_xe", + "cisco_xr", + "dell_force10", + "enterasys", + "extreme", + "f5_ltm", + "fortinet_fortios", + "hp_comware", + "hp_procurve", + "huawei_vrp", + "juniper", + "juniper_junos", + "juniper_screenos", + "linux", + "ovs_linux", + "paloalto_panos", + "quanta_mesh", + "ruckus_fastiron", + "ubiquiti_edgeswitch", + "vmware_nsxv", + "vyatta_vyos", + "vyos", + "watchguard_firebox", +] +RE_TEMPLATE_OS = re.compile("^(" + "|".join(OS_CHOICES) + ")") + + def check_order( current_os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd ): @@ -60,54 +109,6 @@ def check_order( def test_index_ordering(): - - os_choices = [ - "a10", - "alcatel_aos", - "alcatel_sros", - "arista_eos", - "aruba_os", - "avaya_ers", - "avaya_vsp", - "broadcom_icos", - "brocade_fastiron", - "brocade_netiron", - "brocade_nos", - "brocade_vdx", - "brocade_vyos", - "checkpoint_gaia", - "ciena_saos", - "cisco_asa", - "cisco_ftd", - "cisco_ios", - "cisco_nxos", - "cisco_s300", - "cisco_wlc", - "cisco_xe", - "cisco_xr", - "dell_force10", - "enterasys", - "extreme", - "f5_ltm", - "fortinet_fortios", - "hp_comware", - "hp_procurve", - "huawei_vrp", - "juniper", - "juniper_junos", - "juniper_screenos", - "linux", - "ovs_linux", - "paloalto_panos", - "quanta_mesh", - "ruckus_fastiron", - "ubiquiti_edgeswitch", - "vmware_nsxv", - "vyatta_vyos", - "vyos", - "watchguard_firebox", - ] - prior_os = "" prior_len = 0 prior_cmd = "" @@ -116,11 +117,12 @@ def test_index_ordering(): index = load_index_data() for row in index: template = row[0].strip() - os = "_".join(template.split("_")[:2]) + os_match = RE_TEMPLATE_OS.match(template) + os = os_match.group(0) cmd = "_".join(template.split("_")[2:]) cmd_len = len(cmd) check_val, check_msg = check_order( - os, prior_os, cmd_len, prior_len, os_choices, used_os, cmd, prior_cmd + os, prior_os, cmd_len, prior_len, OS_CHOICES, used_os, cmd, prior_cmd ) if not check_val: # assertFalse(check_val, msg=check_msg) From c340765da77ec4969ce000dc5c955c8a9a089d5a Mon Sep 17 00:00:00 2001 From: starlightdreamer <42082309+starlightdreamer@users.noreply.github.com> Date: Mon, 26 Oct 2020 13:00:40 -0500 Subject: [PATCH 517/628] Bugfix: ASA - show_interface - Adds missing case for duplex and speed. (#815) --- templates/cisco_asa_show_interface.textfsm | 1 + .../cisco_asa_show_interface2.raw | 29 +++++++++++++++++++ .../cisco_asa_show_interface2.yml | 26 +++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface2.raw create mode 100644 tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml diff --git a/templates/cisco_asa_show_interface.textfsm b/templates/cisco_asa_show_interface.textfsm index f7533874f9..274a7a92ef 100644 --- a/templates/cisco_asa_show_interface.textfsm +++ b/templates/cisco_asa_show_interface.textfsm @@ -31,6 +31,7 @@ Start ^.*BW\s+${BANDWIDTH},\s+DLY\s+${DELAY} ^.*\(${DUPLEX}\),\s+Auto-Speed\(${SPEED}\) ^.*\(${DUPLEX}\),\s+\d+\s+Mbps\(${SPEED}\) + ^.*Duplex,\s+Auto-Speed ^.*Description:\s+${DESCRIPTION} ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+${MTU} ^.*MAC\s+address\s+${ADDRESS},\s+MTU\s+not\s+set diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface2.raw b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.raw new file mode 100644 index 0000000000..ad5372236f --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.raw @@ -0,0 +1,29 @@ +Interface GigabitEthernet0/0 "outside", is up, line protocol is up + Hardware is i82540EM rev03, BW 1000 Mbps, DLY 10 usec + Full-Duplex, Auto-Speed + Input flow control is unsupported, output flow control is off + Description: to iosv-1 + MAC address fa16.3eb0.c3d3, MTU 1500 + IP address 10.0.0.5, subnet mask 255.255.255.252 + 2 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts, 0 runts, 0 giants + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort + 0 pause input, 0 resume input + 0 L2 decode drops + 1 packets output, 0 bytes, 0 underruns + 0 pause output, 0 resume output + 0 output errors, 0 collisions, 2 interface resets + 0 late collisions, 0 deferred + 0 input reset drops, 0 output reset drops + input queue (blocks free curr/low): hardware (511/511) + output queue (blocks free curr/low): hardware (511/511) + Traffic Statistics for "outside": + 2 packets input, 381 bytes + 1 packets output, 28 bytes + 2 packets dropped + 1 minute input rate 0 pkts/sec, 0 bytes/sec + 1 minute output rate 0 pkts/sec, 0 bytes/sec + 1 minute drop rate, 0 pkts/sec + 5 minute input rate 0 pkts/sec, 0 bytes/sec + 5 minute output rate 0 pkts/sec, 0 bytes/sec + 5 minute drop rate, 0 pkts/sec diff --git a/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml new file mode 100644 index 0000000000..197fbd70c0 --- /dev/null +++ b/tests/cisco_asa/show_interface/cisco_asa_show_interface2.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - address: "fa16.3eb0.c3d3" + bandwidth: "1000 Mbps" + delay: "10 usec" + description: "to iosv-1" + duplex: "" + fivemin_drop_rate: "0" + fivemin_in_pps: "0" + fivemin_in_rate: "0" + fivemin_out_pps: "0" + fivemin_out_rate: "0" + hardware_type: "i82540EM rev03" + interface: "GigabitEthernet0/0" + interface_zone: "outside" + ip_address: "10.0.0.5" + link_status: "up" + mtu: "1500" + net_mask: "255.255.255.252" + onemin_drop_rate: "0" + onemin_in_pps: "0" + onemin_in_rate: "0" + onemin_out_pps: "0" + onemin_out_rate: "0" + protocol_status: "up" + speed: "" From 02ce80725e97fb784dfeb91d2b018ebd35d9a36a Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 26 Oct 2020 21:46:19 +0000 Subject: [PATCH 518/628] Enhancement: IOS ACL - Add support for ICMP (#808) --- ...nning-config_partition_access-list.textfsm | 17 +- ...w_running-config_partition_access-list.yml | 261 +++ ...ing-config_partition_access-list_fixed.raw | 2 +- ...ing-config_partition_access-list_fixed.yml | 320 +++- ...nning-config_partition_access-list_new.raw | 57 + ...nning-config_partition_access-list_new.yml | 1489 +++++++++++++++++ 6 files changed, 2137 insertions(+), 9 deletions(-) create mode 100644 tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.raw create mode 100644 tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.yml diff --git a/templates/cisco_ios_show_running-config_partition_access-list.textfsm b/templates/cisco_ios_show_running-config_partition_access-list.textfsm index e3cc2d621b..c75e004daa 100644 --- a/templates/cisco_ios_show_running-config_partition_access-list.textfsm +++ b/templates/cisco_ios_show_running-config_partition_access-list.textfsm @@ -1,5 +1,6 @@ Value Required,Filldown ACL_NAME (\S+) Value Filldown ACL_TYPE (standard|extended) +Value LINE_NUM (\d+) Value List COMMENT (.*) Value ACTION (permit|deny) Value PROTOCOL (\S+) @@ -7,20 +8,22 @@ Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) -Value SRC_PORT_MATCH (eq|range|lt|gt) -Value SRC_PORT ((? Record # Record named ACL Extended entry - ^\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|\s+${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}|) -> Record + ^\s+(${LINE_NUM}\s+|)${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s*$$ -> Record # Record named ACL Standard entry - ^\s+${ACTION}\s+(${SRC_NETWORK}\s+${SRC_WILDCARD}|${SRC_ANY}|${SRC_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record + ^\s+(${LINE_NUM}\s+|)${ACTION}\s+(${SRC_NETWORK}\s+${SRC_WILDCARD}|${SRC_ANY}|${SRC_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record named ACL Remark - ^\s+remark\s+${COMMENT}\s* + ^\s+(${LINE_NUM}\s+|)remark\s+${COMMENT}\s* # Record numbered ACL Extended entry - ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|\s+${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record + ^access-list\s+${ACL_NAME}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT})|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT})|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record numbered ACL Standard entry ^access-list\s+${ACL_NAME}\s+${ACTION}\s+(${SRC_NETWORK}\s+${SRC_WILDCARD}|${SRC_ANY}|${SRC_HOST})(\s+${LOG}|)(\s+time-range\s+${TIME}|)\s* -> Record # Record numbered ACL Remark diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml index 283db1bd13..8f7f95bda0 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list.yml @@ -2,6 +2,7 @@ parsed_sample: - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -21,11 +22,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows BGP\"" action: "permit" @@ -46,11 +50,14 @@ parsed_sample: dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -70,11 +77,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -95,11 +105,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -119,11 +132,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -144,11 +160,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -168,11 +187,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -193,11 +215,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -217,11 +242,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -242,11 +270,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -266,11 +297,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -291,11 +325,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -315,11 +352,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -340,11 +380,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -364,11 +407,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -389,11 +435,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -413,11 +462,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -438,11 +490,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -462,11 +517,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample servers to ping" action: "permit" @@ -487,11 +545,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -511,11 +572,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -536,11 +600,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -560,11 +627,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -584,11 +654,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -608,11 +681,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s) to connect\"" action: "permit" @@ -633,11 +709,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -657,11 +736,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -681,11 +763,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -705,11 +790,14 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -729,11 +817,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -753,11 +844,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -777,11 +871,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -801,11 +898,14 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -826,11 +926,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -850,11 +953,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -874,11 +980,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -898,11 +1007,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -922,11 +1034,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -946,11 +1061,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -971,11 +1089,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -995,11 +1116,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1019,11 +1143,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1043,11 +1170,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1067,11 +1197,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1091,11 +1224,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -1116,11 +1252,14 @@ parsed_sample: dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1140,11 +1279,14 @@ parsed_sample: dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1164,11 +1306,14 @@ parsed_sample: dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1188,11 +1333,14 @@ parsed_sample: dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -1213,11 +1361,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1237,11 +1388,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1261,11 +1415,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1285,11 +1442,14 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1309,11 +1469,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1333,11 +1496,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1357,11 +1523,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1381,11 +1550,14 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample workstation(s)" action: "permit" @@ -1406,11 +1578,14 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample workstation(s)" action: "permit" @@ -1431,11 +1606,14 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample to connect" action: "permit" @@ -1456,11 +1634,14 @@ parsed_sample: dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1480,11 +1661,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample to connect" action: "permit" @@ -1505,11 +1689,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample UDP access" action: "permit" @@ -1530,11 +1717,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -1554,11 +1744,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample TCP access" action: "permit" @@ -1579,11 +1772,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1603,11 +1799,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allow sample to send PIM-Join" action: "permit" @@ -1628,11 +1827,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "deny" protocol: "ip" @@ -1652,11 +1854,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "ip" @@ -1676,11 +1881,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "test" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -1700,11 +1908,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "97" acl_type: "" + line_num: "" comment: [] action: "deny" protocol: "" @@ -1724,11 +1935,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" - acl_name: "97" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1748,11 +1962,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "98" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1772,11 +1989,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "98" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1796,11 +2016,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "99" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1820,11 +2043,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "99" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1844,11 +2070,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "199" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1868,11 +2097,14 @@ parsed_sample: dst_port: "80" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "199" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -1892,11 +2124,14 @@ parsed_sample: dst_port: "1000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1916,11 +2151,14 @@ parsed_sample: dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1940,11 +2178,14 @@ parsed_sample: dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "ahp" @@ -1964,11 +2205,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1988,11 +2232,14 @@ parsed_sample: dst_port: "tacacs" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" - acl_name: "stdacl" acl_type: "standard" + line_num: "" comment: [] action: "" protocol: "" @@ -2012,11 +2259,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "stdacl" acl_type: "standard" + line_num: "" comment: [] action: "permit" protocol: "" @@ -2036,11 +2286,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "test2" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -2060,11 +2313,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "198" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -2084,11 +2340,14 @@ parsed_sample: dst_port: "80" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "198" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2108,6 +2367,8 @@ parsed_sample: dst_port: "1000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw index f3a165dc05..4748f0545d 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.raw @@ -138,7 +138,7 @@ ip access-list extended ios_partition_acl remark consecutive COMMENT permit tcp any host 192.168.100.1 established remark correct syntax for time-range ace - permit tcp host 10.1.1.1 eq ftp any eq tacacs time-range test log + permit tcp host 10.1.1.1 eq ftp any eq tacacs log time-range test access-list 102 remark match protocol numbers access-list 102 deny 53 any any diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml index 36e6f8294d..3366b6cc7b 100644 --- a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_fixed.yml @@ -2,6 +2,7 @@ parsed_sample: - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -21,11 +22,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows BGP\"" action: "permit" @@ -46,11 +50,14 @@ parsed_sample: dst_port: "bgp" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -70,11 +77,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -95,11 +105,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -119,11 +132,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -144,11 +160,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -168,11 +187,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -193,11 +215,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -217,11 +242,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -242,11 +270,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -266,11 +297,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -291,11 +325,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -315,11 +352,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample to ping\"" action: "permit" @@ -340,11 +380,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -364,11 +407,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -389,11 +435,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -413,11 +462,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -438,11 +490,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -462,11 +517,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample servers to ping" action: "permit" @@ -487,11 +545,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -511,11 +572,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allows sample to ping" action: "permit" @@ -536,11 +600,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -560,11 +627,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -584,11 +654,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "icmp" @@ -608,11 +681,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s) to connect\"" action: "permit" @@ -633,11 +709,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -657,11 +736,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -681,11 +763,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -705,11 +790,14 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -729,11 +817,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -753,11 +844,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -777,11 +871,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -801,11 +898,14 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -826,11 +926,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -850,11 +953,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -874,11 +980,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -898,11 +1007,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -922,11 +1034,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -946,11 +1061,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -971,11 +1089,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -995,11 +1116,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1019,11 +1143,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1043,11 +1170,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1067,11 +1197,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1091,11 +1224,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -1116,11 +1252,14 @@ parsed_sample: dst_port: "4050" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1140,11 +1279,14 @@ parsed_sample: dst_port: "4060" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1164,11 +1306,14 @@ parsed_sample: dst_port: "4350" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1188,11 +1333,14 @@ parsed_sample: dst_port: "4360" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "\"allows sample workstation(s)\"" action: "permit" @@ -1213,11 +1361,14 @@ parsed_sample: dst_port: "4000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1237,11 +1388,14 @@ parsed_sample: dst_port: "4010" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1261,11 +1415,14 @@ parsed_sample: dst_port: "4020" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1285,11 +1442,14 @@ parsed_sample: dst_port: "4080" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1309,11 +1469,14 @@ parsed_sample: dst_port: "4300" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1333,11 +1496,14 @@ parsed_sample: dst_port: "4310" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1357,11 +1523,14 @@ parsed_sample: dst_port: "4320" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1381,11 +1550,14 @@ parsed_sample: dst_port: "4380" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample workstation(s)" action: "permit" @@ -1406,11 +1578,14 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample workstation(s)" action: "permit" @@ -1431,11 +1606,14 @@ parsed_sample: dst_port: "4001" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample to connect" action: "permit" @@ -1456,11 +1634,14 @@ parsed_sample: dst_port: "9815" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1480,11 +1661,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "9821" dst_port_range_end: "9823" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample to connect" action: "permit" @@ -1505,11 +1689,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "7400" dst_port_range_end: "7407" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample UDP access" action: "permit" @@ -1530,11 +1717,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -1554,11 +1744,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "permit sample TCP access" action: "permit" @@ -1579,11 +1772,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1603,11 +1799,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "13001" dst_port_range_end: "13191" + flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: - "allow sample to send PIM-Join" action: "permit" @@ -1628,11 +1827,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "deny" protocol: "ip" @@ -1652,11 +1854,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "sample" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "ip" @@ -1676,11 +1881,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "test" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -1700,11 +1908,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "97" acl_type: "" + line_num: "" comment: [] action: "deny" protocol: "" @@ -1724,11 +1935,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" - acl_name: "97" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1748,11 +1962,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "98" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1772,11 +1989,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "98" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1796,11 +2016,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "99" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1820,11 +2043,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "99" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "" @@ -1844,11 +2070,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "199" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1868,11 +2097,14 @@ parsed_sample: dst_port: "80" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "199" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -1892,11 +2124,14 @@ parsed_sample: dst_port: "1000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1916,11 +2151,14 @@ parsed_sample: dst_port: "www" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1940,11 +2178,14 @@ parsed_sample: dst_port: "443" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "ahp" @@ -1964,11 +2205,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" - acl_name: "101" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -1988,11 +2232,14 @@ parsed_sample: dst_port: "tacacs" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" - acl_name: "stdacl" acl_type: "standard" + line_num: "" comment: [] action: "" protocol: "" @@ -2012,11 +2259,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "stdacl" acl_type: "standard" + line_num: "" comment: [] action: "permit" protocol: "" @@ -2036,11 +2286,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "test2" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -2060,11 +2313,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "198" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -2084,11 +2340,14 @@ parsed_sample: dst_port: "80" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "198" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2108,11 +2367,14 @@ parsed_sample: dst_port: "1000" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "" protocol: "" @@ -2132,11 +2394,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: - "match protocol numbers" action: "deny" @@ -2157,11 +2422,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "deny" protocol: "55" @@ -2181,11 +2449,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "deny" protocol: "pim" @@ -2205,11 +2476,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: - "match source port range correctly" - "COMMENTs as a list" @@ -2231,11 +2505,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2255,11 +2532,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2279,11 +2559,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2303,11 +2586,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: - "match TCP flags" - "consecutive COMMENT" @@ -2329,11 +2615,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "established" log: "" + icmp_type: "" time: "" - acl_name: "ios_partition_acl" acl_type: "extended" + line_num: "" comment: - "correct syntax for time-range ace" action: "permit" @@ -2354,11 +2643,14 @@ parsed_sample: dst_port: "tacacs" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" - log: "" + log: "log" + icmp_type: "" time: "test" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "deny" protocol: "53" @@ -2378,11 +2670,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "deny" protocol: "55" @@ -2402,11 +2697,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "deny" protocol: "pim" @@ -2426,11 +2724,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2450,11 +2751,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2474,11 +2778,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2498,11 +2805,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "udp" @@ -2522,11 +2832,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -2546,11 +2859,14 @@ parsed_sample: dst_port: "" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "established" log: "" + icmp_type: "" time: "" - acl_name: "102" acl_type: "" + line_num: "" comment: [] action: "permit" protocol: "tcp" @@ -2570,6 +2886,8 @@ parsed_sample: dst_port: "tacacs" dst_port_range_start: "" dst_port_range_end: "" + flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "test" diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.raw b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.raw new file mode 100644 index 0000000000..93173c1007 --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.raw @@ -0,0 +1,57 @@ +ip access-list extended filter01 + 20 deny udp any host 200.10.11.135 eq 5060 + 30 deny tcp any 200.10.0.0 0.0.255.255 eq telnet + 40 deny tcp any any eq telnet + 50 deny ip 210.144.0.0 0.15.255.255 any + 280 deny 53 any any + 290 deny 55 any any + 300 deny 77 any any + 310 deny pim any any + 320 remark Vodafone BGP + 320 permit icmp host 113.17.12.113 host 113.17.12.114 + 330 permit icmp host 113.117.249.33 host 113.117.249.34 + 340 permit icmp host 8.8.8.8 host 113.17.12.114 + 350 permit icmp host 8.8.8.8 host 113.117.249.34 + 360 permit icmp host 203.109.180.181 host 113.17.12.114 + 370 permit icmp host 203.109.180.181 host 113.117.249.34 + 380 permit icmp host 108.170.247.49 host 113.17.12.114 + 390 permit icmp host 108.170.247.49 host 113.117.249.34 + 400 permit icmp any host 113.17.12.114 echo-reply + 410 permit icmp host 203.50.13.93 host 113.17.12.114 + 420 permit icmp host 203.50.13.93 host 113.117.249.34 + 430 permit icmp any host 113.117.249.34 echo-reply + 440 permit tcp host 113.17.12.113 host 113.17.12.114 eq bgp + 450 permit tcp host 113.17.70.169 host 113.117.249.34 eq bgp +ip access-list extended nineoneone + 20 deny udp any host 200.10.11.135 eq 5060 + 30 deny tcp any 200.10.0.0 0.0.255.255 eq telnet + 40 deny tcp any any eq telnet + 50 deny ip 210.144.0.0 0.15.255.255 any + 280 deny 53 any any + 290 deny 55 any any + 300 deny 77 any any + 310 deny pim any any + 320 remark Vodafone BGP + 320 permit icmp host 113.17.12.113 host 113.17.12.114 + 330 permit icmp host 113.117.249.33 host 113.117.249.34 + 340 permit icmp host 8.8.8.8 host 113.17.12.114 + 350 permit icmp host 8.8.8.8 host 113.117.249.34 + 360 permit icmp host 203.109.180.181 host 113.17.12.114 + 370 permit icmp host 203.109.180.181 host 113.117.249.34 + 380 permit icmp host 108.170.247.49 host 113.17.12.114 + 390 permit icmp host 108.170.247.49 host 113.117.249.34 + 400 permit icmp any host 113.17.12.114 echo-reply + 410 permit icmp host 203.50.13.93 host 113.17.12.114 + 420 permit icmp host 203.50.13.93 host 113.117.249.34 + 430 permit icmp any host 113.117.249.34 echo-reply + 440 permit tcp host 113.17.12.113 host 113.17.12.114 eq bgp + 450 permit tcp host 113.17.70.169 host 113.117.249.34 eq bgp + 460 permit icmp host 10.10.10.10 any echo-reply + 470 permit icmp host 10.10.10.10 any administratively-prohibited + 480 permit icmp host 10.10.10.10 any unreachable log + 490 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 port-unreachable + 500 permit icmp host 1.1.11.1 host 1.1.22.4 echo-reply log-input + 510 permit tcp any any match-all +ack -fin log + 520 permit tcp any any match-any +ack -fin log + 521 permit tcp any any match-any +ack +fin +syn +psh + 530 permit tcp any 10.1.0.0 0.0.255.255 established psh diff --git a/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.yml b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.yml new file mode 100644 index 0000000000..e09e0f0b2f --- /dev/null +++ b/tests/cisco_ios/show_running-config_partition_access-list/cisco_ios_show_running-config_partition_access-list_new.yml @@ -0,0 +1,1489 @@ +--- +parsed_sample: + - acl_name: "filter01" + acl_type: "extended" + line_num: "" + comment: [] + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "20" + comment: [] + action: "deny" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "200.10.11.135" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "5060" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "30" + comment: [] + action: "deny" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "200.10.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "eq" + dst_port: "telnet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "40" + comment: [] + action: "deny" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "telnet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "50" + comment: [] + action: "deny" + protocol: "ip" + src_host: "" + src_any: "" + src_network: "210.144.0.0" + src_wildcard: "0.15.255.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "280" + comment: [] + action: "deny" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "290" + comment: [] + action: "deny" + protocol: "55" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "300" + comment: [] + action: "deny" + protocol: "77" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "310" + comment: [] + action: "deny" + protocol: "pim" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "320" + comment: + - "Vodafone BGP" + action: "permit" + protocol: "icmp" + src_host: "113.17.12.113" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "330" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "113.117.249.33" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "340" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "8.8.8.8" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "350" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "8.8.8.8" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "360" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.109.180.181" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "370" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.109.180.181" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "380" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "108.170.247.49" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "390" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "108.170.247.49" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "400" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "410" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.50.13.93" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "420" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.50.13.93" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "430" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "440" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "113.17.12.113" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "filter01" + acl_type: "extended" + line_num: "450" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "113.17.70.169" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "" + comment: [] + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "20" + comment: [] + action: "deny" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "200.10.11.135" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "5060" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "30" + comment: [] + action: "deny" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "200.10.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "eq" + dst_port: "telnet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "40" + comment: [] + action: "deny" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "telnet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "50" + comment: [] + action: "deny" + protocol: "ip" + src_host: "" + src_any: "" + src_network: "210.144.0.0" + src_wildcard: "0.15.255.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "280" + comment: [] + action: "deny" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "290" + comment: [] + action: "deny" + protocol: "55" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "300" + comment: [] + action: "deny" + protocol: "77" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "310" + comment: [] + action: "deny" + protocol: "pim" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "320" + comment: + - "Vodafone BGP" + action: "permit" + protocol: "icmp" + src_host: "113.17.12.113" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "330" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "113.117.249.33" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "340" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "8.8.8.8" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "350" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "8.8.8.8" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "360" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.109.180.181" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "370" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.109.180.181" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "380" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "108.170.247.49" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "390" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "108.170.247.49" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "400" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "410" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.50.13.93" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "420" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "203.50.13.93" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "430" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "440" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "113.17.12.113" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.17.12.114" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "450" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "113.17.70.169" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "113.117.249.34" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "460" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "470" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "administratively-prohibited" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "480" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "unreachable" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "490" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "port-unreachable" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "500" + comment: [] + action: "permit" + protocol: "icmp" + src_host: "1.1.11.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "1.1.22.4" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + icmp_type: "echo-reply" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "510" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-all" + tcp_flag: "+ack -fin" + log: "log" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "520" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-any" + tcp_flag: "+ack -fin" + log: "log" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "521" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-any" + tcp_flag: "+ack +fin +syn +psh" + log: "" + icmp_type: "" + time: "" + - acl_name: "nineoneone" + acl_type: "extended" + line_num: "530" + comment: [] + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established psh" + log: "" + icmp_type: "" + time: "" From dc27599b0c5f3bb6ff23049e781b5dab2849c2c3 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Mon, 26 Oct 2020 17:47:29 -0400 Subject: [PATCH 519/628] Release 1.6.0 (#807) --- CHANGELOG | 38 +++++++++++++++++++++++++++++++++++ README.md | 4 ++++ lib/ntc_templates/__init__.py | 2 +- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 22a5468967..0c81a253eb 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,43 @@ # Changelog +## [1.6.0](https://github.com/networktocode/ntc-templates/tree/1.6.0) (2020-10-02) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.5.0...1.6.0) + +**Implemented enhancements:** + +- Creation of a Faq [\#716](https://github.com/networktocode/ntc-templates/issues/716) + +**Closed issues:** + +- This is not a data modeling project. So is there any data modeling project can work with this? [\#802](https://github.com/networktocode/ntc-templates/issues/802) +- Black 20.b0 breaks tox test [\#794](https://github.com/networktocode/ntc-templates/issues/794) +- Unable to Parse show version on IOSv Device [\#780](https://github.com/networktocode/ntc-templates/issues/780) +- TXTFSM will not process template even though Regex checker says line is acceptable for ciena SAOS [\#779](https://github.com/networktocode/ntc-templates/issues/779) +- cisco\_nxos\_show\_ip\_bgp\_summary.textfsm doesn't account for dual line bgp when output is too wide [\#766](https://github.com/networktocode/ntc-templates/issues/766) +- arista eos show mac address-table is choking on case sensitivity on line Total Mac Addresses for this criterion: 0 [\#764](https://github.com/networktocode/ntc-templates/issues/764) +- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) + +**Merged pull requests:** + +- changes tests to import from lib [\#806](https://github.com/networktocode/ntc-templates/pull/806) ([jmcgill298](https://github.com/jmcgill298)) +- modify for show inventory all. [\#804](https://github.com/networktocode/ntc-templates/pull/804) ([yshu95](https://github.com/yshu95)) +- Change TextFSM Windows failure to a runtime failure \(instead of an import failure\) [\#803](https://github.com/networktocode/ntc-templates/pull/803) ([ktbyers](https://github.com/ktbyers)) +- Added juniper\_junos\_show\_lldp\_neighbors [\#797](https://github.com/networktocode/ntc-templates/pull/797) ([qduk](https://github.com/qduk)) +- Bugfix: Re-formatted development\_scripts.py and tests/test\_testcases\_… [\#795](https://github.com/networktocode/ntc-templates/pull/795) ([mjuenema](https://github.com/mjuenema)) +- Fix typos in README.md [\#792](https://github.com/networktocode/ntc-templates/pull/792) ([epryan](https://github.com/epryan)) +- Detect hostname on NX-OS platforms [\#789](https://github.com/networktocode/ntc-templates/pull/789) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Cisco ASA show access-list command templates update. [\#783](https://github.com/networktocode/ntc-templates/pull/783) ([HideoYukutake](https://github.com/HideoYukutake)) +- Updates to include capture on single word, no number model number [\#781](https://github.com/networktocode/ntc-templates/pull/781) ([jvanderaa](https://github.com/jvanderaa)) +- Bugfix: Account for "powered-up" value in the output of nxos show module [\#774](https://github.com/networktocode/ntc-templates/pull/774) ([mtbutler07](https://github.com/mtbutler07)) +- Dual line support for Cisco NX-OS 'ip bgp summary' command [\#772](https://github.com/networktocode/ntc-templates/pull/772) ([rtkennedy](https://github.com/rtkennedy)) +- Arista eos show mac address table [\#765](https://github.com/networktocode/ntc-templates/pull/765) ([JoeyG1973](https://github.com/JoeyG1973)) +- New Template: cisco\_nxos\_show\_ip\_interface [\#761](https://github.com/networktocode/ntc-templates/pull/761) ([network-dave](https://github.com/network-dave)) +- New Template: cisco\_nxos\_show\_hsrp\_all [\#760](https://github.com/networktocode/ntc-templates/pull/760) ([network-dave](https://github.com/network-dave)) +- New Template: cisco\_nxos\_show\_license\_usage [\#759](https://github.com/networktocode/ntc-templates/pull/759) ([network-dave](https://github.com/network-dave)) +- New Template: cisco\_nxos\_show\_interface\_description [\#758](https://github.com/networktocode/ntc-templates/pull/758) ([network-dave](https://github.com/network-dave)) +- Fixes \#716 [\#753](https://github.com/networktocode/ntc-templates/pull/753) ([itdependsnetworks](https://github.com/itdependsnetworks)) + ## [1.5.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2020-06-14) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.2...1.5.0) diff --git a/README.md b/README.md index 777595455e..08a57069fc 100644 --- a/README.md +++ b/README.md @@ -336,6 +336,10 @@ For any questions or comments, please feel free to swing by the [networktocode s Sign up [here](http://slack.networktocode.com/) +CHANGELOG +--------- + +Changelog should be generated using [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator) FAQ --- diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index e5ed6d99ee..1d0b6d9d36 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.5.0" +__version__ = "1.6.0" From c23bfeb623d1d8651e37c3b23f3614bdf805f9f4 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 26 Oct 2020 21:49:55 +0000 Subject: [PATCH 520/628] Enhancement: IOS ACL - Add support for ICMP (#809) --- .../cisco_ios_show_ip_access-lists.textfsm | 3 +- .../cisco_ios_show_ip_access-lists.yml | 87 +++++ .../cisco_ios_show_ip_access-lists_fixed.raw | 9 +- .../cisco_ios_show_ip_access-lists_fixed.yml | 314 ++++++++++++++++++ 4 files changed, 411 insertions(+), 2 deletions(-) diff --git a/templates/cisco_ios_show_ip_access-lists.textfsm b/templates/cisco_ios_show_ip_access-lists.textfsm index e12c044b0b..d716172e7f 100644 --- a/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/templates/cisco_ios_show_ip_access-lists.textfsm @@ -22,6 +22,7 @@ Value DST_PORT_RANGE_END (\S+) Value FLAGS_MATCH (match-all|match-any) Value TCP_FLAG (((\+|-|)ack(\s*?)|(\+|-|)established(\s*?)|(\+|-|)fin(\s*?)|(\+|-|)fragments(\s*?)|(\+|-|)psh(\s*?)|(\+|-|)rst(\s*?)|(\+|-|)syn(\s*?)|urg(\s*?))+) Value LOG (log-input|log) +Value ICMP_TYPE (echo|echo-reply|administratively-prohibited|unreachable|port-unreachable|redirect|router-advertisement|router-solicitation|packet-too-big|time-exceeded|ttl-exceeded|parameter-problem) Value TIME (\S+) Value STATE (inactive|active) Value MATCHES (\d+) @@ -29,7 +30,7 @@ Value MATCHES (\d+) Start ^(Standard|Extended) -> Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)\s*$$ -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)\s*$$ -> Record ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml index 5d7fe8a168..f53d650c96 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -51,6 +52,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -78,6 +80,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -105,6 +108,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "20" @@ -132,6 +136,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -159,6 +164,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -186,6 +192,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -213,6 +220,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -240,6 +248,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -267,6 +276,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -294,6 +304,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" state: "" matches: "" @@ -321,6 +332,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "test" state: "active" matches: "" @@ -348,6 +360,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test2" state: "inactive" matches: "" @@ -375,6 +388,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -402,6 +416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -429,6 +444,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -456,6 +472,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -483,6 +500,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -510,6 +528,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -537,6 +556,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -564,6 +584,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -591,6 +612,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -618,6 +640,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -645,6 +668,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -672,6 +696,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -699,6 +724,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -726,6 +752,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -753,6 +780,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -780,6 +808,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -807,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -834,6 +864,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -861,6 +892,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -888,6 +920,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -915,6 +948,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -942,6 +976,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -969,6 +1004,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -996,6 +1032,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1023,6 +1060,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1050,6 +1088,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1077,6 +1116,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1104,6 +1144,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1131,6 +1172,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1158,6 +1200,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1185,6 +1228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1212,6 +1256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1239,6 +1284,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1266,6 +1312,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1293,6 +1340,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1320,6 +1368,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1347,6 +1396,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1374,6 +1424,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1401,6 +1452,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1428,6 +1480,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1455,6 +1508,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1482,6 +1536,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1509,6 +1564,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1536,6 +1592,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1563,6 +1620,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1590,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1617,6 +1676,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1644,6 +1704,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1671,6 +1732,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1698,6 +1760,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1725,6 +1788,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1752,6 +1816,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1779,6 +1844,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1806,6 +1872,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1833,6 +1900,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1860,6 +1928,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1887,6 +1956,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1914,6 +1984,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1941,6 +2012,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1968,6 +2040,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1995,6 +2068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2022,6 +2096,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2049,6 +2124,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2076,6 +2152,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2103,6 +2180,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2130,6 +2208,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" state: "active" matches: "" @@ -2157,6 +2236,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2184,6 +2264,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2211,6 +2292,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2238,6 +2320,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2265,6 +2348,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2292,6 +2376,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2319,6 +2404,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "test2" state: "inactive" matches: "" @@ -2346,6 +2432,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw index 7f2cd2da4b..65d094eb54 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.raw @@ -88,4 +88,11 @@ Extended IP access list test2 Extended IP access list ios_show_ip_acl 10 permit 53 any any log (123456 matches) 20 permit ip any any log (23 matches) - +Extended IP access list ntc-templates + 10 permit icmp host 10.10.10.10 any echo-reply + 20 permit icmp host 10.10.10.10 any administratively-prohibited (123456 matches) + 30 permit icmp host 10.10.10.10 any unreachable log + 40 permit icmp host 10.10.10.10 any redirect (900123456 matches) + 50 permit icmp 10.10.10.0 0.0.0.255 any ttl-exceeded (1278456 matches) + 60 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 port-unreachable + 70 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 parameter-problem log diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml index ee4d896496..0cfef0d7e9 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -51,6 +52,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -78,6 +80,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -105,6 +108,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "20" @@ -132,6 +136,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -159,6 +164,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -186,6 +192,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -213,6 +220,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -240,6 +248,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -267,6 +276,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -294,6 +304,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "" state: "" matches: "" @@ -321,6 +332,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + icmp_type: "" time: "test" state: "active" matches: "" @@ -348,6 +360,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test2" state: "inactive" matches: "" @@ -375,6 +388,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -402,6 +416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -429,6 +444,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -456,6 +472,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + icmp_type: "" time: "" state: "" matches: "" @@ -483,6 +500,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -510,6 +528,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -537,6 +556,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -564,6 +584,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -591,6 +612,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -618,6 +640,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -645,6 +668,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -672,6 +696,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -699,6 +724,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -726,6 +752,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -753,6 +780,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -780,6 +808,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -807,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -834,6 +864,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -861,6 +892,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -888,6 +920,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -915,6 +948,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -942,6 +976,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -969,6 +1004,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -996,6 +1032,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1023,6 +1060,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1050,6 +1088,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1077,6 +1116,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1104,6 +1144,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1131,6 +1172,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1158,6 +1200,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1185,6 +1228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1212,6 +1256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1239,6 +1284,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1266,6 +1312,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1293,6 +1340,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1320,6 +1368,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1347,6 +1396,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1374,6 +1424,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1401,6 +1452,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1428,6 +1480,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1455,6 +1508,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1482,6 +1536,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1509,6 +1564,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1536,6 +1592,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1563,6 +1620,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1590,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1617,6 +1676,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1644,6 +1704,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1671,6 +1732,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1698,6 +1760,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1725,6 +1788,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1752,6 +1816,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1779,6 +1844,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1806,6 +1872,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1833,6 +1900,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1860,6 +1928,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1887,6 +1956,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1914,6 +1984,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1941,6 +2012,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1968,6 +2040,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -1995,6 +2068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2022,6 +2096,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2049,6 +2124,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2076,6 +2152,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2103,6 +2180,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2130,6 +2208,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "test" state: "active" matches: "" @@ -2157,6 +2236,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2184,6 +2264,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2211,6 +2292,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2238,6 +2320,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2265,6 +2348,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2292,6 +2376,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2319,6 +2404,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "test2" state: "inactive" matches: "" @@ -2346,6 +2432,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2373,6 +2460,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + icmp_type: "" time: "" state: "" matches: "" @@ -2400,6 +2488,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "123456" @@ -2427,6 +2516,231 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + icmp_type: "" time: "" state: "" matches: "23" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "10" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "20" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "administratively-prohibited" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "redirect" + time: "" + state: "" + matches: "900123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "ttl-exceeded" + time: "" + state: "" + matches: "1278456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "port-unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "parameter-problem" + time: "" + state: "" + matches: "" From 572939e06942ef3710174e0578952a8aa15ae2b2 Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Tue, 27 Oct 2020 01:18:53 +0100 Subject: [PATCH 521/628] BugFix: WLC show interface - Allow for Unconfigured IPs (#817) --- ...wlc_ssh_show_interface_detailed_id.textfsm | 4 +-- ...o_wlc_ssh_show_interface_detailed_id_2.raw | 35 +++++++++++++++++++ ...o_wlc_ssh_show_interface_detailed_id_2.yml | 9 +++++ 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.raw create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.yml diff --git a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm index 85b5743cef..4b87c65561 100644 --- a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm +++ b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm @@ -3,8 +3,8 @@ Value MAC_ADDRESS (\w+\.\w+\.\w+|\w+\:\w+\:\w+\:\w+\:\w+\:\w+) Value IP_ADDRESS (\d+.\d+.\d+.\d+) Value IP_NETMASK (\d+.\d+.\d+.\d+) Value IP_GATEWAY (\d+.\d+.\d+.\d+) -Value PRIMARY_DHCP_SERVER (\d+.\d+.\d+.\d+) -Value SECONDARY_DHCP_SERVER (\d+.\d+.\d+.\d+) +Value PRIMARY_DHCP_SERVER (\d+.\d+.\d+.\d+|Unconfigured) +Value SECONDARY_DHCP_SERVER (\d+.\d+.\d+.\d+|Unconfigured) Start ^\s*Interface\s+Name\.+\s+${INTERFACE_NAME}\s*$$ diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.raw b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.raw new file mode 100644 index 0000000000..420c393ba3 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.raw @@ -0,0 +1,35 @@ + + +Interface Name................................... my-interface +MAC Address...................................... c0:12:43:56:78:90 +IP Address....................................... 8.8.8.8 +IP Netmask....................................... 255.255.254.0 +IP Gateway....................................... 8.8.8.1 +External NAT IP State............................ Disabled +External NAT IP Address.......................... 0.0.0.0 +Link Local IPv6 Address.......................... fe80::c012:4356:7890:5643/64 +STATE ........................................... NONE +IPv6 Address..................................... ::/128 +STATE ........................................... NONE +IPv6 Gateway..................................... :: +IPv6 Gateway Mac Address......................... 00:00:00:00:00:00 +STATE ........................................... NONE +VLAN............................................. 300 +Quarantine-vlan.................................. 0 +NAS-Identifier................................... none +Active Physical Port............................. LAG (13) +Primary Physical Port............................ LAG (13) +Backup Physical Port............................. Unconfigured +DHCP Proxy Mode.................................. Global +Primary DHCP Server.............................. Unconfigured +Secondary DHCP Server............................ Unconfigured +DHCP Option 82................................... Disabled +DHCP Option 82 bridge mode insertion............. Disabled +DHCP Option 6 Opendns Override................... Disabled +IPv4 ACL......................................... Unconfigured +mDNS Profile Name................................ Unconfigured +AP Manager....................................... No +Guest Interface.................................. No +3G VLAN.......................................... Disabled +L2 Multicast..................................... Enabled + diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.yml b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.yml new file mode 100644 index 0000000000..e88c5ff8dd --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_2.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - interface_name: "my-interface" + mac_address: "c0:12:43:56:78:90" + ip_address: "8.8.8.8" + ip_netmask: "255.255.254.0" + ip_gateway: "8.8.8.1" + primary_dhcp_server: "Unconfigured" + secondary_dhcp_server: "Unconfigured" From 13b85067c4ecec88b147c51c0b489c1b682f3903 Mon Sep 17 00:00:00 2001 From: abaretta Date: Tue, 27 Oct 2020 18:18:03 +0100 Subject: [PATCH 522/628] Bugfix: IOS Show Int - account for additional data (#818) --- templates/cisco_ios_show_interfaces_switchport.textfsm | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/cisco_ios_show_interfaces_switchport.textfsm b/templates/cisco_ios_show_interfaces_switchport.textfsm index 9483705ee2..440195b261 100644 --- a/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -27,6 +27,7 @@ Start ^\s*Voice\s+VLAN: ^\s*Pruning\s+VLANs ^\s*Capture\s+(?:Mode|VLANs) + ^\s*Autostate\s+mode\s+exclude ^\s*Protected ^\s*Unknown\s+(unicast|multicast) ^\s*Vepa\s+Enabled From 2aef5bd132a351aaf53bcb75760b21415d53d2c8 Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Wed, 28 Oct 2020 03:22:57 +0100 Subject: [PATCH 523/628] Bugfix: URL ACL issue in cisco_wlc_ssh_show_interface_detailed (#820) Co-authored-by: Wim Van Deun <7521270+enzzzy@users.noreply.github.com> --- ...wlc_ssh_show_interface_detailed_id.textfsm | 1 + ...o_wlc_ssh_show_interface_detailed_id_3.raw | 36 +++++++++++++++++++ ...o_wlc_ssh_show_interface_detailed_id_3.yml | 9 +++++ 3 files changed, 46 insertions(+) create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.raw create mode 100644 tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.yml diff --git a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm index 4b87c65561..19ad5e0315 100644 --- a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm +++ b/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm @@ -37,5 +37,6 @@ Start ^\s*Guest\s+Interface.*$$ ^\s*3G\s+VLAN.*$$ ^\s*L2\s+Multicast.*$$ + ^\s*URL\s+ACL.*$$ ^\s*$$ ^. -> Error diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.raw b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.raw new file mode 100644 index 0000000000..26169a070b --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.raw @@ -0,0 +1,36 @@ + + +Interface Name................................... my-interface +MAC Address...................................... c0:12:43:56:78:90 +IP Address....................................... 8.8.8.8 +IP Netmask....................................... 255.255.254.0 +IP Gateway....................................... 8.8.8.1 +External NAT IP State............................ Disabled +External NAT IP Address.......................... 0.0.0.0 +Link Local IPv6 Address.......................... fe80::c012:4356:7890:5643/64 +STATE ........................................... NONE +IPv6 Address..................................... ::/128 +STATE ........................................... NONE +IPv6 Gateway..................................... :: +IPv6 Gateway Mac Address......................... 00:00:00:00:00:00 +STATE ........................................... NONE +VLAN............................................. 300 +Quarantine-vlan.................................. 0 +NAS-Identifier................................... none +Active Physical Port............................. LAG (13) +Primary Physical Port............................ LAG (13) +Backup Physical Port............................. Unconfigured +DHCP Proxy Mode.................................. Global +Primary DHCP Server.............................. Unconfigured +Secondary DHCP Server............................ Unconfigured +DHCP Option 82................................... Disabled +DHCP Option 82 bridge mode insertion............. Disabled +DHCP Option 6 Opendns Override................... Disabled +IPv4 ACL......................................... Unconfigured +URL ACL.......................................... Unconfigured +mDNS Profile Name................................ Unconfigured +AP Manager....................................... No +Guest Interface.................................. No +3G VLAN.......................................... Disabled +L2 Multicast..................................... Enabled + diff --git a/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.yml b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.yml new file mode 100644 index 0000000000..e88c5ff8dd --- /dev/null +++ b/tests/cisco_wlc_ssh/show_interface_detailed_id/cisco_wlc_ssh_show_interface_detailed_id_3.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - interface_name: "my-interface" + mac_address: "c0:12:43:56:78:90" + ip_address: "8.8.8.8" + ip_netmask: "255.255.254.0" + ip_gateway: "8.8.8.1" + primary_dhcp_server: "Unconfigured" + secondary_dhcp_server: "Unconfigured" From b70321e0aea2503670b13c47dcc0707fe048d0de Mon Sep 17 00:00:00 2001 From: wvandeun <7521270+wvandeun@users.noreply.github.com> Date: Wed, 4 Nov 2020 14:23:53 +0100 Subject: [PATCH 524/628] Bugfix: issues with cisco_nxos_show_ip_dhcp_relay_address (#821) --- ...co_nxos_show_ip_dhcp_relay_address.textfsm | 12 +++++++--- .../cisco_nxos_show_ip_dhcp_relay_address.raw | 8 ++++++- .../cisco_nxos_show_ip_dhcp_relay_address.yml | 22 +++++++++++++++++++ 3 files changed, 38 insertions(+), 4 deletions(-) diff --git a/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm b/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm index 5c27214651..f68843b4ce 100644 --- a/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm +++ b/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm @@ -1,5 +1,11 @@ -Value INTERFACE (\w+) -Value RELAY_ADDRESS (\d+\.\d+\.\d+\.\d+) +Value INTERFACE (\S+) +Value RELAY_ADDRESS (\d+.\d+.\d+.\d+) +Value VRF (\S+) Start - ^\s${INTERFACE}\s+${RELAY_ADDRESS} -> Record + ^\s*Interface\s+Relay\s+Address\s+VRF\s+Name\s*$$ + ^\s*-+ + ^\s*${INTERFACE}\s+${RELAY_ADDRESS}\s*$$ -> Record + ^\s*${INTERFACE}\s+${RELAY_ADDRESS}\s+${VRF}\s*$$ -> Record + ^\s*$$ + ^.* -> Error diff --git a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.raw b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.raw index 7b655eb407..71e791af51 100644 --- a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.raw +++ b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.raw @@ -1,7 +1,13 @@ Interface Relay Address VRF Name ------------- ------------- -------- - Vlan100 10.40.15.152 + Vlan100 10.40.15.152 my_vrf Vlan100 10.40.10.162 Vlan200 10.40.15.152 Vlan200 10.40.10.162 + Ethernet1 10.40.15.152 + Ethernet1 10.40.10.162 my_vrf2 + Ethernet1/1 10.40.15.152 + Ethernet1/1 10.40.10.162 + Ethernet1/1.1 10.40.15.152 + Ethernet1/1.1 10.40.10.162 \ No newline at end of file diff --git a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml index ae737595c6..0f4d708212 100644 --- a/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml +++ b/tests/cisco_nxos/show_ip_dhcp_relay_address/cisco_nxos_show_ip_dhcp_relay_address.yml @@ -2,9 +2,31 @@ parsed_sample: - interface: "Vlan100" relay_address: "10.40.15.152" + vrf: "my_vrf" - interface: "Vlan100" relay_address: "10.40.10.162" + vrf: "" - interface: "Vlan200" relay_address: "10.40.15.152" + vrf: "" - interface: "Vlan200" relay_address: "10.40.10.162" + vrf: "" + - interface: "Ethernet1" + relay_address: "10.40.15.152" + vrf: "" + - interface: "Ethernet1" + relay_address: "10.40.10.162" + vrf: "my_vrf2" + - interface: "Ethernet1/1" + relay_address: "10.40.15.152" + vrf: "" + - interface: "Ethernet1/1" + relay_address: "10.40.10.162" + vrf: "" + - interface: "Ethernet1/1.1" + relay_address: "10.40.15.152" + vrf: "" + - interface: "Ethernet1/1.1" + relay_address: "10.40.10.162" + vrf: "" From df6e08cef2b35c13a7fcff36dd196451d3931ac7 Mon Sep 17 00:00:00 2001 From: rich-day <62023730+rich-day@users.noreply.github.com> Date: Thu, 5 Nov 2020 23:18:49 +0000 Subject: [PATCH 525/628] New template: arista_eos_show_interfaces_description (#822) --- ...ta_eos_show_interfaces_description.textfsm | 17 +++++ templates/index | 1 + ...arista_eos_show_interfaces_description.raw | 18 +++++ ...arista_eos_show_interfaces_description.yml | 70 +++++++++++++++++++ 4 files changed, 106 insertions(+) create mode 100644 templates/arista_eos_show_interfaces_description.textfsm create mode 100644 tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw create mode 100644 tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml diff --git a/templates/arista_eos_show_interfaces_description.textfsm b/templates/arista_eos_show_interfaces_description.textfsm new file mode 100644 index 0000000000..f087d53121 --- /dev/null +++ b/templates/arista_eos_show_interfaces_description.textfsm @@ -0,0 +1,17 @@ +Value PORT (\S+) +Value STATUS (up|down|admin\s+down) +Value PROTOCOL (up|down|lowerlayerdown) +Value DESCRIP (\S.*?) + +Start + ^Interface\s+Status\s+Protocol\s+Description\s*$$ -> Begin + ^\s*$$ + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^. -> Error + +Begin + ^${PORT}\s+${STATUS}\s+${PROTOCOL}(?:\s+${DESCRIP})?\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 8870dec78d..85dfbd060b 100644 --- a/templates/index +++ b/templates/index @@ -21,6 +21,7 @@ arista_eos_show_mac_security_participants_detail.textfsm, .*, arista_eos, sh[[ow arista_eos_show_interfaces_transceiver_detail.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] de[[tail]] arista_eos_show_mac_security_mka_counters.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] mk[[a]] count[[ers]] arista_eos_show_environment_temperature.textfsm, .*, arista_eos, sh[[ow]] en[[vironment]] t[[emperature]] +arista_eos_show_interfaces_description.textfsm, .*, arista_eos, sh[[ow]] int[[erfaces]] des[[cription]] arista_eos_show_interfaces_transceiver.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] arista_eos_show_mac_security_interface.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] int[[erface]] arista_eos_show_lldp_neighbors_detail.textfsm, .*, arista_eos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] diff --git a/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw new file mode 100644 index 0000000000..39800b71c5 --- /dev/null +++ b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.raw @@ -0,0 +1,18 @@ +Interface Status Protocol Description +Et1 admin down down ThiS iS a TeSt DeScriPtiON +Et2 up up ThiS iS a TeSt DeScriPtiON +Et3 up up ThiS iS a TeSt DeScriPtiON +Et4 up up ThiS iS a TeSt DeScriPtiON +Et5 admin down down ThiS iS a TeSt DeScriPtiON +Et6 admin down down ThiS iS a TeSt DeScriPtiON +Et7 admin down down ThiS iS a TeSt DeScriPtiON +Et8 admin down down ThiS iS a TeSt DeScriPtiON +Et9 up up ThiS iS a TeSt DeScriPtiON +Et9.999 down lowerlayerdown +Et10 up up ThiS iS a TeSt DeScriPtiON +Et11 up up ThiS iS a TeSt DeScriPtiON +Et12 up up ThiS iS a TeSt DeScriPtiON +Ma1 down down Management +Po1 up up MLAG peer link +Po101 up up ServerRAD +Vl4094 up up MLAG local int diff --git a/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml new file mode 100644 index 0000000000..e54c1ca32d --- /dev/null +++ b/tests/arista_eos/show_interfaces_description/arista_eos_show_interfaces_description.yml @@ -0,0 +1,70 @@ +--- +parsed_sample: + - port: "Et1" + status: "admin down" + protocol: "down" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et2" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et3" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et4" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et5" + status: "admin down" + protocol: "down" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et6" + status: "admin down" + protocol: "down" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et7" + status: "admin down" + protocol: "down" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et8" + status: "admin down" + protocol: "down" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et9" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et9.999" + status: "down" + protocol: "lowerlayerdown" + descrip: "" + - port: "Et10" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et11" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Et12" + status: "up" + protocol: "up" + descrip: "ThiS iS a TeSt DeScriPtiON" + - port: "Ma1" + status: "down" + protocol: "down" + descrip: "Management" + - port: "Po1" + status: "up" + protocol: "up" + descrip: "MLAG peer link" + - port: "Po101" + status: "up" + protocol: "up" + descrip: "ServerRAD" + - port: "Vl4094" + status: "up" + protocol: "up" + descrip: "MLAG local int" From 70065b99e6978cece74d613000d14f211fcef4ff Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Thu, 5 Nov 2020 23:21:34 +0000 Subject: [PATCH 526/628] Enhancement: Procurve show interfaces update pre additional output (#823) --- templates/hp_procurve_show_interfaces.textfsm | 13 +- ...rocurve_show_interfaces_no_bcast_limit.raw | 57 +++ ...rocurve_show_interfaces_no_bcast_limit.yml | 366 ++++++++++++++++++ 3 files changed, 434 insertions(+), 2 deletions(-) create mode 100644 tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.raw create mode 100644 tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.yml diff --git a/templates/hp_procurve_show_interfaces.textfsm b/templates/hp_procurve_show_interfaces.textfsm index f5665444d2..cbf1e26401 100644 --- a/templates/hp_procurve_show_interfaces.textfsm +++ b/templates/hp_procurve_show_interfaces.textfsm @@ -9,11 +9,20 @@ Value BCAST_LIMIT (\d+) Start ^\s+Status.*Counters\s* ^\s*$$ + ^\s+Flow\s* + ^\s+Port.*Ctrl\s* + ^\s+-+\s+-+\s+-+\s+-+\s+-+\s-+\s*$$ -> ShowInterfaces1 ^\s+Flow\s+Bcast\s* ^\s+Port.*Limit\s* - ^\s+-+\s+-+\s+-+\s+-+\s+-+\s+-+\s-+\s*$$ -> ShowInterfaces + ^\s+-+\s+-+\s+-+\s+-+\s+-+\s+-+\s-+\s*$$ -> ShowInterfaces2 -ShowInterfaces + +ShowInterfaces1 + ^\s+${PORT}\s+${TOTAL_BYTES}\s+${TOTAL_FRAMES}\s+${ERRORS_RX}\s+${DROPS_TX}\s+${FLOW_CTRL}\s*$$ -> Record + ^\s*$$ + ^. -> Error + +ShowInterfaces2 ^\s+${PORT}\s+${TOTAL_BYTES}\s+${TOTAL_FRAMES}\s+${ERRORS_RX}\s+${DROPS_TX}\s+${FLOW_CTRL}\s+${BCAST_LIMIT}\s*$$ -> Record ^\s*$$ ^. -> Error diff --git a/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.raw b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.raw new file mode 100644 index 0000000000..7c84124374 --- /dev/null +++ b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.raw @@ -0,0 +1,57 @@ +Status and Counters - Port Counters + + Flow + Port Total Bytes Total Frames Errors Rx Drops Tx Ctrl + ---------- -------------- -------------- ------------ ------------ ---- + 1 200,205 1861 0 0 off + 2 0 0 0 0 off + 3 0 0 0 0 off + 4 0 0 0 0 off + 5 0 0 0 0 off + 6 0 0 0 0 off + 7 0 0 0 0 off + 8 0 0 0 0 off + 9 0 0 0 0 off + 10 0 0 0 0 off + 11 0 0 0 0 off + 12 0 0 0 0 off + 13 0 0 0 0 off + 14 0 0 0 0 off + 15 0 0 0 0 off + 16 0 0 0 0 off + 17 0 0 0 0 off + 18 0 0 0 0 off + 19 0 0 0 0 off + 20 0 0 0 0 off + 21 0 0 0 0 off + 22 0 0 0 0 off + 23 0 0 0 0 off + 24 0 0 0 0 off + 25 0 0 0 0 off + 26 0 0 0 0 off + 27 0 0 0 0 off + 28 0 0 0 0 off + 29 0 0 0 0 off + 30 0 0 0 0 off + 31 0 0 0 0 off + 32 0 0 0 0 off + 33 0 0 0 0 off + 34 0 0 0 0 off + 35 0 0 0 0 off + 36 0 0 0 0 off + 37 0 0 0 0 off + 38 0 0 0 0 off + 39 0 0 0 0 off + 40 0 0 0 0 off + 41 0 0 0 0 off + 42 0 0 0 0 off + 43 0 0 0 0 off + 44 0 0 0 0 off + 45 0 0 0 0 off + 46 0 0 0 0 off + 47 0 0 0 0 off + 48 0 0 0 0 off + 49 0 0 0 0 off + 50 0 0 0 0 off + 51 0 0 0 0 off + 52 0 0 0 0 off diff --git a/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.yml b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.yml new file mode 100644 index 0000000000..300cdaf61d --- /dev/null +++ b/tests/hp_procurve/show_interfaces/hp_procurve_show_interfaces_no_bcast_limit.yml @@ -0,0 +1,366 @@ +--- +parsed_sample: + - port: "1" + total_bytes: "200,205" + total_frames: "1861" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "2" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "3" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "4" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "5" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "6" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "7" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "8" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "9" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "10" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "11" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "12" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "13" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "14" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "15" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "16" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "17" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "18" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "19" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "20" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "21" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "22" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "23" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "24" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "25" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "26" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "27" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "28" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "29" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "30" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "31" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "32" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "33" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "34" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "35" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "36" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "37" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "38" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "39" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "40" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "41" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "42" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "43" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "44" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "45" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "46" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "47" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "48" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "49" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "50" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "51" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" + - port: "52" + total_bytes: "0" + total_frames: "0" + errors_rx: "0" + drops_tx: "0" + flow_ctrl: "off" + bcast_limit: "" From 3b9438b961d3d173b92c5288826b31d9e7a36f7a Mon Sep 17 00:00:00 2001 From: Viktor Kertesz Date: Thu, 12 Nov 2020 20:03:47 +0100 Subject: [PATCH 527/628] New Template: IOS show access-session --- .../cisco_ios_show_access-session.textfsm | 17 + .../cisco_ios_show_lldp_neighbors.textfsm | 2 +- templates/index | 1 + .../cisco_ios_show_access-session.raw | 67 +++ .../cisco_ios_show_access-session.yml | 380 ++++++++++++++++++ .../cisco_ios_show_access-session2.raw | 59 +++ .../cisco_ios_show_access-session2.yml | 248 ++++++++++++ .../cisco_ios_show_access-session3.raw | 60 +++ .../cisco_ios_show_access-session3.yml | 248 ++++++++++++ .../cisco_ios_show_lldp_neighbors.raw | 3 +- .../cisco_ios_show_lldp_neighbors.yml | 4 + 11 files changed, 1087 insertions(+), 2 deletions(-) create mode 100644 templates/cisco_ios_show_access-session.textfsm create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session.yml create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session2.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session2.yml create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session3.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session3.yml diff --git a/templates/cisco_ios_show_access-session.textfsm b/templates/cisco_ios_show_access-session.textfsm new file mode 100644 index 0000000000..d518db4922 --- /dev/null +++ b/templates/cisco_ios_show_access-session.textfsm @@ -0,0 +1,17 @@ +Value INTERFACE (.+?) +Value MAC (.+?) +Value METHOD (.+?) +Value DOMAIN (.+?) +Value STATUS (.+?) +Value SESSION (\w+?) + +Start + ^Interface\s+MAC Address\s+Method\s+Domain -> Catch + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + +Catch + ^-+$$ + ^${INTERFACE}\s+${MAC}\s+${METHOD}\s+${DOMAIN}\s+${STATUS}\s+${SESSION}$$ -> Record + ^.* -> Start diff --git a/templates/cisco_ios_show_lldp_neighbors.textfsm b/templates/cisco_ios_show_lldp_neighbors.textfsm index f397e703fe..f2b8010053 100644 --- a/templates/cisco_ios_show_lldp_neighbors.textfsm +++ b/templates/cisco_ios_show_lldp_neighbors.textfsm @@ -1,4 +1,4 @@ -Value Required NEIGHBOR (\S{0,20}) +Value Required NEIGHBOR (.{0,20}(? Date: Thu, 12 Nov 2020 20:08:55 +0100 Subject: [PATCH 528/628] New Templates: Alcatel SROS (#824) * alcatel_sros_show_port * alcatel_sros_show_lag * alcatel_sros_show_router_bgp_summary_family * alcatel_sros_show_router_isis_adjacency * alcatel_sros_show_router_isis_interface * alcatel_sros_show_router_ldp_interface * alcatel_sros_show_router_pim_interface --- templates/alcatel_sros_show_lag.textfsm | 18 + templates/alcatel_sros_show_port.textfsm | 25 + ...ros_show_router_bgp_summary_family.textfsm | 24 + ...el_sros_show_router_isis_adjacency.textfsm | 18 + ...el_sros_show_router_isis_interface.textfsm | 17 + ...tel_sros_show_router_ldp_interface.textfsm | 24 + ...tel_sros_show_router_pim_interface.textfsm | 20 + templates/index | 7 + tests/alcatel_sros/show_lag/show_lag.raw | 40 + tests/alcatel_sros/show_lag/show_lag.yml | 219 ++ tests/alcatel_sros/show_port/show_port.raw | 238 ++ tests/alcatel_sros/show_port/show_port.yml | 2114 +++++++++++++++++ ...el_sros_show_router_bgp_summary_family.raw | 64 + ...el_sros_show_router_bgp_summary_family.yml | 68 + ...lcatel_sros_show_router_isis_adjacency.raw | 11 + ...lcatel_sros_show_router_isis_adjacency.yml | 14 + ...lcatel_sros_show_router_isis_interface.raw | 12 + ...lcatel_sros_show_router_isis_interface.yml | 20 + .../show_router_ldp_interface.raw | 18 + .../show_router_ldp_interface.yml | 35 + .../show_router_pim_interface.raw | 20 + .../show_router_pim_interface.yml | 37 + 22 files changed, 3063 insertions(+) create mode 100644 templates/alcatel_sros_show_lag.textfsm create mode 100644 templates/alcatel_sros_show_port.textfsm create mode 100644 templates/alcatel_sros_show_router_bgp_summary_family.textfsm create mode 100644 templates/alcatel_sros_show_router_isis_adjacency.textfsm create mode 100644 templates/alcatel_sros_show_router_isis_interface.textfsm create mode 100644 templates/alcatel_sros_show_router_ldp_interface.textfsm create mode 100644 templates/alcatel_sros_show_router_pim_interface.textfsm create mode 100644 tests/alcatel_sros/show_lag/show_lag.raw create mode 100644 tests/alcatel_sros/show_lag/show_lag.yml create mode 100644 tests/alcatel_sros/show_port/show_port.raw create mode 100644 tests/alcatel_sros/show_port/show_port.yml create mode 100644 tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.raw create mode 100644 tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.yml create mode 100644 tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.raw create mode 100644 tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.yml create mode 100644 tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.raw create mode 100644 tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.yml create mode 100644 tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.raw create mode 100644 tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.yml create mode 100644 tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.raw create mode 100644 tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.yml diff --git a/templates/alcatel_sros_show_lag.textfsm b/templates/alcatel_sros_show_lag.textfsm new file mode 100644 index 0000000000..5d2226814b --- /dev/null +++ b/templates/alcatel_sros_show_lag.textfsm @@ -0,0 +1,18 @@ +Value LAG_ID (\d+) +Value ADM (up|down) +Value OPR (up|down) +Value WEIGHTED (Yes|No) +Value THRESHOLD (\d+) +Value UP_COUNT (\d+) +Value MC_ACT_STDBY (N/A|active|standby) + +Start + ^----------- -> Lag + +Lag + ^${LAG_ID}\s+${ADM}\s+${OPR}\s+${WEIGHTED}\s+${THRESHOLD}\s+${UP_COUNT}\s+${MC_ACT_STDBY}(\s|$$) -> Record + ^\s*$$ + ^----------- + ^=========== + ^Total + ^. -> Error diff --git a/templates/alcatel_sros_show_port.textfsm b/templates/alcatel_sros_show_port.textfsm new file mode 100644 index 0000000000..07350dabb3 --- /dev/null +++ b/templates/alcatel_sros_show_port.textfsm @@ -0,0 +1,25 @@ +Value PORT_ID (\S+) +Value ADMIN_STATE (Up|Down) +Value LINK (Yes|No) +Value PORT_STATE (Up|Down|Ghost|Link Up) +Value CFG_MTU (\d+) +Value OPER_MTU (\d+) +Value LAG (\d+|-) +Value PORT_MODE (\S+) +Value PORT_ENCP (\S+) +Value PORT_TYPE (\S+) +Value C_QS_S_XFP_MDIMDX (.*) + +Start + ^----------- -> Port + +Port + ^${PORT_ID}\s+${ADMIN_STATE}\s+${PORT_STATE}\s+conn\s*${C_QS_S_XFP_MDIMDX} -> Record + ^${PORT_ID}\s+${ADMIN_STATE}\s+${LINK}\s+${PORT_STATE}\s+${CFG_MTU}\s+${OPER_MTU}\s+${LAG}\s+${PORT_MODE}\s+${PORT_ENCP}\s+${PORT_TYPE}\s*${C_QS_S_XFP_MDIMDX} -> Record + ^\s*$$ + ^----------- + ^=========== + ^Port + ^Id + ^\*\sindicates + ^. -> Error diff --git a/templates/alcatel_sros_show_router_bgp_summary_family.textfsm b/templates/alcatel_sros_show_router_bgp_summary_family.textfsm new file mode 100644 index 0000000000..417f3132ba --- /dev/null +++ b/templates/alcatel_sros_show_router_bgp_summary_family.textfsm @@ -0,0 +1,24 @@ +Value NEIGHBOR (\d+\.\d+\.\d+\.\d+|[0-9a-f:]*) +Value Required AS (\d+\**) +Value PKTRCVD (\d+\**) +Value PKTSENT (\d+\**) +Value INQ (\d+\**) +Value OUTQ (\d+\**) +Value UP_DOWN (\S+) +Value STATE (\w+) +Value RCV (\d+) +Value ACT (\d+) +Value SENT (\d+) + +Start + ^----------- -> Neighbor + +Neighbor + ^${NEIGHBOR}(\s|$$) -> NeighborData + +NeighborData + ^\s+${AS}\s+${PKTRCVD}\s+${PKTSENT}\s+${INQ}\s+${OUTQ}\s+${UP_DOWN}\s+(${STATE}|${RCV}/${ACT}/${SENT})(\s|$$) -> Record Neighbor + ^.*indicates + ^----------- + ^\s*$$ + ^. -> Error diff --git a/templates/alcatel_sros_show_router_isis_adjacency.textfsm b/templates/alcatel_sros_show_router_isis_adjacency.textfsm new file mode 100644 index 0000000000..e6ff4bf689 --- /dev/null +++ b/templates/alcatel_sros_show_router_isis_adjacency.textfsm @@ -0,0 +1,18 @@ +Value SYSTEM_ID (\S+) +Value USAGE (\S+) +Value STATE (Up|Down) +Value HOLD (\d+) +Value INTERFACE (\S+) +Value MT_ID (\S+) + +Start + ^----------- -> Adjacency + +Adjacency + ^${SYSTEM_ID}\s+${USAGE}\s+${STATE}\s+${HOLD}\s+${INTERFACE}\s+${MT_ID} -> Record + ^\s*$$ + ^----------- + ^=========== + ^Adjacencies + ^. -> Error + diff --git a/templates/alcatel_sros_show_router_isis_interface.textfsm b/templates/alcatel_sros_show_router_isis_interface.textfsm new file mode 100644 index 0000000000..8303c85f08 --- /dev/null +++ b/templates/alcatel_sros_show_router_isis_interface.textfsm @@ -0,0 +1,17 @@ +Value INTERFACE (\S+) +Value LEVEL (\S+) +Value CIRCID (\d+) +Value OPER_STATE (Up|Down) +Value METRIC_L1 (\d+) +Value METRIC_L2 (\d+) + +Start + ^----------- -> Interface + +Interface + ^${INTERFACE}\s+${LEVEL}\s+${CIRCID}\s+${OPER_STATE}\s+${METRIC_L1}/${METRIC_L2} -> Record + ^\s*$$ + ^----------- + ^=========== + ^Interfaces + ^. -> Error diff --git a/templates/alcatel_sros_show_router_ldp_interface.textfsm b/templates/alcatel_sros_show_router_ldp_interface.textfsm new file mode 100644 index 0000000000..2490d123a7 --- /dev/null +++ b/templates/alcatel_sros_show_router_ldp_interface.textfsm @@ -0,0 +1,24 @@ +Value INTERFACE (\S+) +Value ADM (Up|Dwn) +Value OPR (Up|Dwn) +Value SUB_INTERFACE (ipv\d) +Value SUB_INTERFACE_ADM (Up|Dwn) +Value SUB_INTERFACE_OPR (Up|Dwn) +Value HELLO_FCTR (\d+) +Value HOLDTIME (\d+) +Value KA_FCTR (\d+) +Value KA_TIME (\d+) +Value TRANSPORT_ADDRESS (\S+) + +Start + ^----------- -> Interface + +Interface + ^${INTERFACE}\s+${ADM}/${OPR}(\s|$$) -> SubInterface + +SubInterface + ^\s+${SUB_INTERFACE}\s+${SUB_INTERFACE_ADM}/${SUB_INTERFACE_OPR}\s+${HELLO_FCTR}\s+${HOLDTIME}\s+${KA_FCTR}\s+${KA_TIME}\s+${TRANSPORT_ADDRESS}(\s|$$) -> Record Interface + ^No.\s+of\s+Interfaces + ^----------- + ^\s*$$ + ^. -> Error diff --git a/templates/alcatel_sros_show_router_pim_interface.textfsm b/templates/alcatel_sros_show_router_pim_interface.textfsm new file mode 100644 index 0000000000..83f3a91cfb --- /dev/null +++ b/templates/alcatel_sros_show_router_pim_interface.textfsm @@ -0,0 +1,20 @@ +Value INTERFACE (\S+) +Value ADM (Up|Down) +Value OPR (Up|Down) +Value DR ((\d+\.\d+\.\d+\.\d+|[0-9a-f:]*)|N/A) +Value DR_PRTY (\d+|N/A) +Value HELLO_INTVL (\d+) +Value MCAST_SEND (\S+) + +Start + ^----------- -> Interface + +Interface + ^${INTERFACE}\s+${ADM}\s+${OPR}\s+${DR_PRTY}\s+${HELLO_INTVL}\s+${MCAST_SEND}(\s|$$) -> Dr + +Dr + ^\s+${DR}(\s|$$) -> Record Interface + ^No.\s+of\s+Interfaces + ^----------- + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 9cd78e8a7d..c2f4de0d35 100644 --- a/templates/index +++ b/templates/index @@ -14,8 +14,15 @@ Template, Hostname, Platform, Command alcatel_aos_show_vlan.textfsm, .*, alcatel_aos, show vlan alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm, .*, alcatel_sros, sh[[ow]] router bgp rou[[tes]] vpn-ipv4 +alcatel_sros_show_router_bgp_summary_family.textfsm, .*, alcatel_sros, sh[[ow]] router bgp sum[[mary]] family +alcatel_sros_show_router_isis_adjacency.textfsm, .*, alcatel_sros, sh[[ow]] router isis adj[[acency]] +alcatel_sros_show_router_isis_interface.textfsm, .*, alcatel_sros, sh[[ow]] router isis int[[erface]] +alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] +alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] +alcatel_sros_show_port.textfsm, .*, alcatel_sros, show port +alcatel_sros_show_lag.textfsm, .*, alcatel_sros, show lag arista_eos_show_mac_security_participants_detail.textfsm, .*, arista_eos, sh[[ow]] ma[[c]] secu[[rity]] part[[icipants]] det[[ail]] arista_eos_show_interfaces_transceiver_detail.textfsm, .*, arista_eos, sh[[ow]] inte[[rfaces]] tr[[ansceiver]] de[[tail]] diff --git a/tests/alcatel_sros/show_lag/show_lag.raw b/tests/alcatel_sros/show_lag/show_lag.raw new file mode 100644 index 0000000000..d995a328b7 --- /dev/null +++ b/tests/alcatel_sros/show_lag/show_lag.raw @@ -0,0 +1,40 @@ + +=============================================================================== +Lag Data +=============================================================================== +Lag-id Adm Opr Weighted Threshold Up-Count MC Act/Stdby +------------------------------------------------------------------------------- +1 up up No 0 2 N/A +2 up up No 0 2 N/A +3 up up No 0 1 N/A +4 down down No 0 0 N/A +5 down down No 0 0 N/A +10 down down No 0 0 N/A +20 up down No 0 0 standby +70 down down No 0 0 N/A +80 up down No 0 0 N/A +90 down down No 0 0 N/A +100 up up No 0 1 N/A +101 up up No 0 1 N/A +102 up up No 0 1 N/A +103 up up No 0 1 active +104 up up No 0 1 N/A +105 up up No 0 1 N/A +106 up up No 0 1 N/A +107 up up No 0 1 N/A +108 up up No 0 1 N/A +109 up up No 0 1 N/A +110 up up No 0 1 active +111 up up No 0 1 N/A +112 up up No 0 1 N/A +114 up up No 0 1 N/A +115 up up No 0 1 N/A +120 up up No 0 1 N/A +124 down down No 0 0 N/A +140 up up No 0 1 N/A +150 down down No 0 0 N/A +153 up up No 0 1 active +180 down down No 0 0 N/A +------------------------------------------------------------------------------- +Total Lag-ids: 31 Single Chassis: 27 MC Act: 3 MC Stdby: 1 +=============================================================================== diff --git a/tests/alcatel_sros/show_lag/show_lag.yml b/tests/alcatel_sros/show_lag/show_lag.yml new file mode 100644 index 0000000000..b3cf0f7ae8 --- /dev/null +++ b/tests/alcatel_sros/show_lag/show_lag.yml @@ -0,0 +1,219 @@ +--- +parsed_sample: + - lag_id: "1" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "2" + mc_act_stdby: "N/A" + - lag_id: "2" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "2" + mc_act_stdby: "N/A" + - lag_id: "3" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "4" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "5" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "10" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "20" + adm: "up" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "standby" + - lag_id: "70" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "80" + adm: "up" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "90" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "100" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "101" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "102" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "103" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "active" + - lag_id: "104" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "105" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "106" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "107" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "108" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "109" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "110" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "active" + - lag_id: "111" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "112" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "114" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "115" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "120" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "124" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "140" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "N/A" + - lag_id: "150" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" + - lag_id: "153" + adm: "up" + opr: "up" + weighted: "No" + threshold: "0" + up_count: "1" + mc_act_stdby: "active" + - lag_id: "180" + adm: "down" + opr: "down" + weighted: "No" + threshold: "0" + up_count: "0" + mc_act_stdby: "N/A" diff --git a/tests/alcatel_sros/show_port/show_port.raw b/tests/alcatel_sros/show_port/show_port.raw new file mode 100644 index 0000000000..45f4fa4501 --- /dev/null +++ b/tests/alcatel_sros/show_port/show_port.raw @@ -0,0 +1,238 @@ + +=============================================================================== +Ports on Slot 1 +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +1/1/1 Up Yes Up 9212 9212 - hybr dotq xcme GIGE-SX +1/1/2 Up Yes Up 1518 1518 - accs dotq xcme MDI GIGE-T +1/1/3 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +1/1/4 Up Yes Up 9212 9212 1 netw null xcme GIGE-SX +1/1/5 Up Yes Up 9212 9212 - netw null xcme GIGE-SX +1/1/6 Up Yes Up 9212 9212 - netw null xcme GIGE-SX +1/1/7 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +1/1/8 Up Yes Up 1514 1514 - accs null xcme MDX GIGE-T +1/1/9 Up Yes Up 9212 9212 - netw null xcme GIGE-SX +1/1/10 Up No Down 1518 1518 - accs dotq xcme GIGE-SX +1/1/11 Up No Down 1518 1518 - accs dotq xcme GIGE-T +1/1/12 Up Yes Up 9000 9000 - accs null xcme MDX GIGE-T +1/1/13 Up Yes Up 1514 1514 - accs null xcme GIGE-SX +1/1/14 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/1/15 Up Yes Up 9000 9000 - accs null xcme MDI GIGE-T +1/1/16 Up Yes Up 1514 1514 - accs null xcme GIGE-SX +1/1/17 Up No Down 1518 1518 - accs dotq xcme GIGE-T +1/1/18 Up Yes Up 1518 1518 - accs dotq xcme MDI GIGE-T +1/1/19 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/1/20 Up Yes Up 9212 9212 - hybr dotq xcme MDX GIGE-T +1/1/21 Up Yes Up 1518 1518 - accs dotq xcme GIGE-SX +1/1/22 Up Yes Up 1518 1518 - accs dotq xcme GIGE-SX +1/1/23 Up Yes Up 1518 1518 - accs dotq xcme MDI GIGE-T +1/1/24 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +1/2/1 Up No Down 1518 1518 - accs dotq xcme GIGE-SX +1/2/2 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/2/3 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/2/4 Up No Down 1514 1514 - accs null xcme GIGE-T +1/2/5 Up Yes Up 9212 9212 - hybr dotq xcme MDX GIGE-T +1/2/6 Up No Down 9022 9022 - accs null xcme GIGE-T +1/2/7 Up Yes Up 1514 1514 - accs null xcme MDX GIGE-T +1/2/8 Up No Down 1514 1514 - accs null xcme +1/2/9 Up No Down 1518 1518 99 accs dotq xcme GIGE-SX +1/2/10 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/2/11 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/2/12 Up No Down 1514 1514 - accs null xcme GIGE-T +1/2/13 Up Yes Up 1514 1514 - accs null xcme MDX GIGE-T +1/2/14 Up No Down 1514 1514 - accs null xcme GIGE-T +1/2/15 Up No Down 1570 1570 - accs dotq xcme GIGE-T +1/2/16 Up Yes Up 9022 9022 - accs null xcme MDX GIGE-T +1/2/17 Up Yes Up 1538 1538 - accs dotq xcme MDX GIGE-T +1/2/18 Up No Down 1514 1514 - accs null xcme GIGE-T +1/2/19 Up No Down 1518 1518 - accs dotq xcme GIGE-T +1/2/20 Up No Down 1514 1514 - accs null xcme GIGE-T +1/2/21 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +1/2/22 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +1/2/23 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +1/2/24 Up Yes Up 9212 9212 7 netw null xcme GIGE-SX + +=============================================================================== +Ports on Slot A +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +A/1 Up Yes Up 1514 1514 - netw null faste MDI +A/4 Up No Down 1514 1514 - netw null faste + +=============================================================================== +Ports on Slot B +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +B/1 Up No Down 1514 1514 - netw null faste +B/4 Up No Down 1514 1514 - netw null faste + + +=============================================================================== +Ports on Satellite esat-1 +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +esat-1/1/1 Up Yes Up 1518 1518 5 accs dotq xcme MDI GIGE-T +esat-1/1/2 Up Yes Up 1518 1518 - accs dotq xcme MDI GIGE-T +esat-1/1/3 Up Yes Up 1518 1518 - accs dotq xcme MDX GIGE-T +esat-1/1/4 Up Yes Up 1538 1538 - accs dotq xcme MDX GIGE-T +esat-1/1/5 Up Yes Up 9022 9022 - accs null xcme MDX GIGE-T +esat-1/1/6 Up Yes Up 1514 1514 - accs null xcme MDI GIGE-T +esat-1/1/7 Up Yes Up 9022 9022 - accs null xcme MDI GIGE-T +esat-1/1/8 Up No Down 9022 9022 - accs null xcme GIGE-T +esat-1/1/9 Down No Down 9208 9208 - netw null xcme +esat-1/1/10 Down No Down 9208 9208 - netw null xcme +esat-1/1/11 Down No Down 9208 9208 - netw null xcme +esat-1/1/12 Down No Down 9208 9208 - netw null xcme +esat-1/1/13 Down No Down 9208 9208 - netw null xcme +esat-1/1/14 Down No Down 9208 9208 - netw null xcme +esat-1/1/15 Down No Down 9208 9208 - netw null xcme +esat-1/1/16 Down No Down 9208 9208 - netw null xcme +esat-1/1/17 Down No Down 9208 9208 - netw null xcme +esat-1/1/18 Down No Down 9208 9208 - netw null xcme +esat-1/1/19 Down No Down 9208 9208 - netw null xcme +esat-1/1/20 Down No Down 9208 9208 - netw null xcme +esat-1/1/21 Down No Down 9208 9208 - netw null xcme +esat-1/1/22 Down No Down 9208 9208 - netw null xcme +esat-1/1/23 Down No Down 9208 9208 - netw null xcme +esat-1/1/24 Down No Down 9208 9208 - netw null xcme +esat-1/1/25 Down No Down 9208 9208 - netw null xcme +esat-1/1/26 Down No Down 9208 9208 - netw null xcme +esat-1/1/27 Down No Down 9208 9208 - netw null xcme +esat-1/1/28 Down No Down 9208 9208 - netw null xcme +esat-1/1/29 Down No Down 9208 9208 - netw null xcme +esat-1/1/30 Down No Down 9208 9208 - netw null xcme +esat-1/1/31 Up No Down 9208 9208 - netw null xcme +esat-1/1/32 Down No Down 9208 9208 - netw null xcme +esat-1/1/33 Down No Down 9208 9208 - netw null xcme +esat-1/1/34 Down No Down 9208 9208 - netw null xcme +esat-1/1/35 Down No Down 9208 9208 - netw null xcme +esat-1/1/36 Down No Down 9208 9208 - netw null xcme +esat-1/1/37 Down No Down 9208 9208 - netw null xcme +esat-1/1/38 Down No Down 9208 9208 - netw null xcme +esat-1/1/39 Down No Down 9208 9208 - netw null xcme +esat-1/1/40 Down No Down 9208 9208 - netw null xcme +esat-1/1/41 Down No Down 9208 9208 - netw null xcme +esat-1/1/42 Down No Down 9208 9208 - netw null xcme +esat-1/1/43 Down No Down 9208 9208 - netw null xcme +esat-1/1/44 Down No Down 9208 9208 - netw null xcme +esat-1/1/45 Down No Down 9208 9208 - netw null xcme +esat-1/1/46 Down No Down 9208 9208 - netw null xcme +esat-1/1/47 Down No Down 9208 9208 - netw null xcme +esat-1/1/48 Down No Down 9208 9208 - netw null xcme +esat-1/1/u1 Up Yes Up 9212 9212 - accs dotq xgige 10GBASE-LR * +esat-1/1/u2 Up No Down 9212 9212 - accs dotq xgige +esat-1/1/u3 Up No Down 9212 9212 - accs dotq xgige +esat-1/1/u4 Up No Down 9212 9212 - accs dotq xgige + +=============================================================================== +Ports on Satellite esat-2 +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +esat-2/1/1 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/2 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/3 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/4 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/5 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/6 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/7 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/8 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/9 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/10 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/11 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/12 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/13 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/14 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/15 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/16 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/17 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/18 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/19 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/20 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/21 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/22 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/23 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/24 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/25 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/26 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/27 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/28 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/29 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/30 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/31 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/32 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/33 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/34 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/35 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/36 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/37 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/38 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/39 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/40 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/41 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/42 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/43 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/44 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/45 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/46 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/47 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/48 Down No Ghost 9208 9208 - netw null xcme +esat-2/1/u1 Up No Ghost 9212 9212 - accs dotq xgige +esat-2/1/u2 Up No Ghost 9212 9212 - accs dotq xgige +esat-2/1/u3 Up No Ghost 9212 9212 - accs dotq xgige +esat-2/1/u4 Up No Ghost 9212 9212 - accs dotq xgige + +=============================================================================== +Ports on Slot 10 +=============================================================================== +Port Admin Link Port Cfg Oper LAG/ Port Port Port C/QS/S/XFP/ +Id State State MTU MTU Bndl Mode Encp Type MDIMDX +------------------------------------------------------------------------------- +10/2/c1 Up Link Up conn 100GBASE-LR4* +10/2/c1/1 Up Yes Up 9192 9192 10 accs null cgige +10/2/c2 Up Link Up conn 100GBASE-LR4* +10/2/c2/1 Up Yes Up 9192 9192 10 accs null cgige +10/2/c3 Up Link Up conn 100GBASE-LR4* +10/2/c3/1 Up Yes Up 9192 9192 10 accs null cgige +10/2/c4 Down Down conn 100GBASE-LR4* +10/2/c5 Down Down conn +10/2/c6 Down Down conn +10/2/c7 Up Link Up conn 100GBASE-LR4* +10/2/c7/1 Up Yes Up 9192 9192 15 accs null cgige +10/2/c8 Up Link Up conn 100GBASE-LR4* +10/2/c8/1 Up Yes Up 9192 9192 30 accs null cgige +10/2/c9 Down Down conn 100GBASE-LR4* +10/2/c10 Up Link Up conn 100GBASE-LR4* +10/2/c10/1 Up Yes Up 9192 9192 24 accs null cgige +10/2/c11 Down Down conn +10/2/c12 Down Down conn +10/2/c13 Up Link Up conn 100GBASE-LR4* +10/2/c13/1 Up Yes Up 9192 9192 14 accs null cgige +10/2/c14 Up Link Up conn 100GBASE-LR4* +10/2/c14/1 Up Yes Link Up 9192 9192 14 accs null cgige +10/2/c15 Up Link Up conn 100GBASE-LR4* +10/2/c15/1 Down No Down 9192 9192 - accs null cgige +10/2/c16 Down Down conn 100GBASE-LR4* +10/2/c17 Down Down conn +10/2/c18 Down Down conn +10/2/c19 Up Link Up conn 100GBASE-LR4* +10/2/c19/1 Up Yes Up 9212 9212 7 netw null cgige +10/2/c20 Up Link Up conn 100GBASE-LR4* +10/2/c20/1 Up Yes Up 9212 9212 3 netw null cgige +10/2/c21 Up Link Up conn 100GBASE-LR4* +10/2/c21/1 Up Yes Up 9212 9212 7 netw null cgige +10/2/c22 Down Down conn +10/2/c23 Down Down conn +10/2/c24 Down Down conn +=============================================================================== +* indicates that the corresponding row element may have been truncated. + diff --git a/tests/alcatel_sros/show_port/show_port.yml b/tests/alcatel_sros/show_port/show_port.yml new file mode 100644 index 0000000000..6ca35c0cf2 --- /dev/null +++ b/tests/alcatel_sros/show_port/show_port.yml @@ -0,0 +1,2114 @@ +--- +parsed_sample: + - port_id: "1/1/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "hybr" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/2" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/3" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/1/4" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "1" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/5" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/6" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/7" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/1/8" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/1/9" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/10" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/11" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/1/12" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9000" + oper_mtu: "9000" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/1/13" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/14" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/15" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9000" + oper_mtu: "9000" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/16" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/17" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/1/18" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/19" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/20" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "hybr" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/1/21" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/22" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/1/23" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/1/24" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/1" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/2/2" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/2/3" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/2/4" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/5" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "hybr" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/6" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9022" + oper_mtu: "9022" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/7" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/8" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "1/2/9" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "99" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "1/2/10" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/2/11" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/2/12" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/13" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/14" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/15" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1570" + oper_mtu: "1570" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/16" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9022" + oper_mtu: "9022" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/17" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1538" + oper_mtu: "1538" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/18" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/19" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/20" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "1/2/21" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "1/2/22" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/23" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "1/2/24" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "7" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-SX" + - port_id: "A/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "faste" + c_qs_s_xfp_mdimdx: "MDI" + - port_id: "A/4" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "faste" + c_qs_s_xfp_mdimdx: "" + - port_id: "B/1" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "faste" + c_qs_s_xfp_mdimdx: "" + - port_id: "B/4" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "faste" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "5" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "esat-1/1/2" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "esat-1/1/3" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1518" + oper_mtu: "1518" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "esat-1/1/4" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1538" + oper_mtu: "1538" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "esat-1/1/5" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9022" + oper_mtu: "9022" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDX GIGE-T" + - port_id: "esat-1/1/6" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "1514" + oper_mtu: "1514" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "esat-1/1/7" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9022" + oper_mtu: "9022" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "MDI GIGE-T" + - port_id: "esat-1/1/8" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9022" + oper_mtu: "9022" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "GIGE-T" + - port_id: "esat-1/1/9" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/10" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/11" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/12" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/13" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/14" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/15" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/16" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/17" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/18" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/19" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/20" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/21" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/22" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/23" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/24" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/25" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/26" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/27" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/28" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/29" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/30" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/31" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/32" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/33" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/34" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/35" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/36" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/37" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/38" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/39" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/40" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/41" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/42" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/43" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/44" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/45" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/46" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/47" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/48" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/u1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "10GBASE-LR *" + - port_id: "esat-1/1/u2" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/u3" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-1/1/u4" + admin_state: "Up" + link: "No" + port_state: "Down" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/1" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/2" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/3" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/4" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/5" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/6" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/7" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/8" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/9" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/10" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/11" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/12" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/13" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/14" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/15" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/16" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/17" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/18" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/19" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/20" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/21" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/22" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/23" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/24" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/25" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/26" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/27" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/28" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/29" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/30" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/31" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/32" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/33" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/34" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/35" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/36" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/37" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/38" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/39" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/40" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/41" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/42" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/43" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/44" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/45" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/46" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/47" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/48" + admin_state: "Down" + link: "No" + port_state: "Ghost" + cfg_mtu: "9208" + oper_mtu: "9208" + lag: "-" + port_mode: "netw" + port_encp: "null" + port_type: "xcme" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/u1" + admin_state: "Up" + link: "No" + port_state: "Ghost" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/u2" + admin_state: "Up" + link: "No" + port_state: "Ghost" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/u3" + admin_state: "Up" + link: "No" + port_state: "Ghost" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "esat-2/1/u4" + admin_state: "Up" + link: "No" + port_state: "Ghost" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "-" + port_mode: "accs" + port_encp: "dotq" + port_type: "xgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c1" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c1/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "10" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c2" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c2/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "10" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c3" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c3/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "10" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c4" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c5" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c6" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c7" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c7/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "15" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c8" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c8/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "30" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c9" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c10" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c10/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "24" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c11" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c12" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c13" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c13/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "14" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c14" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c14/1" + admin_state: "Up" + link: "Yes" + port_state: "Link Up" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "14" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c15" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c15/1" + admin_state: "Down" + link: "No" + port_state: "Down" + cfg_mtu: "9192" + oper_mtu: "9192" + lag: "-" + port_mode: "accs" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c16" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c17" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c18" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c19" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c19/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "7" + port_mode: "netw" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c20" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c20/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "3" + port_mode: "netw" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c21" + admin_state: "Up" + link: "" + port_state: "Link Up" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "100GBASE-LR4*" + - port_id: "10/2/c21/1" + admin_state: "Up" + link: "Yes" + port_state: "Up" + cfg_mtu: "9212" + oper_mtu: "9212" + lag: "7" + port_mode: "netw" + port_encp: "null" + port_type: "cgige" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c22" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c23" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" + - port_id: "10/2/c24" + admin_state: "Down" + link: "" + port_state: "Down" + cfg_mtu: "" + oper_mtu: "" + lag: "" + port_mode: "" + port_encp: "" + port_type: "" + c_qs_s_xfp_mdimdx: "" diff --git a/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.raw b/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.raw new file mode 100644 index 0000000000..c1da92864c --- /dev/null +++ b/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.raw @@ -0,0 +1,64 @@ +[kvanlang@steffi upgrade-support]$ cat ../ntc-templates-test/lib/test-bgp-sum-family.raw +A:SRHERE01# show router "Base" bgp summary family ipv4 +=============================================================================== + BGP Router ID:192.0.2.11 AS:6848 Local AS:65535 +=============================================================================== +BGP Admin State : Up BGP Oper State : Up +Total Peer Groups : 6 Total Peers : 150 +Total VPN Peer Groups : 79 Total VPN Peers : 207 +Total BGP Paths : 407944 Total Path Memory : 160791243 + +Total IPv4 Remote Rts : 1725031 Total IPv4 Rem. Active Rts : 862201 +Total IPv6 Remote Rts : 0 Total IPv6 Rem. Active Rts : 0 +Total IPv4 Backup Rts : 0 Total IPv6 Backup Rts : 0 +Total LblIpv4 Rem Rts : 2844 Total LblIpv4 Rem. Act Rts : 311 +Total LblIpv6 Rem Rts : 196896 Total LblIpv6 Rem. Act Rts : 98446 +Total LblIpv4 Bkp Rts : 0 Total LblIpv6 Bkp Rts : 0 +Total Supressed Rts : 0 Total Hist. Rts : 0 +Total Decay Rts : 0 + +Total VPN-IPv4 Rem. Rts : 93000 Total VPN-IPv4 Rem. Act. Rts: 45689 +Total VPN-IPv6 Rem. Rts : 0 Total VPN-IPv6 Rem. Act. Rts: 0 +Total VPN-IPv4 Bkup Rts : 0 Total VPN-IPv6 Bkup Rts : 0 +Total VPN Local Rts : 1147 Total VPN Supp. Rts : 0 +Total VPN Hist. Rts : 0 Total VPN Decay Rts : 0 + +Total MVPN-IPv4 Rem Rts : 0 Total MVPN-IPv4 Rem Act Rts : 0 +Total MVPN-IPv6 Rem Rts : 0 Total MVPN-IPv6 Rem Act Rts : 0 +Total MDT-SAFI Rem Rts : 0 Total MDT-SAFI Rem Act Rts : 0 +Total McIPv4 Remote Rts : 0 Total McIPv4 Rem. Active Rts: 0 +Total McIPv6 Remote Rts : 0 Total McIPv6 Rem. Active Rts: 0 +Total McVpnIPv4 Rem Rts : 0 Total McVpnIPv4 Rem Act Rts : 0 +Total McVpnIPv6 Rem Rts : 0 Total McVpnIPv6 Rem Act Rts : 0 + +Total EVPN Rem Rts : 692 Total EVPN Rem Act Rts : 338 +Total L2-VPN Rem. Rts : 0 Total L2VPN Rem. Act. Rts : 0 +Total MSPW Rem Rts : 0 Total MSPW Rem Act Rts : 0 +Total RouteTgt Rem Rts : 1546 Total RouteTgt Rem Act Rts : 1546 +Total FlowIpv4 Rem Rts : 0 Total FlowIpv4 Rem Act Rts : 0 +Total FlowIpv6 Rem Rts : 0 Total FlowIpv6 Rem Act Rts : 0 +Total Link State Rem Rts: 0 Total Link State Rem Act Rts: 0 +Total SrPlcyIpv4 Rem Rts: 0 Total SrPlcyIpv4 Rem Act Rts: 0 + +=============================================================================== +BGP IPv4 Summary +=============================================================================== +Legend : D - Dynamic Neighbor +=============================================================================== +Neighbor + AS PktRcvd PktSent InQ OutQ Up/Down State|Recv/Actv/Sent +------------------------------------------------------------------------------- +192.0.2.118 + 42598* 228872 215409 0 0 25d10h18m 2/2/1 +192.0.2.110 + 42598 271035 249777 0 0 29d11h41m 1/1/1 +192.0.2.126 + 42598* 0 0 0 0 54d18h43m Connect +192.0.2.254 + 42598* 0 0 0 0 36d13h37m Active +192.0.2.103 + 65535 390698* 749512 0 0 54d18h40m 862440/627895/373 +192.0.2.104 + 65535 355316* 749512 0 0 54d18h40m 862439/234172/373 +------------------------------------------------------------------------------- +* indicates that the corresponding row element may have been truncated. diff --git a/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.yml b/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.yml new file mode 100644 index 0000000000..8bb40a7086 --- /dev/null +++ b/tests/alcatel_sros/show_router_bgp_summary_family/alcatel_sros_show_router_bgp_summary_family.yml @@ -0,0 +1,68 @@ +--- +parsed_sample: + - neighbor: "192.0.2.118" + as: "42598*" + pktrcvd: "228872" + pktsent: "215409" + inq: "0" + outq: "0" + up_down: "25d10h18m" + state: "" + rcv: "2" + act: "2" + sent: "1" + - neighbor: "192.0.2.110" + as: "42598" + pktrcvd: "271035" + pktsent: "249777" + inq: "0" + outq: "0" + up_down: "29d11h41m" + state: "" + rcv: "1" + act: "1" + sent: "1" + - neighbor: "192.0.2.126" + as: "42598*" + pktrcvd: "0" + pktsent: "0" + inq: "0" + outq: "0" + up_down: "54d18h43m" + state: "Connect" + rcv: "" + act: "" + sent: "" + - neighbor: "192.0.2.254" + as: "42598*" + pktrcvd: "0" + pktsent: "0" + inq: "0" + outq: "0" + up_down: "36d13h37m" + state: "Active" + rcv: "" + act: "" + sent: "" + - neighbor: "192.0.2.103" + as: "65535" + pktrcvd: "390698*" + pktsent: "749512" + inq: "0" + outq: "0" + up_down: "54d18h40m" + state: "" + rcv: "862440" + act: "627895" + sent: "373" + - neighbor: "192.0.2.104" + as: "65535" + pktrcvd: "355316*" + pktsent: "749512" + inq: "0" + outq: "0" + up_down: "54d18h40m" + state: "" + rcv: "862439" + act: "234172" + sent: "373" diff --git a/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.raw b/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.raw new file mode 100644 index 0000000000..e43d0a9cdb --- /dev/null +++ b/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.raw @@ -0,0 +1,11 @@ + +=============================================================================== +Rtr Base ISIS Instance 0 Adjacency +=============================================================================== +System ID Usage State Hold Interface MT-ID +------------------------------------------------------------------------------- +R2 L2 Up 27 R1_R2 0,2 +R3 L2 Up 19 R1_R3 0,2 +------------------------------------------------------------------------------- +Adjacencies : 2 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.yml b/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.yml new file mode 100644 index 0000000000..8000f44746 --- /dev/null +++ b/tests/alcatel_sros/show_router_isis_adjacency/alcatel_sros_show_router_isis_adjacency.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - system_id: "R2" + usage: "L2" + state: "Up" + hold: "27" + interface: "R1_R2" + mt_id: "0,2" + - system_id: "R3" + usage: "L2" + state: "Up" + hold: "19" + interface: "R1_R3" + mt_id: "0,2" diff --git a/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.raw b/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.raw new file mode 100644 index 0000000000..1c9ef15e43 --- /dev/null +++ b/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.raw @@ -0,0 +1,12 @@ + +=============================================================================== +Rtr Base ISIS Instance 0 Interfaces +=============================================================================== +Interface Level CircID Oper State L1/L2 Metric +------------------------------------------------------------------------------- +system L1L2 1 Up 0/0 +R1_R2 L2 18 Up 10/10 +R1_R3 L1 21 Down 10/1000 +------------------------------------------------------------------------------- +Interfaces : 3 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.yml b/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.yml new file mode 100644 index 0000000000..e8312c5a73 --- /dev/null +++ b/tests/alcatel_sros/show_router_isis_interface/alcatel_sros_show_router_isis_interface.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - interface: "system" + level: "L1L2" + circid: "1" + oper_state: "Up" + metric_l1: "0" + metric_l2: "0" + - interface: "R1_R2" + level: "L2" + circid: "18" + oper_state: "Up" + metric_l1: "10" + metric_l2: "10" + - interface: "R1_R3" + level: "L1" + circid: "21" + oper_state: "Down" + metric_l1: "10" + metric_l2: "1000" diff --git a/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.raw b/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.raw new file mode 100644 index 0000000000..42047f7189 --- /dev/null +++ b/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.raw @@ -0,0 +1,18 @@ + +=============================================================================== +LDP Interfaces +=============================================================================== +Interface Adm/Opr + Sub-Interface(s) Adm/Opr Hello Hold KA KA Transport + Fctr Time Fctr Time Address +------------------------------------------------------------------------------- +R1_R2 Up/Up + ipv4 Up/Up 3 15 3 30 System +R1_R3 Up/Up + ipv4 Up/Up 3 15 3 30 System + ipv6 Up/Up 3 15 3 30 System +R1_R4 Up/Up + ipv4 Up/Dwn 3 15 3 30 System +------------------------------------------------------------------------------- +No. of Interfaces: 3 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.yml b/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.yml new file mode 100644 index 0000000000..36a90f65b5 --- /dev/null +++ b/tests/alcatel_sros/show_router_ldp_interface/show_router_ldp_interface.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - interface: "R1_R2" + adm: "Up" + opr: "Up" + sub_interface: "ipv4" + sub_interface_adm: "Up" + sub_interface_opr: "Up" + hello_fctr: "3" + holdtime: "15" + ka_fctr: "3" + ka_time: "30" + transport_address: "System" + - interface: "R1_R3" + adm: "Up" + opr: "Up" + sub_interface: "ipv4" + sub_interface_adm: "Up" + sub_interface_opr: "Up" + hello_fctr: "3" + holdtime: "15" + ka_fctr: "3" + ka_time: "30" + transport_address: "System" + - interface: "R1_R4" + adm: "Up" + opr: "Up" + sub_interface: "ipv4" + sub_interface_adm: "Up" + sub_interface_opr: "Dwn" + hello_fctr: "3" + holdtime: "15" + ka_fctr: "3" + ka_time: "30" + transport_address: "System" diff --git a/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.raw b/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.raw new file mode 100644 index 0000000000..72b2ccbb19 --- /dev/null +++ b/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.raw @@ -0,0 +1,20 @@ + +=============================================================================== +PIM Interfaces ipv4 +=============================================================================== +Interface Adm Opr DR Prty Hello Intvl Mcast Send + DR +------------------------------------------------------------------------------- +R1_R2 Up Up 1 30 auto + 192.0.2.245 +R1_R3 Up Up 1 30 auto + 192.0.2.42 +R1_R4 Up Down 10 30 auto + N/A +R1_R5 Up Down 5 30 auto + N/A +R1_R6 Up Down N/A 30 auto + N/A +------------------------------------------------------------------------------- +Interfaces : 5 Tunnel-Interfaces : 0 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.yml b/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.yml new file mode 100644 index 0000000000..a26dec2f3b --- /dev/null +++ b/tests/alcatel_sros/show_router_pim_interface/show_router_pim_interface.yml @@ -0,0 +1,37 @@ +--- +parsed_sample: + - interface: "R1_R2" + adm: "Up" + opr: "Up" + dr: "192.0.2.245" + dr_prty: "1" + hello_intvl: "30" + mcast_send: "auto" + - interface: "R1_R3" + adm: "Up" + opr: "Up" + dr: "192.0.2.42" + dr_prty: "1" + hello_intvl: "30" + mcast_send: "auto" + - interface: "R1_R4" + adm: "Up" + opr: "Down" + dr: "N/A" + dr_prty: "10" + hello_intvl: "30" + mcast_send: "auto" + - interface: "R1_R5" + adm: "Up" + opr: "Down" + dr: "N/A" + dr_prty: "5" + hello_intvl: "30" + mcast_send: "auto" + - interface: "R1_R6" + adm: "Up" + opr: "Down" + dr: "N/A" + dr_prty: "N/A" + hello_intvl: "30" + mcast_send: "auto" From 84e220b06d0ed5c5e900052bc32f3fa4b0aea7ae Mon Sep 17 00:00:00 2001 From: Pieter Date: Thu, 19 Nov 2020 03:47:29 +1300 Subject: [PATCH 529/628] Update: NXOS show version - extract serial from "Processor board ID" (#813) --- .../cisco_ios_show_ip_eigrp_neighbors.textfsm | 3 +- ...sco_nxos_show_cdp_neighbors_detail.textfsm | 5 +- templates/cisco_nxos_show_version.textfsm | 3 + templates/index | 2 +- .../cisco_ios_show_ip_eigrp_neighbors2.raw | 6 ++ .../cisco_ios_show_ip_eigrp_neighbors2.yml | 29 ++++++ .../cisco_ios_show_ip_eigrp_neighbors3.raw | 4 + .../cisco_ios_show_ip_eigrp_neighbors3.yml | 11 +++ .../show_version/cisco_ios_show_version4.raw | 99 +++++++++++++++++++ .../show_version/cisco_ios_show_version4.yml | 18 ++++ .../cisco_nxos_show_cdp_neighbors_detail1.raw | 82 +++++++++++++++ .../cisco_nxos_show_cdp_neighbors_detail1.yml | 38 +++++++ ...o_nxos_show_ip_interface_brief_vrf_all.raw | 6 ++ ...o_nxos_show_ip_interface_brief_vrf_all.yml | 8 ++ .../show_version/cisco_nxos_show_version.yml | 1 + .../show_version/cisco_nxos_show_version1.yml | 1 + .../show_version/cisco_nxos_show_version2.yml | 1 + .../show_version/cisco_nxos_show_version3.raw | 44 +++++++++ .../show_version/cisco_nxos_show_version3.yml | 9 ++ .../show_version/cisco_nxos_show_version4.raw | 46 +++++++++ .../show_version/cisco_nxos_show_version4.yml | 9 ++ 21 files changed, 420 insertions(+), 5 deletions(-) create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.raw create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.yml create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.raw create mode 100644 tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.yml create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version4.raw create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version4.yml create mode 100644 tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.raw create mode 100644 tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.yml create mode 100644 tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.raw create mode 100644 tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.yml create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version3.raw create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version3.yml create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version4.raw create mode 100644 tests/cisco_nxos/show_version/cisco_nxos_show_version4.yml diff --git a/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm b/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm index db6d66b26b..27bd2ee71f 100644 --- a/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm +++ b/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm @@ -10,7 +10,8 @@ Value SEQ_NUM (\d+) Start ^.*\s+${ADDRESS}\s+${INTERFACE}\s+${HOLD}\s+${UPTIME}\s+${SRTT}\s+${RTO}\s+${Q_CNT}\s+${SEQ_NUM}\s*$$ -> Record - ^\s*(?:IP-|)EIGRP(?:-IPv(?:4|6)|)\s+[Nn]eighbors\s+for\s+(?:process\s+|AS\()${AS}(?:\)|)\s*$$ + ^\s*(IP-|)EIGRP(-IPv[46](:\(\d+\))?|)\s+[Nn]eighbors\s+for\s+(process\s+|AS\()${AS}(\)|)\s*$$ + ^\s*(IP-|)EIGRP(-IPv[46](:\(\d+\))?|)\s+[Nn]eighbors\s+for\s+(process\s+|AS\()${AS}(\)|)\s+VRF default\s*$$ ^\s*$$ ^\s*H\s+Address\s+Interface\s+Hold\s+Uptime\s+SRTT\s+RTO\s+Q\s+Seq\s*$$ ^\s+\(sec\)\s+\(ms\)\s+Cnt\s+Num\s*$$ diff --git a/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm b/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm index 2fea1622e7..49e43e5ebd 100644 --- a/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm +++ b/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm @@ -6,14 +6,14 @@ Value REMOTE_PORT (.*) Value LOCAL_PORT (.*) Value VERSION (.*) Value INTERFACE_IP (.*) -Value CAPABILITIES (.*) +Value CAPABILITIES (.*[^\s]) Start ^Device ID:${DEST_HOST} ^System Name: ${SYSNAME} ^Interface address\(es\): -> GetInterfaceIP ^Mgmt address\(es\): -> GetIP - ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES} + ^Platform: ${PLATFORM}, Capabilities: ${CAPABILITIES}\s*$$ ^Interface: ${LOCAL_PORT}, Port ID \(outgoing port\): ${REMOTE_PORT} ^Version: -> GetVersion ^----- -> Record @@ -26,4 +26,3 @@ GetInterfaceIP GetVersion ^${VERSION} -> Start - diff --git a/templates/cisco_nxos_show_version.textfsm b/templates/cisco_nxos_show_version.textfsm index cb7bf0749c..890e785091 100755 --- a/templates/cisco_nxos_show_version.textfsm +++ b/templates/cisco_nxos_show_version.textfsm @@ -4,6 +4,7 @@ Value OS (\d+.\d+(.+)?) Value BOOT_IMAGE (.*) Value PLATFORM (\w+) Value HOSTNAME (.*) +Value SERIAL (\w+) Start ^\s+(NXOS: version|system:\s+version)\s+${OS}\s*$$ @@ -14,5 +15,7 @@ Start ^\s+cisco\s+Nexus\s+${PLATFORM}\s+[cC]hassis ^\s+Device\s+name:\s+${HOSTNAME}$$ ^\s+cisco\s+.+-${PLATFORM}\s* + # Nexus intel platform uses Board ID as serial/license + ^\s*Processor\s[Bb]oard\sID\s+${SERIAL}$$ ^Kernel\s+uptime\s+is\s+${UPTIME} ^\s+Reason:\s${LAST_REBOOT_REASON} -> Record diff --git a/templates/index b/templates/index index c2f4de0d35..8460f77632 100644 --- a/templates/index +++ b/templates/index @@ -258,7 +258,7 @@ cisco_nxos_show_forwarding_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rward cisco_nxos_show_ipv6_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] cisco_nxos_show_port-channel_summary.textfsm, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] -cisco_nxos_show_ip_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] b[[rief]] +cisco_nxos_show_ip_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] b[[rief]](?: vrf \S+)?\s*$ cisco_nxos_show_cts_interface_all.textfsm, .*, cisco_nxos, sh[[ow]] ct[[s]] inter[[face]] al[[l]] cisco_nxos_show_ip_community-list.textfsm, .*, cisco_nxos, sh[[ow]] ip comm[[unity-list]] cisco_nxos_show_mac_address-table.textfsm, .*, cisco_nxos, sh[[ow]] m[[ac]] addr[[ess-table]] diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.raw b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.raw new file mode 100644 index 0000000000..3d96e1aae2 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.raw @@ -0,0 +1,6 @@ +EIGRP-IPv4 Neighbors for AS(545) +H Address Interface Hold Uptime SRTT RTO Q Seq + (sec) (ms) Cnt Num +2 10.205.205.11 Vl624 10 3w2d 4 100 0 13336 +0 10.230.205.27 Vl942 13 9w4d 1 100 0 35073 +1 10.230.205.23 Vl942 13 15w2d 1 100 0 1051652 diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.yml b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.yml new file mode 100644 index 0000000000..1952b1362b --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors2.yml @@ -0,0 +1,29 @@ +--- +parsed_sample: + - as: "545" + address: "10.205.205.11" + interface: "Vl624" + hold: "10" + uptime: "3w2d" + srtt: "4" + rto: "100" + q_cnt: "0" + seq_num: "13336" + - as: "545" + address: "10.230.205.27" + interface: "Vl942" + hold: "13" + uptime: "9w4d" + srtt: "1" + rto: "100" + q_cnt: "0" + seq_num: "35073" + - as: "545" + address: "10.230.205.23" + interface: "Vl942" + hold: "13" + uptime: "15w2d" + srtt: "1" + rto: "100" + q_cnt: "0" + seq_num: "1051652" diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.raw b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.raw new file mode 100644 index 0000000000..9a355162b9 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.raw @@ -0,0 +1,4 @@ +EIGRP-IPv4:(535) neighbors for process 535 +H Address Interface Hold Uptime SRTT RTO Q Seq + (sec) (ms) Cnt Num +0 10.120.250.1 Vl250 10 1w0d 3 450 0 17091 diff --git a/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.yml b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.yml new file mode 100644 index 0000000000..168595aa22 --- /dev/null +++ b/tests/cisco_ios/show_ip_eigrp_neighbors/cisco_ios_show_ip_eigrp_neighbors3.yml @@ -0,0 +1,11 @@ +--- +parsed_sample: + - as: "535" + address: "10.120.250.1" + interface: "Vl250" + hold: "10" + uptime: "1w0d" + srtt: "3" + rto: "450" + q_cnt: "0" + seq_num: "17091" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version4.raw b/tests/cisco_ios/show_version/cisco_ios_show_version4.raw new file mode 100644 index 0000000000..f71d5b9e03 --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version4.raw @@ -0,0 +1,99 @@ +Cisco IOS XE Software, Version 16.09.03 +Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.9.3, RELEASE SOFTWARE (fc2) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2019 by Cisco Systems, Inc. +Compiled Wed 20-Mar-19 08:02 by mcpre + + +Cisco IOS-XE software, Copyright (c) 2005-2019 by cisco Systems, Inc. +All rights reserved. Certain components of Cisco IOS-XE software are +licensed under the GNU General Public License ("GPL") Version 2.0. The +software code licensed under GPL Version 2.0 is free software that comes +with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such +GPL code under the terms of GPL Version 2.0. For more details, see the +documentation or "License Notice" file accompanying the IOS-XE software, +or the applicable URL provided on the flyer accompanying the IOS-XE +software. + + +ROM: IOS-XE ROMMON +BOOTLDR: System Bootstrap, Version 16.9.1r [FC2], RELEASE SOFTWARE (P) + +AKBTESTW01 uptime is 1 year, 22 weeks, 6 days, 9 hours, 38 minutes +Uptime for this control processor is 1 year, 22 weeks, 6 days, 9 hours, 44 minutes +System returned to ROM by Reload Command at 22:09:11 NZST Wed May 1 2019 +System restarted at 22:16:13 NZST Wed May 1 2019 +System image file is "flash:packages.conf" +Last reload reason: Reload Command + + + +This product contains cryptographic features and is subject to United +States and local country laws governing import, export, transfer and +use. Delivery of Cisco cryptographic products does not imply +third-party authority to import, export, distribute or use encryption. +Importers, exporters, distributors and users are responsible for +compliance with U.S. and local country laws. By using this product you +agree to comply with applicable laws and regulations. If you are unable +to comply with U.S. and local laws, return this product immediately. + +A summary of U.S. laws governing Cisco cryptographic products may be found at: +http://www.cisco.com/wwl/export/crypto/tool/stqrg.html + +If you require further assistance please contact us by sending email to +export@cisco.com. + + +Technology Package License Information: + +------------------------------------------------------------------------------ +Technology-package Technology-package +Current Type Next reboot +------------------------------------------------------------------------------ +network-advantage Smart License network-advantage +dna-advantage Subscription Smart License dna-advantage + + +Smart Licensing Status: UNREGISTERED/EVAL EXPIRED + +cisco C9500-40X (X86) processor with 1419496K/6147K bytes of memory. +Processor board ID FCW2233FFG3 +16 Virtual Ethernet interfaces +96 Ten Gigabit Ethernet interfaces +4 Forty Gigabit Ethernet interfaces +2048K bytes of non-volatile configuration memory. +16777216K bytes of physical memory. +1638400K bytes of Crash Files at crashinfo:. +1638400K bytes of Crash Files at crashinfo-2:. +11264000K bytes of Flash at flash:. +11264000K bytes of Flash at flash-2:. +0K bytes of WebUI ODM Files at webui:. + +Base Ethernet MAC Address : 0c:d0:f8:cd:b5:80 +Motherboard Assembly Number : 73-18140-03 +Motherboard Serial Number : FOC223855F9 +Model Revision Number : D0 +Motherboard Revision Number : B0 +Model Number : C9500-40X +System Serial Number : FCW2233FFG3 + + +Switch Ports Model SW Version SW Image Mode +------ ----- ----- ---------- ---------- ---- +* 1 50 C9500-40X 16.9.3 CAT9K_IOSXE INSTALL + 2 50 C9500-40X 16.9.3 CAT9K_IOSXE INSTALL + + +Switch 02 +--------- +Switch uptime : 1 year, 22 weeks, 6 days, 9 hours, 47 minutes + +Base Ethernet MAC Address : 70:35:09:dd:20:00 +Motherboard Assembly Number : 73-11122-03 +Motherboard Serial Number : FOC234567Y9 +Model Revision Number : D0 +Motherboard Revision Number : B0 +Model Number : C9500-40X +System Serial Number : FCW1234F88V + +Configuration register is 0x102 diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml new file mode 100644 index 0000000000..38ad8334dd --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml @@ -0,0 +1,18 @@ +--- +parsed_sample: + - version: "16.9.3" + rommon: "IOS-XE" + hostname: "AKBTESTW01" + uptime: "1 year, 22 weeks, 6 days, 9 hours, 38 minutes" + reload_reason: "Reload Command" + running_image: "packages.conf" + hardware: + - "C9500-40X" + - "C9500-40X" + serial: + - "FCW2233FFG3" + - "FCW1234F88V" + config_register: "0x102" + mac: + - "0c:d0:f8:cd:b5:80" + - "70:35:09:dd:20:00" diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.raw b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.raw new file mode 100644 index 0000000000..a817bdff60 --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.raw @@ -0,0 +1,82 @@ +---------------------------------------- +Device ID:DC3P01SW01.test.co.nz +VTP Management Domain Name: + +Interface address(es): + IPv4 Address: 10.115.143.251 +Platform: WS-C3560X-24, Capabilities: Switch IGMP Filtering +Interface: mgmt0, Port ID (outgoing port): GigabitEthernet0/20 +Holdtime: 134 sec + +Version: +Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 12.2(55)SE5, RELEASE SOFTWARE (fc1) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2012 by Cisco Systems, Inc. +Compiled Thu 09-Feb-12 18:32 by prod_rel_team + +Advertisement Version: 2 + +Native VLAN: 143 +Duplex: full +Mgmt address(es): + IPv4 Address: 10.115.143.251 +---------------------------------------- +Device ID:DC3TESTW01-55.test.co.nz(SSI3707070J) +System Name: DC3TESTW01-55 + +Interface address(es): + IPv4 Address: 10.115.17.253 +Platform: N5K-C5548UP, Capabilities: Router Switch IGMP Filtering Supports-STP-Dispute +Interface: Ethernet1/1, Port ID (outgoing port): Ethernet1/31 +Holdtime: 157 sec + +Version: +Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4) + +Advertisement Version: 2 + +Native VLAN: 1 +Duplex: full +Physical Location: DC3, Sydney DC Rack P1, RU36 +Mgmt address(es): + IPv4 Address: 10.115.143.120 +---------------------------------------- +Device ID:DC3TESTW02.test.co.nz(SSI11111D2M) +System Name: DC3TESTW02 + +Interface address(es): + IPv4 Address: 10.115.143.21 +Platform: N5K-C5020P-BF, Capabilities: Switch IGMP Filtering Supports-STP-Dispute +Interface: Ethernet1/21, Port ID (outgoing port): Ethernet1/21 +Holdtime: 157 sec + +Version: +Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4) + +Advertisement Version: 2 + +Native VLAN: 1 +Duplex: full +Physical Location: DC3 , Melbourne +Mgmt address(es): + IPv4 Address: 10.115.143.21 +---------------------------------------- +Device ID:DC3TESTW02.test.co.nz(SSI44444D2M) +System Name: DC3TESTW02 + +Interface address(es): + IPv4 Address: 10.115.143.21 +Platform: N5K-C5020P-BF, Capabilities: Switch IGMP Filtering Supports-STP-Dispute +Interface: Ethernet1/22, Port ID (outgoing port): Ethernet1/22 +Holdtime: 157 sec + +Version: +Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4) + +Advertisement Version: 2 + +Native VLAN: 1 +Duplex: full +Physical Location: DC3 , Melbourne +Mgmt address(es): + IPv4 Address: 10.115.143.21 \ No newline at end of file diff --git a/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.yml b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.yml new file mode 100644 index 0000000000..eeac035473 --- /dev/null +++ b/tests/cisco_nxos/show_cdp_neighbors_detail/cisco_nxos_show_cdp_neighbors_detail1.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - dest_host: "DC3P01SW01.test.co.nz" + local_port: "mgmt0" + mgmt_ip: "10.115.143.251" + platform: "WS-C3560X-24" + remote_port: "GigabitEthernet0/20" + sysname: "" + version: "Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 12.2(55)SE5, RELEASE SOFTWARE (fc1)" + interface_ip: "10.115.143.251" + capabilities: "Switch IGMP Filtering" + - dest_host: "DC3TESTW01-55.test.co.nz(SSI3707070J)" + local_port: "Ethernet1/1" + mgmt_ip: "10.115.143.120" + platform: "N5K-C5548UP" + remote_port: "Ethernet1/31" + sysname: "DC3TESTW01-55" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4)" + interface_ip: "10.115.17.253" + capabilities: "Router Switch IGMP Filtering Supports-STP-Dispute" + - dest_host: "DC3TESTW02.test.co.nz(SSI11111D2M)" + local_port: "Ethernet1/21" + mgmt_ip: "10.115.143.21" + platform: "N5K-C5020P-BF" + remote_port: "Ethernet1/21" + sysname: "DC3TESTW02" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4)" + interface_ip: "10.115.143.21" + capabilities: "Switch IGMP Filtering Supports-STP-Dispute" + - dest_host: "DC3TESTW02.test.co.nz(SSI44444D2M)" + local_port: "Ethernet1/22" + mgmt_ip: "10.115.143.21" + platform: "N5K-C5020P-BF" + remote_port: "Ethernet1/22" + sysname: "DC3TESTW02" + version: "Cisco Nexus Operating System (NX-OS) Software, Version 5.2(1)N1(4)" + interface_ip: "10.115.143.21" + capabilities: "Switch IGMP Filtering Supports-STP-Dispute" diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.raw b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.raw new file mode 100644 index 0000000000..712c8a0c59 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.raw @@ -0,0 +1,6 @@ +IP Interface Status for VRF "default"(1) +Interface IP Address Interface Status + +IP Interface Status for VRF "management"(2) +Interface IP Address Interface Status +mgmt0 10.205.143.20 protocol-up/link-up/admin-up diff --git a/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.yml b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.yml new file mode 100644 index 0000000000..0341032c16 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief_vrf_all.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - vrf: "management" + intf: "mgmt0" + ipaddr: "10.205.143.20" + status: "admin-up" + link: "link-up" + proto: "protocol-up" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml index 5b0509266f..aa0db339df 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version.yml @@ -6,3 +6,4 @@ parsed_sample: boot_image: "bootflash:///n9000-dk9.6.1.2.I3.1.bin" platform: "C9396PX" hostname: "N9K1" + serial: "SAL1819S6LU" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml index 26ccb1b5d2..1f26b1137d 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version1.yml @@ -6,3 +6,4 @@ parsed_sample: boot_image: "/bootflash/aci-n9000-dk9.14.0.1h.bin" platform: "C9396PX" hostname: "Leaf-101" + serial: "SAL1909A8CT" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml index e6e6aa8667..41cdf083c5 100644 --- a/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version2.yml @@ -6,3 +6,4 @@ parsed_sample: boot_image: "bootflash:///n5000-uk9-kickstart.7.1.4.N1.1.bin" platform: "5596" hostname: "IEDP02-N5K-SW01" + serial: "FOC17153X08" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version3.raw b/tests/cisco_nxos/show_version/cisco_nxos_show_version3.raw new file mode 100644 index 0000000000..379e5a125d --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version3.raw @@ -0,0 +1,44 @@ +Cisco Nexus Operating System (NX-OS) Software +TAC support: http://www.cisco.com/tac +Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html +Copyright (c) 2002-2013, Cisco Systems, Inc. All rights reserved. +The copyrights to certain works contained herein are owned by +other third parties and are used and distributed under license. +Some parts of this software are covered under the GNU Public +License. A copy of the license is available at +http://www.gnu.org/licenses/gpl.html. + +Software + BIOS: version 3.6.0 + loader: version N/A + kickstart: version 5.2(1)N1(4) + system: version 5.2(1)N1(4) + power-seq: Module 1: version v1.0 + Module 3: version v5.0 + uC: version v1.2.0.1 + SFP uC: Module 1: v1.0.0.0 + BIOS compile time: 05/09/2012 + kickstart image file is: bootflash:///n5000-uk9-kickstart.5.2.1.N1.4.bin + kickstart compile time: 3/19/2013 3:00:00 [03/19/2013 23:12:59] + system image file is: bootflash:///n5000-uk9.5.2.1.N1.4.bin + system compile time: 3/19/2013 3:00:00 [03/20/2013 01:10:47] + + +Hardware + cisco Nexus5548 Chassis ("O2 32X10GE/Modular Universal Platform Supervisor") + Intel(R) Xeon(R) CPU with 8263848 kB of memory. + Processor Board ID FOC171737PL + + Device name: DC2TESTSW01-55 + bootflash: 2007040 kB + +Kernel uptime is 311 day(s), 0 hour(s), 27 minute(s), 35 second(s) + +Last reset at 629197 usecs after Thu Dec 5 15:17:54 2019 + + Reason: Reset triggered due to HA policy of Reset + System version: 5.2(1)N1(4) + Service: __inst_001__eigrp hap reset + +plugin + Core Plugin, Ethernet Plugin diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version3.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version3.yml new file mode 100644 index 0000000000..904e5047a9 --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version3.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - uptime: "311 day(s), 0 hour(s), 27 minute(s), 35 second(s)" + last_reboot_reason: "Reset triggered due to HA policy of Reset" + os: "5.2(1)N1(4)" + boot_image: "bootflash:///n5000-uk9-kickstart.5.2.1.N1.4.bin" + platform: "Nexus5548" + hostname: "DC2TESTSW01-55" + serial: "FOC171737PL" diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version4.raw b/tests/cisco_nxos/show_version/cisco_nxos_show_version4.raw new file mode 100644 index 0000000000..2050da2dd1 --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version4.raw @@ -0,0 +1,46 @@ +Cisco Nexus Operating System (NX-OS) Software +TAC support: http://www.cisco.com/tac +Copyright (C) 2002-2016, Cisco and/or its affiliates. +All rights reserved. +The copyrights to certain works contained in this software are +owned by other third parties and used and distributed under their own +licenses, such as open source. This software is provided "as is," and unless +otherwise stated, there is no warranty, express or implied, including but not +limited to warranties of merchantability and fitness for a particular purpose. +Certain components of this software are licensed under +the GNU General Public License (GPL) version 2.0 or +GNU General Public License (GPL) version 3.0 or the GNU +Lesser General Public License (LGPL) Version 2.1 or +Lesser General Public License (LGPL) Version 2.0. +A copy of each such license is available at +http://www.opensource.org/licenses/gpl-2.0.php and +http://opensource.org/licenses/gpl-3.0.html and +http://www.opensource.org/licenses/lgpl-2.1.php and +http://www.gnu.org/licenses/old-licenses/library.txt. + +Software + BIOS: version 07.51 + NXOS: version 7.0(3)I4(3) + BIOS compile time: 02/15/2016 + NXOS image file is: bootflash:///nxos.7.0.3.I4.3.bin + NXOS compile time: 9/2/2016 3:00:00 [09/02/2016 23:19:13] + + +Hardware + cisco Nexus9000 C9372PX chassis + Intel(R) Core(TM) i3- CPU @ 2.50GHz with 16401548 kB of memory. + Processor Board ID SAL2211QQWS + + Device name: obttestw02 + bootflash: 21693714 kB +Kernel uptime is 670 day(s), 6 hour(s), 34 minute(s), 1 second(s) + +Last reset + Reason: Unknown + System version: 7.0(3)I4(3) + Service: + +plugin + Core Plugin, Ethernet Plugin + +Active Package(s): diff --git a/tests/cisco_nxos/show_version/cisco_nxos_show_version4.yml b/tests/cisco_nxos/show_version/cisco_nxos_show_version4.yml new file mode 100644 index 0000000000..eabf815c96 --- /dev/null +++ b/tests/cisco_nxos/show_version/cisco_nxos_show_version4.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - uptime: "670 day(s), 6 hour(s), 34 minute(s), 1 second(s)" + last_reboot_reason: "Unknown" + os: "7.0(3)I4(3)" + boot_image: "bootflash:///nxos.7.0.3.I4.3.bin" + platform: "C9372PX" + hostname: "obttestw02" + serial: "SAL2211QQWS" From f2cc1c88ccaf092d2e44ab9b8a11f0d5e8427115 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Tue, 1 Dec 2020 00:25:17 +0100 Subject: [PATCH 530/628] New template: Vyatta/VyOS BGP summary (#828) --- templates/index | 1 + .../vyatta_vyos_show_ip_bgp_summary.textfsm | 23 ++++++++++++++++ .../vyatta_vyos_show_ip_bgp_summary.raw | 13 ++++++++++ .../vyatta_vyos_show_ip_bgp_summary.yml | 26 +++++++++++++++++++ 4 files changed, 63 insertions(+) create mode 100644 templates/vyatta_vyos_show_ip_bgp_summary.textfsm create mode 100644 tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.raw create mode 100644 tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.yml diff --git a/templates/index b/templates/index index 8460f77632..8e80913455 100644 --- a/templates/index +++ b/templates/index @@ -436,6 +436,7 @@ ubiquiti_edgeswitch_show_arp.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ar[[p]] vmware_nsxv_show_ip_bgp_neighbors.textfsm, .*, vmware_nsxv, sh[[ow]] ip b[[gp]] n[[eighbors]] vmware_nsxv_show_ip_route.textfsm, .*, vmware_nsxv, sh[[ow]] ip r[[oute]] +vyatta_vyos_show_ip_bgp_summary.textfsm, .*, .*vyos.*, sh[[ow]] ip bgp sum[[mary]] vyatta_vyos_show_interfaces.textfsm, .*, .*vyos.*, sh[[ow]] int[[erfaces]] vyatta_vyos_show_arp.textfsm, .*, .*vyos.*, sh[[ow]] a[[rp]] diff --git a/templates/vyatta_vyos_show_ip_bgp_summary.textfsm b/templates/vyatta_vyos_show_ip_bgp_summary.textfsm new file mode 100644 index 0000000000..2b2cff42bb --- /dev/null +++ b/templates/vyatta_vyos_show_ip_bgp_summary.textfsm @@ -0,0 +1,23 @@ +Value Filldown ROUTER_ID (\S+) +Value Filldown LOCAL_AS (\d+) +Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) +Value NEIGH_AS (\d+) +Value MSG_RCVD (\d+) +Value MSG_SENT (\d+) +Value UP_DOWN (\S+?) +Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) + +Start + ^IPv4\s+Unicast\s+Summary:$$ + ^BGP\s+router\s+identifier\s+${ROUTER_ID},\s+[Ll]ocal\s+[Aa][Ss]\s+number\s+${LOCAL_AS}\s+vrf-id\s+\d+$$ + ^BGP\s+table\s+version\s+\d+$$ + ^RIB\s+entries\s+\d+,\s+using\s+\d+\s+MiB\s+of\s+memory$$ + ^Peers\s+\d+,\s+using\s+\d+\s+KiB\s+of\s+memory$$ + ^Peer\s+groups\s+\d+,\s+using\s+\d+\s+bytes\s+of\s+memory$$ + ^Neighbor\s+V\s+AS\s+MsgRcvd\s+MsgSent\s+TblVer\s+InQ\s+OutQ\s+Up/Down\s+State/PfxRcd$$ + ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}(\s+\d+?){3}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + ^Total\s+number\s+of\s+neighbors\s+\d+$$ + ^\s*$$ + ^. -> Error + +EOF diff --git a/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.raw b/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.raw new file mode 100644 index 0000000000..8cb99f2dfa --- /dev/null +++ b/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.raw @@ -0,0 +1,13 @@ +IPv4 Unicast Summary: +BGP router identifier 10.10.10.1, local AS number 123456 vrf-id 0 +BGP table version 50711224 +RIB entries 1537189, using 270 MiB of memory +Peers 3, using 593 KiB of memory +Peer groups 4, using 256 bytes of memory + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.10.10.10 4 1234 71460 69353 0 0 0 5d13h10m 0 +123.123.123.123 4 345612 450590 34688 0 0 0 1d00h18m 0 +193.189.82.105 4 12365 0 0 0 0 0 never Active + +Total number of neighbors 3 diff --git a/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.yml b/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.yml new file mode 100644 index 0000000000..fe5b33b6d1 --- /dev/null +++ b/tests/vyatta_vyos/show_ip_bgp_summary/vyatta_vyos_show_ip_bgp_summary.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - router_id: "10.10.10.1" + local_as: "123456" + bgp_neigh: "10.10.10.10" + neigh_as: "1234" + msg_rcvd: "71460" + msg_sent: "69353" + up_down: "5d13h10m" + state_pfxrcd: "0" + - router_id: "10.10.10.1" + local_as: "123456" + bgp_neigh: "123.123.123.123" + neigh_as: "345612" + msg_rcvd: "450590" + msg_sent: "34688" + up_down: "1d00h18m" + state_pfxrcd: "0" + - router_id: "10.10.10.1" + local_as: "123456" + bgp_neigh: "193.189.82.105" + neigh_as: "12365" + msg_rcvd: "0" + msg_sent: "0" + up_down: "never" + state_pfxrcd: "Active" From baf11f790806ab7d514fba9dffa4646ec09df7ca Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Tue, 1 Dec 2020 09:59:30 -0500 Subject: [PATCH 531/628] Change fortinet_fortios to fortinet per Netmiko (#831) --- ...textfsm => fortinet_get_router_info_bgp_summary.textfsm} | 0 ...erface.textfsm => fortinet_get_system_interface.textfsm} | 0 ...em_status.textfsm => fortinet_get_system_status.textfsm} | 0 templates/index | 6 +++--- .../fortinet_get_router_info_bgp_summary.raw} | 0 .../fortinet_get_router_info_bgp_summary.yml} | 0 .../get_system_interface/fortinet_get_system_interface.raw} | 0 .../get_system_interface/fortinet_get_system_interface.yml} | 0 .../get_system_status/fortinet_get_system_status.raw} | 0 .../get_system_status/fortinet_get_system_status.yml} | 0 tests/test_index_order.py | 2 +- 11 files changed, 4 insertions(+), 4 deletions(-) rename templates/{fortinet_fortios_get_router_info_bgp_summary.textfsm => fortinet_get_router_info_bgp_summary.textfsm} (100%) rename templates/{fortinet_fortios_get_system_interface.textfsm => fortinet_get_system_interface.textfsm} (100%) rename templates/{fortinet_fortios_get_system_status.textfsm => fortinet_get_system_status.textfsm} (100%) rename tests/{fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw => fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.raw} (100%) rename tests/{fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml => fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.yml} (100%) rename tests/{fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.raw => fortinet/get_system_interface/fortinet_get_system_interface.raw} (100%) rename tests/{fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.yml => fortinet/get_system_interface/fortinet_get_system_interface.yml} (100%) rename tests/{fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.raw => fortinet/get_system_status/fortinet_get_system_status.raw} (100%) rename tests/{fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.yml => fortinet/get_system_status/fortinet_get_system_status.yml} (100%) diff --git a/templates/fortinet_fortios_get_router_info_bgp_summary.textfsm b/templates/fortinet_get_router_info_bgp_summary.textfsm similarity index 100% rename from templates/fortinet_fortios_get_router_info_bgp_summary.textfsm rename to templates/fortinet_get_router_info_bgp_summary.textfsm diff --git a/templates/fortinet_fortios_get_system_interface.textfsm b/templates/fortinet_get_system_interface.textfsm similarity index 100% rename from templates/fortinet_fortios_get_system_interface.textfsm rename to templates/fortinet_get_system_interface.textfsm diff --git a/templates/fortinet_fortios_get_system_status.textfsm b/templates/fortinet_get_system_status.textfsm similarity index 100% rename from templates/fortinet_fortios_get_system_status.textfsm rename to templates/fortinet_get_system_status.textfsm diff --git a/templates/index b/templates/index index 8e80913455..5d44cbbd09 100644 --- a/templates/index +++ b/templates/index @@ -369,9 +369,9 @@ dell_force10_show_version.textfsm, .*, dell_force10, sh[[ow]] ver[[sion]] dell_force10_show_vlan.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] dell_force10_show_arp.textfsm, .*, dell_force10, sh[[ow]] ar[[p]] -fortinet_fortios_get_router_info_bgp_summary.textfsm, .*, fortinet_fortios, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] -fortinet_fortios_get_system_interface.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[i]]nterface -fortinet_fortios_get_system_status.textfsm, .*, fortinet_fortios, [[g]]et [[s]]ystem [[s]]tatus +fortinet_get_router_info_bgp_summary.textfsm, .*, fortinet, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] +fortinet_get_system_interface.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[i]]nterface +fortinet_get_system_status.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[s]]tatus hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] diff --git a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw b/tests/fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.raw similarity index 100% rename from tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.raw rename to tests/fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.raw diff --git a/tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml b/tests/fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.yml similarity index 100% rename from tests/fortinet_fortios/get_router_info_bgp_summary/get_router_info_bgp_summary.yml rename to tests/fortinet/get_router_info_bgp_summary/fortinet_get_router_info_bgp_summary.yml diff --git a/tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.raw b/tests/fortinet/get_system_interface/fortinet_get_system_interface.raw similarity index 100% rename from tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.raw rename to tests/fortinet/get_system_interface/fortinet_get_system_interface.raw diff --git a/tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.yml b/tests/fortinet/get_system_interface/fortinet_get_system_interface.yml similarity index 100% rename from tests/fortinet_fortios/get_system_interface/fortinet_fortios_get_system_interface.yml rename to tests/fortinet/get_system_interface/fortinet_get_system_interface.yml diff --git a/tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.raw b/tests/fortinet/get_system_status/fortinet_get_system_status.raw similarity index 100% rename from tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.raw rename to tests/fortinet/get_system_status/fortinet_get_system_status.raw diff --git a/tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.yml b/tests/fortinet/get_system_status/fortinet_get_system_status.yml similarity index 100% rename from tests/fortinet_fortios/get_system_status/fortinet_fortios_get_system_status.yml rename to tests/fortinet/get_system_status/fortinet_get_system_status.yml diff --git a/tests/test_index_order.py b/tests/test_index_order.py index a6e378991b..382d0c24e2 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -37,7 +37,7 @@ "enterasys", "extreme", "f5_ltm", - "fortinet_fortios", + "fortinet", "hp_comware", "hp_procurve", "huawei_vrp", From dbee8b2963732e7f1fceefcc0a9d9e5c832a85f6 Mon Sep 17 00:00:00 2001 From: nidebr Date: Tue, 1 Dec 2020 17:32:00 +0100 Subject: [PATCH 532/628] New template: Dell PowerConnect show int description (#827) --- ...rconnect_show_bridge_address_table.textfsm | 13 + ...onnect_show_interfaces_description.textfsm | 12 + ...owerconnect_show_interfaces_status.textfsm | 21 + templates/index | 6 +- ...powerconnect_show_bridge_address_table.raw | 30 ++ ...powerconnect_show_bridge_address_table.yml | 106 +++++ ...werconnect_show_interfaces_description.raw | 61 +++ ...werconnect_show_interfaces_description.yml | 98 ++++ ...ll_powerconnect_show_interfaces_status.raw | 63 +++ ...ll_powerconnect_show_interfaces_status.yml | 434 ++++++++++++++++++ tests/test_index_order.py | 1 + 11 files changed, 844 insertions(+), 1 deletion(-) create mode 100644 templates/dell_powerconnect_show_bridge_address_table.textfsm create mode 100644 templates/dell_powerconnect_show_interfaces_description.textfsm create mode 100644 templates/dell_powerconnect_show_interfaces_status.textfsm create mode 100644 tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.raw create mode 100644 tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.yml create mode 100644 tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.raw create mode 100644 tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.yml create mode 100644 tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.raw create mode 100644 tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.yml diff --git a/templates/dell_powerconnect_show_bridge_address_table.textfsm b/templates/dell_powerconnect_show_bridge_address_table.textfsm new file mode 100644 index 0000000000..814c99abb6 --- /dev/null +++ b/templates/dell_powerconnect_show_bridge_address_table.textfsm @@ -0,0 +1,13 @@ +Value DESTINATION_ADDRESS ((\w\w:){5}\w\w) +Value TYPE (dynamic|self) +Value VLAN (\w+) +Value DESTINATION_PORT (\S+) + +Start + ^\s+Vlan\s+Mac\s+Address\s+Port\s+Type -> Begin + +Begin + ^-+ + ^Aging + ^\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${DESTINATION_PORT}\s+${TYPE} -> Record + ^. -> Error diff --git a/templates/dell_powerconnect_show_interfaces_description.textfsm b/templates/dell_powerconnect_show_interfaces_description.textfsm new file mode 100644 index 0000000000..da9039950e --- /dev/null +++ b/templates/dell_powerconnect_show_interfaces_description.textfsm @@ -0,0 +1,12 @@ +Value INTERFACE (\S+) +Value DESCRIPTION (\S*) + +Start + ^Port\s+Description -> Begin + +Begin + ^-+ + ^Ch\s+Description -> End + ^${INTERFACE}\s*${DESCRIPTION}\s*$$ -> Record + ^\s* + ^. -> Error diff --git a/templates/dell_powerconnect_show_interfaces_status.textfsm b/templates/dell_powerconnect_show_interfaces_status.textfsm new file mode 100644 index 0000000000..5dfecdc756 --- /dev/null +++ b/templates/dell_powerconnect_show_interfaces_status.textfsm @@ -0,0 +1,21 @@ +Value PORT (\S+) +Value TYPE (\S+) +Value DUPLEX (Full|Half|--) +Value SPEED (\d+|--) +Value NEG (Enabled|Disabled|--) +Value FLOWCTRL (Off|On|--) +Value LINKSTATE (Up|Down) +Value BACKPRESSURE (Disabled|Enabled|--) +Value MDIXMODE (Off|On|--) + +Start + ^Port\s+Type\s+Duplex\s+Speed\s+Neg\s+ctrl\s+State\s+Pressure\s+Mode -> Begin + +Begin + ^\s+Flow\s+Link\s+Back\s+Mdix + ^-+ + ^${PORT}\s+${TYPE}\s+${DUPLEX}\s+${SPEED}\s+${NEG}\s+${FLOWCTRL}\s+${LINKSTATE}\s+${BACKPRESSURE}\s+${MDIXMODE} -> Record + ^\s+Flow\s+Link + ^Ch\s+Type\s+Duplex\s+Speed\s+Neg\s+control\s+State -> End + ^\s* + ^. -> Error diff --git a/templates/index b/templates/index index 5d44cbbd09..f17ff3b334 100644 --- a/templates/index +++ b/templates/index @@ -77,7 +77,7 @@ avaya_ers_show_mlt.textfsm, .*, avaya_ers, sh[[ow]] ml[[t]] avaya_vsp_show_software.textfsm, .*, avaya_vsp, sho[[w]] so[[ftware]] -broadcom_icos_show_lldp_remote-device_all.textfsm, .*, broadcom_icos, sh[[ow]] lld[[p]] r[[emote-device]] a[[ll]] +broadcom_icos_show_lldp_remote-device_all.textfsm, .*, broadcom_icos, sh[[ow]] lld[[p]] r[[emote-device]] a[[ll]] broadcom_icos_show_isdp_neighbors.textfsm, .*, broadcom_icos, sh[[ow]] is[[dp]] n[[eighbors]] broadcom_icos_show_mac-addr-table.textfsm, .*, broadcom_icos, sh[[ow]] mac-addr-[[table]] broadcom_icos_show_vlan_brief.textfsm, .*, broadcom_icos, sh[[ow]] vl[[an]] b[[rief]] @@ -369,6 +369,10 @@ dell_force10_show_version.textfsm, .*, dell_force10, sh[[ow]] ver[[sion]] dell_force10_show_vlan.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] dell_force10_show_arp.textfsm, .*, dell_force10, sh[[ow]] ar[[p]] +dell_powerconnect_show_interfaces_description.textfsm, .*, dell_powerconnect, sh[[ow]] int[[erfaces]] des[[cription]] +dell_powerconnect_show_bridge_address_table.textfsm, .*, dell_powerconnect, sh[[ow]] br[[idge]] a[[ddress-table]] +dell_powerconnect_show_interfaces_status.textfsm, .*, dell_powerconnect, sh[[ow]] int[[erfaces]] st[[atus]] + fortinet_get_router_info_bgp_summary.textfsm, .*, fortinet, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] fortinet_get_system_interface.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[i]]nterface fortinet_get_system_status.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[s]]tatus diff --git a/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.raw b/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.raw new file mode 100644 index 0000000000..edb5d4b384 --- /dev/null +++ b/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.raw @@ -0,0 +1,30 @@ +Aging time is 300 sec + + Vlan Mac Address Port Type +-------- --------------------- ------ ---------- + 5 00:08:e3:ff:fc:28 g48 dynamic + 5 00:13:c6:05:d3:1f g48 dynamic + 5 0c:f5:a4:cf:21:1f g48 dynamic + 5 8c:60:4f:59:90:81 g44 dynamic + 5 8c:60:4f:59:98:01 g43 dynamic + 12 00:08:e3:ff:fc:28 g48 dynamic + 12 00:11:32:7c:0e:ba g48 dynamic + 220 00:08:e3:ff:fc:28 g48 dynamic + 220 00:0a:f7:14:c0:92 g48 dynamic + 220 00:0a:f7:14:c3:80 g48 dynamic + 220 00:0a:f7:38:33:10 g48 dynamic + 220 00:0a:f7:6a:56:30 g48 dynamic + 220 4c:d9:8f:00:31:7a g19 dynamic + 220 4c:d9:8f:00:33:24 g17 dynamic + 220 4c:d9:8f:09:c9:10 g31 dynamic + 220 4c:d9:8f:09:c9:16 g30 dynamic + 220 4c:d9:8f:09:c9:40 g37 dynamic + 220 4c:d9:8f:9f:04:3c g48 dynamic + 220 5c:f9:dd:fd:8b:72 g12 dynamic + 220 5c:f9:dd:fd:8c:28 g38 dynamic + 220 5c:f9:dd:fd:90:bc g11 dynamic + 220 5c:f9:dd:fd:9a:da g10 dynamic + 220 70:81:05:1d:e6:e2 g48 dynamic + 220 70:b5:e8:d5:de:d6 g13 dynamic + 220 70:b5:e8:d5:e2:fc g2 dynamic + 220 70:b5:e8:d5:e6:d4 g1 dynamic diff --git a/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.yml b/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.yml new file mode 100644 index 0000000000..af969b75f8 --- /dev/null +++ b/tests/dell_powerconnect/show_bridge_address_table/dell_powerconnect_show_bridge_address_table.yml @@ -0,0 +1,106 @@ +--- +parsed_sample: + - destination_address: "00:08:e3:ff:fc:28" + type: "dynamic" + vlan: "5" + destination_port: "g48" + - destination_address: "00:13:c6:05:d3:1f" + type: "dynamic" + vlan: "5" + destination_port: "g48" + - destination_address: "0c:f5:a4:cf:21:1f" + type: "dynamic" + vlan: "5" + destination_port: "g48" + - destination_address: "8c:60:4f:59:90:81" + type: "dynamic" + vlan: "5" + destination_port: "g44" + - destination_address: "8c:60:4f:59:98:01" + type: "dynamic" + vlan: "5" + destination_port: "g43" + - destination_address: "00:08:e3:ff:fc:28" + type: "dynamic" + vlan: "12" + destination_port: "g48" + - destination_address: "00:11:32:7c:0e:ba" + type: "dynamic" + vlan: "12" + destination_port: "g48" + - destination_address: "00:08:e3:ff:fc:28" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "00:0a:f7:14:c0:92" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "00:0a:f7:14:c3:80" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "00:0a:f7:38:33:10" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "00:0a:f7:6a:56:30" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "4c:d9:8f:00:31:7a" + type: "dynamic" + vlan: "220" + destination_port: "g19" + - destination_address: "4c:d9:8f:00:33:24" + type: "dynamic" + vlan: "220" + destination_port: "g17" + - destination_address: "4c:d9:8f:09:c9:10" + type: "dynamic" + vlan: "220" + destination_port: "g31" + - destination_address: "4c:d9:8f:09:c9:16" + type: "dynamic" + vlan: "220" + destination_port: "g30" + - destination_address: "4c:d9:8f:09:c9:40" + type: "dynamic" + vlan: "220" + destination_port: "g37" + - destination_address: "4c:d9:8f:9f:04:3c" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "5c:f9:dd:fd:8b:72" + type: "dynamic" + vlan: "220" + destination_port: "g12" + - destination_address: "5c:f9:dd:fd:8c:28" + type: "dynamic" + vlan: "220" + destination_port: "g38" + - destination_address: "5c:f9:dd:fd:90:bc" + type: "dynamic" + vlan: "220" + destination_port: "g11" + - destination_address: "5c:f9:dd:fd:9a:da" + type: "dynamic" + vlan: "220" + destination_port: "g10" + - destination_address: "70:81:05:1d:e6:e2" + type: "dynamic" + vlan: "220" + destination_port: "g48" + - destination_address: "70:b5:e8:d5:de:d6" + type: "dynamic" + vlan: "220" + destination_port: "g13" + - destination_address: "70:b5:e8:d5:e2:fc" + type: "dynamic" + vlan: "220" + destination_port: "g2" + - destination_address: "70:b5:e8:d5:e6:d4" + type: "dynamic" + vlan: "220" + destination_port: "g1" diff --git a/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.raw b/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.raw new file mode 100644 index 0000000000..547268c5f8 --- /dev/null +++ b/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.raw @@ -0,0 +1,61 @@ +Port Description +------- ----------- +g1 TO_SRV05-VSAN_[DRAC] +g2 TO_SRV11-V6_[DRAC] +g3 TO_SRV06-V6_[DRAC] +g4 TO_SRV07-V6_[DRAC] +g5 TO_SRV08-V6_[DRAC] +g6 TO-NAS-MASTER_[DRAC] +g7 TO-NAS-MASTER_[admin] +g8 SRV-IDRAC +g9 SRV-EXT2-IDRAC +g10 TO_SRV02-V3_[DRAC] +g11 TO_SRV03-V3_[DRAC] +g12 TO_SRV04-V3_[DRAC] +g13 TO_SRV12-V6_[DRAC] +g14 TO_SRV01-V4_[DRAC] +g15 TO_SRV02-V4_[DRAC] +g16 TO_SRV09-ESS_[DRAC] +g17 TO_SRV01-V2_[DRAC] +g18 TO_SRV02-V2_[DRAC] +g19 TO_SRV03-V2_[DRAC] +g20 TO_SRV04-V2_[DRAC] +g21 TO_SAN-SAS-2_[C0] +g22 TO_SAN-SAS-2_[C1] +g23 TO_SRV09-V6_[DRAC] +g24 TO_SRV10-V6_[DRAC] +g25 TO_SRV04-VSAN_[DRAC] +g26 TO_SRV07-LC_[DRAC] +g27 TO_SRV03-VSAN_[DRAC] +g28 TO_SAN-[CTRL-0] +g29 TO_SAN-[CTRL-1] +g30 TO_SRV10-VSAN_[DRAC] +g31 TO_SRV09-VSAN_[DRAC] +g32 TO_SRV02-VSAN_[DRAC] +g33 TO_SAN2-[CTRL-0] +g34 TO_SAN2-[CTRL-1] +g35 TO_SAN3[CTRL-0] +g36 TO_SAN3[CTRL-1] +g37 TO_SRV01-VSAN_[DRAC] +g38 TO_SRV01-V3_[DRAC] +g39 TO_SAN4[CTRL-0] +g40 TO_SAN4[CTRL-1] +g41 TO_SAN5[CTRL-0] +g42 TO_SAN5[CTRL-1] +g43 TO_UPLINK1_[1Gbit] +g44 TO_UPLINK2_[1Gbit] +g45 TO_SRV07-V2_[DRAC] +g46 +g47 +g48 ADMIN_[1Gbit] + +Ch Description +------- ----------- +ch1 +ch2 +ch3 +ch4 +ch5 +ch6 +ch7 +ch8 diff --git a/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.yml b/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.yml new file mode 100644 index 0000000000..e66ca3b4e6 --- /dev/null +++ b/tests/dell_powerconnect/show_interfaces_description/dell_powerconnect_show_interfaces_description.yml @@ -0,0 +1,98 @@ +--- +parsed_sample: + - interface: "g1" + description: "TO_SRV05-VSAN_[DRAC]" + - interface: "g2" + description: "TO_SRV11-V6_[DRAC]" + - interface: "g3" + description: "TO_SRV06-V6_[DRAC]" + - interface: "g4" + description: "TO_SRV07-V6_[DRAC]" + - interface: "g5" + description: "TO_SRV08-V6_[DRAC]" + - interface: "g6" + description: "TO-NAS-MASTER_[DRAC]" + - interface: "g7" + description: "TO-NAS-MASTER_[admin]" + - interface: "g8" + description: "SRV-IDRAC" + - interface: "g9" + description: "SRV-EXT2-IDRAC" + - interface: "g10" + description: "TO_SRV02-V3_[DRAC]" + - interface: "g11" + description: "TO_SRV03-V3_[DRAC]" + - interface: "g12" + description: "TO_SRV04-V3_[DRAC]" + - interface: "g13" + description: "TO_SRV12-V6_[DRAC]" + - interface: "g14" + description: "TO_SRV01-V4_[DRAC]" + - interface: "g15" + description: "TO_SRV02-V4_[DRAC]" + - interface: "g16" + description: "TO_SRV09-ESS_[DRAC]" + - interface: "g17" + description: "TO_SRV01-V2_[DRAC]" + - interface: "g18" + description: "TO_SRV02-V2_[DRAC]" + - interface: "g19" + description: "TO_SRV03-V2_[DRAC]" + - interface: "g20" + description: "TO_SRV04-V2_[DRAC]" + - interface: "g21" + description: "TO_SAN-SAS-2_[C0]" + - interface: "g22" + description: "TO_SAN-SAS-2_[C1]" + - interface: "g23" + description: "TO_SRV09-V6_[DRAC]" + - interface: "g24" + description: "TO_SRV10-V6_[DRAC]" + - interface: "g25" + description: "TO_SRV04-VSAN_[DRAC]" + - interface: "g26" + description: "TO_SRV07-LC_[DRAC]" + - interface: "g27" + description: "TO_SRV03-VSAN_[DRAC]" + - interface: "g28" + description: "TO_SAN-[CTRL-0]" + - interface: "g29" + description: "TO_SAN-[CTRL-1]" + - interface: "g30" + description: "TO_SRV10-VSAN_[DRAC]" + - interface: "g31" + description: "TO_SRV09-VSAN_[DRAC]" + - interface: "g32" + description: "TO_SRV02-VSAN_[DRAC]" + - interface: "g33" + description: "TO_SAN2-[CTRL-0]" + - interface: "g34" + description: "TO_SAN2-[CTRL-1]" + - interface: "g35" + description: "TO_SAN3[CTRL-0]" + - interface: "g36" + description: "TO_SAN3[CTRL-1]" + - interface: "g37" + description: "TO_SRV01-VSAN_[DRAC]" + - interface: "g38" + description: "TO_SRV01-V3_[DRAC]" + - interface: "g39" + description: "TO_SAN4[CTRL-0]" + - interface: "g40" + description: "TO_SAN4[CTRL-1]" + - interface: "g41" + description: "TO_SAN5[CTRL-0]" + - interface: "g42" + description: "TO_SAN5[CTRL-1]" + - interface: "g43" + description: "TO_UPLINK1_[1Gbit]" + - interface: "g44" + description: "TO_UPLINK2_[1Gbit]" + - interface: "g45" + description: "TO_SRV07-V2_[DRAC]" + - interface: "g46" + description: "" + - interface: "g47" + description: "" + - interface: "g48" + description: "ADMIN_[1Gbit]" diff --git a/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.raw b/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.raw new file mode 100644 index 0000000000..9445049bec --- /dev/null +++ b/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.raw @@ -0,0 +1,63 @@ +Flow Link Back Mdix +Port Type Duplex Speed Neg ctrl State Pressure Mode +-------- ------------ ------ ----- -------- ---- ----------- -------- ------- +g1 1G-Copper Full 1000 Enabled Off Up Disabled On +g2 1G-Copper Full 1000 Enabled Off Up Disabled On +g3 1G-Copper Full 1000 Enabled Off Up Disabled On +g4 1G-Copper Full 1000 Enabled Off Up Disabled On +g5 1G-Copper Full 1000 Enabled Off Up Disabled On +g6 1G-Copper Full 100 Enabled Off Up Disabled On +g7 1G-Copper Full 100 Enabled Off Up Disabled On +g8 1G-Copper Full 1000 Enabled Off Up Disabled On +g9 1G-Copper Full 1000 Enabled Off Up Disabled On +g10 1G-Copper Full 1000 Enabled Off Up Disabled Off +g11 1G-Copper Full 1000 Enabled Off Up Disabled On +g12 1G-Copper Full 1000 Enabled Off Up Disabled On +g13 1G-Copper Full 1000 Enabled Off Up Disabled On +g14 1G-Copper Full 1000 Enabled Off Up Disabled On +g15 1G-Copper Full 1000 Enabled Off Up Disabled On +g16 1G-Copper Full 1000 Enabled Off Up Disabled On +g17 1G-Copper Full 1000 Enabled Off Up Disabled Off +g18 1G-Copper Full 1000 Enabled Off Up Disabled On +g19 1G-Copper Full 1000 Enabled Off Up Disabled On +g20 1G-Copper Full 1000 Enabled Off Up Disabled On +g21 1G-Copper Full 100 Enabled Off Up Disabled On +g22 1G-Copper Full 100 Enabled Off Up Disabled On +g23 1G-Copper Full 1000 Enabled Off Up Disabled On +g24 1G-Copper Full 1000 Enabled Off Up Disabled Off +g25 1G-Copper Full 1000 Enabled Off Up Disabled On +g26 1G-Copper Full 1000 Enabled Off Up Disabled On +g27 1G-Copper Full 1000 Enabled Off Up Disabled On +g28 1G-Copper Full 100 Enabled Off Up Disabled On +g29 1G-Copper Full 100 Enabled Off Up Disabled On +g30 1G-Copper Full 1000 Enabled Off Up Disabled On +g31 1G-Copper Full 1000 Enabled Off Up Disabled Off +g32 1G-Copper Full 1000 Enabled Off Up Disabled Off +g33 1G-Copper Full 100 Enabled Off Up Disabled On +g34 1G-Copper Full 100 Enabled Off Up Disabled On +g35 1G-Copper Full 100 Enabled Off Up Disabled On +g36 1G-Copper -- -- -- -- Down -- -- +g37 1G-Copper Full 1000 Enabled Off Up Disabled On +g38 1G-Copper Full 1000 Enabled Off Up Disabled On +g39 1G-Copper Full 100 Enabled Off Up Disabled On +g40 1G-Copper -- -- -- -- Down -- -- +g41 1G-Copper Full 100 Enabled Off Up Disabled On +g42 1G-Copper Full 100 Enabled Off Up Disabled On +g43 1G-Copper Full 1000 Enabled Off Up Disabled On +g44 1G-Copper Full 1000 Enabled Off Up Disabled Off +g45 1G-Combo-C -- -- -- -- Down -- -- +g46 1G-Combo-C -- -- -- -- Down -- -- +g47 1G-Combo-C -- -- -- -- Down -- -- +g48 1G-Combo-F Full 1000 Enabled Off Up Disabled Off + +Flow Link +Ch Type Duplex Speed Neg control State +-------- ------- ------ ----- -------- ------- ----------- +ch1 -- -- -- -- -- Not Present +ch2 -- -- -- -- -- Not Present +ch3 -- -- -- -- -- Not Present +ch4 -- -- -- -- -- Not Present +ch5 -- -- -- -- -- Not Present +ch6 -- -- -- -- -- Not Present +ch7 -- -- -- -- -- Not Present +ch8 -- -- -- -- -- Not Present diff --git a/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.yml b/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.yml new file mode 100644 index 0000000000..637d3e6e3d --- /dev/null +++ b/tests/dell_powerconnect/show_interfaces_status/dell_powerconnect_show_interfaces_status.yml @@ -0,0 +1,434 @@ +--- +parsed_sample: + - port: "g1" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g2" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g3" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g4" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g5" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g6" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g7" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g8" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g9" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g10" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g11" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g12" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g13" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g14" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g15" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g16" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g17" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g18" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g19" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g20" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g21" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g22" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g23" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g24" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g25" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g26" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g27" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g28" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g29" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g30" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g31" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g32" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g33" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g34" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g35" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g36" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "g37" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g38" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g39" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g40" + type: "1G-Copper" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "g41" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g42" + type: "1G-Copper" + duplex: "Full" + speed: "100" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g43" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "On" + - port: "g44" + type: "1G-Copper" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" + - port: "g45" + type: "1G-Combo-C" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "g46" + type: "1G-Combo-C" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "g47" + type: "1G-Combo-C" + duplex: "--" + speed: "--" + neg: "--" + flowctrl: "--" + linkstate: "Down" + backpressure: "--" + mdixmode: "--" + - port: "g48" + type: "1G-Combo-F" + duplex: "Full" + speed: "1000" + neg: "Enabled" + flowctrl: "Off" + linkstate: "Up" + backpressure: "Disabled" + mdixmode: "Off" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 382d0c24e2..5c38116c8d 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -34,6 +34,7 @@ "cisco_xe", "cisco_xr", "dell_force10", + "dell_powerconnect", "enterasys", "extreme", "f5_ltm", From b848b09530dc3202b375c59b37dd26c1dacbbb18 Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Tue, 1 Dec 2020 22:00:17 +0000 Subject: [PATCH 533/628] New Template: Procurve show int brief (#829) --- .../hp_procurve_show_interfaces_brief.textfsm | 30 ++ templates/index | 1 + .../show_interfaces_brief.raw | 57 +++ .../show_interfaces_brief.yml | 470 ++++++++++++++++++ .../show_interfaces_brief_bcast.raw | 29 ++ .../show_interfaces_brief_bcast.yml | 218 ++++++++ 6 files changed, 805 insertions(+) create mode 100644 templates/hp_procurve_show_interfaces_brief.textfsm create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml diff --git a/templates/hp_procurve_show_interfaces_brief.textfsm b/templates/hp_procurve_show_interfaces_brief.textfsm new file mode 100644 index 0000000000..80ee2a064c --- /dev/null +++ b/templates/hp_procurve_show_interfaces_brief.textfsm @@ -0,0 +1,30 @@ +Value PORT (\S+) +Value TYPE (\S*) +Value INTRUSION_ALERT (Yes|No) +Value ENABLED (Yes|No) +Value STATUS (Up|Down) +Value MODE (\S+) +Value MDI_MODE (MDI\S*|Auto) +Value FLOW_CTRL (on|off) +Value BCAST_LIMIT (\d+) + +Start + ^\s+Status.*Status\s* + ^\s*$$ + ^\s+\|\s+Intrusion\s+MDI\s+Flow(?:\s+Bcast)?\s*$$ + ^\s+Port\s+Type\s+\|\s+Alert\s+Enabled\s+Status\s+Mode\s+Mode\s+Ctrl\s*$$ -> showintbrief1 + ^\s+Port\s+Type\s+\|\s+Alert\s+Enabled\s+Status\s+Mode\s+Mode\s+Ctrl\s+Limit\s*$$ -> showintbrief2 + ^. -> Error + +showintbrief1 + ^\s+${PORT}\s+${TYPE}\s+\|\s+${INTRUSION_ALERT}\s+${ENABLED}\s+${STATUS}\s+${MODE}\s+(?:${MDI_MODE}\s+)?${FLOW_CTRL}\s*$$ -> Record + ^\s*-+(?:\s|-|\+)+$$ + ^\s*$$ + ^. -> Error + +showintbrief2 + ^\s+${PORT}\s+${TYPE}\s+\|\s+${INTRUSION_ALERT}\s+${ENABLED}\s+${STATUS}\s+${MODE}\s+(?:${MDI_MODE}\s+)?${FLOW_CTRL}\s+${BCAST_LIMIT}\s*$$ -> Record + ^\s*-+(?:\s|-|\+)+$$ + ^\s*$$ + ^. -> Error + diff --git a/templates/index b/templates/index index f17ff3b334..657615933d 100644 --- a/templates/index +++ b/templates/index @@ -389,6 +389,7 @@ hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] .+ hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] +hp_procurve_show_interfaces_brief.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] b[[rief]] hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_interfaces.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw new file mode 100644 index 0000000000..721240af32 --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw @@ -0,0 +1,57 @@ + Status and Counters - Port Status + + | Intrusion MDI Flow + Port Type | Alert Enabled Status Mode Mode Ctrl + ----- ---------- + --------- ------- ------ ---------- ---- ---- + 1 10/100TX | No Yes Up 100FDx MDIX off + 2 10/100TX | No Yes Down 10FDx MDI off + 3 10/100TX | Yes Yes Down 10FDx MDI off + 4 10/100TX | No Yes Down 10FDx MDIX off + 5 10/100TX | No No Down 10FDx MDI off + 6 10/100TX | No Yes Down 10FDx MDI on + 7 10/100TX | No Yes Down 10FDx MDI off + 8 10/100TX | No Yes Down 10FDx MDI off + 9 10/100TX | No Yes Down 10FDx MDIX off + 10 10/100TX | No Yes Down 10FDx MDIX off + 11 10/100TX | No Yes Down 10FDx MDI off + 12 10/100TX | No Yes Down 10FDx MDI off + 13 10/100TX | No Yes Down 10FDx MDIX off + 14 10/100TX | No Yes Down 10FDx MDI off + 15 10/100TX | No Yes Down 10FDx MDIX off + 16 10/100TX | No Yes Down 10FDx MDIX off + 17 10/100TX | No Yes Down 10FDx MDI off + 18 10/100TX | No Yes Down 10FDx MDI off + 19 10/100TX | No Yes Down 10FDx MDI off + 20 10/100TX | No Yes Down 10FDx MDI off + 21 10/100TX | No Yes Down 10FDx MDIX off + 22 10/100TX | No Yes Down 10FDx MDIX off + 23 10/100TX | No Yes Down 10FDx MDI off + 24 10/100TX | No Yes Down 10FDx MDIX off + 25 10/100TX | No Yes Down 10FDx MDI off + 26 10/100TX | No Yes Down 10FDx MDI off + 27 10/100TX | No Yes Down 10FDx MDI off + 28 10/100TX | No Yes Down 10FDx MDIX off + 29 10/100TX | No Yes Down 10FDx MDIX off + 30 10/100TX | No Yes Down 10FDx MDI off + 31 10/100TX | No Yes Down 10FDx MDI off + 32 10/100TX | No Yes Down 10FDx MDI off + 33 10/100TX | No Yes Down 10FDx MDI off + 34 10/100TX | No Yes Down 10FDx MDIX off + 35 10/100TX | No Yes Down 10FDx MDIX off + 36 10/100TX | No Yes Down 10FDx MDI off + 37 10/100TX | No Yes Down 10FDx MDI off + 38 10/100TX | No Yes Down 10FDx MDI off + 39 10/100TX | No Yes Down 10FDx MDI off + 40 10/100TX | No Yes Down 10FDx MDIX off + 41 10/100TX | No Yes Down 10FDx MDIX off + 42 10/100TX | No Yes Down 10FDx MDI off + 43 10/100TX | No Yes Down 10FDx MDIX off + 44 10/100TX | No Yes Down 10FDx MDI off + 45 10/100TX | No Yes Down 10FDx MDIX off + 46 10/100TX | No Yes Down 10FDx MDIX off + 47 10/100TX | No Yes Down 10FDx MDI off + 48 10/100TX | No Yes Down 10FDx MDIX off + 49 100/1000T | No Yes Down 1000FDx MDIX off + 50 100/1000T | No Yes Down 1000FDx MDI off + 51 | No Yes Down . off + 52 | No Yes Down . off diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml new file mode 100644 index 0000000000..d45a30e66a --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml @@ -0,0 +1,470 @@ +--- +parsed_sample: + - port: "1" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Up" + mode: "100FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "2" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "3" + type: "10/100TX" + intrusion_alert: "Yes" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "4" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "5" + type: "10/100TX" + intrusion_alert: "No" + enabled: "No" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "6" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "on" + bcast_limit: "" + - port: "7" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "8" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "9" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "10" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "11" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "12" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "13" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "14" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "15" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "16" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "17" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "18" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "19" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "20" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "21" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "22" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "23" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "24" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "25" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "26" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "27" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "28" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "29" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "30" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "31" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "32" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "33" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "34" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "35" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "36" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "37" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "38" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "39" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "40" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "41" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "42" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "43" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "44" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "45" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "46" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "47" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "48" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "49" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "50" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "51" + type: "" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "." + mdi_mode: "" + flow_ctrl: "off" + bcast_limit: "" + - port: "52" + type: "" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "." + mdi_mode: "" + flow_ctrl: "off" + bcast_limit: "" diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw new file mode 100644 index 0000000000..da0f36cc99 --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw @@ -0,0 +1,29 @@ + Status and Counters - Port Status + + | Intrusion MDI Flow Bcast + Port Type | Alert Enabled Status Mode Mode Ctrl Limit + ------------ ---------- + --------- ------- ------ ---------- ---- ---- ----- + 1 100/1000T | No Yes Down 1000FDx Auto off 0 + 2 100/1000T | No Yes Down 1000FDx Auto off 0 + 3 100/1000T | Yes Yes Down 1000FDx Auto off 0 + 4 100/1000T | No Yes Down 1000FDx Auto off 0 + 5 100/1000T | No No Down 1000FDx Auto off 0 + 6 100/1000T | No Yes Down 1000FDx Auto on 0 + 7 100/1000T | No Yes Down 1000FDx Auto off 0 + 8 100/1000T | No Yes Down 1000FDx Auto off 0 + 9 100/1000T | No Yes Down 1000FDx Auto off 0 + 10 100/1000T | No Yes Down 1000FDx Auto on 50 + 11 100/1000T | No Yes Down 1000FDx Auto off 0 + 12 100/1000T | No Yes Down 1000FDx Auto off 0 + 13 100/1000T | No Yes Down 1000FDx Auto off 0 + 14 100/1000T | No Yes Down 1000FDx Auto off 0 + 15 100/1000T | No Yes Down 1000FDx Auto off 0 + 16 100/1000T | No Yes Down 1000FDx Auto off 0 + 17 100/1000T | No Yes Down 1000FDx Auto off 0 + 18 100/1000T | No Yes Down 1000FDx Auto off 0 + 19 100/1000T | No Yes Down 1000FDx Auto off 0 + 20 100/1000T | No Yes Down 1000FDx Auto off 0 + 21 100/1000T | No Yes Down 1000FDx Auto off 0 + 22 100/1000T | No Yes Down 1000FDx Auto off 0 + 23 100/1000T | No Yes Down 1000FDx Auto off 0 + 24 100/1000T | No Yes Up 100FDx MDI off 0 diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml new file mode 100644 index 0000000000..471f51ac7d --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml @@ -0,0 +1,218 @@ +--- +parsed_sample: + - port: "1" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "2" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "3" + type: "100/1000T" + intrusion_alert: "Yes" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "4" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "5" + type: "100/1000T" + intrusion_alert: "No" + enabled: "No" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "6" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "on" + bcast_limit: "0" + - port: "7" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "8" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "9" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "10" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "on" + bcast_limit: "50" + - port: "11" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "12" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "13" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "14" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "15" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "16" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "17" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "18" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "19" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "20" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "21" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "22" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "23" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "24" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Up" + mode: "100FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "0" From 8c00e5bb95423d735e7c75eb5ead61c0d5b55215 Mon Sep 17 00:00:00 2001 From: Anirudh Kamath Date: Wed, 2 Dec 2020 18:04:24 +0400 Subject: [PATCH 534/628] Enhancemnt: IOS show tacacs - add name capture group (#833) --- templates/cisco_ios_show_tacacs.textfsm | 2 ++ .../show_tacacs/cisco_ios_show_tacacs.yml | 2 ++ .../cisco_ios_show_tacacs_server_name.raw | 26 +++++++++++++++++++ .../cisco_ios_show_tacacs_server_name.yml | 24 +++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100644 tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.raw create mode 100644 tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml diff --git a/templates/cisco_ios_show_tacacs.textfsm b/templates/cisco_ios_show_tacacs.textfsm index 9cd59c0c8d..31641f6535 100644 --- a/templates/cisco_ios_show_tacacs.textfsm +++ b/templates/cisco_ios_show_tacacs.textfsm @@ -1,3 +1,4 @@ +Value TACACS_SERVER_NAME (.+?) Value TACACS_SERVER (.+?) Value SERVER_PORT (\d+) Value SOCKET_OPENS (\d+) @@ -13,6 +14,7 @@ Value PACKET_RECEIVED (\d+) Start ^Tacacs -> Record ^\s+Server\s+address:\s+${TACACS_SERVER}\s*$$ + ^\s+Server\s+name:\s+${TACACS_SERVER_NAME}\s*$$ ^\s+Server\s+port:\s+${SERVER_PORT}\s*$$ ^\s+Socket\s+opens:\s+ ${SOCKET_OPENS}\s*$$ ^\s+Socket\s+closes:\s+${SOCKET_CLOSES}\s*$$ diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml index 42f1c1f970..08e51cb6d4 100644 --- a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs.yml @@ -1,6 +1,7 @@ --- parsed_sample: - tacacs_server: "10.1.1.140" + tacacs_server_name: "" server_port: "49" socket_opens: "138084" socket_closes: "137992" @@ -11,6 +12,7 @@ parsed_sample: packets_sent: "147753" packet_received: "147693" - tacacs_server: "10.2.1.140" + tacacs_server_name: "" server_port: "49" socket_opens: "2027" socket_closes: "2027" diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.raw b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.raw new file mode 100644 index 0000000000..99208975e9 --- /dev/null +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.raw @@ -0,0 +1,26 @@ +Tacacs+ Server - public : + Server name: TACACS_ABC + Server address: 10.1.1.141 + Server port: 49 + Socket opens: 146715 + Socket closes: 146715 + Socket aborts: 0 + Socket errors: 0 + Socket Timeouts: 0 + Failed Connect Attempts: 114 + Total Packets Sent: 166094 + Total Packets Recv: 166094 + + +Tacacs+ Server - public : + Server name: TACACS_XYZ + Server address: 10.2.1.141 + Server port: 49 + Socket opens: 2640 + Socket closes: 2640 + Socket aborts: 0 + Socket errors: 0 + Socket Timeouts: 0 + Failed Connect Attempts: 0 + Total Packets Sent: 2954 + Total Packets Recv: 2953 diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml new file mode 100644 index 0000000000..21981a96f9 --- /dev/null +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - tacacs_server: "10.1.1.141" + tacacs_server_name: "TACACS_ABC" + server_port: "49" + socket_opens: "146715" + socket_closes: "146715" + socket_aborts: "0" + socket_errors: "0" + socket_timeouts: "0" + failed_connections: "114" + packets_sent: "166094" + packet_received: "166094" + - tacacs_server: "10.2.1.141" + tacacs_server_name: "TACACS_XYZ" + server_port: "49" + socket_opens: "2640" + socket_closes: "2640" + socket_aborts: "0" + socket_errors: "0" + socket_timeouts: "0" + failed_connections: "0" + packets_sent: "2954" + packet_received: "2953" From 397b4955cbda4146bd34721678dae41c10c48c1d Mon Sep 17 00:00:00 2001 From: Will McLendon Date: Wed, 2 Dec 2020 14:49:38 -0500 Subject: [PATCH 535/628] New Template: Fortinet get system arp (#832) --- templates/fortinet_get_system_arp.textfsm | 10 +++++++++ templates/index | 1 + .../fortinet_get_system_arp.raw | 5 +++++ .../fortinet_get_system_arp.yml | 21 +++++++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 templates/fortinet_get_system_arp.textfsm create mode 100644 tests/fortinet/get_system_arp/fortinet_get_system_arp.raw create mode 100644 tests/fortinet/get_system_arp/fortinet_get_system_arp.yml diff --git a/templates/fortinet_get_system_arp.textfsm b/templates/fortinet_get_system_arp.textfsm new file mode 100644 index 0000000000..65d35a8487 --- /dev/null +++ b/templates/fortinet_get_system_arp.textfsm @@ -0,0 +1,10 @@ +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value AGE (\d+) +Value MAC (\S+) +Value INTERFACE (.*) + +Start + ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${INTERFACE} -> Record + ^Address\s+Age(min)\s+Hardware\s+Addr\s+Interface\s*$$ + ^\s* + ^. -> Error diff --git a/templates/index b/templates/index index 657615933d..dab1288a39 100644 --- a/templates/index +++ b/templates/index @@ -376,6 +376,7 @@ dell_powerconnect_show_interfaces_status.textfsm, .*, dell_powerconnect, sh[[ow] fortinet_get_router_info_bgp_summary.textfsm, .*, fortinet, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] fortinet_get_system_interface.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[i]]nterface fortinet_get_system_status.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[s]]tatus +fortinet_get_system_arp.textfsm, .*, fortinet, [[g]]et [[sy]]stem arp hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] diff --git a/tests/fortinet/get_system_arp/fortinet_get_system_arp.raw b/tests/fortinet/get_system_arp/fortinet_get_system_arp.raw new file mode 100644 index 0000000000..e4f9344632 --- /dev/null +++ b/tests/fortinet/get_system_arp/fortinet_get_system_arp.raw @@ -0,0 +1,5 @@ +Address Age(min) Hardware Addr Interface +192.168.1.4 0 b0:a8:6e:01:61:81 lan +192.168.1.110 0 3c:9b:d6:66:52:ab lan +192.168.1.111 0 18:64:72:c9:02:d2 lan +192.168.1.114 4 40:cb:c0:ce:81:85 lan diff --git a/tests/fortinet/get_system_arp/fortinet_get_system_arp.yml b/tests/fortinet/get_system_arp/fortinet_get_system_arp.yml new file mode 100644 index 0000000000..b3c3cfe31b --- /dev/null +++ b/tests/fortinet/get_system_arp/fortinet_get_system_arp.yml @@ -0,0 +1,21 @@ +--- +parsed_sample: + - address: "192.168.1.4" + age: "0" + interface: "lan" + mac: "b0:a8:6e:01:61:81" + + - address: "192.168.1.110" + age: "0" + interface: "lan" + mac: "3c:9b:d6:66:52:ab" + + - address: "192.168.1.111" + age: "0" + interface: "lan" + mac: "18:64:72:c9:02:d2" + + - address: "192.168.1.114" + age: "4" + interface: "lan" + mac: "40:cb:c0:ce:81:85" From b3daef78d28ff22689685d3909a13d8f4b10d584 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Thu, 3 Dec 2020 22:53:13 -0500 Subject: [PATCH 536/628] Enhancment: EOS show int status - account for LAG members (#835) --- .../arista_eos_show_interfaces_status.textfsm | 8 ++-- ...os_show_interfaces_status_port_channel.raw | 7 +++ ...os_show_interfaces_status_port_channel.yml | 44 +++++++++++++++++++ 3 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.raw create mode 100644 tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.yml diff --git a/templates/arista_eos_show_interfaces_status.textfsm b/templates/arista_eos_show_interfaces_status.textfsm index cbbcc7b8b2..199f415284 100644 --- a/templates/arista_eos_show_interfaces_status.textfsm +++ b/templates/arista_eos_show_interfaces_status.textfsm @@ -4,8 +4,10 @@ Value STATUS (connected|notconnect|inactive|errdisabled|disabled) Value VLAN (\S+) Value DUPLEX (\S+) Value SPEED (\S+) -Value TYPE (\S+) +Value TYPE (.+?) Start - ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE} -> Record - ^${PORT}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE} -> Record + ^${PORT}\s+${NAME}\s+${STATUS}\s+(?:in\s+)?${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record + ^${PORT}\s+${STATUS}\s+(?:in\s+)?${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record + ^\s* + ^. -> Error diff --git a/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.raw b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.raw new file mode 100644 index 0000000000..cca28216e8 --- /dev/null +++ b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.raw @@ -0,0 +1,7 @@ +Port Name Status Vlan Duplex Speed Type +Et1 Cust: (SERV-XXXXX disabled 1 auto auto 1000BASE-T +Et47 Cust: (SERV-XXXXX disabled 1 auto auto 1000BASE-T +Et49 Core: drxx.yul01 notconnect in Po49 full 10G Not Present +Et52 Core: drxx.yul01 connected in Po49 full 10G 10GBASE-SR +Ma1 notconnect routed a-half a-10M 10/100/1000 +Po49 Core: dr01-dr02.y connected trunk full 20G N/A diff --git a/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.yml b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.yml new file mode 100644 index 0000000000..08d796d9d2 --- /dev/null +++ b/tests/arista_eos/show_interfaces_status/arista_eos_show_interfaces_status_port_channel.yml @@ -0,0 +1,44 @@ +--- +parsed_sample: + - port: "Et1" + name: "Cust: (SERV-XXXXX" + status: "disabled" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "1000BASE-T" + - port: "Et47" + name: "Cust: (SERV-XXXXX" + status: "disabled" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "1000BASE-T" + - port: "Et49" + name: "Core: drxx.yul01" + status: "notconnect" + vlan: "Po49" + duplex: "full" + speed: "10G" + type: "Not Present" + - port: "Et52" + name: "Core: drxx.yul01" + status: "connected" + vlan: "Po49" + duplex: "full" + speed: "10G" + type: "10GBASE-SR" + - port: "Ma1" + name: "" + status: "notconnect" + vlan: "routed" + duplex: "a-half" + speed: "a-10M" + type: "10/100/1000" + - port: "Po49" + name: "Core: dr01-dr02.y" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "20G" + type: "N/A" From ee545043c2311dd67fb284c020fb8365eb5afdd8 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Fri, 4 Dec 2020 21:03:37 -0500 Subject: [PATCH 537/628] Add codeowners file (#837) --- .github/CODEOWNERS | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000000..8ead4f8d95 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# Default owner(s) of all files in this repository +* @itdependsnetworks @jmcgill298 @FragmentedPacket @jvanderaa From 51a6e05d0240ecf75d40531e657f20b5e2fe14f9 Mon Sep 17 00:00:00 2001 From: Pieter Date: Mon, 7 Dec 2020 04:39:38 +1300 Subject: [PATCH 538/628] Bugfix: cisco_ios_show_interfaces_status - Capture FC lines (#839) --- .../cisco_ios_show_interfaces_status.textfsm | 18 ++- .../cisco_ios_show_interfaces_status.yml | 19 +++ .../cisco_ios_show_interfaces_status2.raw | 20 +++ .../cisco_ios_show_interfaces_status2.yml | 130 ++++++++++++++++++ 4 files changed, 183 insertions(+), 4 deletions(-) create mode 100644 tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.raw create mode 100644 tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.yml diff --git a/templates/cisco_ios_show_interfaces_status.textfsm b/templates/cisco_ios_show_interfaces_status.textfsm index 00f2c7e70f..9fafcd9b62 100644 --- a/templates/cisco_ios_show_interfaces_status.textfsm +++ b/templates/cisco_ios_show_interfaces_status.textfsm @@ -1,17 +1,27 @@ Value PORT (\S+) Value NAME (.+?) -Value STATUS (err-disabled|disabled|connected|notconnect|inactive) +Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down) Value VLAN (\S+) Value DUPLEX (\S+) Value SPEED (\S+) Value TYPE (.*) +Value FC_MODE (\S+) Start - ^Port -> Begin - # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ + # Capture time-stamp if vty line has command time-stamping turned on ^Time\s+source\s+is + ^-+\s*$$ + ^Port\s+Name\s+Status\s+Vlan\s+Duplex\s+Speed\s+Type -> Interfaces + ^\s*$$ + ^. -> Error -Begin +Interfaces + #Match fc... + ^\s*${PORT}\s+is\s+${STATUS}\s+Port\s+mode\s+is\s+${FC_MODE}\s*$$ -> Record + ^\s*${PORT}\s+is\s+${STATUS}\s+\(${TYPE}\)\s*$$ -> Record ^\s*${PORT}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record ^\s*${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record + ^-+ + ^\s*$$ + ^. -> Error diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml index 7a83f3c6aa..23df2630fc 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml @@ -7,6 +7,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/2" name: "AccessPoint" status: "connected" @@ -14,6 +15,7 @@ parsed_sample: duplex: "a-full" speed: "a-1000" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/3" name: "John's Office" status: "notconnect" @@ -21,6 +23,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/4" name: "SingleName" status: "connected" @@ -28,6 +31,7 @@ parsed_sample: duplex: "a-full" speed: "a-100" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/5" name: "Dashed-Name" status: "connected" @@ -35,6 +39,7 @@ parsed_sample: duplex: "a-full" speed: "a-1000" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/6" name: "Spaced Example" status: "connected" @@ -42,6 +47,7 @@ parsed_sample: duplex: "a-full" speed: "a-100" type: "10/100/1000BaseTX" + fc_mode: "" - port: "Gi1/0/7" name: "Trunk Example" status: "connected" @@ -49,6 +55,7 @@ parsed_sample: duplex: "a-full" speed: "a-1000" type: "1000BaseSX SFP" + fc_mode: "" - port: "Gi1/0/8" name: "SFP Not Present" status: "notconnect" @@ -56,6 +63,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "Not Present" + fc_mode: "" - port: "Gi1/0/9" name: "SFP Not Present" status: "notconnect" @@ -63,6 +71,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "Not Present" + fc_mode: "" - port: "Gi1/0/10" name: "Management" status: "notconnect" @@ -70,6 +79,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/11" name: "2960S Port" status: "notconnect" @@ -77,6 +87,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/12" name: "Half Duplex 2950" status: "notconnect" @@ -84,6 +95,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/13" name: "Half Duplex 2950-S" status: "notconnect" @@ -91,6 +103,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/14" name: "Half Duplex 2950-S" status: "notconnect" @@ -98,6 +111,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "Not Present" + fc_mode: "" - port: "Gi1/0/15" name: "Multi Space to the" status: "notconnect" @@ -105,6 +119,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/16" name: "Multi Space to the" status: "err-disabled" @@ -112,6 +127,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Gi1/0/17" name: "Multi Space" status: "disabled" @@ -119,6 +135,7 @@ parsed_sample: duplex: "a-half" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Fa1/6" name: "test" status: "notconnect" @@ -126,6 +143,7 @@ parsed_sample: duplex: "auto" speed: "auto" type: "10/100BaseTX" + fc_mode: "" - port: "Po1" name: "ethchl" status: "connected" @@ -133,3 +151,4 @@ parsed_sample: duplex: "a-full" speed: "a-1000" type: "" + fc_mode: "" diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.raw b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.raw new file mode 100644 index 0000000000..f0f1eab5ae --- /dev/null +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.raw @@ -0,0 +1,20 @@ + +-------------------------------------------------------------------------------- +Port Name Status Vlan Duplex Speed Type +-------------------------------------------------------------------------------- +fc2/1 is up Port mode is NP +fc2/2 is up Port mode is NP +fc2/3 is up Port mode is NP +fc2/4 is up Port mode is NP +fc2/5 is down (SFP not present) +fc2/6 is down (SFP not present) +Eth1/1 XXXXXXX1_bond1_Act connected 111 full 1000 SFP-1000BAS +Eth1/2 XXXXXXX3_bond1_Act connected 112 full 1000 SFP-1000BAS +Eth1/3 YYYYYYYY1_ha1 connected 115 full 1000 SFP-1000BAS +Eth1/4 ZZZZZZZZZZZZZ1_tru connected trunk full 10G 10Gbase-SR +Eth1/5 ZZZZZZZZZZZZZ1_tru connected trunk full 10G 10Gbase-SR +Eth1/6 AAAAAAAAA1_po2 connected trunk full 1000 SFP-1000BAS +Eth1/7 BBBBBBBB10-1 connected 4093 full 10G Fabric Exte +Eth1/8 BBBBBBBB10-1 connected 4093 full 10G Fabric Exte +Eth1/9 BBBBBBBB11-1 connected 4093 full 10G Fabric Exte +Eth1/10 BBBBBBBB11-1 connected 4093 full 10G Fabric Exte diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.yml new file mode 100644 index 0000000000..f3b527d425 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status2.yml @@ -0,0 +1,130 @@ +--- +parsed_sample: + - port: "fc2/1" + name: "" + status: "up" + vlan: "" + duplex: "" + speed: "" + type: "" + fc_mode: "NP" + - port: "fc2/2" + name: "" + status: "up" + vlan: "" + duplex: "" + speed: "" + type: "" + fc_mode: "NP" + - port: "fc2/3" + name: "" + status: "up" + vlan: "" + duplex: "" + speed: "" + type: "" + fc_mode: "NP" + - port: "fc2/4" + name: "" + status: "up" + vlan: "" + duplex: "" + speed: "" + type: "" + fc_mode: "NP" + - port: "fc2/5" + name: "" + status: "down" + vlan: "" + duplex: "" + speed: "" + type: "SFP not present" + fc_mode: "" + - port: "fc2/6" + name: "" + status: "down" + vlan: "" + duplex: "" + speed: "" + type: "SFP not present" + fc_mode: "" + - port: "Eth1/1" + name: "XXXXXXX1_bond1_Act" + status: "connected" + vlan: "111" + duplex: "full" + speed: "1000" + type: "SFP-1000BAS" + fc_mode: "" + - port: "Eth1/2" + name: "XXXXXXX3_bond1_Act" + status: "connected" + vlan: "112" + duplex: "full" + speed: "1000" + type: "SFP-1000BAS" + fc_mode: "" + - port: "Eth1/3" + name: "YYYYYYYY1_ha1" + status: "connected" + vlan: "115" + duplex: "full" + speed: "1000" + type: "SFP-1000BAS" + fc_mode: "" + - port: "Eth1/4" + name: "ZZZZZZZZZZZZZ1_tru" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" + fc_mode: "" + - port: "Eth1/5" + name: "ZZZZZZZZZZZZZ1_tru" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" + fc_mode: "" + - port: "Eth1/6" + name: "AAAAAAAAA1_po2" + status: "connected" + vlan: "trunk" + duplex: "full" + speed: "1000" + type: "SFP-1000BAS" + fc_mode: "" + - port: "Eth1/7" + name: "BBBBBBBB10-1" + status: "connected" + vlan: "4093" + duplex: "full" + speed: "10G" + type: "Fabric Exte" + fc_mode: "" + - port: "Eth1/8" + name: "BBBBBBBB10-1" + status: "connected" + vlan: "4093" + duplex: "full" + speed: "10G" + type: "Fabric Exte" + fc_mode: "" + - port: "Eth1/9" + name: "BBBBBBBB11-1" + status: "connected" + vlan: "4093" + duplex: "full" + speed: "10G" + type: "Fabric Exte" + fc_mode: "" + - port: "Eth1/10" + name: "BBBBBBBB11-1" + status: "connected" + vlan: "4093" + duplex: "full" + speed: "10G" + type: "Fabric Exte" + fc_mode: "" From 25821f3c4071dbcb52d20369f4d6478ddecb555b Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Mon, 7 Dec 2020 03:55:32 +0000 Subject: [PATCH 539/628] Enhancement: Allow NA for MDI_MODE for hp_procurve_show_interfaces_brief (#842) --- .../hp_procurve_show_interfaces_brief.textfsm | 2 +- .../show_interfaces_brief_NA.raw | 29 +++ .../show_interfaces_brief_NA.yml | 218 ++++++++++++++++++ 3 files changed, 248 insertions(+), 1 deletion(-) create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.raw create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.yml diff --git a/templates/hp_procurve_show_interfaces_brief.textfsm b/templates/hp_procurve_show_interfaces_brief.textfsm index 80ee2a064c..4b7ca0cb44 100644 --- a/templates/hp_procurve_show_interfaces_brief.textfsm +++ b/templates/hp_procurve_show_interfaces_brief.textfsm @@ -4,7 +4,7 @@ Value INTRUSION_ALERT (Yes|No) Value ENABLED (Yes|No) Value STATUS (Up|Down) Value MODE (\S+) -Value MDI_MODE (MDI\S*|Auto) +Value MDI_MODE (MDI\S*|Auto|NA) Value FLOW_CTRL (on|off) Value BCAST_LIMIT (\d+) diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.raw b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.raw new file mode 100644 index 0000000000..7c24b5db4a --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.raw @@ -0,0 +1,29 @@ + Status and Counters - Port Status + + | Intrusion MDI Flow Bcast + Port Type | Alert Enabled Status Mode Mode Ctrl Limit + ------------ ---------- + --------- ------- ------ ---------- ---- ---- ----- + 1 100/1000T | No Yes Up 100FDx MDI off 0 + 2 100/1000T | No Yes Down 1000FDx Auto off 0 + 3 100/1000T | No Yes Down 1000FDx Auto off 0 + 4 100/1000T | No Yes Down 1000FDx Auto off 0 + 5 100/1000T | No Yes Down 1000FDx Auto off 0 + 6 100/1000T | No Yes Down 1000FDx Auto off 0 + 7 100/1000T | No Yes Down 1000FDx Auto off 0 + 8 100/1000T | No Yes Down 1000FDx Auto off 0 + 9 100/1000T | No Yes Down 1000FDx Auto off 0 + 10 100/1000T | Yes Yes Down 1000FDx NA on 50 + 11 100/1000T | No Yes Down 1000FDx Auto off 0 + 12 100/1000T | No Yes Down 1000FDx Auto off 0 + 13 100/1000T | No Yes Down 1000FDx Auto off 0 + 14 100/1000T | No Yes Down 1000FDx Auto off 0 + 15 100/1000T | No Yes Down 1000FDx Auto off 0 + 16 100/1000T | No Yes Down 1000FDx Auto off 0 + 17 100/1000T | No Yes Down 1000FDx Auto off 0 + 18 100/1000T | No Yes Down 1000FDx Auto off 0 + 19 100/1000T | No Yes Down 1000FDx Auto off 0 + 20 100/1000T | No Yes Down 1000FDx Auto off 0 + 21 100/1000T | No Yes Down 1000FDx Auto off 0 + 22 100/1000T | No Yes Down 1000FDx Auto off 0 + 23 100/1000T | No Yes Down 1000FDx Auto off 0 + 24 100/1000T | No Yes Down 1000FDx NA off 0 diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.yml b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.yml new file mode 100644 index 0000000000..f3e65097ed --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_NA.yml @@ -0,0 +1,218 @@ +--- +parsed_sample: + - port: "1" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Up" + mode: "100FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "0" + - port: "2" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "3" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "4" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "5" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "6" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "7" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "8" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "9" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "10" + type: "100/1000T" + intrusion_alert: "Yes" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "NA" + flow_ctrl: "on" + bcast_limit: "50" + - port: "11" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "12" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "13" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "14" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "15" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "16" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "17" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "18" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "19" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "20" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "21" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "22" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "23" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "24" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "NA" + flow_ctrl: "off" + bcast_limit: "0" From a8389f570958a55daf59ced7c3792af343190b94 Mon Sep 17 00:00:00 2001 From: Pieter Date: Mon, 28 Dec 2020 14:25:15 +1300 Subject: [PATCH 540/628] New Template - cisco_nxos_show_environment.textfsm (#838) Removed `cisco_nxos_show_environments.textfsm` as it's not a valid command. --- templates/cisco_nxos_show_environment.textfsm | 66 +++++++ .../cisco_nxos_show_environments.textfsm | 29 --- templates/index | 2 +- .../cisco_nxos_show_environment.raw} | 0 .../cisco_nxos_show_environment.yml} | 17 ++ .../cisco_nxos_show_environment2.raw | 48 +++++ .../cisco_nxos_show_environment2.yml | 170 ++++++++++++++++++ 7 files changed, 302 insertions(+), 30 deletions(-) create mode 100644 templates/cisco_nxos_show_environment.textfsm delete mode 100644 templates/cisco_nxos_show_environments.textfsm rename tests/cisco_nxos/{show_environments/cisco_nxos_show_environments.raw => show_environment/cisco_nxos_show_environment.raw} (100%) rename tests/cisco_nxos/{show_environments/cisco_nxos_show_environments.yml => show_environment/cisco_nxos_show_environment.yml} (92%) create mode 100644 tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.raw create mode 100644 tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.yml diff --git a/templates/cisco_nxos_show_environment.textfsm b/templates/cisco_nxos_show_environment.textfsm new file mode 100644 index 0000000000..0f1ba03cbb --- /dev/null +++ b/templates/cisco_nxos_show_environment.textfsm @@ -0,0 +1,66 @@ +Value POWER_SUPPLY (\d+) +Value POWER_SUPPLY_MODEL (\S+) +Value POWER_SUPPLY_OUTPUT (\d+) +Value POWER_SUPPLY_INPUT (\d+) +Value POWER_SUPPLY_CAPACITY (\d+) +Value POWER_SUPPLY_STATUS (\w+) +Value FAN (Fan\S+) +Value FAN_STATUS (\S+) +Value TEMPERATURE_MODULE (\d+) +Value TEMPERATURE_SENSOR ([^\s\(\)]+) +Value TEMPERATURE_MAJOR_THRESH (\d+) +Value TEMPERATURE_MINOR_THRESH (\d+) +Value TEMPERATURE_CURRENT (\d+) +Value TEMPERATURE_STATUS (\S+) + +Start + # Note: 2020-12 this template is broken, mashing 3 tables into one. + ^Power Supply:\s*$$ -> Power + ^Fan:\s*$$ -> Fan + ^Temperature:\s*$$ -> Temperature + #^Fan\s+Model\s+Hw\s+(Direction\s+)?Status -> Fan + +Power + #Capture Power with only Out + ^Power\s+Actual\s+Total + ^${POWER_SUPPLY}\s+${POWER_SUPPLY_MODEL}\s+${POWER_SUPPLY_OUTPUT}\s+\w+\s+${POWER_SUPPLY_CAPACITY}\s+\w+\s+${POWER_SUPPLY_STATUS}\s*$$ -> Record + # + # Capture Power with Out and In + ^Power\s+Actual\s+Actual\s+Total + ^${POWER_SUPPLY}\s+${POWER_SUPPLY_MODEL}\s+${POWER_SUPPLY_OUTPUT}\s+\w+\s+${POWER_SUPPLY_INPUT}\s+\w+\s+${POWER_SUPPLY_CAPACITY}\s+\w+\s+${POWER_SUPPLY_STATUS}\s*$$ -> Record + # + # Done with Power section back to Start + ^Module\s+Model\s+Draw\s+Allocated\s+Status\s* -> Start + ^Power\s+Usage\s+Summary: -> Start + # + # Skip junk in Power section + ^Voltage:\s+\d+\s+Volts + ^\s*$$ -> Start + ^Supply\s+Model\s+Output\s+Capacity\s+Status + ^Supply\s+Model\s+Output\s+Input\s+Capacity\s+Status + ^\s+\(Watts\s\)\s+ + ^-+\s+-+ + ^. -> Error + +Fan + ^\s*Fan\s+Model\s+Hw\s+Status + ^${FAN}\s+\S+\s+\S+\s+${FAN_STATUS}\s*$$ -> Record + ^\s*Fan\s+Model\s+Hw\s+Direction\s+Status + ^${FAN}\s+\S+\s+\S+\s+\S+\s+${FAN_STATUS}\s*$$ -> Record + # + # Blank line back to Start + ^\s*$$ -> Start + # + # Fan Ignore + ^Fan\s+Zone\s+Speed\s*: + ^Fan\sAir\sFilter\s: + ^-+\s*$$ + ^. -> Error + +Temperature + ^Module\s+Sensor\s+MajorThresh\s+MinorThres\s+CurTemp\s+Status + ^${TEMPERATURE_MODULE}\s+${TEMPERATURE_SENSOR}(\s*\(\S+\))?\s+${TEMPERATURE_MAJOR_THRESH}\s+${TEMPERATURE_MINOR_THRESH}\s+${TEMPERATURE_CURRENT}\s+${TEMPERATURE_STATUS}\s* -> Record + ^\s*\(Celsius\)\s+\(Celsius\) + ^-+\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_nxos_show_environments.textfsm b/templates/cisco_nxos_show_environments.textfsm deleted file mode 100644 index a1bc57a2e1..0000000000 --- a/templates/cisco_nxos_show_environments.textfsm +++ /dev/null @@ -1,29 +0,0 @@ -Value POWER_SUPPLY (\d+) -Value POWER_SUPPLY_MODEL (\S+) -Value POWER_SUPPLY_OUTPUT (\d+) -Value POWER_SUPPLY_CAPACITY (\d+) -Value POWER_SUPPLY_STATUS (\w+) -Value FAN (\S+) -Value FAN_STATUS (\S+) -Value TEMPERATURE_MODULE (\d+) -Value TEMPERATURE_SENSOR (\S+) -Value TEMPERATURE_MAJOR_THRESH (\d+) -Value TEMPERATURE_MINOR_THRESH (\d+) -Value TEMPERATURE_CURRENT (\d+) -Value TEMPERATURE_STATUS (\S+) - -Start - ^Power\s+Actual\s+Total -> Power - ^Fan\s+Model\s+Hw\s+Status -> Fan - -Power - ^${POWER_SUPPLY}\s+${POWER_SUPPLY_MODEL}\s+${POWER_SUPPLY_OUTPUT}\s+\w+\s+${POWER_SUPPLY_CAPACITY}\s+\w+\s+${POWER_SUPPLY_STATUS} -> Record - ^Module\s+Model\s+Draw\s+Allocated\s+Status -> Start - -Fan - ^Fan\s+Zone\s+Speed -> Temperature - ^${FAN}\s+\S+\s+\S+\s+${FAN_STATUS} -> Record - ^Temperature: -> Temperature - -Temperature - ^${TEMPERATURE_MODULE}\s+${TEMPERATURE_SENSOR}(\s+)?\(\S+\)\s+${TEMPERATURE_MAJOR_THRESH}\s+${TEMPERATURE_MINOR_THRESH}\s+${TEMPERATURE_CURRENT}\s+${TEMPERATURE_STATUS} -> Record diff --git a/templates/index b/templates/index index dab1288a39..70c64b6f8c 100644 --- a/templates/index +++ b/templates/index @@ -276,9 +276,9 @@ cisco_nxos_show_license_usage.textfsm, .*, cisco_nxos, sh[[ow]] lic[[ense]] us[[ cisco_nxos_show_processes_cpu.textfsm, .*, cisco_nxos, sh[[ow]] proc[[esses]] c[[pu]] cisco_nxos_show_vrf_interface.textfsm, .*, cisco_nxos, sh[[ow]] vrf int[[erface]] cisco_nxos_show_access-lists.textfsm, .*, cisco_nxos, sh[[ow]] acc[[ess-lists]] -cisco_nxos_show_environments.textfsm, .*, cisco_nxos, sh[[ow]] envi[[ronments]] cisco_nxos_show_ip_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] ip ad[[jacency]] cisco_nxos_show_ip_interface.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] +cisco_nxos_show_environment.textfsm, .*, cisco_nxos, sh[[ow]] env[[ironment]] cisco_nxos_show_interface.textfsm, .*, cisco_nxos, sh[[ow]] inte[[rface]] cisco_nxos_show_inventory.textfsm, .*, cisco_nxos, sh[[ow]] inv[[entory]] cisco_nxos_show_route-map.textfsm, .*, cisco_nxos, sh[[ow]] route-m[[ap]] diff --git a/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.raw b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment.raw similarity index 100% rename from tests/cisco_nxos/show_environments/cisco_nxos_show_environments.raw rename to tests/cisco_nxos/show_environment/cisco_nxos_show_environment.raw diff --git a/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.yml b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment.yml similarity index 92% rename from tests/cisco_nxos/show_environments/cisco_nxos_show_environments.yml rename to tests/cisco_nxos/show_environment/cisco_nxos_show_environment.yml index 545e366070..d09793e69e 100644 --- a/tests/cisco_nxos/show_environments/cisco_nxos_show_environments.yml +++ b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment.yml @@ -3,6 +3,7 @@ parsed_sample: - power_supply: "1" power_supply_model: "N7K-AC-3KW" power_supply_output: "407" + power_supply_input: "" power_supply_capacity: "3000" power_supply_status: "Ok" fan: "" @@ -16,6 +17,7 @@ parsed_sample: - power_supply: "2" power_supply_model: "N7K-AC-3KW" power_supply_output: "370" + power_supply_input: "" power_supply_capacity: "3000" power_supply_status: "Ok" fan: "" @@ -29,6 +31,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "Fan1(sys_fan1)" @@ -42,6 +45,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "Fan_in_PS1" @@ -55,6 +59,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "Fan_in_PS2" @@ -68,6 +73,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -81,6 +87,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -94,6 +101,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -107,6 +115,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -120,6 +129,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -133,6 +143,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -146,6 +157,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -159,6 +171,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -172,6 +185,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -185,6 +199,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -198,6 +213,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" @@ -211,6 +227,7 @@ parsed_sample: - power_supply: "" power_supply_model: "" power_supply_output: "" + power_supply_input: "" power_supply_capacity: "" power_supply_status: "" fan: "" diff --git a/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.raw b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.raw new file mode 100644 index 0000000000..3edb5702a2 --- /dev/null +++ b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.raw @@ -0,0 +1,48 @@ +Power Supply: +Voltage: 12 Volts +Power Actual Actual Total +Supply Model Output Input Capacity Status + (Watts ) (Watts ) (Watts ) +------- ------------------- ---------- ---------- ---------- -------------- +1 N9K-PAC-650W 101 W 103 W 650 W Ok +2 N9K-PAC-650W 96 W 102 W 650 W Ok + + +Power Usage Summary: +-------------------- +Power Supply redundancy mode (configured) PS-Redundant +Power Supply redundancy mode (operational) PS-Redundant + +Total Power Capacity (based on configured mode) 650.00 W +Total Grid-A (first half of PS slots) Power Capacity 650.00 W +Total Grid-B (second half of PS slots) Power Capacity 650.00 W +Total Power of all Inputs (cumulative) 1300.00 W +Total Power Output (actual draw) 197.00 W +Total Power Input (actual draw) 206.00 W +Total Power Allocated (budget) N/A +Total Power Available for additional modules N/A + +Fan: +--------------------------------------------------------------------------- +Fan Model Hw Direction Status +--------------------------------------------------------------------------- +Fan1(sys_fan1) N9K-C9300-FAN2 -- front-to-back Ok +Fan2(sys_fan2) N9K-C9300-FAN2 -- front-to-back Ok +Fan3(sys_fan3) N9K-C9300-FAN2 -- front-to-back Ok +Fan_in_PS1 -- -- front-to-back Ok +Fan_in_PS2 -- -- front-to-back Ok +Fan Zone Speed: Zone 1: 0x80 +Fan Air Filter : NotSupported + + +Temperature: +-------------------------------------------------------------------- +Module Sensor MajorThresh MinorThres CurTemp Status + (Celsius) (Celsius) (Celsius) +-------------------------------------------------------------------- +1 FRONT 70 42 24 Ok +1 BACK 80 70 26 Ok +1 CPU 90 80 42 Ok +1 TD2-1 105 90 35 Ok +1 NS-1 105 90 37 Ok + diff --git a/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.yml b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.yml new file mode 100644 index 0000000000..6ac13d1687 --- /dev/null +++ b/tests/cisco_nxos/show_environment/cisco_nxos_show_environment2.yml @@ -0,0 +1,170 @@ +--- +parsed_sample: + - power_supply: "1" + power_supply_model: "N9K-PAC-650W" + power_supply_output: "101" + power_supply_input: "103" + power_supply_capacity: "650" + power_supply_status: "Ok" + fan: "" + fan_status: "" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "2" + power_supply_model: "N9K-PAC-650W" + power_supply_output: "96" + power_supply_input: "102" + power_supply_capacity: "650" + power_supply_status: "Ok" + fan: "" + fan_status: "" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan1(sys_fan1)" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan2(sys_fan2)" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan3(sys_fan3)" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan_in_PS1" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "Fan_in_PS2" + fan_status: "Ok" + temperature_module: "" + temperature_sensor: "" + temperature_major_thresh: "" + temperature_minor_thresh: "" + temperature_current: "" + temperature_status: "" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "FRONT" + temperature_major_thresh: "70" + temperature_minor_thresh: "42" + temperature_current: "24" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "BACK" + temperature_major_thresh: "80" + temperature_minor_thresh: "70" + temperature_current: "26" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "CPU" + temperature_major_thresh: "90" + temperature_minor_thresh: "80" + temperature_current: "42" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "TD2-1" + temperature_major_thresh: "105" + temperature_minor_thresh: "90" + temperature_current: "35" + temperature_status: "Ok" + - power_supply: "" + power_supply_model: "" + power_supply_output: "" + power_supply_input: "" + power_supply_capacity: "" + power_supply_status: "" + fan: "" + fan_status: "" + temperature_module: "1" + temperature_sensor: "NS-1" + temperature_major_thresh: "105" + temperature_minor_thresh: "90" + temperature_current: "37" + temperature_status: "Ok" From a9de5b1a7508ea25a8e06b95aa0f6aee6e507ba7 Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Fri, 29 Jan 2021 01:50:18 +0000 Subject: [PATCH 541/628] New Template: hp_procurve_show_port-security (#862) --- .../hp_procurve_show_port-security.textfsm | 16 ++ templates/index | 1 + .../hp_procurve_show_port-security.raw | 56 +++++ .../hp_procurve_show_port-security.yml | 210 ++++++++++++++++++ 4 files changed, 283 insertions(+) create mode 100644 templates/hp_procurve_show_port-security.textfsm create mode 100644 tests/hp_procurve/show_port-security/hp_procurve_show_port-security.raw create mode 100644 tests/hp_procurve/show_port-security/hp_procurve_show_port-security.yml diff --git a/templates/hp_procurve_show_port-security.textfsm b/templates/hp_procurve_show_port-security.textfsm new file mode 100644 index 0000000000..2a94fd68bc --- /dev/null +++ b/templates/hp_procurve_show_port-security.textfsm @@ -0,0 +1,16 @@ +Value PORT (\S+) +Value LEARN_MODE (\S+) +Value ACTION (None|Send\s+Alarm|Send\s+Alarm\S+\s+Disable\s+Port) +Value EAVESDROP_PREVENTION (Enabled|Disabled) + +Start + ^\s+Port\s+Security\s* + ^\s*$$ + ^\s+Port\s+Learn\s+Mode\s+\|\s+Action\s+Eavesdrop\s+Prevention\s*$$ + ^\s*-+(?:\s|-|\+)+$$ -> Show_Port_Security + ^. -> Error + +Show_Port_Security + ^\s+${PORT}\s+${LEARN_MODE}\s+\|\s+${ACTION}\s+${EAVESDROP_PREVENTION}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 70c64b6f8c..cbc3cfc227 100644 --- a/templates/index +++ b/templates/index @@ -391,6 +391,7 @@ hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] .+ hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] hp_procurve_show_interfaces_brief.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] b[[rief]] +hp_procurve_show_port-security.textfsm, .*, hp_procurve, sh[[ow]] port-s[[ecurity]] hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_interfaces.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] diff --git a/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.raw b/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.raw new file mode 100644 index 0000000000..611f32b915 --- /dev/null +++ b/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.raw @@ -0,0 +1,56 @@ + Port Security + + Port Learn Mode | Action Eavesdrop Prevention + ----- ------------------ + ------------------------ -------------------- + 1 Continuous | None Enabled + 2 Continuous | None Enabled + 3 Continuous | None Enabled + 4 Continuous | None Enabled + 5 Continuous | None Enabled + 6 Continuous | None Enabled + 7 Continuous | None Enabled + 8 Continuous | None Enabled + 9 Continuous | None Enabled + 10 Static | Send Alarm, Disable Port Enabled + 11 Configured | Send Alarm Enabled + 12 Port-Access | None Enabled + 13 Limited-Continuous | Send Alarm Enabled + 14 Continuous | None Enabled + 15 Continuous | None Enabled + 16 Continuous | None Enabled + 17 Continuous | None Enabled + 18 Continuous | None Enabled + 19 Continuous | None Enabled + 20 Continuous | None Enabled + 21 Continuous | None Enabled + 22 Continuous | None Enabled + 23 Continuous | None Enabled + 24 Continuous | None Enabled + 25 Continuous | None Enabled + 26 Continuous | None Enabled + 27 Continuous | None Enabled + 28 Continuous | None Enabled + 29 Continuous | None Enabled + 30 Continuous | None Enabled + 31 Continuous | None Enabled + 32 Continuous | None Enabled + 33 Continuous | None Enabled + 34 Continuous | None Enabled + 35 Continuous | None Enabled + 36 Continuous | None Enabled + 37 Continuous | None Enabled + 38 Continuous | None Enabled + 39 Continuous | None Enabled + 40 Continuous | None Enabled + 41 Continuous | None Enabled + 42 Continuous | None Enabled + 43 Continuous | None Enabled + 44 Continuous | None Enabled + 45 Continuous | None Enabled + 46 Continuous | None Enabled + 47 Continuous | None Enabled + 48 Continuous | None Enabled + 49 Continuous | None Enabled + 50 Continuous | None Enabled + 51 Continuous | None Enabled + 52 Continuous | None Enabled diff --git a/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.yml b/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.yml new file mode 100644 index 0000000000..7f122e8933 --- /dev/null +++ b/tests/hp_procurve/show_port-security/hp_procurve_show_port-security.yml @@ -0,0 +1,210 @@ +--- +parsed_sample: + - port: "1" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "2" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "3" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "4" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "5" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "6" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "7" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "8" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "9" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "10" + learn_mode: "Static" + action: "Send Alarm, Disable Port" + eavesdrop_prevention: "Enabled" + - port: "11" + learn_mode: "Configured" + action: "Send Alarm" + eavesdrop_prevention: "Enabled" + - port: "12" + learn_mode: "Port-Access" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "13" + learn_mode: "Limited-Continuous" + action: "Send Alarm" + eavesdrop_prevention: "Enabled" + - port: "14" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "15" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "16" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "17" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "18" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "19" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "20" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "21" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "22" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "23" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "24" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "25" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "26" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "27" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "28" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "29" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "30" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "31" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "32" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "33" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "34" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "35" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "36" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "37" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "38" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "39" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "40" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "41" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "42" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "43" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "44" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "45" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "46" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "47" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "48" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "49" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "50" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "51" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" + - port: "52" + learn_mode: "Continuous" + action: "None" + eavesdrop_prevention: "Enabled" From c1db04fffa98fd7ae0e3ab7b384fc5befce41356 Mon Sep 17 00:00:00 2001 From: nnaukwal <53108100+nnaukwal@users.noreply.github.com> Date: Fri, 29 Jan 2021 12:59:37 +1100 Subject: [PATCH 542/628] Enhancement: Adding in/out route-map parsing to cisco_ios_show_ip_bgp_neighbor.textfsm (#861) --- .../cisco_ios_show_ip_bgp_neighbors.textfsm | 7 ++++++ .../cisco_ios_show_ip_bgp_neighbors.yml | 2 ++ ...sco_ios_show_ip_bgp_neighbors_multiple.yml | 24 +++++++++++++++++++ 3 files changed, 33 insertions(+) diff --git a/templates/cisco_ios_show_ip_bgp_neighbors.textfsm b/templates/cisco_ios_show_ip_bgp_neighbors.textfsm index 92d799b27e..694b76b540 100644 --- a/templates/cisco_ios_show_ip_bgp_neighbors.textfsm +++ b/templates/cisco_ios_show_ip_bgp_neighbors.textfsm @@ -7,6 +7,8 @@ Value LOCALHOST_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value LOCALHOST_PORT (\d+) Value REMOTE_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) Value REMOTE_PORT (\d+) +Value INBOUND_ROUTEMAP (\S+) +Value OUTBOUND_ROUTEMAP (\S+) Start # Capture first line, which shows the BGP neighor and remote AS number @@ -24,6 +26,11 @@ Start # Example: ' BGP state = Established, up for 7w3d' ^\s+BGP\s+state\s+=\s+${BGP_STATE} # + # Capture Inbound/Outbound Route Maps + # Example: 'Route map for incoming advertisements is BGP_Vendor_in' + # Example: 'Route map for outgoing advertisements is BGP_Vendor_out' + ^\s+Route\s+map\s+for\s+incoming\s+advertisements\s+is\s+${INBOUND_ROUTEMAP} + ^\s+Route\s+map\s+for\s+outgoing\s+advertisements\s+is\s+${OUTBOUND_ROUTEMAP} # # Match local host and port # Example: 'Local host: 10.10.255.13, Local port: 39443' diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml index 5c3b369d8d..e465812abe 100644 --- a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors.yml @@ -9,3 +9,5 @@ parsed_sample: localhost_port: "39443" remote_ip: "20.30.255.14" remote_port: "179" + inbound_routemap: "" + outbound_routemap: "" diff --git a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml index 4d4b68b3e8..09a322a760 100644 --- a/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml +++ b/tests/cisco_ios/show_ip_bgp_neighbors/cisco_ios_show_ip_bgp_neighbors_multiple.yml @@ -9,6 +9,8 @@ parsed_sample: localhost_port: "1039" remote_ip: "90.58.27.224" remote_port: "179" + inbound_routemap: "" + outbound_routemap: "" - neighbor: "42.116.171.166" remote_as: "65182" peer_group: "LAN" @@ -18,6 +20,8 @@ parsed_sample: localhost_port: "179" remote_ip: "85.15.185.206" remote_port: "28912" + inbound_routemap: "" + outbound_routemap: "" - neighbor: "5.233.102.244" remote_as: "65181" peer_group: "Vendor" @@ -27,6 +31,8 @@ parsed_sample: localhost_port: "10158" remote_ip: "58.98.25.93" remote_port: "179" + inbound_routemap: "BGP_Vendor_in" + outbound_routemap: "BGP_Vendor_out" - neighbor: "191.113.218.187" remote_as: "65181" peer_group: "Vendor" @@ -36,6 +42,8 @@ parsed_sample: localhost_port: "" remote_ip: "" remote_port: "" + inbound_routemap: "BGP_Vendor_in" + outbound_routemap: "BGP_Vendor_out" - neighbor: "50.231.89.165" remote_as: "65183" peer_group: "AWS" @@ -45,6 +53,8 @@ parsed_sample: localhost_port: "10156" remote_ip: "211.76.120.22" remote_port: "179" + inbound_routemap: "BGP_AWS_in" + outbound_routemap: "BGP_AWS_out" - neighbor: "121.216.88.225" remote_as: "65183" peer_group: "AWS" @@ -54,6 +64,8 @@ parsed_sample: localhost_port: "10153" remote_ip: "201.3.14.224" remote_port: "179" + inbound_routemap: "BGP_AWS_in" + outbound_routemap: "BGP_AWS_out" - neighbor: "71.163.23.191" remote_as: "65184" peer_group: "Merge" @@ -63,6 +75,8 @@ parsed_sample: localhost_port: "" remote_ip: "" remote_port: "" + inbound_routemap: "BGP_Merge_in" + outbound_routemap: "BGP_Merge_out" - neighbor: "87.90.154.72" remote_as: "65004" peer_group: "L3-CE-SEC" @@ -72,6 +86,8 @@ parsed_sample: localhost_port: "" remote_ip: "" remote_port: "" + inbound_routemap: "BGP-L3-CE-SEC-in" + outbound_routemap: "BGP-L3-CE-SEC-out" - neighbor: "35.139.51.35" remote_as: "65004" peer_group: "L3-CE-PRI" @@ -81,6 +97,8 @@ parsed_sample: localhost_port: "" remote_ip: "" remote_port: "" + inbound_routemap: "BGP-L3-CE-PRI-in" + outbound_routemap: "BGP-L3-CE-PRI-out" - neighbor: "13.167.37.139" remote_as: "64514" peer_group: "SDWAN-DIA" @@ -90,6 +108,8 @@ parsed_sample: localhost_port: "10926" remote_ip: "152.83.67.150" remote_port: "179" + inbound_routemap: "BGP-SDWAN-in" + outbound_routemap: "BGP-SDWAN-out" - neighbor: "72.37.28.119" remote_as: "18830" peer_group: "Internet" @@ -99,6 +119,8 @@ parsed_sample: localhost_port: "10160" remote_ip: "29.194.88.38" remote_port: "179" + inbound_routemap: "BGP_Internet_in" + outbound_routemap: "BGP_Internet_out" - neighbor: "201.93.188.161" remote_as: "18830" peer_group: "Internet" @@ -108,3 +130,5 @@ parsed_sample: localhost_port: "10159" remote_ip: "84.229.16.220" remote_port: "179" + inbound_routemap: "BGP_Internet_in" + outbound_routemap: "BGP_Internet_out" From 7f6dc8b60ed2e8139a1071028b927b63733873a2 Mon Sep 17 00:00:00 2001 From: Michael <38406045+mjbear@users.noreply.github.com> Date: Thu, 28 Jan 2021 21:52:09 -0500 Subject: [PATCH 543/628] New Template: cisco_ios_show_vrrp_all/brief (#856) --- templates/cisco_ios_show_vrrp_all.textfsm | 41 +++++++ templates/cisco_ios_show_vrrp_brief.textfsm | 38 ++++++ templates/index | 2 + .../show_vrrp_all/cisco_ios_show_vrrp_all.raw | 60 ++++++++++ .../show_vrrp_all/cisco_ios_show_vrrp_all.yml | 92 +++++++++++++++ .../cisco_ios_show_vrrpv3_all.raw | 80 +++++++++++++ .../cisco_ios_show_vrrpv3_all.yml | 110 ++++++++++++++++++ .../cisco_ios_show_vrrp_brief.raw | 7 ++ .../cisco_ios_show_vrrp_brief.yml | 52 +++++++++ .../cisco_ios_show_vrrpv3_brief.raw | 7 ++ .../cisco_ios_show_vrrpv3_brief.yml | 52 +++++++++ 11 files changed, 541 insertions(+) create mode 100644 templates/cisco_ios_show_vrrp_all.textfsm create mode 100644 templates/cisco_ios_show_vrrp_brief.textfsm create mode 100644 tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.raw create mode 100644 tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.yml create mode 100644 tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.raw create mode 100644 tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.yml create mode 100644 tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.raw create mode 100644 tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.yml create mode 100644 tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.raw create mode 100644 tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.yml diff --git a/templates/cisco_ios_show_vrrp_all.textfsm b/templates/cisco_ios_show_vrrp_all.textfsm new file mode 100644 index 0000000000..17fa737a86 --- /dev/null +++ b/templates/cisco_ios_show_vrrp_all.textfsm @@ -0,0 +1,41 @@ +Value IFACE (\S+) +Value GROUP (\d+) +Value ADDR_FAMILY (\S+) +Value STATE (\w+) +Value STATE_DURATION (.+) +Value VIRTUALIP ([a-fA-F\d\.\:]+) +Value VIRTUAL_MAC ([a-fA-F\d\.\:]+) +Value ADV_INTERVAL (\S+) +Value PREEMPT (\w+) +Value PRIORITY (\d+) +Value PRIORITY_CONFIGURED (\d+) +Value TRACK_OBJ (\d+) +Value TRACK_STATUS (\S+) +Value TRACK_ACTION (\S+(\s+\S+)?) +Value MASTER_IP (\S+) +Value MASTER_PRIORITY (\S+) +Value MASTER_ADV_INTERVAL (\S+) +Value MASTER_DOWN_INTERVAL (\S+) + +Start + ^\S+\s+-\s+Group\s+\d+.*$$ -> Continue.Record + ^\s*${IFACE}\s+-\s+Group\s+${GROUP}(\s+-\s+Address-Family\s+${ADDR_FAMILY})?\s*$$ + ^\s+State is\s+${STATE}.*\s*$$ + ^\s*State duration\s+${STATE_DURATION}\s*$$ + ^\s+Virtual IP address is\s+${VIRTUALIP}\s*$$ + ^\s+Virtual MAC address is\s+${VIRTUAL_MAC}\s*$$ + ^\s+Advertisement interval is\s+${ADV_INTERVAL} + ^\s+Preemption\s+${PREEMPT}\s*$$ + ^\s+Priority is\s+${PRIORITY}(\s+\((cfgd|[cC]onfigured)\s+${PRIORITY_CONFIGURED}\))?\s*$$ + ^\s*Track object\s+${TRACK_OBJ}\s+state\s+${TRACK_STATUS}\s+${TRACK_ACTION}\s*$$ + # ignore authentication output since later VRRP versions do not even support it + ^\s+Authentication\s + # ignoring the "local" designation since we can use the STATE value to determine who the master is + ^\s+Master Router is\s+${MASTER_IP}(\s+\(local\))?, priority is\s+${MASTER_PRIORITY}\s*$$ + ^\s+Master Advertisement interval is\s+${MASTER_ADV_INTERVAL} + ^\s+Master Down interval is\s+${MASTER_DOWN_INTERVAL} + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_ios_show_vrrp_brief.textfsm b/templates/cisco_ios_show_vrrp_brief.textfsm new file mode 100644 index 0000000000..585aa46c2c --- /dev/null +++ b/templates/cisco_ios_show_vrrp_brief.textfsm @@ -0,0 +1,38 @@ +Value IFACE (\S+) +Value GROUP (\d+) +Value ADDR_FAMILY (\S+) +Value PRIORITY (\d+) +Value TIME (\d+) +Value OWN (.?) +Value PREEMPT (.) +Value STATE (\w+) +Value MASTER_IP ([a-fA-F\d\.\:]+) +Value VIRTUALIP ([a-fA-F\d\.\:]+) + +Start + ^Interface\s+Grp\s+Pri\s+Time\s+Own\s+Pre\s+State\s+Master addr\s+Group addr\s*$$ -> Vrrp + ^\s*Interface\s+Grp\s+A-F\s+Pri\s+Time\s+Own\s+Pre\s+State\s+Master addr\/Group addr\s*$$ -> Vrrpv3 + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + +Vrrp + # VRRP Legacy (VRRPv2 for IPv4) + ^${IFACE}\s+${GROUP}\s*${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\s+${VIRTUALIP} -> Record + ^${IFACE}\s*$$ + ^\s*${GROUP}\s+${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\s+${VIRTUALIP} -> Record + ^\s*$$ + ^. -> Error + +Vrrpv3 + # VRRP Unified (VRRPv3 for IPv4 and IPv6) + # - ignoring the "local" designation since we can use the STATE value to determine who the master is + ^\s*${IFACE}\s+${GROUP}\s+${ADDR_FAMILY}\s+${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\(local\)\s+${VIRTUALIP} -> Record + ^\s*${IFACE}\s+${GROUP}\s+${ADDR_FAMILY}\s+${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\s+${VIRTUALIP} -> Record + # rows that roll over to a second line + ^\s*${IFACE}\s*$$ + ^\s*${GROUP}\s+${ADDR_FAMILY}\s+${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\(local\)\s+${VIRTUALIP} -> Record + ^\s*${IFACE}\s*$$ + ^\s*${GROUP}\s+${ADDR_FAMILY}\s+${PRIORITY}\s+${TIME}\s+${OWN}\s+${PREEMPT}\s+${STATE}\s+${MASTER_IP}\s+${VIRTUALIP} -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index cbc3cfc227..5537d143b7 100644 --- a/templates/index +++ b/templates/index @@ -217,6 +217,7 @@ cisco_ios_show_access-list.textfsm, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_redundancy.textfsm, .*, cisco_ios, sh[[ow]] redu[[ndancy]] +cisco_ios_show_vrrp_brief.textfsm, .*, cisco_ios, sh[[ow]] vrr[[p]] b[[rief]] cisco_ios_show_vtp_status.textfsm, .*, cisco_ios, sh[[ow]] vtp stat[[us]] cisco_ios_show_adjacency.textfsm, .*, cisco_ios, sh[[ow]] ad[[jacency]] cisco_ios_show_dot1x_all.textfsm, .*, cisco_ios, sh[[ow]] dot1x a[[ll]] @@ -225,6 +226,7 @@ cisco_ios_show_ip_mroute.textfsm, .*, cisco_ios, sh[[ow]] ip mr[[oute]] cisco_ios_show_route-map.textfsm, .*, cisco_ios, sh[[ow]] route-m[[ap]] cisco_ios_show_snmp_user.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] u[[ser]] cisco_ios_show_ip_route.textfsm, .*, cisco_ios, sh[[ow]] ip r[[oute]] +cisco_ios_show_vrrp_all.textfsm, .*, cisco_ios, sh[[ow]] vrr[[p]] a[[ll]] cisco_ios_show_aliases.textfsm, .*, cisco_ios, sh[[ow]] alia[[ses]] cisco_ios_show_archive.textfsm, .*, cisco_ios, sh[[ow]] arc[[hive]] cisco_ios_show_license.textfsm, .*, cisco_ios, sh[[ow]] lic[[ense]] diff --git a/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.raw b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.raw new file mode 100644 index 0000000000..810c9127a9 --- /dev/null +++ b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.raw @@ -0,0 +1,60 @@ +FastEthernet0/1 - Group 1 + State is Master + Virtual IP address is 192.168.88.1 + Virtual MAC address is 0000.5e00.0101 + Advertisement interval is 1.000 sec + Preemption enabled + Priority is 110 + Track object 1 state Up decrement 10 + Authentication MD5, key-string "highavailability" + Master Router is 192.168.88.2 (local), priority is 110 + Master Advertisement interval is 1.000 sec + Master Down interval is 3.570 sec + +FastEthernet0/1.2 - Group 2 + State is Master + Virtual IP address is 10.0.2.1 + Virtual MAC address is 0000.5e00.0102 + Advertisement interval is 1.000 sec + Preemption enabled + Priority is 110 + Track object 1 state Up decrement 10 + Master Router is 10.0.2.2 (local), priority is 110 + Master Advertisement interval is 1.000 sec + Master Down interval is 3.570 sec + +FastEthernet0/1.3 - Group 3 + State is Backup + Virtual IP address is 10.0.3.1 + Virtual MAC address is 0000.5e00.0103 + Advertisement interval is 1.000 sec + Preemption enabled + Priority is 110 + Track object 1 state Up decrement 10 + Master Router is 10.0.3.3, priority is 120 + Master Advertisement interval is 1.000 sec + Master Down interval is 3.570 sec (expires in 2.738 sec) + +FastEthernet0/1.4 - Group 4 + State is Init + Virtual IP address is 10.0.4.1 + Virtual MAC address is 0000.5e00.0104 + Advertisement interval is 1.000 sec + Preemption enabled + Priority is 100 + Master Router is 10.0.4.3, priority is 120 + Master Advertisement interval is 1.000 sec + Master Down interval is 3.609 sec + +FastEthernet0/1.5 - Group 5 + State is Backup + Virtual IP address is 10.0.5.1 + Virtual MAC address is 0000.5e00.0105 + Advertisement interval is 1.000 sec + Preemption enabled + Priority is 90 (cfgd 110) + Track object 2 state Down decrement 20 + Master Router is 10.0.5.3, priority is 105 + Master Advertisement interval is 1.000 sec + Master Down interval is 3.570 sec (expires in 2.706 sec) + diff --git a/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.yml b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.yml new file mode 100644 index 0000000000..98837fd982 --- /dev/null +++ b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrp_all.yml @@ -0,0 +1,92 @@ +--- +parsed_sample: + - iface: "FastEthernet0/1" + group: "1" + addr_family: "" + state: "Master" + state_duration: "" + virtualip: "192.168.88.1" + virtual_mac: "0000.5e00.0101" + adv_interval: "1.000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "1" + track_status: "Up" + track_action: "decrement 10" + master_ip: "192.168.88.2" + master_priority: "110" + master_adv_interval: "1.000" + master_down_interval: "3.570" + - iface: "FastEthernet0/1.2" + group: "2" + addr_family: "" + state: "Master" + state_duration: "" + virtualip: "10.0.2.1" + virtual_mac: "0000.5e00.0102" + adv_interval: "1.000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "1" + track_status: "Up" + track_action: "decrement 10" + master_ip: "10.0.2.2" + master_priority: "110" + master_adv_interval: "1.000" + master_down_interval: "3.570" + - iface: "FastEthernet0/1.3" + group: "3" + addr_family: "" + state: "Backup" + state_duration: "" + virtualip: "10.0.3.1" + virtual_mac: "0000.5e00.0103" + adv_interval: "1.000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "1" + track_status: "Up" + track_action: "decrement 10" + master_ip: "10.0.3.3" + master_priority: "120" + master_adv_interval: "1.000" + master_down_interval: "3.570" + - iface: "FastEthernet0/1.4" + group: "4" + addr_family: "" + state: "Init" + state_duration: "" + virtualip: "10.0.4.1" + virtual_mac: "0000.5e00.0104" + adv_interval: "1.000" + preempt: "enabled" + priority: "100" + priority_configured: "" + track_obj: "" + track_status: "" + track_action: "" + master_ip: "10.0.4.3" + master_priority: "120" + master_adv_interval: "1.000" + master_down_interval: "3.609" + - iface: "FastEthernet0/1.5" + group: "5" + addr_family: "" + state: "Backup" + state_duration: "" + virtualip: "10.0.5.1" + virtual_mac: "0000.5e00.0105" + adv_interval: "1.000" + preempt: "enabled" + priority: "90" + priority_configured: "110" + track_obj: "2" + track_status: "Down" + track_action: "decrement 20" + master_ip: "10.0.5.3" + master_priority: "105" + master_adv_interval: "1.000" + master_down_interval: "3.570" diff --git a/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.raw b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.raw new file mode 100644 index 0000000000..428cf60d5a --- /dev/null +++ b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.raw @@ -0,0 +1,80 @@ + +GigabitEthernet0/0 - Group 1 - Address-Family IPv4 + State is MASTER + State duration 37 mins 23.080 secs + Virtual IP address is 10.0.1.1 + Virtual MAC address is 0000.5E00.0101 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 110 + Track object 1 state UP decrement 10 + Master Router is 10.0.1.2 (local), priority is 110 + Master Advertisement interval is 1000 msec (expires in 32 msec) + Master Down interval is unknown + +GigabitEthernet0/0 - Group 6 - Address-Family IPv6 + State is MASTER + State duration 37 mins 22.120 secs + Virtual IP address is FE80::1:1 + Virtual MAC address is 0000.5E00.0206 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 110 + Track object 1 state UP shutdown + Master Router is FE80::1:A (local), priority is 110 + Master Advertisement interval is 1000 msec (expires in 260 msec) + Master Down interval is unknown + + +GigabitEthernet0/0.4010 - Group 1 - Address-Family IPv4 + State is BACKUP + State duration 37 mins 14.859 secs + Virtual IP address is 10.254.1.1 + Virtual MAC address is 0000.5E00.0101 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 110 + Master Router is 10.254.1.3, priority is 120 + Master Advertisement interval is 1000 msec (learned) + Master Down interval is 3570 msec (expires in 3194 msec) + +GigabitEthernet0/0.4010 - Group 6 - Address-Family IPv6 + State is BACKUP + State duration 37 mins 13.888 secs + Virtual IP address is FE80::4010:1 + Virtual MAC address is 0000.5E00.0206 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 110 + Master Router is FE80::4010:3, priority is 120 + Master Advertisement interval is 1000 msec (learned) + Master Down interval is 3570 msec (expires in 3420 msec) + + +GigabitEthernet0/0.2600 - Group 1 - Address-Family IPv4 + State is BACKUP + State duration 2 mins 48.646 secs + Virtual IP address is 172.26.0.1 + Virtual MAC address is 0000.5E00.0101 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 90 (Configured 110) + Track object 2 state DOWN decrement 20 + Master Router is 172.26.0.3, priority is 100 + Master Advertisement interval is 1000 msec (learned) + Master Down interval is 3648 msec (expires in 3427 msec) + +GigabitEthernet0/0.2600 - Group 6 - Address-Family IPv6 + State is INIT (Group is shutdown - Tracked object down) + State duration 8 mins 57.183 secs + Virtual IP address is FE80::2600:1 + Virtual MAC address is 0000.5E00.0206 + Advertisement interval is 1000 msec + Preemption enabled + Priority is 110 + Track object 2 state DOWN shutdown + Master Router is unknown, priority is unknown + Master Advertisement interval is unknown + Master Down interval is unknown + + diff --git a/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.yml b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.yml new file mode 100644 index 0000000000..6be1b74098 --- /dev/null +++ b/tests/cisco_ios/show_vrrp_all/cisco_ios_show_vrrpv3_all.yml @@ -0,0 +1,110 @@ +--- +parsed_sample: + - iface: "GigabitEthernet0/0" + group: "1" + addr_family: "IPv4" + state: "MASTER" + state_duration: "37 mins 23.080 secs" + virtualip: "10.0.1.1" + virtual_mac: "0000.5E00.0101" + adv_interval: "1000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "1" + track_status: "UP" + track_action: "decrement 10" + master_ip: "10.0.1.2" + master_priority: "110" + master_adv_interval: "1000" + master_down_interval: "unknown" + - iface: "GigabitEthernet0/0" + group: "6" + addr_family: "IPv6" + state: "MASTER" + state_duration: "37 mins 22.120 secs" + virtualip: "FE80::1:1" + virtual_mac: "0000.5E00.0206" + adv_interval: "1000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "1" + track_status: "UP" + track_action: "shutdown" + master_ip: "FE80::1:A" + master_priority: "110" + master_adv_interval: "1000" + master_down_interval: "unknown" + - iface: "GigabitEthernet0/0.4010" + group: "1" + addr_family: "IPv4" + state: "BACKUP" + state_duration: "37 mins 14.859 secs" + virtualip: "10.254.1.1" + virtual_mac: "0000.5E00.0101" + adv_interval: "1000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "" + track_status: "" + track_action: "" + master_ip: "10.254.1.3" + master_priority: "120" + master_adv_interval: "1000" + master_down_interval: "3570" + - iface: "GigabitEthernet0/0.4010" + group: "6" + addr_family: "IPv6" + state: "BACKUP" + state_duration: "37 mins 13.888 secs" + virtualip: "FE80::4010:1" + virtual_mac: "0000.5E00.0206" + adv_interval: "1000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "" + track_status: "" + track_action: "" + master_ip: "FE80::4010:3" + master_priority: "120" + master_adv_interval: "1000" + master_down_interval: "3570" + - iface: "GigabitEthernet0/0.2600" + group: "1" + addr_family: "IPv4" + state: "BACKUP" + state_duration: "2 mins 48.646 secs" + virtualip: "172.26.0.1" + virtual_mac: "0000.5E00.0101" + adv_interval: "1000" + preempt: "enabled" + priority: "90" + priority_configured: "110" + track_obj: "2" + track_status: "DOWN" + track_action: "decrement 20" + master_ip: "172.26.0.3" + master_priority: "100" + master_adv_interval: "1000" + master_down_interval: "3648" + - iface: "GigabitEthernet0/0.2600" + group: "6" + addr_family: "IPv6" + state: "INIT" + state_duration: "8 mins 57.183 secs" + virtualip: "FE80::2600:1" + virtual_mac: "0000.5E00.0206" + adv_interval: "1000" + preempt: "enabled" + priority: "110" + priority_configured: "" + track_obj: "2" + track_status: "DOWN" + track_action: "shutdown" + master_ip: "unknown" + master_priority: "unknown" + master_adv_interval: "unknown" + master_down_interval: "unknown" diff --git a/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.raw b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.raw new file mode 100644 index 0000000000..cbc0108764 --- /dev/null +++ b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.raw @@ -0,0 +1,7 @@ +Interface Grp Pri Time Own Pre State Master addr Group addr +Fa0/1 1 110 3570 Y Master 192.168.88.2 192.168.88.1 +Fa0/1.2 2 110 3570 Y Master 10.0.2.2 10.0.2.1 +Fa0/1.3 3 110 3570 Y Backup 10.0.3.3 10.0.3.1 +Fa0/1.4 4 100 3609 Y Init 10.0.4.3 10.0.4.1 +Fa0/1.5 5 90 3570 Y Backup 10.0.5.3 10.0.5.1 + diff --git a/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.yml b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.yml new file mode 100644 index 0000000000..ed7075c43b --- /dev/null +++ b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrp_brief.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - iface: "Fa0/1" + group: "1" + addr_family: "" + priority: "110" + time: "3570" + own: "" + preempt: "Y" + state: "Master" + master_ip: "192.168.88.2" + virtualip: "192.168.88.1" + - iface: "Fa0/1.2" + group: "2" + addr_family: "" + priority: "110" + time: "3570" + own: "" + preempt: "Y" + state: "Master" + master_ip: "10.0.2.2" + virtualip: "10.0.2.1" + - iface: "Fa0/1.3" + group: "3" + addr_family: "" + priority: "110" + time: "3570" + own: "" + preempt: "Y" + state: "Backup" + master_ip: "10.0.3.3" + virtualip: "10.0.3.1" + - iface: "Fa0/1.4" + group: "4" + addr_family: "" + priority: "100" + time: "3609" + own: "" + preempt: "Y" + state: "Init" + master_ip: "10.0.4.3" + virtualip: "10.0.4.1" + - iface: "Fa0/1.5" + group: "5" + addr_family: "" + priority: "90" + time: "3570" + own: "" + preempt: "Y" + state: "Backup" + master_ip: "10.0.5.3" + virtualip: "10.0.5.1" diff --git a/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.raw b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.raw new file mode 100644 index 0000000000..4893cd1c41 --- /dev/null +++ b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.raw @@ -0,0 +1,7 @@ + Interface Grp A-F Pri Time Own Pre State Master addr/Group addr + Gi0/0 1 IPv4 110 0 N Y MASTER 10.0.1.2(local) 10.0.1.1 + Gi0/0 6 IPv6 110 0 N Y MASTER FE80::1:A(local) FE80::1:1 + Gi0/0.4010 1 IPv4 110 3570 N Y BACKUP 10.254.1.3 10.254.1.1 + Gi0/0.4010 6 IPv6 110 3570 N Y BACKUP FE80::4010:3 FE80::4010:1 + Gi0/0.2600 1 IPv4 90 3648 N Y BACKUP 172.26.0.3 172.26.0.1 + diff --git a/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.yml b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.yml new file mode 100644 index 0000000000..70962bb3af --- /dev/null +++ b/tests/cisco_ios/show_vrrp_brief/cisco_ios_show_vrrpv3_brief.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - iface: "Gi0/0" + group: "1" + addr_family: "IPv4" + priority: "110" + time: "0" + own: "N" + preempt: "Y" + state: "MASTER" + master_ip: "10.0.1.2" + virtualip: "10.0.1.1" + - iface: "Gi0/0" + group: "6" + addr_family: "IPv6" + priority: "110" + time: "0" + own: "N" + preempt: "Y" + state: "MASTER" + master_ip: "FE80::1:A" + virtualip: "FE80::1:1" + - iface: "Gi0/0.4010" + group: "1" + addr_family: "IPv4" + priority: "110" + time: "3570" + own: "N" + preempt: "Y" + state: "BACKUP" + master_ip: "10.254.1.3" + virtualip: "10.254.1.1" + - iface: "Gi0/0.4010" + group: "6" + addr_family: "IPv6" + priority: "110" + time: "3570" + own: "N" + preempt: "Y" + state: "BACKUP" + master_ip: "FE80::4010:3" + virtualip: "FE80::4010:1" + - iface: "Gi0/0.2600" + group: "1" + addr_family: "IPv4" + priority: "90" + time: "3648" + own: "N" + preempt: "Y" + state: "BACKUP" + master_ip: "172.26.0.3" + virtualip: "172.26.0.1" From 0d19e369bd3e95f29671ad611513bdfb6692f73a Mon Sep 17 00:00:00 2001 From: Michael <38406045+mjbear@users.noreply.github.com> Date: Thu, 28 Jan 2021 22:11:08 -0500 Subject: [PATCH 544/628] New Templates: cisco_wlc_ssh_show_redundancy_detail/summary.textfsm (#846) --- ...sco_wlc_ssh_show_redundancy_detail.textfsm | 18 ++++++++++++++ ...co_wlc_ssh_show_redundancy_summary.textfsm | 24 +++++++++++++++++++ templates/index | 6 +++-- .../cisco_wlc_ssh_show_redundancy_detail.raw | 21 ++++++++++++++++ .../cisco_wlc_ssh_show_redundancy_detail.yml | 9 +++++++ .../cisco_wlc_ssh_show_redundancy_summary.raw | 11 +++++++++ .../cisco_wlc_ssh_show_redundancy_summary.yml | 13 ++++++++++ 7 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 templates/cisco_wlc_ssh_show_redundancy_detail.textfsm create mode 100644 templates/cisco_wlc_ssh_show_redundancy_summary.textfsm create mode 100644 tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.raw create mode 100644 tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.yml create mode 100644 tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.yml diff --git a/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm b/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm new file mode 100644 index 0000000000..32a28fec84 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm @@ -0,0 +1,18 @@ +Value REDUNDANCY_MGMT_ADDR (\S+) +Value PEER_REDUNDANCY_MGMT_ADDR (\S+) +Value REDUNDANCY_PORT_ADDR (\S+) +Value PEER_REDUNDANCY_PORT_ADDR (\S+) +Value PEER_SERVICE_PORT_ADDR (\S+) +Value KEEP_ALIVE_TIMEOUT (\d+) +Value PEER_SEARCH_TIMEOUT (\d+) + +Start + ^\s*Redundancy Management IP Address\.*\s+${REDUNDANCY_MGMT_ADDR}\s*$$ + ^\s*Peer Redundancy Management IP Address\.*\s+${PEER_REDUNDANCY_MGMT_ADDR}\s*$$ + ^\s*Redundancy Port IP Address\.*\s+${REDUNDANCY_PORT_ADDR}\s*$$ + ^\s*Peer Redundancy Port IP Address\.*\s+${PEER_REDUNDANCY_PORT_ADDR}\s*$$ + ^\s*Peer Service Port IP Address\.*\s+${PEER_SERVICE_PORT_ADDR}\s*$$ + # presently not parsing Switchover History + ^\s*Keep Alive Timeout\s+:\s+${KEEP_ALIVE_TIMEOUT}\s+msecs\s*$$ + ^\s*Peer Search Timeout\s+:\s+${PEER_SEARCH_TIMEOUT}\s+secs\s*$$ + # presently not parsing Peer Network Routes diff --git a/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm b/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm new file mode 100644 index 0000000000..e679922a64 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm @@ -0,0 +1,24 @@ +Value REDUNDANCY_MODE (\S+\s+\S+) +Value LOCAL_STATE (\S+) +Value PEER_STATE (\S+\s+\S+) +Value UNIT (\S+) +Value UNIT_ID (([\da-fA-F]{2}\:?){6}) +Value REDUNDANCY_STATE (\S+) +Value MOBILITY_MAC (([\da-fA-F]{2}\:?){6}) +Value REDUNDANCY_PORT (\S+) +Value BULKSYNC_STATUS (\S+) +Value AVG_REDUNDANCY_PEER_LATENCY (\d+) +Value AVG_MGMT_GW_LATENCY (\d+) + +Start + ^\s+Redundancy Mode\s+=\s+${REDUNDANCY_MODE}\s*$$ + ^\s+Local State\s+=\s+${LOCAL_STATE}\s*$$ + ^\s+Peer State\s+=\s+${PEER_STATE}\s*$$ + ^\s+Unit\s+=\s+${UNIT}\s*$$ + ^\s+Unit ID\s+=\s+${UNIT_ID}\s*$$ + ^\s+Redundancy State\s+=\s+${REDUNDANCY_STATE}\s*$$ + ^\s+Mobility MAC\s+=\s+${MOBILITY_MAC}\s*$$ + ^\s+Redundancy Port\s+=\s+${REDUNDANCY_PORT}\s*$$ + ^\s+BulkSync Status\s+=\s+${BULKSYNC_STATUS}\s*$$ + ^\s*Average Redundancy Peer Reachability Latency\s+=\s+${AVG_REDUNDANCY_PEER_LATENCY}\s+\S+\s+Seconds\s*$$ + ^\s*Average Management Gateway Reachability Latency\s+=\s+${AVG_MGMT_GW_LATENCY}\s+\S+\s+Seconds\s*$$ diff --git a/templates/index b/templates/index index 5537d143b7..4b48563c71 100644 --- a/templates/index +++ b/templates/index @@ -4,8 +4,8 @@ # abc[[xyz]] is expanded to abc(x(y(z)?)?)?, regexp inside [[]] is not supported # # Rules of Ordering: -# - OS in alphbetical order -# - Command in length other +# - OS in alphabetical order +# - Template name in length order # - When Length is the same, use alphabetical order # - Keep space between OS's # @@ -309,9 +309,11 @@ cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm, .*, cisco_wlc_ssh, sh[[ow]] 802\.11[ab] cl[[eanair]] c[[onfig]] cisco_wlc_ssh_show_interface_detailed_id.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] d[[etailed]] (\S+) cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] +cisco_wlc_ssh_show_redundancy_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] su[[mmary]] cisco_wlc_ssh_show_rf-profile_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] +cisco_wlc_ssh_show_redundancy_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] d[[etail]] cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_image_all.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap ima[[ge]] a[[ll]] diff --git a/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.raw b/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.raw new file mode 100644 index 0000000000..0507ccf2e9 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.raw @@ -0,0 +1,21 @@ +Redundancy Management IP Address................. 10.128.1.2 +Peer Redundancy Management IP Address............ 10.128.1.3 +Redundancy Port IP Address....................... 169.254.1.2 +Peer Redundancy Port IP Address.................. 169.254.1.3 +Peer Service Port IP Address..................... 0.0.0.0 + +Switchover History[1]: +Previous Active = 10.128.1.3, Current Active = 10.128.1.2 +Switchover Reason = Active controller failed, Switchover Time = Tue Nov 24 19:24:43 2020 + + +Redundancy Timeout Values.....: +---------------------------------------------------- +Keep Alive Timeout : 100 msecs +Peer Search Timeout : 120 secs + + +Number of Routes................................. 0 + +Destination Network Netmask Gateway +------------------- ------------------- ------------------- diff --git a/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.yml b/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.yml new file mode 100644 index 0000000000..3c5c3e8a60 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_redundancy_detail/cisco_wlc_ssh_show_redundancy_detail.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - redundancy_mgmt_addr: "10.128.1.2" + peer_redundancy_mgmt_addr: "10.128.1.3" + redundancy_port_addr: "169.254.1.2" + peer_redundancy_port_addr: "169.254.1.3" + peer_service_port_addr: "0.0.0.0" + keep_alive_timeout: "100" + peer_search_timeout: "120" diff --git a/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.raw b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.raw new file mode 100644 index 0000000000..08f379e802 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.raw @@ -0,0 +1,11 @@ + Redundancy Mode = SSO ENABLED + Local State = ACTIVE + Peer State = STANDBY HOT + Unit = Primary + Unit ID = 00:00:00:00:12:34 + Redundancy State = SSO + Mobility MAC = 00:00:00:00:12:34 + Redundancy Port = UP + BulkSync Status = Complete +Average Redundancy Peer Reachability Latency = 199 Micro Seconds +Average Management Gateway Reachability Latency = 570 Micro Seconds diff --git a/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.yml b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.yml new file mode 100644 index 0000000000..b646f23b65 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_redundancy_summary/cisco_wlc_ssh_show_redundancy_summary.yml @@ -0,0 +1,13 @@ +--- +parsed_sample: + - redundancy_mode: "SSO ENABLED" + local_state: "ACTIVE" + peer_state: "STANDBY HOT" + unit: "Primary" + unit_id: "00:00:00:00:12:34" + redundancy_state: "SSO" + mobility_mac: "00:00:00:00:12:34" + redundancy_port: "UP" + bulksync_status: "Complete" + avg_redundancy_peer_latency: "199" + avg_mgmt_gw_latency: "570" From 26e856841cc4442b7cdbfd9202cbaa21b036653e Mon Sep 17 00:00:00 2001 From: Michael <38406045+mjbear@users.noreply.github.com> Date: Sat, 30 Jan 2021 09:24:45 -0500 Subject: [PATCH 545/628] New Template: cisco_wlc_show_mobility_anchor (#847) --- ...cisco_wlc_ssh_show_mobility_anchor.textfsm | 19 ++++++++++++++++ templates/index | 1 + .../cisco_wlc_ssh_show_mobility_anchor.raw | 16 ++++++++++++++ .../cisco_wlc_ssh_show_mobility_anchor.yml | 22 +++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_mobility_anchor.textfsm create mode 100644 tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.raw create mode 100644 tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.yml diff --git a/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm b/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm new file mode 100644 index 0000000000..6c92cdd39e --- /dev/null +++ b/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm @@ -0,0 +1,19 @@ +Value WLAN_ID (\d+) +Value IPADDR (\S+) +Value STATUS (\S+) +Value PRIORITY ([1-3]) + +Start + ^\s*WLAN ID\s+IP Address\s+Status\s+Priority\s*$$ -> Mobility_Anchor + +Mobility_Anchor + # WLAN Mobility Anchor List + ^\s+${WLAN_ID}\s+${IPADDR}\s+${STATUS}\s+${PRIORITY} -> Record + # + # also handling the similar Guest LAN (GLAN) output + ^\s+${WLAN_ID}\s+${IPADDR}\s+${STATUS} -> Record + # + ^\s*GLAN ID\s+IP Address\s+Status\s*$$ + ^\s+[-\s]+$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 4b48563c71..920cc47018 100644 --- a/templates/index +++ b/templates/index @@ -314,6 +314,7 @@ cisco_wlc_ssh_show_rf-profile_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] rf-[[ cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_redundancy_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] d[[etail]] +cisco_wlc_ssh_show_mobility_anchor.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] an[[chor]] cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_image_all.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap ima[[ge]] a[[ll]] diff --git a/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.raw b/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.raw new file mode 100644 index 0000000000..fb158357b3 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.raw @@ -0,0 +1,16 @@ + +Mobility Anchor Export List + + + Priority number, 1=Highest priority and 3=Lowest priority(default). + + WLAN ID IP Address Status Priority + ------- --------------- ------ -------- + 12 10.0.0.211 Up 3 + 12 10.0.0.212 Up 2 + 13 10.0.0.212 Up 2 + 13 10.0.0.213 Up 1 + + GLAN ID IP Address Status + ------- --------------- ------ + 99 192.168.180.1 Down diff --git a/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.yml b/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.yml new file mode 100644 index 0000000000..c7c15c3af0 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_mobility_anchor/cisco_wlc_ssh_show_mobility_anchor.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - wlan_id: "12" + ipaddr: "10.0.0.211" + status: "Up" + priority: "3" + - wlan_id: "12" + ipaddr: "10.0.0.212" + status: "Up" + priority: "2" + - wlan_id: "13" + ipaddr: "10.0.0.212" + status: "Up" + priority: "2" + - wlan_id: "13" + ipaddr: "10.0.0.213" + status: "Up" + priority: "1" + - wlan_id: "99" + ipaddr: "192.168.180.1" + status: "Down" + priority: "" From 04343302fdbf63c9ceedbd2a8b1667db4644a8d9 Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Sun, 31 Jan 2021 08:50:40 -0600 Subject: [PATCH 546/628] Enhancement: Add Environment Variable Option for Custom Template Location (#863) --- README.md | 19 +++++++++++++++++++ lib/ntc_templates/parse.py | 12 +++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 08a57069fc..4911e04987 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,25 @@ $ >>> ``` +### Define Custom Templates Directory + +To use a custom templates directory set the environmental variable `NTC_TEMPLATES_DIR`. + +**Requirements** +1. `index` file needs to be defined with standard structure. [See](#Index-File) +2. Each custom template should be defined. + +To manaully set variable: +```shell +export NTC_TEMPLATES_DIR=/path/to/new/location/templates +``` + +To set within your program: +```python +import os +os.environ["NTC_TEMPLATES_DIR"] = "/path/to/new/templates/location/templates" +``` + Contributing ------------ diff --git a/lib/ntc_templates/parse.py b/lib/ntc_templates/parse.py index 624a6cf179..407c289b56 100644 --- a/lib/ntc_templates/parse.py +++ b/lib/ntc_templates/parse.py @@ -12,11 +12,13 @@ def _get_template_dir(): - package_dir = os.path.dirname(__file__) - template_dir = os.path.join(package_dir, "templates") - if not os.path.isdir(template_dir): - project_dir = os.path.dirname(os.path.dirname(os.path.dirname(template_dir))) - template_dir = os.path.join(project_dir, "templates") + template_dir = os.environ.get("NTC_TEMPLATES_DIR") + if template_dir is None: + package_dir = os.path.dirname(__file__) + template_dir = os.path.join(package_dir, "templates") + if not os.path.isdir(template_dir): + project_dir = os.path.dirname(os.path.dirname(os.path.dirname(template_dir))) + template_dir = os.path.join(project_dir, "templates") return template_dir From 2461eaaac2fa57eee47b5a13aaa2edbe79930c33 Mon Sep 17 00:00:00 2001 From: Michael <38406045+mjbear@users.noreply.github.com> Date: Sun, 31 Jan 2021 09:52:51 -0500 Subject: [PATCH 547/628] New Template: cisco_wlc_ssh_show_time.textfsm (#853) --- templates/cisco_wlc_ssh_show_time.textfsm | 29 +++++++++++++++++++ templates/index | 1 + .../show_time/cisco_wlc_ssh_show_time.raw | 14 +++++++++ .../show_time/cisco_wlc_ssh_show_time.yml | 24 +++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_time.textfsm create mode 100644 tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.raw create mode 100644 tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.yml diff --git a/templates/cisco_wlc_ssh_show_time.textfsm b/templates/cisco_wlc_ssh_show_time.textfsm new file mode 100644 index 0000000000..4dc209b1ae --- /dev/null +++ b/templates/cisco_wlc_ssh_show_time.textfsm @@ -0,0 +1,29 @@ +Value Filldown TIME (.+) +Value Filldown TZ_DELTA (\S+) +Value Filldown TIMEZONE (.+) +Value Filldown TZ_NAME (.+) +Value Filldown NTP_VERSION (\d) +Value Filldown NTP_POLLING_INTERVAL (\d+) +Value Required INDEX (\d+) +Value NTP_KEY_INDEX (\d+) +Value NTP_SERVER (\S+) +Value STATUS (\S+\s?\S+) +Value NTP_MSG_AUTH_STATUS (\S+\s?\S+) + +Start + ^\s*Time\s*\.+\s+${TIME}\s*$$ + ^\s*Timezone [dD]elta\s*\.+\s+${TZ_DELTA}\s*$$ + ^\s*Timezone [lL]ocation\s*\.+\s+\(${TIMEZONE}\)\s+${TZ_NAME}\s*$$ + ^\s*NTP [sS]ervers\s*$$ + ^\s*NTP [vV]ersion\s*\.+\s+${NTP_VERSION}\s*$$ + ^\s*NTP [pP]olling [iI]nterval\s*\.+\s+${NTP_POLLING_INTERVAL}\s*$$ + # + # NTP Server Table + ^\s+Index\s+NTP Key Index\s+NTP Server\s+Status\s+NTP Msg Auth Status\s*$$ -> NTP_Servers + ^\s*$$ + +NTP_Servers + ^\s+${INDEX}\s+${NTP_KEY_INDEX}\s+${NTP_SERVER}\s+${STATUS}\s+${NTP_MSG_AUTH_STATUS}\s*$$ -> Record + ^\s+[-\s]+$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 920cc47018..4d0a9e52ac 100644 --- a/templates/index +++ b/templates/index @@ -325,6 +325,7 @@ cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] cisco_wlc_ssh_show_wlan_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] wl[[an]] s[[ummary]] cisco_wlc_ssh_show_802.11a.textfsm, .*, cisco_wlc_ssh, show 802\.11[ab] cisco_wlc_ssh_show_sysinfo.textfsm, .*, cisco_wlc_ssh, sh[[ow]] sysi[[nfo]] +cisco_wlc_ssh_show_time.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ti[[me]] cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] in[[gress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] in[[gress]] loc[[ation]] diff --git a/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.raw b/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.raw new file mode 100644 index 0000000000..f14665d260 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.raw @@ -0,0 +1,14 @@ + +Time............................................. Tue Dec 22 11:02:42 2020 + +Timezone delta................................... 0:0 +Timezone location................................ (GMT -5:00) Eastern Time (US and Canada) + +NTP Servers + NTP Version.................................. 3 + NTP Polling Interval......................... 72000 + + Index NTP Key Index NTP Server Status NTP Msg Auth Status + ------- --------------------------------------------------------------------- + 1 0 1.1.1.1 In Sync AUTH DISABLED + 2 0 128.138.141.172 Not Tried AUTH DISABLED diff --git a/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.yml b/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.yml new file mode 100644 index 0000000000..161fbd23ec --- /dev/null +++ b/tests/cisco_wlc_ssh/show_time/cisco_wlc_ssh_show_time.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - time: "Tue Dec 22 11:02:42 2020" + tz_delta: "0:0" + timezone: "GMT -5:00" + tz_name: "Eastern Time (US and Canada)" + ntp_version: "3" + ntp_polling_interval: "72000" + index: "1" + ntp_key_index: "0" + ntp_server: "1.1.1.1" + status: "In Sync" + ntp_msg_auth_status: "AUTH DISABLED" + - time: "Tue Dec 22 11:02:42 2020" + tz_delta: "0:0" + timezone: "GMT -5:00" + tz_name: "Eastern Time (US and Canada)" + ntp_version: "3" + ntp_polling_interval: "72000" + index: "2" + ntp_key_index: "0" + ntp_server: "128.138.141.172" + status: "Not Tried" + ntp_msg_auth_status: "AUTH DISABLED" From 85bfa23d1aae3f87a857391c2da89f4485f8cadc Mon Sep 17 00:00:00 2001 From: Michael <38406045+mjbear@users.noreply.github.com> Date: Sun, 31 Jan 2021 11:07:48 -0500 Subject: [PATCH 548/628] New Templates: cisco_wlc_ssh_show_port_summary/stats_port_summary (#854) --- .../cisco_wlc_ssh_show_port_summary.textfsm | 23 ++++++ ...co_wlc_ssh_show_stats_port_summary.textfsm | 30 ++++++++ templates/index | 2 + .../cisco_wlc_ssh_show_port_summary.raw | 11 +++ .../cisco_wlc_ssh_show_port_summary.yml | 65 +++++++++++++++++ .../cisco_wlc_ssh_show_stats_port_summary.raw | 9 +++ .../cisco_wlc_ssh_show_stats_port_summary.yml | 72 +++++++++++++++++++ 7 files changed, 212 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_port_summary.textfsm create mode 100644 templates/cisco_wlc_ssh_show_stats_port_summary.textfsm create mode 100644 tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.yml create mode 100644 tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.yml diff --git a/templates/cisco_wlc_ssh_show_port_summary.textfsm b/templates/cisco_wlc_ssh_show_port_summary.textfsm new file mode 100644 index 0000000000..690218fc3c --- /dev/null +++ b/templates/cisco_wlc_ssh_show_port_summary.textfsm @@ -0,0 +1,23 @@ +Value PORT (\S+) +Value TYPE (\S+) +Value STP_STATUS (\S+) +Value ADMIN_MODE (\S+) +Value PHYSICAL_MODE (\w+\s?\w+) +Value PHYSICAL_STATUS (\w+\s?\w+) +Value LINK_STATUS (\S+) +Value LINK_TRAP (\S+) +Value POE (\S+(\s+\S+\s+\S+)?) + +Start + ^\s+STP\s+Admin\s+(Physical\s+){2}\s*(Link\s*){2}\s*$$ + ^\s*Pr\s+Type\s+Stat\s+(Mode\s+){2}\s*(Status\s+){2}\s*Trap\s+POE\s*$$ + # + # Port Status and Modes (after the dashed line) + ^\s*[-\s]+$$ -> Port_Status + ^\s*$$ + ^. -> Error + +Port_Status + ^\s*${PORT}\s+${TYPE}\s+${STP_STATUS}\s+${ADMIN_MODE}\s+${PHYSICAL_MODE}\s+${PHYSICAL_STATUS}\s+${LINK_STATUS}\s+${LINK_TRAP}\s+${POE}\s*$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm b/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm new file mode 100644 index 0000000000..4211c9195c --- /dev/null +++ b/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm @@ -0,0 +1,30 @@ +Value Required PORT (\d) +Value LINK_STATUS (\S+) +Value PACKETS_IN (\d+) +Value PACKETS_OUT (\d+) +Value BROADCAST_IN (\d+) +Value ERRORS_IN (\d+) +Value ERRORS_OUT (\d+) +Value COLLISIONS (\d+) +Value Fillup TOTAL_PACKETS_IN (\d+) +Value Fillup TOTAL_PACKETS_OUT (\d+) +Value Fillup TOTAL_BROADCAST_IN (\d+) +Value Fillup TOTAL_ERRORS_IN (\d+) +Value Fillup TOTAL_ERRORS_OUT (\d+) +Value Fillup TOTAL_COLLISIONS (\d+) + +Start + ^\s+Link\s+(Pkts In\s+){2}\s*Pkts Out\s*$$ + ^\s*Pr\s+Status\s+(Pkts (In|Out)\s+){2}\s*Bcast\s+(?:Errors\s+){2}\s*Collisions\s*$$ -> Port_Stats + # + # Port Statistics (after the dashed line) + #^\s*[-\s]+$$ -> Port_Stats + ^\s*$$ + ^. -> Error + +Port_Stats + ^-+ + ^\s*${PORT}\s+${LINK_STATUS}\s+${PACKETS_IN}\s+${PACKETS_OUT}\s+${BROADCAST_IN}\s+${ERRORS_IN}\s+${ERRORS_OUT}\s+${COLLISIONS}\s*$$ -> Record + ^\s*Total\s+${TOTAL_PACKETS_IN}\s+${TOTAL_PACKETS_OUT}\s+${TOTAL_BROADCAST_IN}\s+${TOTAL_ERRORS_IN}\s+${TOTAL_ERRORS_OUT}\s+${TOTAL_COLLISIONS}\s*$$ + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 4d0a9e52ac..6b8dc82d25 100644 --- a/templates/index +++ b/templates/index @@ -311,6 +311,7 @@ cisco_wlc_ssh_show_interface_detailed_id.textfsm, .*, cisco_wlc_ssh, sh[[ow]] in cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_wlc_ssh_show_redundancy_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] su[[mmary]] cisco_wlc_ssh_show_rf-profile_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] rf-[[profile]] s[[ummary]] +cisco_wlc_ssh_show_stats_port_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] st[[ats]] p[[ort]] s[[ummary]] cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con[[fig]] ge[[neral]] cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_redundancy_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] d[[etail]] @@ -319,6 +320,7 @@ cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_image_all.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap ima[[ge]] a[[ll]] cisco_wlc_ssh_show_mobility_sum.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] su[[mmary]] +cisco_wlc_ssh_show_port_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] por[[t]] s[[ummary]] cisco_wlc_ssh_show_band-select.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ba[[nd-select]] cisco_wlc_ssh_show_ap_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap sum[[mary]] cisco_wlc_ssh_show_inventory.textfsm, .*, cisco_wlc_ssh, sh[[ow]] inve[[ntory]] diff --git a/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.raw b/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.raw new file mode 100644 index 0000000000..3d6f5dc549 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.raw @@ -0,0 +1,11 @@ + + STP Admin Physical Physical Link Link +Pr Type Stat Mode Mode Status Status Trap POE +-- ------- ---- ------- ---------- ---------- ------ ------- --------- +1 Normal Forw Enable Auto 1000 Full Up Enable N/A +2 Normal Disa Disable Auto Auto Down Enable N/A +3 Normal Disa Disable Auto Auto Down Enable Disable +4 Normal Forw Enable Auto 1000 Full Up Enable Enable (Power Off) +5 Normal Disa Enable Auto Auto Down Enable N/A +RP Normal Forw Enable Auto Auto Up Enable N/A +SP Normal Disa Enable Auto Auto Down Enable N/A diff --git a/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.yml b/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.yml new file mode 100644 index 0000000000..26a20588ac --- /dev/null +++ b/tests/cisco_wlc_ssh/show_port_summary/cisco_wlc_ssh_show_port_summary.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - port: "1" + type: "Normal" + stp_status: "Forw" + admin_mode: "Enable" + physical_mode: "Auto" + physical_status: "1000 Full" + link_status: "Up" + link_trap: "Enable" + poe: "N/A" + - port: "2" + type: "Normal" + stp_status: "Disa" + admin_mode: "Disable" + physical_mode: "Auto" + physical_status: "Auto" + link_status: "Down" + link_trap: "Enable" + poe: "N/A" + - port: "3" + type: "Normal" + stp_status: "Disa" + admin_mode: "Disable" + physical_mode: "Auto" + physical_status: "Auto" + link_status: "Down" + link_trap: "Enable" + poe: "Disable" + - port: "4" + type: "Normal" + stp_status: "Forw" + admin_mode: "Enable" + physical_mode: "Auto" + physical_status: "1000 Full" + link_status: "Up" + link_trap: "Enable" + poe: "Enable (Power Off)" + - port: "5" + type: "Normal" + stp_status: "Disa" + admin_mode: "Enable" + physical_mode: "Auto" + physical_status: "Auto" + link_status: "Down" + link_trap: "Enable" + poe: "N/A" + - port: "RP" + type: "Normal" + stp_status: "Forw" + admin_mode: "Enable" + physical_mode: "Auto" + physical_status: "Auto" + link_status: "Up" + link_trap: "Enable" + poe: "N/A" + - port: "SP" + type: "Normal" + stp_status: "Disa" + admin_mode: "Enable" + physical_mode: "Auto" + physical_status: "Auto" + link_status: "Down" + link_trap: "Enable" + poe: "N/A" diff --git a/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.raw b/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.raw new file mode 100644 index 0000000000..0ba4acca08 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.raw @@ -0,0 +1,9 @@ + Link Pkts In Pkts In Pkts Out +Pr Status Pkts In Pkts Out Bcast Errors Errors Collisions +-- ------ ------- ------- ------- ------- ------- ---------- +1 Up 2364509905 2472568024 66473417 0 0 0 +2 Down 0 0 0 0 0 0 +3 Down 0 0 0 0 0 0 +4 Up 335582045 124686415 3515026 0 0 0 +5 Down 0 0 0 0 0 0 + Total 2700091950 2597254439 69988443 0 0 0 diff --git a/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.yml b/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.yml new file mode 100644 index 0000000000..3b2b34b6f8 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_stats_port_summary/cisco_wlc_ssh_show_stats_port_summary.yml @@ -0,0 +1,72 @@ +--- +parsed_sample: + - port: "1" + link_status: "Up" + packets_in: "2364509905" + packets_out: "2472568024" + broadcast_in: "66473417" + errors_in: "0" + errors_out: "0" + collisions: "0" + total_packets_in: "2700091950" + total_packets_out: "2597254439" + total_broadcast_in: "69988443" + total_errors_in: "0" + total_errors_out: "0" + total_collisions: "0" + - port: "2" + link_status: "Down" + packets_in: "0" + packets_out: "0" + broadcast_in: "0" + errors_in: "0" + errors_out: "0" + collisions: "0" + total_packets_in: "2700091950" + total_packets_out: "2597254439" + total_broadcast_in: "69988443" + total_errors_in: "0" + total_errors_out: "0" + total_collisions: "0" + - port: "3" + link_status: "Down" + packets_in: "0" + packets_out: "0" + broadcast_in: "0" + errors_in: "0" + errors_out: "0" + collisions: "0" + total_packets_in: "2700091950" + total_packets_out: "2597254439" + total_broadcast_in: "69988443" + total_errors_in: "0" + total_errors_out: "0" + total_collisions: "0" + - port: "4" + link_status: "Up" + packets_in: "335582045" + packets_out: "124686415" + broadcast_in: "3515026" + errors_in: "0" + errors_out: "0" + collisions: "0" + total_packets_in: "2700091950" + total_packets_out: "2597254439" + total_broadcast_in: "69988443" + total_errors_in: "0" + total_errors_out: "0" + total_collisions: "0" + - port: "5" + link_status: "Down" + packets_in: "0" + packets_out: "0" + broadcast_in: "0" + errors_in: "0" + errors_out: "0" + collisions: "0" + total_packets_in: "2700091950" + total_packets_out: "2597254439" + total_broadcast_in: "69988443" + total_errors_in: "0" + total_errors_out: "0" + total_collisions: "0" From cd0130e7b630fefabc796caf61a017f5371033c6 Mon Sep 17 00:00:00 2001 From: Michael Bear <38406045+mjbear@users.noreply.github.com> Date: Tue, 2 Feb 2021 21:23:13 -0500 Subject: [PATCH 549/628] New templates: cisco_wlc_ssh_show_radius/tacacs_summary.textfsm (#855) --- .../cisco_wlc_ssh_show_radius_summary.textfsm | 61 +++++++++++ .../cisco_wlc_ssh_show_tacacs_summary.textfsm | 45 ++++++++ templates/index | 2 + .../cisco_wlc_ssh_show_radius_summary.raw | 29 +++++ .../cisco_wlc_ssh_show_radius_summary.yml | 102 ++++++++++++++++++ .../cisco_wlc_ssh_show_tacacs_summary.raw | 26 +++++ .../cisco_wlc_ssh_show_tacacs_summary.yml | 83 ++++++++++++++ 7 files changed, 348 insertions(+) create mode 100644 templates/cisco_wlc_ssh_show_radius_summary.textfsm create mode 100644 templates/cisco_wlc_ssh_show_tacacs_summary.textfsm create mode 100644 tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.yml create mode 100644 tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.raw create mode 100644 tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.yml diff --git a/templates/cisco_wlc_ssh_show_radius_summary.textfsm b/templates/cisco_wlc_ssh_show_radius_summary.textfsm new file mode 100644 index 0000000000..4554182556 --- /dev/null +++ b/templates/cisco_wlc_ssh_show_radius_summary.textfsm @@ -0,0 +1,61 @@ +Value Filldown VENDOR_ID_BACKWARD_COMPAT (\S+) +Value Filldown CALL_STATION_ID_CASE (\S+) +Value Filldown ACCOUNTING_CALL_STATION_ID_TYPE (.+) +Value Filldown AUTHENTICATION_CALL_STATION_ID_TYPE (.+) +Value Filldown EXTENDED_SOURCE_PORTS_SUPPORT (\S+) +Value Filldown AGGRESSIVE_FAILOVER (\S+) +Value Filldown KEYWRAP (\S+) +Value Filldown FALLBACK_TEST_MODE (\S+) +Value Filldown FALLBACK_TEST_USERNAME (.+) +Value Filldown FALLBACK_TEST_INTERVAL (\d+) +Value Filldown MAC_DELIM_AUTHENTICATION_MSG (\S+) +Value Filldown MAC_DELIM_ACCOUNTING_MSG (\S+) +Value Filldown AUTHENTICATION_FRAMED_MTU (\d+) +Value Required INDEX (\d+) +Value AUTHENTICATION_ADDR (\S+) +Value ACCOUNTING_ADDR (\S+) +Value TYPE (\S+) +Value PORT (\d+) +Value STATE (\S+) +Value TIMEOUT (\d+) +Value MGMT_TIMEOUT (\d+) +Value RFC3576 (\S+) +Value IPSEC_STATE (\S+) +Value IPSEC_PROFILE (\S+) +Value IPSEC_REGION (\S+) + +Start + ^\s*Vendor Id Backward Compatibility\s*\.+\s+${VENDOR_ID_BACKWARD_COMPAT}\s*$$ + ^\s*Call Station I[dD] Case\s*\.+\s+${CALL_STATION_ID_CASE}\s*$$ + ^\s*Accounting Call Station I[dD] Type\s*\.+\s+${ACCOUNTING_CALL_STATION_ID_TYPE}\s*$$ + ^\s*Auth Call Station I[dD] Type\s*\.+\s+${AUTHENTICATION_CALL_STATION_ID_TYPE}\s*$$ + ^\s*Extended Source Ports Support\s*\.+\s+${EXTENDED_SOURCE_PORTS_SUPPORT}\s*$$ + ^\s*Aggressive Failover\s*\.+\s+${AGGRESSIVE_FAILOVER}\s*$$ + ^\s*Keywrap\s*\.+\s+${KEYWRAP}\s*$$ + ^\s*Fallback Test:\s*$$ + ^\s+Test Mode\s*\.+\s+${FALLBACK_TEST_MODE}\s*$$ + ^\s+Probe User Name\s*\.+\s+${FALLBACK_TEST_USERNAME}\s*$$ + ^\s+Interval \(in seconds\)\.+\s+${FALLBACK_TEST_INTERVAL}\s*$$ + ^\s*MAC Delimiter for Authentication Messages\s*\.+\s+${MAC_DELIM_AUTHENTICATION_MSG}\s*$$ + ^\s*MAC Delimiter for Accounting Messages\s*\.+\s+${MAC_DELIM_ACCOUNTING_MSG}\s*$$ + ^\s*RADIUS Authentication Framed-MTU\s*\.+\s+${AUTHENTICATION_FRAMED_MTU}\s[bB]ytes\s*$$ + ^\s*Authentication Servers\s*$$ -> AuthC_Servers + ^\s*Accounting Servers\s*$$ -> Acct_Servers + ^\s*$$ + ^. -> Error + +AuthC_Servers + ^\s*Idx\s+Type\s+Server Address\s+Port\s+State\s+Tout\s+MgmtTout\s+RFC3576\s+IPSec - state\/Profile Name\/RadiusRegionString\s*$$ + ^-+ + ^\s*${INDEX}\s+\*\s+${TYPE}\s+${AUTHENTICATION_ADDR}\s+${PORT}\s+${STATE}\s+${TIMEOUT}\s+${MGMT_TIMEOUT}\s+${RFC3576}\s+${IPSEC_STATE}\s+${IPSEC_PROFILE}\s+\/${IPSEC_REGION}\s*$$ -> Record + ^\s*$$ + ^\s*Accounting Servers\s*$$ -> Acct_Servers + ^. -> Error + +Acct_Servers + ^\s*Idx\s+Type\s+Server Address\s+Port\s+State\s+Tout\s+MgmtTout\s+RFC3576\s+IPSec - state\/Profile Name\/RadiusRegionString\s*$$ + ^-+ + ^\s*${INDEX}\s+\*\s+${TYPE}\s+${ACCOUNTING_ADDR}\s+${PORT}\s+${STATE}\s+${TIMEOUT}\s+${MGMT_TIMEOUT}\s+${RFC3576}\s+${IPSEC_STATE}\s+${IPSEC_PROFILE}\s+\/${IPSEC_REGION}\s*$$ -> Record + ^\s*Authentication Servers\s*$$ -> AuthC_Servers + ^\s*$$ + ^. -> Error diff --git a/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm b/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm new file mode 100644 index 0000000000..1e3510c16e --- /dev/null +++ b/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm @@ -0,0 +1,45 @@ +Value Filldown FALLBACK_TEST_INTERVAL (\d+) +Value Required INDEX (\d+) +Value AUTHENTICATION_ADDR (\S+) +Value AUTHORIZATION_ADDR (\S+) +Value ACCOUNTING_ADDR (\S+) +Value PORT (\d+) +Value STATE (\S+) +Value TIMEOUT (\d+) +Value MGMT_TIMEOUT (\d+) + +Start + ^\s*Fallback Test:\s*$$ + ^\s+Interval \(in seconds\)\s*\.+\s+${FALLBACK_TEST_INTERVAL}\s*$$ + ^\s*Authentication Servers\s*$$ -> AuthC_Servers + ^\s*Authorization Servers\s*$$ -> AuthZ_Servers + ^\s*Accounting Servers\s*$$ -> Acct_Servers + ^\s*$$ + ^. -> Error + +AuthC_Servers + ^\s*Idx\s+Server Address\s+Port\s+State\s+Tout\s+MgmtTout\s*$$ + ^-+ + ^\s*${INDEX}\s+${AUTHENTICATION_ADDR}\s+${PORT}\s+${STATE}\s+${TIMEOUT}\s+${MGMT_TIMEOUT}\s*$$ -> Record + ^\s*Authorization Servers\s*$$ -> AuthZ_Servers + ^\s*Accounting Servers\s*$$ -> Acct_Servers + ^\s*$$ + ^. -> Error + +AuthZ_Servers + ^\s*Idx\s+Server Address\s+Port\s+State\s+Tout\s+MgmtTout\s*$$ + ^-+ + ^\s*${INDEX}\s+${AUTHORIZATION_ADDR}\s+${PORT}\s+${STATE}\s+${TIMEOUT}\s+${MGMT_TIMEOUT}\s*$$ -> Record + ^\s*Authentication Servers\s*$$ -> AuthC_Servers + ^\s*Accounting Servers\s*$$ -> Acct_Servers + ^\s*$$ + ^. -> Error + +Acct_Servers + ^\s*Idx\s+Server Address\s+Port\s+State\s+Tout\s+MgmtTout\s*$$ + ^-+ + ^\s*${INDEX}\s+${ACCOUNTING_ADDR}\s+${PORT}\s+${STATE}\s+${TIMEOUT}\s+${MGMT_TIMEOUT}\s*$$ -> Record + ^\s*Authentication Servers\s*$$ -> AuthC_Servers + ^\s*Authorization Servers\s*$$ -> AuthZ_Servers + ^\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index 6b8dc82d25..7158d280a8 100644 --- a/templates/index +++ b/templates/index @@ -316,6 +316,8 @@ cisco_wlc_ssh_show_ap_config_general.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap con cisco_wlc_ssh_show_interface_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] int[[erface]] s[[ummary]] cisco_wlc_ssh_show_redundancy_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] red[[undancy]] d[[etail]] cisco_wlc_ssh_show_mobility_anchor.textfsm, .*, cisco_wlc_ssh, sh[[ow]] mo[[bility]] an[[chor]] +cisco_wlc_ssh_show_radius_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ra[[dius]] s[[ummary]] +cisco_wlc_ssh_show_tacacs_summary.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ta[[cacs]] s[[ummary]] cisco_wlc_ssh_show_client_detail.textfsm, .*, cisco_wlc_ssh, sh[[ow]] cl[[ient]] det[[ail]] cisco_wlc_ssh_show_exclusionlist.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ex[[clusionlist]] cisco_wlc_ssh_show_ap_image_all.textfsm, .*, cisco_wlc_ssh, sh[[ow]] ap ima[[ge]] a[[ll]] diff --git a/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.raw b/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.raw new file mode 100644 index 0000000000..4b85b8d66d --- /dev/null +++ b/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.raw @@ -0,0 +1,29 @@ + +Vendor Id Backward Compatibility................. Disabled +Call Station Id Case............................. lower +Accounting Call Station Id Type.................. Mac Address +Auth Call Station Id Type........................ AP's Radio MAC Address:SSID +Extended Source Ports Support.................... Enabled +Aggressive Failover.............................. Disabled +Keywrap.......................................... Disabled +Fallback Test: + Test Mode.................................... Passive + Probe User Name.............................. cisco-probe + Interval (in seconds)........................ 300 +MAC Delimiter for Authentication Messages........ hyphen +MAC Delimiter for Accounting Messages............ hyphen +RADIUS Authentication Framed-MTU................. 1300 Bytes + +Authentication Servers + +Idx Type Server Address Port State Tout MgmtTout RFC3576 IPSec - state/Profile Name/RadiusRegionString +--- ---- ---------------- ------ -------- ---- -------- ------- ------------------------------------------------------- +3 * NM 10.255.255.24 1812 Enabled 5 5 Disabled Disabled - /none +4 * NM 10.255.255.25 1812 Enabled 5 5 Disabled Disabled - /none + +Accounting Servers + +Idx Type Server Address Port State Tout MgmtTout RFC3576 IPSec - state/Profile Name/RadiusRegionString +--- ---- ---------------- ------ -------- ---- -------- ------- ------------------------------------------------------- +3 * N 10.255.255.26 1813 Enabled 5 5 N/A Disabled - /none +4 * N 10.255.255.27 1813 Enabled 5 5 N/A Disabled - /none diff --git a/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.yml b/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.yml new file mode 100644 index 0000000000..728c5eb13b --- /dev/null +++ b/tests/cisco_wlc_ssh/show_radius_summary/cisco_wlc_ssh_show_radius_summary.yml @@ -0,0 +1,102 @@ +--- +parsed_sample: + - vendor_id_backward_compat: "Disabled" + call_station_id_case: "lower" + accounting_call_station_id_type: "Mac Address" + authentication_call_station_id_type: "AP's Radio MAC Address:SSID" + extended_source_ports_support: "Enabled" + aggressive_failover: "Disabled" + keywrap: "Disabled" + fallback_test_mode: "Passive" + fallback_test_username: "cisco-probe" + fallback_test_interval: "300" + mac_delim_authentication_msg: "hyphen" + mac_delim_accounting_msg: "hyphen" + authentication_framed_mtu: "1300" + index: "3" + authentication_addr: "10.255.255.24" + accounting_addr: "" + type: "NM" + port: "1812" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + rfc3576: "Disabled" + ipsec_state: "Disabled" + ipsec_profile: "-" + ipsec_region: "none" + - vendor_id_backward_compat: "Disabled" + call_station_id_case: "lower" + accounting_call_station_id_type: "Mac Address" + authentication_call_station_id_type: "AP's Radio MAC Address:SSID" + extended_source_ports_support: "Enabled" + aggressive_failover: "Disabled" + keywrap: "Disabled" + fallback_test_mode: "Passive" + fallback_test_username: "cisco-probe" + fallback_test_interval: "300" + mac_delim_authentication_msg: "hyphen" + mac_delim_accounting_msg: "hyphen" + authentication_framed_mtu: "1300" + index: "4" + authentication_addr: "10.255.255.25" + accounting_addr: "" + type: "NM" + port: "1812" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + rfc3576: "Disabled" + ipsec_state: "Disabled" + ipsec_profile: "-" + ipsec_region: "none" + - vendor_id_backward_compat: "Disabled" + call_station_id_case: "lower" + accounting_call_station_id_type: "Mac Address" + authentication_call_station_id_type: "AP's Radio MAC Address:SSID" + extended_source_ports_support: "Enabled" + aggressive_failover: "Disabled" + keywrap: "Disabled" + fallback_test_mode: "Passive" + fallback_test_username: "cisco-probe" + fallback_test_interval: "300" + mac_delim_authentication_msg: "hyphen" + mac_delim_accounting_msg: "hyphen" + authentication_framed_mtu: "1300" + index: "3" + authentication_addr: "" + accounting_addr: "10.255.255.26" + type: "N" + port: "1813" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + rfc3576: "N/A" + ipsec_state: "Disabled" + ipsec_profile: "-" + ipsec_region: "none" + - vendor_id_backward_compat: "Disabled" + call_station_id_case: "lower" + accounting_call_station_id_type: "Mac Address" + authentication_call_station_id_type: "AP's Radio MAC Address:SSID" + extended_source_ports_support: "Enabled" + aggressive_failover: "Disabled" + keywrap: "Disabled" + fallback_test_mode: "Passive" + fallback_test_username: "cisco-probe" + fallback_test_interval: "300" + mac_delim_authentication_msg: "hyphen" + mac_delim_accounting_msg: "hyphen" + authentication_framed_mtu: "1300" + index: "4" + authentication_addr: "" + accounting_addr: "10.255.255.27" + type: "N" + port: "1813" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + rfc3576: "N/A" + ipsec_state: "Disabled" + ipsec_profile: "-" + ipsec_region: "none" diff --git a/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.raw b/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.raw new file mode 100644 index 0000000000..00ed483d91 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.raw @@ -0,0 +1,26 @@ + +Fallback Test: + Interval (in seconds)........................ 0 +Authentication Servers + +Idx Server Address Port State Tout MgmtTout +--- ---------------------- ------ ------- ----- -------- +1 10.255.255.24 49 Enabled 5 5 +2 10.255.255.25 49 Enabled 5 5 +3 10.255.255.124 49 Enabled 5 5 + +Authorization Servers + +Idx Server Address Port State Tout MgmtTout +--- ---------------------- ------ ------- ----- -------- +1 10.255.255.26 49 Enabled 5 5 +2 10.255.255.27 49 Enabled 5 5 +3 10.255.255.126 49 Enabled 5 5 + +Accounting Servers + +Idx Server Address Port State Tout MgmtTout +--- ---------------------- ------ ------- ----- -------- +1 10.255.255.28 49 Enabled 5 5 +2 10.255.255.29 49 Enabled 5 5 +3 10.255.255.128 49 Enabled 5 5 diff --git a/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.yml b/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.yml new file mode 100644 index 0000000000..140c6b3357 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_tacacs_summary/cisco_wlc_ssh_show_tacacs_summary.yml @@ -0,0 +1,83 @@ +--- +parsed_sample: + - fallback_test_interval: "0" + index: "1" + authentication_addr: "10.255.255.24" + authorization_addr: "" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "2" + authentication_addr: "10.255.255.25" + authorization_addr: "" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "3" + authentication_addr: "10.255.255.124" + authorization_addr: "" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "1" + authentication_addr: "" + authorization_addr: "10.255.255.26" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "2" + authentication_addr: "" + authorization_addr: "10.255.255.27" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "3" + authentication_addr: "" + authorization_addr: "10.255.255.126" + accounting_addr: "" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "1" + authentication_addr: "" + authorization_addr: "" + accounting_addr: "10.255.255.28" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "2" + authentication_addr: "" + authorization_addr: "" + accounting_addr: "10.255.255.29" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" + - fallback_test_interval: "0" + index: "3" + authentication_addr: "" + authorization_addr: "" + accounting_addr: "10.255.255.128" + port: "49" + state: "Enabled" + timeout: "5" + mgmt_timeout: "5" From 3241a99e84cda9431812c4313e205a4834706c16 Mon Sep 17 00:00:00 2001 From: Akira Yokochi Date: Wed, 3 Feb 2021 23:44:31 +0900 Subject: [PATCH 550/628] New templates: yamaha_show_environment, yamaha_show_ip_route (#865) --- templates/index | 3 + templates/yamaha_show_environment.textfsm | 36 +++++++++++ templates/yamaha_show_ip_route.textfsm | 17 +++++ tests/test_index_order.py | 1 + .../yamaha_show_environment.raw | 13 ++++ .../yamaha_show_environment.yml | 20 ++++++ .../show_ip_route/yamaha_show_ip_route.raw | 11 ++++ .../show_ip_route/yamaha_show_ip_route.yml | 62 +++++++++++++++++++ 8 files changed, 163 insertions(+) create mode 100644 templates/yamaha_show_environment.textfsm create mode 100644 templates/yamaha_show_ip_route.textfsm create mode 100644 tests/yamaha/show_environment/yamaha_show_environment.raw create mode 100644 tests/yamaha/show_environment/yamaha_show_environment.yml create mode 100644 tests/yamaha/show_ip_route/yamaha_show_ip_route.raw create mode 100644 tests/yamaha/show_ip_route/yamaha_show_ip_route.yml diff --git a/templates/index b/templates/index index 7158d280a8..b747be8aef 100644 --- a/templates/index +++ b/templates/index @@ -458,3 +458,6 @@ vyatta_vyos_show_interfaces.textfsm, .*, .*vyos.*, sh[[ow]] int[[erfaces]] vyatta_vyos_show_arp.textfsm, .*, .*vyos.*, sh[[ow]] a[[rp]] watchguard_firebox_show_arp.textfsm, .*, watchguard_firebox, sh[[ow]] arp + +yamaha_show_environment.textfsm, .*, yamaha, sh[[ow]] en[[vironment]] +yamaha_show_ip_route.textfsm, .*, yamaha, sh[[ow]] ip ro[[ute]] diff --git a/templates/yamaha_show_environment.textfsm b/templates/yamaha_show_environment.textfsm new file mode 100644 index 0000000000..fb3700b89e --- /dev/null +++ b/templates/yamaha_show_environment.textfsm @@ -0,0 +1,36 @@ +# You need to set "console character ascci". +Value BOOTROM (\S+) +Value VERSION (\S+) +Value SERIAL (\w+) +Value CPU_5_SEC (\d+) +Value CPU_1_MIN (\d+) +Value CPU_5_MIN (\d+) +Value MEMORY_USED (\d+) +Value FIRMWARE (\S+) +Value CONFIG_FILE (\S+) +Value DEFAULT_FIRMWARE (\S+) +Value DEFAULT_CONFIG_FILE (\S+) +Value BOOT_TIME (.+) +Value CURRENT_TIME (.+) +Value ELASPED_TIME (.+) +Value SECURITY_CLASS ([1-3]) +Value FORGET (ON|OFF) +Value TELNET (ON|OFF) +Value INSIDE_TEMPERATURE (\d+) + +Start + ^.+\sBootROM\sVer\.${BOOTROM} + ^.+\s+Rev\.${VERSION}\s+\(.+\) + ^\s+main:.+serial=${SERIAL}\s+MAC-Address.+ + ^.+=([a-f0-9:]{17}) + ^CPU:\s+${CPU_5_SEC}%\(5sec\)\s+${CPU_1_MIN}%\(1min\)\s+${CPU_5_MIN}%\(5min\)\s+Memory:\s+${MEMORY_USED}%\s+used + ^Packet-buffer:.+ + ^Firmware:\s${FIRMWARE}\s+Config\.\sfile:\s+${CONFIG_FILE} + ^Default\sfirmware:\s${DEFAULT_FIRMWARE}\s+Default\sconfig\.\sfile:\s${DEFAULT_CONFIG_FILE} + ^Boot\stime:\s+${BOOT_TIME} + ^Current\stime:\s+${CURRENT_TIME} + ^Elapsed\stime\sfrom\sboot:\s+${ELASPED_TIME} + ^Security\sClass:\s+${SECURITY_CLASS},\s+FORGET:\s+${FORGET},\s+TELNET:\s+${TELNET} + ^Inside\sTemperature\(C\.\):\s+${INSIDE_TEMPERATURE} + ^\s*$$ + ^. -> Error diff --git a/templates/yamaha_show_ip_route.textfsm b/templates/yamaha_show_ip_route.textfsm new file mode 100644 index 0000000000..6b8fa26776 --- /dev/null +++ b/templates/yamaha_show_ip_route.textfsm @@ -0,0 +1,17 @@ +# You need to set "console character ascci". +Value NETWORK (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|default) +Value MASK (\d{1,2}) +Value NEXTHOP_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|-) +Value NEXTHOP_IF (\S+) +Value PROTOCOL (\S+) +Value ADDITIONAL_INFO (\S*) + +Start + ^Destination\s+Gateway\s+Interface\s+Kind\s+Additional\s+Info -> Routes + +Routes + ^${NETWORK}(/${MASK})?\s+${NEXTHOP_IP}\s+${NEXTHOP_IF}\s+${PROTOCOL}\s+${ADDITIONAL_INFO} -> Record + ^\s*$$ + ^. -> Error + +EOF diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 5c38116c8d..5e26092630 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -55,6 +55,7 @@ "vyatta_vyos", "vyos", "watchguard_firebox", + "yamaha", ] RE_TEMPLATE_OS = re.compile("^(" + "|".join(OS_CHOICES) + ")") diff --git a/tests/yamaha/show_environment/yamaha_show_environment.raw b/tests/yamaha/show_environment/yamaha_show_environment.raw new file mode 100644 index 0000000000..9e4dd435d9 --- /dev/null +++ b/tests/yamaha/show_environment/yamaha_show_environment.raw @@ -0,0 +1,13 @@ +RTX1200 BootROM Ver.1.01 +RTX1200 Rev.10.01.71 (Thu Sep 29 15:08:40 2016) + main: RTX1200 ver=c0 serial=D12345678 MAC-Address=00:a0:de:aa:bb:11 MAC-Addr +ess=00:a0:de:aa:bb:22 MAC-Address=00:a0:de:aa:bb:33 +CPU: 1%(5sec) 2%(1min) 3%(5min) Memory: 24% used +Packet-buffer: 0%(small) 0%(middle) 5%(large) 0%(huge) used +Firmware: exec1 Config. file: config1 +Default firmware: exec0 Default config. file: config0 +Boot time: 2021/01/24 12:32:36 +09:00 +Current time: 2021/01/30 09:44:53 +09:00 +Elapsed time from boot: 5days 21:12:17 +Security Class: 1, FORGET: ON, TELNET: OFF +Inside Temperature(C.): 36 \ No newline at end of file diff --git a/tests/yamaha/show_environment/yamaha_show_environment.yml b/tests/yamaha/show_environment/yamaha_show_environment.yml new file mode 100644 index 0000000000..52442d5ffa --- /dev/null +++ b/tests/yamaha/show_environment/yamaha_show_environment.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - bootrom: "1.01" + version: "10.01.71" + serial: "D12345678" + cpu_5_sec: "1" + cpu_1_min: "2" + cpu_5_min: "3" + memory_used: "24" + firmware: "exec1" + config_file: "config1" + default_firmware: "exec0" + default_config_file: "config0" + boot_time: "2021/01/24 12:32:36 +09:00" + current_time: "2021/01/30 09:44:53 +09:00" + elasped_time: "5days 21:12:17" + security_class: "1" + forget: "ON" + telnet: "OFF" + inside_temperature: "36" diff --git a/tests/yamaha/show_ip_route/yamaha_show_ip_route.raw b/tests/yamaha/show_ip_route/yamaha_show_ip_route.raw new file mode 100644 index 0000000000..0c49bc5f93 --- /dev/null +++ b/tests/yamaha/show_ip_route/yamaha_show_ip_route.raw @@ -0,0 +1,11 @@ +Destination Gateway Interface Kind Additional Info. +default - PP[01] static +10.0.0.0/8 192.168.1.254 LAN2 static k(1) +10.0.0.0/8 192.168.1.253 LAN2 static w(0) +10.1.0.0/24 192.168.1.253 LAN2 OSPF cost=2 +10.2.0.0/24 192.168.1.252 LAN2 OSPF cost=2 +203.0.113.2/32 - PP[01] implicit +169.254.1.1/30 - TUNNEL[1] implicit +192.168.1.0/24 192.168.1.8 LAN2 implicit +192.168.100.0/24 192.168.100.1 LAN1 implicit +203.0.113.1/32 - PP[01] temporary \ No newline at end of file diff --git a/tests/yamaha/show_ip_route/yamaha_show_ip_route.yml b/tests/yamaha/show_ip_route/yamaha_show_ip_route.yml new file mode 100644 index 0000000000..f8262e0577 --- /dev/null +++ b/tests/yamaha/show_ip_route/yamaha_show_ip_route.yml @@ -0,0 +1,62 @@ +--- +parsed_sample: + - network: "default" + mask: "" + nexthop_ip: "-" + nexthop_if: "PP[01]" + protocol: "static" + additional_info: "" + - network: "10.0.0.0" + mask: "8" + nexthop_ip: "192.168.1.254" + nexthop_if: "LAN2" + protocol: "static" + additional_info: "k(1)" + - network: "10.0.0.0" + mask: "8" + nexthop_ip: "192.168.1.253" + nexthop_if: "LAN2" + protocol: "static" + additional_info: "w(0)" + - network: "10.1.0.0" + mask: "24" + nexthop_ip: "192.168.1.253" + nexthop_if: "LAN2" + protocol: "OSPF" + additional_info: "cost=2" + - network: "10.2.0.0" + mask: "24" + nexthop_ip: "192.168.1.252" + nexthop_if: "LAN2" + protocol: "OSPF" + additional_info: "cost=2" + - network: "203.0.113.2" + mask: "32" + nexthop_ip: "-" + nexthop_if: "PP[01]" + protocol: "implicit" + additional_info: "" + - network: "169.254.1.1" + mask: "30" + nexthop_ip: "-" + nexthop_if: "TUNNEL[1]" + protocol: "implicit" + additional_info: "" + - network: "192.168.1.0" + mask: "24" + nexthop_ip: "192.168.1.8" + nexthop_if: "LAN2" + protocol: "implicit" + additional_info: "" + - network: "192.168.100.0" + mask: "24" + nexthop_ip: "192.168.100.1" + nexthop_if: "LAN1" + protocol: "implicit" + additional_info: "" + - network: "203.0.113.1" + mask: "32" + nexthop_ip: "-" + nexthop_if: "PP[01]" + protocol: "temporary" + additional_info: "" From 9c031c3e2e0b7e7dabfcc6423e90f28956a8e6db Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Fri, 26 Feb 2021 10:15:57 -0600 Subject: [PATCH 551/628] Update readme (#868) --- README.md | 64 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 4911e04987..ed0be86f45 100644 --- a/README.md +++ b/README.md @@ -286,7 +286,7 @@ A cli utility is provided to assist with properly building the parsed files. Thi The `-c` and `-cd` arguments use `lib.ntc_templates.parse.parse_output()` to generate the parsed data; this means that you can use these arguments to auto-generate the test `.yml` file(s) for new templates; just be sure that the template's parsing behavior meets expectations. In order for the data to be parsed, the template must be placed in `templates/` and the `templates/index` file must be updated to correctly point to the template file(s). ```bash -$ /development_scripts.py -yd tests/cisco_ios/show_mac-address-table +$ ./development_scripts.py -yd tests/cisco_ios/show_mac-address-table tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml @@ -314,37 +314,47 @@ To add additional raw/parsed tests for a command: * New parsed: `./tests/cisco_ios/show_version/cisco_ios_show_version_stack_platforms.yml` #### Testing -You can test your changes locally within your Git branch before submitting a PR. If you do not have **tox** already installed, you can do that using pip or your systems package manager. Tox should be ran inside the **ntc-templates** root directory. The tox file is configured to run against python3.6, so either python3.6 needs to be available, or the tox.ini file will need to be updated with an available Python version. +You can test your changes locally within your Git branch before submitting a PR. If you do not have **tox** already installed, you can do that using pip or your systems package manager. Tox should be ran inside the **ntc-templates** root directory. The tox file is configured to run against python3.6,python3.7, and python3.8, if none/some of those python versions are unavailable **tox** will skip them. The tox.ini file can be updated with an available Python version. ```bash $ tox -GLOB sdist-make: /home/admin/ntc-templates/setup.py -py36 inst-nodeps: /home/admin/ntc-templates/.tox/dist/ntc_templates-1.3.0.zip -py36 installed: appdirs==1.4.3,atomicwrites==1.3.0,attrs==19.3.0,black==19.10b0,Click==7.0,future==0.18.2,importlib-metadata==0.23,more-itertools==7.2.0,ntc-templates==1.3.0,packaging==19.2,pathspec==0.6.0,pluggy==0.13.0,py==1.8.0,pyparsing==2.4.5,pytest==5.2.4,PyYAML==5.1.2,regex==2019.11.1,six==1.13.0,terminal==0.4.0,textfsm==1.1.0,toml==0.10.0,typed-ast==1.4.0,wcwidth==0.1.7,yamllint==1.18.0,zipp==0.6.0 -py36 runtests: PYTHONHASHSEED='3677750645' -py36 runtests: commands[0] | black ./ --diff --check +GLOB sdist-make: /home/travis/build/networktocode/ntc-templates/setup.py +py36 create: /home/travis/build/networktocode/ntc-templates/.tox/py36 +py36 inst: /home/travis/build/networktocode/ntc-templates/.tox/.tmp/package/1/ntc_templates-1.6.0.zip +py36 installed: appdirs==1.4.4,attrs==20.3.0,black==20.8b1,click==7.1.2,dataclasses==0.8,future==0.18.2,importlib-metadata==3.7.0,iniconfig==1.1.1,mypy-extensions==0.4.3,ntc-templates==1.6.0,packaging==20.9,pathspec==0.8.1,pluggy==0.13.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.2,PyYAML==5.4.1,regex==2020.11.13,ruamel.yaml==0.16.12,ruamel.yaml.clib==0.2.2,six==1.15.0,textfsm==1.1.0,toml==0.10.2,typed-ast==1.4.2,typing-extensions==3.7.4.3,yamllint==1.26.0,zipp==3.4.0 +py36 run-test-pre: PYTHONHASHSEED='4147443973' +py36 run-test: commands[0] | black ./ --diff --check All done! ✨ 🍰 ✨ -8 files would be left unchanged. -py36 runtests: commands[1] | yamllint tests/ -py36 runtests: commands[2] | pytest -vv -================================================================ test session starts ================================================================= -platform linux -- Python 3.6.8, pytest-5.2.4, py-1.8.0, pluggy-0.13.0 -- /home/jmcgill/repos/ntc-templates/.tox/py36/bin/python3.6 -cachedir: .pytest_cache -rootdir: /home/jmcgill/repos/ntc-templates -collected 428 items - -tests/test_index_order.py::test_index_ordering PASSED [ 0%] -tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/alcatel_sros/oam_mac-ping/alcatel_sros_oam_mac-ping.raw] PASSED [ 0%] -tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/alcatel_sros/show_service_id_base/alcatel_sros_show_service_id_base.raw] PASSED [ 0%] -tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.raw] PASSED [ 0%] -tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/brocade_fastiron/show_lldp_neighbors/brocade_fastiron_show_lldp_neighbors.raw] PASSED [ 1%] -... -tests/test_structured_data_against_parsed_reference_files.py::test_raw_data_against_mock[tests/cisco_nxos/show_ip_interface_brief/cisco_nxos_show_ip_interface_brief.raw] PASSED [ 99%] -tests/test_testcases_exists.py::test_verify_parsed_and_reference_data_exists PASSED [100%] - -================================================================ 428 passed in 43.84s ================================================================ -______________________________________________________________________ summary _______________________________________________________________________ +9 files would be left unchanged. +py36 run-test: commands[1] | yamllint tests/ +py36 run-test: commands[2] | pytest -vv +============================= test session starts ============================== +platform linux -- Python 3.6.7, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /home/travis/build/networktocode/ntc-templates/.tox/py36/bin/python +cachedir: .tox/py36/.pytest_cache +rootdir: /home/travis/build/networktocode/ntc-templates +collected 1065 items + +tests/test_development_scripts.py::test_ensure_spacing_for_multiline_comment PASSED [ 0%] +tests/test_development_scripts.py::test_ensure_space_after_octothorpe PASSED [ 0%] +tests/test_development_scripts.py::test_ensure_space_comments PASSED [ 0%] +tests/test_development_scripts.py::test_update_yaml_comments PASSED [ 0%] +tests/test_development_scripts.py::test_transform_file PASSED [ 0%] +tests/test_testcases_exists.py::test_verify_parsed_and_reference_data_exists[tests/yamaha/show_environment] PASSED [ 99%] +tests/test_testcases_exists.py::test_verify_parsed_and_reference_data_exists[tests/yamaha/show_ip_route] PASSED [100%] + +============================ 1065 passed in 22.59s ============================= +py37 create: /home/travis/build/networktocode/ntc-templates/.tox/py37 +SKIPPED: InterpreterNotFound: python3.7 +py38 create: /home/travis/build/networktocode/ntc-templates/.tox/py38 +SKIPPED: InterpreterNotFound: python3.8 +___________________________________ summary ____________________________________ py36: commands succeeded +SKIPPED: py37: InterpreterNotFound: python3.7 +SKIPPED: py38: InterpreterNotFound: python3.8 congratulations :) +The command "tox" exited with 0. + + +Done. Your build exited with 0. $ ``` From e5e858bb9441a0b9b859d20b7f9a09c5006cb51b Mon Sep 17 00:00:00 2001 From: refriedjello Date: Fri, 26 Feb 2021 09:18:45 -0700 Subject: [PATCH 552/628] Fortinet: Add new templates (#860) --- .../fortinet_get_system_ha_status.textfsm | 54 ++++ .../fortinet_get_system_interface.textfsm | 45 ++- ...inet_get_system_interface_physical.textfsm | 29 ++ templates/fortinet_get_system_status.textfsm | 9 +- templates/index | 8 +- .../fortinet_get_system_ha_status_5.6.raw | 45 +++ .../fortinet_get_system_ha_status_5.6.yml | 17 ++ .../fortinet_get_system_ha_status_6.0.raw | 31 ++ .../fortinet_get_system_ha_status_6.0.yml | 17 ++ ...fortinet_get_system_ha_status_6.0_noha.raw | 12 + ...fortinet_get_system_ha_status_6.0_noha.yml | 17 ++ .../fortinet_get_system_ha_status_6.2.raw | 37 +++ .../fortinet_get_system_ha_status_6.2.yml | 17 ++ .../fortinet_get_system_interface.raw | 4 - .../fortinet_get_system_interface.yml | 42 --- .../fortinet_get_system_interface_5.6.raw | 18 ++ .../fortinet_get_system_interface_5.6.yml | 182 +++++++++++ .../fortinet_get_system_interface_6.0.raw | 18 ++ .../fortinet_get_system_interface_6.0.yml | 182 +++++++++++ .../fortinet_get_system_interface_6.2.raw | 28 ++ .../fortinet_get_system_interface_6.2.yml | 282 ++++++++++++++++++ ...inet_get_system_interface_physical_5.6.raw | 133 +++++++++ ...inet_get_system_interface_physical_5.6.yml | 200 +++++++++++++ ...inet_get_system_interface_physical_6.0.raw | 133 +++++++++ ...inet_get_system_interface_physical_6.0.yml | 200 +++++++++++++ ...inet_get_system_interface_physical_6.2.raw | 139 +++++++++ ...inet_get_system_interface_physical_6.2.yml | 209 +++++++++++++ .../fortinet_get_system_status.yml | 2 + .../fortinet_get_system_status_6.2.raw | 30 ++ .../fortinet_get_system_status_6.2.yml | 32 ++ 30 files changed, 2116 insertions(+), 56 deletions(-) create mode 100644 templates/fortinet_get_system_ha_status.textfsm create mode 100644 templates/fortinet_get_system_interface_physical.textfsm create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.raw create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.yml create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.raw create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.yml create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.raw create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.yml create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.raw create mode 100644 tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.yml delete mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface.raw delete mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface.yml create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.raw create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.yml create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.raw create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.yml create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.raw create mode 100644 tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.yml create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.raw create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.yml create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.raw create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.yml create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.raw create mode 100644 tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.yml create mode 100644 tests/fortinet/get_system_status/fortinet_get_system_status_6.2.raw create mode 100644 tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml diff --git a/templates/fortinet_get_system_ha_status.textfsm b/templates/fortinet_get_system_ha_status.textfsm new file mode 100644 index 0000000000..d24b20b984 --- /dev/null +++ b/templates/fortinet_get_system_ha_status.textfsm @@ -0,0 +1,54 @@ +# +# Refried Jello +# +# 2021-01-08: Initial Version +# +# FG Version: 5.6, 6.0, 6.2 +# HW : varied +# +Value HA_HEALTH (\S+) +Value MODEL (\S+) +Value HA_MODE ([\S\s]+) +Value HA_GROUP (\S+) +Value CLUSTER_UPTIME ([\S\s]+) +Value CLUSTER_STATE_CHANGED_TIME ([\S\s]+) +Value HA_SESSION_PICKUP_STATUS (\S+) +Value HA_SESSION_PICKUP_DELAY (\S+) +Value HA_OVERRIDE_STATUS (\S+) +Value HA_MASTER_UNIT_NAME (\S+) +Value HA_SLAVE_UNIT_NAME (\S+) +Value HA_MASTER_UNIT_SERIAL (\S+) +Value HA_SLAVE_UNIT_SERIAL (\S+) +Value HA_MASTER_UNIT_INDEX (\S+) +Value HA_SLAVE_UNIT_INDEX (\S+) + +Start + ^HA\s+Health\s+Status:\s+${HA_HEALTH} + ^Model:\s+${MODEL} + ^Mode:\s+${HA_MODE} + ^Group:\s+${HA_GROUP} + ^Debug:\s+\d+ + ^Cluster\s+Uptime:\s+${CLUSTER_UPTIME} + ^Cluster\s+state\s+change\s+time:\s+${CLUSTER_STATE_CHANGED_TIME} + ^Master\s+selected\s+using: + ^\s+\<\S+ + ^ses_pickup:\s+${HA_SESSION_PICKUP_STATUS},\s+ses_pickup_delay=${HA_SESSION_PICKUP_DELAY} + ^override:\s+${HA_OVERRIDE_STATUS} + ^Configuration\s+Status: + ^\s+\S+\([\S\s]+\): + ^System\s+Usage\s+stats: + ^\s+\S+:\s+ + ^\s+sessions= + ^HBDEV\s+stats: + ^\s+\S+:\s+ + ^\sha:+\S+:\s+ + ^MONDEV\s+stats: + ^\s+\S+:\s+ + ^\s:+\S+:\s+ + ^Master\s*:\s+${HA_MASTER_UNIT_NAME}\s*,\s+${HA_MASTER_UNIT_SERIAL},\s+(HA\s+cluster\s+index|cluster\s+index)\s+=\s+${HA_MASTER_UNIT_INDEX} + ^Slave\s*:\s+${HA_SLAVE_UNIT_NAME}\s*,\s+${HA_SLAVE_UNIT_SERIAL},\s+(|HA)\s*cluster\s+index\s+=\s+${HA_SLAVE_UNIT_INDEX} + ^number\s+of\s+vcluster:\s+\d+ + ^vcluster\s+\d+: + ^(Master|Slave)\s*:\s+\S+,\s+(operating\s+cluster\s+index|HA\s+operating\s+index)\s+=\s+\d+ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/fortinet_get_system_interface.textfsm b/templates/fortinet_get_system_interface.textfsm index 77e28367dd..7e24d6fdae 100644 --- a/templates/fortinet_get_system_interface.textfsm +++ b/templates/fortinet_get_system_interface.textfsm @@ -1,9 +1,10 @@ # -# Patrick Marc Preuss +# Patrick Marc Preuss, Refried Jello # 2020-01-13 - Initial Version +# 2021-01-08 - Update for 6.2 # -# FG Version: 6.0.7 -# HW : FG1500D +# FG Version: 5.6, 6.0.7, 6.2 +# HW : varied # HA : AP # VDOMS : ENABLED Value Required NAME (\S+) @@ -29,7 +30,41 @@ Value DROP_FRAGMENT (\S+) Start ^==\s+\[\s+\S+\s\]$$ - ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s+$$ -> Record + # mgmt + # name:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # modem <=6.0 + # name:mode:management-ip:ip:netbios-forward:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:proxy-captive-portal:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # modem =6.2 + # name:mode:management-ip:ip:netbios-forward:type:netflow-sampler:sflow-sampler:src-check:proxy-captive-portal:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # type physical and vlan + # name:mode:management-ip:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # ha + # name:mode:management-ip:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # type tunnel + # name:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:wccp + ^name:\s+${NAME}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+wccp:\s+${WCCP}\s*$$ -> Record + # vw1 + # name:status:type:netflow-sampler:sflow-sampler:src-check:mtu-override:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+status:\s+${STATUS}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+mtu-override:\s+${MTU_OVERRIDE}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record + # ssl. that have less output - unsure why different + # name:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:wccp + ^name:\s+${NAME}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+wccp:\s+${WCCP}\sv$$ -> Record + # ssl. =6.2 + # name:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:wccp + ^name:\s+${NAME}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+wccp:\s+${WCCP}\s*$$ -> Record + # type loopback + # name:management-ip:ip:status:type:netflow-sampler:sflow-sampler:scan-botnet-connections:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal + ^name:\s+${NAME}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+scan-botnet-connections:\s+${SCAN_BOTNET_CONNECTIONS}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s*$$ -> Record + # loopback =6.2 + # name:management-ip:ip:status:type:netflow-sampler:sflow-sampler:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal + ^name:\s+${NAME}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s*$$ -> Record + # npu_vlink + # name:mode:management-ip:ip:status:netbios-forward:type:netflow-sampler:sflow-sampler:src-check:explicit-web-proxy:explicit-ftp-proxy:proxy-captive-portal:wccp:drop-overlapped-fragment:drop-fragment + ^name:\s+${NAME}\s+mode:\s+${MODE}\s+management-ip:\s+${MANAGEMENT_IP}\s+${MANAGEMENT_NETMASK}\s+ip:\s+${IP}\s+${NETMASK}\s+status:\s+${STATUS}\s+netbios-forward:\s+${NETBIOS_FORWARD}\s+type:\s+${TYPE}\s+netflow-sampler:\s+${NETFLOW_SAMPLER}\s+sflow-sampler:\s+${SFLOW_SAMPLER}\s+src-check:\s+${SRC_CHECK}\s+explicit-web-proxy:\s+${EXPLICIT_WEB_PROXY}\s+explicit-ftp-proxy:\s+${EXPLICIT_FTP_PROXY}\s+proxy-captive-portal:\s+${PROXY_CAPTIVE_PORTAL}\s+wccp:\s+${WCCP}\s+drop-overlapped-fragment:\s+${DROP_OVERLAPPED_FRAGMENT}\s+drop-fragment:\s+${DROP_FRAGMENT}\s*$$ -> Record ^\s*$$ ^. -> Error - diff --git a/templates/fortinet_get_system_interface_physical.textfsm b/templates/fortinet_get_system_interface_physical.textfsm new file mode 100644 index 0000000000..3a970d798a --- /dev/null +++ b/templates/fortinet_get_system_interface_physical.textfsm @@ -0,0 +1,29 @@ +# +# Refried Jello, Stephen Kiely +# 2021-01-06 - Initial Version +# +# FG Version: 5.6, 6.0, 6.2 +# HW : variety +# HA : AP +# VDOMS : ENABLED +Value Required NAME (\S+) +Value MODE (\S+) +Value IP (\d+?\.\d+?\.\d+?\.\d+?) +Value NETMASK (\S+) +Value IPV6 (\S+) +Value IPV6NETMASK (\S+) +Value STATUS (\S+) +Value SPEED (\d+|n\/a) +Value DUPLEX (\S+) + +Start + ^==\s+\[onboard\]$$ + ^\s+==\[${NAME}\]$$ + ^\s+mode:\s+${MODE}$$ + ^\s+ip:\s+${IP}\s+${NETMASK}$$ + ^\s+ipv6:\s+${IPV6}/${IPV6NETMASK}$$ + ^\s+status:\s+${STATUS}$$ + ^\s+speed:\s+${SPEED}(|Mbps)\s+\(Duplex:\s+${DUPLEX}\)$$ -> Record + ^\s+speed:\s+${SPEED}$$ -> Record + ^\s*$$ + ^. -> Error diff --git a/templates/fortinet_get_system_status.textfsm b/templates/fortinet_get_system_status.textfsm index d7c31f97ad..ca67ce0f1a 100644 --- a/templates/fortinet_get_system_status.textfsm +++ b/templates/fortinet_get_system_status.textfsm @@ -1,15 +1,17 @@ # -# Patrick Marc Preuss +# Patrick Marc Preuss, Refried Jello # # 2020-01-13: Inital Version +# 2021-01-08: Update for 6.2 # -# FG Version: 6.0.7 +# FG Version: 5.6, 6.0.7, 6.2 # HW : FG1500D # CLUSTER MODE: AP # VDOMS : ENABLED # Value Required HOSTNAME (\S+) Value VERSION (.*) +Value SIGNATURE (.*) Value VIRUS_DB (.*) Value EXTENDED_DB (.*) Value EXTREME_DB (.*) @@ -23,6 +25,7 @@ Value BOTNET_DB (.*) Value BIOS_VERSION (\S+) Value SYSTEM_PART_NUMBER (\S+) Value LOG_HARD_DISK (\S+) +Value PRIVATE_ENCRYPTION (\S+) Value OPERATION_MODE (\S+) Value CURRENT_VIRTUAL_DOMAIN (\S+) Value MAX_NUMBER_OF_VIRTUAL_DOMAINS (\d+) @@ -39,6 +42,7 @@ Value SYSTEM_TIME (.*) Start ^Version:\s+${VERSION} + ^Firmware Signature:\s+${SIGNATURE} ^Virus-DB:\s+${VIRUS_DB} ^Extended\s+DB:\s+${EXTENDED_DB} ^Extreme\s+DB:\s+${EXTREME_DB} @@ -53,6 +57,7 @@ Start ^System\s+Part-Number:\s+${SYSTEM_PART_NUMBER} ^Log\s+hard\s+disk:\s+${LOG_HARD_DISK} ^Hostname:\s+${HOSTNAME} + ^Private\s+Encryption:\s+${PRIVATE_ENCRYPTION} ^Operation\s+Mode:\s+${OPERATION_MODE} ^Current\s+virtual\s+domain:\s+${CURRENT_VIRTUAL_DOMAIN} ^Max\s+number\s+of\s+virtual\s+domains:\s+${MAX_NUMBER_OF_VIRTUAL_DOMAINS} diff --git a/templates/index b/templates/index index b747be8aef..975f58b161 100644 --- a/templates/index +++ b/templates/index @@ -383,10 +383,12 @@ dell_powerconnect_show_interfaces_description.textfsm, .*, dell_powerconnect, sh dell_powerconnect_show_bridge_address_table.textfsm, .*, dell_powerconnect, sh[[ow]] br[[idge]] a[[ddress-table]] dell_powerconnect_show_interfaces_status.textfsm, .*, dell_powerconnect, sh[[ow]] int[[erfaces]] st[[atus]] +fortinet_get_system_interface_physical.textfsm, .*, fortinet, g[[et]] sy[[stem]] in[[terface]] p[[hysical]] fortinet_get_router_info_bgp_summary.textfsm, .*, fortinet, g[[et]] r[[outer]] info bg[[p]] su[[mmary]] -fortinet_get_system_interface.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[i]]nterface -fortinet_get_system_status.textfsm, .*, fortinet, [[g]]et [[s]]ystem [[s]]tatus -fortinet_get_system_arp.textfsm, .*, fortinet, [[g]]et [[sy]]stem arp +fortinet_get_system_ha_status.textfsm, .*, fortinet, g[[et]] sy[[stem]] ha s[[tatus]] +fortinet_get_system_interface.textfsm, .*, fortinet, g[[et]] sy[[stem]] in[[terface]] +fortinet_get_system_status.textfsm, .*, fortinet, g[[et]] sy[[stem]] stat[[us]] +fortinet_get_system_arp.textfsm, .*, fortinet, g[[et]] sy[[stem]] arp hp_comware_display_lldp_neighbor-information_verbose.textfsm, .*, hp_comware, di[[splay]] ll[[dp]] n[[eighbor-information]] v[[erbose]] hp_comware_display_counters_bound_interface.textfsm, .*, hp_comware, di[[splay]] cou[[nters]] (\S+) i[[nterface]] diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.raw b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.raw new file mode 100644 index 0000000000..610edca146 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.raw @@ -0,0 +1,45 @@ +HA Health Status: OK +Model: FortiGate-200D +Mode: HA A-P +Group: 0 +Debug: 0 +Cluster Uptime: 913 days 6:17:44 +Cluster state change time: 2020-11-18 20:06:07 +Master selected using: + <2020/11/18 20:06:07> FG200Dyyyyyyyyyy is selected as the master because it has the least value 0 of link-failure + pingsvr-failure. +ses_pickup: enable, ses_pickup_delay=disable +override: disable +Configuration Status: + FG200Dxxxxxxxxxx(updated 3 seconds ago): in-sync + FG200Dyyyyyyyyyy(updated 2 seconds ago): in-sync +System Usage stats: + FG200Dxxxxxxxxxx(updated 3 seconds ago): + sessions=783, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=36% + FG200Dyyyyyyyyyy(updated 2 seconds ago): + sessions=2133, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=45% +HBDEV stats: + FG200Dxxxxxxxxxx(updated 3 seconds ago): + port16: physical/1000auto, up, rx-bytes/packets/dropped/errors=159611572717/161193511/0/0, tx=33081101596/72820100/0/0 + FG200Dyyyyyyyyyy(updated 2 seconds ago): + port16: physical/1000auto, up, rx-bytes/packets/dropped/errors=33102078904/72841639/0/0, tx=159622538782/161222515/0/0 +MONDEV stats: + FG200Dxxxxxxxxxx(updated 3 seconds ago): + port1: physical/1000auto, up, rx-bytes/packets/dropped/errors=772333476/10120455/0/0, tx=0/0/0/0 + port2: physical/1000auto, up, rx-bytes/packets/dropped/errors=24489027465/180044269/0/0, tx=1216527080/20272865/0/0 + port3: physical/1000auto, up, rx-bytes/packets/dropped/errors=738612670/8494189/0/0, tx=0/0/0/0 + port4: physical/1000auto, up, rx-bytes/packets/dropped/errors=1326403723/10314862/0/0, tx=7221960/120366/0/0 + port9: physical/1000auto, up, rx-bytes/packets/dropped/errors=631932574/7780810/0/0, tx=0/0/0/0 + port10: physical/1000auto, up, rx-bytes/packets/dropped/errors=1448638924/21408174/0/0, tx=0/0/0/0 + FG200Dyyyyyyyyyy(updated 2 seconds ago): + port1: physical/1000auto, up, rx-bytes/packets/dropped/errors=4792670497191/8032421997/0/0, tx=2567023541941/6420616690/0/0 + port2: physical/1000auto, up, rx-bytes/packets/dropped/errors=3164841988838/9813426301/0/0, tx=5238589087538/11151680911/0/0 + port3: physical/1000auto, up, rx-bytes/packets/dropped/errors=2121416101948/1691293285/0/0, tx=193581440599/636568993/0/0 + port4: physical/1000auto, up, rx-bytes/packets/dropped/errors=195739651207/655711324/0/0, tx=2119206966925/1682026942/0/0 + port9: physical/1000auto, up, rx-bytes/packets/dropped/errors=4228611730/46724818/0/0, tx=1390605465/10026243/0/0 + port10: physical/1000auto, up, rx-bytes/packets/dropped/errors=1353423864/19920614/0/0, tx=89179816/1486318/0/0 +Slave : fgt_200d_a , FG200Dxxxxxxxxxx, cluster index = 1 +Master: fgt_200d_b , FG200Dyyyyyyyyyy, cluster index = 0 +number of vcluster: 1 +vcluster 1: standby 169.254.0.1 +Slave : FG200Dxxxxxxxxxx, operating cluster index = 1 +Master: FG200Dyyyyyyyyyy, operating cluster index = 0 diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.yml b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.yml new file mode 100644 index 0000000000..9c3c4a2448 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_5.6.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - ha_health: "OK" + model: "FortiGate-200D" + ha_mode: "HA A-P" + ha_group: "0" + cluster_uptime: "913 days 6:17:44" + cluster_state_changed_time: "2020-11-18 20:06:07" + ha_session_pickup_status: "enable" + ha_session_pickup_delay: "disable" + ha_override_status: "disable" + ha_master_unit_name: "fgt_200d_b" + ha_slave_unit_name: "fgt_200d_a" + ha_master_unit_serial: "FG200Dyyyyyyyyyy" + ha_slave_unit_serial: "FG200Dxxxxxxxxxx" + ha_master_unit_index: "0" + ha_slave_unit_index: "1" diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.raw b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.raw new file mode 100644 index 0000000000..6ed6392350 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.raw @@ -0,0 +1,31 @@ +HA Health Status: OK +Model: FortiGate-200D +Mode: HA A-P +Group: 0 +Debug: 0 +Cluster Uptime: 764 days 22:45:44 +Cluster state change time: 2019-08-16 11:08:27 +Master selected using: + <2019/08/16 11:08:27> FG200Dxxxxxxxxxx is selected as the master because it has the largest value of override priority. + <2019/08/14 12:32:47> FG200Dyyyyyyyyyy is selected as the master because it has the largest value of override priority. +ses_pickup: enable, ses_pickup_delay=disable +override: enable +Configuration Status: + FG200Dxxxxxxxxxx(updated 2 seconds ago): in-sync + FG200Dyyyyyyyyyy(updated 5 seconds ago): in-sync +System Usage stats: + FG200Dxxxxxxxxxx(updated 2 seconds ago): + sessions=2421, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=25% + FG200Dyyyyyyyyyy(updated 5 seconds ago): + sessions=326, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=23% +HBDEV stats: + FG200Dxxxxxxxxxx(updated 2 seconds ago): + port16: physical/1000auto, up, rx-bytes/packets/dropped/errors=152066501590/357378132/0/0, tx=476952801500/678960488/0/0 + FG200Dyyyyyyyyyy(updated 5 seconds ago): + port16: physical/1000auto, up, rx-bytes/packets/dropped/errors=477266958857/680444657/0/0, tx=151761016675/355910298/0/0 +Master: fgt-200d_a, FG200Dxxxxxxxxxx, cluster index = 1 +Slave : fgt-200d_b, FG200Dyyyyyyyyyy, cluster index = 0 +number of vcluster: 1 +vcluster 1: work 169.254.0.2 +Master: FG200Dxxxxxxxxxx, operating cluster index = 0 +Slave : FG200Dyyyyyyyyyy, operating cluster index = 1 diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.yml b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.yml new file mode 100644 index 0000000000..39c97d1a12 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - ha_health: "OK" + model: "FortiGate-200D" + ha_mode: "HA A-P" + ha_group: "0" + cluster_uptime: "764 days 22:45:44" + cluster_state_changed_time: "2019-08-16 11:08:27" + ha_session_pickup_status: "enable" + ha_session_pickup_delay: "disable" + ha_override_status: "enable" + ha_master_unit_name: "fgt-200d_a" + ha_slave_unit_name: "fgt-200d_b" + ha_master_unit_serial: "FG200Dxxxxxxxxxx" + ha_slave_unit_serial: "FG200Dyyyyyyyyyy" + ha_master_unit_index: "1" + ha_slave_unit_index: "0" diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.raw b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.raw new file mode 100644 index 0000000000..699deb0d44 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.raw @@ -0,0 +1,12 @@ +HA Health Status: OK +Model: FortiGate-60D +Mode: Standalone +Group: 0 +Debug: 0 +Cluster Uptime: 0 days 0:0:0 +Cluster state change time: N/A +ses_pickup: enable, ses_pickup_delay=disable +override: enable +System Usage stats: +HBDEV stats: +number of vcluster: 0 diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.yml b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.yml new file mode 100644 index 0000000000..06eb1163a2 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.0_noha.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - ha_health: "OK" + model: "FortiGate-60D" + ha_mode: "Standalone" + ha_group: "0" + cluster_uptime: "0 days 0:0:0" + cluster_state_changed_time: "N/A" + ha_session_pickup_status: "enable" + ha_session_pickup_delay: "disable" + ha_override_status: "enable" + ha_master_unit_name: "" + ha_slave_unit_name: "" + ha_master_unit_serial: "" + ha_slave_unit_serial: "" + ha_master_unit_index: "" + ha_slave_unit_index: "" diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.raw b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.raw new file mode 100644 index 0000000000..cfec24be79 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.raw @@ -0,0 +1,37 @@ +HA Health Status: OK +Model: FortiGate-600E +Mode: HA A-P +Group: 5 +Debug: 0 +Cluster Uptime: 36 days 22:20:40 +Cluster state change time: 2020-12-02 22:40:46 +Master selected using: + <2020/12/02 22:40:46> FG6H0Exxxxxxxxxx is selected as the master because it has the largest value of override priority. +ses_pickup: enable, ses_pickup_delay=disable +override: enable +Configuration Status: + FG6H0Exxxxxxxxxx(updated 1 seconds ago): in-sync + FG6H0Eyyyyyyyyyy(updated 3 seconds ago): in-sync +System Usage stats: + FG6H0Exxxxxxxxxx(updated 1 seconds ago): + sessions=692, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=25% + FG6H0Eyyyyyyyyyy(updated 3 seconds ago): + sessions=303, average-cpu-user/nice/system/idle=0%/0%/0%/100%, memory=23% +HBDEV stats: + FG6H0Exxxxxxxxxx(updated 1 seconds ago): + ha: physical/1000auto, up, rx-bytes/packets/dropped/errors=13086049757/51933375/0/0, tx=93993034207/102822032/0/0 + FG6H0Eyyyyyyyyyy(updated 3 seconds ago): + ha: physical/1000auto, up, rx-bytes/packets/dropped/errors=93993244676/102822709/0/0, tx=13085729171/51934319/0/0 +MONDEV stats: + FG6H0Exxxxxxxxxx(updated 1 seconds ago): + x1: physical/10000full, up, rx-bytes/packets/dropped/errors=166373929414532/122946162431/0/0, tx=51746004768400/50869381172/0/0 + x2: physical/10000full, up, rx-bytes/packets/dropped/errors=49656542180617/50909579016/0/337, tx=165637609617619/122981014444/0/0 + FG6H0Eyyyyyyyyyy(updated 3 seconds ago): + x1: physical/10000full, up, rx-bytes/packets/dropped/errors=409699822/4202261/0/0, tx=0/0/0/0 + x2: physical/10000full, up, rx-bytes/packets/dropped/errors=12425072765/11621697/0/0, tx=0/0/0/0 +Master: fgt-600e_a, FG6H0Exxxxxxxxxx, HA cluster index = 1 +Slave : fgt-600e_b, FG6H0Eyyyyyyyyyy, HA cluster index = 0 +number of vcluster: 1 +vcluster 1: work 169.254.0.2 +Master: FG6H0Exxxxxxxxxx, HA operating index = 0 +Slave : FG6H0Eyyyyyyyyyy, HA operating index = 1 diff --git a/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.yml b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.yml new file mode 100644 index 0000000000..ee3f1a6d44 --- /dev/null +++ b/tests/fortinet/get_system_ha_status/fortinet_get_system_ha_status_6.2.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - ha_health: "OK" + model: "FortiGate-600E" + ha_mode: "HA A-P" + ha_group: "5" + cluster_uptime: "36 days 22:20:40" + cluster_state_changed_time: "2020-12-02 22:40:46" + ha_session_pickup_status: "enable" + ha_session_pickup_delay: "disable" + ha_override_status: "enable" + ha_master_unit_name: "fgt-600e_a" + ha_slave_unit_name: "fgt-600e_b" + ha_master_unit_serial: "FG6H0Exxxxxxxxxx" + ha_slave_unit_serial: "FG6H0Eyyyyyyyyyy" + ha_master_unit_index: "1" + ha_slave_unit_index: "0" diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface.raw b/tests/fortinet/get_system_interface/fortinet_get_system_interface.raw deleted file mode 100644 index 16bea61532..0000000000 --- a/tests/fortinet/get_system_interface/fortinet_get_system_interface.raw +++ /dev/null @@ -1,4 +0,0 @@ -== [ port1 ] -name: port1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: down netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable -== [ port2 ] -name: port2 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: down netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface.yml b/tests/fortinet/get_system_interface/fortinet_get_system_interface.yml deleted file mode 100644 index a7ce299713..0000000000 --- a/tests/fortinet/get_system_interface/fortinet_get_system_interface.yml +++ /dev/null @@ -1,42 +0,0 @@ ---- -parsed_sample: - - name: "port1" - mode: "static" - management_ip: "0.0.0.0" - management_netmask: "0.0.0.0" - ip: "0.0.0.0" - netmask: "0.0.0.0" - status: "down" - netbios_forward: "disable" - type: "physical" - netflow_sampler: "disable" - sflow_sampler: "disable" - scan_botnet_connections: "disable" - src_check: "enable" - explicit_web_proxy: "disable" - explicit_ftp_proxy: "disable" - proxy_captive_portal: "disable" - mtu_override: "disable" - wccp: "disable" - drop_overlapped_fragment: "disable" - drop_fragment: "disable" - - name: "port2" - mode: "static" - management_ip: "0.0.0.0" - management_netmask: "0.0.0.0" - ip: "0.0.0.0" - netmask: "0.0.0.0" - status: "down" - netbios_forward: "disable" - type: "physical" - netflow_sampler: "disable" - sflow_sampler: "disable" - scan_botnet_connections: "disable" - src_check: "enable" - explicit_web_proxy: "disable" - explicit_ftp_proxy: "disable" - proxy_captive_portal: "disable" - mtu_override: "disable" - wccp: "disable" - drop_overlapped_fragment: "disable" - drop_fragment: "disable" diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.raw b/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.raw new file mode 100644 index 0000000000..9efee55c3d --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.raw @@ -0,0 +1,18 @@ +== [ mgmt ] +name: mgmt ip: 1.2.3.4 255.255.255.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ wan1 ] +name: wan1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: down netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ dmz1 ] +name: dmz1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: down netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ modem ] +name: modem mode: pppoe management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ ssl.root ] +name: ssl.root ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable +== [ port1 ] +name: port1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 2.3.4.5 255.255.255.240 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port2.10 ] +name: port2.10 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 3.4.5.6 255.255.255.0 status: up netbios-forward: disable type: vlan netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ VPN-TUN ] +name: VPN-TUN ip: 4.5.6.7 255.255.255.255 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable +== [ loopback.0 ] +name: loopback.0 management-ip: 0.0.0.0 0.0.0.0 ip: 10.0.0.100 255.255.255.255 status: up type: loopback netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.yml b/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.yml new file mode 100644 index 0000000000..c6767ff055 --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_5.6.yml @@ -0,0 +1,182 @@ +--- +parsed_sample: + - name: "mgmt" + mode: "" + management_ip: "" + management_netmask: "" + ip: "1.2.3.4" + netmask: "255.255.255.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "wan1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "down" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "dmz1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "down" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "modem" + mode: "pppoe" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "" + explicit_ftp_proxy: "" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "ssl.root" + mode: "" + management_ip: "" + management_netmask: "" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" + - name: "port1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "2.3.4.5" + netmask: "255.255.255.240" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port2.10" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "3.4.5.6" + netmask: "255.255.255.0" + status: "up" + netbios_forward: "disable" + type: "vlan" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "VPN-TUN" + mode: "" + management_ip: "" + management_netmask: "" + ip: "4.5.6.7" + netmask: "255.255.255.255" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" + - name: "loopback.0" + mode: "" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "10.0.0.100" + netmask: "255.255.255.255" + status: "up" + netbios_forward: "" + type: "loopback" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "" + drop_overlapped_fragment: "" + drop_fragment: "" diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.raw b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.raw new file mode 100644 index 0000000000..d5bfd0b133 --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.raw @@ -0,0 +1,18 @@ +== [ mgmt ] +name: mgmt mode: static management-ip: 1.2.3.4 255.255.255.248 ip: 1.2.3.4 255.255.255.248 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ wan1 ] +name: wan1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ dmz1 ] +name: dmz1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ modem ] +name: modem mode: pppoe management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ ssl.root ] +name: ssl.root ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable +== [ port1 ] +name: port1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 2.3.4.5 255.255.255.248 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port2 ] +name: port2 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port2.103 ] +name: port2.103 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 3.4.5.6 255.255.255.0 status: up netbios-forward: disable type: vlan netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ VPN-TUN ] +name: VPN-LAB ip: 7.8.9.10 255.255.255.255 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable scan-botnet-connections: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.yml b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.yml new file mode 100644 index 0000000000..f866255662 --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.0.yml @@ -0,0 +1,182 @@ +--- +parsed_sample: + - name: "mgmt" + mode: "static" + management_ip: "1.2.3.4" + management_netmask: "255.255.255.248" + ip: "1.2.3.4" + netmask: "255.255.255.248" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "wan1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "dmz1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "modem" + mode: "pppoe" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "" + explicit_ftp_proxy: "" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "ssl.root" + mode: "" + management_ip: "" + management_netmask: "" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" + - name: "port1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "2.3.4.5" + netmask: "255.255.255.248" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port2" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port2.103" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "3.4.5.6" + netmask: "255.255.255.0" + status: "up" + netbios_forward: "disable" + type: "vlan" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "VPN-LAB" + mode: "" + management_ip: "" + management_netmask: "" + ip: "7.8.9.10" + netmask: "255.255.255.255" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "disable" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.raw b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.raw new file mode 100644 index 0000000000..efecabd144 --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.raw @@ -0,0 +1,28 @@ +== [ ha ] +name: ha mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ mgmt ] +name: mgmt mode: static management-ip: 1.2.3.4 255.255.255.248 ip: 1.2.3.4 255.255.255.248 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port1 ] +name: port1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ port2 ] +name: port2 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ s1 ] +name: s1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ vw1 ] +name: vw1 status: up type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ x1 ] +name: x1 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ modem ] +name: modem mode: pppoe management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ ssl.root ] +name: ssl.root ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable +== [ npu0_vlink0 ] +name: npu0_vlink0 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 0.0.0.0 0.0.0.0 status: up netbios-forward: disable type: physical netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ fortilink ] +name: fortilink mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 169.254.1.1 255.255.255.0 status: up netbios-forward: disable type: aggregate netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ x1.113 ] +name: x1.113 mode: static management-ip: 0.0.0.0 0.0.0.0 ip: 2.3.4.5 255.255.255.0 status: up netbios-forward: disable type: vlan netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable mtu-override: disable wccp: disable drop-overlapped-fragment: disable drop-fragment: disable +== [ loopback.0 ] +name: loopback.0 management-ip: 0.0.0.0 0.0.0.0 ip: 10.0.0.100 255.255.255.255 status: up type: loopback netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable +== [ VPN-TUN ] +name: VPN-TUN ip: 3.4.5.6 255.255.255.255 status: up netbios-forward: disable type: tunnel netflow-sampler: disable sflow-sampler: disable src-check: enable explicit-web-proxy: disable explicit-ftp-proxy: disable proxy-captive-portal: disable wccp: disable diff --git a/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.yml b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.yml new file mode 100644 index 0000000000..6d55c45303 --- /dev/null +++ b/tests/fortinet/get_system_interface/fortinet_get_system_interface_6.2.yml @@ -0,0 +1,282 @@ +--- +parsed_sample: + - name: "ha" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "mgmt" + mode: "static" + management_ip: "1.2.3.4" + management_netmask: "255.255.255.248" + ip: "1.2.3.4" + netmask: "255.255.255.248" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "port2" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "s1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "vw1" + mode: "" + management_ip: "" + management_netmask: "" + ip: "" + netmask: "" + status: "up" + netbios_forward: "" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "" + explicit_ftp_proxy: "" + proxy_captive_portal: "" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "x1" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "modem" + mode: "pppoe" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "" + explicit_ftp_proxy: "" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "ssl.root" + mode: "" + management_ip: "" + management_netmask: "" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" + - name: "npu0_vlink0" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "0.0.0.0" + netmask: "0.0.0.0" + status: "up" + netbios_forward: "disable" + type: "physical" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "fortilink" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "169.254.1.1" + netmask: "255.255.255.0" + status: "up" + netbios_forward: "disable" + type: "aggregate" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "x1.113" + mode: "static" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "2.3.4.5" + netmask: "255.255.255.0" + status: "up" + netbios_forward: "disable" + type: "vlan" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "disable" + wccp: "disable" + drop_overlapped_fragment: "disable" + drop_fragment: "disable" + - name: "loopback.0" + mode: "" + management_ip: "0.0.0.0" + management_netmask: "0.0.0.0" + ip: "10.0.0.100" + netmask: "255.255.255.255" + status: "up" + netbios_forward: "" + type: "loopback" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "" + drop_overlapped_fragment: "" + drop_fragment: "" + - name: "VPN-TUN" + mode: "" + management_ip: "" + management_netmask: "" + ip: "3.4.5.6" + netmask: "255.255.255.255" + status: "up" + netbios_forward: "disable" + type: "tunnel" + netflow_sampler: "disable" + sflow_sampler: "disable" + scan_botnet_connections: "" + src_check: "enable" + explicit_web_proxy: "disable" + explicit_ftp_proxy: "disable" + proxy_captive_portal: "disable" + mtu_override: "" + wccp: "disable" + drop_overlapped_fragment: "" + drop_fragment: "" diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.raw b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.raw new file mode 100644 index 0000000000..f7fa7461de --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.raw @@ -0,0 +1,133 @@ +== [onboard] + ==[dmz1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[dmz2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[mgmt] + mode: static + ip: 1.2.3.4 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port1] + mode: static + ip: 2.3.4.5 255.255.255.240 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port3] + mode: static + ip: 66.51.24.44 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port4] + mode: static + ip: 192.168.111.1 255.255.255.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port5] + mode: static + ip: 3.4.5.6 255.255.255.240 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port6] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port7] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port8] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port9] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port10] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port11] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port12] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port13] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port14] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port15] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port16] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[wan1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[wan2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[modem] + mode: pppoe + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.yml b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.yml new file mode 100644 index 0000000000..26588ac53d --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_5.6.yml @@ -0,0 +1,200 @@ +--- +parsed_sample: + - name: "dmz1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "dmz2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "mgmt" + mode: "static" + ip: "1.2.3.4" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port1" + mode: "static" + ip: "2.3.4.5" + netmask: "255.255.255.240" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port3" + mode: "static" + ip: "66.51.24.44" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port4" + mode: "static" + ip: "192.168.111.1" + netmask: "255.255.255.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port5" + mode: "static" + ip: "3.4.5.6" + netmask: "255.255.255.240" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port6" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port7" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port8" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port9" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port10" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port11" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port12" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port13" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port14" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port15" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port16" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "wan1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "wan2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "modem" + mode: "pppoe" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.raw b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.raw new file mode 100644 index 0000000000..5e0bc5a440 --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.raw @@ -0,0 +1,133 @@ +== [onboard] + ==[dmz1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[dmz2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[mgmt] + mode: static + ip: 1.2.3.4 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port1] + mode: static + ip: 2.3.4.5 255.255.255.224 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port3] + mode: static + ip: 3.4.5.6 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port4] + mode: static + ip: 192.168.107.1 255.255.255.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port5] + mode: static + ip: 10.107.128.68 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[port6] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port7] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port8] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port9] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port10] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port11] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port12] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port13] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port14] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port15] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port16] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[wan1] + mode: dhcp + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[wan2] + mode: dhcp + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[modem] + mode: pppoe + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.yml b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.yml new file mode 100644 index 0000000000..b15461aa4e --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.0.yml @@ -0,0 +1,200 @@ +--- +parsed_sample: + - name: "dmz1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "dmz2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "mgmt" + mode: "static" + ip: "1.2.3.4" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port1" + mode: "static" + ip: "2.3.4.5" + netmask: "255.255.255.224" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port3" + mode: "static" + ip: "3.4.5.6" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port4" + mode: "static" + ip: "192.168.107.1" + netmask: "255.255.255.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port5" + mode: "static" + ip: "10.107.128.68" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "port6" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port7" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port8" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port9" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port10" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port11" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port12" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port13" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port14" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port15" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port16" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "wan1" + mode: "dhcp" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "wan2" + mode: "dhcp" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "modem" + mode: "pppoe" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.raw b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.raw new file mode 100644 index 0000000000..fc918e2318 --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.raw @@ -0,0 +1,139 @@ +== [onboard] + ==[ha] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[mgmt] + mode: static + ip: 1.2.3.4 255.255.255.248 + ipv6: ::/0 + status: up + speed: 1000Mbps (Duplex: full) + ==[npu0_vlink0] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: n/a (Duplex: n/a) + ==[npu0_vlink1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: n/a (Duplex: n/a) + ==[port1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port3] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port4] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port5] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port6] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port7] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port8] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port9] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port10] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port11] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[port12] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[s1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[s2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[vw1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[vw2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a + ==[x1] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 10000Mbps (Duplex: full) + ==[x2] + mode: static + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: up + speed: 10000Mbps (Duplex: full) + ==[modem] + mode: pppoe + ip: 0.0.0.0 0.0.0.0 + ipv6: ::/0 + status: down + speed: n/a diff --git a/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.yml b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.yml new file mode 100644 index 0000000000..5f7f4f1f0d --- /dev/null +++ b/tests/fortinet/get_system_interface_physical/fortinet_get_system_interface_physical_6.2.yml @@ -0,0 +1,209 @@ +--- +parsed_sample: + - name: "ha" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "mgmt" + mode: "static" + ip: "1.2.3.4" + netmask: "255.255.255.248" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "1000" + duplex: "full" + - name: "npu0_vlink0" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "n/a" + duplex: "n/a" + - name: "npu0_vlink1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "n/a" + duplex: "n/a" + - name: "port1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port3" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port4" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port5" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port6" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port7" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port8" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port9" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port10" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port11" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "port12" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "s1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "s2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "vw1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "vw2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" + - name: "x1" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "10000" + duplex: "full" + - name: "x2" + mode: "static" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "up" + speed: "10000" + duplex: "full" + - name: "modem" + mode: "pppoe" + ip: "0.0.0.0" + netmask: "0.0.0.0" + ipv6: "::" + ipv6netmask: "0" + status: "down" + speed: "n/a" + duplex: "" diff --git a/tests/fortinet/get_system_status/fortinet_get_system_status.yml b/tests/fortinet/get_system_status/fortinet_get_system_status.yml index 5fd5e14ca2..1c309a1c9b 100644 --- a/tests/fortinet/get_system_status/fortinet_get_system_status.yml +++ b/tests/fortinet/get_system_status/fortinet_get_system_status.yml @@ -2,6 +2,7 @@ parsed_sample: - hostname: "MYCOOLEFIREWALLNAME" version: "FortiGate-1500D v6.0.7,build0302,191112 (GA)" + signature: "" virus_db: "16.00560(2012-10-19 08:31)" extended_db: "1.00000(2018-04-09 18:07)" extreme_db: "1.00000(2018-04-09 18:07)" @@ -15,6 +16,7 @@ parsed_sample: bios_version: "05000006" system_part_number: "P12917-08" log_hard_disk: "Available" + private_encryption: "" operation_mode: "NAT" current_virtual_domain: "root" max_number_of_virtual_domains: "10" diff --git a/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.raw b/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.raw new file mode 100644 index 0000000000..f909bdd378 --- /dev/null +++ b/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.raw @@ -0,0 +1,30 @@ +Version: FortiGate-600E v6.2.6,build1175,201110 (GA) +Firmware Signature: certified +Virus-DB: 83.00146(2021-01-08 11:20) +Extended DB: 83.00146(2021-01-08 11:20) +Extreme DB: 1.00000(2018-04-09 18:07) +IPS-DB: 6.00741(2015-12-01 02:30) +IPS-ETDB: 16.00993(2021-01-07 00:45) +APP-DB: 16.00992(2021-01-06 02:37) +INDUSTRIAL-DB: 6.00741(2015-12-01 02:30) +Serial-Number: FG6H0Exxxxxxxxx +IPS Malicious URL Database: 2.00883(2021-01-08 06:19) +Botnet DB: 1.00000(2012-05-28 22:51) +BIOS version: 05000006 +System Part-Number: P24088-03 +Log hard disk: Not available +Hostname: fgt-600e +Private Encryption: Disable +Operation Mode: NAT +Current virtual domain: root +Max number of virtual domains: 10 +Virtual domains status: 2 in NAT mode, 0 in TP mode +Virtual domain configuration: multiple +FIPS-CC mode: disable +Current HA mode: a-p, master +Cluster uptime: 36 days, 21 hours, 42 minutes, 22 seconds +Cluster state change time: 2020-12-02 22:40:46 +Branch point: 1175 +Release Version Information: GA +FortiOS x86-64: Yes +System time: Fri Jan 8 13:22:01 2021 diff --git a/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml b/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml new file mode 100644 index 0000000000..f63d2f7186 --- /dev/null +++ b/tests/fortinet/get_system_status/fortinet_get_system_status_6.2.yml @@ -0,0 +1,32 @@ +--- +parsed_sample: + - hostname: "fgt-600e" + version: "FortiGate-600E v6.2.6,build1175,201110 (GA)" + signature: "certified" + virus_db: "83.00146(2021-01-08 11:20)" + extended_db: "83.00146(2021-01-08 11:20)" + extreme_db: "1.00000(2018-04-09 18:07)" + ips_db: "6.00741(2015-12-01 02:30)" + ips_etdb: "16.00993(2021-01-07 00:45)" + app_db: "16.00992(2021-01-06 02:37)" + industrial_db: "6.00741(2015-12-01 02:30)" + serial_number: "FG6H0Exxxxxxxxx" + ips_malicious_url_database: "2.00883(2021-01-08 06:19)" + botnet_db: "1.00000(2012-05-28 22:51)" + bios_version: "05000006" + system_part_number: "P24088-03" + log_hard_disk: "Not" + private_encryption: "Disable" + operation_mode: "NAT" + current_virtual_domain: "root" + max_number_of_virtual_domains: "10" + virtual_domains_status: "2 in NAT mode, 0 in TP mode" + virtual_domain_configuration: "multiple" + fips_cc_mode: "disable" + current_ha_mode: "a-p, master" + cluster_uptime: "36 days, 21 hours, 42 minutes, 22 seconds" + cluster_state_change_time: "2020-12-02 22:40:46" + branch_point: "1175" + release_version_information: "GA" + fortios_x86_64: "Yes" + system_time: "Fri Jan 8 13:22:01 2021" From 8e6c8195accba86fe106d10986173768b8f153c7 Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Fri, 26 Feb 2021 10:41:19 -0600 Subject: [PATCH 553/628] New Template: paloalto_panos_test_security-policy-match.textfsm (#867) --- templates/index | 1 + ...o_panos_test_security-policy-match.textfsm | 36 +++++++++++++ ...oalto_panos_test_security-policy-match.raw | 50 +++++++++++++++++++ ...oalto_panos_test_security-policy-match.yml | 50 +++++++++++++++++++ 4 files changed, 137 insertions(+) create mode 100644 templates/paloalto_panos_test_security-policy-match.textfsm create mode 100644 tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.raw create mode 100644 tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.yml diff --git a/templates/index b/templates/index index 975f58b161..c7426288e7 100644 --- a/templates/index +++ b/templates/index @@ -435,6 +435,7 @@ linux_arp_-a.textfsm, .*, linux, arp -a paloalto_panos_show_running_security-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] security[[-policy]] paloalto_panos_show_high-availability_all.textfsm, .*, paloalto_panos, sh[[ow]] high[[-availability]] all +paloalto_panos_test_security-policy-match.textfsm, .*, paloalto_panos, test security-policy-match.* paloalto_panos_show_interface_management.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] man[[agement]] paloalto_panos_show_interface_hardware.textfsm, .*, paloalto_panos, sh[[ow]] int[[erface]] hard[[ware]] paloalto_panos_show_running_nat-policy.textfsm, .*, paloalto_panos, sh[[ow]] runn[[ing]] nat[[-policy]] diff --git a/templates/paloalto_panos_test_security-policy-match.textfsm b/templates/paloalto_panos_test_security-policy-match.textfsm new file mode 100644 index 0000000000..488e521706 --- /dev/null +++ b/templates/paloalto_panos_test_security-policy-match.textfsm @@ -0,0 +1,36 @@ +Value Required NAME (.*?) +Value Required INDEX (\d+) +Value FROM (\S+) +Value SOURCE (\S+|\[.*\]) +Value SOURCE_REGION (\S+) +Value TO (\S+) +Value DESTINATION (\S+|\[.*\]) +Value DESTINATION_REGION (\S+) +Value USER (\S+) +Value SOURCE_DEVICE (\S+) +Value DESTINATION_DEVICE (\S+) +Value CATEGORY (\S+) +Value APPLICATION_SERVICE (\S+|\[.*\]) +Value ACTION (\S+) +Value ICMP_UNREACHABLE (\S+) +Value TERMINAL (\S+) + +Start + ^\"${NAME};\s+index:\s+${INDEX}.\s+{ + ^\s+from\s+${FROM}; + ^\s+source\s+${SOURCE}; + ^\s+source-region\s+${SOURCE_REGION}; + ^\s+to\s+${TO}; + ^\s+destination\s+${DESTINATION}; + ^\s+destination-region\s+${DESTINATION_REGION}; + ^\s+user\s+${USER}; + ^\s+source-device\s+${SOURCE_DEVICE}; + ^\s+destinataion-device\s+${DESTINATION_DEVICE}; + ^\s+category\s+${CATEGORY}; + ^\s+application/service\s+${APPLICATION_SERVICE}; + ^\s+action\s+${ACTION}; + ^\s+icmp-unreachable:\s+${ICMP_UNREACHABLE} + ^\s+terminal\s+${TERMINAL}; + ^} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.raw b/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.raw new file mode 100644 index 0000000000..a745bf1114 --- /dev/null +++ b/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.raw @@ -0,0 +1,50 @@ +"Allow 10.125.100.58-To-Google DNS; index: 1" { + from Internal; + source 10.125.100.58; + source-region none; + to External; + destination 8.8.8.8; + destination-region none; + user any; + source-device any; + destinataion-device any; + category any; + application/service 0:any/tcp/any/59; + action allow; + icmp-unreachable: no + terminal yes; +} + +"Allow 10.125.100.58-To-1.1.1.1; index: 2" { + from Internal; + source 10.125.100.58; + source-region none; + to External; + destination 1.1.1.1; + destination-region none; + user any; + source-device any; + destinataion-device any; + category any; + application/service 0:any/tcp/any/53; + action allow; + icmp-unreachable: no + terminal yes; +} + +"Allow DNS_Objects-To-192.0.2.10; index: 4" { + from Internal; + source [ 1.1.1.1 8.8.8.8 ]; + source-region none; + to External; + destination 192.0.2.10; + destination-region none; + user any; + source-device any; + destinataion-device any; + category any; + application/service [0:any/tcp/any/53 1:any/tcp/any/54 ]; + action allow; + icmp-unreachable: no + terminal yes; +} \ No newline at end of file diff --git a/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.yml b/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.yml new file mode 100644 index 0000000000..4fb94d6e54 --- /dev/null +++ b/tests/paloalto_panos/test_security-policy-match/paloalto_panos_test_security-policy-match.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - name: "Allow 10.125.100.58-To-Google DNS" + index: "1" + from: "Internal" + source: "10.125.100.58" + source_region: "none" + to: "External" + destination: "8.8.8.8" + destination_region: "none" + user: "any" + source_device: "any" + destination_device: "any" + category: "any" + application_service: "0:any/tcp/any/59" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" + - name: "Allow 10.125.100.58-To-1.1.1.1" + index: "2" + from: "Internal" + source: "10.125.100.58" + source_region: "none" + to: "External" + destination: "1.1.1.1" + destination_region: "none" + user: "any" + source_device: "any" + destination_device: "any" + category: "any" + application_service: "0:any/tcp/any/53" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" + - name: "Allow DNS_Objects-To-192.0.2.10" + index: "4" + from: "Internal" + source: "[ 1.1.1.1 8.8.8.8 ]" + source_region: "none" + to: "External" + destination: "192.0.2.10" + destination_region: "none" + user: "any" + source_device: "any" + destination_device: "any" + category: "any" + application_service: "[0:any/tcp/any/53 1:any/tcp/any/54 ]" + action: "allow" + icmp_unreachable: "no" + terminal: "yes" From 255b9296e1ab997a751557ee9c91e914a5e1998e Mon Sep 17 00:00:00 2001 From: Pieter Date: Sat, 27 Feb 2021 15:10:52 +1300 Subject: [PATCH 554/628] Fixes#811 arista eos show ip route (#843) --- templates/arista_eos_show_ip_route.textfsm | 31 ++- .../arista_eos_show_ip_route.yml | 114 ++++++--- .../arista_eos_show_ip_route2.yml | 17 +- .../arista_eos_show_ip_route3.yml | 23 +- .../arista_eos_show_ip_route4.raw | 18 ++ .../arista_eos_show_ip_route4.yml | 80 ++++++ .../arista_eos_show_ip_route_vrf.yml | 228 ++++++++++++------ 7 files changed, 361 insertions(+), 150 deletions(-) create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.raw create mode 100644 tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml diff --git a/templates/arista_eos_show_ip_route.textfsm b/templates/arista_eos_show_ip_route.textfsm index 9123d6f09d..adbcb1d050 100644 --- a/templates/arista_eos_show_ip_route.textfsm +++ b/templates/arista_eos_show_ip_route.textfsm @@ -1,23 +1,30 @@ Value Filldown VRF (\S+) -Value Filldown PROTOCOL (\S+\s\S+?|\w?) -Value Filldown NETWORK (\d+.\d+.\d+.\d+) -Value Filldown MASK (\d+) -Value Filldown DISTANCE (\d+) -Value Filldown METRIC (\d+) +Value PROTOCOL (\S+\s\S+?|\w?) +Value Required NETWORK (\d+\.\d+\.\d+\.\d+) +Value MASK (\d+) +Value DISTANCE (\d+) +Value METRIC (\d+) Value DIRECT (directly) -Value Required NEXT_HOP (connected|\d+\.\d+\.\d+\.\d+) -Value INTERFACE (\S+) +Value Required,List NEXT_HOP (connected|\d+\.\d+\.\d+\.\d+) +#Value INTERFACE (\S+) +Value List INTERFACE (.+) Start - ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ -> Record - ^\s+via\s+${NEXT_HOP},\s+${INTERFACE} -> Record - ^VRF\s+name:\s+${VRF}\s*$$ - ^VRF:\s+${VRF}\s*$$ + ^VRF(\s+name)?:\s+${VRF}\s*$$ ^WARNING ^kernel ^Codes: # Match for codes ^\s+\S+\s+-\s+\S+ + ^\s*$$ -> Routes + ^. -> Error + +Routes + ^\s+(\S+\s\S+?|\w?)\s+(\d+\.\d+\.\d+\.\d+)/(\d+)\s -> Continue.Record + ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+is\s+${DIRECT}\s+${NEXT_HOP},\s+${INTERFACE}$$ + ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ + ^\s+via\s+${NEXT_HOP},\s+${INTERFACE} + ^\s*$$ -> Record + ^VRF(\s+name)?:\s+${VRF}\s*$$ -> Start ^Gateway\s+of\s+last - ^\s*$$ ^. -> Error diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml index 63b2073ebe..1f16c3a825 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml @@ -7,8 +7,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.1.31.101" @@ -16,8 +18,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "C" network: "10.1.31.102" @@ -25,8 +29,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback100" + next_hop: + - "connected" + interface: + - "Loopback100" - vrf: "" protocol: "C" network: "10.1.31.200" @@ -34,8 +40,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback10" + next_hop: + - "connected" + interface: + - "Loopback10" - vrf: "" protocol: "B E" network: "10.1.31.254" @@ -43,8 +51,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "C" network: "10.63.255.8" @@ -52,8 +62,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Ethernet20" + next_hop: + - "connected" + interface: + - "Ethernet20" - vrf: "" protocol: "B E" network: "10.100.22.52" @@ -61,8 +73,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.22.56" @@ -70,8 +84,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.11" @@ -79,8 +95,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.12" @@ -88,8 +106,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.15" @@ -97,8 +117,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "C" network: "10.100.233.32" @@ -106,8 +128,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback0" + next_hop: + - "connected" + interface: + - "Loopback0" - vrf: "" protocol: "B E" network: "10.100.233.34" @@ -115,8 +139,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.38.5" - interface: "Ethernet21" + next_hop: + - "192.168.38.5" + interface: + - "Ethernet21" - vrf: "" protocol: "B E" network: "10.100.233.50" @@ -124,8 +150,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.64" @@ -133,8 +161,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.66" @@ -142,8 +172,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.67" @@ -151,8 +183,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.68" @@ -160,8 +194,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "" protocol: "B E" network: "10.100.233.192" @@ -169,5 +205,7 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "10.63.255.10" - interface: "Ethernet20" + next_hop: + - "10.63.255.10" + interface: + - "Ethernet20" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml index c6e6f0442a..79e72a7c3b 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml @@ -7,14 +7,9 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "199.229.255.31" - interface: "Vlan70" - - vrf: "default" - protocol: "B I" - network: "74.119.147.148" - mask: "32" - distance: "200" - metric: "0" - direct: "" - next_hop: "199.229.255.35" - interface: "Vlan71" + next_hop: + - "199.229.255.31" + - "199.229.255.35" + interface: + - "Vlan70" + - "Vlan71" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml index 2cda5b6c28..68681f2ad6 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml @@ -7,17 +7,12 @@ parsed_sample: distance: "110" metric: "21" direct: "" - next_hop: "172.83.43.48" - interface: "Vlan55" - - vrf: "default" - protocol: "O E1" - network: "0.0.0.0" - mask: "0" - distance: "110" - metric: "21" - direct: "" - next_hop: "172.83.43.50" - interface: "Vlan65" + next_hop: + - "172.83.43.48" + - "172.83.43.50" + interface: + - "Vlan55" + - "Vlan65" - vrf: "default" protocol: "S" network: "10.1.26.0" @@ -25,5 +20,7 @@ parsed_sample: distance: "1" metric: "0" direct: "" - next_hop: "142.54.229.92" - interface: "Vlan2503" + next_hop: + - "142.54.229.92" + interface: + - "Vlan2503" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.raw b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.raw new file mode 100644 index 0000000000..e06d20b32e --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.raw @@ -0,0 +1,18 @@ +VRF: default +Codes: C - connected, S - static, K - kernel, + O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1, + E2 - OSPF external type 2, N1 - OSPF NSSA external type 1, + N2 - OSPF NSSA external type2, B - BGP, B I - iBGP, B E - eBGP, + R - RIP, I L1 - IS-IS level 1, I L2 - IS-IS level 2, + O3 - OSPFv3, A B - BGP Aggregate, A O - OSPF Summary, + NG - Nexthop Group Static Route, V - VXLAN Control Service, + DH - DHCP client installed default route, M - Martian, + DP - Dynamic Policy Route, L - VRF Leaked + + C 162.220.49.0/26 is directly connected, Vlan105 + C 162.220.49.64/26 is directly connected, Vlan104 + C 162.220.49.128/31 is directly connected, Tunnel11, Static Interface GRE tunnel index 11, dst 184.170.244.12, src 216.201.90.212 + B I 162.220.49.130/31 [200/0] via 199.229.255.1, Vlan50 + B I 162.220.49.132/31 [200/0] via 199.229.255.1, Vlan50 + C 162.220.49.134/31 is directly connected, Tunnel12, Static Interface GRE tunnel index 12, dst 104.200.133.181, src 216.201.90.212 + S 162.220.49.0/24 is directly connected, Null0 diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml new file mode 100644 index 0000000000..7fc1c93a0a --- /dev/null +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml @@ -0,0 +1,80 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "C" + network: "162.220.49.0" + mask: "26" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Vlan105" + - vrf: "default" + protocol: "C" + network: "162.220.49.64" + mask: "26" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Vlan104" + - vrf: "default" + protocol: "C" + network: "162.220.49.128" + mask: "31" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Tunnel11, Static Interface GRE tunnel index 11, dst 184.170.244.12, src 216.201.90.212" + - vrf: "default" + protocol: "B I" + network: "162.220.49.130" + mask: "31" + distance: "200" + metric: "0" + direct: "" + next_hop: + - "199.229.255.1" + interface: + - "Vlan50" + - vrf: "default" + protocol: "B I" + network: "162.220.49.132" + mask: "31" + distance: "200" + metric: "0" + direct: "" + next_hop: + - "199.229.255.1" + interface: + - "Vlan50" + - vrf: "default" + protocol: "C" + network: "162.220.49.134" + mask: "31" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Tunnel12, Static Interface GRE tunnel index 12, dst 104.200.133.181, src\ + \ 216.201.90.212" + - vrf: "default" + protocol: "S" + network: "162.220.49.0" + mask: "24" + distance: "" + metric: "" + direct: "directly" + next_hop: + - "connected" + interface: + - "Null0" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml index d2a03cebc4..c7458bf9ce 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml @@ -7,8 +7,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.1.31.101" @@ -16,8 +18,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "C" network: "10.1.31.102" @@ -25,8 +29,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback100" + next_hop: + - "connected" + interface: + - "Loopback100" - vrf: "default" protocol: "C" network: "10.1.31.200" @@ -34,8 +40,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback10" + next_hop: + - "connected" + interface: + - "Loopback10" - vrf: "default" protocol: "B E" network: "10.1.31.254" @@ -43,8 +51,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "C" network: "10.63.255.8" @@ -52,8 +62,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Ethernet20" + next_hop: + - "connected" + interface: + - "Ethernet20" - vrf: "default" protocol: "B E" network: "10.100.22.52" @@ -61,8 +73,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.22.56" @@ -70,8 +84,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.11" @@ -79,8 +95,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.12" @@ -88,8 +106,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.15" @@ -97,8 +117,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "C" network: "10.100.233.32" @@ -106,8 +128,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback0" + next_hop: + - "connected" + interface: + - "Loopback0" - vrf: "default" protocol: "B E" network: "10.100.233.34" @@ -115,8 +139,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.38.5" - interface: "Ethernet21" + next_hop: + - "192.168.38.5" + interface: + - "Ethernet21" - vrf: "default" protocol: "B E" network: "10.100.233.50" @@ -124,8 +150,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.64" @@ -133,8 +161,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.66" @@ -142,8 +172,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.67" @@ -151,8 +183,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.68" @@ -160,8 +194,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "default" protocol: "B E" network: "10.100.233.192" @@ -169,8 +205,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "10.63.255.10" - interface: "Ethernet20" + next_hop: + - "10.63.255.10" + interface: + - "Ethernet20" - vrf: "RED" protocol: "B E" network: "10.1.31.100" @@ -178,8 +216,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.1.31.101" @@ -187,8 +227,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "C" network: "10.1.31.102" @@ -196,8 +238,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback100" + next_hop: + - "connected" + interface: + - "Loopback100" - vrf: "RED" protocol: "C" network: "10.1.31.200" @@ -205,8 +249,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback10" + next_hop: + - "connected" + interface: + - "Loopback10" - vrf: "RED" protocol: "B E" network: "10.1.31.254" @@ -214,8 +260,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "C" network: "10.63.255.8" @@ -223,8 +271,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Ethernet20" + next_hop: + - "connected" + interface: + - "Ethernet20" - vrf: "RED" protocol: "B E" network: "10.100.22.52" @@ -232,8 +282,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.22.56" @@ -241,8 +293,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.11" @@ -250,8 +304,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.12" @@ -259,8 +315,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.15" @@ -268,8 +326,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "C" network: "10.100.233.32" @@ -277,8 +337,10 @@ parsed_sample: distance: "" metric: "" direct: "directly" - next_hop: "connected" - interface: "Loopback0" + next_hop: + - "connected" + interface: + - "Loopback0" - vrf: "RED" protocol: "B E" network: "10.100.233.34" @@ -286,8 +348,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.38.5" - interface: "Ethernet21" + next_hop: + - "192.168.38.5" + interface: + - "Ethernet21" - vrf: "RED" protocol: "B E" network: "10.100.233.50" @@ -295,8 +359,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.64" @@ -304,8 +370,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.66" @@ -313,8 +381,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.67" @@ -322,8 +392,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.68" @@ -331,8 +403,10 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "192.168.17.5" - interface: "Ethernet18" + next_hop: + - "192.168.17.5" + interface: + - "Ethernet18" - vrf: "RED" protocol: "B E" network: "10.100.233.192" @@ -340,5 +414,7 @@ parsed_sample: distance: "200" metric: "0" direct: "" - next_hop: "10.63.255.10" - interface: "Ethernet20" + next_hop: + - "10.63.255.10" + interface: + - "Ethernet20" From 764564db26b23bff23fe5e21d73d48fa9e9d8bc4 Mon Sep 17 00:00:00 2001 From: Pierre <19718295+burningnode@users.noreply.github.com> Date: Sat, 27 Feb 2021 20:16:19 +0100 Subject: [PATCH 555/628] Update NXOS show_ip_bgp_summary_vrf to support 32-bits ASN outputs (#849) --- ...cisco_nxos_show_ip_bgp_summary_vrf.textfsm | 21 ++- templates/index | 1 + .../cisco_nxos_show_ip_bgp_summary_vrf.yml | 46 ----- .../cisco_nxos_show_ip_bgp_summary_vrf.raw | 22 +++ .../cisco_nxos_show_ip_bgp_summary_vrf.yml | 158 ++++++++++++++++++ 5 files changed, 200 insertions(+), 48 deletions(-) delete mode 100644 tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.yml rename tests/cisco_nxos/{show_ip_bgp_summary => show_ip_bgp_summary_vrf}/cisco_nxos_show_ip_bgp_summary_vrf.raw (61%) create mode 100644 tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml diff --git a/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm b/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm index d2bb9ad420..216b50e7e6 100644 --- a/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm +++ b/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm @@ -2,10 +2,27 @@ Value Filldown VRF (\S+) Value Filldown ROUTER_ID (\d+?\.\d+?\.\d+?\.\d+?) Value Filldown LOCAL_AS (\d+) Value Required BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) -Value Required NEIGH_AS (\d+) +Value BGP_VER (\d) +Value Required NEIGH_AS (\S+) +Value MSG_RCVD (\d+) +Value MSG_SENT (\d+) +Value TBLVER (\d+) +Value IN_QUEUE (\d+) +Value OUT_QUEUE (\d+) +Value UP_DOWN (\S+) Value STATE_PFXRCD (\S+?\s+\S+?|\S+?) Start + # Match BGP VRF ^BGP summary information for VRF ${VRF}, address family IPv4 Unicast + # Match RID and Local AS ^BGP router identifier ${ROUTER_ID}, local AS number ${LOCAL_AS} - ^${BGP_NEIGH}\s+\S+\s+${NEIGH_AS}(\s+\d+?){5}\s+\S+?\s+${STATE_PFXRCD}$$ -> Record + # Match Neighbor lines + ^${BGP_NEIGH}\s+${BGP_VER}\s+${NEIGH_AS}.* -> Continue + ^\s+${MSG_RCVD}\s+${MSG_SENT}\s+${TBLVER}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + ^${BGP_NEIGH}\s+${BGP_VER}\s+${NEIGH_AS}\s+${MSG_RCVD}\s+${MSG_SENT}\s+${TBLVER}\s+${IN_QUEUE}\s+${OUT_QUEUE}\s+${UP_DOWN}\s+${STATE_PFXRCD}\s*$$ -> Record + # Match lines that are spaces + ^\s+$$ + +Done + ^.* diff --git a/templates/index b/templates/index index c7426288e7..e27e54fb79 100644 --- a/templates/index +++ b/templates/index @@ -260,6 +260,7 @@ cisco_nxos_show_forwarding_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rward cisco_nxos_show_ipv6_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] cisco_nxos_show_port-channel_summary.textfsm, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] +cisco_nxos_show_ip_bgp_summary_vrf.textfsm, .*, cisco_nxos, sh[[ow]] ip b[[gp]] s[[ummary]] v[[rf]] cisco_nxos_show_ip_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ip int[[erface]] b[[rief]](?: vrf \S+)?\s*$ cisco_nxos_show_cts_interface_all.textfsm, .*, cisco_nxos, sh[[ow]] ct[[s]] inter[[face]] al[[l]] cisco_nxos_show_ip_community-list.textfsm, .*, cisco_nxos, sh[[ow]] ip comm[[unity-list]] diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.yml b/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.yml deleted file mode 100644 index c5f692c530..0000000000 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -parsed_sample: - - router_id: "192.168.1.1" - local_as: "65001" - vrf: "RED" - bgp_neigh: "192.168.1.2" - neigh_as: "65002" - msg_rcvd: "1143238" - msg_sent: "1065438" - in_queue: "0" - out_queue: "0" - up_down: "10w4d" - state_pfxrcd: "7" - - router_id: "192.168.2.1" - local_as: "65011" - vrf: "WHITE" - bgp_neigh: "192.168.2.2" - neigh_as: "65012" - msg_rcvd: "1142321" - msg_sent: "1065438" - in_queue: "0" - out_queue: "0" - up_down: "10w4d" - state_pfxrcd: "7" - - router_id: "192.168.3.1" - local_as: "65021" - vrf: "BLUE" - bgp_neigh: "192.168.3.2" - neigh_as: "65022" - msg_rcvd: "672804" - msg_sent: "639789" - in_queue: "0" - out_queue: "0" - up_down: "10w4d" - state_pfxrcd: "1" - - router_id: "192.168.3.1" - local_as: "65021" - vrf: "BLUE" - bgp_neigh: "192.168.3.3" - neigh_as: "65023" - msg_rcvd: "672792" - msg_sent: "639791" - in_queue: "0" - out_queue: "0" - up_down: "10w4d" - state_pfxrcd: "1" diff --git a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.raw b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.raw similarity index 61% rename from tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.raw rename to tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.raw index c067c41f07..fc175ab139 100644 --- a/tests/cisco_nxos/show_ip_bgp_summary/cisco_nxos_show_ip_bgp_summary_vrf.raw +++ b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.raw @@ -34,3 +34,25 @@ BGP community entries [3/124], BGP clusterlist entries [0/0] Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 192.168.3.2 4 65022 672804 639789 16 0 0 10w4d 1 192.168.3.3 4 65023 672792 639791 16 0 0 10w4d 1 + +BGP summary information for VRF PURPLE, address family IPv4 Unicast +BGP router identifier 1.1.1.1, local AS number 65001 +BGP table version is 1922, IPv4 Unicast config peers 8, capable peers 8 +53 network entries and 58 paths using 13168 bytes of memory +BGP attribute entries [34/5440], BGP AS path entries [17/430] +BGP community entries [11/372], BGP clusterlist entries [0/0] +59 received paths for inbound soft reconfiguration +6 identical, 44 modified, 9 filtered received paths using 1180 bytes + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.101.1.1 4 4233316914 + 14111081 14037706 1922 0 0 5w1d 100 +10.101.1.4 4 4255544594 + 14124621 14051162 1922 0 0 5w1d 0 +111.111.111.111 4 4244433330 + 57508 53320 1922 0 0 2w4d 28 +144.144.144.144 4 33331 888166 836265 1922 0 0 8w1d 8 +155.155.155.155 4 33331 887898 835708 1922 0 0 8w1d 8 +192.168.111.1 4 11112 652276 570942 1922 0 0 1w0d 4 +192.168.111.2 4 11111 502385 501240 1922 0 0 3d03h 1 +192.168.111.6 4 11111 124617 124458 1922 0 0 2w2d 1 diff --git a/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml new file mode 100644 index 0000000000..30e6146d9b --- /dev/null +++ b/tests/cisco_nxos/show_ip_bgp_summary_vrf/cisco_nxos_show_ip_bgp_summary_vrf.yml @@ -0,0 +1,158 @@ +--- +parsed_sample: + - router_id: "192.168.1.1" + local_as: "65001" + vrf: "RED" + bgp_ver: "4" + tblver: "110" + bgp_neigh: "192.168.1.2" + neigh_as: "65002" + msg_rcvd: "1143238" + msg_sent: "1065438" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "7" + - router_id: "192.168.2.1" + local_as: "65011" + vrf: "WHITE" + bgp_ver: "4" + tblver: "114" + bgp_neigh: "192.168.2.2" + neigh_as: "65012" + msg_rcvd: "1142321" + msg_sent: "1065438" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "7" + - router_id: "192.168.3.1" + local_as: "65021" + vrf: "BLUE" + bgp_ver: "4" + tblver: "16" + bgp_neigh: "192.168.3.2" + neigh_as: "65022" + msg_rcvd: "672804" + msg_sent: "639789" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "1" + - router_id: "192.168.3.1" + local_as: "65021" + vrf: "BLUE" + bgp_ver: "4" + tblver: "16" + bgp_neigh: "192.168.3.3" + neigh_as: "65023" + msg_rcvd: "672792" + msg_sent: "639791" + in_queue: "0" + out_queue: "0" + up_down: "10w4d" + state_pfxrcd: "1" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "10.101.1.1" + neigh_as: "4233316914" + msg_rcvd: "14111081" + msg_sent: "14037706" + in_queue: "0" + out_queue: "0" + up_down: "5w1d" + state_pfxrcd: "100" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "10.101.1.4" + neigh_as: "4255544594" + msg_rcvd: "14124621" + msg_sent: "14051162" + in_queue: "0" + out_queue: "0" + up_down: "5w1d" + state_pfxrcd: "0" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "111.111.111.111" + neigh_as: "4244433330" + msg_rcvd: "57508" + msg_sent: "53320" + in_queue: "0" + out_queue: "0" + up_down: "2w4d" + state_pfxrcd: "28" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "144.144.144.144" + neigh_as: "33331" + msg_rcvd: "888166" + msg_sent: "836265" + in_queue: "0" + out_queue: "0" + up_down: "8w1d" + state_pfxrcd: "8" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "155.155.155.155" + neigh_as: "33331" + msg_rcvd: "887898" + msg_sent: "835708" + in_queue: "0" + out_queue: "0" + up_down: "8w1d" + state_pfxrcd: "8" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "192.168.111.1" + neigh_as: "11112" + msg_rcvd: "652276" + msg_sent: "570942" + in_queue: "0" + out_queue: "0" + up_down: "1w0d" + state_pfxrcd: "4" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "192.168.111.2" + neigh_as: "11111" + msg_rcvd: "502385" + msg_sent: "501240" + in_queue: "0" + out_queue: "0" + up_down: "3d03h" + state_pfxrcd: "1" + - router_id: "1.1.1.1" + local_as: "65001" + vrf: "PURPLE" + bgp_ver: "4" + tblver: "1922" + bgp_neigh: "192.168.111.6" + neigh_as: "11111" + msg_rcvd: "124617" + msg_sent: "124458" + in_queue: "0" + out_queue: "0" + up_down: "2w2d" + state_pfxrcd: "1" From d0fed69c74c12188d44eba8dc0660b5380a8e62c Mon Sep 17 00:00:00 2001 From: Przemek Rogala Date: Mon, 1 Mar 2021 15:13:09 +0000 Subject: [PATCH 556/628] Update: WLC WLAN Summary - make PMIP_MOBILITY optional (#872) --- templates/cisco_wlc_ssh_show_wlan_sum.textfsm | 4 ++-- .../cisco_wlc_ssh_show_wlan_sum2.raw | 8 ++++++++ .../cisco_wlc_ssh_show_wlan_sum2.yml | 20 +++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.raw create mode 100644 tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.yml diff --git a/templates/cisco_wlc_ssh_show_wlan_sum.textfsm b/templates/cisco_wlc_ssh_show_wlan_sum.textfsm index 23810a8059..e798864aaa 100644 --- a/templates/cisco_wlc_ssh_show_wlan_sum.textfsm +++ b/templates/cisco_wlc_ssh_show_wlan_sum.textfsm @@ -8,9 +8,9 @@ Value PMIP_MOBILITY (\S+) Start ^Number\s+of\s+WLANs - ^WLAN\s+ID\s+WLAN\s+Profile\s+Name\s+\/\s+SSID\s+Status\s+Interface\s+Name\s+PMIPv6\s+Mobility\s*$$ + ^WLAN\s+ID\s+WLAN\s+Profile\s+Name\s+\/\s+SSID\s+Status\s+Interface\s+Name(\s+PMIPv6\s+Mobility)?\s*$$ ^-------\s+ - ^${WLANID}\s+${PROFILE}\s/\s${SSID}\s+${STATUS}\s+${INTERFACE}\s+${PMIP_MOBILITY}\s*$$ -> Record + ^${WLANID}\s+${PROFILE}\s/\s${SSID}\s+${STATUS}\s+${INTERFACE}(\s+${PMIP_MOBILITY})?\s*$$ -> Record ^\s*$$ ^. -> Error diff --git a/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.raw b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.raw new file mode 100644 index 0000000000..74f5169242 --- /dev/null +++ b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.raw @@ -0,0 +1,8 @@ + +Number of WLANs.................................. 3 + +WLAN ID WLAN Profile Name / SSID Status Interface Name +------- ------------------------------------- -------- -------------------- +4 OfficeFloor / OfficeFloor Enabled officefloor_int +5 OfficeLobby / OfficeLobby Enabled officelobby_int +6 LoadingBay / LoadingBay Enabled loadingbay_int diff --git a/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.yml b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.yml new file mode 100644 index 0000000000..16457b130a --- /dev/null +++ b/tests/cisco_wlc_ssh/show_wlan_sum/cisco_wlc_ssh_show_wlan_sum2.yml @@ -0,0 +1,20 @@ +--- +parsed_sample: + - wlanid: "4" + profile: "OfficeFloor" + ssid: "OfficeFloor" + status: "Enabled" + interface: "officefloor_int" + pmip_mobility: "" + - wlanid: "5" + profile: "OfficeLobby" + ssid: "OfficeLobby" + status: "Enabled" + interface: "officelobby_int" + pmip_mobility: "" + - wlanid: "6" + profile: "LoadingBay" + ssid: "LoadingBay" + status: "Enabled" + interface: "loadingbay_int" + pmip_mobility: "" From 1e1794b5db73ad50cb1840f74126e6bef714d1ae Mon Sep 17 00:00:00 2001 From: Pieter Date: Wed, 10 Mar 2021 04:46:36 +1300 Subject: [PATCH 557/628] Bugfix: cisco_nxos_show_ip_route - Account for no route found for VRF (#870) --- templates/cisco_nxos_show_ip_route.textfsm | 3 ++ .../cisco_nxos_show_ip_route_vrf2.raw | 25 ++++++++++ .../cisco_nxos_show_ip_route_vrf2.yml | 47 +++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.raw create mode 100644 tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml diff --git a/templates/cisco_nxos_show_ip_route.textfsm b/templates/cisco_nxos_show_ip_route.textfsm index 2f5f163f01..2e5e39b31f 100644 --- a/templates/cisco_nxos_show_ip_route.textfsm +++ b/templates/cisco_nxos_show_ip_route.textfsm @@ -19,6 +19,9 @@ Start # Match the Network/Prefix Line ^\s*${NETWORK}\/${MASK}, ubest/mbest: # + # Match empty vrf + ^\s*Route not found -> Record + # # Match VXLAN Route Entry ^\s+\*+via ${NEXTHOP_IP}(%${NEXTHOP_VRF})?, \[${DISTANCE}/${METRIC}\], ${UPTIME}, ${PROTOCOL}, ${TYPE}, tag ${TAG}\s+segid: ${SEGID}\s+tunnelid: ${TUNNELID}\s+encap: ${ENCAP} -> Record # diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.raw b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.raw new file mode 100644 index 0000000000..bef49d07b6 --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.raw @@ -0,0 +1,25 @@ +IP Route Table for VRF "default" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +Route not found + +IP Route Table for VRF "DMZ" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +0.0.0.0/0, ubest/mbest: 1/0 + *via 169.254.0.1, [20/0], 41w6d, bgp-64512, external, tag 64512 + +IP Route Table for VRF "Users" +'*' denotes best ucast next-hop +'**' denotes best mcast next-hop +'[x/y]' denotes [preference/metric] +'%' in via output denotes VRF + +0.0.0.0/0, ubest/mbest: 1/0 + *via 169.254.0.1%DMZ, [20/0], 41w6d, bgp-64512, external, tag 64512 diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml new file mode 100644 index 0000000000..998ef80724 --- /dev/null +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml @@ -0,0 +1,47 @@ +--- +parsed_sample: + - vrf: "default" + protocol: "" + type: "" + network: "" + mask: "" + distance: "" + metric: "" + nexthop_ip: "" + nexthop_if: "" + uptime: "" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "DMZ" + protocol: "bgp-64512" + type: "" + network: "0.0.0.0" + mask: "0" + distance: "20" + metric: "0" + nexthop_ip: "169.254.0.1" + nexthop_if: "" + uptime: "41w6d" + nexthop_vrf: "" + tag: "" + segid: "" + tunnelid: "" + encap: "" + - vrf: "Users" + protocol: "bgp-64512" + type: "" + network: "0.0.0.0" + mask: "0" + distance: "20" + metric: "0" + nexthop_ip: "169.254.0.1" + nexthop_if: "" + uptime: "41w6d" + nexthop_vrf: "DMZ" + tag: "" + segid: "" + tunnelid: "" + encap: "" From 966392a09d15bfe8e4c36644cb00dbe503c237c5 Mon Sep 17 00:00:00 2001 From: Pieter Date: Wed, 10 Mar 2021 07:04:49 +1300 Subject: [PATCH 558/628] Fixes #851 NXOS: show ip arp detail (#857) --- .../cisco_nxos_show_ip_arp_detail.textfsm | 13 +- .../cisco_nxos_show_ip_arp_detail2.raw | 849 ++++ .../cisco_nxos_show_ip_arp_detail2.yml | 4207 +++++++++++++++++ 3 files changed, 5067 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.raw create mode 100644 tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.yml diff --git a/templates/cisco_nxos_show_ip_arp_detail.textfsm b/templates/cisco_nxos_show_ip_arp_detail.textfsm index 77539ae034..4ed1d89bee 100644 --- a/templates/cisco_nxos_show_ip_arp_detail.textfsm +++ b/templates/cisco_nxos_show_ip_arp_detail.textfsm @@ -1,8 +1,17 @@ Value ADDRESS (\d+\.\d+\.\d+\.\d+) -Value AGE (\d+:\d+:\d+|-) +Value AGE (\S+) Value MAC (\S+) Value INTERFACE (\S+) Value PHYSICAL_INTERFACE (\S+) Start - ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${INTERFACE}\s+${PHYSICAL_INTERFACE} -> Record + #Ignore junk + ^.+\s-\sAdjacencies\s + ^\s*IP\sARP\sTable\s + ^\s*Total\snumber\sof\sentries: + ^\s*Address\s+Age\s+MAC\s+Address\s+Interface\s+Physical\sInterface\s*$$ -> Data + ^. -> Error + +Data + ^${ADDRESS}\s+${AGE}\s+${MAC}\s+${INTERFACE}\s+${PHYSICAL_INTERFACE}\s*$$ -> Record + ^. -> Error diff --git a/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.raw b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.raw new file mode 100644 index 0000000000..6cbe79b74f --- /dev/null +++ b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.raw @@ -0,0 +1,849 @@ +Flags: * - Adjacencies learnt on non-active FHRP router + + - Adjacencies synced via CFSoE + # - Adjacencies Throttled for Glean + +IP ARP Table for context default +Total number of entries: 1625 +Address Age MAC Address Interface Physical Interface +146.118.1.91 00:00:13 INCOMPLETE Vlan701 Vlan701 +146.118.1.92 00:00:57 b40c.25e0.4011 Vlan701 port-channel222 +146.118.1.93 0.106174 INCOMPLETE Vlan701 Vlan701 +146.118.64.2 00:01:09 fa16.3e34.eb89 Vlan666 port-channel666 +146.118.64.3 00:00:09 fa16.3ebb.a659 Vlan666 port-channel666 +146.118.64.4 00:01:05 fa16.3e16.b96a Vlan666 port-channel666 +146.118.64.5 00:10:08 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.64.6 00:00:16 fa16.3e7f.5701 Vlan666 port-channel666 +146.118.64.7 00:00:23 fa16.3e04.dea1 Vlan666 port-channel666 +146.118.64.8 00:01:03 fa16.3eed.d157 Vlan666 port-channel666 +146.118.64.9 00:09:50 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.64.10 00:09:54 fa16.3e62.c01b Vlan666 port-channel666 +146.118.64.11 00:10:42 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.64.13 00:00:17 fa16.3e2f.5a7a Vlan666 port-channel666 +146.118.64.14 00:00:18 fa16.3e5d.75dc Vlan666 port-channel666 +146.118.64.15 00:00:30 fa16.3ee0.62d6 Vlan666 port-channel666 +146.118.64.16 00:00:49 fa16.3ebe.0582 Vlan666 port-channel666 +146.118.64.17 00:00:13 fa16.3e83.b27a Vlan666 port-channel666 +146.118.64.18 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.64.19 00:10:13 fa16.3e98.d064 Vlan666 port-channel666 +146.118.64.20 00:00:41 fa16.3ee9.2c38 Vlan666 port-channel666 +146.118.64.22 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.64.23 00:00:52 fa16.3ecf.ee58 Vlan666 port-channel666 +146.118.64.24 00:09:53 fa16.3e8b.ac0b Vlan666 port-channel666 +146.118.64.25 0.129496 fa16.3e23.ff3e Vlan666 port-channel666 +146.118.64.26 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.64.27 00:10:19 fa16.3ec4.5c76 Vlan666 port-channel666 +146.118.64.28 00:10:27 fa16.3eba.402d Vlan666 port-channel666 +146.118.64.29 00:10:29 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.64.30 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.64.31 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.64.32 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.64.33 00:00:03 fa16.3eca.9ee9 Vlan666 port-channel666 +146.118.64.34 00:00:26 fa16.3ec9.9d4e Vlan666 port-channel666 +146.118.64.35 00:09:59 fa16.3e62.033d Vlan666 port-channel666 +146.118.64.36 00:00:49 fa16.3e62.5bfc Vlan666 port-channel666 +146.118.64.37 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.64.39 00:00:22 fa16.3edc.26d2 Vlan666 port-channel666 +146.118.64.41 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.64.42 00:00:07 fa16.3e60.d23b Vlan666 port-channel666 +146.118.64.44 00:00:38 fa16.3e30.995b Vlan666 port-channel666 +146.118.64.45 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.64.46 00:00:55 fa16.3e76.dd5a Vlan666 port-channel666 +146.118.64.47 00:00:14 fa16.3e3c.b35c Vlan666 port-channel666 +146.118.64.48 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.64.49 00:00:13 fa16.3ea2.33c5 Vlan666 port-channel666 +146.118.64.50 00:09:57 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.64.51 00:00:13 fa16.3eea.9c79 Vlan666 port-channel666 +146.118.64.52 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.64.53 00:10:44 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.54 00:01:19 fa16.3e56.0e29 Vlan666 port-channel666 +146.118.64.55 00:00:36 fa16.3e69.9a60 Vlan666 port-channel666 +146.118.64.56 00:02:48 fa16.3e74.ea2d Vlan666 port-channel666 +146.118.64.57 00:10:13 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.58 00:10:22 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.64.59 00:00:37 fa16.3ec0.191f Vlan666 port-channel666 +146.118.64.60 00:10:34 fa16.3e84.f34f Vlan666 port-channel666 +146.118.64.61 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.64.62 00:10:15 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.64 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.64.65 00:00:32 fa16.3ec4.e11e Vlan666 port-channel666 +146.118.64.66 00:00:39 fa16.3e4a.f501 Vlan666 port-channel666 +146.118.64.67 00:00:24 INCOMPLETE Vlan666 Vlan666 +146.118.64.68 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.64.69 00:00:56 fa16.3e46.97ad Vlan666 port-channel666 +146.118.64.70 00:00:17 INCOMPLETE Vlan666 Vlan666 +146.118.64.71 00:00:48 fa16.3e7c.0409 Vlan666 port-channel666 +146.118.64.73 00:00:14 fa16.3e0a.9725 Vlan666 port-channel666 +146.118.64.74 00:00:24 fa16.3ec0.8c81 Vlan666 port-channel666 +146.118.64.75 00:10:12 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.64.76 00:00:34 fa16.3e9f.f2ff Vlan666 port-channel666 +146.118.64.77 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.64.78 00:00:14 fa16.3e6f.d955 Vlan666 port-channel666 +146.118.64.79 00:00:46 fa16.3ea2.7988 Vlan666 port-channel666 +146.118.64.80 00:10:18 fa16.3ecc.4436 Vlan666 port-channel666 +146.118.64.81 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.64.82 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.64.83 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.64.84 00:00:05 INCOMPLETE Vlan666 Vlan666 +146.118.64.85 00:00:02 fa16.3e28.93d5 Vlan666 port-channel666 +146.118.64.86 00:10:32 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.64.87 00:00:05 INCOMPLETE Vlan666 Vlan666 +146.118.64.88 00:00:49 fa16.3e25.5e76 Vlan666 port-channel666 +146.118.64.89 00:10:21 fa16.3e9a.57bc Vlan666 port-channel666 +146.118.64.90 00:01:19 fa16.3e2a.b3ac Vlan666 port-channel666 +146.118.64.91 00:10:19 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.64.92 00:10:34 fa16.3ec4.e11e Vlan666 port-channel666 +146.118.64.93 00:00:03 INCOMPLETE Vlan666 Vlan666 +146.118.64.94 00:00:33 fa16.3e73.f0cb Vlan666 port-channel666 +146.118.64.96 00:09:48 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.64.97 00:09:53 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.64.98 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.64.99 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.64.100 00:06:26 fa16.3eb0.4437 Vlan666 port-channel666 +146.118.64.101 00:09:52 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.64.102 00:00:06 fa16.3e20.e36f Vlan666 port-channel666 +146.118.64.103 00:00:35 fa16.3efe.7305 Vlan666 port-channel666 +146.118.64.104 00:10:15 fa16.3e91.0b31 Vlan666 port-channel666 +146.118.64.105 00:10:45 fa16.3edd.f255 Vlan666 port-channel666 +146.118.64.106 00:10:21 fa16.3e5b.28f6 Vlan666 port-channel666 +146.118.64.108 00:00:55 fa16.3e35.a60d Vlan666 port-channel666 +146.118.64.109 00:10:32 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.64.110 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.64.111 00:10:08 fa16.3e29.097a Vlan666 port-channel666 +146.118.64.112 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.64.113 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.64.115 00:00:40 fa16.3ea5.ce5f Vlan666 port-channel666 +146.118.64.116 00:10:12 fa16.3edd.f255 Vlan666 port-channel666 +146.118.64.117 00:00:53 fa16.3eb8.40ce Vlan666 port-channel666 +146.118.64.118 00:00:14 fa16.3e2a.8881 Vlan666 port-channel666 +146.118.64.119 00:09:59 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.64.120 00:00:27 fa16.3ed8.0825 Vlan666 port-channel666 +146.118.64.121 00:10:37 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.64.122 00:10:26 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.64.123 00:00:37 fa16.3e19.e8a3 Vlan666 port-channel666 +146.118.64.124 00:00:24 INCOMPLETE Vlan666 Vlan666 +146.118.64.125 00:01:59 fa16.3e93.b99c Vlan666 port-channel666 +146.118.64.126 00:10:37 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.64.127 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.64.128 00:10:11 fa16.3e62.033d Vlan666 port-channel666 +146.118.64.130 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.64.131 00:00:31 fa16.3e92.1860 Vlan666 port-channel666 +146.118.64.132 00:00:03 INCOMPLETE Vlan666 Vlan666 +146.118.64.133 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.64.134 00:00:46 fa16.3e23.4479 Vlan666 port-channel666 +146.118.64.135 00:10:21 fa16.3ef1.e338 Vlan666 port-channel666 +146.118.64.137 00:00:17 fa16.3eca.e4d1 Vlan666 port-channel666 +146.118.64.138 00:09:55 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.64.139 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.64.140 00:00:08 fa16.3ea5.65ff Vlan666 port-channel666 +146.118.64.141 00:10:40 fa16.3ef5.40d1 Vlan666 port-channel666 +146.118.64.143 00:00:03 fa16.3ef8.a9bf Vlan666 port-channel666 +146.118.64.144 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.64.145 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.64.147 00:10:01 fa16.3e11.465e Vlan666 port-channel666 +146.118.64.148 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.64.149 00:00:18 fa16.3edf.1641 Vlan666 port-channel666 +146.118.64.150 00:00:11 fa16.3e61.1ab1 Vlan666 port-channel666 +146.118.64.151 00:00:28 INCOMPLETE Vlan666 Vlan666 +146.118.64.152 00:10:46 fa16.3eb8.39d3 Vlan666 port-channel666 +146.118.64.153 00:00:32 fa16.3e76.9a53 Vlan666 port-channel666 +146.118.64.154 00:10:45 fa16.3e8f.30a2 Vlan666 port-channel666 +146.118.64.155 00:10:26 fa16.3e16.e08d Vlan666 port-channel666 +146.118.64.156 00:00:16 fa16.3eea.fb02 Vlan666 port-channel666 +146.118.64.158 00:09:56 fa16.3e25.015f Vlan666 port-channel666 +146.118.64.159 00:00:03 fa16.3e35.d24b Vlan666 port-channel666 +146.118.64.160 00:00:31 fa16.3e87.1ada Vlan666 port-channel666 +146.118.64.161 00:00:09 fa16.3e55.0022 Vlan666 port-channel666 +146.118.64.162 00:10:10 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.64.163 00:12:18 fa16.3e14.251f Vlan666 port-channel666 +146.118.64.164 00:10:42 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.64.165 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.64.167 00:01:04 fa16.3e9f.5568 Vlan666 port-channel666 +146.118.64.168 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.64.169 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.64.171 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.64.173 00:00:11 fa16.3e6f.9773 Vlan666 port-channel666 +146.118.64.174 00:00:25 fa16.3e12.89e3 Vlan666 port-channel666 +146.118.64.175 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.64.176 00:01:59 fa16.3e65.bc09 Vlan666 port-channel666 +146.118.64.177 00:00:28 fa16.3e72.3421 Vlan666 port-channel666 +146.118.64.179 00:10:26 fa16.3e84.f34f Vlan666 port-channel666 +146.118.64.180 00:10:04 fa16.3edd.f255 Vlan666 port-channel666 +146.118.64.181 00:00:17 fa16.3ee1.9a57 Vlan666 port-channel666 +146.118.64.182 00:00:27 fa16.3e2d.d271 Vlan666 port-channel666 +146.118.64.183 00:00:21 fa16.3e41.4649 Vlan666 port-channel666 +146.118.64.184 00:00:01 fa16.3e91.5d50 Vlan666 port-channel666 +146.118.64.185 00:00:34 fa16.3e48.34ad Vlan666 port-channel666 +146.118.64.186 00:09:48 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.187 00:10:42 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.64.188 00:00:06 fa16.3ead.9956 Vlan666 port-channel666 +146.118.64.189 00:10:01 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.64.190 00:10:11 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.191 00:09:52 fa16.3e84.f34f Vlan666 port-channel666 +146.118.64.192 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.64.193 00:10:13 fa16.3eb8.39d3 Vlan666 port-channel666 +146.118.64.194 00:10:26 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.64.195 00:10:15 fa16.3ed5.cdf2 Vlan666 port-channel666 +146.118.64.196 00:00:07 fa16.3e6f.6e46 Vlan666 port-channel666 +146.118.64.197 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.64.198 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.64.199 00:10:13 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.64.200 00:00:09 INCOMPLETE Vlan666 Vlan666 +146.118.64.201 00:10:23 fa16.3e8c.71ad Vlan666 port-channel666 +146.118.64.202 00:00:01 INCOMPLETE Vlan666 Vlan666 +146.118.64.203 00:00:19 fa16.3e38.b7e2 Vlan666 port-channel666 +146.118.64.204 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.64.205 00:10:19 fa16.3ef1.e338 Vlan666 port-channel666 +146.118.64.206 00:00:01 fa16.3e98.d064 Vlan666 port-channel666 +146.118.64.207 00:09:59 fa16.3e16.e08d Vlan666 port-channel666 +146.118.64.209 00:00:19 fa16.3e9f.03a8 Vlan666 port-channel666 +146.118.64.210 00:00:19 fa16.3ee5.b01b Vlan666 port-channel666 +146.118.64.211 00:00:17 fa16.3e7d.2f2b Vlan666 port-channel666 +146.118.64.212 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.64.213 00:10:29 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.64.214 00:00:30 INCOMPLETE Vlan666 Vlan666 +146.118.64.215 00:00:03 fa16.3e16.a693 Vlan666 port-channel666 +146.118.64.216 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.64.217 00:00:27 fa16.3e7c.7a85 Vlan666 port-channel666 +146.118.64.218 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.64.219 00:10:26 fa16.3e5b.28f6 Vlan666 port-channel666 +146.118.64.221 00:13:36 fa16.3ea3.335b Vlan666 port-channel666 +146.118.64.222 00:13:21 fa16.3e49.e594 Vlan666 port-channel666 +146.118.64.223 00:00:12 fa16.3ecd.ea21 Vlan666 port-channel666 +146.118.64.224 00:00:37 fa16.3e01.958e Vlan666 port-channel666 +146.118.64.225 00:10:16 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.64.226 00:00:10 fa16.3ebc.f748 Vlan666 port-channel666 +146.118.64.227 00:00:33 fa16.3ee3.4c77 Vlan666 port-channel666 +146.118.64.228 00:00:28 INCOMPLETE Vlan666 Vlan666 +146.118.64.229 00:10:09 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.64.230 00:00:33 fa16.3e38.f136 Vlan666 port-channel666 +146.118.64.231 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.64.232 00:00:14 fa16.3e19.abfc Vlan666 port-channel666 +146.118.64.233 00:00:28 INCOMPLETE Vlan666 Vlan666 +146.118.64.235 00:00:03 fa16.3ee8.e41c Vlan666 port-channel666 +146.118.64.236 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.64.239 00:00:45 fa16.3ebb.6e76 Vlan666 port-channel666 +146.118.64.240 00:00:08 fa16.3e89.5377 Vlan666 port-channel666 +146.118.64.242 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.64.243 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.64.244 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.64.245 00:00:10 fa16.3eba.50a6 Vlan666 port-channel666 +146.118.64.246 00:00:06 fa16.3e37.9c54 Vlan666 port-channel666 +146.118.64.247 00:00:33 fa16.3e91.d530 Vlan666 port-channel666 +146.118.64.248 00:10:32 fa16.3edf.1641 Vlan666 port-channel666 +146.118.64.250 00:00:54 fa16.3e23.ee6a Vlan666 port-channel666 +146.118.64.251 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.64.254 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.65.0 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.65.1 00:10:34 fa16.3e84.f34f Vlan666 port-channel666 +146.118.65.2 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.65.3 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.65.4 00:00:32 fa16.3ec4.44ac Vlan666 port-channel666 +146.118.65.5 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.65.6 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.65.7 00:10:08 fa16.3eba.402d Vlan666 port-channel666 +146.118.65.8 00:00:42 fa16.3ee7.87da Vlan666 port-channel666 +146.118.65.9 00:09:48 fa16.3e84.f34f Vlan666 port-channel666 +146.118.65.10 00:00:11 fa16.3e4b.3a7a Vlan666 port-channel666 +146.118.65.11 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.65.12 00:00:27 fa16.3e93.f6ba Vlan666 port-channel666 +146.118.65.14 00:01:02 fa16.3ed9.7a23 Vlan666 port-channel666 +146.118.65.15 00:10:32 fa16.3eb8.39d3 Vlan666 port-channel666 +146.118.65.16 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.65.17 00:10:17 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.65.18 00:00:18 fa16.3e8b.8df9 Vlan666 port-channel666 +146.118.65.19 00:00:37 fa16.3e99.c830 Vlan666 port-channel666 +146.118.65.20 00:09:47 fa16.3e8e.c4c8 Vlan666 port-channel666 +146.118.65.21 00:00:56 fa16.3e58.2279 Vlan666 port-channel666 +146.118.65.22 00:02:06 fa16.3e80.3b85 Vlan666 port-channel666 +146.118.65.23 00:10:01 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.65.24 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.65.25 00:00:17 INCOMPLETE Vlan666 Vlan666 +146.118.65.27 00:00:05 fa16.3e03.b4e8 Vlan666 port-channel666 +146.118.65.29 00:10:09 fa16.3edd.f255 Vlan666 port-channel666 +146.118.65.30 00:00:05 fa16.3e8c.73a8 Vlan666 port-channel666 +146.118.65.31 00:00:43 fa16.3e5c.c85f Vlan666 port-channel666 +146.118.65.32 00:00:43 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.65.33 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.65.34 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.65.35 00:00:04 fa16.3ef2.8e4d Vlan666 port-channel666 +146.118.65.37 00:10:39 fa16.3e84.f34f Vlan666 port-channel666 +146.118.65.38 00:00:05 fa16.3eeb.b0ff Vlan666 port-channel666 +146.118.65.40 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.65.41 00:00:26 fa16.3e0b.c029 Vlan666 port-channel666 +146.118.65.42 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.65.45 00:00:04 fa16.3e55.dcb0 Vlan666 port-channel666 +146.118.65.46 00:00:23 fa16.3e38.30d4 Vlan666 port-channel666 +146.118.65.47 00:00:08 fa16.3e66.7480 Vlan666 port-channel666 +146.118.65.48 00:00:20 fa16.3e8d.ef96 Vlan666 port-channel666 +146.118.65.49 00:10:10 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.65.50 00:09:52 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.65.51 00:00:19 fa16.3efa.5567 Vlan666 port-channel666 +146.118.65.52 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.65.53 00:00:09 INCOMPLETE Vlan666 Vlan666 +146.118.65.54 00:00:03 fa16.3eff.b63f Vlan666 port-channel666 +146.118.65.55 00:00:18 fa16.3ee3.1eba Vlan666 port-channel666 +146.118.65.56 00:00:12 fa16.3e6a.2552 Vlan666 port-channel666 +146.118.65.57 00:03:00 fa16.3ea7.1869 Vlan666 port-channel666 +146.118.65.58 00:10:39 fa16.3ec4.5c76 Vlan666 port-channel666 +146.118.65.59 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.65.60 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.65.61 00:00:21 fa16.3e05.d3f1 Vlan666 port-channel666 +146.118.65.62 00:00:41 fa16.3ea2.098f Vlan666 port-channel666 +146.118.65.63 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.65.64 00:10:15 fa16.3e10.b451 Vlan666 port-channel666 +146.118.65.65 00:00:43 fa16.3e06.f2e7 Vlan666 port-channel666 +146.118.65.66 00:00:28 INCOMPLETE Vlan666 Vlan666 +146.118.65.67 00:10:25 fa16.3eed.14e9 Vlan666 port-channel666 +146.118.65.68 00:01:10 fa16.3e8a.8caa Vlan666 port-channel666 +146.118.65.69 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.65.70 00:01:04 fa16.3e49.10ca Vlan666 port-channel666 +146.118.65.73 00:00:57 fa16.3e82.1cb1 Vlan666 port-channel666 +146.118.65.75 00:10:10 fa16.3e25.015f Vlan666 port-channel666 +146.118.65.77 00:01:09 fa16.3eb2.ca81 Vlan666 port-channel666 +146.118.65.78 00:10:39 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.65.79 00:00:21 fa16.3e09.f1b8 Vlan666 port-channel666 +146.118.65.80 00:10:37 fa16.3e41.e690 Vlan666 port-channel666 +146.118.65.81 00:01:12 fa16.3e0d.8f20 Vlan666 port-channel666 +146.118.65.82 00:00:50 fa16.3ece.a872 Vlan666 port-channel666 +146.118.65.83 00:00:41 fa16.3e2a.934c Vlan666 port-channel666 +146.118.65.84 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.65.85 00:10:38 fa16.3e1f.78e8 Vlan666 port-channel666 +146.118.65.86 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.65.88 00:00:26 INCOMPLETE Vlan666 Vlan666 +146.118.65.89 00:00:10 fa16.3ea0.8068 Vlan666 port-channel666 +146.118.65.90 00:10:17 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.65.91 00:00:10 fa16.3e03.51a7 Vlan666 port-channel666 +146.118.65.92 00:09:48 fa16.3ef1.e338 Vlan666 port-channel666 +146.118.65.93 00:00:28 fa16.3eba.402d Vlan666 port-channel666 +146.118.65.95 00:00:19 fa16.3ef2.f79b Vlan666 port-channel666 +146.118.65.96 00:00:58 fa16.3e7d.bafc Vlan666 port-channel666 +146.118.65.97 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.65.98 00:09:48 fa16.3edd.f255 Vlan666 port-channel666 +146.118.65.99 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.65.100 00:00:55 fa16.3ebb.74bd Vlan666 port-channel666 +146.118.65.101 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.65.102 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.65.103 00:09:58 fa16.3eba.402d Vlan666 port-channel666 +146.118.65.105 00:10:41 fa16.3ef5.40d1 Vlan666 port-channel666 +146.118.65.106 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.65.107 00:00:40 fa16.3ee1.69c2 Vlan666 port-channel666 +146.118.65.108 00:01:07 fa16.3e30.8794 Vlan666 port-channel666 +146.118.65.109 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.65.110 00:00:02 fa16.3e53.a252 Vlan666 port-channel666 +146.118.65.111 00:00:47 fa16.3e8c.318b Vlan666 port-channel666 +146.118.65.112 00:09:58 fa16.3e56.f059 Vlan666 port-channel666 +146.118.65.113 00:00:32 fa16.3ef8.622a Vlan666 port-channel666 +146.118.65.114 00:00:28 fa16.3ec0.ff2b Vlan666 port-channel666 +146.118.65.115 00:00:59 fa16.3e1c.ed73 Vlan666 port-channel666 +146.118.65.116 00:00:48 fa16.3e5a.6eb4 Vlan666 port-channel666 +146.118.65.117 00:00:08 fa16.3edf.0d1f Vlan666 port-channel666 +146.118.65.118 00:00:02 fa16.3e63.1c37 Vlan666 port-channel666 +146.118.65.119 00:00:41 fa16.3e64.3d85 Vlan666 port-channel666 +146.118.65.120 00:00:49 fa16.3e9a.21a4 Vlan666 port-channel666 +146.118.65.121 00:00:01 fa16.3e60.c844 Vlan666 port-channel666 +146.118.65.122 00:00:07 fa16.3e83.ff52 Vlan666 port-channel666 +146.118.65.123 00:01:22 fa16.3ed8.4753 Vlan666 port-channel666 +146.118.65.124 00:00:39 fa16.3e3c.3e7a Vlan666 port-channel666 +146.118.65.125 00:01:01 fa16.3ec6.dfa7 Vlan666 port-channel666 +146.118.65.126 00:01:36 fa16.3e44.15ba Vlan666 port-channel666 +146.118.65.127 00:00:47 fa16.3e49.920a Vlan666 port-channel666 +146.118.65.128 00:01:32 fa16.3ee7.97a0 Vlan666 port-channel666 +146.118.65.129 00:02:02 fa16.3e36.62b6 Vlan666 port-channel666 +146.118.65.130 00:09:55 fa16.3e41.e690 Vlan666 port-channel666 +146.118.65.131 00:00:47 fa16.3e1f.84b1 Vlan666 port-channel666 +146.118.65.132 0.651324 fa16.3eda.6240 Vlan666 port-channel666 +146.118.65.134 00:00:43 fa16.3ef9.8fa1 Vlan666 port-channel666 +146.118.65.135 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.65.136 00:00:11 fa16.3e21.ae2c Vlan666 port-channel666 +146.118.65.138 00:09:50 fa16.3e9f.fc7b Vlan666 port-channel666 +146.118.65.139 00:10:18 fa16.3e25.015f Vlan666 port-channel666 +146.118.65.142 00:00:05 fa16.3e20.fb81 Vlan666 port-channel666 +146.118.65.143 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.65.144 00:10:36 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.65.145 00:00:08 fa16.3e42.c2c0 Vlan666 port-channel666 +146.118.65.146 00:01:42 fa16.3e04.8675 Vlan666 port-channel666 +146.118.65.148 00:00:43 fa16.3ea5.af6b Vlan666 port-channel666 +146.118.65.149 00:09:57 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.65.150 00:02:25 fa16.3efe.eeb7 Vlan666 port-channel666 +146.118.65.153 00:00:03 fa16.3ee4.45cc Vlan666 port-channel666 +146.118.65.154 00:00:37 fa16.3edd.f612 Vlan666 port-channel666 +146.118.65.155 00:00:08 fa16.3ec2.7fb6 Vlan666 port-channel666 +146.118.65.156 00:00:04 fa16.3e00.b706 Vlan666 port-channel666 +146.118.65.157 00:10:27 fa16.3e5b.28f6 Vlan666 port-channel666 +146.118.65.158 00:00:09 INCOMPLETE Vlan666 Vlan666 +146.118.65.160 00:00:06 fa16.3e96.e10c Vlan666 port-channel666 +146.118.65.161 00:00:01 INCOMPLETE Vlan666 Vlan666 +146.118.65.162 00:00:24 INCOMPLETE Vlan666 Vlan666 +146.118.65.163 00:00:25 fa16.3e43.c8f3 Vlan666 port-channel666 +146.118.65.164 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.65.165 00:00:16 fa16.3e50.b145 Vlan666 port-channel666 +146.118.65.166 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.65.167 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.65.168 00:10:37 fa16.3ed1.6933 Vlan666 port-channel666 +146.118.65.169 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.65.170 00:10:06 fa16.3e29.097a Vlan666 port-channel666 +146.118.65.171 00:00:27 fa16.3eaf.4d09 Vlan666 port-channel666 +146.118.65.172 00:10:30 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.65.173 00:00:17 fa16.3e9c.3250 Vlan666 port-channel666 +146.118.65.174 00:00:21 fa16.3ed0.83cf Vlan666 port-channel666 +146.118.65.175 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.65.176 00:00:56 fa16.3e1b.10b3 Vlan666 port-channel666 +146.118.65.177 00:00:43 fa16.3ecc.4f77 Vlan666 port-channel666 +146.118.65.178 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.65.180 00:00:42 fa16.3ee5.5748 Vlan666 port-channel666 +146.118.65.181 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.65.182 00:00:03 fa16.3e29.3471 Vlan666 port-channel666 +146.118.65.184 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.65.185 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.65.186 00:00:16 fa16.3ef0.a8b5 Vlan666 port-channel666 +146.118.65.187 00:10:39 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.65.188 00:10:02 fa16.3e16.e08d Vlan666 port-channel666 +146.118.65.189 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.65.190 00:09:56 fa16.3e1f.78e8 Vlan666 port-channel666 +146.118.65.191 00:00:43 fa16.3eb4.f22c Vlan666 port-channel666 +146.118.65.194 00:01:17 fa16.3efa.1387 Vlan666 port-channel666 +146.118.65.195 00:00:08 fa16.3e42.649c Vlan666 port-channel666 +146.118.65.196 00:01:03 fa16.3ef9.cf38 Vlan666 port-channel666 +146.118.65.197 00:10:42 fa16.3e34.27c6 Vlan666 port-channel666 +146.118.65.198 00:00:07 fa16.3e59.e0e2 Vlan666 port-channel666 +146.118.65.199 00:10:01 fa16.3e80.37d6 Vlan666 port-channel666 +146.118.65.200 00:10:29 fa16.3ef1.e338 Vlan666 port-channel666 +146.118.65.201 00:01:02 fa16.3e95.155a Vlan666 port-channel666 +146.118.65.202 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.65.203 00:10:11 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.65.204 00:00:44 fa16.3e30.120a Vlan666 port-channel666 +146.118.65.205 00:09:54 fa16.3ecc.4436 Vlan666 port-channel666 +146.118.65.206 00:09:22 fa16.3e4c.321c Vlan666 port-channel666 +146.118.65.207 00:00:17 fa16.3edd.1e27 Vlan666 port-channel666 +146.118.65.208 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.65.209 00:00:13 fa16.3eeb.81d3 Vlan666 port-channel666 +146.118.65.210 00:10:28 fa16.3e62.033d Vlan666 port-channel666 +146.118.65.211 00:00:05 fa16.3e0f.fe25 Vlan666 port-channel666 +146.118.65.212 00:00:40 fa16.3ef2.bd13 Vlan666 port-channel666 +146.118.65.214 00:00:20 fa16.3e70.f577 Vlan666 port-channel666 +146.118.65.215 00:10:19 fa16.3edd.f255 Vlan666 port-channel666 +146.118.65.216 00:00:55 fa16.3e61.51a5 Vlan666 port-channel666 +146.118.65.217 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.65.218 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.65.219 00:10:08 fa16.3edd.f255 Vlan666 port-channel666 +146.118.65.220 00:00:43 fa16.3edc.13cd Vlan666 port-channel666 +146.118.65.221 00:00:31 fa16.3e0f.f542 Vlan666 port-channel666 +146.118.65.223 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.65.224 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.65.225 00:00:20 fa16.3e85.67e6 Vlan666 port-channel666 +146.118.65.226 00:00:05 fa16.3e9f.cbc5 Vlan666 port-channel666 +146.118.65.227 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.65.228 00:09:50 fa16.3e16.e08d Vlan666 port-channel666 +146.118.65.229 00:00:08 fa16.3e4e.59ac Vlan666 port-channel666 +146.118.65.230 00:00:23 INCOMPLETE Vlan666 Vlan666 +146.118.65.231 00:00:36 fa16.3eaa.57f3 Vlan666 port-channel666 +146.118.65.233 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.65.234 00:00:08 fa16.3ee1.d34a Vlan666 port-channel666 +146.118.65.235 00:00:05 fa16.3e62.e7cb Vlan666 port-channel666 +146.118.65.237 00:01:13 fa16.3e20.009e Vlan666 port-channel666 +146.118.65.239 00:00:49 fa16.3e69.6a0b Vlan666 port-channel666 +146.118.65.240 00:10:02 fa16.3e1f.78e8 Vlan666 port-channel666 +146.118.65.241 00:00:08 fa16.3edb.98d2 Vlan666 port-channel666 +146.118.65.242 00:10:14 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.65.243 00:10:29 fa16.3e39.c16d Vlan666 port-channel666 +146.118.65.244 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.65.245 00:00:52 fa16.3e31.21ca Vlan666 port-channel666 +146.118.65.246 00:10:07 fa16.3e29.097a Vlan666 port-channel666 +146.118.65.248 00:00:17 fa16.3e25.015f Vlan666 port-channel666 +146.118.65.249 00:10:09 fa16.3e80.37d6 Vlan666 port-channel666 +146.118.65.250 00:10:35 fa16.3e16.e08d Vlan666 port-channel666 +146.118.65.251 00:00:06 fa16.3e8e.c4c8 Vlan666 port-channel666 +146.118.65.252 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.65.253 00:01:18 fa16.3e83.90cc Vlan666 port-channel666 +146.118.65.254 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.66.0 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.1 00:10:08 fa16.3eba.402d Vlan666 port-channel666 +146.118.66.3 00:00:01 INCOMPLETE Vlan666 Vlan666 +146.118.66.6 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.66.7 00:00:27 fa16.3e1d.41d7 Vlan666 port-channel666 +146.118.66.8 00:00:25 fa16.3e13.0c01 Vlan666 port-channel666 +146.118.66.9 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.66.10 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.66.12 00:10:30 fa16.3e10.b451 Vlan666 port-channel666 +146.118.66.13 00:12:11 fa16.3e9d.5003 Vlan666 port-channel666 +146.118.66.14 00:00:07 fa16.3e40.50e3 Vlan666 port-channel666 +146.118.66.15 00:00:38 fa16.3e74.b748 Vlan666 port-channel666 +146.118.66.16 00:00:32 fa16.3e54.721a Vlan666 port-channel666 +146.118.66.17 00:00:09 fa16.3e59.e456 Vlan666 port-channel666 +146.118.66.19 00:00:21 fa16.3efe.f55e Vlan666 port-channel666 +146.118.66.20 00:00:07 fa16.3e40.9cd8 Vlan666 port-channel666 +146.118.66.21 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.22 00:00:18 fa16.3e7f.ccaa Vlan666 port-channel666 +146.118.66.23 00:00:41 fa16.3e24.51a4 Vlan666 port-channel666 +146.118.66.24 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.66.25 00:00:09 fa16.3e18.d9ec Vlan666 port-channel666 +146.118.66.26 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.66.27 00:10:36 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.66.29 00:00:12 fa16.3ec4.db68 Vlan666 port-channel666 +146.118.66.30 00:09:53 fa16.3e2a.c811 Vlan666 port-channel666 +146.118.66.32 00:00:06 fa16.3e0d.755a Vlan666 port-channel666 +146.118.66.33 00:04:37 fa16.3e9f.d713 Vlan666 port-channel666 +146.118.66.35 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.66.36 00:00:31 fa16.3e8f.30a2 Vlan666 port-channel666 +146.118.66.37 00:00:06 fa16.3ed3.79cf Vlan666 port-channel666 +146.118.66.38 00:03:00 fa16.3e63.c99f Vlan666 port-channel666 +146.118.66.39 00:10:01 fa16.3eed.14e9 Vlan666 port-channel666 +146.118.66.40 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.66.41 00:01:39 fa16.3ece.3a92 Vlan666 port-channel666 +146.118.66.42 00:10:12 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.66.43 00:12:17 fa16.3e25.ac10 Vlan666 port-channel666 +146.118.66.44 00:00:30 fa16.3e54.3769 Vlan666 port-channel666 +146.118.66.45 0.024843 INCOMPLETE Vlan666 Vlan666 +146.118.66.46 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.66.47 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.66.49 00:09:52 fa16.3e34.27c6 Vlan666 port-channel666 +146.118.66.51 00:00:11 fa16.3e23.c8d3 Vlan666 port-channel666 +146.118.66.52 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.66.53 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.66.54 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.66.55 00:10:26 fa16.3e29.097a Vlan666 port-channel666 +146.118.66.56 00:10:12 fa16.3e62.033d Vlan666 port-channel666 +146.118.66.57 00:01:01 fa16.3e6e.3111 Vlan666 port-channel666 +146.118.66.58 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.66.59 00:10:12 fa16.3edd.f255 Vlan666 port-channel666 +146.118.66.61 00:10:04 fa16.3e16.e08d Vlan666 port-channel666 +146.118.66.62 00:10:31 fa16.3e16.e08d Vlan666 port-channel666 +146.118.66.63 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.66.64 00:00:50 fa16.3e31.aab5 Vlan666 port-channel666 +146.118.66.65 0.746939 INCOMPLETE Vlan666 Vlan666 +146.118.66.66 00:10:44 fa16.3e34.27c6 Vlan666 port-channel666 +146.118.66.67 00:00:24 INCOMPLETE Vlan666 Vlan666 +146.118.66.68 00:00:11 fa16.3e90.d071 Vlan666 port-channel666 +146.118.66.69 00:00:28 fa16.3e76.132c Vlan666 port-channel666 +146.118.66.70 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.66.71 00:10:44 fa16.3e16.e08d Vlan666 port-channel666 +146.118.66.72 00:10:43 fa16.3e28.93d5 Vlan666 port-channel666 +146.118.66.73 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.66.74 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.66.75 00:09:58 fa16.3e70.a72d Vlan666 port-channel666 +146.118.66.76 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.66.77 00:00:04 fa16.3ec5.36ce Vlan666 port-channel666 +146.118.66.78 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.66.79 00:00:03 fa16.3e74.b2ed Vlan666 port-channel666 +146.118.66.80 00:00:03 INCOMPLETE Vlan666 Vlan666 +146.118.66.81 00:00:21 fa16.3ecc.4436 Vlan666 port-channel666 +146.118.66.82 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.66.85 00:10:06 fa16.3e5b.28f6 Vlan666 port-channel666 +146.118.66.87 00:12:09 fa16.3e60.d5bb Vlan666 port-channel666 +146.118.66.88 00:10:32 fa16.3eba.402d Vlan666 port-channel666 +146.118.66.89 00:01:00 fa16.3e85.4ca0 Vlan666 port-channel666 +146.118.66.90 00:09:55 fa16.3eed.14e9 Vlan666 port-channel666 +146.118.66.91 00:09:51 fa16.3e29.097a Vlan666 port-channel666 +146.118.66.92 00:00:01 fa16.3e4c.f193 Vlan666 port-channel666 +146.118.66.93 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.66.95 00:00:08 fa16.3e84.f34f Vlan666 port-channel666 +146.118.66.96 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.66.97 00:00:22 fa16.3e30.d696 Vlan666 port-channel666 +146.118.66.98 00:00:33 fa16.3ef5.3cee Vlan666 port-channel666 +146.118.66.99 00:00:23 fa16.3e65.7e9c Vlan666 port-channel666 +146.118.66.100 00:00:09 fa16.3ec8.5bfb Vlan666 port-channel666 +146.118.66.102 00:00:20 fa16.3e3e.9869 Vlan666 port-channel666 +146.118.66.103 00:00:41 fa16.3eab.c850 Vlan666 port-channel666 +146.118.66.104 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.105 00:00:05 fa16.3e89.9d3b Vlan666 port-channel666 +146.118.66.106 00:00:17 fa16.3e5f.2cd2 Vlan666 port-channel666 +146.118.66.108 00:00:12 fa16.3e3d.5b29 Vlan666 port-channel666 +146.118.66.110 00:10:23 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.66.111 00:00:18 fa16.3e88.7891 Vlan666 port-channel666 +146.118.66.113 00:00:24 INCOMPLETE Vlan666 Vlan666 +146.118.66.114 00:00:18 fa16.3e10.639b Vlan666 port-channel666 +146.118.66.117 00:00:23 fa16.3edf.9d86 Vlan666 port-channel666 +146.118.66.118 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.119 00:00:28 INCOMPLETE Vlan666 Vlan666 +146.118.66.120 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.66.121 00:10:35 fa16.3e29.097a Vlan666 port-channel666 +146.118.66.122 00:10:26 fa16.3e62.033d Vlan666 port-channel666 +146.118.66.123 00:00:25 fa16.3ea8.078d Vlan666 port-channel666 +146.118.66.124 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.66.125 00:00:43 fa16.3efe.d03f Vlan666 port-channel666 +146.118.66.126 00:00:14 INCOMPLETE Vlan666 Vlan666 +146.118.66.127 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.66.129 00:00:32 fa16.3ec2.e40e Vlan666 port-channel666 +146.118.66.130 00:00:20 fa16.3e5e.0d85 Vlan666 port-channel666 +146.118.66.131 00:04:39 fa16.3e79.418c Vlan666 port-channel666 +146.118.66.132 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.66.133 00:00:04 fa16.3e6a.6056 Vlan666 port-channel666 +146.118.66.134 00:00:06 fa16.3e37.affd Vlan666 port-channel666 +146.118.66.135 00:00:36 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.66.137 00:10:08 fa16.3eed.14e9 Vlan666 port-channel666 +146.118.66.138 00:09:55 fa16.3ecc.4436 Vlan666 port-channel666 +146.118.66.139 00:00:07 fa16.3e98.7f8e Vlan666 port-channel666 +146.118.66.140 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.66.141 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.66.142 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.66.143 00:09:59 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.66.144 00:01:06 fa16.3e5c.f39d Vlan666 port-channel666 +146.118.66.145 00:10:27 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.66.146 00:10:24 fa16.3e84.f34f Vlan666 port-channel666 +146.118.66.148 00:10:07 fa16.3e48.4055 Vlan666 port-channel666 +146.118.66.149 00:00:08 fa16.3e40.a95a Vlan666 port-channel666 +146.118.66.150 00:00:40 fa16.3e47.2484 Vlan666 port-channel666 +146.118.66.151 00:00:05 fa16.3ec7.f06f Vlan666 port-channel666 +146.118.66.152 00:00:11 fa16.3e56.9d5c Vlan666 port-channel666 +146.118.66.153 00:10:09 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.66.154 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.66.155 00:10:39 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.66.156 00:10:28 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.66.157 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.66.158 00:00:22 fa16.3e0a.4725 Vlan666 port-channel666 +146.118.66.160 00:00:10 fa16.3eaa.a31e Vlan666 port-channel666 +146.118.66.161 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.66.162 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.66.163 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.66.164 00:00:09 INCOMPLETE Vlan666 Vlan666 +146.118.66.165 00:10:36 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.66.167 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.66.168 00:00:07 fa16.3efe.5bc1 Vlan666 port-channel666 +146.118.66.169 00:00:14 fa16.3ec2.0038 Vlan666 port-channel666 +146.118.66.170 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.66.171 00:00:03 fa16.3e9b.e5ca Vlan666 port-channel666 +146.118.66.172 0.466175 fa16.3e29.097a Vlan666 port-channel666 +146.118.66.173 00:00:45 fa16.3edd.33b0 Vlan666 port-channel666 +146.118.66.174 00:10:41 fa16.3e1c.c201 Vlan666 port-channel666 +146.118.66.176 00:10:09 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.66.177 00:00:03 fa16.3e1d.af89 Vlan666 port-channel666 +146.118.66.178 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.66.179 00:09:52 fa16.3eba.402d Vlan666 port-channel666 +146.118.66.180 00:00:03 fa16.3eaa.6833 Vlan666 port-channel666 +146.118.66.181 00:00:19 fa16.3eef.ca4a Vlan666 port-channel666 +146.118.66.182 00:00:03 fa16.3edf.6343 Vlan666 port-channel666 +146.118.66.183 00:10:39 fa16.3e23.3f04 Vlan666 port-channel666 +146.118.66.184 00:10:28 fa16.3e48.4055 Vlan666 port-channel666 +146.118.66.185 00:01:10 fa16.3eef.68f7 Vlan666 port-channel666 +146.118.66.186 00:00:16 fa16.3eef.5716 Vlan666 port-channel666 +146.118.66.187 00:00:03 fa16.3eea.3dd7 Vlan666 port-channel666 +146.118.66.188 00:10:03 fa16.3e00.f1a4 Vlan666 port-channel666 +146.118.66.189 00:00:51 fa16.3ea7.da62 Vlan666 port-channel666 +146.118.66.190 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.66.191 00:00:23 fa16.3e86.55bf Vlan666 port-channel666 +146.118.66.192 00:01:05 fa16.3e7b.a205 Vlan666 port-channel666 +146.118.66.193 00:00:23 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.66.195 00:00:42 fa16.3e30.5538 Vlan666 port-channel666 +146.118.66.196 00:00:49 fa16.3ec0.3308 Vlan666 port-channel666 +146.118.66.197 00:10:26 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.66.198 00:04:58 fa16.3e9f.fc7b Vlan666 port-channel666 +146.118.66.199 00:10:19 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.66.201 00:00:10 fa16.3e41.738a Vlan666 port-channel666 +146.118.66.202 00:00:15 fa16.3eed.14e9 Vlan666 port-channel666 +146.118.66.203 00:10:15 fa16.3e18.2a22 Vlan666 port-channel666 +146.118.66.205 00:00:01 INCOMPLETE Vlan666 Vlan666 +146.118.66.206 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.66.207 00:00:19 fa16.3e23.6437 Vlan666 port-channel666 +146.118.66.208 00:00:17 fa16.3e6e.e48b Vlan666 port-channel666 +146.118.66.210 00:00:04 INCOMPLETE Vlan666 Vlan666 +146.118.66.211 00:00:09 fa16.3e8c.0729 Vlan666 port-channel666 +146.118.66.212 00:00:16 fa16.3e74.d9ba Vlan666 port-channel666 +146.118.66.213 00:00:01 fa16.3ec0.e6d5 Vlan666 port-channel666 +146.118.66.214 00:10:20 fa16.3e25.015f Vlan666 port-channel666 +146.118.66.215 00:15:01 fa16.3e40.e84b Vlan666 port-channel666 +146.118.66.216 00:00:06 fa16.3e17.7e81 Vlan666 port-channel666 +146.118.66.217 00:10:22 fa16.3edd.f255 Vlan666 port-channel666 +146.118.66.218 00:10:35 fa16.3e16.e08d Vlan666 port-channel666 +146.118.66.220 00:00:26 INCOMPLETE Vlan666 Vlan666 +146.118.66.221 00:00:26 INCOMPLETE Vlan666 Vlan666 +146.118.66.224 00:10:00 fa16.3e84.f34f Vlan666 port-channel666 +146.118.66.225 00:14:05 fa16.3ea9.f1c5 Vlan666 port-channel666 +146.118.66.226 00:00:17 fa16.3e2c.8593 Vlan666 port-channel666 +146.118.66.229 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.230 00:00:47 fa16.3e68.6815 Vlan666 port-channel666 +146.118.66.231 00:00:38 fa16.3e41.7021 Vlan666 port-channel666 +146.118.66.233 00:10:00 fa16.3ecc.4436 Vlan666 port-channel666 +146.118.66.235 00:00:06 INCOMPLETE Vlan666 Vlan666 +146.118.66.236 00:00:56 fa16.3e05.d247 Vlan666 port-channel666 +146.118.66.237 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.66.238 00:00:33 fa16.3ea0.69e3 Vlan666 port-channel666 +146.118.66.239 00:00:31 fa16.3ee8.9bea Vlan666 port-channel666 +146.118.66.240 00:00:01 fa16.3e4a.1a1b Vlan666 port-channel666 +146.118.66.241 0.820451 fa16.3e80.37d6 Vlan666 port-channel666 +146.118.66.242 0.715579 INCOMPLETE Vlan666 Vlan666 +146.118.66.243 00:00:16 fa16.3e34.c1d2 Vlan666 port-channel666 +146.118.66.245 00:00:03 fa16.3e08.cc2e Vlan666 port-channel666 +146.118.66.246 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.66.247 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.66.248 00:11:58 fa16.3e55.8694 Vlan666 port-channel666 +146.118.66.249 00:14:32 fa16.3e50.cd78 Vlan666 port-channel666 +146.118.66.250 00:07:08 fa16.3e18.724a Vlan666 port-channel666 +146.118.66.251 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.66.253 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.66.255 00:00:03 fa16.3eae.f8d9 Vlan666 port-channel666 +146.118.67.0 00:01:51 fa16.3e10.b451 Vlan666 port-channel666 +146.118.67.2 00:00:12 INCOMPLETE Vlan666 Vlan666 +146.118.67.3 00:00:02 fa16.3e35.ada3 Vlan666 port-channel666 +146.118.67.4 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.5 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.67.7 00:00:02 fa16.3ebd.b023 Vlan666 port-channel666 +146.118.67.8 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.67.9 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.12 00:00:19 fa16.3e42.a67f Vlan666 port-channel666 +146.118.67.14 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.67.15 00:09:50 fa16.3ead.8125 Vlan666 port-channel666 +146.118.67.16 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.67.17 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.67.18 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.67.21 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.67.22 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.67.23 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.24 00:00:05 INCOMPLETE Vlan666 Vlan666 +146.118.67.25 00:10:18 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.67.28 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.67.30 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.67.34 00:00:32 fa16.3e6a.3dc7 Vlan666 port-channel666 +146.118.67.36 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.67.39 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.67.41 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.42 00:00:05 INCOMPLETE Vlan666 Vlan666 +146.118.67.43 00:00:30 fa16.3e33.bce9 Vlan666 port-channel666 +146.118.67.45 00:10:44 fa16.3ec5.ef28 Vlan666 port-channel666 +146.118.67.46 00:10:28 fa16.3e62.033d Vlan666 port-channel666 +146.118.67.47 00:09:49 fa16.3edf.1641 Vlan666 port-channel666 +146.118.67.48 00:00:17 INCOMPLETE Vlan666 Vlan666 +146.118.67.49 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.67.50 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.67.51 00:09:47 fa16.3e83.bd14 Vlan666 port-channel666 +146.118.67.52 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.53 00:00:12 fa16.3ebe.35d6 Vlan666 port-channel666 +146.118.67.54 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.67.55 00:10:32 fa16.3ee0.63ca Vlan666 port-channel666 +146.118.67.56 00:10:21 fa16.3ef0.bac9 Vlan666 port-channel666 +146.118.67.57 00:00:12 fa16.3e73.d421 Vlan666 port-channel666 +146.118.67.58 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.67.59 00:10:29 fa16.3e8f.30a2 Vlan666 port-channel666 +146.118.67.60 00:00:11 fa16.3ec3.e53b Vlan666 port-channel666 +146.118.67.61 00:13:11 fa16.3e36.f163 Vlan666 port-channel666 +146.118.67.62 00:00:15 INCOMPLETE Vlan666 Vlan666 +146.118.67.63 00:09:54 fa16.3eba.402d Vlan666 port-channel666 +146.118.67.64 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.65 00:15:00 fa16.3e1b.5f04 Vlan666 port-channel666 +146.118.67.66 00:00:30 fa16.3eb9.d201 Vlan666 port-channel666 +146.118.67.67 00:13:24 fa16.3e65.d298 Vlan666 port-channel666 +146.118.67.68 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.67.69 00:10:13 fa16.3eba.402d Vlan666 port-channel666 +146.118.67.70 00:00:41 fa16.3e8b.ac0b Vlan666 port-channel666 +146.118.67.71 00:00:22 fa16.3eb4.e002 Vlan666 port-channel666 +146.118.67.72 00:00:09 fa16.3ea6.8b2d Vlan666 port-channel666 +146.118.67.73 00:13:16 fa16.3e18.f85b Vlan666 port-channel666 +146.118.67.74 00:00:22 INCOMPLETE Vlan666 Vlan666 +146.118.67.75 00:10:21 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.67.76 00:14:49 fa16.3e1a.2e9e Vlan666 port-channel666 +146.118.67.77 00:00:01 INCOMPLETE Vlan666 Vlan666 +146.118.67.78 00:00:05 fa16.3e0c.db92 Vlan666 port-channel666 +146.118.67.79 00:14:20 fa16.3e4b.d7d7 Vlan666 port-channel666 +146.118.67.80 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.67.81 00:09:57 fa16.3e84.f34f Vlan666 port-channel666 +146.118.67.82 00:00:24 fa16.3ee9.2a72 Vlan666 port-channel666 +146.118.67.83 00:15:29 fa16.3ec5.a157 Vlan666 port-channel666 +146.118.67.84 00:00:23 INCOMPLETE Vlan666 Vlan666 +146.118.67.85 00:10:30 fa16.3ef6.a785 Vlan666 port-channel666 +146.118.67.86 00:10:22 fa16.3ef1.e338 Vlan666 port-channel666 +146.118.67.87 00:00:28 fa16.3e97.0389 Vlan666 port-channel666 +146.118.67.88 00:00:19 fa16.3eb8.8d1b Vlan666 port-channel666 +146.118.67.89 00:10:23 fa16.3ec1.8cd3 Vlan666 port-channel666 +146.118.67.90 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.92 00:10:38 fa16.3ead.9256 Vlan666 port-channel666 +146.118.67.93 00:10:21 fa16.3e62.033d Vlan666 port-channel666 +146.118.67.94 00:00:46 fa16.3e49.cdf0 Vlan666 port-channel666 +146.118.67.95 0.525364 INCOMPLETE Vlan666 Vlan666 +146.118.67.96 00:00:43 fa16.3e23.e44a Vlan666 port-channel666 +146.118.67.97 00:00:02 fa16.3eeb.7439 Vlan666 port-channel666 +146.118.67.98 00:00:11 fa16.3e7b.87f7 Vlan666 port-channel666 +146.118.67.99 00:00:32 fa16.3ee3.6d81 Vlan666 port-channel666 +146.118.67.100 00:00:04 fa16.3e6d.0742 Vlan666 port-channel666 +146.118.67.101 00:09:48 fa16.3e5b.28f6 Vlan666 port-channel666 +146.118.67.102 00:00:04 fa16.3e0c.94b9 Vlan666 port-channel666 +146.118.67.103 00:00:19 fa16.3e7c.6103 Vlan666 port-channel666 +146.118.67.104 00:01:02 fa16.3e0a.8309 Vlan666 port-channel666 +146.118.67.105 00:00:43 fa16.3e8d.814f Vlan666 port-channel666 +146.118.67.107 00:00:18 fa16.3ead.61be Vlan666 port-channel666 +146.118.67.108 00:00:23 INCOMPLETE Vlan666 Vlan666 +146.118.67.109 00:16:44 fa16.3e79.100c Vlan666 port-channel666 +146.118.67.110 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.111 00:03:08 fa16.3e9f.da8b Vlan666 port-channel666 +146.118.67.112 00:10:40 fa16.3e9a.64a7 Vlan666 port-channel666 +146.118.67.113 00:00:16 fa16.3e79.baa1 Vlan666 port-channel666 +146.118.67.114 00:10:29 fa16.3e1c.17b9 Vlan666 port-channel666 +146.118.67.115 00:10:33 fa16.3e29.097a Vlan666 port-channel666 +146.118.67.116 00:00:31 fa16.3eb8.39d3 Vlan666 port-channel666 +146.118.67.117 00:00:48 fa16.3e31.0eea Vlan666 port-channel666 +146.118.67.118 00:14:18 fa16.3e92.f6d4 Vlan666 port-channel666 +146.118.67.119 00:10:07 fa16.3e62.033d Vlan666 port-channel666 +146.118.67.120 00:10:15 fa16.3e8a.e648 Vlan666 port-channel666 +146.118.67.121 00:10:19 fa16.3e1a.32cb Vlan666 port-channel666 +146.118.67.122 00:12:29 fa16.3e2f.748f Vlan666 port-channel666 +146.118.67.123 00:10:38 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.67.124 00:07:48 fa16.3efa.8162 Vlan666 port-channel666 +146.118.67.126 00:00:05 INCOMPLETE Vlan666 Vlan666 +146.118.67.127 00:06:57 fa16.3ea2.f232 Vlan666 port-channel666 +146.118.67.128 00:08:10 fa16.3e88.bfbe Vlan666 port-channel666 +146.118.67.129 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.67.130 00:00:23 fa16.3ea9.9d03 Vlan666 port-channel666 +146.118.67.131 00:17:48 fa16.3e9d.7a7d Vlan666 port-channel666 +146.118.67.132 00:03:48 fa16.3e49.c85c Vlan666 port-channel666 +146.118.67.133 00:00:06 fa16.3e81.85d1 Vlan666 port-channel666 +146.118.67.134 00:00:09 INCOMPLETE Vlan666 Vlan666 +146.118.67.135 00:10:31 fa16.3e8f.30a2 Vlan666 port-channel666 +146.118.67.136 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.137 00:00:27 INCOMPLETE Vlan666 Vlan666 +146.118.67.138 00:03:39 fa16.3e4d.5bca Vlan666 port-channel666 +146.118.67.139 00:03:22 fa16.3ee6.202c Vlan666 port-channel666 +146.118.67.140 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.67.141 00:00:11 INCOMPLETE Vlan666 Vlan666 +146.118.67.142 00:10:20 fa16.3e0d.9595 Vlan666 port-channel666 +146.118.67.143 00:00:05 fa16.3e4f.c255 Vlan666 port-channel666 +146.118.67.144 00:01:41 fa16.3e69.48a9 Vlan666 port-channel666 +146.118.67.145 00:10:32 fa16.3e8b.ac0b Vlan666 port-channel666 +146.118.67.146 00:09:52 fa16.3e5a.d3ab Vlan666 port-channel666 +146.118.67.147 00:13:32 fa16.3e27.42d3 Vlan666 port-channel666 +146.118.67.148 00:00:45 fa16.3e20.8590 Vlan666 port-channel666 +146.118.67.149 00:09:51 fa16.3e77.8f2c Vlan666 port-channel666 +146.118.67.150 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.151 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.67.153 00:10:40 fa16.3e29.e197 Vlan666 port-channel666 +146.118.67.154 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.157 00:08:11 fa16.3e58.cff9 Vlan666 port-channel666 +146.118.67.158 00:10:18 fa16.3e77.7245 Vlan666 port-channel666 +146.118.67.159 00:00:51 fa16.3edb.5732 Vlan666 port-channel666 +146.118.67.161 00:00:26 fa16.3e52.56a2 Vlan666 port-channel666 +146.118.67.162 00:09:48 fa16.3e30.f470 Vlan666 port-channel666 +146.118.67.164 00:10:26 fa16.3ec7.c597 Vlan666 port-channel666 +146.118.67.165 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.67.166 00:10:41 fa16.3ec7.43b3 Vlan666 port-channel666 +146.118.67.167 00:00:10 INCOMPLETE Vlan666 Vlan666 +146.118.67.168 00:00:18 INCOMPLETE Vlan666 Vlan666 +146.118.67.169 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.67.170 00:10:45 fa16.3e7b.24d7 Vlan666 port-channel666 +146.118.67.171 00:00:16 INCOMPLETE Vlan666 Vlan666 +146.118.67.172 00:09:52 fa16.3eba.402d Vlan666 port-channel666 +146.118.67.174 00:00:02 INCOMPLETE Vlan666 Vlan666 +146.118.67.175 00:00:25 INCOMPLETE Vlan666 Vlan666 +146.118.67.177 00:02:34 fa16.3e51.2fdc Vlan666 port-channel666 +146.118.67.178 00:10:45 fa16.3e42.4c3e Vlan666 port-channel666 +146.118.67.179 00:10:40 fa16.3e43.7afe Vlan666 port-channel666 +146.118.67.180 00:00:21 INCOMPLETE Vlan666 Vlan666 +146.118.67.181 00:09:10 fa16.3ec9.0e84 Vlan666 port-channel666 +146.118.67.182 00:08:43 fa16.3e9f.66a9 Vlan666 port-channel666 +146.118.67.183 00:00:13 INCOMPLETE Vlan666 Vlan666 +146.118.67.184 00:14:57 fa16.3ef8.77cf Vlan666 port-channel666 +146.118.67.185 00:10:38 fa16.3e46.4eaa Vlan666 port-channel666 +146.118.67.186 00:00:16 fa16.3e4f.fe4e Vlan666 port-channel666 +146.118.67.187 00:00:27 fa16.3eaa.4f07 Vlan666 port-channel666 +146.118.67.188 00:00:17 INCOMPLETE Vlan666 Vlan666 +146.118.67.189 00:10:29 fa16.3edd.f255 Vlan666 port-channel666 +146.118.67.190 00:00:08 INCOMPLETE Vlan666 Vlan666 +146.118.67.192 00:00:29 INCOMPLETE Vlan666 Vlan666 +146.118.67.194 00:15:28 fa16.3e29.e608 Vlan666 port-channel666 +146.118.67.195 00:10:01 fa16.3e98.ac99 Vlan666 port-channel666 +146.118.67.196 00:00:19 INCOMPLETE Vlan666 Vlan666 +146.118.67.197 00:04:10 fa16.3e87.4f31 Vlan666 port-channel666 +146.118.67.198 00:01:18 fa16.3e95.f7ea Vlan666 port-channel666 +146.118.67.199 00:05:52 fa16.3e94.2900 Vlan666 port-channel666 +146.118.67.201 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.67.202 00:00:20 INCOMPLETE Vlan666 Vlan666 +146.118.67.203 00:09:11 fa16.3e41.fef3 Vlan666 port-channel666 +146.118.67.204 00:00:07 INCOMPLETE Vlan666 Vlan666 +146.118.67.205 00:16:52 fa16.3e63.5071 Vlan666 port-channel666 + diff --git a/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.yml b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.yml new file mode 100644 index 0000000000..1de89e2f69 --- /dev/null +++ b/tests/cisco_nxos/show_ip_arp_detail/cisco_nxos_show_ip_arp_detail2.yml @@ -0,0 +1,4207 @@ +--- +parsed_sample: + - address: "146.118.1.91" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan701" + physical_interface: "Vlan701" + - address: "146.118.1.92" + age: "00:00:57" + mac: "b40c.25e0.4011" + interface: "Vlan701" + physical_interface: "port-channel222" + - address: "146.118.1.93" + age: "0.106174" + mac: "INCOMPLETE" + interface: "Vlan701" + physical_interface: "Vlan701" + - address: "146.118.64.2" + age: "00:01:09" + mac: "fa16.3e34.eb89" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.3" + age: "00:00:09" + mac: "fa16.3ebb.a659" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.4" + age: "00:01:05" + mac: "fa16.3e16.b96a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.5" + age: "00:10:08" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.6" + age: "00:00:16" + mac: "fa16.3e7f.5701" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.7" + age: "00:00:23" + mac: "fa16.3e04.dea1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.8" + age: "00:01:03" + mac: "fa16.3eed.d157" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.9" + age: "00:09:50" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.10" + age: "00:09:54" + mac: "fa16.3e62.c01b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.11" + age: "00:10:42" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.13" + age: "00:00:17" + mac: "fa16.3e2f.5a7a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.14" + age: "00:00:18" + mac: "fa16.3e5d.75dc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.15" + age: "00:00:30" + mac: "fa16.3ee0.62d6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.16" + age: "00:00:49" + mac: "fa16.3ebe.0582" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.17" + age: "00:00:13" + mac: "fa16.3e83.b27a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.18" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.19" + age: "00:10:13" + mac: "fa16.3e98.d064" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.20" + age: "00:00:41" + mac: "fa16.3ee9.2c38" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.22" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.23" + age: "00:00:52" + mac: "fa16.3ecf.ee58" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.24" + age: "00:09:53" + mac: "fa16.3e8b.ac0b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.25" + age: "0.129496" + mac: "fa16.3e23.ff3e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.26" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.27" + age: "00:10:19" + mac: "fa16.3ec4.5c76" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.28" + age: "00:10:27" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.29" + age: "00:10:29" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.30" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.31" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.32" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.33" + age: "00:00:03" + mac: "fa16.3eca.9ee9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.34" + age: "00:00:26" + mac: "fa16.3ec9.9d4e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.35" + age: "00:09:59" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.36" + age: "00:00:49" + mac: "fa16.3e62.5bfc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.37" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.39" + age: "00:00:22" + mac: "fa16.3edc.26d2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.41" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.42" + age: "00:00:07" + mac: "fa16.3e60.d23b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.44" + age: "00:00:38" + mac: "fa16.3e30.995b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.45" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.46" + age: "00:00:55" + mac: "fa16.3e76.dd5a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.47" + age: "00:00:14" + mac: "fa16.3e3c.b35c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.48" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.49" + age: "00:00:13" + mac: "fa16.3ea2.33c5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.50" + age: "00:09:57" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.51" + age: "00:00:13" + mac: "fa16.3eea.9c79" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.52" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.53" + age: "00:10:44" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.54" + age: "00:01:19" + mac: "fa16.3e56.0e29" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.55" + age: "00:00:36" + mac: "fa16.3e69.9a60" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.56" + age: "00:02:48" + mac: "fa16.3e74.ea2d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.57" + age: "00:10:13" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.58" + age: "00:10:22" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.59" + age: "00:00:37" + mac: "fa16.3ec0.191f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.60" + age: "00:10:34" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.61" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.62" + age: "00:10:15" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.64" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.65" + age: "00:00:32" + mac: "fa16.3ec4.e11e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.66" + age: "00:00:39" + mac: "fa16.3e4a.f501" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.67" + age: "00:00:24" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.68" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.69" + age: "00:00:56" + mac: "fa16.3e46.97ad" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.70" + age: "00:00:17" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.71" + age: "00:00:48" + mac: "fa16.3e7c.0409" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.73" + age: "00:00:14" + mac: "fa16.3e0a.9725" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.74" + age: "00:00:24" + mac: "fa16.3ec0.8c81" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.75" + age: "00:10:12" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.76" + age: "00:00:34" + mac: "fa16.3e9f.f2ff" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.77" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.78" + age: "00:00:14" + mac: "fa16.3e6f.d955" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.79" + age: "00:00:46" + mac: "fa16.3ea2.7988" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.80" + age: "00:10:18" + mac: "fa16.3ecc.4436" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.81" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.82" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.83" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.84" + age: "00:00:05" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.85" + age: "00:00:02" + mac: "fa16.3e28.93d5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.86" + age: "00:10:32" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.87" + age: "00:00:05" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.88" + age: "00:00:49" + mac: "fa16.3e25.5e76" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.89" + age: "00:10:21" + mac: "fa16.3e9a.57bc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.90" + age: "00:01:19" + mac: "fa16.3e2a.b3ac" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.91" + age: "00:10:19" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.92" + age: "00:10:34" + mac: "fa16.3ec4.e11e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.93" + age: "00:00:03" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.94" + age: "00:00:33" + mac: "fa16.3e73.f0cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.96" + age: "00:09:48" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.97" + age: "00:09:53" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.98" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.99" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.100" + age: "00:06:26" + mac: "fa16.3eb0.4437" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.101" + age: "00:09:52" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.102" + age: "00:00:06" + mac: "fa16.3e20.e36f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.103" + age: "00:00:35" + mac: "fa16.3efe.7305" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.104" + age: "00:10:15" + mac: "fa16.3e91.0b31" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.105" + age: "00:10:45" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.106" + age: "00:10:21" + mac: "fa16.3e5b.28f6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.108" + age: "00:00:55" + mac: "fa16.3e35.a60d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.109" + age: "00:10:32" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.110" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.111" + age: "00:10:08" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.112" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.113" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.115" + age: "00:00:40" + mac: "fa16.3ea5.ce5f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.116" + age: "00:10:12" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.117" + age: "00:00:53" + mac: "fa16.3eb8.40ce" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.118" + age: "00:00:14" + mac: "fa16.3e2a.8881" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.119" + age: "00:09:59" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.120" + age: "00:00:27" + mac: "fa16.3ed8.0825" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.121" + age: "00:10:37" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.122" + age: "00:10:26" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.123" + age: "00:00:37" + mac: "fa16.3e19.e8a3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.124" + age: "00:00:24" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.125" + age: "00:01:59" + mac: "fa16.3e93.b99c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.126" + age: "00:10:37" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.127" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.128" + age: "00:10:11" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.130" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.131" + age: "00:00:31" + mac: "fa16.3e92.1860" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.132" + age: "00:00:03" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.133" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.134" + age: "00:00:46" + mac: "fa16.3e23.4479" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.135" + age: "00:10:21" + mac: "fa16.3ef1.e338" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.137" + age: "00:00:17" + mac: "fa16.3eca.e4d1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.138" + age: "00:09:55" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.139" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.140" + age: "00:00:08" + mac: "fa16.3ea5.65ff" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.141" + age: "00:10:40" + mac: "fa16.3ef5.40d1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.143" + age: "00:00:03" + mac: "fa16.3ef8.a9bf" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.144" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.145" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.147" + age: "00:10:01" + mac: "fa16.3e11.465e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.148" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.149" + age: "00:00:18" + mac: "fa16.3edf.1641" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.150" + age: "00:00:11" + mac: "fa16.3e61.1ab1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.151" + age: "00:00:28" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.152" + age: "00:10:46" + mac: "fa16.3eb8.39d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.153" + age: "00:00:32" + mac: "fa16.3e76.9a53" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.154" + age: "00:10:45" + mac: "fa16.3e8f.30a2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.155" + age: "00:10:26" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.156" + age: "00:00:16" + mac: "fa16.3eea.fb02" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.158" + age: "00:09:56" + mac: "fa16.3e25.015f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.159" + age: "00:00:03" + mac: "fa16.3e35.d24b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.160" + age: "00:00:31" + mac: "fa16.3e87.1ada" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.161" + age: "00:00:09" + mac: "fa16.3e55.0022" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.162" + age: "00:10:10" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.163" + age: "00:12:18" + mac: "fa16.3e14.251f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.164" + age: "00:10:42" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.165" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.167" + age: "00:01:04" + mac: "fa16.3e9f.5568" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.168" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.169" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.171" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.173" + age: "00:00:11" + mac: "fa16.3e6f.9773" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.174" + age: "00:00:25" + mac: "fa16.3e12.89e3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.175" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.176" + age: "00:01:59" + mac: "fa16.3e65.bc09" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.177" + age: "00:00:28" + mac: "fa16.3e72.3421" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.179" + age: "00:10:26" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.180" + age: "00:10:04" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.181" + age: "00:00:17" + mac: "fa16.3ee1.9a57" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.182" + age: "00:00:27" + mac: "fa16.3e2d.d271" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.183" + age: "00:00:21" + mac: "fa16.3e41.4649" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.184" + age: "00:00:01" + mac: "fa16.3e91.5d50" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.185" + age: "00:00:34" + mac: "fa16.3e48.34ad" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.186" + age: "00:09:48" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.187" + age: "00:10:42" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.188" + age: "00:00:06" + mac: "fa16.3ead.9956" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.189" + age: "00:10:01" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.190" + age: "00:10:11" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.191" + age: "00:09:52" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.192" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.193" + age: "00:10:13" + mac: "fa16.3eb8.39d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.194" + age: "00:10:26" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.195" + age: "00:10:15" + mac: "fa16.3ed5.cdf2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.196" + age: "00:00:07" + mac: "fa16.3e6f.6e46" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.197" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.198" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.199" + age: "00:10:13" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.200" + age: "00:00:09" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.201" + age: "00:10:23" + mac: "fa16.3e8c.71ad" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.202" + age: "00:00:01" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.203" + age: "00:00:19" + mac: "fa16.3e38.b7e2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.204" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.205" + age: "00:10:19" + mac: "fa16.3ef1.e338" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.206" + age: "00:00:01" + mac: "fa16.3e98.d064" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.207" + age: "00:09:59" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.209" + age: "00:00:19" + mac: "fa16.3e9f.03a8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.210" + age: "00:00:19" + mac: "fa16.3ee5.b01b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.211" + age: "00:00:17" + mac: "fa16.3e7d.2f2b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.212" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.213" + age: "00:10:29" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.214" + age: "00:00:30" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.215" + age: "00:00:03" + mac: "fa16.3e16.a693" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.216" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.217" + age: "00:00:27" + mac: "fa16.3e7c.7a85" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.218" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.219" + age: "00:10:26" + mac: "fa16.3e5b.28f6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.221" + age: "00:13:36" + mac: "fa16.3ea3.335b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.222" + age: "00:13:21" + mac: "fa16.3e49.e594" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.223" + age: "00:00:12" + mac: "fa16.3ecd.ea21" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.224" + age: "00:00:37" + mac: "fa16.3e01.958e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.225" + age: "00:10:16" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.226" + age: "00:00:10" + mac: "fa16.3ebc.f748" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.227" + age: "00:00:33" + mac: "fa16.3ee3.4c77" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.228" + age: "00:00:28" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.229" + age: "00:10:09" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.230" + age: "00:00:33" + mac: "fa16.3e38.f136" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.231" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.232" + age: "00:00:14" + mac: "fa16.3e19.abfc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.233" + age: "00:00:28" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.235" + age: "00:00:03" + mac: "fa16.3ee8.e41c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.236" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.239" + age: "00:00:45" + mac: "fa16.3ebb.6e76" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.240" + age: "00:00:08" + mac: "fa16.3e89.5377" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.242" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.243" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.244" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.245" + age: "00:00:10" + mac: "fa16.3eba.50a6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.246" + age: "00:00:06" + mac: "fa16.3e37.9c54" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.247" + age: "00:00:33" + mac: "fa16.3e91.d530" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.248" + age: "00:10:32" + mac: "fa16.3edf.1641" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.250" + age: "00:00:54" + mac: "fa16.3e23.ee6a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.64.251" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.64.254" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.0" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.1" + age: "00:10:34" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.2" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.3" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.4" + age: "00:00:32" + mac: "fa16.3ec4.44ac" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.5" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.6" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.7" + age: "00:10:08" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.8" + age: "00:00:42" + mac: "fa16.3ee7.87da" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.9" + age: "00:09:48" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.10" + age: "00:00:11" + mac: "fa16.3e4b.3a7a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.11" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.12" + age: "00:00:27" + mac: "fa16.3e93.f6ba" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.14" + age: "00:01:02" + mac: "fa16.3ed9.7a23" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.15" + age: "00:10:32" + mac: "fa16.3eb8.39d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.16" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.17" + age: "00:10:17" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.18" + age: "00:00:18" + mac: "fa16.3e8b.8df9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.19" + age: "00:00:37" + mac: "fa16.3e99.c830" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.20" + age: "00:09:47" + mac: "fa16.3e8e.c4c8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.21" + age: "00:00:56" + mac: "fa16.3e58.2279" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.22" + age: "00:02:06" + mac: "fa16.3e80.3b85" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.23" + age: "00:10:01" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.24" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.25" + age: "00:00:17" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.27" + age: "00:00:05" + mac: "fa16.3e03.b4e8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.29" + age: "00:10:09" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.30" + age: "00:00:05" + mac: "fa16.3e8c.73a8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.31" + age: "00:00:43" + mac: "fa16.3e5c.c85f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.32" + age: "00:00:43" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.33" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.34" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.35" + age: "00:00:04" + mac: "fa16.3ef2.8e4d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.37" + age: "00:10:39" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.38" + age: "00:00:05" + mac: "fa16.3eeb.b0ff" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.40" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.41" + age: "00:00:26" + mac: "fa16.3e0b.c029" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.42" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.45" + age: "00:00:04" + mac: "fa16.3e55.dcb0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.46" + age: "00:00:23" + mac: "fa16.3e38.30d4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.47" + age: "00:00:08" + mac: "fa16.3e66.7480" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.48" + age: "00:00:20" + mac: "fa16.3e8d.ef96" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.49" + age: "00:10:10" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.50" + age: "00:09:52" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.51" + age: "00:00:19" + mac: "fa16.3efa.5567" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.52" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.53" + age: "00:00:09" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.54" + age: "00:00:03" + mac: "fa16.3eff.b63f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.55" + age: "00:00:18" + mac: "fa16.3ee3.1eba" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.56" + age: "00:00:12" + mac: "fa16.3e6a.2552" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.57" + age: "00:03:00" + mac: "fa16.3ea7.1869" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.58" + age: "00:10:39" + mac: "fa16.3ec4.5c76" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.59" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.60" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.61" + age: "00:00:21" + mac: "fa16.3e05.d3f1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.62" + age: "00:00:41" + mac: "fa16.3ea2.098f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.63" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.64" + age: "00:10:15" + mac: "fa16.3e10.b451" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.65" + age: "00:00:43" + mac: "fa16.3e06.f2e7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.66" + age: "00:00:28" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.67" + age: "00:10:25" + mac: "fa16.3eed.14e9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.68" + age: "00:01:10" + mac: "fa16.3e8a.8caa" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.69" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.70" + age: "00:01:04" + mac: "fa16.3e49.10ca" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.73" + age: "00:00:57" + mac: "fa16.3e82.1cb1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.75" + age: "00:10:10" + mac: "fa16.3e25.015f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.77" + age: "00:01:09" + mac: "fa16.3eb2.ca81" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.78" + age: "00:10:39" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.79" + age: "00:00:21" + mac: "fa16.3e09.f1b8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.80" + age: "00:10:37" + mac: "fa16.3e41.e690" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.81" + age: "00:01:12" + mac: "fa16.3e0d.8f20" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.82" + age: "00:00:50" + mac: "fa16.3ece.a872" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.83" + age: "00:00:41" + mac: "fa16.3e2a.934c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.84" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.85" + age: "00:10:38" + mac: "fa16.3e1f.78e8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.86" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.88" + age: "00:00:26" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.89" + age: "00:00:10" + mac: "fa16.3ea0.8068" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.90" + age: "00:10:17" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.91" + age: "00:00:10" + mac: "fa16.3e03.51a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.92" + age: "00:09:48" + mac: "fa16.3ef1.e338" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.93" + age: "00:00:28" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.95" + age: "00:00:19" + mac: "fa16.3ef2.f79b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.96" + age: "00:00:58" + mac: "fa16.3e7d.bafc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.97" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.98" + age: "00:09:48" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.99" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.100" + age: "00:00:55" + mac: "fa16.3ebb.74bd" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.101" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.102" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.103" + age: "00:09:58" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.105" + age: "00:10:41" + mac: "fa16.3ef5.40d1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.106" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.107" + age: "00:00:40" + mac: "fa16.3ee1.69c2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.108" + age: "00:01:07" + mac: "fa16.3e30.8794" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.109" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.110" + age: "00:00:02" + mac: "fa16.3e53.a252" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.111" + age: "00:00:47" + mac: "fa16.3e8c.318b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.112" + age: "00:09:58" + mac: "fa16.3e56.f059" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.113" + age: "00:00:32" + mac: "fa16.3ef8.622a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.114" + age: "00:00:28" + mac: "fa16.3ec0.ff2b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.115" + age: "00:00:59" + mac: "fa16.3e1c.ed73" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.116" + age: "00:00:48" + mac: "fa16.3e5a.6eb4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.117" + age: "00:00:08" + mac: "fa16.3edf.0d1f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.118" + age: "00:00:02" + mac: "fa16.3e63.1c37" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.119" + age: "00:00:41" + mac: "fa16.3e64.3d85" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.120" + age: "00:00:49" + mac: "fa16.3e9a.21a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.121" + age: "00:00:01" + mac: "fa16.3e60.c844" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.122" + age: "00:00:07" + mac: "fa16.3e83.ff52" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.123" + age: "00:01:22" + mac: "fa16.3ed8.4753" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.124" + age: "00:00:39" + mac: "fa16.3e3c.3e7a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.125" + age: "00:01:01" + mac: "fa16.3ec6.dfa7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.126" + age: "00:01:36" + mac: "fa16.3e44.15ba" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.127" + age: "00:00:47" + mac: "fa16.3e49.920a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.128" + age: "00:01:32" + mac: "fa16.3ee7.97a0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.129" + age: "00:02:02" + mac: "fa16.3e36.62b6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.130" + age: "00:09:55" + mac: "fa16.3e41.e690" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.131" + age: "00:00:47" + mac: "fa16.3e1f.84b1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.132" + age: "0.651324" + mac: "fa16.3eda.6240" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.134" + age: "00:00:43" + mac: "fa16.3ef9.8fa1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.135" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.136" + age: "00:00:11" + mac: "fa16.3e21.ae2c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.138" + age: "00:09:50" + mac: "fa16.3e9f.fc7b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.139" + age: "00:10:18" + mac: "fa16.3e25.015f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.142" + age: "00:00:05" + mac: "fa16.3e20.fb81" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.143" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.144" + age: "00:10:36" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.145" + age: "00:00:08" + mac: "fa16.3e42.c2c0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.146" + age: "00:01:42" + mac: "fa16.3e04.8675" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.148" + age: "00:00:43" + mac: "fa16.3ea5.af6b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.149" + age: "00:09:57" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.150" + age: "00:02:25" + mac: "fa16.3efe.eeb7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.153" + age: "00:00:03" + mac: "fa16.3ee4.45cc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.154" + age: "00:00:37" + mac: "fa16.3edd.f612" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.155" + age: "00:00:08" + mac: "fa16.3ec2.7fb6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.156" + age: "00:00:04" + mac: "fa16.3e00.b706" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.157" + age: "00:10:27" + mac: "fa16.3e5b.28f6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.158" + age: "00:00:09" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.160" + age: "00:00:06" + mac: "fa16.3e96.e10c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.161" + age: "00:00:01" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.162" + age: "00:00:24" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.163" + age: "00:00:25" + mac: "fa16.3e43.c8f3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.164" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.165" + age: "00:00:16" + mac: "fa16.3e50.b145" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.166" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.167" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.168" + age: "00:10:37" + mac: "fa16.3ed1.6933" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.169" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.170" + age: "00:10:06" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.171" + age: "00:00:27" + mac: "fa16.3eaf.4d09" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.172" + age: "00:10:30" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.173" + age: "00:00:17" + mac: "fa16.3e9c.3250" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.174" + age: "00:00:21" + mac: "fa16.3ed0.83cf" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.175" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.176" + age: "00:00:56" + mac: "fa16.3e1b.10b3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.177" + age: "00:00:43" + mac: "fa16.3ecc.4f77" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.178" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.180" + age: "00:00:42" + mac: "fa16.3ee5.5748" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.181" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.182" + age: "00:00:03" + mac: "fa16.3e29.3471" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.184" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.185" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.186" + age: "00:00:16" + mac: "fa16.3ef0.a8b5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.187" + age: "00:10:39" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.188" + age: "00:10:02" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.189" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.190" + age: "00:09:56" + mac: "fa16.3e1f.78e8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.191" + age: "00:00:43" + mac: "fa16.3eb4.f22c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.194" + age: "00:01:17" + mac: "fa16.3efa.1387" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.195" + age: "00:00:08" + mac: "fa16.3e42.649c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.196" + age: "00:01:03" + mac: "fa16.3ef9.cf38" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.197" + age: "00:10:42" + mac: "fa16.3e34.27c6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.198" + age: "00:00:07" + mac: "fa16.3e59.e0e2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.199" + age: "00:10:01" + mac: "fa16.3e80.37d6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.200" + age: "00:10:29" + mac: "fa16.3ef1.e338" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.201" + age: "00:01:02" + mac: "fa16.3e95.155a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.202" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.203" + age: "00:10:11" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.204" + age: "00:00:44" + mac: "fa16.3e30.120a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.205" + age: "00:09:54" + mac: "fa16.3ecc.4436" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.206" + age: "00:09:22" + mac: "fa16.3e4c.321c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.207" + age: "00:00:17" + mac: "fa16.3edd.1e27" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.208" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.209" + age: "00:00:13" + mac: "fa16.3eeb.81d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.210" + age: "00:10:28" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.211" + age: "00:00:05" + mac: "fa16.3e0f.fe25" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.212" + age: "00:00:40" + mac: "fa16.3ef2.bd13" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.214" + age: "00:00:20" + mac: "fa16.3e70.f577" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.215" + age: "00:10:19" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.216" + age: "00:00:55" + mac: "fa16.3e61.51a5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.217" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.218" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.219" + age: "00:10:08" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.220" + age: "00:00:43" + mac: "fa16.3edc.13cd" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.221" + age: "00:00:31" + mac: "fa16.3e0f.f542" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.223" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.224" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.225" + age: "00:00:20" + mac: "fa16.3e85.67e6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.226" + age: "00:00:05" + mac: "fa16.3e9f.cbc5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.227" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.228" + age: "00:09:50" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.229" + age: "00:00:08" + mac: "fa16.3e4e.59ac" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.230" + age: "00:00:23" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.231" + age: "00:00:36" + mac: "fa16.3eaa.57f3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.233" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.234" + age: "00:00:08" + mac: "fa16.3ee1.d34a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.235" + age: "00:00:05" + mac: "fa16.3e62.e7cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.237" + age: "00:01:13" + mac: "fa16.3e20.009e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.239" + age: "00:00:49" + mac: "fa16.3e69.6a0b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.240" + age: "00:10:02" + mac: "fa16.3e1f.78e8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.241" + age: "00:00:08" + mac: "fa16.3edb.98d2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.242" + age: "00:10:14" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.243" + age: "00:10:29" + mac: "fa16.3e39.c16d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.244" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.245" + age: "00:00:52" + mac: "fa16.3e31.21ca" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.246" + age: "00:10:07" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.248" + age: "00:00:17" + mac: "fa16.3e25.015f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.249" + age: "00:10:09" + mac: "fa16.3e80.37d6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.250" + age: "00:10:35" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.251" + age: "00:00:06" + mac: "fa16.3e8e.c4c8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.252" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.65.253" + age: "00:01:18" + mac: "fa16.3e83.90cc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.65.254" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.0" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.1" + age: "00:10:08" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.3" + age: "00:00:01" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.6" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.7" + age: "00:00:27" + mac: "fa16.3e1d.41d7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.8" + age: "00:00:25" + mac: "fa16.3e13.0c01" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.9" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.10" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.12" + age: "00:10:30" + mac: "fa16.3e10.b451" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.13" + age: "00:12:11" + mac: "fa16.3e9d.5003" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.14" + age: "00:00:07" + mac: "fa16.3e40.50e3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.15" + age: "00:00:38" + mac: "fa16.3e74.b748" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.16" + age: "00:00:32" + mac: "fa16.3e54.721a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.17" + age: "00:00:09" + mac: "fa16.3e59.e456" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.19" + age: "00:00:21" + mac: "fa16.3efe.f55e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.20" + age: "00:00:07" + mac: "fa16.3e40.9cd8" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.21" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.22" + age: "00:00:18" + mac: "fa16.3e7f.ccaa" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.23" + age: "00:00:41" + mac: "fa16.3e24.51a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.24" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.25" + age: "00:00:09" + mac: "fa16.3e18.d9ec" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.26" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.27" + age: "00:10:36" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.29" + age: "00:00:12" + mac: "fa16.3ec4.db68" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.30" + age: "00:09:53" + mac: "fa16.3e2a.c811" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.32" + age: "00:00:06" + mac: "fa16.3e0d.755a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.33" + age: "00:04:37" + mac: "fa16.3e9f.d713" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.35" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.36" + age: "00:00:31" + mac: "fa16.3e8f.30a2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.37" + age: "00:00:06" + mac: "fa16.3ed3.79cf" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.38" + age: "00:03:00" + mac: "fa16.3e63.c99f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.39" + age: "00:10:01" + mac: "fa16.3eed.14e9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.40" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.41" + age: "00:01:39" + mac: "fa16.3ece.3a92" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.42" + age: "00:10:12" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.43" + age: "00:12:17" + mac: "fa16.3e25.ac10" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.44" + age: "00:00:30" + mac: "fa16.3e54.3769" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.45" + age: "0.024843" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.46" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.47" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.49" + age: "00:09:52" + mac: "fa16.3e34.27c6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.51" + age: "00:00:11" + mac: "fa16.3e23.c8d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.52" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.53" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.54" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.55" + age: "00:10:26" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.56" + age: "00:10:12" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.57" + age: "00:01:01" + mac: "fa16.3e6e.3111" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.58" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.59" + age: "00:10:12" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.61" + age: "00:10:04" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.62" + age: "00:10:31" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.63" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.64" + age: "00:00:50" + mac: "fa16.3e31.aab5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.65" + age: "0.746939" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.66" + age: "00:10:44" + mac: "fa16.3e34.27c6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.67" + age: "00:00:24" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.68" + age: "00:00:11" + mac: "fa16.3e90.d071" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.69" + age: "00:00:28" + mac: "fa16.3e76.132c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.70" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.71" + age: "00:10:44" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.72" + age: "00:10:43" + mac: "fa16.3e28.93d5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.73" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.74" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.75" + age: "00:09:58" + mac: "fa16.3e70.a72d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.76" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.77" + age: "00:00:04" + mac: "fa16.3ec5.36ce" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.78" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.79" + age: "00:00:03" + mac: "fa16.3e74.b2ed" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.80" + age: "00:00:03" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.81" + age: "00:00:21" + mac: "fa16.3ecc.4436" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.82" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.85" + age: "00:10:06" + mac: "fa16.3e5b.28f6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.87" + age: "00:12:09" + mac: "fa16.3e60.d5bb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.88" + age: "00:10:32" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.89" + age: "00:01:00" + mac: "fa16.3e85.4ca0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.90" + age: "00:09:55" + mac: "fa16.3eed.14e9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.91" + age: "00:09:51" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.92" + age: "00:00:01" + mac: "fa16.3e4c.f193" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.93" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.95" + age: "00:00:08" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.96" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.97" + age: "00:00:22" + mac: "fa16.3e30.d696" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.98" + age: "00:00:33" + mac: "fa16.3ef5.3cee" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.99" + age: "00:00:23" + mac: "fa16.3e65.7e9c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.100" + age: "00:00:09" + mac: "fa16.3ec8.5bfb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.102" + age: "00:00:20" + mac: "fa16.3e3e.9869" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.103" + age: "00:00:41" + mac: "fa16.3eab.c850" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.104" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.105" + age: "00:00:05" + mac: "fa16.3e89.9d3b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.106" + age: "00:00:17" + mac: "fa16.3e5f.2cd2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.108" + age: "00:00:12" + mac: "fa16.3e3d.5b29" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.110" + age: "00:10:23" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.111" + age: "00:00:18" + mac: "fa16.3e88.7891" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.113" + age: "00:00:24" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.114" + age: "00:00:18" + mac: "fa16.3e10.639b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.117" + age: "00:00:23" + mac: "fa16.3edf.9d86" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.118" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.119" + age: "00:00:28" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.120" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.121" + age: "00:10:35" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.122" + age: "00:10:26" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.123" + age: "00:00:25" + mac: "fa16.3ea8.078d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.124" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.125" + age: "00:00:43" + mac: "fa16.3efe.d03f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.126" + age: "00:00:14" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.127" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.129" + age: "00:00:32" + mac: "fa16.3ec2.e40e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.130" + age: "00:00:20" + mac: "fa16.3e5e.0d85" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.131" + age: "00:04:39" + mac: "fa16.3e79.418c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.132" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.133" + age: "00:00:04" + mac: "fa16.3e6a.6056" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.134" + age: "00:00:06" + mac: "fa16.3e37.affd" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.135" + age: "00:00:36" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.137" + age: "00:10:08" + mac: "fa16.3eed.14e9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.138" + age: "00:09:55" + mac: "fa16.3ecc.4436" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.139" + age: "00:00:07" + mac: "fa16.3e98.7f8e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.140" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.141" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.142" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.143" + age: "00:09:59" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.144" + age: "00:01:06" + mac: "fa16.3e5c.f39d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.145" + age: "00:10:27" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.146" + age: "00:10:24" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.148" + age: "00:10:07" + mac: "fa16.3e48.4055" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.149" + age: "00:00:08" + mac: "fa16.3e40.a95a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.150" + age: "00:00:40" + mac: "fa16.3e47.2484" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.151" + age: "00:00:05" + mac: "fa16.3ec7.f06f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.152" + age: "00:00:11" + mac: "fa16.3e56.9d5c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.153" + age: "00:10:09" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.154" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.155" + age: "00:10:39" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.156" + age: "00:10:28" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.157" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.158" + age: "00:00:22" + mac: "fa16.3e0a.4725" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.160" + age: "00:00:10" + mac: "fa16.3eaa.a31e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.161" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.162" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.163" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.164" + age: "00:00:09" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.165" + age: "00:10:36" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.167" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.168" + age: "00:00:07" + mac: "fa16.3efe.5bc1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.169" + age: "00:00:14" + mac: "fa16.3ec2.0038" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.170" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.171" + age: "00:00:03" + mac: "fa16.3e9b.e5ca" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.172" + age: "0.466175" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.173" + age: "00:00:45" + mac: "fa16.3edd.33b0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.174" + age: "00:10:41" + mac: "fa16.3e1c.c201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.176" + age: "00:10:09" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.177" + age: "00:00:03" + mac: "fa16.3e1d.af89" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.178" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.179" + age: "00:09:52" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.180" + age: "00:00:03" + mac: "fa16.3eaa.6833" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.181" + age: "00:00:19" + mac: "fa16.3eef.ca4a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.182" + age: "00:00:03" + mac: "fa16.3edf.6343" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.183" + age: "00:10:39" + mac: "fa16.3e23.3f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.184" + age: "00:10:28" + mac: "fa16.3e48.4055" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.185" + age: "00:01:10" + mac: "fa16.3eef.68f7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.186" + age: "00:00:16" + mac: "fa16.3eef.5716" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.187" + age: "00:00:03" + mac: "fa16.3eea.3dd7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.188" + age: "00:10:03" + mac: "fa16.3e00.f1a4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.189" + age: "00:00:51" + mac: "fa16.3ea7.da62" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.190" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.191" + age: "00:00:23" + mac: "fa16.3e86.55bf" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.192" + age: "00:01:05" + mac: "fa16.3e7b.a205" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.193" + age: "00:00:23" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.195" + age: "00:00:42" + mac: "fa16.3e30.5538" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.196" + age: "00:00:49" + mac: "fa16.3ec0.3308" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.197" + age: "00:10:26" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.198" + age: "00:04:58" + mac: "fa16.3e9f.fc7b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.199" + age: "00:10:19" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.201" + age: "00:00:10" + mac: "fa16.3e41.738a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.202" + age: "00:00:15" + mac: "fa16.3eed.14e9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.203" + age: "00:10:15" + mac: "fa16.3e18.2a22" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.205" + age: "00:00:01" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.206" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.207" + age: "00:00:19" + mac: "fa16.3e23.6437" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.208" + age: "00:00:17" + mac: "fa16.3e6e.e48b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.210" + age: "00:00:04" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.211" + age: "00:00:09" + mac: "fa16.3e8c.0729" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.212" + age: "00:00:16" + mac: "fa16.3e74.d9ba" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.213" + age: "00:00:01" + mac: "fa16.3ec0.e6d5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.214" + age: "00:10:20" + mac: "fa16.3e25.015f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.215" + age: "00:15:01" + mac: "fa16.3e40.e84b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.216" + age: "00:00:06" + mac: "fa16.3e17.7e81" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.217" + age: "00:10:22" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.218" + age: "00:10:35" + mac: "fa16.3e16.e08d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.220" + age: "00:00:26" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.221" + age: "00:00:26" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.224" + age: "00:10:00" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.225" + age: "00:14:05" + mac: "fa16.3ea9.f1c5" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.226" + age: "00:00:17" + mac: "fa16.3e2c.8593" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.229" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.230" + age: "00:00:47" + mac: "fa16.3e68.6815" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.231" + age: "00:00:38" + mac: "fa16.3e41.7021" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.233" + age: "00:10:00" + mac: "fa16.3ecc.4436" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.235" + age: "00:00:06" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.236" + age: "00:00:56" + mac: "fa16.3e05.d247" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.237" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.238" + age: "00:00:33" + mac: "fa16.3ea0.69e3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.239" + age: "00:00:31" + mac: "fa16.3ee8.9bea" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.240" + age: "00:00:01" + mac: "fa16.3e4a.1a1b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.241" + age: "0.820451" + mac: "fa16.3e80.37d6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.242" + age: "0.715579" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.243" + age: "00:00:16" + mac: "fa16.3e34.c1d2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.245" + age: "00:00:03" + mac: "fa16.3e08.cc2e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.246" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.247" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.248" + age: "00:11:58" + mac: "fa16.3e55.8694" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.249" + age: "00:14:32" + mac: "fa16.3e50.cd78" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.250" + age: "00:07:08" + mac: "fa16.3e18.724a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.66.251" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.253" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.66.255" + age: "00:00:03" + mac: "fa16.3eae.f8d9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.0" + age: "00:01:51" + mac: "fa16.3e10.b451" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.2" + age: "00:00:12" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.3" + age: "00:00:02" + mac: "fa16.3e35.ada3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.4" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.5" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.7" + age: "00:00:02" + mac: "fa16.3ebd.b023" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.8" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.9" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.12" + age: "00:00:19" + mac: "fa16.3e42.a67f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.14" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.15" + age: "00:09:50" + mac: "fa16.3ead.8125" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.16" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.17" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.18" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.21" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.22" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.23" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.24" + age: "00:00:05" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.25" + age: "00:10:18" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.28" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.30" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.34" + age: "00:00:32" + mac: "fa16.3e6a.3dc7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.36" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.39" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.41" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.42" + age: "00:00:05" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.43" + age: "00:00:30" + mac: "fa16.3e33.bce9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.45" + age: "00:10:44" + mac: "fa16.3ec5.ef28" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.46" + age: "00:10:28" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.47" + age: "00:09:49" + mac: "fa16.3edf.1641" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.48" + age: "00:00:17" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.49" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.50" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.51" + age: "00:09:47" + mac: "fa16.3e83.bd14" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.52" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.53" + age: "00:00:12" + mac: "fa16.3ebe.35d6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.54" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.55" + age: "00:10:32" + mac: "fa16.3ee0.63ca" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.56" + age: "00:10:21" + mac: "fa16.3ef0.bac9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.57" + age: "00:00:12" + mac: "fa16.3e73.d421" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.58" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.59" + age: "00:10:29" + mac: "fa16.3e8f.30a2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.60" + age: "00:00:11" + mac: "fa16.3ec3.e53b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.61" + age: "00:13:11" + mac: "fa16.3e36.f163" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.62" + age: "00:00:15" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.63" + age: "00:09:54" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.64" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.65" + age: "00:15:00" + mac: "fa16.3e1b.5f04" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.66" + age: "00:00:30" + mac: "fa16.3eb9.d201" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.67" + age: "00:13:24" + mac: "fa16.3e65.d298" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.68" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.69" + age: "00:10:13" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.70" + age: "00:00:41" + mac: "fa16.3e8b.ac0b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.71" + age: "00:00:22" + mac: "fa16.3eb4.e002" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.72" + age: "00:00:09" + mac: "fa16.3ea6.8b2d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.73" + age: "00:13:16" + mac: "fa16.3e18.f85b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.74" + age: "00:00:22" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.75" + age: "00:10:21" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.76" + age: "00:14:49" + mac: "fa16.3e1a.2e9e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.77" + age: "00:00:01" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.78" + age: "00:00:05" + mac: "fa16.3e0c.db92" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.79" + age: "00:14:20" + mac: "fa16.3e4b.d7d7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.80" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.81" + age: "00:09:57" + mac: "fa16.3e84.f34f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.82" + age: "00:00:24" + mac: "fa16.3ee9.2a72" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.83" + age: "00:15:29" + mac: "fa16.3ec5.a157" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.84" + age: "00:00:23" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.85" + age: "00:10:30" + mac: "fa16.3ef6.a785" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.86" + age: "00:10:22" + mac: "fa16.3ef1.e338" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.87" + age: "00:00:28" + mac: "fa16.3e97.0389" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.88" + age: "00:00:19" + mac: "fa16.3eb8.8d1b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.89" + age: "00:10:23" + mac: "fa16.3ec1.8cd3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.90" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.92" + age: "00:10:38" + mac: "fa16.3ead.9256" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.93" + age: "00:10:21" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.94" + age: "00:00:46" + mac: "fa16.3e49.cdf0" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.95" + age: "0.525364" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.96" + age: "00:00:43" + mac: "fa16.3e23.e44a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.97" + age: "00:00:02" + mac: "fa16.3eeb.7439" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.98" + age: "00:00:11" + mac: "fa16.3e7b.87f7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.99" + age: "00:00:32" + mac: "fa16.3ee3.6d81" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.100" + age: "00:00:04" + mac: "fa16.3e6d.0742" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.101" + age: "00:09:48" + mac: "fa16.3e5b.28f6" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.102" + age: "00:00:04" + mac: "fa16.3e0c.94b9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.103" + age: "00:00:19" + mac: "fa16.3e7c.6103" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.104" + age: "00:01:02" + mac: "fa16.3e0a.8309" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.105" + age: "00:00:43" + mac: "fa16.3e8d.814f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.107" + age: "00:00:18" + mac: "fa16.3ead.61be" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.108" + age: "00:00:23" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.109" + age: "00:16:44" + mac: "fa16.3e79.100c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.110" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.111" + age: "00:03:08" + mac: "fa16.3e9f.da8b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.112" + age: "00:10:40" + mac: "fa16.3e9a.64a7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.113" + age: "00:00:16" + mac: "fa16.3e79.baa1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.114" + age: "00:10:29" + mac: "fa16.3e1c.17b9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.115" + age: "00:10:33" + mac: "fa16.3e29.097a" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.116" + age: "00:00:31" + mac: "fa16.3eb8.39d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.117" + age: "00:00:48" + mac: "fa16.3e31.0eea" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.118" + age: "00:14:18" + mac: "fa16.3e92.f6d4" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.119" + age: "00:10:07" + mac: "fa16.3e62.033d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.120" + age: "00:10:15" + mac: "fa16.3e8a.e648" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.121" + age: "00:10:19" + mac: "fa16.3e1a.32cb" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.122" + age: "00:12:29" + mac: "fa16.3e2f.748f" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.123" + age: "00:10:38" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.124" + age: "00:07:48" + mac: "fa16.3efa.8162" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.126" + age: "00:00:05" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.127" + age: "00:06:57" + mac: "fa16.3ea2.f232" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.128" + age: "00:08:10" + mac: "fa16.3e88.bfbe" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.129" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.130" + age: "00:00:23" + mac: "fa16.3ea9.9d03" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.131" + age: "00:17:48" + mac: "fa16.3e9d.7a7d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.132" + age: "00:03:48" + mac: "fa16.3e49.c85c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.133" + age: "00:00:06" + mac: "fa16.3e81.85d1" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.134" + age: "00:00:09" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.135" + age: "00:10:31" + mac: "fa16.3e8f.30a2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.136" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.137" + age: "00:00:27" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.138" + age: "00:03:39" + mac: "fa16.3e4d.5bca" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.139" + age: "00:03:22" + mac: "fa16.3ee6.202c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.140" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.141" + age: "00:00:11" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.142" + age: "00:10:20" + mac: "fa16.3e0d.9595" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.143" + age: "00:00:05" + mac: "fa16.3e4f.c255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.144" + age: "00:01:41" + mac: "fa16.3e69.48a9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.145" + age: "00:10:32" + mac: "fa16.3e8b.ac0b" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.146" + age: "00:09:52" + mac: "fa16.3e5a.d3ab" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.147" + age: "00:13:32" + mac: "fa16.3e27.42d3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.148" + age: "00:00:45" + mac: "fa16.3e20.8590" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.149" + age: "00:09:51" + mac: "fa16.3e77.8f2c" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.150" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.151" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.153" + age: "00:10:40" + mac: "fa16.3e29.e197" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.154" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.157" + age: "00:08:11" + mac: "fa16.3e58.cff9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.158" + age: "00:10:18" + mac: "fa16.3e77.7245" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.159" + age: "00:00:51" + mac: "fa16.3edb.5732" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.161" + age: "00:00:26" + mac: "fa16.3e52.56a2" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.162" + age: "00:09:48" + mac: "fa16.3e30.f470" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.164" + age: "00:10:26" + mac: "fa16.3ec7.c597" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.165" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.166" + age: "00:10:41" + mac: "fa16.3ec7.43b3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.167" + age: "00:00:10" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.168" + age: "00:00:18" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.169" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.170" + age: "00:10:45" + mac: "fa16.3e7b.24d7" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.171" + age: "00:00:16" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.172" + age: "00:09:52" + mac: "fa16.3eba.402d" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.174" + age: "00:00:02" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.175" + age: "00:00:25" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.177" + age: "00:02:34" + mac: "fa16.3e51.2fdc" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.178" + age: "00:10:45" + mac: "fa16.3e42.4c3e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.179" + age: "00:10:40" + mac: "fa16.3e43.7afe" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.180" + age: "00:00:21" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.181" + age: "00:09:10" + mac: "fa16.3ec9.0e84" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.182" + age: "00:08:43" + mac: "fa16.3e9f.66a9" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.183" + age: "00:00:13" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.184" + age: "00:14:57" + mac: "fa16.3ef8.77cf" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.185" + age: "00:10:38" + mac: "fa16.3e46.4eaa" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.186" + age: "00:00:16" + mac: "fa16.3e4f.fe4e" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.187" + age: "00:00:27" + mac: "fa16.3eaa.4f07" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.188" + age: "00:00:17" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.189" + age: "00:10:29" + mac: "fa16.3edd.f255" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.190" + age: "00:00:08" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.192" + age: "00:00:29" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.194" + age: "00:15:28" + mac: "fa16.3e29.e608" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.195" + age: "00:10:01" + mac: "fa16.3e98.ac99" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.196" + age: "00:00:19" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.197" + age: "00:04:10" + mac: "fa16.3e87.4f31" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.198" + age: "00:01:18" + mac: "fa16.3e95.f7ea" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.199" + age: "00:05:52" + mac: "fa16.3e94.2900" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.201" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.202" + age: "00:00:20" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.203" + age: "00:09:11" + mac: "fa16.3e41.fef3" + interface: "Vlan666" + physical_interface: "port-channel666" + - address: "146.118.67.204" + age: "00:00:07" + mac: "INCOMPLETE" + interface: "Vlan666" + physical_interface: "Vlan666" + - address: "146.118.67.205" + age: "00:16:52" + mac: "fa16.3e63.5071" + interface: "Vlan666" + physical_interface: "port-channel666" From 9865ebfd061016d51c7b3a6d83761dbcbbd82605 Mon Sep 17 00:00:00 2001 From: Pieter Date: Wed, 10 Mar 2021 09:35:50 +1300 Subject: [PATCH 559/628] Fix#784 new: cisco asa show running all cryprom map (#840) --- ...show_running-config_all_crypto_map.textfsm | 27 ++++ ...asa_show_running-config_crypto_map.textfsm | 35 ++++-- templates/index | 1 + ...asa_show_running-config_all_crypto_map.raw | 68 ++++++++++ ...asa_show_running-config_all_crypto_map.yml | 119 ++++++++++++++++++ ...sco_asa_show_running-config_crypto_map.yml | 8 +- ...co_asa_show_running-config_crypto_map2.raw | 22 ++++ ...co_asa_show_running-config_crypto_map2.yml | 50 ++++++++ 8 files changed, 317 insertions(+), 13 deletions(-) create mode 100644 templates/cisco_asa_show_running-config_all_crypto_map.textfsm create mode 100644 tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.raw create mode 100644 tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml create mode 100644 tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.raw create mode 100644 tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.yml diff --git a/templates/cisco_asa_show_running-config_all_crypto_map.textfsm b/templates/cisco_asa_show_running-config_all_crypto_map.textfsm new file mode 100644 index 0000000000..744a24cef9 --- /dev/null +++ b/templates/cisco_asa_show_running-config_all_crypto_map.textfsm @@ -0,0 +1,27 @@ +Value MATCHED_ADDRESS (\S+) +Value CONNECTION_TYPE (\S+) +Value Required MAP (\S+) +Value Required SEQ (\d+) +Value PFS (group\d|\s*) +Value Required PEER (\S+) +Value IKEv1_PHASE1_MODE (\S+) +Value IKEv1_TRANSFORM_SET (\S+(\s\S+)*?) +Value IKEv2_MODE (\S+) +Value ISAKMP_DYNAMIC (\S+) +Value Fillup INTERFACE (\S+) +Value TRANSFORM (\S+) +Value SA (\d+) + +Start + ^crypto\smap\s${MAP}\s${SEQ}\smatch\saddress\s${MATCHED_ADDRESS}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\sconnection-type\s${CONNECTION_TYPE}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\spfs\s${PFS}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\speer\s${PEER}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev1\sphase1-mode\s${IKEv1_PHASE1_MODE}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev1\stransform-set\s${IKEv1_TRANSFORM_SET}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev2\smode\s${IKEv2_MODE}\s*$$ + ^crypto\smap\s${MAP}\s${SEQ}\sipsec-isakmp\sdynamic\s${ISAKMP_DYNAMIC}\s*$$ + ^no\scrypto\smap\s${MAP}\s${SEQ}\sset\stfc-packets\s*$$ -> Record + ^crypto\smap\s${MAP}\sinterface\s${INTERFACE}\s*$$ + ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA}\s*$$ + ^. -> Error diff --git a/templates/cisco_asa_show_running-config_crypto_map.textfsm b/templates/cisco_asa_show_running-config_crypto_map.textfsm index f5e9849b47..c617db041d 100644 --- a/templates/cisco_asa_show_running-config_crypto_map.textfsm +++ b/templates/cisco_asa_show_running-config_crypto_map.textfsm @@ -1,15 +1,32 @@ Value MATCHED_ADDRESS (\S+) -Value Required MAP (\S+) -Value Required SEQ (\d+) +Value Key MAP (\S+) +Value Key SEQ (\d+) Value PFS (group\d|\s*) -Value Required PEER (\S+) +Value PEER (\S+) Value IKE (\S+) -Value TRANSFORM (\S+) +Value TRANSFORM (\S+(\s\S+)*?) Value SA (\d+) +#Future# Value Fillup INTERFACE (\S+) Start - ^crypto\smap\s${MAP}\s${SEQ}\smatch\saddress\s${MATCHED_ADDRESS}\s* - ^crypto\smap\s\S+\s\d+\sset\spfs\s${PFS}\s* - ^crypto\smap\s\S+\s\d+\sset\speer\s${PEER}\s* - ^crypto\smap\s\S+\s\d+\sset\s${IKE}\stransform-set\s${TRANSFORM}\s* - ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA}\s* -> Record + # Value's address , start of block + ^crypto\smap\s${MAP}\s${SEQ}\smatch\saddress\s${MATCHED_ADDRESS}\s*$$ -> ReadBlockLines + ^. -> Error + +ReadBlockLines + # Fake start, block "match address" to trigger recording of current block + ^crypto\s+map\s\S+\s\d+\s+match\s+address\s\S+\s*$$ -> Continue.Record + # Real capture of "match address" start of new record + ^crypto\s+map\s+${MAP}\s+${SEQ}\s+match\s+address\s+${MATCHED_ADDRESS}\s*$$ + # + # Read other lines + ^crypto\s+map\s+${MAP}\s+${SEQ}\s+set\s+pfs\s+${PFS}\s*$$ + ^crypto\s+map\s+${MAP}\s+${SEQ}\s+set\s+peer\s+${PEER}\s*$$ + ^crypto\s+map\s+${MAP}\s+${SEQ}\s+set\s+${IKE}\s+transform-set\s+${TRANSFORM}\s*$$ + ^crypto\s+map\s+${MAP}\s+${SEQ}\s+set\s+security-association\s+lifetime\s+seconds\s+${SA}\s*$$ + #Future# ^crypto\s+map\s+${MAP}\s+interface\s${INTERFACE}\s* + # + # Ignore rest + ^crypto\s+map\s+\S+\s+interface\s+\S+\s*$$ + ^crypto\s+map\s+\S+\s+\d+\sipsec-isakmp\s+dynamic\s+SYSTEM_DEFAULT_CRYPTO_MAP\s*$$ + ^. -> Error diff --git a/templates/index b/templates/index index e27e54fb79..8afa8f7f9b 100644 --- a/templates/index +++ b/templates/index @@ -128,6 +128,7 @@ ciena_saos_port_show.textfsm, .*, ciena_saos, po[[rt]] sh[[ow]] ciena_saos_rstp_show.textfsm, .*, ciena_saos, rs[[tp]] sh[[ow]] ciena_saos_vlan_show.textfsm, .*, ciena_saos, vl[[an]] sh[[ow]] +cisco_asa_show_running-config_all_crypto_map.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] all cr[[ypto]] m[[ap]] cisco_asa_show_running-config_object_network.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] o[[bject]] n[[etwork]] cisco_asa_show_asp_table_vpn-context_detail.textfsm, .*, cisco_asa, sh[[ow]] asp t[[able]] vpn-co[[ntext]] d[[etail]] cisco_asa_show_running-config_crypto_ikev1.textfsm, .*, cisco_asa, sh[[ow]] ru[[nning-config]] cr[[ypto]] ikev1 diff --git a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.raw b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.raw new file mode 100644 index 0000000000..1821ffc443 --- /dev/null +++ b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.raw @@ -0,0 +1,68 @@ +crypto map WAN1_CMAP 10 match address CMAP_RU16 +crypto map WAN1_CMAP 10 set connection-type bidirectional +crypto map WAN1_CMAP 10 set peer 1.1.1.1 +crypto map WAN1_CMAP 10 set ikev1 phase1-mode main +crypto map WAN1_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 10 set ikev2 mode tunnel +no crypto map WAN1_CMAP 10 set tfc-packets +crypto map WAN1_CMAP 20 match address CMAP_RU11 +crypto map WAN1_CMAP 20 set connection-type bidirectional +crypto map WAN1_CMAP 20 set peer 2.2.2.2 +crypto map WAN1_CMAP 20 set ikev1 phase1-mode main +crypto map WAN1_CMAP 20 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 20 set ikev2 mode tunnel +no crypto map WAN1_CMAP 20 set tfc-packets +crypto map WAN1_CMAP 30 match address CMAP_RU12 +crypto map WAN1_CMAP 30 set connection-type bidirectional +crypto map WAN1_CMAP 30 set peer 3.3.3.3 +crypto map WAN1_CMAP 30 set ikev1 phase1-mode main +crypto map WAN1_CMAP 30 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 30 set ikev2 mode tunnel +no crypto map WAN1_CMAP 30 set tfc-packets +crypto map WAN1_CMAP 40 match address CMAP_RU17 +crypto map WAN1_CMAP 40 set connection-type bidirectional +crypto map WAN1_CMAP 40 set peer 4.4.4.4 +crypto map WAN1_CMAP 40 set ikev1 phase1-mode main +crypto map WAN1_CMAP 40 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 40 set ikev2 mode tunnel +no crypto map WAN1_CMAP 40 set tfc-packets +crypto map WAN1_CMAP 100 match address CMAP_FR_TEST_VPN +crypto map WAN1_CMAP 100 set pfs group5 +crypto map WAN1_CMAP 100 set connection-type bidirectional +crypto map WAN1_CMAP 100 set peer 185.108.69.37 +crypto map WAN1_CMAP 100 set ikev1 phase1-mode main +crypto map WAN1_CMAP 100 set ikev1 transform-set DES-MD5 +crypto map WAN1_CMAP 100 set ikev2 mode tunnel +crypto map WAN1_CMAP 100 set security-association lifetime seconds 3600 +no crypto map WAN1_CMAP 100 set tfc-packets +crypto map WAN1_CMAP 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP +crypto map WAN1_CMAP interface WAN1 +crypto map S2S_CMAP 10 match address CMAP_RU17 +crypto map S2S_CMAP 10 set connection-type bidirectional +crypto map S2S_CMAP 10 set peer 10.0.10.1 +crypto map S2S_CMAP 10 set ikev1 phase1-mode main +crypto map S2S_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 10 set ikev2 mode tunnel +no crypto map S2S_CMAP 10 set tfc-packets +crypto map S2S_CMAP 20 match address CMAP_RU12 +crypto map S2S_CMAP 20 set connection-type bidirectional +crypto map S2S_CMAP 20 set peer 10.0.20.1 +crypto map S2S_CMAP 20 set ikev1 phase1-mode main +crypto map S2S_CMAP 20 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 20 set ikev2 mode tunnel +no crypto map S2S_CMAP 20 set tfc-packets +crypto map S2S_CMAP 30 match address CMAP_RU11 +crypto map S2S_CMAP 30 set connection-type bidirectional +crypto map S2S_CMAP 30 set peer 10.0.30.1 +crypto map S2S_CMAP 30 set ikev1 phase1-mode main +crypto map S2S_CMAP 30 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 30 set ikev2 mode tunnel +no crypto map S2S_CMAP 30 set tfc-packets +crypto map S2S_CMAP 40 match address CMAP_RU16 +crypto map S2S_CMAP 40 set connection-type bidirectional +crypto map S2S_CMAP 40 set peer 10.0.40.1 +crypto map S2S_CMAP 40 set ikev1 phase1-mode main +crypto map S2S_CMAP 40 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 40 set ikev2 mode tunnel +no crypto map S2S_CMAP 40 set tfc-packets +crypto map S2S_CMAP interface S2SVPN \ No newline at end of file diff --git a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml new file mode 100644 index 0000000000..70f32d90ee --- /dev/null +++ b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml @@ -0,0 +1,119 @@ +--- +parsed_sample: + - matched_address: "CMAP_RU16" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "10" + pfs: "" + peer: "1.1.1.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa: "" + - matched_address: "CMAP_RU11" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "20" + pfs: "" + peer: "2.2.2.2" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa: "" + - matched_address: "CMAP_RU12" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "30" + pfs: "" + peer: "3.3.3.3" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa: "" + - matched_address: "CMAP_RU17" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "40" + pfs: "" + peer: "4.4.4.4" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa: "" + - matched_address: "CMAP_FR_TEST_VPN" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "100" + pfs: "group5" + peer: "185.108.69.37" + ikev1_phase1_mode: "main" + ikev1_transform_set: "DES-MD5" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa: "3600" + - matched_address: "CMAP_RU17" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "10" + pfs: "" + peer: "10.0.10.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "SYSTEM_DEFAULT_CRYPTO_MAP" + interface: "WAN1" + transform: "" + sa: "" + - matched_address: "CMAP_RU12" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "20" + pfs: "" + peer: "10.0.20.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "S2SVPN" + transform: "" + sa: "" + - matched_address: "CMAP_RU11" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "30" + pfs: "" + peer: "10.0.30.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "S2SVPN" + transform: "" + sa: "" + - matched_address: "CMAP_RU16" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "40" + pfs: "" + peer: "10.0.40.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "S2SVPN" + transform: "" + sa: "" diff --git a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml index 07e61b129c..e0a8358d8d 100644 --- a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml +++ b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map.yml @@ -1,16 +1,16 @@ --- parsed_sample: - - map: "Standard-1" + - matched_address: "peer1" + map: "Standard-1" seq: "20" - matched_address: "peer1" pfs: "group5" peer: "Peer-1" ike: "ikev1" transform: "Standard-Transform" sa: "28800" - - map: "Standard-1" + - matched_address: "peer2" + map: "Standard-1" seq: "25" - matched_address: "peer2" pfs: "group2" peer: "Peer-2" ike: "ikev1" diff --git a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.raw b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.raw new file mode 100644 index 0000000000..dd91959e3e --- /dev/null +++ b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.raw @@ -0,0 +1,22 @@ +crypto map WAN1_CMAP 10 match address CMAP_RU16 +crypto map WAN1_CMAP 10 set peer 1.1.1.1 +crypto map WAN1_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 20 match address CMAP_RU11 +crypto map WAN1_CMAP 20 set peer 1.1.1.2 +crypto map WAN1_CMAP 20 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 30 match address CMAP_RU12 +crypto map WAN1_CMAP 30 set peer 1.1.1.3 +crypto map WAN1_CMAP 30 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 40 match address CMAP_RU17 +crypto map WAN1_CMAP 40 set peer 1.1.1.4 +crypto map WAN1_CMAP 40 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 100 match address CMAP_FR1 +crypto map WAN1_CMAP 100 set pfs group5 +crypto map WAN1_CMAP 100 set peer 1.1.1.8 +crypto map WAN1_CMAP 100 set ikev1 transform-set DES-MD5 +crypto map WAN1_CMAP 100 set security-association lifetime seconds 3600 +crypto map WAN1_CMAP 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP +crypto map WAN1_CMAP interface WAN1 +crypto map S2S_CMAP 10 match address CMAP_RU17 +crypto map S2S_CMAP 10 set peer 1.1.1.5 +crypto map S2S_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA diff --git a/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.yml b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.yml new file mode 100644 index 0000000000..c573a7cad0 --- /dev/null +++ b/tests/cisco_asa/show_running-config_crypto_map/cisco_asa_show_running-config_crypto_map2.yml @@ -0,0 +1,50 @@ +--- +parsed_sample: + - matched_address: "CMAP_RU16" + map: "WAN1_CMAP" + seq: "10" + pfs: "" + peer: "1.1.1.1" + ike: "ikev1" + transform: "ESP-AES-256-SHA ESP-AES-192-SHA" + sa: "" + - matched_address: "CMAP_RU11" + map: "WAN1_CMAP" + seq: "20" + pfs: "" + peer: "1.1.1.2" + ike: "ikev1" + transform: "ESP-AES-256-SHA ESP-AES-192-SHA" + sa: "" + - matched_address: "CMAP_RU12" + map: "WAN1_CMAP" + seq: "30" + pfs: "" + peer: "1.1.1.3" + ike: "ikev1" + transform: "ESP-AES-256-SHA ESP-AES-192-SHA" + sa: "" + - matched_address: "CMAP_RU17" + map: "WAN1_CMAP" + seq: "40" + pfs: "" + peer: "1.1.1.4" + ike: "ikev1" + transform: "ESP-AES-256-SHA ESP-AES-192-SHA" + sa: "" + - matched_address: "CMAP_FR1" + map: "WAN1_CMAP" + seq: "100" + pfs: "group5" + peer: "1.1.1.8" + ike: "ikev1" + transform: "DES-MD5" + sa: "3600" + - matched_address: "CMAP_RU17" + map: "S2S_CMAP" + seq: "10" + pfs: "" + peer: "1.1.1.5" + ike: "ikev1" + transform: "ESP-AES-256-SHA ESP-AES-192-SHA" + sa: "" From 6027cfdebbda89c7eef07651f0fb549780d46a2e Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Tue, 9 Mar 2021 15:28:21 -0700 Subject: [PATCH 560/628] New template: alcatel_sros_show_router_mpls_interface.textfsm (#877) --- ...el_sros_show_router_mpls_interface.textfsm | 28 +++++++++++++++++++ templates/index | 1 + ...lcatel_sros_show_router_mpls_interface.raw | 23 +++++++++++++++ ...lcatel_sros_show_router_mpls_interface.yml | 26 +++++++++++++++++ 4 files changed, 78 insertions(+) create mode 100644 templates/alcatel_sros_show_router_mpls_interface.textfsm create mode 100644 tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.raw create mode 100644 tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml diff --git a/templates/alcatel_sros_show_router_mpls_interface.textfsm b/templates/alcatel_sros_show_router_mpls_interface.textfsm new file mode 100644 index 0000000000..b2f48185b1 --- /dev/null +++ b/templates/alcatel_sros_show_router_mpls_interface.textfsm @@ -0,0 +1,28 @@ +Value Required INTERFACE (\S+) +Value Required PORT (\S+) +Value Required ADMIN_STATUS (Up|Down) +Value Required OPER_STATUS_V4 (Up|Down) +Value Required OPER_STATUS_V6 (Up|Down) +Value Required TE_METRIC (\d+|None) + + +Start + ^=+ + ^MPLS Interfaces + ^Interface\s+Port-id\s+Adm\s+Opr\(V4\/V6\)\s+TE- -> Interface + ^\s+metric + ^-+ + ^\s*$$ + ^. -> Error + +Interface + ^${INTERFACE}\s+${PORT}\s+${ADMIN_STATUS}\s+${OPER_STATUS_V4}\S${OPER_STATUS_V6}\s+${TE_METRIC} -> Record + ^\s+Admin\s+Groups + ^\s+\S+ + ^\s+SRLG\s+Groups + ^Interfaces + ^=+ + ^\s+metric + ^-+ + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/templates/index b/templates/index index 8afa8f7f9b..e3ad34a50e 100644 --- a/templates/index +++ b/templates/index @@ -17,6 +17,7 @@ alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm, .*, alcatel_sros, sh[[ow]] alcatel_sros_show_router_bgp_summary_family.textfsm, .*, alcatel_sros, sh[[ow]] router bgp sum[[mary]] family alcatel_sros_show_router_isis_adjacency.textfsm, .*, alcatel_sros, sh[[ow]] router isis adj[[acency]] alcatel_sros_show_router_isis_interface.textfsm, .*, alcatel_sros, sh[[ow]] router isis int[[erface]] +alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] router mpls int[[erface]] alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] diff --git a/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.raw b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.raw new file mode 100644 index 0000000000..e055615d6e --- /dev/null +++ b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.raw @@ -0,0 +1,23 @@ +=============================================================================== +MPLS Interfaces +=============================================================================== +Interface Port-id Adm Opr(V4/V6) TE- + metric +------------------------------------------------------------------------------- +system system Up Up/Down None + Admin Groups None + SRLG Groups None +TO_IOSXR 1/1/c4/1 Up Up/Down 98999 + Admin Groups RED + GREEN + SRLG Groups None +TO_R1 1/1/c1/1 Up Up/Down 65660 + Admin Groups None + SRLG Groups None +TO_R4 1/1/c2/1 Up Up/Down None + Admin Groups None + SRLG Groups PURPLE + WHITE +------------------------------------------------------------------------------- +Interfaces : 4 +=============================================================================== \ No newline at end of file diff --git a/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml new file mode 100644 index 0000000000..3d183dcea1 --- /dev/null +++ b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - admin_status: "Up" + interface: "system" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "system" + te_metric: "None" + - admin_status: "Up" + interface: "TO_IOSXR" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c4/1" + te_metric: "98999" + - admin_status: "Up" + interface: "TO_R1" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c1/1" + te_metric: "65660" + - admin_status: "Up" + interface: "TO_R4" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c2/1" + te_metric: "None" From 312f1af2b9066198ec39b1e49554fa918293daeb Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 9 Mar 2021 16:37:42 -0700 Subject: [PATCH 561/628] Bugfix: Media type update for cisco_ios_show_interfaces (#879) --- development_scripts.py | 0 templates/cisco_ios_show_interfaces.textfsm | 2 +- .../cisco_ios_show_interfaces2.yml | 24 +- .../cisco_ios_show_interfaces4.raw | 442 ++++++++++++++++++ .../cisco_ios_show_interfaces4.yml | 434 +++++++++++++++++ 5 files changed, 889 insertions(+), 13 deletions(-) mode change 100644 => 100755 development_scripts.py create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.raw create mode 100644 tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml diff --git a/development_scripts.py b/development_scripts.py old mode 100644 new mode 100755 diff --git a/templates/cisco_ios_show_interfaces.textfsm b/templates/cisco_ios_show_interfaces.textfsm index 3e0bedaf00..6928f60802 100644 --- a/templates/cisco_ios_show_interfaces.textfsm +++ b/templates/cisco_ios_show_interfaces.textfsm @@ -9,7 +9,7 @@ Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) Value MTU (\d+) Value DUPLEX (([Ff]ull|[Aa]uto|[Hh]alf|[Aa]-).*?) Value SPEED (.*?) -Value MEDIA_TYPE (\S+) +Value MEDIA_TYPE (\S+(\s+\S+)?) Value BANDWIDTH (\d+\s+\w+) Value DELAY (\d+\s+\S+) Value ENCAPSULATION (.+?) diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml index 7c04499f4e..84a163cb98 100644 --- a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces2.yml @@ -1413,9 +1413,9 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" - duplex: "" - speed: "" - media_type: "" + duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "Not Present" bandwidth: "10000 Kbit" delay: "1000 usec" encapsulation: "ARPA" @@ -1440,9 +1440,9 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" - duplex: "" - speed: "" - media_type: "" + duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "Not Present" bandwidth: "10000 Kbit" delay: "1000 usec" encapsulation: "ARPA" @@ -1467,9 +1467,9 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" - duplex: "" - speed: "" - media_type: "" + duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "Not Present" bandwidth: "10000 Kbit" delay: "1000 usec" encapsulation: "ARPA" @@ -1494,9 +1494,9 @@ parsed_sample: description: "" ip_address: "" mtu: "1500" - duplex: "" - speed: "" - media_type: "" + duplex: "Auto-duplex" + speed: "Auto-speed" + media_type: "Not Present" bandwidth: "10000 Kbit" delay: "1000 usec" encapsulation: "ARPA" diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.raw b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.raw new file mode 100644 index 0000000000..4bc7517743 --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.raw @@ -0,0 +1,442 @@ +FastEthernet1 is down, line protocol is down + Hardware is RP management port, address is 6c41.6aba.b47f (bia 6c41.6aba.b47f) + MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Half-duplex, 10Mb/s, 100BaseTX/FX + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/0 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes + Received 0 broadcasts (0 IP multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 watchdog + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 0 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/1 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b440 (bia 6c41.6aba.b440) + Description: vss + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 10Gb/s, link type is auto, media type is QSFP-10G 1M + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 4 + Queueing strategy: Class-based queueing + Output queue: 0/40 (size/max) + 5 minute input rate 1180000 bits/sec, 131 packets/sec + 5 minute output rate 38000 bits/sec, 33 packets/sec + 4035758153 packets input, 2783400652228 bytes, 0 no buffer + Received 160702941 broadcasts (60693400 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 956714742 packets output, 377708181830 bytes, 0 underruns + 0 output errors, 0 collisions, 4 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/2 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b441 (bia 6c41.6aba.b441) + Description: fast hello + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 10Gb/s, link type is auto, media type is QSFP-10G 1M + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:21, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 6000 bits/sec, 10 packets/sec + 5 minute output rate 6000 bits/sec, 10 packets/sec + 237748374 packets input, 16820309764 bytes, 0 no buffer + Received 383456 broadcasts (383456 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 237747059 packets output, 16820212146 bytes, 0 underruns + 0 output errors, 0 collisions, 5 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/3 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b442 (bia 6c41.6aba.b442) + Description: vss + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 10Gb/s, link type is auto, media type is QSFP-10G 1M + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 3 + Queueing strategy: Class-based queueing + Output queue: 0/40 (size/max) + 5 minute input rate 196000 bits/sec, 50 packets/sec + 5 minute output rate 11000 bits/sec, 16 packets/sec + 9594383489 packets input, 7302479029074 bytes, 0 no buffer + Received 66218427 broadcasts (60570610 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 814075627 packets output, 479172141396 bytes, 0 underruns + 0 output errors, 0 collisions, 4 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/4 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b443 (bia 6c41.6aba.b443) + Description: wan + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseT + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:00, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 1842857 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 419000 bits/sec, 173 packets/sec + 5 minute output rate 1582000 bits/sec, 261 packets/sec + 21777507643 packets input, 11789825980301 bytes, 0 no buffer + Received 23753204 broadcasts (23750450 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 37553221421 packets output, 35764893203339 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/5 is administratively down, line protocol is down (disabled) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b444 (bia 6c41.6aba.b444) + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is 1000BaseT + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/6 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b445 (bia 6c41.6aba.b445) + Description: wireless + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseT + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:07, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 32416 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 1261000 bits/sec, 243 packets/sec + 5 minute output rate 1582000 bits/sec, 200 packets/sec + 9295308398 packets input, 6075966632228 bytes, 0 no buffer + Received 23393246 broadcasts (20908873 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 8107505603 packets output, 6210024688013 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/7 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b446 (bia 6c41.6aba.b446) + Description: wireless + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseT + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:17, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 169728331 packets input, 129190060864 bytes, 0 no buffer + Received 13015669 broadcasts (10933489 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 242553619 packets output, 112374124403 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/8 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b447 (bia 6c41.6aba.b447) + Description: nas + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 1000Mb/s, link type is auto, media type is 1000BaseT + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:08, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 15804107 packets input, 9120651162 bytes, 0 no buffer + Received 345932 broadcasts (345113 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 13861965 packets output, 1342553433 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/9 is administratively down, line protocol is down (disabled) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b448 (bia 6c41.6aba.b448) + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is No XCVR + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/10 is administratively down, line protocol is down (disabled) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b449 (bia 6c41.6aba.b449) + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is No XCVR + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/11 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b44a (bia 6c41.6aba.b44a) + Description: shop access + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 10Gb/s, link type is auto, media type is QSFP-10G 5M + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:03, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 1 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 289000 bits/sec, 170 packets/sec + 5 minute output rate 7166000 bits/sec, 714 packets/sec + 33070723737 packets input, 27913140863803 bytes, 0 no buffer + Received 102530192 broadcasts (91747041 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 36245627794 packets output, 35298352607317 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/12 is down, line protocol is down (notconnect) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b44b (bia 6c41.6aba.b44b) + Description: shop floor + MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is 1000BaseSX + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/13 is up, line protocol is up (connected) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b44c (bia 6c41.6aba.b44c) + Description: shop access + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, 10Gb/s, link type is auto, media type is 10GBase-SR + input flow-control is on, output flow-control is on + ARP type: ARPA, ARP Timeout 04:00:00 + Last input 00:00:03, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 11 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 128000 bits/sec, 48 packets/sec + 5 minute output rate 897000 bits/sec, 126 packets/sec + 2706943013 packets input, 593239780527 bytes, 0 no buffer + Received 10407156 broadcasts (9275413 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 5030894569 packets output, 4585304759149 bytes, 0 underruns + 0 output errors, 0 collisions, 3 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/14 is administratively down, line protocol is down (disabled) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b44d (bia 6c41.6aba.b44d) + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is No XCVR + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out +TenGigabitEthernet1/1/15 is administratively down, line protocol is down (disabled) + Hardware is Ten Gigabit Ethernet Port, address is 6c41.6aba.b44e (bia 6c41.6aba.b44e) + MTU 1500 bytes, BW 10000000 Kbit/sec, DLY 10 usec, + reliability 255/255, txload 1/255, rxload 1/255 + Encapsulation ARPA, loopback not set + Keepalive set (10 sec) + Full-duplex, Auto-speed, link type is auto, media type is No XCVR + input flow-control is off, output flow-control is off + ARP type: ARPA, ARP Timeout 04:00:00 + Last input never, output never, output hang never + Last clearing of "show interface" counters never + Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 0 + Queueing strategy: fifo + Output queue: 0/40 (size/max) + 5 minute input rate 0 bits/sec, 0 packets/sec + 5 minute output rate 0 bits/sec, 0 packets/sec + 0 packets input, 0 bytes, 0 no buffer + Received 0 broadcasts (0 multicasts) + 0 runts, 0 giants, 0 throttles + 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored + 0 input packets with dribble condition detected + 0 packets output, 0 bytes, 0 underruns + 0 output errors, 0 collisions, 1 interface resets + 0 unknown protocol drops + 0 babbles, 0 late collision, 0 deferred + 0 lost carrier, 0 no carrier + 0 output buffer failures, 0 output buffers swapped out \ No newline at end of file diff --git a/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml new file mode 100644 index 0000000000..6ed9e6970e --- /dev/null +++ b/tests/cisco_ios/show_interfaces/cisco_ios_show_interfaces4.yml @@ -0,0 +1,434 @@ +--- +parsed_sample: + - interface: "FastEthernet1" + link_status: "down" + protocol_status: "down" + hardware_type: "RP management port" + address: "6c41.6aba.b47f" + bia: "6c41.6aba.b47f" + description: "" + ip_address: "" + mtu: "1500" + duplex: "" + speed: "" + media_type: "" + bandwidth: "10000 Kbit" + delay: "1000 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/1" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b440" + bia: "6c41.6aba.b440" + description: "vss" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "10Gb/s" + media_type: "QSFP-10G 1M" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "Class-based queueing" + input_rate: "1180000" + output_rate: "38000" + input_packets: "4035758153" + output_packets: "956714742" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/2" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b441" + bia: "6c41.6aba.b441" + description: "fast hello" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "10Gb/s" + media_type: "QSFP-10G 1M" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:21" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "6000" + output_rate: "6000" + input_packets: "237748374" + output_packets: "237747059" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/3" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b442" + bia: "6c41.6aba.b442" + description: "vss" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "10Gb/s" + media_type: "QSFP-10G 1M" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "Class-based queueing" + input_rate: "196000" + output_rate: "11000" + input_packets: "9594383489" + output_packets: "814075627" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/4" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b443" + bia: "6c41.6aba.b443" + description: "wan" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "1000Mb/s" + media_type: "1000BaseT" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:00" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "419000" + output_rate: "1582000" + input_packets: "21777507643" + output_packets: "37553221421" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/5" + link_status: "administratively down" + protocol_status: "down (disabled)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b444" + bia: "6c41.6aba.b444" + description: "" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "1000BaseT" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/6" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b445" + bia: "6c41.6aba.b445" + description: "wireless" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "1000Mb/s" + media_type: "1000BaseT" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:07" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "1261000" + output_rate: "1582000" + input_packets: "9295308398" + output_packets: "8107505603" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/7" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b446" + bia: "6c41.6aba.b446" + description: "wireless" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "1000Mb/s" + media_type: "1000BaseT" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:17" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "169728331" + output_packets: "242553619" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/8" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b447" + bia: "6c41.6aba.b447" + description: "nas" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "1000Mb/s" + media_type: "1000BaseT" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:08" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "15804107" + output_packets: "13861965" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/9" + link_status: "administratively down" + protocol_status: "down (disabled)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b448" + bia: "6c41.6aba.b448" + description: "" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "No XCVR" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/10" + link_status: "administratively down" + protocol_status: "down (disabled)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b449" + bia: "6c41.6aba.b449" + description: "" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "No XCVR" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/11" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b44a" + bia: "6c41.6aba.b44a" + description: "shop access" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "10Gb/s" + media_type: "QSFP-10G 5M" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:03" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "289000" + output_rate: "7166000" + input_packets: "33070723737" + output_packets: "36245627794" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/12" + link_status: "down" + protocol_status: "down (notconnect)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b44b" + bia: "6c41.6aba.b44b" + description: "shop floor" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "1000BaseSX" + bandwidth: "1000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/13" + link_status: "up" + protocol_status: "up (connected)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b44c" + bia: "6c41.6aba.b44c" + description: "shop access" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "10Gb/s" + media_type: "10GBase-SR" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "00:00:03" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "128000" + output_rate: "897000" + input_packets: "2706943013" + output_packets: "5030894569" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/14" + link_status: "administratively down" + protocol_status: "down (disabled)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b44d" + bia: "6c41.6aba.b44d" + description: "" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "No XCVR" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" + - interface: "TenGigabitEthernet1/1/15" + link_status: "administratively down" + protocol_status: "down (disabled)" + hardware_type: "Ten Gigabit Ethernet Port" + address: "6c41.6aba.b44e" + bia: "6c41.6aba.b44e" + description: "" + ip_address: "" + mtu: "1500" + duplex: "Full-duplex" + speed: "Auto-speed" + media_type: "No XCVR" + bandwidth: "10000000 Kbit" + delay: "10 usec" + encapsulation: "ARPA" + last_input: "never" + last_output: "never" + last_output_hang: "never" + queue_strategy: "fifo" + input_rate: "0" + output_rate: "0" + input_packets: "0" + output_packets: "0" + input_errors: "0" + crc: "0" + abort: "" + output_errors: "0" From 4495264e2846ffe35c8d4830782be0a45a8eb12e Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Tue, 9 Mar 2021 16:38:31 -0700 Subject: [PATCH 562/628] New template: cisco_ios_show_alert_counters.textfsm (#881) --- .../cisco_ios_show_alert_counters.textfsm | 17 ++++++ templates/index | 1 + .../cisco_ios_show_alert_counters.raw | 55 +++++++++++++++++++ .../cisco_ios_show_alert_counters.yml | 43 +++++++++++++++ 4 files changed, 116 insertions(+) create mode 100644 templates/cisco_ios_show_alert_counters.textfsm create mode 100644 tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.raw create mode 100644 tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.yml diff --git a/templates/cisco_ios_show_alert_counters.textfsm b/templates/cisco_ios_show_alert_counters.textfsm new file mode 100644 index 0000000000..f4e65657e1 --- /dev/null +++ b/templates/cisco_ios_show_alert_counters.textfsm @@ -0,0 +1,17 @@ +Value Filldown interface (.+) +Value errorcode (.+) +Value timestamp (.+) +Value description (.+) +Value recommendation (.+) + +Start + ^Interface:\s+${interface} -> Clear + ^Error Code:\s+${errorcode} + ^Timestamp:\s+${timestamp} + ^Description:\s+${description} + ^Recommendation:\s+${recommendation} -> Record + ^Global\s+Errors + ^\s*$$ + ^. -> Error + +EOF diff --git a/templates/index b/templates/index index e3ad34a50e..acfbb5fb2c 100644 --- a/templates/index +++ b/templates/index @@ -198,6 +198,7 @@ cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-list cisco_ios_show_mpls_interfaces.textfsm, .*, cisco_ios, sh[[ow]] mpls interfa[[ces]] cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]] cisco_ios_show_access-session.textfsm, .*, cisco_ios, show access-s[[ession]] +cisco_ios_show_alert_counters.textfsm, .*, cisco_ios, sh[[ow]] alert [[counters]] cisco_ios_show_ip_bgp_summary.textfsm, .*, cisco_ios, sh[[ow]] ip bgp (?:all\s+)?sum[[mary]] cisco_ios_show_ip_prefix-list.textfsm, .*, cisco_ios, sh[[ow]] ip pre[[fix-list]] cisco_ios_show_ipv6_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ipv[[6]] ne[[ighbors]] diff --git a/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.raw b/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.raw new file mode 100644 index 0000000000..3f81a38f0f --- /dev/null +++ b/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.raw @@ -0,0 +1,55 @@ +Interface: Fa1/1 +Error Code: ALERT-5-STP_BLOCK +Timestamp: 2020 04 28 19 12 03 +Description: This port is blocked by Spanning Tree Protocol (STP). +Recommendation: Make sure that no Spanning Tree Protocol loops exist in the network. + + +Interface: Fa1/2 +Error Code: ALERT-5-STP_BLOCK +Timestamp: 2020 08 10 11 34 47 +Description: This port is blocked by Spanning Tree Protocol (STP). +Recommendation: Make sure that no Spanning Tree Protocol loops exist in the network. + + +Error Code: ALERT-5-COLLISION_ERR +Timestamp: 2020 08 27 13 50 25 +Description: Detected lower performance on this link, possibly because of half duplex configuration or duplex mismatch. +Recommendation: Change the duplex setting of both the ports on this link to "auto" or "full-duplex". + + +Interface: Fa1/3 +Error Code: ALERT-4-PORT_PSECURE_VIOLATION +Timestamp: 2020 08 27 13 53 22 +Description: Access denied to one or more connecting devices on this port. +Recommendation: Maximum allowed devices on this port are already connected, or an unauthorized device attempted to connect on this secure port. Disconnect the device. + + +Error Code: ALERT-5-ALIGN_FCS_ERR +Timestamp: 2020 08 27 13 48 25 +Description: Detected a faulty cable, or bad hardware on connected device, or the connected device is generating frames with bad Frame Check Sequence (FCS). +Recommendation: Change the duplex setting of both the ports on this link to "full-duplex" or change the duplex setting of this port to "auto". Check if the cable is faulty and replace it if needed. The hardware on the connected device might be bad, disconnect the connected device. + + +Error Code: ALERT-5-RX_TX_ERR +Timestamp: 2020 08 27 13 48 25 +Description: Detected a possible over-utilization of the switch link or bad frames generated by the connected device. +Recommendation: Change the port settings of this port to "auto". It might help to create an Ether Channel by grouping this port with other under-utilized or unused ports. Disconnect the connected device. + + +Interface: Fa1/4 + +Interface: Fa1/5 + +Interface: Fa1/6 + +Interface: Fa1/7 + +Interface: Fa1/8 + +Interface: Gi1/1 + +Interface: Gi1/2 + +Global Errors : + diff --git a/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.yml b/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.yml new file mode 100644 index 0000000000..811cc2d2fb --- /dev/null +++ b/tests/cisco_ios/show_alert_counters/cisco_ios_show_alert_counters.yml @@ -0,0 +1,43 @@ +--- +parsed_sample: + - interface: "Fa1/1" + errorcode: "ALERT-5-STP_BLOCK" + timestamp: "2020 04 28 19 12 03" + description: "This port is blocked by Spanning Tree Protocol (STP)." + recommendation: "Make sure that no Spanning Tree Protocol loops exist in the network." + - interface: "Fa1/2" + errorcode: "ALERT-5-STP_BLOCK" + timestamp: "2020 08 10 11 34 47" + description: "This port is blocked by Spanning Tree Protocol (STP)." + recommendation: "Make sure that no Spanning Tree Protocol loops exist in the network." + - interface: "Fa1/2" + errorcode: "ALERT-5-COLLISION_ERR" + timestamp: "2020 08 27 13 50 25" + description: "Detected lower performance on this link, possibly because of half\ + \ duplex configuration or duplex mismatch." + recommendation: "Change the duplex setting of both the ports on this link to \"\ + auto\" or \"full-duplex\"." + - interface: "Fa1/3" + errorcode: "ALERT-4-PORT_PSECURE_VIOLATION" + timestamp: "2020 08 27 13 53 22" + description: "Access denied to one or more connecting devices on this port." + recommendation: "Maximum allowed devices on this port are already connected, or\ + \ an unauthorized device attempted to connect on this secure port. Disconnect\ + \ the device." + - interface: "Fa1/3" + errorcode: "ALERT-5-ALIGN_FCS_ERR" + timestamp: "2020 08 27 13 48 25" + description: "Detected a faulty cable, or bad hardware on connected device, or\ + \ the connected device is generating frames with bad Frame Check Sequence (FCS)." + recommendation: "Change the duplex setting of both the ports on this link to \"\ + full-duplex\" or change the duplex setting of this port to \"auto\". Check if\ + \ the cable is faulty and replace it if needed. The hardware on the connected\ + \ device might be bad, disconnect the connected device." + - interface: "Fa1/3" + errorcode: "ALERT-5-RX_TX_ERR" + timestamp: "2020 08 27 13 48 25" + description: "Detected a possible over-utilization of the switch link or bad frames\ + \ generated by the connected device." + recommendation: "Change the port settings of this port to \"auto\". It might help\ + \ to create an Ether Channel by grouping this port with other under-utilized\ + \ or unused ports. Disconnect the connected device." From 1266524ad2f5683dbad6d0b05e06c606b38c4e63 Mon Sep 17 00:00:00 2001 From: Pieter Date: Wed, 10 Mar 2021 12:40:33 +1300 Subject: [PATCH 563/628] fix#733-CiscoASA-show_vpn-sessiondb_SW_update (#845) --- .../cisco_asa_show_vpn-sessiondb.textfsm | 63 +++++++--------- .../cisco_asa_show_vpn-sessiondb.yml | 71 ++++++++++++------- .../cisco_asa_show_vpn-sessiondb2.raw | 26 +++++++ .../cisco_asa_show_vpn-sessiondb2.yml | 48 +++++++++++++ 4 files changed, 146 insertions(+), 62 deletions(-) create mode 100644 tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.raw create mode 100644 tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.yml diff --git a/templates/cisco_asa_show_vpn-sessiondb.textfsm b/templates/cisco_asa_show_vpn-sessiondb.textfsm index eae4ed2a61..7fde130dda 100644 --- a/templates/cisco_asa_show_vpn-sessiondb.textfsm +++ b/templates/cisco_asa_show_vpn-sessiondb.textfsm @@ -1,53 +1,44 @@ -Value ANYCONNECT_CLIENT_ACTIVE (\d+) -Value ANYCONNECT_CLIENT_CUMULATIVE (\d+) -Value ANYCONNECT_CLIENT_PEAK_CONCURRENT (\d+) -Value ANYCONNECT_CLIENT_INACTIVE (\d+) -Value SSL_TLS_DTLS_ACTIVE (\d+) -Value SSL_TLS_DTLS_CUMULATIVE (\d+) -Value SSL_TLS_DTLS_PEAK_CONCURRENT (\d+) -Value SSL_TLS_DTLS_PEAK_INACTIVE (\d+) -Value CLIENTLESS_VPN_ACTIVE (\d+) -Value CLIENTLESS_VPN_CUMULATIVE (\d+) -Value CLIENTLESS_VPN_PEAK_CONCURRENT (\d+) -Value VPN_BROWSWER_ACTIVE (\d+) -Value VPN_BROWSWER_CUMULATIVE (\d+) -Value VPN_BROWSWER_PEAK_CONCURRENT (\d+) +Value List VPN_SESSION_NAME (\S+?\s?\S+) +Value List VPN_SESSION_ACTIVE (\d+) +Value List VPN_SESSION_CUMULATIVE (\d+) +Value List VPN_SESSION_PEAK_CONCURRENT (\d+) +Value List VPN_SESSION_INACTIVE (\d+) +# Value TOTAL_ACTIVE_AND_INACTIVE (\d+) Value TOTAL_CUMULATIVE (\d+) Value DEVICE_TOTAL_VPN_CAPACITY (\d+) Value DEVICE_LOAD_PERCENT (\d+) -Value TUNNELS_SUMMARY_CLIENTLESS_ACTIVE (\d+) -Value TUNNELS_SUMMARY_CLIENTLESS_CUMULATIVE (\d+) -Value TUNNELS_SUMMARY_CLIENTLESS_PEAK_CONCURRENT (\d+) -Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_ACTIVE (\d+) -Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_CUMULATIVE (\d+) -Value TUNNELS_SUMMARY_ANYCONNECT_PARENT_PEAK_CONC (\d+) -Value TUNNELS_SUMMARY_SSLTUNNEL_ACTIVE (\d+) -Value TUNNELS_SUMMARY_SSLTUNNEL_CUMULATIVE (\d+) -Value TUNNELS_SUMMARY_SSLTUNNEL_PEAK_CONCURRENT (\d+) -Value TUNNELS_SUMMARY_DTLSTUNNEL_ACTIVE (\d+) -Value TUNNELS_SUMMARY_DTLSTUNNEL_CUMULATIVE (\d+) -Value TUNNELS_SUMMARY_DTLSTUNNEL_PEAK_CONCURRENT (\d+) +# +Value List TUNNELS_SUMMARY_NAME (\S+?\s?\S+) +Value List TUNNELS_SUMMARY_ACTIVE (\d+) +Value List TUNNELS_SUMMARY_CUMULATIVE (\d+) +Value List TUNNELS_SUMMARY_PEAK_CONCURRENT (\d+) +# Value TOTALS_ACTIVE (\d+) Value TOTALS_CUMULATIVE (\d+) Start + ^.+#\s+show\s+vpn-sessiondb\s*$$ + ^\s*\-+\s*$$ + ^\s*VPN\s+Session\s+Summary\s*$$ -> VPN_Session_Summary + +VPN_Session_Summary ^\s*\-+\s*$$ - ^\s*VPN\s+Session\s+Summary\s*$$ ^\s*Active\s+:\s+Cumulative\s+:\s+Peak\s+Concur\s+:\s+Inactive\s*$$ - ^\s*AnyConnect\s+Client\s+:\s+${ANYCONNECT_CLIENT_ACTIVE}\s+:\s+${ANYCONNECT_CLIENT_CUMULATIVE}\s+:\s+${ANYCONNECT_CLIENT_PEAK_CONCURRENT}\s+:\s+${ANYCONNECT_CLIENT_INACTIVE}\s*$$ - ^\s*SSL/TLS/DTLS\s+:\s+${SSL_TLS_DTLS_ACTIVE}\s+:\s+${SSL_TLS_DTLS_CUMULATIVE}\s+:\s+${SSL_TLS_DTLS_PEAK_CONCURRENT}\s+:\s+${SSL_TLS_DTLS_PEAK_INACTIVE}\s*$$ - ^\s*Clientless\s+VPN\s+:\s+${CLIENTLESS_VPN_ACTIVE}\s+:\s+${CLIENTLESS_VPN_CUMULATIVE}\s+:\s+${CLIENTLESS_VPN_PEAK_CONCURRENT}\s*$$ - ^\s*Browser\s+:\s+${VPN_BROWSWER_ACTIVE}\s+:\s+${VPN_BROWSWER_CUMULATIVE}\s+:\s+${VPN_BROWSWER_PEAK_CONCURRENT}\s*$$ + ^\s*${VPN_SESSION_NAME}\s+:\s+${VPN_SESSION_ACTIVE}\s+:\s+${VPN_SESSION_CUMULATIVE}\s+:\s+${VPN_SESSION_PEAK_CONCURRENT}\s*(:\s+${VPN_SESSION_INACTIVE}\s*)?$$ ^\s*Total\s+Active\s+and\s+Inactive\s+:\s+${TOTAL_ACTIVE_AND_INACTIVE}\s+Total\s+Cumulative\s+:\s+${TOTAL_CUMULATIVE}\s*$$ ^\s*Device\s+Total\s+VPN\s+Capacity\s+:\s+${DEVICE_TOTAL_VPN_CAPACITY} ^\s*Device\s+Load\s+:\s+${DEVICE_LOAD_PERCENT}%\s*$$ - ^\s*Tunnels\s+Summary\s* + # + ^\s*Tunnels\s+Summary\s* -> Tunnels_Summary + # + ^\s*$$ + ^. -> Error + +Tunnels_Summary + ^\s*\-+\s*$$ ^\s*Active\s+:\s+Cumulative\s+:\s+Peak\s+Concurrent\s*$$ - ^\s*Clientless\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_CLIENTLESS_PEAK_CONCURRENT} - ^\s*AnyConnect\-Parent\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_ANYCONNECT_PARENT_PEAK_CONC}\s*$$ - ^\s*SSL\-Tunnel\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_SSLTUNNEL_PEAK_CONCURRENT}\s*$$ - ^\s*DTLS\-Tunnel\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_DTLSTUNNEL_PEAK_CONCURRENT}\s*$$ + ^\s*${TUNNELS_SUMMARY_NAME}\s+:\s+${TUNNELS_SUMMARY_ACTIVE}\s+:\s+${TUNNELS_SUMMARY_CUMULATIVE}\s+:\s+${TUNNELS_SUMMARY_PEAK_CONCURRENT}\s*$$ ^\s*Totals\s+:\s+${TOTALS_ACTIVE}\s+:\s+${TOTALS_CUMULATIVE}\s*$$ -> Record ^\s*$$ ^. -> Error diff --git a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml index aad928457a..25b4183e42 100644 --- a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml +++ b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb.yml @@ -1,34 +1,53 @@ --- parsed_sample: - - anyconnect_client_active: "38" - anyconnect_client_cumulative: "330351" - anyconnect_client_inactive: "0" - anyconnect_client_peak_concurrent: "442" - ssl_tls_dtls_active: "38" - ssl_tls_dtls_cumulative: "330351" - ssl_tls_dtls_peak_concurrent: "442" - ssl_tls_dtls_peak_inactive: "0" - clientless_vpn_active: "0" - clientless_vpn_cumulative: "1040" - clientless_vpn_peak_concurrent: "9" - vpn_browswer_active: "0" - vpn_browswer_cumulative: "1040" - vpn_browswer_peak_concurrent: "9" + - vpn_session_name: + - "AnyConnect Client" + - "SSL/TLS/DTLS" + - "Clientless VPN" + - "Browser" + vpn_session_active: + - "38" + - "38" + - "0" + - "0" + vpn_session_cumulative: + - "330351" + - "330351" + - "1040" + - "1040" + vpn_session_peak_concurrent: + - "442" + - "442" + - "9" + - "9" + vpn_session_inactive: + - "0" + - "0" + - "None" + - "None" total_active_and_inactive: "38" total_cumulative: "331391" device_total_vpn_capacity: "5000" device_load_percent: "1" - tunnels_summary_clientless_active: "0" - tunnels_summary_clientless_cumulative: "1040" - tunnels_summary_clientless_peak_concurrent: "9" - tunnels_summary_anyconnect_parent_active: "38" - tunnels_summary_anyconnect_parent_cumulative: "330351" - tunnels_summary_anyconnect_parent_peak_conc: "442" - tunnels_summary_ssltunnel_active: "38" - tunnels_summary_ssltunnel_cumulative: "985244" - tunnels_summary_ssltunnel_peak_concurrent: "392" - tunnels_summary_dtlstunnel_active: "37" - tunnels_summary_dtlstunnel_cumulative: "2227003" - tunnels_summary_dtlstunnel_peak_concurrent: "386" + tunnels_summary_name: + - "Clientless" + - "AnyConnect-Parent" + - "SSL-Tunnel" + - "DTLS-Tunnel" + tunnels_summary_active: + - "0" + - "38" + - "38" + - "37" + tunnels_summary_cumulative: + - "1040" + - "330351" + - "985244" + - "2227003" + tunnels_summary_peak_concurrent: + - "9" + - "442" + - "392" + - "386" totals_active: "113" totals_cumulative: "3543638" diff --git a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.raw b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.raw new file mode 100644 index 0000000000..fc55487810 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.raw @@ -0,0 +1,26 @@ +hostname1/pri/act# show vpn-sessiondb +--------------------------------------------------------------------------- +VPN Session Summary +--------------------------------------------------------------------------- + Active : Cumulative : Peak Concur : Inactive + ---------------------------------------------- +Site-to-Site VPN : 99 : 3506999 : 99 + IKEv2 IPsec : 9 : 3999 : 9 + IKEv1 IPsec : 99 : 3502999 : 99 +--------------------------------------------------------------------------- +Total Active and Inactive : 99 Total Cumulative : 3506999 +Device Total VPN Capacity : 750 +Device Load : 2% +--------------------------------------------------------------------------- +--------------------------------------------------------------------------- +Tunnels Summary +--------------------------------------------------------------------------- + Active : Cumulative : Peak Concurrent + ---------------------------------------------- +IKEv1 : 99 : 3502999 : 99 +IKEv2 : 9 : 3999 : 9 +IPsec : 99 : 9302 : 99 +IPsecOverNatT : 9 : 1999 : 9 +--------------------------------------------------------------------------- +Totals : 99 : 351999 +--------------------------------------------------------------------------- diff --git a/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.yml b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.yml new file mode 100644 index 0000000000..63f0cfa743 --- /dev/null +++ b/tests/cisco_asa/show_vpn-sessiondb/cisco_asa_show_vpn-sessiondb2.yml @@ -0,0 +1,48 @@ +--- +parsed_sample: + - vpn_session_name: + - "Site-to-Site VPN" + - "IKEv2 IPsec" + - "IKEv1 IPsec" + vpn_session_active: + - "99" + - "9" + - "99" + vpn_session_cumulative: + - "3506999" + - "3999" + - "3502999" + vpn_session_peak_concurrent: + - "99" + - "9" + - "99" + vpn_session_inactive: + - "None" + - "None" + - "None" + total_active_and_inactive: "99" + total_cumulative: "3506999" + device_total_vpn_capacity: "750" + device_load_percent: "2" + tunnels_summary_name: + - "IKEv1" + - "IKEv2" + - "IPsec" + - "IPsecOverNatT" + tunnels_summary_active: + - "99" + - "9" + - "99" + - "9" + tunnels_summary_cumulative: + - "3502999" + - "3999" + - "9302" + - "1999" + tunnels_summary_peak_concurrent: + - "99" + - "9" + - "99" + - "9" + totals_active: "99" + totals_cumulative: "351999" From 50f76dbe0295133cc19fe98a8c57a7afe119bff3 Mon Sep 17 00:00:00 2001 From: Pieter Date: Fri, 12 Mar 2021 11:40:35 +1300 Subject: [PATCH 564/628] 784-cisco_asa_show_running-config_all_crypto_map.textfsm (#883) --- ...show_running-config_all_crypto_map.textfsm | 31 +++- ...asa_show_running-config_all_crypto_map.yml | 55 ++++-- ...sa_show_running-config_all_crypto_map2.raw | 76 ++++++++ ...sa_show_running-config_all_crypto_map2.yml | 167 ++++++++++++++++++ 4 files changed, 314 insertions(+), 15 deletions(-) create mode 100644 tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.raw create mode 100644 tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.yml diff --git a/templates/cisco_asa_show_running-config_all_crypto_map.textfsm b/templates/cisco_asa_show_running-config_all_crypto_map.textfsm index 744a24cef9..28d1d32501 100644 --- a/templates/cisco_asa_show_running-config_all_crypto_map.textfsm +++ b/templates/cisco_asa_show_running-config_all_crypto_map.textfsm @@ -3,25 +3,48 @@ Value CONNECTION_TYPE (\S+) Value Required MAP (\S+) Value Required SEQ (\d+) Value PFS (group\d|\s*) -Value Required PEER (\S+) +Value PEER (\S+) Value IKEv1_PHASE1_MODE (\S+) Value IKEv1_TRANSFORM_SET (\S+(\s\S+)*?) Value IKEv2_MODE (\S+) Value ISAKMP_DYNAMIC (\S+) Value Fillup INTERFACE (\S+) Value TRANSFORM (\S+) -Value SA (\d+) +Value SA_SEC (\d+) +Value SA_KB (\d+) +Value TFC_PACKETS (\S\S) Start + # Value's address , start of block + ^crypto\smap\s${MAP}\s${SEQ}\smatch\saddress\s${MATCHED_ADDRESS}\s*$$ -> ReadBlockLines + ^. -> Error + +ReadBlockLines + #1 Fake start, block "match address" to trigger recording of current block + ^crypto\s+map\s\S+\s\d+\s+match\s+address\s\S+\s*$$ -> Continue.Record + #1 Real capture of "match address" start of new record ^crypto\smap\s${MAP}\s${SEQ}\smatch\saddress\s${MATCHED_ADDRESS}\s*$$ + # ^crypto\smap\s${MAP}\s${SEQ}\sset\sconnection-type\s${CONNECTION_TYPE}\s*$$ ^crypto\smap\s${MAP}\s${SEQ}\sset\spfs\s${PFS}\s*$$ ^crypto\smap\s${MAP}\s${SEQ}\sset\speer\s${PEER}\s*$$ ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev1\sphase1-mode\s${IKEv1_PHASE1_MODE}\s*$$ ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev1\stransform-set\s${IKEv1_TRANSFORM_SET}\s*$$ ^crypto\smap\s${MAP}\s${SEQ}\sset\sikev2\smode\s${IKEv2_MODE}\s*$$ + # SA Second/Byte alone or in different combinations + ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA_SEC}\s*$$ + ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\skilobytes\s${SA_KB}\s*$$ + ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\skilobytes\s${SA_KB}\sseconds\s${SA_SEC}\s*$$ + ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA_SEC}\skilobytes\s${SA_KB}\s*$$ + #2 Fake start, block "match address" to trigger recording of current block + ^crypto\s+map\s\S+\s\d+\sipsec-isakmp\sdynamic\s${ISAKMP_DYNAMIC}\s*$$ -> Continue.Record + #2 Real capture of "match address" start of new record ^crypto\smap\s${MAP}\s${SEQ}\sipsec-isakmp\sdynamic\s${ISAKMP_DYNAMIC}\s*$$ - ^no\scrypto\smap\s${MAP}\s${SEQ}\sset\stfc-packets\s*$$ -> Record + # + #3 no crypto map only at end of each block, if unset (add -> Record for safety) + ^${TFC_PACKETS}\scrypto\smap\s${MAP}\s${SEQ}\sset\stfc-packets\s*$$ -> Record + #4 Interface only after multiple blocks, FillUp ^crypto\smap\s${MAP}\sinterface\s${INTERFACE}\s*$$ - ^crypto\smap\s\S+\s\d+\sset\ssecurity-association\slifetime\sseconds\s${SA}\s*$$ + # + ^\s*$$ ^. -> Error diff --git a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml index 70f32d90ee..1a15f51c6d 100644 --- a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml +++ b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map.yml @@ -12,7 +12,9 @@ parsed_sample: isakmp_dynamic: "" interface: "WAN1" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU11" connection_type: "bidirectional" map: "WAN1_CMAP" @@ -25,7 +27,9 @@ parsed_sample: isakmp_dynamic: "" interface: "WAN1" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU12" connection_type: "bidirectional" map: "WAN1_CMAP" @@ -38,7 +42,9 @@ parsed_sample: isakmp_dynamic: "" interface: "WAN1" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU17" connection_type: "bidirectional" map: "WAN1_CMAP" @@ -51,7 +57,9 @@ parsed_sample: isakmp_dynamic: "" interface: "WAN1" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_FR_TEST_VPN" connection_type: "bidirectional" map: "WAN1_CMAP" @@ -64,7 +72,24 @@ parsed_sample: isakmp_dynamic: "" interface: "WAN1" transform: "" - sa: "3600" + sa_sec: "3600" + sa_kb: "" + tfc_packets: "no" + - matched_address: "" + connection_type: "" + map: "WAN1_CMAP" + seq: "65535" + pfs: "" + peer: "" + ikev1_phase1_mode: "" + ikev1_transform_set: "" + ikev2_mode: "" + isakmp_dynamic: "SYSTEM_DEFAULT_CRYPTO_MAP" + interface: "WAN1" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "" - matched_address: "CMAP_RU17" connection_type: "bidirectional" map: "S2S_CMAP" @@ -74,10 +99,12 @@ parsed_sample: ikev1_phase1_mode: "main" ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" ikev2_mode: "tunnel" - isakmp_dynamic: "SYSTEM_DEFAULT_CRYPTO_MAP" - interface: "WAN1" + isakmp_dynamic: "" + interface: "S2SVPN" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU12" connection_type: "bidirectional" map: "S2S_CMAP" @@ -90,7 +117,9 @@ parsed_sample: isakmp_dynamic: "" interface: "S2SVPN" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU11" connection_type: "bidirectional" map: "S2S_CMAP" @@ -103,7 +132,9 @@ parsed_sample: isakmp_dynamic: "" interface: "S2SVPN" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" - matched_address: "CMAP_RU16" connection_type: "bidirectional" map: "S2S_CMAP" @@ -116,4 +147,6 @@ parsed_sample: isakmp_dynamic: "" interface: "S2SVPN" transform: "" - sa: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" diff --git a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.raw b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.raw new file mode 100644 index 0000000000..2b08b4bba4 --- /dev/null +++ b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.raw @@ -0,0 +1,76 @@ +crypto map WAN1_CMAP 10 match address CMAP_RU16 +crypto map WAN1_CMAP 10 set connection-type bidirectional +crypto map WAN1_CMAP 10 set peer 192.0.2.1 +crypto map WAN1_CMAP 10 set ikev1 phase1-mode main +crypto map WAN1_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 10 set ikev2 mode tunnel +no crypto map WAN1_CMAP 10 set tfc-packets +crypto map WAN1_CMAP 20 match address CMAP_RU11 +crypto map WAN1_CMAP 20 set connection-type bidirectional +crypto map WAN1_CMAP 20 set peer 192.0.2.2 +crypto map WAN1_CMAP 20 set ikev1 phase1-mode main +crypto map WAN1_CMAP 20 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 20 set ikev2 mode tunnel +crypto map WAN1_CMAP 20 set security-association lifetime seconds 3600 +no crypto map WAN1_CMAP 20 set tfc-packets +crypto map WAN1_CMAP 30 match address CMAP_RU12 +crypto map WAN1_CMAP 30 set connection-type bidirectional +crypto map WAN1_CMAP 30 set peer 192.0.2.3 +crypto map WAN1_CMAP 30 set ikev1 phase1-mode main +crypto map WAN1_CMAP 30 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 30 set ikev2 mode tunnel +crypto map WAN1_CMAP 30 set security-association lifetime kilobytes 100000 +no crypto map WAN1_CMAP 30 set tfc-packets +crypto map WAN1_CMAP 40 match address CMAP_RU17 +crypto map WAN1_CMAP 40 set connection-type bidirectional +crypto map WAN1_CMAP 40 set peer 192.0.2.4 +crypto map WAN1_CMAP 40 set ikev1 phase1-mode main +crypto map WAN1_CMAP 40 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map WAN1_CMAP 40 set ikev2 mode tunnel +crypto map WAN1_CMAP 40 set security-association lifetime kilobytes 100000 seconds 3600 +no crypto map WAN1_CMAP 40 set tfc-packets +crypto map WAN1_CMAP 100 match address CMAP_FR_TEST_VPN +crypto map WAN1_CMAP 100 set pfs group5 +crypto map WAN1_CMAP 100 set connection-type bidirectional +crypto map WAN1_CMAP 100 set peer 192.0.2.5 +crypto map WAN1_CMAP 100 set ikev1 phase1-mode main +crypto map WAN1_CMAP 100 set ikev1 transform-set DES-MD5 +crypto map WAN1_CMAP 100 set ikev2 mode tunnel +crypto map WAN1_CMAP 100 set security-association lifetime seconds 3600 kilobytes 100000 +no crypto map WAN1_CMAP 100 set tfc-packets +crypto map WAN1_CMAP 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP +crypto map WAN1_CMAP interface WAN1 +crypto map S2S_CMAP 10 match address CMAP_RU17 +crypto map S2S_CMAP 10 set connection-type bidirectional +crypto map S2S_CMAP 10 set peer 172.21.251.10 +crypto map S2S_CMAP 10 set ikev1 phase1-mode main +crypto map S2S_CMAP 10 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 10 set ikev2 mode tunnel +no crypto map S2S_CMAP 10 set tfc-packets +crypto map S2S_CMAP 20 match address CMAP_RU12 +crypto map S2S_CMAP 20 set connection-type bidirectional +crypto map S2S_CMAP 20 set peer 172.21.251.26 +crypto map S2S_CMAP 20 set ikev1 phase1-mode main +crypto map S2S_CMAP 20 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 20 set ikev2 mode tunnel +no crypto map S2S_CMAP 20 set tfc-packets +crypto map S2S_CMAP 30 match address CMAP_RU11 +crypto map S2S_CMAP 30 set connection-type bidirectional +crypto map S2S_CMAP 30 set peer 172.21.251.18 +crypto map S2S_CMAP 30 set ikev1 phase1-mode main +crypto map S2S_CMAP 30 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 30 set ikev2 mode tunnel +no crypto map S2S_CMAP 30 set tfc-packets +crypto map S2S_CMAP 40 match address CMAP_RU16 +crypto map S2S_CMAP 40 set connection-type bidirectional +crypto map S2S_CMAP 40 set peer 172.21.251.34 +crypto map S2S_CMAP 40 set ikev1 phase1-mode main +crypto map S2S_CMAP 40 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 40 set ikev2 mode tunnel +no crypto map S2S_CMAP 40 set tfc-packets +crypto map S2S_CMAP 160 match address CMAP_RU16_Access-to-Internet +crypto map S2S_CMAP 160 set connection-type bidirectional +crypto map S2S_CMAP 160 set peer 172.21.251.34 +crypto map S2S_CMAP 160 set ikev1 phase1-mode main +crypto map S2S_CMAP 160 set ikev1 transform-set ESP-AES-256-SHA ESP-AES-192-SHA +crypto map S2S_CMAP 160 set ikev2 mode tunnel diff --git a/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.yml b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.yml new file mode 100644 index 0000000000..467d8061d2 --- /dev/null +++ b/tests/cisco_asa/show_running-config_all_crypto_map/cisco_asa_show_running-config_all_crypto_map2.yml @@ -0,0 +1,167 @@ +--- +parsed_sample: + - matched_address: "CMAP_RU16" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "10" + pfs: "" + peer: "192.0.2.1" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU11" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "20" + pfs: "" + peer: "192.0.2.2" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa_sec: "3600" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU12" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "30" + pfs: "" + peer: "192.0.2.3" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa_sec: "" + sa_kb: "100000" + tfc_packets: "no" + - matched_address: "CMAP_RU17" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "40" + pfs: "" + peer: "192.0.2.4" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa_sec: "3600" + sa_kb: "100000" + tfc_packets: "no" + - matched_address: "CMAP_FR_TEST_VPN" + connection_type: "bidirectional" + map: "WAN1_CMAP" + seq: "100" + pfs: "group5" + peer: "192.0.2.5" + ikev1_phase1_mode: "main" + ikev1_transform_set: "DES-MD5" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "WAN1" + transform: "" + sa_sec: "3600" + sa_kb: "100000" + tfc_packets: "no" + - matched_address: "" + connection_type: "" + map: "WAN1_CMAP" + seq: "65535" + pfs: "" + peer: "" + ikev1_phase1_mode: "" + ikev1_transform_set: "" + ikev2_mode: "" + isakmp_dynamic: "SYSTEM_DEFAULT_CRYPTO_MAP" + interface: "WAN1" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "" + - matched_address: "CMAP_RU17" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "10" + pfs: "" + peer: "172.21.251.10" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU12" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "20" + pfs: "" + peer: "172.21.251.26" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU11" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "30" + pfs: "" + peer: "172.21.251.18" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU16" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "40" + pfs: "" + peer: "172.21.251.34" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "no" + - matched_address: "CMAP_RU16_Access-to-Internet" + connection_type: "bidirectional" + map: "S2S_CMAP" + seq: "160" + pfs: "" + peer: "172.21.251.34" + ikev1_phase1_mode: "main" + ikev1_transform_set: "ESP-AES-256-SHA ESP-AES-192-SHA" + ikev2_mode: "tunnel" + isakmp_dynamic: "" + interface: "" + transform: "" + sa_sec: "" + sa_kb: "" + tfc_packets: "" From a3994004f7dc50ef9774099a0ba8506ee22afd22 Mon Sep 17 00:00:00 2001 From: Pavel_Komissarov Date: Fri, 12 Mar 2021 01:46:50 +0300 Subject: [PATCH 565/628] New Template - cisco_ios_show_object-group (#850) --- templates/cisco_ios_show_object-group.textfsm | 31 ++ templates/index | 1 + .../cisco_ios_show_object-group.raw | 31 ++ .../cisco_ios_show_object-group.yml | 498 ++++++++++++++++++ 4 files changed, 561 insertions(+) create mode 100644 templates/cisco_ios_show_object-group.textfsm create mode 100644 tests/cisco_ios/show_object-group/cisco_ios_show_object-group.raw create mode 100644 tests/cisco_ios/show_object-group/cisco_ios_show_object-group.yml diff --git a/templates/cisco_ios_show_object-group.textfsm b/templates/cisco_ios_show_object-group.textfsm new file mode 100644 index 0000000000..cce83b80fc --- /dev/null +++ b/templates/cisco_ios_show_object-group.textfsm @@ -0,0 +1,31 @@ +Value Required,Filldown TYPE (Service|Network) +Value Required,Filldown NAME (\S+) +Value DESCRIPTION (.+) +Value NESTED_GROUPS (\S+) +Value ANY (any) +Value HOST (\d+\.\d+\.\d+\.\d+) +Value HOST_RANGE_START (\d+\.\d+\.\d+\.\d+) +Value HOST_RANGE_END (\d+\.\d+\.\d+\.\d+) +Value NETWORK (\d+\.\d+\.\d+\.\d+) +Value NETMASK (\d+\.\d+\.\d+\.\d+) +Value PROTOCOL (\S+) +Value PORT_MATCH (eq|neq|range|lt|gt) +Value PORT ((? Continue.Clearall + ^${TYPE}\s+object\s+group\s+${NAME}\s*$$ -> Record + ^\s+Description\s+${DESCRIPTION}$$ -> Record + ^\s+group-object\s+${NESTED_GROUPS}\s*$$ -> Record + ^\s+(host\s+${HOST}|range\s+${HOST_RANGE_START}\s+${HOST_RANGE_END}|${ANY}|${NETWORK}\s+${NETMASK})\s*$$ -> Record + ^\s+icmp\s+${ICMP_TYPE}\s*$$ -> Record + ^\s+${PROTOCOL}\s+${PORT_MATCH}\s+(${PORT_RANGE_START}\s+${PORT_RANGE_END}|${PORT})\s*$$ -> Record + ^\s+${PROTOCOL}\s*$$ -> Record + ^\s*$$ + ^. -> Error + +EOF + diff --git a/templates/index b/templates/index index acfbb5fb2c..b5da6447a8 100644 --- a/templates/index +++ b/templates/index @@ -215,6 +215,7 @@ cisco_ios_show_processes_cpu.textfsm, .*, cisco_ios, sh[[ow]] proc[[esses]] [[cp cisco_ios_show_spanning-tree.textfsm, .*, cisco_ios, sh[[ow]] sp[[anning-tree]] cisco_ios_show_standby_brief.textfsm, .*, cisco_ios, sh[[ow]] standby(?:\s+\S+)? br[[ief]] cisco_ios_show_ip_interface.textfsm, .*, cisco_ios, sh[[ow]] ip int[[erface]] +cisco_ios_show_object-group.textfsm, .*, cisco_ios, sh[[ow]] ob[[ject-group]] cisco_ios_show_power_status.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] cisco_ios_show_access-list.textfsm, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] diff --git a/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.raw b/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.raw new file mode 100644 index 0000000000..f040a55b90 --- /dev/null +++ b/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.raw @@ -0,0 +1,31 @@ +Network object group NNNN +Service object group SSSS +Service object group TEST-SVC-OGR + Description ! Test Service Group ! + icmp echo-reply + tcp eq smtp + udp eq tacacs + udp range tacacs 50 + tcp range 79 www + tcp eq www + tcp eq 81 + udp lt 999 + udp gt 97 + tcp-udp range 12200 12700 + icmp + tcp + udp + tcp-udp range 0 65535 + group-object SSSS + ip + ipinip + 99 +Network object group TEST_NET_OGR + Description ###TEST NETWORK OGR### + any + host 1.1.1.1 + range 2.2.2.2 3.3.3.3 + group-object NNNN + 1.1.1.0 255.255.255.0 +Network object group XXXX +Network object group YYYY diff --git a/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.yml b/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.yml new file mode 100644 index 0000000000..562100bd28 --- /dev/null +++ b/tests/cisco_ios/show_object-group/cisco_ios_show_object-group.yml @@ -0,0 +1,498 @@ +--- +parsed_sample: + - type: "Network" + name: "NNNN" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "SSSS" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "! Test Service Group !" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "echo-reply" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp" + port_match: "eq" + port: "smtp" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "udp" + port_match: "eq" + port: "tacacs" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "udp" + port_match: "range" + port: "" + port_range_start: "tacacs" + port_range_end: "50" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp" + port_match: "range" + port: "" + port_range_start: "79" + port_range_end: "www" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp" + port_match: "eq" + port: "www" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp" + port_match: "eq" + port: "81" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "udp" + port_match: "lt" + port: "999" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "udp" + port_match: "gt" + port: "97" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp-udp" + port_match: "range" + port: "" + port_range_start: "12200" + port_range_end: "12700" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "icmp" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "udp" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "tcp-udp" + port_match: "range" + port: "" + port_range_start: "0" + port_range_end: "65535" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "SSSS" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "ip" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "ipinip" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Service" + name: "TEST-SVC-OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "99" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "###TEST NETWORK OGR###" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "" + any: "any" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "" + any: "" + host: "1.1.1.1" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "2.2.2.2" + host_range_end: "3.3.3.3" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "NNNN" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "TEST_NET_OGR" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "1.1.1.0" + netmask: "255.255.255.0" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "XXXX" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" + - type: "Network" + name: "YYYY" + description: "" + nested_groups: "" + any: "" + host: "" + host_range_start: "" + host_range_end: "" + network: "" + netmask: "" + protocol: "" + port_match: "" + port: "" + port_range_start: "" + port_range_end: "" + icmp_type: "" From 6573ef2f88362b8f5a81f53500b0ce86f23ab254 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Thu, 11 Mar 2021 16:23:31 -0700 Subject: [PATCH 566/628] new alcatel_sros tmpl, 'show service sdp' (#886) --- .../alcatel_sros_show_service_sdp.textfsm | 27 +++++++++ templates/index | 1 + .../alcatel_sros_show_service_sdp.raw | 18 ++++++ .../alcatel_sros_show_service_sdp.yml | 56 +++++++++++++++++++ 4 files changed, 102 insertions(+) create mode 100644 templates/alcatel_sros_show_service_sdp.textfsm create mode 100644 tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.raw create mode 100644 tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.yml diff --git a/templates/alcatel_sros_show_service_sdp.textfsm b/templates/alcatel_sros_show_service_sdp.textfsm new file mode 100644 index 0000000000..6e9f4a14ba --- /dev/null +++ b/templates/alcatel_sros_show_service_sdp.textfsm @@ -0,0 +1,27 @@ +Value Required SDP_ID (\d+) +Value Required ADM_MTU (\d+) +Value Required OPR_MTU (\d+) +Value FAR_END (\d+.\d+.\d+.\d+) +Value Required ADM (Up|Down) +Value Required OPR (Up|Down) +Value Required DEL (\S+) +Value Required LSP (\S+) +Value Required SIG (\S+) + +Start + ^=+ + ^Services: + ^SdpId\s+AdmMTU\s+OprMTU\s+Far\s+End\s+Adm\s+Opr\s+Del\s+LSP\s+Sig\s*$$ + ^-+ -> SDP + ^\s*$$ + ^. -> Error + +SDP + ^${SDP_ID}\s+${ADM_MTU}\s+${OPR_MTU}\s+${FAR_END}\s+${ADM}\s+${OPR}\s+${DEL}\s+${LSP}\s+${SIG} -> Record + ^${SDP_ID}\s+${ADM_MTU}\s+${OPR_MTU}\s+${ADM}\s+${OPR}\s+${DEL}\s+${LSP}\s+${SIG} -> Record + ^-+ -> Done + ^\s*$$ + ^=+ + ^. -> Error + +Done diff --git a/templates/index b/templates/index index b5da6447a8..7702ffcaac 100644 --- a/templates/index +++ b/templates/index @@ -21,6 +21,7 @@ alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] rout alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] +alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] alcatel_sros_show_port.textfsm, .*, alcatel_sros, show port alcatel_sros_show_lag.textfsm, .*, alcatel_sros, show lag diff --git a/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.raw b/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.raw new file mode 100644 index 0000000000..3247d43e1a --- /dev/null +++ b/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.raw @@ -0,0 +1,18 @@ + +============================================================================ +Services: Service Destination Points +============================================================================ +SdpId AdmMTU OprMTU Far End Adm Opr Del LSP Sig +---------------------------------------------------------------------------- +1 0 9170 192.168.0.1 Down Down GRE n/a TLDP +31 0 0 10.10.10.1 Up Down MPLS R TLDP +32 0 0 10.10.10.2 Up Down MPLS R TLDP +34 0 0 10.10.10.4 Up Down MPLS R TLDP +38 0 492 10.10.10.8 Up Down MPLS R TLDP +2000 0 0 Down Down GRE n/a TLDP +---------------------------------------------------------------------------- +Number of SDPs : 6 +---------------------------------------------------------------------------- +Legend: R = RSVP, L = LDP, B = BGP, M = MPLS-TP, n/a = Not Applicable + I = SR-ISIS, O = SR-OSPF, T = SR-TE, F = FPE +============================================================================ diff --git a/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.yml b/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.yml new file mode 100644 index 0000000000..4ef283871d --- /dev/null +++ b/tests/alcatel_sros/show_service_sdp/alcatel_sros_show_service_sdp.yml @@ -0,0 +1,56 @@ +--- +parsed_sample: + - adm: "Down" + adm_mtu: "0" + del: "GRE" + far_end: "192.168.0.1" + lsp: "n/a" + opr: "Down" + opr_mtu: "9170" + sdp_id: "1" + sig: "TLDP" + - adm: "Up" + adm_mtu: "0" + del: "MPLS" + far_end: "10.10.10.1" + lsp: "R" + opr: "Down" + opr_mtu: "0" + sdp_id: "31" + sig: "TLDP" + - adm: "Up" + adm_mtu: "0" + del: "MPLS" + far_end: "10.10.10.2" + lsp: "R" + opr: "Down" + opr_mtu: "0" + sdp_id: "32" + sig: "TLDP" + - adm: "Up" + adm_mtu: "0" + del: "MPLS" + far_end: "10.10.10.4" + lsp: "R" + opr: "Down" + opr_mtu: "0" + sdp_id: "34" + sig: "TLDP" + - adm: "Up" + adm_mtu: "0" + del: "MPLS" + far_end: "10.10.10.8" + lsp: "R" + opr: "Down" + opr_mtu: "492" + sdp_id: "38" + sig: "TLDP" + - adm: "Down" + adm_mtu: "0" + del: "GRE" + far_end: "" + lsp: "n/a" + opr: "Down" + opr_mtu: "0" + sdp_id: "2000" + sig: "TLDP" From 3f13282c61897debe06a4410c1d8bb03432925ac Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Thu, 11 Mar 2021 16:24:53 -0700 Subject: [PATCH 567/628] New Template: alcatel_sros_show_router_rsvp_interface (#884) --- ...el_sros_show_router_rsvp_interface.textfsm | 26 ++++++++++++++++ templates/index | 1 + .../show_router_rsvp_interface.raw | 13 ++++++++ .../show_router_rsvp_interface.yml | 30 +++++++++++++++++++ 4 files changed, 70 insertions(+) create mode 100644 templates/alcatel_sros_show_router_rsvp_interface.textfsm create mode 100644 tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.raw create mode 100644 tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.yml diff --git a/templates/alcatel_sros_show_router_rsvp_interface.textfsm b/templates/alcatel_sros_show_router_rsvp_interface.textfsm new file mode 100644 index 0000000000..3c1f7f0e0a --- /dev/null +++ b/templates/alcatel_sros_show_router_rsvp_interface.textfsm @@ -0,0 +1,26 @@ +Value Required INTERFACE (\S+) +Value Required TOTAL_SESSIONS (\d+|-) +Value Required ACTIVE_SESSIONS (\d+|-) +Value Required TOTAL_BW (\d+|-) +Value Required RESV_BW (\d+|-) +Value Required ADMIN_STATE (Up|Dwn|Down) +Value Required OPER_STATE (Up|Dwn|Down) + +Start + ^=+ + ^RSVP\s+Interfaces + ^Interface\s+Total\s+Active\s+Total\s+BW\s+Resv\s+BW\s+Adm\s+Opr\s*$$ + ^\s+Sessions\s+Sessions\s+\(Mbps\)\s+\(Mbps\) + ^-+ -> Interface + ^\s*$$ + ^. -> Error + +Interface + ^${INTERFACE}\s*${TOTAL_SESSIONS}\s*${ACTIVE_SESSIONS}\s*${TOTAL_BW}\s*${RESV_BW}\s*${ADMIN_STATE}\s*${OPER_STATE} -> Record + ^Interfaces + ^=+ + ^-+ -> Done + ^\s*$$ + ^. -> Error + +Done diff --git a/templates/index b/templates/index index 7702ffcaac..631375838b 100644 --- a/templates/index +++ b/templates/index @@ -18,6 +18,7 @@ alcatel_sros_show_router_bgp_summary_family.textfsm, .*, alcatel_sros, sh[[ow]] alcatel_sros_show_router_isis_adjacency.textfsm, .*, alcatel_sros, sh[[ow]] router isis adj[[acency]] alcatel_sros_show_router_isis_interface.textfsm, .*, alcatel_sros, sh[[ow]] router isis int[[erface]] alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] router mpls int[[erface]] +alcatel_sros_show_router_rsvp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router rsvp int[[erface]] alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] diff --git a/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.raw b/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.raw new file mode 100644 index 0000000000..4b02d3d53a --- /dev/null +++ b/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.raw @@ -0,0 +1,13 @@ +=============================================================================== +RSVP Interfaces +=============================================================================== +Interface Total Active Total BW Resv BW Adm Opr + Sessions Sessions (Mbps) (Mbps) +------------------------------------------------------------------------------- +system - - - - Up Up +TO_IOSXR 0 0 10000 0 Dwn Dwn +TO_R1 0 0 10000 0 Up Up +TO_R4 0 0 10000 0 Up Up +------------------------------------------------------------------------------- +Interfaces : 4 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.yml b/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.yml new file mode 100644 index 0000000000..e50ff2c2b6 --- /dev/null +++ b/tests/alcatel_sros/show_router_rsvp_interface/show_router_rsvp_interface.yml @@ -0,0 +1,30 @@ +--- +parsed_sample: + - active_sessions: "-" + admin_state: "Up" + interface: "system" + oper_state: "Up" + resv_bw: "-" + total_bw: "-" + total_sessions: "-" + - active_sessions: "0" + admin_state: "Dwn" + interface: "TO_IOSXR" + oper_state: "Dwn" + resv_bw: "0" + total_bw: "10000" + total_sessions: "0" + - active_sessions: "0" + admin_state: "Up" + interface: "TO_R1" + oper_state: "Up" + resv_bw: "0" + total_bw: "10000" + total_sessions: "0" + - active_sessions: "0" + admin_state: "Up" + interface: "TO_R4" + oper_state: "Up" + resv_bw: "0" + total_bw: "10000" + total_sessions: "0" From 78caab7ec7d4798bb88625bc872ef9de465a63e4 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Thu, 11 Mar 2021 20:33:14 -0500 Subject: [PATCH 568/628] Release v1.7.0 (#889) --- CHANGELOG | 334 ++++++++++------------------------ lib/ntc_templates/__init__.py | 2 +- 2 files changed, 94 insertions(+), 242 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 0c81a253eb..1273e01a5a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,8 +1,87 @@ # Changelog -## [1.6.0](https://github.com/networktocode/ntc-templates/tree/1.6.0) (2020-10-02) +## [1.7.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2021-03-11) -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.5.0...1.6.0) +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.6.0...1.7.0) + +**Implemented enhancements:** + +- Potential naming inconsistencies between ntc-templates and netmiko for fortinet devices [\#534](https://github.com/networktocode/ntc-templates/issues/534) + +**Closed issues:** + +- arista\_eos\_show\_interfaces incomplete [\#887](https://github.com/networktocode/ntc-templates/issues/887) +- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#871](https://github.com/networktocode/ntc-templates/issues/871) +- cisco\_nxos\_show\_ip\_route errors out on Route Not Found [\#869](https://github.com/networktocode/ntc-templates/issues/869) +- cisco\_ios\_show\_interfaces\_description.textfsm fails to parse [\#866](https://github.com/networktocode/ntc-templates/issues/866) +- Having trouble with textfsm [\#858](https://github.com/networktocode/ntc-templates/issues/858) +- cisco\_nxos\_show\_ip\_arp\_detail.textfsm fails to parse Age field \(Age results are of form 00:14:15 AND 0.732312\) [\#851](https://github.com/networktocode/ntc-templates/issues/851) +- arista\_eos\_show\_interfaces\_status parse failures [\#834](https://github.com/networktocode/ntc-templates/issues/834) +- cisco\_ios\_show\_mac-address-table support for pvlans [\#830](https://github.com/networktocode/ntc-templates/issues/830) +- Don’t work when parse output of “show fc zone” for Dell s5000 [\#825](https://github.com/networktocode/ntc-templates/issues/825) +- update nxos show interface to capture discards [\#819](https://github.com/networktocode/ntc-templates/issues/819) +- change key names to match ios template [\#816](https://github.com/networktocode/ntc-templates/issues/816) +- cisco\_nxos\_show\_environment return an empty list [\#790](https://github.com/networktocode/ntc-templates/issues/790) +- cisco show sip-ua register status [\#787](https://github.com/networktocode/ntc-templates/issues/787) +- Issue with cisco\_ios\_show\_vrf.textfsm template [\#786](https://github.com/networktocode/ntc-templates/issues/786) +- version of OS can differ o/p, how to handle such cases [\#782](https://github.com/networktocode/ntc-templates/issues/782) +- NXSOS SHOW\_INVENTORY ALL [\#778](https://github.com/networktocode/ntc-templates/issues/778) +- ISSUE with show bgp neighboor template IOS XR [\#746](https://github.com/networktocode/ntc-templates/issues/746) + +**Merged pull requests:** + +- new alcatel\_sros tmpl, 'show service sdp' [\#886](https://github.com/networktocode/ntc-templates/pull/886) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: alcatel\_sros\_show\_router\_rsvp\_interface [\#884](https://github.com/networktocode/ntc-templates/pull/884) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- \#784-cisco\_asa\_show\_running-config\_all\_crypto\_map.textfsm [\#883](https://github.com/networktocode/ntc-templates/pull/883) ([diepes](https://github.com/diepes)) +- New template: cisco\_ios\_show\_alert\_counters.textfsm [\#881](https://github.com/networktocode/ntc-templates/pull/881) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: Media type update for cisco\_ios\_show\_interfaces [\#879](https://github.com/networktocode/ntc-templates/pull/879) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- new sros template [\#877](https://github.com/networktocode/ntc-templates/pull/877) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#872](https://github.com/networktocode/ntc-templates/pull/872) ([progala](https://github.com/progala)) +- Fixs \#869 cisco nxos show ip route not found [\#870](https://github.com/networktocode/ntc-templates/pull/870) ([diepes](https://github.com/diepes)) +- Fix readme [\#868](https://github.com/networktocode/ntc-templates/pull/868) ([jeffkala](https://github.com/jeffkala)) +- add test security-policy-match to palo alto [\#867](https://github.com/networktocode/ntc-templates/pull/867) ([jeffkala](https://github.com/jeffkala)) +- New template: yamaha [\#865](https://github.com/networktocode/ntc-templates/pull/865) ([akira6592](https://github.com/akira6592)) +- Add Environment Variable Option for Custom Template Location [\#863](https://github.com/networktocode/ntc-templates/pull/863) ([jeffkala](https://github.com/jeffkala)) +- New Template: hp\_procurve\_show\_port-security [\#862](https://github.com/networktocode/ntc-templates/pull/862) ([adraf82](https://github.com/adraf82)) +- Adding in/out route-map parsing to cisco ios show ip bgp nei template [\#861](https://github.com/networktocode/ntc-templates/pull/861) ([nnaukwal](https://github.com/nnaukwal)) +- Fortinet updates [\#860](https://github.com/networktocode/ntc-templates/pull/860) ([refriedjello](https://github.com/refriedjello)) +- Fixes \#851 and add new template [\#857](https://github.com/networktocode/ntc-templates/pull/857) ([diepes](https://github.com/diepes)) +- New Templates: Cisco IOS show vrrp brief and all [\#856](https://github.com/networktocode/ntc-templates/pull/856) ([mjbear](https://github.com/mjbear)) +- Adding new templates for show \(radius|tacacs\) summary output [\#855](https://github.com/networktocode/ntc-templates/pull/855) ([mjbear](https://github.com/mjbear)) +- New Template: Cisco WLC show port summary and show stats port summary [\#854](https://github.com/networktocode/ntc-templates/pull/854) ([mjbear](https://github.com/mjbear)) +- New Template: Cisco WLC show time \(for time and NTP information\) [\#853](https://github.com/networktocode/ntc-templates/pull/853) ([mjbear](https://github.com/mjbear)) +- New Template - cisco\_ios\_show\_object-group [\#850](https://github.com/networktocode/ntc-templates/pull/850) ([pkomissarov](https://github.com/pkomissarov)) +- cisco\_nxos\_show\_ip\_bgp\_summary\_vrf update to support 32-bits ASN outputs [\#849](https://github.com/networktocode/ntc-templates/pull/849) ([burningnode](https://github.com/burningnode)) +- New Template: Cisco WLC show mobility anchor [\#847](https://github.com/networktocode/ntc-templates/pull/847) ([mjbear](https://github.com/mjbear)) +- New Template: Cisco WLC show redundancy summary and detail [\#846](https://github.com/networktocode/ntc-templates/pull/846) ([mjbear](https://github.com/mjbear)) +- Fixes \#773 CiscoASA-show\_vpn-sessiondb\_SW\_update [\#845](https://github.com/networktocode/ntc-templates/pull/845) ([diepes](https://github.com/diepes)) +- Fixes\#811 arista eos show ip route [\#843](https://github.com/networktocode/ntc-templates/pull/843) ([diepes](https://github.com/diepes)) +- updated template and added test file [\#842](https://github.com/networktocode/ntc-templates/pull/842) ([adraf82](https://github.com/adraf82)) +- Fix\#784 new: cisco asa show running all cryprom map [\#840](https://github.com/networktocode/ntc-templates/pull/840) ([diepes](https://github.com/diepes)) +- Fix\#788 ios show int fc [\#839](https://github.com/networktocode/ntc-templates/pull/839) ([diepes](https://github.com/diepes)) +- Fixes \#790 - new template cisco\_nxos\_show\_environment.textfsm [\#838](https://github.com/networktocode/ntc-templates/pull/838) ([diepes](https://github.com/diepes)) +- Add codeowners file [\#837](https://github.com/networktocode/ntc-templates/pull/837) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancment: EOS show int status - account for LAG members [\#835](https://github.com/networktocode/ntc-templates/pull/835) ([jmcgill298](https://github.com/jmcgill298)) +- update Cisco IOS show tacacs template to support parsing of server name in newer configurations [\#833](https://github.com/networktocode/ntc-templates/pull/833) ([anirudhkamath](https://github.com/anirudhkamath)) +- added fortinet get system arp [\#832](https://github.com/networktocode/ntc-templates/pull/832) ([wmclendon](https://github.com/wmclendon)) +- Enhancement: Change fortinet\_fortios to fortinet per Netmiko [\#831](https://github.com/networktocode/ntc-templates/pull/831) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: hp\_procurve\_show\_interfaces\_brief.textfsm [\#829](https://github.com/networktocode/ntc-templates/pull/829) ([adraf82](https://github.com/adraf82)) +- New template: Vyatta/VyOS BGP summary [\#828](https://github.com/networktocode/ntc-templates/pull/828) ([jpbede](https://github.com/jpbede)) +- New template: dell\_powerconnect [\#827](https://github.com/networktocode/ntc-templates/pull/827) ([nidebr](https://github.com/nidebr)) +- Some sros commands [\#824](https://github.com/networktocode/ntc-templates/pull/824) ([kvlangenhove](https://github.com/kvlangenhove)) +- updated hp\_procurve\_show\_interfaces template for backward compatibility [\#823](https://github.com/networktocode/ntc-templates/pull/823) ([adraf82](https://github.com/adraf82)) +- New template: arista\_eos\_show\_interfaces\_description [\#822](https://github.com/networktocode/ntc-templates/pull/822) ([rich-day](https://github.com/rich-day)) +- Bugfix: issues with cisco\_nxos\_show\_ip\_dhcp\_relay\_address [\#821](https://github.com/networktocode/ntc-templates/pull/821) ([wvandeun](https://github.com/wvandeun)) +- Bugfix: URL ACL property in cisco\_wlc\_ssh\_show\_interface\_detailed [\#820](https://github.com/networktocode/ntc-templates/pull/820) ([wvandeun](https://github.com/wvandeun)) +- Bugfix: added 'Autostate exclude' to avoid error [\#818](https://github.com/networktocode/ntc-templates/pull/818) ([abaretta](https://github.com/abaretta)) +- fix unconfigured DHCP issue in cisco\_wlc\_ssh\_show\_interface\_detailed [\#817](https://github.com/networktocode/ntc-templates/pull/817) ([wvandeun](https://github.com/wvandeun)) +- cisco\_nxos show version - extract serial from "Processor board ID" [\#813](https://github.com/networktocode/ntc-templates/pull/813) ([diepes](https://github.com/diepes)) +- Bugfix: cisco ios show ip access-list [\#809](https://github.com/networktocode/ntc-templates/pull/809) ([jpobeda](https://github.com/jpobeda)) +- Bugfix: IOS show lldp neig - fix neighbor name with spaces [\#799](https://github.com/networktocode/ntc-templates/pull/799) ([realvitya](https://github.com/realvitya)) + +## [v1.6.0](https://github.com/networktocode/ntc-templates/tree/v1.6.0) (2020-10-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.5.0...v1.6.0) **Implemented enhancements:** @@ -16,16 +95,23 @@ - TXTFSM will not process template even though Regex checker says line is acceptable for ciena SAOS [\#779](https://github.com/networktocode/ntc-templates/issues/779) - cisco\_nxos\_show\_ip\_bgp\_summary.textfsm doesn't account for dual line bgp when output is too wide [\#766](https://github.com/networktocode/ntc-templates/issues/766) - arista eos show mac address-table is choking on case sensitivity on line Total Mac Addresses for this criterion: 0 [\#764](https://github.com/networktocode/ntc-templates/issues/764) -- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) **Merged pull requests:** +- Bugfix: ASA show interface - missing case handled for no values for duplex & speed [\#815](https://github.com/networktocode/ntc-templates/pull/815) ([starlightdreamer](https://github.com/starlightdreamer)) +- Linux arp a [\#814](https://github.com/networktocode/ntc-templates/pull/814) ([jifox](https://github.com/jifox)) +- add template and tests for cisco\_wlc\_ssh\_show\_interface\_detailed [\#812](https://github.com/networktocode/ntc-templates/pull/812) ([wvandeun](https://github.com/wvandeun)) +- fix issue in cisco\_wlc\_ssh\_show\_interface\_summary template [\#810](https://github.com/networktocode/ntc-templates/pull/810) ([wvandeun](https://github.com/wvandeun)) +- Bugfix: cisco\_ios\_show\_running\_partition\_access\_list [\#808](https://github.com/networktocode/ntc-templates/pull/808) ([jpobeda](https://github.com/jpobeda)) +- Release 1.6.0 [\#807](https://github.com/networktocode/ntc-templates/pull/807) ([jmcgill298](https://github.com/jmcgill298)) - changes tests to import from lib [\#806](https://github.com/networktocode/ntc-templates/pull/806) ([jmcgill298](https://github.com/jmcgill298)) - modify for show inventory all. [\#804](https://github.com/networktocode/ntc-templates/pull/804) ([yshu95](https://github.com/yshu95)) - Change TextFSM Windows failure to a runtime failure \(instead of an import failure\) [\#803](https://github.com/networktocode/ntc-templates/pull/803) ([ktbyers](https://github.com/ktbyers)) - Added juniper\_junos\_show\_lldp\_neighbors [\#797](https://github.com/networktocode/ntc-templates/pull/797) ([qduk](https://github.com/qduk)) +- New Template - hp\_procurve\_show\_interfaces [\#796](https://github.com/networktocode/ntc-templates/pull/796) ([adraf82](https://github.com/adraf82)) - Bugfix: Re-formatted development\_scripts.py and tests/test\_testcases\_… [\#795](https://github.com/networktocode/ntc-templates/pull/795) ([mjuenema](https://github.com/mjuenema)) - Fix typos in README.md [\#792](https://github.com/networktocode/ntc-templates/pull/792) ([epryan](https://github.com/epryan)) +- update arista\_eos\_show\_inventory [\#791](https://github.com/networktocode/ntc-templates/pull/791) ([yshu95](https://github.com/yshu95)) - Detect hostname on NX-OS platforms [\#789](https://github.com/networktocode/ntc-templates/pull/789) ([Yakuza-UA](https://github.com/Yakuza-UA)) - Cisco ASA show access-list command templates update. [\#783](https://github.com/networktocode/ntc-templates/pull/783) ([HideoYukutake](https://github.com/HideoYukutake)) - Updates to include capture on single word, no number model number [\#781](https://github.com/networktocode/ntc-templates/pull/781) ([jvanderaa](https://github.com/jvanderaa)) @@ -38,9 +124,9 @@ - New Template: cisco\_nxos\_show\_interface\_description [\#758](https://github.com/networktocode/ntc-templates/pull/758) ([network-dave](https://github.com/network-dave)) - Fixes \#716 [\#753](https://github.com/networktocode/ntc-templates/pull/753) ([itdependsnetworks](https://github.com/itdependsnetworks)) -## [1.5.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2020-06-14) +## [v1.5.0](https://github.com/networktocode/ntc-templates/tree/v1.5.0) (2020-06-15) -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.2...1.5.0) +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.2...v1.5.0) **Implemented enhancements:** @@ -67,6 +153,7 @@ **Merged pull requests:** +- Bumping to version 1.5.0 [\#763](https://github.com/networktocode/ntc-templates/pull/763) ([FragmentedPacket](https://github.com/FragmentedPacket)) - Arista eos show port channel summary [\#757](https://github.com/networktocode/ntc-templates/pull/757) ([JoeyG1973](https://github.com/JoeyG1973)) - Arista eos show mac address table [\#756](https://github.com/networktocode/ntc-templates/pull/756) ([JoeyG1973](https://github.com/JoeyG1973)) - Template correction for broadcom\_icos\_show\_mac-address-table [\#754](https://github.com/networktocode/ntc-templates/pull/754) ([alepodj](https://github.com/alepodj)) @@ -86,241 +173,6 @@ - New Template for Cisco NX-OS: show forwarding adjacency [\#722](https://github.com/networktocode/ntc-templates/pull/722) ([Yakuza-UA](https://github.com/Yakuza-UA)) - BugFix: cisco\_ios\_show\_interfaces\_switchport: Made trunking\_vlans a list, and changed regex [\#671](https://github.com/networktocode/ntc-templates/pull/671) ([FragmentedPacket](https://github.com/FragmentedPacket)) -## [1.4.2](https://github.com/networktocode/ntc-templates/tree/1.4.2) (2020-05-25) - -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...1.4.2) - -**Fixed bugs:** - -- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) -- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) -- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) - -**Closed issues:** - -- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) -- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) -- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) -- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) -- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) -- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) -- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) -- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) -- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) -- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) -- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) -- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) - -**Merged pull requests:** - -- IOS: Allow deleted STATUS in show interfaces description [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) -- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) -- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) -- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) -- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) -- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) -- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) -- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) -- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) -- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) -- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) -- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) -- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) -- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) -- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) -- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) -- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) -- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) - -## [1.4.1] -### Fixed -- [#617] - IOS show ip ospf database router: Removed reliance on static spacing -- [#620] - NXOS show fex: Allow spaces in descriptions -- [#621] - Juniper show arp, etc.: Account for virtual chassis output (`{master:0}`) -- [#626] - ASA show vpn-sessiondb anyconnect: Require index, capture different format style -- [#650] - IOS show ip ospf database network: Change to allow one or more whitespace at the beginning of the line rather than 1 or more due to different output -- [#647] - ASA show route: Allow multiline route statements -- [#659] - IOS show mac address-table: Allow VLAN to be non-whitespace to allow N/A as an option - -### Added -- [#618] - IOS show ip ospf database network: New template -- [#619] - HP Comware display lldp neighbor information verbose: New template -- [#625] - ASA show vpn-sessiondb anyconnect: New template -- [#628] - Cisco WLC show mobility sum: New template -- [#631] - ASA show vpn-sessiondb anyconnect: Account for new data for assigned/public IP, group policy, and tunnel group -- [#629] - ASA show crypto ipsec sa - Add LOCAL_ADDRESS_NAME, CURRENT_PEER_NAME, DYNAMIC_PEER_NAME, LOCAL_CRYPTO_ENDPOINT_NAME, REMOTE_CRYPTO_ENDPOINT_NAME -- [#632] - ASA show nat: Added SERVICE_PROTOCOL -- [#635] - IOS show ip route summary: New template -- [#636] - ASA show vpn-sessiondb: New template -- [#638] - ASA show inventory: Capture PID and VID withoout serial -- [#637] - Cisco WLC show band select: New template - -## [1.4.0] -### Fixed -- [#548] IOS show mac address-table: Account for Total Mac Addresses -- [#565] IOS show license: Avoid trailing spaces for features -- [#575] NXOS show version: Match N5K PLATFORM & LAST_REBOOT captures split words -- [#574] ASA show failover: Account for new output (IPS) -- [#577] IOS show mac address-table: Account for Multicast Entries -- [#582] NXOS show interface transceiver: Remove requirement for TYPE -- [#585] IOS show mac address-table: Fixed ordering for TYPE2 -- [#587] IOS show interfaces switchport: Account for Vepa Enabled and Operational Dot1q Ethertype -- [#584] IOS show switch detail: Account for Mac persistency wait time -- [#589] EOS show ip route: Filldown for DISTANCE and METRIC - Added new data formats for VRF and NEXT_HOP and INTERFACE -- [#592] Fortinet get router info bgp summary: Account for more data, fix UP_DOWN regex from word to non-whitespace -- [#603] IOS show ip access-list: Update PROTOCOL to capture numbered protocols -- [610] Aruba os show arp: Fix tests to have the full output from the command and device -- [#608] Vyatta VyOS show interfaces: Capture IP_ADDRESS with or without netmask -- [#614] IOS show interfaces status: Remove reliance on whitespaces -### Added -- [#406] Testing: Add yamllint to test suite -- [#407] Testing: Add python black to test suite -- [#553] IOS show lldp neighbors: Added CAPABILITIES capture group -- [#554] IOS show logging: New template -- [#563] IOS show interfaces switchport: Added ADMIN_MDOE capture group -- [#562] ASA show logging: New template -- [#564] NXOS show interface transceiver: New template -- [#567] XR show arp: New template -- [#572] IOS show lldp neighbors detail: Added SERIAL capture group -- [#573] ASA show arp: New template -- [#578] Fortinet get system interface: New template -- [#576] Huawei VRP display lldp neighbor: New template -- [#581] Cisco WLC show vlan sum: New template -- [#580] XR show interfaces summary: New template -- [#590] IOS show ip bgp neighbors: New template -- [#591] NXOS show vdc: New template -- [#595] Checkpoint GAIA show arp dynamic all: New template -- [#593] IOS show module: New template -- [#597] Huwai VRP display version: New template -- [#602] NXOS show vrf interface: New template -- [#598] IOS show running-config partition access list: Added TCP_FLAG capture group -- [#598] IOS show running-config partition access list: Convert COMMENT to list -- [#598] IOS show running-config partition access list: Update PROTOCOL to include numbered protocols -- [#596] XR admin show environment power: New template -- [#594] Aruba os show arp: New template -- [#605] SG300 show version: New template -- [#604] NXOS show vlan: Added INTERFACES capture group, Require VLAN_ID -- [#600] IOS show mpls interfaces: New template -- [#599] IOS show etherchannel summary: New template -- [#611] NXOS show interface: Added MODE capture group -- [#612] NXOS show interfaces switchport: Added ACCESS_VLAN_NAME and NATIVE_VLAN_NAME capture groups -- [#609] HP Comware display ip interface: New template -- [#606] IOS show ip ospf database router: New template -### Changed -- [#406] Helpers: Added development_helpers cli utility to replace existing helpers -### Deprecated -### Removed - -## [1.3.0] -### Fixed -- [#401] ASA show route: Fix `UPTIME` to account for additional output formats -- [#445] IOS show ip eigrp topology: Fix `FD` to allow value to be "Inaccessible" -- [#465] ASA show failover: Add line to match FirePOWER module -- [#466] PAN show arp: Fix `MAC` capture group to account for entries that are "incomplete" -- [#471] Procurve show arp: Fix `IP` capture group to account for IP Adresses that are "Incomplete" -- [#471] Procurve show arp: Fix `PORT` capture group to account for interfaces that contain more than just digits -- [#474] IOS show ip mroute: Fix `Value UP_TIME`, `EXPIRATION_TIME`, `OUTGOING_MULTICAST_UP_TIME (\S+)`, and `OUTGOING_MULTICAST_EXPIRATION_TIME` to account for additional time formats -- [#479] NXOS show interface brief: Fix capturing `MODE` values of "pvlan" and "fabric" -- [#480] IOS show cdp neighbors: Allow for table data to have leading spaces but not require it -- [#485] IOS show mac-address-table: Allow for table data to have leading spaces but not require it (VLAN IDs are left adjusted so VLANs from 1000 on do not have a leading space) -- [#487] IOS show authentication sessions: Add match for lines separating output with a "-" in order to avoid capturing them as part of normal table data -- [#488] EOS show interfaces status: Fix `NAME` and `STATUS` capture groups to support disabled interfaces -- [#494] IOS show ip interface: Add matches for additional output lines -- [#495] IOS show ip interface: Add matches for additional output lines -- [#497] ASA show version: Fix `MAX_INTF` capture group to account for `Unlimited` -- [#497] ASA show version: Fix `HARDWARE` capture group to account for trailing commas -- [#499] ASA show inventory: Add matches for additional output lines -- [#503] IOS show standby: Fix output that spread across two lines -- [#505] NXOS show ip bgp neighbors: Fix matching entries accurately when neighbors are in a "down" state; move to `Continue.Record` to record on new entries instead of "last expected line" of output data -- [#516] IOS show ip interface: Add matches for additional output lines -- [#517] EOS show ip bgp summary: Fix capturing entries with more explicit match line -- [#519] XR show version - Fix `VERSION`, `UPTIME`, and `HARDWARE` to account for CRS syntax -- [#525] IOS: Added matches for vty timestamp lines -- [#532] IOS show snmp user: Fix capture groups to support all non-whitespace characters (e.g. "-" in string values) -- [#538] IOS show interfaces switchport: Added matches for additional output lines -### Added -- [#378] XR show ip route: Added `VRF` capture group -- [#391] WLC show client detail: Added new template -- [#419] ASA dir: Added `TOTAL_PERCENT_FREE` capture group for capturing percentage of bytes free -- [#425] WLC show exclusionlist: Added new template -- [#445] IOS show ip eigrp topology: Added `SOURCE` capture group -- [#446] ASA show asp drop: Added `FLOW_DROP_IPSEC_SELECTOR_FAILURE`, `FLOW_LAST_CLEARED`, `MP_SVC_BAD_LENGTH`, and `SSL_FIRST_RECORD_INVALID` capture groups -- [#464] Comware display counters bound interface: Added new template -- [#468] Firebox show arp: Added new template -- [#476] IOS show ip bgp summary: Added `UP_DOWN` capture group -- [#478] NXOS show ip interface brief: Added new template -- [#481] NXOS show ip bgp neighbor: Added `INBOUND_ROUTEMAP` and `OUTBOUND_ROUTEMAP` capture groups -- [#482] XR admin show inventory: Added new template -- [#486] NXOS show route-map: Added new template -- [#489] NXOS show forwarding ipv4 route: Added new template -- [#491] IOS show switch detail: Added new template -- [#492] XR show ipv6 neighbors: Added new template -- [#493] Fastiron show arp: Added new template -- [#496] EOS show ip helper-address: Added new template -- [#501] WLC show 802.11a|b: Added new template -- [#510] WLC show 802.11 cleanair config: Added new template -- [#512] VRP display interface brief: Added new template -- [#512] VRP display temperature: Added new template -- [#513] WLC show rf profile-summary: Added new template -- [#514] IOS show process memory sorted: Added new template -- [#515] WLC show inventory: Added new template -- [#518] Ciena software show: Added new template -- [#521] IOS show ip route: Added `VRF` capture group -- [#524] EOS show vrf: Added new template -- [#526] WLC show advanced 802.11 channel: Added new template -- [#527] IOS show interfaces switchport: Added `VOICE_VLAN` capture group -- [#527] NXOS show interfaces switchport: Added `VOICE_VLAN` capture group -- [#529] Fortios get router info bgp summary: Added new template -- [#531] NXOS show interface: Added `LAST_LINK_FLAPPED` capture group -- [#533] IOS show license: Added new template -- [#539] WLC show interface summary: Added new template -- [#540] IOS show environment temperature: Added new template -### Changed -- [#378] XR show ip route: Update index to allow syntax of "show ip route" or "show route" -- [#497] ASA show version: Change `SERIAL` to be a list for clusters -- [#503] IOS show standby: Update index to allow syntax including specifying an interface -- [#520] IOS show ip bgp summary: Update template and index to support VRF syntax -- [#520] EOS show ip bgp summary: Update template and index to support VRF syntax -- [#521] IOS show ip route: Add `Error` for unmatched lines to ensure accurate data collection -- [#522] EOS show bgp summary: Update index to allow syntax of "show bgp evpn summary" -- [#523] IOS show mac-address-table: Add `Error` for unmatched lines to ensure accurate data collection -- [#528] IOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data -- [#528] NXOS show interfaces switchport: Update template to use `Continue.Record` syntax to record on new entries instead of "last expected line" of output data -### Deprecated -### Removed -## [1.2.1] -### Fixed -- Bumped `__version__` in `__init__` file -### Added -### Changed -### Deprecated -### Removed -## [1.2.0] -### Fixed -- [#389] IOS-XR show interfaces: Fixed matching speed and duplex for bundle-ethernet interfaces -- [#442] IOS-XR show version: Fixed matching `build_host` field that uses both "Build" and "Built" keywords -- [#455][#456] Template files were inaccessable when installing from local directory; now works when using `pip -e` -### Added -- [#470] ASA show version: Add capturing `compiled_date` field +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/lib/ntc_templates/__init__.py b/lib/ntc_templates/__init__.py index 1d0b6d9d36..2ce6c62561 100644 --- a/lib/ntc_templates/__init__.py +++ b/lib/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.6.0" +__version__ = "1.7.0" From 4d4e268408c754427f932b30c86c51bccffabe10 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Thu, 11 Mar 2021 21:07:58 -0500 Subject: [PATCH 569/628] Migrate packaging to use poetry (#882) --- .travis.yml | 27 +- .yamllint | 34 +- CHANGELOG => CHANGELOG.md | 0 MANIFEST.in | 2 - README.md | 24 +- development_scripts.py | 3 +- lib/ntc_templates/templates | 1 - .../__init__.py | 0 {lib/ntc_templates => ntc_templates}/parse.py | 0 .../templates}/alcatel_aos_show_vlan.textfsm | 0 .../alcatel_sros_oam_mac-ping.textfsm | 2 +- .../templates}/alcatel_sros_show_lag.textfsm | 0 .../templates}/alcatel_sros_show_port.textfsm | 0 ...os_show_router_bgp_routes_vpn-ipv4.textfsm | 0 ...ros_show_router_bgp_summary_family.textfsm | 0 ...el_sros_show_router_isis_adjacency.textfsm | 0 ...el_sros_show_router_isis_interface.textfsm | 0 ...tel_sros_show_router_ldp_interface.textfsm | 0 ...el_sros_show_router_mpls_interface.textfsm | 0 ...tel_sros_show_router_pim_interface.textfsm | 0 ...el_sros_show_router_rsvp_interface.textfsm | 0 .../alcatel_sros_show_service_id_base.textfsm | 0 .../alcatel_sros_show_service_sdp.textfsm | 0 .../templates}/arista_eos_bash_df_-h.textfsm | 0 .../templates}/arista_eos_dir_flash.textfsm | 0 .../arista_eos_show_boot-config.textfsm | 0 .../templates}/arista_eos_show_clock.textfsm | 0 ...rista_eos_show_environment_cooling.textfsm | 0 ...a_eos_show_environment_temperature.textfsm | 0 .../arista_eos_show_hostname.textfsm | 0 .../arista_eos_show_interfaces.textfsm | 0 ...ta_eos_show_interfaces_description.textfsm | 0 .../arista_eos_show_interfaces_status.textfsm | 0 ...ta_eos_show_interfaces_transceiver.textfsm | 0 ...show_interfaces_transceiver_detail.textfsm | 0 .../arista_eos_show_inventory.textfsm | 0 .../arista_eos_show_ip_access-lists.textfsm | 0 .../templates}/arista_eos_show_ip_arp.textfsm | 0 .../templates}/arista_eos_show_ip_bgp.textfsm | 0 .../arista_eos_show_ip_bgp_summary.textfsm | 0 .../arista_eos_show_ip_helper-address.textfsm | 0 ...arista_eos_show_ip_interface_brief.textfsm | 0 .../arista_eos_show_ip_ospf_database.textfsm | 0 .../arista_eos_show_ip_ospf_neighbor.textfsm | 0 .../arista_eos_show_ip_route.textfsm | 0 .../arista_eos_show_isis_neighbors.textfsm | 0 .../arista_eos_show_lldp_neighbors.textfsm | 0 ...sta_eos_show_lldp_neighbors_detail.textfsm | 0 .../arista_eos_show_mac_address-table.textfsm | 0 ...ta_eos_show_mac_security_interface.textfsm | 0 ...eos_show_mac_security_mka_counters.textfsm | 0 ...w_mac_security_participants_detail.textfsm | 0 .../templates}/arista_eos_show_mlag.textfsm | 0 .../templates}/arista_eos_show_module.textfsm | 0 ...ista_eos_show_port-channel_summary.textfsm | 0 .../arista_eos_show_reload_cause.textfsm | 0 .../arista_eos_show_snmp_community.textfsm | 0 .../arista_eos_show_version.textfsm | 0 .../templates}/arista_eos_show_vlan.textfsm | 0 .../templates}/arista_eos_show_vrf.textfsm | 0 .../templates}/aruba_os_show_arp.textfsm | 0 .../aruba_os_show_ip_interface_brief.textfsm | 0 ...aruba_os_show_ipv6_interface_brief.textfsm | 0 .../avaya_ers_show_interface_name.textfsm | 0 .../avaya_ers_show_logging_config.textfsm | 0 .../avaya_ers_show_mac-address-table.textfsm | 0 .../templates}/avaya_ers_show_mlt.textfsm | 0 .../avaya_ers_show_mlt_all-members.textfsm | 0 .../avaya_ers_show_sys-info.textfsm | 0 .../templates}/avaya_ers_show_vlan.textfsm | 0 .../avaya_vsp_show_software.textfsm | 0 .../broadcom_icos_show_isdp_neighbors.textfsm | 0 ...m_icos_show_lldp_remote-device_all.textfsm | 0 .../broadcom_icos_show_mac-addr-table.textfsm | 0 .../broadcom_icos_show_version.textfsm | 0 .../broadcom_icos_show_vlan_brief.textfsm | 0 .../brocade_fastiron_show_arp.textfsm | 0 .../brocade_fastiron_show_interfaces.textfsm | 0 ...ade_fastiron_show_interfaces_brief.textfsm | 0 .../brocade_fastiron_show_lag_brief.textfsm | 0 ...ocade_fastiron_show_lldp_neighbors.textfsm | 0 ...astiron_show_lldp_neighbors_detail.textfsm | 0 .../brocade_fastiron_show_mac-address.textfsm | 0 .../brocade_fastiron_show_metro.textfsm | 0 .../brocade_fastiron_show_monitor.textfsm | 0 ..._fastiron_show_running-config_vlan.textfsm | 0 .../brocade_fastiron_show_span.textfsm | 0 .../brocade_fastiron_show_topo.textfsm | 0 .../brocade_fastiron_show_trunk.textfsm | 0 .../brocade_fastiron_show_version.textfsm | 0 .../brocade_netiron_show_interfaces.textfsm | 0 ...cade_netiron_show_interfaces_brief.textfsm | 0 .../brocade_netiron_show_lag_brief.textfsm | 0 ...netiron_show_lldp_neighbors_detail.textfsm | 0 .../brocade_netiron_show_metro.textfsm | 0 ...rocade_netiron_show_monitor_actual.textfsm | 0 ...iron_show_running-config_interface.textfsm | 0 ...e_netiron_show_running-config_vlan.textfsm | 0 .../brocade_netiron_show_span.textfsm | 0 .../brocade_netiron_show_topo.textfsm | 0 .../checkpoint_gaia_fw_stat.textfsm | 0 ...eckpoint_gaia_show_arp_dynamic_all.textfsm | 0 .../checkpoint_gaia_show_asset_all.textfsm | 0 .../checkpoint_gaia_show_dns.textfsm | 0 .../checkpoint_gaia_show_domainname.textfsm | 0 ...heckpoint_gaia_show_interfaces_all.textfsm | 0 .../checkpoint_gaia_show_ipv6_route.textfsm | 0 .../checkpoint_gaia_show_lom.textfsm | 0 .../checkpoint_gaia_show_ntp_servers.textfsm | 0 .../checkpoint_gaia_show_route.textfsm | 0 .../checkpoint_gaia_show_version_all.textfsm | 0 ...iena_saos_chassis_show_temperature.textfsm | 0 .../templates}/ciena_saos_port_show.textfsm | 0 .../templates}/ciena_saos_rstp_show.textfsm | 0 .../ciena_saos_software_show.textfsm | 0 .../ciena_saos_ssh_server_show_key.textfsm | 0 .../templates}/ciena_saos_vlan_show.textfsm | 0 .../templates}/cisco_asa_dir.textfsm | 0 .../templates}/cisco_asa_ping.textfsm | 0 .../cisco_asa_show_access-list.textfsm | 0 .../templates}/cisco_asa_show_arp.textfsm | 0 .../cisco_asa_show_asp_drop.textfsm | 0 ..._show_asp_table_vpn-context_detail.textfsm | 0 .../cisco_asa_show_bgp_summary.textfsm | 0 ...co_asa_show_crypto_ikev1_sa_detail.textfsm | 0 .../cisco_asa_show_crypto_ipsec_sa.textfsm | 0 .../cisco_asa_show_failover.textfsm | 0 .../cisco_asa_show_interface.textfsm | 0 .../cisco_asa_show_interface_detail.textfsm | 0 .../cisco_asa_show_inventory.textfsm | 0 .../cisco_asa_show_license_all.textfsm | 0 .../templates}/cisco_asa_show_logging.textfsm | 0 .../templates}/cisco_asa_show_name.textfsm | 0 .../templates}/cisco_asa_show_nat.textfsm | 0 ...isco_asa_show_object-group_network.textfsm | 0 .../cisco_asa_show_resource_usage.textfsm | 0 .../templates}/cisco_asa_show_route.textfsm | 0 ...show_running-config_all_crypto_map.textfsm | 0 ...a_show_running-config_crypto_ikev1.textfsm | 0 ...asa_show_running-config_crypto_map.textfsm | 0 ...isco_asa_show_running-config_ipsec.textfsm | 0 ...show_running-config_object_network.textfsm | 0 ...a_show_running-config_tunnel-group.textfsm | 0 .../templates}/cisco_asa_show_version.textfsm | 0 .../cisco_asa_show_vpn-sessiondb.textfsm | 0 ..._asa_show_vpn-sessiondb_anyconnect.textfsm | 0 ..._asa_show_vpn-sessiondb_detail_l2l.textfsm | 0 .../templates}/cisco_asa_show_xlate.textfsm | 0 .../templates}/cisco_ios_dir.textfsm | 0 .../cisco_ios_show_access-list.textfsm | 0 .../cisco_ios_show_access-session.textfsm | 0 .../cisco_ios_show_adjacency.textfsm | 0 .../cisco_ios_show_alert_counters.textfsm | 0 .../templates}/cisco_ios_show_aliases.textfsm | 0 .../templates}/cisco_ios_show_archive.textfsm | 0 ...o_ios_show_authentication_sessions.textfsm | 0 .../templates}/cisco_ios_show_boot.textfsm | 0 ...os_show_capability_feature_routing.textfsm | 0 .../cisco_ios_show_cdp_neighbors.textfsm | 0 ...isco_ios_show_cdp_neighbors_detail.textfsm | 0 .../templates}/cisco_ios_show_clock.textfsm | 0 .../cisco_ios_show_controller_t1.textfsm | 0 .../templates}/cisco_ios_show_dmvpn.textfsm | 0 .../cisco_ios_show_dot1x_all.textfsm | 0 ...sco_ios_show_environment_power_all.textfsm | 0 ...o_ios_show_environment_temperature.textfsm | 0 ...isco_ios_show_etherchannel_summary.textfsm | 0 .../cisco_ios_show_hosts_summary.textfsm | 0 ...sco_ios_show_interface_transceiver.textfsm | 0 .../cisco_ios_show_interfaces.textfsm | 0 ...co_ios_show_interfaces_description.textfsm | 0 .../cisco_ios_show_interfaces_status.textfsm | 0 ...sco_ios_show_interfaces_switchport.textfsm | 0 .../cisco_ios_show_inventory.textfsm | 0 .../cisco_ios_show_ip_access-lists.textfsm | 0 .../templates}/cisco_ios_show_ip_arp.textfsm | 0 .../templates}/cisco_ios_show_ip_bgp.textfsm | 0 .../cisco_ios_show_ip_bgp_neighbors.textfsm | 0 ...ip_bgp_neighbors_advertised-routes.textfsm | 0 .../cisco_ios_show_ip_bgp_summary.textfsm | 0 .../templates}/cisco_ios_show_ip_cef.textfsm | 0 .../cisco_ios_show_ip_cef_detail.textfsm | 0 ...co_ios_show_ip_device_tracking_all.textfsm | 0 .../cisco_ios_show_ip_eigrp_neighbors.textfsm | 0 .../cisco_ios_show_ip_eigrp_topology.textfsm | 0 .../cisco_ios_show_ip_flow_toptalkers.textfsm | 0 .../cisco_ios_show_ip_interface.textfsm | 0 .../cisco_ios_show_ip_interface_brief.textfsm | 0 .../cisco_ios_show_ip_mroute.textfsm | 0 .../cisco_ios_show_ip_ospf_database.textfsm | 0 ..._ios_show_ip_ospf_database_network.textfsm | 0 ...o_ios_show_ip_ospf_database_router.textfsm | 0 ...o_ios_show_ip_ospf_interface_brief.textfsm | 0 .../cisco_ios_show_ip_ospf_neighbor.textfsm | 0 .../cisco_ios_show_ip_prefix-list.textfsm | 0 .../cisco_ios_show_ip_route.textfsm | 0 .../cisco_ios_show_ip_route_summary.textfsm | 0 .../cisco_ios_show_ip_source_binding.textfsm | 0 .../cisco_ios_show_ip_vrf_interfaces.textfsm | 0 ...isco_ios_show_ipv6_interface_brief.textfsm | 0 .../cisco_ios_show_ipv6_neighbors.textfsm | 0 .../cisco_ios_show_isdn_status.textfsm | 0 .../cisco_ios_show_isis_neighbors.textfsm | 0 .../templates}/cisco_ios_show_license.textfsm | 0 .../cisco_ios_show_lldp_neighbors.textfsm | 0 ...sco_ios_show_lldp_neighbors_detail.textfsm | 0 .../templates}/cisco_ios_show_logging.textfsm | 0 .../cisco_ios_show_mac-address-table.textfsm | 0 .../templates}/cisco_ios_show_module.textfsm | 0 .../cisco_ios_show_module_online_diag.textfsm | 0 .../cisco_ios_show_module_status.textfsm | 0 .../cisco_ios_show_module_submodule.textfsm | 0 .../cisco_ios_show_mpls_interfaces.textfsm | 0 .../cisco_ios_show_object-group.textfsm | 0 .../cisco_ios_show_platform_diag.textfsm | 0 .../cisco_ios_show_power_available.textfsm | 0 .../cisco_ios_show_power_status.textfsm | 0 .../cisco_ios_show_power_supplies.textfsm | 0 .../cisco_ios_show_processes_cpu.textfsm | 0 ...o_ios_show_processes_memory_sorted.textfsm | 0 .../cisco_ios_show_redundancy.textfsm | 0 .../cisco_ios_show_route-map.textfsm | 0 ...nning-config_partition_access-list.textfsm | 0 ...running-config_partition_route-map.textfsm | 0 .../cisco_ios_show_snmp_community.textfsm | 0 .../cisco_ios_show_snmp_user.textfsm | 0 .../cisco_ios_show_spanning-tree.textfsm | 0 .../templates}/cisco_ios_show_standby.textfsm | 0 .../cisco_ios_show_standby_brief.textfsm | 0 .../cisco_ios_show_switch_detail.textfsm | 0 ...ios_show_switch_detail_stack_ports.textfsm | 0 .../templates}/cisco_ios_show_tacacs.textfsm | 0 .../templates}/cisco_ios_show_version.textfsm | 0 .../templates}/cisco_ios_show_vlan.textfsm | 0 .../templates}/cisco_ios_show_vrf.textfsm | 0 .../cisco_ios_show_vrrp_all.textfsm | 0 .../cisco_ios_show_vrrp_brief.textfsm | 0 .../cisco_ios_show_vtp_status.textfsm | 0 .../templates}/cisco_ios_traceroute.textfsm | 0 .../cisco_nxos_show_access-lists.textfsm | 0 .../cisco_nxos_show_cdp_neighbors.textfsm | 0 ...sco_nxos_show_cdp_neighbors_detail.textfsm | 0 .../templates}/cisco_nxos_show_clock.textfsm | 0 ...show_configuration_session_summary.textfsm | 0 .../cisco_nxos_show_cts_interface_all.textfsm | 0 ...isco_nxos_show_cts_interface_brief.textfsm | 0 .../cisco_nxos_show_environment.textfsm | 0 ..._nxos_show_environment_temperature.textfsm | 0 .../cisco_nxos_show_feature.textfsm | 0 .../templates}/cisco_nxos_show_fex.textfsm | 0 .../templates}/cisco_nxos_show_fex_id.textfsm | 0 .../cisco_nxos_show_flogi_database.textfsm | 0 ...sco_nxos_show_forwarding_adjacency.textfsm | 0 ...co_nxos_show_forwarding_ipv4_route.textfsm | 0 .../cisco_nxos_show_hostname.textfsm | 0 .../cisco_nxos_show_hsrp_all.textfsm | 0 .../cisco_nxos_show_interface.textfsm | 0 .../cisco_nxos_show_interface_brief.textfsm | 2 +- ...co_nxos_show_interface_description.textfsm | 0 .../cisco_nxos_show_interface_status.textfsm | 0 ...co_nxos_show_interface_transceiver.textfsm | 0 ...show_interface_transceiver_details.textfsm | 0 ...co_nxos_show_interfaces_switchport.textfsm | 0 .../cisco_nxos_show_inventory.textfsm | 0 .../cisco_nxos_show_ip_adjacency.textfsm | 0 .../templates}/cisco_nxos_show_ip_arp.textfsm | 0 .../cisco_nxos_show_ip_arp_detail.textfsm | 0 .../templates}/cisco_nxos_show_ip_bgp.textfsm | 0 .../cisco_nxos_show_ip_bgp_neighbors.textfsm | 0 .../cisco_nxos_show_ip_bgp_summary.textfsm | 0 ...cisco_nxos_show_ip_bgp_summary_vrf.textfsm | 0 .../cisco_nxos_show_ip_community-list.textfsm | 0 ...co_nxos_show_ip_dhcp_relay_address.textfsm | 0 .../cisco_nxos_show_ip_interface.textfsm | 0 ...cisco_nxos_show_ip_interface_brief.textfsm | 0 .../cisco_nxos_show_ip_ospf_database.textfsm | 0 .../cisco_nxos_show_ip_ospf_neighbor.textfsm | 0 .../cisco_nxos_show_ip_route.textfsm | 0 ...sco_nxos_show_ipv6_interface_brief.textfsm | 0 ...b_internal_permanently-frozen-list.textfsm | 0 .../cisco_nxos_show_license_usage.textfsm | 0 .../cisco_nxos_show_lldp_neighbors.textfsm | 0 ...co_nxos_show_lldp_neighbors_detail.textfsm | 0 .../cisco_nxos_show_mac_address-table.textfsm | 0 .../templates}/cisco_nxos_show_module.textfsm | 0 ...sco_nxos_show_port-channel_summary.textfsm | 0 .../cisco_nxos_show_processes_cpu.textfsm | 0 .../cisco_nxos_show_route-map.textfsm | 0 .../templates}/cisco_nxos_show_vdc.textfsm | 0 .../cisco_nxos_show_version.textfsm | 0 .../templates}/cisco_nxos_show_vlan.textfsm | 0 .../templates}/cisco_nxos_show_vpc.textfsm | 0 .../templates}/cisco_nxos_show_vrf.textfsm | 0 .../cisco_nxos_show_vrf_interface.textfsm | 0 .../cisco_s300_show_interfaces_status.textfsm | 0 .../cisco_s300_show_lldp_neighbors.textfsm | 0 .../cisco_s300_show_mac_address-table.textfsm | 0 .../cisco_s300_show_version.textfsm | 0 .../cisco_wlc_ssh_show_802.11a.textfsm | 0 ...c_ssh_show_802.11a_cleanair_config.textfsm | 0 ..._ssh_show_advanced_802.11a_channel.textfsm | 0 ...sco_wlc_ssh_show_ap_config_general.textfsm | 0 .../cisco_wlc_ssh_show_ap_image_all.textfsm | 0 .../cisco_wlc_ssh_show_ap_summary.textfsm | 0 .../cisco_wlc_ssh_show_band-select.textfsm | 0 ..._wlc_ssh_show_cdp_neighbors_detail.textfsm | 0 .../cisco_wlc_ssh_show_client_detail.textfsm | 0 .../cisco_wlc_ssh_show_exclusionlist.textfsm | 0 ...wlc_ssh_show_interface_detailed_id.textfsm | 0 ...sco_wlc_ssh_show_interface_summary.textfsm | 0 .../cisco_wlc_ssh_show_inventory.textfsm | 0 ...cisco_wlc_ssh_show_mobility_anchor.textfsm | 0 .../cisco_wlc_ssh_show_mobility_sum.textfsm | 0 .../cisco_wlc_ssh_show_port_summary.textfsm | 0 .../cisco_wlc_ssh_show_radius_summary.textfsm | 0 ...sco_wlc_ssh_show_redundancy_detail.textfsm | 0 ...co_wlc_ssh_show_redundancy_summary.textfsm | 0 ...co_wlc_ssh_show_rf-profile_summary.textfsm | 0 ...co_wlc_ssh_show_stats_port_summary.textfsm | 0 .../cisco_wlc_ssh_show_sysinfo.textfsm | 0 .../cisco_wlc_ssh_show_tacacs_summary.textfsm | 0 .../cisco_wlc_ssh_show_time.textfsm | 0 .../cisco_wlc_ssh_show_wlan_sum.textfsm | 0 ...dmin_show_controller_fabric_health.textfsm | 0 ...isco_xr_admin_show_environment_fan.textfsm | 0 ...co_xr_admin_show_environment_power.textfsm | 0 .../cisco_xr_admin_show_inventory.textfsm | 0 .../cisco_xr_admin_show_platform.textfsm | 0 .../templates}/cisco_xr_admin_show_vm.textfsm | 0 .../templates}/cisco_xr_show_arp.textfsm | 0 ...o_xr_show_asic-errors_all_location.textfsm | 0 .../cisco_xr_show_bfd_sessions.textfsm | 0 .../templates}/cisco_xr_show_bgp.textfsm | 0 .../cisco_xr_show_bgp_neighbors.textfsm | 0 ...w_bgp_vrf_all_ipv4_unicast_summary.textfsm | 0 ...cisco_xr_show_cdp_neighbors_detail.textfsm | 0 .../cisco_xr_show_cef_drops_location.textfsm | 0 ..._xr_show_configuration_commit_list.textfsm | 0 ...r_show_controller_fabric_plane_all.textfsm | 0 ...controllers_HundredGigabitEthernet.textfsm | 0 .../cisco_xr_show_controllers_all_phy.textfsm | 0 ...s_fabric_fia_drops_egress_location.textfsm | 0 ..._fabric_fia_drops_ingress_location.textfsm | 0 ..._fabric_fia_errors_egress_location.textfsm | 0 ...fabric_fia_errors_ingress_location.textfsm | 0 ...co_xr_show_dhcp_ipv4_proxy_binding.textfsm | 0 .../cisco_xr_show_drops_np_all.textfsm | 0 .../templates}/cisco_xr_show_hsrp.textfsm | 0 .../cisco_xr_show_interface_brief.textfsm | 0 .../cisco_xr_show_interfaces.textfsm | 0 .../cisco_xr_show_interfaces_summary.textfsm | 0 .../cisco_xr_show_ip_bgp_summary.textfsm | 0 .../cisco_xr_show_ip_interface_brief.textfsm | 0 .../templates}/cisco_xr_show_ip_route.textfsm | 0 .../cisco_xr_show_ipv6_neighbors.textfsm | 0 .../cisco_xr_show_isis_neighbors.textfsm | 0 .../cisco_xr_show_lldp_neighbors.textfsm | 0 ...pts_pifib_hardware_police_location.textfsm | 0 ...co_xr_show_mpls_ldp_neighbor_brief.textfsm | 0 .../cisco_xr_show_ospf_neighbor.textfsm | 0 .../cisco_xr_show_pim_neighbor.textfsm | 0 .../cisco_xr_show_processes_cpu.textfsm | 0 .../cisco_xr_show_redundancy_summary.textfsm | 0 .../cisco_xr_show_rsvp_neighbors.textfsm | 0 .../templates}/cisco_xr_show_version.textfsm | 0 .../templates}/dell_force10_show_arp.textfsm | 0 .../dell_force10_show_version.textfsm | 0 .../templates}/dell_force10_show_vlan.textfsm | 0 .../dell_force10_show_vlan_brief.textfsm | 0 ...rconnect_show_bridge_address_table.textfsm | 0 ...onnect_show_interfaces_description.textfsm | 0 ...owerconnect_show_interfaces_status.textfsm | 0 ...rtinet_get_router_info_bgp_summary.textfsm | 0 .../fortinet_get_system_arp.textfsm | 0 .../fortinet_get_system_ha_status.textfsm | 0 .../fortinet_get_system_interface.textfsm | 0 ...inet_get_system_interface_physical.textfsm | 0 .../fortinet_get_system_status.textfsm | 0 .../templates}/hp_comware_display_arp.textfsm | 0 .../hp_comware_display_clock.textfsm | 0 ...e_display_counters_bound_interface.textfsm | 0 ...hp_comware_display_device_manuinfo.textfsm | 0 .../hp_comware_display_ip_interface.textfsm | 0 ...p_comware_display_ip_routing-table.textfsm | 0 ..._lldp_neighbor-information_verbose.textfsm | 0 .../hp_comware_display_mac-address.textfsm | 0 .../hp_comware_display_vlan_brief.textfsm | 0 .../templates}/hp_procurve_show_arp.textfsm | 0 .../hp_procurve_show_interfaces.textfsm | 0 .../hp_procurve_show_interfaces_brief.textfsm | 0 ...curve_show_lldp_info_remote-device.textfsm | 0 ...how_lldp_info_remote-device_detail.textfsm | 0 .../hp_procurve_show_mac-address.textfsm | 0 .../hp_procurve_show_port-security.textfsm | 0 .../hp_procurve_show_system.textfsm | 0 .../hp_procurve_show_tech_buffers.textfsm | 0 .../hp_procurve_show_trunks.textfsm | 0 .../templates}/hp_procurve_show_vlans.textfsm | 0 ...huawei_vrp_display_interface_brief.textfsm | 0 .../huawei_vrp_display_lldp_neighbor.textfsm | 0 .../huawei_vrp_display_temperature.textfsm | 0 .../huawei_vrp_display_version.textfsm | 0 {templates => ntc_templates/templates}/index | 0 .../juniper_junos_show_arp_no-resolve.textfsm | 0 ...os_show_chassis_cluster_interfaces.textfsm | 0 ..._junos_show_chassis_cluster_status.textfsm | 0 ...uniper_junos_show_chassis_firmware.textfsm | 0 ...unos_show_ethernet-switching_table.textfsm | 0 .../juniper_junos_show_interfaces.textfsm | 0 .../juniper_junos_show_isis_adjacency.textfsm | 0 ...juniper_junos_show_lacp_interfaces.textfsm | 0 .../juniper_junos_show_lldp_neighbors.textfsm | 0 .../juniper_junos_show_ospf_neighbor.textfsm | 0 .../juniper_junos_show_version.textfsm | 0 .../juniper_screenos_get_route.textfsm | 0 .../templates}/linux_arp_-a.textfsm | 0 .../paloalto_panos_debug_swm_status.textfsm | 0 .../paloalto_panos_show_arp_all.textfsm | 0 ...paloalto_panos_show_counter_global.textfsm | 0 ...o_panos_show_high-availability_all.textfsm | 0 ...alto_panos_show_interface_hardware.textfsm | 0 ...oalto_panos_show_interface_logical.textfsm | 0 ...to_panos_show_interface_management.textfsm | 0 .../paloalto_panos_show_jobs_all.textfsm | 0 .../paloalto_panos_show_mac_all.textfsm | 0 ...alto_panos_show_running_nat-policy.textfsm | 0 ...panos_show_running_security-policy.textfsm | 0 .../paloalto_panos_show_system_info.textfsm | 0 ...o_panos_test_security-policy-match.textfsm | 0 .../ruckus_fastiron_show_arp.textfsm | 0 .../ubiquiti_edgeswitch_show_arp.textfsm | 0 .../ubiquiti_edgeswitch_show_version.textfsm | 0 .../ubiquiti_edgeswitch_show_vlan.textfsm | 0 .../vmware_nsxv_show_ip_bgp_neighbors.textfsm | 0 .../vmware_nsxv_show_ip_route.textfsm | 0 .../templates}/vyatta_vyos_show_arp.textfsm | 0 .../vyatta_vyos_show_interfaces.textfsm | 0 .../vyatta_vyos_show_ip_bgp_summary.textfsm | 0 .../watchguard_firebox_show_arp.textfsm | 0 .../yamaha_show_environment.textfsm | 0 .../templates}/yamaha_show_ip_route.textfsm | 0 poetry.lock | 667 ++++++++++++++++++ pyproject.toml | 31 +- setup.py | 44 -- ...lcatel_sros_show_router_mpls_interface.yml | 52 +- .../cisco_ios_show_tacacs_server_name.yml | 48 +- tests/linux/arp_-a/linux_arp_a.yml | 95 ++- tests/test_index_order.py | 8 +- ...red_data_against_parsed_reference_files.py | 2 +- tests/test_testcases_exists.py | 2 +- tox.ini | 33 +- 451 files changed, 858 insertions(+), 219 deletions(-) rename CHANGELOG => CHANGELOG.md (100%) delete mode 100644 MANIFEST.in delete mode 120000 lib/ntc_templates/templates rename {lib/ntc_templates => ntc_templates}/__init__.py (100%) rename {lib/ntc_templates => ntc_templates}/parse.py (100%) rename {templates => ntc_templates/templates}/alcatel_aos_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_oam_mac-ping.textfsm (69%) rename {templates => ntc_templates/templates}/alcatel_sros_show_lag.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_port.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_bgp_summary_family.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_isis_adjacency.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_isis_interface.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_ldp_interface.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_mpls_interface.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_pim_interface.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_router_rsvp_interface.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_service_id_base.textfsm (100%) rename {templates => ntc_templates/templates}/alcatel_sros_show_service_sdp.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_bash_df_-h.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_dir_flash.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_boot-config.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_clock.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_environment_cooling.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_environment_temperature.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_hostname.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_interfaces_description.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_interfaces_status.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_interfaces_transceiver.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_interfaces_transceiver_detail.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_access-lists.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_arp.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_bgp.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_helper-address.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_ospf_database.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_ospf_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_ip_route.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_isis_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_lldp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_mac_address-table.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_mac_security_interface.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_mac_security_mka_counters.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_mac_security_participants_detail.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_mlag.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_module.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_port-channel_summary.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_reload_cause.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_snmp_community.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/arista_eos_show_vrf.textfsm (100%) rename {templates => ntc_templates/templates}/aruba_os_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/aruba_os_show_ip_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/aruba_os_show_ipv6_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_interface_name.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_logging_config.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_mac-address-table.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_mlt.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_mlt_all-members.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_sys-info.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_ers_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/avaya_vsp_show_software.textfsm (100%) rename {templates => ntc_templates/templates}/broadcom_icos_show_isdp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/broadcom_icos_show_lldp_remote-device_all.textfsm (100%) rename {templates => ntc_templates/templates}/broadcom_icos_show_mac-addr-table.textfsm (100%) rename {templates => ntc_templates/templates}/broadcom_icos_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/broadcom_icos_show_vlan_brief.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_interfaces_brief.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_lag_brief.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_lldp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_mac-address.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_metro.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_monitor.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_running-config_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_span.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_topo.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_trunk.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_fastiron_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_interfaces_brief.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_lag_brief.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_lldp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_metro.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_monitor_actual.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_running-config_interface.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_running-config_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_span.textfsm (100%) rename {templates => ntc_templates/templates}/brocade_netiron_show_topo.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_fw_stat.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_arp_dynamic_all.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_asset_all.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_dns.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_domainname.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_interfaces_all.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_ipv6_route.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_lom.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_ntp_servers.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_route.textfsm (100%) rename {templates => ntc_templates/templates}/checkpoint_gaia_show_version_all.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_chassis_show_temperature.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_port_show.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_rstp_show.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_software_show.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_ssh_server_show_key.textfsm (100%) rename {templates => ntc_templates/templates}/ciena_saos_vlan_show.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_dir.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_ping.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_access-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_asp_drop.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_asp_table_vpn-context_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_crypto_ikev1_sa_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_crypto_ipsec_sa.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_failover.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_interface.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_interface_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_license_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_logging.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_name.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_nat.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_object-group_network.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_resource_usage.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_route.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_all_crypto_map.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_crypto_ikev1.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_crypto_map.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_ipsec.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_object_network.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_running-config_tunnel-group.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_vpn-sessiondb.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_asa_show_xlate.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_dir.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_access-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_access-session.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_adjacency.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_alert_counters.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_aliases.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_archive.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_authentication_sessions.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_boot.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_capability_feature_routing.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_cdp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_cdp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_clock.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_controller_t1.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_dmvpn.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_dot1x_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_environment_power_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_environment_temperature.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_etherchannel_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_hosts_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_interface_transceiver.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_interfaces_description.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_interfaces_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_interfaces_switchport.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_access-lists.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_arp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_bgp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_bgp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_cef.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_cef_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_device_tracking_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_eigrp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_eigrp_topology.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_flow_toptalkers.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_interface.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_mroute.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_ospf_database.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_ospf_database_network.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_ospf_database_router.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_ospf_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_ospf_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_prefix-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_route.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_route_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_source_binding.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ip_vrf_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ipv6_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_ipv6_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_isdn_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_isis_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_license.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_lldp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_logging.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_mac-address-table.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_module.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_module_online_diag.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_module_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_module_submodule.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_mpls_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_object-group.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_platform_diag.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_power_available.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_power_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_power_supplies.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_processes_cpu.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_processes_memory_sorted.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_redundancy.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_route-map.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_running-config_partition_access-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_running-config_partition_route-map.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_snmp_community.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_snmp_user.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_spanning-tree.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_standby.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_standby_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_switch_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_switch_detail_stack_ports.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_tacacs.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_vrf.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_vrrp_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_vrrp_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_show_vtp_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_ios_traceroute.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_access-lists.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_cdp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_cdp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_clock.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_configuration_session_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_cts_interface_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_cts_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_environment.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_environment_temperature.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_feature.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_fex.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_fex_id.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_flogi_database.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_forwarding_adjacency.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_forwarding_ipv4_route.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_hostname.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_hsrp_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface_brief.textfsm (97%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface_description.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface_transceiver.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interface_transceiver_details.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_interfaces_switchport.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_adjacency.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_arp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_arp_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_bgp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_bgp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_bgp_summary_vrf.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_community-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_dhcp_relay_address.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_interface.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_ospf_database.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_ospf_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ip_route.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_ipv6_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_license_usage.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_lldp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_mac_address-table.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_module.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_port-channel_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_processes_cpu.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_route-map.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_vdc.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_vpc.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_vrf.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_nxos_show_vrf_interface.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_s300_show_interfaces_status.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_s300_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_s300_show_mac_address-table.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_s300_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_802.11a.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_ap_config_general.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_ap_image_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_ap_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_band-select.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_client_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_exclusionlist.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_interface_detailed_id.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_interface_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_mobility_anchor.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_mobility_sum.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_port_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_radius_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_redundancy_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_redundancy_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_rf-profile_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_stats_port_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_sysinfo.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_tacacs_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_time.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_wlc_ssh_show_wlan_sum.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_controller_fabric_health.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_environment_fan.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_environment_power.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_inventory.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_platform.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_admin_show_vm.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_asic-errors_all_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_bfd_sessions.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_bgp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_bgp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_cdp_neighbors_detail.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_cef_drops_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_configuration_commit_list.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controller_fabric_plane_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_all_phy.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_drops_np_all.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_hsrp.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_interfaces_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_ip_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_ip_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_ip_route.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_ipv6_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_isis_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_ospf_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_pim_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_processes_cpu.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_redundancy_summary.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_rsvp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/cisco_xr_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/dell_force10_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/dell_force10_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/dell_force10_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/dell_force10_show_vlan_brief.textfsm (100%) rename {templates => ntc_templates/templates}/dell_powerconnect_show_bridge_address_table.textfsm (100%) rename {templates => ntc_templates/templates}/dell_powerconnect_show_interfaces_description.textfsm (100%) rename {templates => ntc_templates/templates}/dell_powerconnect_show_interfaces_status.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_router_info_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_system_arp.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_system_ha_status.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_system_interface.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_system_interface_physical.textfsm (100%) rename {templates => ntc_templates/templates}/fortinet_get_system_status.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_arp.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_clock.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_counters_bound_interface.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_device_manuinfo.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_ip_interface.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_ip_routing-table.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_lldp_neighbor-information_verbose.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_mac-address.textfsm (100%) rename {templates => ntc_templates/templates}/hp_comware_display_vlan_brief.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_interfaces_brief.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_lldp_info_remote-device.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_lldp_info_remote-device_detail.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_mac-address.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_port-security.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_system.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_tech_buffers.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_trunks.textfsm (100%) rename {templates => ntc_templates/templates}/hp_procurve_show_vlans.textfsm (100%) rename {templates => ntc_templates/templates}/huawei_vrp_display_interface_brief.textfsm (100%) rename {templates => ntc_templates/templates}/huawei_vrp_display_lldp_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/huawei_vrp_display_temperature.textfsm (100%) rename {templates => ntc_templates/templates}/huawei_vrp_display_version.textfsm (100%) rename {templates => ntc_templates/templates}/index (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_arp_no-resolve.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_chassis_cluster_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_chassis_cluster_status.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_chassis_firmware.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_ethernet-switching_table.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_isis_adjacency.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_lacp_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_lldp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_ospf_neighbor.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_junos_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/juniper_screenos_get_route.textfsm (100%) rename {templates => ntc_templates/templates}/linux_arp_-a.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_debug_swm_status.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_arp_all.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_counter_global.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_high-availability_all.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_interface_hardware.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_interface_logical.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_interface_management.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_jobs_all.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_mac_all.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_running_nat-policy.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_running_security-policy.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_show_system_info.textfsm (100%) rename {templates => ntc_templates/templates}/paloalto_panos_test_security-policy-match.textfsm (100%) rename {templates => ntc_templates/templates}/ruckus_fastiron_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/ubiquiti_edgeswitch_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/ubiquiti_edgeswitch_show_version.textfsm (100%) rename {templates => ntc_templates/templates}/ubiquiti_edgeswitch_show_vlan.textfsm (100%) rename {templates => ntc_templates/templates}/vmware_nsxv_show_ip_bgp_neighbors.textfsm (100%) rename {templates => ntc_templates/templates}/vmware_nsxv_show_ip_route.textfsm (100%) rename {templates => ntc_templates/templates}/vyatta_vyos_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/vyatta_vyos_show_interfaces.textfsm (100%) rename {templates => ntc_templates/templates}/vyatta_vyos_show_ip_bgp_summary.textfsm (100%) rename {templates => ntc_templates/templates}/watchguard_firebox_show_arp.textfsm (100%) rename {templates => ntc_templates/templates}/yamaha_show_environment.textfsm (100%) rename {templates => ntc_templates/templates}/yamaha_show_ip_route.textfsm (100%) create mode 100644 poetry.lock delete mode 100644 setup.py diff --git a/.travis.yml b/.travis.yml index 570aa28246..7d5af31e3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,29 @@ --- - -language: python +language: "python" +dist: "xenial" +os: "linux" python: - "3.6" - -sudo: false + - "3.7" + - "3.8" install: - - pip install tox + - "pip install virtualenv" + - "virtualenv .venv" + - ".venv/bin/pip install pip setuptools -U" + - ".venv/bin/pip install tox" + +jobs: + include: + - stage: "lint" + script: ".venv/bin/tox -e black" + - script: ".venv/bin/tox -e flake8" + - script: ".venv/bin/tox -e yamllint" + +stages: + - "lint" + - "test" script: - - tox + - ".venv/bin/tox -e py36,py37,py38" diff --git a/.yamllint b/.yamllint index 4bffe932a6..0df5b5674b 100644 --- a/.yamllint +++ b/.yamllint @@ -1,36 +1,16 @@ --- +extends: "default" rules: + comments: "enable" + empty-values: "enable" indentation: - spaces: 2 indent-sequences: "consistent" - braces: - min-spaces-inside: 0 - brackets: - min-spaces-inside: 0 - colons: - max-spaces-before: 0 - max-spaces-after: 1 - hyphens: - max-spaces-after: 1 - commas: - max-spaces-before: 0 - max-spaces-after: 1 - comments: - require-starting-space: true - ignore-shebangs: true - min-spaces-from-content: 1 - document-start: - present: true - empty-lines: - max: 1 - empty-values: - forbid-in-block-mappings: true - forbid-in-flow-mappings: true - key-duplicates: "enable" - new-line-at-end-of-file: "enable" + line-length: "disable" quoted-strings: quote-type: "double" - trailing-spaces: {} ignore: | tests/mocks/ + .tox/ + .venv/ + venv/ diff --git a/CHANGELOG b/CHANGELOG.md similarity index 100% rename from CHANGELOG rename to CHANGELOG.md diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index ef95ea9787..0000000000 --- a/MANIFEST.in +++ /dev/null @@ -1,2 +0,0 @@ -include README.md CHANGELOG - diff --git a/README.md b/README.md index ed0be86f45..85b056ac3b 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,11 @@ Repository of TextFSM Templates for Network Devices, and Python wrapper for Text This project provides a large collection of TextFSM Templates (text parsers) for a variety of Networking Vendors. In addition to the templates, there is a function that will convert the CLI output into a CliTable object; the resulting text table is converted into a list of dictionaries mapping the column headers with each row in the table. +> As of v2.0.0, this project uses [Poetry](https://python-poetry.org/) for packaging and distribution. In order to use poetry, the `templates` directory has been moved to `ntc_templates/templates` + Installation and Usage ---------------------- -The project can be installed using either Git or PyPI; if you would like to use the templates outside of this project, then Git is the recommended approach. +The project can be installed using either Git + Poetry or PyPI. #### Git @@ -21,17 +23,7 @@ The project can be installed using either Git or PyPI; if you would like to use $ git clone git@github.com:networktocode/ntc-templates.git $ # Optional steps to install ntc-templates as a python package -$ pip install -e ntc-templates/ -$ -``` - -The install can also include the required dev packages, which can be useful for adding or editing templates: - -```shell -$ git clone git@github.com:networktocode/ntc-templates.git -$ -# Optional steps to install ntc-templates as a python package -$ pip install -e ntc-templates/[dev] +$ poetry install $ ``` @@ -42,12 +34,6 @@ $ pip install ntc_templates $ ``` -To include the dev packages: -``` -$ pip install ntc_templates[dev] -$ -``` - #### Usage ```python @@ -283,7 +269,7 @@ A cli utility is provided to assist with properly building the parsed files. Thi The `-y` and `-yd` arguments are designed to allow developers to generate the expected parsed file how they want, and ensure that the formatting adheres to the defined standard for this project. - The `-c` and `-cd` arguments use `lib.ntc_templates.parse.parse_output()` to generate the parsed data; this means that you can use these arguments to auto-generate the test `.yml` file(s) for new templates; just be sure that the template's parsing behavior meets expectations. In order for the data to be parsed, the template must be placed in `templates/` and the `templates/index` file must be updated to correctly point to the template file(s). + The `-c` and `-cd` arguments use `ntc_templates.parse.parse_output()` to generate the parsed data; this means that you can use these arguments to auto-generate the test `.yml` file(s) for new templates; just be sure that the template's parsing behavior meets expectations. In order for the data to be parsed, the template must be placed in `ntc_templates/templates/` and the `ntc_templates/templates/index` file must be updated to correctly point to the template file(s). ```bash $ ./development_scripts.py -yd tests/cisco_ios/show_mac-address-table diff --git a/development_scripts.py b/development_scripts.py index c51ba8d880..d8ffee24f9 100755 --- a/development_scripts.py +++ b/development_scripts.py @@ -7,8 +7,7 @@ from ruamel.yaml import YAML from ruamel.yaml.scalarstring import DoubleQuotedScalarString as DQ -from textfsm import clitable -from lib.ntc_templates.parse import parse_output +from ntc_templates.parse import parse_output FILE_PATH = os.path.abspath(__file__) diff --git a/lib/ntc_templates/templates b/lib/ntc_templates/templates deleted file mode 120000 index 07531b725b..0000000000 --- a/lib/ntc_templates/templates +++ /dev/null @@ -1 +0,0 @@ -../../templates \ No newline at end of file diff --git a/lib/ntc_templates/__init__.py b/ntc_templates/__init__.py similarity index 100% rename from lib/ntc_templates/__init__.py rename to ntc_templates/__init__.py diff --git a/lib/ntc_templates/parse.py b/ntc_templates/parse.py similarity index 100% rename from lib/ntc_templates/parse.py rename to ntc_templates/parse.py diff --git a/templates/alcatel_aos_show_vlan.textfsm b/ntc_templates/templates/alcatel_aos_show_vlan.textfsm similarity index 100% rename from templates/alcatel_aos_show_vlan.textfsm rename to ntc_templates/templates/alcatel_aos_show_vlan.textfsm diff --git a/templates/alcatel_sros_oam_mac-ping.textfsm b/ntc_templates/templates/alcatel_sros_oam_mac-ping.textfsm similarity index 69% rename from templates/alcatel_sros_oam_mac-ping.textfsm rename to ntc_templates/templates/alcatel_sros_oam_mac-ping.textfsm index ff28736e7b..5da962ed77 100644 --- a/templates/alcatel_sros_oam_mac-ping.textfsm +++ b/ntc_templates/templates/alcatel_sros_oam_mac-ping.textfsm @@ -1,5 +1,5 @@ Value ROUTER (\d+\.\d+\.\d+\.\d+) -Value PORT ([[0-9]0?\/[1-2]\/[0-9]+|lag-[0-9]{1,3}) +Value PORT ([0-9]0?\/[1-2]\/[0-9]+|lag-[0-9]{1,3}) Value TAG ([0-9]{1,4}|\d+.?\d+?) Start diff --git a/templates/alcatel_sros_show_lag.textfsm b/ntc_templates/templates/alcatel_sros_show_lag.textfsm similarity index 100% rename from templates/alcatel_sros_show_lag.textfsm rename to ntc_templates/templates/alcatel_sros_show_lag.textfsm diff --git a/templates/alcatel_sros_show_port.textfsm b/ntc_templates/templates/alcatel_sros_show_port.textfsm similarity index 100% rename from templates/alcatel_sros_show_port.textfsm rename to ntc_templates/templates/alcatel_sros_show_port.textfsm diff --git a/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm b/ntc_templates/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm diff --git a/templates/alcatel_sros_show_router_bgp_summary_family.textfsm b/ntc_templates/templates/alcatel_sros_show_router_bgp_summary_family.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_bgp_summary_family.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_bgp_summary_family.textfsm diff --git a/templates/alcatel_sros_show_router_isis_adjacency.textfsm b/ntc_templates/templates/alcatel_sros_show_router_isis_adjacency.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_isis_adjacency.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_isis_adjacency.textfsm diff --git a/templates/alcatel_sros_show_router_isis_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_isis_interface.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_isis_interface.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_isis_interface.textfsm diff --git a/templates/alcatel_sros_show_router_ldp_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_ldp_interface.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_ldp_interface.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_ldp_interface.textfsm diff --git a/templates/alcatel_sros_show_router_mpls_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_mpls_interface.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_mpls_interface.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_mpls_interface.textfsm diff --git a/templates/alcatel_sros_show_router_pim_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_pim_interface.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_pim_interface.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_pim_interface.textfsm diff --git a/templates/alcatel_sros_show_router_rsvp_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_rsvp_interface.textfsm similarity index 100% rename from templates/alcatel_sros_show_router_rsvp_interface.textfsm rename to ntc_templates/templates/alcatel_sros_show_router_rsvp_interface.textfsm diff --git a/templates/alcatel_sros_show_service_id_base.textfsm b/ntc_templates/templates/alcatel_sros_show_service_id_base.textfsm similarity index 100% rename from templates/alcatel_sros_show_service_id_base.textfsm rename to ntc_templates/templates/alcatel_sros_show_service_id_base.textfsm diff --git a/templates/alcatel_sros_show_service_sdp.textfsm b/ntc_templates/templates/alcatel_sros_show_service_sdp.textfsm similarity index 100% rename from templates/alcatel_sros_show_service_sdp.textfsm rename to ntc_templates/templates/alcatel_sros_show_service_sdp.textfsm diff --git a/templates/arista_eos_bash_df_-h.textfsm b/ntc_templates/templates/arista_eos_bash_df_-h.textfsm similarity index 100% rename from templates/arista_eos_bash_df_-h.textfsm rename to ntc_templates/templates/arista_eos_bash_df_-h.textfsm diff --git a/templates/arista_eos_dir_flash.textfsm b/ntc_templates/templates/arista_eos_dir_flash.textfsm similarity index 100% rename from templates/arista_eos_dir_flash.textfsm rename to ntc_templates/templates/arista_eos_dir_flash.textfsm diff --git a/templates/arista_eos_show_boot-config.textfsm b/ntc_templates/templates/arista_eos_show_boot-config.textfsm similarity index 100% rename from templates/arista_eos_show_boot-config.textfsm rename to ntc_templates/templates/arista_eos_show_boot-config.textfsm diff --git a/templates/arista_eos_show_clock.textfsm b/ntc_templates/templates/arista_eos_show_clock.textfsm similarity index 100% rename from templates/arista_eos_show_clock.textfsm rename to ntc_templates/templates/arista_eos_show_clock.textfsm diff --git a/templates/arista_eos_show_environment_cooling.textfsm b/ntc_templates/templates/arista_eos_show_environment_cooling.textfsm similarity index 100% rename from templates/arista_eos_show_environment_cooling.textfsm rename to ntc_templates/templates/arista_eos_show_environment_cooling.textfsm diff --git a/templates/arista_eos_show_environment_temperature.textfsm b/ntc_templates/templates/arista_eos_show_environment_temperature.textfsm similarity index 100% rename from templates/arista_eos_show_environment_temperature.textfsm rename to ntc_templates/templates/arista_eos_show_environment_temperature.textfsm diff --git a/templates/arista_eos_show_hostname.textfsm b/ntc_templates/templates/arista_eos_show_hostname.textfsm similarity index 100% rename from templates/arista_eos_show_hostname.textfsm rename to ntc_templates/templates/arista_eos_show_hostname.textfsm diff --git a/templates/arista_eos_show_interfaces.textfsm b/ntc_templates/templates/arista_eos_show_interfaces.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces.textfsm rename to ntc_templates/templates/arista_eos_show_interfaces.textfsm diff --git a/templates/arista_eos_show_interfaces_description.textfsm b/ntc_templates/templates/arista_eos_show_interfaces_description.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_description.textfsm rename to ntc_templates/templates/arista_eos_show_interfaces_description.textfsm diff --git a/templates/arista_eos_show_interfaces_status.textfsm b/ntc_templates/templates/arista_eos_show_interfaces_status.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_status.textfsm rename to ntc_templates/templates/arista_eos_show_interfaces_status.textfsm diff --git a/templates/arista_eos_show_interfaces_transceiver.textfsm b/ntc_templates/templates/arista_eos_show_interfaces_transceiver.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_transceiver.textfsm rename to ntc_templates/templates/arista_eos_show_interfaces_transceiver.textfsm diff --git a/templates/arista_eos_show_interfaces_transceiver_detail.textfsm b/ntc_templates/templates/arista_eos_show_interfaces_transceiver_detail.textfsm similarity index 100% rename from templates/arista_eos_show_interfaces_transceiver_detail.textfsm rename to ntc_templates/templates/arista_eos_show_interfaces_transceiver_detail.textfsm diff --git a/templates/arista_eos_show_inventory.textfsm b/ntc_templates/templates/arista_eos_show_inventory.textfsm similarity index 100% rename from templates/arista_eos_show_inventory.textfsm rename to ntc_templates/templates/arista_eos_show_inventory.textfsm diff --git a/templates/arista_eos_show_ip_access-lists.textfsm b/ntc_templates/templates/arista_eos_show_ip_access-lists.textfsm similarity index 100% rename from templates/arista_eos_show_ip_access-lists.textfsm rename to ntc_templates/templates/arista_eos_show_ip_access-lists.textfsm diff --git a/templates/arista_eos_show_ip_arp.textfsm b/ntc_templates/templates/arista_eos_show_ip_arp.textfsm similarity index 100% rename from templates/arista_eos_show_ip_arp.textfsm rename to ntc_templates/templates/arista_eos_show_ip_arp.textfsm diff --git a/templates/arista_eos_show_ip_bgp.textfsm b/ntc_templates/templates/arista_eos_show_ip_bgp.textfsm similarity index 100% rename from templates/arista_eos_show_ip_bgp.textfsm rename to ntc_templates/templates/arista_eos_show_ip_bgp.textfsm diff --git a/templates/arista_eos_show_ip_bgp_summary.textfsm b/ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/arista_eos_show_ip_bgp_summary.textfsm rename to ntc_templates/templates/arista_eos_show_ip_bgp_summary.textfsm diff --git a/templates/arista_eos_show_ip_helper-address.textfsm b/ntc_templates/templates/arista_eos_show_ip_helper-address.textfsm similarity index 100% rename from templates/arista_eos_show_ip_helper-address.textfsm rename to ntc_templates/templates/arista_eos_show_ip_helper-address.textfsm diff --git a/templates/arista_eos_show_ip_interface_brief.textfsm b/ntc_templates/templates/arista_eos_show_ip_interface_brief.textfsm similarity index 100% rename from templates/arista_eos_show_ip_interface_brief.textfsm rename to ntc_templates/templates/arista_eos_show_ip_interface_brief.textfsm diff --git a/templates/arista_eos_show_ip_ospf_database.textfsm b/ntc_templates/templates/arista_eos_show_ip_ospf_database.textfsm similarity index 100% rename from templates/arista_eos_show_ip_ospf_database.textfsm rename to ntc_templates/templates/arista_eos_show_ip_ospf_database.textfsm diff --git a/templates/arista_eos_show_ip_ospf_neighbor.textfsm b/ntc_templates/templates/arista_eos_show_ip_ospf_neighbor.textfsm similarity index 100% rename from templates/arista_eos_show_ip_ospf_neighbor.textfsm rename to ntc_templates/templates/arista_eos_show_ip_ospf_neighbor.textfsm diff --git a/templates/arista_eos_show_ip_route.textfsm b/ntc_templates/templates/arista_eos_show_ip_route.textfsm similarity index 100% rename from templates/arista_eos_show_ip_route.textfsm rename to ntc_templates/templates/arista_eos_show_ip_route.textfsm diff --git a/templates/arista_eos_show_isis_neighbors.textfsm b/ntc_templates/templates/arista_eos_show_isis_neighbors.textfsm similarity index 100% rename from templates/arista_eos_show_isis_neighbors.textfsm rename to ntc_templates/templates/arista_eos_show_isis_neighbors.textfsm diff --git a/templates/arista_eos_show_lldp_neighbors.textfsm b/ntc_templates/templates/arista_eos_show_lldp_neighbors.textfsm similarity index 100% rename from templates/arista_eos_show_lldp_neighbors.textfsm rename to ntc_templates/templates/arista_eos_show_lldp_neighbors.textfsm diff --git a/templates/arista_eos_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/arista_eos_show_lldp_neighbors_detail.textfsm rename to ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm diff --git a/templates/arista_eos_show_mac_address-table.textfsm b/ntc_templates/templates/arista_eos_show_mac_address-table.textfsm similarity index 100% rename from templates/arista_eos_show_mac_address-table.textfsm rename to ntc_templates/templates/arista_eos_show_mac_address-table.textfsm diff --git a/templates/arista_eos_show_mac_security_interface.textfsm b/ntc_templates/templates/arista_eos_show_mac_security_interface.textfsm similarity index 100% rename from templates/arista_eos_show_mac_security_interface.textfsm rename to ntc_templates/templates/arista_eos_show_mac_security_interface.textfsm diff --git a/templates/arista_eos_show_mac_security_mka_counters.textfsm b/ntc_templates/templates/arista_eos_show_mac_security_mka_counters.textfsm similarity index 100% rename from templates/arista_eos_show_mac_security_mka_counters.textfsm rename to ntc_templates/templates/arista_eos_show_mac_security_mka_counters.textfsm diff --git a/templates/arista_eos_show_mac_security_participants_detail.textfsm b/ntc_templates/templates/arista_eos_show_mac_security_participants_detail.textfsm similarity index 100% rename from templates/arista_eos_show_mac_security_participants_detail.textfsm rename to ntc_templates/templates/arista_eos_show_mac_security_participants_detail.textfsm diff --git a/templates/arista_eos_show_mlag.textfsm b/ntc_templates/templates/arista_eos_show_mlag.textfsm similarity index 100% rename from templates/arista_eos_show_mlag.textfsm rename to ntc_templates/templates/arista_eos_show_mlag.textfsm diff --git a/templates/arista_eos_show_module.textfsm b/ntc_templates/templates/arista_eos_show_module.textfsm similarity index 100% rename from templates/arista_eos_show_module.textfsm rename to ntc_templates/templates/arista_eos_show_module.textfsm diff --git a/templates/arista_eos_show_port-channel_summary.textfsm b/ntc_templates/templates/arista_eos_show_port-channel_summary.textfsm similarity index 100% rename from templates/arista_eos_show_port-channel_summary.textfsm rename to ntc_templates/templates/arista_eos_show_port-channel_summary.textfsm diff --git a/templates/arista_eos_show_reload_cause.textfsm b/ntc_templates/templates/arista_eos_show_reload_cause.textfsm similarity index 100% rename from templates/arista_eos_show_reload_cause.textfsm rename to ntc_templates/templates/arista_eos_show_reload_cause.textfsm diff --git a/templates/arista_eos_show_snmp_community.textfsm b/ntc_templates/templates/arista_eos_show_snmp_community.textfsm similarity index 100% rename from templates/arista_eos_show_snmp_community.textfsm rename to ntc_templates/templates/arista_eos_show_snmp_community.textfsm diff --git a/templates/arista_eos_show_version.textfsm b/ntc_templates/templates/arista_eos_show_version.textfsm similarity index 100% rename from templates/arista_eos_show_version.textfsm rename to ntc_templates/templates/arista_eos_show_version.textfsm diff --git a/templates/arista_eos_show_vlan.textfsm b/ntc_templates/templates/arista_eos_show_vlan.textfsm similarity index 100% rename from templates/arista_eos_show_vlan.textfsm rename to ntc_templates/templates/arista_eos_show_vlan.textfsm diff --git a/templates/arista_eos_show_vrf.textfsm b/ntc_templates/templates/arista_eos_show_vrf.textfsm similarity index 100% rename from templates/arista_eos_show_vrf.textfsm rename to ntc_templates/templates/arista_eos_show_vrf.textfsm diff --git a/templates/aruba_os_show_arp.textfsm b/ntc_templates/templates/aruba_os_show_arp.textfsm similarity index 100% rename from templates/aruba_os_show_arp.textfsm rename to ntc_templates/templates/aruba_os_show_arp.textfsm diff --git a/templates/aruba_os_show_ip_interface_brief.textfsm b/ntc_templates/templates/aruba_os_show_ip_interface_brief.textfsm similarity index 100% rename from templates/aruba_os_show_ip_interface_brief.textfsm rename to ntc_templates/templates/aruba_os_show_ip_interface_brief.textfsm diff --git a/templates/aruba_os_show_ipv6_interface_brief.textfsm b/ntc_templates/templates/aruba_os_show_ipv6_interface_brief.textfsm similarity index 100% rename from templates/aruba_os_show_ipv6_interface_brief.textfsm rename to ntc_templates/templates/aruba_os_show_ipv6_interface_brief.textfsm diff --git a/templates/avaya_ers_show_interface_name.textfsm b/ntc_templates/templates/avaya_ers_show_interface_name.textfsm similarity index 100% rename from templates/avaya_ers_show_interface_name.textfsm rename to ntc_templates/templates/avaya_ers_show_interface_name.textfsm diff --git a/templates/avaya_ers_show_logging_config.textfsm b/ntc_templates/templates/avaya_ers_show_logging_config.textfsm similarity index 100% rename from templates/avaya_ers_show_logging_config.textfsm rename to ntc_templates/templates/avaya_ers_show_logging_config.textfsm diff --git a/templates/avaya_ers_show_mac-address-table.textfsm b/ntc_templates/templates/avaya_ers_show_mac-address-table.textfsm similarity index 100% rename from templates/avaya_ers_show_mac-address-table.textfsm rename to ntc_templates/templates/avaya_ers_show_mac-address-table.textfsm diff --git a/templates/avaya_ers_show_mlt.textfsm b/ntc_templates/templates/avaya_ers_show_mlt.textfsm similarity index 100% rename from templates/avaya_ers_show_mlt.textfsm rename to ntc_templates/templates/avaya_ers_show_mlt.textfsm diff --git a/templates/avaya_ers_show_mlt_all-members.textfsm b/ntc_templates/templates/avaya_ers_show_mlt_all-members.textfsm similarity index 100% rename from templates/avaya_ers_show_mlt_all-members.textfsm rename to ntc_templates/templates/avaya_ers_show_mlt_all-members.textfsm diff --git a/templates/avaya_ers_show_sys-info.textfsm b/ntc_templates/templates/avaya_ers_show_sys-info.textfsm similarity index 100% rename from templates/avaya_ers_show_sys-info.textfsm rename to ntc_templates/templates/avaya_ers_show_sys-info.textfsm diff --git a/templates/avaya_ers_show_vlan.textfsm b/ntc_templates/templates/avaya_ers_show_vlan.textfsm similarity index 100% rename from templates/avaya_ers_show_vlan.textfsm rename to ntc_templates/templates/avaya_ers_show_vlan.textfsm diff --git a/templates/avaya_vsp_show_software.textfsm b/ntc_templates/templates/avaya_vsp_show_software.textfsm similarity index 100% rename from templates/avaya_vsp_show_software.textfsm rename to ntc_templates/templates/avaya_vsp_show_software.textfsm diff --git a/templates/broadcom_icos_show_isdp_neighbors.textfsm b/ntc_templates/templates/broadcom_icos_show_isdp_neighbors.textfsm similarity index 100% rename from templates/broadcom_icos_show_isdp_neighbors.textfsm rename to ntc_templates/templates/broadcom_icos_show_isdp_neighbors.textfsm diff --git a/templates/broadcom_icos_show_lldp_remote-device_all.textfsm b/ntc_templates/templates/broadcom_icos_show_lldp_remote-device_all.textfsm similarity index 100% rename from templates/broadcom_icos_show_lldp_remote-device_all.textfsm rename to ntc_templates/templates/broadcom_icos_show_lldp_remote-device_all.textfsm diff --git a/templates/broadcom_icos_show_mac-addr-table.textfsm b/ntc_templates/templates/broadcom_icos_show_mac-addr-table.textfsm similarity index 100% rename from templates/broadcom_icos_show_mac-addr-table.textfsm rename to ntc_templates/templates/broadcom_icos_show_mac-addr-table.textfsm diff --git a/templates/broadcom_icos_show_version.textfsm b/ntc_templates/templates/broadcom_icos_show_version.textfsm similarity index 100% rename from templates/broadcom_icos_show_version.textfsm rename to ntc_templates/templates/broadcom_icos_show_version.textfsm diff --git a/templates/broadcom_icos_show_vlan_brief.textfsm b/ntc_templates/templates/broadcom_icos_show_vlan_brief.textfsm similarity index 100% rename from templates/broadcom_icos_show_vlan_brief.textfsm rename to ntc_templates/templates/broadcom_icos_show_vlan_brief.textfsm diff --git a/templates/brocade_fastiron_show_arp.textfsm b/ntc_templates/templates/brocade_fastiron_show_arp.textfsm similarity index 100% rename from templates/brocade_fastiron_show_arp.textfsm rename to ntc_templates/templates/brocade_fastiron_show_arp.textfsm diff --git a/templates/brocade_fastiron_show_interfaces.textfsm b/ntc_templates/templates/brocade_fastiron_show_interfaces.textfsm similarity index 100% rename from templates/brocade_fastiron_show_interfaces.textfsm rename to ntc_templates/templates/brocade_fastiron_show_interfaces.textfsm diff --git a/templates/brocade_fastiron_show_interfaces_brief.textfsm b/ntc_templates/templates/brocade_fastiron_show_interfaces_brief.textfsm similarity index 100% rename from templates/brocade_fastiron_show_interfaces_brief.textfsm rename to ntc_templates/templates/brocade_fastiron_show_interfaces_brief.textfsm diff --git a/templates/brocade_fastiron_show_lag_brief.textfsm b/ntc_templates/templates/brocade_fastiron_show_lag_brief.textfsm similarity index 100% rename from templates/brocade_fastiron_show_lag_brief.textfsm rename to ntc_templates/templates/brocade_fastiron_show_lag_brief.textfsm diff --git a/templates/brocade_fastiron_show_lldp_neighbors.textfsm b/ntc_templates/templates/brocade_fastiron_show_lldp_neighbors.textfsm similarity index 100% rename from templates/brocade_fastiron_show_lldp_neighbors.textfsm rename to ntc_templates/templates/brocade_fastiron_show_lldp_neighbors.textfsm diff --git a/templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm rename to ntc_templates/templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm diff --git a/templates/brocade_fastiron_show_mac-address.textfsm b/ntc_templates/templates/brocade_fastiron_show_mac-address.textfsm similarity index 100% rename from templates/brocade_fastiron_show_mac-address.textfsm rename to ntc_templates/templates/brocade_fastiron_show_mac-address.textfsm diff --git a/templates/brocade_fastiron_show_metro.textfsm b/ntc_templates/templates/brocade_fastiron_show_metro.textfsm similarity index 100% rename from templates/brocade_fastiron_show_metro.textfsm rename to ntc_templates/templates/brocade_fastiron_show_metro.textfsm diff --git a/templates/brocade_fastiron_show_monitor.textfsm b/ntc_templates/templates/brocade_fastiron_show_monitor.textfsm similarity index 100% rename from templates/brocade_fastiron_show_monitor.textfsm rename to ntc_templates/templates/brocade_fastiron_show_monitor.textfsm diff --git a/templates/brocade_fastiron_show_running-config_vlan.textfsm b/ntc_templates/templates/brocade_fastiron_show_running-config_vlan.textfsm similarity index 100% rename from templates/brocade_fastiron_show_running-config_vlan.textfsm rename to ntc_templates/templates/brocade_fastiron_show_running-config_vlan.textfsm diff --git a/templates/brocade_fastiron_show_span.textfsm b/ntc_templates/templates/brocade_fastiron_show_span.textfsm similarity index 100% rename from templates/brocade_fastiron_show_span.textfsm rename to ntc_templates/templates/brocade_fastiron_show_span.textfsm diff --git a/templates/brocade_fastiron_show_topo.textfsm b/ntc_templates/templates/brocade_fastiron_show_topo.textfsm similarity index 100% rename from templates/brocade_fastiron_show_topo.textfsm rename to ntc_templates/templates/brocade_fastiron_show_topo.textfsm diff --git a/templates/brocade_fastiron_show_trunk.textfsm b/ntc_templates/templates/brocade_fastiron_show_trunk.textfsm similarity index 100% rename from templates/brocade_fastiron_show_trunk.textfsm rename to ntc_templates/templates/brocade_fastiron_show_trunk.textfsm diff --git a/templates/brocade_fastiron_show_version.textfsm b/ntc_templates/templates/brocade_fastiron_show_version.textfsm similarity index 100% rename from templates/brocade_fastiron_show_version.textfsm rename to ntc_templates/templates/brocade_fastiron_show_version.textfsm diff --git a/templates/brocade_netiron_show_interfaces.textfsm b/ntc_templates/templates/brocade_netiron_show_interfaces.textfsm similarity index 100% rename from templates/brocade_netiron_show_interfaces.textfsm rename to ntc_templates/templates/brocade_netiron_show_interfaces.textfsm diff --git a/templates/brocade_netiron_show_interfaces_brief.textfsm b/ntc_templates/templates/brocade_netiron_show_interfaces_brief.textfsm similarity index 100% rename from templates/brocade_netiron_show_interfaces_brief.textfsm rename to ntc_templates/templates/brocade_netiron_show_interfaces_brief.textfsm diff --git a/templates/brocade_netiron_show_lag_brief.textfsm b/ntc_templates/templates/brocade_netiron_show_lag_brief.textfsm similarity index 100% rename from templates/brocade_netiron_show_lag_brief.textfsm rename to ntc_templates/templates/brocade_netiron_show_lag_brief.textfsm diff --git a/templates/brocade_netiron_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/brocade_netiron_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/brocade_netiron_show_lldp_neighbors_detail.textfsm rename to ntc_templates/templates/brocade_netiron_show_lldp_neighbors_detail.textfsm diff --git a/templates/brocade_netiron_show_metro.textfsm b/ntc_templates/templates/brocade_netiron_show_metro.textfsm similarity index 100% rename from templates/brocade_netiron_show_metro.textfsm rename to ntc_templates/templates/brocade_netiron_show_metro.textfsm diff --git a/templates/brocade_netiron_show_monitor_actual.textfsm b/ntc_templates/templates/brocade_netiron_show_monitor_actual.textfsm similarity index 100% rename from templates/brocade_netiron_show_monitor_actual.textfsm rename to ntc_templates/templates/brocade_netiron_show_monitor_actual.textfsm diff --git a/templates/brocade_netiron_show_running-config_interface.textfsm b/ntc_templates/templates/brocade_netiron_show_running-config_interface.textfsm similarity index 100% rename from templates/brocade_netiron_show_running-config_interface.textfsm rename to ntc_templates/templates/brocade_netiron_show_running-config_interface.textfsm diff --git a/templates/brocade_netiron_show_running-config_vlan.textfsm b/ntc_templates/templates/brocade_netiron_show_running-config_vlan.textfsm similarity index 100% rename from templates/brocade_netiron_show_running-config_vlan.textfsm rename to ntc_templates/templates/brocade_netiron_show_running-config_vlan.textfsm diff --git a/templates/brocade_netiron_show_span.textfsm b/ntc_templates/templates/brocade_netiron_show_span.textfsm similarity index 100% rename from templates/brocade_netiron_show_span.textfsm rename to ntc_templates/templates/brocade_netiron_show_span.textfsm diff --git a/templates/brocade_netiron_show_topo.textfsm b/ntc_templates/templates/brocade_netiron_show_topo.textfsm similarity index 100% rename from templates/brocade_netiron_show_topo.textfsm rename to ntc_templates/templates/brocade_netiron_show_topo.textfsm diff --git a/templates/checkpoint_gaia_fw_stat.textfsm b/ntc_templates/templates/checkpoint_gaia_fw_stat.textfsm similarity index 100% rename from templates/checkpoint_gaia_fw_stat.textfsm rename to ntc_templates/templates/checkpoint_gaia_fw_stat.textfsm diff --git a/templates/checkpoint_gaia_show_arp_dynamic_all.textfsm b/ntc_templates/templates/checkpoint_gaia_show_arp_dynamic_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_arp_dynamic_all.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_arp_dynamic_all.textfsm diff --git a/templates/checkpoint_gaia_show_asset_all.textfsm b/ntc_templates/templates/checkpoint_gaia_show_asset_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_asset_all.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_asset_all.textfsm diff --git a/templates/checkpoint_gaia_show_dns.textfsm b/ntc_templates/templates/checkpoint_gaia_show_dns.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_dns.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_dns.textfsm diff --git a/templates/checkpoint_gaia_show_domainname.textfsm b/ntc_templates/templates/checkpoint_gaia_show_domainname.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_domainname.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_domainname.textfsm diff --git a/templates/checkpoint_gaia_show_interfaces_all.textfsm b/ntc_templates/templates/checkpoint_gaia_show_interfaces_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_interfaces_all.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_interfaces_all.textfsm diff --git a/templates/checkpoint_gaia_show_ipv6_route.textfsm b/ntc_templates/templates/checkpoint_gaia_show_ipv6_route.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_ipv6_route.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_ipv6_route.textfsm diff --git a/templates/checkpoint_gaia_show_lom.textfsm b/ntc_templates/templates/checkpoint_gaia_show_lom.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_lom.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_lom.textfsm diff --git a/templates/checkpoint_gaia_show_ntp_servers.textfsm b/ntc_templates/templates/checkpoint_gaia_show_ntp_servers.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_ntp_servers.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_ntp_servers.textfsm diff --git a/templates/checkpoint_gaia_show_route.textfsm b/ntc_templates/templates/checkpoint_gaia_show_route.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_route.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_route.textfsm diff --git a/templates/checkpoint_gaia_show_version_all.textfsm b/ntc_templates/templates/checkpoint_gaia_show_version_all.textfsm similarity index 100% rename from templates/checkpoint_gaia_show_version_all.textfsm rename to ntc_templates/templates/checkpoint_gaia_show_version_all.textfsm diff --git a/templates/ciena_saos_chassis_show_temperature.textfsm b/ntc_templates/templates/ciena_saos_chassis_show_temperature.textfsm similarity index 100% rename from templates/ciena_saos_chassis_show_temperature.textfsm rename to ntc_templates/templates/ciena_saos_chassis_show_temperature.textfsm diff --git a/templates/ciena_saos_port_show.textfsm b/ntc_templates/templates/ciena_saos_port_show.textfsm similarity index 100% rename from templates/ciena_saos_port_show.textfsm rename to ntc_templates/templates/ciena_saos_port_show.textfsm diff --git a/templates/ciena_saos_rstp_show.textfsm b/ntc_templates/templates/ciena_saos_rstp_show.textfsm similarity index 100% rename from templates/ciena_saos_rstp_show.textfsm rename to ntc_templates/templates/ciena_saos_rstp_show.textfsm diff --git a/templates/ciena_saos_software_show.textfsm b/ntc_templates/templates/ciena_saos_software_show.textfsm similarity index 100% rename from templates/ciena_saos_software_show.textfsm rename to ntc_templates/templates/ciena_saos_software_show.textfsm diff --git a/templates/ciena_saos_ssh_server_show_key.textfsm b/ntc_templates/templates/ciena_saos_ssh_server_show_key.textfsm similarity index 100% rename from templates/ciena_saos_ssh_server_show_key.textfsm rename to ntc_templates/templates/ciena_saos_ssh_server_show_key.textfsm diff --git a/templates/ciena_saos_vlan_show.textfsm b/ntc_templates/templates/ciena_saos_vlan_show.textfsm similarity index 100% rename from templates/ciena_saos_vlan_show.textfsm rename to ntc_templates/templates/ciena_saos_vlan_show.textfsm diff --git a/templates/cisco_asa_dir.textfsm b/ntc_templates/templates/cisco_asa_dir.textfsm similarity index 100% rename from templates/cisco_asa_dir.textfsm rename to ntc_templates/templates/cisco_asa_dir.textfsm diff --git a/templates/cisco_asa_ping.textfsm b/ntc_templates/templates/cisco_asa_ping.textfsm similarity index 100% rename from templates/cisco_asa_ping.textfsm rename to ntc_templates/templates/cisco_asa_ping.textfsm diff --git a/templates/cisco_asa_show_access-list.textfsm b/ntc_templates/templates/cisco_asa_show_access-list.textfsm similarity index 100% rename from templates/cisco_asa_show_access-list.textfsm rename to ntc_templates/templates/cisco_asa_show_access-list.textfsm diff --git a/templates/cisco_asa_show_arp.textfsm b/ntc_templates/templates/cisco_asa_show_arp.textfsm similarity index 100% rename from templates/cisco_asa_show_arp.textfsm rename to ntc_templates/templates/cisco_asa_show_arp.textfsm diff --git a/templates/cisco_asa_show_asp_drop.textfsm b/ntc_templates/templates/cisco_asa_show_asp_drop.textfsm similarity index 100% rename from templates/cisco_asa_show_asp_drop.textfsm rename to ntc_templates/templates/cisco_asa_show_asp_drop.textfsm diff --git a/templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm b/ntc_templates/templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm similarity index 100% rename from templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm rename to ntc_templates/templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm diff --git a/templates/cisco_asa_show_bgp_summary.textfsm b/ntc_templates/templates/cisco_asa_show_bgp_summary.textfsm similarity index 100% rename from templates/cisco_asa_show_bgp_summary.textfsm rename to ntc_templates/templates/cisco_asa_show_bgp_summary.textfsm diff --git a/templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm b/ntc_templates/templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm similarity index 100% rename from templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm rename to ntc_templates/templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm diff --git a/templates/cisco_asa_show_crypto_ipsec_sa.textfsm b/ntc_templates/templates/cisco_asa_show_crypto_ipsec_sa.textfsm similarity index 100% rename from templates/cisco_asa_show_crypto_ipsec_sa.textfsm rename to ntc_templates/templates/cisco_asa_show_crypto_ipsec_sa.textfsm diff --git a/templates/cisco_asa_show_failover.textfsm b/ntc_templates/templates/cisco_asa_show_failover.textfsm similarity index 100% rename from templates/cisco_asa_show_failover.textfsm rename to ntc_templates/templates/cisco_asa_show_failover.textfsm diff --git a/templates/cisco_asa_show_interface.textfsm b/ntc_templates/templates/cisco_asa_show_interface.textfsm similarity index 100% rename from templates/cisco_asa_show_interface.textfsm rename to ntc_templates/templates/cisco_asa_show_interface.textfsm diff --git a/templates/cisco_asa_show_interface_detail.textfsm b/ntc_templates/templates/cisco_asa_show_interface_detail.textfsm similarity index 100% rename from templates/cisco_asa_show_interface_detail.textfsm rename to ntc_templates/templates/cisco_asa_show_interface_detail.textfsm diff --git a/templates/cisco_asa_show_inventory.textfsm b/ntc_templates/templates/cisco_asa_show_inventory.textfsm similarity index 100% rename from templates/cisco_asa_show_inventory.textfsm rename to ntc_templates/templates/cisco_asa_show_inventory.textfsm diff --git a/templates/cisco_asa_show_license_all.textfsm b/ntc_templates/templates/cisco_asa_show_license_all.textfsm similarity index 100% rename from templates/cisco_asa_show_license_all.textfsm rename to ntc_templates/templates/cisco_asa_show_license_all.textfsm diff --git a/templates/cisco_asa_show_logging.textfsm b/ntc_templates/templates/cisco_asa_show_logging.textfsm similarity index 100% rename from templates/cisco_asa_show_logging.textfsm rename to ntc_templates/templates/cisco_asa_show_logging.textfsm diff --git a/templates/cisco_asa_show_name.textfsm b/ntc_templates/templates/cisco_asa_show_name.textfsm similarity index 100% rename from templates/cisco_asa_show_name.textfsm rename to ntc_templates/templates/cisco_asa_show_name.textfsm diff --git a/templates/cisco_asa_show_nat.textfsm b/ntc_templates/templates/cisco_asa_show_nat.textfsm similarity index 100% rename from templates/cisco_asa_show_nat.textfsm rename to ntc_templates/templates/cisco_asa_show_nat.textfsm diff --git a/templates/cisco_asa_show_object-group_network.textfsm b/ntc_templates/templates/cisco_asa_show_object-group_network.textfsm similarity index 100% rename from templates/cisco_asa_show_object-group_network.textfsm rename to ntc_templates/templates/cisco_asa_show_object-group_network.textfsm diff --git a/templates/cisco_asa_show_resource_usage.textfsm b/ntc_templates/templates/cisco_asa_show_resource_usage.textfsm similarity index 100% rename from templates/cisco_asa_show_resource_usage.textfsm rename to ntc_templates/templates/cisco_asa_show_resource_usage.textfsm diff --git a/templates/cisco_asa_show_route.textfsm b/ntc_templates/templates/cisco_asa_show_route.textfsm similarity index 100% rename from templates/cisco_asa_show_route.textfsm rename to ntc_templates/templates/cisco_asa_show_route.textfsm diff --git a/templates/cisco_asa_show_running-config_all_crypto_map.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_all_crypto_map.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_all_crypto_map.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_all_crypto_map.textfsm diff --git a/templates/cisco_asa_show_running-config_crypto_ikev1.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_crypto_ikev1.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_crypto_ikev1.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_crypto_ikev1.textfsm diff --git a/templates/cisco_asa_show_running-config_crypto_map.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_crypto_map.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_crypto_map.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_crypto_map.textfsm diff --git a/templates/cisco_asa_show_running-config_ipsec.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_ipsec.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_ipsec.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_ipsec.textfsm diff --git a/templates/cisco_asa_show_running-config_object_network.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_object_network.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_object_network.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_object_network.textfsm diff --git a/templates/cisco_asa_show_running-config_tunnel-group.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_tunnel-group.textfsm similarity index 100% rename from templates/cisco_asa_show_running-config_tunnel-group.textfsm rename to ntc_templates/templates/cisco_asa_show_running-config_tunnel-group.textfsm diff --git a/templates/cisco_asa_show_version.textfsm b/ntc_templates/templates/cisco_asa_show_version.textfsm similarity index 100% rename from templates/cisco_asa_show_version.textfsm rename to ntc_templates/templates/cisco_asa_show_version.textfsm diff --git a/templates/cisco_asa_show_vpn-sessiondb.textfsm b/ntc_templates/templates/cisco_asa_show_vpn-sessiondb.textfsm similarity index 100% rename from templates/cisco_asa_show_vpn-sessiondb.textfsm rename to ntc_templates/templates/cisco_asa_show_vpn-sessiondb.textfsm diff --git a/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm b/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm similarity index 100% rename from templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm rename to ntc_templates/templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm diff --git a/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm b/ntc_templates/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm similarity index 100% rename from templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm rename to ntc_templates/templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm diff --git a/templates/cisco_asa_show_xlate.textfsm b/ntc_templates/templates/cisco_asa_show_xlate.textfsm similarity index 100% rename from templates/cisco_asa_show_xlate.textfsm rename to ntc_templates/templates/cisco_asa_show_xlate.textfsm diff --git a/templates/cisco_ios_dir.textfsm b/ntc_templates/templates/cisco_ios_dir.textfsm similarity index 100% rename from templates/cisco_ios_dir.textfsm rename to ntc_templates/templates/cisco_ios_dir.textfsm diff --git a/templates/cisco_ios_show_access-list.textfsm b/ntc_templates/templates/cisco_ios_show_access-list.textfsm similarity index 100% rename from templates/cisco_ios_show_access-list.textfsm rename to ntc_templates/templates/cisco_ios_show_access-list.textfsm diff --git a/templates/cisco_ios_show_access-session.textfsm b/ntc_templates/templates/cisco_ios_show_access-session.textfsm similarity index 100% rename from templates/cisco_ios_show_access-session.textfsm rename to ntc_templates/templates/cisco_ios_show_access-session.textfsm diff --git a/templates/cisco_ios_show_adjacency.textfsm b/ntc_templates/templates/cisco_ios_show_adjacency.textfsm similarity index 100% rename from templates/cisco_ios_show_adjacency.textfsm rename to ntc_templates/templates/cisco_ios_show_adjacency.textfsm diff --git a/templates/cisco_ios_show_alert_counters.textfsm b/ntc_templates/templates/cisco_ios_show_alert_counters.textfsm similarity index 100% rename from templates/cisco_ios_show_alert_counters.textfsm rename to ntc_templates/templates/cisco_ios_show_alert_counters.textfsm diff --git a/templates/cisco_ios_show_aliases.textfsm b/ntc_templates/templates/cisco_ios_show_aliases.textfsm similarity index 100% rename from templates/cisco_ios_show_aliases.textfsm rename to ntc_templates/templates/cisco_ios_show_aliases.textfsm diff --git a/templates/cisco_ios_show_archive.textfsm b/ntc_templates/templates/cisco_ios_show_archive.textfsm similarity index 100% rename from templates/cisco_ios_show_archive.textfsm rename to ntc_templates/templates/cisco_ios_show_archive.textfsm diff --git a/templates/cisco_ios_show_authentication_sessions.textfsm b/ntc_templates/templates/cisco_ios_show_authentication_sessions.textfsm similarity index 100% rename from templates/cisco_ios_show_authentication_sessions.textfsm rename to ntc_templates/templates/cisco_ios_show_authentication_sessions.textfsm diff --git a/templates/cisco_ios_show_boot.textfsm b/ntc_templates/templates/cisco_ios_show_boot.textfsm similarity index 100% rename from templates/cisco_ios_show_boot.textfsm rename to ntc_templates/templates/cisco_ios_show_boot.textfsm diff --git a/templates/cisco_ios_show_capability_feature_routing.textfsm b/ntc_templates/templates/cisco_ios_show_capability_feature_routing.textfsm similarity index 100% rename from templates/cisco_ios_show_capability_feature_routing.textfsm rename to ntc_templates/templates/cisco_ios_show_capability_feature_routing.textfsm diff --git a/templates/cisco_ios_show_cdp_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_cdp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_cdp_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_cdp_neighbors.textfsm diff --git a/templates/cisco_ios_show_cdp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_ios_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_cdp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_ios_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_ios_show_clock.textfsm b/ntc_templates/templates/cisco_ios_show_clock.textfsm similarity index 100% rename from templates/cisco_ios_show_clock.textfsm rename to ntc_templates/templates/cisco_ios_show_clock.textfsm diff --git a/templates/cisco_ios_show_controller_t1.textfsm b/ntc_templates/templates/cisco_ios_show_controller_t1.textfsm similarity index 100% rename from templates/cisco_ios_show_controller_t1.textfsm rename to ntc_templates/templates/cisco_ios_show_controller_t1.textfsm diff --git a/templates/cisco_ios_show_dmvpn.textfsm b/ntc_templates/templates/cisco_ios_show_dmvpn.textfsm similarity index 100% rename from templates/cisco_ios_show_dmvpn.textfsm rename to ntc_templates/templates/cisco_ios_show_dmvpn.textfsm diff --git a/templates/cisco_ios_show_dot1x_all.textfsm b/ntc_templates/templates/cisco_ios_show_dot1x_all.textfsm similarity index 100% rename from templates/cisco_ios_show_dot1x_all.textfsm rename to ntc_templates/templates/cisco_ios_show_dot1x_all.textfsm diff --git a/templates/cisco_ios_show_environment_power_all.textfsm b/ntc_templates/templates/cisco_ios_show_environment_power_all.textfsm similarity index 100% rename from templates/cisco_ios_show_environment_power_all.textfsm rename to ntc_templates/templates/cisco_ios_show_environment_power_all.textfsm diff --git a/templates/cisco_ios_show_environment_temperature.textfsm b/ntc_templates/templates/cisco_ios_show_environment_temperature.textfsm similarity index 100% rename from templates/cisco_ios_show_environment_temperature.textfsm rename to ntc_templates/templates/cisco_ios_show_environment_temperature.textfsm diff --git a/templates/cisco_ios_show_etherchannel_summary.textfsm b/ntc_templates/templates/cisco_ios_show_etherchannel_summary.textfsm similarity index 100% rename from templates/cisco_ios_show_etherchannel_summary.textfsm rename to ntc_templates/templates/cisco_ios_show_etherchannel_summary.textfsm diff --git a/templates/cisco_ios_show_hosts_summary.textfsm b/ntc_templates/templates/cisco_ios_show_hosts_summary.textfsm similarity index 100% rename from templates/cisco_ios_show_hosts_summary.textfsm rename to ntc_templates/templates/cisco_ios_show_hosts_summary.textfsm diff --git a/templates/cisco_ios_show_interface_transceiver.textfsm b/ntc_templates/templates/cisco_ios_show_interface_transceiver.textfsm similarity index 100% rename from templates/cisco_ios_show_interface_transceiver.textfsm rename to ntc_templates/templates/cisco_ios_show_interface_transceiver.textfsm diff --git a/templates/cisco_ios_show_interfaces.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces.textfsm rename to ntc_templates/templates/cisco_ios_show_interfaces.textfsm diff --git a/templates/cisco_ios_show_interfaces_description.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_description.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces_description.textfsm rename to ntc_templates/templates/cisco_ios_show_interfaces_description.textfsm diff --git a/templates/cisco_ios_show_interfaces_status.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces_status.textfsm rename to ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm diff --git a/templates/cisco_ios_show_interfaces_switchport.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm similarity index 100% rename from templates/cisco_ios_show_interfaces_switchport.textfsm rename to ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm diff --git a/templates/cisco_ios_show_inventory.textfsm b/ntc_templates/templates/cisco_ios_show_inventory.textfsm similarity index 100% rename from templates/cisco_ios_show_inventory.textfsm rename to ntc_templates/templates/cisco_ios_show_inventory.textfsm diff --git a/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_access-lists.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm diff --git a/templates/cisco_ios_show_ip_arp.textfsm b/ntc_templates/templates/cisco_ios_show_ip_arp.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_arp.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_arp.textfsm diff --git a/templates/cisco_ios_show_ip_bgp.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_bgp.textfsm diff --git a/templates/cisco_ios_show_ip_bgp_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors.textfsm diff --git a/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm diff --git a/templates/cisco_ios_show_ip_bgp_summary.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_bgp_summary.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm diff --git a/templates/cisco_ios_show_ip_cef.textfsm b/ntc_templates/templates/cisco_ios_show_ip_cef.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_cef.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_cef.textfsm diff --git a/templates/cisco_ios_show_ip_cef_detail.textfsm b/ntc_templates/templates/cisco_ios_show_ip_cef_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_cef_detail.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_cef_detail.textfsm diff --git a/templates/cisco_ios_show_ip_device_tracking_all.textfsm b/ntc_templates/templates/cisco_ios_show_ip_device_tracking_all.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_device_tracking_all.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_device_tracking_all.textfsm diff --git a/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_eigrp_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_eigrp_neighbors.textfsm diff --git a/templates/cisco_ios_show_ip_eigrp_topology.textfsm b/ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_eigrp_topology.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm diff --git a/templates/cisco_ios_show_ip_flow_toptalkers.textfsm b/ntc_templates/templates/cisco_ios_show_ip_flow_toptalkers.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_flow_toptalkers.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_flow_toptalkers.textfsm diff --git a/templates/cisco_ios_show_ip_interface.textfsm b/ntc_templates/templates/cisco_ios_show_ip_interface.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_interface.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_interface.textfsm diff --git a/templates/cisco_ios_show_ip_interface_brief.textfsm b/ntc_templates/templates/cisco_ios_show_ip_interface_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_interface_brief.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_interface_brief.textfsm diff --git a/templates/cisco_ios_show_ip_mroute.textfsm b/ntc_templates/templates/cisco_ios_show_ip_mroute.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_mroute.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_mroute.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_database.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_database.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_database.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_ospf_database.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_database_network.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_database_network.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_database_network.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_ospf_database_network.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_database_router.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_database_router.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_database_router.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_ospf_database_router.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_interface_brief.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_ospf_interface_brief.textfsm diff --git a/templates/cisco_ios_show_ip_ospf_neighbor.textfsm b/ntc_templates/templates/cisco_ios_show_ip_ospf_neighbor.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_ospf_neighbor.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_ospf_neighbor.textfsm diff --git a/templates/cisco_ios_show_ip_prefix-list.textfsm b/ntc_templates/templates/cisco_ios_show_ip_prefix-list.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_prefix-list.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_prefix-list.textfsm diff --git a/templates/cisco_ios_show_ip_route.textfsm b/ntc_templates/templates/cisco_ios_show_ip_route.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_route.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_route.textfsm diff --git a/templates/cisco_ios_show_ip_route_summary.textfsm b/ntc_templates/templates/cisco_ios_show_ip_route_summary.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_route_summary.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_route_summary.textfsm diff --git a/templates/cisco_ios_show_ip_source_binding.textfsm b/ntc_templates/templates/cisco_ios_show_ip_source_binding.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_source_binding.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_source_binding.textfsm diff --git a/templates/cisco_ios_show_ip_vrf_interfaces.textfsm b/ntc_templates/templates/cisco_ios_show_ip_vrf_interfaces.textfsm similarity index 100% rename from templates/cisco_ios_show_ip_vrf_interfaces.textfsm rename to ntc_templates/templates/cisco_ios_show_ip_vrf_interfaces.textfsm diff --git a/templates/cisco_ios_show_ipv6_interface_brief.textfsm b/ntc_templates/templates/cisco_ios_show_ipv6_interface_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_ipv6_interface_brief.textfsm rename to ntc_templates/templates/cisco_ios_show_ipv6_interface_brief.textfsm diff --git a/templates/cisco_ios_show_ipv6_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_ipv6_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_ipv6_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_ipv6_neighbors.textfsm diff --git a/templates/cisco_ios_show_isdn_status.textfsm b/ntc_templates/templates/cisco_ios_show_isdn_status.textfsm similarity index 100% rename from templates/cisco_ios_show_isdn_status.textfsm rename to ntc_templates/templates/cisco_ios_show_isdn_status.textfsm diff --git a/templates/cisco_ios_show_isis_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_isis_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_isis_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_isis_neighbors.textfsm diff --git a/templates/cisco_ios_show_license.textfsm b/ntc_templates/templates/cisco_ios_show_license.textfsm similarity index 100% rename from templates/cisco_ios_show_license.textfsm rename to ntc_templates/templates/cisco_ios_show_license.textfsm diff --git a/templates/cisco_ios_show_lldp_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_ios_show_lldp_neighbors.textfsm rename to ntc_templates/templates/cisco_ios_show_lldp_neighbors.textfsm diff --git a/templates/cisco_ios_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_ios_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_lldp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_ios_show_lldp_neighbors_detail.textfsm diff --git a/templates/cisco_ios_show_logging.textfsm b/ntc_templates/templates/cisco_ios_show_logging.textfsm similarity index 100% rename from templates/cisco_ios_show_logging.textfsm rename to ntc_templates/templates/cisco_ios_show_logging.textfsm diff --git a/templates/cisco_ios_show_mac-address-table.textfsm b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm similarity index 100% rename from templates/cisco_ios_show_mac-address-table.textfsm rename to ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm diff --git a/templates/cisco_ios_show_module.textfsm b/ntc_templates/templates/cisco_ios_show_module.textfsm similarity index 100% rename from templates/cisco_ios_show_module.textfsm rename to ntc_templates/templates/cisco_ios_show_module.textfsm diff --git a/templates/cisco_ios_show_module_online_diag.textfsm b/ntc_templates/templates/cisco_ios_show_module_online_diag.textfsm similarity index 100% rename from templates/cisco_ios_show_module_online_diag.textfsm rename to ntc_templates/templates/cisco_ios_show_module_online_diag.textfsm diff --git a/templates/cisco_ios_show_module_status.textfsm b/ntc_templates/templates/cisco_ios_show_module_status.textfsm similarity index 100% rename from templates/cisco_ios_show_module_status.textfsm rename to ntc_templates/templates/cisco_ios_show_module_status.textfsm diff --git a/templates/cisco_ios_show_module_submodule.textfsm b/ntc_templates/templates/cisco_ios_show_module_submodule.textfsm similarity index 100% rename from templates/cisco_ios_show_module_submodule.textfsm rename to ntc_templates/templates/cisco_ios_show_module_submodule.textfsm diff --git a/templates/cisco_ios_show_mpls_interfaces.textfsm b/ntc_templates/templates/cisco_ios_show_mpls_interfaces.textfsm similarity index 100% rename from templates/cisco_ios_show_mpls_interfaces.textfsm rename to ntc_templates/templates/cisco_ios_show_mpls_interfaces.textfsm diff --git a/templates/cisco_ios_show_object-group.textfsm b/ntc_templates/templates/cisco_ios_show_object-group.textfsm similarity index 100% rename from templates/cisco_ios_show_object-group.textfsm rename to ntc_templates/templates/cisco_ios_show_object-group.textfsm diff --git a/templates/cisco_ios_show_platform_diag.textfsm b/ntc_templates/templates/cisco_ios_show_platform_diag.textfsm similarity index 100% rename from templates/cisco_ios_show_platform_diag.textfsm rename to ntc_templates/templates/cisco_ios_show_platform_diag.textfsm diff --git a/templates/cisco_ios_show_power_available.textfsm b/ntc_templates/templates/cisco_ios_show_power_available.textfsm similarity index 100% rename from templates/cisco_ios_show_power_available.textfsm rename to ntc_templates/templates/cisco_ios_show_power_available.textfsm diff --git a/templates/cisco_ios_show_power_status.textfsm b/ntc_templates/templates/cisco_ios_show_power_status.textfsm similarity index 100% rename from templates/cisco_ios_show_power_status.textfsm rename to ntc_templates/templates/cisco_ios_show_power_status.textfsm diff --git a/templates/cisco_ios_show_power_supplies.textfsm b/ntc_templates/templates/cisco_ios_show_power_supplies.textfsm similarity index 100% rename from templates/cisco_ios_show_power_supplies.textfsm rename to ntc_templates/templates/cisco_ios_show_power_supplies.textfsm diff --git a/templates/cisco_ios_show_processes_cpu.textfsm b/ntc_templates/templates/cisco_ios_show_processes_cpu.textfsm similarity index 100% rename from templates/cisco_ios_show_processes_cpu.textfsm rename to ntc_templates/templates/cisco_ios_show_processes_cpu.textfsm diff --git a/templates/cisco_ios_show_processes_memory_sorted.textfsm b/ntc_templates/templates/cisco_ios_show_processes_memory_sorted.textfsm similarity index 100% rename from templates/cisco_ios_show_processes_memory_sorted.textfsm rename to ntc_templates/templates/cisco_ios_show_processes_memory_sorted.textfsm diff --git a/templates/cisco_ios_show_redundancy.textfsm b/ntc_templates/templates/cisco_ios_show_redundancy.textfsm similarity index 100% rename from templates/cisco_ios_show_redundancy.textfsm rename to ntc_templates/templates/cisco_ios_show_redundancy.textfsm diff --git a/templates/cisco_ios_show_route-map.textfsm b/ntc_templates/templates/cisco_ios_show_route-map.textfsm similarity index 100% rename from templates/cisco_ios_show_route-map.textfsm rename to ntc_templates/templates/cisco_ios_show_route-map.textfsm diff --git a/templates/cisco_ios_show_running-config_partition_access-list.textfsm b/ntc_templates/templates/cisco_ios_show_running-config_partition_access-list.textfsm similarity index 100% rename from templates/cisco_ios_show_running-config_partition_access-list.textfsm rename to ntc_templates/templates/cisco_ios_show_running-config_partition_access-list.textfsm diff --git a/templates/cisco_ios_show_running-config_partition_route-map.textfsm b/ntc_templates/templates/cisco_ios_show_running-config_partition_route-map.textfsm similarity index 100% rename from templates/cisco_ios_show_running-config_partition_route-map.textfsm rename to ntc_templates/templates/cisco_ios_show_running-config_partition_route-map.textfsm diff --git a/templates/cisco_ios_show_snmp_community.textfsm b/ntc_templates/templates/cisco_ios_show_snmp_community.textfsm similarity index 100% rename from templates/cisco_ios_show_snmp_community.textfsm rename to ntc_templates/templates/cisco_ios_show_snmp_community.textfsm diff --git a/templates/cisco_ios_show_snmp_user.textfsm b/ntc_templates/templates/cisco_ios_show_snmp_user.textfsm similarity index 100% rename from templates/cisco_ios_show_snmp_user.textfsm rename to ntc_templates/templates/cisco_ios_show_snmp_user.textfsm diff --git a/templates/cisco_ios_show_spanning-tree.textfsm b/ntc_templates/templates/cisco_ios_show_spanning-tree.textfsm similarity index 100% rename from templates/cisco_ios_show_spanning-tree.textfsm rename to ntc_templates/templates/cisco_ios_show_spanning-tree.textfsm diff --git a/templates/cisco_ios_show_standby.textfsm b/ntc_templates/templates/cisco_ios_show_standby.textfsm similarity index 100% rename from templates/cisco_ios_show_standby.textfsm rename to ntc_templates/templates/cisco_ios_show_standby.textfsm diff --git a/templates/cisco_ios_show_standby_brief.textfsm b/ntc_templates/templates/cisco_ios_show_standby_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_standby_brief.textfsm rename to ntc_templates/templates/cisco_ios_show_standby_brief.textfsm diff --git a/templates/cisco_ios_show_switch_detail.textfsm b/ntc_templates/templates/cisco_ios_show_switch_detail.textfsm similarity index 100% rename from templates/cisco_ios_show_switch_detail.textfsm rename to ntc_templates/templates/cisco_ios_show_switch_detail.textfsm diff --git a/templates/cisco_ios_show_switch_detail_stack_ports.textfsm b/ntc_templates/templates/cisco_ios_show_switch_detail_stack_ports.textfsm similarity index 100% rename from templates/cisco_ios_show_switch_detail_stack_ports.textfsm rename to ntc_templates/templates/cisco_ios_show_switch_detail_stack_ports.textfsm diff --git a/templates/cisco_ios_show_tacacs.textfsm b/ntc_templates/templates/cisco_ios_show_tacacs.textfsm similarity index 100% rename from templates/cisco_ios_show_tacacs.textfsm rename to ntc_templates/templates/cisco_ios_show_tacacs.textfsm diff --git a/templates/cisco_ios_show_version.textfsm b/ntc_templates/templates/cisco_ios_show_version.textfsm similarity index 100% rename from templates/cisco_ios_show_version.textfsm rename to ntc_templates/templates/cisco_ios_show_version.textfsm diff --git a/templates/cisco_ios_show_vlan.textfsm b/ntc_templates/templates/cisco_ios_show_vlan.textfsm similarity index 100% rename from templates/cisco_ios_show_vlan.textfsm rename to ntc_templates/templates/cisco_ios_show_vlan.textfsm diff --git a/templates/cisco_ios_show_vrf.textfsm b/ntc_templates/templates/cisco_ios_show_vrf.textfsm similarity index 100% rename from templates/cisco_ios_show_vrf.textfsm rename to ntc_templates/templates/cisco_ios_show_vrf.textfsm diff --git a/templates/cisco_ios_show_vrrp_all.textfsm b/ntc_templates/templates/cisco_ios_show_vrrp_all.textfsm similarity index 100% rename from templates/cisco_ios_show_vrrp_all.textfsm rename to ntc_templates/templates/cisco_ios_show_vrrp_all.textfsm diff --git a/templates/cisco_ios_show_vrrp_brief.textfsm b/ntc_templates/templates/cisco_ios_show_vrrp_brief.textfsm similarity index 100% rename from templates/cisco_ios_show_vrrp_brief.textfsm rename to ntc_templates/templates/cisco_ios_show_vrrp_brief.textfsm diff --git a/templates/cisco_ios_show_vtp_status.textfsm b/ntc_templates/templates/cisco_ios_show_vtp_status.textfsm similarity index 100% rename from templates/cisco_ios_show_vtp_status.textfsm rename to ntc_templates/templates/cisco_ios_show_vtp_status.textfsm diff --git a/templates/cisco_ios_traceroute.textfsm b/ntc_templates/templates/cisco_ios_traceroute.textfsm similarity index 100% rename from templates/cisco_ios_traceroute.textfsm rename to ntc_templates/templates/cisco_ios_traceroute.textfsm diff --git a/templates/cisco_nxos_show_access-lists.textfsm b/ntc_templates/templates/cisco_nxos_show_access-lists.textfsm similarity index 100% rename from templates/cisco_nxos_show_access-lists.textfsm rename to ntc_templates/templates/cisco_nxos_show_access-lists.textfsm diff --git a/templates/cisco_nxos_show_cdp_neighbors.textfsm b/ntc_templates/templates/cisco_nxos_show_cdp_neighbors.textfsm similarity index 100% rename from templates/cisco_nxos_show_cdp_neighbors.textfsm rename to ntc_templates/templates/cisco_nxos_show_cdp_neighbors.textfsm diff --git a/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_nxos_show_cdp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_nxos_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_nxos_show_clock.textfsm b/ntc_templates/templates/cisco_nxos_show_clock.textfsm similarity index 100% rename from templates/cisco_nxos_show_clock.textfsm rename to ntc_templates/templates/cisco_nxos_show_clock.textfsm diff --git a/templates/cisco_nxos_show_configuration_session_summary.textfsm b/ntc_templates/templates/cisco_nxos_show_configuration_session_summary.textfsm similarity index 100% rename from templates/cisco_nxos_show_configuration_session_summary.textfsm rename to ntc_templates/templates/cisco_nxos_show_configuration_session_summary.textfsm diff --git a/templates/cisco_nxos_show_cts_interface_all.textfsm b/ntc_templates/templates/cisco_nxos_show_cts_interface_all.textfsm similarity index 100% rename from templates/cisco_nxos_show_cts_interface_all.textfsm rename to ntc_templates/templates/cisco_nxos_show_cts_interface_all.textfsm diff --git a/templates/cisco_nxos_show_cts_interface_brief.textfsm b/ntc_templates/templates/cisco_nxos_show_cts_interface_brief.textfsm similarity index 100% rename from templates/cisco_nxos_show_cts_interface_brief.textfsm rename to ntc_templates/templates/cisco_nxos_show_cts_interface_brief.textfsm diff --git a/templates/cisco_nxos_show_environment.textfsm b/ntc_templates/templates/cisco_nxos_show_environment.textfsm similarity index 100% rename from templates/cisco_nxos_show_environment.textfsm rename to ntc_templates/templates/cisco_nxos_show_environment.textfsm diff --git a/templates/cisco_nxos_show_environment_temperature.textfsm b/ntc_templates/templates/cisco_nxos_show_environment_temperature.textfsm similarity index 100% rename from templates/cisco_nxos_show_environment_temperature.textfsm rename to ntc_templates/templates/cisco_nxos_show_environment_temperature.textfsm diff --git a/templates/cisco_nxos_show_feature.textfsm b/ntc_templates/templates/cisco_nxos_show_feature.textfsm similarity index 100% rename from templates/cisco_nxos_show_feature.textfsm rename to ntc_templates/templates/cisco_nxos_show_feature.textfsm diff --git a/templates/cisco_nxos_show_fex.textfsm b/ntc_templates/templates/cisco_nxos_show_fex.textfsm similarity index 100% rename from templates/cisco_nxos_show_fex.textfsm rename to ntc_templates/templates/cisco_nxos_show_fex.textfsm diff --git a/templates/cisco_nxos_show_fex_id.textfsm b/ntc_templates/templates/cisco_nxos_show_fex_id.textfsm similarity index 100% rename from templates/cisco_nxos_show_fex_id.textfsm rename to ntc_templates/templates/cisco_nxos_show_fex_id.textfsm diff --git a/templates/cisco_nxos_show_flogi_database.textfsm b/ntc_templates/templates/cisco_nxos_show_flogi_database.textfsm similarity index 100% rename from templates/cisco_nxos_show_flogi_database.textfsm rename to ntc_templates/templates/cisco_nxos_show_flogi_database.textfsm diff --git a/templates/cisco_nxos_show_forwarding_adjacency.textfsm b/ntc_templates/templates/cisco_nxos_show_forwarding_adjacency.textfsm similarity index 100% rename from templates/cisco_nxos_show_forwarding_adjacency.textfsm rename to ntc_templates/templates/cisco_nxos_show_forwarding_adjacency.textfsm diff --git a/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm b/ntc_templates/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm similarity index 100% rename from templates/cisco_nxos_show_forwarding_ipv4_route.textfsm rename to ntc_templates/templates/cisco_nxos_show_forwarding_ipv4_route.textfsm diff --git a/templates/cisco_nxos_show_hostname.textfsm b/ntc_templates/templates/cisco_nxos_show_hostname.textfsm similarity index 100% rename from templates/cisco_nxos_show_hostname.textfsm rename to ntc_templates/templates/cisco_nxos_show_hostname.textfsm diff --git a/templates/cisco_nxos_show_hsrp_all.textfsm b/ntc_templates/templates/cisco_nxos_show_hsrp_all.textfsm similarity index 100% rename from templates/cisco_nxos_show_hsrp_all.textfsm rename to ntc_templates/templates/cisco_nxos_show_hsrp_all.textfsm diff --git a/templates/cisco_nxos_show_interface.textfsm b/ntc_templates/templates/cisco_nxos_show_interface.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface.textfsm diff --git a/templates/cisco_nxos_show_interface_brief.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_brief.textfsm similarity index 97% rename from templates/cisco_nxos_show_interface_brief.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface_brief.textfsm index 1ca05046fc..a6397ca639 100644 --- a/templates/cisco_nxos_show_interface_brief.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_brief.textfsm @@ -4,7 +4,7 @@ Value STATUS (up|down) Value IP (\d+\.\d+\.\d+\.\d+) Value SPEED (\S+) Value MTU (\d+) -Value VLAN ([\d+--]+) +Value VLAN ([\d+-]+) Value TYPE (\S+) Value MODE (routed|access|trunk|pvlan|fabric) Value REASON (\S+((\s\w+)+)?) diff --git a/templates/cisco_nxos_show_interface_description.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_description.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_description.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface_description.textfsm diff --git a/templates/cisco_nxos_show_interface_status.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_status.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface_status.textfsm diff --git a/templates/cisco_nxos_show_interface_transceiver.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_transceiver.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm diff --git a/templates/cisco_nxos_show_interface_transceiver_details.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_transceiver_details.textfsm similarity index 100% rename from templates/cisco_nxos_show_interface_transceiver_details.textfsm rename to ntc_templates/templates/cisco_nxos_show_interface_transceiver_details.textfsm diff --git a/templates/cisco_nxos_show_interfaces_switchport.textfsm b/ntc_templates/templates/cisco_nxos_show_interfaces_switchport.textfsm similarity index 100% rename from templates/cisco_nxos_show_interfaces_switchport.textfsm rename to ntc_templates/templates/cisco_nxos_show_interfaces_switchport.textfsm diff --git a/templates/cisco_nxos_show_inventory.textfsm b/ntc_templates/templates/cisco_nxos_show_inventory.textfsm similarity index 100% rename from templates/cisco_nxos_show_inventory.textfsm rename to ntc_templates/templates/cisco_nxos_show_inventory.textfsm diff --git a/templates/cisco_nxos_show_ip_adjacency.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_adjacency.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_adjacency.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_adjacency.textfsm diff --git a/templates/cisco_nxos_show_ip_arp.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_arp.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_arp.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_arp.textfsm diff --git a/templates/cisco_nxos_show_ip_arp_detail.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_arp_detail.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_arp_detail.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_arp_detail.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_bgp.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_bgp.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp_neighbors.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_bgp_neighbors.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp_neighbors.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_bgp_neighbors.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp_summary.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp_summary.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_bgp_summary.textfsm diff --git a/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm diff --git a/templates/cisco_nxos_show_ip_community-list.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_community-list.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_community-list.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_community-list.textfsm diff --git a/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm diff --git a/templates/cisco_nxos_show_ip_interface.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_interface.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_interface.textfsm diff --git a/templates/cisco_nxos_show_ip_interface_brief.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_interface_brief.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_interface_brief.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_interface_brief.textfsm diff --git a/templates/cisco_nxos_show_ip_ospf_database.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_ospf_database.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_ospf_database.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_ospf_database.textfsm diff --git a/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_ospf_neighbor.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_ospf_neighbor.textfsm diff --git a/templates/cisco_nxos_show_ip_route.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_route.textfsm similarity index 100% rename from templates/cisco_nxos_show_ip_route.textfsm rename to ntc_templates/templates/cisco_nxos_show_ip_route.textfsm diff --git a/templates/cisco_nxos_show_ipv6_interface_brief.textfsm b/ntc_templates/templates/cisco_nxos_show_ipv6_interface_brief.textfsm similarity index 100% rename from templates/cisco_nxos_show_ipv6_interface_brief.textfsm rename to ntc_templates/templates/cisco_nxos_show_ipv6_interface_brief.textfsm diff --git a/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm b/ntc_templates/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm similarity index 100% rename from templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm rename to ntc_templates/templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm diff --git a/templates/cisco_nxos_show_license_usage.textfsm b/ntc_templates/templates/cisco_nxos_show_license_usage.textfsm similarity index 100% rename from templates/cisco_nxos_show_license_usage.textfsm rename to ntc_templates/templates/cisco_nxos_show_license_usage.textfsm diff --git a/templates/cisco_nxos_show_lldp_neighbors.textfsm b/ntc_templates/templates/cisco_nxos_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_nxos_show_lldp_neighbors.textfsm rename to ntc_templates/templates/cisco_nxos_show_lldp_neighbors.textfsm diff --git a/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_nxos_show_lldp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_nxos_show_lldp_neighbors_detail.textfsm diff --git a/templates/cisco_nxos_show_mac_address-table.textfsm b/ntc_templates/templates/cisco_nxos_show_mac_address-table.textfsm similarity index 100% rename from templates/cisco_nxos_show_mac_address-table.textfsm rename to ntc_templates/templates/cisco_nxos_show_mac_address-table.textfsm diff --git a/templates/cisco_nxos_show_module.textfsm b/ntc_templates/templates/cisco_nxos_show_module.textfsm similarity index 100% rename from templates/cisco_nxos_show_module.textfsm rename to ntc_templates/templates/cisco_nxos_show_module.textfsm diff --git a/templates/cisco_nxos_show_port-channel_summary.textfsm b/ntc_templates/templates/cisco_nxos_show_port-channel_summary.textfsm similarity index 100% rename from templates/cisco_nxos_show_port-channel_summary.textfsm rename to ntc_templates/templates/cisco_nxos_show_port-channel_summary.textfsm diff --git a/templates/cisco_nxos_show_processes_cpu.textfsm b/ntc_templates/templates/cisco_nxos_show_processes_cpu.textfsm similarity index 100% rename from templates/cisco_nxos_show_processes_cpu.textfsm rename to ntc_templates/templates/cisco_nxos_show_processes_cpu.textfsm diff --git a/templates/cisco_nxos_show_route-map.textfsm b/ntc_templates/templates/cisco_nxos_show_route-map.textfsm similarity index 100% rename from templates/cisco_nxos_show_route-map.textfsm rename to ntc_templates/templates/cisco_nxos_show_route-map.textfsm diff --git a/templates/cisco_nxos_show_vdc.textfsm b/ntc_templates/templates/cisco_nxos_show_vdc.textfsm similarity index 100% rename from templates/cisco_nxos_show_vdc.textfsm rename to ntc_templates/templates/cisco_nxos_show_vdc.textfsm diff --git a/templates/cisco_nxos_show_version.textfsm b/ntc_templates/templates/cisco_nxos_show_version.textfsm similarity index 100% rename from templates/cisco_nxos_show_version.textfsm rename to ntc_templates/templates/cisco_nxos_show_version.textfsm diff --git a/templates/cisco_nxos_show_vlan.textfsm b/ntc_templates/templates/cisco_nxos_show_vlan.textfsm similarity index 100% rename from templates/cisco_nxos_show_vlan.textfsm rename to ntc_templates/templates/cisco_nxos_show_vlan.textfsm diff --git a/templates/cisco_nxos_show_vpc.textfsm b/ntc_templates/templates/cisco_nxos_show_vpc.textfsm similarity index 100% rename from templates/cisco_nxos_show_vpc.textfsm rename to ntc_templates/templates/cisco_nxos_show_vpc.textfsm diff --git a/templates/cisco_nxos_show_vrf.textfsm b/ntc_templates/templates/cisco_nxos_show_vrf.textfsm similarity index 100% rename from templates/cisco_nxos_show_vrf.textfsm rename to ntc_templates/templates/cisco_nxos_show_vrf.textfsm diff --git a/templates/cisco_nxos_show_vrf_interface.textfsm b/ntc_templates/templates/cisco_nxos_show_vrf_interface.textfsm similarity index 100% rename from templates/cisco_nxos_show_vrf_interface.textfsm rename to ntc_templates/templates/cisco_nxos_show_vrf_interface.textfsm diff --git a/templates/cisco_s300_show_interfaces_status.textfsm b/ntc_templates/templates/cisco_s300_show_interfaces_status.textfsm similarity index 100% rename from templates/cisco_s300_show_interfaces_status.textfsm rename to ntc_templates/templates/cisco_s300_show_interfaces_status.textfsm diff --git a/templates/cisco_s300_show_lldp_neighbors.textfsm b/ntc_templates/templates/cisco_s300_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_s300_show_lldp_neighbors.textfsm rename to ntc_templates/templates/cisco_s300_show_lldp_neighbors.textfsm diff --git a/templates/cisco_s300_show_mac_address-table.textfsm b/ntc_templates/templates/cisco_s300_show_mac_address-table.textfsm similarity index 100% rename from templates/cisco_s300_show_mac_address-table.textfsm rename to ntc_templates/templates/cisco_s300_show_mac_address-table.textfsm diff --git a/templates/cisco_s300_show_version.textfsm b/ntc_templates/templates/cisco_s300_show_version.textfsm similarity index 100% rename from templates/cisco_s300_show_version.textfsm rename to ntc_templates/templates/cisco_s300_show_version.textfsm diff --git a/templates/cisco_wlc_ssh_show_802.11a.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_802.11a.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_802.11a.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_802.11a.textfsm diff --git a/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm diff --git a/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm diff --git a/templates/cisco_wlc_ssh_show_ap_config_general.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_ap_config_general.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_ap_config_general.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_ap_config_general.textfsm diff --git a/templates/cisco_wlc_ssh_show_ap_image_all.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_ap_image_all.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_ap_image_all.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_ap_image_all.textfsm diff --git a/templates/cisco_wlc_ssh_show_ap_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_ap_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_ap_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_ap_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_band-select.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_band-select.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_band-select.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_band-select.textfsm diff --git a/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_wlc_ssh_show_client_detail.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_client_detail.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_client_detail.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_client_detail.textfsm diff --git a/templates/cisco_wlc_ssh_show_exclusionlist.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_exclusionlist.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_exclusionlist.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_exclusionlist.textfsm diff --git a/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_interface_detailed_id.textfsm diff --git a/templates/cisco_wlc_ssh_show_interface_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_interface_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_interface_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_interface_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_inventory.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_inventory.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_inventory.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_inventory.textfsm diff --git a/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_mobility_anchor.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm diff --git a/templates/cisco_wlc_ssh_show_mobility_sum.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_mobility_sum.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_mobility_sum.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_mobility_sum.textfsm diff --git a/templates/cisco_wlc_ssh_show_port_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_port_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_port_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_port_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_radius_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_radius_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_radius_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_radius_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_redundancy_detail.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_redundancy_detail.textfsm diff --git a/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_redundancy_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_redundancy_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_stats_port_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_stats_port_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_sysinfo.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_sysinfo.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_sysinfo.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_sysinfo.textfsm diff --git a/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_tacacs_summary.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_tacacs_summary.textfsm diff --git a/templates/cisco_wlc_ssh_show_time.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_time.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_time.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_time.textfsm diff --git a/templates/cisco_wlc_ssh_show_wlan_sum.textfsm b/ntc_templates/templates/cisco_wlc_ssh_show_wlan_sum.textfsm similarity index 100% rename from templates/cisco_wlc_ssh_show_wlan_sum.textfsm rename to ntc_templates/templates/cisco_wlc_ssh_show_wlan_sum.textfsm diff --git a/templates/cisco_xr_admin_show_controller_fabric_health.textfsm b/ntc_templates/templates/cisco_xr_admin_show_controller_fabric_health.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_controller_fabric_health.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_controller_fabric_health.textfsm diff --git a/templates/cisco_xr_admin_show_environment_fan.textfsm b/ntc_templates/templates/cisco_xr_admin_show_environment_fan.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_environment_fan.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_environment_fan.textfsm diff --git a/templates/cisco_xr_admin_show_environment_power.textfsm b/ntc_templates/templates/cisco_xr_admin_show_environment_power.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_environment_power.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_environment_power.textfsm diff --git a/templates/cisco_xr_admin_show_inventory.textfsm b/ntc_templates/templates/cisco_xr_admin_show_inventory.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_inventory.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_inventory.textfsm diff --git a/templates/cisco_xr_admin_show_platform.textfsm b/ntc_templates/templates/cisco_xr_admin_show_platform.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_platform.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_platform.textfsm diff --git a/templates/cisco_xr_admin_show_vm.textfsm b/ntc_templates/templates/cisco_xr_admin_show_vm.textfsm similarity index 100% rename from templates/cisco_xr_admin_show_vm.textfsm rename to ntc_templates/templates/cisco_xr_admin_show_vm.textfsm diff --git a/templates/cisco_xr_show_arp.textfsm b/ntc_templates/templates/cisco_xr_show_arp.textfsm similarity index 100% rename from templates/cisco_xr_show_arp.textfsm rename to ntc_templates/templates/cisco_xr_show_arp.textfsm diff --git a/templates/cisco_xr_show_asic-errors_all_location.textfsm b/ntc_templates/templates/cisco_xr_show_asic-errors_all_location.textfsm similarity index 100% rename from templates/cisco_xr_show_asic-errors_all_location.textfsm rename to ntc_templates/templates/cisco_xr_show_asic-errors_all_location.textfsm diff --git a/templates/cisco_xr_show_bfd_sessions.textfsm b/ntc_templates/templates/cisco_xr_show_bfd_sessions.textfsm similarity index 100% rename from templates/cisco_xr_show_bfd_sessions.textfsm rename to ntc_templates/templates/cisco_xr_show_bfd_sessions.textfsm diff --git a/templates/cisco_xr_show_bgp.textfsm b/ntc_templates/templates/cisco_xr_show_bgp.textfsm similarity index 100% rename from templates/cisco_xr_show_bgp.textfsm rename to ntc_templates/templates/cisco_xr_show_bgp.textfsm diff --git a/templates/cisco_xr_show_bgp_neighbors.textfsm b/ntc_templates/templates/cisco_xr_show_bgp_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_bgp_neighbors.textfsm rename to ntc_templates/templates/cisco_xr_show_bgp_neighbors.textfsm diff --git a/templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm b/ntc_templates/templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm rename to ntc_templates/templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm diff --git a/templates/cisco_xr_show_cdp_neighbors_detail.textfsm b/ntc_templates/templates/cisco_xr_show_cdp_neighbors_detail.textfsm similarity index 100% rename from templates/cisco_xr_show_cdp_neighbors_detail.textfsm rename to ntc_templates/templates/cisco_xr_show_cdp_neighbors_detail.textfsm diff --git a/templates/cisco_xr_show_cef_drops_location.textfsm b/ntc_templates/templates/cisco_xr_show_cef_drops_location.textfsm similarity index 100% rename from templates/cisco_xr_show_cef_drops_location.textfsm rename to ntc_templates/templates/cisco_xr_show_cef_drops_location.textfsm diff --git a/templates/cisco_xr_show_configuration_commit_list.textfsm b/ntc_templates/templates/cisco_xr_show_configuration_commit_list.textfsm similarity index 100% rename from templates/cisco_xr_show_configuration_commit_list.textfsm rename to ntc_templates/templates/cisco_xr_show_configuration_commit_list.textfsm diff --git a/templates/cisco_xr_show_controller_fabric_plane_all.textfsm b/ntc_templates/templates/cisco_xr_show_controller_fabric_plane_all.textfsm similarity index 100% rename from templates/cisco_xr_show_controller_fabric_plane_all.textfsm rename to ntc_templates/templates/cisco_xr_show_controller_fabric_plane_all.textfsm diff --git a/templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm diff --git a/templates/cisco_xr_show_controllers_all_phy.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_all_phy.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_all_phy.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_all_phy.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm diff --git a/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm b/ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm similarity index 100% rename from templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm rename to ntc_templates/templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm diff --git a/templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm b/ntc_templates/templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm similarity index 100% rename from templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm rename to ntc_templates/templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm diff --git a/templates/cisco_xr_show_drops_np_all.textfsm b/ntc_templates/templates/cisco_xr_show_drops_np_all.textfsm similarity index 100% rename from templates/cisco_xr_show_drops_np_all.textfsm rename to ntc_templates/templates/cisco_xr_show_drops_np_all.textfsm diff --git a/templates/cisco_xr_show_hsrp.textfsm b/ntc_templates/templates/cisco_xr_show_hsrp.textfsm similarity index 100% rename from templates/cisco_xr_show_hsrp.textfsm rename to ntc_templates/templates/cisco_xr_show_hsrp.textfsm diff --git a/templates/cisco_xr_show_interface_brief.textfsm b/ntc_templates/templates/cisco_xr_show_interface_brief.textfsm similarity index 100% rename from templates/cisco_xr_show_interface_brief.textfsm rename to ntc_templates/templates/cisco_xr_show_interface_brief.textfsm diff --git a/templates/cisco_xr_show_interfaces.textfsm b/ntc_templates/templates/cisco_xr_show_interfaces.textfsm similarity index 100% rename from templates/cisco_xr_show_interfaces.textfsm rename to ntc_templates/templates/cisco_xr_show_interfaces.textfsm diff --git a/templates/cisco_xr_show_interfaces_summary.textfsm b/ntc_templates/templates/cisco_xr_show_interfaces_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_interfaces_summary.textfsm rename to ntc_templates/templates/cisco_xr_show_interfaces_summary.textfsm diff --git a/templates/cisco_xr_show_ip_bgp_summary.textfsm b/ntc_templates/templates/cisco_xr_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_ip_bgp_summary.textfsm rename to ntc_templates/templates/cisco_xr_show_ip_bgp_summary.textfsm diff --git a/templates/cisco_xr_show_ip_interface_brief.textfsm b/ntc_templates/templates/cisco_xr_show_ip_interface_brief.textfsm similarity index 100% rename from templates/cisco_xr_show_ip_interface_brief.textfsm rename to ntc_templates/templates/cisco_xr_show_ip_interface_brief.textfsm diff --git a/templates/cisco_xr_show_ip_route.textfsm b/ntc_templates/templates/cisco_xr_show_ip_route.textfsm similarity index 100% rename from templates/cisco_xr_show_ip_route.textfsm rename to ntc_templates/templates/cisco_xr_show_ip_route.textfsm diff --git a/templates/cisco_xr_show_ipv6_neighbors.textfsm b/ntc_templates/templates/cisco_xr_show_ipv6_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_ipv6_neighbors.textfsm rename to ntc_templates/templates/cisco_xr_show_ipv6_neighbors.textfsm diff --git a/templates/cisco_xr_show_isis_neighbors.textfsm b/ntc_templates/templates/cisco_xr_show_isis_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_isis_neighbors.textfsm rename to ntc_templates/templates/cisco_xr_show_isis_neighbors.textfsm diff --git a/templates/cisco_xr_show_lldp_neighbors.textfsm b/ntc_templates/templates/cisco_xr_show_lldp_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_lldp_neighbors.textfsm rename to ntc_templates/templates/cisco_xr_show_lldp_neighbors.textfsm diff --git a/templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm b/ntc_templates/templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm similarity index 100% rename from templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm rename to ntc_templates/templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm diff --git a/templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm b/ntc_templates/templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm similarity index 100% rename from templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm rename to ntc_templates/templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm diff --git a/templates/cisco_xr_show_ospf_neighbor.textfsm b/ntc_templates/templates/cisco_xr_show_ospf_neighbor.textfsm similarity index 100% rename from templates/cisco_xr_show_ospf_neighbor.textfsm rename to ntc_templates/templates/cisco_xr_show_ospf_neighbor.textfsm diff --git a/templates/cisco_xr_show_pim_neighbor.textfsm b/ntc_templates/templates/cisco_xr_show_pim_neighbor.textfsm similarity index 100% rename from templates/cisco_xr_show_pim_neighbor.textfsm rename to ntc_templates/templates/cisco_xr_show_pim_neighbor.textfsm diff --git a/templates/cisco_xr_show_processes_cpu.textfsm b/ntc_templates/templates/cisco_xr_show_processes_cpu.textfsm similarity index 100% rename from templates/cisco_xr_show_processes_cpu.textfsm rename to ntc_templates/templates/cisco_xr_show_processes_cpu.textfsm diff --git a/templates/cisco_xr_show_redundancy_summary.textfsm b/ntc_templates/templates/cisco_xr_show_redundancy_summary.textfsm similarity index 100% rename from templates/cisco_xr_show_redundancy_summary.textfsm rename to ntc_templates/templates/cisco_xr_show_redundancy_summary.textfsm diff --git a/templates/cisco_xr_show_rsvp_neighbors.textfsm b/ntc_templates/templates/cisco_xr_show_rsvp_neighbors.textfsm similarity index 100% rename from templates/cisco_xr_show_rsvp_neighbors.textfsm rename to ntc_templates/templates/cisco_xr_show_rsvp_neighbors.textfsm diff --git a/templates/cisco_xr_show_version.textfsm b/ntc_templates/templates/cisco_xr_show_version.textfsm similarity index 100% rename from templates/cisco_xr_show_version.textfsm rename to ntc_templates/templates/cisco_xr_show_version.textfsm diff --git a/templates/dell_force10_show_arp.textfsm b/ntc_templates/templates/dell_force10_show_arp.textfsm similarity index 100% rename from templates/dell_force10_show_arp.textfsm rename to ntc_templates/templates/dell_force10_show_arp.textfsm diff --git a/templates/dell_force10_show_version.textfsm b/ntc_templates/templates/dell_force10_show_version.textfsm similarity index 100% rename from templates/dell_force10_show_version.textfsm rename to ntc_templates/templates/dell_force10_show_version.textfsm diff --git a/templates/dell_force10_show_vlan.textfsm b/ntc_templates/templates/dell_force10_show_vlan.textfsm similarity index 100% rename from templates/dell_force10_show_vlan.textfsm rename to ntc_templates/templates/dell_force10_show_vlan.textfsm diff --git a/templates/dell_force10_show_vlan_brief.textfsm b/ntc_templates/templates/dell_force10_show_vlan_brief.textfsm similarity index 100% rename from templates/dell_force10_show_vlan_brief.textfsm rename to ntc_templates/templates/dell_force10_show_vlan_brief.textfsm diff --git a/templates/dell_powerconnect_show_bridge_address_table.textfsm b/ntc_templates/templates/dell_powerconnect_show_bridge_address_table.textfsm similarity index 100% rename from templates/dell_powerconnect_show_bridge_address_table.textfsm rename to ntc_templates/templates/dell_powerconnect_show_bridge_address_table.textfsm diff --git a/templates/dell_powerconnect_show_interfaces_description.textfsm b/ntc_templates/templates/dell_powerconnect_show_interfaces_description.textfsm similarity index 100% rename from templates/dell_powerconnect_show_interfaces_description.textfsm rename to ntc_templates/templates/dell_powerconnect_show_interfaces_description.textfsm diff --git a/templates/dell_powerconnect_show_interfaces_status.textfsm b/ntc_templates/templates/dell_powerconnect_show_interfaces_status.textfsm similarity index 100% rename from templates/dell_powerconnect_show_interfaces_status.textfsm rename to ntc_templates/templates/dell_powerconnect_show_interfaces_status.textfsm diff --git a/templates/fortinet_get_router_info_bgp_summary.textfsm b/ntc_templates/templates/fortinet_get_router_info_bgp_summary.textfsm similarity index 100% rename from templates/fortinet_get_router_info_bgp_summary.textfsm rename to ntc_templates/templates/fortinet_get_router_info_bgp_summary.textfsm diff --git a/templates/fortinet_get_system_arp.textfsm b/ntc_templates/templates/fortinet_get_system_arp.textfsm similarity index 100% rename from templates/fortinet_get_system_arp.textfsm rename to ntc_templates/templates/fortinet_get_system_arp.textfsm diff --git a/templates/fortinet_get_system_ha_status.textfsm b/ntc_templates/templates/fortinet_get_system_ha_status.textfsm similarity index 100% rename from templates/fortinet_get_system_ha_status.textfsm rename to ntc_templates/templates/fortinet_get_system_ha_status.textfsm diff --git a/templates/fortinet_get_system_interface.textfsm b/ntc_templates/templates/fortinet_get_system_interface.textfsm similarity index 100% rename from templates/fortinet_get_system_interface.textfsm rename to ntc_templates/templates/fortinet_get_system_interface.textfsm diff --git a/templates/fortinet_get_system_interface_physical.textfsm b/ntc_templates/templates/fortinet_get_system_interface_physical.textfsm similarity index 100% rename from templates/fortinet_get_system_interface_physical.textfsm rename to ntc_templates/templates/fortinet_get_system_interface_physical.textfsm diff --git a/templates/fortinet_get_system_status.textfsm b/ntc_templates/templates/fortinet_get_system_status.textfsm similarity index 100% rename from templates/fortinet_get_system_status.textfsm rename to ntc_templates/templates/fortinet_get_system_status.textfsm diff --git a/templates/hp_comware_display_arp.textfsm b/ntc_templates/templates/hp_comware_display_arp.textfsm similarity index 100% rename from templates/hp_comware_display_arp.textfsm rename to ntc_templates/templates/hp_comware_display_arp.textfsm diff --git a/templates/hp_comware_display_clock.textfsm b/ntc_templates/templates/hp_comware_display_clock.textfsm similarity index 100% rename from templates/hp_comware_display_clock.textfsm rename to ntc_templates/templates/hp_comware_display_clock.textfsm diff --git a/templates/hp_comware_display_counters_bound_interface.textfsm b/ntc_templates/templates/hp_comware_display_counters_bound_interface.textfsm similarity index 100% rename from templates/hp_comware_display_counters_bound_interface.textfsm rename to ntc_templates/templates/hp_comware_display_counters_bound_interface.textfsm diff --git a/templates/hp_comware_display_device_manuinfo.textfsm b/ntc_templates/templates/hp_comware_display_device_manuinfo.textfsm similarity index 100% rename from templates/hp_comware_display_device_manuinfo.textfsm rename to ntc_templates/templates/hp_comware_display_device_manuinfo.textfsm diff --git a/templates/hp_comware_display_ip_interface.textfsm b/ntc_templates/templates/hp_comware_display_ip_interface.textfsm similarity index 100% rename from templates/hp_comware_display_ip_interface.textfsm rename to ntc_templates/templates/hp_comware_display_ip_interface.textfsm diff --git a/templates/hp_comware_display_ip_routing-table.textfsm b/ntc_templates/templates/hp_comware_display_ip_routing-table.textfsm similarity index 100% rename from templates/hp_comware_display_ip_routing-table.textfsm rename to ntc_templates/templates/hp_comware_display_ip_routing-table.textfsm diff --git a/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm b/ntc_templates/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm similarity index 100% rename from templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm rename to ntc_templates/templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm diff --git a/templates/hp_comware_display_mac-address.textfsm b/ntc_templates/templates/hp_comware_display_mac-address.textfsm similarity index 100% rename from templates/hp_comware_display_mac-address.textfsm rename to ntc_templates/templates/hp_comware_display_mac-address.textfsm diff --git a/templates/hp_comware_display_vlan_brief.textfsm b/ntc_templates/templates/hp_comware_display_vlan_brief.textfsm similarity index 100% rename from templates/hp_comware_display_vlan_brief.textfsm rename to ntc_templates/templates/hp_comware_display_vlan_brief.textfsm diff --git a/templates/hp_procurve_show_arp.textfsm b/ntc_templates/templates/hp_procurve_show_arp.textfsm similarity index 100% rename from templates/hp_procurve_show_arp.textfsm rename to ntc_templates/templates/hp_procurve_show_arp.textfsm diff --git a/templates/hp_procurve_show_interfaces.textfsm b/ntc_templates/templates/hp_procurve_show_interfaces.textfsm similarity index 100% rename from templates/hp_procurve_show_interfaces.textfsm rename to ntc_templates/templates/hp_procurve_show_interfaces.textfsm diff --git a/templates/hp_procurve_show_interfaces_brief.textfsm b/ntc_templates/templates/hp_procurve_show_interfaces_brief.textfsm similarity index 100% rename from templates/hp_procurve_show_interfaces_brief.textfsm rename to ntc_templates/templates/hp_procurve_show_interfaces_brief.textfsm diff --git a/templates/hp_procurve_show_lldp_info_remote-device.textfsm b/ntc_templates/templates/hp_procurve_show_lldp_info_remote-device.textfsm similarity index 100% rename from templates/hp_procurve_show_lldp_info_remote-device.textfsm rename to ntc_templates/templates/hp_procurve_show_lldp_info_remote-device.textfsm diff --git a/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm b/ntc_templates/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm similarity index 100% rename from templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm rename to ntc_templates/templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm diff --git a/templates/hp_procurve_show_mac-address.textfsm b/ntc_templates/templates/hp_procurve_show_mac-address.textfsm similarity index 100% rename from templates/hp_procurve_show_mac-address.textfsm rename to ntc_templates/templates/hp_procurve_show_mac-address.textfsm diff --git a/templates/hp_procurve_show_port-security.textfsm b/ntc_templates/templates/hp_procurve_show_port-security.textfsm similarity index 100% rename from templates/hp_procurve_show_port-security.textfsm rename to ntc_templates/templates/hp_procurve_show_port-security.textfsm diff --git a/templates/hp_procurve_show_system.textfsm b/ntc_templates/templates/hp_procurve_show_system.textfsm similarity index 100% rename from templates/hp_procurve_show_system.textfsm rename to ntc_templates/templates/hp_procurve_show_system.textfsm diff --git a/templates/hp_procurve_show_tech_buffers.textfsm b/ntc_templates/templates/hp_procurve_show_tech_buffers.textfsm similarity index 100% rename from templates/hp_procurve_show_tech_buffers.textfsm rename to ntc_templates/templates/hp_procurve_show_tech_buffers.textfsm diff --git a/templates/hp_procurve_show_trunks.textfsm b/ntc_templates/templates/hp_procurve_show_trunks.textfsm similarity index 100% rename from templates/hp_procurve_show_trunks.textfsm rename to ntc_templates/templates/hp_procurve_show_trunks.textfsm diff --git a/templates/hp_procurve_show_vlans.textfsm b/ntc_templates/templates/hp_procurve_show_vlans.textfsm similarity index 100% rename from templates/hp_procurve_show_vlans.textfsm rename to ntc_templates/templates/hp_procurve_show_vlans.textfsm diff --git a/templates/huawei_vrp_display_interface_brief.textfsm b/ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm similarity index 100% rename from templates/huawei_vrp_display_interface_brief.textfsm rename to ntc_templates/templates/huawei_vrp_display_interface_brief.textfsm diff --git a/templates/huawei_vrp_display_lldp_neighbor.textfsm b/ntc_templates/templates/huawei_vrp_display_lldp_neighbor.textfsm similarity index 100% rename from templates/huawei_vrp_display_lldp_neighbor.textfsm rename to ntc_templates/templates/huawei_vrp_display_lldp_neighbor.textfsm diff --git a/templates/huawei_vrp_display_temperature.textfsm b/ntc_templates/templates/huawei_vrp_display_temperature.textfsm similarity index 100% rename from templates/huawei_vrp_display_temperature.textfsm rename to ntc_templates/templates/huawei_vrp_display_temperature.textfsm diff --git a/templates/huawei_vrp_display_version.textfsm b/ntc_templates/templates/huawei_vrp_display_version.textfsm similarity index 100% rename from templates/huawei_vrp_display_version.textfsm rename to ntc_templates/templates/huawei_vrp_display_version.textfsm diff --git a/templates/index b/ntc_templates/templates/index similarity index 100% rename from templates/index rename to ntc_templates/templates/index diff --git a/templates/juniper_junos_show_arp_no-resolve.textfsm b/ntc_templates/templates/juniper_junos_show_arp_no-resolve.textfsm similarity index 100% rename from templates/juniper_junos_show_arp_no-resolve.textfsm rename to ntc_templates/templates/juniper_junos_show_arp_no-resolve.textfsm diff --git a/templates/juniper_junos_show_chassis_cluster_interfaces.textfsm b/ntc_templates/templates/juniper_junos_show_chassis_cluster_interfaces.textfsm similarity index 100% rename from templates/juniper_junos_show_chassis_cluster_interfaces.textfsm rename to ntc_templates/templates/juniper_junos_show_chassis_cluster_interfaces.textfsm diff --git a/templates/juniper_junos_show_chassis_cluster_status.textfsm b/ntc_templates/templates/juniper_junos_show_chassis_cluster_status.textfsm similarity index 100% rename from templates/juniper_junos_show_chassis_cluster_status.textfsm rename to ntc_templates/templates/juniper_junos_show_chassis_cluster_status.textfsm diff --git a/templates/juniper_junos_show_chassis_firmware.textfsm b/ntc_templates/templates/juniper_junos_show_chassis_firmware.textfsm similarity index 100% rename from templates/juniper_junos_show_chassis_firmware.textfsm rename to ntc_templates/templates/juniper_junos_show_chassis_firmware.textfsm diff --git a/templates/juniper_junos_show_ethernet-switching_table.textfsm b/ntc_templates/templates/juniper_junos_show_ethernet-switching_table.textfsm similarity index 100% rename from templates/juniper_junos_show_ethernet-switching_table.textfsm rename to ntc_templates/templates/juniper_junos_show_ethernet-switching_table.textfsm diff --git a/templates/juniper_junos_show_interfaces.textfsm b/ntc_templates/templates/juniper_junos_show_interfaces.textfsm similarity index 100% rename from templates/juniper_junos_show_interfaces.textfsm rename to ntc_templates/templates/juniper_junos_show_interfaces.textfsm diff --git a/templates/juniper_junos_show_isis_adjacency.textfsm b/ntc_templates/templates/juniper_junos_show_isis_adjacency.textfsm similarity index 100% rename from templates/juniper_junos_show_isis_adjacency.textfsm rename to ntc_templates/templates/juniper_junos_show_isis_adjacency.textfsm diff --git a/templates/juniper_junos_show_lacp_interfaces.textfsm b/ntc_templates/templates/juniper_junos_show_lacp_interfaces.textfsm similarity index 100% rename from templates/juniper_junos_show_lacp_interfaces.textfsm rename to ntc_templates/templates/juniper_junos_show_lacp_interfaces.textfsm diff --git a/templates/juniper_junos_show_lldp_neighbors.textfsm b/ntc_templates/templates/juniper_junos_show_lldp_neighbors.textfsm similarity index 100% rename from templates/juniper_junos_show_lldp_neighbors.textfsm rename to ntc_templates/templates/juniper_junos_show_lldp_neighbors.textfsm diff --git a/templates/juniper_junos_show_ospf_neighbor.textfsm b/ntc_templates/templates/juniper_junos_show_ospf_neighbor.textfsm similarity index 100% rename from templates/juniper_junos_show_ospf_neighbor.textfsm rename to ntc_templates/templates/juniper_junos_show_ospf_neighbor.textfsm diff --git a/templates/juniper_junos_show_version.textfsm b/ntc_templates/templates/juniper_junos_show_version.textfsm similarity index 100% rename from templates/juniper_junos_show_version.textfsm rename to ntc_templates/templates/juniper_junos_show_version.textfsm diff --git a/templates/juniper_screenos_get_route.textfsm b/ntc_templates/templates/juniper_screenos_get_route.textfsm similarity index 100% rename from templates/juniper_screenos_get_route.textfsm rename to ntc_templates/templates/juniper_screenos_get_route.textfsm diff --git a/templates/linux_arp_-a.textfsm b/ntc_templates/templates/linux_arp_-a.textfsm similarity index 100% rename from templates/linux_arp_-a.textfsm rename to ntc_templates/templates/linux_arp_-a.textfsm diff --git a/templates/paloalto_panos_debug_swm_status.textfsm b/ntc_templates/templates/paloalto_panos_debug_swm_status.textfsm similarity index 100% rename from templates/paloalto_panos_debug_swm_status.textfsm rename to ntc_templates/templates/paloalto_panos_debug_swm_status.textfsm diff --git a/templates/paloalto_panos_show_arp_all.textfsm b/ntc_templates/templates/paloalto_panos_show_arp_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_arp_all.textfsm rename to ntc_templates/templates/paloalto_panos_show_arp_all.textfsm diff --git a/templates/paloalto_panos_show_counter_global.textfsm b/ntc_templates/templates/paloalto_panos_show_counter_global.textfsm similarity index 100% rename from templates/paloalto_panos_show_counter_global.textfsm rename to ntc_templates/templates/paloalto_panos_show_counter_global.textfsm diff --git a/templates/paloalto_panos_show_high-availability_all.textfsm b/ntc_templates/templates/paloalto_panos_show_high-availability_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_high-availability_all.textfsm rename to ntc_templates/templates/paloalto_panos_show_high-availability_all.textfsm diff --git a/templates/paloalto_panos_show_interface_hardware.textfsm b/ntc_templates/templates/paloalto_panos_show_interface_hardware.textfsm similarity index 100% rename from templates/paloalto_panos_show_interface_hardware.textfsm rename to ntc_templates/templates/paloalto_panos_show_interface_hardware.textfsm diff --git a/templates/paloalto_panos_show_interface_logical.textfsm b/ntc_templates/templates/paloalto_panos_show_interface_logical.textfsm similarity index 100% rename from templates/paloalto_panos_show_interface_logical.textfsm rename to ntc_templates/templates/paloalto_panos_show_interface_logical.textfsm diff --git a/templates/paloalto_panos_show_interface_management.textfsm b/ntc_templates/templates/paloalto_panos_show_interface_management.textfsm similarity index 100% rename from templates/paloalto_panos_show_interface_management.textfsm rename to ntc_templates/templates/paloalto_panos_show_interface_management.textfsm diff --git a/templates/paloalto_panos_show_jobs_all.textfsm b/ntc_templates/templates/paloalto_panos_show_jobs_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_jobs_all.textfsm rename to ntc_templates/templates/paloalto_panos_show_jobs_all.textfsm diff --git a/templates/paloalto_panos_show_mac_all.textfsm b/ntc_templates/templates/paloalto_panos_show_mac_all.textfsm similarity index 100% rename from templates/paloalto_panos_show_mac_all.textfsm rename to ntc_templates/templates/paloalto_panos_show_mac_all.textfsm diff --git a/templates/paloalto_panos_show_running_nat-policy.textfsm b/ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm similarity index 100% rename from templates/paloalto_panos_show_running_nat-policy.textfsm rename to ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm diff --git a/templates/paloalto_panos_show_running_security-policy.textfsm b/ntc_templates/templates/paloalto_panos_show_running_security-policy.textfsm similarity index 100% rename from templates/paloalto_panos_show_running_security-policy.textfsm rename to ntc_templates/templates/paloalto_panos_show_running_security-policy.textfsm diff --git a/templates/paloalto_panos_show_system_info.textfsm b/ntc_templates/templates/paloalto_panos_show_system_info.textfsm similarity index 100% rename from templates/paloalto_panos_show_system_info.textfsm rename to ntc_templates/templates/paloalto_panos_show_system_info.textfsm diff --git a/templates/paloalto_panos_test_security-policy-match.textfsm b/ntc_templates/templates/paloalto_panos_test_security-policy-match.textfsm similarity index 100% rename from templates/paloalto_panos_test_security-policy-match.textfsm rename to ntc_templates/templates/paloalto_panos_test_security-policy-match.textfsm diff --git a/templates/ruckus_fastiron_show_arp.textfsm b/ntc_templates/templates/ruckus_fastiron_show_arp.textfsm similarity index 100% rename from templates/ruckus_fastiron_show_arp.textfsm rename to ntc_templates/templates/ruckus_fastiron_show_arp.textfsm diff --git a/templates/ubiquiti_edgeswitch_show_arp.textfsm b/ntc_templates/templates/ubiquiti_edgeswitch_show_arp.textfsm similarity index 100% rename from templates/ubiquiti_edgeswitch_show_arp.textfsm rename to ntc_templates/templates/ubiquiti_edgeswitch_show_arp.textfsm diff --git a/templates/ubiquiti_edgeswitch_show_version.textfsm b/ntc_templates/templates/ubiquiti_edgeswitch_show_version.textfsm similarity index 100% rename from templates/ubiquiti_edgeswitch_show_version.textfsm rename to ntc_templates/templates/ubiquiti_edgeswitch_show_version.textfsm diff --git a/templates/ubiquiti_edgeswitch_show_vlan.textfsm b/ntc_templates/templates/ubiquiti_edgeswitch_show_vlan.textfsm similarity index 100% rename from templates/ubiquiti_edgeswitch_show_vlan.textfsm rename to ntc_templates/templates/ubiquiti_edgeswitch_show_vlan.textfsm diff --git a/templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm b/ntc_templates/templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm similarity index 100% rename from templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm rename to ntc_templates/templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm diff --git a/templates/vmware_nsxv_show_ip_route.textfsm b/ntc_templates/templates/vmware_nsxv_show_ip_route.textfsm similarity index 100% rename from templates/vmware_nsxv_show_ip_route.textfsm rename to ntc_templates/templates/vmware_nsxv_show_ip_route.textfsm diff --git a/templates/vyatta_vyos_show_arp.textfsm b/ntc_templates/templates/vyatta_vyos_show_arp.textfsm similarity index 100% rename from templates/vyatta_vyos_show_arp.textfsm rename to ntc_templates/templates/vyatta_vyos_show_arp.textfsm diff --git a/templates/vyatta_vyos_show_interfaces.textfsm b/ntc_templates/templates/vyatta_vyos_show_interfaces.textfsm similarity index 100% rename from templates/vyatta_vyos_show_interfaces.textfsm rename to ntc_templates/templates/vyatta_vyos_show_interfaces.textfsm diff --git a/templates/vyatta_vyos_show_ip_bgp_summary.textfsm b/ntc_templates/templates/vyatta_vyos_show_ip_bgp_summary.textfsm similarity index 100% rename from templates/vyatta_vyos_show_ip_bgp_summary.textfsm rename to ntc_templates/templates/vyatta_vyos_show_ip_bgp_summary.textfsm diff --git a/templates/watchguard_firebox_show_arp.textfsm b/ntc_templates/templates/watchguard_firebox_show_arp.textfsm similarity index 100% rename from templates/watchguard_firebox_show_arp.textfsm rename to ntc_templates/templates/watchguard_firebox_show_arp.textfsm diff --git a/templates/yamaha_show_environment.textfsm b/ntc_templates/templates/yamaha_show_environment.textfsm similarity index 100% rename from templates/yamaha_show_environment.textfsm rename to ntc_templates/templates/yamaha_show_environment.textfsm diff --git a/templates/yamaha_show_ip_route.textfsm b/ntc_templates/templates/yamaha_show_ip_route.textfsm similarity index 100% rename from templates/yamaha_show_ip_route.textfsm rename to ntc_templates/templates/yamaha_show_ip_route.textfsm diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000000..2814529484 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,667 @@ +[[package]] +name = "appdirs" +version = "1.4.4" +description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "atomicwrites" +version = "1.4.0" +description = "Atomic file writes." +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "attrs" +version = "20.3.0" +description = "Classes Without Boilerplate" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[package.extras] +dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "furo", "sphinx", "pre-commit"] +docs = ["furo", "sphinx", "zope.interface"] +tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface"] +tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six"] + +[[package]] +name = "black" +version = "20.8b1" +description = "The uncompromising code formatter." +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +appdirs = "*" +click = ">=7.1.2" +dataclasses = {version = ">=0.6", markers = "python_version < \"3.7\""} +mypy-extensions = ">=0.4.3" +pathspec = ">=0.6,<1" +regex = ">=2020.1.8" +toml = ">=0.10.1" +typed-ast = ">=1.4.0" +typing-extensions = ">=3.7.4" + +[package.extras] +colorama = ["colorama (>=0.4.3)"] +d = ["aiohttp (>=3.3.2)", "aiohttp-cors"] + +[[package]] +name = "click" +version = "7.1.2" +description = "Composable command line interface toolkit" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "colorama" +version = "0.4.4" +description = "Cross-platform colored terminal text." +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "dataclasses" +version = "0.8" +description = "A backport of the dataclasses module for Python 3.6" +category = "dev" +optional = false +python-versions = ">=3.6, <3.7" + +[[package]] +name = "distlib" +version = "0.3.1" +description = "Distribution utilities" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "filelock" +version = "3.0.12" +description = "A platform independent file lock." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "flake8" +version = "3.8.4" +description = "the modular source code checker: pep8 pyflakes and co" +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" + +[package.dependencies] +importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} +mccabe = ">=0.6.0,<0.7.0" +pycodestyle = ">=2.6.0a1,<2.7.0" +pyflakes = ">=2.2.0,<2.3.0" + +[[package]] +name = "future" +version = "0.18.2" +description = "Clean single-source support for Python 3 and 2" +category = "main" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "importlib-metadata" +version = "3.4.0" +description = "Read metadata from Python packages" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} +zipp = ">=0.5" + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] +testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "pytest-enabler", "packaging", "pep517", "pyfakefs", "flufl.flake8", "pytest-black (>=0.3.7)", "pytest-mypy", "importlib-resources (>=1.3)"] + +[[package]] +name = "importlib-resources" +version = "5.0.0" +description = "Read resources from Python packages" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +zipp = {version = ">=0.4", markers = "python_version < \"3.8\""} + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=8.2)", "rst.linker (>=1.9)"] +testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "pytest-enabler", "pytest-black (>=0.3.7)", "pytest-mypy"] + +[[package]] +name = "iniconfig" +version = "1.1.1" +description = "iniconfig: brain-dead simple config-ini parsing" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "mccabe" +version = "0.6.1" +description = "McCabe checker, plugin for flake8" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "mypy-extensions" +version = "0.4.3" +description = "Experimental type system extensions for programs checked with the mypy typechecker." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "packaging" +version = "20.8" +description = "Core utilities for Python packages" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[package.dependencies] +pyparsing = ">=2.0.2" + +[[package]] +name = "pathspec" +version = "0.8.1" +description = "Utility library for gitignore style pattern matching of file paths." +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "pluggy" +version = "0.13.1" +description = "plugin and hook calling mechanisms for python" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[package.dependencies] +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} + +[package.extras] +dev = ["pre-commit", "tox"] + +[[package]] +name = "py" +version = "1.10.0" +description = "library with cross-python path, ini-parsing, io, code, log facilities" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "pycodestyle" +version = "2.6.0" +description = "Python style guide checker" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "pyflakes" +version = "2.2.0" +description = "passive checker of Python programs" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" + +[[package]] +name = "pyparsing" +version = "2.4.7" +description = "Python parsing module" +category = "dev" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "pytest" +version = "6.2.1" +description = "pytest: simple powerful testing with Python" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} +attrs = ">=19.2.0" +colorama = {version = "*", markers = "sys_platform == \"win32\""} +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} +iniconfig = "*" +packaging = "*" +pluggy = ">=0.12,<1.0.0a1" +py = ">=1.8.2" +toml = "*" + +[package.extras] +testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] + +[[package]] +name = "pyyaml" +version = "5.3.1" +description = "YAML parser and emitter for Python" +category = "dev" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" + +[[package]] +name = "regex" +version = "2020.11.13" +description = "Alternative regular expression module, to replace re." +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "ruamel.yaml" +version = "0.16.12" +description = "ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order" +category = "dev" +optional = false +python-versions = "*" + +[package.dependencies] +"ruamel.yaml.clib" = {version = ">=0.1.2", markers = "platform_python_implementation == \"CPython\" and python_version < \"3.9\""} + +[package.extras] +docs = ["ryd"] +jinja2 = ["ruamel.yaml.jinja2 (>=0.2)"] + +[[package]] +name = "ruamel.yaml.clib" +version = "0.2.2" +description = "C version of reader, parser and emitter for ruamel.yaml derived from libyaml" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "six" +version = "1.15.0" +description = "Python 2 and 3 compatibility utilities" +category = "main" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "textfsm" +version = "1.1.0" +description = "Python module for parsing semi-structured text into python tables." +category = "main" +optional = false +python-versions = "*" + +[package.dependencies] +future = "*" +six = "*" + +[[package]] +name = "toml" +version = "0.10.2" +description = "Python Library for Tom's Obvious, Minimal Language" +category = "dev" +optional = false +python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" + +[[package]] +name = "tox" +version = "3.21.0" +description = "tox is a generic virtualenv management and test command line tool" +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" + +[package.dependencies] +colorama = {version = ">=0.4.1", markers = "platform_system == \"Windows\""} +filelock = ">=3.0.0" +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} +packaging = ">=14" +pluggy = ">=0.12.0" +py = ">=1.4.17" +six = ">=1.14.0" +toml = ">=0.9.4" +virtualenv = ">=16.0.0,<20.0.0 || >20.0.0,<20.0.1 || >20.0.1,<20.0.2 || >20.0.2,<20.0.3 || >20.0.3,<20.0.4 || >20.0.4,<20.0.5 || >20.0.5,<20.0.6 || >20.0.6,<20.0.7 || >20.0.7" + +[package.extras] +docs = ["pygments-github-lexers (>=0.0.5)", "sphinx (>=2.0.0)", "sphinxcontrib-autoprogram (>=0.1.5)", "towncrier (>=18.5.0)"] +testing = ["flaky (>=3.4.0)", "freezegun (>=0.3.11)", "psutil (>=5.6.1)", "pytest (>=4.0.0)", "pytest-cov (>=2.5.1)", "pytest-mock (>=1.10.0)", "pytest-randomly (>=1.0.0)", "pytest-xdist (>=1.22.2)", "pathlib2 (>=2.3.3)"] + +[[package]] +name = "typed-ast" +version = "1.4.2" +description = "a fork of Python 2 and 3 ast modules with type comment support" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "typing-extensions" +version = "3.7.4.3" +description = "Backported and Experimental Type Hints for Python 3.5+" +category = "dev" +optional = false +python-versions = "*" + +[[package]] +name = "virtualenv" +version = "20.3.0" +description = "Virtual Python Environment builder" +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" + +[package.dependencies] +appdirs = ">=1.4.3,<2" +distlib = ">=0.3.1,<1" +filelock = ">=3.0.0,<4" +importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} +importlib-resources = {version = ">=1.0", markers = "python_version < \"3.7\""} +six = ">=1.9.0,<2" + +[package.extras] +docs = ["proselint (>=0.10.2)", "sphinx (>=3)", "sphinx-argparse (>=0.2.5)", "sphinx-rtd-theme (>=0.4.3)", "towncrier (>=19.9.0rc1)"] +testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", "pytest (>=4)", "pytest-env (>=0.6.2)", "pytest-freezegun (>=0.4.1)", "pytest-mock (>=2)", "pytest-randomly (>=1)", "pytest-timeout (>=1)", "packaging (>=20.0)", "xonsh (>=0.9.16)"] + +[[package]] +name = "yamllint" +version = "1.25.0" +description = "A linter for YAML files." +category = "dev" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" + +[package.dependencies] +pathspec = ">=0.5.3" +pyyaml = "*" + +[[package]] +name = "zipp" +version = "3.4.0" +description = "Backport of pathlib-compatible object wrapper for zip files" +category = "dev" +optional = false +python-versions = ">=3.6" + +[package.extras] +docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"] +testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pytest-cov", "jaraco.test (>=3.2.0)", "jaraco.itertools", "func-timeout", "pytest-black (>=0.3.7)", "pytest-mypy"] + +[extras] +test = [] + +[metadata] +lock-version = "1.1" +python-versions = "^3.6" +content-hash = "ba6a05698364044243a20fafd93aa22ea3069eb66c0335dd4b46f0a5f0cc0221" + +[metadata.files] +appdirs = [ + {file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"}, + {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, +] +atomicwrites = [ + {file = "atomicwrites-1.4.0-py2.py3-none-any.whl", hash = "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197"}, + {file = "atomicwrites-1.4.0.tar.gz", hash = "sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"}, +] +attrs = [ + {file = "attrs-20.3.0-py2.py3-none-any.whl", hash = "sha256:31b2eced602aa8423c2aea9c76a724617ed67cf9513173fd3a4f03e3a929c7e6"}, + {file = "attrs-20.3.0.tar.gz", hash = "sha256:832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700"}, +] +black = [ + {file = "black-20.8b1.tar.gz", hash = "sha256:1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea"}, +] +click = [ + {file = "click-7.1.2-py2.py3-none-any.whl", hash = "sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc"}, + {file = "click-7.1.2.tar.gz", hash = "sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"}, +] +colorama = [ + {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, + {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, +] +dataclasses = [ + {file = "dataclasses-0.8-py3-none-any.whl", hash = "sha256:0201d89fa866f68c8ebd9d08ee6ff50c0b255f8ec63a71c16fda7af82bb887bf"}, + {file = "dataclasses-0.8.tar.gz", hash = "sha256:8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97"}, +] +distlib = [ + {file = "distlib-0.3.1-py2.py3-none-any.whl", hash = "sha256:8c09de2c67b3e7deef7184574fc060ab8a793e7adbb183d942c389c8b13c52fb"}, + {file = "distlib-0.3.1.zip", hash = "sha256:edf6116872c863e1aa9d5bb7cb5e05a022c519a4594dc703843343a9ddd9bff1"}, +] +filelock = [ + {file = "filelock-3.0.12-py3-none-any.whl", hash = "sha256:929b7d63ec5b7d6b71b0fa5ac14e030b3f70b75747cef1b10da9b879fef15836"}, + {file = "filelock-3.0.12.tar.gz", hash = "sha256:18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59"}, +] +flake8 = [ + {file = "flake8-3.8.4-py2.py3-none-any.whl", hash = "sha256:749dbbd6bfd0cf1318af27bf97a14e28e5ff548ef8e5b1566ccfb25a11e7c839"}, + {file = "flake8-3.8.4.tar.gz", hash = "sha256:aadae8761ec651813c24be05c6f7b4680857ef6afaae4651a4eccaef97ce6c3b"}, +] +future = [ + {file = "future-0.18.2.tar.gz", hash = "sha256:b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d"}, +] +importlib-metadata = [ + {file = "importlib_metadata-3.4.0-py3-none-any.whl", hash = "sha256:ace61d5fc652dc280e7b6b4ff732a9c2d40db2c0f92bc6cb74e07b73d53a1771"}, + {file = "importlib_metadata-3.4.0.tar.gz", hash = "sha256:fa5daa4477a7414ae34e95942e4dd07f62adf589143c875c133c1e53c4eff38d"}, +] +importlib-resources = [ + {file = "importlib_resources-5.0.0-py3-none-any.whl", hash = "sha256:ea17df80a0ff04b5dbd3d96dbeab1842acfd1c6c902eaeb8c8858abf2720161e"}, + {file = "importlib_resources-5.0.0.tar.gz", hash = "sha256:4743f090ed8946e713745ec0e660249ef9fb0b9843eacc5b5ff931d2fd5aa67f"}, +] +iniconfig = [ + {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, + {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, +] +mccabe = [ + {file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"}, + {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"}, +] +mypy-extensions = [ + {file = "mypy_extensions-0.4.3-py2.py3-none-any.whl", hash = "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d"}, + {file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"}, +] +packaging = [ + {file = "packaging-20.8-py2.py3-none-any.whl", hash = "sha256:24e0da08660a87484d1602c30bb4902d74816b6985b93de36926f5bc95741858"}, + {file = "packaging-20.8.tar.gz", hash = "sha256:78598185a7008a470d64526a8059de9aaa449238f280fc9eb6b13ba6c4109093"}, +] +pathspec = [ + {file = "pathspec-0.8.1-py2.py3-none-any.whl", hash = "sha256:aa0cb481c4041bf52ffa7b0d8fa6cd3e88a2ca4879c533c9153882ee2556790d"}, + {file = "pathspec-0.8.1.tar.gz", hash = "sha256:86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd"}, +] +pluggy = [ + {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"}, + {file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"}, +] +py = [ + {file = "py-1.10.0-py2.py3-none-any.whl", hash = "sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d02d9d58d18818a"}, + {file = "py-1.10.0.tar.gz", hash = "sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3"}, +] +pycodestyle = [ + {file = "pycodestyle-2.6.0-py2.py3-none-any.whl", hash = "sha256:2295e7b2f6b5bd100585ebcb1f616591b652db8a741695b3d8f5d28bdc934367"}, + {file = "pycodestyle-2.6.0.tar.gz", hash = "sha256:c58a7d2815e0e8d7972bf1803331fb0152f867bd89adf8a01dfd55085434192e"}, +] +pyflakes = [ + {file = "pyflakes-2.2.0-py2.py3-none-any.whl", hash = "sha256:0d94e0e05a19e57a99444b6ddcf9a6eb2e5c68d3ca1e98e90707af8152c90a92"}, + {file = "pyflakes-2.2.0.tar.gz", hash = "sha256:35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8"}, +] +pyparsing = [ + {file = "pyparsing-2.4.7-py2.py3-none-any.whl", hash = "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b"}, + {file = "pyparsing-2.4.7.tar.gz", hash = "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1"}, +] +pytest = [ + {file = "pytest-6.2.1-py3-none-any.whl", hash = "sha256:1969f797a1a0dbd8ccf0fecc80262312729afea9c17f1d70ebf85c5e76c6f7c8"}, + {file = "pytest-6.2.1.tar.gz", hash = "sha256:66e419b1899bc27346cb2c993e12c5e5e8daba9073c1fbce33b9807abc95c306"}, +] +pyyaml = [ + {file = "PyYAML-5.3.1-cp27-cp27m-win32.whl", hash = "sha256:74809a57b329d6cc0fdccee6318f44b9b8649961fa73144a98735b0aaf029f1f"}, + {file = "PyYAML-5.3.1-cp27-cp27m-win_amd64.whl", hash = "sha256:240097ff019d7c70a4922b6869d8a86407758333f02203e0fc6ff79c5dcede76"}, + {file = "PyYAML-5.3.1-cp35-cp35m-win32.whl", hash = "sha256:4f4b913ca1a7319b33cfb1369e91e50354d6f07a135f3b901aca02aa95940bd2"}, + {file = "PyYAML-5.3.1-cp35-cp35m-win_amd64.whl", hash = "sha256:cc8955cfbfc7a115fa81d85284ee61147059a753344bc51098f3ccd69b0d7e0c"}, + {file = "PyYAML-5.3.1-cp36-cp36m-win32.whl", hash = "sha256:7739fc0fa8205b3ee8808aea45e968bc90082c10aef6ea95e855e10abf4a37b2"}, + {file = "PyYAML-5.3.1-cp36-cp36m-win_amd64.whl", hash = "sha256:69f00dca373f240f842b2931fb2c7e14ddbacd1397d57157a9b005a6a9942648"}, + {file = "PyYAML-5.3.1-cp37-cp37m-win32.whl", hash = "sha256:d13155f591e6fcc1ec3b30685d50bf0711574e2c0dfffd7644babf8b5102ca1a"}, + {file = "PyYAML-5.3.1-cp37-cp37m-win_amd64.whl", hash = "sha256:73f099454b799e05e5ab51423c7bcf361c58d3206fa7b0d555426b1f4d9a3eaf"}, + {file = "PyYAML-5.3.1-cp38-cp38-win32.whl", hash = "sha256:06a0d7ba600ce0b2d2fe2e78453a470b5a6e000a985dd4a4e54e436cc36b0e97"}, + {file = "PyYAML-5.3.1-cp38-cp38-win_amd64.whl", hash = "sha256:95f71d2af0ff4227885f7a6605c37fd53d3a106fcab511b8860ecca9fcf400ee"}, + {file = "PyYAML-5.3.1.tar.gz", hash = "sha256:b8eac752c5e14d3eca0e6dd9199cd627518cb5ec06add0de9d32baeee6fe645d"}, +] +regex = [ + {file = "regex-2020.11.13-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:8b882a78c320478b12ff024e81dc7d43c1462aa4a3341c754ee65d857a521f85"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:a63f1a07932c9686d2d416fb295ec2c01ab246e89b4d58e5fa468089cab44b70"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:6e4b08c6f8daca7d8f07c8d24e4331ae7953333dbd09c648ed6ebd24db5a10ee"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:bba349276b126947b014e50ab3316c027cac1495992f10e5682dc677b3dfa0c5"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:56e01daca75eae420bce184edd8bb341c8eebb19dd3bce7266332258f9fb9dd7"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:6a8ce43923c518c24a2579fda49f093f1397dad5d18346211e46f134fc624e31"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:1ab79fcb02b930de09c76d024d279686ec5d532eb814fd0ed1e0051eb8bd2daa"}, + {file = "regex-2020.11.13-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:9801c4c1d9ae6a70aeb2128e5b4b68c45d4f0af0d1535500884d644fa9b768c6"}, + {file = "regex-2020.11.13-cp36-cp36m-win32.whl", hash = "sha256:49cae022fa13f09be91b2c880e58e14b6da5d10639ed45ca69b85faf039f7a4e"}, + {file = "regex-2020.11.13-cp36-cp36m-win_amd64.whl", hash = "sha256:749078d1eb89484db5f34b4012092ad14b327944ee7f1c4f74d6279a6e4d1884"}, + {file = "regex-2020.11.13-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b2f4007bff007c96a173e24dcda236e5e83bde4358a557f9ccf5e014439eae4b"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:38c8fd190db64f513fe4e1baa59fed086ae71fa45083b6936b52d34df8f86a88"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:5862975b45d451b6db51c2e654990c1820523a5b07100fc6903e9c86575202a0"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:262c6825b309e6485ec2493ffc7e62a13cf13fb2a8b6d212f72bd53ad34118f1"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:bafb01b4688833e099d79e7efd23f99172f501a15c44f21ea2118681473fdba0"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:e32f5f3d1b1c663af7f9c4c1e72e6ffe9a78c03a31e149259f531e0fed826512"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:3bddc701bdd1efa0d5264d2649588cbfda549b2899dc8d50417e47a82e1387ba"}, + {file = "regex-2020.11.13-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:02951b7dacb123d8ea6da44fe45ddd084aa6777d4b2454fa0da61d569c6fa538"}, + {file = "regex-2020.11.13-cp37-cp37m-win32.whl", hash = "sha256:0d08e71e70c0237883d0bef12cad5145b84c3705e9c6a588b2a9c7080e5af2a4"}, + {file = "regex-2020.11.13-cp37-cp37m-win_amd64.whl", hash = "sha256:1fa7ee9c2a0e30405e21031d07d7ba8617bc590d391adfc2b7f1e8b99f46f444"}, + {file = "regex-2020.11.13-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:baf378ba6151f6e272824b86a774326f692bc2ef4cc5ce8d5bc76e38c813a55f"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux1_i686.whl", hash = "sha256:e3faaf10a0d1e8e23a9b51d1900b72e1635c2d5b0e1bea1c18022486a8e2e52d"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:2a11a3e90bd9901d70a5b31d7dd85114755a581a5da3fc996abfefa48aee78af"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:d1ebb090a426db66dd80df8ca85adc4abfcbad8a7c2e9a5ec7513ede522e0a8f"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:b2b1a5ddae3677d89b686e5c625fc5547c6e492bd755b520de5332773a8af06b"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:2c99e97d388cd0a8d30f7c514d67887d8021541b875baf09791a3baad48bb4f8"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:c084582d4215593f2f1d28b65d2a2f3aceff8342aa85afd7be23a9cad74a0de5"}, + {file = "regex-2020.11.13-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:a3d748383762e56337c39ab35c6ed4deb88df5326f97a38946ddd19028ecce6b"}, + {file = "regex-2020.11.13-cp38-cp38-win32.whl", hash = "sha256:7913bd25f4ab274ba37bc97ad0e21c31004224ccb02765ad984eef43e04acc6c"}, + {file = "regex-2020.11.13-cp38-cp38-win_amd64.whl", hash = "sha256:6c54ce4b5d61a7129bad5c5dc279e222afd00e721bf92f9ef09e4fae28755683"}, + {file = "regex-2020.11.13-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1862a9d9194fae76a7aaf0150d5f2a8ec1da89e8b55890b1786b8f88a0f619dc"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux1_i686.whl", hash = "sha256:4902e6aa086cbb224241adbc2f06235927d5cdacffb2425c73e6570e8d862364"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:7a25fcbeae08f96a754b45bdc050e1fb94b95cab046bf56b016c25e9ab127b3e"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:d2d8ce12b7c12c87e41123997ebaf1a5767a5be3ec545f64675388970f415e2e"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:f7d29a6fc4760300f86ae329e3b6ca28ea9c20823df123a2ea8693e967b29917"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:717881211f46de3ab130b58ec0908267961fadc06e44f974466d1887f865bd5b"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux2014_i686.whl", hash = "sha256:3128e30d83f2e70b0bed9b2a34e92707d0877e460b402faca908c6667092ada9"}, + {file = "regex-2020.11.13-cp39-cp39-manylinux2014_x86_64.whl", hash = "sha256:8f6a2229e8ad946e36815f2a03386bb8353d4bde368fdf8ca5f0cb97264d3b5c"}, + {file = "regex-2020.11.13-cp39-cp39-win32.whl", hash = "sha256:f8f295db00ef5f8bae530fc39af0b40486ca6068733fb860b42115052206466f"}, + {file = "regex-2020.11.13-cp39-cp39-win_amd64.whl", hash = "sha256:a15f64ae3a027b64496a71ab1f722355e570c3fac5ba2801cafce846bf5af01d"}, + {file = "regex-2020.11.13.tar.gz", hash = "sha256:83d6b356e116ca119db8e7c6fc2983289d87b27b3fac238cfe5dca529d884562"}, +] +"ruamel.yaml" = [ + {file = "ruamel.yaml-0.16.12-py2.py3-none-any.whl", hash = "sha256:012b9470a0ea06e4e44e99e7920277edf6b46eee0232a04487ea73a7386340a5"}, + {file = "ruamel.yaml-0.16.12.tar.gz", hash = "sha256:076cc0bc34f1966d920a49f18b52b6ad559fbe656a0748e3535cf7b3f29ebf9e"}, +] +"ruamel.yaml.clib" = [ + {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:28116f204103cb3a108dfd37668f20abe6e3cafd0d3fd40dba126c732457b3cc"}, + {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:daf21aa33ee9b351f66deed30a3d450ab55c14242cfdfcd377798e2c0d25c9f1"}, + {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-win32.whl", hash = "sha256:30dca9bbcbb1cc858717438218d11eafb78666759e5094dd767468c0d577a7e7"}, + {file = "ruamel.yaml.clib-0.2.2-cp27-cp27m-win_amd64.whl", hash = "sha256:f6061a31880c1ed6b6ce341215336e2f3d0c1deccd84957b6fa8ca474b41e89f"}, + {file = "ruamel.yaml.clib-0.2.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:73b3d43e04cc4b228fa6fa5d796409ece6fcb53a6c270eb2048109cbcbc3b9c2"}, + {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:53b9dd1abd70e257a6e32f934ebc482dac5edb8c93e23deb663eac724c30b026"}, + {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:839dd72545ef7ba78fd2aa1a5dd07b33696adf3e68fae7f31327161c1093001b"}, + {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:1236df55e0f73cd138c0eca074ee086136c3f16a97c2ac719032c050f7e0622f"}, + {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-win32.whl", hash = "sha256:b1e981fe1aff1fd11627f531524826a4dcc1f26c726235a52fcb62ded27d150f"}, + {file = "ruamel.yaml.clib-0.2.2-cp35-cp35m-win_amd64.whl", hash = "sha256:4e52c96ca66de04be42ea2278012a2342d89f5e82b4512fb6fb7134e377e2e62"}, + {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:a873e4d4954f865dcb60bdc4914af7eaae48fb56b60ed6daa1d6251c72f5337c"}, + {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:ab845f1f51f7eb750a78937be9f79baea4a42c7960f5a94dde34e69f3cce1988"}, + {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:2fd336a5c6415c82e2deb40d08c222087febe0aebe520f4d21910629018ab0f3"}, + {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-win32.whl", hash = "sha256:e9f7d1d8c26a6a12c23421061f9022bb62704e38211fe375c645485f38df34a2"}, + {file = "ruamel.yaml.clib-0.2.2-cp36-cp36m-win_amd64.whl", hash = "sha256:2602e91bd5c1b874d6f93d3086f9830f3e907c543c7672cf293a97c3fabdcd91"}, + {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:44c7b0498c39f27795224438f1a6be6c5352f82cb887bc33d962c3a3acc00df6"}, + {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:8e8fd0a22c9d92af3a34f91e8a2594eeb35cba90ab643c5e0e643567dc8be43e"}, + {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:75f0ee6839532e52a3a53f80ce64925ed4aed697dd3fa890c4c918f3304bd4f4"}, + {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-win32.whl", hash = "sha256:464e66a04e740d754170be5e740657a3b3b6d2bcc567f0c3437879a6e6087ff6"}, + {file = "ruamel.yaml.clib-0.2.2-cp37-cp37m-win_amd64.whl", hash = "sha256:52ae5739e4b5d6317b52f5b040b1b6639e8af68a5b8fd606a8b08658fbd0cab5"}, + {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:4df5019e7783d14b79217ad9c56edf1ba7485d614ad5a385d1b3c768635c81c0"}, + {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:5254af7d8bdf4d5484c089f929cb7f5bafa59b4f01d4f48adda4be41e6d29f99"}, + {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:8be05be57dc5c7b4a0b24edcaa2f7275866d9c907725226cdde46da09367d923"}, + {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-win32.whl", hash = "sha256:74161d827407f4db9072011adcfb825b5258a5ccb3d2cd518dd6c9edea9e30f1"}, + {file = "ruamel.yaml.clib-0.2.2-cp38-cp38-win_amd64.whl", hash = "sha256:058a1cc3df2a8aecc12f983a48bda99315cebf55a3b3a5463e37bb599b05727b"}, + {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c6ac7e45367b1317e56f1461719c853fd6825226f45b835df7436bb04031fd8a"}, + {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:b4b0d31f2052b3f9f9b5327024dc629a253a83d8649d4734ca7f35b60ec3e9e5"}, + {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:1f8c0a4577c0e6c99d208de5c4d3fd8aceed9574bb154d7a2b21c16bb924154c"}, + {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-win32.whl", hash = "sha256:46d6d20815064e8bb023ea8628cfb7402c0f0e83de2c2227a88097e239a7dffd"}, + {file = "ruamel.yaml.clib-0.2.2-cp39-cp39-win_amd64.whl", hash = "sha256:6c0a5dc52fc74eb87c67374a4e554d4761fd42a4d01390b7e868b30d21f4b8bb"}, + {file = "ruamel.yaml.clib-0.2.2.tar.gz", hash = "sha256:2d24bd98af676f4990c4d715bcdc2a60b19c56a3fb3a763164d2d8ca0e806ba7"}, +] +six = [ + {file = "six-1.15.0-py2.py3-none-any.whl", hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"}, + {file = "six-1.15.0.tar.gz", hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"}, +] +textfsm = [ + {file = "textfsm-1.1.0-py2.py3-none-any.whl", hash = "sha256:0aef3f9cad3d03905915fd62bff358c42b7dc35c863ff2cb0b5324c2b746cc24"}, +] +toml = [ + {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, + {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, +] +tox = [ + {file = "tox-3.21.0-py2.py3-none-any.whl", hash = "sha256:5efda30ad73e662c3844ac51ce1381bf28f61063773e06996aa8b6277133a7c0"}, + {file = "tox-3.21.0.tar.gz", hash = "sha256:8cccede64802e78aa6c69f81051b25f0706639d1cbbb34d9366ce00c70ee054f"}, +] +typed-ast = [ + {file = "typed_ast-1.4.2-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:7703620125e4fb79b64aa52427ec192822e9f45d37d4b6625ab37ef403e1df70"}, + {file = "typed_ast-1.4.2-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:c9aadc4924d4b5799112837b226160428524a9a45f830e0d0f184b19e4090487"}, + {file = "typed_ast-1.4.2-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:9ec45db0c766f196ae629e509f059ff05fc3148f9ffd28f3cfe75d4afb485412"}, + {file = "typed_ast-1.4.2-cp35-cp35m-win32.whl", hash = "sha256:85f95aa97a35bdb2f2f7d10ec5bbdac0aeb9dafdaf88e17492da0504de2e6400"}, + {file = "typed_ast-1.4.2-cp35-cp35m-win_amd64.whl", hash = "sha256:9044ef2df88d7f33692ae3f18d3be63dec69c4fb1b5a4a9ac950f9b4ba571606"}, + {file = "typed_ast-1.4.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:c1c876fd795b36126f773db9cbb393f19808edd2637e00fd6caba0e25f2c7b64"}, + {file = "typed_ast-1.4.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:5dcfc2e264bd8a1db8b11a892bd1647154ce03eeba94b461effe68790d8b8e07"}, + {file = "typed_ast-1.4.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:8db0e856712f79c45956da0c9a40ca4246abc3485ae0d7ecc86a20f5e4c09abc"}, + {file = "typed_ast-1.4.2-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:d003156bb6a59cda9050e983441b7fa2487f7800d76bdc065566b7d728b4581a"}, + {file = "typed_ast-1.4.2-cp36-cp36m-win32.whl", hash = "sha256:4c790331247081ea7c632a76d5b2a265e6d325ecd3179d06e9cf8d46d90dd151"}, + {file = "typed_ast-1.4.2-cp36-cp36m-win_amd64.whl", hash = "sha256:d175297e9533d8d37437abc14e8a83cbc68af93cc9c1c59c2c292ec59a0697a3"}, + {file = "typed_ast-1.4.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:cf54cfa843f297991b7388c281cb3855d911137223c6b6d2dd82a47ae5125a41"}, + {file = "typed_ast-1.4.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:b4fcdcfa302538f70929eb7b392f536a237cbe2ed9cba88e3bf5027b39f5f77f"}, + {file = "typed_ast-1.4.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:987f15737aba2ab5f3928c617ccf1ce412e2e321c77ab16ca5a293e7bbffd581"}, + {file = "typed_ast-1.4.2-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:37f48d46d733d57cc70fd5f30572d11ab8ed92da6e6b28e024e4a3edfb456e37"}, + {file = "typed_ast-1.4.2-cp37-cp37m-win32.whl", hash = "sha256:36d829b31ab67d6fcb30e185ec996e1f72b892255a745d3a82138c97d21ed1cd"}, + {file = "typed_ast-1.4.2-cp37-cp37m-win_amd64.whl", hash = "sha256:8368f83e93c7156ccd40e49a783a6a6850ca25b556c0fa0240ed0f659d2fe496"}, + {file = "typed_ast-1.4.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:963c80b583b0661918718b095e02303d8078950b26cc00b5e5ea9ababe0de1fc"}, + {file = "typed_ast-1.4.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:e683e409e5c45d5c9082dc1daf13f6374300806240719f95dc783d1fc942af10"}, + {file = "typed_ast-1.4.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:84aa6223d71012c68d577c83f4e7db50d11d6b1399a9c779046d75e24bed74ea"}, + {file = "typed_ast-1.4.2-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:a38878a223bdd37c9709d07cd357bb79f4c760b29210e14ad0fb395294583787"}, + {file = "typed_ast-1.4.2-cp38-cp38-win32.whl", hash = "sha256:a2c927c49f2029291fbabd673d51a2180038f8cd5a5b2f290f78c4516be48be2"}, + {file = "typed_ast-1.4.2-cp38-cp38-win_amd64.whl", hash = "sha256:c0c74e5579af4b977c8b932f40a5464764b2f86681327410aa028a22d2f54937"}, + {file = "typed_ast-1.4.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:07d49388d5bf7e863f7fa2f124b1b1d89d8aa0e2f7812faff0a5658c01c59aa1"}, + {file = "typed_ast-1.4.2-cp39-cp39-manylinux1_i686.whl", hash = "sha256:240296b27397e4e37874abb1df2a608a92df85cf3e2a04d0d4d61055c8305ba6"}, + {file = "typed_ast-1.4.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:d746a437cdbca200622385305aedd9aef68e8a645e385cc483bdc5e488f07166"}, + {file = "typed_ast-1.4.2-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:14bf1522cdee369e8f5581238edac09150c765ec1cb33615855889cf33dcb92d"}, + {file = "typed_ast-1.4.2-cp39-cp39-win32.whl", hash = "sha256:cc7b98bf58167b7f2db91a4327da24fb93368838eb84a44c472283778fc2446b"}, + {file = "typed_ast-1.4.2-cp39-cp39-win_amd64.whl", hash = "sha256:7147e2a76c75f0f64c4319886e7639e490fee87c9d25cb1d4faef1d8cf83a440"}, + {file = "typed_ast-1.4.2.tar.gz", hash = "sha256:9fc0b3cb5d1720e7141d103cf4819aea239f7d136acf9ee4a69b047b7986175a"}, +] +typing-extensions = [ + {file = "typing_extensions-3.7.4.3-py2-none-any.whl", hash = "sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f"}, + {file = "typing_extensions-3.7.4.3-py3-none-any.whl", hash = "sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918"}, + {file = "typing_extensions-3.7.4.3.tar.gz", hash = "sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c"}, +] +virtualenv = [ + {file = "virtualenv-20.3.0-py2.py3-none-any.whl", hash = "sha256:205a7577275dd0d9223c730dd498e21a8910600085c3dee97412b041fc4b853b"}, + {file = "virtualenv-20.3.0.tar.gz", hash = "sha256:7992b8de87e544a4ab55afc2240bf8388c4e3b5765d03784dad384bfdf9097ee"}, +] +yamllint = [ + {file = "yamllint-1.25.0-py2.py3-none-any.whl", hash = "sha256:c7be4d0d2584a1b561498fa9acb77ad22eb434a109725c7781373ae496d823b3"}, + {file = "yamllint-1.25.0.tar.gz", hash = "sha256:b1549cbe5b47b6ba67bdeea31720f5c51431a4d0c076c1557952d841f7223519"}, +] +zipp = [ + {file = "zipp-3.4.0-py3-none-any.whl", hash = "sha256:102c24ef8f171fd729d46599845e95c7ab894a4cf45f5de11a44cc7444fb1108"}, + {file = "zipp-3.4.0.tar.gz", hash = "sha256:ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb"}, +] diff --git a/pyproject.toml b/pyproject.toml index 782367c645..09bb6bf66d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,34 @@ +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" + +[tool.poetry] +name = "ntc_templates" +version = "1.6.0" +description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." +authors = ["Network to Code "] +license = "Apache-2.0" +readme = "README.md" +repository = "https://github.com/networktocode/ntc-templates" + +[tool.poetry.dependencies] +python = "^3.6" +textfsm = "^1.1.0" + +[tool.poetry.dev-dependencies] +tox = "^3.21.0" +yamllint = "^1.25.0" +black = "^20.8b1" +pytest = "^6.2.1" +"ruamel.yaml" = "^0.16.12" +flake8 = "^3.8.4" + +[tool.poetry.extras] +test = ["pytest"] + [tool.black] line-length = 90 -target-version = ['py36'] +target-version = ['py38'] include = '\.pyi?$' exclude = ''' /( @@ -10,6 +38,7 @@ exclude = ''' | \.mypy_cache | \.tox | \.venv + | venv | _build | buck-out | build diff --git a/setup.py b/setup.py deleted file mode 100644 index 467382e0df..0000000000 --- a/setup.py +++ /dev/null @@ -1,44 +0,0 @@ -import re -from codecs import open -from setuptools import setup, find_packages - -with open("lib/ntc_templates/__init__.py", "r") as fd: - version = re.search( - r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE - ).group(1) - -if not version: - raise RuntimeError("Cannot find version information") - -with open("README.md", "r", "utf-8") as f: - readme = f.read() - -with open("CHANGELOG", "r", "utf-8") as f: - history = f.read() - -long_description = readme + "\n\n" + history - -config = { - "name": "ntc_templates", - "package_dir": {"": "lib"}, - "packages": find_packages("lib"), - "version": version, - "package_data": {"ntc_templates": ["templates/*"]}, - "description": "Package to return structured data from the output of network devices.", - "long_description": long_description, - "long_description_content_type": "text/markdown", - "author": "network.toCode()", - "author_email": "info@networktocode.com", - "url": "https://github.com/networktocode/ntc-templates", - "install_requires": ["textfsm>=1.1.0"], - "extras_require": {"dev": ["pytest", "PyYAML", "black", "yamllint", "ruamel.yaml"]}, - "classifiers": [ - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "Intended Audience :: System Administrators", - "Programming Language :: Python :: 3", - ], - "zip_safe": False, -} - -setup(**config) diff --git a/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml index 3d183dcea1..3b8f51c599 100644 --- a/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml +++ b/tests/alcatel_sros/show_router_mpls_interface/alcatel_sros_show_router_mpls_interface.yml @@ -1,26 +1,26 @@ ---- -parsed_sample: - - admin_status: "Up" - interface: "system" - oper_status_v4: "Up" - oper_status_v6: "Down" - port: "system" - te_metric: "None" - - admin_status: "Up" - interface: "TO_IOSXR" - oper_status_v4: "Up" - oper_status_v6: "Down" - port: "1/1/c4/1" - te_metric: "98999" - - admin_status: "Up" - interface: "TO_R1" - oper_status_v4: "Up" - oper_status_v6: "Down" - port: "1/1/c1/1" - te_metric: "65660" - - admin_status: "Up" - interface: "TO_R4" - oper_status_v4: "Up" - oper_status_v6: "Down" - port: "1/1/c2/1" - te_metric: "None" +--- +parsed_sample: + - admin_status: "Up" + interface: "system" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "system" + te_metric: "None" + - admin_status: "Up" + interface: "TO_IOSXR" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c4/1" + te_metric: "98999" + - admin_status: "Up" + interface: "TO_R1" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c1/1" + te_metric: "65660" + - admin_status: "Up" + interface: "TO_R4" + oper_status_v4: "Up" + oper_status_v6: "Down" + port: "1/1/c2/1" + te_metric: "None" diff --git a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml index 21981a96f9..cf2c130c8f 100644 --- a/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml +++ b/tests/cisco_ios/show_tacacs/cisco_ios_show_tacacs_server_name.yml @@ -1,24 +1,24 @@ ---- -parsed_sample: - - tacacs_server: "10.1.1.141" - tacacs_server_name: "TACACS_ABC" - server_port: "49" - socket_opens: "146715" - socket_closes: "146715" - socket_aborts: "0" - socket_errors: "0" - socket_timeouts: "0" - failed_connections: "114" - packets_sent: "166094" - packet_received: "166094" - - tacacs_server: "10.2.1.141" - tacacs_server_name: "TACACS_XYZ" - server_port: "49" - socket_opens: "2640" - socket_closes: "2640" - socket_aborts: "0" - socket_errors: "0" - socket_timeouts: "0" - failed_connections: "0" - packets_sent: "2954" - packet_received: "2953" +--- +parsed_sample: + - tacacs_server: "10.1.1.141" + tacacs_server_name: "TACACS_ABC" + server_port: "49" + socket_opens: "146715" + socket_closes: "146715" + socket_aborts: "0" + socket_errors: "0" + socket_timeouts: "0" + failed_connections: "114" + packets_sent: "166094" + packet_received: "166094" + - tacacs_server: "10.2.1.141" + tacacs_server_name: "TACACS_XYZ" + server_port: "49" + socket_opens: "2640" + socket_closes: "2640" + socket_aborts: "0" + socket_errors: "0" + socket_timeouts: "0" + failed_connections: "0" + packets_sent: "2954" + packet_received: "2953" diff --git a/tests/linux/arp_-a/linux_arp_a.yml b/tests/linux/arp_-a/linux_arp_a.yml index 793442a5a7..b536a9cf4c 100644 --- a/tests/linux/arp_-a/linux_arp_a.yml +++ b/tests/linux/arp_-a/linux_arp_a.yml @@ -1,48 +1,47 @@ ---- - -parsed_sample: - - hw_type: "ether" - interface: "eth1.100" - ip_address: "192.168.13.197" - mac_address: "00:04:4b:cc:9c:ba" - rev_dns: "?" - - hw_type: "" - interface: "eth1.10" - ip_address: "192.168.10.100" - mac_address: "incomplete" - rev_dns: "?" - - hw_type: "ether" - interface: "eth1.100" - ip_address: "192.168.13.252" - mac_address: "5c:e2:8c:fc:a4:74" - rev_dns: "?" - - hw_type: "ether" - interface: "eth1.100" - ip_address: "192.168.13.5" - mac_address: "00:e0:67:05:9d:5a" - rev_dns: "esxi" - - hw_type: "ether" - interface: "eth1.100" - ip_address: "192.168.13.253" - mac_address: "dc:f7:19:cd:d6:c4" - rev_dns: "?" - - hw_type: "ether" - interface: "eth0.21" - ip_address: "192.168.123.199" - mac_address: "00:0f:c9:0e:c8:ec" - rev_dns: "?" - - hw_type: "" - interface: "eth1.10" - ip_address: "192.168.10.52" - mac_address: "incomplete" - rev_dns: "?" - - hw_type: "ether" - interface: "eth1.10" - ip_address: "192.168.10.7" - mac_address: "00:0c:29:02:3b:93" - rev_dns: "?" - - hw_type: "ether" - interface: "eth1.10" - ip_address: "192.168.10.249" - mac_address: "00:0c:29:bb:5f:a2" - rev_dns: "?" +--- +parsed_sample: + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.197" + mac_address: "00:04:4b:cc:9c:ba" + rev_dns: "?" + - hw_type: "" + interface: "eth1.10" + ip_address: "192.168.10.100" + mac_address: "incomplete" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.252" + mac_address: "5c:e2:8c:fc:a4:74" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.5" + mac_address: "00:e0:67:05:9d:5a" + rev_dns: "esxi" + - hw_type: "ether" + interface: "eth1.100" + ip_address: "192.168.13.253" + mac_address: "dc:f7:19:cd:d6:c4" + rev_dns: "?" + - hw_type: "ether" + interface: "eth0.21" + ip_address: "192.168.123.199" + mac_address: "00:0f:c9:0e:c8:ec" + rev_dns: "?" + - hw_type: "" + interface: "eth1.10" + ip_address: "192.168.10.52" + mac_address: "incomplete" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.10" + ip_address: "192.168.10.7" + mac_address: "00:0c:29:02:3b:93" + rev_dns: "?" + - hw_type: "ether" + interface: "eth1.10" + ip_address: "192.168.10.249" + mac_address: "00:0c:29:bb:5f:a2" + rev_dns: "?" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index 5e26092630..e014e556e7 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -1,10 +1,5 @@ #!/usr/bin/env python -import os import re -import csv -import glob - -import pytest from tests import load_index_data @@ -57,7 +52,8 @@ "watchguard_firebox", "yamaha", ] -RE_TEMPLATE_OS = re.compile("^(" + "|".join(OS_CHOICES) + ")") +CHOICES_STRING = "|".join(OS_CHOICES) +RE_TEMPLATE_OS = re.compile(rf"^({CHOICES_STRING})") def check_order( diff --git a/tests/test_structured_data_against_parsed_reference_files.py b/tests/test_structured_data_against_parsed_reference_files.py index e2e4451b75..d618cec6fd 100644 --- a/tests/test_structured_data_against_parsed_reference_files.py +++ b/tests/test_structured_data_against_parsed_reference_files.py @@ -6,7 +6,7 @@ import pytest import yaml -from lib.ntc_templates.parse import parse_output +from ntc_templates.parse import parse_output def return_test_files(): diff --git a/tests/test_testcases_exists.py b/tests/test_testcases_exists.py index 589edbe70f..01ac99ac58 100644 --- a/tests/test_testcases_exists.py +++ b/tests/test_testcases_exists.py @@ -24,7 +24,7 @@ def extract_index_data(): # so need to loop through each platform looking to find a match # in order to accurately derive platform name for directory in TEST_DIRECTORIES: - if re.match(platform, directory): + if re.match(rf"{platform}", directory): platform = directory break cut = len(platform) + 1 diff --git a/tox.ini b/tox.ini index d4eeb04a3c..ca2ccd6799 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,30 @@ [tox] -envlist = py36,py37,py38 +isolated_build = True +envlist = py36,py37,py38,black,flake8,yamllint skip_missing_interpreters = true +download = true [testenv] -install_command = pip install .[dev] {opts} {packages} +passenv = TRAVIS TRAVIS_* +whitelist_externals = poetry +deps = poetry +commands = + poetry install + python -m pytest -v {posargs} -whitelist_externals = - git - rm +[testenv:black] +deps = black +commands = black ./ --diff --check -commands = - black ./ --diff --check - yamllint tests/ - pytest -vv +[testenv:flake8] +deps = flake8 +commands = flake8 ./ + +[testenv:yamllint] +deps = yamllint +commands = yamllint ./ + +[flake8] +# Line length managed by black +ignore = E501 +exclude = .git,.tox,.venv,venv From 31f194a91e89ad5726a590aedd181f71a43b22f7 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Fri, 12 Mar 2021 09:56:05 -0500 Subject: [PATCH 570/628] Release v2.0.0 (#890) --- CHANGELOG.md | 13 +++++++++++-- ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1273e01a5a..dbea6b3dfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ # Changelog -## [1.7.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2021-03-11) +## [2.0.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2021-03-11) -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.6.0...1.7.0) +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.0.0...v1.7.0) + +**Merged pull requests:** + +- Migrate packaging to use poetry [\#882](https://github.com/networktocode/ntc-templates/pull/882) ([jmcgill298](https://github.com/jmcgill298)) + +## [v1.7.0](https://github.com/networktocode/ntc-templates/tree/v1.7.0) (2021-03-11) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.6.0...v1.7.0) **Implemented enhancements:** @@ -30,6 +38,7 @@ **Merged pull requests:** +- Release v1.7.0 [\#889](https://github.com/networktocode/ntc-templates/pull/889) ([jmcgill298](https://github.com/jmcgill298)) - new alcatel\_sros tmpl, 'show service sdp' [\#886](https://github.com/networktocode/ntc-templates/pull/886) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) - New Template: alcatel\_sros\_show\_router\_rsvp\_interface [\#884](https://github.com/networktocode/ntc-templates/pull/884) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) - \#784-cisco\_asa\_show\_running-config\_all\_crypto\_map.textfsm [\#883](https://github.com/networktocode/ntc-templates/pull/883) ([diepes](https://github.com/diepes)) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index 2ce6c62561..f8548d13d6 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "1.7.0" +__version__ = "2.0.0" diff --git a/pyproject.toml b/pyproject.toml index 09bb6bf66d..aaaaf97fa4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "1.6.0" +version = "2.0.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From eabcf898352afb6706fe07a2e3cf8ed844fbdfc4 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Sat, 13 Mar 2021 21:41:24 -0700 Subject: [PATCH 571/628] New Template: alcatel_sros_show_service_sdp-using.textfsm (#891) --- ...lcatel_sros_show_service_sdp-using.textfsm | 27 ++++++++++++ ntc_templates/templates/index | 1 + .../alcatel_sros_show_service_sdp-using.raw | 15 +++++++ .../alcatel_sros_show_service_sdp-using.yml | 42 +++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_service_sdp-using.textfsm create mode 100644 tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.raw create mode 100644 tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.yml diff --git a/ntc_templates/templates/alcatel_sros_show_service_sdp-using.textfsm b/ntc_templates/templates/alcatel_sros_show_service_sdp-using.textfsm new file mode 100644 index 0000000000..cf3dd928b9 --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_service_sdp-using.textfsm @@ -0,0 +1,27 @@ +Value Required SERVICE_ID (\d+) +Value Required SDP_ID (\d+) +Value Required SDP_SVC_ID (\d+) +Value Required TYPE (\S+) +Value Required FAR_END (\S+) +Value Required OPER_STATE (\S+) +Value Required INGRESS_LABEL (\S+) +Value Required EGRESS_LABEL (\S+) + +Start + ^=+ + ^SDP\s+Using + ^SvcId\s+SdpId\s+Type\s+Far\s+End\s+Opr\s+I.Label\s+E.Label\s*$$ -> SDP + ^\s*$$ + ^. -> Error + +SDP + ^\s+State + ^-+ + ^${SERVICE_ID}\s+${SDP_ID}:${SDP_SVC_ID}\s+${TYPE}\s+${FAR_END}\s+${OPER_STATE}\s+${INGRESS_LABEL}\s+${EGRESS_LABEL} -> Record + ^-+ -> Done + ^Number\s+of + ^=+ + ^\s*$$ + ^. -> Error + +Done diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 631375838b..6e035adcfc 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -21,6 +21,7 @@ alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] rout alcatel_sros_show_router_rsvp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router rsvp int[[erface]] alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] +alcatel_sros_show_service_sdp-using.textfsm, .*, alcatel_sros, sh[[ow]] service sdp-using alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] diff --git a/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.raw b/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.raw new file mode 100644 index 0000000000..226554820a --- /dev/null +++ b/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.raw @@ -0,0 +1,15 @@ +=============================================================================== +SDP Using +=============================================================================== +SvcId SdpId Type Far End Opr I.Label E.Label + State +------------------------------------------------------------------------------- +200 31:200 Spok 10.10.10.1 Up 524281 524283 +200 34:200 Mesh 10.10.10.4 Down None None +310 32767:4294967295 BgpAd 10.10.10.1 Up 524278 524280 +400 32767:4294967294 BgpAd 10.10.10.1 Up 524277 524279 +401 32767:4294967293 BgpAd 10.10.10.1 Up 524276 524278 +------------------------------------------------------------------------------- +Number of SDPs : 5 +------------------------------------------------------------------------------- +=============================================================================== diff --git a/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.yml b/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.yml new file mode 100644 index 0000000000..484618be7b --- /dev/null +++ b/tests/alcatel_sros/show_service_sdp-using/alcatel_sros_show_service_sdp-using.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - egress_label: "524283" + far_end: "10.10.10.1" + ingress_label: "524281" + oper_state: "Up" + sdp_id: "31" + sdp_svc_id: "200" + service_id: "200" + type: "Spok" + - egress_label: "None" + far_end: "10.10.10.4" + ingress_label: "None" + oper_state: "Down" + sdp_id: "34" + sdp_svc_id: "200" + service_id: "200" + type: "Mesh" + - egress_label: "524280" + far_end: "10.10.10.1" + ingress_label: "524278" + oper_state: "Up" + sdp_id: "32767" + sdp_svc_id: "4294967295" + service_id: "310" + type: "BgpAd" + - egress_label: "524279" + far_end: "10.10.10.1" + ingress_label: "524277" + oper_state: "Up" + sdp_id: "32767" + sdp_svc_id: "4294967294" + service_id: "400" + type: "BgpAd" + - egress_label: "524278" + far_end: "10.10.10.1" + ingress_label: "524276" + oper_state: "Up" + sdp_id: "32767" + sdp_svc_id: "4294967293" + service_id: "401" + type: "BgpAd" From 5e56aaac6144acf4181642590493605bfb536f1b Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Mon, 15 Mar 2021 14:20:39 -0500 Subject: [PATCH 572/628] add new template show port-security interface (#885) --- ..._port-security_interface_interface.textfsm | 28 +++++++++++++++++++ ntc_templates/templates/index | 1 + ...show_port-security_interface_interface.raw | 12 ++++++++ ...show_port-security_interface_interface.yml | 14 ++++++++++ 4 files changed, 55 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_port-security_interface_interface.textfsm create mode 100644 tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.raw create mode 100644 tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.yml diff --git a/ntc_templates/templates/cisco_ios_show_port-security_interface_interface.textfsm b/ntc_templates/templates/cisco_ios_show_port-security_interface_interface.textfsm new file mode 100644 index 0000000000..32ca8bab9b --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_port-security_interface_interface.textfsm @@ -0,0 +1,28 @@ +Value PORT_SECURITY (\w+) +Value PORT_STATUS (\S+) +Value VIOLATION_MODE ([Pp]rotect|[Rr]estrict|[Ss]hutdown) +Value AGING_TIME (\d{1,4}\smins) +Value AGING_TYPE ([Aa]bsolute|[Ii]nactivity) +Value SS_ADDR_AGING (\w+) +Value MAX_MAC_ADDRS (\d+) +Value TOTAL_MAC_ADDRS (\d+) +Value CONFIG_MAC_ADDRS (\d+) +Value STICKY_MAC_ADDRS (\d+) +Value LAST_SRC_MAC_ADDR_VLAN (\d.+:\d+) +Value VIOLATION_COUNT (\d+) + +Start + ^Port Security\s+:\s+${PORT_SECURITY} + ^Port Status\s+:\s+${PORT_STATUS} + ^Violation Mode\s+:\s+${VIOLATION_MODE} + ^Aging Time\s+:\s+${AGING_TIME} + ^Aging Type\s+:\s+${AGING_TYPE} + ^SecureStatic Address Aging\s+:\s+${SS_ADDR_AGING} + ^Maximum MAC Addresses\s+:\s+${MAX_MAC_ADDRS} + ^Total MAC Addresses\s+:\s+${TOTAL_MAC_ADDRS} + ^Configured MAC Addresses\s+:\s+${CONFIG_MAC_ADDRS} + ^Sticky MAC Addresses\s+:\s+${STICKY_MAC_ADDRS} + ^Last Source Address:Vlan\s+:\s+${LAST_SRC_MAC_ADDR_VLAN} + ^Security Violation Count\s+:\s+${VIOLATION_COUNT} + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 6e035adcfc..3a9c1556a0 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -169,6 +169,7 @@ cisco_ios_show_switch_detail.textfsm:cisco_ios_show_switch_detail_stack_ports.te cisco_ios_show_running-config_partition_access-list.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] a[[ccess-list]] cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm, .*, cisco_ios, sh[[ow]] ip bgp nei[[ghbors]](\s+\d+\.\d+\.\d+\.\d+)? adv[[ertised-routes]] cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] +cisco_ios_show_port-security_interface_interface.textfsm, .*, cisco_ios, sh[[ow]] por[[t-security]] i[[nterface]] (\S+) cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]] cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]] diff --git a/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.raw b/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.raw new file mode 100644 index 0000000000..25aaa58513 --- /dev/null +++ b/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.raw @@ -0,0 +1,12 @@ +Port Security : Disabled +Port Status : Secure-down +Violation Mode : Shutdown +Aging Time : 1440 mins +Aging Type : Absolute +SecureStatic Address Aging : Disabled +Maximum MAC Addresses : 1 +Total MAC Addresses : 0 +Configured MAC Addresses : 0 +Sticky MAC Addresses : 0 +Last Source Address:Vlan : 0000.0000.0000:0 +Security Violation Count : 0 diff --git a/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.yml b/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.yml new file mode 100644 index 0000000000..a7883969a1 --- /dev/null +++ b/tests/cisco_ios/show_port-security_interface_interface/cisco_ios_show_port-security_interface_interface.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - port_security: "Disabled" + port_status: "Secure-down" + violation_mode: "Shutdown" + aging_time: "1440 mins" + aging_type: "Absolute" + ss_addr_aging: "Disabled" + max_mac_addrs: "1" + total_mac_addrs: "0" + config_mac_addrs: "0" + sticky_mac_addrs: "0" + last_src_mac_addr_vlan: "0000.0000.0000:0" + violation_count: "0" From 4606428adfee08025e0fbf89120b491722780cee Mon Sep 17 00:00:00 2001 From: Adam Troy Date: Mon, 15 Mar 2021 14:23:47 -0500 Subject: [PATCH 573/628] New Template: ruckus_fastiron, show mac-address (#896) --- ntc_templates/templates/index | 1 + .../ruckus_fastiron_show_mac-address.textfsm | 12 + .../show_mac-address/show_mac-address.raw | 100 ++ .../show_mac-address/show_mac-address.yml | 374 ++++ .../show_mac-address/show_mac-address1.raw | 411 +++++ .../show_mac-address/show_mac-address1.yml | 1566 +++++++++++++++++ 6 files changed, 2464 insertions(+) create mode 100644 ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm create mode 100644 tests/ruckus_fastiron/show_mac-address/show_mac-address.raw create mode 100644 tests/ruckus_fastiron/show_mac-address/show_mac-address.yml create mode 100644 tests/ruckus_fastiron/show_mac-address/show_mac-address1.raw create mode 100644 tests/ruckus_fastiron/show_mac-address/show_mac-address1.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 3a9c1556a0..b6c1d5eb60 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -456,6 +456,7 @@ paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all +ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-address]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] ubiquiti_edgeswitch_show_version.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ve[[rsion]] diff --git a/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm b/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm new file mode 100644 index 0000000000..c14acff5a4 --- /dev/null +++ b/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm @@ -0,0 +1,12 @@ +Value MAC_ADDRESS ([A-Fa-f0-9\.]{14}) +Value PORT (\S+) +Value TYPE (\S+) +Value VLAN ([0-9]*) + + +Start + ^Total\s+active\s+entries\s+from\s+all\s+ports\s+=\s+[0-9]* + ^MAC-Address\s+Port\s+Type\s+VLAN + ^${MAC_ADDRESS}\s+${PORT}\s+${TYPE}\s+${VLAN} -> Record + ^\s* + ^. -> Error \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_mac-address/show_mac-address.raw b/tests/ruckus_fastiron/show_mac-address/show_mac-address.raw new file mode 100644 index 0000000000..36cd0a21eb --- /dev/null +++ b/tests/ruckus_fastiron/show_mac-address/show_mac-address.raw @@ -0,0 +1,100 @@ + +Total active entries from all ports = 93 +MAC-Address Port Type VLAN +70db.9895.73aa 1/2/1 Dynamic 3 +0010.20d0.b22b 1/1/2 Dynamic 10 +000f.7c0f.f387 2/1/11 Dynamic 3 +54bf.646f.d304 1/1/6 Dynamic 1 +000f.7c0f.f374 2/1/7 Dynamic 3 +70db.9895.73aa 1/2/1 Dynamic 5 +54bf.6479.a8de 1/1/22 Dynamic 2 +000f.7c0f.f385 2/1/18 Dynamic 3 +9890.96d9.f0ab 2/1/48 Dynamic 3 +e454.e85d.bfe1 1/1/48 Dynamic 4 +6c2b.59f8.ec1b 1/1/9 Dynamic 1 +000f.7c0f.f322 2/1/27 Dynamic 3 +0010.20ce.0655 1/1/2 Dynamic 10 +000f.7c0f.f320 2/1/28 Dynamic 3 +0010.20d1.1387 1/1/2 Dynamic 10 +184b.0d22.d780 1/1/5 Dynamic 5 +484d.7edb.1431 1/1/16 Dynamic 1 +0010.20d2.8b0d 1/1/2 Dynamic 10 +000f.7c0f.f324 2/1/30 Dynamic 3 +184b.0d22.48c0 1/1/1 Dynamic 5 +70db.9895.73ab 1/2/1 Dynamic 12 +MAC-Address Port Type VLAN +0010.20d0.b23d 1/1/2 Dynamic 10 +0010.20d2.8afd 1/1/2 Dynamic 10 +184b.0d22.e2a0 1/1/2 Dynamic 5 +54bf.64a2.66c5 1/1/23 Dynamic 2 +6c2b.59ef.7457 1/1/27 Dynamic 1 +000f.7c15.7df0 2/1/38 Dynamic 3 +0010.20d0.b2a3 1/1/2 Dynamic 10 +000f.7c0f.f373 2/1/9 Dynamic 3 +000f.7c0f.f357 2/1/13 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 666 +184b.0d22.4610 1/1/4 Dynamic 5 +000f.7c0f.f328 2/1/21 Dynamic 3 +0010.20cf.9f4d 1/1/2 Dynamic 10 +e454.e85d.9381 1/1/47 Dynamic 4 +000f.7c0f.f371 2/1/2 Dynamic 3 +000f.7c0f.f355 2/1/15 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 1 +0010.20d2.8b2b 1/1/2 Dynamic 10 +6c2b.59e9.aa1c 1/1/20 Dynamic 2 +000f.7c0f.f382 2/1/12 Dynamic 3 +d89e.f344.6592 1/1/11 Dynamic 1 +000f.7c0f.f377 2/1/10 Dynamic 3 +MAC-Address Port Type VLAN +184b.0d22.d920 1/1/3 Dynamic 5 +70db.9895.73aa 1/2/1 Dynamic 2 +000f.7c0f.f380 2/1/23 Dynamic 3 +000f.7c0f.f32c 2/1/31 Dynamic 3 +000f.7c10.683f 2/1/35 Dynamic 3 +000f.7c0f.f375 2/1/3 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 5 +000f.7c0f.f386 2/1/14 Dynamic 3 +6400.6a01.18a6 1/1/18 Dynamic 1 +509a.4c4e.bb73 1/1/12 Dynamic 1 +000f.7c0f.f323 2/1/25 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 7 +000f.7c0f.f384 2/1/22 Dynamic 3 +001a.ef5b.6804 1/1/4 Dynamic 10 +000f.7c15.7e23 2/1/34 Dynamic 3 +000f.7c15.7e07 2/1/37 Dynamic 3 +54bf.6474.f6bb 1/1/10 Dynamic 1 +d89e.f31b.48ea 1/1/17 Dynamic 1 +0010.40b3.a1de 1/1/2 Dynamic 10 +6c2b.59d6.b345 1/1/21 Dynamic 2 +000f.7c0f.f327 2/1/24 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 11 +MAC-Address Port Type VLAN +000f.7c0f.f325 2/1/29 Dynamic 3 +000f.7c0f.f352 2/1/19 Dynamic 3 +d89e.f344.64bc 1/1/46 Dynamic 4 +f8bc.128f.04ee 1/1/14 Dynamic 1 +000f.7c10.212e 2/1/32 Dynamic 3 +6c2b.59d6.9fcd 1/1/19 Dynamic 2 +6c2b.59dd.c6fa 1/1/8 Dynamic 1 +fa98.6b8a.a8b9 1/1/4 Dynamic 11 +d861.6240.f255 1/1/1 Dynamic 10 +54bf.6496.c555 1/1/7 Dynamic 1 +000f.7c0f.f372 2/1/4 Dynamic 3 +000f.7c14.fa31 2/1/26 Dynamic 3 +000f.7c0f.f356 2/1/33 Dynamic 3 +000f.7c0f.f383 2/1/8 Dynamic 3 +484d.7edb.1116 1/1/15 Dynamic 1 +000f.7c0f.f370 2/1/6 Dynamic 3 +000f.7c0f.f354 2/1/16 Dynamic 3 +000f.7c0f.16df 2/1/1 Dynamic 3 +70db.9895.73aa 1/2/1 Dynamic 1 +000f.7c0f.f381 2/1/17 Dynamic 3 +000f.7c0f.f32d 2/1/20 Dynamic 3 +000f.7c0f.f376 2/1/5 Dynamic 3 +MAC-Address Port Type VLAN +70db.9895.73aa 1/2/1 Dynamic 10 +70db.9895.73aa 1/2/1 Dynamic 4 +70db.9895.73ab 1/2/1 Dynamic 10 +70db.9895.73ab 1/2/1 Dynamic 4 +70db.9895.73ab 1/2/1 Dynamic 3 +70db.9895.73ab 1/2/1 Dynamic 2 \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_mac-address/show_mac-address.yml b/tests/ruckus_fastiron/show_mac-address/show_mac-address.yml new file mode 100644 index 0000000000..90a445d559 --- /dev/null +++ b/tests/ruckus_fastiron/show_mac-address/show_mac-address.yml @@ -0,0 +1,374 @@ +--- +parsed_sample: + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "3" + - mac_address: "0010.20d0.b22b" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "000f.7c0f.f387" + port: "2/1/11" + type: "Dynamic" + vlan: "3" + - mac_address: "54bf.646f.d304" + port: "1/1/6" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f374" + port: "2/1/7" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "5" + - mac_address: "54bf.6479.a8de" + port: "1/1/22" + type: "Dynamic" + vlan: "2" + - mac_address: "000f.7c0f.f385" + port: "2/1/18" + type: "Dynamic" + vlan: "3" + - mac_address: "9890.96d9.f0ab" + port: "2/1/48" + type: "Dynamic" + vlan: "3" + - mac_address: "e454.e85d.bfe1" + port: "1/1/48" + type: "Dynamic" + vlan: "4" + - mac_address: "6c2b.59f8.ec1b" + port: "1/1/9" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f322" + port: "2/1/27" + type: "Dynamic" + vlan: "3" + - mac_address: "0010.20ce.0655" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "000f.7c0f.f320" + port: "2/1/28" + type: "Dynamic" + vlan: "3" + - mac_address: "0010.20d1.1387" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "184b.0d22.d780" + port: "1/1/5" + type: "Dynamic" + vlan: "5" + - mac_address: "484d.7edb.1431" + port: "1/1/16" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.20d2.8b0d" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "000f.7c0f.f324" + port: "2/1/30" + type: "Dynamic" + vlan: "3" + - mac_address: "184b.0d22.48c0" + port: "1/1/1" + type: "Dynamic" + vlan: "5" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "12" + - mac_address: "0010.20d0.b23d" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "0010.20d2.8afd" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "184b.0d22.e2a0" + port: "1/1/2" + type: "Dynamic" + vlan: "5" + - mac_address: "54bf.64a2.66c5" + port: "1/1/23" + type: "Dynamic" + vlan: "2" + - mac_address: "6c2b.59ef.7457" + port: "1/1/27" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c15.7df0" + port: "2/1/38" + type: "Dynamic" + vlan: "3" + - mac_address: "0010.20d0.b2a3" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "000f.7c0f.f373" + port: "2/1/9" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f357" + port: "2/1/13" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "666" + - mac_address: "184b.0d22.4610" + port: "1/1/4" + type: "Dynamic" + vlan: "5" + - mac_address: "000f.7c0f.f328" + port: "2/1/21" + type: "Dynamic" + vlan: "3" + - mac_address: "0010.20cf.9f4d" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "e454.e85d.9381" + port: "1/1/47" + type: "Dynamic" + vlan: "4" + - mac_address: "000f.7c0f.f371" + port: "2/1/2" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f355" + port: "2/1/15" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.20d2.8b2b" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "6c2b.59e9.aa1c" + port: "1/1/20" + type: "Dynamic" + vlan: "2" + - mac_address: "000f.7c0f.f382" + port: "2/1/12" + type: "Dynamic" + vlan: "3" + - mac_address: "d89e.f344.6592" + port: "1/1/11" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f377" + port: "2/1/10" + type: "Dynamic" + vlan: "3" + - mac_address: "184b.0d22.d920" + port: "1/1/3" + type: "Dynamic" + vlan: "5" + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "2" + - mac_address: "000f.7c0f.f380" + port: "2/1/23" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f32c" + port: "2/1/31" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c10.683f" + port: "2/1/35" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f375" + port: "2/1/3" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "5" + - mac_address: "000f.7c0f.f386" + port: "2/1/14" + type: "Dynamic" + vlan: "3" + - mac_address: "6400.6a01.18a6" + port: "1/1/18" + type: "Dynamic" + vlan: "1" + - mac_address: "509a.4c4e.bb73" + port: "1/1/12" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f323" + port: "2/1/25" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "7" + - mac_address: "000f.7c0f.f384" + port: "2/1/22" + type: "Dynamic" + vlan: "3" + - mac_address: "001a.ef5b.6804" + port: "1/1/4" + type: "Dynamic" + vlan: "10" + - mac_address: "000f.7c15.7e23" + port: "2/1/34" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c15.7e07" + port: "2/1/37" + type: "Dynamic" + vlan: "3" + - mac_address: "54bf.6474.f6bb" + port: "1/1/10" + type: "Dynamic" + vlan: "1" + - mac_address: "d89e.f31b.48ea" + port: "1/1/17" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.40b3.a1de" + port: "1/1/2" + type: "Dynamic" + vlan: "10" + - mac_address: "6c2b.59d6.b345" + port: "1/1/21" + type: "Dynamic" + vlan: "2" + - mac_address: "000f.7c0f.f327" + port: "2/1/24" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "11" + - mac_address: "000f.7c0f.f325" + port: "2/1/29" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f352" + port: "2/1/19" + type: "Dynamic" + vlan: "3" + - mac_address: "d89e.f344.64bc" + port: "1/1/46" + type: "Dynamic" + vlan: "4" + - mac_address: "f8bc.128f.04ee" + port: "1/1/14" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c10.212e" + port: "2/1/32" + type: "Dynamic" + vlan: "3" + - mac_address: "6c2b.59d6.9fcd" + port: "1/1/19" + type: "Dynamic" + vlan: "2" + - mac_address: "6c2b.59dd.c6fa" + port: "1/1/8" + type: "Dynamic" + vlan: "1" + - mac_address: "fa98.6b8a.a8b9" + port: "1/1/4" + type: "Dynamic" + vlan: "11" + - mac_address: "d861.6240.f255" + port: "1/1/1" + type: "Dynamic" + vlan: "10" + - mac_address: "54bf.6496.c555" + port: "1/1/7" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f372" + port: "2/1/4" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c14.fa31" + port: "2/1/26" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f356" + port: "2/1/33" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f383" + port: "2/1/8" + type: "Dynamic" + vlan: "3" + - mac_address: "484d.7edb.1116" + port: "1/1/15" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f370" + port: "2/1/6" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f354" + port: "2/1/16" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.16df" + port: "2/1/1" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c0f.f381" + port: "2/1/17" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f32d" + port: "2/1/20" + type: "Dynamic" + vlan: "3" + - mac_address: "000f.7c0f.f376" + port: "2/1/5" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "10" + - mac_address: "70db.9895.73aa" + port: "1/2/1" + type: "Dynamic" + vlan: "4" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "10" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "4" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "3" + - mac_address: "70db.9895.73ab" + port: "1/2/1" + type: "Dynamic" + vlan: "2" diff --git a/tests/ruckus_fastiron/show_mac-address/show_mac-address1.raw b/tests/ruckus_fastiron/show_mac-address/show_mac-address1.raw new file mode 100644 index 0000000000..7b32eb426c --- /dev/null +++ b/tests/ruckus_fastiron/show_mac-address/show_mac-address1.raw @@ -0,0 +1,411 @@ + +Total active entries from all ports = 603 +MAC-Address Port Type VLAN +0002.d113.1d4e lg61 Dynamic 191 +0010.1848.e9ef lg11 Dynamic 1 +f866.f2a8.242a lg7 Dynamic 1 +6400.6a1f.f6ce lg14 Dynamic 10 +54ec.2f2d.60e0 lg41 Dynamic 110 +d4ae.52e9.2b6d lg11 Dynamic 1 +0015.5d01.300a lg12 Dynamic 1 +6c2b.59de.5656 lg31 Dynamic 101 +d481.d786.39e9 lg21 Dynamic 14 +a0a8.cdbe.2d1e lg12 Dynamic 501 +0010.20cf.6e23 lg31 Dynamic 111 +54ec.2f2d.62b0 lg61 Dynamic 110 +f866.f2a8.3429 lg7 Dynamic 25 +842b.2b58.ac78 lg11 Dynamic 50 +34e6.d72e.51f8 lg71 Dynamic 13 +0010.4079.aba8 lg61 Dynamic 111 +d89e.f32f.3a26 lg22 Dynamic 11 +54ec.2f2e.9cc0 lg12 Dynamic 110 +02e0.5221.03de lg1 Static 222 +f866.f2a8.3429 lg7 Dynamic 112 +6454.2206.7a86 lg41 Dynamic 104 +MAC-Address Port Type VLAN +02e0.52a1.8a0b lg1 Static 11 +3056.8402.66c3 lg51 Dynamic 111 +1866.da13.1eaf lg41 Dynamic 102 +0020.6b6f.ba62 lg21 Dynamic 14 +0010.20cf.c30b lg31 Dynamic 111 +6c2b.59eb.527c lg21 Dynamic 14 +0020.6b3e.8f55 lg71 Dynamic 13 +3005.5c8f.7c1e lg61 Dynamic 9 +54ec.2f2d.6f80 lg41 Dynamic 110 +000f.7c14.8226 lg13 Dynamic 226 +509a.4c54.55c5 lg61 Dynamic 9 +d4ae.52e9.2b69 lg11 Dynamic 1 +f866.f2a8.342a lg7 Dynamic 1 +0015.5d0a.8f10 lg11 Dynamic 300 +c0c5.2050.8f68 lg11 Dynamic 10 +d89e.f32b.17d5 lg11 Dynamic 300 +509a.4c50.8792 lg14 Dynamic 226 +f866.f2a8.3429 lg7 Dynamic 21 +00c0.0500.093c lg71 Dynamic 75 +f8bc.1270.34ad lg41 Dynamic 101 +e454.e876.0e4b lg14 Dynamic 11 +1866.da35.3d85 lg61 Dynamic 9 +MAC-Address Port Type VLAN +782b.cb29.d613 lg11 Dynamic 1 +a80c.0db2.05a0 lg7 Dynamic 1 +02e0.5234.2c66 lg1 Static 102 +70db.9862.1afc 1/1/29 Dynamic 1 +e898.6d99.ce00 lg11 Dynamic 300 +02e0.52c6.8a0c lg1 Static 12 +d89e.f32f.3c6a lg61 Dynamic 9 +54bf.6474.a330 lg14 Dynamic 14 +0010.40b9.2c4f lg31 Dynamic 111 +0010.40b3.c058 lg31 Dynamic 111 +d4c1.9e5d.d368 lg71 Dynamic 300 +54ec.2f2d.6bb0 lg41 Dynamic 110 +f866.f2a8.3429 lg7 Dynamic 254 +d4c1.9e5c.96a8 lg31 Dynamic 300 +3822.e2f9.6a73 lg71 Dynamic 13 +d4ae.52e9.2b66 lg11 Dynamic 1 +0010.40ad.4f65 lg51 Dynamic 111 +f866.f2a8.3429 lg7 Dynamic 17 +6c2b.59df.f57d lg31 Dynamic 101 +54ec.2f2e.9c80 lg21 Dynamic 110 +54bf.646e.6a45 lg71 Dynamic 13 +f866.f2a8.3440 lg7 Dynamic 1 +MAC-Address Port Type VLAN +f866.f2a8.3429 lg7 Dynamic 32 +54ec.2f2d.4ff0 lg61 Dynamic 110 +0015.5d01.be0a lg11 Dynamic 1 +02e0.52eb.8a0d lg1 Static 13 +02e0.52a7.8a19 lg1 Static 25 +02e0.5260.8afc lg1 Static 501 +02e0.522f.8a01 lg1 Static 1 +f866.f2a8.3429 lg7 Dynamic 51 +0004.a3b0.d256 lg41 Dynamic 103 +d4c1.9e5c.a710 lg21 Dynamic 300 +0002.d113.1d54 lg61 Dynamic 191 +0009.b7f7.730d lg11 Dynamic 50 +0000.aac3.7abf lg21 Dynamic 14 +0021.9b92.e0dc lg11 Dynamic 1 +0020.6b40.20ce lg14 Dynamic 1 +a0c9.a0de.6989 lg41 Dynamic 111 +0015.5d01.3007 lg11 Dynamic 225 +b083.fe80.bb2f lg21 Dynamic 11 +b083.feaa.9b23 lg31 Dynamic 101 +484d.7ed5.5fd9 lg61 Dynamic 107 +d89e.f307.af58 lg61 Dynamic 101 +0020.6b3e.156e lg22 Dynamic 15 +MAC-Address Port Type VLAN +c8f7.50fc.9885 lg71 Dynamic 13 +f866.f2a8.3429 lg7 Dynamic 13 +484d.7ef5.e506 lg61 Dynamic 9 +0028.f89a.d436 lg12 Dynamic 501 +a41f.7254.c298 lg61 Dynamic 12 +70db.9862.1af4 1/1/29 Dynamic 1 +0009.b7f7.730d lg11 Dynamic 1 +0002.d113.1d4f lg61 Dynamic 191 +02e0.5285.8afd lg1 Static 502 +0010.20d0.b215 lg61 Dynamic 111 +02e0.5210.8a0e lg1 Static 14 +54bf.646f.d56c lg61 Dynamic 9 +f078.16de.1109 lg14 Dynamic 11 +1866.da09.8e0e lg41 Dynamic 102 +e454.e85d.92d1 lg31 Dynamic 103 +54bf.6461.cfc0 lg61 Dynamic 9 +6c2b.59df.6cda lg31 Dynamic 101 +f866.f2a8.3429 lg7 Dynamic 9 +b8ac.6f99.9588 lg11 Dynamic 1 +6c2b.59dd.b693 lg31 Dynamic 101 +e454.e860.290b lg31 Dynamic 103 +0090.c2f8.e280 lg14 Dynamic 225 +MAC-Address Port Type VLAN +a41f.727e.53c8 lg21 Dynamic 14 +d067.e5fd.3521 lg11 Dynamic 300 +0015.5d01.be02 lg11 Dynamic 1 +0019.0f04.a575 lg14 Dynamic 35 +0000.0c9f.f6a4 lg1 Dynamic 1700 +02e0.5235.8a0f lg1 Static 15 +02e0.52e1.8a4b lg1 Static 75 +e454.e87a.c28d lg71 Dynamic 13 +02e0.5269.8a33 lg1 Static 51 +54ec.2f2d.6f60 lg51 Dynamic 110 +502f.a85c.3cf9 lg1 Dynamic 1700 +6c2b.59f9.219e lg31 Dynamic 103 +480f.cfcd.7db9 lg71 Dynamic 13 +f866.f2a8.2429 lg7 Dynamic 1 +c81f.662e.e0a3 lg61 Dynamic 9 +f866.f2a8.3429 lg7 Dynamic 77 +02e0.529e.f7c9 lg1 Static 301 +0015.5d0a.8f11 lg11 Dynamic 300 +d0d0.fd22.75eb lg12 Dynamic 1 +f8bc.125e.bd90 lg31 Dynamic 101 +b8ac.6f8a.66ab lg11 Dynamic 1 +0030.4df5.d0ec lg14 Dynamic 1 +MAC-Address Port Type VLAN +0015.5d09.6522 lg61 Dynamic 9 +f866.f2a8.3429 lg7 Dynamic 20 +54ec.2f2e.8c30 lg71 Dynamic 110 +6c2b.59e0.0f92 lg31 Dynamic 101 +0015.5d01.3029 lg11 Dynamic 1 +000f.7c14.29db lg13 Dynamic 226 +54a0.50e3.240a lg12 Dynamic 10 +0010.18f1.1eb2 lg12 Dynamic 306 +02e0.525a.8a10 lg1 Static 16 +3c2a.f4a4.b291 lg21 Dynamic 14 +54bf.6476.ad35 lg41 Dynamic 102 +b083.fea2.29ca lg31 Dynamic 101 +02e0.528e.8a34 lg1 Static 52 +d4c1.9e91.2540 lg51 Dynamic 300 +2829.8621.d207 lg11 Dynamic 25 +02e0.5239.426f lg1 Static 111 +f866.f2a8.3429 lg7 Dynamic 1 +0025.64fe.33cd lg11 Dynamic 300 +0015.5d01.3003 lg12 Dynamic 1 +d4ae.52e9.2b67 lg11 Dynamic 1 +6c2b.59e0.100d lg31 Dynamic 101 +54ec.2f2e.9c60 lg12 Dynamic 110 +MAC-Address Port Type VLAN +f866.f2a8.3429 lg7 Dynamic 16 +a01d.4874.0817 lg22 Dynamic 15 +f866.f2a8.3429 lg7 Dynamic 200 +7845.c41b.eb92 lg13 Dynamic 10 +02e0.5242.8270 lg1 Static 112 +54bf.6475.04c2 lg41 Dynamic 102 +406c.8f0d.b571 lg12 Dynamic 10 +f866.f2a8.3429 lg7 Dynamic 122 +0021.b743.1f83 lg14 Dynamic 11 +000f.7c14.2a0d lg13 Dynamic 226 +f866.f2a8.3429 lg7 Dynamic 50 +02e0.527f.8a11 lg1 Static 17 +6454.2202.5e07 lg41 Dynamic 104 +02e0.5230.026e lg1 Static 110 +d4c1.9e5c.b3f8 lg12 Dynamic 300 +02e0.522b.8a4d lg1 Static 77 +3005.5cec.2fdd lg13 Dynamic 10 +1cdf.0fc6.816f lg7 Dynamic 1 +b083.fea6.3dd2 lg31 Dynamic 101 +f8bc.1261.861f lg21 Dynamic 50 +f866.f2a8.3429 lg7 Dynamic 12 +d89e.f32e.8afc lg41 Dynamic 102 +MAC-Address Port Type VLAN +f866.f2a8.3429 lg7 Dynamic 103 +0019.b9ea.68a5 lg11 Dynamic 1 +0015.5d01.300b lg11 Dynamic 306 +842b.2b56.c449 lg11 Dynamic 1 +0015.5d01.be07 lg11 Dynamic 1 +1866.da35.3d28 lg41 Dynamic 102 +0090.c2f8.e206 lg21 Dynamic 225 +0024.9701.b073 lg12 Dynamic 1 +c0c5.2050.8f2f 1/1/48 Dynamic 666 +54bf.646f.cdfb lg61 Dynamic 9 +0010.18f1.1eb2 lg12 Dynamic 225 +54ec.2f2e.9c20 lg21 Dynamic 110 +c0c5.2050.8f00 1/1/48 Dynamic 4084 +54bf.6461.cdca lg22 Dynamic 11 +6454.2206.7b97 lg41 Dynamic 104 +f8bc.1261.ae08 lg61 Dynamic 9 +54ec.2f2e.9d00 lg21 Dynamic 110 +d4c1.9e5c.c850 lg61 Dynamic 300 +d067.e524.b242 lg14 Dynamic 10 +02e0.5234.a27a lg1 Static 122 +0021.9b93.d7d7 lg11 Dynamic 1 +509a.4c50.83a2 lg61 Dynamic 9 +MAC-Address Port Type VLAN +54ec.2f2d.5d00 lg61 Dynamic 110 +6c2b.59f9.95d1 lg31 Dynamic 107 +6c2b.59eb.6fe5 lg12 Dynamic 10 +b083.febb.908a lg21 Dynamic 14 +54bf.6461.57ad lg11 Dynamic 200 +0025.64fe.33d0 lg11 Dynamic 300 +e454.e860.12ca lg31 Dynamic 103 +0014.ee02.bc43 lg11 Dynamic 1 +02e0.528f.8ae1 lg1 Static 225 +d4c1.9e5c.b468 lg11 Dynamic 300 +d4ae.52e9.2b6b lg11 Dynamic 1 +02e0.52d0.caff lg1 Static 1700 +0015.5d01.3008 lg12 Dynamic 1 +b083.feaa.9849 lg31 Dynamic 101 +0010.4079.abbd lg31 Dynamic 111 +b8ac.6f99.9586 lg11 Dynamic 1 +0010.20cf.c0a5 lg12 Dynamic 111 +842b.2b58.ac7a lg11 Dynamic 50 +0010.40a4.4922 lg31 Dynamic 111 +245e.be2d.6091 lg1 Dynamic 300 +02e0.5234.9068 lg1 Static 104 +e00e.da50.43c8 lg11 Dynamic 300 +MAC-Address Port Type VLAN +f866.f2a8.3429 lg7 Dynamic 222 +0010.18b4.26d3 lg11 Dynamic 1 +6c2b.59d5.6f52 lg22 Dynamic 11 +0090.a9dd.c7f4 lg11 Dynamic 1 +54ec.2f2d.6150 lg61 Dynamic 110 +50f7.2228.3a41 lg12 Dynamic 10 +e454.e87a.ab2c lg71 Dynamic 13 +f48e.3895.c396 lg71 Dynamic 13 +02e0.52ac.3dfe lg1 Static 254 +02e0.52b4.8ae2 lg1 Static 226 +70db.9862.1afc 1/1/29 Dynamic 306 +02e0.52a4.8a12 lg1 Static 18 +000f.7c14.8261 lg13 Dynamic 226 +003a.7ddf.637c lg11 Dynamic 300 +00c0.0500.09f6 lg31 Dynamic 75 +0001.f095.0722 lg14 Dynamic 1 +1cdf.0fc6.816f lg7 Dynamic 502 +02e0.5282.f7ce lg1 Static 306 +a41f.7282.d823 lg12 Dynamic 10 +d4c1.9e5c.6928 lg14 Dynamic 300 +8018.44dd.8991 lg11 Dynamic 1 +6400.6a20.16c0 lg14 Dynamic 10 +MAC-Address Port Type VLAN +3005.5c01.3974 lg12 Dynamic 10 +003e.e1bf.e49d lg21 Dynamic 15 +70db.9862.1afc 1/1/29 Dynamic 666 +d89e.f32b.f084 lg14 Dynamic 16 +509a.4c50.adb9 lg12 Dynamic 10 +0025.64fe.33ce lg11 Dynamic 300 +f866.f2a8.3429 lg7 Dynamic 15 +0021.b7b5.5fcc lg14 Dynamic 11 +e454.e85d.c322 lg11 Dynamic 300 +1866.da18.8e60 lg41 Dynamic 102 +0021.b77e.b8de lg14 Dynamic 11 +a4bb.6dac.030e lg12 Dynamic 10 +54ec.2f2e.9ca0 lg12 Dynamic 110 +6c2b.59f7.d715 lg14 Dynamic 17 +02e0.520a.8cc8 lg1 Static 200 +0010.20d0.b627 lg61 Dynamic 111 +02e0.5238.cc67 lg1 Static 103 +02e0.52ee.8a14 lg1 Static 20 +00c0.0500.08ad lg22 Dynamic 75 +f866.f2a8.3429 lg7 Dynamic 11 +02e0.52aa.8a20 lg1 Static 32 +54bf.649b.9cdd lg61 Dynamic 9 +MAC-Address Port Type VLAN +0015.5d01.300d lg12 Dynamic 1 +b8ac.6f8a.66ad lg11 Dynamic 1 +502f.a85c.3cd1 lg1 Dynamic 1700 +5435.305d.f27b lg21 Dynamic 501 +a41f.7254.b8c4 lg22 Dynamic 11 +54ec.2f2d.6690 lg31 Dynamic 110 +d067.e5fd.3523 lg11 Dynamic 300 +0000.0c07.ac00 lg14 Dynamic 1 +e454.e87a.257d lg22 Dynamic 11 +0080.643e.92c1 lg31 Dynamic 107 +e454.e87a.af6d lg31 Dynamic 101 +0010.40b9.2afb lg61 Dynamic 111 +e454.e860.251d lg31 Dynamic 103 +0022.195e.5dec lg11 Dynamic 1 +502f.a8a7.7aa9 lg1 Dynamic 1700 +509a.4c3e.94f3 lg14 Dynamic 11 +e454.e85d.bfad lg31 Dynamic 101 +02e0.522f.8c65 lg1 Static 101 +24e9.b364.6b00 lg12 Dynamic 1 +e454.e87a.9b01 lg71 Dynamic 13 +001b.1700.0130 lg1 Dynamic 1700 +d861.6231.c94e lg12 Dynamic 111 +MAC-Address Port Type VLAN +f866.f2a8.3429 lg7 Dynamic 191 +02e0.52cf.8a21 lg1 Static 33 +02e0.5257.8a09 lg1 Static 9 +02e0.52a5.8abf lg1 Static 191 +0010.20d0.aff7 lg31 Dynamic 111 +02e0.5213.8a15 lg1 Static 21 +0015.5d01.be00 lg11 Dynamic 1 +0010.40a4.4991 lg31 Dynamic 111 +f866.f2a8.3429 lg7 Dynamic 113 +e454.e84c.cd52 lg61 Dynamic 107 +3c2a.f41a.0f4d lg31 Dynamic 103 +54ec.2f2d.4ee0 lg31 Dynamic 110 +02e0.520a.f7d2 lg1 Static 300 +0010.18b4.26d2 lg11 Dynamic 1 +0020.6b3d.c471 lg14 Dynamic 11 +484d.7eda.b9b5 lg31 Dynamic 107 +54ec.2f2d.35f0 lg71 Dynamic 110 +0010.18f1.1eb2 lg12 Dynamic 1 +0011.1412.47fd lg31 Dynamic 103 +00e0.8615.e11b lg11 Dynamic 1 +6454.2205.8e42 lg41 Dynamic 104 +0021.b7b9.ea96 lg14 Dynamic 11 +MAC-Address Port Type VLAN +02e0.5253.646d lg1 Static 109 +848a.8d01.dbc0 lg11 Dynamic 300 +0080.64b5.4b26 lg31 Dynamic 107 +f866.f2a8.3429 lg7 Dynamic 75 +0015.5d01.3005 lg12 Dynamic 1 +3c2a.f452.869d lg14 Dynamic 11 +d4c1.9e5c.a898 lg22 Dynamic 300 +b083.fea6.fae4 lg31 Dynamic 101 +685b.3588.d8e1 lg21 Dynamic 15 +02e0.527c.8a0a lg1 Static 10 +54ec.2f2d.6f00 lg41 Dynamic 110 +6c2b.59df.24fe lg31 Dynamic 101 +02e0.52c6.f7cb lg1 Static 303 +f866.f2a8.3429 lg7 Dynamic 18 +3e96.ecf3.395b lg41 Dynamic 112 +0010.40a4.492d lg31 Dynamic 111 +e454.e896.53d0 lg21 Dynamic 14 +02e0.5216.f7cf lg1 Static 307 +1cdf.0fc6.816f lg7 Dynamic 33 +d4c1.9e5e.4528 lg41 Dynamic 300 +6400.6a20.1689 lg14 Dynamic 10 +f866.f2a8.3429 lg7 Dynamic 52 +MAC-Address Port Type VLAN +50f7.22ad.a7c1 lg71 Dynamic 13 +6c2b.59d6.a0b6 lg61 Dynamic 9 +6454.2206.5aa8 lg41 Dynamic 104 +d4c1.9e5c.a160 lg13 Dynamic 300 +0025.64fe.33cf lg11 Dynamic 300 +50f7.22ad.a9c1 lg14 Dynamic 11 +f01f.af2f.1020 lg13 Dynamic 10 +0010.40b9.6260 lg31 Dynamic 111 +a042.3f3b.dd1b lg22 Dynamic 15 +c81f.6604.7037 lg14 Dynamic 11 +509a.4c42.fa15 lg61 Dynamic 107 +6454.2202.5a7f lg41 Dynamic 104 +f866.f2a8.3429 lg7 Dynamic 14 +02e0.5232.f7ca lg1 Static 302 +02e0.5252.3c6c lg1 Static 108 +6400.6a20.1c7b lg12 Dynamic 10 +1cdf.0fc6.816f lg7 Dynamic 501 +02e0.5219.8a23 lg1 Static 35 +6c2b.59df.d5fb lg61 Dynamic 9 +f866.f2a8.3429 lg7 Dynamic 33 +54bf.6460.ed6c lg11 Dynamic 300 +c08c.6093.09b6 lg61 Dynamic 254 +MAC-Address Port Type VLAN +6400.6a20.16a2 lg41 Dynamic 101 +0015.5d01.be09 lg11 Dynamic 1 +f8bc.128f.b1d0 lg61 Dynamic 12 +0027.e31e.ebf1 lg14 Dynamic 1 +0008.3246.0041 lg14 Dynamic 11 +02e0.524b.4c6b lg1 Static 107 +54bf.646f.d11e lg61 Dynamic 9 +0010.4054.6c9f lg61 Dynamic 111 +6c2b.59ef.285c lg61 Dynamic 107 +0010.20d0.741b lg61 Dynamic 111 +d89e.f32f.3c59 lg41 Dynamic 102 +0004.a3b7.3156 lg11 Dynamic 1 +e454.e896.5459 lg61 Dynamic 103 +d89e.f345.609e lg31 Dynamic 101 +000b.6bb4.cc74 lg41 Dynamic 111 +0026.b93d.2ab0 lg11 Dynamic 226 +54ec.2f2d.4710 lg41 Dynamic 110 +f866.f2a8.3429 lg7 Dynamic 10 +90b1.1c5d.abfe lg12 Dynamic 10 +0010.40ad.039e lg61 Dynamic 111 +54ec.2f2d.5e40 lg41 Dynamic 110 +842b.2b56.c44b lg11 Dynamic 1 +MAC-Address Port Type VLAN +f01f.af30.565c lg11 Dynamic 10 +0010.40a4.48e5 lg31 Dynamic 111 +6400.6a15.bd50 lg61 Dynamic 101 +f866.f2a8.3429 lg7 Dynamic 502 +f866.f2a8.3429 lg7 Dynamic 501 +f866.f2a8.3429 lg7 Dynamic 226 +f866.f2a8.3429 lg7 Dynamic 225 +f866.f2a8.3429 lg7 Dynamic 111 +f866.f2a8.3429 lg7 Dynamic 108 +f866.f2a8.3429 lg7 Dynamic 107 +f866.f2a8.3429 lg7 Dynamic 104 +f866.f2a8.3429 lg7 Dynamic 102 +f866.f2a8.3429 lg7 Dynamic 101 +f866.f2a8.3429 lg7 Dynamic 35 +0010.18f1.1eb4 lg11 Dynamic 1 +e454.e87a.238a lg71 Dynamic 13 +f866.f2a8.3429 lg7 Dynamic 110 +f866.f2a8.3429 lg7 Dynamic 109 \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_mac-address/show_mac-address1.yml b/tests/ruckus_fastiron/show_mac-address/show_mac-address1.yml new file mode 100644 index 0000000000..e35816388e --- /dev/null +++ b/tests/ruckus_fastiron/show_mac-address/show_mac-address1.yml @@ -0,0 +1,1566 @@ +--- +parsed_sample: + - mac_address: "0002.d113.1d4e" + port: "lg61" + type: "Dynamic" + vlan: "191" + - mac_address: "0010.1848.e9ef" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "f866.f2a8.242a" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "6400.6a1f.f6ce" + port: "lg14" + type: "Dynamic" + vlan: "10" + - mac_address: "54ec.2f2d.60e0" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "d4ae.52e9.2b6d" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0015.5d01.300a" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "6c2b.59de.5656" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "d481.d786.39e9" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "a0a8.cdbe.2d1e" + port: "lg12" + type: "Dynamic" + vlan: "501" + - mac_address: "0010.20cf.6e23" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "54ec.2f2d.62b0" + port: "lg61" + type: "Dynamic" + vlan: "110" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "25" + - mac_address: "842b.2b58.ac78" + port: "lg11" + type: "Dynamic" + vlan: "50" + - mac_address: "34e6.d72e.51f8" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "0010.4079.aba8" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "d89e.f32f.3a26" + port: "lg22" + type: "Dynamic" + vlan: "11" + - mac_address: "54ec.2f2e.9cc0" + port: "lg12" + type: "Dynamic" + vlan: "110" + - mac_address: "02e0.5221.03de" + port: "lg1" + type: "Static" + vlan: "222" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "112" + - mac_address: "6454.2206.7a86" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "02e0.52a1.8a0b" + port: "lg1" + type: "Static" + vlan: "11" + - mac_address: "3056.8402.66c3" + port: "lg51" + type: "Dynamic" + vlan: "111" + - mac_address: "1866.da13.1eaf" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "0020.6b6f.ba62" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "0010.20cf.c30b" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "6c2b.59eb.527c" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "0020.6b3e.8f55" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "3005.5c8f.7c1e" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "54ec.2f2d.6f80" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "000f.7c14.8226" + port: "lg13" + type: "Dynamic" + vlan: "226" + - mac_address: "509a.4c54.55c5" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "d4ae.52e9.2b69" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "f866.f2a8.342a" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "0015.5d0a.8f10" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "c0c5.2050.8f68" + port: "lg11" + type: "Dynamic" + vlan: "10" + - mac_address: "d89e.f32b.17d5" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "509a.4c50.8792" + port: "lg14" + type: "Dynamic" + vlan: "226" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "21" + - mac_address: "00c0.0500.093c" + port: "lg71" + type: "Dynamic" + vlan: "75" + - mac_address: "f8bc.1270.34ad" + port: "lg41" + type: "Dynamic" + vlan: "101" + - mac_address: "e454.e876.0e4b" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "1866.da35.3d85" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "782b.cb29.d613" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "a80c.0db2.05a0" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "02e0.5234.2c66" + port: "lg1" + type: "Static" + vlan: "102" + - mac_address: "70db.9862.1afc" + port: "1/1/29" + type: "Dynamic" + vlan: "1" + - mac_address: "e898.6d99.ce00" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "02e0.52c6.8a0c" + port: "lg1" + type: "Static" + vlan: "12" + - mac_address: "d89e.f32f.3c6a" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "54bf.6474.a330" + port: "lg14" + type: "Dynamic" + vlan: "14" + - mac_address: "0010.40b9.2c4f" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "0010.40b3.c058" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "d4c1.9e5d.d368" + port: "lg71" + type: "Dynamic" + vlan: "300" + - mac_address: "54ec.2f2d.6bb0" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "254" + - mac_address: "d4c1.9e5c.96a8" + port: "lg31" + type: "Dynamic" + vlan: "300" + - mac_address: "3822.e2f9.6a73" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "d4ae.52e9.2b66" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.40ad.4f65" + port: "lg51" + type: "Dynamic" + vlan: "111" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "17" + - mac_address: "6c2b.59df.f57d" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "54ec.2f2e.9c80" + port: "lg21" + type: "Dynamic" + vlan: "110" + - mac_address: "54bf.646e.6a45" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "f866.f2a8.3440" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "32" + - mac_address: "54ec.2f2d.4ff0" + port: "lg61" + type: "Dynamic" + vlan: "110" + - mac_address: "0015.5d01.be0a" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "02e0.52eb.8a0d" + port: "lg1" + type: "Static" + vlan: "13" + - mac_address: "02e0.52a7.8a19" + port: "lg1" + type: "Static" + vlan: "25" + - mac_address: "02e0.5260.8afc" + port: "lg1" + type: "Static" + vlan: "501" + - mac_address: "02e0.522f.8a01" + port: "lg1" + type: "Static" + vlan: "1" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "51" + - mac_address: "0004.a3b0.d256" + port: "lg41" + type: "Dynamic" + vlan: "103" + - mac_address: "d4c1.9e5c.a710" + port: "lg21" + type: "Dynamic" + vlan: "300" + - mac_address: "0002.d113.1d54" + port: "lg61" + type: "Dynamic" + vlan: "191" + - mac_address: "0009.b7f7.730d" + port: "lg11" + type: "Dynamic" + vlan: "50" + - mac_address: "0000.aac3.7abf" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "0021.9b92.e0dc" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0020.6b40.20ce" + port: "lg14" + type: "Dynamic" + vlan: "1" + - mac_address: "a0c9.a0de.6989" + port: "lg41" + type: "Dynamic" + vlan: "111" + - mac_address: "0015.5d01.3007" + port: "lg11" + type: "Dynamic" + vlan: "225" + - mac_address: "b083.fe80.bb2f" + port: "lg21" + type: "Dynamic" + vlan: "11" + - mac_address: "b083.feaa.9b23" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "484d.7ed5.5fd9" + port: "lg61" + type: "Dynamic" + vlan: "107" + - mac_address: "d89e.f307.af58" + port: "lg61" + type: "Dynamic" + vlan: "101" + - mac_address: "0020.6b3e.156e" + port: "lg22" + type: "Dynamic" + vlan: "15" + - mac_address: "c8f7.50fc.9885" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "13" + - mac_address: "484d.7ef5.e506" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "0028.f89a.d436" + port: "lg12" + type: "Dynamic" + vlan: "501" + - mac_address: "a41f.7254.c298" + port: "lg61" + type: "Dynamic" + vlan: "12" + - mac_address: "70db.9862.1af4" + port: "1/1/29" + type: "Dynamic" + vlan: "1" + - mac_address: "0009.b7f7.730d" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0002.d113.1d4f" + port: "lg61" + type: "Dynamic" + vlan: "191" + - mac_address: "02e0.5285.8afd" + port: "lg1" + type: "Static" + vlan: "502" + - mac_address: "0010.20d0.b215" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "02e0.5210.8a0e" + port: "lg1" + type: "Static" + vlan: "14" + - mac_address: "54bf.646f.d56c" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "f078.16de.1109" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "1866.da09.8e0e" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "e454.e85d.92d1" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "54bf.6461.cfc0" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "6c2b.59df.6cda" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "9" + - mac_address: "b8ac.6f99.9588" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "6c2b.59dd.b693" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "e454.e860.290b" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "0090.c2f8.e280" + port: "lg14" + type: "Dynamic" + vlan: "225" + - mac_address: "a41f.727e.53c8" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "d067.e5fd.3521" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "0015.5d01.be02" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0019.0f04.a575" + port: "lg14" + type: "Dynamic" + vlan: "35" + - mac_address: "0000.0c9f.f6a4" + port: "lg1" + type: "Dynamic" + vlan: "1700" + - mac_address: "02e0.5235.8a0f" + port: "lg1" + type: "Static" + vlan: "15" + - mac_address: "02e0.52e1.8a4b" + port: "lg1" + type: "Static" + vlan: "75" + - mac_address: "e454.e87a.c28d" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "02e0.5269.8a33" + port: "lg1" + type: "Static" + vlan: "51" + - mac_address: "54ec.2f2d.6f60" + port: "lg51" + type: "Dynamic" + vlan: "110" + - mac_address: "502f.a85c.3cf9" + port: "lg1" + type: "Dynamic" + vlan: "1700" + - mac_address: "6c2b.59f9.219e" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "480f.cfcd.7db9" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "f866.f2a8.2429" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "c81f.662e.e0a3" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "77" + - mac_address: "02e0.529e.f7c9" + port: "lg1" + type: "Static" + vlan: "301" + - mac_address: "0015.5d0a.8f11" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "d0d0.fd22.75eb" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "f8bc.125e.bd90" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "b8ac.6f8a.66ab" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0030.4df5.d0ec" + port: "lg14" + type: "Dynamic" + vlan: "1" + - mac_address: "0015.5d09.6522" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "20" + - mac_address: "54ec.2f2e.8c30" + port: "lg71" + type: "Dynamic" + vlan: "110" + - mac_address: "6c2b.59e0.0f92" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "0015.5d01.3029" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "000f.7c14.29db" + port: "lg13" + type: "Dynamic" + vlan: "226" + - mac_address: "54a0.50e3.240a" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "0010.18f1.1eb2" + port: "lg12" + type: "Dynamic" + vlan: "306" + - mac_address: "02e0.525a.8a10" + port: "lg1" + type: "Static" + vlan: "16" + - mac_address: "3c2a.f4a4.b291" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "54bf.6476.ad35" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "b083.fea2.29ca" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "02e0.528e.8a34" + port: "lg1" + type: "Static" + vlan: "52" + - mac_address: "d4c1.9e91.2540" + port: "lg51" + type: "Dynamic" + vlan: "300" + - mac_address: "2829.8621.d207" + port: "lg11" + type: "Dynamic" + vlan: "25" + - mac_address: "02e0.5239.426f" + port: "lg1" + type: "Static" + vlan: "111" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "0025.64fe.33cd" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "0015.5d01.3003" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "d4ae.52e9.2b67" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "6c2b.59e0.100d" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "54ec.2f2e.9c60" + port: "lg12" + type: "Dynamic" + vlan: "110" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "16" + - mac_address: "a01d.4874.0817" + port: "lg22" + type: "Dynamic" + vlan: "15" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "200" + - mac_address: "7845.c41b.eb92" + port: "lg13" + type: "Dynamic" + vlan: "10" + - mac_address: "02e0.5242.8270" + port: "lg1" + type: "Static" + vlan: "112" + - mac_address: "54bf.6475.04c2" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "406c.8f0d.b571" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "122" + - mac_address: "0021.b743.1f83" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "000f.7c14.2a0d" + port: "lg13" + type: "Dynamic" + vlan: "226" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "50" + - mac_address: "02e0.527f.8a11" + port: "lg1" + type: "Static" + vlan: "17" + - mac_address: "6454.2202.5e07" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "02e0.5230.026e" + port: "lg1" + type: "Static" + vlan: "110" + - mac_address: "d4c1.9e5c.b3f8" + port: "lg12" + type: "Dynamic" + vlan: "300" + - mac_address: "02e0.522b.8a4d" + port: "lg1" + type: "Static" + vlan: "77" + - mac_address: "3005.5cec.2fdd" + port: "lg13" + type: "Dynamic" + vlan: "10" + - mac_address: "1cdf.0fc6.816f" + port: "lg7" + type: "Dynamic" + vlan: "1" + - mac_address: "b083.fea6.3dd2" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "f8bc.1261.861f" + port: "lg21" + type: "Dynamic" + vlan: "50" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "12" + - mac_address: "d89e.f32e.8afc" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "103" + - mac_address: "0019.b9ea.68a5" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0015.5d01.300b" + port: "lg11" + type: "Dynamic" + vlan: "306" + - mac_address: "842b.2b56.c449" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0015.5d01.be07" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "1866.da35.3d28" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "0090.c2f8.e206" + port: "lg21" + type: "Dynamic" + vlan: "225" + - mac_address: "0024.9701.b073" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "c0c5.2050.8f2f" + port: "1/1/48" + type: "Dynamic" + vlan: "666" + - mac_address: "54bf.646f.cdfb" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "0010.18f1.1eb2" + port: "lg12" + type: "Dynamic" + vlan: "225" + - mac_address: "54ec.2f2e.9c20" + port: "lg21" + type: "Dynamic" + vlan: "110" + - mac_address: "c0c5.2050.8f00" + port: "1/1/48" + type: "Dynamic" + vlan: "4084" + - mac_address: "54bf.6461.cdca" + port: "lg22" + type: "Dynamic" + vlan: "11" + - mac_address: "6454.2206.7b97" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "f8bc.1261.ae08" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "54ec.2f2e.9d00" + port: "lg21" + type: "Dynamic" + vlan: "110" + - mac_address: "d4c1.9e5c.c850" + port: "lg61" + type: "Dynamic" + vlan: "300" + - mac_address: "d067.e524.b242" + port: "lg14" + type: "Dynamic" + vlan: "10" + - mac_address: "02e0.5234.a27a" + port: "lg1" + type: "Static" + vlan: "122" + - mac_address: "0021.9b93.d7d7" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "509a.4c50.83a2" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "54ec.2f2d.5d00" + port: "lg61" + type: "Dynamic" + vlan: "110" + - mac_address: "6c2b.59f9.95d1" + port: "lg31" + type: "Dynamic" + vlan: "107" + - mac_address: "6c2b.59eb.6fe5" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "b083.febb.908a" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "54bf.6461.57ad" + port: "lg11" + type: "Dynamic" + vlan: "200" + - mac_address: "0025.64fe.33d0" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "e454.e860.12ca" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "0014.ee02.bc43" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "02e0.528f.8ae1" + port: "lg1" + type: "Static" + vlan: "225" + - mac_address: "d4c1.9e5c.b468" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "d4ae.52e9.2b6b" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "02e0.52d0.caff" + port: "lg1" + type: "Static" + vlan: "1700" + - mac_address: "0015.5d01.3008" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "b083.feaa.9849" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "0010.4079.abbd" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "b8ac.6f99.9586" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.20cf.c0a5" + port: "lg12" + type: "Dynamic" + vlan: "111" + - mac_address: "842b.2b58.ac7a" + port: "lg11" + type: "Dynamic" + vlan: "50" + - mac_address: "0010.40a4.4922" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "245e.be2d.6091" + port: "lg1" + type: "Dynamic" + vlan: "300" + - mac_address: "02e0.5234.9068" + port: "lg1" + type: "Static" + vlan: "104" + - mac_address: "e00e.da50.43c8" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "222" + - mac_address: "0010.18b4.26d3" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "6c2b.59d5.6f52" + port: "lg22" + type: "Dynamic" + vlan: "11" + - mac_address: "0090.a9dd.c7f4" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "54ec.2f2d.6150" + port: "lg61" + type: "Dynamic" + vlan: "110" + - mac_address: "50f7.2228.3a41" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "e454.e87a.ab2c" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "f48e.3895.c396" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "02e0.52ac.3dfe" + port: "lg1" + type: "Static" + vlan: "254" + - mac_address: "02e0.52b4.8ae2" + port: "lg1" + type: "Static" + vlan: "226" + - mac_address: "70db.9862.1afc" + port: "1/1/29" + type: "Dynamic" + vlan: "306" + - mac_address: "02e0.52a4.8a12" + port: "lg1" + type: "Static" + vlan: "18" + - mac_address: "000f.7c14.8261" + port: "lg13" + type: "Dynamic" + vlan: "226" + - mac_address: "003a.7ddf.637c" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "00c0.0500.09f6" + port: "lg31" + type: "Dynamic" + vlan: "75" + - mac_address: "0001.f095.0722" + port: "lg14" + type: "Dynamic" + vlan: "1" + - mac_address: "1cdf.0fc6.816f" + port: "lg7" + type: "Dynamic" + vlan: "502" + - mac_address: "02e0.5282.f7ce" + port: "lg1" + type: "Static" + vlan: "306" + - mac_address: "a41f.7282.d823" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "d4c1.9e5c.6928" + port: "lg14" + type: "Dynamic" + vlan: "300" + - mac_address: "8018.44dd.8991" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "6400.6a20.16c0" + port: "lg14" + type: "Dynamic" + vlan: "10" + - mac_address: "3005.5c01.3974" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "003e.e1bf.e49d" + port: "lg21" + type: "Dynamic" + vlan: "15" + - mac_address: "70db.9862.1afc" + port: "1/1/29" + type: "Dynamic" + vlan: "666" + - mac_address: "d89e.f32b.f084" + port: "lg14" + type: "Dynamic" + vlan: "16" + - mac_address: "509a.4c50.adb9" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "0025.64fe.33ce" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "15" + - mac_address: "0021.b7b5.5fcc" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "e454.e85d.c322" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "1866.da18.8e60" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "0021.b77e.b8de" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "a4bb.6dac.030e" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "54ec.2f2e.9ca0" + port: "lg12" + type: "Dynamic" + vlan: "110" + - mac_address: "6c2b.59f7.d715" + port: "lg14" + type: "Dynamic" + vlan: "17" + - mac_address: "02e0.520a.8cc8" + port: "lg1" + type: "Static" + vlan: "200" + - mac_address: "0010.20d0.b627" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "02e0.5238.cc67" + port: "lg1" + type: "Static" + vlan: "103" + - mac_address: "02e0.52ee.8a14" + port: "lg1" + type: "Static" + vlan: "20" + - mac_address: "00c0.0500.08ad" + port: "lg22" + type: "Dynamic" + vlan: "75" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "11" + - mac_address: "02e0.52aa.8a20" + port: "lg1" + type: "Static" + vlan: "32" + - mac_address: "54bf.649b.9cdd" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "0015.5d01.300d" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "b8ac.6f8a.66ad" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "502f.a85c.3cd1" + port: "lg1" + type: "Dynamic" + vlan: "1700" + - mac_address: "5435.305d.f27b" + port: "lg21" + type: "Dynamic" + vlan: "501" + - mac_address: "a41f.7254.b8c4" + port: "lg22" + type: "Dynamic" + vlan: "11" + - mac_address: "54ec.2f2d.6690" + port: "lg31" + type: "Dynamic" + vlan: "110" + - mac_address: "d067.e5fd.3523" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "0000.0c07.ac00" + port: "lg14" + type: "Dynamic" + vlan: "1" + - mac_address: "e454.e87a.257d" + port: "lg22" + type: "Dynamic" + vlan: "11" + - mac_address: "0080.643e.92c1" + port: "lg31" + type: "Dynamic" + vlan: "107" + - mac_address: "e454.e87a.af6d" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "0010.40b9.2afb" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "e454.e860.251d" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "0022.195e.5dec" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "502f.a8a7.7aa9" + port: "lg1" + type: "Dynamic" + vlan: "1700" + - mac_address: "509a.4c3e.94f3" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "e454.e85d.bfad" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "02e0.522f.8c65" + port: "lg1" + type: "Static" + vlan: "101" + - mac_address: "24e9.b364.6b00" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "e454.e87a.9b01" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "001b.1700.0130" + port: "lg1" + type: "Dynamic" + vlan: "1700" + - mac_address: "d861.6231.c94e" + port: "lg12" + type: "Dynamic" + vlan: "111" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "191" + - mac_address: "02e0.52cf.8a21" + port: "lg1" + type: "Static" + vlan: "33" + - mac_address: "02e0.5257.8a09" + port: "lg1" + type: "Static" + vlan: "9" + - mac_address: "02e0.52a5.8abf" + port: "lg1" + type: "Static" + vlan: "191" + - mac_address: "0010.20d0.aff7" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "02e0.5213.8a15" + port: "lg1" + type: "Static" + vlan: "21" + - mac_address: "0015.5d01.be00" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0010.40a4.4991" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "113" + - mac_address: "e454.e84c.cd52" + port: "lg61" + type: "Dynamic" + vlan: "107" + - mac_address: "3c2a.f41a.0f4d" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "54ec.2f2d.4ee0" + port: "lg31" + type: "Dynamic" + vlan: "110" + - mac_address: "02e0.520a.f7d2" + port: "lg1" + type: "Static" + vlan: "300" + - mac_address: "0010.18b4.26d2" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "0020.6b3d.c471" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "484d.7eda.b9b5" + port: "lg31" + type: "Dynamic" + vlan: "107" + - mac_address: "54ec.2f2d.35f0" + port: "lg71" + type: "Dynamic" + vlan: "110" + - mac_address: "0010.18f1.1eb2" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "0011.1412.47fd" + port: "lg31" + type: "Dynamic" + vlan: "103" + - mac_address: "00e0.8615.e11b" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "6454.2205.8e42" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "0021.b7b9.ea96" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "02e0.5253.646d" + port: "lg1" + type: "Static" + vlan: "109" + - mac_address: "848a.8d01.dbc0" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "0080.64b5.4b26" + port: "lg31" + type: "Dynamic" + vlan: "107" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "75" + - mac_address: "0015.5d01.3005" + port: "lg12" + type: "Dynamic" + vlan: "1" + - mac_address: "3c2a.f452.869d" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "d4c1.9e5c.a898" + port: "lg22" + type: "Dynamic" + vlan: "300" + - mac_address: "b083.fea6.fae4" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "685b.3588.d8e1" + port: "lg21" + type: "Dynamic" + vlan: "15" + - mac_address: "02e0.527c.8a0a" + port: "lg1" + type: "Static" + vlan: "10" + - mac_address: "54ec.2f2d.6f00" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "6c2b.59df.24fe" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "02e0.52c6.f7cb" + port: "lg1" + type: "Static" + vlan: "303" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "18" + - mac_address: "3e96.ecf3.395b" + port: "lg41" + type: "Dynamic" + vlan: "112" + - mac_address: "0010.40a4.492d" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "e454.e896.53d0" + port: "lg21" + type: "Dynamic" + vlan: "14" + - mac_address: "02e0.5216.f7cf" + port: "lg1" + type: "Static" + vlan: "307" + - mac_address: "1cdf.0fc6.816f" + port: "lg7" + type: "Dynamic" + vlan: "33" + - mac_address: "d4c1.9e5e.4528" + port: "lg41" + type: "Dynamic" + vlan: "300" + - mac_address: "6400.6a20.1689" + port: "lg14" + type: "Dynamic" + vlan: "10" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "52" + - mac_address: "50f7.22ad.a7c1" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "6c2b.59d6.a0b6" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "6454.2206.5aa8" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "d4c1.9e5c.a160" + port: "lg13" + type: "Dynamic" + vlan: "300" + - mac_address: "0025.64fe.33cf" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "50f7.22ad.a9c1" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "f01f.af2f.1020" + port: "lg13" + type: "Dynamic" + vlan: "10" + - mac_address: "0010.40b9.6260" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "a042.3f3b.dd1b" + port: "lg22" + type: "Dynamic" + vlan: "15" + - mac_address: "c81f.6604.7037" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "509a.4c42.fa15" + port: "lg61" + type: "Dynamic" + vlan: "107" + - mac_address: "6454.2202.5a7f" + port: "lg41" + type: "Dynamic" + vlan: "104" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "14" + - mac_address: "02e0.5232.f7ca" + port: "lg1" + type: "Static" + vlan: "302" + - mac_address: "02e0.5252.3c6c" + port: "lg1" + type: "Static" + vlan: "108" + - mac_address: "6400.6a20.1c7b" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "1cdf.0fc6.816f" + port: "lg7" + type: "Dynamic" + vlan: "501" + - mac_address: "02e0.5219.8a23" + port: "lg1" + type: "Static" + vlan: "35" + - mac_address: "6c2b.59df.d5fb" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "33" + - mac_address: "54bf.6460.ed6c" + port: "lg11" + type: "Dynamic" + vlan: "300" + - mac_address: "c08c.6093.09b6" + port: "lg61" + type: "Dynamic" + vlan: "254" + - mac_address: "6400.6a20.16a2" + port: "lg41" + type: "Dynamic" + vlan: "101" + - mac_address: "0015.5d01.be09" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "f8bc.128f.b1d0" + port: "lg61" + type: "Dynamic" + vlan: "12" + - mac_address: "0027.e31e.ebf1" + port: "lg14" + type: "Dynamic" + vlan: "1" + - mac_address: "0008.3246.0041" + port: "lg14" + type: "Dynamic" + vlan: "11" + - mac_address: "02e0.524b.4c6b" + port: "lg1" + type: "Static" + vlan: "107" + - mac_address: "54bf.646f.d11e" + port: "lg61" + type: "Dynamic" + vlan: "9" + - mac_address: "0010.4054.6c9f" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "6c2b.59ef.285c" + port: "lg61" + type: "Dynamic" + vlan: "107" + - mac_address: "0010.20d0.741b" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "d89e.f32f.3c59" + port: "lg41" + type: "Dynamic" + vlan: "102" + - mac_address: "0004.a3b7.3156" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "e454.e896.5459" + port: "lg61" + type: "Dynamic" + vlan: "103" + - mac_address: "d89e.f345.609e" + port: "lg31" + type: "Dynamic" + vlan: "101" + - mac_address: "000b.6bb4.cc74" + port: "lg41" + type: "Dynamic" + vlan: "111" + - mac_address: "0026.b93d.2ab0" + port: "lg11" + type: "Dynamic" + vlan: "226" + - mac_address: "54ec.2f2d.4710" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "10" + - mac_address: "90b1.1c5d.abfe" + port: "lg12" + type: "Dynamic" + vlan: "10" + - mac_address: "0010.40ad.039e" + port: "lg61" + type: "Dynamic" + vlan: "111" + - mac_address: "54ec.2f2d.5e40" + port: "lg41" + type: "Dynamic" + vlan: "110" + - mac_address: "842b.2b56.c44b" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "f01f.af30.565c" + port: "lg11" + type: "Dynamic" + vlan: "10" + - mac_address: "0010.40a4.48e5" + port: "lg31" + type: "Dynamic" + vlan: "111" + - mac_address: "6400.6a15.bd50" + port: "lg61" + type: "Dynamic" + vlan: "101" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "502" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "501" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "226" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "225" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "111" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "108" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "107" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "104" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "102" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "101" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "35" + - mac_address: "0010.18f1.1eb4" + port: "lg11" + type: "Dynamic" + vlan: "1" + - mac_address: "e454.e87a.238a" + port: "lg71" + type: "Dynamic" + vlan: "13" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "110" + - mac_address: "f866.f2a8.3429" + port: "lg7" + type: "Dynamic" + vlan: "109" From 080fa3de02c493ac9165969e2fe03a771ae9eca1 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 15 Mar 2021 13:24:36 -0600 Subject: [PATCH 574/628] Bugfix: Type for cisco_nxos_show_interface_status (#880) --- .../cisco_nxos_show_interface_status.textfsm | 8 +- .../cisco_nxos_show_interface_status3.raw | 1 + .../cisco_nxos_show_interface_status3.yml | 109 ++++++++++-------- 3 files changed, 63 insertions(+), 55 deletions(-) diff --git a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm index 024141a729..5d142c9b3c 100644 --- a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm @@ -4,11 +4,11 @@ Value STATUS (\S+) Value VLAN (\d+|routed|trunk|--) Value DUPLEX (\S+) Value SPEED (\S+) -Value TYPE (\S+|\S+\s+\S+) +Value TYPE (\S+(\s\S+)*) Start ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record ^[Pp]ort\s+[Nn]ame\s+[Ss]tatus\s+[Vv]lan\s+[Dd]uplex\s+[Ss]peed\s+[Tt]ype\s*$$ - ^-+\s*$$ - ^$$ - ^.*$$ -> Error + ^-+ + ^\s*$$ + ^. -> Error diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw index 434aca5b33..05eeec8aa8 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw @@ -14,3 +14,4 @@ Eth1/10 -- channelDo 1 full 10G Fabric Exte Eth1/11 -- channelDo 1 full 10G Fabric Exte Eth1/12 -- channelDo 1 full 10G Fabric Exte Eth1/13 upk N2232PP-651-10 connected 1 full 10G Fabric Exte +Eth1/39 "FEX151" connected 1 full 10G Fabric Extender Transceiver diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml index 8733852232..abc118c072 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml @@ -1,93 +1,100 @@ --- parsed_sample: - - duplex: "full" + - port: "Eth1/1" name: "upk peerLink_XXXX" - port: "Eth1/1" - speed: "10G" status: "connected" - type: "10Gbase-SR" vlan: "trunk" - - duplex: "full" - name: "upk peerLink_XXXX" - port: "Eth1/2" + duplex: "full" speed: "10G" - status: "connected" type: "10Gbase-SR" - vlan: "trunk" - - duplex: "full" + - port: "Eth1/2" name: "upk peerLink_XXXX" - port: "Eth1/3" - speed: "10G" status: "connected" - type: "10Gbase-SR" vlan: "trunk" - - duplex: "full" - name: "upk peerLink_XXXX" - port: "Eth1/4" + duplex: "full" speed: "10G" - status: "connected" type: "10Gbase-SR" - vlan: "trunk" - - duplex: "full" + - port: "Eth1/3" name: "upk peerLink_XXXX" - port: "Eth1/5" - speed: "10G" status: "connected" - type: "10Gbase-SR" vlan: "trunk" - - duplex: "full" - name: "upk peerLink_XXXX" - port: "Eth1/6" + duplex: "full" speed: "10G" - status: "connected" type: "10Gbase-SR" - vlan: "trunk" - - duplex: "full" + - port: "Eth1/4" name: "upk peerLink_XXXX" - port: "Eth1/7" - speed: "10G" status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" type: "10Gbase-SR" + - port: "Eth1/5" + name: "upk peerLink_XXXX" + status: "connected" vlan: "trunk" - - duplex: "full" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" + - port: "Eth1/6" name: "upk peerLink_XXXX" - port: "Eth1/8" + status: "connected" + vlan: "trunk" + duplex: "full" speed: "10G" + type: "10Gbase-SR" + - port: "Eth1/7" + name: "upk peerLink_XXXX" status: "connected" + vlan: "trunk" + duplex: "full" + speed: "10G" type: "10Gbase-SR" + - port: "Eth1/8" + name: "upk peerLink_XXXX" + status: "connected" vlan: "trunk" - - duplex: "full" - name: "--" - port: "Eth1/9" + duplex: "full" speed: "10G" + type: "10Gbase-SR" + - port: "Eth1/9" + name: "--" status: "channelDo" - type: "Fabric Exte" vlan: "1" - - duplex: "full" - name: "--" - port: "Eth1/10" + duplex: "full" speed: "10G" - status: "channelDo" type: "Fabric Exte" - vlan: "1" - - duplex: "full" + - port: "Eth1/10" name: "--" - port: "Eth1/11" - speed: "10G" status: "channelDo" - type: "Fabric Exte" vlan: "1" - - duplex: "full" - name: "--" - port: "Eth1/12" + duplex: "full" speed: "10G" + type: "Fabric Exte" + - port: "Eth1/11" + name: "--" status: "channelDo" + vlan: "1" + duplex: "full" + speed: "10G" type: "Fabric Exte" + - port: "Eth1/12" + name: "--" + status: "channelDo" vlan: "1" - - duplex: "full" - name: "upk N2232PP-651-10" - port: "Eth1/13" + duplex: "full" speed: "10G" + type: "Fabric Exte" + - port: "Eth1/13" + name: "upk N2232PP-651-10" status: "connected" + vlan: "1" + duplex: "full" + speed: "10G" type: "Fabric Exte" + - port: "Eth1/39" + name: "\"FEX151\"" + status: "connected" vlan: "1" + duplex: "full" + speed: "10G" + type: "Fabric Extender Transceiver" From 7bbc03c5c4cdddc4356da5c5ff66a0ec72b765d3 Mon Sep 17 00:00:00 2001 From: Adam Troy Date: Tue, 16 Mar 2021 09:15:45 -0500 Subject: [PATCH 575/628] New Template: ruckus_fastiron, show interfaces brief (#895) --- ntc_templates/templates/index | 1 + ...kus_fastiron_show_interfaces_brief.textfsm | 18 + .../show_interfaces_brief.raw | 111 ++ .../show_interfaces_brief.yml | 1201 +++++++++++++++ .../show_interfaces_brief1.raw | 122 ++ .../show_interfaces_brief1.yml | 1300 +++++++++++++++++ 6 files changed, 2753 insertions(+) create mode 100644 ntc_templates/templates/ruckus_fastiron_show_interfaces_brief.textfsm create mode 100644 tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.raw create mode 100644 tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.yml create mode 100644 tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.raw create mode 100644 tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index b6c1d5eb60..6e4c1895e7 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -456,6 +456,7 @@ paloalto_panos_show_jobs_all.textfsm, .*, paloalto_panos, sh[[ow]] jo[[bs]] all paloalto_panos_show_arp_all.textfsm, .*, paloalto_panos, sh[[ow]] ar[[p]] all paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all +ruckus_fastiron_show_interfaces_brief.textfsm, .*, ruckus_fastiron, sh[[ow]] int[[erfaces]] b[[rief]] ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-address]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] diff --git a/ntc_templates/templates/ruckus_fastiron_show_interfaces_brief.textfsm b/ntc_templates/templates/ruckus_fastiron_show_interfaces_brief.textfsm new file mode 100644 index 0000000000..65ced4520f --- /dev/null +++ b/ntc_templates/templates/ruckus_fastiron_show_interfaces_brief.textfsm @@ -0,0 +1,18 @@ +Value Required PORT (\S+) +Value LINK (\S+) +Value STATE (\S+) +Value DUPLEX (\S+) +Value SPEED (\S+) +Value TRUNK (\S+) +Value TAG (\S+) +Value PVID (\S+) +Value PRIORITY (\S+) +Value MAC_ADDRESS (([A-Fa-f0-9\.]{14}|None)) +Value NAME (\S+) + +Start + ^Port\s+Link\s+State\s+Dupl\s+Speed\s+Trunk\s+Tag\s+Pvid\s+Pri\s+MAC\s+Name + ^${PORT}\s+${LINK}\s+${STATE}\s+${DUPLEX}\s+${SPEED}\s+${TRUNK}\s+${TAG}\s+${PVID}\s+${PRIORITY}\s+${MAC_ADDRESS}\s+${NAME} -> Record + ^${PORT}\s+${LINK}\s+${STATE}\s+${DUPLEX}\s+${SPEED}\s+${TRUNK}\s+${TAG}\s+${PVID}\s+${PRIORITY}\s+${MAC_ADDRESS} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.raw b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.raw new file mode 100644 index 0000000000..8e354ee67b --- /dev/null +++ b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.raw @@ -0,0 +1,111 @@ + +Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name +1/1/1 Up Forward Full 1G None Yes 5 0 d4c1.9e8f.1108 +1/1/2 Up Forward Full 1G None Yes 5 0 d4c1.9e8f.1109 +1/1/3 Up Forward Full 1G None Yes 5 0 d4c1.9e8f.110a +1/1/4 Up Forward Full 1G None Yes 5 0 d4c1.9e8f.110b +1/1/5 Up Forward Full 1G None Yes 5 0 d4c1.9e8f.110c +1/1/6 Up Forward Full 1G None No 1 0 d4c1.9e8f.110d +1/1/7 Up Forward Full 1G None No 1 0 d4c1.9e8f.110e +1/1/8 Up Forward Full 1G None No 1 0 d4c1.9e8f.110f +1/1/9 Up Forward Full 1G None No 1 0 d4c1.9e8f.1110 +1/1/10 Up Forward Full 1G None No 1 0 d4c1.9e8f.1111 +1/1/11 Up Forward Full 100M None No 1 0 d4c1.9e8f.1112 +1/1/12 Up Forward Full 1G None No 1 0 d4c1.9e8f.1113 +1/1/13 Down None None None None No 1 0 d4c1.9e8f.1114 +1/1/14 Up Forward Full 1G None No 1 0 d4c1.9e8f.1115 +1/1/15 Up Forward Full 1G None No 1 0 d4c1.9e8f.1116 +1/1/16 Up Forward Full 100M None No 1 0 d4c1.9e8f.1117 +1/1/17 Up Forward Full 1G None No 1 0 d4c1.9e8f.1118 +1/1/18 Up Forward Full 1G None No 1 0 d4c1.9e8f.1119 +1/1/19 Up Forward Full 100M None No 2 0 d4c1.9e8f.111a +1/1/20 Up Forward Full 1G None No 2 0 d4c1.9e8f.111b +1/1/21 Up Forward Full 100M None No 2 0 d4c1.9e8f.111c +1/1/22 Up Forward Full 100M None No 2 0 d4c1.9e8f.111d +1/1/23 Up Forward Full 100M None No 2 0 d4c1.9e8f.111e +1/1/24 Down None None None None No 666 0 d4c1.9e8f.111f +1/1/25 Down None None None None No 666 0 d4c1.9e8f.1120 +1/1/26 Down None None None None No 666 0 d4c1.9e8f.1121 +1/1/27 Up Forward Full 1G None No 1 0 d4c1.9e8f.1122 +1/1/28 Down None None None None No 666 0 d4c1.9e8f.1123 +1/1/29 Down None None None None No 666 0 d4c1.9e8f.1124 +1/1/30 Down None None None None No 666 0 d4c1.9e8f.1125 +1/1/31 Down None None None None No 666 0 d4c1.9e8f.1126 +1/1/32 Down None None None None No 666 0 d4c1.9e8f.1127 +1/1/33 Up Forward Full 100M None No 7 0 d4c1.9e8f.1128 +1/1/34 Down None None None None No 666 0 d4c1.9e8f.1129 +1/1/35 Down None None None None No 666 0 d4c1.9e8f.112a +1/1/36 Down None None None None No 666 0 d4c1.9e8f.112b +1/1/37 Down None None None None No 666 0 d4c1.9e8f.112c +1/1/38 Down None None None None No 666 0 d4c1.9e8f.112d +1/1/39 Down None None None None No 666 0 d4c1.9e8f.112e +1/1/40 Down None None None None No 666 0 d4c1.9e8f.112f +1/1/41 Down None None None None No 666 0 d4c1.9e8f.1130 +1/1/42 Down None None None None No 666 0 d4c1.9e8f.1131 +1/1/43 Down None None None None No 666 0 d4c1.9e8f.1132 +1/1/44 Down None None None None No 666 0 d4c1.9e8f.1133 +1/1/45 Down None None None None No 666 0 d4c1.9e8f.1134 +1/1/46 Up Forward Full 1G None No 4 0 d4c1.9e8f.1135 +1/1/47 Up Forward Full 1G None No 4 0 d4c1.9e8f.1136 +1/1/48 Up Forward Full 1G None No 4 0 d4c1.9e8f.1137 +1/2/1 Up Forward Full 1G None Yes 666 0 d4c1.9e8f.1139 +1/2/2 Down None None None None No 666 0 d4c1.9e8f.113a +1/3/1 Up Forward Full 10G None No N/A 0 d4c1.9e8f.113b +1/3/2 Down None None None None No 666 0 d4c1.9e8f.113c +1/3/3 Up Forward Full 10G None No N/A 0 d4c1.9e8f.113d +1/3/4 Down None None None None No 666 0 d4c1.9e8f.113e +2/1/1 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b0 +2/1/2 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b1 +2/1/3 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b2 +2/1/4 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b3 +2/1/5 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b4 +2/1/6 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b5 +2/1/7 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b6 +2/1/8 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b7 +2/1/9 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b8 +2/1/10 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5b9 +2/1/11 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5ba +2/1/12 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5bb +2/1/13 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5bc +2/1/14 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5bd +2/1/15 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5be +2/1/16 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5bf +2/1/17 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c0 +2/1/18 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c1 +2/1/19 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c2 +2/1/20 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c3 +2/1/21 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c4 +2/1/22 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c5 +2/1/23 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c6 +2/1/24 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c7 +2/1/25 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c8 +2/1/26 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5c9 +2/1/27 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5ca +2/1/28 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5cb +2/1/29 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5cc +2/1/30 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5cd +2/1/31 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5ce +2/1/32 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5cf +2/1/33 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5d0 +2/1/34 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5d1 +2/1/35 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5d2 +2/1/36 Down None None None None No 3 0 d4c1.9e8e.f5d3 +2/1/37 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5d4 +2/1/38 Up Forward Full 100M None No 3 0 d4c1.9e8e.f5d5 +2/1/39 Down None None None None No 3 0 d4c1.9e8e.f5d6 +2/1/40 Down None None None None No 3 0 d4c1.9e8e.f5d7 +2/1/41 Down None None None None No 3 0 d4c1.9e8e.f5d8 +2/1/42 Down None None None None No 3 0 d4c1.9e8e.f5d9 +2/1/43 Down None None None None No 3 0 d4c1.9e8e.f5da +2/1/44 Down None None None None No 3 0 d4c1.9e8e.f5db +2/1/45 Down None None None None No 3 0 d4c1.9e8e.f5dc +2/1/46 Down None None None None No 3 0 d4c1.9e8e.f5dd +2/1/47 Down None None None None No 3 0 d4c1.9e8e.f5de +2/1/48 Up Forward Full 1G None No 3 0 d4c1.9e8e.f5df +2/2/1 Down None None None None No 666 0 d4c1.9e8e.f5e1 +2/2/2 Down None None None None No 666 0 d4c1.9e8e.f5e2 +2/3/1 Up Forward Full 10G None No N/A 0 d4c1.9e8e.f5e3 +2/3/2 Down None None None None No 666 0 d4c1.9e8e.f5e4 +2/3/3 Up Forward Full 10G None No N/A 0 d4c1.9e8e.f5e5 +2/3/4 Down None None None None No 666 0 d4c1.9e8e.f5e6 +mgmt1 Down None None None None No None 0 d4c1.9e8f.1108 diff --git a/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.yml b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.yml new file mode 100644 index 0000000000..2fbdc049a8 --- /dev/null +++ b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief.yml @@ -0,0 +1,1201 @@ +--- +parsed_sample: + - port: "1/1/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "5" + priority: "0" + mac_address: "d4c1.9e8f.1108" + name: "" + - port: "1/1/2" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "5" + priority: "0" + mac_address: "d4c1.9e8f.1109" + name: "" + - port: "1/1/3" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "5" + priority: "0" + mac_address: "d4c1.9e8f.110a" + name: "" + - port: "1/1/4" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "5" + priority: "0" + mac_address: "d4c1.9e8f.110b" + name: "" + - port: "1/1/5" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "5" + priority: "0" + mac_address: "d4c1.9e8f.110c" + name: "" + - port: "1/1/6" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.110d" + name: "" + - port: "1/1/7" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.110e" + name: "" + - port: "1/1/8" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.110f" + name: "" + - port: "1/1/9" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1110" + name: "" + - port: "1/1/10" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1111" + name: "" + - port: "1/1/11" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1112" + name: "" + - port: "1/1/12" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1113" + name: "" + - port: "1/1/13" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1114" + name: "" + - port: "1/1/14" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1115" + name: "" + - port: "1/1/15" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1116" + name: "" + - port: "1/1/16" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1117" + name: "" + - port: "1/1/17" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1118" + name: "" + - port: "1/1/18" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1119" + name: "" + - port: "1/1/19" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "2" + priority: "0" + mac_address: "d4c1.9e8f.111a" + name: "" + - port: "1/1/20" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "2" + priority: "0" + mac_address: "d4c1.9e8f.111b" + name: "" + - port: "1/1/21" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "2" + priority: "0" + mac_address: "d4c1.9e8f.111c" + name: "" + - port: "1/1/22" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "2" + priority: "0" + mac_address: "d4c1.9e8f.111d" + name: "" + - port: "1/1/23" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "2" + priority: "0" + mac_address: "d4c1.9e8f.111e" + name: "" + - port: "1/1/24" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.111f" + name: "" + - port: "1/1/25" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1120" + name: "" + - port: "1/1/26" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1121" + name: "" + - port: "1/1/27" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "1" + priority: "0" + mac_address: "d4c1.9e8f.1122" + name: "" + - port: "1/1/28" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1123" + name: "" + - port: "1/1/29" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1124" + name: "" + - port: "1/1/30" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1125" + name: "" + - port: "1/1/31" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1126" + name: "" + - port: "1/1/32" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1127" + name: "" + - port: "1/1/33" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "7" + priority: "0" + mac_address: "d4c1.9e8f.1128" + name: "" + - port: "1/1/34" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1129" + name: "" + - port: "1/1/35" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112a" + name: "" + - port: "1/1/36" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112b" + name: "" + - port: "1/1/37" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112c" + name: "" + - port: "1/1/38" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112d" + name: "" + - port: "1/1/39" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112e" + name: "" + - port: "1/1/40" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.112f" + name: "" + - port: "1/1/41" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1130" + name: "" + - port: "1/1/42" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1131" + name: "" + - port: "1/1/43" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1132" + name: "" + - port: "1/1/44" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1133" + name: "" + - port: "1/1/45" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1134" + name: "" + - port: "1/1/46" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "4" + priority: "0" + mac_address: "d4c1.9e8f.1135" + name: "" + - port: "1/1/47" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "4" + priority: "0" + mac_address: "d4c1.9e8f.1136" + name: "" + - port: "1/1/48" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "4" + priority: "0" + mac_address: "d4c1.9e8f.1137" + name: "" + - port: "1/2/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.1139" + name: "" + - port: "1/2/2" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.113a" + name: "" + - port: "1/3/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "None" + tag: "No" + pvid: "N/A" + priority: "0" + mac_address: "d4c1.9e8f.113b" + name: "" + - port: "1/3/2" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.113c" + name: "" + - port: "1/3/3" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "None" + tag: "No" + pvid: "N/A" + priority: "0" + mac_address: "d4c1.9e8f.113d" + name: "" + - port: "1/3/4" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8f.113e" + name: "" + - port: "2/1/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b0" + name: "" + - port: "2/1/2" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b1" + name: "" + - port: "2/1/3" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b2" + name: "" + - port: "2/1/4" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b3" + name: "" + - port: "2/1/5" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b4" + name: "" + - port: "2/1/6" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b5" + name: "" + - port: "2/1/7" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b6" + name: "" + - port: "2/1/8" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b7" + name: "" + - port: "2/1/9" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b8" + name: "" + - port: "2/1/10" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5b9" + name: "" + - port: "2/1/11" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5ba" + name: "" + - port: "2/1/12" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5bb" + name: "" + - port: "2/1/13" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5bc" + name: "" + - port: "2/1/14" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5bd" + name: "" + - port: "2/1/15" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5be" + name: "" + - port: "2/1/16" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5bf" + name: "" + - port: "2/1/17" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c0" + name: "" + - port: "2/1/18" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c1" + name: "" + - port: "2/1/19" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c2" + name: "" + - port: "2/1/20" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c3" + name: "" + - port: "2/1/21" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c4" + name: "" + - port: "2/1/22" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c5" + name: "" + - port: "2/1/23" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c6" + name: "" + - port: "2/1/24" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c7" + name: "" + - port: "2/1/25" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c8" + name: "" + - port: "2/1/26" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5c9" + name: "" + - port: "2/1/27" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5ca" + name: "" + - port: "2/1/28" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5cb" + name: "" + - port: "2/1/29" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5cc" + name: "" + - port: "2/1/30" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5cd" + name: "" + - port: "2/1/31" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5ce" + name: "" + - port: "2/1/32" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5cf" + name: "" + - port: "2/1/33" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d0" + name: "" + - port: "2/1/34" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d1" + name: "" + - port: "2/1/35" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d2" + name: "" + - port: "2/1/36" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d3" + name: "" + - port: "2/1/37" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d4" + name: "" + - port: "2/1/38" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "100M" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d5" + name: "" + - port: "2/1/39" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d6" + name: "" + - port: "2/1/40" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d7" + name: "" + - port: "2/1/41" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d8" + name: "" + - port: "2/1/42" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5d9" + name: "" + - port: "2/1/43" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5da" + name: "" + - port: "2/1/44" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5db" + name: "" + - port: "2/1/45" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5dc" + name: "" + - port: "2/1/46" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5dd" + name: "" + - port: "2/1/47" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5de" + name: "" + - port: "2/1/48" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "3" + priority: "0" + mac_address: "d4c1.9e8e.f5df" + name: "" + - port: "2/2/1" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8e.f5e1" + name: "" + - port: "2/2/2" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8e.f5e2" + name: "" + - port: "2/3/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "None" + tag: "No" + pvid: "N/A" + priority: "0" + mac_address: "d4c1.9e8e.f5e3" + name: "" + - port: "2/3/2" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8e.f5e4" + name: "" + - port: "2/3/3" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "None" + tag: "No" + pvid: "N/A" + priority: "0" + mac_address: "d4c1.9e8e.f5e5" + name: "" + - port: "2/3/4" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "d4c1.9e8e.f5e6" + name: "" + - port: "mgmt1" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "None" + priority: "0" + mac_address: "d4c1.9e8f.1108" + name: "" diff --git a/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.raw b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.raw new file mode 100644 index 0000000000..f7cd3bfd06 --- /dev/null +++ b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.raw @@ -0,0 +1,122 @@ + +Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name +1/1/1 Up Forward Full 10G 11 Yes N/A 0 c0c5.2050.a500 001-rk-mdf1 +1/1/2 Up Forward Full 10G 12 Yes N/A 0 c0c5.2050.a500 001-rk-mdf2 +1/1/3 Up Forward Full 10G 13 Yes N/A 0 c0c5.2050.a500 001-rk-mdf3 +1/1/4 Up Forward Full 10G 14 Yes N/A 0 c0c5.2050.a500 001-rk-mdf4 +1/1/5 Up Forward Full 10G 21 Yes N/A 0 c0c5.2050.a500 001-rk-ww1 +1/1/6 Up Forward Full 10G 22 Yes N/A 0 c0c5.2050.a500 001-rk-ww2 +1/1/7 Up Forward Full 10G 31 Yes N/A 0 c0c5.2050.a500 001-rk-ni1 +1/1/8 Down None None None 32 Yes N/A 0 c0c5.2050.a500 001-rk-ni2 +1/1/9 Up Forward Full 10G 41 Yes N/A 0 c0c5.2050.a500 001-rk-si1 +1/1/10 Up Forward Full 10G 51 Yes N/A 0 c0c5.2050.a500 001-rk-sd1 +1/1/11 Up Forward Full 10G 61 Yes N/A 0 c0c5.2050.a500 001-rk-eb1 +1/1/12 Up Forward Full 10G 71 Yes N/A 0 c0c5.2050.a500 001-rk-wb1 +1/1/13 Down None None None None No 666 0 c0c5.2050.a50c +1/1/14 Down None None None None No 666 0 c0c5.2050.a50d +1/1/15 Down None None None None No 666 0 c0c5.2050.a50e +1/1/16 Down None None None None No 666 0 c0c5.2050.a50f +1/1/17 Down None None None None No 666 0 c0c5.2050.a510 +1/1/18 Down None None None None No 666 0 c0c5.2050.a511 +1/1/19 Down None None None None No 666 0 c0c5.2050.a512 +1/1/20 Down None None None None No 666 0 c0c5.2050.a513 +1/1/21 Down None None None None No 666 0 c0c5.2050.a514 +1/1/22 Down None None None None No 666 0 c0c5.2050.a515 +1/1/23 Down None None None None No 666 0 c0c5.2050.a516 +1/1/24 Down None None None None No 666 0 c0c5.2050.a517 +1/1/25 Down None None None None No 666 0 c0c5.2050.a518 +1/1/26 Down None None None None No 666 0 c0c5.2050.a519 +1/1/27 Down None None None None No 666 0 c0c5.2050.a51a +1/1/28 Down None None None None No 666 0 c0c5.2050.a51b +1/1/29 Up Forward Full 1G None Yes 666 0 c0c5.2050.a500 +1/1/30 Down None None None None No 1800 0 c0c5.2050.a51d +1/1/31 Down None None None None No 666 0 c0c5.2050.a51e +1/1/32 Down None None None None No 666 0 c0c5.2050.a51f +1/1/33 Down None None None None No 666 0 c0c5.2050.a520 +1/1/34 Down None None None None No 666 0 c0c5.2050.a521 +1/1/35 Down None None None None No 666 0 c0c5.2050.a522 +1/1/36 Down None None None None No 666 0 c0c5.2050.a523 +1/1/37 Down None None None None No 300 0 c0c5.2050.a500 001-NAS-A +1/1/38 Down None None None None No 300 0 c0c5.2050.a500 001-NAS-B +1/1/39 Down None None None None No 666 0 c0c5.2050.a526 +1/1/40 Down None None None None No 1700 0 c0c5.2050.a500 +1/1/41 Down None None None None No 1800 0 c0c5.2050.a528 +1/1/42 Down None None None None No 1800 0 c0c5.2050.a529 +1/1/43 Down None None None None No 666 0 c0c5.2050.a52a +1/1/44 Down None None None None No 666 0 c0c5.2050.a52b +1/1/45 Up Forward Full 1G 7 Yes N/A 0 c0c5.2050.a500 w3750 +1/1/46 Up Forward Full 1G 7 Yes N/A 0 c0c5.2050.a500 w3750 +1/1/47 Down None None None None No 666 0 c0c5.2050.a52e +1/1/48 Up Forward Full 10G None Yes 666 0 c0c5.2050.a52f +1/2/1 Down None None None None No 666 0 c0c5.2050.a531 +1/2/2 Down None None None None No 666 0 c0c5.2050.a535 +1/2/3 Down None None None None No 666 0 c0c5.2050.a539 +1/2/4 Down None None None None No 666 0 c0c5.2050.a53d +1/2/5 Up Forward Full 40G 1 Yes N/A 0 c0c5.2050.a500 +1/2/6 Up Forward Full 40G 1 Yes N/A 0 c0c5.2050.a500 +lg1 Up Forward Full 80G 1 Yes N/A 0 c0c5.2050.a500 +lg7 Up Forward Full 2G 7 Yes N/A 0 c0c5.2050.a500 w3750 +lg11 Up Forward Full 10G 11 Yes N/A 0 c0c5.2050.a500 001-rk-mdf1 +lg12 Up Forward Full 10G 12 Yes N/A 0 c0c5.2050.a500 001-rk-mdf2 +lg13 Up Forward Full 10G 13 Yes N/A 0 c0c5.2050.a500 001-rk-mdf3 +lg14 Up Forward Full 10G 14 Yes N/A 0 c0c5.2050.a500 001-rk-mdf4 +lg21 Up Forward Full 10G 21 Yes N/A 0 c0c5.2050.a500 001-rk-ww1 +lg22 Up Forward Full 10G 22 Yes N/A 0 c0c5.2050.a500 001-rk-ww2 +lg31 Up Forward Full 10G 31 Yes N/A 0 c0c5.2050.a500 001-rk-ni1 +lg32 Down None None None 32 Yes N/A 0 c0c5.2050.a500 001-rk-ni2 +lg41 Up Forward Full 10G 41 Yes N/A 0 c0c5.2050.a500 001-rk-si1 +lg51 Up Forward Full 10G 51 Yes N/A 0 c0c5.2050.a500 001-rk-sd1 +lg61 Up Forward Full 10G 61 Yes N/A 0 c0c5.2050.a500 001-rk-eb1 +lg71 Up Forward Full 10G 71 Yes N/A 0 c0c5.2050.a500 001-rk-wb1 +mgmt1 Up None Full 1G None No None 0 c0c5.2050.a500 + +Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name +ve1 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve9 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve10 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve11 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve12 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve13 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve14 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve15 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve16 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve17 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve18 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve20 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve21 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve25 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve32 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve33 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve35 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve51 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve52 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve75 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve77 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve101 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve102 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve103 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve104 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve107 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve108 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve109 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve110 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve111 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve112 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve113 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve122 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve191 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve200 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve222 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve225 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve226 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve254 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve300 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve301 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve302 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve303 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve306 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve307 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve501 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve502 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve1700 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 +ve4085 Up N/A N/A N/A None N/A N/A N/A c0c5.2050.a500 \ No newline at end of file diff --git a/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.yml b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.yml new file mode 100644 index 0000000000..0b4e27b30b --- /dev/null +++ b/tests/ruckus_fastiron/show_interfaces_brief/show_interfaces_brief1.yml @@ -0,0 +1,1300 @@ +--- +parsed_sample: + - port: "1/1/1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "11" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf1" + - port: "1/1/2" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "12" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf2" + - port: "1/1/3" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "13" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf3" + - port: "1/1/4" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "14" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf4" + - port: "1/1/5" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "21" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ww1" + - port: "1/1/6" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "22" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ww2" + - port: "1/1/7" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "31" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ni1" + - port: "1/1/8" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "32" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ni2" + - port: "1/1/9" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "41" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-si1" + - port: "1/1/10" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "51" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-sd1" + - port: "1/1/11" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "61" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-eb1" + - port: "1/1/12" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "71" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-wb1" + - port: "1/1/13" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a50c" + name: "" + - port: "1/1/14" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a50d" + name: "" + - port: "1/1/15" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a50e" + name: "" + - port: "1/1/16" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a50f" + name: "" + - port: "1/1/17" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a510" + name: "" + - port: "1/1/18" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a511" + name: "" + - port: "1/1/19" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a512" + name: "" + - port: "1/1/20" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a513" + name: "" + - port: "1/1/21" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a514" + name: "" + - port: "1/1/22" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a515" + name: "" + - port: "1/1/23" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a516" + name: "" + - port: "1/1/24" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a517" + name: "" + - port: "1/1/25" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a518" + name: "" + - port: "1/1/26" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a519" + name: "" + - port: "1/1/27" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a51a" + name: "" + - port: "1/1/28" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a51b" + name: "" + - port: "1/1/29" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "Yes" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "1/1/30" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "1800" + priority: "0" + mac_address: "c0c5.2050.a51d" + name: "" + - port: "1/1/31" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a51e" + name: "" + - port: "1/1/32" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a51f" + name: "" + - port: "1/1/33" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a520" + name: "" + - port: "1/1/34" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a521" + name: "" + - port: "1/1/35" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a522" + name: "" + - port: "1/1/36" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a523" + name: "" + - port: "1/1/37" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "300" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-NAS-A" + - port: "1/1/38" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "300" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-NAS-B" + - port: "1/1/39" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a526" + name: "" + - port: "1/1/40" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "1700" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "1/1/41" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "1800" + priority: "0" + mac_address: "c0c5.2050.a528" + name: "" + - port: "1/1/42" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "1800" + priority: "0" + mac_address: "c0c5.2050.a529" + name: "" + - port: "1/1/43" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a52a" + name: "" + - port: "1/1/44" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a52b" + name: "" + - port: "1/1/45" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "7" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "w3750" + - port: "1/1/46" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "1G" + trunk: "7" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "w3750" + - port: "1/1/47" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a52e" + name: "" + - port: "1/1/48" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "None" + tag: "Yes" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a52f" + name: "" + - port: "1/2/1" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a531" + name: "" + - port: "1/2/2" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a535" + name: "" + - port: "1/2/3" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a539" + name: "" + - port: "1/2/4" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "None" + tag: "No" + pvid: "666" + priority: "0" + mac_address: "c0c5.2050.a53d" + name: "" + - port: "1/2/5" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "40G" + trunk: "1" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "1/2/6" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "40G" + trunk: "1" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "lg1" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "80G" + trunk: "1" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "lg7" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "2G" + trunk: "7" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "w3750" + - port: "lg11" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "11" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf1" + - port: "lg12" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "12" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf2" + - port: "lg13" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "13" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf3" + - port: "lg14" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "14" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-mdf4" + - port: "lg21" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "21" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ww1" + - port: "lg22" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "22" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ww2" + - port: "lg31" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "31" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ni1" + - port: "lg32" + link: "Down" + state: "None" + duplex: "None" + speed: "None" + trunk: "32" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-ni2" + - port: "lg41" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "41" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-si1" + - port: "lg51" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "51" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-sd1" + - port: "lg61" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "61" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-eb1" + - port: "lg71" + link: "Up" + state: "Forward" + duplex: "Full" + speed: "10G" + trunk: "71" + tag: "Yes" + pvid: "N/A" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "001-rk-wb1" + - port: "mgmt1" + link: "Up" + state: "None" + duplex: "Full" + speed: "1G" + trunk: "None" + tag: "No" + pvid: "None" + priority: "0" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve1" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve9" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve10" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve11" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve12" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve13" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve14" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve15" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve16" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve17" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve18" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve20" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve21" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve25" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve32" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve33" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve35" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve51" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve52" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve75" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve77" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve101" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve102" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve103" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve104" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve107" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve108" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve109" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve110" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve111" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve112" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve113" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve122" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve191" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve200" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve222" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve225" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve226" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve254" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve300" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve301" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve302" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve303" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve306" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve307" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve501" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve502" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve1700" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" + - port: "ve4085" + link: "Up" + state: "N/A" + duplex: "N/A" + speed: "N/A" + trunk: "None" + tag: "N/A" + pvid: "N/A" + priority: "N/A" + mac_address: "c0c5.2050.a500" + name: "" From 07efe9a97c6961adee20c07c18f1e4b4c2a56f8f Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Tue, 16 Mar 2021 08:35:02 -0700 Subject: [PATCH 576/628] New Template: alcatel_sros_show_service_sap-using.textfsm (#892) --- ...lcatel_sros_show_service_sap-using.textfsm | 27 ++++++++++++ ntc_templates/templates/index | 1 + .../alcatel_sros_show_service_sap-using.raw | 15 +++++++ .../alcatel_sros_show_service_sap-using.yml | 42 +++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_service_sap-using.textfsm create mode 100644 tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.raw create mode 100644 tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.yml diff --git a/ntc_templates/templates/alcatel_sros_show_service_sap-using.textfsm b/ntc_templates/templates/alcatel_sros_show_service_sap-using.textfsm new file mode 100644 index 0000000000..89ee1b5fac --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_service_sap-using.textfsm @@ -0,0 +1,27 @@ +Value Required PORT_ID (\S+) +Value Required SERVICE_ID (\d+) +Value Required INGRESS_QOS (\d+) +Value Required INGRESS_FILTER (\S+) +Value Required EGRESS_QOS (\d+) +Value Required EGRESS_FILTER (\S+) +Value Required ADMIN_STATE (Up|Down) +Value Required OPER_STATE (Up|Down) + +Start + ^=+ + ^Service\s+Access\s+Points + ^PortId\s+SvcId\s+Ing.\s+Ing.\s+Egr.\s+Egr.\s+Adm\s+Opr\s*$$ -> SAPS + ^\s*$$ + ^. -> Error + +SAPS + ^\s+QoS\s+Fltr\s+QoS\s+Fltr + ^-+ + ^${PORT_ID}\s+${SERVICE_ID}\s+${INGRESS_QOS}\s+${INGRESS_FILTER}\s+${EGRESS_QOS}\s+${EGRESS_FILTER}\s+${ADMIN_STATE}\s+${OPER_STATE} -> Record + ^-+ -> Done + ^=+ + ^Number\s+of + ^\s*$$ + ^. -> Error + +Done diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 6e4c1895e7..b80d5714bd 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -21,6 +21,7 @@ alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] rout alcatel_sros_show_router_rsvp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router rsvp int[[erface]] alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] +alcatel_sros_show_service_sap-using.textfsm, .*, alcatel_sros, sh[[ow]] service sap-u[[sing]] alcatel_sros_show_service_sdp-using.textfsm, .*, alcatel_sros, sh[[ow]] service sdp-using alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp diff --git a/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.raw b/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.raw new file mode 100644 index 0000000000..0c31ef23a8 --- /dev/null +++ b/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.raw @@ -0,0 +1,15 @@ +=============================================================================== +Service Access Points +=============================================================================== +PortId SvcId Ing. Ing. Egr. Egr. Adm Opr + QoS Fltr QoS Fltr +------------------------------------------------------------------------------- +lag-21:300 1 11130 none 11140 none Up Up +lag-22:300 1 11130 ip4 11140 none Up Up +1/1/c6/1:234 400 1 none 1 none Up Down +lag-21:400 76415001 10 none 1 none Up Up +lag-22:400 76415002 10 none 1 none Up Up +------------------------------------------------------------------------------- +Number of SAPs : 5 +------------------------------------------------------------------------------- +=============================================================================== diff --git a/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.yml b/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.yml new file mode 100644 index 0000000000..1e17bdb1ca --- /dev/null +++ b/tests/alcatel_sros/show_service_sap-using/alcatel_sros_show_service_sap-using.yml @@ -0,0 +1,42 @@ +--- +parsed_sample: + - admin_state: "Up" + egress_filter: "none" + egress_qos: "11140" + ingress_filter: "none" + ingress_qos: "11130" + oper_state: "Up" + port_id: "lag-21:300" + service_id: "1" + - admin_state: "Up" + egress_filter: "none" + egress_qos: "11140" + ingress_filter: "ip4" + ingress_qos: "11130" + oper_state: "Up" + port_id: "lag-22:300" + service_id: "1" + - admin_state: "Up" + egress_filter: "none" + egress_qos: "1" + ingress_filter: "none" + ingress_qos: "1" + oper_state: "Down" + port_id: "1/1/c6/1:234" + service_id: "400" + - admin_state: "Up" + egress_filter: "none" + egress_qos: "1" + ingress_filter: "none" + ingress_qos: "10" + oper_state: "Up" + port_id: "lag-21:400" + service_id: "76415001" + - admin_state: "Up" + egress_filter: "none" + egress_qos: "1" + ingress_filter: "none" + ingress_qos: "10" + oper_state: "Up" + port_id: "lag-22:400" + service_id: "76415002" From c47d469160ac9f5c099d3b24feb93e49a461df66 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Tue, 16 Mar 2021 09:34:42 -0700 Subject: [PATCH 577/628] New Template: alcatel_sros_show_router_mpls_lsp.textfsm (#893) --- .../alcatel_sros_show_router_mpls_lsp.textfsm | 26 +++++++++++++ ntc_templates/templates/index | 1 + .../alcatel_sros_show_router_mpls_lsp.raw | 21 ++++++++++ .../alcatel_sros_show_router_mpls_lsp.yml | 38 +++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_router_mpls_lsp.textfsm create mode 100644 tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.raw create mode 100644 tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.yml diff --git a/ntc_templates/templates/alcatel_sros_show_router_mpls_lsp.textfsm b/ntc_templates/templates/alcatel_sros_show_router_mpls_lsp.textfsm new file mode 100644 index 0000000000..bbf9027f18 --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_router_mpls_lsp.textfsm @@ -0,0 +1,26 @@ +Value Required LSP_NAME (\S+) +Value Required TO (\d+.\d+.\d+.\d+) +Value Required TUNNEL_ID (\d+) +Value Required FASTFAIL_CONFIG (\S+) +Value Required ADMIN_STATE (Up|Dwn) +Value Required OPER_STATE (Up|Dwn) + +Start + ^=+ + ^MPLS\s+LSPs + ^LSP\s+Name\s+Tun\s+Fastfail\s+Adm\s+Opr\s*$$ -> LSP + ^\s*$$ + ^. -> Error + +LSP + ^\s+To\s+Id\s+Config + ^-+ + ^${LSP_NAME}\s+${TUNNEL_ID}\s+${FASTFAIL_CONFIG}\s+${ADMIN_STATE}\s+${OPER_STATE} + ^\s+${TO} -> Record + ^-+ -> Done + ^LSPs\s+: + ^=+ + ^\s*$$ + ^. -> Error + +Done diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index b80d5714bd..a6cfdc1657 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -23,6 +23,7 @@ alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] route alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_sap-using.textfsm, .*, alcatel_sros, sh[[ow]] service sap-u[[sing]] alcatel_sros_show_service_sdp-using.textfsm, .*, alcatel_sros, sh[[ow]] service sdp-using +alcatel_sros_show_router_mpls_lsp.textfsm, .*, alcatel_sros, sh[[ow]] router mpls lsp alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] diff --git a/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.raw b/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.raw new file mode 100644 index 0000000000..9429d5b069 --- /dev/null +++ b/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.raw @@ -0,0 +1,21 @@ +=============================================================================== +MPLS LSPs (Originating) +=============================================================================== +LSP Name Tun Fastfail Adm Opr + To Id Config +------------------------------------------------------------------------------- +TO_IOSXR 1 Yes Up Up + 10.10.10.8 +TO_R1 2 Yes Up Up + 10.10.10.1 +TO_R2 3 Yes Up Dwn + 10.10.10.2 +TO_R4 4 Yes Up Dwn + 10.10.10.4 +Full-Mesh-10.10.10.8-61441 61441 Yes Up Up + 10.10.10.8 +Full-Mesh-10.10.10.1-65240 65240 Yes Up Up + 10.10.10.1 +------------------------------------------------------------------------------- +LSPs : 6 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.yml b/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.yml new file mode 100644 index 0000000000..e53f443835 --- /dev/null +++ b/tests/alcatel_sros/show_router_mpls_lsp/alcatel_sros_show_router_mpls_lsp.yml @@ -0,0 +1,38 @@ +--- +parsed_sample: + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "TO_IOSXR" + oper_state: "Up" + to: "10.10.10.8" + tunnel_id: "1" + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "TO_R1" + oper_state: "Up" + to: "10.10.10.1" + tunnel_id: "2" + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "TO_R2" + oper_state: "Dwn" + to: "10.10.10.2" + tunnel_id: "3" + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "TO_R4" + oper_state: "Dwn" + to: "10.10.10.4" + tunnel_id: "4" + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "Full-Mesh-10.10.10.8-61441" + oper_state: "Up" + to: "10.10.10.8" + tunnel_id: "61441" + - admin_state: "Up" + fastfail_config: "Yes" + lsp_name: "Full-Mesh-10.10.10.1-65240" + oper_state: "Up" + to: "10.10.10.1" + tunnel_id: "65240" From bde563ba18933fc3b5c756c41220144d3cec58f5 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Tue, 16 Mar 2021 12:38:36 -0400 Subject: [PATCH 578/628] ruckus_fastiron_show_mac-address.textfsm - Add end of line for matching empty lines (#897) --- .../templates/ruckus_fastiron_show_mac-address.textfsm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm b/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm index c14acff5a4..de70768c26 100644 --- a/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm +++ b/ntc_templates/templates/ruckus_fastiron_show_mac-address.textfsm @@ -8,5 +8,5 @@ Start ^Total\s+active\s+entries\s+from\s+all\s+ports\s+=\s+[0-9]* ^MAC-Address\s+Port\s+Type\s+VLAN ^${MAC_ADDRESS}\s+${PORT}\s+${TYPE}\s+${VLAN} -> Record - ^\s* - ^. -> Error \ No newline at end of file + ^\s*$$ + ^. -> Error From f5b2d869c738ce3f23cb513c005f65e1355224fb Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Wed, 17 Mar 2021 07:10:10 -0700 Subject: [PATCH 579/628] New template: alcatel_sros_show_router_interface.textfsm (#898) --- ...alcatel_sros_show_router_interface.textfsm | 28 +++++++ ntc_templates/templates/index | 1 + .../alcatel_sros_show_router_interface.raw | 29 +++++++ .../alcatel_sros_show_router_interface.yml | 78 +++++++++++++++++++ 4 files changed, 136 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_router_interface.textfsm create mode 100644 tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.raw create mode 100644 tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.yml diff --git a/ntc_templates/templates/alcatel_sros_show_router_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_interface.textfsm new file mode 100644 index 0000000000..da185d1219 --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_router_interface.textfsm @@ -0,0 +1,28 @@ +Value Required INTERFACE (\S+) +Value Required ADMIN_STATE (Up|Down) +Value Required OPER_STATE_V4 (Up|Down) +Value Required OPER_STATE_V6 (Up|Down) +Value Required MODE (\S+) +Value Required PORT_SAP_ID (\S+) +Value List ADDRESS (\S+) +Value List PFX_STATE (\S+) + +Start + ^=+ + ^Interface\s+Table + ^Interface-Name\s+Adm\s+Opr\(v4\/v6\)\s+Mode\s+Port/SapId\s*$$ -> Interface + ^\s*$$ + ^. -> Error + +Interface + ^\s+IP-Address\s+PfxState + ^-+ + ^.*?\s+(Up|Down) -> Continue.Record + ^${INTERFACE}\s+${ADMIN_STATE}\s+${OPER_STATE_V4}\/${OPER_STATE_V6}\s+${MODE}\s+${PORT_SAP_ID} + ^\s+${ADDRESS}\s+${PFX_STATE} + ^Interfaces -> Done + ^=+ + ^\s*$$ + ^. -> Error + +Done diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index a6cfdc1657..f152aeaefd 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -23,6 +23,7 @@ alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] route alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] alcatel_sros_show_service_sap-using.textfsm, .*, alcatel_sros, sh[[ow]] service sap-u[[sing]] alcatel_sros_show_service_sdp-using.textfsm, .*, alcatel_sros, sh[[ow]] service sdp-using +alcatel_sros_show_router_interface.textfsm, .*, alcatel_sros, sh[[ow]] router (\d+ int[[erface]]|int[[erface]]) alcatel_sros_show_router_mpls_lsp.textfsm, .*, alcatel_sros, sh[[ow]] router mpls lsp alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp diff --git a/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.raw b/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.raw new file mode 100644 index 0000000000..4ab3e342ad --- /dev/null +++ b/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.raw @@ -0,0 +1,29 @@ +=============================================================================== +Interface Table (Router: Base) +=============================================================================== +Interface-Name Adm Opr(v4/v6) Mode Port/SapId + IP-Address PfxState +------------------------------------------------------------------------------- +L3-Telecom-IXR01-1 Up Down/Up IES lag-21:300 + 2001:4888:2062:357a:645:400:0:2/64 PREFERRED + fe80::645:400:0:2/64 PREFERRED +L3-Telecom-IXR02-1 Up Down/Up IES lag-22:300 + 2001:4888:2062:3591:645:400:0:2/64 PREFERRED + fe80::645:400:0:2/64 PREFERRED +TO_EDGE_IXR01 Up Down/Down Network n/a + 192.168.28.1/24 n/a + 192.168.47.1/24 n/a +system Up Up/Up Network system + 10.115.43.64/32 n/a + 2001:4888:2062:3000:645:400:0:1a0/128 PREFERRED +to-7750-02 Up Up/Up Network 1/1/c4/1:2415 + 172.25.214.121/31 n/a + 2001:4888:206a:335c:645:400:0:1/64 PREFERRED + fe80::c9:ffff:fe00:0/64 PREFERRED +to-BTS0415-7750-H1 Up Down/Down Network lag-11:4094 + 172.25.198.123/31 n/a + 2001:4888:206a:335f:645:400:0:1/64 INACCESSIBLE + fe80::c9:ffff:fe00:14b/64 INACCESSIBLE +------------------------------------------------------------------------------- +Interfaces : 6 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.yml b/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.yml new file mode 100644 index 0000000000..226bd1ab6b --- /dev/null +++ b/tests/alcatel_sros/show_router_interface/alcatel_sros_show_router_interface.yml @@ -0,0 +1,78 @@ +--- +parsed_sample: + - address: + - "2001:4888:2062:357a:645:400:0:2/64" + - "fe80::645:400:0:2/64" + admin_state: "Up" + interface: "L3-Telecom-IXR01-1" + mode: "IES" + oper_state_v4: "Down" + oper_state_v6: "Up" + pfx_state: + - "PREFERRED" + - "PREFERRED" + port_sap_id: "lag-21:300" + - address: + - "2001:4888:2062:3591:645:400:0:2/64" + - "fe80::645:400:0:2/64" + admin_state: "Up" + interface: "L3-Telecom-IXR02-1" + mode: "IES" + oper_state_v4: "Down" + oper_state_v6: "Up" + pfx_state: + - "PREFERRED" + - "PREFERRED" + port_sap_id: "lag-22:300" + - address: + - "192.168.28.1/24" + - "192.168.47.1/24" + admin_state: "Up" + interface: "TO_EDGE_IXR01" + mode: "Network" + oper_state_v4: "Down" + oper_state_v6: "Down" + pfx_state: + - "n/a" + - "n/a" + port_sap_id: "n/a" + - address: + - "10.115.43.64/32" + - "2001:4888:2062:3000:645:400:0:1a0/128" + admin_state: "Up" + interface: "system" + mode: "Network" + oper_state_v4: "Up" + oper_state_v6: "Up" + pfx_state: + - "n/a" + - "PREFERRED" + port_sap_id: "system" + - address: + - "172.25.214.121/31" + - "2001:4888:206a:335c:645:400:0:1/64" + - "fe80::c9:ffff:fe00:0/64" + admin_state: "Up" + interface: "to-7750-02" + mode: "Network" + oper_state_v4: "Up" + oper_state_v6: "Up" + pfx_state: + - "n/a" + - "PREFERRED" + - "PREFERRED" + port_sap_id: "1/1/c4/1:2415" + - address: + - "172.25.198.123/31" + - "2001:4888:206a:335f:645:400:0:1/64" + - "fe80::c9:ffff:fe00:14b/64" + admin_state: "Up" + interface: "to-BTS0415-7750-H1" + mode: "Network" + oper_state_v4: "Down" + oper_state_v6: "Down" + pfx_state: + - "n/a" + - "INACCESSIBLE" + - "INACCESSIBLE" + port_sap_id: "lag-11:4094" From 32bb2c373e2624746b59759e97e90eadd69dbb4f Mon Sep 17 00:00:00 2001 From: Adam Troy Date: Wed, 17 Mar 2021 10:35:56 -0500 Subject: [PATCH 580/628] New Template: ruckus_fastiron_show_version.textfsm (#894) --- ntc_templates/templates/index | 1 + .../ruckus_fastiron_show_version.textfsm | 28 ++++++++++++ .../show_version/show_version.raw | 43 +++++++++++++++++++ .../show_version/show_version.yml | 15 +++++++ 4 files changed, 87 insertions(+) create mode 100644 ntc_templates/templates/ruckus_fastiron_show_version.textfsm create mode 100644 tests/ruckus_fastiron/show_version/show_version.raw create mode 100644 tests/ruckus_fastiron/show_version/show_version.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index f152aeaefd..53ef9a5e6a 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -461,6 +461,7 @@ paloalto_panos_show_mac_all.textfsm, .*, paloalto_panos, sh[[ow]] mac all ruckus_fastiron_show_interfaces_brief.textfsm, .*, ruckus_fastiron, sh[[ow]] int[[erfaces]] b[[rief]] ruckus_fastiron_show_mac-address.textfsm, .*, ruckus_fastiron, sh[[ow]] mac[[-address]] +ruckus_fastiron_show_version.textfsm, .*, ruckus_fastiron, sh[[ow]] v[[ersion]] ruckus_fastiron_show_arp.textfsm, .*, ruckus_fastiron, sh[[ow]] ar[[p]] ubiquiti_edgeswitch_show_version.textfsm, .*, ubiquiti_edgeswitch, sh[[ow]] ve[[rsion]] diff --git a/ntc_templates/templates/ruckus_fastiron_show_version.textfsm b/ntc_templates/templates/ruckus_fastiron_show_version.textfsm new file mode 100644 index 0000000000..37cc7d41d2 --- /dev/null +++ b/ntc_templates/templates/ruckus_fastiron_show_version.textfsm @@ -0,0 +1,28 @@ +Value List VERSION (\S+) +Value List BOOTCODE (\S+\s+\S+) +Value HARDWARE (.*) +Value List SERIAL (\S+) +Value List UPTIME (.*) + + +Start + ^\s+Copyright\s+\(c\)\s+Ruckus\s+Networks,\s+Inc\.\s+All\s+rights\s+reserved\. + ^\s+UNIT\s+[0-9]*:\s+compiled\s+on\s+\S+\s+[0-9]*\s+[0-9]*\s+at\s+[0-9]*:[0-9]*:[0-9]*\s+labeled\s+as\s+\S+ + ^\s+\([0-9]*\s+bytes\)\s+from\s+Primary\s+\S+\s+\(UFI\) + ^\s+SW:\s+Version\s+${VERSION} + ^\s+Compressed\s+Primary\s+Boot\s+Code\s+size\s+=\s+[0-9]*,\s+Version:${BOOTCODE} + ^\s+Compiled\s+on\s+\S+\s+\S+\s+[0-9]*\s+[0-9]*:[0-9]*:[0-9]*\s+[0-9]* + ^\s+HW:\s+${HARDWARE}\s*$$ + ^UNIT\s+[0-9]*:\s+SL\s+[0-9]*:\s+.* + ^\s+Serial\s+#:${SERIAL} + ^\s+Software\s+Package:\s+\S+ + ^\s+Current\s+License:\s+\S+ + ^\s+P-ASIC\s+[0-9]*:\s+.* + ^\s+[0-9]* [KMGT](Hz|B)\s+.* + ^STACKID\s+[0-9]*\s+system\s+uptime\s+is\s+${UPTIME}\s*$$ + ^The\s+system\s+started\s+at\s+.* + ^The\s+system\s+:\s+started=.* + ^My\s+stack\s+unit\s+ID\s+=\s+[0-9]*,\s+bootup\s+role\s+=\s+\S+ -> Record + ^=+ + ^\s*$$ + ^. -> Error diff --git a/tests/ruckus_fastiron/show_version/show_version.raw b/tests/ruckus_fastiron/show_version/show_version.raw new file mode 100644 index 0000000000..48a8f3423e --- /dev/null +++ b/tests/ruckus_fastiron/show_version/show_version.raw @@ -0,0 +1,43 @@ + Copyright (c) Ruckus Networks, Inc. All rights reserved. + UNIT 1: compiled on Feb 19 2019 at 13:48:49 labeled as SPS08090 + (28575972 bytes) from Primary SPS08090.bin (UFI) + SW: Version 08.0.90T211 + Compressed Primary Boot Code size = 786944, Version:10.1.15T225 (mnz10115) + Compiled on Thu Jan 31 01:08:55 2019 + UNIT 2: compiled on Feb 19 2019 at 13:48:49 labeled as SPS08090 + (28575972 bytes) from Primary SPS08090.bin (UFI) + SW: Version 08.0.90T211 + Compressed Primary Boot Code size = 786944, Version:10.1.15T225 (mnz10115) + + HW: Stackable ICX7150-48-POEF +========================================================================== +UNIT 1: SL 1: ICX7150-48PF-2X10G_2X1G POE 48-port Management Module + Serial #:FEE3816Q018 + Software Package: BASE_SOFT_PACKAGE + Current License: 2X10G + P-ASIC 0: type B160, rev 11 Chip BCM56160_B0 +========================================================================== +UNIT 1: SL 2: ICX7150-2X1GC 2-port 2G Module +========================================================================== +UNIT 1: SL 3: ICX7150-4X10GF 4-port 40G Module +========================================================================== +UNIT 2: SL 1: ICX7150-48PF-2X10G_2X1G POE 48-port Management Module + Serial #:FEE3816Q017 + Software Package: BASE_SOFT_PACKAGE + Current License: 2X10G +========================================================================== +UNIT 2: SL 2: ICX7150-2X1GC 2-port 2G Module +========================================================================== +UNIT 2: SL 3: ICX7150-4X10GF 4-port 40G Module +========================================================================== + 1000 MHz ARM processor ARMv7 88 MHz bus + 8192 KB boot flash memory + 2048 MB code flash memory + 1024 MB DRAM +STACKID 1 system uptime is 24 day(s) 4 hour(s) 11 minute(s) 1 second(s) +STACKID 2 system uptime is 24 day(s) 4 hour(s) 11 minute(s) 1 second(s) +The system started at 18:28:15 Central Fri Dec 31 1999 + +The system : started=cold start +My stack unit ID = 1, bootup role = active + diff --git a/tests/ruckus_fastiron/show_version/show_version.yml b/tests/ruckus_fastiron/show_version/show_version.yml new file mode 100644 index 0000000000..3e6ba630c9 --- /dev/null +++ b/tests/ruckus_fastiron/show_version/show_version.yml @@ -0,0 +1,15 @@ +--- +parsed_sample: + - version: + - "08.0.90T211" + - "08.0.90T211" + bootcode: + - "10.1.15T225 (mnz10115)" + - "10.1.15T225 (mnz10115)" + hardware: "Stackable ICX7150-48-POEF" + serial: + - "FEE3816Q018" + - "FEE3816Q017" + uptime: + - "24 day(s) 4 hour(s) 11 minute(s) 1 second(s)" + - "24 day(s) 4 hour(s) 11 minute(s) 1 second(s)" From 8883fc3a881f7635b9ab0c7b900b8c6d4496869c Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 18 Mar 2021 10:23:01 -0600 Subject: [PATCH 581/628] Added deploy option to auto deploy on tags (#901) --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7d5af31e3e..ae51fc2413 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,3 +27,11 @@ stages: script: - ".venv/bin/tox -e py36,py37,py38" + +deploy: + provider: "script" + script: + - "poetry config pypi-token.pypi $PYPI_TOKEN" + - "poetry publish --build" + on: + tags: true From 6f10c206630ad67086a18ce0718b19f7863db507 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 18 Mar 2021 10:23:30 -0600 Subject: [PATCH 582/628] Added Known Issues section to document Micah's finding/issue (#902) --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 85b056ac3b..ad20bb6396 100644 --- a/README.md +++ b/README.md @@ -442,3 +442,22 @@ to take in qualified Pull Requests to have the feature, but have no intention of _Can you provide general guidance?_ This is best handled via real time communication. Feel free to join our slack community (sign up information above) and reach out on the #networktocode channel. Please be aware of timezones, downtimes, and help is performed based on goodwill and timing, and not guaranteed. + +### Known Issues + +#### Cannot import name clitable from textfsm +**ntc-templates** depends on **textfsm**, which hasn't published a source distribution to pypi in a while. See https://github.com/google/textfsm/issues/65. + +This means that for users with a build chain that depends on source distributions only (i.e. no wheels), ntc-templates appears to have a bug: + +``` +File "/usr/local/Cellar/foo/version/libexec/lib/python3.7/site-packages/ntc_templates/parse.py", line 3, in + from textfsm import clitable +ImportError: cannot import name 'clitable' from 'textfsm' +``` + +What's actually happening here is that textfsm provides a source distribution only up to version 0.4.1 (2018-04-09) but the ntc-templates code relies on the interface from version 1.1.0 (2019-07-24) which is only available as a wheel. So the way for users to fix this problem if they encounter it is to install textfsm 1.1.0. + +`pip install textfsm==1.1.0` + +> This was taken from https://github.com/networktocode/ntc-templates/issues/731 From 6cdd9af13b7c18623f6cce833091805571fede53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Skov=20Eriksen?= Date: Thu, 15 Apr 2021 21:42:32 +0200 Subject: [PATCH 583/628] New Template: dell_force10_show_ip_interface_brief.textfsm (#875) --- ...ll_force10_show_ip_interface_brief.textfsm | 9 + ntc_templates/templates/index | 1 + .../dell_force10_show_ip_interface_brief.raw | 55 +++ .../dell_force10_show_ip_interface_brief.yml | 326 ++++++++++++++++++ 4 files changed, 391 insertions(+) create mode 100644 ntc_templates/templates/dell_force10_show_ip_interface_brief.textfsm create mode 100644 tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.raw create mode 100644 tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.yml diff --git a/ntc_templates/templates/dell_force10_show_ip_interface_brief.textfsm b/ntc_templates/templates/dell_force10_show_ip_interface_brief.textfsm new file mode 100644 index 0000000000..173e6c1d93 --- /dev/null +++ b/ntc_templates/templates/dell_force10_show_ip_interface_brief.textfsm @@ -0,0 +1,9 @@ +Value INTF (\S+ \S+) +Value IPADDR (\S+) +Value OK (YES|NO) +Value METHOD (None|Manual) +Value STATUS (up|down) +Value PROTO (up|down) + +Start + ^${INTF}\s+${IPADDR}\s+${OK}\s+${METHOD}\s+${STATUS}\s+${PROTO} -> Record diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 53ef9a5e6a..5e2a7abbe8 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -386,6 +386,7 @@ cisco_xr_show_hsrp.textfsm, .*, cisco_xr, sh[[ow]] hs[[rp]] cisco_xr_show_arp.textfsm, .*, cisco_xr, sh[[ow]] arp cisco_xr_show_bgp.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] +dell_force10_show_ip_interface_brief.textfsm, .*, dell_force10, sh[[ow]] ip int[[erface]] br[[ief]] dell_force10_show_vlan_brief.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] br[[ief]] dell_force10_show_version.textfsm, .*, dell_force10, sh[[ow]] ver[[sion]] dell_force10_show_vlan.textfsm, .*, dell_force10, sh[[ow]] vl[[an]] diff --git a/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.raw b/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.raw new file mode 100644 index 0000000000..11ee9fa003 --- /dev/null +++ b/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.raw @@ -0,0 +1,55 @@ +Interface IP-Address OK Method Status Protocol +TenGigabitEthernet 0/1 unassigned NO None up down +TenGigabitEthernet 0/2 unassigned NO None up down +TenGigabitEthernet 0/3 unassigned YES None up up +TenGigabitEthernet 0/4 unassigned YES None up up +TenGigabitEthernet 0/5 unassigned YES None up up +TenGigabitEthernet 0/6 unassigned NO None up down +TenGigabitEthernet 0/7 unassigned NO None up down +TenGigabitEthernet 0/8 unassigned NO None up down +TenGigabitEthernet 0/9 unassigned NO None up down +TenGigabitEthernet 0/10 unassigned YES None up up +TenGigabitEthernet 0/11 unassigned YES None up up +TenGigabitEthernet 0/12 unassigned YES None up up +TenGigabitEthernet 0/13 unassigned YES None up up +TenGigabitEthernet 0/14 unassigned NO None up down +TenGigabitEthernet 0/15 unassigned NO None up down +TenGigabitEthernet 0/16 unassigned NO None up down +TenGigabitEthernet 0/17 unassigned NO None up down +TenGigabitEthernet 0/18 unassigned NO None up down +TenGigabitEthernet 0/19 unassigned NO None up down +TenGigabitEthernet 0/20 unassigned NO None up down +TenGigabitEthernet 0/21 unassigned NO None up down +TenGigabitEthernet 0/22 unassigned NO None up down +TenGigabitEthernet 0/23 unassigned NO None up down +TenGigabitEthernet 0/24 unassigned NO None up down +TenGigabitEthernet 0/25 unassigned NO None up down +TenGigabitEthernet 0/26 unassigned NO None up down +TenGigabitEthernet 0/27 unassigned NO None up down +TenGigabitEthernet 0/28 unassigned NO None up down +TenGigabitEthernet 0/29 unassigned NO None up down +TenGigabitEthernet 0/30 unassigned NO None up down +TenGigabitEthernet 0/31 unassigned NO None up down +TenGigabitEthernet 0/32 unassigned NO None up down +TenGigabitEthernet 0/33 unassigned NO None up down +TenGigabitEthernet 0/34 unassigned NO None up down +TenGigabitEthernet 0/35 unassigned NO None up down +TenGigabitEthernet 0/36 unassigned NO None up down +TenGigabitEthernet 0/37 unassigned NO None up down +TenGigabitEthernet 0/38 unassigned NO None up down +TenGigabitEthernet 0/39 unassigned NO None up down +TenGigabitEthernet 0/40 unassigned NO None up down +TenGigabitEthernet 0/41 unassigned YES None up up +TenGigabitEthernet 0/42 unassigned YES None up up +TenGigabitEthernet 0/43 unassigned YES None up up +TenGigabitEthernet 0/44 unassigned YES None up up +TenGigabitEthernet 0/49 unassigned NO None up down +TenGigabitEthernet 0/50 unassigned NO None up down +TenGigabitEthernet 0/51 unassigned NO None up down +TenGigabitEthernet 0/52 unassigned NO None up down +TenGigabitEthernet 0/53 unassigned NO None up down +TenGigabitEthernet 0/54 unassigned NO None up down +TenGigabitEthernet 0/55 unassigned NO None up down +TenGigabitEthernet 0/56 unassigned NO None up down +ManagementEthernet 0/0 10.151.5.208 YES Manual up up +Port-channel 128 unassigned YES None up up \ No newline at end of file diff --git a/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.yml b/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.yml new file mode 100644 index 0000000000..89dd2c605c --- /dev/null +++ b/tests/dell_force10/show_ip_interface_brief/dell_force10_show_ip_interface_brief.yml @@ -0,0 +1,326 @@ +--- +parsed_sample: + - intf: "TenGigabitEthernet 0/1" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/2" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/3" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/4" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/5" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/6" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/7" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/8" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/9" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/10" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/11" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/12" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/13" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/14" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/15" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/16" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/17" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/18" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/19" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/20" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/21" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/22" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/23" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/24" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/25" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/26" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/27" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/28" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/29" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/30" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/31" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/32" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/33" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/34" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/35" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/36" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/37" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/38" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/39" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/40" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/41" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/42" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/43" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/44" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" + - intf: "TenGigabitEthernet 0/49" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/50" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/51" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/52" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/53" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/54" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/55" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "TenGigabitEthernet 0/56" + ipaddr: "unassigned" + ok: "NO" + method: "None" + status: "up" + proto: "down" + - intf: "ManagementEthernet 0/0" + ipaddr: "10.151.5.208" + ok: "YES" + method: "Manual" + status: "up" + proto: "up" + - intf: "Port-channel 128" + ipaddr: "unassigned" + ok: "YES" + method: "None" + status: "up" + proto: "up" From 5fec1d3a454047325aa5901a349b1fdf5ec91d5e Mon Sep 17 00:00:00 2001 From: Michael Bear <38406045+mjbear@users.noreply.github.com> Date: Tue, 19 Jan 2021 21:00:49 -0500 Subject: [PATCH 584/628] New Template: cisco_ios_show_bfd_neighbors_details.textfsm --- ...sco_ios_show_bfd_neighbors_details.textfsm | 74 +++++ ntc_templates/templates/index | 1 + ...ow_bfd_neighbors_details-includes-ipv6.raw | 226 +++++++++++++++ ...ow_bfd_neighbors_details-includes-ipv6.yml | 263 ++++++++++++++++++ ...os_show_bfd_neighbors_details-version0.raw | 37 +++ ...os_show_bfd_neighbors_details-version0.yml | 60 ++++ .../cisco_ios_show_bfd_neighbors_details.raw | 119 ++++++++ .../cisco_ios_show_bfd_neighbors_details.yml | 176 ++++++++++++ 8 files changed, 956 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_bfd_neighbors_details.textfsm create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.raw create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.yml create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.raw create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.yml create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.raw create mode 100644 tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.yml diff --git a/ntc_templates/templates/cisco_ios_show_bfd_neighbors_details.textfsm b/ntc_templates/templates/cisco_ios_show_bfd_neighbors_details.textfsm new file mode 100644 index 0000000000..622de93a18 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_bfd_neighbors_details.textfsm @@ -0,0 +1,74 @@ +Value OUR_ADDR (\S+) +Value NEIGHBOR_ADDR (\S+) +Value LOCAL_DISCRIM (\d+) +Value REMOTE_DISCRIM (\d+) +Value REMOTE_HEARD (\S+) +Value HOLDDOWN (\d+) +Value MULTIPLIER (\d{1,2}) +Value STATE (\w+) +Value IFACE (\S+) +Value ECHO_FUNCTION ((?:\w+\s+)?\w+\s+echo\s+function) +Value ECHO_INTERVAL (\d+) +Value DIAGNOSTIC_BIT (\d) +Value DEMAND_BIT (\d) +Value POLL_BIT (\d) +Value MIN_TX_INTERVAL (\d+) +Value MIN_RX_INTERVAL (\d+) +Value RECEIVED_MIN_RX_INTERVAL (\d+) +Value RECEIVED_MULTIPLIER (\d{1,2}) +Value HOLDDOWN_HITS (\d+) +Value HELLO_INTERVAL (\d+) +Value HELLO_HITS (\d+) +Value RX_COUNT (\d+) +Value RX_LAST (\d+) +Value TX_COUNT (\d+) +Value TX_LAST (\d+) +Value REGISTERED_PROTOCOLS (\S+(?:\s+\S+)*) +Value TEMPLATE (\S+) +Value UPTIME (\S+) +Value VERSION (\d+) + +Start + ^\s*IPv\d+\s+Sessions\s*$$ + ^\s*(?:\S+\s+)?NeighAddr.*$$ -> BFD + # + # Capture time-stamp if vty line has command time-stamping turned on + ^Load\s+for\s+ + ^Time\s+source\s+is + ^\s*$$ + ^. -> Error + +BFD + ^\s*${OUR_ADDR}\s*${NEIGHBOR_ADDR}\s+${LOCAL_DISCRIM}\/${REMOTE_DISCRIM}\s+${REMOTE_HEARD}\s+\d+\s+\(\s*\d+\s*\)\s+${STATE}\s+${IFACE}\s*$$ + # + ^\s*${NEIGHBOR_ADDR}\s+${LOCAL_DISCRIM}\/${REMOTE_DISCRIM}\s+${REMOTE_HEARD}\s+${STATE}\s+${IFACE}\s*$$ + ^\s*OurAddr:\s+${OUR_ADDR}\s*$$ + # + # common BFD details + ^\s*Session\s+state\s+is\s+\S+\s+and\s+${ECHO_FUNCTION}(?:\s+with\s+${ECHO_INTERVAL}\s+)?.*$$ + ^\s*Local\s+Diag:\s+${DIAGNOSTIC_BIT},\s+Demand\s+mode:\s+${DEMAND_BIT},\s+Poll\s+bit:\s+${POLL_BIT}\s*$$ + ^\s*MinTxInt:\s+${MIN_TX_INTERVAL},\s+MinRxInt:\s+${MIN_RX_INTERVAL},\s+Multiplier:\s+${MULTIPLIER}\s*$$ + ^\s*Received\s+MinRxInt:\s+${RECEIVED_MIN_RX_INTERVAL},\s+Received Multiplier:\s+${RECEIVED_MULTIPLIER}\s*$$ + # + # some legacy output spells holddown with one d + ^\s*Holdd?own\s+\(hits\):\s+${HOLDDOWN}\(${HOLDDOWN_HITS}\),\s+Hello\s+\(hits\):\s+${HELLO_INTERVAL}\(${HELLO_HITS}\)\s*$$ + # + ^\s*Rx\s+Count:\s+${RX_COUNT},(?:\s+\S+){6}\s+${RX_LAST}(?:\s+\S+){2}\s*$$ + ^\s*Tx\s+Count:\s+${TX_COUNT},(?:\s+\S+){6}\s+${TX_LAST}(?:\s+\S+){2}\s*$$ + ^\s*Registered\s+protocols:\s+${REGISTERED_PROTOCOLS}\s*$$ + ^\s*Template:\s+${TEMPLATE}\s*$$ + ^\s*Uptime:\s+${UPTIME}\s*$$ + ^\s*Last\s+packet:\s+Version:\s+${VERSION}\s+.*$$ -> Record + # + # lines of no interest for the time being + # + ^\s*Session\s+Host.*$$ + ^\s*Handle.*$$ + ^\s*Elapsed\s+time\s+watermarks.*$$ + ^\s+(?:\S+\s+){1,3}bit.*$$ + ^\s+Multiplier.*$$ + ^\s+My\s+Discr.*$$ + ^\s+Min\s+\S+\s+interval.*$$ + # + ^\s*$$ -> Start + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 5e2a7abbe8..e33bb43f98 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -182,6 +182,7 @@ cisco_ios_show_ip_ospf_interface_brief.textfsm, .*, cisco_ios, sh[[ow]] ip ospf cisco_ios_show_processes_memory_sorted.textfsm, .*, cisco_ios, sh[[ow]] pro[[cesses]] mem[[ory]] so[[rted]] cisco_ios_show_interfaces_description.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] cisco_ios_show_ip_device_tracking_all.textfsm, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] +cisco_ios_show_bfd_neighbors_details.textfsm, .*, cisco_ios, sh[[ow]] bf[[d]] n[[eighbors]] (?:(?:ipv\d+|client \S+) )?de[[tails]] cisco_ios_show_environment_power_all.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] cisco_ios_show_interfaces_switchport.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] sw[[itchport]] diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.raw b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.raw new file mode 100644 index 0000000000..717598d34f --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.raw @@ -0,0 +1,226 @@ + +IPv4 Sessions +NeighAddr LD/RD RH/RS State Int +192.168.10.2 3/8 Up Up Gi0/1.10 +Session state is UP and using echo function with 50 ms interval. +Session Host: Software +OurAddr: 192.168.10.1 +Handle: 3 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(4427) +Rx Count: 4428, Rx Interval (ms) min/max/avg: 1/1676/880 last: 316 ms ago +Tx Count: 4435, Tx Interval (ms) min/max/avg: 1/1296/876 last: 852 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: CEF EIGRP +Uptime: 01:02:56 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 8 - Your Discr.: 3 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 50000 + +IPv4 Sessions +NeighAddr LD/RD RH/RS State Int +192.168.12.2 4/4 Up Up Gi0/1.12 +Session state is UP and using echo function with 999 ms interval. +Session Host: Software +OurAddr: 192.168.12.1 +Handle: 4 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(4423) +Rx Count: 4434, Rx Interval (ms) min/max/avg: 1/1004/875 last: 508 ms ago +Tx Count: 4424, Tx Interval (ms) min/max/avg: 756/1184/880 last: 804 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: EIGRP CEF BGP OSPF +Template: BFD-TEST +Uptime: 01:04:45 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 4 - Your Discr.: 4 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +IPv4 Sessions +NeighAddr LD/RD RH/RS State Int +192.168.14.253 8/6 Up Up Gi0/1.14 +Session state is UP and not using echo function. +Session Host: Software +OurAddr: 192.168.14.254 +Handle: 8 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 999000, MinRxInt: 999000, Multiplier: 3 +Received MinRxInt: 999000, Received Multiplier: 3 +Holddown (hits): 2309(0), Hello (hits): 999(4383) +Rx Count: 4381, Rx Interval (ms) min/max/avg: 4/1112/878 last: 496 ms ago +Tx Count: 4386, Tx Interval (ms) min/max/avg: 1/1504/878 last: 408 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: OSPF CEF +Uptime: 01:04:03 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 6 - Your Discr.: 8 + Min tx interval: 999000 - Min rx interval: 999000 + Min Echo interval: 0 + +IPv4 Sessions +NeighAddr LD/RD RH/RS State Int +192.168.16.253 5/0 Down Down Gi0/1.16 +Session Host: Software +OurAddr: 192.168.16.254 +Handle: 5 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 0, Received Multiplier: 0 +Holddown (hits): 0(0), Hello (hits): 1000(4369) +Rx Count: 0, Rx Interval (ms) min/max/avg: 0/0/0 last: 3939644 ms ago +Tx Count: 4369, Tx Interval (ms) min/max/avg: 756/1220/879 last: 836 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: OSPF CEF +Template: BFD-TEST +Last packet: Version: 1 - Diagnostic: 0 + State bit: AdminDown - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 0 - Length: 0 + My Discr.: 0 - Your Discr.: 0 + Min tx interval: 0 - Min rx interval: 0 + Min Echo interval: 0 + +IPv6 Sessions +NeighAddr LD/RD RH/RS State Int +2001::7357:2 11/9 Up Up Gi0/1.12 +Session state is UP and not using echo function. +Session Host: Software +OurAddr: 2001::7357:1 +Handle: 9 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 999000, MinRxInt: 999000, Multiplier: 3 +Received MinRxInt: 999000, Received Multiplier: 3 +Holddown (hits): 2585(0), Hello (hits): 999(82) +Rx Count: 85, Rx Interval (ms) min/max/avg: 1/996/868 last: 116 ms ago +Tx Count: 86, Tx Interval (ms) min/max/avg: 1/996/859 last: 64 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: BGP CEF +Template: BFD-TEST +Uptime: 00:01:13 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 9 - Your Discr.: 11 + Min tx interval: 999000 - Min rx interval: 999000 + Min Echo interval: 0 + +IPv6 Sessions +NeighAddr LD/RD RH/RS State Int +FE80:A::DAD 1/7 Up Up Gi0/1.10 +Session state is UP and not using echo function. +Session Host: Software +OurAddr: FE80:A::CAB +Handle: 1 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 50000, MinRxInt: 50000, Multiplier: 3 +Received MinRxInt: 50000, Received Multiplier: 3 +Holddown (hits): 114(1), Hello (hits): 50(85054) +Rx Count: 49417, Rx Interval (ms) min/max/avg: 1/56/45 last: 28 ms ago +Tx Count: 49445, Tx Interval (ms) min/max/avg: 1/80/46 last: 32 ms ago +Elapsed time watermarks: 2 2 (last: 2) +Registered protocols: CEF EIGRP +Uptime: 00:37:27 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 7 - Your Discr.: 1 + Min tx interval: 50000 - Min rx interval: 50000 + Min Echo interval: 0 + +IPv6 Sessions +NeighAddr LD/RD RH/RS State Int +FE80:C::BAD 2/11 Up Up Gi0/1.12 +Session state is UP and not using echo function. +Session Host: Software +OurAddr: FE80:C::CAFE +Handle: 2 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 999000, MinRxInt: 999000, Multiplier: 3 +Received MinRxInt: 999000, Received Multiplier: 3 +Holddown (hits): 2641(1), Hello (hits): 999(4416) +Rx Count: 100, Rx Interval (ms) min/max/avg: 1/992/866 last: 112 ms ago +Tx Count: 101, Tx Interval (ms) min/max/avg: 1/1000/856 last: 776 ms ago +Elapsed time watermarks: 3 3 (last: 3) +Registered protocols: OSPFv3 CEF EIGRP +Template: BFD-TEST +Uptime: 00:01:26 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 11 - Your Discr.: 2 + Min tx interval: 999000 - Min rx interval: 999000 + Min Echo interval: 0 + +IPv6 Sessions +NeighAddr LD/RD RH/RS State Int +FE80:E::BEAD 6/5 Up Up Gi0/1.14 +Session state is UP and not using echo function. +Session Host: Software +OurAddr: FE80:E::BEEF +Handle: 6 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 999000, MinRxInt: 999000, Multiplier: 3 +Received MinRxInt: 999000, Received Multiplier: 3 +Holddown (hits): 2865(1), Hello (hits): 999(4375) +Rx Count: 2568, Rx Interval (ms) min/max/avg: 1/1000/878 last: 716 ms ago +Tx Count: 2569, Tx Interval (ms) min/max/avg: 1/1000/877 last: 452 ms ago +Elapsed time watermarks: 3 3 (last: 3) +Registered protocols: CEF OSPFv3 +Uptime: 00:37:30 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 5 - Your Discr.: 6 + Min tx interval: 999000 - Min rx interval: 999000 + Min Echo interval: 0 + +IPv6 Sessions +NeighAddr LD/RD RH/RS State Int +FE80:10::AAB 7/0 Down Down Gi0/1.16 +Session Host: Software +OurAddr: FE80:10::AAA +Handle: 7 +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 0, Received Multiplier: 0 +Holddown (hits): 0(0), Hello (hits): 1000(4354) +Rx Count: 0, Rx Interval (ms) min/max/avg: 0/0/0 last: 3946664 ms ago +Tx Count: 4354, Tx Interval (ms) min/max/avg: 756/13196/882 last: 168 ms ago +Elapsed time watermarks: 0 0 (last: 0) +Registered protocols: OSPFv3 CEF +Template: BFD-TEST +Last packet: Version: 1 - Diagnostic: 0 + State bit: AdminDown - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + C bit: 0 + Multiplier: 0 - Length: 0 + My Discr.: 0 - Your Discr.: 0 + Min tx interval: 0 - Min rx interval: 0 + Min Echo interval: 0 diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.yml b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.yml new file mode 100644 index 0000000000..0b03c1dbfe --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-includes-ipv6.yml @@ -0,0 +1,263 @@ +--- +parsed_sample: + - our_addr: "192.168.10.1" + neighbor_addr: "192.168.10.2" + local_discrim: "3" + remote_discrim: "8" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/1.10" + echo_function: "using echo function" + echo_interval: "50" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "4427" + rx_count: "4428" + rx_last: "316" + tx_count: "4435" + tx_last: "852" + registered_protocols: "CEF EIGRP" + template: "" + uptime: "01:02:56" + version: "1" + - our_addr: "192.168.12.1" + neighbor_addr: "192.168.12.2" + local_discrim: "4" + remote_discrim: "4" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/1.12" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "4423" + rx_count: "4434" + rx_last: "508" + tx_count: "4424" + tx_last: "804" + registered_protocols: "EIGRP CEF BGP OSPF" + template: "BFD-TEST" + uptime: "01:04:45" + version: "1" + - our_addr: "192.168.14.254" + neighbor_addr: "192.168.14.253" + local_discrim: "8" + remote_discrim: "6" + remote_heard: "Up" + holddown: "2309" + multiplier: "3" + state: "Up" + iface: "Gi0/1.14" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "999000" + min_rx_interval: "999000" + received_min_rx_interval: "999000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "999" + hello_hits: "4383" + rx_count: "4381" + rx_last: "496" + tx_count: "4386" + tx_last: "408" + registered_protocols: "OSPF CEF" + template: "" + uptime: "01:04:03" + version: "1" + - our_addr: "192.168.16.254" + neighbor_addr: "192.168.16.253" + local_discrim: "5" + remote_discrim: "0" + remote_heard: "Down" + holddown: "0" + multiplier: "3" + state: "Down" + iface: "Gi0/1.16" + echo_function: "" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "0" + received_multiplier: "0" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "4369" + rx_count: "0" + rx_last: "3939644" + tx_count: "4369" + tx_last: "836" + registered_protocols: "OSPF CEF" + template: "BFD-TEST" + uptime: "" + version: "1" + - our_addr: "2001::7357:1" + neighbor_addr: "2001::7357:2" + local_discrim: "11" + remote_discrim: "9" + remote_heard: "Up" + holddown: "2585" + multiplier: "3" + state: "Up" + iface: "Gi0/1.12" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "999000" + min_rx_interval: "999000" + received_min_rx_interval: "999000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "999" + hello_hits: "82" + rx_count: "85" + rx_last: "116" + tx_count: "86" + tx_last: "64" + registered_protocols: "BGP CEF" + template: "BFD-TEST" + uptime: "00:01:13" + version: "1" + - our_addr: "FE80:A::CAB" + neighbor_addr: "FE80:A::DAD" + local_discrim: "1" + remote_discrim: "7" + remote_heard: "Up" + holddown: "114" + multiplier: "3" + state: "Up" + iface: "Gi0/1.10" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "50000" + min_rx_interval: "50000" + received_min_rx_interval: "50000" + received_multiplier: "3" + holddown_hits: "1" + hello_interval: "50" + hello_hits: "85054" + rx_count: "49417" + rx_last: "28" + tx_count: "49445" + tx_last: "32" + registered_protocols: "CEF EIGRP" + template: "" + uptime: "00:37:27" + version: "1" + - our_addr: "FE80:C::CAFE" + neighbor_addr: "FE80:C::BAD" + local_discrim: "2" + remote_discrim: "11" + remote_heard: "Up" + holddown: "2641" + multiplier: "3" + state: "Up" + iface: "Gi0/1.12" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "999000" + min_rx_interval: "999000" + received_min_rx_interval: "999000" + received_multiplier: "3" + holddown_hits: "1" + hello_interval: "999" + hello_hits: "4416" + rx_count: "100" + rx_last: "112" + tx_count: "101" + tx_last: "776" + registered_protocols: "OSPFv3 CEF EIGRP" + template: "BFD-TEST" + uptime: "00:01:26" + version: "1" + - our_addr: "FE80:E::BEEF" + neighbor_addr: "FE80:E::BEAD" + local_discrim: "6" + remote_discrim: "5" + remote_heard: "Up" + holddown: "2865" + multiplier: "3" + state: "Up" + iface: "Gi0/1.14" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "999000" + min_rx_interval: "999000" + received_min_rx_interval: "999000" + received_multiplier: "3" + holddown_hits: "1" + hello_interval: "999" + hello_hits: "4375" + rx_count: "2568" + rx_last: "716" + tx_count: "2569" + tx_last: "452" + registered_protocols: "CEF OSPFv3" + template: "" + uptime: "00:37:30" + version: "1" + - our_addr: "FE80:10::AAA" + neighbor_addr: "FE80:10::AAB" + local_discrim: "7" + remote_discrim: "0" + remote_heard: "Down" + holddown: "0" + multiplier: "3" + state: "Down" + iface: "Gi0/1.16" + echo_function: "" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "0" + received_multiplier: "0" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "4354" + rx_count: "0" + rx_last: "3946664" + tx_count: "4354" + tx_last: "168" + registered_protocols: "OSPFv3 CEF" + template: "BFD-TEST" + uptime: "" + version: "1" diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.raw b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.raw new file mode 100644 index 0000000000..a34f0107e8 --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.raw @@ -0,0 +1,37 @@ +OurAddr NeighAddr LD/RD RH/RS Holdown(mult) State Int +172.16.1.1 172.16.1.3 5/3 1(RH) 150 (3 ) Up Fa0/1 +Session state is UP and not using echo function. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 50000, MinRxInt: 50000, Multiplier: 3 +Received MinRxInt: 50000, Received Multiplier: 3 +Holdown (hits): 150(0), Hello (hits): 50(1364284) +Rx Count: 1351813, Rx Interval (ms) min/max/avg: 28/64/49 last: 4 ms ago +Tx Count: 1364289, Tx Interval (ms) min/max/avg: 40/68/49 last: 32 ms ago +Registered protocols: EIGRP +Uptime: 18:42:45 +Last packet: Version: 0 - Diagnostic: 0 + I Hear You bit: 1 - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 3 - Your Discr.: 5 + Min tx interval: 50000 - Min rx interval: 50000 + Min Echo interval: 0 + +OurAddr NeighAddr LD/RD RH/RS Holdown(mult) State Int +172.16.1.1 172.16.1.2 6/1 Up 0 (3 ) Up Fa0/1 +Session state is UP and using echo function with 50 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holdown (hits): 3000(0), Hello (hits): 1000(317) +Rx Count: 305, Rx Interval (ms) min/max/avg: 1/1016/887 last: 448 ms ago +Tx Count: 319, Tx Interval (ms) min/max/avg: 1/1008/880 last: 532 ms ago +Registered protocols: EIGRP +Uptime: 00:04:30 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 1 - Your Discr.: 6 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 50000 diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.yml b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.yml new file mode 100644 index 0000000000..a6486db8e1 --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details-version0.yml @@ -0,0 +1,60 @@ +--- +parsed_sample: + - our_addr: "172.16.1.1" + neighbor_addr: "172.16.1.3" + local_discrim: "5" + remote_discrim: "3" + remote_heard: "1(RH)" + holddown: "150" + multiplier: "3" + state: "Up" + iface: "Fa0/1" + echo_function: "not using echo function" + echo_interval: "" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "50000" + min_rx_interval: "50000" + received_min_rx_interval: "50000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "50" + hello_hits: "1364284" + rx_count: "1351813" + rx_last: "4" + tx_count: "1364289" + tx_last: "32" + registered_protocols: "EIGRP" + template: "" + uptime: "18:42:45" + version: "0" + - our_addr: "172.16.1.1" + neighbor_addr: "172.16.1.2" + local_discrim: "6" + remote_discrim: "1" + remote_heard: "Up" + holddown: "3000" + multiplier: "3" + state: "Up" + iface: "Fa0/1" + echo_function: "using echo function" + echo_interval: "50" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "317" + rx_count: "305" + rx_last: "448" + tx_count: "319" + tx_last: "532" + registered_protocols: "EIGRP" + template: "" + uptime: "00:04:30" + version: "1" diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.raw b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.raw new file mode 100644 index 0000000000..dea0ddb3b0 --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.raw @@ -0,0 +1,119 @@ +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.2.57 172.16.2.60 34/34 Up 0 (3 ) Up Gi0/2.116 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(7034) +Rx Count: 7046, Rx Interval (ms) min/max/avg: 756/1004/880 last: 400 ms ago +Tx Count: 7037, Tx Interval (ms) min/max/avg: 756/1012/878 last: 452 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 01:43:20 +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 34 - Your Discr.: 34 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.1.25 172.16.1.28 31/15 Up 0 (3 ) Up Gi0/2.100 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(108712) +Rx Count: 108784, Rx Interval (ms) min/max/avg: 756/1004/880 last: 556 ms ago +Tx Count: 108715, Tx Interval (ms) min/max/avg: 756/1008/881 last: 20 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 1d02h +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 15 - Your Discr.: 31 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.2.9 172.16.2.12 24/41 Up 0 (3 ) Up Gi0/2.110 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(198289) +Rx Count: 198480, Rx Interval (ms) min/max/avg: 756/1016/882 last: 544 ms ago +Tx Count: 198291, Tx Interval (ms) min/max/avg: 756/1012/883 last: 164 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 2d00h +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 41 - Your Discr.: 24 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.2.89 172.16.2.92 29/2 Up 0 (3 ) Up Gi0/2.109 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(195048) +Rx Count: 195411, Rx Interval (ms) min/max/avg: 756/1000/877 last: 432 ms ago +Tx Count: 195050, Tx Interval (ms) min/max/avg: 756/1016/883 last: 356 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 1d23h +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 2 - Your Discr.: 29 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.2.81 172.16.2.84 28/1 Up 0 (3 ) Up Gi0/2.107 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(195388) +Rx Count: 195672, Rx Interval (ms) min/max/avg: 756/1000/877 last: 456 ms ago +Tx Count: 195390, Tx Interval (ms) min/max/avg: 756/1012/882 last: 224 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 1d23h +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 1 - Your Discr.: 28 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 + +OurAddr NeighAddr LD/RD RH/RS Holddown(mult) State Int +172.16.2.73 172.16.2.76 26/137 Up 0 (3 ) Up Gi0/2.105 +Session state is UP and using echo function with 999 ms interval. +Local Diag: 0, Demand mode: 0, Poll bit: 0 +MinTxInt: 1000000, MinRxInt: 1000000, Multiplier: 3 +Received MinRxInt: 1000000, Received Multiplier: 3 +Holddown (hits): 0(0), Hello (hits): 1000(196435) +Rx Count: 196683, Rx Interval (ms) min/max/avg: 756/1000/878 last: 652 ms ago +Tx Count: 196437, Tx Interval (ms) min/max/avg: 756/1016/878 last: 564 ms ago +Elapsed time watermarks: -1 0 (last: 0) +Registered protocols: OSPF +Uptime: 2d00h +Last packet: Version: 1 - Diagnostic: 0 + State bit: Up - Demand bit: 0 + Poll bit: 0 - Final bit: 0 + Multiplier: 3 - Length: 24 + My Discr.: 137 - Your Discr.: 26 + Min tx interval: 1000000 - Min rx interval: 1000000 + Min Echo interval: 999000 diff --git a/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.yml b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.yml new file mode 100644 index 0000000000..051ab2fec4 --- /dev/null +++ b/tests/cisco_ios/show_bfd_neighbors_details/cisco_ios_show_bfd_neighbors_details.yml @@ -0,0 +1,176 @@ +--- +parsed_sample: + - our_addr: "172.16.2.57" + neighbor_addr: "172.16.2.60" + local_discrim: "34" + remote_discrim: "34" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.116" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "7034" + rx_count: "7046" + rx_last: "400" + tx_count: "7037" + tx_last: "452" + registered_protocols: "OSPF" + template: "" + uptime: "01:43:20" + version: "1" + - our_addr: "172.16.1.25" + neighbor_addr: "172.16.1.28" + local_discrim: "31" + remote_discrim: "15" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.100" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "108712" + rx_count: "108784" + rx_last: "556" + tx_count: "108715" + tx_last: "20" + registered_protocols: "OSPF" + template: "" + uptime: "1d02h" + version: "1" + - our_addr: "172.16.2.9" + neighbor_addr: "172.16.2.12" + local_discrim: "24" + remote_discrim: "41" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.110" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "198289" + rx_count: "198480" + rx_last: "544" + tx_count: "198291" + tx_last: "164" + registered_protocols: "OSPF" + template: "" + uptime: "2d00h" + version: "1" + - our_addr: "172.16.2.89" + neighbor_addr: "172.16.2.92" + local_discrim: "29" + remote_discrim: "2" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.109" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "195048" + rx_count: "195411" + rx_last: "432" + tx_count: "195050" + tx_last: "356" + registered_protocols: "OSPF" + template: "" + uptime: "1d23h" + version: "1" + - our_addr: "172.16.2.81" + neighbor_addr: "172.16.2.84" + local_discrim: "28" + remote_discrim: "1" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.107" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "195388" + rx_count: "195672" + rx_last: "456" + tx_count: "195390" + tx_last: "224" + registered_protocols: "OSPF" + template: "" + uptime: "1d23h" + version: "1" + - our_addr: "172.16.2.73" + neighbor_addr: "172.16.2.76" + local_discrim: "26" + remote_discrim: "137" + remote_heard: "Up" + holddown: "0" + multiplier: "3" + state: "Up" + iface: "Gi0/2.105" + echo_function: "using echo function" + echo_interval: "999" + diagnostic_bit: "0" + demand_bit: "0" + poll_bit: "0" + min_tx_interval: "1000000" + min_rx_interval: "1000000" + received_min_rx_interval: "1000000" + received_multiplier: "3" + holddown_hits: "0" + hello_interval: "1000" + hello_hits: "196435" + rx_count: "196683" + rx_last: "652" + tx_count: "196437" + tx_last: "564" + registered_protocols: "OSPF" + template: "" + uptime: "2d00h" + version: "1" From 6e23c4d5506857291de9dc8b262b8ca3bab5ad20 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Sat, 15 May 2021 07:11:45 +0000 Subject: [PATCH 585/628] sros_system_cpu --- .../alcatel_sros_show_system_cpu.textfsm | 27 +++ ntc_templates/templates/index | 1 + .../alcatel_sros_show_system_cpu.raw | 58 +++++ .../alcatel_sros_show_system_cpu.yml | 202 ++++++++++++++++++ 4 files changed, 288 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm create mode 100644 tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.raw create mode 100644 tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.yml diff --git a/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm b/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm new file mode 100644 index 0000000000..be9383a28d --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm @@ -0,0 +1,27 @@ +Value NAME (\S.*?) +Value CPU_TIME (\S+) +Value CPU_USAGE (\S+) +Value CAPACITY_USAGE (\S+) + +Start + ^=+ + ^CPU\sUtil.+ + ^Name\s+CPU\s+Time\s+CPU\s+Usage\s+Capacity\s*$$ + ^\s+\(uSec\)\s+Usage + ^--.+ -> Resources + ^\s*$$ + ^. -> Error + +Resources + ^${NAME}\s{4,}${CPU_TIME}\s+${CPU_USAGE}\s+${CAPACITY_USAGE}\s*$$ -> Record + ^--.+ -> Total + ^\s*$$ + ^. -> Error + +Total + ^${NAME}\s{4,}${CPU_TIME}\s+${CPU_USAGE}\s+ -> Record + ^\s+${NAME}\s{4,}${CPU_TIME}\s+${CPU_USAGE}\s+ -> Record + ^=+ -> Done + ^. -> Error + +Done \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index e33bb43f98..562e80ea4b 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -27,6 +27,7 @@ alcatel_sros_show_router_interface.textfsm, .*, alcatel_sros, sh[[ow]] router (\ alcatel_sros_show_router_mpls_lsp.textfsm, .*, alcatel_sros, sh[[ow]] router mpls lsp alcatel_sros_show_service_id_base.textfsm, .*, alcatel_sros, sh[[ow]] serv[[ice]] id ba[[se]] alcatel_sros_show_service_sdp.textfsm, .*, alcatel_sros, sh[[ow]] service sdp +alcatel_sros_show_system_cpu.textfsm, .*, alcatel_sros, sh[[ow]] system cpu alcatel_sros_oam_mac-ping.textfsm, .*, alcatel_sros, oam mac-pi[[ng]] alcatel_sros_show_port.textfsm, .*, alcatel_sros, show port alcatel_sros_show_lag.textfsm, .*, alcatel_sros, show lag diff --git a/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.raw b/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.raw new file mode 100644 index 0000000000..bbfda6bcce --- /dev/null +++ b/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.raw @@ -0,0 +1,58 @@ +=============================================================================== +CPU Utilization (Sample period: 1 second) +=============================================================================== +Name CPU Time CPU Usage Capacity + (uSec) Usage +------------------------------------------------------------------------------- +BFD 189 0.01% 0.01% +BGP 20 ~0.00% ~0.00% +BGP PE-CE 0 0.00% 0.00% +BIER 0 0.00% 0.00% +CFLOWD 48 ~0.00% ~0.00% +Cards & Ports 2,311 0.23% 0.10% +DHCP Server 11 ~0.00% ~0.00% +ETH-CFM 244 0.02% 0.02% +HQoS Algorithm 102 0.01% 0.01% +HQoS Statistics 653 0.06% 0.06% +ICC 524 0.05% 0.03% +IGMP/MLD 78 ~0.00% ~0.00% +IMSI Db Appl 128 0.01% 0.01% +IOM 37,866 3.78% 2.15% +IP Stack 3,554 0.35% 0.22% +IS-IS 298 0.02% 0.01% +ISA 1,093 0.10% 0.03% +LDP 433 0.04% 0.02% +Logging 15 ~0.00% ~0.00% +MBUF 0 0.00% 0.00% +MCS 83 ~0.00% ~0.00% +MPLS/RSVP 1,230 0.12% 0.05% +MSCP 0 0.00% 0.00% +MSDP 0 0.00% 0.00% +Management 25,404 2.53% 1.84% +OAM 1,759 0.17% 0.05% +OSPF 815 0.08% 0.02% +OpenFlow 30 ~0.00% ~0.00% +PIM/L2Mcast 0 0.00% 0.00% +PKI 24 ~0.00% ~0.00% +PTP 8 ~0.00% ~0.00% +RIP 0 0.00% 0.00% +RTM/Policies 0 0.00% 0.00% +Redundancy 0 0.00% 0.00% +SIM 4,086 0.40% 0.39% +SNMP Daemon 0 0.00% 0.00% +Security 0 0.00% 0.00% +Services 1,246 0.12% 0.04% +Stats 0 0.00% 0.00% +Stats-Extended 0 0.00% 0.00% +Subscriber Mgmt 834 0.08% 0.01% +System 52,774 5.27% 2.63% +Traffic Eng 0 0.00% 0.00% +Tree Sid 0 0.00% 0.00% +VRRP 227 0.02% 0.01% +WEB Redirect 107 0.01% ~0.00% +------------------------------------------------------------------------------- +Total 1,001,337 100.00% + Idle 865,143 86.39% + Usage 136,194 13.60% +Busiest Core Utilization 136,194 13.60% +=============================================================================== diff --git a/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.yml b/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.yml new file mode 100644 index 0000000000..7c39836720 --- /dev/null +++ b/tests/alcatel_sros/show_system_cpu/alcatel_sros_show_system_cpu.yml @@ -0,0 +1,202 @@ +--- +parsed_sample: + - name: "BFD" + cpu_time: "189" + cpu_usage: "0.01%" + capacity_usage: "0.01%" + - name: "BGP" + cpu_time: "20" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "BGP PE-CE" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "BIER" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "CFLOWD" + cpu_time: "48" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "Cards & Ports" + cpu_time: "2,311" + cpu_usage: "0.23%" + capacity_usage: "0.10%" + - name: "DHCP Server" + cpu_time: "11" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "ETH-CFM" + cpu_time: "244" + cpu_usage: "0.02%" + capacity_usage: "0.02%" + - name: "HQoS Algorithm" + cpu_time: "102" + cpu_usage: "0.01%" + capacity_usage: "0.01%" + - name: "HQoS Statistics" + cpu_time: "653" + cpu_usage: "0.06%" + capacity_usage: "0.06%" + - name: "ICC" + cpu_time: "524" + cpu_usage: "0.05%" + capacity_usage: "0.03%" + - name: "IGMP/MLD" + cpu_time: "78" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "IMSI Db Appl" + cpu_time: "128" + cpu_usage: "0.01%" + capacity_usage: "0.01%" + - name: "IOM" + cpu_time: "37,866" + cpu_usage: "3.78%" + capacity_usage: "2.15%" + - name: "IP Stack" + cpu_time: "3,554" + cpu_usage: "0.35%" + capacity_usage: "0.22%" + - name: "IS-IS" + cpu_time: "298" + cpu_usage: "0.02%" + capacity_usage: "0.01%" + - name: "ISA" + cpu_time: "1,093" + cpu_usage: "0.10%" + capacity_usage: "0.03%" + - name: "LDP" + cpu_time: "433" + cpu_usage: "0.04%" + capacity_usage: "0.02%" + - name: "Logging" + cpu_time: "15" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "MBUF" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "MCS" + cpu_time: "83" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "MPLS/RSVP" + cpu_time: "1,230" + cpu_usage: "0.12%" + capacity_usage: "0.05%" + - name: "MSCP" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "MSDP" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Management" + cpu_time: "25,404" + cpu_usage: "2.53%" + capacity_usage: "1.84%" + - name: "OAM" + cpu_time: "1,759" + cpu_usage: "0.17%" + capacity_usage: "0.05%" + - name: "OSPF" + cpu_time: "815" + cpu_usage: "0.08%" + capacity_usage: "0.02%" + - name: "OpenFlow" + cpu_time: "30" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "PIM/L2Mcast" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "PKI" + cpu_time: "24" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "PTP" + cpu_time: "8" + cpu_usage: "~0.00%" + capacity_usage: "~0.00%" + - name: "RIP" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "RTM/Policies" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Redundancy" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "SIM" + cpu_time: "4,086" + cpu_usage: "0.40%" + capacity_usage: "0.39%" + - name: "SNMP Daemon" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Security" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Services" + cpu_time: "1,246" + cpu_usage: "0.12%" + capacity_usage: "0.04%" + - name: "Stats" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Stats-Extended" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Subscriber Mgmt" + cpu_time: "834" + cpu_usage: "0.08%" + capacity_usage: "0.01%" + - name: "System" + cpu_time: "52,774" + cpu_usage: "5.27%" + capacity_usage: "2.63%" + - name: "Traffic Eng" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "Tree Sid" + cpu_time: "0" + cpu_usage: "0.00%" + capacity_usage: "0.00%" + - name: "VRRP" + cpu_time: "227" + cpu_usage: "0.02%" + capacity_usage: "0.01%" + - name: "WEB Redirect" + cpu_time: "107" + cpu_usage: "0.01%" + capacity_usage: "~0.00%" + - name: "Total" + cpu_time: "1,001,337" + cpu_usage: "100.00%" + capacity_usage: "" + - name: "Idle" + cpu_time: "865,143" + cpu_usage: "86.39%" + capacity_usage: "" + - name: "Usage" + cpu_time: "136,194" + cpu_usage: "13.60%" + capacity_usage: "" + - name: "Busiest Core Utilization" + cpu_time: "136,194" + cpu_usage: "13.60%" + capacity_usage: "" From 818f9412e09d71795964eb676cda01230e792d43 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Sat, 15 May 2021 07:15:10 +0000 Subject: [PATCH 586/628] +empty_line --- ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm b/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm index be9383a28d..db51a2ca31 100644 --- a/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm +++ b/ntc_templates/templates/alcatel_sros_show_system_cpu.textfsm @@ -24,4 +24,4 @@ Total ^=+ -> Done ^. -> Error -Done \ No newline at end of file +Done From 14ff40cad76a7d0453dd90ca7f565150ce09b533 Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 21 May 2021 16:56:04 -0400 Subject: [PATCH 587/628] New Template: All BGP VPNv4 Neighbors (#911) * New Template: All BGP VPNv4 Neighbors Co-authored-by: Mark Hayes <1341115+markhayes0338@users.noreply.github.com> --- ...os_show_ip_bgp_vpnv4_all_neighbors.textfsm | 44 + ntc_templates/templates/index | 1 + ...co_ios_show_ip_bgp_vpnv4_all_neighbors.raw | 124 +++ ...co_ios_show_ip_bgp_vpnv4_all_neighbors.yml | 15 + ...ow_ip_bgp_vpnv4_all_neighbors_multiple.raw | 999 ++++++++++++++++++ ...ow_ip_bgp_vpnv4_all_neighbors_multiple.yml | 106 ++ 6 files changed, 1289 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm create mode 100644 tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.raw create mode 100644 tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.yml create mode 100644 tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.raw create mode 100644 tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm new file mode 100644 index 0000000000..c13e1e54d1 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm @@ -0,0 +1,44 @@ +Value NEIGHBOR (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value VRF (\S+) +Value REMOTE_AS (\d+) +Value LOCAL_AS (\d+) +Value PEER_GROUP (\S+) +Value REMOTE_ROUTER_ID (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value BGP_STATE (\w+) +Value LOCALHOST_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value LOCALHOST_PORT (\d+) +Value REMOTE_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) +Value REMOTE_PORT (\d+) +Value INBOUND_ROUTEMAP (\S+) +Value OUTBOUND_ROUTEMAP (\S+) + +Start + # Capture first line, which shows the BGP neighor and remote AS number + ^BGP\s+neighbor\s+is -> Continue.Record + ^BGP\s+neighbor\s+is\s+${NEIGHBOR},\s+vrf\s+${VRF},\s+remote\s+AS\s+${REMOTE_AS},\s+local\s+AS\s+${LOCAL_AS} + # Capture BGP peer group + # Example: 'Member of peer-group RR_SERVERS for session parameters' + ^\s*Member\s+of\s+peer-group\s+${PEER_GROUP} + # + # Capture remote router ID + # Example: ' BGP version 4, remote router ID 10.10.255.14' + ^.+remote\s+router\s+ID\s+${REMOTE_ROUTER_ID} + # + # Capture BGP state + # Example: ' BGP state = Established, up for 7w3d' + ^\s+BGP\s+state\s+=\s+${BGP_STATE} + # + # Capture Inbound/Outbound Route Maps + # Example: 'Route map for incoming advertisements is BGP_Vendor_in' + # Example: 'Route map for outgoing advertisements is BGP_Vendor_out' + ^\s+Route\s+map\s+for\s+incoming\s+advertisements\s+is\s+${INBOUND_ROUTEMAP} + ^\s+Route\s+map\s+for\s+outgoing\s+advertisements\s+is\s+${OUTBOUND_ROUTEMAP} + # + # Match local host and port + # Example: 'Local host: 10.10.255.13, Local port: 39443' + ^Local\s+host:\s+${LOCALHOST_IP},\s+Local\s+port:\s+${LOCALHOST_PORT} + # + # Match foreign host and port + # Example: 'Foreign host: 10.10.255.14, Local port: 39443' + ^Foreign\s+host:\s+${REMOTE_IP},\s+Foreign\s+port:\s+${REMOTE_PORT} + #^.+ -> Error \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 562e80ea4b..97d9c9be6e 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -175,6 +175,7 @@ cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm, .*, cisco_ios, sh[[ow cisco_ios_show_running-config_partition_route-map.textfsm, .*, cisco_ios, sh[[ow]] ru[[nning-config]] p[[artition]] route-[[map]] cisco_ios_show_port-security_interface_interface.textfsm, .*, cisco_ios, sh[[ow]] por[[t-security]] i[[nterface]] (\S+) cisco_ios_show_capability_feature_routing.textfsm, .*, cisco_ios, sh[[ow]] cap[[ability]] f[[eature]] r[[outing]] +cisco_ios_show_ip_bgp_vpnv4_all_neighbors.textfsm, .*, cisco_ios, sh[[ow]] ip bgp vpnv4 all nei[[ghbors]] cisco_ios_show_ip_ospf_database_network.textfsm, .*, cisco_ios, sh[[ow]] ip ospf data[[base]] ne[[twork]] cisco_ios_show_authentication_sessions.textfsm, .*, cisco_ios, show authen[[tication]] ses[[sions]] cisco_ios_show_environment_temperature.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] t[[emperature]] diff --git a/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.raw b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.raw new file mode 100644 index 0000000000..2ffebdb5db --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.raw @@ -0,0 +1,124 @@ +BGP neighbor is 10.255.11.4, vrf VRF11, remote AS 65514, local AS 65534, external link + BGP version 4, remote router ID 10.255.255.6 + BGP state = Established, up for 2w6d + Last read 00:00:54, last write 00:00:35, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 2 + Keepalives: 32792 32803 + Route Refresh: 0 0 + Total: 32794 32808 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF11 + Session: 10.255.11.4 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 4, Advertise bit 0 + 4 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 1 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1 n/a + Total: 1 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.11.4 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel11 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.11.204, Local port: 33514 +Foreign host: 10.255.11.4, Foreign port: 179 +Connection tableid (VRF): 3 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE0695D1): +Timer Starts Wakeups Next +Retrans 32804 10 0x0 +TimeWait 0 0 0x0 +AckHold 32805 32223 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1781782 1781781 0x4AE069986 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 2115004957 snduna: 2115628086 sndnxt: 2115628086 +irs: 3296319032 rcvnxt: 3296942468 + +sndwnd: 15700 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15396 scale: 0 delrcvwnd: 988 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 22 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788576610 ms, Sent idletime: 35652 ms, Receive idletime: 35428 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65496 (out of order: 0), with data: 32806, total data bytes: 623435 +Sent: 65477 (retransmit: 10, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32794, total data bytes: 623128 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F1747D2ACD0 FREE \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.yml b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.yml new file mode 100644 index 0000000000..5b7dbec6f0 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors.yml @@ -0,0 +1,15 @@ +--- +parsed_sample: + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.11.204" + localhost_port: "33514" + neighbor: "10.255.11.4" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65514" + remote_ip: "10.255.11.4" + remote_port: "179" + remote_router_id: "10.255.255.6" + vrf: "VRF11" diff --git a/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.raw b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.raw new file mode 100644 index 0000000000..7142479e4e --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.raw @@ -0,0 +1,999 @@ +BGP neighbor is 10.255.11.4, vrf VRF11, remote AS 65514, local AS 65534, external link + BGP version 4, remote router ID 10.255.255.6 + BGP state = Established, up for 2w6d + Last read 00:00:54, last write 00:00:35, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 2 + Keepalives: 32792 32803 + Route Refresh: 0 0 + Total: 32794 32808 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF11 + Session: 10.255.11.4 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 4, Advertise bit 0 + 4 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 1 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1 n/a + Total: 1 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.11.4 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel11 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.11.204, Local port: 33514 +Foreign host: 10.255.11.4, Foreign port: 179 +Connection tableid (VRF): 3 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE0695D1): +Timer Starts Wakeups Next +Retrans 32804 10 0x0 +TimeWait 0 0 0x0 +AckHold 32805 32223 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1781782 1781781 0x4AE069986 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 2115004957 snduna: 2115628086 sndnxt: 2115628086 +irs: 3296319032 rcvnxt: 3296942468 + +sndwnd: 15700 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15396 scale: 0 delrcvwnd: 988 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 22 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788576610 ms, Sent idletime: 35652 ms, Receive idletime: 35428 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65496 (out of order: 0), with data: 32806, total data bytes: 623435 +Sent: 65477 (retransmit: 10, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32794, total data bytes: 623128 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F1747D2ACD0 FREE + +BGP neighbor is 10.255.11.9, vrf VRF11, remote AS 65519, local AS 65534, external link + BGP version 4, remote router ID 10.255.250.6 + BGP state = Established, up for 2w6d + Last read 00:00:15, last write 00:00:09, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 2 + Keepalives: 32813 32820 + Route Refresh: 0 0 + Total: 32815 32825 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF11 + Session: 10.255.11.9 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 6, Advertise bit 1 + 6 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 1 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1 n/a + Total: 1 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.11.9 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel11 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.11.204, Local port: 38993 +Foreign host: 10.255.11.9, Foreign port: 179 +Connection tableid (VRF): 3 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE069763): +Timer Starts Wakeups Next +Retrans 32816 1 0x0 +TimeWait 0 0 0x0 +AckHold 32822 32248 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1782044 1782043 0x4AE0699B0 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 957193073 snduna: 957816601 sndnxt: 957816601 +irs: 1068505590 rcvnxt: 1069129349 + +sndwnd: 15301 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15073 scale: 0 delrcvwnd: 1311 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 9 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788574963 ms, Sent idletime: 9426 ms, Receive idletime: 9216 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65523 (out of order: 0), with data: 32823, total data bytes: 623758 +Sent: 65522 (retransmit: 1, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32815, total data bytes: 623527 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F174807D408 FREE + +BGP neighbor is 10.255.12.4, vrf VRF12, remote AS 65514, local AS 65534, external link + BGP version 4, remote router ID 10.255.255.6 + BGP state = Established, up for 2w6d + Last read 00:00:42, last write 00:00:19, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 148 6 + Keepalives: 32761 32801 + Route Refresh: 0 0 + Total: 32910 32810 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF12 + Session: 10.255.12.4 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 7, Advertise bit 0 + 7 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 9 1 (Consumes 272 bytes) + Prefixes Total: 148 5 + Implicit Withdraw: 1 4 + Explicit Withdraw: 138 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1064 n/a + Total: 1064 0 + Number of NLRIs in the update sent: max 2, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.12.4 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel12 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.12.204, Local port: 41858 +Foreign host: 10.255.12.4, Foreign port: 179 +Connection tableid (VRF): 4 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE069977): +Timer Starts Wakeups Next +Retrans 32864 4 0x0 +TimeWait 0 0 0x0 +AckHold 32806 32235 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1782005 1782004 0x4AE069B3B +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 639459013 snduna: 640094455 sndnxt: 640094455 +irs: 2469711945 rcvnxt: 2470335582 + +sndwnd: 16308 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15187 scale: 0 delrcvwnd: 1197 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 22 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788571400 ms, Sent idletime: 20201 ms, Receive idletime: 19977 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65548 (out of order: 0), with data: 32808, total data bytes: 623636 +Sent: 65558 (retransmit: 4, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32862, total data bytes: 635441 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F174807D4D8 FREE + +BGP neighbor is 10.255.12.9, vrf VRF12, remote AS 65519, local AS 65534, external link + BGP version 4, remote router ID 10.255.250.6 + BGP state = Established, up for 2w6d + Last read 00:00:18, last write 00:00:06, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 148 6 + Keepalives: 32776 32810 + Route Refresh: 0 0 + Total: 32925 32819 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF12 + Session: 10.255.12.9 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 8, Advertise bit 1 + 8 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 9 1 (Consumes 272 bytes) + Prefixes Total: 148 4 + Implicit Withdraw: 1 2 + Explicit Withdraw: 138 1 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1064 n/a + Total: 1064 0 + Number of NLRIs in the update sent: max 2, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.12.9 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel12 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.12.204, Local port: 54769 +Foreign host: 10.255.12.9, Foreign port: 179 +Connection tableid (VRF): 4 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE069C03): +Timer Starts Wakeups Next +Retrans 32878 3 0x0 +TimeWait 0 0 0x0 +AckHold 32815 32241 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1782055 1782054 0x4AE069E75 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 1747014950 snduna: 1747650273 sndnxt: 1747650273 +irs: 2226126303 rcvnxt: 2226750079 + +sndwnd: 15548 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15073 scale: 0 delrcvwnd: 1311 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 9 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788571028 ms, Sent idletime: 6514 ms, Receive idletime: 6304 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65566 (out of order: 0), with data: 32817, total data bytes: 623775 +Sent: 65578 (retransmit: 3, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32877, total data bytes: 635322 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F174807D5A8 FREE + +BGP neighbor is 10.255.13.4, vrf VRF13, remote AS 65514, local AS 65534, external link + BGP version 4, remote router ID 10.255.255.6 + BGP state = Established, up for 2w6d + Last read 00:00:09, last write 00:00:00, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 7 + Keepalives: 32782 32806 + Route Refresh: 0 0 + Total: 32784 32816 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF13 + Session: 10.255.13.4 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 2, Advertise bit 0 + 2 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 6 + Implicit Withdraw: 0 5 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 6 n/a + Total: 6 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.13.4 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel13 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.13.204, Local port: 39746 +Foreign host: 10.255.13.4, Foreign port: 179 +Connection tableid (VRF): 5 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE069E1B): +Timer Starts Wakeups Next +Retrans 32792 8 0x0 +TimeWait 0 0 0x0 +AckHold 32812 32253 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1781845 1781844 0x4AE06A0CA +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 452660100 snduna: 453283039 sndnxt: 453283039 +irs: 3919747522 rcvnxt: 3920371334 + +sndwnd: 15890 scale: 0 maxrcvwnd: 16384 +rcvwnd: 16384 scale: 0 delrcvwnd: 0 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 22 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788579756 ms, Sent idletime: 906 ms, Receive idletime: 683 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65473 (out of order: 0), with data: 32814, total data bytes: 623811 +Sent: 65499 (retransmit: 8, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32784, total data bytes: 622938 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F1744DF0BD0 FREE + +BGP neighbor is 10.255.13.9, vrf VRF13, remote AS 65519, local AS 65534, external link + BGP version 4, remote router ID 10.255.250.6 + BGP state = Established, up for 2w6d + Last read 00:00:03, last write 00:00:04, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 7 + Keepalives: 32803 32833 + Route Refresh: 0 0 + Total: 32805 32843 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF13 + Session: 10.255.13.9 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 3, Advertise bit 1 + 3 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 6 + Implicit Withdraw: 0 5 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 6 n/a + Total: 6 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 10.255.13.9 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel13 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 10.255.13.204, Local port: 12197 +Foreign host: 10.255.13.9, Foreign port: 179 +Connection tableid (VRF): 5 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE069FB4): +Timer Starts Wakeups Next +Retrans 32806 1 0x0 +TimeWait 0 0 0x0 +AckHold 32839 32252 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1782035 1782034 0x4AE06A25E +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 4215501672 snduna: 4216125010 sndnxt: 4216125010 +irs: 341672035 rcvnxt: 342296360 + +sndwnd: 15491 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15852 scale: 0 delrcvwnd: 532 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 9 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788579142 ms, Sent idletime: 3724 ms, Receive idletime: 3924 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65550 (out of order: 0), with data: 32841, total data bytes: 624324 +Sent: 65518 (retransmit: 1, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32805, total data bytes: 623337 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F173C61CF30 FREE + +BGP neighbor is 172.16.0.4, vrf VRF10, remote AS 65514, local AS 65534, external link + BGP version 4, remote router ID 10.255.255.6 + BGP state = Established, up for 2w6d + Last read 00:00:15, last write 00:00:20, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 2 + Keepalives: 32810 32795 + Route Refresh: 0 0 + Total: 32812 32800 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF10 + Session: 172.16.0.4 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 5, Advertise bit 1 + 5 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 1 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 0 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1 n/a + Total: 1 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 172.16.0.4 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel10 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 172.16.0.141, Local port: 32322 +Foreign host: 172.16.0.4, Foreign port: 179 +Connection tableid (VRF): 2 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE06A2FC): +Timer Starts Wakeups Next +Retrans 32817 5 0x0 +TimeWait 0 0 0x0 +AckHold 32797 32259 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1781931 1781930 0x4AE06A4B5 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 922591666 snduna: 923215137 sndnxt: 923215137 +irs: 3979427565 rcvnxt: 3980050845 + +sndwnd: 15358 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15548 scale: 0 delrcvwnd: 836 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 22 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788578957 ms, Sent idletime: 16417 ms, Receive idletime: 16617 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65522 (out of order: 0), with data: 32798, total data bytes: 623279 +Sent: 65531 (retransmit: 5, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32812, total data bytes: 623470 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F174807D678 FREE + +BGP neighbor is 172.16.0.9, vrf VRF10, remote AS 65519, local AS 65534, external link + BGP version 4, remote router ID 10.255.250.6 + BGP state = Established, up for 2w6d + Last read 00:00:14, last write 00:00:50, hold time is 180, keepalive interval is 60 seconds + Neighbor sessions: + 1 active, is not multisession capable (disabled) + Neighbor capabilities: + Route refresh: advertised and received(new) + Four-octets ASN Capability: advertised and received + Address family IPv4 Unicast: advertised and received + Enhanced Refresh Capability: advertised and received + Multisession Capability: + Stateful switchover support enabled: NO for session 1 + Message statistics: + InQ depth is 0 + OutQ depth is 0 + + Sent Rcvd + Opens: 1 1 + Notifications: 0 0 + Updates: 1 2 + Keepalives: 32806 32808 + Route Refresh: 0 0 + Total: 32808 32813 + Do log neighbor state changes (via global configuration) + Default minimum time between advertisement runs is 0 seconds + + For address family: VPNv4 Unicast + Translates address family IPv4 Unicast for VRF VRF10 + Session: 172.16.0.9 + BGP table version 2399, neighbor version 2399/0 + Output queue size : 0 + Index 1, Advertise bit 0 + 1 update-group member + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor + Extended-community attribute sent to this neighbor + Inbound path policy configured + Outbound path policy configured + Route map for incoming advertisements is BGP_IN + Route map for outgoing advertisements is BGP_OUT + Slow-peer detection is disabled + Slow-peer split-update-group dynamic is disabled + Sent Rcvd + Prefix activity: ---- ---- + Prefixes Current: 0 1 (Consumes 272 bytes) + Prefixes Total: 0 1 + Implicit Withdraw: 0 0 + Explicit Withdraw: 0 0 + Used as bestpath: n/a 1 + Used as multipath: n/a 0 + Used as secondary: n/a 0 + Saved (soft-reconfig): n/a 1 (Consumes 136 bytes) + + Outbound Inbound + Local Policy Denied Prefixes: -------- ------- + Other Policies: 1 n/a + Total: 1 0 + Number of NLRIs in the update sent: max 0, min 0 + Last detected as dynamic slow peer: never + Dynamic slow peer recovered: never + Refresh Epoch: 2 + Last Sent Refresh Start-of-rib: never + Last Sent Refresh End-of-rib: never + Last Received Refresh Start-of-rib: 2w6d + Last Received Refresh End-of-rib: 2w6d + Refresh-In took 0 seconds + Sent Rcvd + Refresh activity: ---- ---- + Refresh Start-of-RIB 0 1 + Refresh End-of-RIB 0 1 + + Address tracking is enabled, the RIB does have a route to 172.16.0.9 + Route to peer address reachability Up: 1; Down: 0 + Last notification 2w6d + Connections established 1; dropped 0 + Last reset never + External BGP neighbor configured for connected checks (single-hop no-disable-connected-check) + Interface associated: Tunnel10 (peering address in same link) + Transport(tcp) path-mtu-discovery is enabled + Graceful-Restart is disabled + SSO is disabled +Connection state is ESTAB, I/O status: 1, unread input bytes: 0 +Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 1 +Local host: 172.16.0.141, Local port: 49926 +Foreign host: 172.16.0.9, Foreign port: 179 +Connection tableid (VRF): 2 +Maximum output segment queue size: 50 + +Enqueued packets for retransmit: 0, input: 0 mis-ordered: 0 (0 bytes) + +Event Timers (current time is 0x4AE06A51B): +Timer Starts Wakeups Next +Retrans 32809 1 0x0 +TimeWait 0 0 0x0 +AckHold 32810 32252 0x0 +SendWnd 0 0 0x0 +KeepAlive 0 0 0x0 +GiveUp 0 0 0x0 +PmtuAger 1782044 1782043 0x4AE06A571 +DeadWait 0 0 0x0 +Linger 0 0 0x0 +ProcessQ 0 0 0x0 + +iss: 3051876655 snduna: 3052500050 sndnxt: 3052500050 +irs: 2636422233 rcvnxt: 2637045760 + +sndwnd: 15434 scale: 0 maxrcvwnd: 16384 +rcvwnd: 15301 scale: 0 delrcvwnd: 1083 + +SRTT: 1000 ms, RTTO: 1003 ms, RTV: 3 ms, KRTT: 0 ms +minRTT: 9 ms, maxRTT: 1000 ms, ACK hold: 200 ms +uptime: 1788585645 ms, Sent idletime: 14322 ms, Receive idletime: 14522 ms +Status Flags: active open +Option Flags: VRF id set, nagle, path mtu capable +IP Precedence value : 6 + +Datagrams (max data segment is 1360 bytes): +Rcvd: 65496 (out of order: 0), with data: 32811, total data bytes: 623526 +Sent: 65520 (retransmit: 1, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 32808, total data bytes: 623394 + + Packets received in fast path: 0, fast processed: 0, slow path: 0 + fast lock acquisition failures: 0, slow path: 0 +TCP Semaphore 0x7F1747D2ADA0 FREE \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.yml b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.yml new file mode 100644 index 0000000000..b88b40a692 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_vpnv4_all_neighbors/cisco_ios_show_ip_bgp_vpnv4_all_neighbors_multiple.yml @@ -0,0 +1,106 @@ +--- +parsed_sample: + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.11.204" + localhost_port: "33514" + neighbor: "10.255.11.4" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65514" + remote_ip: "10.255.11.4" + remote_port: "179" + remote_router_id: "10.255.255.6" + vrf: "VRF11" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.11.204" + localhost_port: "38993" + neighbor: "10.255.11.9" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65519" + remote_ip: "10.255.11.9" + remote_port: "179" + remote_router_id: "10.255.250.6" + vrf: "VRF11" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.12.204" + localhost_port: "41858" + neighbor: "10.255.12.4" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65514" + remote_ip: "10.255.12.4" + remote_port: "179" + remote_router_id: "10.255.255.6" + vrf: "VRF12" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.12.204" + localhost_port: "54769" + neighbor: "10.255.12.9" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65519" + remote_ip: "10.255.12.9" + remote_port: "179" + remote_router_id: "10.255.250.6" + vrf: "VRF12" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.13.204" + localhost_port: "39746" + neighbor: "10.255.13.4" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65514" + remote_ip: "10.255.13.4" + remote_port: "179" + remote_router_id: "10.255.255.6" + vrf: "VRF13" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "10.255.13.204" + localhost_port: "12197" + neighbor: "10.255.13.9" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65519" + remote_ip: "10.255.13.9" + remote_port: "179" + remote_router_id: "10.255.250.6" + vrf: "VRF13" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "172.16.0.141" + localhost_port: "32322" + neighbor: "172.16.0.4" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65514" + remote_ip: "172.16.0.4" + remote_port: "179" + remote_router_id: "10.255.255.6" + vrf: "VRF10" + - bgp_state: "Established" + inbound_routemap: "BGP_IN" + local_as: "65534" + localhost_ip: "172.16.0.141" + localhost_port: "49926" + neighbor: "172.16.0.9" + outbound_routemap: "BGP_OUT" + peer_group: "" + remote_as: "65519" + remote_ip: "172.16.0.9" + remote_port: "179" + remote_router_id: "10.255.250.6" + vrf: "VRF10" From 37e8d9a57decfa96ebacd31dc7db5c3dd2c6efa8 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Fri, 21 May 2021 14:08:07 -0700 Subject: [PATCH 588/628] New Template: Alcatel, sh router ospf int (#931) New template for sros-sh-rtr-ospf-int --- ...el_sros_show_router_ospf_interface.textfsm | 27 +++++++++++++++++++ ntc_templates/templates/index | 1 + ...lcatel_sros_show_router_ospf_interface.raw | 12 +++++++++ ...lcatel_sros_show_router_ospf_interface.yml | 26 ++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 ntc_templates/templates/alcatel_sros_show_router_ospf_interface.textfsm create mode 100644 tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.raw create mode 100644 tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.yml diff --git a/ntc_templates/templates/alcatel_sros_show_router_ospf_interface.textfsm b/ntc_templates/templates/alcatel_sros_show_router_ospf_interface.textfsm new file mode 100644 index 0000000000..6f790aad56 --- /dev/null +++ b/ntc_templates/templates/alcatel_sros_show_router_ospf_interface.textfsm @@ -0,0 +1,27 @@ +Value Required INTERFACE (\S+) +Value Required AREA (\S+) +Value Required DESIG_RTR (\S+) +Value Required BKUP_DESIG_RTR (\S+) +Value Required ADMIN_STATE (\S+) +Value Required OPER_STATE (\S+) + +Start + ^=+ + ^Rtr\s+Base + ^If\s+Name\s+Area\s+Id\s+Designated\s+Rtr\s+Bkup\s+Desig\s+Rtr\s+Adm\s+Oper\s*$$ + ^-+ -> Interface + ^\s*$$ + ^. -> Error + +Interface + ^${INTERFACE}\s+${AREA}\s+${DESIG_RTR}\s+${BKUP_DESIG_RTR}\s+${ADMIN_STATE}\s+${OPER_STATE} -> Record + ^-+ -> Total + ^\s*$$ + ^. -> Error + +Total + ^No.\s+ + ^=+ -> Done + ^. -> Error + +Done diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 97d9c9be6e..9437876d32 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -18,6 +18,7 @@ alcatel_sros_show_router_bgp_summary_family.textfsm, .*, alcatel_sros, sh[[ow]] alcatel_sros_show_router_isis_adjacency.textfsm, .*, alcatel_sros, sh[[ow]] router isis adj[[acency]] alcatel_sros_show_router_isis_interface.textfsm, .*, alcatel_sros, sh[[ow]] router isis int[[erface]] alcatel_sros_show_router_mpls_interface.textfsm, .*, alcatel_sros, sh[[ow]] router mpls int[[erface]] +alcatel_sros_show_router_ospf_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ospf int[[erface]] alcatel_sros_show_router_rsvp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router rsvp int[[erface]] alcatel_sros_show_router_ldp_interface.textfsm, .*, alcatel_sros, sh[[ow]] router ldp int[[erface]] alcatel_sros_show_router_pim_interface.textfsm, .*, alcatel_sros, sh[[ow]] router pim int[[erface]] diff --git a/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.raw b/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.raw new file mode 100644 index 0000000000..a901f8e05b --- /dev/null +++ b/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.raw @@ -0,0 +1,12 @@ +=============================================================================== +Rtr Base OSPFv2 Instance 0 Interfaces +=============================================================================== +If Name Area Id Designated Rtr Bkup Desig Rtr Adm Oper +------------------------------------------------------------------------------- +system 0.0.0.0 10.10.10.3 0.0.0.0 Up DR +TO_IOSXR 0.0.0.0 0.0.0.0 0.0.0.0 Up PToP +TO_R1 0.0.0.0 0.0.0.0 0.0.0.0 Up PToP +TO_R4 0.0.0.0 0.0.0.0 0.0.0.0 Up PToP +------------------------------------------------------------------------------- +No. of OSPF Interfaces: 4 +=============================================================================== diff --git a/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.yml b/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.yml new file mode 100644 index 0000000000..5c1c77d79c --- /dev/null +++ b/tests/alcatel_sros/show_router_ospf_interface/alcatel_sros_show_router_ospf_interface.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - interface: "system" + area: "0.0.0.0" + desig_rtr: "10.10.10.3" + bkup_desig_rtr: "0.0.0.0" + admin_state: "Up" + oper_state: "DR" + - interface: "TO_IOSXR" + area: "0.0.0.0" + desig_rtr: "0.0.0.0" + bkup_desig_rtr: "0.0.0.0" + admin_state: "Up" + oper_state: "PToP" + - interface: "TO_R1" + area: "0.0.0.0" + desig_rtr: "0.0.0.0" + bkup_desig_rtr: "0.0.0.0" + admin_state: "Up" + oper_state: "PToP" + - interface: "TO_R4" + area: "0.0.0.0" + desig_rtr: "0.0.0.0" + bkup_desig_rtr: "0.0.0.0" + admin_state: "Up" + oper_state: "PToP" From 2d242a7e426320e5f91a9cff661e7e791a0055b6 Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Fri, 28 May 2021 09:34:26 -0500 Subject: [PATCH 589/628] Adds monitoring port for show interfaces status (#928) --- .../templates/cisco_ios_show_interfaces_status.textfsm | 2 +- .../cisco_ios_show_interfaces_status.raw | 1 + .../cisco_ios_show_interfaces_status.yml | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm index 9fafcd9b62..88cd95a5cf 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm @@ -1,6 +1,6 @@ Value PORT (\S+) Value NAME (.+?) -Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down) +Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down|monitoring) Value VLAN (\S+) Value DUPLEX (\S+) Value SPEED (\S+) diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw index a6f3180abe..8f460276cc 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw @@ -16,5 +16,6 @@ Gi1/0/14 Half Duplex 2950-S notconnect 16 a-half auto Not Present Gi1/0/15 Multi Space to the notconnect 16 a-half auto 10/100BaseTX Gi1/0/16 Multi Space to the err-disabled 16 a-half auto 10/100BaseTX Gi1/0/17 Multi Space disabled 16 a-half auto 10/100BaseTX +Gi1/0/18 Monitoring Port monitoring routed a-full auto 10/100/1000BaseT Fa1/6 test notconnect 1 auto auto 10/100BaseTX Po1 ethchl connected trunk a-full a-1000 diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml index 23df2630fc..ab567b4694 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml @@ -136,6 +136,14 @@ parsed_sample: speed: "auto" type: "10/100BaseTX" fc_mode: "" + - port: "Gi1/0/18" + name: "Monitoring Port" + status: "monitoring" + vlan: "routed" + duplex: "a-full" + speed: "auto" + type: "10/100/1000BaseT" + fc_mode: "" - port: "Fa1/6" name: "test" status: "notconnect" From deaaf51f53db4617fe8db9f1de9b4c6f84dc7c48 Mon Sep 17 00:00:00 2001 From: Pavel Khorikov Date: Wed, 23 Jun 2021 00:22:24 +0300 Subject: [PATCH 590/628] cisco_nxos add f-path vlan type (#937) * Fix missing vlan type in command output --- .../templates/cisco_nxos_show_interface_status.textfsm | 2 +- .../cisco_nxos_show_interface_status3.raw | 1 + .../cisco_nxos_show_interface_status3.yml | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm index 5d142c9b3c..a41c3d00a5 100644 --- a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm @@ -1,7 +1,7 @@ Value PORT (\S+) Value NAME (.*?) Value STATUS (\S+) -Value VLAN (\d+|routed|trunk|--) +Value VLAN (\d+|routed|trunk|f-path|--) Value DUPLEX (\S+) Value SPEED (\S+) Value TYPE (\S+(\s\S+)*) diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw index 05eeec8aa8..ce6efa1296 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.raw @@ -14,4 +14,5 @@ Eth1/10 -- channelDo 1 full 10G Fabric Exte Eth1/11 -- channelDo 1 full 10G Fabric Exte Eth1/12 -- channelDo 1 full 10G Fabric Exte Eth1/13 upk N2232PP-651-10 connected 1 full 10G Fabric Exte +Eth1/14 FP-port connected f-path full 10G 10Gbase-SR Eth1/39 "FEX151" connected 1 full 10G Fabric Extender Transceiver diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml index abc118c072..79cd0b331a 100644 --- a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status3.yml @@ -91,6 +91,13 @@ parsed_sample: duplex: "full" speed: "10G" type: "Fabric Exte" + - port: "Eth1/14" + name: "FP-port" + status: "connected" + vlan: "f-path" + duplex: "full" + speed: "10G" + type: "10Gbase-SR" - port: "Eth1/39" name: "\"FEX151\"" status: "connected" From 4ad4c079f43421fd6f62c3fdfe8604794b336b7e Mon Sep 17 00:00:00 2001 From: ksrattani <73962227+ksrattani@users.noreply.github.com> Date: Thu, 24 Jun 2021 09:40:43 -0500 Subject: [PATCH 591/628] Adding Restarted to show version template for cisco ios (#940) --- ntc_templates/templates/cisco_ios_show_version.textfsm | 2 ++ tests/cisco_ios/show_version/cisco_ios_show_version.yml | 1 + tests/cisco_ios/show_version/cisco_ios_show_version1.yml | 1 + tests/cisco_ios/show_version/cisco_ios_show_version2.yml | 1 + tests/cisco_ios/show_version/cisco_ios_show_version3.yml | 1 + tests/cisco_ios/show_version/cisco_ios_show_version4.yml | 1 + 6 files changed, 7 insertions(+) diff --git a/ntc_templates/templates/cisco_ios_show_version.textfsm b/ntc_templates/templates/cisco_ios_show_version.textfsm index 5ea3b0a4be..4d32f8475b 100644 --- a/ntc_templates/templates/cisco_ios_show_version.textfsm +++ b/ntc_templates/templates/cisco_ios_show_version.textfsm @@ -8,6 +8,7 @@ Value List HARDWARE (\S+|\S+\d\S+) Value List SERIAL (\S+) Value CONFIG_REGISTER (\S+) Value List MAC ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}) +Value RESTARTED (.+) Start ^.*Software\s.+\),\sVersion\s${VERSION},*\s+RELEASE.* @@ -19,6 +20,7 @@ Start ^[Cc]isco\s+${HARDWARE}\s+\(.+\).+ ^[Cc]onfiguration\s+register\s+is\s+${CONFIG_REGISTER} ^Base\s+[Ee]thernet\s+MAC\s+[Aa]ddress\s+:\s+${MAC} + ^System\s+restarted\s+at\s+${RESTARTED}$$ ^Switch\s+Port -> Stack # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version.yml b/tests/cisco_ios/show_version/cisco_ios_show_version.yml index 3a91e0d9c8..fd16da9df3 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version.yml @@ -12,3 +12,4 @@ parsed_sample: - "CAT1451S15C" config_register: "0x2102" mac: [] + restarted: "09:09:22 UTC Tue Apr 9 2013" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml index a97fbd1dcd..eb71525870 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml @@ -22,3 +22,4 @@ parsed_sample: - "f8:7b:20:22:bb:80" - "f8:b7:e2:33:cc:00" - "f8:b7:e2:44:dd:00" + restarted: "05:00:08 AEDT Wed Nov 22 2017" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml index a38f16353f..11935c90fa 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml @@ -12,3 +12,4 @@ parsed_sample: - "SSI1289001MH" config_register: "0x2102" mac: [] + restarted: "23:02:42 MET-DST Fri Jul 25 2014" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml index 1510b62ace..a72cd33d98 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml @@ -12,3 +12,4 @@ parsed_sample: - "991UCMIHG4UAJ1J010CQG" config_register: "0x0" mac: [] + restarted: "" diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml index 38ad8334dd..677cd7fdab 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml @@ -16,3 +16,4 @@ parsed_sample: mac: - "0c:d0:f8:cd:b5:80" - "70:35:09:dd:20:00" + restarted: "22:16:13 NZST Wed May 1 2019" From eef3e64049d38e53cf51f4d65c60b6cc905a68c4 Mon Sep 17 00:00:00 2001 From: matt852 Date: Thu, 24 Jun 2021 10:44:44 -0400 Subject: [PATCH 592/628] aristra_eos_show_lldp_neighbors: Make argument required to capture all entries (#934) --- ...sta_eos_show_lldp_neighbors_detail.textfsm | 6 ++--- .../arista_eos_show_lldp_neighbors_detail.raw | 22 ++++++++++++++++++- .../arista_eos_show_lldp_neighbors_detail.yml | 8 +++++++ 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm b/ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm index 604a046bb9..0425d376b8 100644 --- a/ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm +++ b/ntc_templates/templates/arista_eos_show_lldp_neighbors_detail.textfsm @@ -1,10 +1,10 @@ -Value DEST_HOST (\S+) +Value Required DEST_HOST (\S+) Value SYSTEM_ID (.+?) Value MGMT_ADDRESS (.+?) Value PLATFORM_VERSION (.+?) Value REMOTE_PORT (.+?) Value Filldown LOCAL_PORT (\S+?) -Value Filldown NEIGH_COUNT (\d+?) +Value Filldown NEIGH_COUNT ([1-9]\d*) Value AGE (.+?) Start @@ -21,5 +21,3 @@ Interface Port_ID ^\s+Port ID\s+:(\s+\"|\s+)${REMOTE_PORT}(\"|$$) -> Interface - -EOF diff --git a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.raw b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.raw index 35f98c527d..b568eda9b5 100644 --- a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.raw +++ b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.raw @@ -635,5 +635,25 @@ Interface Ethernet52/3 detected 0 LLDP neighbors: Interface Ethernet52/4 detected 0 LLDP neighbors: -Interface Management1 detected 0 LLDP neighbors: +Interface Management1 detected 1 LLDP neighbors: + Neighbor 0cca.01c0.e8e1/"Management1", age 2 seconds + Discovered 1:11:08 ago; Last changed 1:11:08 ago + - Chassis ID type: MAC address (4) + Chassis ID : 0cca.01c0.e8e1 + - Port ID type: Interface name(5) + Port ID : "Management1" + - Time To Live: 120 seconds + - System Name: "test-host.domain.com" + - System Capabilities : Bridge, Router + Enabled Capabilities: Bridge + - Management Address Subtype: IPv4 + Management Address : 172.16.208.5 + Interface Number Subtype : ifIndex (2) + Interface Number : 999001 + OID String : + - IEEE802.1 Port VLAN ID: 0 + - IEEE802.1/IEEE802.3 Link Aggregation + Link Aggregation Status: Not Capable (0x00) + Port ID : 0 + - IEEE802.3 Maximum Frame Size: 1518 bytes \ No newline at end of file diff --git a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml index 9a4aab4b53..732b00ea7c 100644 --- a/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml +++ b/tests/arista_eos/show_lldp_neighbors_detail/arista_eos_show_lldp_neighbors_detail.yml @@ -171,3 +171,11 @@ parsed_sample: local_port: "Ethernet52/1" neigh_count: "1" age: "28 seconds" + - dest_host: "test-host.domain.com" + system_id: "0cca.01c0.e8e1" + mgmt_address: "172.16.208.5" + platform_version: "" + remote_port: "Management1" + local_port: "Management1" + neigh_count: "1" + age: "2 seconds" From 24aef376ca6c6b26df5604985979d911f9ce4b18 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Thu, 24 Jun 2021 12:00:22 -0600 Subject: [PATCH 593/628] Cutting new release, bumping version to 2.1.0 (#941) --- .github_changelog_generator | 3 +- CHANGELOG.md | 605 +++++++++++++++++++++++++++++++++++- ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 4 files changed, 603 insertions(+), 9 deletions(-) diff --git a/.github_changelog_generator b/.github_changelog_generator index 1d3e2cee60..88958d9fae 100644 --- a/.github_changelog_generator +++ b/.github_changelog_generator @@ -1,3 +1,2 @@ unreleased=true -future-release=1.5.0 -since-tag=v1.4.2 +future-release=2.1.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index dbea6b3dfa..fb87e2dab5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,59 @@ # Changelog -## [2.0.0](https://github.com/networktocode/ntc-templates/tree/1.5.0) (2021-03-11) +## [2.1.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-06-24) -[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.0.0...v1.7.0) +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.0.0...2.1.0) + +**Implemented enhancements:** + +- Move to Poetry for dependency and publishing [\#729](https://github.com/networktocode/ntc-templates/issues/729) + +**Closed issues:** + +- cisco\_nxos\_show\_cdp\_neighbors\_detail 'str' object has no attribute 'seek'. [\#936](https://github.com/networktocode/ntc-templates/issues/936) +- show int status returns error \(seems template error\) for particular switch for other switches it does work \(iOS\). [\#922](https://github.com/networktocode/ntc-templates/issues/922) +- IPinfusuion OCNOS support request [\#913](https://github.com/networktocode/ntc-templates/issues/913) +- cisco\_ios\_show\_interfaces\_status.textfsm \(no interface in monitoring state\) [\#878](https://github.com/networktocode/ntc-templates/issues/878) +- Arista\_eos: show ip bgp summary Error [\#844](https://github.com/networktocode/ntc-templates/issues/844) +- arista\_eos\_show\_ip\_route parse exception [\#811](https://github.com/networktocode/ntc-templates/issues/811) +- cisco nxos show interface status issue when FC ports are present [\#788](https://github.com/networktocode/ntc-templates/issues/788) +- cisco\_asa\_show\_running\_cryprom\_map does not parse crypto maps without "set security association lifetime" [\#784](https://github.com/networktocode/ntc-templates/issues/784) +- Cisco ASA show vpn-sessiondb invalid and not returning data after ASA SW update [\#773](https://github.com/networktocode/ntc-templates/issues/773) +- cannot import name 'clitable' from 'textfsm' [\#731](https://github.com/networktocode/ntc-templates/issues/731) **Merged pull requests:** +- Adding Restarted to show version template for cisco ios [\#940](https://github.com/networktocode/ntc-templates/pull/940) ([ksrattani](https://github.com/ksrattani)) +- cisco\_nxos add f-path vlan type [\#937](https://github.com/networktocode/ntc-templates/pull/937) ([JargeZ](https://github.com/JargeZ)) +- Fix issue \#929 [\#934](https://github.com/networktocode/ntc-templates/pull/934) ([matt852](https://github.com/matt852)) +- New Template: Alcatel, sh router ospf int [\#931](https://github.com/networktocode/ntc-templates/pull/931) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: SROS "show system cpu" [\#930](https://github.com/networktocode/ntc-templates/pull/930) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- Adds monitoring port for show interfaces status [\#928](https://github.com/networktocode/ntc-templates/pull/928) ([jvanderaa](https://github.com/jvanderaa)) +- New Template: All BGP VPNv4 Neighbors [\#911](https://github.com/networktocode/ntc-templates/pull/911) ([markh0338](https://github.com/markh0338)) +- Added Known Issues section to document Micah's finding/issue [\#902](https://github.com/networktocode/ntc-templates/pull/902) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Added deploy option to auto deploy on tags [\#901](https://github.com/networktocode/ntc-templates/pull/901) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- sros, new template - sh router interface, -vrf \# optional [\#898](https://github.com/networktocode/ntc-templates/pull/898) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- Add end of line for matching empty lines [\#897](https://github.com/networktocode/ntc-templates/pull/897) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: ruckus\_fastiron, show mac-address [\#896](https://github.com/networktocode/ntc-templates/pull/896) ([QuasarKid](https://github.com/QuasarKid)) +- New Template: ruckus\_fastiron, show version [\#894](https://github.com/networktocode/ntc-templates/pull/894) ([QuasarKid](https://github.com/QuasarKid)) +- New Template: alcatel\_sros, sh router mpls lsp [\#893](https://github.com/networktocode/ntc-templates/pull/893) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: alcatel\_sros, sap-using [\#892](https://github.com/networktocode/ntc-templates/pull/892) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- New Template: alcatel\_sros, sdp-using [\#891](https://github.com/networktocode/ntc-templates/pull/891) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- add new template show port-security interface [\#885](https://github.com/networktocode/ntc-templates/pull/885) ([jeffkala](https://github.com/jeffkala)) +- Bugfix: Type for cisco\_nxos\_show\_interface\_status [\#880](https://github.com/networktocode/ntc-templates/pull/880) ([FragmentedPacket](https://github.com/FragmentedPacket)) + +## [v2.0.0](https://github.com/networktocode/ntc-templates/tree/v2.0.0) (2021-03-12) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.7.0...v2.0.0) + +**Merged pull requests:** + +- Release v2.0.0 [\#890](https://github.com/networktocode/ntc-templates/pull/890) ([jmcgill298](https://github.com/jmcgill298)) - Migrate packaging to use poetry [\#882](https://github.com/networktocode/ntc-templates/pull/882) ([jmcgill298](https://github.com/jmcgill298)) +- Add Dell Force 10 show ip interface brief [\#875](https://github.com/networktocode/ntc-templates/pull/875) ([soer7022](https://github.com/soer7022)) +- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#872](https://github.com/networktocode/ntc-templates/pull/872) ([progala](https://github.com/progala)) -## [v1.7.0](https://github.com/networktocode/ntc-templates/tree/v1.7.0) (2021-03-11) +## [v1.7.0](https://github.com/networktocode/ntc-templates/tree/v1.7.0) (2021-03-12) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.6.0...v1.7.0) @@ -38,6 +83,7 @@ **Merged pull requests:** +- New Template: ruckus\_fastiron, show interfaces brief [\#895](https://github.com/networktocode/ntc-templates/pull/895) ([QuasarKid](https://github.com/QuasarKid)) - Release v1.7.0 [\#889](https://github.com/networktocode/ntc-templates/pull/889) ([jmcgill298](https://github.com/jmcgill298)) - new alcatel\_sros tmpl, 'show service sdp' [\#886](https://github.com/networktocode/ntc-templates/pull/886) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) - New Template: alcatel\_sros\_show\_router\_rsvp\_interface [\#884](https://github.com/networktocode/ntc-templates/pull/884) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) @@ -45,7 +91,6 @@ - New template: cisco\_ios\_show\_alert\_counters.textfsm [\#881](https://github.com/networktocode/ntc-templates/pull/881) ([FragmentedPacket](https://github.com/FragmentedPacket)) - Bugfix: Media type update for cisco\_ios\_show\_interfaces [\#879](https://github.com/networktocode/ntc-templates/pull/879) ([FragmentedPacket](https://github.com/FragmentedPacket)) - new sros template [\#877](https://github.com/networktocode/ntc-templates/pull/877) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) -- cisco\_wlc\_ssh\_show\_wlan\_sum update - make PMIP\_MOBILITY optional [\#872](https://github.com/networktocode/ntc-templates/pull/872) ([progala](https://github.com/progala)) - Fixs \#869 cisco nxos show ip route not found [\#870](https://github.com/networktocode/ntc-templates/pull/870) ([diepes](https://github.com/diepes)) - Fix readme [\#868](https://github.com/networktocode/ntc-templates/pull/868) ([jeffkala](https://github.com/jeffkala)) - add test security-policy-match to palo alto [\#867](https://github.com/networktocode/ntc-templates/pull/867) ([jeffkala](https://github.com/jeffkala)) @@ -173,7 +218,7 @@ - Bugfix: Account for totals - cisco\_ios\_show\_processes\_memory\_sorted.textfsm [\#747](https://github.com/networktocode/ntc-templates/pull/747) ([FragmentedPacket](https://github.com/FragmentedPacket)) - Enhancement for Cisco IOS show interfaces [\#745](https://github.com/networktocode/ntc-templates/pull/745) ([Yakuza-UA](https://github.com/Yakuza-UA)) - Added interfaces to arista\_eos\_show\_vrf template [\#744](https://github.com/networktocode/ntc-templates/pull/744) ([JoeyG1973](https://github.com/JoeyG1973)) -- Add new template for cisco\_wlc\_ssh\_sh\_ap\_image\_all [\#742](https://github.com/networktocode/ntc-templates/pull/742) ([conorwu1107](https://github.com/conorwu1107)) +- Add new template for cisco\_wlc\_ssh\_sh\_ap\_image\_all [\#742](https://github.com/networktocode/ntc-templates/pull/742) ([conorwoo](https://github.com/conorwoo)) - Update index to handle cisco\_ios show\_ip\_bgp\_all\_summary [\#738](https://github.com/networktocode/ntc-templates/pull/738) ([Niclnx](https://github.com/Niclnx)) - Added support for broadcom\_icos command show\_mac-address-table [\#736](https://github.com/networktocode/ntc-templates/pull/736) ([alepodj](https://github.com/alepodj)) - BugFix: IOS CDP - Better handling of output [\#735](https://github.com/networktocode/ntc-templates/pull/735) ([jmcgill298](https://github.com/jmcgill298)) @@ -182,6 +227,556 @@ - New Template for Cisco NX-OS: show forwarding adjacency [\#722](https://github.com/networktocode/ntc-templates/pull/722) ([Yakuza-UA](https://github.com/Yakuza-UA)) - BugFix: cisco\_ios\_show\_interfaces\_switchport: Made trunking\_vlans a list, and changed regex [\#671](https://github.com/networktocode/ntc-templates/pull/671) ([FragmentedPacket](https://github.com/FragmentedPacket)) +## [v1.4.2](https://github.com/networktocode/ntc-templates/tree/v1.4.2) (2020-05-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.1...v1.4.2) + +**Fixed bugs:** + +- cisco\_ios "show ip ospf database router" fails if OSPF domain includes an ASBR or an ABR [\#690](https://github.com/networktocode/ntc-templates/issues/690) +- Arista EOS show ip route parse error [\#668](https://github.com/networktocode/ntc-templates/issues/668) +- cisco\_ios\_show\_ip\_interface does not deal with ip address negotiated on Tunnel interface [\#644](https://github.com/networktocode/ntc-templates/issues/644) + +**Closed issues:** + +- Cisco IOS - textfsm.parser.TextFSMError: State Error raised. Rule Line: 17. [\#718](https://github.com/networktocode/ntc-templates/issues/718) +- show mac address-table Error: State Error raised. Rule Line: 41. [\#715](https://github.com/networktocode/ntc-templates/issues/715) +- show mac address-table no dictionary in response [\#714](https://github.com/networktocode/ntc-templates/issues/714) +- Having trouble with alcatel\_sros templates [\#698](https://github.com/networktocode/ntc-templates/issues/698) +- Cisco show cdp neighbor details leaves whitespace in capabilities field [\#683](https://github.com/networktocode/ntc-templates/issues/683) +- cisco\_ios neighbor summary per address family new request. [\#664](https://github.com/networktocode/ntc-templates/issues/664) +- cisco\_ios BGP neighbor advertised and received routes request. [\#663](https://github.com/networktocode/ntc-templates/issues/663) +- Ciena naming doesn’t conform to Netmiko [\#662](https://github.com/networktocode/ntc-templates/issues/662) +- Problem to add or install ntc-templates: [\#658](https://github.com/networktocode/ntc-templates/issues/658) +- show\_vlan template for cisco ios does not return more than 60 interfaces [\#653](https://github.com/networktocode/ntc-templates/issues/653) +- Unable to parse data by using "cisco\_ios\_show\_ip\_route\_summary.textfsm" [\#643](https://github.com/networktocode/ntc-templates/issues/643) +- template request: show ip bgp neighbors x.x.x.x advertised-routes [\#639](https://github.com/networktocode/ntc-templates/issues/639) + +**Merged pull requests:** + +- Bump version to 1.4.2 [\#728](https://github.com/networktocode/ntc-templates/pull/728) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- 718 fix [\#725](https://github.com/networktocode/ntc-templates/pull/725) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update to enforce double-quote [\#724](https://github.com/networktocode/ntc-templates/pull/724) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Enhance Template for Cisco IOS: show adjacency [\#721](https://github.com/networktocode/ntc-templates/pull/721) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New templates: Cisco s300 - LLDP Neighbors, Interfaces status, Mac address table [\#719](https://github.com/networktocode/ntc-templates/pull/719) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- EOS can have N/A in the age field for show ip arp [\#717](https://github.com/networktocode/ntc-templates/pull/717) ([ktbyers](https://github.com/ktbyers)) +- New Template: juniper\_junos\_show\_lacp\_interfaces [\#713](https://github.com/networktocode/ntc-templates/pull/713) ([ichisuke55](https://github.com/ichisuke55)) +- New Template: paloalto\_panos\_show\_interface\_management.textfsm [\#712](https://github.com/networktocode/ntc-templates/pull/712) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: EOS - show\_interfaces - Added proper link\_status capture for admin down [\#711](https://github.com/networktocode/ntc-templates/pull/711) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bugfix: Panos sh intf hardware - Account for unk for SPEED/Duplex [\#710](https://github.com/networktocode/ntc-templates/pull/710) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Updated index file to work for show ip bgp neighbors x.x.x.x adv-routes [\#709](https://github.com/networktocode/ntc-templates/pull/709) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: Ciena Saos: Added more use cases to vlan\_show [\#707](https://github.com/networktocode/ntc-templates/pull/707) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- paloalto\_panos\_debug\_swm\_status.textfsm new template [\#706](https://github.com/networktocode/ntc-templates/pull/706) ([ancoleman](https://github.com/ancoleman)) +- New Template for Cisco NX-OS: show ip adjacency [\#704](https://github.com/networktocode/ntc-templates/pull/704) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template for Cisco IOS: show ip vrf interfaces [\#702](https://github.com/networktocode/ntc-templates/pull/702) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Existing Template for Cisco NX-OS: show ip interface brief \(VRF support added\) [\#701](https://github.com/networktocode/ntc-templates/pull/701) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- New Template: juniper\_junos\_show\_ethenet-switching\_table.textfsm [\#700](https://github.com/networktocode/ntc-templates/pull/700) ([ichisuke55](https://github.com/ichisuke55)) +- New Template for Cisco IOS: traceroute \ \[options\] [\#699](https://github.com/networktocode/ntc-templates/pull/699) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- BugFix: show vpn-sessiondb anyconnect - Index and Username ends up on… [\#697](https://github.com/networktocode/ntc-templates/pull/697) ([anttof](https://github.com/anttof)) +- Asa bgp summary [\#696](https://github.com/networktocode/ntc-templates/pull/696) ([corvese](https://github.com/corvese)) +- New Template for Cisco IOS: show ip cef \[detail\] [\#695](https://github.com/networktocode/ntc-templates/pull/695) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Ciena sshkeystatus [\#693](https://github.com/networktocode/ntc-templates/pull/693) ([georgesnow](https://github.com/georgesnow)) +- Cisco IOS 'show adjacency .\* detail' [\#692](https://github.com/networktocode/ntc-templates/pull/692) ([Yakuza-UA](https://github.com/Yakuza-UA)) +- Bugfix: Accounted for ASBR/ABR in cisco\_ios\_show\_ip\_ospf\_database\_router [\#691](https://github.com/networktocode/ntc-templates/pull/691) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- HP Procurve show lldp info remote device [\#689](https://github.com/networktocode/ntc-templates/pull/689) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show lldp info remote-device detail [\#688](https://github.com/networktocode/ntc-templates/pull/688) ([sliddjur](https://github.com/sliddjur)) +- HP Procurve show trunks [\#687](https://github.com/networktocode/ntc-templates/pull/687) ([sliddjur](https://github.com/sliddjur)) +- BugFix: \(IOS\) - show cdp neighbors detail - Prevent capturing trailing whitespace for capabilities [\#684](https://github.com/networktocode/ntc-templates/pull/684) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp summary: Added new field ADDR\_FAMILY for any that may have an address family [\#679](https://github.com/networktocode/ntc-templates/pull/679) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: IOS - show ip bgp - Account for VRF info within routing table [\#678](https://github.com/networktocode/ntc-templates/pull/678) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: \(IOS\) show\_ip\_bgp\_neighbors\_advertised\_routes [\#674](https://github.com/networktocode/ntc-templates/pull/674) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: Added CRC and Abort Values to ios\_show\_interfaces template [\#673](https://github.com/networktocode/ntc-templates/pull/673) ([mtbutler07](https://github.com/mtbutler07)) +- Remove "terminal" dependency [\#672](https://github.com/networktocode/ntc-templates/pull/672) ([ktbyers](https://github.com/ktbyers)) +- BugFix: cisco\_ios\_show\_ip\_interface: Account for Internet address that is negotiated [\#670](https://github.com/networktocode/ntc-templates/pull/670) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: arista\_eos\_show\_ip\_route: Accounting for new data for WARNING output & capture ecmp routes [\#669](https://github.com/networktocode/ntc-templates/pull/669) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: cisco\_ios\_show\_redundancy - Add New fields [\#667](https://github.com/networktocode/ntc-templates/pull/667) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Ciena SAOS templates \(naming fix\) [\#665](https://github.com/networktocode/ntc-templates/pull/665) ([georgesnow](https://github.com/georgesnow)) +- Adds support for Cisco FTD [\#654](https://github.com/networktocode/ntc-templates/pull/654) ([micahculpepper](https://github.com/micahculpepper)) +- New Template: hp\_comware\_display\_ip\_routing-table & hp\_comware\_display\_device\_manuinfo [\#623](https://github.com/networktocode/ntc-templates/pull/623) ([xdai555](https://github.com/xdai555)) + +## [v1.4.1](https://github.com/networktocode/ntc-templates/tree/v1.4.1) (2020-04-23) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.4.0...v1.4.1) + +**Closed issues:** + +- cisco\_ios\_show\_mac-address-table.textfsm "N/A" in vlan field. [\#657](https://github.com/networktocode/ntc-templates/issues/657) +- platform="cisco\_ios", command="sh ip route summary" returning an empty array. [\#655](https://github.com/networktocode/ntc-templates/issues/655) +- Beginning of output for cisco\_ios "show ip ospf database \" may or may not be a space character [\#649](https://github.com/networktocode/ntc-templates/issues/649) +- Cisco ASA show\_route parsing for alternative multiline format [\#646](https://github.com/networktocode/ntc-templates/issues/646) +- Cisco ASA AnyConnect Errors with Tunnel Group on different line [\#630](https://github.com/networktocode/ntc-templates/issues/630) +- Create Template for Cisco ASA - show vpn-sessiondb anyconnect [\#624](https://github.com/networktocode/ntc-templates/issues/624) +- Juniper Junos add fpc:X, {master:X} for many commans stdout [\#621](https://github.com/networktocode/ntc-templates/issues/621) + +**Merged pull requests:** + +- Forgot to bump version in lib/ntc\_templates/\_\_init\_\_.py [\#661](https://github.com/networktocode/ntc-templates/pull/661) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Added information for all new changes between 1.4.0 and now [\#660](https://github.com/networktocode/ntc-templates/pull/660) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: cisco\_ios\_show\_mac-address-table: Allows N/A in the VLAN field by changing it from word to non-whitespace [\#659](https://github.com/networktocode/ntc-templates/pull/659) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: cisco\_ios show ip ospf database router and network: Make leading spaces optional [\#650](https://github.com/networktocode/ntc-templates/pull/650) ([ariesgeek](https://github.com/ariesgeek)) +- Cisco ASA show\_route [\#647](https://github.com/networktocode/ntc-templates/pull/647) ([fatred](https://github.com/fatred)) +- Enhancement: cisco\_asa\_show\_inventory support inventory items w/o SN [\#638](https://github.com/networktocode/ntc-templates/pull/638) ([wvandeun](https://github.com/wvandeun)) +- show band-select template [\#637](https://github.com/networktocode/ntc-templates/pull/637) ([timjsmith24](https://github.com/timjsmith24)) +- Adds Cisco ASA show vpn-sessiondb [\#636](https://github.com/networktocode/ntc-templates/pull/636) ([jvanderaa](https://github.com/jvanderaa)) +- add cisco\_ios\_show\_ip\_route\_summary [\#635](https://github.com/networktocode/ntc-templates/pull/635) ([kjoyce77](https://github.com/kjoyce77)) +- Bugfix: cisco asa show nat [\#632](https://github.com/networktocode/ntc-templates/pull/632) ([joewesch](https://github.com/joewesch)) +- Updates based on hung sessions and different command output [\#631](https://github.com/networktocode/ntc-templates/pull/631) ([jvanderaa](https://github.com/jvanderaa)) +- Bugfix: Cisco ASA ipsec sa name compatibility [\#629](https://github.com/networktocode/ntc-templates/pull/629) ([joewesch](https://github.com/joewesch)) +- cisco\_wlc show mobility summary [\#628](https://github.com/networktocode/ntc-templates/pull/628) ([timjsmith24](https://github.com/timjsmith24)) +- Updates Cisco ASA `show vpn-sessiondb anyconnect` [\#626](https://github.com/networktocode/ntc-templates/pull/626) ([jvanderaa](https://github.com/jvanderaa)) +- Adds template for Cisco ASA "show vpn-sessiondb anyconnect" [\#625](https://github.com/networktocode/ntc-templates/pull/625) ([jvanderaa](https://github.com/jvanderaa)) +- Junos virtual chassis [\#622](https://github.com/networktocode/ntc-templates/pull/622) ([ainamori](https://github.com/ainamori)) +- allow space in fex description [\#620](https://github.com/networktocode/ntc-templates/pull/620) ([daanvdsanden](https://github.com/daanvdsanden)) +- New Template: hp\_comware\_display\_lldp\_neighbor-information\_verbose [\#619](https://github.com/networktocode/ntc-templates/pull/619) ([xdai555](https://github.com/xdai555)) +- New Template: cisco\_ios\_show\_ip\_ospf\_database\_network [\#618](https://github.com/networktocode/ntc-templates/pull/618) ([ChristopherJHart](https://github.com/ChristopherJHart)) +- BugFix: Remove reliance on static spacing for cisco\_ios\_show\_ip\_ospf\_database\_router [\#617](https://github.com/networktocode/ntc-templates/pull/617) ([ChristopherJHart](https://github.com/ChristopherJHart)) +- BugFix: Removed reliance on static spacing for cisco\_ios\_show\_interfaces\_status [\#614](https://github.com/networktocode/ntc-templates/pull/614) ([FragmentedPacket](https://github.com/FragmentedPacket)) + +## [v1.4.0](https://github.com/networktocode/ntc-templates/tree/v1.4.0) (2020-03-09) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.3.0...v1.4.0) + +**Implemented enhancements:** + +- Testing that test cases exist has an exception for 4 templates that need to be rectified [\#550](https://github.com/networktocode/ntc-templates/issues/550) +- Huawei - display lldp neighbor formatting [\#396](https://github.com/networktocode/ntc-templates/issues/396) +- Adding vlan name to access vlan and native vlan on NXOS [\#612](https://github.com/networktocode/ntc-templates/pull/612) ([daanvdsanden](https://github.com/daanvdsanden)) +- Enhancement: cisco\_nxos\_show\_vlan: Added interfaces [\#604](https://github.com/networktocode/ntc-templates/pull/604) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement: IOS lldp neighbors - add capabilities capture group [\#553](https://github.com/networktocode/ntc-templates/pull/553) ([ewmanthei](https://github.com/ewmanthei)) +- Enhancement: Use ".textfsm" extension for IDEs [\#543](https://github.com/networktocode/ntc-templates/pull/543) ([jmcgill298](https://github.com/jmcgill298)) +- YAMLLINT: Add yamllint to tox testing [\#406](https://github.com/networktocode/ntc-templates/pull/406) ([jmcgill298](https://github.com/jmcgill298)) + +**Fixed bugs:** + +- parse\_output returns empty after interface has been modified by first run of script [\#613](https://github.com/networktocode/ntc-templates/issues/613) +- arista\_eos\_show\_ip\_route.textfsm fails on vrrp route display [\#588](https://github.com/networktocode/ntc-templates/issues/588) +- ASA show failover bug when using IPS module [\#547](https://github.com/networktocode/ntc-templates/issues/547) +- cisco\_nxos\_show\_version does not display N5K platform [\#545](https://github.com/networktocode/ntc-templates/issues/545) +- Fix regex: Update VyOS template to match addresses without netmask de… [\#608](https://github.com/networktocode/ntc-templates/pull/608) ([sliddjur](https://github.com/sliddjur)) +- Fixed regex for fortinet bgp template and added new template standards [\#592](https://github.com/networktocode/ntc-templates/pull/592) ([corvese](https://github.com/corvese)) +- BugFix: Cisco show switch detail with mac persistency wait time [\#584](https://github.com/networktocode/ntc-templates/pull/584) ([msom](https://github.com/msom)) + +**Closed issues:** + +- cisco\_nxos\_show\_vlan does not show ports, thank god cisco\_ios\_show\_vlan works [\#601](https://github.com/networktocode/ntc-templates/issues/601) +- regex to match whitespace, words, or mix of both, and cut off trailing whitespace? [\#566](https://github.com/networktocode/ntc-templates/issues/566) +- Bug: Alcatel SROS show service id index issue [\#556](https://github.com/networktocode/ntc-templates/issues/556) +- Cisco IOS Show MAC Address-Table Errors on Last Line [\#544](https://github.com/networktocode/ntc-templates/issues/544) +- Cisco IOS Show Run Template [\#469](https://github.com/networktocode/ntc-templates/issues/469) +- show ip route IOS vs NXOS [\#382](https://github.com/networktocode/ntc-templates/issues/382) +- Add tests for index file to Travis [\#207](https://github.com/networktocode/ntc-templates/issues/207) +- Using the .textfsm extension for templates [\#171](https://github.com/networktocode/ntc-templates/issues/171) + +**Merged pull requests:** + +- Bumping version to 1.4.0 [\#616](https://github.com/networktocode/ntc-templates/pull/616) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Documentation: Update changelog for 1.4.0 release [\#615](https://github.com/networktocode/ntc-templates/pull/615) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Added line to get the port mode of an interface [\#611](https://github.com/networktocode/ntc-templates/pull/611) ([daanvdsanden](https://github.com/daanvdsanden)) +- update show arp for aruba\_os [\#610](https://github.com/networktocode/ntc-templates/pull/610) ([dmwcode](https://github.com/dmwcode)) +- New Template: hp comware show ip interface [\#609](https://github.com/networktocode/ntc-templates/pull/609) ([sliddjur](https://github.com/sliddjur)) +- New Template: cisco\_ios\_show\_ip\_ospf\_database\_router [\#606](https://github.com/networktocode/ntc-templates/pull/606) ([ChristopherJHart](https://github.com/ChristopherJHart)) +- New Template: cisco\_s300\_show\_version [\#605](https://github.com/networktocode/ntc-templates/pull/605) ([wdennis](https://github.com/wdennis)) +- Enhancements: IOS show ip access-list [\#603](https://github.com/networktocode/ntc-templates/pull/603) ([jpobeda](https://github.com/jpobeda)) +- Cisco nxos show vrf interface [\#602](https://github.com/networktocode/ntc-templates/pull/602) ([JoeyG1973](https://github.com/JoeyG1973)) +- New Template Show Mpls interface [\#600](https://github.com/networktocode/ntc-templates/pull/600) ([alekgozali](https://github.com/alekgozali)) +- New Template : Show Etherchannel Summary [\#599](https://github.com/networktocode/ntc-templates/pull/599) ([alekgozali](https://github.com/alekgozali)) +- Fixes for cisco\_ios\_show\_running-config\_partition\_access-list template [\#598](https://github.com/networktocode/ntc-templates/pull/598) ([jpobeda](https://github.com/jpobeda)) +- add huawei vrp display version [\#597](https://github.com/networktocode/ntc-templates/pull/597) ([lutfisan](https://github.com/lutfisan)) +- Cisco XR - admin show environment power - template [\#596](https://github.com/networktocode/ntc-templates/pull/596) ([hijm](https://github.com/hijm)) +- Added Checkpoint GAIA show arp dynamic all template [\#595](https://github.com/networktocode/ntc-templates/pull/595) ([dys152](https://github.com/dys152)) +- add show arp for aruba\_os [\#594](https://github.com/networktocode/ntc-templates/pull/594) ([dmwcode](https://github.com/dmwcode)) +- New Template - CISCO IOS - Show Module [\#593](https://github.com/networktocode/ntc-templates/pull/593) ([alekgozali](https://github.com/alekgozali)) +- New Template: cisco\_nxos\_show\_vdc.textfsm [\#591](https://github.com/networktocode/ntc-templates/pull/591) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: cisco\_ios\_show\_ip\_bgp\_neighbors.textfsm [\#590](https://github.com/networktocode/ntc-templates/pull/590) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: arista\_eos\_show\_ip\_route: added new vrf format and secondary route catch [\#589](https://github.com/networktocode/ntc-templates/pull/589) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bug Fix: Cisco IOS show interfaces switchport [\#587](https://github.com/networktocode/ntc-templates/pull/587) ([kwrobert](https://github.com/kwrobert)) +- Bug Fix: Cisco IOS show mac address-table [\#585](https://github.com/networktocode/ntc-templates/pull/585) ([kwrobert](https://github.com/kwrobert)) +- Jschulman cisco nxos allow missing transceiver type [\#582](https://github.com/networktocode/ntc-templates/pull/582) ([jeremyschulman](https://github.com/jeremyschulman)) +- New Template: Cisco WLC show wlan summary [\#581](https://github.com/networktocode/ntc-templates/pull/581) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template Pull Request - cisco\_xr\_show\_interfaces\_summary [\#580](https://github.com/networktocode/ntc-templates/pull/580) ([hijm](https://github.com/hijm)) +- New Templates: Fortinet get system interface and status [\#578](https://github.com/networktocode/ntc-templates/pull/578) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bug Fix for cisco ios show mac address-table parser [\#577](https://github.com/networktocode/ntc-templates/pull/577) ([kwrobert](https://github.com/kwrobert)) +- New Templat: Huawei display lldp neighbor [\#576](https://github.com/networktocode/ntc-templates/pull/576) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- BugFix: NXOS show version - Add n5k platform regex [\#575](https://github.com/networktocode/ntc-templates/pull/575) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Bug Fix: ASA Show failover - Account for new data [\#574](https://github.com/networktocode/ntc-templates/pull/574) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: Show arp - ASA [\#573](https://github.com/networktocode/ntc-templates/pull/573) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Add SERIAL to Cisco IOS LLDP Neighbors Detail [\#572](https://github.com/networktocode/ntc-templates/pull/572) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- New Template: Cisco XR - show arp [\#567](https://github.com/networktocode/ntc-templates/pull/567) ([migueloangelo](https://github.com/migueloangelo)) +- cisco\_ios\_show\_license - avoid trailing white spaces [\#565](https://github.com/networktocode/ntc-templates/pull/565) ([migueloangelo](https://github.com/migueloangelo)) +- New Template for Cisco NXOS - show\_interface\_transceiver [\#564](https://github.com/networktocode/ntc-templates/pull/564) ([dgarros](https://github.com/dgarros)) +- Enhancement: IOS show int switchport - Add ADMIN\_MODE Group [\#563](https://github.com/networktocode/ntc-templates/pull/563) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco ASA Show Logging Template [\#562](https://github.com/networktocode/ntc-templates/pull/562) ([afoster213](https://github.com/afoster213)) +- New Template for Cisco IOS Log Messages [\#554](https://github.com/networktocode/ntc-templates/pull/554) ([afoster213](https://github.com/afoster213)) +- Cleanup some testing [\#551](https://github.com/networktocode/ntc-templates/pull/551) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Fixes \#544: Added new parsed sample based on 3750G 15.0\(2\)SE11 code, … [\#548](https://github.com/networktocode/ntc-templates/pull/548) ([jvanderaa](https://github.com/jvanderaa)) +- PYTHON FORMATTING: Add Black to tox file [\#407](https://github.com/networktocode/ntc-templates/pull/407) ([jmcgill298](https://github.com/jmcgill298)) + +## [v1.3.0](https://github.com/networktocode/ntc-templates/tree/v1.3.0) (2019-11-18) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.2.1...v1.3.0) + +**Implemented enhancements:** + +- cisco\_ios\_show\_standby\_brief.template support for interfaces and output in two lines [\#483](https://github.com/networktocode/ntc-templates/issues/483) +- New template cisco\_ios\_show\_snmp\_user.template [\#390](https://github.com/networktocode/ntc-templates/issues/390) +- added last\_link\_flapped to nxos\_show\_interface [\#531](https://github.com/networktocode/ntc-templates/pull/531) ([aSauerwein](https://github.com/aSauerwein)) +- Adding Values for route-map names fetch for nxos\_sh\_ip\_bgp\_nei [\#481](https://github.com/networktocode/ntc-templates/pull/481) ([nnaukwal](https://github.com/nnaukwal)) +- Added BGP up/down time to sh ip bgp summary [\#476](https://github.com/networktocode/ntc-templates/pull/476) ([corvese](https://github.com/corvese)) +- Update cisco\_ios\_show\_ip\_eigrp\_topology.template [\#445](https://github.com/networktocode/ntc-templates/pull/445) ([thomasbridge74](https://github.com/thomasbridge74)) +- Cisco wlc template [\#391](https://github.com/networktocode/ntc-templates/pull/391) ([hisaza](https://github.com/hisaza)) +- Cisco xr show route vrf all [\#378](https://github.com/networktocode/ntc-templates/pull/378) ([Warsenius](https://github.com/Warsenius)) + +**Fixed bugs:** + +- cisco\_ios\_show\_interfaces\_switchport.template broken [\#537](https://github.com/networktocode/ntc-templates/issues/537) +- "Cisco IOS show authentication session" issue when session count exceeds ~10 [\#473](https://github.com/networktocode/ntc-templates/issues/473) +- cisco\_ios\_show\_ip\_interface.template does not deal with peer address on virtual-access interface [\#461](https://github.com/networktocode/ntc-templates/issues/461) +- arista\_eos\_show\_interfaces\_status.template does not deal with disabled ports properly [\#460](https://github.com/networktocode/ntc-templates/issues/460) +- cisco\_ios\_show\_ip\_eigrp\_topology.template does not deal with redistributed routes. [\#459](https://github.com/networktocode/ntc-templates/issues/459) +- Cisco ASA - show failover error [\#424](https://github.com/networktocode/ntc-templates/issues/424) +- wrong info returned when not space between interface name and number from show cdp neighbor [\#415](https://github.com/networktocode/ntc-templates/issues/415) +- show\_mac\_address-table - Output contains single dictionary [\#385](https://github.com/networktocode/ntc-templates/issues/385) +- Fix netflow and wccp lines [\#494](https://github.com/networktocode/ntc-templates/pull/494) ([targuan](https://github.com/targuan)) +- Fix mac address table [\#485](https://github.com/networktocode/ntc-templates/pull/485) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Issue 415 cdp [\#480](https://github.com/networktocode/ntc-templates/pull/480) ([mullaneywt](https://github.com/mullaneywt)) +- Issue 472 patch [\#479](https://github.com/networktocode/ntc-templates/pull/479) ([mullaneywt](https://github.com/mullaneywt)) +- fixed ports [\#471](https://github.com/networktocode/ntc-templates/pull/471) ([dainok](https://github.com/dainok)) +- Fixes \#424: Cisco ASA - show failover error. [\#465](https://github.com/networktocode/ntc-templates/pull/465) ([deesel](https://github.com/deesel)) +- Issue \#384 cisco\_asa\_show\_route - Fix uptime issue [\#401](https://github.com/networktocode/ntc-templates/pull/401) ([brandomando](https://github.com/brandomando)) + +**Closed issues:** + +- cisco\_asa bug in 9.10.1.22 causes `show inventory` template to fail [\#498](https://github.com/networktocode/ntc-templates/issues/498) +- Cisco IOS LLDP [\#484](https://github.com/networktocode/ntc-templates/issues/484) +- cisco\_nxos\_show\_interface\_brief does not deal with pvlan and fabric interfaces [\#472](https://github.com/networktocode/ntc-templates/issues/472) +- cisco\_ios\_show\_lldp\_neighbors\_detail failing when last neighbor includes" MED information" section [\#444](https://github.com/networktocode/ntc-templates/issues/444) +- New Template: cisco\_ios\_show\_license [\#440](https://github.com/networktocode/ntc-templates/issues/440) +- nxos\_show\_interface\_status\_template error [\#420](https://github.com/networktocode/ntc-templates/issues/420) +- README Documentation missing setup information [\#411](https://github.com/networktocode/ntc-templates/issues/411) +- Arista and show int status [\#410](https://github.com/networktocode/ntc-templates/issues/410) +- Cisco ASA show route template error [\#384](https://github.com/networktocode/ntc-templates/issues/384) +- Build is failing in Travis CI [\#240](https://github.com/networktocode/ntc-templates/issues/240) + +**Merged pull requests:** + +- Update CHANGELOG and bump version [\#542](https://github.com/networktocode/ntc-templates/pull/542) ([jmcgill298](https://github.com/jmcgill298)) +- Update state transitions to provide more consistency across platforms [\#541](https://github.com/networktocode/ntc-templates/pull/541) ([jmcgill298](https://github.com/jmcgill298)) +- cisco\_ios\_show\_environment\_temperature.template, iOS, show environment temperature [\#540](https://github.com/networktocode/ntc-templates/pull/540) ([bobbytayar](https://github.com/bobbytayar)) +- show interface summary [\#539](https://github.com/networktocode/ntc-templates/pull/539) ([timjsmith24](https://github.com/timjsmith24)) +- Fixes 537 - IOS show interfaces switchport - Changed output [\#538](https://github.com/networktocode/ntc-templates/pull/538) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Issue 440 [\#533](https://github.com/networktocode/ntc-templates/pull/533) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Show snmp user [\#532](https://github.com/networktocode/ntc-templates/pull/532) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Enhancement - fortinet - get router info bgp summary [\#529](https://github.com/networktocode/ntc-templates/pull/529) ([corvese](https://github.com/corvese)) +- Enhancement: Update templates to record on new entry [\#528](https://github.com/networktocode/ntc-templates/pull/528) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco voice vlan [\#527](https://github.com/networktocode/ntc-templates/pull/527) ([ThreeFDDI](https://github.com/ThreeFDDI)) +- Adv 802dot11 channel [\#526](https://github.com/networktocode/ntc-templates/pull/526) ([timjsmith24](https://github.com/timjsmith24)) +- BugFix: IOS - Add capturing of timestamp data for vty lines that auto print one [\#525](https://github.com/networktocode/ntc-templates/pull/525) ([jmcgill298](https://github.com/jmcgill298)) +- New Template - EOS - show vrf [\#524](https://github.com/networktocode/ntc-templates/pull/524) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement - IOS - show mac-address - add data validation and tests [\#523](https://github.com/networktocode/ntc-templates/pull/523) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement - EOS - Allow show bgp summary to be used for show bgp evpn summary [\#522](https://github.com/networktocode/ntc-templates/pull/522) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement - EOS|NXOS - sh ip route add capturing of VRF [\#521](https://github.com/networktocode/ntc-templates/pull/521) ([jmcgill298](https://github.com/jmcgill298)) +- Enhancement: IOS|EOS - show bgp summ - Account for VRF syntax [\#520](https://github.com/networktocode/ntc-templates/pull/520) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: XR - show version - account for CRS output [\#519](https://github.com/networktocode/ntc-templates/pull/519) ([jmcgill298](https://github.com/jmcgill298)) +- New Template - Ciena - software show [\#518](https://github.com/networktocode/ntc-templates/pull/518) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: EOS - show bgp summ - match RID/AS more precisely [\#517](https://github.com/networktocode/ntc-templates/pull/517) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: IOS - show ip int - account for serial intfs [\#516](https://github.com/networktocode/ntc-templates/pull/516) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: WLC - show inventory [\#515](https://github.com/networktocode/ntc-templates/pull/515) ([jmcgill298](https://github.com/jmcgill298)) +- New Template - IOS - show process memory sorted [\#514](https://github.com/networktocode/ntc-templates/pull/514) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: WLC - show rf profile-summary [\#513](https://github.com/networktocode/ntc-templates/pull/513) ([jmcgill298](https://github.com/jmcgill298)) +- New Templates - Huawei VRP - display interface and display temp [\#512](https://github.com/networktocode/ntc-templates/pull/512) ([jmcgill298](https://github.com/jmcgill298)) +- New Template: WLC - show 802.11 cleanair config [\#510](https://github.com/networktocode/ntc-templates/pull/510) ([jmcgill298](https://github.com/jmcgill298)) +- BugFix: WLC 80211 - Add missing EoL to matching empty lines [\#508](https://github.com/networktocode/ntc-templates/pull/508) ([jmcgill298](https://github.com/jmcgill298)) +- cisco nxos bgp neighbor defect fix [\#505](https://github.com/networktocode/ntc-templates/pull/505) ([nnaukwal](https://github.com/nnaukwal)) +- BugFix: IOS show standby brief - support multiline output [\#503](https://github.com/networktocode/ntc-templates/pull/503) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco WLC Command - Show 802 11a|b [\#501](https://github.com/networktocode/ntc-templates/pull/501) ([timjsmith24](https://github.com/timjsmith24)) +- Fixes498 - Cisco ASA with Extra Output in `show inventory` [\#499](https://github.com/networktocode/ntc-templates/pull/499) ([jvanderaa](https://github.com/jvanderaa)) +- Enhancement: ASA - Convert show version serial to list [\#497](https://github.com/networktocode/ntc-templates/pull/497) ([jmcgill298](https://github.com/jmcgill298)) +- Add arista eos show ip helper [\#496](https://github.com/networktocode/ntc-templates/pull/496) ([targuan](https://github.com/targuan)) +- Fix \#461 [\#495](https://github.com/networktocode/ntc-templates/pull/495) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Add ruckus\_fastiron show arp template [\#493](https://github.com/networktocode/ntc-templates/pull/493) ([QuasarKid](https://github.com/QuasarKid)) +- New Template: cisco\_xr\_show\_ipv6\_neighbors [\#492](https://github.com/networktocode/ntc-templates/pull/492) ([charlesmonson](https://github.com/charlesmonson)) +- Switch detail [\#491](https://github.com/networktocode/ntc-templates/pull/491) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco NXoS template for "show forwarding ipv4 route" [\#489](https://github.com/networktocode/ntc-templates/pull/489) ([nnaukwal](https://github.com/nnaukwal)) +- Fix \#460 [\#488](https://github.com/networktocode/ntc-templates/pull/488) ([targuan](https://github.com/targuan)) +- Add test case for 3650/3850 output [\#487](https://github.com/networktocode/ntc-templates/pull/487) ([targuan](https://github.com/targuan)) +- nxos - Template for show route-map command [\#486](https://github.com/networktocode/ntc-templates/pull/486) ([nnaukwal](https://github.com/nnaukwal)) +- Cisco XR admin show inventory [\#482](https://github.com/networktocode/ntc-templates/pull/482) ([charlesmonson](https://github.com/charlesmonson)) +- Add template cisco\_nxos\_show\_ip\_interface\_brief [\#478](https://github.com/networktocode/ntc-templates/pull/478) ([mullaneywt](https://github.com/mullaneywt)) +- BugFix: allow various time formats for ip mroute [\#474](https://github.com/networktocode/ntc-templates/pull/474) ([jmcgill298](https://github.com/jmcgill298)) +- template for show arp in watchguard [\#468](https://github.com/networktocode/ntc-templates/pull/468) ([dainok](https://github.com/dainok)) +- Paloalto panos arp fix [\#466](https://github.com/networktocode/ntc-templates/pull/466) ([dainok](https://github.com/dainok)) +- HP Comware `display counters \(inbound|outbound\) interface` [\#464](https://github.com/networktocode/ntc-templates/pull/464) ([ad8-bdl](https://github.com/ad8-bdl)) +- ASA show asp drop changes [\#446](https://github.com/networktocode/ntc-templates/pull/446) ([vaneuk](https://github.com/vaneuk)) +- add cisco\_wlc\_ssh\_show\_exclusionlist [\#425](https://github.com/networktocode/ntc-templates/pull/425) ([ancker010](https://github.com/ancker010)) +- fix: show ip bgp examples appear to be swapped [\#421](https://github.com/networktocode/ntc-templates/pull/421) ([cmccormack](https://github.com/cmccormack)) +- Bugfix: asa\_dir template to account for change in raw output [\#419](https://github.com/networktocode/ntc-templates/pull/419) ([FragmentedPacket](https://github.com/FragmentedPacket)) + +## [v1.2.1](https://github.com/networktocode/ntc-templates/tree/v1.2.1) (2019-09-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.2.0...v1.2.1) + +## [v1.2.0](https://github.com/networktocode/ntc-templates/tree/v1.2.0) (2019-09-26) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v1.1.1...v1.2.0) + +**Implemented enhancements:** + +- FileNotFoundError on Windows 10 [\#455](https://github.com/networktocode/ntc-templates/issues/455) +- Cisco ASA - Missing capture of Software Compile Date [\#387](https://github.com/networktocode/ntc-templates/issues/387) + +**Merged pull requests:** + +- Updates as requested [\#470](https://github.com/networktocode/ntc-templates/pull/470) ([jvanderaa](https://github.com/jvanderaa)) +- Remove extraneous \(duplicate\) test [\#463](https://github.com/networktocode/ntc-templates/pull/463) ([ad8-bdl](https://github.com/ad8-bdl)) +- Support for locating templates when installing local directory on Windows - Fixes \#455 [\#456](https://github.com/networktocode/ntc-templates/pull/456) ([jmcgill298](https://github.com/jmcgill298)) +- Update cisco\_xr\_show\_version.template [\#442](https://github.com/networktocode/ntc-templates/pull/442) ([mspiez](https://github.com/mspiez)) +- Cisco xr show interfaces duplex and mac for bundle ethernet [\#389](https://github.com/networktocode/ntc-templates/pull/389) ([Warsenius](https://github.com/Warsenius)) + +## [v1.1.1](https://github.com/networktocode/ntc-templates/tree/v1.1.1) (2019-08-08) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/0.9.0...v1.1.1) + +**Implemented enhancements:** + +- cisco\_ios\_show\_version.template Add Licensing [\#256](https://github.com/networktocode/ntc-templates/issues/256) +- Adding cisco\_ios\_show\_ip\_interface [\#322](https://github.com/networktocode/ntc-templates/pull/322) ([vladola](https://github.com/vladola)) +- Packaging [\#288](https://github.com/networktocode/ntc-templates/pull/288) ([micahculpepper](https://github.com/micahculpepper)) + +**Fixed bugs:** + +- nxos show interface status issue [\#426](https://github.com/networktocode/ntc-templates/issues/426) +- CISCO\_XR\_SH\_INTF: Parsed file shows that not all interfaces in raw are being parsed/recorded [\#282](https://github.com/networktocode/ntc-templates/issues/282) +- Test files for aruba os need renamed. [\#224](https://github.com/networktocode/ntc-templates/issues/224) + +**Closed issues:** + +- show\_lldp\_neighbors.template failing when switch + domain name is \> 19 characters [\#375](https://github.com/networktocode/ntc-templates/issues/375) +- cisco\_ios\_show\_lldp\_neighbor\_detail failing when `Physical media capabilities` are `Other/unknown` [\#374](https://github.com/networktocode/ntc-templates/issues/374) +- Master branch fails tox tests [\#361](https://github.com/networktocode/ntc-templates/issues/361) +- cisco\_nxos\_show\_interface\_status.template [\#333](https://github.com/networktocode/ntc-templates/issues/333) +- cisco\_nxos\_show\_interface\_status.template: error on 10G and 40G interfaces [\#331](https://github.com/networktocode/ntc-templates/issues/331) +- cisco\_ios\_show\_vlan.template not recorded complete list of interfaces [\#328](https://github.com/networktocode/ntc-templates/issues/328) +- Problem with parsing ASA ACL [\#287](https://github.com/networktocode/ntc-templates/issues/287) +- New Template Request [\#286](https://github.com/networktocode/ntc-templates/issues/286) +- cisco\_xr\_show\_interfaces.template line 4 regex incorrect [\#280](https://github.com/networktocode/ntc-templates/issues/280) +- cisco\_xr\_show\_cdp\_neighbors\_detail.template shows remote and local interface incorrectly [\#277](https://github.com/networktocode/ntc-templates/issues/277) +- Multiple Failing Use Cases in Cisco IOS ACL Template [\#245](https://github.com/networktocode/ntc-templates/issues/245) +- cisco\_asa\_show\_vpn-sessiondb\_detail\_l2l.template not parsing [\#231](https://github.com/networktocode/ntc-templates/issues/231) +- show interface status for cisco\_nxos returns incorrect 'name' and 'port' objects if there are spaces in the description. [\#196](https://github.com/networktocode/ntc-templates/issues/196) +- cisco\_xr\_show\_ip\_route uptime format and protocol sub-type support [\#185](https://github.com/networktocode/ntc-templates/issues/185) + +**Merged pull requests:** + +- Update readme [\#452](https://github.com/networktocode/ntc-templates/pull/452) ([jmcgill298](https://github.com/jmcgill298)) +- Fix spacing new templates [\#443](https://github.com/networktocode/ntc-templates/pull/443) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Fixes \#224 Updating aurba test file names to match folder/file naming pattern [\#439](https://github.com/networktocode/ntc-templates/pull/439) ([myyellowshoe](https://github.com/myyellowshoe)) +- add Cisco IOS XR 'show ip interface brief' command [\#438](https://github.com/networktocode/ntc-templates/pull/438) ([dampfhamm3r](https://github.com/dampfhamm3r)) +- Cisco nxos show interfaces switchport [\#434](https://github.com/networktocode/ntc-templates/pull/434) ([dainok](https://github.com/dainok)) +- Cisco ios show interfaces switchport [\#433](https://github.com/networktocode/ntc-templates/pull/433) ([dainok](https://github.com/dainok)) +- Paloalto panos show arp all [\#432](https://github.com/networktocode/ntc-templates/pull/432) ([dainok](https://github.com/dainok)) +- Paloalto panos show mac all [\#431](https://github.com/networktocode/ntc-templates/pull/431) ([dainok](https://github.com/dainok)) +- Hp procurve show mac address [\#430](https://github.com/networktocode/ntc-templates/pull/430) ([dainok](https://github.com/dainok)) +- New template cisco\_ios\_show\_snmp\_user.template [\#429](https://github.com/networktocode/ntc-templates/pull/429) ([jifox](https://github.com/jifox)) +- nxos\_show\_interface\_status: Allows capture of Fabric Exte type [\#427](https://github.com/networktocode/ntc-templates/pull/427) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Tests [\#402](https://github.com/networktocode/ntc-templates/pull/402) ([jmcgill298](https://github.com/jmcgill298)) +- Feature/improve cisco ios show vrf [\#395](https://github.com/networktocode/ntc-templates/pull/395) ([MatthiasGabriel](https://github.com/MatthiasGabriel)) +- Feature/cisco ios show hosts [\#394](https://github.com/networktocode/ntc-templates/pull/394) ([MatthiasGabriel](https://github.com/MatthiasGabriel)) +- cisco\_nxos\_show\_version extension for pulling PLATFORM from N9K [\#393](https://github.com/networktocode/ntc-templates/pull/393) ([jonesbra](https://github.com/jonesbra)) +- Cisco IOS - show dmvpn - New template [\#392](https://github.com/networktocode/ntc-templates/pull/392) ([adrydale](https://github.com/adrydale)) +- updated template to catch NSR N/A state [\#381](https://github.com/networktocode/ntc-templates/pull/381) ([Warsenius](https://github.com/Warsenius)) +- show ospf neighbor NEIGHBOR\_UPTIME no match when output in 1w2d format [\#380](https://github.com/networktocode/ntc-templates/pull/380) ([Warsenius](https://github.com/Warsenius)) +- Fixes 374 - Adds example of Other/unknown media on LLDP for a device … [\#377](https://github.com/networktocode/ntc-templates/pull/377) ([jvanderaa](https://github.com/jvanderaa)) +- Updated the template to get first 20 chars on LLDP neighbor for case … [\#376](https://github.com/networktocode/ntc-templates/pull/376) ([jvanderaa](https://github.com/jvanderaa)) +- add Cisco IOS show ip flow toptalkers [\#373](https://github.com/networktocode/ntc-templates/pull/373) ([lscarmic](https://github.com/lscarmic)) +- Updated LLDP Neighbor Detail for matching on some devices that were missing. [\#372](https://github.com/networktocode/ntc-templates/pull/372) ([jvanderaa](https://github.com/jvanderaa)) +- Add show\_boot template for cisco\_ios [\#371](https://github.com/networktocode/ntc-templates/pull/371) ([FragmentedPacket](https://github.com/FragmentedPacket)) +- Update cisco\_nxos\_show\_interface\_status.template [\#370](https://github.com/networktocode/ntc-templates/pull/370) ([Pluppo](https://github.com/Pluppo)) +- IOS SHOW INTERFACES : adding regexes for skipped values & parsed results [\#368](https://github.com/networktocode/ntc-templates/pull/368) ([lachlanjholmes](https://github.com/lachlanjholmes)) +- Add Cisco IOS show ipv6 neighbors [\#363](https://github.com/networktocode/ntc-templates/pull/363) ([kimoldfield](https://github.com/kimoldfield)) +- XR SHOW LPTS PIFIB HARDWARE POLICE LOCATION: Add new template [\#360](https://github.com/networktocode/ntc-templates/pull/360) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW DROPS NP ALL: Add new template [\#359](https://github.com/networktocode/ntc-templates/pull/359) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA ERRORS INGRESS: Add new template [\#358](https://github.com/networktocode/ntc-templates/pull/358) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA ERRORS EGRESS: Add new template [\#357](https://github.com/networktocode/ntc-templates/pull/357) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA DROPS INGRESS: Add new template [\#356](https://github.com/networktocode/ntc-templates/pull/356) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS FABRIC FIA DROPS EGRESS: Add new template [\#355](https://github.com/networktocode/ntc-templates/pull/355) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO XR SHOW CEF DROPS LOCATION: Add new template [\#354](https://github.com/networktocode/ntc-templates/pull/354) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW ASIC ERRORS: Add new template [\#353](https://github.com/networktocode/ntc-templates/pull/353) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW BGP: Add new template [\#351](https://github.com/networktocode/ntc-templates/pull/351) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW HSRP: Add new template [\#350](https://github.com/networktocode/ntc-templates/pull/350) ([jmcgill298](https://github.com/jmcgill298)) +- XR SHOW CONTROLLERS: Bug Fix [\#349](https://github.com/networktocode/ntc-templates/pull/349) ([jmcgill298](https://github.com/jmcgill298)) +- Create cisco\_ios\_show\_interfaces\_description.template [\#348](https://github.com/networktocode/ntc-templates/pull/348) ([adrydale](https://github.com/adrydale)) +- Aos vlan [\#345](https://github.com/networktocode/ntc-templates/pull/345) ([jmcgill298](https://github.com/jmcgill298)) +- Tacacs cisco [\#344](https://github.com/networktocode/ntc-templates/pull/344) ([jmcgill298](https://github.com/jmcgill298)) +- EOS SHOW MODULE: Add new template [\#343](https://github.com/networktocode/ntc-templates/pull/343) ([jmcgill298](https://github.com/jmcgill298)) +- Patch 2 [\#342](https://github.com/networktocode/ntc-templates/pull/342) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO XR SHOW BGP NEIGH: Add new template [\#341](https://github.com/networktocode/ntc-templates/pull/341) ([jmcgill298](https://github.com/jmcgill298)) +- cisco\_ios\_show\_ip\_bgp: Fix whitespace change in command output [\#340](https://github.com/networktocode/ntc-templates/pull/340) ([paneu](https://github.com/paneu)) +- CISCO\_ASA\_SHOW\_LICENSE\_ALL: Add new template [\#339](https://github.com/networktocode/ntc-templates/pull/339) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_ASA\_SHOW\_ASP\_DROP: Add new template [\#338](https://github.com/networktocode/ntc-templates/pull/338) ([jmcgill298](https://github.com/jmcgill298)) +- `ASA INTERFACE DETAIL`: Add new template [\#337](https://github.com/networktocode/ntc-templates/pull/337) ([jmcgill298](https://github.com/jmcgill298)) +- `NETIRON SHOW RUN INTF`: Broaden template scope [\#336](https://github.com/networktocode/ntc-templates/pull/336) ([jmcgill298](https://github.com/jmcgill298)) +- checkpoint\_gaia\_show\_ntp\_servers: Add new template [\#335](https://github.com/networktocode/ntc-templates/pull/335) ([JCapretta](https://github.com/JCapretta)) +- `cisco\_nxos\_show\_interface\_status`: Fixes issue \#333 [\#334](https://github.com/networktocode/ntc-templates/pull/334) ([JCapretta](https://github.com/JCapretta)) +- `cisco\_nxos\_show\_interface\_status`: Fixes issue \#331 [\#332](https://github.com/networktocode/ntc-templates/pull/332) ([JCapretta](https://github.com/JCapretta)) +- Checkpoint gaia show dns.template [\#330](https://github.com/networktocode/ntc-templates/pull/330) ([JCapretta](https://github.com/JCapretta)) +- Modified cisco\_ios\_show\_vlan.template \(\#328\) [\#329](https://github.com/networktocode/ntc-templates/pull/329) ([JCapretta](https://github.com/JCapretta)) +- cisco ios show ip interface: Incorporate \#229 into \#322 [\#326](https://github.com/networktocode/ntc-templates/pull/326) ([jmcgill298](https://github.com/jmcgill298)) +- ASA SHOW RESOURCE: Add new template [\#325](https://github.com/networktocode/ntc-templates/pull/325) ([jmcgill298](https://github.com/jmcgill298)) +- ASA VPN-SESSIONDB: Bug Fixes with new data [\#323](https://github.com/networktocode/ntc-templates/pull/323) ([jmcgill298](https://github.com/jmcgill298)) +- IOS DIR: Account for spaces in permissions [\#321](https://github.com/networktocode/ntc-templates/pull/321) ([jmcgill298](https://github.com/jmcgill298)) +- NX-OS show l2rib internal permanently-frozen-list template [\#320](https://github.com/networktocode/ntc-templates/pull/320) ([vaneuk](https://github.com/vaneuk)) +- Bugfix: cisco asa show access list [\#313](https://github.com/networktocode/ntc-templates/pull/313) ([joewesch](https://github.com/joewesch)) +- Adding cisco\_asa\_show\_nat [\#312](https://github.com/networktocode/ntc-templates/pull/312) ([joewesch](https://github.com/joewesch)) +- cisco\_ios\_show\_dot1x\_all command [\#308](https://github.com/networktocode/ntc-templates/pull/308) ([realvitya](https://github.com/realvitya)) +- Add INPUT\_PACKETS, INPUT\_ERRORS, OUTPUT\_PACKETS, OUTPUT\_ERRORS fields to cisco\_ios\_show\_interfaces & cisco\_nxos\_show\_interface templates [\#307](https://github.com/networktocode/ntc-templates/pull/307) ([wvandeun](https://github.com/wvandeun)) +- Added cisco\_asa "show running-config object network" template [\#306](https://github.com/networktocode/ntc-templates/pull/306) ([joewesch](https://github.com/joewesch)) +- PARSE: Update parse module to account for new and old TextFSM packaging [\#305](https://github.com/networktocode/ntc-templates/pull/305) ([jmcgill298](https://github.com/jmcgill298)) +- Modified cisco\_asa\_show\_crypto\_ipsec\_sa [\#304](https://github.com/networktocode/ntc-templates/pull/304) ([joewesch](https://github.com/joewesch)) +- Added cisco\_asa\_show\_asp\_table\_vpn-context\_detail [\#303](https://github.com/networktocode/ntc-templates/pull/303) ([joewesch](https://github.com/joewesch)) +- Modified cisco\_asa\_show\_object-group\_network.template [\#302](https://github.com/networktocode/ntc-templates/pull/302) ([joewesch](https://github.com/joewesch)) +- Adding support for avaya\_ers\_show\_logging\_config command [\#301](https://github.com/networktocode/ntc-templates/pull/301) ([kadecole](https://github.com/kadecole)) +- change travis and tox to use textfsm [\#300](https://github.com/networktocode/ntc-templates/pull/300) ([jmcgill298](https://github.com/jmcgill298)) +- Change requirements to use `textfsm` instead of `gtextfsm` [\#299](https://github.com/networktocode/ntc-templates/pull/299) ([jmcgill298](https://github.com/jmcgill298)) +- added juniper\_junos\_show\_version.template [\#298](https://github.com/networktocode/ntc-templates/pull/298) ([jkraszewski](https://github.com/jkraszewski)) +- added juniper\_junos\_show\_chassis\_cluster\_status.template [\#297](https://github.com/networktocode/ntc-templates/pull/297) ([jkraszewski](https://github.com/jkraszewski)) +- add juniper\_junos\_show\_chassis\_cluster\_interfaces [\#296](https://github.com/networktocode/ntc-templates/pull/296) ([jkraszewski](https://github.com/jkraszewski)) +- added juniper\_junos\_show\_arp\_no-resolve.template [\#295](https://github.com/networktocode/ntc-templates/pull/295) ([jkraszewski](https://github.com/jkraszewski)) +- modified cisco\_ios\_show\_ip\_arp.template [\#293](https://github.com/networktocode/ntc-templates/pull/293) ([jkraszewski](https://github.com/jkraszewski)) +- added brocade\_fastiron\_show\_mac-address.template [\#292](https://github.com/networktocode/ntc-templates/pull/292) ([jkraszewski](https://github.com/jkraszewski)) +- added brocade\_fastiron\_show\_lldp\_neighbors [\#291](https://github.com/networktocode/ntc-templates/pull/291) ([jkraszewski](https://github.com/jkraszewski)) +- modified brocade\_fastiron\_show\_interfaces\_brief.template [\#290](https://github.com/networktocode/ntc-templates/pull/290) ([jkraszewski](https://github.com/jkraszewski)) +- Brocade fastiron show arp [\#289](https://github.com/networktocode/ntc-templates/pull/289) ([jkraszewski](https://github.com/jkraszewski)) +- Add template for "show ip eigrp neighbors" on Cisco IOS [\#285](https://github.com/networktocode/ntc-templates/pull/285) ([Tachashi](https://github.com/Tachashi)) +- INDEX UPDATES: Fix filenames to use full command syntax [\#284](https://github.com/networktocode/ntc-templates/pull/284) ([jmcgill298](https://github.com/jmcgill298)) +- XR\_SH\_INTF: Update regex to properly capture data - Fixes \#282 [\#283](https://github.com/networktocode/ntc-templates/pull/283) ([jmcgill298](https://github.com/jmcgill298)) +- XR\_SHOW\_INTF: Correct capturing of IP Address info - Fixes \#280 [\#281](https://github.com/networktocode/ntc-templates/pull/281) ([jmcgill298](https://github.com/jmcgill298)) +- XR\_SH\_CDP: Reverse 'REMOTE\_PORT' and 'LOCAL\_PORT' Groups - Fixes \#277 [\#279](https://github.com/networktocode/ntc-templates/pull/279) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_ASA\_SH\_FAIL: Update 'SERVICE\_STATE' groups to conform to Cisco'… [\#278](https://github.com/networktocode/ntc-templates/pull/278) ([jmcgill298](https://github.com/jmcgill298)) +- Account for device 'Not Ready' [\#276](https://github.com/networktocode/ntc-templates/pull/276) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO ASA SHOW FAILOVER: Update parsers to account for new data [\#275](https://github.com/networktocode/ntc-templates/pull/275) ([jmcgill298](https://github.com/jmcgill298)) +- Added template for show ip eigrp topology [\#274](https://github.com/networktocode/ntc-templates/pull/274) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco wlc ssh show ap config general [\#273](https://github.com/networktocode/ntc-templates/pull/273) ([jmcgill298](https://github.com/jmcgill298)) +- added show ap summary for Cisco WLC [\#272](https://github.com/networktocode/ntc-templates/pull/272) ([jmcgill298](https://github.com/jmcgill298)) +- Add RELOAD\_REASON to Record [\#271](https://github.com/networktocode/ntc-templates/pull/271) ([jmcgill298](https://github.com/jmcgill298)) +- Add templates for Vyatta [\#270](https://github.com/networktocode/ntc-templates/pull/270) ([jmcgill298](https://github.com/jmcgill298)) +- Add new OS and commands: Ubiquiti edgeswitch: show vlan and show arp support [\#269](https://github.com/networktocode/ntc-templates/pull/269) ([jmcgill298](https://github.com/jmcgill298)) +- Adding support for avaya\_ers\_show\_mlt command [\#268](https://github.com/networktocode/ntc-templates/pull/268) ([jmcgill298](https://github.com/jmcgill298)) +- adding cisco\_xr\_show\_controllers\_hundredgigabitethernet.template [\#267](https://github.com/networktocode/ntc-templates/pull/267) ([jmcgill298](https://github.com/jmcgill298)) +- Update Cisco IOS-XR template for `show ip route` command [\#266](https://github.com/networktocode/ntc-templates/pull/266) ([jmcgill298](https://github.com/jmcgill298)) +- added template for cisco xr : "admin show environment fan" ,"admin show vm" and "show version" [\#264](https://github.com/networktocode/ntc-templates/pull/264) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO IOS SHOW REDUNDANCY: Add new template [\#263](https://github.com/networktocode/ntc-templates/pull/263) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO ASA SHOW XLATE: Add new template [\#262](https://github.com/networktocode/ntc-templates/pull/262) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO ASA SHOW FAILOVER: Add template for failover status [\#260](https://github.com/networktocode/ntc-templates/pull/260) ([jmcgill298](https://github.com/jmcgill298)) +- Add match for empty lines or lines that are only spaces [\#257](https://github.com/networktocode/ntc-templates/pull/257) ([jmcgill298](https://github.com/jmcgill298)) +- Updated show inventory to catch space on the name field [\#252](https://github.com/networktocode/ntc-templates/pull/252) ([amb1s1](https://github.com/amb1s1)) +- CISCO\_IOS\_SHOW\_IP\_PREFIX-LIST: Add new template [\#251](https://github.com/networktocode/ntc-templates/pull/251) ([jmcgill298](https://github.com/jmcgill298)) +- Ios show ip access list [\#250](https://github.com/networktocode/ntc-templates/pull/250) ([jmcgill298](https://github.com/jmcgill298)) +- Add support for standard ACL to include matching the 'match counts' [\#249](https://github.com/networktocode/ntc-templates/pull/249) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_IOS\_SHOW\_IP\_ACCESS-LISTS: Add support for parsing connection st… [\#248](https://github.com/networktocode/ntc-templates/pull/248) ([jmcgill298](https://github.com/jmcgill298)) +- FIXES \#245 - CISCO\_IOS\_SHOW\_IP\_ACCESS-LISTS: [\#247](https://github.com/networktocode/ntc-templates/pull/247) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_IOS\_SHOW\_ROUTE-MAP: Add new template [\#244](https://github.com/networktocode/ntc-templates/pull/244) ([jmcgill298](https://github.com/jmcgill298)) +- Cisco asa show inventory [\#243](https://github.com/networktocode/ntc-templates/pull/243) ([amb1s1](https://github.com/amb1s1)) +- CISCO\_IOS\_SHOW\_IP\_BGP\_SUMMARY: Add collecting ROUTER\_ID and LOCAL\_AS to parser. [\#242](https://github.com/networktocode/ntc-templates/pull/242) ([jmcgill298](https://github.com/jmcgill298)) +- Brocade fastiron show version [\#241](https://github.com/networktocode/ntc-templates/pull/241) ([jmcgill298](https://github.com/jmcgill298)) +- Fixed cisco\_ios\_show\_cdp\_neighbors when devices has 4+ capabilities [\#235](https://github.com/networktocode/ntc-templates/pull/235) ([bdowling](https://github.com/bdowling)) +- CISCO\_IOS\_SHOW\_RUNNING-CONFIG\_PARTITION\_ROUTE-MAP: Update record stat… [\#233](https://github.com/networktocode/ntc-templates/pull/233) ([jmcgill298](https://github.com/jmcgill298)) +- added show running-config partition route-map [\#228](https://github.com/networktocode/ntc-templates/pull/228) ([AutoJunjie](https://github.com/AutoJunjie)) +- Update TravisCI to use pypi instead of git clone with Pip [\#226](https://github.com/networktocode/ntc-templates/pull/226) ([jmcgill298](https://github.com/jmcgill298)) +- Added/modified show cap/lldp neighbors detail for cisco\*, brocade\*. Added cisco\_ios\_show\_ip\_device\_tracking\_all, cisco\_ios\_show\_ip\_source\_binding [\#225](https://github.com/networktocode/ntc-templates/pull/225) ([hilash](https://github.com/hilash)) +- Nxos communit list [\#220](https://github.com/networktocode/ntc-templates/pull/220) ([jmcgill298](https://github.com/jmcgill298)) +- Add support for cisco show ip mroute [\#216](https://github.com/networktocode/ntc-templates/pull/216) ([rhoriguchi](https://github.com/rhoriguchi)) +- Find MAC addresses in cisco IOS show version. [\#214](https://github.com/networktocode/ntc-templates/pull/214) ([kimoldfield](https://github.com/kimoldfield)) +- NXOS\_SHOW\_INTERFACE\_STATUS: Update template to better handle name wit… Fixes \#196 [\#204](https://github.com/networktocode/ntc-templates/pull/204) ([jmcgill298](https://github.com/jmcgill298)) +- Adding support for avaya\_ers\_show\_mlt\_all-members command [\#202](https://github.com/networktocode/ntc-templates/pull/202) ([kadecole](https://github.com/kadecole)) +- add arista dir flash: [\#187](https://github.com/networktocode/ntc-templates/pull/187) ([ydave](https://github.com/ydave)) +- Update the file to support Cap F on output [\#156](https://github.com/networktocode/ntc-templates/pull/156) ([amb1s1](https://github.com/amb1s1)) +- update cisco\_nxos\_show\_version to support 5ks [\#154](https://github.com/networktocode/ntc-templates/pull/154) ([amb1s1](https://github.com/amb1s1)) + +## [0.9.0](https://github.com/networktocode/ntc-templates/tree/0.9.0) (2018-07-05) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/cc61388f3c6e4543b878e426b30420173d6b6bc4...0.9.0) + +**Closed issues:** + +- Unable to parse out subinterface information from Cisco IOS content [\#197](https://github.com/networktocode/ntc-templates/issues/197) +- how to use this template can any once give 1 example and its result for more and better understanding [\#193](https://github.com/networktocode/ntc-templates/issues/193) +- show cdp neighbors for cisco\_ios returns string instead of structured list [\#189](https://github.com/networktocode/ntc-templates/issues/189) +- Template update: cisco\_ios\_show\_vlan to get interface list [\#175](https://github.com/networktocode/ntc-templates/issues/175) +- python3 support [\#149](https://github.com/networktocode/ntc-templates/issues/149) +- Template update: cisco\_nxos\_show\_cdp\_neighbors [\#147](https://github.com/networktocode/ntc-templates/issues/147) +- NXOS-Show\_Interfaces not finding Vlan Interfaces when additional interfaces are past the config. Also potential to provide wrong information. [\#135](https://github.com/networktocode/ntc-templates/issues/135) +- hp\_procurve\_show\_vlans.template empty output [\#124](https://github.com/networktocode/ntc-templates/issues/124) +- 'show memory statistics' cisco switch/rotuer template [\#121](https://github.com/networktocode/ntc-templates/issues/121) +- Cisco ASA show version template [\#110](https://github.com/networktocode/ntc-templates/issues/110) +- License question [\#92](https://github.com/networktocode/ntc-templates/issues/92) +- cisco\_ios\_show\_ip\_bgp.template some entries are not parsed [\#87](https://github.com/networktocode/ntc-templates/issues/87) +- missing tests folder for cisco\_ios\_show\_ip\_bgp [\#74](https://github.com/networktocode/ntc-templates/issues/74) +- Issues with trying to use the test-template playbook [\#73](https://github.com/networktocode/ntc-templates/issues/73) +- ios show mac address-table [\#59](https://github.com/networktocode/ntc-templates/issues/59) +- nxos show lldp neighbors failing when there is hostname is long [\#58](https://github.com/networktocode/ntc-templates/issues/58) +- arista route template [\#57](https://github.com/networktocode/ntc-templates/issues/57) +- ios show standby brief active/standby state [\#52](https://github.com/networktocode/ntc-templates/issues/52) +- Need help on parsing the show platform diag output [\#48](https://github.com/networktocode/ntc-templates/issues/48) +- need a help on escaping the parenthesis [\#47](https://github.com/networktocode/ntc-templates/issues/47) +- Need an info [\#46](https://github.com/networktocode/ntc-templates/issues/46) +- Difference between Start and Record Start? [\#41](https://github.com/networktocode/ntc-templates/issues/41) + +**Merged pull requests:** + +- Cleanup [\#221](https://github.com/networktocode/ntc-templates/pull/221) ([GGabriele](https://github.com/GGabriele)) +- Fixed README formatting and typos [\#215](https://github.com/networktocode/ntc-templates/pull/215) ([LindsayHill](https://github.com/LindsayHill)) +- Move Record to Interface opening line to ensure each unaccounted for … [\#212](https://github.com/networktocode/ntc-templates/pull/212) ([jmcgill298](https://github.com/jmcgill298)) +- CISCO\_IOS\_SHOW\_VLAN: Add support for capturing interfaces associated … [\#210](https://github.com/networktocode/ntc-templates/pull/210) ([jmcgill298](https://github.com/jmcgill298)) +- Update with virtual interfaces [\#209](https://github.com/networktocode/ntc-templates/pull/209) ([jvanderaa](https://github.com/jvanderaa)) +- NXOS\_SHOW\_CDP\_NEIGHBORS: Add additonal capture groups [\#208](https://github.com/networktocode/ntc-templates/pull/208) ([jmcgill298](https://github.com/jmcgill298)) +- IOS\_SHOW\_INTERFACES: Add additional logic to account for sub-interfaces [\#206](https://github.com/networktocode/ntc-templates/pull/206) ([jmcgill298](https://github.com/jmcgill298)) +- INDEX: Fix index file out of order [\#205](https://github.com/networktocode/ntc-templates/pull/205) ([jmcgill298](https://github.com/jmcgill298)) +- Procurve show vlans [\#201](https://github.com/networktocode/ntc-templates/pull/201) ([jmcgill298](https://github.com/jmcgill298)) +- add pytest chache to gitignore [\#200](https://github.com/networktocode/ntc-templates/pull/200) ([jmcgill298](https://github.com/jmcgill298)) +- Fix index file out of order [\#199](https://github.com/networktocode/ntc-templates/pull/199) ([jmcgill298](https://github.com/jmcgill298)) +- Fix printing to use function for py3 compatibility [\#198](https://github.com/networktocode/ntc-templates/pull/198) ([jmcgill298](https://github.com/jmcgill298)) +- Adding 4 templates [\#192](https://github.com/networktocode/ntc-templates/pull/192) ([rishabh5j](https://github.com/rishabh5j)) +- adding bash\_df\_-h and show\_reload\_cause templates for arista\_eos [\#182](https://github.com/networktocode/ntc-templates/pull/182) ([Sandeepsr](https://github.com/Sandeepsr)) +- adding cisco\_xr show\_controller\_fabric\_plane\_all and admin\_show\_contr… [\#181](https://github.com/networktocode/ntc-templates/pull/181) ([Sandeepsr](https://github.com/Sandeepsr)) +- Adding "get route" template for IPv4 for Juniper NetScreen \(screenos\) [\#180](https://github.com/networktocode/ntc-templates/pull/180) ([burningnode](https://github.com/burningnode)) +- cisco xr lldp and route [\#176](https://github.com/networktocode/ntc-templates/pull/176) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- adding arista\_macsec\_templates [\#174](https://github.com/networktocode/ntc-templates/pull/174) ([Sandeepsr](https://github.com/Sandeepsr)) +- adding cisco\_xr\_show\_ip\_bgp\_summary.template [\#170](https://github.com/networktocode/ntc-templates/pull/170) ([Sandeepsr](https://github.com/Sandeepsr)) +- added show vrf and show ip arp for nxos [\#167](https://github.com/networktocode/ntc-templates/pull/167) ([vaneuk](https://github.com/vaneuk)) +- IOS\_SHOW\_RUN\_CONFIG\_PARTITION\_ACL: Add new template [\#166](https://github.com/networktocode/ntc-templates/pull/166) ([jmcgill298](https://github.com/jmcgill298)) +- IOS\_SHOW\_IP\_ACL: new template [\#165](https://github.com/networktocode/ntc-templates/pull/165) ([jmcgill298](https://github.com/jmcgill298)) +- ASA\_SHOW\_IP\_ACCESS\_LIST: Add catch-all error [\#164](https://github.com/networktocode/ntc-templates/pull/164) ([jmcgill298](https://github.com/jmcgill298)) +- change top dir logic [\#163](https://github.com/networktocode/ntc-templates/pull/163) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update cisco\_nxos\_show\_lldp\_neighbors.template & index file [\#162](https://github.com/networktocode/ntc-templates/pull/162) ([termlen0](https://github.com/termlen0)) +- Avaya vsp show software [\#161](https://github.com/networktocode/ntc-templates/pull/161) ([kadecole](https://github.com/kadecole)) +- added show config sess summ [\#160](https://github.com/networktocode/ntc-templates/pull/160) ([jedelman8](https://github.com/jedelman8)) +- adding arista\_eos\_show\_interfaces\_transceiver.template and edit arist… [\#159](https://github.com/networktocode/ntc-templates/pull/159) ([Sandeepsr](https://github.com/Sandeepsr)) +- Alex up [\#158](https://github.com/networktocode/ntc-templates/pull/158) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Avaya ers show interface name [\#157](https://github.com/networktocode/ntc-templates/pull/157) ([kadecole](https://github.com/kadecole)) +- Added Avaya ERS templates [\#155](https://github.com/networktocode/ntc-templates/pull/155) ([kadecole](https://github.com/kadecole)) +- Adjusted hp\_procurve\_show\_vlans.template to account for varying outputs. [\#148](https://github.com/networktocode/ntc-templates/pull/148) ([tsimson](https://github.com/tsimson)) +- Added Avaya ERS templates [\#146](https://github.com/networktocode/ntc-templates/pull/146) ([OfWolfAndMan](https://github.com/OfWolfAndMan)) +- Show power commands [\#144](https://github.com/networktocode/ntc-templates/pull/144) ([ericdost](https://github.com/ericdost)) +- Fix CDP to work with 3 capablities in cdp output [\#143](https://github.com/networktocode/ntc-templates/pull/143) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- update nxos show interface for vlan [\#140](https://github.com/networktocode/ntc-templates/pull/140) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Ios sh status [\#139](https://github.com/networktocode/ntc-templates/pull/139) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Update NXOS show-ip-route for more scenarios [\#138](https://github.com/networktocode/ntc-templates/pull/138) ([jamiecaesar](https://github.com/jamiecaesar)) +- Show environment power all [\#137](https://github.com/networktocode/ntc-templates/pull/137) ([ericdost](https://github.com/ericdost)) +- Add ASA VPN Troubelshooting Commands [\#136](https://github.com/networktocode/ntc-templates/pull/136) ([jmcgill298](https://github.com/jmcgill298)) +- Added new template: Cisco ASA show interface [\#134](https://github.com/networktocode/ntc-templates/pull/134) ([jvanderaa](https://github.com/jvanderaa)) +- Updated IOS show-ip-route to handle additional cases [\#133](https://github.com/networktocode/ntc-templates/pull/133) ([jamiecaesar](https://github.com/jamiecaesar)) +- Add ASA Templates [\#131](https://github.com/networktocode/ntc-templates/pull/131) ([jmcgill298](https://github.com/jmcgill298)) +- fix pfs when no value present [\#129](https://github.com/networktocode/ntc-templates/pull/129) ([jmcgill298](https://github.com/jmcgill298)) +- add asa sh run crypto map [\#128](https://github.com/networktocode/ntc-templates/pull/128) ([jmcgill298](https://github.com/jmcgill298)) +- Dgjustice nxos show ip bgp nei [\#126](https://github.com/networktocode/ntc-templates/pull/126) ([dgjustice](https://github.com/dgjustice)) +- Fixing cisco\_ios\_show\_interfaces\_status [\#125](https://github.com/networktocode/ntc-templates/pull/125) ([GGabriele](https://github.com/GGabriele)) +- update xr controllers [\#123](https://github.com/networktocode/ntc-templates/pull/123) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- Additional Templates for Cisco IOS [\#122](https://github.com/networktocode/ntc-templates/pull/122) ([rpollard00](https://github.com/rpollard00)) +- change show interface to interfaces [\#120](https://github.com/networktocode/ntc-templates/pull/120) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- add speed + duplex to ios show interfaces [\#119](https://github.com/networktocode/ntc-templates/pull/119) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- update ios show proc cpu [\#118](https://github.com/networktocode/ntc-templates/pull/118) ([itdependsnetworks](https://github.com/itdependsnetworks)) +- update nxos show proc cpu [\#117](https://github.com/networktocode/ntc-templates/pull/117) ([itdependsnetworks](https://github.com/itdependsnetworks)) + \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index f8548d13d6..42c3f6a88d 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.0.0" +__version__ = "2.1.0" diff --git a/pyproject.toml b/pyproject.toml index aaaaf97fa4..6033a8ce3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.0.0" +version = "2.1.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From 4435fea33f08c8532cc57109c2d1f82a0d56ed49 Mon Sep 17 00:00:00 2001 From: Jacob D <86626873+jacdavi@users.noreply.github.com> Date: Mon, 28 Jun 2021 17:42:14 -0700 Subject: [PATCH 594/628] cisco ios: fix empty and secure ports in mac addr-table --- .../cisco_ios_show_mac-address-table.textfsm | 4 ++-- .../cisco_ios_show_mac-address-table9.raw | 4 ++++ .../cisco_ios_show_mac-address-table9.yml | 16 ++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm index 4d24ad469c..8be9e525fc 100644 --- a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm +++ b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm @@ -1,7 +1,7 @@ Value DESTINATION_ADDRESS ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4}) Value TYPE (\S+) Value VLAN (\S+) -Value DESTINATION_PORT (\S+) +Value DESTINATION_PORT (\S*) Start ^Destination\s+Address\s+Address\s+Type\s+VLAN\s+Destination\s+Port -> TYPE1 @@ -23,7 +23,7 @@ TYPE1 TYPE2 # Order of the group in brackets here matters - ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT} -> Record + ^\s*(?:\*\s+R|\*|R|S|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s*${DESTINATION_PORT} -> Record ^-+\+-+ ^Displaying\s+entries ^\s+vlan\s+mac address\s+type\s+learn\s+age\s+ports diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw index 5a5cc393af..12c325f19f 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw @@ -41,3 +41,7 @@ Displaying entries from active supervisor:: 361 0000.0000.0ca6 dynamic Yes 105 Po4 R 451 0000.0000.0e00 static No - Router 401 0000.0000.1fcb dynamic Yes 5 Po4 + S 67 0000.0000.0004 static No - Gi7/20 + * 728 0000.0000.0003 static Yes - + S 67 0000.0000.0004 static No - Te1/5/11 + * 728 0000.0000.0003 static Yes - diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml index 7c5f61973f..e9dae2c4c7 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml @@ -120,3 +120,19 @@ parsed_sample: type: "dynamic" vlan: "401" destination_port: "Po4" + - destination_address: "0000.0000.0004" + type: "static" + vlan: "67" + destination_port: "Gi7/20" + - destination_address: "0000.0000.0003" + type: "static" + vlan: "728" + destination_port: "" + - destination_address: "0000.0000.0004" + type: "static" + vlan: "67" + destination_port: "Gi7/20" + - destination_address: "0000.0000.0003" + type: "static" + vlan: "728" + destination_port: "" From 855826330949f102618b30267bb0ca991823c759 Mon Sep 17 00:00:00 2001 From: Jacob D <86626873+jacdavi@users.noreply.github.com> Date: Mon, 28 Jun 2021 17:47:41 -0700 Subject: [PATCH 595/628] remove duplicate test cases --- .../cisco_ios_show_mac-address-table9.raw | 2 -- .../cisco_ios_show_mac-address-table9.yml | 10 +--------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw index 12c325f19f..5ad0194d51 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw @@ -41,7 +41,5 @@ Displaying entries from active supervisor:: 361 0000.0000.0ca6 dynamic Yes 105 Po4 R 451 0000.0000.0e00 static No - Router 401 0000.0000.1fcb dynamic Yes 5 Po4 - S 67 0000.0000.0004 static No - Gi7/20 - * 728 0000.0000.0003 static Yes - S 67 0000.0000.0004 static No - Te1/5/11 * 728 0000.0000.0003 static Yes - diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml index e9dae2c4c7..1ca3e8e98b 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml @@ -123,15 +123,7 @@ parsed_sample: - destination_address: "0000.0000.0004" type: "static" vlan: "67" - destination_port: "Gi7/20" - - destination_address: "0000.0000.0003" - type: "static" - vlan: "728" - destination_port: "" - - destination_address: "0000.0000.0004" - type: "static" - vlan: "67" - destination_port: "Gi7/20" + destination_port: "Te1/5/11" - destination_address: "0000.0000.0003" type: "static" vlan: "728" From 93af3461f42ae011191383523b3226d51bddafc2 Mon Sep 17 00:00:00 2001 From: Jacob D <86626873+jacdavi@users.noreply.github.com> Date: Mon, 28 Jun 2021 17:54:24 -0700 Subject: [PATCH 596/628] add whitespace present in output --- .../cisco_ios_show_mac-address-table9.raw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw index 5ad0194d51..7bd9261950 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw @@ -42,4 +42,4 @@ Displaying entries from active supervisor:: R 451 0000.0000.0e00 static No - Router 401 0000.0000.1fcb dynamic Yes 5 Po4 S 67 0000.0000.0004 static No - Te1/5/11 - * 728 0000.0000.0003 static Yes - + * 728 0000.0000.0003 static Yes - From aa44e1833de5a05eb4dabc3d9c62bffb17c3d93c Mon Sep 17 00:00:00 2001 From: Jonathan Swisher Date: Tue, 29 Jun 2021 11:30:38 -0500 Subject: [PATCH 597/628] Commit for Travis test --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad20bb6396..1b60be62ba 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,8 @@ Start ``` ##### States -If the raw output has a heading, the `Start` state should match on the column headings and then transition to another state that will match the device's output table with the capture groups. This helps ensure the regex patterns for the capture groups are attempting to match the correct information, and allows templates to easily add additional States for tables that have different headings. Example: +If the raw output has a heading, the `Start` state should match on the column headings and then transition to another state that will match the device's output table with the capture groups. This helps ensure the regex patterns for the capture groups are attempting to match the correct information, and allows templates to easily add additional States for tables that have different headings. +Example: *Raw Output* ``` From 8db6b20730d9af84c086a4fa6586a36c45d8c30d Mon Sep 17 00:00:00 2001 From: Joe Wesch <10467633+joewesch@users.noreply.github.com> Date: Wed, 7 Jul 2021 09:27:46 -0500 Subject: [PATCH 598/628] cisco_ios_show_version: Cisco IOS uptime parsing more granular (days, hours, etc.) (#944) --- .../templates/cisco_ios_show_version.textfsm | 12 +++++++++++- .../show_version/cisco_ios_show_version.yml | 5 +++++ .../show_version/cisco_ios_show_version1.yml | 5 +++++ .../show_version/cisco_ios_show_version2.yml | 5 +++++ .../show_version/cisco_ios_show_version3.yml | 5 +++++ .../show_version/cisco_ios_show_version4.yml | 5 +++++ tox.ini | 2 +- 7 files changed, 37 insertions(+), 2 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_version.textfsm b/ntc_templates/templates/cisco_ios_show_version.textfsm index 4d32f8475b..b879dec418 100644 --- a/ntc_templates/templates/cisco_ios_show_version.textfsm +++ b/ntc_templates/templates/cisco_ios_show_version.textfsm @@ -2,6 +2,11 @@ Value VERSION (.+?) Value ROMMON (\S+) Value HOSTNAME (\S+) Value UPTIME (.+) +Value UPTIME_YEARS (\d+) +Value UPTIME_WEEKS (\d+) +Value UPTIME_DAYS (\d+) +Value UPTIME_HOURS (\d+) +Value UPTIME_MINUTES (\d+) Value RELOAD_REASON (.+?) Value RUNNING_IMAGE (\S+) Value List HARDWARE (\S+|\S+\d\S+) @@ -13,7 +18,12 @@ Value RESTARTED (.+) Start ^.*Software\s.+\),\sVersion\s${VERSION},*\s+RELEASE.* ^ROM:\s+${ROMMON} - ^\s*${HOSTNAME}\s+uptime\s+is\s+${UPTIME} + ^\s*${HOSTNAME}\s+uptime\s+is\s+${UPTIME} -> Continue + ^.*\s+uptime\s+is.*\s+${UPTIME_YEARS}\syear -> Continue + ^.*\s+uptime\s+is.*\s+${UPTIME_WEEKS}\sweek -> Continue + ^.*\s+uptime\s+is.*\s+${UPTIME_DAYS}\sday -> Continue + ^.*\s+uptime\s+is.*\s+${UPTIME_HOURS}\shour -> Continue + ^.*\s+uptime\s+is.*\s+${UPTIME_MINUTES}\sminute ^[sS]ystem\s+image\s+file\s+is\s+"(.*?):${RUNNING_IMAGE}" ^(?:[lL]ast\s+reload\s+reason:|System\s+returned\s+to\s+ROM\s+by)\s+${RELOAD_REASON}\s*$$ ^[Pp]rocessor\s+board\s+ID\s+${SERIAL} diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version.yml b/tests/cisco_ios/show_version/cisco_ios_show_version.yml index fd16da9df3..b233140077 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version.yml @@ -4,6 +4,11 @@ parsed_sample: rommon: "12.2(44r)SG9" hostname: "router1" uptime: "2 years, 31 weeks, 6 days, 9 hours, 55 minutes" + uptime_days: "6" + uptime_hours: "9" + uptime_minutes: "55" + uptime_weeks: "31" + uptime_years: "2" reload_reason: "reload" running_image: "cat4500e-entservicesk9-mz.122-54.SG1.bin" hardware: diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml index eb71525870..b794d0a135 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version1.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version1.yml @@ -4,6 +4,11 @@ parsed_sample: rommon: "IOS-XE" hostname: "city-building-4-sw" uptime: "28 weeks, 1 day, 7 hours, 54 minutes" + uptime_days: "1" + uptime_hours: "7" + uptime_minutes: "54" + uptime_weeks: "28" + uptime_years: "" reload_reason: "Reload Command" running_image: "packages.conf" hardware: diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml index 11935c90fa..92098c2e90 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version2.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version2.yml @@ -4,6 +4,11 @@ parsed_sample: rommon: "IOS-XE" hostname: "my_device" uptime: "1 day, 15 hours, 32 minutes" + uptime_days: "1" + uptime_hours: "15" + uptime_minutes: "32" + uptime_weeks: "" + uptime_years: "" reload_reason: "LocalSoft" running_image: "asr1001-universalk9.03.09.01.S.153-2.S1.bin" hardware: diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml index a72cd33d98..32da4c835c 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version3.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version3.yml @@ -4,6 +4,11 @@ parsed_sample: rommon: "Bootstrap" hostname: "rtr-01" uptime: "1 week, 3 days, 16 hours, 11 minutes" + uptime_days: "3" + uptime_hours: "16" + uptime_minutes: "11" + uptime_weeks: "1" + uptime_years: "" reload_reason: "Unknown reason" running_image: "/vios-adventerprisek9-m" hardware: diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml index 677cd7fdab..a0ccd2232c 100644 --- a/tests/cisco_ios/show_version/cisco_ios_show_version4.yml +++ b/tests/cisco_ios/show_version/cisco_ios_show_version4.yml @@ -4,6 +4,11 @@ parsed_sample: rommon: "IOS-XE" hostname: "AKBTESTW01" uptime: "1 year, 22 weeks, 6 days, 9 hours, 38 minutes" + uptime_days: "6" + uptime_hours: "9" + uptime_minutes: "38" + uptime_weeks: "22" + uptime_years: "1" reload_reason: "Reload Command" running_image: "packages.conf" hardware: diff --git a/tox.ini b/tox.ini index ca2ccd6799..fca6188fa8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = True -envlist = py36,py37,py38,black,flake8,yamllint +envlist = py36,py37,py38,py39,black,flake8,yamllint skip_missing_interpreters = true download = true From 7578d4acde2106efeef2cccd79463692c6c8e995 Mon Sep 17 00:00:00 2001 From: Hugo Tinoco <43675476+h4ndzdatm0ld@users.noreply.github.com> Date: Wed, 7 Jul 2021 09:16:22 -0700 Subject: [PATCH 599/628] New Template: cisco_ios_show_crypto_session_details (#947) --- ...sco_ios_show_crypto_session_detail.textfsm | 46 ++++++++++++ ntc_templates/templates/index | 1 + .../cisco_ios_show_crypto_session_detail.raw | 52 ++++++++++++++ .../cisco_ios_show_crypto_session_detail.yml | 71 +++++++++++++++++++ 4 files changed, 170 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm create mode 100644 tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.raw create mode 100644 tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml diff --git a/ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm b/ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm new file mode 100644 index 0000000000..cd6883aa7b --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_crypto_session_detail.textfsm @@ -0,0 +1,46 @@ +Value Required INTERFACE (\S+) +Value Required SESSION_STATUS (\S+) +Value UPTIME (\S+) +Value Required PEER (\S+) +Value PORT (\d+) +Value FVRF (\S+) +Value IVRF (\S+) +Value DESC (\S+) +Value PHASE1_ID (\S+) +Value SESSION_ID (\d+) +Value LOCAL_IP (\S+) +Value LOCAL_PORT (\d+) +Value REMOTE_IP (\S+) +Value REMOTE_PORT (\S+) +Value IKEV1_STATUS (\S+) +Value CAPABILITIES (\S+) +Value CONN_ID (\d+) +Value LIFETIME (\S+) +Value PERMIT (\S+) +Value SRC_HOST (\S+) +Value DST_HOST (\S+) +Value ACTIVE_SA (\d+) +Value ORIGIN (.+) + +Start + ^Crypto\s+.* + ^Code: + ^K\s+- + ^X\s+- + ^R\s+- + ^Interface: -> Continue.Record + ^Interface:\s+${INTERFACE} + ^Session\s+status:\s+${SESSION_STATUS} + ^Uptime:\s+${UPTIME} + ^Peer:\s+${PEER}\s+port\s+${PORT}\s+fvrf:\s+${FVRF}\s+ivrf:\s+${IVRF} + ^\s+Desc:\s+${DESC} + ^\s+Phase1_id:\s+${PHASE1_ID} + ^\s+Session\s+ID:\s+${SESSION_ID} + ^\s+IKEv1\s+SA:\s+local\s+${LOCAL_IP}/${LOCAL_PORT}\s+remote\s+${REMOTE_IP}/${REMOTE_PORT}\s+${IKEV1_STATUS} + ^\s+Capabilities:${CAPABILITIES}\s+connid:${CONN_ID}\s+lifetime:${LIFETIME} + ^\s+IPSEC\s+FLOW:\s+permit\s+${PERMIT}\s+host\s+${SRC_HOST}\s+host\s+${DST_HOST} + ^\s+Active\s+SAs:\s+${ACTIVE_SA},\s+origin:\s+${ORIGIN} + ^\s+Inbound:\s+#.* + ^\s+Outbound:\s+#.* + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 9437876d32..93121f8db1 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -186,6 +186,7 @@ cisco_ios_show_processes_memory_sorted.textfsm, .*, cisco_ios, sh[[ow]] pro[[ces cisco_ios_show_interfaces_description.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] des[[cription]] cisco_ios_show_ip_device_tracking_all.textfsm, .*, cisco_ios, sh[[ow]] ip de[[vice]] t[[racking]] a[[ll]] cisco_ios_show_bfd_neighbors_details.textfsm, .*, cisco_ios, sh[[ow]] bf[[d]] n[[eighbors]] (?:(?:ipv\d+|client \S+) )?de[[tails]] +cisco_ios_show_crypto_session_detail.textfsm, .*, cisco_ios, sh[[ow]] cr[[ypto]] se[[ssion]] d[[etail]] cisco_ios_show_environment_power_all.textfsm, .*, cisco_ios, sh[[ow]] envi[[ronment]] p[[ower]] a[[ll]] cisco_ios_show_interface_transceiver.textfsm, .*, cisco_ios, sh[[ow]] int[[erface]] trans[[ceiver]] cisco_ios_show_interfaces_switchport.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] sw[[itchport]] diff --git a/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.raw b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.raw new file mode 100644 index 0000000000..c5615095da --- /dev/null +++ b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.raw @@ -0,0 +1,52 @@ +Crypto session current status + +Code: C - IKE Configuration mode, D - Dead Peer Detection +K - Keepalives, N - NAT-traversal, T - cTCP encapsulation +X - IKE Extended Authentication, F - IKE Fragmentation +R - IKE Auto Reconnect + +Interface: Tunnel1201 +Session status: DOWN-NEGOTIATING +Peer: 10.161.255.14 port 500 fvrf: (none) ivrf: (none) + Desc: (none) + Phase1_id: (none) + Session ID: 0 + IKEv1 SA: local 10.175.200.116/500 remote 10.161.255.14/500 Inactive + Capabilities:(none) connid:0 lifetime:0 + Session ID: 0 + IKEv1 SA: local 10.175.200.116/500 remote 10.161.255.14/500 Inactive + Capabilities:(none) connid:0 lifetime:0 + IPSEC FLOW: permit 47 host 10.175.200.116 host 10.161.255.14 + Active SAs: 0, origin: crypto map + Inbound: #pkts dec'ed 0 drop 0 life (KB/Sec) 0/0 + Outbound: #pkts enc'ed 0 drop 0 life (KB/Sec) 0/0 + +Interface: Tunnel1101 +Uptime: 7w0d +Session status: UP-ACTIVE +Peer: 192.168.0.1 port 4500 fvrf: (none) ivrf: (none) + Phase1_id: SOME_DEVICE1234.1pc.com + Desc: (none) + Session ID: 0 + IKEv1 SA: local 169.0.1.1/4500 remote 192.168.0.1/4500 Active + Capabilities:DN connid:2913 lifetime:09:03:41 + IPSEC FLOW: permit 47 host 169.0.1.1 host 192.168.0.1 + Active SAs: 2, origin: crypto map + Inbound: #pkts dec'ed 15344097 drop 0 life (KB/Sec) 4236992/615 + Outbound: #pkts enc'ed 18074395 drop 0 life (KB/Sec) 4236962/615 + +Interface: Tunnel2201 +Session status: DOWN-NEGOTIATING +Peer: 10.163.255.14 port 500 fvrf: (none) ivrf: (none) + Desc: (none) + Phase1_id: (none) + Session ID: 0 + IKEv1 SA: local 10.175.200.116/500 remote 10.163.255.14/500 Inactive + Capabilities:(none) connid:0 lifetime:0 + Session ID: 0 + IKEv1 SA: local 10.175.200.116/500 remote 10.163.255.14/500 Inactive + Capabilities:(none) connid:0 lifetime:0 + IPSEC FLOW: permit 47 host 10.175.200.116 host 10.163.255.14 + Active SAs: 0, origin: crypto map + Inbound: #pkts dec'ed 0 drop 0 life (KB/Sec) 0/0 + Outbound: #pkts enc'ed 0 drop 0 life (KB/Sec) 0/0 diff --git a/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml new file mode 100644 index 0000000000..016a19445e --- /dev/null +++ b/tests/cisco_ios/show_crypto_session_detail/cisco_ios_show_crypto_session_detail.yml @@ -0,0 +1,71 @@ +--- +parsed_sample: + - interface: "Tunnel1201" + session_status: "DOWN-NEGOTIATING" + uptime: "" + peer: "10.161.255.14" + port: "500" + fvrf: "(none)" + ivrf: "(none)" + desc: "(none)" + phase1_id: "(none)" + session_id: "0" + local_ip: "10.175.200.116" + local_port: "500" + remote_ip: "10.161.255.14" + remote_port: "500" + ikev1_status: "Inactive" + capabilities: "(none)" + conn_id: "0" + lifetime: "0" + permit: "47" + src_host: "10.175.200.116" + dst_host: "10.161.255.14" + active_sa: "0" + origin: "crypto map" + - interface: "Tunnel1101" + session_status: "UP-ACTIVE" + uptime: "7w0d" + peer: "192.168.0.1" + port: "4500" + fvrf: "(none)" + ivrf: "(none)" + desc: "(none)" + phase1_id: "SOME_DEVICE1234.1pc.com" + session_id: "0" + local_ip: "169.0.1.1" + local_port: "4500" + remote_ip: "192.168.0.1" + remote_port: "4500" + ikev1_status: "Active" + capabilities: "DN" + conn_id: "2913" + lifetime: "09:03:41" + permit: "47" + src_host: "169.0.1.1" + dst_host: "192.168.0.1" + active_sa: "2" + origin: "crypto map" + - interface: "Tunnel2201" + session_status: "DOWN-NEGOTIATING" + uptime: "" + peer: "10.163.255.14" + port: "500" + fvrf: "(none)" + ivrf: "(none)" + desc: "(none)" + phase1_id: "(none)" + session_id: "0" + local_ip: "10.175.200.116" + local_port: "500" + remote_ip: "10.163.255.14" + remote_port: "500" + ikev1_status: "Inactive" + capabilities: "(none)" + conn_id: "0" + lifetime: "0" + permit: "47" + src_host: "10.175.200.116" + dst_host: "10.163.255.14" + active_sa: "0" + origin: "crypto map" From 6032adb72f204957068661ebf7781fff698f74f5 Mon Sep 17 00:00:00 2001 From: Denis Pointer <52019028+dpnetca@users.noreply.github.com> Date: Wed, 7 Jul 2021 10:18:31 -0600 Subject: [PATCH 600/628] cisco_ios_show_vrf.texfsm: Parse a vrf with no interfaces (#918) --- .../templates/cisco_ios_show_vrf.textfsm | 1 + .../cisco_ios_show_vrf_no_interface.raw | 5 +++++ .../cisco_ios_show_vrf_no_interface.yml | 17 +++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.raw create mode 100644 tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.yml diff --git a/ntc_templates/templates/cisco_ios_show_vrf.textfsm b/ntc_templates/templates/cisco_ios_show_vrf.textfsm index d326e3956e..d2143bf431 100644 --- a/ntc_templates/templates/cisco_ios_show_vrf.textfsm +++ b/ntc_templates/templates/cisco_ios_show_vrf.textfsm @@ -13,4 +13,5 @@ Start_record ^\s{2}\S+ -> Continue.Record ^\s{60}\s+${INTERFACES} ^\s+${NAME}\s+${DEFAULT_RD}\s+${PROTOCOLS}\s+${INTERFACES} + ^\s+${NAME}\s+${DEFAULT_RD}\s+${PROTOCOLS} diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.raw b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.raw new file mode 100644 index 0000000000..29c899e2b1 --- /dev/null +++ b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.raw @@ -0,0 +1,5 @@ + Name Default RD Protocols Interfaces + OOB-MGMT ipv4 Gi0/3 + vpn21 65201:21 ipv4,ipv6 Gi0/0.21 + Gi0/1.21 + vpn22 65201:22 ipv4 diff --git a/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.yml b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.yml new file mode 100644 index 0000000000..02447c67f9 --- /dev/null +++ b/tests/cisco_ios/show_vrf/cisco_ios_show_vrf_no_interface.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - default_rd: "" + interfaces: + - "Gi0/3" + name: "OOB-MGMT" + protocols: "ipv4" + - default_rd: "65201:21" + interfaces: + - "Gi0/0.21" + - "Gi0/1.21" + name: "vpn21" + protocols: "ipv4,ipv6" + - default_rd: "65201:22" + interfaces: [] + name: "vpn22" + protocols: "ipv4" From f07db4ed217509f0fc2189fb41fcd6885de78108 Mon Sep 17 00:00:00 2001 From: mickyhale <34953641+mickyhale@users.noreply.github.com> Date: Wed, 7 Jul 2021 09:38:53 -0700 Subject: [PATCH 601/628] cisco_ios_show_interfaces_switchport: Modified Trunk state to handle multiline trunking lists (#907) --- ...sco_ios_show_interfaces_switchport.textfsm | 6 ++-- .../cisco_ios_show_interfaces_switchport2.raw | 32 +++++++++++++++++++ .../cisco_ios_show_interfaces_switchport2.yml | 12 +++++++ 3 files changed, 47 insertions(+), 3 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm index 440195b261..3129796ff6 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -21,7 +21,6 @@ Start ^\s*Voice\s+VLAN:\s+${VOICE_VLAN} ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS},\s*$$ -> Trunk ^\s*Trunking\s+VLANs\s+Enabled:\s+${TRUNKING_VLANS}$$ - ^\s+${TRUNKING_VLANS}$$ ^\s*Administrative\s+Mode:\s+${ADMIN_MODE}$$ ^\s*(?:Operational|Administrative)\s+(?:Trunking|Native\s+VLAN|private-vlan) ^\s*Voice\s+VLAN: @@ -40,5 +39,6 @@ Start ^. -> Error Trunk - ^\s+${TRUNKING_VLANS},\s*$$ -> Start - ^\s+${TRUNKING_VLANS}\s*$$ + ^\s+${TRUNKING_VLANS},\s*$$ + ^\s+${TRUNKING_VLANS}\s*$$ -> Start + ^. -> Error diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw index df2599fd7c..7246296b6a 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.raw @@ -29,3 +29,35 @@ Unknown unicast blocked: disabled Unknown multicast blocked: disabled Vepa Enabled: false Appliance trust: none + +Name: Te5/0/2 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604, + 900,910,920,930,940 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +Appliance trust: none diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml index 0ec9e9321e..0e4ceca4bd 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport2.yml @@ -12,3 +12,15 @@ parsed_sample: trunking_vlans: - "1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604" - "900,910,920,930,940" + - interface: "Te5/0/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "1,12,15,31-36,40-42,80,85,101,201,240,410,420,602,604" + - "900,910,920,930,940" From 45a5d9223bda3eff491e54f1725370a133d2061e Mon Sep 17 00:00:00 2001 From: Chip Nielsen Date: Wed, 28 Jul 2021 18:00:27 -0700 Subject: [PATCH 602/628] Fix nxos_show_interface_transceiver failure (#952) (#953) --- ...sco_nxos_show_interface_transceiver.textfsm | 2 ++ .../cisco_nxos_show_interface_transceiver.raw | 18 +++++++++++++++++- .../cisco_nxos_show_interface_transceiver.yml | 5 +++++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm index b08ecc2019..efef506d9f 100644 --- a/ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm @@ -17,5 +17,7 @@ Start ^\s+Link\s+ ^\s+cisco\s+id ^\s+cisco\s+extended + ^\s+cisco\s+part\s+number + ^\s+cisco\s+product\s+id ^\s*$$ -> Record ^. -> Error diff --git a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw index 9ee17a7a94..a07ec26853 100644 --- a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw +++ b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.raw @@ -83,4 +83,20 @@ Ethernet1/47 nominal bitrate is 10300 MBit/sec Link length supported for SMF fiber is 10 km cisco id is -- - cisco extended id number is 196 \ No newline at end of file + cisco extended id number is 196 + +Ethernet1/48 + transceiver is present + type is 10Gbase-SR + name is CISCO-OEM + part number is SFP-10GB-SR + revision is B4 + serial number is GTWG0000 + nominal bitrate is 10300 MBit/sec + Link length supported for 50/125um OM2 fiber is 82 m + Link length supported for 62.5/125um fiber is 26 m + Link length supported for 50/125um OM3 fiber is 300 m + cisco id is 3 + cisco extended id number is 4 + cisco part number is 10-2415-01 + cisco product id is SFP-10G-SR diff --git a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml index 7f2e65619f..b2fb011b05 100644 --- a/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml +++ b/tests/cisco_nxos/show_interface_transceiver/cisco_nxos_show_interface_transceiver.yml @@ -30,3 +30,8 @@ parsed_sample: manufacturer: "Arista" part_number: "QSFP-40G-LR4-AR" serial: "AROOGAH" + - interface: "Ethernet1/48" + type: "10Gbase-SR" + manufacturer: "CISCO-OEM" + part_number: "SFP-10GB-SR" + serial: "GTWG0000" From d062df3cb934a39c21c0ac0fffbe5caa254105e2 Mon Sep 17 00:00:00 2001 From: nsnelson402 <88199113+nsnelson402@users.noreply.github.com> Date: Mon, 2 Aug 2021 15:39:13 +0000 Subject: [PATCH 603/628] Bugfix: precendence & tos for SRC/DST_PORT_MATCH - cisco_ios_show_ip_access-lists.textfsm (#955) --- .../cisco_ios_show_ip_access-lists.textfsm | 4 +- .../cisco_ios_show_ip_access-lists_954.raw | 100 + .../cisco_ios_show_ip_access-lists_954.yml | 2802 +++++++++++++++++ 3 files changed, 2904 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.raw create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm index d716172e7f..0a60b0abd8 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm @@ -7,7 +7,7 @@ Value SRC_HOST (\d+\.\d+\.\d+\.\d+) Value SRC_ANY (any) Value SRC_NETWORK (\d+\.\d+\.\d+\.\d+) Value SRC_WILDCARD (\d+\.\d+\.\d+\.\d+) -Value SRC_PORT_MATCH (eq|neq|range|lt|gt) +Value SRC_PORT_MATCH (eq|neq|precedence|range|tos|lt|gt) Value SRC_PORT ((? Date: Mon, 2 Aug 2021 10:34:20 -0600 Subject: [PATCH 604/628] Release 2.2.0 (#957) --- CHANGELOG.md | 18 ++++++++++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb87e2dab5..ce00b737e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [2.2.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.1.0...2.2.0) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists template needs updated to include precedence and tos in *_PORT_MATCH [\#954](https://github.com/networktocode/ntc-templates/issues/954) +- cisco\_nxos\_show\_interface\_transceiver transceiver template failure [\#952](https://github.com/networktocode/ntc-templates/issues/952) + +**Merged pull requests:** + +- cisco_ios_show_version: Cisco IOS uptime parsing more granular (days, hours, etc.) [\#944](https://github.com/networktocode/ntc-templates/pull/944) ([joewesch](https://github.com/joewesch)) +- New Template: cisco_ios_show_crypto_session_details [\#947](https://github.com/networktocode/ntc-templates/pull/947) ([h4ndzdatm0ld](https://github.com/h4ndzdatm0ld)) +- cisco_ios_show_vrf.texfsm: Parse a vrf with no interfaces [\#918](https://github.com/networktocode/ntc-templates/pull/918) ([dpnetca](https://github.com/dpnetca)) +- cisco_ios_show_interfaces_switchport: Modified Trunk state to handle multiline trunking lists [\#907](https://github.com/networktocode/ntc-templates/pull/907) ([mickyhale](https://github.com/mickyhale)) +- Fix nxos_show_interface_transceiver failure [\#953](https://github.com/networktocode/ntc-templates/pull/953) ([chipn](https://github.com/chipn)) +- Updated cisco_ios_show_ip_access-lists.textfsm to include the SRC_PORT_MATCH and DST_PORT_MATCH values for precedence and tos [\#955](https://github.com/networktocode/ntc-templates/pull/955) ([nsnelson402](https://github.com/nsnelson402)) + ## [2.1.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-06-24) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.0.0...2.1.0) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index 42c3f6a88d..c8b263aff6 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.1.0" +__version__ = "2.2.0" diff --git a/pyproject.toml b/pyproject.toml index 6033a8ce3a..923cb047e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.1.0" +version = "2.2.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From b6ce82f3755c0eb9eebcfe195d2f0b4672876d13 Mon Sep 17 00:00:00 2001 From: Uros Bajzelj Date: Wed, 4 Aug 2021 08:48:25 +0200 Subject: [PATCH 605/628] Fix the Travis pipeline (#961) --- .travis.yml | 77 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 54 insertions(+), 23 deletions(-) diff --git a/.travis.yml b/.travis.yml index ae51fc2413..aa186e4a2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,12 @@ --- +stages: + - name: "lint" + - name: "test" + - name: "deploy-github" + if: "tag IS present" + - name: "deploy-pypi" + if: "tag IS present" + language: "python" dist: "xenial" os: "linux" @@ -8,30 +16,53 @@ python: - "3.7" - "3.8" -install: - - "pip install virtualenv" - - "virtualenv .venv" - - ".venv/bin/pip install pip setuptools -U" - - ".venv/bin/pip install tox" +# -------------------------------------------------------------------------- +# Tests +# -------------------------------------------------------------------------- +before_script: + - "pip install --upgrade pip" + - "pip install poetry" + - "poetry install" +script: + - "poetry run tox -e py36,py37,py38" + jobs: include: - stage: "lint" - script: ".venv/bin/tox -e black" - - script: ".venv/bin/tox -e flake8" - - script: ".venv/bin/tox -e yamllint" - -stages: - - "lint" - - "test" - -script: - - ".venv/bin/tox -e py36,py37,py38" - -deploy: - provider: "script" - script: - - "poetry config pypi-token.pypi $PYPI_TOKEN" - - "poetry publish --build" - on: - tags: true + before_script: + - "pip install --upgrade pip" + - "pip install poetry" + - "poetry install" + script: + - "poetry run tox -e black" + - "poetry run tox -e flake8" + - "poetry run tox -e yamllint" + - stage: "deploy-github" + before_script: + - "pip install --upgrade pip" + - "pip install poetry" + script: + - "poetry version $TRAVIS_TAG" + - "poetry build" + deploy: + provider: "releases" + api_key: "$GITHUB_AUTH_TOKEN" + file_glob: true + file: "dist/*" + skip_cleanup: true + "on": + all_branches: true + - stage: "deploy-pypi" + before_script: + - "pip install --upgrade pip" + - "pip install poetry" + script: + - "echo Deploying the release to PyPI" + - "poetry version $TRAVIS_TAG" + deploy: + provider: "script" + skip_cleanup: true + script: "poetry publish --build -u __token__ -p $PYPI_TOKEN" + "on": + all_branches: true From 20c45ace21fee0f798054d6bf0e0a3dae09589a1 Mon Sep 17 00:00:00 2001 From: Ken Celenza Date: Wed, 4 Aug 2021 08:00:08 -0400 Subject: [PATCH 606/628] Fixes #924 (#960) --- .../templates/cisco_ios_show_version.textfsm | 1 + .../show_version/cisco_ios_show_version5.raw | 90 +++++++++++++++++++ .../show_version/cisco_ios_show_version5.yml | 24 +++++ 3 files changed, 115 insertions(+) create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version5.raw create mode 100644 tests/cisco_ios/show_version/cisco_ios_show_version5.yml diff --git a/ntc_templates/templates/cisco_ios_show_version.textfsm b/ntc_templates/templates/cisco_ios_show_version.textfsm index b879dec418..b55470ca85 100644 --- a/ntc_templates/templates/cisco_ios_show_version.textfsm +++ b/ntc_templates/templates/cisco_ios_show_version.textfsm @@ -33,6 +33,7 @@ Start ^System\s+restarted\s+at\s+${RESTARTED}$$ ^Switch\s+Port -> Stack # Capture time-stamp if vty line has command time-stamping turned on + ^Switch\s\d+ -> Stack ^Load\s+for\s+ ^Time\s+source\s+is diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version5.raw b/tests/cisco_ios/show_version/cisco_ios_show_version5.raw new file mode 100644 index 0000000000..40f254b8f4 --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version5.raw @@ -0,0 +1,90 @@ +Cisco IOS XE Software, Version 16.12.04 +Cisco IOS Software [Gibraltar], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.12.4, RELEASE SOFTWARE (fc5) +Technical Support: http://www.cisco.com/techsupport +Copyright (c) 1986-2020 by Cisco Systems, Inc. +Compiled Thu 09-Jul-20 21:49 by mcpre + + +Cisco IOS-XE software, Copyright (c) 2005-2020 by cisco Systems, Inc. +All rights reserved. Certain components of Cisco IOS-XE software are +licensed under the GNU General Public License ("GPL") Version 2.0. The +software code licensed under GPL Version 2.0 is free software that comes +with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such +GPL code under the terms of GPL Version 2.0. For more details, see the +documentation or "License Notice" file accompanying the IOS-XE software, +or the applicable URL provided on the flyer accompanying the IOS-XE +software. + + +ROM: IOS-XE ROMMON +BOOTLDR: System Bootstrap, Version 17.1.1[FC2], RELEASE SOFTWARE (P) + +Switch-Hostname uptime is 7 weeks, 17 hours, 14 minutes +Uptime for this control processor is 7 weeks, 17 hours, 17 minutes +System returned to ROM by Reload Command at 20:51:53 EET Mon Mar 8 2021 +System restarted at 20:57:50 EET Mon Mar 8 2021 +System image file is "flash:packages.conf" +Last reload reason: Reload Command + + + +This product contains cryptographic features and is subject to United +States and local country laws governing import, export, transfer and +use. Delivery of Cisco cryptographic products does not imply +third-party authority to import, export, distribute or use encryption. +Importers, exporters, distributors and users are responsible for +compliance with U.S. and local country laws. By using this product you +agree to comply with applicable laws and regulations. If you are unable +to comply with U.S. and local laws, return this product immediately. + +A summary of U.S. laws governing Cisco cryptographic products may be found at: +http://www.cisco.com/wwl/export/crypto/tool/stqrg.html + +If you require further assistance please contact us by sending email to +export@cisco.com. + + +Technology Package License Information: + +------------------------------------------------------------------------------ +Technology-package Technology-package +Current Type Next reboot +------------------------------------------------------------------------------ +network-advantage Smart License network-advantage +dna-advantage Subscription Smart License dna-advantage +AIR License Level: AIR DNA Advantage +Next reload AIR license Level: AIR DNA Advantage + + +Smart Licensing Status: UNREGISTERED/EVAL EXPIRED + +cisco C9500-48Y4C (X86) processor with 1867864K/6147K bytes of memory. +Processor board ID CAT23XXXXXX +16 Virtual Ethernet interfaces +96 TwentyFive Gigabit Ethernet interfaces +8 Hundred Gigabit Ethernet interfaces +32768K bytes of non-volatile configuration memory. +16010152K bytes of physical memory. +11161600K bytes of Bootflash at bootflash:. +11161600K bytes of Bootflash at bootflash-2:. +1638400K bytes of Crash Files at crashinfo:. +1638400K bytes of Crash Files at crashinfo-2:. +0K bytes of WebUI ODM Files at webui:. + +Base Ethernet MAC Address : a0:b4:39:00:00:e0 +Motherboard Assembly Number : 48XX +Motherboard Serial Number : CAT23XXXXXX +Model Revision Number : V02 +Motherboard Revision Number : 4 +Model Number : C9500-48Y4C +System Serial Number : CAT23XXXXXX + +Switch 02 +--------- +Base Ethernet MAC Address : a0:b4:39:00:00:00 +Motherboard Assembly Number : 48XX +Motherboard Serial Number : CAT23XXXXXX +Model Revision Number : V02 +Motherboard Revision Number : 4 +Model Number : C9500-48Y4C +System Serial Number : CAT23XXXXXX \ No newline at end of file diff --git a/tests/cisco_ios/show_version/cisco_ios_show_version5.yml b/tests/cisco_ios/show_version/cisco_ios_show_version5.yml new file mode 100644 index 0000000000..3bf3d3844c --- /dev/null +++ b/tests/cisco_ios/show_version/cisco_ios_show_version5.yml @@ -0,0 +1,24 @@ +--- +parsed_sample: + - version: "16.12.4" + rommon: "IOS-XE" + hostname: "Switch-Hostname" + uptime: "7 weeks, 17 hours, 14 minutes" + uptime_years: "" + uptime_weeks: "7" + uptime_days: "" + uptime_hours: "17" + uptime_minutes: "14" + reload_reason: "Reload Command" + running_image: "packages.conf" + hardware: + - "C9500-48Y4C" + - "C9500-48Y4C" + serial: + - "CAT23XXXXXX" + - "CAT23XXXXXX" + config_register: "" + mac: + - "a0:b4:39:00:00:e0" + - "a0:b4:39:00:00:00" + restarted: "20:57:50 EET Mon Mar 8 2021" From 2574fdce1f13e42a6dac9d44db1fac5dae73caaf Mon Sep 17 00:00:00 2001 From: nsnelson402 <88199113+nsnelson402@users.noreply.github.com> Date: Thu, 19 Aug 2021 15:01:07 +0000 Subject: [PATCH 607/628] Updated template and created test. (#965) - Updates cisco_ios_show_ip_access-lists --- .../cisco_ios_show_ip_access-lists.textfsm | 2 +- .../cisco_ios_show_ip_access-lists_964.raw | 102 + .../cisco_ios_show_ip_access-lists_964.yml | 2858 +++++++++++++++++ 3 files changed, 2961 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.raw create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm index 0a60b0abd8..5fe2b9f874 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm @@ -22,7 +22,7 @@ Value DST_PORT_RANGE_END (\S+) Value FLAGS_MATCH (match-all|match-any) Value TCP_FLAG (((\+|-|)ack(\s*?)|(\+|-|)established(\s*?)|(\+|-|)fin(\s*?)|(\+|-|)fragments(\s*?)|(\+|-|)psh(\s*?)|(\+|-|)rst(\s*?)|(\+|-|)syn(\s*?)|urg(\s*?))+) Value LOG (log-input|log) -Value ICMP_TYPE (echo|echo-reply|administratively-prohibited|unreachable|port-unreachable|redirect|router-advertisement|router-solicitation|packet-too-big|time-exceeded|ttl-exceeded|parameter-problem) +Value ICMP_TYPE (administratively-prohibited|echo|echo-reply|mask-request|packet-too-big|parameter-problem|port-unreachable|redirect|router-advertisement|router-solicitation|time-exceeded|ttl-exceeded|unreachable) Value TIME (\S+) Value STATE (inactive|active) Value MATCHES (\d+) diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.raw new file mode 100644 index 0000000000..2b849aa73c --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.raw @@ -0,0 +1,102 @@ +Standard IP access list 99 + 10 permit 172.16.191.199 + 20 deny any log + 30 permit 10.0.10.0, wildcard bits 0.255.0.255 (20 matches) +Standard IP access list stdacl + 10 permit 10.1.1.1 +Extended IP access list test +Extended IP access list 101 + 10 permit tcp any host 10.1.1.1 eq www + 20 permit tcp any host 10.1.1.1 eq 443 log + 30 permit ahp any any log-input + 40 permit ahp any any log-input time-range test (active) + 50 permit ip any host 10.1.10.11 log time-range test2 (inactive) + 60 permit udp any range 16384 32767 10.1.1.0 0.0.0.255 range 16384 32767 + 70 permit udp any eq snmp bootpc 10.1.0.0 0.0.0.255 + 80 permit tcp 10.0.0.0 0.255.255.255 eq telnet ssh http 8080 host 10.1.0.0 neq telnet ssh + 90 permit tcp any any match-all +ack -fin log + 100 permit tcp host 10.1.1.1 any established + 110 permit tcp any 10.1.1.0 0.0.255.255 established psh + 120 deny esp any any precedence internet + 130 deny esp any any tos normal +Extended IP access list sample + 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp + 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 + 30 permit icmp 10.10.37.16 0.0.0.3 host 10.10.37.17 + 40 permit icmp 10.10.37.24 0.0.0.7 host 10.10.37.17 + 50 permit icmp 10.10.37.16 0.0.0.3 host 10.10.5.20 + 60 permit icmp 10.10.37.24 0.0.0.7 host 10.10.5.20 + 70 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.144 + 80 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.144 + 90 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.146 + 100 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.146 + 110 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.148 + 120 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.148 + 130 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.152 + 140 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.152 + 150 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.26 + 160 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.26 + 170 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.152 + 180 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.152 + 190 permit icmp 10.10.37.16 0.0.0.3 10.3.140.0 0.0.0.127 + 200 permit icmp 10.10.37.24 0.0.0.7 10.3.140.0 0.0.0.127 + 210 permit icmp 10.10.37.16 0.0.0.3 host 10.3.139.248 + 220 permit icmp 10.10.37.24 0.0.0.7 host 10.3.139.248 + 230 permit icmp 10.10.37.16 0.0.0.3 10.3.139.128 0.0.0.7 + 240 permit icmp 10.10.37.24 0.0.0.7 10.3.139.128 0.0.0.7 + 250 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4000 + 260 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4010 + 270 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4020 + 280 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4080 + 290 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4300 + 300 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4310 + 310 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4320 + 320 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4380 + 330 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4000 + 340 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4010 + 350 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4020 + 360 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4300 + 370 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4310 + 380 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4320 + 390 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4000 + 400 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4010 + 410 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4020 + 420 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4300 + 430 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4310 + 440 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4320 + 450 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4050 + 460 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4060 + 470 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4350 + 480 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4360 + 490 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4000 + 500 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4010 + 510 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4020 + 520 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4080 + 530 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4300 + 540 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4310 + 550 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4320 + 560 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4380 + 570 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.26 eq 4001 + 580 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.152 eq 4001 + 590 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 eq 9815 log time-range test (active) + 600 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 range 9821 9823 + 610 permit tcp 10.10.37.24 0.0.0.7 10.3.140.96 0.0.0.31 range 7400 7407 + 620 permit udp 10.10.37.16 0.0.0.3 host 10.3.139.133 range 13001 13191 + 630 permit udp 10.10.37.24 0.0.0.7 host 10.3.139.133 range 13001 13191 + 640 permit tcp 10.10.37.16 0.0.0.3 host 10.3.139.134 range 13001 13191 + 650 permit tcp 10.10.37.24 0.0.0.7 host 10.3.139.134 range 13001 13191 + 660 permit pim host 10.10.37.18 host 224.0.0.1 time-range test2 (inactive) +Extended IP access list test2 +Extended IP access list ios_show_ip_acl + 10 permit 53 any any log (123456 matches) + 20 permit ip any any log (23 matches) +Extended IP access list ntc-templates + 10 permit icmp host 10.10.10.10 any echo-reply + 20 permit icmp host 10.10.10.10 any administratively-prohibited (123456 matches) + 30 permit icmp host 10.10.10.10 any unreachable log + 40 permit icmp host 10.10.10.10 any redirect (900123456 matches) + 50 permit icmp 10.10.10.0 0.0.0.255 any ttl-exceeded (1278456 matches) + 60 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 port-unreachable + 70 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 parameter-problem log +Extended IP access list mask-request + 10 deny icmp any any mask-request diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml new file mode 100644 index 0000000000..fb87246d24 --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml @@ -0,0 +1,2858 @@ +--- +parsed_sample: + - acl_type: "Standard" + acl_name: "99" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "10" + action: "permit" + protocol: "" + src_host: "172.16.191.199" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "20" + action: "deny" + protocol: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "30" + action: "permit" + protocol: "" + src_host: "" + src_any: "" + src_network: "10.0.10.0" + src_wildcard: "0.255.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "20" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "10" + action: "permit" + protocol: "" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "test" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "443" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "30" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "40" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + icmp_type: "" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "50" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.10.11" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "60" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "16384" + src_port_range_end: "32767" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "16384" + dst_port_range_end: "32767" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "70" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "snmp bootpc" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.0.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "80" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.0.0.0" + src_wildcard: "0.255.255.255" + src_port_match: "eq" + src_port: "telnet ssh http 8080" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.0.0" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "neq" + dst_port: "telnet ssh" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "90" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-all" + tcp_flag: "+ack -fin" + log: "log" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "100" + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "110" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established psh" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "120" + action: "deny" + protocol: "esp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "precedence" + dst_port: "internet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "130" + action: "deny" + protocol: "esp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "tos" + dst_port: "normal" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "bgp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "80" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "90" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "100" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "110" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "120" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "130" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "140" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "150" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "160" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "170" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "180" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "190" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "200" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "210" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "220" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "230" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "240" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "250" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "260" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "270" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "280" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "290" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "300" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "310" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "320" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "330" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "340" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "350" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "360" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "370" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "380" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "390" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "400" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "410" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "420" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "430" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "440" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "450" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4050" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "460" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4060" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "470" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4350" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "480" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4360" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "490" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "500" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "510" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "520" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "530" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "540" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "550" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "560" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "570" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "580" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "590" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "eq" + dst_port: "9815" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "600" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "9821" + dst_port_range_end: "9823" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "610" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.96" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "7400" + dst_port_range_end: "7407" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "620" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "630" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "640" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "650" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "660" + action: "permit" + protocol: "pim" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "224.0.0.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "test2" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "10" + action: "permit" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "20" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "" + time: "" + state: "" + matches: "23" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "10" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "echo-reply" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "20" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "administratively-prohibited" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "redirect" + time: "" + state: "" + matches: "900123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "ttl-exceeded" + time: "" + state: "" + matches: "1278456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "port-unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + icmp_type: "parameter-problem" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "mask-request" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "mask-request" + line_num: "10" + action: "deny" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + icmp_type: "mask-request" + time: "" + state: "" + matches: "" From 6df274730373fee7bf650d0ec0bb568c1e81e11d Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Thu, 19 Aug 2021 10:32:27 -0500 Subject: [PATCH 608/628] release 2.2.2 (#967) --- CHANGELOG.md | 14 ++++++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce00b737e3..7c49178e83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [2.2.2](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.0...2.2.2) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists template needs updated to include additional ICMP_TYPE options [\#964](https://github.com/networktocode/ntc-templates/issues/964) +- cisco\_ios\_show\_version template needs updated to account for StackWise Virtual Domains [\#924](https://github.com/networktocode/ntc-templates/issues/924) + +**Merged pull requests:** + +- cisco\_ios\_show\_ip\_access-lists.textfsm: Updated to include mask-request in template. [\#965](https://github.com/networktocode/ntc-templates/pull/944) ([nsnelson402](https://github.com/nsnelson402)) +- cisco\_ios\_show\_version.textfsm: Updated to account for StackWise Virtual Domains template. [\#960](https://github.com/networktocode/ntc-templates/pull/960) ([itdependsnetworks](https://github.com/itdependsnetworks)) + ## [2.2.0](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.1.0...2.2.0) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index c8b263aff6..8d37898e1e 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.2.0" +__version__ = "2.2.2" diff --git a/pyproject.toml b/pyproject.toml index 923cb047e7..19b8d1a448 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.2.0" +version = "2.2.2" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From 2a52629dd2f9bb85a1bff672430b078a518dc3e8 Mon Sep 17 00:00:00 2001 From: Stephen Corry Date: Wed, 25 Aug 2021 13:45:05 -0400 Subject: [PATCH 609/628] Add Aruba AOS-CX command support (#927) --- ...access_interface_all_client-status.textfsm | 37 ++ .../aruba_aoscx_show_arp_all-vrfs.textfsm | 13 + .../aruba_aoscx_show_bfd_all-vrfs.textfsm | 23 + ...oscx_show_bgp_all-vrfs_all_summary.textfsm | 26 + ...oscx_show_bgp_all_all-vrfs_summary.textfsm | 26 + .../aruba_aoscx_show_interface.textfsm | 77 +++ ...ba_aoscx_show_interface_dom_detail.textfsm | 114 ++++ ...aruba_aoscx_show_ip_route_all-vrfs.textfsm | 14 + ...cx_show_lldp_neighbors-info_detail.textfsm | 33 + ...aruba_aoscx_show_mac-address-table.textfsm | 13 + .../aruba_aoscx_show_ntp_associations.textfsm | 14 + .../aruba_aoscx_show_vsf_detail.textfsm | 18 + ntc_templates/templates/index | 11 + ...ort-access_interface_all_client-status.raw | 340 ++++++++++ ...ort-access_interface_all_client-status.yml | 70 ++ .../show_arp_all-vrfs/show_arp_all-vrfs.raw | 6 + .../show_arp_all-vrfs/show_arp_all-vrfs.yml | 14 + .../show_bfd_all-vrfs/show_bfd_all-vrfs.raw | 10 + .../show_bfd_all-vrfs/show_bfd_all-vrfs.yml | 22 + ...ba_aoscx_show_bgp_all-vrfs_all_summary.raw | 21 + ...ba_aoscx_show_bgp_all-vrfs_all_summary.yml | 26 + .../show_interface/show_interface.raw | 505 +++++++++++++++ .../show_interface/show_interface.yml | 597 ++++++++++++++++++ .../show_interface_dom_detail.raw | 188 ++++++ .../show_interface_dom_detail.yml | 237 +++++++ .../show_ip_route_all-vrfs.raw | 33 + .../show_ip_route_all-vrfs.yml | 117 ++++ .../show_lldp_neighbors-info_detail.raw | 192 ++++++ .../show_lldp_neighbors-info_detail.yml | 56 ++ .../show_mac-address-table.raw | 10 + .../show_mac-address-table.yml | 22 + .../show_ntp_associations.raw | 7 + .../show_ntp_associations.yml | 26 + .../show_vsf_detail/show_vsf_detail.raw | 34 + .../show_vsf_detail/show_vsf_detail.yml | 23 + tests/test_index_order.py | 1 + 36 files changed, 2976 insertions(+) create mode 100644 ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_arp_all-vrfs.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_bfd_all-vrfs.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_interface.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_interface_dom_detail.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_ip_route_all-vrfs.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_lldp_neighbors-info_detail.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_ntp_associations.textfsm create mode 100644 ntc_templates/templates/aruba_aoscx_show_vsf_detail.textfsm create mode 100644 tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.raw create mode 100644 tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.yml create mode 100644 tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.raw create mode 100644 tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.yml create mode 100644 tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.raw create mode 100644 tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.yml create mode 100644 tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.raw create mode 100644 tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.yml create mode 100644 tests/aruba_aoscx/show_interface/show_interface.raw create mode 100644 tests/aruba_aoscx/show_interface/show_interface.yml create mode 100644 tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.raw create mode 100644 tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.yml create mode 100644 tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.raw create mode 100644 tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.yml create mode 100644 tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.raw create mode 100644 tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.yml create mode 100644 tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw create mode 100644 tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml create mode 100644 tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.raw create mode 100644 tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.yml create mode 100644 tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.raw create mode 100644 tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.yml diff --git a/ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm b/ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm new file mode 100644 index 0000000000..685e1ac539 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm @@ -0,0 +1,37 @@ +Value CLIENT_MAC (\S+) +Value CLIENT_NAME (\S+) +Value SESSION_PORT (\S+) +Value ROLE (\S+) + +Start + ^\s*Port\s+Access\s+Client\s+Status\s+Details + ^\s*Client\s+${CLIENT_MAC},\s+${CLIENT_NAME} + ^\s*=+ + ^\s+Session\s+Details -> Session + ^\s+Authentication\s+Details -> Authentication + ^\s+Authorization\s+Details -> Authorization + ^\s*$$ + ^. -> Error + +Session + ^\s+-+ + ^\s+Port\s+:\s*${SESSION_PORT} + ^\s+Session.*$$ + ^\s+IPv4.*$$ + ^\s+IPv6.*$$ + ^\s*$$ -> Start + ^. -> Error + +Authentication + ^\s+-+ + ^\s+Status.*$$ + ^\s+Auth\s*Precedence.*$$ -> Start + ^\s*$$ -> Start + ^. -> Error + +Authorization + ^\s*-+ + ^\s+Role\s+:\s+${ROLE} + ^\s+Status.*$$ + ^\s*$$ -> Record Start + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_arp_all-vrfs.textfsm b/ntc_templates/templates/aruba_aoscx_show_arp_all-vrfs.textfsm new file mode 100644 index 0000000000..d088973322 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_arp_all-vrfs.textfsm @@ -0,0 +1,13 @@ +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value MAC (\S+) +Value PORT_ID (\S+) +Value PHYSICAL_PORT (\S+) +Value STATE ([a-z]+) +Value VRF (\S+) + +Start + ^IPv4\s+Address\s+MAC\s+Port\s+Physical\s+Port\s+State + ^${ADDRESS}\s+${MAC}\s+${PORT_ID}\s+${PHYSICAL_PORT}\s+${STATE}\s+${VRF} -> Record + ^\s*-* + ^\s*Total.*$$ + ^. -> Error diff --git a/ntc_templates/templates/aruba_aoscx_show_bfd_all-vrfs.textfsm b/ntc_templates/templates/aruba_aoscx_show_bfd_all-vrfs.textfsm new file mode 100644 index 0000000000..2c886a91d3 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_bfd_all-vrfs.textfsm @@ -0,0 +1,23 @@ +Value Filldown ADMIN_STATUS (\w+) +Value Filldown SRC_IP (\S+) +Value SESSION (\d+) +Value IFACE (\S+) +Value VRF (\S+) +Value SOURCE_IP (\d+\.\d+\.\d+\.\d+) +Value DESTINATION_IP (\d+\.\d+\.\d+\.\d+) +Value ECHO (\w+) +Value STATE (\w+) +Value APPLICATION (\w+) + + +Start + ^Admin\s+status:\s+${ADMIN_STATUS} + ^Echo\s+source\s+IP:\s+${SRC_IP} + ^Statistics:.* + ^Total.*$$ + ^Session\s+Interface\s+VRF\s+Source\s+IP\s+Destination\s+IP\s+Echo\s+State\s+Protocol + ^\s*-+ + ^${SESSION}\s+${IFACE}\s+${VRF}\s+${SOURCE_IP}\s+${DESTINATION_IP}\s+${ECHO}\s+${STATE}\s+${APPLICATION} -> Record + ^. -> Error + +EOF \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm b/ntc_templates/templates/aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm new file mode 100644 index 0000000000..79e299a96f --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm @@ -0,0 +1,26 @@ +Value Filldown VRF (\S+) +Value Filldown AF (\S+) +Value NEIGHBOUR (\d+\.\d+\.\d+\.\d+) +Value REMOTE_AS (\d+) +Value STATE (\w+) +Value ADMIN_STATUS (\w+) + +Start + ^VRF\s+:\s+${VRF} + ^BGP\sSummary + ^-+ + ^\s*Local\s*AS.* + ^\s*Peers.* + ^\s*Cfg.* + ^\s*$$ + ^Address-family\s:\s${AF} -> Af + ^. -> Error + +Af + ^-+ + ^\s+Neighbor\s+Remote-AS\s+MsgRcvd\s+MsgSent\s+Up/Down\s+Time\s+State\s+AdminStatus + ^\s+${NEIGHBOUR}\s+${REMOTE_AS}\s+\d+\s+\d+\s+\S+\s+${STATE}\s+${ADMIN_STATUS} -> Record + ^\s*$$ -> Clear Start + ^. -> Error + +EOF \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm b/ntc_templates/templates/aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm new file mode 100644 index 0000000000..79e299a96f --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm @@ -0,0 +1,26 @@ +Value Filldown VRF (\S+) +Value Filldown AF (\S+) +Value NEIGHBOUR (\d+\.\d+\.\d+\.\d+) +Value REMOTE_AS (\d+) +Value STATE (\w+) +Value ADMIN_STATUS (\w+) + +Start + ^VRF\s+:\s+${VRF} + ^BGP\sSummary + ^-+ + ^\s*Local\s*AS.* + ^\s*Peers.* + ^\s*Cfg.* + ^\s*$$ + ^Address-family\s:\s${AF} -> Af + ^. -> Error + +Af + ^-+ + ^\s+Neighbor\s+Remote-AS\s+MsgRcvd\s+MsgSent\s+Up/Down\s+Time\s+State\s+AdminStatus + ^\s+${NEIGHBOUR}\s+${REMOTE_AS}\s+\d+\s+\d+\s+\S+\s+${STATE}\s+${ADMIN_STATUS} -> Record + ^\s*$$ -> Clear Start + ^. -> Error + +EOF \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_interface.textfsm b/ntc_templates/templates/aruba_aoscx_show_interface.textfsm new file mode 100644 index 0000000000..d8147bd826 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_interface.textfsm @@ -0,0 +1,77 @@ +Value INTERFACE (\S+) +Value LINK_STATUS (\w+) +Value LINK_ADMIN (\w+) +Value LINK_STATE_INFO (\.*) +Value LINK_TRANSITIONS (\d+) +Value INTERFACE_DESC (.*) +Value HW_TYPE (\w+) +Value MAC (\S+) +Value MTU (\d+) +Value IF_TYPE (\S+) +Value DUPLEX (\w+) +Value QOS_TRUST (\S+) +Value SPEED (\S+\s\S+) +Value AUTO_NEG (\S+) +Value FLOW_CONTROL (\S+) +Value ERROR_CONTROL (\S+) +Value VLAN_MODE (\S+) +Value VLAN_ACCESS (\S+) +Value RX_TOTAL_PACKETS (\d+) +Value RX_TOTAL_BYTES (\d+) +Value RX_UNICAST_PACKETS (\d+) +Value RX_MCAST_PACKETS (\d+) +Value RX_BROADCAST_PACKETS (\d+) +Value RX_ERRORS (\d+) +Value RX_DROPPED (\d+) +Value RX_CRC_FCS (\d+) +Value TX_TOTAL_PACKETS (\d+) +Value TX_TOTAL_BYTES (\d+) +Value TX_UNICAST_PACKETS (\d+) +Value TX_MCAST_PACKETS (\d+) +Value TX_BROADCAST_PACKETS (\d+) +Value TX_ERRORS (\d+) +Value TX_DROPPED (\d+) +Value TX_CRC_FCS (\d+) +Value TX_COLLISION (\d+) + +Start + ^\s*Interface\s*${INTERFACE}\s*is\s*${LINK_STATUS} + ^\s*Admin\s*state\s*is\s*${LINK_ADMIN} + ^\s*Link\s*transitions:\s*${LINK_TRANSITIONS} + ^\s*Description:\s${INTERFACE_DESC} + ^\s*State\s*information:\s*${LINK_STATE_INFO} + ^\s*Hardware:\s*${HW_TYPE},?\s*MAC\s*Address:\s+${MAC} + ^\s*MTU\s*${MTU} + ^\s*Type\s*${IF_TYPE} + ^\s*${DUPLEX}-duplex + ^\s*qos\s*trust\s*${QOS_TRUST} + ^\s*Speed\s*${SPEED} + ^\s*Auto-negotiation\s*is\s*${AUTO_NEG} + ^\s*Flow-control: ${FLOW_CONTROL} + ^\s*Error-control: ${ERROR_CONTROL} + ^\s*VLAN Mode: ${VLAN_MODE} + ^\s*Access VLAN: ${VLAN_ACCESS} + ^\s*Rx -> Rx + ^\s*Description: + ^. -> Error + +Rx + ^\s*${RX_TOTAL_PACKETS} total packets\s*${RX_TOTAL_BYTES} total bytes + ^\s*${RX_UNICAST_PACKETS} unicast packets + ^\s*${RX_MCAST_PACKETS} multicast packets + ^\s*${RX_BROADCAST_PACKETS} broadcast packets + ^\s*${RX_ERRORS} errors\s*${RX_DROPPED} dropped + ^\s*${RX_CRC_FCS} CRC/FCS + ^\s*Tx -> Tx + ^. -> Error + +Tx + ^\s*${TX_TOTAL_PACKETS} total packets\s*${TX_TOTAL_BYTES} total bytes + ^\s*${TX_UNICAST_PACKETS} unicast packets + ^\s*${TX_MCAST_PACKETS} multicast packets + ^\s*${TX_BROADCAST_PACKETS} broadcast packets + ^\s*${TX_ERRORS} errors\s*${TX_DROPPED} dropped + ^\s*${TX_CRC_FCS} CRC/FCS + ^\s*${TX_COLLISION}\s*collision + ^\s*$$ -> Record Start + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_interface_dom_detail.textfsm b/ntc_templates/templates/aruba_aoscx_show_interface_dom_detail.textfsm new file mode 100644 index 0000000000..dfbad07d31 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_interface_dom_detail.textfsm @@ -0,0 +1,114 @@ +Value IFACE (\S+) +Value IFACE_TYPE (\S+) +Value List CHANNEL (\d+) +Value TEMPERATURE (-?\d+\.\d+\w) +Value TEMP_HIGH_ALARM_TRIG (\w+) +Value TEMP_LOW_ALARM_TRIG (\w+) +Value TEMP_HIGH_WARN_TRIG (\w+) +Value TEMP_LOW_WARN_TRIG (\w+) +Value TEMP_HIGH_ALARM_THRESHOLD (-?\d+\.\d+\w) +Value TEMP_LOW_ALARM_THRESHOLD (-?\d+\.\d+\w) +Value TEMP_HIGH_WARN_THRESHOLD (-?\d+\.\d+\w) +Value TEMP_LOW_WARN_THRESHOLD (-?\d+\.\d+\w) +Value VOLTAGE (\d+\.\d+\w) +Value VOLT_HIGH_ALARM_TRIG (\w+) +Value VOLT_LOW_ALARM_TRIG (\w+) +Value VOLT_HIGH_WARN_TRIG (\w+) +Value VOLT_LOW_WARN_TRIG (\w+) +Value VOLT_HIGH_ALARM_THRESHOLD (\d+\.\d+\w) +Value VOLT_LOW_ALARM_THRESHOLD (\d+\.\d+\w) +Value VOLT_HIGH_WARN_THRESHOLD (\d+\.\d+\w) +Value VOLT_LOW_WARN_THRESHOLD (\d+\.\d+\w) +Value List TX_BIAS (\d+\.\d+\w+) +Value List TX_BIAS_HIGH_ALARM_TRIG (\w+) +Value List TX_BIAS_LOW_ALARM_TRIG (\w+) +Value List TX_BIAS_HIGH_WARN_TRIG (\w+) +Value List TX_BIAS_LOW_WARN_TRIG (\w+) +Value List TX_BIAS_HIGH_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List TX_BIAS_LOW_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List TX_BIAS_HIGH_WARN_THRESHOLD (\d+\.\d+\w+) +Value List TX_BIAS_LOW_WARN_THRESHOLD (\d+\.\d+\w+) +Value List RX_MW (\d+\.\d+\w+) +Value List RX_HIGH_ALARM_TRIG (\w+) +Value List RX_LOW_ALARM_TRIG (\w+) +Value List RX_HIGH_WARN_TRIG (\w+) +Value List RX_LOW_WARN_TRIG (\w+) +Value List RX_HIGH_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List RX_LOW_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List RX_HIGH_WARN_THRESHOLD (\d+\.\d+\w+) +Value List RX_LOW_WARN_THRESHOLD (\d+\.\d+\w+) +Value List TX_MW (\d+\.\d+\w+) +Value List TX_HIGH_ALARM_TRIG (\w+) +Value List TX_LOW_ALARM_TRIG (\w+) +Value List TX_HIGH_WARN_TRIG (\w+) +Value List TX_LOW_WARN_TRIG (\w+) +Value List TX_HIGH_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List TX_LOW_ALARM_THRESHOLD (\d+\.\d+\w+) +Value List TX_HIGH_WARN_THRESHOLD (\d+\.\d+\w+) +Value List TX_LOW_WARN_THRESHOLD (\d+\.\d+\w+) + + +Start + ^Transceiver -> Continue.Record + ^Transceiver\s+in\s+${IFACE} + ^\s+Type:\s${IFACE_TYPE} + ^\s+% No DOM information available -> Next.Clear + ^\s+Temperature:\s+${TEMPERATURE} -> Common + ^\s+Channel\s+${CHANNEL}: -> Common + ^\. -> Error + +Common + ^\s+Temperature high alarm: ${TEMP_HIGH_ALARM_TRIG} + ^\s+Temperature low alarm: ${TEMP_LOW_ALARM_TRIG} + ^\s+Temperature high warning: ${TEMP_HIGH_WARN_TRIG} + ^\s+Temperature low warning: ${TEMP_LOW_WARN_TRIG} + ^\s+Temperature high alarm threshold: ${TEMP_HIGH_ALARM_THRESHOLD} + ^\s+Temperature low alarm threshold: ${TEMP_LOW_ALARM_THRESHOLD} + ^\s+Temperature high warning threshold: ${TEMP_HIGH_WARN_THRESHOLD} + ^\s+Temperature low warning threshold: ${TEMP_LOW_WARN_THRESHOLD} + ^\s+Voltage:\s+${VOLTAGE} + ^\s+Voltage high alarm: ${VOLT_HIGH_ALARM_TRIG} + ^\s+Voltage low alarm: ${VOLT_LOW_ALARM_TRIG} + ^\s+Voltage high warning: ${VOLT_HIGH_WARN_TRIG} + ^\s+Voltage low warning: ${VOLT_LOW_WARN_TRIG} + ^\s+Voltage high alarm threshold: ${VOLT_HIGH_ALARM_THRESHOLD} + ^\s+Voltage low alarm threshold: ${VOLT_LOW_ALARM_THRESHOLD} + ^\s+Voltage high warning threshold: ${VOLT_HIGH_WARN_THRESHOLD} + ^\s+Voltage low warning threshold: ${VOLT_LOW_WARN_THRESHOLD} + ^\s+Tx Bias: ${TX_BIAS} -> Details + ^\s*$$ -> Start + ^\. -> Error + +Details + ^\s+Channel\s+${CHANNEL}: + ^\s+Tx Bias: ${TX_BIAS} + ^\s+Tx Bias high alarm: ${TX_BIAS_HIGH_ALARM_TRIG} + ^\s+Tx Bias low alarm: ${TX_BIAS_LOW_ALARM_TRIG} + ^\s+Tx Bias high warning: ${TX_BIAS_HIGH_WARN_TRIG} + ^\s+Tx Bias low warning: ${TX_BIAS_LOW_WARN_TRIG} + ^\s+Tx Bias high alarm threshold: ${TX_BIAS_HIGH_ALARM_THRESHOLD} + ^\s+Tx Bias low alarm threshold: ${TX_BIAS_LOW_ALARM_THRESHOLD} + ^\s+Tx Bias high warning threshold: ${TX_BIAS_HIGH_WARN_THRESHOLD} + ^\s+Tx Bias low warning threshold: ${TX_BIAS_LOW_WARN_THRESHOLD} + ^\s+Rx Power: ${RX_MW} + ^\s+Rx Power high alarm: ${RX_HIGH_ALARM_TRIG} + ^\s+Rx Power low alarm: ${RX_LOW_ALARM_TRIG} + ^\s+Rx Power high warning: ${RX_HIGH_WARN_TRIG} + ^\s+Rx Power low warning: ${RX_LOW_WARN_TRIG} + ^\s+Rx Power high alarm threshold: ${RX_HIGH_ALARM_THRESHOLD} + ^\s+Rx Power low alarm threshold: ${RX_LOW_ALARM_THRESHOLD} + ^\s+Rx Power high warning threshold: ${RX_HIGH_WARN_THRESHOLD} + ^\s+Rx Power low warning threshold: ${RX_LOW_WARN_THRESHOLD} + ^\s+Tx Power: ${TX_MW} + ^\s+Tx Power high alarm: ${TX_HIGH_ALARM_TRIG} + ^\s+Tx Power low alarm: ${TX_LOW_ALARM_TRIG} + ^\s+Tx Power high warning: ${TX_HIGH_WARN_TRIG} + ^\s+Tx Power low warning: ${TX_LOW_WARN_TRIG} + ^\s+Tx Power high alarm threshold: ${TX_HIGH_ALARM_THRESHOLD} + ^\s+Tx Power low alarm threshold: ${TX_LOW_ALARM_THRESHOLD} + ^\s+Tx Power high warning threshold: ${TX_HIGH_WARN_THRESHOLD} + ^\s+Tx Power low warning threshold: ${TX_LOW_WARN_THRESHOLD} + ^\s*$$ + ^Transceiver -> Continue.Record + ^Transceiver\s+in\s+${IFACE} -> Start + ^\. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_ip_route_all-vrfs.textfsm b/ntc_templates/templates/aruba_aoscx_show_ip_route_all-vrfs.textfsm new file mode 100644 index 0000000000..b207926779 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_ip_route_all-vrfs.textfsm @@ -0,0 +1,14 @@ +Value Filldown IP (\d+\.\d+\.\d+\.\d+\/\d+) +Value Filldown VRF (\S+) +Value List IFACE (\S+) +Value List METRIC (\[\S+\]) +Value List STATUS (\w+) + +Start + ^\s*Displaying.* + ^\s*$$ + ^\s*\S+\s+denotes.* + ^\d+\.\d+\.\d+\.\d+\/\d+\W\s+vrf\s+\S+ -> Continue.Record + ^${IP}\W\s+vrf\s+${VRF} + ^\s+via\s+${IFACE},\s+${METRIC},\s+${STATUS} + ^. -> Error diff --git a/ntc_templates/templates/aruba_aoscx_show_lldp_neighbors-info_detail.textfsm b/ntc_templates/templates/aruba_aoscx_show_lldp_neighbors-info_detail.textfsm new file mode 100644 index 0000000000..b0e1558ede --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_lldp_neighbors-info_detail.textfsm @@ -0,0 +1,33 @@ +Value Required LOCAL_PORT (\S+) +Value Required CHASSIS_ID (\S+) +Value CHASSIS_NAME (\S+) +Value CHASSIS_DESC (.+) +Value CAPABILITIES (.+) +Value CAPABILITIES_ENABLED (.+) +Value MGMT_ADDR (\S+) +Value PORT_ID (\S+) +Value PORT_DESC (\S+) + + +Start + ^Port\s*:\s*${LOCAL_PORT} + ^Neighbor\s*Chassis-Name\s*:\s*${CHASSIS_NAME} + ^Neighbor\s*Chassis-Description\s*:\s*${CHASSIS_DESC} + ^Neighbor\s*Chassis-ID\s*:\s*${CHASSIS_ID} + ^Neighbor\s*Management-Address\s*:\s*${MGMT_ADDR} + ^Chassis\s*Capabilities\s*Available\s*:\s*${CAPABILITIES} + ^Chassis\s*Capabilities\s*Enabled\s*:\s*${CAPABILITIES_ENABLED} + ^Neighbor\s*Port-ID\s*:\s*${PORT_ID} + ^Neighbor\s*Port-Desc\s*:\s*${PORT_DESC} + ^-+$$ -> Record + ^Neighbor\.* + ^TTL\.* + ^P[D|SE]\.* + ^Power\.* + ^\s+ -> Next + ^\S+#\.* -> Next + ^LLDP\.* + ^Total\.* + ^=+ + ^. -> Error + diff --git a/ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm b/ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm new file mode 100644 index 0000000000..d33936f28d --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_mac-address-table.textfsm @@ -0,0 +1,13 @@ +Value MAC (\S+) +Value VLAN (\d+) +Value TYPE ([a-z]+) +Value PORT (\S+) + +Start + ^MAC\s+age-time.*$$ + ^Number\s+of\s+MAC.*$$ + ^MAC\s+Address\s+VLAN\s+Type\s+Port + ^-+$$ + ^${MAC}\s+${VLAN}\s+${TYPE}\s+${PORT} -> Record + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/ntc_templates/templates/aruba_aoscx_show_ntp_associations.textfsm b/ntc_templates/templates/aruba_aoscx_show_ntp_associations.textfsm new file mode 100644 index 0000000000..fb9f08a663 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_ntp_associations.textfsm @@ -0,0 +1,14 @@ +Value ID (\W?\s+\d+) +Value NAME (\d+\.\d+\.\d+\.\d+) +Value REMOTE (\d+\.\d+\.\d+\.\d+) +Value REF_ID (\d+\.\d+\.\d+\.\d+) +Value STRATUM (\d+) +Value LAST (\d+) +Value POLL (\d+) +Value REACH (\d+) + +Start + ^-+$$ + ^\s+ID\s+NAME\s+REMOTE\s+REF-ID\s+ST\s+LAST\s+POLL\s+REACH + ^${ID}\s+${NAME}\s+${REMOTE}\s+${REF_ID}\s+${STRATUM}\s+${LAST}\s+${POLL}\s+${REACH} -> Record + ^. -> Error diff --git a/ntc_templates/templates/aruba_aoscx_show_vsf_detail.textfsm b/ntc_templates/templates/aruba_aoscx_show_vsf_detail.textfsm new file mode 100644 index 0000000000..9edd207632 --- /dev/null +++ b/ntc_templates/templates/aruba_aoscx_show_vsf_detail.textfsm @@ -0,0 +1,18 @@ +Value MEMBER_ID (\S+) +Value MAC (\S+) +Value STATUS (.*) +Value CPU (\d+%) +Value MEMORY (\d+%) +Value VSF_LINK_1 (.*) +Value VSF_LINK_2 (.*) + +Start + ^VSF\s*${MEMBER_ID} + ^Member.* -> Continue.Record + ^Member\s+ID\s+:\s+${MEMBER_ID} + ^\s+MAC\s+Address\s+:\s+${MAC} + ^\s+Status\s+:\s+${STATUS} + ^\s+CPU\sUtilization\s+:\s+${CPU} + ^\s+Memory\sUtilization\s+:\s+${MEMORY} + ^\s+VSF\s+Link\s+1\s+:${VSF_LINK_1} + ^\s+VSF\s+Link\s+2\s+:${VSF_LINK_2} diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 93121f8db1..caff0a197c 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -71,6 +71,17 @@ arista_eos_show_mlag.textfsm, .*, arista_eos, sh[[ow]] ml[[ag]] arista_eos_show_vlan.textfsm, .*, arista_eos, sh[[ow]] vl[[an]] arista_eos_show_vrf.textfsm, .*, arista_eos, sh[[ow]] vrf +aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm , .*, aruba_aoscx, sh[[ow]] aa[[a]] authe[[ntication]] port-access interface all client-status +aruba_aoscx_show_lldp_neighbors-info_detail.textfsm, .*, aruba_aoscx, sh[[ow]] ll[[dp]] nei[[ghbors-info]] d[[etail]] +aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm, .*, aruba_aoscx, sh[[ow]] bgp all-[[vrfs]] a[[ll]] s[[ummary]] +aruba_aoscx_show_interface_dom_detail.textfsm , .*, aruba_aoscx, sh[[ow]] int[[erface]] dom d[[etail]] +aruba_aoscx_show_ip_route_all-vrfs.textfsm, .*, aruba_aoscx, sh[[ow]] ip r[[oute]] a[[ll-vrfs]] +aruba_aoscx_show_mac-address-table.textfsm, .*, aruba_aoscx, sh[[ow]] ma[[c-address-table]] +aruba_aoscx_show_ntp_associations.textfsm, .*, aruba_aoscx, sh[[ow]] ntp as[[sociations]] +aruba_aoscx_show_arp_all-vrfs.textfsm, .*, aruba_aoscx, sh[[ow]] ar[[p]] a[[ll-vrfs]] +aruba_aoscx_show_bfd_all-vrfs.textfsm, .*, aruba_aoscx, sh[[ow]] bf[[d]] a[[ll-vrfs]] +aruba_aoscx_show_vsf_detail.textfsm , .*, aruba_aoscx, sh[[ow]] vsf d[[etail]] +aruba_aoscx_show_interface.textfsm , .*, aruba_aoscx, sh[[ow]] int[[erface]] aruba_os_show_ipv6_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ipv6 in[[terface]] b[[rief]] aruba_os_show_ip_interface_brief.textfsm, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]] diff --git a/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.raw b/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.raw new file mode 100644 index 0000000000..98277acc10 --- /dev/null +++ b/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.raw @@ -0,0 +1,340 @@ +Port Access Client Status Details + +Client 90:4c:81:cf:10:30, ap-0148-0125 +============================ + Session Details + --------------- + Port : 2/1/15 + Session Time : 5340956s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:0e:ec, ap-0148-0114 +============================ + Session Details + --------------- + Port : 1/1/4 + Session Time : 5340964s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 20:a6:cd:cf:6d:16, ap-0148-0111 +============================ + Session Details + --------------- + Port : 1/1/1 + Session Time : 5340969s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:1c:98, ap-0148-0123 +============================ + Session Details + --------------- + Port : 2/1/13 + Session Time : 5340966s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:0e:f4, ap-0148-0122 +============================ + Session Details + --------------- + Port : 2/1/12 + Session Time : 5340964s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:1b:ac, ap-0148-0115 +============================ + Session Details + --------------- + Port : 1/1/5 + Session Time : 5340962s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:1c:7e, ap-0148-0112 +============================ + Session Details + --------------- + Port : 1/1/2 + Session Time : 5340965s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:10:9a, ap-0148-0121 +============================ + Session Details + --------------- + Port : 2/1/11 + Session Time : 5340961s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:0f:8e, ap-0148-0120 +============================ + Session Details + --------------- + Port : 2/1/10 + Session Time : 5340960s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:10:ee, ap-0148-0113 +============================ + Session Details + --------------- + Port : 1/1/3 + Session Time : 5340966s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 00:20:85:e1:6e:4e, ups-0148-0003 +============================ + Session Details + --------------- + Port : 2/1/48 + Session Time : 5342401s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ups-3128-4 + Status : Applied + + +Client 90:4c:81:cf:0f:10, ap-0148-0118 +============================ + Session Details + --------------- + Port : 1/1/8 + Session Time : 5340968s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:0f:5c, ap-0148-0117 +============================ + Session Details + --------------- + Port : 1/1/7 + Session Time : 5340969s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:1c:92, ap-0148-0126 +============================ + Session Details + --------------- + Port : 2/1/16 + Session Time : 5340964s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:1c:74, ap-0148-0116 +============================ + Session Details + --------------- + Port : 1/1/6 + Session Time : 5340965s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:0f:e6, ap-0148-0124 +============================ + Session Details + --------------- + Port : 2/1/14 + Session Time : 5340965s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied + + +Client 90:4c:81:cf:10:1c, ap-0148-0119 +============================ + Session Details + --------------- + Port : 2/1/9 + Session Time : 5340964s + IPv4 Address : + IPv6 Address : + + Authentication Details + ---------------------- + Status : mac-auth Authenticated + Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted + + Authorization Details + ---------------------- + Role : dur_cx_ap-3116-4 + Status : Applied \ No newline at end of file diff --git a/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.yml b/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.yml new file mode 100644 index 0000000000..42aee13fc7 --- /dev/null +++ b/tests/aruba_aoscx/show_aaa_authentication_port-access_interface_all_client-status/show_aaa_authentication_port-access_interface_all_client-status.yml @@ -0,0 +1,70 @@ +--- +parsed_sample: + - client_mac: "90:4c:81:cf:10:30" + client_name: "ap-0148-0125" + session_port: "2/1/15" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:0e:ec" + client_name: "ap-0148-0114" + session_port: "1/1/4" + role: "dur_cx_ap-3116-4" + - client_mac: "20:a6:cd:cf:6d:16" + client_name: "ap-0148-0111" + session_port: "1/1/1" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:1c:98" + client_name: "ap-0148-0123" + session_port: "2/1/13" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:0e:f4" + client_name: "ap-0148-0122" + session_port: "2/1/12" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:1b:ac" + client_name: "ap-0148-0115" + session_port: "1/1/5" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:1c:7e" + client_name: "ap-0148-0112" + session_port: "1/1/2" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:10:9a" + client_name: "ap-0148-0121" + session_port: "2/1/11" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:0f:8e" + client_name: "ap-0148-0120" + session_port: "2/1/10" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:10:ee" + client_name: "ap-0148-0113" + session_port: "1/1/3" + role: "dur_cx_ap-3116-4" + - client_mac: "00:20:85:e1:6e:4e" + client_name: "ups-0148-0003" + session_port: "2/1/48" + role: "dur_cx_ups-3128-4" + - client_mac: "90:4c:81:cf:0f:10" + client_name: "ap-0148-0118" + session_port: "1/1/8" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:0f:5c" + client_name: "ap-0148-0117" + session_port: "1/1/7" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:1c:92" + client_name: "ap-0148-0126" + session_port: "2/1/16" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:1c:74" + client_name: "ap-0148-0116" + session_port: "1/1/6" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:0f:e6" + client_name: "ap-0148-0124" + session_port: "2/1/14" + role: "dur_cx_ap-3116-4" + - client_mac: "90:4c:81:cf:10:1c" + client_name: "ap-0148-0119" + session_port: "2/1/9" + role: "dur_cx_ap-3116-4" diff --git a/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.raw b/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.raw new file mode 100644 index 0000000000..86604d0152 --- /dev/null +++ b/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.raw @@ -0,0 +1,6 @@ +IPv4 Address MAC Port Physical Port State VRF +------------------------------------------------------------------------------------------------------------------ +172.25.0.185 d4:e8:80:af:05:7f 1/1/28 1/1/28 reachable default +172.25.0.189 d4:e8:80:af:04:7f 2/1/28 2/1/28 reachable default +Total Number Of ARP Entries Listed- 2. +------------------------------------------------------------------------------------------------------------------ \ No newline at end of file diff --git a/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.yml b/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.yml new file mode 100644 index 0000000000..dfc6a69dfb --- /dev/null +++ b/tests/aruba_aoscx/show_arp_all-vrfs/show_arp_all-vrfs.yml @@ -0,0 +1,14 @@ +--- +parsed_sample: + - address: "172.25.0.185" + mac: "d4:e8:80:af:05:7f" + port_id: "1/1/28" + physical_port: "1/1/28" + state: "reachable" + vrf: "default" + - address: "172.25.0.189" + mac: "d4:e8:80:af:04:7f" + port_id: "2/1/28" + physical_port: "2/1/28" + state: "reachable" + vrf: "default" diff --git a/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.raw b/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.raw new file mode 100644 index 0000000000..c05acaac54 --- /dev/null +++ b/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.raw @@ -0,0 +1,10 @@ +Admin status: enabled +Echo source IP: +Statistics: +Total number of control packets transmitted: 4200050 +Total number of control packets received: 4540241 +Total number of control packets dropped: 0 +Session Interface VRF Source IP Destination IP Echo State Protocol +------- --------- --------- --------------------------------------- --------------------------------------- -------- ------------ ------------ +1 2/1/28 default 172.25.0.190 172.25.0.189 enabled up bgp +2 1/1/28 default 172.25.0.186 172.25.0.185 enabled up bgp diff --git a/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.yml b/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.yml new file mode 100644 index 0000000000..e3da407ff8 --- /dev/null +++ b/tests/aruba_aoscx/show_bfd_all-vrfs/show_bfd_all-vrfs.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - admin_status: "enabled" + src_ip: "" + session: "1" + iface: "2/1/28" + vrf: "default" + source_ip: "172.25.0.190" + destination_ip: "172.25.0.189" + echo: "enabled" + state: "up" + application: "bgp" + - admin_status: "enabled" + src_ip: "" + session: "2" + iface: "1/1/28" + vrf: "default" + source_ip: "172.25.0.186" + destination_ip: "172.25.0.185" + echo: "enabled" + state: "up" + application: "bgp" diff --git a/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.raw b/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.raw new file mode 100644 index 0000000000..9be7b50bac --- /dev/null +++ b/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.raw @@ -0,0 +1,21 @@ +VRF : default +BGP Summary +----------- + Local AS : 4290020685 BGP Router Identifier : 192.168.100.1 + Peers : 4 Log Neighbor Changes : No + Cfg. Hold Time : 180 Cfg. Keep Alive : 60 + +Address-family : IPv4 Unicast +----------------------------- + Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus + 10.252.13.2 4290020685 0 0 00h:00m:00s Idle Up + 172.25.0.1 4290000000 116314 133774 02m:02w:06d Established Up + +Address-family : IPv6 Unicast +----------------------------- + +Address-family : L2VPN EVPN +----------------------------- + Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus + 172.18.174.17 4290000000 116310 133770 02m:02w:06d Established Up + 172.18.174.18 4290000000 116310 133742 02m:02w:06d Established Up \ No newline at end of file diff --git a/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.yml b/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.yml new file mode 100644 index 0000000000..61ddceef26 --- /dev/null +++ b/tests/aruba_aoscx/show_bgp_all-vrfs_all_summary/aruba_aoscx_show_bgp_all-vrfs_all_summary.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - vrf: "default" + af: "IPv4" + neighbour: "10.252.13.2" + remote_as: "4290020685" + state: "Idle" + admin_status: "Up" + - vrf: "default" + af: "IPv4" + neighbour: "172.25.0.1" + remote_as: "4290000000" + state: "Established" + admin_status: "Up" + - vrf: "default" + af: "L2VPN" + neighbour: "172.18.174.17" + remote_as: "4290000000" + state: "Established" + admin_status: "Up" + - vrf: "default" + af: "L2VPN" + neighbour: "172.18.174.18" + remote_as: "4290000000" + state: "Established" + admin_status: "Up" diff --git a/tests/aruba_aoscx/show_interface/show_interface.raw b/tests/aruba_aoscx/show_interface/show_interface.raw new file mode 100644 index 0000000000..534a74c00a --- /dev/null +++ b/tests/aruba_aoscx/show_interface/show_interface.raw @@ -0,0 +1,505 @@ +Interface 1/1/1 is up + Admin state is up + Link transitions: 1 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:80 + MTU 9198 + Type SFP+DAC1 + Full-duplex + qos trust none + Speed 10000 Mb/s + Auto-negotiation is off + Flow-control: off + Error-control: off + Rx + 2417650 total packets 457274611 total bytes + 0 unicast packets + 1831055 multicast packets + 586595 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 116722501 total packets 8432615310 total bytes + 0 unicast packets + 116722496 multicast packets + 5 broadcast packets + 0 errors 14 dropped + 0 collision + +Interface 1/1/2 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:7e + MTU 9198 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 14 dropped + 0 collision + +Interface 1/1/3 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:7c + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/4 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:7a + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/5 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:78 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/6 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:76 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/7 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:74 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/8 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:72 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/9 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:70 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/10 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:6e + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/11 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:6c + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/12 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:6a + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/13 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:68 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/14 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:66 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/15 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:64 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/16 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:62 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off + VLAN Mode: access + Access VLAN: 1 + Rx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 CRC/FCS + Tx + 0 total packets 0 total bytes + 0 unicast packets + 0 multicast packets + 0 broadcast packets + 0 errors 0 dropped + 0 collision + +Interface 1/1/17 is down + Admin state is up + State information: No XCVR installed + Link transitions: 0 + Description: + Hardware: Ethernet, MAC Address: 88:3a:30:97:d0:60 + MTU 1500 + Type -- + Full-duplex + qos trust none + Speed 0 Mb/s + Auto-negotiation is on + Flow-control: off + Error-control: off diff --git a/tests/aruba_aoscx/show_interface/show_interface.yml b/tests/aruba_aoscx/show_interface/show_interface.yml new file mode 100644 index 0000000000..1d2c1017e6 --- /dev/null +++ b/tests/aruba_aoscx/show_interface/show_interface.yml @@ -0,0 +1,597 @@ +--- +parsed_sample: + - interface: "1/1/1" + link_status: "up" + link_admin: "up" + link_state_info: "" + link_transitions: "1" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:80" + mtu: "9198" + if_type: "SFP+DAC1" + duplex: "Full" + qos_trust: "none" + speed: "10000 Mb/s" + auto_neg: "off" + flow_control: "off" + error_control: "off" + vlan_mode: "" + vlan_access: "" + rx_total_packets: "2417650" + rx_total_bytes: "457274611" + rx_unicast_packets: "0" + rx_mcast_packets: "1831055" + rx_broadcast_packets: "586595" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "116722501" + tx_total_bytes: "8432615310" + tx_unicast_packets: "0" + tx_mcast_packets: "116722496" + tx_broadcast_packets: "5" + tx_errors: "0" + tx_dropped: "14" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/2" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:7e" + mtu: "9198" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "" + vlan_access: "" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "14" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/3" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:7c" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/4" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:7a" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/5" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:78" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/6" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:76" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/7" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:74" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/8" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:72" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/9" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:70" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/10" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:6e" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/11" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:6c" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/12" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:6a" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/13" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:68" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/14" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:66" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/15" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:64" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/16" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:62" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "access" + vlan_access: "1" + rx_total_packets: "0" + rx_total_bytes: "0" + rx_unicast_packets: "0" + rx_mcast_packets: "0" + rx_broadcast_packets: "0" + rx_errors: "0" + rx_dropped: "0" + rx_crc_fcs: "0" + tx_total_packets: "0" + tx_total_bytes: "0" + tx_unicast_packets: "0" + tx_mcast_packets: "0" + tx_broadcast_packets: "0" + tx_errors: "0" + tx_dropped: "0" + tx_crc_fcs: "" + tx_collision: "0" + - interface: "1/1/17" + link_status: "down" + link_admin: "up" + link_state_info: "" + link_transitions: "0" + interface_desc: "" + hw_type: "Ethernet" + mac: "88:3a:30:97:d0:60" + mtu: "1500" + if_type: "--" + duplex: "Full" + qos_trust: "none" + speed: "0 Mb/s" + auto_neg: "on" + flow_control: "off" + error_control: "off" + vlan_mode: "" + vlan_access: "" + rx_total_packets: "" + rx_total_bytes: "" + rx_unicast_packets: "" + rx_mcast_packets: "" + rx_broadcast_packets: "" + rx_errors: "" + rx_dropped: "" + rx_crc_fcs: "" + tx_total_packets: "" + tx_total_bytes: "" + tx_unicast_packets: "" + tx_mcast_packets: "" + tx_broadcast_packets: "" + tx_errors: "" + tx_dropped: "" + tx_crc_fcs: "" + tx_collision: "" diff --git a/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.raw b/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.raw new file mode 100644 index 0000000000..3d7137f964 --- /dev/null +++ b/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.raw @@ -0,0 +1,188 @@ +Transceiver in 1/1/34 + Type: SFP+SR + Temperature: 23.60C + Temperature high alarm: Off + Temperature low alarm: Off + Temperature high warning: Off + Temperature low warning: Off + Temperature high alarm threshold: 75.00C + Temperature low alarm threshold: -5.00C + Temperature high warning threshold: 70.00C + Temperature low warning threshold: 0.00C + Voltage: 3.25V + Voltage high alarm: Off + Voltage low alarm: Off + Voltage high warning: Off + Voltage low warning: Off + Voltage high alarm threshold: 3.60V + Voltage low alarm threshold: 3.00V + Voltage high warning threshold: 3.50V + Voltage low warning threshold: 3.10V + Tx Bias: 5.64mA + Tx Bias high alarm: Off + Tx Bias low alarm: Off + Tx Bias high warning: Off + Tx Bias low warning: Off + Tx Bias high alarm threshold: 12.00mA + Tx Bias low alarm threshold: 1.00mA + Tx Bias high warning threshold: 10.50mA + Tx Bias low warning threshold: 2.50mA + Rx Power: 0.54mW + Rx Power high alarm: Off + Rx Power low alarm: Off + Rx Power high warning: Off + Rx Power low warning: Off + Rx Power high alarm threshold: 1.00mW + Rx Power low alarm threshold: 0.05mW + Rx Power high warning threshold: 0.79mW + Rx Power low warning threshold: 0.10mW + Tx Power: 0.59mW + Tx Power high alarm: Off + Tx Power low alarm: Off + Tx Power high warning: Off + Tx Power low warning: Off + Tx Power high alarm threshold: 1.00mW + Tx Power low alarm threshold: 0.15mW + Tx Power high warning threshold: 0.79mW + Tx Power low warning threshold: 0.19mW + +Transceiver in 1/1/47 + Type: SFP56CR + % No DOM information available + +Transceiver in 1/1/48 + Type: SFP28DAC0.65 + % No DOM information available + +Transceiver in 1/1/56 + Type: QSFP+LR4 + Temperature: 28.00C + Temperature high alarm: Off + Temperature low alarm: Off + Temperature high warning: Off + Temperature low warning: Off + Temperature high alarm threshold: 78.00C + Temperature low alarm threshold: -5.00C + Temperature high warning threshold: 75.00C + Temperature low warning threshold: 0.00C + Voltage: 3.25V + Voltage high alarm threshold: 3.63V + Voltage low alarm threshold: 2.97V + Voltage high warning threshold: 3.46V + Voltage low warning threshold: 3.10V + + Channel 1: + Tx Bias: 33.10mA + Tx Bias high alarm: Off + Tx Bias low alarm: Off + Tx Bias high warning: Off + Tx Bias low warning: Off + Tx Bias high alarm threshold: 105.00mA + Tx Bias low alarm threshold: 8.00mA + Tx Bias high warning threshold: 105.00mA + Tx Bias low warning threshold: 10.00mA + Rx Power: 0.48mW + Rx Power high alarm: Off + Rx Power low alarm: Off + Rx Power high warning: Off + Rx Power low warning: Off + Rx Power high alarm threshold: 2.14mW + Rx Power low alarm threshold: 0.02mW + Rx Power high warning threshold: 1.70mW + Rx Power low warning threshold: 0.04mW + Tx Power: 1.26mW + Tx Power high alarm: Off + Tx Power low alarm: Off + Tx Power high warning: Off + Tx Power low warning: Off + Tx Power high alarm threshold: 0.00mW + Tx Power low alarm threshold: 0.00mW + Tx Power high warning threshold: 0.00mW + Tx Power low warning threshold: 0.00mW + + Channel 2: + Tx Bias: 34.44mA + Tx Bias high alarm: Off + Tx Bias low alarm: Off + Tx Bias high warning: Off + Tx Bias low warning: Off + Tx Bias high alarm threshold: 105.00mA + Tx Bias low alarm threshold: 8.00mA + Tx Bias high warning threshold: 105.00mA + Tx Bias low warning threshold: 10.00mA + Rx Power: 0.55mW + Rx Power high alarm: Off + Rx Power low alarm: Off + Rx Power high warning: Off + Rx Power low warning: Off + Rx Power high alarm threshold: 2.14mW + Rx Power low alarm threshold: 0.02mW + Rx Power high warning threshold: 1.70mW + Rx Power low warning threshold: 0.04mW + Tx Power: 1.21mW + Tx Power high alarm: Off + Tx Power low alarm: Off + Tx Power high warning: Off + Tx Power low warning: Off + Tx Power high alarm threshold: 0.00mW + Tx Power low alarm threshold: 0.00mW + Tx Power high warning threshold: 0.00mW + Tx Power low warning threshold: 0.00mW + + Channel 3: + Tx Bias: 36.21mA + Tx Bias high alarm: Off + Tx Bias low alarm: Off + Tx Bias high warning: Off + Tx Bias low warning: Off + Tx Bias high alarm threshold: 105.00mA + Tx Bias low alarm threshold: 8.00mA + Tx Bias high warning threshold: 105.00mA + Tx Bias low warning threshold: 10.00mA + Rx Power: 0.52mW + Rx Power high alarm: Off + Rx Power low alarm: Off + Rx Power high warning: Off + Rx Power low warning: Off + Rx Power high alarm threshold: 2.14mW + Rx Power low alarm threshold: 0.02mW + Rx Power high warning threshold: 1.70mW + Rx Power low warning threshold: 0.04mW + Tx Power: 1.18mW + Tx Power high alarm: Off + Tx Power low alarm: Off + Tx Power high warning: Off + Tx Power low warning: Off + Tx Power high alarm threshold: 0.00mW + Tx Power low alarm threshold: 0.00mW + Tx Power high warning threshold: 0.00mW + Tx Power low warning threshold: 0.00mW + + Channel 4: + Tx Bias: 34.26mA + Tx Bias high alarm: Off + Tx Bias low alarm: Off + Tx Bias high warning: Off + Tx Bias low warning: Off + Tx Bias high alarm threshold: 105.00mA + Tx Bias low alarm threshold: 8.00mA + Tx Bias high warning threshold: 105.00mA + Tx Bias low warning threshold: 10.00mA + Rx Power: 0.40mW + Rx Power high alarm: Off + Rx Power low alarm: Off + Rx Power high warning: Off + Rx Power low warning: Off + Rx Power high alarm threshold: 2.14mW + Rx Power low alarm threshold: 0.02mW + Rx Power high warning threshold: 1.70mW + Rx Power low warning threshold: 0.04mW + Tx Power: 1.24mW + Tx Power high alarm: Off + Tx Power low alarm: Off + Tx Power high warning: Off + Tx Power low warning: Off + Tx Power high alarm threshold: 0.00mW + Tx Power low alarm threshold: 0.00mW + Tx Power high warning threshold: 0.00mW + Tx Power low warning threshold: 0.00mW \ No newline at end of file diff --git a/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.yml b/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.yml new file mode 100644 index 0000000000..61bf9b8862 --- /dev/null +++ b/tests/aruba_aoscx/show_interface_dom_detail/show_interface_dom_detail.yml @@ -0,0 +1,237 @@ +--- +parsed_sample: + - iface: "1/1/34" + iface_type: "SFP+SR" + channel: [] + temperature: "23.60C" + temp_high_alarm_trig: "Off" + temp_low_alarm_trig: "Off" + temp_high_warn_trig: "Off" + temp_low_warn_trig: "Off" + temp_high_alarm_threshold: "75.00C" + temp_low_alarm_threshold: "-5.00C" + temp_high_warn_threshold: "70.00C" + temp_low_warn_threshold: "0.00C" + voltage: "3.25V" + volt_high_alarm_trig: "Off" + volt_low_alarm_trig: "Off" + volt_high_warn_trig: "Off" + volt_low_warn_trig: "Off" + volt_high_alarm_threshold: "3.60V" + volt_low_alarm_threshold: "3.00V" + volt_high_warn_threshold: "3.50V" + volt_low_warn_threshold: "3.10V" + tx_bias: + - "5.64mA" + tx_bias_high_alarm_trig: + - "Off" + tx_bias_low_alarm_trig: + - "Off" + tx_bias_high_warn_trig: + - "Off" + tx_bias_low_warn_trig: + - "Off" + tx_bias_high_alarm_threshold: + - "12.00mA" + tx_bias_low_alarm_threshold: + - "1.00mA" + tx_bias_high_warn_threshold: + - "10.50mA" + tx_bias_low_warn_threshold: + - "2.50mA" + rx_mw: + - "0.54mW" + rx_high_alarm_trig: + - "Off" + rx_low_alarm_trig: + - "Off" + rx_high_warn_trig: + - "Off" + rx_low_warn_trig: + - "Off" + rx_high_alarm_threshold: + - "1.00mW" + rx_low_alarm_threshold: + - "0.05mW" + rx_high_warn_threshold: + - "0.79mW" + rx_low_warn_threshold: + - "0.10mW" + tx_mw: + - "0.59mW" + tx_high_alarm_trig: + - "Off" + tx_low_alarm_trig: + - "Off" + tx_high_warn_trig: + - "Off" + tx_low_warn_trig: + - "Off" + tx_high_alarm_threshold: + - "1.00mW" + tx_low_alarm_threshold: + - "0.15mW" + tx_high_warn_threshold: + - "0.79mW" + tx_low_warn_threshold: + - "0.19mW" + - iface: "1/1/56" + iface_type: "QSFP+LR4" + channel: + - "1" + - "2" + - "3" + - "4" + temperature: "28.00C" + temp_high_alarm_trig: "Off" + temp_low_alarm_trig: "Off" + temp_high_warn_trig: "Off" + temp_low_warn_trig: "Off" + temp_high_alarm_threshold: "78.00C" + temp_low_alarm_threshold: "-5.00C" + temp_high_warn_threshold: "75.00C" + temp_low_warn_threshold: "0.00C" + voltage: "3.25V" + volt_high_alarm_trig: "" + volt_low_alarm_trig: "" + volt_high_warn_trig: "" + volt_low_warn_trig: "" + volt_high_alarm_threshold: "3.63V" + volt_low_alarm_threshold: "2.97V" + volt_high_warn_threshold: "3.46V" + volt_low_warn_threshold: "3.10V" + tx_bias: + - "33.10mA" + - "34.44mA" + - "36.21mA" + - "34.26mA" + tx_bias_high_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_bias_low_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_bias_high_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_bias_low_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_bias_high_alarm_threshold: + - "105.00mA" + - "105.00mA" + - "105.00mA" + - "105.00mA" + tx_bias_low_alarm_threshold: + - "8.00mA" + - "8.00mA" + - "8.00mA" + - "8.00mA" + tx_bias_high_warn_threshold: + - "105.00mA" + - "105.00mA" + - "105.00mA" + - "105.00mA" + tx_bias_low_warn_threshold: + - "10.00mA" + - "10.00mA" + - "10.00mA" + - "10.00mA" + rx_mw: + - "0.48mW" + - "0.55mW" + - "0.52mW" + - "0.40mW" + rx_high_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + rx_low_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + rx_high_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + rx_low_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + rx_high_alarm_threshold: + - "2.14mW" + - "2.14mW" + - "2.14mW" + - "2.14mW" + rx_low_alarm_threshold: + - "0.02mW" + - "0.02mW" + - "0.02mW" + - "0.02mW" + rx_high_warn_threshold: + - "1.70mW" + - "1.70mW" + - "1.70mW" + - "1.70mW" + rx_low_warn_threshold: + - "0.04mW" + - "0.04mW" + - "0.04mW" + - "0.04mW" + tx_mw: + - "1.26mW" + - "1.21mW" + - "1.18mW" + - "1.24mW" + tx_high_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_low_alarm_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_high_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_low_warn_trig: + - "Off" + - "Off" + - "Off" + - "Off" + tx_high_alarm_threshold: + - "0.00mW" + - "0.00mW" + - "0.00mW" + - "0.00mW" + tx_low_alarm_threshold: + - "0.00mW" + - "0.00mW" + - "0.00mW" + - "0.00mW" + tx_high_warn_threshold: + - "0.00mW" + - "0.00mW" + - "0.00mW" + - "0.00mW" + tx_low_warn_threshold: + - "0.00mW" + - "0.00mW" + - "0.00mW" + - "0.00mW" diff --git a/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.raw b/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.raw new file mode 100644 index 0000000000..fcf6b97bf3 --- /dev/null +++ b/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.raw @@ -0,0 +1,33 @@ +Displaying ipv4 routes selected for forwarding + +'[x/y]' denotes [distance/metric] + +0.0.0.0/0, vrf default + via 172.25.0.189, [20/0], bgp + via 172.25.0.185, [20/0], bgp +10.252.14.109/32, vrf default + via loopback0, [0/0], local +10.252.22.128/26, vrf default + via vlan3564, [0/0], connected +10.252.22.129/32, vrf default + via vlan3564, [0/0], local +10.252.34.224/27, vrf default + via vlan3560, [0/0], connected +10.252.34.225/32, vrf default + via vlan3560, [0/0], local +10.252.71.0/25, vrf default + via vlan3561, [0/0], connected +10.252.71.1/32, vrf default + via vlan3561, [0/0], local +10.252.151.0/24, vrf default + via vlan3590, [0/0], connected +10.252.151.1/32, vrf default + via vlan3590, [0/0], local +172.25.0.184/30, vrf default + via 1/1/28, [0/0], connected +172.25.0.186/32, vrf default + via 1/1/28, [0/0], local +172.25.0.188/30, vrf default + via 2/1/28, [0/0], connected +172.25.0.190/32, vrf default + via 2/1/28, [0/0], local \ No newline at end of file diff --git a/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.yml b/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.yml new file mode 100644 index 0000000000..9742c0d9ff --- /dev/null +++ b/tests/aruba_aoscx/show_ip_route_all-vrfs/show_ip_route_all-vrfs.yml @@ -0,0 +1,117 @@ +--- +parsed_sample: + - ip: "0.0.0.0/0" + vrf: "default" + iface: + - "172.25.0.189" + - "172.25.0.185" + metric: + - "[20/0]" + - "[20/0]" + status: + - "bgp" + - "bgp" + - ip: "10.252.14.109/32" + vrf: "default" + iface: + - "loopback0" + metric: + - "[0/0]" + status: + - "local" + - ip: "10.252.22.128/26" + vrf: "default" + iface: + - "vlan3564" + metric: + - "[0/0]" + status: + - "connected" + - ip: "10.252.22.129/32" + vrf: "default" + iface: + - "vlan3564" + metric: + - "[0/0]" + status: + - "local" + - ip: "10.252.34.224/27" + vrf: "default" + iface: + - "vlan3560" + metric: + - "[0/0]" + status: + - "connected" + - ip: "10.252.34.225/32" + vrf: "default" + iface: + - "vlan3560" + metric: + - "[0/0]" + status: + - "local" + - ip: "10.252.71.0/25" + vrf: "default" + iface: + - "vlan3561" + metric: + - "[0/0]" + status: + - "connected" + - ip: "10.252.71.1/32" + vrf: "default" + iface: + - "vlan3561" + metric: + - "[0/0]" + status: + - "local" + - ip: "10.252.151.0/24" + vrf: "default" + iface: + - "vlan3590" + metric: + - "[0/0]" + status: + - "connected" + - ip: "10.252.151.1/32" + vrf: "default" + iface: + - "vlan3590" + metric: + - "[0/0]" + status: + - "local" + - ip: "172.25.0.184/30" + vrf: "default" + iface: + - "1/1/28" + metric: + - "[0/0]" + status: + - "connected" + - ip: "172.25.0.186/32" + vrf: "default" + iface: + - "1/1/28" + metric: + - "[0/0]" + status: + - "local" + - ip: "172.25.0.188/30" + vrf: "default" + iface: + - "2/1/28" + metric: + - "[0/0]" + status: + - "connected" + - ip: "172.25.0.190/32" + vrf: "default" + iface: + - "2/1/28" + metric: + - "[0/0]" + status: + - "local" diff --git a/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.raw b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.raw new file mode 100644 index 0000000000..cf38c04014 --- /dev/null +++ b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.raw @@ -0,0 +1,192 @@ +sw-0620-0001# show lldp neighbor-info detail +LLDP Neighbor Information +========================= +Total Neighbor Entries : 6 +Total Neighbor Entries Deleted : 0 +Total Neighbor Entries Dropped : 0 +Total Neighbor Entries Aged-Out : 0 +-------------------------------------------------------------------------------- +Port : 1/1/1 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : ap-9999-335-fe +Neighbor Chassis-Description : ArubaOS (MODEL: 335), Version Aruba AP +Neighbor Chassis-ID : 70:3a:0e:cd:41:fe +Neighbor Management-Address : 10.252.99.12 +Chassis Capabilities Available : Bridge, WLAN +Chassis Capabilities Enabled : WLAN +Neighbor Port-ID : 70:3a:0e:cd:41:fe +Neighbor Port-Desc : eth0 +Neighbor Port VLAN ID : +TTL : 120 +Neighbor PoE information : DOT3 +Neighbor Power Type : Type 2 PD +Neighbor Power Priority : Unknown +Neighbor Power Source : PSE +PD Requested Power Value : 25.5 W +PSE Allocated Power Value : 25.5 W +Neighbor Power Supported : No +Neighbor Power Enabled : No +Neighbor Power Class : Class4 +Neighbor Power Paircontrol : No +PSE Power Pairs : SIGNAL +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, FDX_APAUSE, FDX_PAUSE, 100 BASE_TXFD, Other +Neighbor MAU type : +-------------------------------------------------------------------------------- +Port : 1/1/2 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : ap-9999-535-fe +Neighbor Chassis-Description : ArubaOS (MODEL: 535), Version Aruba AP +Neighbor Chassis-ID : 00:4e:35:c5:d2:2e +Neighbor Management-Address : 10.252.99.11 +Chassis Capabilities Available : Bridge, WLAN +Chassis Capabilities Enabled : WLAN +Neighbor Port-ID : 00:4e:35:c5:d2:2e +Neighbor Port-Desc : eth0 +Neighbor Port VLAN ID : +TTL : 120 + +Neighbor PoE information : DOT3 +Neighbor Power Type : Type 3 Single Signature PD +Neighbor Power Priority : Unknown +Neighbor Power Source : PSE +PD Requested Power Value : 32.1 W +PSE Allocated Power Value : 32.1 W +Neighbor Power Supported : No +Neighbor Power Enabled : No +Neighbor Power Class : Class5 +Neighbor Power Paircontrol : No +PSE Power Pairs : SIGNAL +PSE Allocated Power Value Alt A: 0.0 W +PD Requested Power Value Mode A: 0.0 W +PSE Allocated Power Value Alt B: 0.0 W +PD Requested Power Value Mode B: 0.0 W +Power At PD Powered Interface : 0.0 W +Neighbor Powered Status : Single Signature PD +Neighbor Power Class Pair A : - +Neighbor Power Class Pair B : - +Powering on both PD modes : No +PD load electrically isolated : No +Neighbor PD Autoclass Request : No +Neighbor Power Down Request : No +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, FDX_APAUSE, FDX_PAUSE, 100 BASE_TXFD, Other +Neighbor MAU type : +-------------------------------------------------------------------------------- +Port : 1/1/52 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : rtr-agg-0620-a +Neighbor Chassis-Description : Aruba JL635A GL.10.05.0021 +Neighbor Chassis-ID : 90:20:c2:bf:ae:00 +Neighbor Management-Address : 10.252.15.17 +Chassis Capabilities Available : Bridge, Router +Chassis Capabilities Enabled : Bridge, Router +Neighbor Port-ID : 1/1/1 +Neighbor Port-Desc : 1/1/1 +Neighbor Port VLAN ID : 3560 +TTL : 120 +-------------------------------------------------------------------------------- +Port : 2/1/1 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : ap-9999-335-fe +Neighbor Chassis-Description : ArubaOS (MODEL: 335), Version Aruba AP +Neighbor Chassis-ID : 70:3a:0e:cd:41:fe +Neighbor Management-Address : 10.252.99.12 +Chassis Capabilities Available : Bridge, WLAN +Chassis Capabilities Enabled : WLAN +Neighbor Port-ID : 70:3a:0e:cd:41:ff +Neighbor Port-Desc : eth1 +Neighbor Port VLAN ID : +TTL : 120 +Neighbor PoE information : DOT3 +Neighbor Power Type : Type 2 PD +Neighbor Power Priority : Unknown +Neighbor Power Source : PSE +PD Requested Power Value : 25.5 W +PSE Allocated Power Value : 25.5 W +Neighbor Power Supported : No +Neighbor Power Enabled : No +Neighbor Power Class : Class4 +Neighbor Power Paircontrol : No +PSE Power Pairs : SIGNAL +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, FDX_APAUSE, FDX_PAUSE, 100 BASE_TXFD, 100 BASE_TX, 10 BASET_FD, 10 BASE_T +Neighbor MAU type : 1000 BASETFD +-------------------------------------------------------------------------------- +Port : 2/1/2 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : ap-9999-535-fe +Neighbor Chassis-Description : ArubaOS (MODEL: 535), Version Aruba AP +Neighbor Chassis-ID : 00:4e:35:c5:d2:2e +Neighbor Management-Address : 10.252.99.11 +Chassis Capabilities Available : Bridge, WLAN +Chassis Capabilities Enabled : WLAN +Neighbor Port-ID : 00:4e:35:c5:d2:2f +Neighbor Port-Desc : eth1 +Neighbor Port VLAN ID : +TTL : 120 +Neighbor PoE information : DOT3 +Neighbor Power Type : Type 3 Single Signature PD +Neighbor Power Priority : Unknown +Neighbor Power Source : PSE +PD Requested Power Value : 32.1 W +PSE Allocated Power Value : 32.1 W +Neighbor Power Supported : No +Neighbor Power Enabled : No +Neighbor Power Class : Class5 +Neighbor Power Paircontrol : No +PSE Power Pairs : SIGNAL +PSE Allocated Power Value Alt A: 0.0 W +PD Requested Power Value Mode A: 0.0 W +PSE Allocated Power Value Alt B: 0.0 W +PD Requested Power Value Mode B: 0.0 W +Power At PD Powered Interface : 0.0 W +Neighbor Powered Status : Single Signature PD +Neighbor Power Class Pair A : - +Neighbor Power Class Pair B : - +Powering on both PD modes : No +PD load electrically isolated : No +Neighbor PD Autoclass Request : No +Neighbor Power Down Request : No +Neighbor Mac-Phy details +Neighbor Auto-neg Supported : true +Neighbor Auto-Neg Enabled : true +Neighbor Auto-Neg Advertised : 1000 BASE_TFD, FDX_APAUSE, FDX_PAUSE, 100 BASE_TXFD, Other +Neighbor MAU type : +-------------------------------------------------------------------------------- +Port : 2/1/52 +Neighbor Entries : 1 +Neighbor Entries Deleted : 0 +Neighbor Entries Dropped : 0 +Neighbor Entries Aged-Out : 0 +Neighbor Chassis-Name : rtr-agg-0620-b +Neighbor Chassis-Description : Aruba JL635A GL.10.05.0021 +Neighbor Chassis-ID : 90:20:c2:bf:ed:00 +Neighbor Management-Address : 10.252.15.18 +Chassis Capabilities Available : Bridge, Router +Chassis Capabilities Enabled : Bridge, Router +Neighbor Port-ID : 1/1/1 +Neighbor Port-Desc : 1/1/1 +Neighbor Port VLAN ID : 3560 +TTL : 120 diff --git a/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.yml b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.yml new file mode 100644 index 0000000000..2626b5fbf8 --- /dev/null +++ b/tests/aruba_aoscx/show_lldp_neighbors-info_detail/show_lldp_neighbors-info_detail.yml @@ -0,0 +1,56 @@ +--- +parsed_sample: + - local_port: "1/1/1" + chassis_id: "70:3a:0e:cd:41:fe" + chassis_name: "ap-9999-335-fe" + chassis_desc: "ArubaOS (MODEL: 335), Version Aruba AP" + capabilities: "Bridge, WLAN" + capabilities_enabled: "WLAN" + mgmt_addr: "10.252.99.12" + port_id: "70:3a:0e:cd:41:fe" + port_desc: "eth0" + - local_port: "1/1/2" + chassis_id: "00:4e:35:c5:d2:2e" + chassis_name: "ap-9999-535-fe" + chassis_desc: "ArubaOS (MODEL: 535), Version Aruba AP" + capabilities: "Bridge, WLAN" + capabilities_enabled: "WLAN" + mgmt_addr: "10.252.99.11" + port_id: "00:4e:35:c5:d2:2e" + port_desc: "eth0" + - local_port: "1/1/52" + chassis_id: "90:20:c2:bf:ae:00" + chassis_name: "rtr-agg-0620-a" + chassis_desc: "Aruba JL635A GL.10.05.0021" + capabilities: "Bridge, Router" + capabilities_enabled: "Bridge, Router" + mgmt_addr: "10.252.15.17" + port_id: "1/1/1" + port_desc: "1/1/1" + - local_port: "2/1/1" + chassis_id: "70:3a:0e:cd:41:fe" + chassis_name: "ap-9999-335-fe" + chassis_desc: "ArubaOS (MODEL: 335), Version Aruba AP" + capabilities: "Bridge, WLAN" + capabilities_enabled: "WLAN" + mgmt_addr: "10.252.99.12" + port_id: "70:3a:0e:cd:41:ff" + port_desc: "eth1" + - local_port: "2/1/2" + chassis_id: "00:4e:35:c5:d2:2e" + chassis_name: "ap-9999-535-fe" + chassis_desc: "ArubaOS (MODEL: 535), Version Aruba AP" + capabilities: "Bridge, WLAN" + capabilities_enabled: "WLAN" + mgmt_addr: "10.252.99.11" + port_id: "00:4e:35:c5:d2:2f" + port_desc: "eth1" + - local_port: "2/1/52" + chassis_id: "90:20:c2:bf:ed:00" + chassis_name: "rtr-agg-0620-b" + chassis_desc: "Aruba JL635A GL.10.05.0021" + capabilities: "Bridge, Router" + capabilities_enabled: "Bridge, Router" + mgmt_addr: "10.252.15.18" + port_id: "1/1/1" + port_desc: "1/1/1" diff --git a/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw new file mode 100644 index 0000000000..e8772d632f --- /dev/null +++ b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.raw @@ -0,0 +1,10 @@ +MAC age-time : 300 seconds +Number of MAC addresses : 5 + +MAC Address VLAN Type Port +-------------------------------------------------------------- +88:3a:30:a3:86:80 1 dynamic lag100 +90:e2:ba:28:0d:f1 10 dynamic lag100 +00:01:2e:82:0f:7b 3560 dynamic lag100 +90:e2:ba:28:0d:f0 3590 dynamic lag100 +88:3a:30:a3:86:80 3590 dynamic lag100 \ No newline at end of file diff --git a/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml new file mode 100644 index 0000000000..6a23f37408 --- /dev/null +++ b/tests/aruba_aoscx/show_mac-address-table/show_mac-address-table.yml @@ -0,0 +1,22 @@ +--- +parsed_sample: + - mac: "88:3a:30:a3:86:80" + vlan: "1" + type: "dynamic" + port: "lag100" + - mac: "90:e2:ba:28:0d:f1" + vlan: "10" + type: "dynamic" + port: "lag100" + - mac: "00:01:2e:82:0f:7b" + vlan: "3560" + type: "dynamic" + port: "lag100" + - mac: "90:e2:ba:28:0d:f0" + vlan: "3590" + type: "dynamic" + port: "lag100" + - mac: "88:3a:30:a3:86:80" + vlan: "3590" + type: "dynamic" + port: "lag100" diff --git a/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.raw b/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.raw new file mode 100644 index 0000000000..186ecd6b3e --- /dev/null +++ b/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.raw @@ -0,0 +1,7 @@ +---------------------------------------------------------------------- + ID NAME REMOTE REF-ID ST LAST POLL REACH +---------------------------------------------------------------------- +* 1 10.0.0.1 10.0.0.1 169.254.0.1 4 580 1024 377 ++ 2 10.0.0.2 10.0.0.2 169.254.0.1 4 113 1024 377 ++ 3 10.0.0.3 10.0.0.3 169.254.0.1 4 1059 1024 377 +---------------------------------------------------------------------- \ No newline at end of file diff --git a/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.yml b/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.yml new file mode 100644 index 0000000000..a1e2a6fa0c --- /dev/null +++ b/tests/aruba_aoscx/show_ntp_associations/show_ntp_associations.yml @@ -0,0 +1,26 @@ +--- +parsed_sample: + - id: "* 1" + name: "10.0.0.1" + remote: "10.0.0.1" + ref_id: "169.254.0.1" + stratum: "4" + last: "580" + poll: "1024" + reach: "377" + - id: "+ 2" + name: "10.0.0.2" + remote: "10.0.0.2" + ref_id: "169.254.0.1" + stratum: "4" + last: "113" + poll: "1024" + reach: "377" + - id: "+ 3" + name: "10.0.0.3" + remote: "10.0.0.3" + ref_id: "169.254.0.1" + stratum: "4" + last: "1059" + poll: "1024" + reach: "377" diff --git a/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.raw b/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.raw new file mode 100644 index 0000000000..7b3acf1848 --- /dev/null +++ b/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.raw @@ -0,0 +1,34 @@ +VSF Stack + MAC Address : 88:3a:30:97:d0:40 + Secondary : 2 + Topology : chain + Status : No Split + Split Detection Method : None + Software Version : FL.10.05.0021 + Name : Aruba-VSF-6300 + Contact : email@address.com + Location : ThisIsaRoom Somewhere +Member ID : 1 + MAC Address : 88:3a:30:97:d0:40 + Type : JL658A + Model : 6300M 24-port SFP+ and 4-port SFP56 Switch + Status : Master + ROM Version : FL.01.07.0002 + Serial Number : LTRSN123124 + Uptime : 8 weeks, 6 days, 18 hours, 26 minutes + CPU Utilization : 9% + Memory Utilization : 18% + VSF Link 1 : Up, connected to peer member 2, link 1 + VSF Link 2 : +Member ID : 2 + MAC Address : 88:3a:30:96:4d:c0 + Type : JL658A + Model : 6300M 24-port SFP+ and 4-port SFP56 Switch + Status : Standby + ROM Version : FL.01.07.0002 + Serial Number : LTRSN123124 + Uptime : 8 weeks, 6 days, 18 hours, 25 minutes + CPU Utilization : 1% + Memory Utilization : 11% + VSF Link 1 : Up, connected to peer member 1, link 1 + VSF Link 2 diff --git a/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.yml b/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.yml new file mode 100644 index 0000000000..898d0b87ab --- /dev/null +++ b/tests/aruba_aoscx/show_vsf_detail/show_vsf_detail.yml @@ -0,0 +1,23 @@ +--- +parsed_sample: + - member_id: "Stack" + mac: "88:3a:30:97:d0:40" + status: "No Split" + cpu: "" + memory: "" + vsf_link_1: "" + vsf_link_2: "" + - member_id: "1" + mac: "88:3a:30:97:d0:40" + status: "Master" + cpu: "9%" + memory: "18%" + vsf_link_1: " Up, connected to peer member 2, link 1" + vsf_link_2: "" + - member_id: "2" + mac: "88:3a:30:96:4d:c0" + status: "Standby" + cpu: "1%" + memory: "11%" + vsf_link_1: " Up, connected to peer member 1, link 1" + vsf_link_2: "" diff --git a/tests/test_index_order.py b/tests/test_index_order.py index e014e556e7..b012db5b34 100755 --- a/tests/test_index_order.py +++ b/tests/test_index_order.py @@ -9,6 +9,7 @@ "alcatel_aos", "alcatel_sros", "arista_eos", + "aruba_aoscx", "aruba_os", "avaya_ers", "avaya_vsp", From 298d9010fe1ab3032a921704178e437cc2537a51 Mon Sep 17 00:00:00 2001 From: Joe Wesch <10467633+joewesch@users.noreply.github.com> Date: Fri, 27 Aug 2021 12:00:42 -0500 Subject: [PATCH 610/628] Enhancement: cisco_ios_show_ip_access-lists - Adds parsing of log tags (#970) --- .../cisco_ios_show_ip_access-lists.textfsm | 5 +- .../cisco_ios_show_ip_access-lists.yml | 87 + .../cisco_ios_show_ip_access-lists_954.yml | 100 + .../cisco_ios_show_ip_access-lists_964.yml | 102 + .../cisco_ios_show_ip_access-lists_969.raw | 106 + .../cisco_ios_show_ip_access-lists_969.yml | 3076 +++++++++++++++++ .../cisco_ios_show_ip_access-lists_fixed.yml | 98 + 7 files changed, 3572 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw create mode 100644 tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm index 5fe2b9f874..bcba1152ea 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm @@ -22,6 +22,7 @@ Value DST_PORT_RANGE_END (\S+) Value FLAGS_MATCH (match-all|match-any) Value TCP_FLAG (((\+|-|)ack(\s*?)|(\+|-|)established(\s*?)|(\+|-|)fin(\s*?)|(\+|-|)fragments(\s*?)|(\+|-|)psh(\s*?)|(\+|-|)rst(\s*?)|(\+|-|)syn(\s*?)|urg(\s*?))+) Value LOG (log-input|log) +Value LOG_TAG (\S+) Value ICMP_TYPE (administratively-prohibited|echo|echo-reply|mask-request|packet-too-big|parameter-problem|port-unreachable|redirect|router-advertisement|router-solicitation|time-exceeded|ttl-exceeded|unreachable) Value TIME (\S+) Value STATE (inactive|active) @@ -30,8 +31,8 @@ Value MATCHES (\d+) Start ^(Standard|Extended) -> Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)\s*$$ -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml index f53d650c96..b195814b25 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -52,6 +53,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -80,6 +82,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -108,6 +111,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -136,6 +140,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -164,6 +169,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -192,6 +198,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -220,6 +227,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -248,6 +256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -276,6 +285,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -304,6 +314,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "" state: "" @@ -332,6 +343,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -360,6 +372,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -388,6 +401,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -416,6 +430,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -444,6 +459,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -472,6 +488,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -500,6 +517,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -528,6 +546,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -556,6 +575,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -584,6 +604,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -612,6 +633,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -640,6 +662,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -668,6 +691,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -696,6 +720,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -724,6 +749,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -752,6 +778,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -780,6 +807,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -808,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -836,6 +865,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -864,6 +894,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -892,6 +923,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -920,6 +952,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -948,6 +981,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -976,6 +1010,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1004,6 +1039,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1032,6 +1068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1060,6 +1097,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1088,6 +1126,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1116,6 +1155,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1144,6 +1184,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1172,6 +1213,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1200,6 +1242,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1228,6 +1271,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1256,6 +1300,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1284,6 +1329,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1312,6 +1358,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1340,6 +1387,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1368,6 +1416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1396,6 +1445,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1424,6 +1474,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1452,6 +1503,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1480,6 +1532,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1508,6 +1561,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1536,6 +1590,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1564,6 +1619,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1592,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1620,6 +1677,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1648,6 +1706,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1676,6 +1735,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1704,6 +1764,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1732,6 +1793,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1760,6 +1822,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1788,6 +1851,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1816,6 +1880,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1844,6 +1909,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1872,6 +1938,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1900,6 +1967,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1928,6 +1996,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1956,6 +2025,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1984,6 +2054,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2012,6 +2083,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2040,6 +2112,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2068,6 +2141,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2096,6 +2170,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2124,6 +2199,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2152,6 +2228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2180,6 +2257,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2208,6 +2286,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -2236,6 +2315,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2264,6 +2344,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2292,6 +2373,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2320,6 +2402,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2348,6 +2431,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2376,6 +2460,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2404,6 +2489,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -2432,6 +2518,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml index 74b4787c04..2c47d9aad8 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_954.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -52,6 +53,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -80,6 +82,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -108,6 +111,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -136,6 +140,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -164,6 +169,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -192,6 +198,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -220,6 +227,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -248,6 +256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -276,6 +285,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -304,6 +314,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "" state: "" @@ -332,6 +343,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -360,6 +372,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -388,6 +401,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -416,6 +430,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -444,6 +459,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -472,6 +488,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -500,6 +517,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -528,6 +546,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -556,6 +575,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -584,6 +604,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -612,6 +633,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -640,6 +662,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -668,6 +691,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -696,6 +720,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -724,6 +749,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -752,6 +778,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -780,6 +807,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -808,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -836,6 +865,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -864,6 +894,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -892,6 +923,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -920,6 +952,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -948,6 +981,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -976,6 +1010,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1004,6 +1039,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1032,6 +1068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1060,6 +1097,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1088,6 +1126,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1116,6 +1155,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1144,6 +1184,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1172,6 +1213,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1200,6 +1242,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1228,6 +1271,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1256,6 +1300,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1284,6 +1329,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1312,6 +1358,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1340,6 +1387,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1368,6 +1416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1396,6 +1445,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1424,6 +1474,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1452,6 +1503,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1480,6 +1532,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1508,6 +1561,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1536,6 +1590,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1564,6 +1619,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1592,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1620,6 +1677,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1648,6 +1706,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1676,6 +1735,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1704,6 +1764,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1732,6 +1793,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1760,6 +1822,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1788,6 +1851,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1816,6 +1880,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1844,6 +1909,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1872,6 +1938,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1900,6 +1967,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1928,6 +1996,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1956,6 +2025,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1984,6 +2054,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2012,6 +2083,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2040,6 +2112,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2068,6 +2141,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2096,6 +2170,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2124,6 +2199,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2152,6 +2228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2180,6 +2257,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2208,6 +2286,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2236,6 +2315,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2264,6 +2344,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -2292,6 +2373,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2320,6 +2402,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2348,6 +2431,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2376,6 +2460,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2404,6 +2489,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2432,6 +2518,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2460,6 +2547,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -2488,6 +2576,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2516,6 +2605,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2544,6 +2634,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2572,6 +2663,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2600,6 +2692,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2628,6 +2721,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "echo-reply" time: "" state: "" @@ -2656,6 +2750,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "administratively-prohibited" time: "" state: "" @@ -2684,6 +2779,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "unreachable" time: "" state: "" @@ -2712,6 +2808,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "redirect" time: "" state: "" @@ -2740,6 +2837,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "ttl-exceeded" time: "" state: "" @@ -2768,6 +2866,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "port-unreachable" time: "" state: "" @@ -2796,6 +2895,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "parameter-problem" time: "" state: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml index fb87246d24..2ea258e3ad 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_964.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -52,6 +53,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -80,6 +82,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -108,6 +111,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -136,6 +140,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -164,6 +169,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -192,6 +198,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -220,6 +227,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -248,6 +256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -276,6 +285,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -304,6 +314,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "" state: "" @@ -332,6 +343,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -360,6 +372,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -388,6 +401,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -416,6 +430,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -444,6 +459,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -472,6 +488,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -500,6 +517,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -528,6 +546,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -556,6 +575,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -584,6 +604,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -612,6 +633,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -640,6 +662,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -668,6 +691,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -696,6 +720,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -724,6 +749,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -752,6 +778,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -780,6 +807,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -808,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -836,6 +865,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -864,6 +894,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -892,6 +923,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -920,6 +952,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -948,6 +981,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -976,6 +1010,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1004,6 +1039,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1032,6 +1068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1060,6 +1097,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1088,6 +1126,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1116,6 +1155,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1144,6 +1184,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1172,6 +1213,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1200,6 +1242,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1228,6 +1271,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1256,6 +1300,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1284,6 +1329,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1312,6 +1358,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1340,6 +1387,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1368,6 +1416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1396,6 +1445,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1424,6 +1474,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1452,6 +1503,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1480,6 +1532,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1508,6 +1561,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1536,6 +1590,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1564,6 +1619,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1592,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1620,6 +1677,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1648,6 +1706,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1676,6 +1735,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1704,6 +1764,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1732,6 +1793,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1760,6 +1822,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1788,6 +1851,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1816,6 +1880,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1844,6 +1909,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1872,6 +1938,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1900,6 +1967,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1928,6 +1996,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1956,6 +2025,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1984,6 +2054,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2012,6 +2083,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2040,6 +2112,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2068,6 +2141,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2096,6 +2170,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2124,6 +2199,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2152,6 +2228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2180,6 +2257,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2208,6 +2286,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2236,6 +2315,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2264,6 +2344,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -2292,6 +2373,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2320,6 +2402,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2348,6 +2431,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2376,6 +2460,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2404,6 +2489,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2432,6 +2518,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2460,6 +2547,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -2488,6 +2576,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2516,6 +2605,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2544,6 +2634,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2572,6 +2663,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2600,6 +2692,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2628,6 +2721,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "echo-reply" time: "" state: "" @@ -2656,6 +2750,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "administratively-prohibited" time: "" state: "" @@ -2684,6 +2779,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "unreachable" time: "" state: "" @@ -2712,6 +2808,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "redirect" time: "" state: "" @@ -2740,6 +2837,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "ttl-exceeded" time: "" state: "" @@ -2768,6 +2866,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "port-unreachable" time: "" state: "" @@ -2796,6 +2895,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "parameter-problem" time: "" state: "" @@ -2824,6 +2924,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2852,6 +2953,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "mask-request" time: "" state: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw new file mode 100644 index 0000000000..e602f780bd --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw @@ -0,0 +1,106 @@ +Standard IP access list 99 + 10 permit 172.16.191.199 + 20 deny any log + 30 permit 10.0.10.0, wildcard bits 0.255.0.255 (20 matches) +Standard IP access list stdacl + 10 permit 10.1.1.1 +Extended IP access list test +Extended IP access list 101 + 10 permit tcp any host 10.1.1.1 eq www + 20 permit tcp any host 10.1.1.1 eq 443 log + 30 permit ahp any any log-input + 40 permit ahp any any log-input time-range test (active) + 50 permit ip any host 10.1.10.11 log time-range test2 (inactive) + 60 permit udp any range 16384 32767 10.1.1.0 0.0.0.255 range 16384 32767 + 70 permit udp any eq snmp bootpc 10.1.0.0 0.0.0.255 + 80 permit tcp 10.0.0.0 0.255.255.255 eq telnet ssh http 8080 host 10.1.0.0 neq telnet ssh + 90 permit tcp any any match-all +ack -fin log + 100 permit tcp host 10.1.1.1 any established + 110 permit tcp any 10.1.1.0 0.0.255.255 established psh + 120 deny esp any any precedence internet + 130 deny esp any any tos normal +Extended IP access list sample + 10 permit tcp host 10.10.37.18 host 10.10.37.17 eq bgp + 20 permit tcp host 10.10.37.18 eq bgp host 10.10.37.17 + 30 permit icmp 10.10.37.16 0.0.0.3 host 10.10.37.17 + 40 permit icmp 10.10.37.24 0.0.0.7 host 10.10.37.17 + 50 permit icmp 10.10.37.16 0.0.0.3 host 10.10.5.20 + 60 permit icmp 10.10.37.24 0.0.0.7 host 10.10.5.20 + 70 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.144 + 80 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.144 + 90 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.146 + 100 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.146 + 110 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.148 + 120 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.148 + 130 permit icmp 10.10.37.16 0.0.0.3 host 10.10.6.152 + 140 permit icmp 10.10.37.24 0.0.0.7 host 10.10.6.152 + 150 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.26 + 160 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.26 + 170 permit icmp 10.10.37.16 0.0.0.3 host 10.10.8.152 + 180 permit icmp 10.10.37.24 0.0.0.7 host 10.10.8.152 + 190 permit icmp 10.10.37.16 0.0.0.3 10.3.140.0 0.0.0.127 + 200 permit icmp 10.10.37.24 0.0.0.7 10.3.140.0 0.0.0.127 + 210 permit icmp 10.10.37.16 0.0.0.3 host 10.3.139.248 + 220 permit icmp 10.10.37.24 0.0.0.7 host 10.3.139.248 + 230 permit icmp 10.10.37.16 0.0.0.3 10.3.139.128 0.0.0.7 + 240 permit icmp 10.10.37.24 0.0.0.7 10.3.139.128 0.0.0.7 + 250 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4000 + 260 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4010 + 270 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4020 + 280 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4080 + 290 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4300 + 300 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4310 + 310 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4320 + 320 permit tcp 10.10.37.24 0.0.0.7 host 10.10.5.20 eq 4380 + 330 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4000 + 340 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4010 + 350 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4020 + 360 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4300 + 370 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4310 + 380 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4320 + 390 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4000 + 400 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4010 + 410 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4020 + 420 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4300 + 430 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4310 + 440 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4320 + 450 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4050 + 460 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4060 + 470 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4350 + 480 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.148 eq 4360 + 490 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4000 + 500 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4010 + 510 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4020 + 520 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4080 + 530 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4300 + 540 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4310 + 550 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4320 + 560 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.152 eq 4380 + 570 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.26 eq 4001 + 580 permit tcp 10.10.37.24 0.0.0.7 host 10.10.8.152 eq 4001 + 590 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 eq 9815 log time-range test (active) + 600 permit tcp 10.10.37.24 0.0.0.7 10.3.140.64 0.0.0.31 range 9821 9823 + 610 permit tcp 10.10.37.24 0.0.0.7 10.3.140.96 0.0.0.31 range 7400 7407 + 620 permit udp 10.10.37.16 0.0.0.3 host 10.3.139.133 range 13001 13191 + 630 permit udp 10.10.37.24 0.0.0.7 host 10.3.139.133 range 13001 13191 + 640 permit tcp 10.10.37.16 0.0.0.3 host 10.3.139.134 range 13001 13191 + 650 permit tcp 10.10.37.24 0.0.0.7 host 10.3.139.134 range 13001 13191 + 660 permit pim host 10.10.37.18 host 224.0.0.1 time-range test2 (inactive) +Extended IP access list test2 +Extended IP access list ios_show_ip_acl + 10 permit 53 any any log (123456 matches) + 20 permit ip any any log (23 matches) +Extended IP access list ntc-templates + 10 permit icmp host 10.10.10.10 any echo-reply + 20 permit icmp host 10.10.10.10 any administratively-prohibited (123456 matches) + 30 permit icmp host 10.10.10.10 any unreachable log + 40 permit icmp host 10.10.10.10 any redirect (900123456 matches) + 50 permit icmp 10.10.10.0 0.0.0.255 any ttl-exceeded (1278456 matches) + 60 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 port-unreachable + 70 permit icmp 10.10.10.0 0.0.0.255 20.20.0.0 0.0.255.255 parameter-problem log +Extended IP access list mask-request + 10 deny icmp any any mask-request +Extended IP access list Log_Tags_Test + 10 permit tcp host 169.254.3.3 gt 1023 169.254.3.4 0.0.0.1 log (tag = established) + 20 permit tcp host 169.254.3.3 gt 1023 169.254.3.4 0.0.0.1 established log + 30 permit tcp host 169.254.3.3 gt 1023 169.254.3.4 0.0.0.1 established log (tag = tag_name) diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml new file mode 100644 index 0000000000..970250a2a4 --- /dev/null +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml @@ -0,0 +1,3076 @@ +--- +parsed_sample: + - acl_type: "Standard" + acl_name: "99" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "10" + action: "permit" + protocol: "" + src_host: "172.16.191.199" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "20" + action: "deny" + protocol: "" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "99" + line_num: "30" + action: "permit" + protocol: "" + src_host: "" + src_any: "" + src_network: "10.0.10.0" + src_wildcard: "0.255.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "20" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "10" + action: "permit" + protocol: "" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "test" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "www" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.1.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "443" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "30" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "40" + action: "permit" + protocol: "ahp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log-input" + log_tag: "" + icmp_type: "" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "50" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.10.11" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "60" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "range" + src_port: "" + src_port_range_start: "16384" + src_port_range_end: "32767" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "16384" + dst_port_range_end: "32767" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "70" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "snmp bootpc" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.0.0" + dst_wildcard: "0.0.0.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "80" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.0.0.0" + src_wildcard: "0.255.255.255" + src_port_match: "eq" + src_port: "telnet ssh http 8080" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.1.0.0" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "neq" + dst_port: "telnet ssh" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "90" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "match-all" + tcp_flag: "+ack -fin" + log: "log" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "100" + action: "permit" + protocol: "tcp" + src_host: "10.1.1.1" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "110" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.1.1.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "established psh" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "120" + action: "deny" + protocol: "esp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "precedence" + dst_port: "internet" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "101" + line_num: "130" + action: "deny" + protocol: "esp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "tos" + dst_port: "normal" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "10" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "bgp" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "20" + action: "permit" + protocol: "tcp" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "eq" + src_port: "bgp" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.37.17" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "80" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "90" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "100" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "110" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "120" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "130" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "140" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "150" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "160" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "170" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "180" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "190" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "200" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.0" + dst_wildcard: "0.0.0.127" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "210" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "220" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.248" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "230" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "240" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.139.128" + dst_wildcard: "0.0.0.7" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "250" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "260" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "270" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "280" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "290" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "300" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "310" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "320" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.5.20" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "330" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "340" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "350" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "360" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "370" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "380" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.144" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "390" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "400" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "410" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "420" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "430" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "440" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.146" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "450" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4050" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "460" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4060" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "470" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4350" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "480" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.148" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4360" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "490" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4000" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "500" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4010" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "510" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4020" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "520" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4080" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "530" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4300" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "540" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4310" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "550" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4320" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "560" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.6.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4380" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "570" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.26" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "580" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.10.8.152" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "eq" + dst_port: "4001" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "590" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "eq" + dst_port: "9815" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "test" + state: "active" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "600" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.64" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "9821" + dst_port_range_end: "9823" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "610" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "10.3.140.96" + dst_wildcard: "0.0.0.31" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "7400" + dst_port_range_end: "7407" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "620" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "630" + action: "permit" + protocol: "udp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.133" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "640" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.16" + src_wildcard: "0.0.0.3" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "650" + action: "permit" + protocol: "tcp" + src_host: "" + src_any: "" + src_network: "10.10.37.24" + src_wildcard: "0.0.0.7" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "10.3.139.134" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "range" + dst_port: "" + dst_port_range_start: "13001" + dst_port_range_end: "13191" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "sample" + line_num: "660" + action: "permit" + protocol: "pim" + src_host: "10.10.37.18" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "224.0.0.1" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "test2" + state: "inactive" + matches: "" + - acl_type: "Extended" + acl_name: "test2" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "10" + action: "permit" + protocol: "53" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ios_show_ip_acl" + line_num: "20" + action: "permit" + protocol: "ip" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "23" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "10" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "echo-reply" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "20" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "administratively-prohibited" + time: "" + state: "" + matches: "123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "30" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "40" + action: "permit" + protocol: "icmp" + src_host: "10.10.10.10" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "redirect" + time: "" + state: "" + matches: "900123456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "50" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "ttl-exceeded" + time: "" + state: "" + matches: "1278456" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "60" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "port-unreachable" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "ntc-templates" + line_num: "70" + action: "permit" + protocol: "icmp" + src_host: "" + src_any: "" + src_network: "10.10.10.0" + src_wildcard: "0.0.0.255" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "20.20.0.0" + dst_wildcard: "0.0.255.255" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "log" + log_tag: "" + icmp_type: "parameter-problem" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "mask-request" + line_num: "" + action: "" + protocol: "" + src_host: "" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "" + - acl_type: "Extended" + acl_name: "mask-request" + line_num: "10" + action: "deny" + protocol: "icmp" + src_host: "" + src_any: "any" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "any" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "mask-request" + time: "" + state: "" + matches: "" + - acl_name: "Log_Tags_Test" + acl_type: "Extended" + action: "" + dst_any: "" + dst_host: "" + dst_network: "" + dst_port: "" + dst_port_match: "" + dst_port_range_end: "" + dst_port_range_start: "" + dst_wildcard: "" + flags_match: "" + icmp_type: "" + line_num: "" + log: "" + log_tag: "" + matches: "" + protocol: "" + src_any: "" + src_host: "" + src_network: "" + src_port: "" + src_port_match: "" + src_port_range_end: "" + src_port_range_start: "" + src_wildcard: "" + state: "" + tcp_flag: "" + time: "" + - acl_name: "Log_Tags_Test" + acl_type: "Extended" + action: "permit" + dst_any: "" + dst_host: "" + dst_network: "169.254.3.4" + dst_port: "" + dst_port_match: "" + dst_port_range_end: "" + dst_port_range_start: "" + dst_wildcard: "0.0.0.1" + flags_match: "" + icmp_type: "" + line_num: "10" + log: "log" + log_tag: "established" + matches: "" + protocol: "tcp" + src_any: "" + src_host: "169.254.3.3" + src_network: "" + src_port: "1023" + src_port_match: "gt" + src_port_range_end: "" + src_port_range_start: "" + src_wildcard: "" + state: "" + tcp_flag: "" + time: "" + - acl_name: "Log_Tags_Test" + acl_type: "Extended" + action: "permit" + dst_any: "" + dst_host: "" + dst_network: "169.254.3.4" + dst_port: "" + dst_port_match: "" + dst_port_range_end: "" + dst_port_range_start: "" + dst_wildcard: "0.0.0.1" + flags_match: "" + icmp_type: "" + line_num: "20" + log: "log" + log_tag: "" + matches: "" + protocol: "tcp" + src_any: "" + src_host: "169.254.3.3" + src_network: "" + src_port: "1023" + src_port_match: "gt" + src_port_range_end: "" + src_port_range_start: "" + src_wildcard: "" + state: "" + tcp_flag: "established" + time: "" + - acl_name: "Log_Tags_Test" + acl_type: "Extended" + action: "permit" + dst_any: "" + dst_host: "" + dst_network: "169.254.3.4" + dst_port: "" + dst_port_match: "" + dst_port_range_end: "" + dst_port_range_start: "" + dst_wildcard: "0.0.0.1" + flags_match: "" + icmp_type: "" + line_num: "30" + log: "log" + log_tag: "tag_name" + matches: "" + protocol: "tcp" + src_any: "" + src_host: "169.254.3.3" + src_network: "" + src_port: "1023" + src_port_match: "gt" + src_port_range_end: "" + src_port_range_start: "" + src_wildcard: "" + state: "" + tcp_flag: "established" + time: "" diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml index 0cfef0d7e9..d2d52c1414 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_fixed.yml @@ -24,6 +24,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -52,6 +53,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -80,6 +82,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -108,6 +111,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -136,6 +140,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -164,6 +169,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -192,6 +198,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -220,6 +227,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -248,6 +256,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -276,6 +285,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -304,6 +314,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "" state: "" @@ -332,6 +343,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log-input" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -360,6 +372,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -388,6 +401,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -416,6 +430,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -444,6 +459,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -472,6 +488,7 @@ parsed_sample: flags_match: "match-all" tcp_flag: "+ack -fin" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -500,6 +517,7 @@ parsed_sample: flags_match: "" tcp_flag: "established" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -528,6 +546,7 @@ parsed_sample: flags_match: "" tcp_flag: "established psh" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -556,6 +575,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -584,6 +604,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -612,6 +633,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -640,6 +662,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -668,6 +691,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -696,6 +720,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -724,6 +749,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -752,6 +778,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -780,6 +807,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -808,6 +836,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -836,6 +865,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -864,6 +894,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -892,6 +923,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -920,6 +952,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -948,6 +981,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -976,6 +1010,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1004,6 +1039,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1032,6 +1068,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1060,6 +1097,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1088,6 +1126,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1116,6 +1155,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1144,6 +1184,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1172,6 +1213,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1200,6 +1242,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1228,6 +1271,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1256,6 +1300,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1284,6 +1329,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1312,6 +1358,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1340,6 +1387,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1368,6 +1416,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1396,6 +1445,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1424,6 +1474,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1452,6 +1503,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1480,6 +1532,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1508,6 +1561,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1536,6 +1590,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1564,6 +1619,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1592,6 +1648,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1620,6 +1677,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1648,6 +1706,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1676,6 +1735,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1704,6 +1764,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1732,6 +1793,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1760,6 +1822,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1788,6 +1851,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1816,6 +1880,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1844,6 +1909,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1872,6 +1938,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1900,6 +1967,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1928,6 +1996,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1956,6 +2025,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -1984,6 +2054,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2012,6 +2083,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2040,6 +2112,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2068,6 +2141,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2096,6 +2170,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2124,6 +2199,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2152,6 +2228,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2180,6 +2257,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2208,6 +2286,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "test" state: "active" @@ -2236,6 +2315,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2264,6 +2344,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2292,6 +2373,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2320,6 +2402,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2348,6 +2431,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2376,6 +2460,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2404,6 +2489,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "test2" state: "inactive" @@ -2432,6 +2518,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2460,6 +2547,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2488,6 +2576,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2516,6 +2605,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2544,6 +2634,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "" time: "" state: "" @@ -2572,6 +2663,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "echo-reply" time: "" state: "" @@ -2600,6 +2692,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "administratively-prohibited" time: "" state: "" @@ -2628,6 +2721,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "unreachable" time: "" state: "" @@ -2656,6 +2750,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "redirect" time: "" state: "" @@ -2684,6 +2779,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "ttl-exceeded" time: "" state: "" @@ -2712,6 +2808,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "" + log_tag: "" icmp_type: "port-unreachable" time: "" state: "" @@ -2740,6 +2837,7 @@ parsed_sample: flags_match: "" tcp_flag: "" log: "log" + log_tag: "" icmp_type: "parameter-problem" time: "" state: "" From 9e13dd13abd200944d7a686b447ae4b1814451f2 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Fri, 27 Aug 2021 12:08:24 -0600 Subject: [PATCH 611/628] Release v2.3.0 (#971) --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c49178e83..5b17575d72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## [2.3.0](https://github.com/networktocode/ntc-templates/tree/2.3.0) (2021-08-27) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.2...2.3.0) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists template needs updated to include LOG_TYPE options [\#969](https://github.com/networktocode/ntc-templates/issues/969) ([joewesch](https://github.com/joewesch)) + +**Merged pull requests:** + +- ntc_templates/templates/aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm [\#927](https://github.com/networktocode/ntc-templates/pull/927) ([scetron](https://github.com/scetron)) + +**New Templates:** + +- aruba_aoscx_show_aaa_authentication_port-access_interface_all_client-status.textfsm +- aruba_aoscx_show_arp_all-vrfs.textfsm +- aruba_aoscx_show_bfd_all-vrfs.textfsm +- aruba_aoscx_show_bgp_all-vrfs_all_summary.textfsm +- aruba_aoscx_show_bgp_all_all-vrfs_summary.textfsm +- aruba_aoscx_show_interface.textfsm +- aruba_aoscx_show_interface_dom_detail.textfsm +- aruba_aoscx_show_ip_route_all-vrfs.textfsm +- aruba_aoscx_show_lldp_neighbors-info_detail.textfsm +- aruba_aoscx_show_mac-address-table.textfsm +- aruba_aoscx_show_ntp_associations.textfsm +- aruba_aoscx_show_vsf_detail.textfsm + ## [2.2.2](https://github.com/networktocode/ntc-templates/tree/2.1.0) (2021-08-02) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.0...2.2.2) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index 8d37898e1e..fe19123254 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.2.2" +__version__ = "2.3.0" diff --git a/pyproject.toml b/pyproject.toml index 19b8d1a448..5410d5f724 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.2.2" +version = "2.3.0" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From a33af5ac3862aa3c3e7d93e61103412362afc1f1 Mon Sep 17 00:00:00 2001 From: mitchell-foxworth <71849794+mitchell-foxworth@users.noreply.github.com> Date: Mon, 30 Aug 2021 18:14:26 -0400 Subject: [PATCH 612/628] Bugfix: cisco_ios_show_ip_access-lists - Account for single match (#973) --- .../cisco_ios_show_ip_access-lists.textfsm | 2 +- .../cisco_ios_show_ip_access-lists_969.raw | 3 +- .../cisco_ios_show_ip_access-lists_969.yml | 31 ++++++++++++++++++- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm index bcba1152ea..b36c1738e5 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm @@ -32,7 +32,7 @@ Start ^(Standard|Extended) -> Continue.Clearall ^${ACL_TYPE}\s+IP\s+access\s+list\s+${ACL_NAME}\s* -> Record ^\s+${LINE_NUM}\s+${ACTION}\s+${PROTOCOL}\s+(host\s+${SRC_HOST}|${SRC_ANY}|${SRC_NETWORK}\s+${SRC_WILDCARD})(\s+${SRC_PORT_MATCH}\s+|)(${SRC_PORT_RANGE_START}\s+${SRC_PORT_RANGE_END}|${SRC_PORT}|)\s+(host\s+${DST_HOST}|${DST_ANY}|${DST_NETWORK}\s+${DST_WILDCARD})(\s+${DST_PORT_MATCH}\s+(${DST_PORT_RANGE_START}\s+${DST_PORT_RANGE_END}|${DST_PORT}|)|\s+(${FLAGS_MATCH}\s+|)${TCP_FLAG}|)(\s+${ICMP_TYPE}|)(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record - ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+matches\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record + ^\s+${LINE_NUM}\s+${ACTION}\s+(${SRC_NETWORK},\s+wildcard\s+bits\s+${SRC_WILDCARD}|${SRC_HOST}|${SRC_ANY})(\s+${LOG}|)(\s+time-range\s+${TIME}\s+\(${STATE}\)|)(?:\s+\(${MATCHES}\s+\S+\)|)(\s+\(tag\s+=\s+${LOG_TAG}\)|)\s*$$ -> Record ^\s*$$ # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw index e602f780bd..abcd38f349 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.raw @@ -4,6 +4,7 @@ Standard IP access list 99 30 permit 10.0.10.0, wildcard bits 0.255.0.255 (20 matches) Standard IP access list stdacl 10 permit 10.1.1.1 + 20 deny 10.1.1.2 (1 match) Extended IP access list test Extended IP access list 101 10 permit tcp any host 10.1.1.1 eq www @@ -60,7 +61,7 @@ Extended IP access list sample 380 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.144 eq 4320 390 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4000 400 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4010 - 410 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4020 + 410 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4020 (1 match) 420 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4300 430 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4310 440 permit tcp 10.10.37.24 0.0.0.7 host 10.10.6.146 eq 4320 diff --git a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml index 970250a2a4..06b84da3e1 100644 --- a/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml +++ b/tests/cisco_ios/show_ip_access-lists/cisco_ios_show_ip_access-lists_969.yml @@ -174,6 +174,35 @@ parsed_sample: time: "" state: "" matches: "" + - acl_type: "Standard" + acl_name: "stdacl" + line_num: "20" + action: "deny" + protocol: "" + src_host: "10.1.1.2" + src_any: "" + src_network: "" + src_wildcard: "" + src_port_match: "" + src_port: "" + src_port_range_start: "" + src_port_range_end: "" + dst_host: "" + dst_any: "" + dst_network: "" + dst_wildcard: "" + dst_port_match: "" + dst_port: "" + dst_port_range_start: "" + dst_port_range_end: "" + flags_match: "" + tcp_flag: "" + log: "" + log_tag: "" + icmp_type: "" + time: "" + state: "" + matches: "1" - acl_type: "Extended" acl_name: "test" line_num: "" @@ -1826,7 +1855,7 @@ parsed_sample: icmp_type: "" time: "" state: "" - matches: "" + matches: "1" - acl_type: "Extended" acl_name: "sample" line_num: "420" From 7673e363697ca64d5c2e06a70e347f03d07236f5 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 30 Aug 2021 16:51:13 -0600 Subject: [PATCH 613/628] Release v2.3.1 (#974) --- CHANGELOG.md | 12 ++++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b17575d72..f13f5b92f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [2.3.1](https://github.com/networktocode/ntc-templates/tree/2.3.1) (2021-08-30) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.0...2.3.1) + +**Closed issues:** + +- cisco\_ios\_show\_ip\_access-lists Account for singluar match [\#972](https://github.com/networktocode/ntc-templates/issues/972) ([mitchell-foxworth](https://github.com/mitchell-foxworth)) + +**Merged pull requests:** + +- ntc_templates/templates/cisco_ios_show_ip_access-lists.textfsm [\#973](https://github.com/networktocode/ntc-templates/pull/973) ([mitchell-foxworth](https://github.com/mitchell-foxworth)) + ## [2.3.0](https://github.com/networktocode/ntc-templates/tree/2.3.0) (2021-08-27) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.2.2...2.3.0) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index fe19123254..9dcf7876b1 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.3.0" +__version__ = "2.3.1" diff --git a/pyproject.toml b/pyproject.toml index 5410d5f724..bc9616b763 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.3.0" +version = "2.3.1" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From bf28dbf38c8105d0f6f4d8f0616251200f52b5af Mon Sep 17 00:00:00 2001 From: Thomas Bridge Date: Mon, 13 Sep 2021 17:52:36 +0100 Subject: [PATCH 614/628] Allow cisco ios show ip bgp sum to parse when local AS has a "." in the AS number - fixes #986 (#987) --- .../cisco_ios_show_ip_bgp_summary.textfsm | 2 +- .../cisco_ios_show_ip_bgp_summary_with_dot.raw | 15 +++++++++++++++ .../cisco_ios_show_ip_bgp_summary_with_dot.yml | 9 +++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.raw create mode 100644 tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.yml diff --git a/ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm b/ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm index aa6ba8bf64..a718de2c63 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_bgp_summary.textfsm @@ -1,5 +1,5 @@ Value Filldown,Required ROUTER_ID ([0-9a-f:\.]+) -Value Filldown LOCAL_AS (\d+) +Value Filldown LOCAL_AS (\d+(\.\d+)?) Value Filldown ADDR_FAMILY (.+?) Value BGP_NEIGH (\d+?\.\d+?\.\d+?\.\d+?) Value NEIGH_AS (\d+) diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.raw b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.raw new file mode 100644 index 0000000000..cedeb9726f --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.raw @@ -0,0 +1,15 @@ +BGP router identifier 10.12.0.10, local AS number 64000.2017 +BGP table version is 79023, main routing table version 79023 +6064 network entries using 1503872 bytes of memory +6064 path entries using 824704 bytes of memory +11/11 BGP path/bestpath attribute entries using 3080 bytes of memory +288 BGP AS-PATH entries using 18312 bytes of memory +310 BGP community entries using 12496 bytes of memory +62 BGP extended community entries using 2056 bytes of memory +5 BGP route-map cache entries using 320 bytes of memory +0 BGP filter-list cache entries using 0 bytes of memory +BGP using 2364840 total bytes of memory +BGP activity 51255/39215 prefixes, 120224/87177 paths, scan interval 60 secs + +Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd +10.20.30.40 4 1234 511374 421210 79022 0 0 4w0d 6063 \ No newline at end of file diff --git a/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.yml b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.yml new file mode 100644 index 0000000000..089df65975 --- /dev/null +++ b/tests/cisco_ios/show_ip_bgp_summary/cisco_ios_show_ip_bgp_summary_with_dot.yml @@ -0,0 +1,9 @@ +--- +parsed_sample: + - router_id: "10.12.0.10" + local_as: "64000.2017" + addr_family: "" + bgp_neigh: "10.20.30.40" + neigh_as: "1234" + up_down: "4w0d" + state_pfxrcd: "6063" From 2cb0835ae7f81e0d2d132ff91ba34e4bb75eaa03 Mon Sep 17 00:00:00 2001 From: Jan Krupa Date: Mon, 13 Sep 2021 19:10:46 +0200 Subject: [PATCH 615/628] Bugfix: cisco_nxos_show_interface_status: Allow blank Type to capture (#979) (#980) --- .../cisco_nxos_show_interface_status.textfsm | 4 +- .../cisco_nxos_show_interface_status4.raw | 12 ++++ .../cisco_nxos_show_interface_status4.yml | 65 +++++++++++++++++++ 3 files changed, 79 insertions(+), 2 deletions(-) create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.raw create mode 100644 tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.yml diff --git a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm index a41c3d00a5..2252a527a9 100644 --- a/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_interface_status.textfsm @@ -4,10 +4,10 @@ Value STATUS (\S+) Value VLAN (\d+|routed|trunk|f-path|--) Value DUPLEX (\S+) Value SPEED (\S+) -Value TYPE (\S+(\s\S+)*) +Value TYPE (\S*?(\s\S+)*) Start - ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s+${TYPE}\s*$$ -> Record + ^${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}\s*$$ -> Record ^[Pp]ort\s+[Nn]ame\s+[Ss]tatus\s+[Vv]lan\s+[Dd]uplex\s+[Ss]peed\s+[Tt]ype\s*$$ ^-+ ^\s*$$ diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.raw b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.raw new file mode 100644 index 0000000000..5336496e34 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.raw @@ -0,0 +1,12 @@ +-------------------------------------------------------------------------------- +Port Name Status Vlan Duplex Speed Type +-------------------------------------------------------------------------------- +mgmt0 -- connected routed full 100 -- +Eth1/1 managed by puppet disabled routed auto auto SFP-H10GB-CU2M +Eth1/2 -- disabled 1 auto auto SFP-H10GB-CU2M +Eth1/3 -- xcvrAbsen 1 auto auto +Eth1/4 -- xcvrAbsen trunk auto auto -- +Eth1/5 -- xcvrAbsen trunk auto auto +Vlan20 -- down routed auto auto -- +Vlan77 -- down routed auto auto +Vlan146 my vlan 146 down routed auto auto diff --git a/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.yml b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.yml new file mode 100644 index 0000000000..7a5dff0533 --- /dev/null +++ b/tests/cisco_nxos/show_interface_status/cisco_nxos_show_interface_status4.yml @@ -0,0 +1,65 @@ +--- +parsed_sample: + - port: "mgmt0" + name: "--" + status: "connected" + vlan: "routed" + duplex: "full" + speed: "100" + type: "--" + - port: "Eth1/1" + name: "managed by puppet" + status: "disabled" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "SFP-H10GB-CU2M" + - port: "Eth1/2" + name: "--" + status: "disabled" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "SFP-H10GB-CU2M" + - port: "Eth1/3" + name: "--" + status: "xcvrAbsen" + vlan: "1" + duplex: "auto" + speed: "auto" + type: "" + - port: "Eth1/4" + name: "--" + status: "xcvrAbsen" + vlan: "trunk" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Eth1/5" + name: "--" + status: "xcvrAbsen" + vlan: "trunk" + duplex: "auto" + speed: "auto" + type: "" + - port: "Vlan20" + name: "--" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "--" + - port: "Vlan77" + name: "--" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "" + - port: "Vlan146" + name: "my vlan 146" + status: "down" + vlan: "routed" + duplex: "auto" + speed: "auto" + type: "" From 2d7c5a09fee2594c2bb6f5adeea5a6a6cd771e44 Mon Sep 17 00:00:00 2001 From: Aaron Finocchiaro <64494731+a-finocchiaro@users.noreply.github.com> Date: Mon, 13 Sep 2021 10:22:42 -0700 Subject: [PATCH 616/628] Bugfix: cisco_ios_show_interfaces_switchport.textfsm: Account for App Interface line (#968) --- ...sco_ios_show_interfaces_switchport.textfsm | 1 + .../cisco_ios_show_interfaces_switchport.raw | 32 + .../cisco_ios_show_interfaces_switchport.yml | 11 + ...w_interfaces_switchport_app_interfaces.raw | 1639 +++++++++++++++++ ...w_interfaces_switchport_app_interfaces.yml | 574 ++++++ 5 files changed, 2257 insertions(+) create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.raw create mode 100644 tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.yml diff --git a/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm index 3129796ff6..ca91a2ced7 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces_switchport.textfsm @@ -30,6 +30,7 @@ Start ^\s*Protected ^\s*Unknown\s+(unicast|multicast) ^\s*Vepa\s+Enabled + ^\s*App\s+Interface ^\s*Appliance\s+trust ^\s*Operational\s+Dot1q\s+Ethertype ^\s*$$ diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw index 3dcc549fec..20fd92adba 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.raw @@ -168,3 +168,35 @@ Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none + +Name: Gi1/0/1 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 1 (default) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml index 9b70ba853c..591397ce3a 100644 --- a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport.yml @@ -66,3 +66,14 @@ parsed_sample: voice_vlan: "none" trunking_vlans: - "ALL" + - interface: "Gi1/0/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "1" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.raw b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.raw new file mode 100644 index 0000000000..1e95b91729 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.raw @@ -0,0 +1,1639 @@ +Name: Gi1/0/1 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/2 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/3 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/4 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 200,313,754,900,990,999 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/5 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/6 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/7 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/8 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/9 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/10 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/11 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/12 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/13 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/14 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/15 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/16 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/17 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/18 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/19 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/20 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/21 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/22 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/23 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/24 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/25 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/26 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/27 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/28 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/29 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/30 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/31 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/32 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/33 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/34 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/35 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/36 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 99 (VoIP-TeleMed) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/37 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/38 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/39 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/40 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/41 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/42 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/43 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 99 (VoIP-TeleMed) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/44 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/45 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: 200 (Voice) +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/46 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/47 +Switchport: Enabled +Administrative Mode: static access +Operational Mode: static access +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: native +Negotiation of Trunking: Off +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 1 (default) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Gi1/0/48 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: 200,313,754,900,990,999 +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Te1/1/1 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Te1/1/2 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Te1/1/3 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: trunk +Administrative Trunking Encapsulation: dot1q +Operational Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none + +Name: Te1/1/4 +Switchport: Enabled +Administrative Mode: trunk +Operational Mode: down +Administrative Trunking Encapsulation: dot1q +Negotiation of Trunking: On +Access Mode VLAN: 100 (data) +Trunking Native Mode VLAN: 999 (DUMMY_VLAN) +Administrative Native VLAN tagging: disabled +Voice VLAN: none +Administrative private-vlan host-association: none +Administrative private-vlan mapping: none +Administrative private-vlan trunk native VLAN: none +Administrative private-vlan trunk Native VLAN tagging: enabled +Administrative private-vlan trunk encapsulation: dot1q +Administrative private-vlan trunk normal VLANs: none +Administrative private-vlan trunk associations: none +Administrative private-vlan trunk mappings: none +Operational private-vlan: none +Trunking VLANs Enabled: ALL +Pruning VLANs Enabled: 2-1001 +Capture Mode Disabled +Capture VLANs Allowed: ALL + +Protected: false +Unknown unicast blocked: disabled +Unknown multicast blocked: disabled +Vepa Enabled: false +App Interface: false +Appliance trust: none diff --git a/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.yml b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.yml new file mode 100644 index 0000000000..8bda587422 --- /dev/null +++ b/tests/cisco_ios/show_interfaces_switchport/cisco_ios_show_interfaces_switchport_app_interfaces.yml @@ -0,0 +1,574 @@ +--- +parsed_sample: + - interface: "Gi1/0/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/3" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/4" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "200,313,754,900,990,999" + - interface: "Gi1/0/5" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/6" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/7" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/8" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/9" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/10" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/11" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/12" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/13" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/14" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/15" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/16" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/17" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/18" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/19" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/20" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/21" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/22" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/23" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/24" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/25" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/26" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/27" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/28" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/29" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/30" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/31" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/32" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/33" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/34" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/35" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/36" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "99" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/37" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/38" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/39" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/40" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/41" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/42" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "down" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/43" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "99" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/44" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/45" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "200" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/46" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/47" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "Off" + mode: "static access" + admin_mode: "static access" + access_vlan: "100" + native_vlan: "1" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Gi1/0/48" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "200,313,754,900,990,999" + - interface: "Te1/1/1" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Te1/1/2" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "down" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Te1/1/3" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "trunk" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "ALL" + - interface: "Te1/1/4" + switchport: "Enabled" + switchport_monitor: "" + switchport_negotiation: "On" + mode: "down" + admin_mode: "trunk" + access_vlan: "100" + native_vlan: "999" + voice_vlan: "none" + trunking_vlans: + - "ALL" From b8d9d9ab2639b582455b9c7cfa51d8b1521e1e58 Mon Sep 17 00:00:00 2001 From: Mikhail Yohman Date: Mon, 13 Sep 2021 12:02:08 -0600 Subject: [PATCH 617/628] Release v2.3.2 (#988) --- CHANGELOG.md | 10 ++++++++++ ntc_templates/__init__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f13f5b92f5..f2764b36a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [2.3.2](https://github.com/networktocode/ntc-templates/tree/2.3.2) (2021-09-13) + +[Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.1...2.3.2) + +**Bugfixes** + +- cisco\_ios\_show\_ip\_bgp\_summary Account for dotted ASN notation [\#987](https://github.com/networktocode/ntc-templates/pull/987) ([thomasbridge74](https://github.com/thomasbridge74)) +- cisco\_nxos\_show\_interface\_status Account for blank type [\#980](https://github.com/networktocode/ntc-templates/pull/980) ([Kani999](https://github.com/Kani999)) +- cisco\_ios\_show\_interfaces Account for `App Interface` [\#968](https://github.com/networktocode/ntc-templates/pull/968) ([a-finocchiaro](https://github.com/a-finocchiaro)) + ## [2.3.1](https://github.com/networktocode/ntc-templates/tree/2.3.1) (2021-08-30) [Full Changelog](https://github.com/networktocode/ntc-templates/compare/v2.3.0...2.3.1) diff --git a/ntc_templates/__init__.py b/ntc_templates/__init__.py index 9dcf7876b1..80e9b74e77 100644 --- a/ntc_templates/__init__.py +++ b/ntc_templates/__init__.py @@ -1,3 +1,3 @@ """ntc_templates - Parse raw output from network devices and return structured data.""" -__version__ = "2.3.1" +__version__ = "2.3.2" diff --git a/pyproject.toml b/pyproject.toml index bc9616b763..35a1e3055e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "ntc_templates" -version = "2.3.1" +version = "2.3.2" description = "TextFSM Templates for Network Devices, and Python wrapper for TextFSM's CliTable." authors = ["Network to Code "] license = "Apache-2.0" From 128f5ab09883fdce2586c94e82e9d5af08ef88ae Mon Sep 17 00:00:00 2001 From: ahlara-devcore <57206391+ahlara-devcore@users.noreply.github.com> Date: Wed, 15 Sep 2021 14:40:19 -0400 Subject: [PATCH 618/628] cisco_ios_show_access-session: Adding Identity to MAC column (#990) Co-authored-by: Alejandro Hernandez --- .../cisco_ios_show_access-session.textfsm | 2 +- .../cisco_ios_show_access-session4.raw | 67 +++ .../cisco_ios_show_access-session4.yml | 380 ++++++++++++++++++ .../cisco_ios_show_access-session5.raw | 59 +++ .../cisco_ios_show_access-session5.yml | 248 ++++++++++++ .../cisco_ios_show_access-session6.raw | 60 +++ .../cisco_ios_show_access-session6.yml | 248 ++++++++++++ 7 files changed, 1063 insertions(+), 1 deletion(-) create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.yml create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.yml create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.raw create mode 100644 tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.yml diff --git a/ntc_templates/templates/cisco_ios_show_access-session.textfsm b/ntc_templates/templates/cisco_ios_show_access-session.textfsm index d518db4922..5ba9f40e67 100644 --- a/ntc_templates/templates/cisco_ios_show_access-session.textfsm +++ b/ntc_templates/templates/cisco_ios_show_access-session.textfsm @@ -6,7 +6,7 @@ Value STATUS (.+?) Value SESSION (\w+?) Start - ^Interface\s+MAC Address\s+Method\s+Domain -> Catch + ^Interface\s+(MAC Address|Identifier)\s+Method\s+Domain -> Catch # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.raw b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.raw new file mode 100644 index 0000000000..e5f042a6ae --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.raw @@ -0,0 +1,67 @@ + +Interface Identifier Method Domain Status Session ID +Fa3/0/40 (unknown) mab UNKNOWN Running 0A5C58FE00000018000101FF +Fa2/0/33 (unknown) mab UNKNOWN Running 0A0A7F9B000001E8010101FF +Fa3/0/13 002a.12cd.3d08 mab DATA Authz Success 0A0A7F9B0000A92A2C0101FF +Fa3/0/1 347a.12cd.3fe8 mab VOICE Authz Success 0A0A7F9B00000055000101FF +Fa3/0/38 848a.12cd.339a mab VOICE Authz Success 0A5C58FE00000025000101FF +Fa3/0/28 848a.12cd.3399 mab VOICE Authz Success 0A5C58FE0000001E000101FF +Fa2/0/27 8c8a.12cd.3d3d dot1x DATA Authz Success 0A5C58FE0000000D000101FF +Fa2/0/23 347a.12cd.3ffb mab VOICE Authz Success 0A0A7F9B00000035000101FF +Fa2/0/29 3cba.12cd.3d05 mab VOICE Authz Success 0A0A7F9B0000C6BCA20101FF +Fa2/0/32 347a.12cd.3ff2 mab VOICE Authz Success 0A0A7F9B00000030000101FF +Fa3/0/21 848a.12cd.33b2 mab VOICE Authz Success 0A0A7F9B00000059000101FF +Fa2/0/26 848a.12cd.33b1 mab VOICE Authz Success 0A5C58FE00000007000101FF +Fa2/0/6 848a.12cd.33b0 mab VOICE Authz Success 0A0A7F9B0000002D000101FF +Fa2/0/31 848a.12cd.33bf mab VOICE Authz Success 0A0A7F9B00000031000101FF +Fa2/0/37 8c8a.12cd.3c4f dot1x DATA Authz Success 0A5C58FE00000010000101FF +Fa2/0/14 002a.12cd.312a mab DATA Authz Success 0A0A7F9B0000840CAB0101FF +Fa3/0/21 54ea.12cd.3236 dot1x DATA Authz Success 0A0A7F9B00000504090101FF +Fa3/0/15 001a.12cd.3b13 mab DATA Authz Success 0A0A7F9B0000003D000101FF +Fa3/0/11 848a.12cd.33d8 mab VOICE Authz Success 0A0A7F9B0000974FF40101FF +Fa3/0/32 848a.12cd.32dc mab VOICE Authz Success 0A0A7F9B00000052000101FF +Fa2/0/27 848a.12cd.32c1 mab VOICE Authz Success 0A0A7F9B00000038000101FF +Fa2/0/20 347a.12cd.3fbb mab VOICE Authz Success 0A5C58FE00000008000101FF +Fa3/0/12 c89a.12cd.396e dot1x DATA Authz Success 0A5C58FE00000028000101FF +Fa3/0/10 000a.12cd.3ea4 dot1x DATA Authz Success 0A0A7F9B0000AD443C0101FF +Fa3/0/19 001a.12cd.3f70 mab DATA Authz Success 0A0A7F9B00004E45D40101FF +Fa3/0/37 347a.12cd.30af mab VOICE Authz Success 0A0A7F9B00004E73D40101FF +Fa3/0/11 c89a.12cd.3e91 dot1x DATA Authz Success 0A0A7F9B0000AD4A3C0101FF +Fa2/0/23 54ea.12cd.3313 dot1x DATA Authz Success 0A0A7F9B0000A9582C0101FF +Fa3/0/10 347a.12cd.3e8e mab VOICE Authz Success 0A0A7F9B0000AD453C0101FF +Fa2/0/29 008a.12cd.365c mab DATA Authz Success 0A0A7F9B0000C6BAA20101FF +Fa2/0/2 68ba.12cd.3af5 mab DATA Authz Success 0A0A7F9B0000B9EB6E0101FF +Fa2/0/44 8c8a.12cd.3341 dot1x DATA Authz Success 0A0A7F9B0000AAAD310101FF +Fa2/0/37 347a.12cd.3084 mab VOICE Authz Success 0A0A7F9B0000002F000101FF +Fa2/0/16 848a.12cd.32ea mab VOICE Authz Success 0A5C58FE00000005000101FF +Fa3/0/32 54ea.12cd.3408 dot1x DATA Authz Success 0A0A7F9B00000500090101FF +Fa2/0/31 8c8a.12cd.3a75 dot1x DATA Authz Success 0A5C58FE0000000B000101FF +Fa3/0/44 848a.12cd.3216 mab VOICE Authz Success 0A0A7F9B00007B3F880101FF +Fa2/0/36 004a.12cd.3245 mab DATA Authz Success 0A5C58FE0000000F000101FF +Fa2/0/32 8c8a.12cd.3fd4 dot1x DATA Authz Success 0A5C58FE0000000C000101FF +Fa2/0/15 24da.12cd.32fd mab VOICE Authz Success 0A5C58FE00000004000101FF +Fa3/0/15 347a.12cd.306e mab VOICE Authz Success 0A5C58FE0000001C000101FF +Fa2/0/15 8c8a.12cd.3d53 dot1x DATA Authz Success 0A0A7F9B0000050D090101FF +Fa3/0/39 008a.12cd.3c8e mab DATA Authz Success 0A0A7F9B000080149C0101FF +Fa2/0/6 8c8a.12cd.3aa9 dot1x DATA Authz Success 0A0A497E00000001000101FF +Fa3/0/35 8c8a.12cd.32aa dot1x DATA Authz Success 0A5C58FE00000029000101FF +Fa2/0/36 848a.12cd.333b mab VOICE Authz Success 0A0A7F9B00000037000101FF +Fa3/0/9 8c8a.12cd.3c67 dot1x DATA Authz Success 0A0A7F9B00000511090101FF +Fa3/0/37 8c8a.12cd.32ad dot1x DATA Authz Success 0A0A7F9B00004E72D40101FF +Fa3/0/2 848a.12cd.3223 mab VOICE Authz Success 0A5C58FE00000026000101FF +Fa3/0/44 8c8a.12cd.32b3 dot1x DATA Authz Success 0A0A7F9B00007B3E880101FF +Fa2/0/38 347a.12cd.3042 mab VOICE Authz Success 0A0A7F9B00005C190B0101FF +Fa2/0/38 8c8a.12cd.3c72 dot1x DATA Authz Success 0A0A7F9B00005C180B0101FF +Fa2/0/35 848a.12cd.335a mab VOICE Authz Success 0A0A7F9B0000002E000101FF +Fa3/0/35 848a.12cd.37aa mab VOICE Authz Success 0A0A7F9B0000003C000101FF +Fa3/0/9 848a.12cd.335d mab VOICE Authz Success 0A5C58FE0000001B000101FF +Fa2/0/30 008a.12cd.36e1 mab DATA Authz Success 0A0A7F9B0000C6BBA20101FF +Fa2/0/44 848a.12cd.334d mab VOICE Authz Success 0A0A7F9B0000AAAE310101FF +Fa3/0/12 848a.12cd.3371 mab VOICE Authz Success 0A0A7F9B00000033000101FF +Fa2/0/46 848a.12cd.3376 mab VOICE Authz Success 0A5C58FE00000013000101FF +Fa2/0/8 001a.12cd.3caa mab DATA Authz Success 0A0A7F9B0000B1544C0101FF +Fa2/0/30 347a.12cd.3e00 mab VOICE Authz Success 0A0A7F9B0000C6BDA20101FF +Fa3/0/39 848a.12cd.3365 mab VOICE Authz Success 0A0A7F9B000080199C0101FF +Fa2/0/35 8c8a.12cd.31f9 dot1x DATA Authz Success 0A5C58FE0000000E000101FF + + diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.yml b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.yml new file mode 100644 index 0000000000..3656a570ce --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session4.yml @@ -0,0 +1,380 @@ +--- +parsed_sample: + - interface: "Fa3/0/40" + mac: "(unknown)" + method: "mab" + domain: "UNKNOWN" + status: "Running" + session: "0A5C58FE00000018000101FF" + - interface: "Fa2/0/33" + mac: "(unknown)" + method: "mab" + domain: "UNKNOWN" + status: "Running" + session: "0A0A7F9B000001E8010101FF" + - interface: "Fa3/0/13" + mac: "002a.12cd.3d08" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000A92A2C0101FF" + - interface: "Fa3/0/1" + mac: "347a.12cd.3fe8" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000055000101FF" + - interface: "Fa3/0/38" + mac: "848a.12cd.339a" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000025000101FF" + - interface: "Fa3/0/28" + mac: "848a.12cd.3399" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE0000001E000101FF" + - interface: "Fa2/0/27" + mac: "8c8a.12cd.3d3d" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE0000000D000101FF" + - interface: "Fa2/0/23" + mac: "347a.12cd.3ffb" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000035000101FF" + - interface: "Fa2/0/29" + mac: "3cba.12cd.3d05" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000C6BCA20101FF" + - interface: "Fa2/0/32" + mac: "347a.12cd.3ff2" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000030000101FF" + - interface: "Fa3/0/21" + mac: "848a.12cd.33b2" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000059000101FF" + - interface: "Fa2/0/26" + mac: "848a.12cd.33b1" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000007000101FF" + - interface: "Fa2/0/6" + mac: "848a.12cd.33b0" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000002D000101FF" + - interface: "Fa2/0/31" + mac: "848a.12cd.33bf" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000031000101FF" + - interface: "Fa2/0/37" + mac: "8c8a.12cd.3c4f" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE00000010000101FF" + - interface: "Fa2/0/14" + mac: "002a.12cd.312a" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000840CAB0101FF" + - interface: "Fa3/0/21" + mac: "54ea.12cd.3236" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00000504090101FF" + - interface: "Fa3/0/15" + mac: "001a.12cd.3b13" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000003D000101FF" + - interface: "Fa3/0/11" + mac: "848a.12cd.33d8" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000974FF40101FF" + - interface: "Fa3/0/32" + mac: "848a.12cd.32dc" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000052000101FF" + - interface: "Fa2/0/27" + mac: "848a.12cd.32c1" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000038000101FF" + - interface: "Fa2/0/20" + mac: "347a.12cd.3fbb" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000008000101FF" + - interface: "Fa3/0/12" + mac: "c89a.12cd.396e" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE00000028000101FF" + - interface: "Fa3/0/10" + mac: "000a.12cd.3ea4" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000AD443C0101FF" + - interface: "Fa3/0/19" + mac: "001a.12cd.3f70" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00004E45D40101FF" + - interface: "Fa3/0/37" + mac: "347a.12cd.30af" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00004E73D40101FF" + - interface: "Fa3/0/11" + mac: "c89a.12cd.3e91" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000AD4A3C0101FF" + - interface: "Fa2/0/23" + mac: "54ea.12cd.3313" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000A9582C0101FF" + - interface: "Fa3/0/10" + mac: "347a.12cd.3e8e" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000AD453C0101FF" + - interface: "Fa2/0/29" + mac: "008a.12cd.365c" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000C6BAA20101FF" + - interface: "Fa2/0/2" + mac: "68ba.12cd.3af5" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000B9EB6E0101FF" + - interface: "Fa2/0/44" + mac: "8c8a.12cd.3341" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000AAAD310101FF" + - interface: "Fa2/0/37" + mac: "347a.12cd.3084" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000002F000101FF" + - interface: "Fa2/0/16" + mac: "848a.12cd.32ea" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000005000101FF" + - interface: "Fa3/0/32" + mac: "54ea.12cd.3408" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00000500090101FF" + - interface: "Fa2/0/31" + mac: "8c8a.12cd.3a75" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE0000000B000101FF" + - interface: "Fa3/0/44" + mac: "848a.12cd.3216" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00007B3F880101FF" + - interface: "Fa2/0/36" + mac: "004a.12cd.3245" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE0000000F000101FF" + - interface: "Fa2/0/32" + mac: "8c8a.12cd.3fd4" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE0000000C000101FF" + - interface: "Fa2/0/15" + mac: "24da.12cd.32fd" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000004000101FF" + - interface: "Fa3/0/15" + mac: "347a.12cd.306e" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE0000001C000101FF" + - interface: "Fa2/0/15" + mac: "8c8a.12cd.3d53" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000050D090101FF" + - interface: "Fa3/0/39" + mac: "008a.12cd.3c8e" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B000080149C0101FF" + - interface: "Fa2/0/6" + mac: "8c8a.12cd.3aa9" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A497E00000001000101FF" + - interface: "Fa3/0/35" + mac: "8c8a.12cd.32aa" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE00000029000101FF" + - interface: "Fa2/0/36" + mac: "848a.12cd.333b" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000037000101FF" + - interface: "Fa3/0/9" + mac: "8c8a.12cd.3c67" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00000511090101FF" + - interface: "Fa3/0/37" + mac: "8c8a.12cd.32ad" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00004E72D40101FF" + - interface: "Fa3/0/2" + mac: "848a.12cd.3223" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000026000101FF" + - interface: "Fa3/0/44" + mac: "8c8a.12cd.32b3" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00007B3E880101FF" + - interface: "Fa2/0/38" + mac: "347a.12cd.3042" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00005C190B0101FF" + - interface: "Fa2/0/38" + mac: "8c8a.12cd.3c72" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B00005C180B0101FF" + - interface: "Fa2/0/35" + mac: "848a.12cd.335a" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000002E000101FF" + - interface: "Fa3/0/35" + mac: "848a.12cd.37aa" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000003C000101FF" + - interface: "Fa3/0/9" + mac: "848a.12cd.335d" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE0000001B000101FF" + - interface: "Fa2/0/30" + mac: "008a.12cd.36e1" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000C6BBA20101FF" + - interface: "Fa2/0/44" + mac: "848a.12cd.334d" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000AAAE310101FF" + - interface: "Fa3/0/12" + mac: "848a.12cd.3371" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B00000033000101FF" + - interface: "Fa2/0/46" + mac: "848a.12cd.3376" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A5C58FE00000013000101FF" + - interface: "Fa2/0/8" + mac: "001a.12cd.3caa" + method: "mab" + domain: "DATA" + status: "Authz Success" + session: "0A0A7F9B0000B1544C0101FF" + - interface: "Fa2/0/30" + mac: "347a.12cd.3e00" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B0000C6BDA20101FF" + - interface: "Fa3/0/39" + mac: "848a.12cd.3365" + method: "mab" + domain: "VOICE" + status: "Authz Success" + session: "0A0A7F9B000080199C0101FF" + - interface: "Fa2/0/35" + mac: "8c8a.12cd.31f9" + method: "dot1x" + domain: "DATA" + status: "Authz Success" + session: "0A5C58FE0000000E000101FF" diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.raw b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.raw new file mode 100644 index 0000000000..d21c125591 --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.raw @@ -0,0 +1,59 @@ + + +Interface Identifier Method Domain Status Fg Session ID +Gi1/0/10 c89a.12cd.3b74 dot1x DATA Auth 0A0A1DFE00000FB3000101FF +Gi1/0/5 848a.12cd.3636 mab VOICE Auth 0A0A1DFE00000FBD000101FF +Gi2/0/33 848a.12cd.3624 mab VOICE Auth 0A0A1DFE00000FBA000101FF +Gi1/0/26 005a.12cd.3567 N/A UNKNOWN Unauth 0A0A1DFE00001F8D160101FF +Gi1/0/26 004a.12cd.3c40 mab DATA Auth 0A0A1DFE00001C8D5E0101FF +Gi1/0/43 848a.12cd.3db2 mab VOICE Auth 0A0A1DFE00000FC8000101FF +Gi1/0/20 54ea.12cd.3568 dot1x DATA Auth 0A0A1DFE000013DF820101FF +Gi2/0/1 002a.12cd.3906 mab DATA Auth 0A0A1DFE00000FB2000101FF +Gi1/0/21 b4ba.12cd.3f3b mab VOICE Auth 0A0A1DFE00000FCC000101FF +Gi1/0/40 002a.12cd.3d7d mab DATA Auth 0A0A1DFE00001D3B990101FF +Gi1/0/39 8c8a.12cd.3c83 dot1x DATA Auth 0A0A1DFE000010EE7C0101FF +Gi1/0/41 54ea.12cd.32e3 dot1x DATA Auth 0A0A1DFE00000FD6000101FF +Gi1/0/16 848a.12cd.35b8 mab VOICE Auth 0A0A1DFE00000FC2000101FF +Gi1/0/31 54ea.12cd.32dc dot1x DATA Auth 0A0A1DFE00000FD3000101FF +Gi1/0/22 848a.12cd.3626 mab VOICE Auth 0A0A1DFE00000FCD000101FF +Gi1/0/12 c89a.12cd.3be0 dot1x DATA Auth 0A0A1DFE00000FB6000101FF +Gi1/0/43 106a.12cd.36a4 mab DATA Auth 0A0A1DFE00000FB5000101FF +Gi1/0/46 347a.12cd.3aae mab VOICE Auth 0A0A1DFE0000201A380101FF +Gi1/0/15 347a.12cd.3bf5 mab VOICE Auth 0A0A1DFE00000FFD110101FF +Gi1/0/31 848a.12cd.3d3d mab VOICE Auth 0A0A1DFE00000FCE000101FF +Gi1/0/30 347a.12cd.3c00 mab VOICE Auth 0A0A1DFE00000FC6000101FF +Gi1/0/3 848a.12cd.35c3 mab VOICE Auth 0A0A1DFE00000FBE000101FF +Gi1/0/45 8c8a.12cd.3636 dot1x DATA Auth 0A0A1DFE00000FD8000101FF +Gi1/0/37 c89a.12cd.329d dot1x DATA Auth 0A0A1DFE00000FD5000101FF +Gi1/0/5 8c8a.12cd.3096 dot1x DATA Auth 0A0A1DFE00000FB4000101FF +Gi1/0/46 54ea.12cd.3325 dot1x DATA Auth 0A0A1DFE00002019380101FF +Gi2/0/1 848a.12cd.3615 mab VOICE Auth 0A0A1DFE00000FBB000101FF +Gi1/0/12 848a.12cd.34a6 mab VOICE Auth 0A0A1DFE00000FC1000101FF +Gi1/0/2 004a.12cd.3c3f mab DATA Auth 0A0A1DFE00001FC12D0101FF +Gi2/0/15 1c6a.12cd.317e mab DATA Auth 0A0A1DFE00001865F80101FF +Gi1/0/20 848a.12cd.36aa mab VOICE Auth 0A0A1DFE00001225F90101FF +Gi1/0/21 8c8a.12cd.38e9 dot1x DATA Auth 0A0A1DFE00000FB7000101FF +Gi1/0/37 347a.12cd.345b mab VOICE Auth 0A0A1DFE00000FC0000101FF +Gi1/0/45 848a.12cd.35fa mab VOICE Auth 0A0A1DFE00000FBF000101FF +Gi1/0/15 54ea.12cd.31ae dot1x DATA Auth 0A0A1DFE00000FFE110101FF +Gi1/0/41 848a.12cd.359f mab VOICE Auth 0A0A1DFE00000FC4000101FF +Gi1/0/23 848a.12cd.35a3 mab VOICE Auth 0A0A1DFE00000FC3000101FF +Gi1/0/1 001a.12cd.3402 mab DATA Auth 0A0A1DFE0000164F6A0101FF +Gi1/0/10 848a.12cd.35ec mab VOICE Auth 0A0A1DFE00000FC5000101FF +Gi1/0/39 24da.12cd.3b4f mab VOICE Auth 0A0A1DFE000010EF7C0101FF +Gi1/0/29 8c8a.12cd.3943 dot1x DATA Auth 0A0A1DFE0000202C3F0101FF + +Session count = 41 + +Key to Session Events Blocked Status Flags: + + A - Applying Policy (multi-line status for details) + D - Awaiting Deletion + F - Final Removal in progress + I - Awaiting IIF ID allocation + N - Waiting for AAA to come up + P - Pushed Session + R - Removing User Profile (multi-line status for details) + U - Applying User Profile (multi-line status for details) + X - Unknown Blocker + diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.yml b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.yml new file mode 100644 index 0000000000..2e0652d3a3 --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session5.yml @@ -0,0 +1,248 @@ +--- +parsed_sample: + - interface: "Gi1/0/10" + mac: "c89a.12cd.3b74" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB3000101FF" + - interface: "Gi1/0/5" + mac: "848a.12cd.3636" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBD000101FF" + - interface: "Gi2/0/33" + mac: "848a.12cd.3624" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBA000101FF" + - interface: "Gi1/0/26" + mac: "005a.12cd.3567" + method: "N/A" + domain: "UNKNOWN" + status: "Unauth" + session: "0A0A1DFE00001F8D160101FF" + - interface: "Gi1/0/26" + mac: "004a.12cd.3c40" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001C8D5E0101FF" + - interface: "Gi1/0/43" + mac: "848a.12cd.3db2" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC8000101FF" + - interface: "Gi1/0/20" + mac: "54ea.12cd.3568" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE000013DF820101FF" + - interface: "Gi2/0/1" + mac: "002a.12cd.3906" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB2000101FF" + - interface: "Gi1/0/21" + mac: "b4ba.12cd.3f3b" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCC000101FF" + - interface: "Gi1/0/40" + mac: "002a.12cd.3d7d" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001D3B990101FF" + - interface: "Gi1/0/39" + mac: "8c8a.12cd.3c83" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE000010EE7C0101FF" + - interface: "Gi1/0/41" + mac: "54ea.12cd.32e3" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD6000101FF" + - interface: "Gi1/0/16" + mac: "848a.12cd.35b8" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC2000101FF" + - interface: "Gi1/0/31" + mac: "54ea.12cd.32dc" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD3000101FF" + - interface: "Gi1/0/22" + mac: "848a.12cd.3626" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCD000101FF" + - interface: "Gi1/0/12" + mac: "c89a.12cd.3be0" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB6000101FF" + - interface: "Gi1/0/43" + mac: "106a.12cd.36a4" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB5000101FF" + - interface: "Gi1/0/46" + mac: "347a.12cd.3aae" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE0000201A380101FF" + - interface: "Gi1/0/15" + mac: "347a.12cd.3bf5" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FFD110101FF" + - interface: "Gi1/0/31" + mac: "848a.12cd.3d3d" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCE000101FF" + - interface: "Gi1/0/30" + mac: "347a.12cd.3c00" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC6000101FF" + - interface: "Gi1/0/3" + mac: "848a.12cd.35c3" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBE000101FF" + - interface: "Gi1/0/45" + mac: "8c8a.12cd.3636" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD8000101FF" + - interface: "Gi1/0/37" + mac: "c89a.12cd.329d" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD5000101FF" + - interface: "Gi1/0/5" + mac: "8c8a.12cd.3096" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB4000101FF" + - interface: "Gi1/0/46" + mac: "54ea.12cd.3325" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00002019380101FF" + - interface: "Gi2/0/1" + mac: "848a.12cd.3615" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBB000101FF" + - interface: "Gi1/0/12" + mac: "848a.12cd.34a6" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC1000101FF" + - interface: "Gi1/0/2" + mac: "004a.12cd.3c3f" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001FC12D0101FF" + - interface: "Gi2/0/15" + mac: "1c6a.12cd.317e" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001865F80101FF" + - interface: "Gi1/0/20" + mac: "848a.12cd.36aa" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00001225F90101FF" + - interface: "Gi1/0/21" + mac: "8c8a.12cd.38e9" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB7000101FF" + - interface: "Gi1/0/37" + mac: "347a.12cd.345b" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC0000101FF" + - interface: "Gi1/0/45" + mac: "848a.12cd.35fa" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBF000101FF" + - interface: "Gi1/0/15" + mac: "54ea.12cd.31ae" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FFE110101FF" + - interface: "Gi1/0/41" + mac: "848a.12cd.359f" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC4000101FF" + - interface: "Gi1/0/23" + mac: "848a.12cd.35a3" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC3000101FF" + - interface: "Gi1/0/1" + mac: "001a.12cd.3402" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE0000164F6A0101FF" + - interface: "Gi1/0/10" + mac: "848a.12cd.35ec" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC5000101FF" + - interface: "Gi1/0/39" + mac: "24da.12cd.3b4f" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE000010EF7C0101FF" + - interface: "Gi1/0/29" + mac: "8c8a.12cd.3943" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE0000202C3F0101FF" diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.raw b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.raw new file mode 100644 index 0000000000..9594fc5e92 --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.raw @@ -0,0 +1,60 @@ + + +Interface Identifier Method Domain Status Fg Session ID +------------------------------------------------------------------------------ +Gi1/0/10 c89a.12cd.3b74 dot1x DATA Auth 0A0A1DFE00000FB3000101FF +Gi1/0/5 848a.12cd.3636 mab VOICE Auth 0A0A1DFE00000FBD000101FF +Gi2/0/33 848a.12cd.3624 mab VOICE Auth 0A0A1DFE00000FBA000101FF +Gi1/0/26 005a.12cd.3567 N/A UNKNOWN Unauth 0A0A1DFE00001F8D160101FF +Gi1/0/26 004a.12cd.3c40 mab DATA Auth 0A0A1DFE00001C8D5E0101FF +Gi1/0/43 848a.12cd.3db2 mab VOICE Auth 0A0A1DFE00000FC8000101FF +Gi1/0/20 54ea.12cd.3568 dot1x DATA Auth 0A0A1DFE000013DF820101FF +Gi2/0/1 002a.12cd.3906 mab DATA Auth 0A0A1DFE00000FB2000101FF +Gi1/0/21 b4ba.12cd.3f3b mab VOICE Auth 0A0A1DFE00000FCC000101FF +Gi1/0/40 002a.12cd.3d7d mab DATA Auth 0A0A1DFE00001D3B990101FF +Gi1/0/39 8c8a.12cd.3c83 dot1x DATA Auth 0A0A1DFE000010EE7C0101FF +Gi1/0/41 54ea.12cd.32e3 dot1x DATA Auth 0A0A1DFE00000FD6000101FF +Gi1/0/16 848a.12cd.35b8 mab VOICE Auth 0A0A1DFE00000FC2000101FF +Gi1/0/31 54ea.12cd.32dc dot1x DATA Auth 0A0A1DFE00000FD3000101FF +Gi1/0/22 848a.12cd.3626 mab VOICE Auth 0A0A1DFE00000FCD000101FF +Gi1/0/12 c89a.12cd.3be0 dot1x DATA Auth 0A0A1DFE00000FB6000101FF +Gi1/0/43 106a.12cd.36a4 mab DATA Auth 0A0A1DFE00000FB5000101FF +Gi1/0/46 347a.12cd.3aae mab VOICE Auth 0A0A1DFE0000201A380101FF +Gi1/0/15 347a.12cd.3bf5 mab VOICE Auth 0A0A1DFE00000FFD110101FF +Gi1/0/31 848a.12cd.3d3d mab VOICE Auth 0A0A1DFE00000FCE000101FF +Gi1/0/30 347a.12cd.3c00 mab VOICE Auth 0A0A1DFE00000FC6000101FF +Gi1/0/3 848a.12cd.35c3 mab VOICE Auth 0A0A1DFE00000FBE000101FF +Gi1/0/45 8c8a.12cd.3636 dot1x DATA Auth 0A0A1DFE00000FD8000101FF +Gi1/0/37 c89a.12cd.329d dot1x DATA Auth 0A0A1DFE00000FD5000101FF +Gi1/0/5 8c8a.12cd.3096 dot1x DATA Auth 0A0A1DFE00000FB4000101FF +Gi1/0/46 54ea.12cd.3325 dot1x DATA Auth 0A0A1DFE00002019380101FF +Gi2/0/1 848a.12cd.3615 mab VOICE Auth 0A0A1DFE00000FBB000101FF +Gi1/0/12 848a.12cd.34a6 mab VOICE Auth 0A0A1DFE00000FC1000101FF +Gi1/0/2 004a.12cd.3c3f mab DATA Auth 0A0A1DFE00001FC12D0101FF +Gi2/0/15 1c6a.12cd.317e mab DATA Auth 0A0A1DFE00001865F80101FF +Gi1/0/20 848a.12cd.36aa mab VOICE Auth 0A0A1DFE00001225F90101FF +Gi1/0/21 8c8a.12cd.38e9 dot1x DATA Auth 0A0A1DFE00000FB7000101FF +Gi1/0/37 347a.12cd.345b mab VOICE Auth 0A0A1DFE00000FC0000101FF +Gi1/0/45 848a.12cd.35fa mab VOICE Auth 0A0A1DFE00000FBF000101FF +Gi1/0/15 54ea.12cd.31ae dot1x DATA Auth 0A0A1DFE00000FFE110101FF +Gi1/0/41 848a.12cd.359f mab VOICE Auth 0A0A1DFE00000FC4000101FF +Gi1/0/23 848a.12cd.35a3 mab VOICE Auth 0A0A1DFE00000FC3000101FF +Gi1/0/1 001a.12cd.3402 mab DATA Auth 0A0A1DFE0000164F6A0101FF +Gi1/0/10 848a.12cd.35ec mab VOICE Auth 0A0A1DFE00000FC5000101FF +Gi1/0/39 24da.12cd.3b4f mab VOICE Auth 0A0A1DFE000010EF7C0101FF +Gi1/0/29 8c8a.12cd.3943 dot1x DATA Auth 0A0A1DFE0000202C3F0101FF + +Session count = 41 + +Key to Session Events Blocked Status Flags: + + A - Applying Policy (multi-line status for details) + D - Awaiting Deletion + F - Final Removal in progress + I - Awaiting IIF ID allocation + N - Waiting for AAA to come up + P - Pushed Session + R - Removing User Profile (multi-line status for details) + U - Applying User Profile (multi-line status for details) + X - Unknown Blocker + diff --git a/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.yml b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.yml new file mode 100644 index 0000000000..2e0652d3a3 --- /dev/null +++ b/tests/cisco_ios/show_access-session/cisco_ios_show_access-session6.yml @@ -0,0 +1,248 @@ +--- +parsed_sample: + - interface: "Gi1/0/10" + mac: "c89a.12cd.3b74" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB3000101FF" + - interface: "Gi1/0/5" + mac: "848a.12cd.3636" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBD000101FF" + - interface: "Gi2/0/33" + mac: "848a.12cd.3624" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBA000101FF" + - interface: "Gi1/0/26" + mac: "005a.12cd.3567" + method: "N/A" + domain: "UNKNOWN" + status: "Unauth" + session: "0A0A1DFE00001F8D160101FF" + - interface: "Gi1/0/26" + mac: "004a.12cd.3c40" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001C8D5E0101FF" + - interface: "Gi1/0/43" + mac: "848a.12cd.3db2" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC8000101FF" + - interface: "Gi1/0/20" + mac: "54ea.12cd.3568" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE000013DF820101FF" + - interface: "Gi2/0/1" + mac: "002a.12cd.3906" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB2000101FF" + - interface: "Gi1/0/21" + mac: "b4ba.12cd.3f3b" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCC000101FF" + - interface: "Gi1/0/40" + mac: "002a.12cd.3d7d" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001D3B990101FF" + - interface: "Gi1/0/39" + mac: "8c8a.12cd.3c83" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE000010EE7C0101FF" + - interface: "Gi1/0/41" + mac: "54ea.12cd.32e3" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD6000101FF" + - interface: "Gi1/0/16" + mac: "848a.12cd.35b8" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC2000101FF" + - interface: "Gi1/0/31" + mac: "54ea.12cd.32dc" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD3000101FF" + - interface: "Gi1/0/22" + mac: "848a.12cd.3626" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCD000101FF" + - interface: "Gi1/0/12" + mac: "c89a.12cd.3be0" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB6000101FF" + - interface: "Gi1/0/43" + mac: "106a.12cd.36a4" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB5000101FF" + - interface: "Gi1/0/46" + mac: "347a.12cd.3aae" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE0000201A380101FF" + - interface: "Gi1/0/15" + mac: "347a.12cd.3bf5" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FFD110101FF" + - interface: "Gi1/0/31" + mac: "848a.12cd.3d3d" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FCE000101FF" + - interface: "Gi1/0/30" + mac: "347a.12cd.3c00" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC6000101FF" + - interface: "Gi1/0/3" + mac: "848a.12cd.35c3" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBE000101FF" + - interface: "Gi1/0/45" + mac: "8c8a.12cd.3636" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD8000101FF" + - interface: "Gi1/0/37" + mac: "c89a.12cd.329d" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FD5000101FF" + - interface: "Gi1/0/5" + mac: "8c8a.12cd.3096" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB4000101FF" + - interface: "Gi1/0/46" + mac: "54ea.12cd.3325" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00002019380101FF" + - interface: "Gi2/0/1" + mac: "848a.12cd.3615" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBB000101FF" + - interface: "Gi1/0/12" + mac: "848a.12cd.34a6" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC1000101FF" + - interface: "Gi1/0/2" + mac: "004a.12cd.3c3f" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001FC12D0101FF" + - interface: "Gi2/0/15" + mac: "1c6a.12cd.317e" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00001865F80101FF" + - interface: "Gi1/0/20" + mac: "848a.12cd.36aa" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00001225F90101FF" + - interface: "Gi1/0/21" + mac: "8c8a.12cd.38e9" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FB7000101FF" + - interface: "Gi1/0/37" + mac: "347a.12cd.345b" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC0000101FF" + - interface: "Gi1/0/45" + mac: "848a.12cd.35fa" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FBF000101FF" + - interface: "Gi1/0/15" + mac: "54ea.12cd.31ae" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE00000FFE110101FF" + - interface: "Gi1/0/41" + mac: "848a.12cd.359f" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC4000101FF" + - interface: "Gi1/0/23" + mac: "848a.12cd.35a3" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC3000101FF" + - interface: "Gi1/0/1" + mac: "001a.12cd.3402" + method: "mab" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE0000164F6A0101FF" + - interface: "Gi1/0/10" + mac: "848a.12cd.35ec" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE00000FC5000101FF" + - interface: "Gi1/0/39" + mac: "24da.12cd.3b4f" + method: "mab" + domain: "VOICE" + status: "Auth" + session: "0A0A1DFE000010EF7C0101FF" + - interface: "Gi1/0/29" + mac: "8c8a.12cd.3943" + method: "dot1x" + domain: "DATA" + status: "Auth" + session: "0A0A1DFE0000202C3F0101FF" From 16f50c6e7021c18d70e4e009221d140ccafd94f2 Mon Sep 17 00:00:00 2001 From: georgesnow Date: Wed, 15 Sep 2021 14:43:42 -0400 Subject: [PATCH 619/628] [New Template] Ciena - traffic-profile standard-profile (#981) - Add Cienna traffic-profile standard-profile --- ...ic-profiling_standard-profile_show.textfsm | 23 ++++++++++++ ntc_templates/templates/index | 1 + ...raffic-profiling_standard-profile_show.raw | 10 ++++++ ...raffic-profiling_standard-profile_show.yml | 35 +++++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 ntc_templates/templates/ciena_saos_traffic-profiling_standard-profile_show.textfsm create mode 100644 tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.raw create mode 100644 tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.yml diff --git a/ntc_templates/templates/ciena_saos_traffic-profiling_standard-profile_show.textfsm b/ntc_templates/templates/ciena_saos_traffic-profiling_standard-profile_show.textfsm new file mode 100644 index 0000000000..ec6645e446 --- /dev/null +++ b/ntc_templates/templates/ciena_saos_traffic-profiling_standard-profile_show.textfsm @@ -0,0 +1,23 @@ +Value PORT ([0-9A-Za-z\.]+) +Value ID (\d+) +Value PROFILE_NAME (\S+) +Value ROLE (\S+) +Value PARENT_CHILD (\d+) +Value CIR (\d+) +Value EIR (\d+) +Value CBS (\d+) +Value EBS (\d+) +Value CLASSIFIER_A (\S+) +Value CLASSIFIER_B (\S+) + + +Start + ^\+-+\s*STANDARD\s*PROFILE\s*TABLE\s*-+\+ + ^\|\s*Port + ^\|\s*\|\s*ID + ^\+-+\+ + ^\|\s*${PORT}\s*\|\s*${ID}\s*\|\s*${PROFILE_NAME}\s*\|\s*${ROLE}\s*\|\s*${PARENT_CHILD}\s*\|\s*${CIR}\s*\|\s*${EIR}\s*\|\s*${CBS}\s*\|\s*${EBS}\s*\|\s*${CLASSIFIER_A}\s*\|\s*${CLASSIFIER_B}\s*\| -> Record + ^\+-.* + ^\s*$$ + ^. -> Error + \ No newline at end of file diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index caff0a197c..be2bea4954 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -141,6 +141,7 @@ checkpoint_gaia_show_dns.textfsm, .*, checkpoint_gaia, show dns checkpoint_gaia_show_lom.textfsm, .*, checkpoint_gaia, show lom checkpoint_gaia_fw_stat.textfsm, .*, checkpoint_gaia, fw stat +ciena_saos_traffic-profiling_standard-profile_show.textfsm, .*, ciena_saos, traffic-p[[rofiling]] st[[andard-profile]] sh[[ow]] ciena_saos_chassis_show_temperature.textfsm, .*, ciena_saos, ch[[assis]] sh[[ow]] te[[mperature]] ciena_saos_ssh_server_show_key.textfsm, .*, ciena_saos, ssh se[[rver]] sh[[ow]] k[[ey]] ciena_saos_software_show.textfsm, .*, ciena_saos, so[[ftware]] sh[[ow]] diff --git a/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.raw b/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.raw new file mode 100644 index 0000000000..8beb72f6c7 --- /dev/null +++ b/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.raw @@ -0,0 +1,10 @@ ++---------------------------------------- STANDARD PROFILE TABLE -----------------------------------------+ +| Port | Profile | |Parent| BW (Kbps) | Max Burst KB | CLASSIFIERS | +| | ID | Name |Role|#Child| CIR | EIR | CBS | EBS | | ++-------+----+---------------+----+------+----------+----------+--------+--------+------------------------+ +|21 |1 |V4096 | N | 0 | 10000 | 0 | 2000 | 0 | VS | TestA | ++-------+----+---------------+----+------+----------+----------+--------+--------+------------------------+ +|22 |1 |V4096 | N | 0 | 100000 | 0 | 2000 | 0 | VS | TestB | ++-------+----+---------------+----+------+----------+----------+--------+--------+------------------------+ +|24 |1 |V4096 | N | 0 | 32 | 0 | 3000 | 0 | VS | TestC | ++-------+----+---------------+----+------+----------+----------+--------+--------+------------------------+ \ No newline at end of file diff --git a/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.yml b/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.yml new file mode 100644 index 0000000000..cb8d272556 --- /dev/null +++ b/tests/ciena_saos/traffic-profiling_standard-profile_show/ciena_saos_traffic-profiling_standard-profile_show.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - port: "21" + id: "1" + profile_name: "V4096" + role: "N" + parent_child: "0" + cir: "10000" + eir: "0" + cbs: "2000" + ebs: "0" + classifier_a: "VS" + classifier_b: "TestA" + - port: "22" + id: "1" + profile_name: "V4096" + role: "N" + parent_child: "0" + cir: "100000" + eir: "0" + cbs: "2000" + ebs: "0" + classifier_a: "VS" + classifier_b: "TestB" + - port: "24" + id: "1" + profile_name: "V4096" + role: "N" + parent_child: "0" + cir: "32" + eir: "0" + cbs: "3000" + ebs: "0" + classifier_a: "VS" + classifier_b: "TestC" From ee5424016575b8acb8eb0a31e6df2a9cc1fff26d Mon Sep 17 00:00:00 2001 From: AJatCDW <58526544+AJatCDW@users.noreply.github.com> Date: Wed, 15 Sep 2021 13:45:43 -0500 Subject: [PATCH 620/628] New template: cisco_nxos_show_ip_interface_vrf_all.textfsm (#978) * New template: cisco_nxos_show_ip_interface_vrf_all.textfsm * Update index * Update index --- ...sco_nxos_show_ip_interface_vrf_all.textfsm | 59 ++++++++++++++++++ ntc_templates/templates/index | 1 + .../cisco_nxos_show_ip_interface_vrf_all.raw | 61 +++++++++++++++++++ .../cisco_nxos_show_ip_interface_vrf_all.yml | 52 ++++++++++++++++ 4 files changed, 173 insertions(+) create mode 100644 ntc_templates/templates/cisco_nxos_show_ip_interface_vrf_all.textfsm create mode 100644 tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.raw create mode 100644 tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.yml diff --git a/ntc_templates/templates/cisco_nxos_show_ip_interface_vrf_all.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_interface_vrf_all.textfsm new file mode 100644 index 0000000000..ba2652fb98 --- /dev/null +++ b/ntc_templates/templates/cisco_nxos_show_ip_interface_vrf_all.textfsm @@ -0,0 +1,59 @@ +Value VRF (\S+) +Value INTF (\S+) +Value IPADDR ([a-zA-Z0-9./]+) +Value STATUS (\S+-\S+) +Value LINK (\S+-\S+) +Value PROTO (\S+-\S+) +Value SUBNET (\d+.\d+.\d+.\d+\/\d+) +Value ROUTE_PREF (\d+) +Value ROUTE_TAG (\d+) +Value BROADCAST ([a-zA-Z0-9./]+) +Value MULTICAST_GROUPS (\S+) +Value MTU (\d+) +Value PROXY_ARP (\S+) +Value IP_LOCAL_PROXY_ARP (\S+) +Value MULTICAST_ROUTING (\S+) +Value ICMP_REDIRECTS (\S+) +Value IP_DIRECTED_BROADCAST (\S+) +Value IP_FORWARDING (\S+) +Value ICMP_UNREACHABLES (\S+) +Value ICMP_PORT_UNREACHABLES (\S+) +Value IP_UNICAST_RPF (\S+) +Value IP_LOAD_SHARING (\S+) +Value WCCP_REDIRECT_OUTBOUND (\S+) +Value WCCP_REDIRECT_INBOUND (\S+) +Value WCCP_REDIRECT_EXCLUDE (\S+) + +Start + ^IP\s+Interface\s+Status\s+for\s+VRF\s+"${VRF}" + ^${INTF},\s+Interface\s+status:\s+${PROTO}/${LINK}/${STATUS} + ^\s+IP\s+address:\s+${IPADDR},\s+IP\s+subnet:\s+${SUBNET}\s+route-preference:\s+${ROUTE_PREF},\s+tag:\s+${ROUTE_TAG} + ^\s+IP\s+broadcast\s+address:\s+${BROADCAST} + ^\s+IP\s+multicast\s+groups\s+locally\s+joined:\s+${MULTICAST_GROUPS} + ^\s+IP\s+MTU:\s+${MTU}\s+bytes + ^\s+IP\s+primary\s+address\s+route-preference: + ^\s+IP\s+proxy\s+ARP\s+:\s+${PROXY_ARP} + ^\s+IP\s+Local\s+Proxy\s+ARP\s+:\s+${IP_LOCAL_PROXY_ARP} + ^\s+IP\s+multicast\s+routing:\s+${MULTICAST_ROUTING} + ^\s+IP\s+icmp\s+redirects:\s+${ICMP_REDIRECTS} + ^\s+IP\s+directed-broadcast:\s+${IP_DIRECTED_BROADCAST} + ^\s+IP\s+Forwarding:\s+${IP_FORWARDING} + ^\s+IP\s+icmp\s+unreachables.+:\s+${ICMP_UNREACHABLES} + ^\s+IP\s+icmp\s+port-unreachable:\s+${ICMP_PORT_UNREACHABLES} + ^\s+IP\s+unicast\s+reverse\s+path\s+forwarding:\s+${IP_UNICAST_RPF} + ^\s+IP\s+load\s+sharing:\s+${IP_LOAD_SHARING} + ^\s+IP\s+interface\s+statistics\s+last\s+reset: + ^\s+IP\s+interface\s+software\s+stats: + ^\s+Unicast\s+packets\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Unicast\s+bytes\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Multicast\s+packets\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Multicast\s+bytes\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Broadcast\s+packets\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Broadcast\s+bytes\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Labeled\s+packets\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+Labeled\s+bytes\s+:\s+\d+\/\d+\/\d+\/\d+\/\d+ + ^\s+WCCP\s+Redirect\s+outbound:\s+${WCCP_REDIRECT_OUTBOUND} + ^\s+WCCP\s+Redirect\s+inbound:\s+${WCCP_REDIRECT_INBOUND} + ^\s+WCCP\s+Redirect\s+exclude:\s+${WCCP_REDIRECT_EXCLUDE} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index be2bea4954..ed2f77ba37 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -285,6 +285,7 @@ cisco_nxos_show_ip_dhcp_relay_address.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[c cisco_nxos_show_lldp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] ll[[dp]] nei[[ghbors]] d[[etail]] cisco_nxos_show_cdp_neighbors_detail.textfsm, .*, cisco_nxos, sh[[ow]] c[[dp]] neig[[hbors]] det[[ail]] cisco_nxos_show_forwarding_adjacency.textfsm, .*, cisco_nxos, sh[[ow]] fo[[rwarding]] (?:ipv4 )?ad[[jacency]] +cisco_nxos_show_ip_interface_vrf_all.textfsm, .*, cisco_nxos, sh[[ow]] ip interf[[ace]] v[[rf]] a[[ll]] cisco_nxos_show_ipv6_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] ipv[[6]] interf[[ace]] b[[rief]] cisco_nxos_show_port-channel_summary.textfsm, .*, cisco_nxos, sh[[ow]] po[[rt-channel]] sum[[mary]] cisco_nxos_show_cts_interface_brief.textfsm, .*, cisco_nxos, sh[[ow]] cts inte[[rface]] br[[ief]] diff --git a/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.raw b/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.raw new file mode 100644 index 0000000000..a58c3fa6bd --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.raw @@ -0,0 +1,61 @@ +IP Interface Status for VRF "default" +Ethernet1/1, Interface status: protocol-up/link-up/admin-up, iod: 5, + IP address: 192.168.101.203, IP subnet: 192.168.101.0/24 route-preference: 0, tag: 0 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: none + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 59/75/0/59/150 + Unicast bytes : 8860/6511/0/8860/12800 + Multicast packets : 0/74/0/0/1 + Multicast bytes : 0/13864/0/0/32 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled + +IP Interface Status for VRF "management" +mgmt0, Interface status: protocol-up/link-up/admin-up, iod: 2, + IP address: 10.100.0.26, IP subnet: 10.100.0.0/24 route-preference: 0, tag: 0 + IP broadcast address: 255.255.255.255 + IP multicast groups locally joined: none + IP MTU: 1500 bytes (using link MTU) + IP primary address route-preference: 0, tag: 0 + IP proxy ARP : disabled + IP Local Proxy ARP : disabled + IP multicast routing: disabled + IP icmp redirects: enabled + IP directed-broadcast: disabled + IP Forwarding: disabled + IP icmp unreachables (except port): disabled + IP icmp port-unreachable: enabled + IP unicast reverse path forwarding: none + IP load sharing: none + IP interface statistics last reset: never + IP interface software stats: (sent/received/forwarded/originated/consumed) + Unicast packets : 0/1/0/0/2 + Unicast bytes : 0/48/0/0/96 + Multicast packets : 0/123/0/0/2 + Multicast bytes : 0/6868/0/0/64 + Broadcast packets : 0/0/0/0/0 + Broadcast bytes : 0/0/0/0/0 + Labeled packets : 0/0/0/0/0 + Labeled bytes : 0/0/0/0/0 + WCCP Redirect outbound: disabled + WCCP Redirect inbound: disabled + WCCP Redirect exclude: disabled diff --git a/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.yml b/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.yml new file mode 100644 index 0000000000..8266fd8289 --- /dev/null +++ b/tests/cisco_nxos/show_ip_interface_vrf_all/cisco_nxos_show_ip_interface_vrf_all.yml @@ -0,0 +1,52 @@ +--- +parsed_sample: + - vrf: "default" + intf: "Ethernet1/1" + ipaddr: "192.168.101.203" + status: "admin-up," + link: "link-up" + proto: "protocol-up" + subnet: "192.168.101.0/24" + route_pref: "0" + route_tag: "0" + broadcast: "255.255.255.255" + multicast_groups: "none" + mtu: "1500" + proxy_arp: "disabled" + ip_local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "enabled" + ip_directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachables: "enabled" + ip_unicast_rpf: "none" + ip_load_sharing: "none" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" + - vrf: "management" + intf: "mgmt0" + ipaddr: "10.100.0.26" + status: "admin-up," + link: "link-up" + proto: "protocol-up" + subnet: "10.100.0.0/24" + route_pref: "0" + route_tag: "0" + broadcast: "255.255.255.255" + multicast_groups: "none" + mtu: "1500" + proxy_arp: "disabled" + ip_local_proxy_arp: "disabled" + multicast_routing: "disabled" + icmp_redirects: "enabled" + ip_directed_broadcast: "disabled" + ip_forwarding: "disabled" + icmp_unreachables: "disabled" + icmp_port_unreachables: "enabled" + ip_unicast_rpf: "none" + ip_load_sharing: "none" + wccp_redirect_outbound: "disabled" + wccp_redirect_inbound: "disabled" + wccp_redirect_exclude: "disabled" From 9265e10fd4ded4c728630ff275154fd8761da81f Mon Sep 17 00:00:00 2001 From: Anton Alekseev Date: Wed, 15 Sep 2021 21:49:11 +0300 Subject: [PATCH 621/628] New template: juniper_junos_show_system_uptime.textfsm (#975) New template: juniper_junos_show_system_uptime.textfsm --- ntc_templates/templates/index | 1 + .../juniper_junos_show_system_uptime.textfsm | 36 +++++++++++++++++++ .../juniper_junos_show_system_uptime.raw | 6 ++++ .../juniper_junos_show_system_uptime.yml | 28 +++++++++++++++ .../juniper_junos_show_system_uptime_2.raw | 6 ++++ .../juniper_junos_show_system_uptime_2.yml | 28 +++++++++++++++ 6 files changed, 105 insertions(+) create mode 100644 ntc_templates/templates/juniper_junos_show_system_uptime.textfsm create mode 100644 tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.raw create mode 100644 tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.yml create mode 100644 tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.raw create mode 100644 tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.yml diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index ed2f77ba37..a384b75f62 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -457,6 +457,7 @@ juniper_junos_show_arp_no-resolve.textfsm, .*, juniper_junos, sh[[ow]] a[[rp]] n juniper_junos_show_isis_adjacency.textfsm, .*, juniper_junos, sh[[ow]] is[[is]] ad[[jacency]] juniper_junos_show_lldp_neighbors.textfsm, .*, juniper_junos, sh[[ow]] ll[[dp]] n[[eighbors]] juniper_junos_show_ospf_neighbor.textfsm, .*, juniper_junos, sh[[ow]] ospf n[[eighbor]] +juniper_junos_show_system_uptime.textfsm, .*, juniper_junos, sh[[ow]] sys[[tem]] up[[time]] juniper_junos_show_interfaces.textfsm, .*, juniper_junos, sh[[ow]] inte[[rfaces]] juniper_junos_show_version.textfsm, .*, juniper_junos, sh[[ow]] ver[[sion]] diff --git a/ntc_templates/templates/juniper_junos_show_system_uptime.textfsm b/ntc_templates/templates/juniper_junos_show_system_uptime.textfsm new file mode 100644 index 0000000000..8393cd9979 --- /dev/null +++ b/ntc_templates/templates/juniper_junos_show_system_uptime.textfsm @@ -0,0 +1,36 @@ +Value TIME (\d+:\d+:\d+) +Value TIMEZONE (\S+) +Value MONTH (\w+) +Value DAY (\d+) +Value YEAR (\d+) +Value TIME_SOURCE (.*) +Value BOOT_TIME (\d+:\d+:\d+) +Value BOOT_TIMEZONE (\S+) +Value BOOT_MONTH (\w+) +Value BOOT_DAY (\d+) +Value BOOT_YEAR (\d+) +Value PROTOCOLS_TIME (\d+:\d+:\d+) +Value PROTOCOLS_TIMEZONE (\S+) +Value PROTOCOLS_MONTH (\w+) +Value PROTOCOLS_DAY (\d+) +Value PROTOCOLS_YEAR (\d+) +Value LAST_CONFIG_TIME (\d+:\d+:\d+) +Value LAST_CONFIG_TIMEZONE (\S+) +Value LAST_CONFIG_MONTH (\w+) +Value LAST_CONFIG_DAY (\d+) +Value LAST_CONFIG_YEAR (\d+) +Value LAST_CONFIG_USER (\w+) +Value USERS (\d+) +Value LOAD_AVERAGE_1MIN (\d+\.\d{2}) +Value LOAD_AVERAGE_5MIN (\d+\.\d{2}) +Value LOAD_AVERAGE_15MIN (\d+\.\d{2}) + +Start + ^Current\s+time:\s*${YEAR}-${MONTH}-${DAY}\s+${TIME}\s+${TIMEZONE} + ^Time\s+[Ss]ource:\s*${TIME_SOURCE} + ^System\s+booted:\s*${BOOT_YEAR}-${BOOT_MONTH}-${BOOT_DAY}\s+${BOOT_TIME}\s+${BOOT_TIMEZONE}\s+\([^)]+\) + ^Protocols\s+started:\s*${PROTOCOLS_YEAR}-${PROTOCOLS_MONTH}-${PROTOCOLS_DAY}\s+${PROTOCOLS_TIME}\s+${PROTOCOLS_TIMEZONE}\s+\([^)]+\) + ^Last\s+configured:\s*${LAST_CONFIG_YEAR}-${LAST_CONFIG_MONTH}-${LAST_CONFIG_DAY}\s+${LAST_CONFIG_TIME}\s+${LAST_CONFIG_TIMEZONE}\s+\([^)]+\)\s+by\s+${LAST_CONFIG_USER} + ^.*,\s*${USERS}\s+users?,\s*load\s+averages:\s*${LOAD_AVERAGE_1MIN},\s*${LOAD_AVERAGE_5MIN},\s*${LOAD_AVERAGE_15MIN} + ^\s*$$ + ^. -> Error \ No newline at end of file diff --git a/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.raw b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.raw new file mode 100644 index 0000000000..d645472847 --- /dev/null +++ b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.raw @@ -0,0 +1,6 @@ +Current time: 2021-08-31 08:48:11 MSK +Time Source: NTP CLOCK +System booted: 2021-03-29 13:32:05 MSK (22w0d 19:16 ago) +Protocols started: 2021-03-29 13:37:11 MSK (22w0d 19:11 ago) +Last configured: 2021-07-13 16:35:35 MSK (6w6d 16:12 ago) by admin + 8:48AM up 154 days, 19:16, 2 users, load averages: 0.04, 0.04, 0.01 diff --git a/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.yml b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.yml new file mode 100644 index 0000000000..b812c75e11 --- /dev/null +++ b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime.yml @@ -0,0 +1,28 @@ +--- +parsed_sample: + - time: "08:48:11" + timezone: "MSK" + year: "2021" + month: "08" + day: "31" + time_source: "NTP CLOCK" + boot_time: "13:32:05" + boot_timezone: "MSK" + boot_year: "2021" + boot_month: "03" + boot_day: "29" + protocols_time: "13:37:11" + protocols_timezone: "MSK" + protocols_year: "2021" + protocols_month: "03" + protocols_day: "29" + last_config_time: "16:35:35" + last_config_timezone: "MSK" + last_config_year: "2021" + last_config_month: "07" + last_config_day: "13" + last_config_user: "admin" + users: "2" + load_average_1min: "0.04" + load_average_5min: "0.04" + load_average_15min: "0.01" diff --git a/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.raw b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.raw new file mode 100644 index 0000000000..2a09b8717c --- /dev/null +++ b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.raw @@ -0,0 +1,6 @@ +Current time: 2021-08-31 12:29:34 MSK +Time Source: NTP CLOCK +System booted: 2021-02-26 18:30:12 MSK (26w3d 17:59 ago) +Protocols started: 2021-02-26 18:34:06 MSK (26w3d 17:55 ago) +Last configured: 2021-07-13 16:35:18 MSK (6w6d 19:54 ago) by admin +12:29PM up 185 days, 17:59, 1 user, load averages: 0.11, 0.05, 0.01 \ No newline at end of file diff --git a/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.yml b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.yml new file mode 100644 index 0000000000..f13959c128 --- /dev/null +++ b/tests/juniper_junos/show_system_uptime/juniper_junos_show_system_uptime_2.yml @@ -0,0 +1,28 @@ +--- +parsed_sample: + - time: "12:29:34" + timezone: "MSK" + month: "08" + day: "31" + year: "2021" + time_source: "NTP CLOCK" + boot_time: "18:30:12" + boot_timezone: "MSK" + boot_month: "02" + boot_day: "26" + boot_year: "2021" + protocols_time: "18:34:06" + protocols_timezone: "MSK" + protocols_month: "02" + protocols_day: "26" + protocols_year: "2021" + last_config_time: "16:35:18" + last_config_timezone: "MSK" + last_config_month: "07" + last_config_day: "13" + last_config_year: "2021" + last_config_user: "admin" + users: "1" + load_average_1min: "0.11" + load_average_5min: "0.05" + load_average_15min: "0.01" From 141e2e0337f04b150644e22f06f15d947eefa223 Mon Sep 17 00:00:00 2001 From: Adam Troy Date: Wed, 15 Sep 2021 13:54:20 -0500 Subject: [PATCH 622/628] Template Change: cisco_ios, show archive (#905) --- .../templates/cisco_ios_show_archive.textfsm | 11 +++++++++++ .../show_archive/cisco_ios_show_archive.yml | 3 +++ .../cisco_ios_show_archive_filelist.raw | 18 ++++++++++++++++++ .../cisco_ios_show_archive_filelist.yml | 16 ++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.raw create mode 100644 tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.yml diff --git a/ntc_templates/templates/cisco_ios_show_archive.textfsm b/ntc_templates/templates/cisco_ios_show_archive.textfsm index b86a6a65e7..ee37ded98c 100644 --- a/ntc_templates/templates/cisco_ios_show_archive.textfsm +++ b/ntc_templates/templates/cisco_ios_show_archive.textfsm @@ -1,7 +1,18 @@ Value STATE (\w+\s\w+) +Value NEXT_FILENAME (\S+) +Value List FILENAMES (\S+) +Value CURRENT_INDEX (\d+) Start + ^The\s+maximum\s+archive\s+configurations\s+allowed\s+is\s+\d+. + ^There\s+(are|is)\s+currently\s+\d+\s+archive\s+configuration(s|)\s+saved. + ^The\s+next\s+archive\s+file\s+will\s+be\s+named\s+${NEXT_FILENAME} + ^\s+Archive\s+#\s+Name + ^\s+${CURRENT_INDEX}\s+${FILENAMES}\s+<-\s+Most\s+Recent + ^\s+\d+\s+${FILENAMES} + ^\s+\d+ -> Record ^\sArchive feature ${STATE} -> Record # Capture time-stamp if vty line has command time-stamping turned on ^Load\s+for\s+ ^Time\s+source\s+is + ^. -> Error diff --git a/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml b/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml index 3affec9822..633c47aaaa 100644 --- a/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml +++ b/tests/cisco_ios/show_archive/cisco_ios_show_archive.yml @@ -1,3 +1,6 @@ --- parsed_sample: - state: "not enabled" + next_filename: "" + filenames: [] + current_index: "" diff --git a/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.raw b/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.raw new file mode 100644 index 0000000000..df26959e8b --- /dev/null +++ b/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.raw @@ -0,0 +1,18 @@ +The maximum archive configurations allowed is 14. +There are currently 10 archive configurations saved. +The next archive file will be named flash:002-rtr-1-Mar-18-20-30-52.969-CDT-10 + Archive # Name + 1 flash:002-rtr-1-Mar-17-07-53-52.484-CDT-0 + 2 flash:002-rtr-1-Mar-17-20-41-40.639-CDT-1 + 3 flash:002-rtr-1-Mar-17-20-46-54.242-CDT-2 + 4 flash:002-rtr-1-Mar-17-20-50-10.784-CDT-3 + 5 flash:002-rtr-1-Mar-17-20-51-44.032-CDT-4 + 6 flash:002-rtr-1-Mar-17-20-53-59.347-CDT-5 + 7 flash:002-rtr-1-Mar-18-09-59-49.072-CDT-6 + 8 flash:002-rtr-1-Mar-18-10-00-02.188-CDT-7 + 9 flash:002-rtr-1-Mar-18-14-16-54.198-CDT-8 + 10 flash:002-rtr-1-Mar-18-16-08-16.319-CDT-9 <- Most Recent + 11 + 12 + 13 + 14 \ No newline at end of file diff --git a/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.yml b/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.yml new file mode 100644 index 0000000000..b36e06abee --- /dev/null +++ b/tests/cisco_ios/show_archive/cisco_ios_show_archive_filelist.yml @@ -0,0 +1,16 @@ +--- +parsed_sample: + - state: "" + next_filename: "flash:002-rtr-1-Mar-18-20-30-52.969-CDT-10" + filenames: + - "flash:002-rtr-1-Mar-17-07-53-52.484-CDT-0" + - "flash:002-rtr-1-Mar-17-20-41-40.639-CDT-1" + - "flash:002-rtr-1-Mar-17-20-46-54.242-CDT-2" + - "flash:002-rtr-1-Mar-17-20-50-10.784-CDT-3" + - "flash:002-rtr-1-Mar-17-20-51-44.032-CDT-4" + - "flash:002-rtr-1-Mar-17-20-53-59.347-CDT-5" + - "flash:002-rtr-1-Mar-18-09-59-49.072-CDT-6" + - "flash:002-rtr-1-Mar-18-10-00-02.188-CDT-7" + - "flash:002-rtr-1-Mar-18-14-16-54.198-CDT-8" + - "flash:002-rtr-1-Mar-18-16-08-16.319-CDT-9" + current_index: "10" From acbd8e87024db50220ebbb9622f929f53ac980db Mon Sep 17 00:00:00 2001 From: Anton Alekseev Date: Wed, 15 Sep 2021 21:55:58 +0300 Subject: [PATCH 623/628] Bugfix: change date format in hp_comware_display_clock.textfsm (#977) As per https://techhub.hpe.com/eginfolib/networking/docs/switches/5940/5200-1008b_fund_cr/content/491962772.htm output of the `display clock` commands output contains date in `MM/DD/YYYY` format. Can confirm this on different types of HPE switches I have at my disposal. Added test cases that cover the scenarios when time zone and daylight time saving configurations are set. --- ntc_templates/templates/hp_comware_display_clock.textfsm | 2 +- .../hp_comware/display_clock/hp_comware_display_clock.yml | 8 ++++---- .../display_clock/hp_comware_display_clock_1.raw | 1 + .../display_clock/hp_comware_display_clock_1.yml | 8 ++++++++ .../display_clock/hp_comware_display_clock_2.raw | 2 ++ .../display_clock/hp_comware_display_clock_2.yml | 8 ++++++++ .../display_clock/hp_comware_display_clock_3.raw | 3 +++ .../display_clock/hp_comware_display_clock_3.yml | 8 ++++++++ 8 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_1.raw create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_1.yml create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_2.raw create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_2.yml create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_3.raw create mode 100644 tests/hp_comware/display_clock/hp_comware_display_clock_3.yml diff --git a/ntc_templates/templates/hp_comware_display_clock.textfsm b/ntc_templates/templates/hp_comware_display_clock.textfsm index 612c0d6bba..ae56893686 100644 --- a/ntc_templates/templates/hp_comware_display_clock.textfsm +++ b/ntc_templates/templates/hp_comware_display_clock.textfsm @@ -6,6 +6,6 @@ Value DAY (\d+) Value YEAR (\d+) Start - ^${TIME}\s+${TIMEZONE}\s+${DAYWEEK}\s+${DAY}/${MONTH}/${YEAR} -> Record + ^${TIME}\s+${TIMEZONE}\s+${DAYWEEK}\s+${MONTH}/${DAY}/${YEAR} -> Record diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock.yml b/tests/hp_comware/display_clock/hp_comware_display_clock.yml index 84bfccbd97..d189e3b31c 100644 --- a/tests/hp_comware/display_clock/hp_comware_display_clock.yml +++ b/tests/hp_comware/display_clock/hp_comware_display_clock.yml @@ -1,8 +1,8 @@ --- parsed_sample: - - day: "01" - dayweek: "Sat" - month: "08" - time: "19:35:31" + - time: "19:35:31" timezone: "UTC" + dayweek: "Sat" + month: "01" + day: "08" year: "2011" diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_1.raw b/tests/hp_comware/display_clock/hp_comware_display_clock_1.raw new file mode 100644 index 0000000000..7146ad417a --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_1.raw @@ -0,0 +1 @@ +10:09:00 UTC Fri 03/16/2015 \ No newline at end of file diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_1.yml b/tests/hp_comware/display_clock/hp_comware_display_clock_1.yml new file mode 100644 index 0000000000..2b219c2025 --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_1.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - time: "10:09:00" + timezone: "UTC" + dayweek: "Fri" + month: "03" + day: "16" + year: "2015" diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_2.raw b/tests/hp_comware/display_clock/hp_comware_display_clock_2.raw new file mode 100644 index 0000000000..7bc116bccc --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_2.raw @@ -0,0 +1,2 @@ +15:10:00 Z5 Fri 03/16/2015 +Time Zone : Z5 add 05:00:00 \ No newline at end of file diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_2.yml b/tests/hp_comware/display_clock/hp_comware_display_clock_2.yml new file mode 100644 index 0000000000..a63a153ea4 --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_2.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - time: "15:10:00" + timezone: "Z5" + dayweek: "Fri" + month: "03" + day: "16" + year: "2015" diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_3.raw b/tests/hp_comware/display_clock/hp_comware_display_clock_3.raw new file mode 100644 index 0000000000..561e7fcf15 --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_3.raw @@ -0,0 +1,3 @@ +15:11:00 Z5 Fri 03/16/2015 +Time Zone : Z5 add 05:00:00 +Summer Time : PDT 06:00:00 08/01 06:00:00 09/01 01:00:00 diff --git a/tests/hp_comware/display_clock/hp_comware_display_clock_3.yml b/tests/hp_comware/display_clock/hp_comware_display_clock_3.yml new file mode 100644 index 0000000000..15a71d648d --- /dev/null +++ b/tests/hp_comware/display_clock/hp_comware_display_clock_3.yml @@ -0,0 +1,8 @@ +--- +parsed_sample: + - time: "15:11:00" + timezone: "Z5" + dayweek: "Fri" + month: "03" + day: "16" + year: "2015" From fecfaf12204cd77eec1c3d491c9153a6b25ea00f Mon Sep 17 00:00:00 2001 From: Stephen Corry Date: Wed, 15 Sep 2021 15:04:24 -0400 Subject: [PATCH 624/628] update arista interface template + raw (#963) --- .../arista_eos_show_interfaces.textfsm | 13 +++++-- .../arista_eos_show_interfaces.yml | 34 +++++++------------ 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/ntc_templates/templates/arista_eos_show_interfaces.textfsm b/ntc_templates/templates/arista_eos_show_interfaces.textfsm index 7e794ea461..19bc004c67 100644 --- a/ntc_templates/templates/arista_eos_show_interfaces.textfsm +++ b/ntc_templates/templates/arista_eos_show_interfaces.textfsm @@ -8,10 +8,19 @@ Value DESCRIPTION (.*) Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+\/\d+) Value MTU (\d+) Value BANDWIDTH (\d+\s+\w+) +Value INTERFACE_UP_TIME (.*) +Value LINK_STATUS_CHANGE (\d+) Start - ^${INTERFACE}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}$$ + ^\S+\s+is\s+\S+,\s+line\s+protocol\s+is\s+\S+\s+\S+ -> Continue.Record + ^${INTERFACE}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS} ^\s+Hardware\s+is\s+${HARDWARE_TYPE}(.*address\s+is\s+${ADDRESS})*(.*bia\s+${BIA})* ^\s+Description:\s+${DESCRIPTION} ^\s+Internet\s+address\s+is\s+${IP_ADDRESS} - ^.*MTU\s+${MTU}(.*BW\s+${BANDWIDTH})* -> Record + ^\s+(Up|Down)\s+${INTERFACE_UP_TIME} + ^\s+${LINK_STATUS_CHANGE}\s+link\s+status\s+changes.* + ^.*MTU\s+${MTU}(.*BW\s+${BANDWIDTH})* + ^\s* + ^. -> Error + +EOF \ No newline at end of file diff --git a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml index 0edeb2bcc6..c9a183f5d0 100644 --- a/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml +++ b/tests/arista_eos/show_interfaces/arista_eos_show_interfaces.yml @@ -10,26 +10,20 @@ parsed_sample: ip_address: "172.16.1.1/24" mtu: "1500" bandwidth: "10000000 kbit" - - interface: "Ethernet2" - link_status: "up" - protocol_status: "up (connected)" - hardware_type: "Ethernet" - address: "0800.27dc.5443" - bia: "" - description: "Connects to Ethernet1 on localhost" - ip_address: "172.16.2.1/24" - mtu: "1500" - bandwidth: "10000000 kbit" + interface_up_time: "14 minutes, 2 seconds" + link_status_change: "1" - interface: "Ethernet49/1" link_status: "administratively down" protocol_status: "notpresent (disabled)" hardware_type: "Ethernet" address: "fcbd.67e2.b922" bia: "fcbd.67e2.b922" - description: "" - ip_address: "" + description: "Connects to Ethernet1 on localhost" + ip_address: "172.16.2.1/24" mtu: "9214" bandwidth: "100000000 kbit" + interface_up_time: "6 days, 11 hours, 16 minutes, 54 seconds" + link_status_change: "1" - interface: "Loopback0" link_status: "up" protocol_status: "up (connected)" @@ -40,6 +34,8 @@ parsed_sample: ip_address: "1.1.1.1/32" mtu: "65535" bandwidth: "" + interface_up_time: "7 seconds" + link_status_change: "" - interface: "Port-Channel1" link_status: "down" protocol_status: "lowerlayerdown (notconnect)" @@ -50,6 +46,8 @@ parsed_sample: ip_address: "" mtu: "9214" bandwidth: "" + interface_up_time: "10 minutes, 21 seconds" + link_status_change: "1" - interface: "Management1" link_status: "up" protocol_status: "up (connected)" @@ -60,13 +58,5 @@ parsed_sample: ip_address: "" mtu: "1500" bandwidth: "1000000 kbit" - - interface: "Vlan10" - link_status: "down" - protocol_status: "lowerlayerdown (notconnect)" - hardware_type: "Vlan" - address: "0800.27dc.5443" - bia: "0800.27dc.5443" - description: "" - ip_address: "10.0.0.1/24" - mtu: "1500" - bandwidth: "" + interface_up_time: "14 minutes, 4 seconds" + link_status_change: "3" From 1da900d0aad888759c2e102b35743bf0e48b3138 Mon Sep 17 00:00:00 2001 From: lamiskin Date: Wed, 22 Sep 2021 00:53:30 +1000 Subject: [PATCH 625/628] New Template: cisco_ios_show_dhcp_lease (#991) --- .../cisco_ios_show_dhcp_lease.textfsm | 30 +++++++++++++++++++ ntc_templates/templates/index | 1 + .../cisco_ios_show_dhcp_lease.raw | 10 +++++++ .../cisco_ios_show_dhcp_lease.yml | 17 +++++++++++ .../cisco_ios_show_dhcp_lease_2.raw | 10 +++++++ .../cisco_ios_show_dhcp_lease_2.yml | 17 +++++++++++ .../cisco_ios_show_dhcp_lease_3.raw | 11 +++++++ .../cisco_ios_show_dhcp_lease_3.yml | 17 +++++++++++ 8 files changed, 113 insertions(+) create mode 100644 ntc_templates/templates/cisco_ios_show_dhcp_lease.textfsm create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.raw create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.yml create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.raw create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.yml create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.raw create mode 100644 tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.yml diff --git a/ntc_templates/templates/cisco_ios_show_dhcp_lease.textfsm b/ntc_templates/templates/cisco_ios_show_dhcp_lease.textfsm new file mode 100644 index 0000000000..2c1cd93400 --- /dev/null +++ b/ntc_templates/templates/cisco_ios_show_dhcp_lease.textfsm @@ -0,0 +1,30 @@ +Value ADDRESS (\d+\.\d+\.\d+\.\d+) +Value NETMASK (\d+\.\d+\.\d+\.\d+) +Value INTERFACE (\S+) +Value SERVER (\d+\.\d+\.\d+\.\d+) +Value STATE_ID (\d+) +Value STATE (\w+) +Value TRANSACTION_ID (\S+) +Value TIME_LEASE (\d+) +Value TIME_RENEWAL (\d+) +Value TIME_REBOUND (\d+) +Value TIME_NEXT_FIRE (\S+) +Value GATEWAY (\d+\.\d+\.\d+\.\d+) +Value RETRY_COUNT (\d+) +Value CLIENT_ID (\S+) +Value HOSTNAME (\S+) + +Start + ^\s*Temp\s+IP\s+addr:\s+${ADDRESS}\s+for\s+peer\s+on\s+Interface: ${INTERFACE} + ^\s*Temp\s+sub\s+net\s+mask:\s+${NETMASK} + ^\s*DHCP\s+Lease\s+server:\s+${SERVER},\s+state:\s+${STATE_ID}\s+${STATE} + ^\s*DHCP\s+transaction\s+id:\s+${TRANSACTION_ID} + ^\s*Lease:\s+${TIME_LEASE}\s+secs,\s+Renewal:\s+${TIME_RENEWAL}\s+secs,\s+Rebind:\s+${TIME_REBOUND}\s+secs + ^\s*Next\s+timer\s+fires\s+after:\s+${TIME_NEXT_FIRE} + ^\s*Client\-ID\s+hex\s+dump.*$$ + ^\s*\S+$$ + ^\s*Temp\s+default-gateway\s+addr:\s+${GATEWAY} + ^\s*Retry\s+count:\s+${RETRY_COUNT}\s+Client-ID:\s+${CLIENT_ID} + ^\s*Hostname: ${HOSTNAME} -> Record + ^\s*$$ + ^. -> Error diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index a384b75f62..9ed2eb76f7 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -243,6 +243,7 @@ cisco_ios_show_object-group.textfsm, .*, cisco_ios, sh[[ow]] ob[[ject-group]] cisco_ios_show_power_status.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] st[[atus]] cisco_ios_show_access-list.textfsm, .*, cisco_ios, sh[[ow]] acc[[ess-list]] cisco_ios_show_isdn_status.textfsm, .*, cisco_ios, sh[[ow]] isd[[n]] st[[atus]] +cisco_ios_show_dhcp_lease.textfsm, .*, cisco_ios, sh[[ow]] dh[[cp]] l[[ease]] cisco_ios_show_interfaces.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] cisco_ios_show_redundancy.textfsm, .*, cisco_ios, sh[[ow]] redu[[ndancy]] cisco_ios_show_vrrp_brief.textfsm, .*, cisco_ios, sh[[ow]] vrr[[p]] b[[rief]] diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.raw b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.raw new file mode 100644 index 0000000000..7b0d239e79 --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.raw @@ -0,0 +1,10 @@ +Temp IP addr: 172.31.8.197 for peer on Interface: Vlan49 +Temp sub net mask: 255.255.255.128 + DHCP Lease server: 130.102.189.253, state: 5 Bound + DHCP transaction id: 45B + Lease: 86400 secs, Renewal: 43200 secs, Rebind: 75600 secs + Next timer fires after: 11:59:42 + Retry count: 0 Client-ID: cisco-0025.8313.0d43-Vl49 + Client-ID hex dump: 636973636F2D303032352E383331332E + 306434332D566C3431 + Hostname: hostname-1 \ No newline at end of file diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.yml b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.yml new file mode 100644 index 0000000000..2ce77ecd80 --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - address: "172.31.8.197" + netmask: "255.255.255.128" + interface: "Vlan49" + server: "130.102.189.253" + state_id: "5" + state: "Bound" + transaction_id: "45B" + time_lease: "86400" + time_renewal: "43200" + time_rebound: "75600" + time_next_fire: "11:59:42" + gateway: "" + retry_count: "0" + client_id: "cisco-0025.8313.0d43-Vl49" + hostname: "hostname-1" diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.raw b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.raw new file mode 100644 index 0000000000..1e34016d1b --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.raw @@ -0,0 +1,10 @@ +Temp IP addr: 0.0.0.0 for peer on Interface: Vlan1 +Temp sub net mask: 0.0.0.0 + DHCP Lease server: 0.0.0.0, state: 10 Purging + DHCP transaction id: BD28 + Lease: 0 secs, Renewal: 0 secs, Rebind: 0 secs + Next timer fires after: 00:00:31 + Retry count: 0 Client-ID: cisco-0025.46e6.0cc0-Vl1 + Client-ID hex dump: 636973636F2D303032352E343665362E + 306363302D566C31 + Hostname: hostname-2 \ No newline at end of file diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.yml b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.yml new file mode 100644 index 0000000000..df6e73f887 --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_2.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - address: "0.0.0.0" + netmask: "0.0.0.0" + interface: "Vlan1" + server: "0.0.0.0" + state_id: "10" + state: "Purging" + transaction_id: "BD28" + time_lease: "0" + time_renewal: "0" + time_rebound: "0" + time_next_fire: "00:00:31" + gateway: "" + retry_count: "0" + client_id: "cisco-0025.46e6.0cc0-Vl1" + hostname: "hostname-2" diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.raw b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.raw new file mode 100644 index 0000000000..cc0c132a44 --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.raw @@ -0,0 +1,11 @@ +Temp IP addr: 172.16.219.170 for peer on Interface: Vlan49 +Temp sub net mask: 255.255.255.128 + DHCP Lease server: 130.102.188.253, state: 7 Renewing + DHCP transaction id: 210E + Lease: 14400 secs, Renewal: 7200 secs, Rebind: 12600 secs +Temp default-gateway addr: 172.16.219.129 + Next timer fires after: 00:37:36 + Retry count: 1 Client-ID: cisco-ecce.131f.fe62-Vl49 + Client-ID hex dump: 636973636F2D656363652E313331662E + 666536322D566C3439 + Hostname: 01-0080-7059-as01 \ No newline at end of file diff --git a/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.yml b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.yml new file mode 100644 index 0000000000..1b1df35284 --- /dev/null +++ b/tests/cisco_ios/show_dhcp_lease/cisco_ios_show_dhcp_lease_3.yml @@ -0,0 +1,17 @@ +--- +parsed_sample: + - address: "172.16.219.170" + netmask: "255.255.255.128" + interface: "Vlan49" + server: "130.102.188.253" + state_id: "7" + state: "Renewing" + transaction_id: "210E" + time_lease: "14400" + time_renewal: "7200" + time_rebound: "12600" + time_next_fire: "00:37:36" + gateway: "172.16.219.129" + retry_count: "1" + client_id: "cisco-ecce.131f.fe62-Vl49" + hostname: "01-0080-7059-as01" From c8098cd4724edd0ae4df3948576f154387eb7101 Mon Sep 17 00:00:00 2001 From: Armen Martirosyan Date: Wed, 22 Sep 2021 01:28:23 -0700 Subject: [PATCH 626/628] Fix ios_mac-addr type2 --- .../cisco_ios_show_mac-address-table.textfsm | 31 +- .../cisco_ios_show_mac-address-table.yml | 27 +- .../cisco_ios_show_mac-address-table10.raw | 64 +++++ .../cisco_ios_show_mac-address-table10.yml | 265 ++++++++++++++++++ .../cisco_ios_show_mac-address-table2.yml | 27 +- .../cisco_ios_show_mac-address-table3.yml | 27 +- .../cisco_ios_show_mac-address-table4.yml | 51 ++-- .../cisco_ios_show_mac-address-table5.yml | 30 +- .../cisco_ios_show_mac-address-table6.yml | 33 ++- .../cisco_ios_show_mac-address-table7.yml | 18 +- .../cisco_ios_show_mac-address-table8.yml | 147 ++++++---- .../cisco_ios_show_mac-address-table9.raw | 1 - .../cisco_ios_show_mac-address-table9.yml | 91 +++--- tests/mocks/expected/show_mac.yml | 27 +- 14 files changed, 670 insertions(+), 169 deletions(-) create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table10.raw create mode 100644 tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table10.yml diff --git a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm index 4d24ad469c..a6e994a805 100644 --- a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm +++ b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm @@ -1,7 +1,7 @@ Value DESTINATION_ADDRESS ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4}) Value TYPE (\S+) Value VLAN (\S+) -Value DESTINATION_PORT (\S+) +Value List DESTINATION_PORT (\S+?) Start ^Destination\s+Address\s+Address\s+Type\s+VLAN\s+Destination\s+Port -> TYPE1 @@ -13,7 +13,7 @@ Start ^Time\s+source\s+is TYPE1 - ^${DESTINATION_ADDRESS}\s+${TYPE}\s+${VLAN}\s+${DESTINATION_PORT} -> Record + ^${DESTINATION_ADDRESS}\s+${TYPE}\s+${VLAN}\s+${DESTINATION_PORT}$$ -> Record ^-+\s+-+ ^Displaying\s+entries ^Destination\s+Address\s+Address\s+Type\s+VLAN\s+Destination\s+Port @@ -23,16 +23,35 @@ TYPE1 TYPE2 # Order of the group in brackets here matters - ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT} -> Record + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+) -> Continue.Record + ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s*$$ -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?!\S+?,)${DESTINATION_PORT}\s*$$ -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT}, -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+\S+?,${DESTINATION_PORT}, -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){2}${DESTINATION_PORT}, -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){3}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){4}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){5}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){6}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){7}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s{20}\s+${DESTINATION_PORT}, -> Continue + ^\s{20}\s+(?:\S+?,)${DESTINATION_PORT}, -> Continue + ^\s{20}\s+(?:\S+?,){2}${DESTINATION_PORT}, -> Continue + ^\s{20}\s+(?:\S+?,){3}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s{20}\s+(?:\S+?,){4}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s{20}\s+(?:\S+?,){5}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s{20}\s+(?:\S+?,){6}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s{20}\s+(?:\S+?,){7}${DESTINATION_PORT}(?:,|$$) -> Continue ^-+\+-+ ^Displaying\s+entries ^\s+vlan\s+mac address\s+type\s+learn\s+age\s+ports ^\s*$$ + ^\s*\S+ ^Multicast\s+Entries -> End ^. -> Error TYPE3 - ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+${DESTINATION_PORT} -> Record + ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+${DESTINATION_PORT}$$ -> Record ^-+\+-+ ^Displaying\s+entries ^\s+vlan\s+mac address\s+type\s+protocols\s+port @@ -41,11 +60,11 @@ TYPE3 ^. -> Error TYPE4 - ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT} -> Record + ^\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT}$$ -> Record ^-+\s+-+ ^Displaying\s+entries ^Vlan\s+Mac Address\s+Type\s+Ports ^\s*$$ ^Total\s+Mac\s+Addresses ^MultiCast\s+Entries -> End - ^. -> Error + ^. -> Error \ No newline at end of file diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml index 0ad68037b1..042ef44f15 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table.yml @@ -3,36 +3,45 @@ parsed_sample: - destination_address: "0010.0de0.e289" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0010.7b00.1540" type: "Dynamic" vlan: "2" - destination_port: "FastEthernet0/5" + destination_port: + - "FastEthernet0/5" - destination_address: "0010.7b00.1545" type: "Dynamic" vlan: "2" - destination_port: "FastEthernet0/5" + destination_port: + - "FastEthernet0/5" - destination_address: "0060.5cf4.0076" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.5cf4.0077" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.5cf4.1315" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.70cb.f301" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "00e0.1e42.9978" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "00e0.1e9f.3900" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table10.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table10.raw new file mode 100644 index 0000000000..5a88c23f8a --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table10.raw @@ -0,0 +1,64 @@ +Legend: * - primary entry + age - seconds since last seen + n/a - not available + + vlan mac address type learn age ports +------+----------------+--------+-----+----------+-------------------------- +* 345 3333.0000.000d static Yes - Gi1/3,Gi1/6,Gi1/45,Gi1/46,Gi1/47 + Gi1/48,Gi2/2,Gi2/45,Gi2/46 + Gi3/1,Gi3/2,Gi3/46,Gi3/47 + Gi3/48,Gi5/2,Gi8/1,Gi8/2 + Gi8/3,Gi8/4,Gi8/5,Gi8/6 + Gi8/7,Gi8/8,Gi8/9,Gi8/10 + Gi8/15,Gi8/16,Gi8/17,Gi8/45 + Gi9/1,Gi9/2,Gi9/3,Gi9/4 + Gi9/5,Gi9/6,Gi9/7,Gi9/8 + Gi9/9,Gi9/10,Gi9/15,Gi9/16 + Gi9/26,Gi9/27,Gi9/28,Gi9/29 + Gi9/45,Gi9/48,Router,Switch + Stby-Switch +* 344 3333.0000.000d static Yes - Gi1/3,Gi1/6,Gi1/45,Gi1/46 + Gi1/48,Gi2/2,Gi2/45,Gi2/46 + Gi3/1,Gi3/2,Gi3/46,Gi3/47 + Gi3/48,Gi5/2,Gi8/1,Gi8/2 + Gi8/3,Gi8/4,Gi8/5,Gi8/6 + Gi8/7,Gi8/8,Gi8/9,Gi8/10 + Gi8/15,Gi8/16,Gi8/17,Gi8/45 + Gi9/1,Gi9/2,Gi9/3,Gi9/4 + Gi9/5,Gi9/6,Gi9/7,Gi9/8 + Gi9/9,Gi9/10,Gi9/15,Gi9/16 + Gi9/26,Gi9/27,Gi9/28,Gi9/29 + Gi9/45,Gi9/48,Router,Switch + Stby-Switch +* 300 b4b5.2fef.dd44 dynamic Yes 190 Gi9/16 +* 800 00c0.ff1a.6aee dynamic Yes 10 Gi1/45 +* 300 0015.5d0a.0502 dynamic Yes 0 Gi8/15 +* 300 3333.0000.0016 static Yes - Switch +* 1102 00e1.6d87.f600 dynamic Yes 0 Gi9/1 +* --- 0000.0000.0000 static No - Router +* 300 ecb1.d7aa.e791 dynamic Yes 0 Gi8/45 +* 810 0023.ac8b.5000 static No - Router +* 300 0050.568f.4859 dynamic Yes 0 Gi8/8 +* 800 0023.ac8b.5000 static No - Router +* 300 ecb1.d7aa.e790 dynamic Yes 5 Gi8/45 +* 800 00c0.ff1a.372c dynamic Yes 15 Gi1/46 +* 344 f092.1c04.f340 dynamic Yes 0 Gi8/6 +* 300 0050.568f.7aa4 dynamic Yes 0 Gi8/8 +* 344 3333.0000.0001 static Yes - Switch +* 345 3333.0000.0001 static Yes - Switch +* 410 0023.ac8b.5000 static No - Router +* 404 0023.ac8b.5000 static No - Router +* 800 0100.5e7f.4653 static Yes - +* 300 0050.568f.649a dynamic Yes 5 Gi8/8 +* 1102 3333.0000.0016 static Yes - Switch +* 300 ecb1.d7aa.e799 dynamic Yes 0 Gi9/45 +* 300 0050.568f.2416 dynamic Yes 5 Gi8/6 +* 300 0050.568f.12fa dynamic Yes 0 Gi8/8 +* 810 000d.ec3d.ef00 dynamic Yes 5 Gi3/2 +* 444 f092.1c04.0510 dynamic Yes 0 Gi9/7 +* 300 3333.0000.0001 static Yes - Switch +* 300 0050.568f.08c3 dynamic Yes 5 Gi8/6 +* 1102 00e1.6d87.f700 dynamic Yes 0 Gi8/1 +* 300 0050.568f.7fb7 dynamic Yes 0 Gi9/6 +* 300 2c59.e537.d3bc dynamic Yes 0 Gi8/10 +* 800 0100.5e7f.fffa static Yes - \ No newline at end of file diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table10.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table10.yml new file mode 100644 index 0000000000..949b220c82 --- /dev/null +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table10.yml @@ -0,0 +1,265 @@ +--- +parsed_sample: + - destination_address: "3333.0000.000d" + destination_port: + - "Gi1/3" + - "Gi1/6" + - "Gi1/45" + - "Gi1/46" + - "Gi1/47" + - "Gi1/48" + - "Gi2/2" + - "Gi2/45" + - "Gi2/46" + - "Gi3/1" + - "Gi3/2" + - "Gi3/46" + - "Gi3/47" + - "Gi3/48" + - "Gi5/2" + - "Gi8/1" + - "Gi8/2" + - "Gi8/3" + - "Gi8/4" + - "Gi8/5" + - "Gi8/6" + - "Gi8/7" + - "Gi8/8" + - "Gi8/9" + - "Gi8/10" + - "Gi8/15" + - "Gi8/16" + - "Gi8/17" + - "Gi8/45" + - "Gi9/1" + - "Gi9/2" + - "Gi9/3" + - "Gi9/4" + - "Gi9/5" + - "Gi9/6" + - "Gi9/7" + - "Gi9/8" + - "Gi9/9" + - "Gi9/10" + - "Gi9/15" + - "Gi9/16" + - "Gi9/26" + - "Gi9/27" + - "Gi9/28" + - "Gi9/29" + - "Gi9/45" + - "Gi9/48" + - "Router" + - "Switch" + type: "static" + vlan: "345" + - destination_address: "3333.0000.000d" + destination_port: + - "Gi1/3" + - "Gi1/6" + - "Gi1/45" + - "Gi1/46" + - "Gi1/48" + - "Gi2/2" + - "Gi2/45" + - "Gi2/46" + - "Gi3/1" + - "Gi3/2" + - "Gi3/46" + - "Gi3/47" + - "Gi3/48" + - "Gi5/2" + - "Gi8/1" + - "Gi8/2" + - "Gi8/3" + - "Gi8/4" + - "Gi8/5" + - "Gi8/6" + - "Gi8/7" + - "Gi8/8" + - "Gi8/9" + - "Gi8/10" + - "Gi8/15" + - "Gi8/16" + - "Gi8/17" + - "Gi8/45" + - "Gi9/1" + - "Gi9/2" + - "Gi9/3" + - "Gi9/4" + - "Gi9/5" + - "Gi9/6" + - "Gi9/7" + - "Gi9/8" + - "Gi9/9" + - "Gi9/10" + - "Gi9/15" + - "Gi9/16" + - "Gi9/26" + - "Gi9/27" + - "Gi9/28" + - "Gi9/29" + - "Gi9/45" + - "Gi9/48" + - "Router" + - "Switch" + type: "static" + vlan: "344" + - destination_address: "b4b5.2fef.dd44" + destination_port: + - "Gi9/16" + type: "dynamic" + vlan: "300" + - destination_address: "00c0.ff1a.6aee" + destination_port: + - "Gi1/45" + type: "dynamic" + vlan: "800" + - destination_address: "0015.5d0a.0502" + destination_port: + - "Gi8/15" + type: "dynamic" + vlan: "300" + - destination_address: "3333.0000.0016" + destination_port: + - "Switch" + type: "static" + vlan: "300" + - destination_address: "00e1.6d87.f600" + destination_port: + - "Gi9/1" + type: "dynamic" + vlan: "1102" + - destination_address: "0000.0000.0000" + destination_port: + - "Router" + type: "static" + vlan: "---" + - destination_address: "ecb1.d7aa.e791" + destination_port: + - "Gi8/45" + type: "dynamic" + vlan: "300" + - destination_address: "0023.ac8b.5000" + destination_port: + - "Router" + type: "static" + vlan: "810" + - destination_address: "0050.568f.4859" + destination_port: + - "Gi8/8" + type: "dynamic" + vlan: "300" + - destination_address: "0023.ac8b.5000" + destination_port: + - "Router" + type: "static" + vlan: "800" + - destination_address: "ecb1.d7aa.e790" + destination_port: + - "Gi8/45" + type: "dynamic" + vlan: "300" + - destination_address: "00c0.ff1a.372c" + destination_port: + - "Gi1/46" + type: "dynamic" + vlan: "800" + - destination_address: "f092.1c04.f340" + destination_port: + - "Gi8/6" + type: "dynamic" + vlan: "344" + - destination_address: "0050.568f.7aa4" + destination_port: + - "Gi8/8" + type: "dynamic" + vlan: "300" + - destination_address: "3333.0000.0001" + destination_port: + - "Switch" + type: "static" + vlan: "344" + - destination_address: "3333.0000.0001" + destination_port: + - "Switch" + type: "static" + vlan: "345" + - destination_address: "0023.ac8b.5000" + destination_port: + - "Router" + type: "static" + vlan: "410" + - destination_address: "0023.ac8b.5000" + destination_port: + - "Router" + type: "static" + vlan: "404" + - destination_address: "0100.5e7f.4653" + destination_port: [] + type: "static" + vlan: "800" + - destination_address: "0050.568f.649a" + destination_port: + - "Gi8/8" + type: "dynamic" + vlan: "300" + - destination_address: "3333.0000.0016" + destination_port: + - "Switch" + type: "static" + vlan: "1102" + - destination_address: "ecb1.d7aa.e799" + destination_port: + - "Gi9/45" + type: "dynamic" + vlan: "300" + - destination_address: "0050.568f.2416" + destination_port: + - "Gi8/6" + type: "dynamic" + vlan: "300" + - destination_address: "0050.568f.12fa" + destination_port: + - "Gi8/8" + type: "dynamic" + vlan: "300" + - destination_address: "000d.ec3d.ef00" + destination_port: + - "Gi3/2" + type: "dynamic" + vlan: "810" + - destination_address: "f092.1c04.0510" + destination_port: + - "Gi9/7" + type: "dynamic" + vlan: "444" + - destination_address: "3333.0000.0001" + destination_port: + - "Switch" + type: "static" + vlan: "300" + - destination_address: "0050.568f.08c3" + destination_port: + - "Gi8/6" + type: "dynamic" + vlan: "300" + - destination_address: "00e1.6d87.f700" + destination_port: + - "Gi8/1" + type: "dynamic" + vlan: "1102" + - destination_address: "0050.568f.7fb7" + destination_port: + - "Gi9/6" + type: "dynamic" + vlan: "300" + - destination_address: "2c59.e537.d3bc" + destination_port: + - "Gi8/10" + type: "dynamic" + vlan: "300" + - destination_address: "0100.5e7f.fffa" + destination_port: [] + type: "static" + vlan: "800" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml index 970e0426b7..af5d6e61a1 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.yml @@ -3,36 +3,45 @@ parsed_sample: - destination_address: "30a3.30a3.a1c3" type: "dynamic" vlan: "666" - destination_port: "Te1/30" + destination_port: + - "Te1/30" - destination_address: "30a3.30a3.5ab8" type: "dynamic" vlan: "666" - destination_port: "Po3" + destination_port: + - "Po3" - destination_address: "30a3.30a3.4d54" type: "dynamic" vlan: "60" - destination_port: "Te1/21" + destination_port: + - "Te1/21" - destination_address: "0000.30a3.0167" type: "static" vlan: "777" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "30a3.30a3.58b5" type: "dynamic" vlan: "664" - destination_port: "Po6" + destination_port: + - "Po6" - destination_address: "30a3.30a3.daf5" type: "dynamic" vlan: "667" - destination_port: "Te3/20" + destination_port: + - "Te3/20" - destination_address: "30a3.30a3.e401" type: "dynamic" vlan: "668" - destination_port: "Po6" + destination_port: + - "Po6" - destination_address: "30a3.30a3.5a22" type: "dynamic" vlan: "669" - destination_port: "Te3/20" + destination_port: + - "Te3/20" - destination_address: "30a3.30a3.5a22" type: "dynamic" vlan: "2000" - destination_port: "Te3/20" + destination_port: + - "Te3/20" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml index de4198e107..b092112ba5 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table3.yml @@ -3,36 +3,45 @@ parsed_sample: - destination_address: "30a3.30a3.a1c3" type: "dynamic" vlan: "1" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c4" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c5" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c6" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c7" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c8" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1c9" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1ca" type: "dynamic" vlan: "99" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" - destination_address: "30a3.30a3.a1ca" type: "dynamic" vlan: "2000" - destination_port: "Port-channel1" + destination_port: + - "Port-channel1" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml index 141468d8a7..2c15de8577 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table4.yml @@ -3,68 +3,85 @@ parsed_sample: - destination_address: "0100.0ccc.cccc" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "0100.0ccc.cccd" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "0100.0ccc.ccce" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "0180.c200.0000" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "0180.c200.0001" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "30a3.30a3.a1c3" type: "DYNAMIC" vlan: "1" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "30a3.30a3.a1c4" type: "DYNAMIC" vlan: "1" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "30a3.30a3.a1c5" type: "DYNAMIC" vlan: "1" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "30a3.30a3.a1c6" type: "DYNAMIC" vlan: "1" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "30a3.30a3.a1c7" type: "DYNAMIC" vlan: "1" - destination_port: "Te1/1/3" + destination_port: + - "Te1/1/3" - destination_address: "30a3.30a3.a1c8" type: "DYNAMIC" vlan: "99" - destination_port: "Te1/1/3" + destination_port: + - "Te1/1/3" - destination_address: "30a3.30a3.a1c9" type: "DYNAMIC" vlan: "99" - destination_port: "Te1/1/3" + destination_port: + - "Te1/1/3" - destination_address: "30a3.30a3.a1ca" type: "DYNAMIC" vlan: "99" - destination_port: "Te1/1/3" + destination_port: + - "Te1/1/3" - destination_address: "30a3.30a3.a1cb" type: "DYNAMIC" vlan: "99" - destination_port: "Te1/1/3" + destination_port: + - "Te1/1/3" - destination_address: "30a3.30a3.a1cc" type: "STATIC" vlan: "99" - destination_port: "Vl99" + destination_port: + - "Vl99" - destination_address: "30a3.30a3.a1cd" type: "DYNAMIC" vlan: "99" - destination_port: "Po6" + destination_port: + - "Po6" - destination_address: "30a3.30a3.a1cd" type: "DYNAMIC" vlan: "2000" - destination_port: "Po6" + destination_port: + - "Po6" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml index 7262f25e55..3cc19b12d7 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table5.yml @@ -3,40 +3,50 @@ parsed_sample: - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" - destination_address: "009e.1ead.eadd" type: "dynamic" vlan: "420" - destination_port: "Po140" + destination_port: + - "Po140" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml index 117f7a3f03..e570b09bd8 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table6.yml @@ -3,44 +3,55 @@ parsed_sample: - destination_address: "0180.c200.000f" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "0180.c200.0010" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "ffff.ffff.ffff" type: "STATIC" vlan: "All" - destination_port: "CPU" + destination_port: + - "CPU" - destination_address: "c869.cd54.1f71" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/7" + destination_port: + - "Gi1/0/7" - destination_address: "d052.a826.5d8d" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/3" + destination_port: + - "Gi1/0/3" - destination_address: "e46f.13a9.08e5" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/36" + destination_port: + - "Gi1/0/36" - destination_address: "e8eb.1190.d0ff" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/37" + destination_port: + - "Gi1/0/37" - destination_address: "fca1.831b.8ba9" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/41" + destination_port: + - "Gi1/0/41" - destination_address: "fcec.da7a.c955" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/1" + destination_port: + - "Gi1/0/1" - destination_address: "fcec.da80.0a3e" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/22" + destination_port: + - "Gi1/0/22" - destination_address: "fcec.da80.0af9" type: "DYNAMIC" vlan: "2" - destination_port: "Gi1/0/41" + destination_port: + - "Gi1/0/41" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml index e99dcd98c6..fd25e6584b 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table7.yml @@ -3,24 +3,30 @@ parsed_sample: - destination_address: "0000.0c07.ac04" type: "dynamic" vlan: "46" - destination_port: "TenGigabitEthernet5/1" + destination_port: + - "TenGigabitEthernet5/1" - destination_address: "000c.ab66.1c75" type: "dynamic" vlan: "46" - destination_port: "GigabitEthernet1/15" + destination_port: + - "GigabitEthernet1/15" - destination_address: "ac9b.0acc.ff55" type: "dynamic" vlan: "46" - destination_port: "GigabitEthernet7/13" + destination_port: + - "GigabitEthernet7/13" - destination_address: "002a.101e.e33e" type: "dynamic" vlan: "48" - destination_port: "TenGigabitEthernet7/1" + destination_port: + - "TenGigabitEthernet7/1" - destination_address: "002a.1060.51da" type: "dynamic" vlan: "48" - destination_port: "TenGigabitEthernet1/10" + destination_port: + - "TenGigabitEthernet1/10" - destination_address: "0081.c4ba.d07f" type: "static" vlan: "48" - destination_port: "Switch" + destination_port: + - "Switch" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml index 7e1c30fe9f..fe1a3ce7aa 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table8.yml @@ -3,196 +3,245 @@ parsed_sample: - destination_address: "a099.9b05.ffaf" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "006c.bc1c.a865" type: "static" vlan: "51" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "701f.5385.b307" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "0050.b68e.1efd" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "70cd.604c.523c" type: "dynamic" vlan: "49" - destination_port: "Te1/29" + destination_port: + - "Te1/29" - destination_address: "701f.5385.b318" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "e033.8ebe.f149" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "701f.534c.5bbd" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "f80d.609c.cf1c" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "701f.534c.5ba0" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "006c.bc1c.6aa7" type: "dynamic" vlan: "44" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "a099.9b05.ffaf" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "006c.bc1c.a865" type: "static" vlan: "51" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "701f.5385.b307" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "0050.b68e.1efd" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "70cd.604c.523c" type: "dynamic" vlan: "49" - destination_port: "Te1/29" + destination_port: + - "Te1/29" - destination_address: "701f.5385.b318" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "e033.8ebe.f149" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "58b1.0f81.4b32" type: "dynamic" vlan: "45" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "6c96.cfdd.d70f" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "701f.534c.5bd3" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "701f.5385.b32b" type: "dynamic" vlan: "65" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "701f.534c.5b60" type: "dynamic" vlan: "68" - destination_port: "Te1/6" + destination_port: + - "Te1/6" - destination_address: "701f.534c.5bbd" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "f80d.609c.cf1c" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "701f.534c.5ba0" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "006c.bc1c.6aa7" type: "dynamic" vlan: "44" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "0072.78de.5b2f" type: "dynamic" vlan: "69" - destination_port: "Te1/6" + destination_port: + - "Te1/6" - destination_address: "701f.5385.b259" type: "dynamic" vlan: "63" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "acbc.32be.0a99" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "3ce1.a146.fd6e" type: "dynamic" vlan: "57" - destination_port: "Te1/5" + destination_port: + - "Te1/5" - destination_address: "a099.9b05.ffaf" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "006c.bc1c.a865" type: "static" vlan: "51" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "701f.5385.b307" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "0050.b68e.1efd" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "70cd.604c.523c" type: "dynamic" vlan: "49" - destination_port: "Te1/29" + destination_port: + - "Te1/29" - destination_address: "701f.5385.b318" type: "dynamic" vlan: "65" - destination_port: "Te1/4" + destination_port: + - "Te1/4" - destination_address: "701f.534c.5ec1" type: "dynamic" vlan: "63" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "701f.534c.5bb5" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "701f.534c.5b60" type: "dynamic" vlan: "68" - destination_port: "Te1/6" + destination_port: + - "Te1/6" - destination_address: "701f.534c.5bbd" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "f80d.609c.cf1c" type: "dynamic" vlan: "53" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "701f.534c.5ba0" type: "dynamic" vlan: "64" - destination_port: "Te1/3" + destination_port: + - "Te1/3" - destination_address: "006c.bc1c.6aa7" type: "dynamic" vlan: "44" - destination_port: "Po1" + destination_port: + - "Po1" - destination_address: "0072.78de.5b2f" type: "dynamic" vlan: "69" - destination_port: "Te1/6" + destination_port: + - "Te1/6" - destination_address: "701f.5385.b259" type: "dynamic" vlan: "63" - destination_port: "Te1/2" + destination_port: + - "Te1/2" - destination_address: "acbc.32be.0a99" type: "dynamic" vlan: "40" - destination_port: "Te1/8" + destination_port: + - "Te1/8" - destination_address: "3ce1.a146.fd6e" type: "dynamic" vlan: "57" - destination_port: "Te1/5" + destination_port: + - "Te1/5" - destination_address: "701f.534c.643e" type: "dynamic" vlan: "67" - destination_port: "Te1/5" + destination_port: + - "Te1/5" diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw index 5a5cc393af..bdb06a7cd2 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.raw @@ -35,7 +35,6 @@ Displaying entries from active supervisor:: * 10 0000.0000.1300 dynamic Yes 0 Te1/5/13 200 0000.0000.3cc0 dynamic Yes 20 Te1/1/8 82 0000.0000.3900 dynamic Yes 0 Te2/5/4 - R N/A 0000.0000.0e00 static No - Router 216 0000.0000.4b10 dynamic Yes 265 Te1/1/8 361 0000.0000.7565 dynamic Yes 50 Po4 361 0000.0000.0ca6 dynamic Yes 105 Po4 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml index 7c5f61973f..2cc4534051 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml @@ -3,120 +3,145 @@ parsed_sample: - destination_address: "0000.0000.4500" type: "dynamic" vlan: "75" - destination_port: "Te2/5/4" + destination_port: + - "Te2/5/4" - destination_address: "0000.0000.21de" type: "dynamic" vlan: "402" - destination_port: "Po4" + destination_port: + - "Po4" - destination_address: "0000.0000.3800" type: "dynamic" vlan: "3" - destination_port: "Te2/5/10" + destination_port: + - "Te2/5/10" - destination_address: "0000.0000.0f00" type: "dynamic" vlan: "24" - destination_port: "Te1/1/9" + destination_port: + - "Te1/1/9" - destination_address: "0000.0100.0000" type: "dynamic" vlan: "10" - destination_port: "Te1/5/13" + destination_port: + - "Te1/5/13" - destination_address: "0000.0000.0e00" type: "static" vlan: "459" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "0000.0000.0d00" type: "dynamic" vlan: "39" - destination_port: "Te1/5/4" + destination_port: + - "Te1/5/4" - destination_address: "0000.0000.ace0" type: "dynamic" vlan: "174" - destination_port: "Te1/1/11" + destination_port: + - "Te1/1/11" - destination_address: "0000.0000.1bea" type: "dynamic" vlan: "361" - destination_port: "Po4" + destination_port: + - "Po4" - destination_address: "0000.0000.e903" type: "dynamic" vlan: "310" - destination_port: "Te2/1/5" + destination_port: + - "Te2/1/5" - destination_address: "0000.0000.0400" type: "dynamic" vlan: "302" - destination_port: "Te1/5/4" + destination_port: + - "Te1/5/4" - destination_address: "0000.0000.0000" type: "dynamic" vlan: "402" - destination_port: "Te1/1/10" + destination_port: + - "Te1/1/10" - destination_address: "0000.0000.0e00" type: "static" vlan: "303" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "0000.0000.3e00" type: "dynamic" vlan: "141" - destination_port: "Te2/1/9" + destination_port: + - "Te2/1/9" - destination_address: "0000.0000.3900" type: "dynamic" vlan: "8" - destination_port: "Te2/5/3" + destination_port: + - "Te2/5/3" - destination_address: "0000.0000.0f00" type: "dynamic" vlan: "111" - destination_port: "Te1/1/9" + destination_port: + - "Te1/1/9" - destination_address: "0000.0000.0e00" type: "static" vlan: "68" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "0000.0000.39c9" type: "dynamic" vlan: "60" - destination_port: "Te2/1/5" + destination_port: + - "Te2/1/5" - destination_address: "0000.0000.a3ea" type: "dynamic" vlan: "6" - destination_port: "Te2/5/8" + destination_port: + - "Te2/5/8" - destination_address: "0000.0000.4000" type: "dynamic" vlan: "703" - destination_port: "Te2/1/9" + destination_port: + - "Te2/1/9" - destination_address: "0000.0000.0e00" type: "static" vlan: "62" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "0000.0000.1300" type: "dynamic" vlan: "10" - destination_port: "Te1/5/13" + destination_port: + - "Te1/5/13" - destination_address: "0000.0000.3cc0" type: "dynamic" vlan: "200" - destination_port: "Te1/1/8" + destination_port: + - "Te1/1/8" - destination_address: "0000.0000.3900" type: "dynamic" vlan: "82" - destination_port: "Te2/5/4" - - destination_address: "0000.0000.0e00" - type: "static" - vlan: "N/A" - destination_port: "Router" + destination_port: + - "Te2/5/4" - destination_address: "0000.0000.4b10" type: "dynamic" vlan: "216" - destination_port: "Te1/1/8" + destination_port: + - "Te1/1/8" - destination_address: "0000.0000.7565" type: "dynamic" vlan: "361" - destination_port: "Po4" + destination_port: + - "Po4" - destination_address: "0000.0000.0ca6" type: "dynamic" vlan: "361" - destination_port: "Po4" + destination_port: + - "Po4" - destination_address: "0000.0000.0e00" type: "static" vlan: "451" - destination_port: "Router" + destination_port: + - "Router" - destination_address: "0000.0000.1fcb" type: "dynamic" vlan: "401" - destination_port: "Po4" + destination_port: + - "Po4" diff --git a/tests/mocks/expected/show_mac.yml b/tests/mocks/expected/show_mac.yml index 0ad68037b1..042ef44f15 100644 --- a/tests/mocks/expected/show_mac.yml +++ b/tests/mocks/expected/show_mac.yml @@ -3,36 +3,45 @@ parsed_sample: - destination_address: "0010.0de0.e289" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0010.7b00.1540" type: "Dynamic" vlan: "2" - destination_port: "FastEthernet0/5" + destination_port: + - "FastEthernet0/5" - destination_address: "0010.7b00.1545" type: "Dynamic" vlan: "2" - destination_port: "FastEthernet0/5" + destination_port: + - "FastEthernet0/5" - destination_address: "0060.5cf4.0076" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.5cf4.0077" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.5cf4.1315" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "0060.70cb.f301" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "00e0.1e42.9978" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" - destination_address: "00e0.1e9f.3900" type: "Dynamic" vlan: "1" - destination_port: "FastEthernet0/1" + destination_port: + - "FastEthernet0/1" From b367a428f68c35272e683047aaf8e8d0d6212084 Mon Sep 17 00:00:00 2001 From: Jacob D <86626873+jacdavi@users.noreply.github.com> Date: Tue, 28 Sep 2021 17:45:47 -0700 Subject: [PATCH 627/628] fixes following merge --- .../cisco_ios_show_mac-address-table.textfsm | 22 +++++++++---------- .../cisco_ios_show_mac-address-table9.yml | 5 +++-- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm index 4cbc7b894a..a87d399f02 100644 --- a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm +++ b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm @@ -1,7 +1,7 @@ Value DESTINATION_ADDRESS ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4}) Value TYPE (\S+) Value VLAN (\S+) -Value List DESTINATION_PORT (\S*?) +Value List DESTINATION_PORT (\S+?) Start ^Destination\s+Address\s+Address\s+Type\s+VLAN\s+Destination\s+Port -> TYPE1 @@ -23,17 +23,17 @@ TYPE1 TYPE2 # Order of the group in brackets here matters - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+) -> Continue.Record - ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s*$$ -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?!\S+?,)${DESTINATION_PORT}\s*$$ -> Continue + ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+) -> Continue.Record + ^\s*(?:\*\s+R|\*|R|S|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s*$$ -> Continue + ^\s*(?:\*\s+R|\*|R|S|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?!\S+?,)${DESTINATION_PORT}\s*$$ -> Continue ^\s*(?:\*\s+R|\*|R|S|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s*${DESTINATION_PORT}, -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+\S+?,${DESTINATION_PORT}, -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){2}${DESTINATION_PORT}, -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){3}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){4}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){5}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){6}${DESTINATION_PORT}(?:,|$$) -> Continue - ^\s*(?:\*\s+R|\*|R|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){7}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+\S+?,${DESTINATION_PORT}, -> Continue + ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){2}${DESTINATION_PORT}, -> Continue + ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){3}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){4}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){5}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){6}${DESTINATION_PORT}(?:,|$$) -> Continue + ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){7}${DESTINATION_PORT}(?:,|$$) -> Continue ^\s{20}\s+${DESTINATION_PORT}, -> Continue ^\s{20}\s+(?:\S+?,)${DESTINATION_PORT}, -> Continue ^\s{20}\s+(?:\S+?,){2}${DESTINATION_PORT}, -> Continue diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml index f1eab31a36..e64787e34c 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table9.yml @@ -148,8 +148,9 @@ parsed_sample: - destination_address: "0000.0000.0004" type: "static" vlan: "67" - destination_port: "Te1/5/11" + destination_port: + - "Te1/5/11" - destination_address: "0000.0000.0003" type: "static" vlan: "728" - destination_port: "" + destination_port: [] From 41df8adcd274e754d341ff306ae48041cb0c3fb1 Mon Sep 17 00:00:00 2001 From: Jacob D <86626873+jacdavi@users.noreply.github.com> Date: Tue, 28 Sep 2021 17:48:15 -0700 Subject: [PATCH 628/628] additional revert to master regex --- .../templates/cisco_ios_show_mac-address-table.textfsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm index a87d399f02..7558d0fa3d 100644 --- a/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm +++ b/ntc_templates/templates/cisco_ios_show_mac-address-table.textfsm @@ -26,7 +26,7 @@ TYPE2 ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+) -> Continue.Record ^\s*(?:\*\s+R|\*|R|S|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s*$$ -> Continue ^\s*(?:\*\s+R|\*|R|S|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?!\S+?,)${DESTINATION_PORT}\s*$$ -> Continue - ^\s*(?:\*\s+R|\*|R|S|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s*${DESTINATION_PORT}, -> Continue + ^\s*(?:\*\s+R|\*|R|S|\s)\s*${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT}, -> Continue ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+\S+?,${DESTINATION_PORT}, -> Continue ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){2}${DESTINATION_PORT}, -> Continue ^\s*(?:\*\s+R|\*|R|S|\s)\s*(?:\d+|-+)\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+(?:\S+?,){3}${DESTINATION_PORT}(?:,|$$) -> Continue